summaryrefslogtreecommitdiffstats
path: root/src/main.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-11-18Rewrite of main.cpp using InkscapeApplication (Gtk::Application)Tavmjong Bah1-2251/+0
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-12Rewrite of main.cpp using InkscapeApplication (Gtk::Application)Tavmjong Bah1-2251/+0
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-10-13Move some files to 'io' directory.Tavmjong Bah1-1/+1
2018-10-10More minor cleanup to main.cpp.Tavmjong Bah1-62/+53
2018-10-10Minor cleanup of main.ccTavmjong Bah1-16/+12
2018-10-01Avoid duplicating defines in config.h and on command lineEduard Braun1-0/+4
2018-10-01Remove #include "config.h" wherever possibleEduard Braun1-5/+0
2018-10-01Use _WIN32 instead of WIN32Eduard Braun1-11/+11
The former is guaranteed to be set for any compiler targeting win32, the latter is implementation dependent (but works for gcc) See also http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system
2018-09-22Fix problems on dialogs with extensions. TODO: Add dialog on drag&drop a SVGJabier Arraiza1-7/+0
2018-09-15Fix eaae266840146a0faa3332f253ba7bd63eecbb21Eduard Braun1-5/+2
(cherry picked from commit 11504fc9060729939703c380bcaa71cfc36ea351)
2018-09-15Support reading and writing pipesRainer Keller1-9/+60
This is useful when using inkscape from the terminal and piping the output to further programs. Example usage: cat vector.svg | inkscape --export-png - --file - | convert - out.jpg Fixes bug: 171016 (forward-ported from commit fdb3b41a37f5c37bbb8e49d59e7e6195d5363fcb)
2018-09-14Fix a bug opening SVG from comand lines related to the DPI changes done. ↵Jabiertxof1-3/+9
Thanks Mark for testing!
2018-07-31Remove XGD_DATA_DIR as sugestion of su_vJabier Arraiza1-25/+0
2018-07-31Fixing enviroments in winJabier Arraiza1-3/+1
2018-07-31Fixing enviroments in winJabier Arraiza1-7/+10
2018-07-31Fixing compiling bug in winJabier Arraiza1-2/+6
2018-07-31Fixing tests brokenJabier Arraiza1-7/+8
2018-07-31First try co fix icons bugsJabier Arraiza1-7/+7
2018-07-27Refactor fo theme switcherJabier Arraiza1-7/+6
2018-07-26working on symbolicJabier Arraiza1-1/+1
2018-07-26Fixing coding styleJabiertxo Arraiza Cenoz1-1/+1
2018-07-26Fixing paths to allow themes and icons inside main inkscape instalation not ↵Jabier Arraiza1-5/+17
only at home
2018-07-25Fix codding styleJabiertxo Arraiza Cenoz1-1/+1
2018-07-25Add some Marting sugestions about main.cpp in MRJabiertxo Arraiza Cenoz1-53/+4
2018-07-24Add themes inkscape folder abailable by the appJabiertxo Arraiza Cenoz1-0/+30
2018-06-19Add command-line option to select PDF pageJoe Rabinoff1-0/+11
The optional argument "--pdf-page N" causes Inkscape to import page number N from the pdf document specified on the command line. This functionality is already available when importing via the GUI, but not when batch processing.
2018-06-18Run clang-tidy’s modernize-deprecated-headers pass.Emmanuel Gil Peyrot1-1/+1
This renames most C <*.h> includes into C++ <c*> includes.
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-118/+118
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin1-15/+15
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-30Add --export-xaml as optionJesper Staun Hansen1-0/+30
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-15/+15
2018-03-27Minor cleanup of warnings. No functional change.Felipe Corrêa da Silva Sanches1-1/+1
2018-02-21Remove legacy code for setting PYTHONPATH on WindowsEduard Braun1-55/+5
The added paths are not even valid in MSYS2 builds. Setting PYTHONPATH is not required. Likely fixes: - https://bugs.launchpad.net/inkscape/+bug/1518278
2018-02-21Add Inkscape root dir to DLL search pathEduard Braun1-0/+5
This avoids dynamically linked python modules searching for their libraries somewhere else on the PATH. The default search order is module directory -> system directories -> current working directory and only then the PATH is searched. The call to SetDllDirectory() adds the Inkscape root directory directly in second place instead. Details: https://github.com/numpy/numpy/wiki/windows-dll-notes Fixed bug: - https://bugs.launchpad.net/inkscape/+bug/1746092
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-6/+7
A lot of header clean-up.
2018-01-08Misc. typosluz.paz1-1/+1
Found via `codespell`
2017-10-14Do not use GUI for --export-inkscape-svgEduard Braun1-0/+1
2017-10-14Cleanup: rename sp_do_export_png for consistencyEduard Braun1-7/+12
Also actually return non-zero if PNG could not be saved.
2017-10-14Some basic error handling for SVG exportEduard Braun1-5/+16
2017-10-14Refactoring: put SVG export into separate functionEduard Braun1-59/+73
2017-10-14Support --export-area-page when using --export-id to export to SVGEduard Braun1-1/+3
2017-10-14Support --export-margin when exporting to SVGEduard Braun1-3/+15
2017-10-14make --export-area-drawing work when exporting SVGEduard Braun1-0/+4
Fixed bugs: - https://bugs.launchpad.net/inkscape/+bug/1597921 - https://bugs.launchpad.net/inkscape/+bug/1722844
2017-10-12Do not force-disable CSD on WindowsEduard Braun1-4/+0
The code introduced in 860d326a9ac03c2b1e0a3f45c3ed3d35f94c3d54 is no longer necessary as gtk3 client side decorations are now disabled by default in MSYS2's gtk3 builds, see upstream patch: https://github.com/Alexpux/MINGW-packages/commit/69f8e3294ec0d612d274f69e5e517026a8c340b6 To enable CSD on-the-fly set the environment variable `GTK_CSD` to 1
2017-10-05Rename get_group0_keyval to get_latin_keyvalAndrey Mozzhuhin1-3/+3
2017-10-02Second batchMarc Jeanmougin1-56/+24
2017-08-04Fix inkscape --help appearance due to a too long lineMarc Jeanmougin1-2/+2
2017-06-29Remove old icon handling codeAlexander Valavanis1-3/+0
2017-06-23Improve and simplify shortcut handling.Eduard Braun1-1/+1
Should fix many issues with unusuable keys, especially on non-English keyboard layouts.