summaryrefslogtreecommitdiffstats
path: root/src/main.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite of main.cpp using InkscapeApplication (Gtk::Application)Tavmjong Bah2018-11-181-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.
* Clarify licensesMax Gaukler2018-11-081-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
* Move some files to 'io' directory.Tavmjong Bah2018-10-131-1/+1
|
* More minor cleanup to main.cpp.Tavmjong Bah2018-10-101-62/+53
|
* Minor cleanup of main.ccTavmjong Bah2018-10-101-16/+12
|
* Avoid duplicating defines in config.h and on command lineEduard Braun2018-10-011-0/+4
|
* Remove #include "config.h" wherever possibleEduard Braun2018-10-011-5/+0
|
* Use _WIN32 instead of WIN32Eduard Braun2018-10-011-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
* Fix problems on dialogs with extensions. TODO: Add dialog on drag&drop a SVGJabier Arraiza2018-09-221-7/+0
|
* Fix eaae266840146a0faa3332f253ba7bd63eecbb21Eduard Braun2018-09-151-5/+2
| | | | (cherry picked from commit 11504fc9060729939703c380bcaa71cfc36ea351)
* Support reading and writing pipesRainer Keller2018-09-151-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)
* Fix a bug opening SVG from comand lines related to the DPI changes done. ↵Jabiertxof2018-09-141-3/+9
| | | | Thanks Mark for testing!
* Remove XGD_DATA_DIR as sugestion of su_vJabier Arraiza2018-07-311-25/+0
|
* Fixing enviroments in winJabier Arraiza2018-07-311-3/+1
|
* Fixing enviroments in winJabier Arraiza2018-07-311-7/+10
|
* Fixing compiling bug in winJabier Arraiza2018-07-311-2/+6
|
* Fixing tests brokenJabier Arraiza2018-07-311-7/+8
|
* First try co fix icons bugsJabier Arraiza2018-07-311-7/+7
|
* Refactor fo theme switcherJabier Arraiza2018-07-271-7/+6
|
* working on symbolicJabier Arraiza2018-07-261-1/+1
|
* Fixing coding styleJabiertxo Arraiza Cenoz2018-07-261-1/+1
|
* Fixing paths to allow themes and icons inside main inkscape instalation not ↵Jabier Arraiza2018-07-261-5/+17
| | | | only at home
* Fix codding styleJabiertxo Arraiza Cenoz2018-07-251-1/+1
|
* Add some Marting sugestions about main.cpp in MRJabiertxo Arraiza Cenoz2018-07-251-53/+4
|
* Add themes inkscape folder abailable by the appJabiertxo Arraiza Cenoz2018-07-241-0/+30
|
* Add command-line option to select PDF pageJoe Rabinoff2018-06-191-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.
* Run clang-tidy’s modernize-deprecated-headers pass.Emmanuel Gil Peyrot2018-06-181-1/+1
| | | | This renames most C <*.h> includes into C++ <c*> includes.
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-118/+118
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Merge branch 'master' of gitlab.com:jespersh/inkscapeMarc Jeanmougin2018-05-091-0/+30
|\
| * Add --export-xaml as optionJesper Staun Hansen2018-04-301-0/+30
| |
* | Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin2018-05-041-15/+15
|/ | | | This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
* Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin2018-04-291-15/+15
|
* Minor cleanup of warnings. No functional change.Felipe Corrêa da Silva Sanches2018-03-271-1/+1
|
* Remove legacy code for setting PYTHONPATH on WindowsEduard Braun2018-02-211-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
* Add Inkscape root dir to DLL search pathEduard Braun2018-02-211-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
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-6/+7
| | | | A lot of header clean-up.
* Misc. typosluz.paz2018-01-081-1/+1
| | | Found via `codespell`
* Do not use GUI for --export-inkscape-svgEduard Braun2017-10-141-0/+1
|
* Cleanup: rename sp_do_export_png for consistencyEduard Braun2017-10-141-7/+12
| | | | Also actually return non-zero if PNG could not be saved.
* Some basic error handling for SVG exportEduard Braun2017-10-141-5/+16
|
* Refactoring: put SVG export into separate functionEduard Braun2017-10-141-59/+73
|
* Support --export-area-page when using --export-id to export to SVGEduard Braun2017-10-141-1/+3
|
* Support --export-margin when exporting to SVGEduard Braun2017-10-141-3/+15
|
* make --export-area-drawing work when exporting SVGEduard Braun2017-10-141-0/+4
| | | | | | Fixed bugs: - https://bugs.launchpad.net/inkscape/+bug/1597921 - https://bugs.launchpad.net/inkscape/+bug/1722844
* Do not force-disable CSD on WindowsEduard Braun2017-10-121-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
* Rename get_group0_keyval to get_latin_keyvalAndrey Mozzhuhin2017-10-051-3/+3
|
* Second batchMarc Jeanmougin2017-10-021-56/+24
|
* Fix inkscape --help appearance due to a too long lineMarc Jeanmougin2017-08-041-2/+2
|
* Merge branch 'master' into shortcutsEduard Braun2017-07-091-3/+0
|\
| * Remove old icon handling codeAlexander Valavanis2017-06-291-3/+0
| |