summaryrefslogtreecommitdiffstats
path: root/src/xml/repr-io.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-16fix SVG writing with xml:space="preserve"Thomas Holder1-4/+10
- xml:space check got lost in b0be54c825 - no unconditional newline after "svg:text" - differentiate parent and child xml:space
2019-04-24Fix center alignment errors in flowed text due to white space between ↵Tavmjong Bah1-1/+2
elements inside a <flowRoot> element. Alternative fix to that proposed by samuel.
2019-01-02modernize loopsMarc Jeanmougin1-5/+5
2018-12-04Add a few useful lookup functions.Tavmjong Bah1-3/+3
2018-11-18Fix stream class locationsAlexander Valavanis1-3/+3
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-11-07fix clipboard URL rebasingThomas Holder1-2/+8
2018-10-29cleanup: remove most of uristream.cppThomas Holder1-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.
2018-10-01Remove #include "config.h" wherever possibleEduard Braun1-4/+0
2018-09-29Clean up stream output in repr-io.cppEduard Braun1-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()
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-48/+48
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-05-10Improve sort handling in XMLJabiertxo Arraiza Cenoz1-5/+2
2018-05-09Apply fixedJabier Arraiza1-0/+3
2018-05-09Reset old code to reaply fixedJabier Arraiza1-4/+1
2018-05-09Fix https://gitlab.com/inkscape/inkscape/merge_requests/208#note_60693688Jabier Arraiza1-1/+4
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin1-4/+4
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-4/+4
2017-10-28Fix XML text parsing bug.Tavmjong Bah1-1/+4
Since xml2 2.9.0, xmlNodeGetSpacePreserve() only checks element nodes, thus we need to check text node parent for xml:space value.
2017-10-19Remove a useless conditionalStefano Facchini1-24/+19
Since "doc" is initialized to 0, the test is always true...
2017-10-19Delete dead codeStefano Facchini1-15/+1
2017-10-18Refactor Util::ptr_sharedJan Lingscheid1-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.
2017-04-30Relax any hardcoded limit from the libxml2 parser when creating documents ↵Eduard Braun1-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)
2017-01-04Remove some code that doesn't do anything.Shlomi Fish1-22/+0
There was a comment to this effect there. (bzr r15369.1.13)
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-2/+1
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-1/+2
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-2/+1
(bzr r15025)
2016-06-12Optionally sort attributes and properties into a canonical order.Tavmjong Bah1-0/+5
Useful for comparing different versions of an SVG file. (bzr r14980)
2015-12-09replaced remaining GHashTable with std::mapMarc Jeanmougin1-11/+7
(bzr r14504.1.16)
2014-10-12Fix "Value stored to 'child' is never read"Tavmjong Bah1-1/+0
(bzr r13598)
2014-01-22Improve warnings for missing files. Don't just assert bolocks to the user.Martin Owens1-1/+4
(bzr r12972)
2013-10-16cppcheck initialisationKris De Gussem1-4/+7
(bzr r12697)
2013-09-14fix windows buildJohan B. C. Engelen1-1/+1
(bzr r12517)
2013-09-13Fix the latest error with the adobe svg ns errors, boundry exceptions caused ↵Martin Owens1-33/+49
security failure. (bzr r12513)
2013-09-13Use g_match_info_free instead of g_match_info_unrefKrzysztof Kosi??ski1-1/+1
for better Glib compatibility (bzr r12511)
2013-09-12Fix regex so it effects the buffer and ban PUBLIC entities too.Martin Owens1-11/+26
(bzr r12505.1.3)
2013-09-12Improve code with Kosiński's regex replacementMartin Owens1-9/+13
(bzr r12505.1.2)
2013-09-11Introduce a backup loading method that enables NOENT but hacks out system ↵Martin Owens1-12/+36
calls for adobe files Fixed bugs: - https://launchpad.net/bugs/166371 (bzr r12505.1.1)
2013-08-05code cleanup (cppcheck)Johan B. C. Engelen1-3/+2
(bzr r12469)
2013-03-25Workaround usage of deprecated glib symbols in 3rd party librariesAlex Valavanis1-0/+2
Fixed bugs: - https://launchpad.net/bugs/1122774 (bzr r12243)
2012-12-05- fix security bug lp:1025185Johan B. C. Engelen1-1/+7
- make network access optional for XML loading Fixed bugs: - https://launchpad.net/bugs/1025185 (bzr r11931)
2012-05-12syntx of null pointer dereference checksKris De Gussem1-10/+16
(bzr r11358)
2012-04-22some more string class usageKris De Gussem1-13/+9
(bzr r11279)
2012-01-03Janitorial tasks: get rid of deprecated repr wrapper functionsKris De Gussem1-35/+17
(bzr r10830)
2011-12-04cppcheckKris De Gussem1-0/+4
(bzr r10759)
2011-11-29Add possibility to check validity of attributes and usefulness of properties.Tavmjong Bah1-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)
2011-09-08Preserve CDATA sections on output.Tavmjong Bah1-2/+10
(bzr r10625)
2011-05-06Adding initial cut of resource manager.Jon A. Cruz1-13/+34
(bzr r10198)
2010-11-17Super duper mega (fun!) commit: replaced encoding=utf-8 with ↵Chris Morgan1-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)
2010-09-22add libxml/parser.h to fix compile on windowsd1-0/+2
(bzr r9776)
2010-09-21add XML_PARSE_HUGE to handle documents with more than 256 levels of nestingd1-1/+1
(bzr r9775)