summaryrefslogtreecommitdiffstats
path: root/src/io (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move logic to build localized filenames into io/ressource.cppPatrick Storz2019-02-172-22/+29
| | | | | Now all that's needed to prefer a localized version of the file (if available) is a Boolean.
* Use ink_file_open in sp_file_open.Tavmjong Bah2019-01-152-3/+19
|
* run clang tidy modernize passMarc Jeanmougin2019-01-021-3/+3
|
* modernize loopsMarc Jeanmougin2019-01-022-7/+7
|
* fix get_filename with locale!=NULLThomas Holder2018-12-231-2/+2
|
* Misc. source comment typo fixesluz.paz2018-12-131-3/+3
| | | Found via `codespell`
* Fix rendering tests (Launchpad bug 1805804).Tavmjong Bah2018-12-031-1/+1
|
* Remove unused variable.Tavmjong Bah2018-11-252-4/+1
|
* Switch DATADIR to DATA_DIR to not conflict with #defineTed Gould2018-11-252-3/+3
|
* Untangle do_export_png().Tavmjong Bah2018-11-221-113/+118
|
* Rearrange some code, don't quit if one object doesn't export.Tavmjong Bah2018-11-221-34/+34
|
* Fix command-line export logic.Tavmjong Bah2018-11-222-69/+71
|
* Small update to src/io/README.Tavmjong Bah2018-11-201-0/+3
|
* Possible fix to build breakage on Macs.Tavmjong Bah2018-11-191-1/+1
|
* Send background color/dpi info to std::cerr to allow piping PNG export to file.Tavmjong Bah2018-11-191-3/+3
|
* Possible fix to MAC build failure.Tavmjong Bah2018-11-191-1/+1
|
* Merge branch 'main'Tavmjong Bah2018-11-195-0/+915
|\
| * Allow multiple semi-colon separated entries in --export-id; each entry will ↵Tavmjong Bah2018-11-192-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.
| * Rewrite of main.cpp using InkscapeApplication (Gtk::Application)Tavmjong Bah2018-11-185-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.
* | Add src/io/READMETavmjong Bah2018-11-191-0/+32
|/
* Fix stream class locationsAlexander Valavanis2018-11-181-1/+1
|
* Fix CMakeLists for stream classesAlexander Valavanis2018-11-181-12/+12
|
* Move i/o stream classes into own directory. Add README.Tavmjong Bah2018-11-1815-0/+13
|
* Clarify licensesMax Gaukler2018-11-0828-153/+132
| | | | | | - 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
* Remove unused headers in src/io/Emmanuel Gil Peyrot2018-11-055-212/+0
|
* cleanup: remove Base64OutputStreamThomas Holder2018-10-293-462/+0
| | | | | It was only used in one place. Use "g_base64_encode" instead, like the rest of the codebase.
* cleanup: remove most of uristream.cppThomas Holder2018-10-293-369/+35
| | | | | | | | | | Replace UriInputStream -> FileInputStream Replace UriOutputStream -> FileOutputStream Remove UriReader Remove UriWriter UriReader, UriWriter, and the acutal URI-based API of UriInputStream and UriOutputStream was all unused/dead code.
* Fix use after free in error reportingJan Horak2018-10-161-1/+4
|
* fix vi modelines: encoding -> fileencodingThomas Holder2018-10-151-1/+1
|
* Move some files to 'io' directory.Tavmjong Bah2018-10-1312-22/+1355
|
* Remove #include "config.h" wherever possibleEduard Braun2018-10-013-10/+1
|
* Use _WIN32 instead of WIN32Eduard Braun2018-10-013-5/+5
| | | | | | | | 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
* Inkscapestream: Make some things const and avoid unnecessary copiesEduard Braun2018-09-292-9/+8
|
* Purge gunichar from InkscapestreamEduard Braun2018-09-2914-47/+44
| | | | | | | | | | None of these functions seems to expect an actual gunichar (which is a 32-bit type and can hold any UTF-32 or UCS-4 character code, also known as a Unicode code point). Instead we want UTF-8 encoded character data (i.e. gchar, which is equivalent to char) that can be output byte-wise to form a valid UTF-8 encoded string.
* Inkscapestream: Fix write methods for string typesEduard Braun2018-09-291-7/+7
| | | | | | | | | | | As we output UTF8 encoded strings to normal streams we can (and should) put one byte at a time. Iterating over an ustring will give us "unichar"s with up to four bytes, though, which is bound to fail when written to a stream. Using Glib::ustring::raw() gives us a std::string with the raw (but still UTF8 encoded) character array that can be iterated byte-wise and output to the stream as-is.
* Inkscapestream: Incredible speed up for writing of stringsEduard Braun2018-09-221-2/+3
| | | | | | | | | | | | | This tremendously speeds up saving long strings which previously had to do "n!" lookups (where n is the number of chars) as Glib::ustring::operator[] has to iterate over all preceding unichars in each iteration to find the requested unichar. A file with a CDATA section of ~1 MB saves in a few milliseconds now, previously it didn't finish even after some minutes. Fixed bugs: - https://bugs.launchpad.net/inkscape/+bug/1793877
* Fix eaae266840146a0faa3332f253ba7bd63eecbb21Eduard Braun2018-09-151-1/+6
| | | | (cherry picked from commit 11504fc9060729939703c380bcaa71cfc36ea351)
* Support reading and writing pipesRainer Keller2018-09-151-0/+19
| | | | | | | | | | | | 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)
* Working on iconsJabiertxo Arraiza Cenoz2018-07-271-1/+1
|
* Fixing paths to allow themes and icons inside main inkscape instalation not ↵Jabier Arraiza2018-07-262-2/+10
| | | | only at home
* Fix a win compiling bug and coding styleJabiertxo Arraiza Cenoz2018-07-251-3/+4
|
* Working on open folders on WINJabiertxo Arraiza Cenoz2018-07-251-2/+5
|
* Fixing coding styleJabier Arraiza2018-07-212-15/+12
|
* Working on themesJabier Arraiza2018-07-212-2/+80
|
* Run clang-tidy’s modernize-use-noexcept pass.Emmanuel Gil Peyrot2018-06-181-4/+4
| | | | This removes deprecated dynamic exception specifications.
* Run clang-tidy’s modernize-deprecated-headers pass.Emmanuel Gil Peyrot2018-06-182-2/+2
| | | | This renames most C <*.h> includes into C++ <c*> includes.
* Run clang-tidy’s modernize-use-equals-default pass.Emmanuel Gil Peyrot2018-06-183-25/+18
| | | | | This replaces empty constructors and destructors with the default keyword.
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-189-68/+68
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Run clang-tidy’s modernize-use-override pass.Emmanuel Gil Peyrot2018-06-187-128/+128
| | | | | This adds the override specifier on all methods which override a virtual method, whether they were already virtual or missing this specifier.
* Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin2018-05-044-6/+6
| | | | This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.