summaryrefslogtreecommitdiffstats
path: root/src/xml/repr-io.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix SVG writing with xml:space="preserve"Thomas Holder2019-10-161-4/+10
| | | | | | - xml:space check got lost in b0be54c825 - no unconditional newline after "svg:text" - differentiate parent and child xml:space
* Fix center alignment errors in flowed text due to white space between ↵Tavmjong Bah2019-04-241-1/+2
| | | | elements inside a <flowRoot> element. Alternative fix to that proposed by samuel.
* modernize loopsMarc Jeanmougin2019-01-021-5/+5
|
* Add a few useful lookup functions.Tavmjong Bah2018-12-041-3/+3
|
* Fix stream class locationsAlexander Valavanis2018-11-181-3/+3
|
* 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
* fix clipboard URL rebasingThomas Holder2018-11-071-2/+8
|
* cleanup: remove most of uristream.cppThomas Holder2018-10-291-6/+3
| | | | | | | | | | 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.
* Remove #include "config.h" wherever possibleEduard Braun2018-10-011-4/+0
|
* Clean up stream output in repr-io.cppEduard Braun2018-09-291-19/+10
| | | | | | | - remove workaround that was necessary because of broken writeString (and consequently printf) functions of BasicWriter - use writeChar() where appropriate as it's slightly more efficient than writeString()
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-48/+48
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Improve sort handling in XMLJabiertxo Arraiza Cenoz2018-05-101-5/+2
|
* Apply fixedJabier Arraiza2018-05-091-0/+3
|
* Reset old code to reaply fixedJabier Arraiza2018-05-091-4/+1
|
* Fix https://gitlab.com/inkscape/inkscape/merge_requests/208#note_60693688Jabier Arraiza2018-05-091-1/+4
|
* Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin2018-05-041-4/+4
| | | | This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
* Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin2018-04-291-4/+4
|
* Fix XML text parsing bug.Tavmjong Bah2017-10-281-1/+4
| | | | | Since xml2 2.9.0, xmlNodeGetSpacePreserve() only checks element nodes, thus we need to check text node parent for xml:space value.
* Merge branch 'smartpointer_refactor' of gitlab.com:jali/inkscapeMarc Jeanmougin2017-10-201-3/+3
|\
| * Refactor Util::ptr_sharedJan Lingscheid2017-10-181-3/+3
| | | | | | | | | | Util::ptr_shared<T> was only used in its <char> specialization, so it is now refactored into a non-template class. Using it with arbitary classes was dangerous anyway.
* | Remove a useless conditionalStefano Facchini2017-10-191-24/+19
| | | | | | | | Since "doc" is initialized to 0, the test is always true...
* | Delete dead codeStefano Facchini2017-10-191-15/+1
|/
* Relax any hardcoded limit from the libxml2 parser when creating documents ↵Eduard Braun2017-04-301-1/+6
| | | | | | | | | | | | | | | from memory This fixes many bugs (mostly caused by very long image data URIs) Fixed bugs: - https://launchpad.net/bugs/1572280 - https://launchpad.net/bugs/1412912 - https://launchpad.net/bugs/1373322 - https://launchpad.net/bugs/1243011 - https://launchpad.net/bugs/1627004 - https://launchpad.net/bugs/1627004 (bzr r15654)
* Remove some code that doesn't do anything.Shlomi Fish2017-01-041-22/+0
| | | | | There was a comment to this effect there. (bzr r15369.1.13)
* Removed unused includes, decreased compilation time. Once againAdrian Boguszewski2016-08-031-2/+1
| | | (bzr r15034)
* Reverted changes to r15024 after many building problemsAdrian Boguszewski2016-07-281-1/+2
| | | (bzr r15027)
* Removed unused includes, decrease compilation timeAdrian Boguszewski2016-07-281-2/+1
| | | (bzr r15025)
* Optionally sort attributes and properties into a canonical order.Tavmjong Bah2016-06-121-0/+5
| | | | | Useful for comparing different versions of an SVG file. (bzr r14980)
* replaced remaining GHashTable with std::mapMarc Jeanmougin2015-12-091-11/+7
| | | (bzr r14504.1.16)
* Fix "Value stored to 'child' is never read"Tavmjong Bah2014-10-121-1/+0
| | | (bzr r13598)
* Improve warnings for missing files. Don't just assert bolocks to the user.Martin Owens2014-01-221-1/+4
| | | (bzr r12972)
* cppcheck initialisationKris De Gussem2013-10-161-4/+7
| | | (bzr r12697)
* fix windows buildJohan B. C. Engelen2013-09-141-1/+1
| | | (bzr r12517)
* Fix the latest error with the adobe svg ns errors, boundry exceptions caused ↵Martin Owens2013-09-131-33/+49
| | | | | security failure. (bzr r12513)
* Use g_match_info_free instead of g_match_info_unrefKrzysztof Kosi??ski2013-09-131-1/+1
| | | | | for better Glib compatibility (bzr r12511)
* Fix regex so it effects the buffer and ban PUBLIC entities too.Martin Owens2013-09-121-11/+26
| | | (bzr r12505.1.3)
* Improve code with Kosiński's regex replacementMartin Owens2013-09-121-9/+13
| | | (bzr r12505.1.2)
* Introduce a backup loading method that enables NOENT but hacks out system ↵Martin Owens2013-09-111-12/+36
| | | | | | | | calls for adobe files Fixed bugs: - https://launchpad.net/bugs/166371 (bzr r12505.1.1)
* code cleanup (cppcheck)Johan B. C. Engelen2013-08-051-3/+2
| | | (bzr r12469)
* Workaround usage of deprecated glib symbols in 3rd party librariesAlex Valavanis2013-03-251-0/+2
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1122774 (bzr r12243)
* - fix security bug lp:1025185Johan B. C. Engelen2012-12-051-1/+7
| | | | | | | | - make network access optional for XML loading Fixed bugs: - https://launchpad.net/bugs/1025185 (bzr r11931)
* syntx of null pointer dereference checksKris De Gussem2012-05-121-10/+16
| | | (bzr r11358)
* some more string class usageKris De Gussem2012-04-221-13/+9
| | | (bzr r11279)
* Janitorial tasks: get rid of deprecated repr wrapper functionsKris De Gussem2012-01-031-35/+17
| | | (bzr r10830)
* cppcheckKris De Gussem2011-12-041-0/+4
| | | (bzr r10759)
* Add possibility to check validity of attributes and usefulness of properties.Tavmjong Bah2011-11-291-1/+22
| | | | | | | | | This code adds the ability to check for every elment in an SVG document if its attributes are valid and the styling properties are useful. Options under the SVG Output section of the Inkscape Preferences dialog control what should be checked when, and what actions should be taken if invalid attributes or non-useful properties are found. (bzr r10753)
* Preserve CDATA sections on output.Tavmjong Bah2011-09-081-2/+10
| | | (bzr r10625)
* Adding initial cut of resource manager.Jon A. Cruz2011-05-061-13/+34
| | | (bzr r10198)
* Merge and cleanup of GSoC C++-ification project.Jon A. Cruz2010-12-121-2/+0
|\ | | | | (bzr r9945.1.1)
* | Super duper mega (fun!) commit: replaced encoding=utf-8 with ↵Chris Morgan2010-11-171-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)