summaryrefslogtreecommitdiffstats
path: root/src/xml/repr-io.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* | add libxml/parser.h to fix compile on windowsd2010-09-221-0/+2
| | | | | | (bzr r9776)
* | add XML_PARSE_HUGE to handle documents with more than 256 levels of nestingd2010-09-211-1/+1
|/ | | (bzr r9775)
* Move Inkscape::IO::fixupHrefs to Inkscape::XML::rebase_hrefs in new file ↵Peter Moulder2009-04-071-29/+100
| | | | | | | | | xml/rebase-hrefs.*. Give it the old and new base directory, so that it can change hrefs without relying on sodipodi:absref. Also create a new function sp_repr_save_rebased_file that changes all xlink:href attributes as it writes them, so that we don't need to modify the owning document. (Especially useful for "Save a copy" or exporting.) extension/system.cpp: (Inkscape::Extension::save): Don't call sp_document_set_uri even temporarily other than at the same time as calling rebase_hrefs. (Otherwise, existing relative hrefs will point nowhere.) When exporting plain SVG, change the relative hrefs according to the destination filename. (bzr r7643)
* functional noop: xml/repr-io.cpp: (sp_repr_save_writer): Mark static. ↵Peter Moulder2009-04-061-8/+8
| | | | | Slight shortening of implementation. (bzr r7641)
* Remove trivial wrapper function sp_repr_print that hasn't been used in years.Peter Moulder2009-04-061-11/+0
| | | (bzr r7640)
* functional noop: xml/repr-io.cpp: Simplify a calculation.Peter Moulder2009-04-051-12/+6
| | | (bzr r7632)
* Work-around output encoding issues with comments. Fixes bug #340451.Jon A. Cruz2009-03-141-1/+30
| | | (bzr r7485)
* Casts and legibility cleanupJon A. Cruz2009-03-141-47/+82
| | | (bzr r7484)
* promote default namespace for INX extension filesThomas Holder2009-01-111-9/+12
| | | (bzr r7113)
* From trunkTed Gould2008-10-271-3/+4
| | | (bzr r6885)
* Fold sp_repr_save_file() into sp_repr_save_writer() so that it can also be ↵Bob Jamison2008-04-021-37/+43
| | | | | called by sp_repr_save_buf() (bzr r5314)
* Warning cleanupJon A. Cruz2008-03-151-1/+1
| | | (bzr r5097)
* Add convenience functions to read from/write to Glib::ustrings.Bob Jamison2008-03-131-0/+28
| | | (bzr r5086)
* add basic support for preserving processing instructions in the ASTMenTaLguY2008-03-071-4/+9
| | | (bzr r4987)
* export sp_repr_write_stream()Bob Jamison2008-03-071-1/+0
| | | (bzr r4980)
* Applying fixes for gcc 4.3 build issues (closes LP: #169115)Bryce Harrington2008-01-311-0/+2
| | | (bzr r4629)
* r16525@tres: ted | 2007-09-11 20:49:47 -0700Ted Gould2007-09-121-1/+1
| | | | | Adding in code to XSLT. (bzr r3729)
* Add fixme comment re testing for file existence inside g_return_if_fail.Peter Moulder2007-06-201-0/+3
| | | (bzr r3080)
* eliminate last uses of sp_repr_new*MenTaLguY2007-01-251-23/+16
| | | (bzr r2283)
* make SVG indent and inlined attrs configurable via prefsbulia byak2006-11-011-24/+38
| | | (bzr r1879)
* gboolean -> bool conversion commit 1. Modifies code to do with getting the ↵Michael G. Sloan2006-08-261-8/+8
| | | | | | | undo system to ignore actions, as well as SVG/XML save/load. Shouldn't cause problems though. (bzr r1639)
* peeled back the gboolean code as it hit on some complexity theory principles...Jon Phillips2006-08-251-8/+8
| | | | | need to rethink and incrementally change gbooleans to bools (bzr r1637)