summaryrefslogtreecommitdiffstats
path: root/src/inkscape-main.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-06-14Add extensions directory in user folder to PYTHONPATHPatrick Storz1-15/+13
This allows users to install modules there and use them easily within other modules (for example required for extension manager)
2019-05-17Ask Python extensions to return UTF-8 dataKarl Cheng1-0/+3
By default, Python 2.x will encode output as ASCII to STDOUT/STDERR if the output is piped. This commit explicitly requests UTF-8 output by setting the PYTHONIOENCODING environment variable. Note this will not fix text encoding problems where the extension itself does not support Unicode properly. Refs: https://gitlab.com/inkscape/extensions/merge_requests/90
2019-04-28Add inkex/deprecated-simple to PYTHONPATHThomas Holder1-6/+14
Closes #223
2019-03-30Usage of get_program_dir() is more appropriate herePatrick Storz1-1/+1
It points at the same folder currently, but this will change with https://gitlab.com/inkscape/inkscape/issues/82
2019-03-30Remove "get_extensions_path()"Patrick Storz1-3/+9
Contrary to what the name and placing suggest it's not a general utility function but a specialized function that constructs the full value to set for PYTHONPATH. Despite the misleading placement most functionality is unneeded: * INKSCAPE_EXTENSIONDIR should always be absolute * g_setenv recommends UTF-8 on Windows
2019-03-30Add inscape to search pathPatrick Storz1-0/+10
This primarily allows extensions to simply call "inkscape" without requiring the user to modify environment variables or worrying about different versions of inkscape on the same machine (as we prefix the search path). We did this already for Windows but the code was removed in db05b842cba28f01b431eee890537959aa2d8fe3 Partially fixes https://gitlab.com/inkscape/inkscape/issues/115
2019-03-30Restore "Add inkscape root directory to DLL search path"Patrick Storz1-0/+15
See ecfc9efaf66d054fda239f48ef984190a89e6bae for details. This was dropped in db05b842cba28f01b431eee890537959aa2d8fe3 Partial fix for https://gitlab.com/inkscape/inkscape/issues/115
2019-03-28An a few more config.h fixesPatrick Storz1-4/+0
2019-03-05Restore set_extensions_env()Thomas Holder1-0/+8
Function got lost in 408cb49b Fixes #60
2019-02-15Turn InkscapeApplication into singleton.Tavmjong Bah1-2/+2
2018-12-10Minor tweaks.Tavmjong Bah1-1/+1
2018-12-09Gtk/Gio templating of main inkscape application class to allow commandline ↵Marc Jeanmougin1-2/+4
usage when graphic server is not available
2018-11-18Rewrite of main.cpp using InkscapeApplication (Gtk::Application)Tavmjong Bah1-10/+15
Use Gio::File for accessing files. Use Gio options to handle command line arguments. Use Gio::Actions for some command line arguments. Move file export code to src/io/file-export-cmd.h/.cpp. Make into class.
2018-11-08Clarify licensesMax Gaukler1-1/+2
- add license headers to everything - convert a few files from public domain or LGPL2.1+ to GPL2+ - some archaeology to clarify which files are from which library
2018-01-19Move general ellipsize text function out of gradient files.Tavmjong Bah1-10/+12
2015-12-08finally removed all GSList from main folder .h filesMarc Jeanmougin1-1/+0
(bzr r14504.1.15)
2015-02-27corrected the casts (hopefully)Marc Jeanmougin1-1/+0
(bzr r13922.1.10)
2015-02-19Put a few std::vector<SPitem*>Marc Jeanmougin1-1/+1
(bzr r13922.1.5)
2015-02-17At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin1-1/+2
change that GSList* with a std::list, then resolve the few problems" So, i tried that. And I will continue tomorrow, and the days after, on and on. (bzr r13922.1.1)
2014-09-27Update to experimental r13565Liam P. White1-1/+1
(bzr r13341.5.16)
2014-08-31Header cleanup: stop using Glib types where they aren't truly needed. Eases ↵Liam P. White1-1/+1
GThread deprecation errors. (bzr r13341.1.190)
2011-12-08Switch to top-level glib headers. Thanks to DimStar for patchAlex Valavanis1-1/+1
Fixed bugs: - https://launchpad.net/bugs/898538 (bzr r10762)
2010-11-17Super duper mega (fun!) commit: replaced encoding=utf-8 with ↵Chris Morgan1-1/+1
fileencoding=utf-8 in all 1074 Vim modelines. The reason for this is that (a) setting the encoding isn't nice, and (b) Vim 7.3 (with modeline enabled) disallows it and pops up an error whenever you open any file with it ("invalid modeline"). Also corrected five deviant modestrings: * src/ui/widget/dock.cpp and src/ui/widget/dock.h: missing colon at the end * src/ui/dialog/tile.cpp: removed gratuitous second colon at the end * src/helper/units-test.h: removed gratuitous space before a colon * share/extensions/export_gimp_palette.py: missing textwidth=99 That's my geekiest commit yet. (bzr r9900)
2009-02-21Move files from the src/dialogs/ directory to the places where they Krzysztof Kosi??ski1-0/+0
should be. Build libinkscape.a - should reduce link time. (bzr r7337)
2008-11-21Merge from fe-movedTed Gould1-9/+18
(bzr r6891)