From 80c90de818af07677c492a438384b7e6da3a65ad Mon Sep 17 00:00:00 2001 From: d Date: Tue, 21 Sep 2010 16:04:37 -0300 Subject: add XML_PARSE_HUGE to handle documents with more than 256 levels of nesting (bzr r9775) --- src/xml/repr-io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xml/repr-io.cpp') diff --git a/src/xml/repr-io.cpp b/src/xml/repr-io.cpp index fa5e9b6ed..5b26d438f 100644 --- a/src/xml/repr-io.cpp +++ b/src/xml/repr-io.cpp @@ -294,7 +294,7 @@ sp_repr_read_file (const gchar * filename, const gchar *default_ns) &src, localFilename, src.getEncoding(), - XML_PARSE_NOENT ); + XML_PARSE_NOENT | XML_PARSE_HUGE); } } -- cgit v1.2.3 From 1331978b6a4717ea679f0d4d3c3d9ceaf7da2f5a Mon Sep 17 00:00:00 2001 From: d Date: Wed, 22 Sep 2010 11:59:28 -0300 Subject: add libxml/parser.h to fix compile on windows (bzr r9776) --- src/xml/repr-io.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/xml/repr-io.cpp') diff --git a/src/xml/repr-io.cpp b/src/xml/repr-io.cpp index 5b26d438f..115b4b138 100644 --- a/src/xml/repr-io.cpp +++ b/src/xml/repr-io.cpp @@ -20,6 +20,8 @@ #include #include +#include + #include "xml/repr.h" #include "xml/attribute-record.h" #include "xml/rebase-hrefs.h" -- cgit v1.2.3 From 144819c918dc761641c3cb5a490205fb73194ee3 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Wed, 17 Nov 2010 13:12:56 +1100 Subject: Super duper mega (fun!) commit: replaced encoding=utf-8 with 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) --- src/xml/repr-io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xml/repr-io.cpp') diff --git a/src/xml/repr-io.cpp b/src/xml/repr-io.cpp index 115b4b138..b1320a4a3 100644 --- a/src/xml/repr-io.cpp +++ b/src/xml/repr-io.cpp @@ -990,4 +990,4 @@ sp_repr_write_stream_element (Node * repr, Writer & out, gint indent_level, fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : -- cgit v1.2.3