summaryrefslogtreecommitdiffstats
path: root/src/io (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-14Fix a warning issue on theme changeJabier Arraiza1-0/+2
2019-08-31Templates: Accept non-underscored variants of "inkscape:templateinfo"Patrick Storz1-1/+9
2019-08-31cleanup includes a bitPatrick Storz2-2/+18
2019-08-31Refactor a lot of the parameter handling codePatrick Storz1-8/+7
Many fixes, improvements and simplifications to existing code. Implements the first part of the changes discussed in https://gitlab.com/inkscape/inkscape/issues/333
2019-08-19Add paint server dialog. Currently handles patterns and hatches. GSOC 2019.Valentin Ionita2-10/+6
2019-08-18reduce usage of desktop coordinates (#341)Thomas Holder1-1/+1
- avoid unnecessary internal usage of desktop coordinates, e.g. in SpellCheck::compareTextBboxes - document whether a function argument is in document or desktop coordinates, e.g. for SPDocument::getItemsInBox
2019-07-10Enhancements for --export-type command line optionPatrick Storz2-68/+69
Now allows to - export multiple types at once, e.g. using `--export-type=pdf,png` - export to different file name(s) when using `--export-type` by using --export-file option (extension is stripped/added as needed) Also be more lenient with user-specified file extensions in general: Warn the user, however do not abort export but continue with what we would have expected (and the user likely meant to do)
2019-07-10Correct a typoMehran-Baghi1-1/+1
2019-07-08add improvements to color handlingJabiertxof1-1/+1
2019-07-08Allow good render of multiples stylesheetsJabiertxof1-2/+0
2019-07-08allow multiple style tagsJabier Arraiza1-0/+2
2019-07-08Initial code to fixJabiertxof2-2/+2
2019-07-01Fix various minor typosYuri Chornoivan1-1/+1
2019-06-19Simplify piping through Inkscape. Reduce code duplication.Tavmjong Bah1-0/+5
2019-06-19Restore ability to pipe a file into Inkscape.Tavmjong Bah2-0/+24
2019-06-07Remove _argv0 from Inkscape::ApplicationPatrick Storz1-4/+0
Currently it was only used as the least preferred (and therefore effectively unused) location where to store the crash backup. However it wasn't set properly since 408cb49b5559a81ea803df64bf58457a5dd4bf16 causing assertion errors while crashing. On top of that argv0 is not a reliable way to determine the path to the currently running executable anyway. Fixes https://gitlab.com/inkscape/inkscape/issues/176
2019-05-28Update pofilesMarc Jeanmougin1-2/+1
2019-05-22Remove ResourceManager dep on Glib::object.Shlomi Fish2-5/+2
As suggested in http://wiki.inkscape.org/wiki/index.php?title=Refactoring_projects&oldid=112116 . Needs review but seems to work well.
2019-05-10Remove support for saving as JavaFX 1.x script (*.fx)Karl Cheng1-1/+1
JavaFX 1.x is long obsolete (since 2012-12-20) and the code for it has not been maintained. There have been no end user comments/reports since 2012 and a few bugs that would be important remain unfixed. Given that this is not an import format, the impact of removing this should be extremely low. Refs: https://www.oracle.com/technetwork/java/javafx/overview/faq-1446554.html#8 Refs: http://web.archive.org/web/20170316051832/http://blogs.oracle.com/javafx/entry/javafx_1_2_and_javafx Refs: https://stackoverflow.com/q/18865774/2074608
2019-04-06More document.h cleanup.Tavmjong Bah1-1/+1
2019-04-04Reorganize document.h.Tavmjong Bah1-0/+1
2019-03-31Remove unused INKSCAPE_APPICONDIR and INKSCAPE_BINDDIRPatrick Storz2-2/+0
2019-03-30Inkscape::IO::Resource: Drop "DATA_DIR" from Type enumPatrick Storz2-5/+0
It seems unlikely we ever want to load "arbitrary" data from share/, usually there will be a more suitable "Type" to look for. Also it avoids ambiguity, as there is no user-specific "DATA_DIR"
2019-03-29Drop "RegistryTool" which is no longer in use.Patrick Storz3-284/+0
2019-03-21Misc. typos and whitespace fixesluz.paz1-1/+1
Found via `codespell -q 3 -I ../inkscape-whitelist.txt -S *.svg,*.po,./src/3rdparty`
2019-03-15Make InkscapeApplication responsible for managing documents and windows.Tavmjong Bah3-40/+74
Any change from previous behavior is a bug.
2019-03-10Remove INKSCAPE_PORTABLE_PROFILE_DIRPatrick Storz1-7/+1
Please use the (functionally identical) INKSCAPE_PROFILE_DIR instead. See also https://gitlab.com/inkscape/inkscape/issues/114
2019-03-10Adjust load order of get_filename() functionPatrick Storz1-27/+35
It now always prefers - files in the users profile over files in the share/inkscape folder - localized files over unlocalized files (per folder) In conclusion: USER (localized) > USER > SYSTEM (localized) > SYSTEM This always allows users to override files shipped with Inkscape by putting a respective file in their profile directory. First part of a fix for https://gitlab.com/inkscape/inkscape/issues/103 Avoids regressing https://bugs.launchpad.net/inkscape/+bug/503712
2019-02-20Give more descriptive names to document file related variables and functions.Tavmjong Bah2-5/+5
Makes searching through code for them easier.
2019-02-17Move logic to build localized filenames into io/ressource.cppPatrick Storz2-22/+29
Now all that's needed to prefer a localized version of the file (if available) is a Boolean.
2019-01-15Use ink_file_open in sp_file_open.Tavmjong Bah2-3/+19
2019-01-02run clang tidy modernize passMarc Jeanmougin1-3/+3
2019-01-02modernize loopsMarc Jeanmougin2-7/+7
2018-12-23fix get_filename with locale!=NULLThomas Holder1-2/+2
2018-12-13Misc. source comment typo fixesluz.paz1-3/+3
Found via `codespell`
2018-12-03Fix rendering tests (Launchpad bug 1805804).Tavmjong Bah1-1/+1
2018-11-25Remove unused variable.Tavmjong Bah2-4/+1
2018-11-25Switch DATADIR to DATA_DIR to not conflict with #defineTed Gould2-3/+3
2018-11-22Untangle do_export_png().Tavmjong Bah1-113/+118
2018-11-22Rearrange some code, don't quit if one object doesn't export.Tavmjong Bah1-34/+34
2018-11-22Fix command-line export logic.Tavmjong Bah2-69/+71
2018-11-20Small update to src/io/README.Tavmjong Bah1-0/+3
2018-11-19Possible fix to build breakage on Macs.Tavmjong Bah1-1/+1
2018-11-19Send background color/dpi info to std::cerr to allow piping PNG export to file.Tavmjong Bah1-3/+3
2018-11-19Possible fix to MAC build failure.Tavmjong Bah1-1/+1
2018-11-19Allow multiple semi-colon separated entries in --export-id; each entry will ↵Tavmjong Bah2-283/+347
be exported to its own file. Using a semi-colon allows the future possibility of allowing the user to use a comma separated entry to select more than one object to export at the same time.
2018-11-19Add src/io/READMETavmjong Bah1-0/+32
2018-11-18Rewrite of main.cpp using InkscapeApplication (Gtk::Application)Tavmjong Bah5-0/+851
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-18Fix stream class locationsAlexander Valavanis1-1/+1
2018-11-18Fix CMakeLists for stream classesAlexander Valavanis1-12/+12