commit aadbf6968df5fa93e182b7e7c93dc5cc076d44ce Author: Federico Mena Quintero Date: Fri Feb 13 14:49:11 2015 -0600 Update NEWS NEWS | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 00e75a916e5cfce7bb98d87d98688d86289f8142 Author: Federico Mena Quintero Date: Fri Feb 13 14:47:35 2015 -0600 Quick update of the README, at least to make it not so outdated README | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 80f6366f8033a33b88640faea50976644aad2c66 Author: Federico Mena Quintero Date: Thu Feb 12 14:18:06 2015 -0600 Internally use 'char *' for string data There was a mixture of guint8*, guchar*, gchar*, etc. Use char* because that's about as sane as we can get, and only cast where we can't change the public API or where we must interface with other libraries. *Cough* xmlChar *cough*. This removes a metric assload of compiler warnings, and I'm fine with that. gdk-pixbuf-loader/io-svg.c | 6 +++--- rsvg-base-file-util.c | 8 ++++---- rsvg-base.c | 16 ++++++++-------- rsvg-css.c | 2 +- rsvg-defs.c | 4 ++-- rsvg-file-util.c | 6 +++--- rsvg-image.c | 6 +++--- rsvg-io.c | 24 ++++++++++++------------ rsvg-io.h | 12 ++++++------ rsvg-private.h | 10 +++++----- rsvg-styles.c | 7 +++---- 11 files changed, 50 insertions(+), 51 deletions(-) commit 24ca2ec60645365bacbefacff98a5f24f98b1d03 Author: Federico Mena Quintero Date: Thu Feb 12 11:29:12 2015 -0600 configure.in -> configure.ac autogen.sh | 2 +- configure.ac | 294 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 294 ----------------------------------------------------------- 3 files changed, 295 insertions(+), 295 deletions(-) commit 0de909abb6312902f738183cda571b08337f118c Author: Federico Mena Quintero Date: Thu Feb 12 11:26:54 2015 -0600 Remove extra compiler warnings from configure.in Whoever builds the module should be in control. Developers can very well have a build-paranoically script or something. configure.in | 25 ------------------------- 1 file changed, 25 deletions(-) commit 7f7a186a791718b94dc35a5c5559dd2d43049d12 Author: Federico Mena Quintero Date: Thu Feb 12 10:50:35 2015 -0600 Fix parentheses rsvg-path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bc189a77050e4029e1fe9be3a7d7400bc0640c21 Author: Federico Mena Quintero Date: Thu Feb 12 10:49:01 2015 -0600 Fix shadowed variables rsvg-filter.c | 2 +- rsvg-marker.c | 6 +++--- rsvg-marker.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit 5d8e48bf386e4bc8ffefb9262c7ae37b3ee27d9f Author: Federico Mena Quintero Date: Thu Feb 12 10:48:38 2015 -0600 Fix variable name which shadows a type name rsvg-base.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit cfa5cf4ac4a04977bb3fae08ad4e2d189f6498db Author: Federico Mena Quintero Date: Thu Feb 12 10:48:21 2015 -0600 Fix possibly-uninitialized variable rsvg-convert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2c2db8dbe4b8f7f59654d2990f781af3d363b0ba Author: Federico Mena Quintero Date: Thu Feb 12 10:48:05 2015 -0600 Fix const warnings in the pixbuf loader gdk-pixbuf-loader/io-svg.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit 400336480ed5abbe398d2fa646872a668205a5fd Author: Federico Mena Quintero Date: Wed Feb 11 15:06:56 2015 -0600 bgo#744270 - Fix uninitialized value in rsvg_filter_primitive_displacement_map_render() Fixes https://bugzilla.gnome.org/show_bug.cgi?id=744270 Signed-off-by: Federico Mena Quintero rsvg-filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2737efd03e814588c3b058633227985c441ccdf4 Author: Federico Mena Quintero Date: Wed Feb 11 14:16:01 2015 -0600 Update NEWS and librsvg.doap; add MAINTAINERS MAINTAINERS | 3 +++ NEWS | 4 +++- librsvg.doap | 21 ++++++++++----------- 3 files changed, 16 insertions(+), 12 deletions(-) commit 0035e95118a60c0cd3949c2300472d805e16a022 Author: Federico Mena Quintero Date: Wed Feb 11 10:48:52 2015 -0600 bgo#744299 - Ensure the type of pattern fallbacks Atte Kettunen's fuzz testing yielded an SVG with a pattern paint server that had an xlink:href to a *rect*, not to another patern. Since we were not checking type type of resolved nodes when applying pattern fallbacks, we were using a structure of the wrong type. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=744299 Signed-off-by: Federico Mena Quintero rsvg-paint-server.c | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) commit 53c50caecc970aef91cf8e3f1fde919f848d6f0c Author: Federico Mena Quintero Date: Fri Feb 6 16:33:25 2015 -0600 Avoid overflow in gint multiplication In the convolution matrix filter code, we read the orderx and ordery for the convolution matrix. However, multiplying them as gints may overflow. Found by fuzz testing when orderx = ordery = 65536 Fuzz testing kindly provided by Atte Kettunen From librsvg-fuzz case rsvgconvert-060-3ef-705-f72.svg Signed-off-by: Federico Mena Quintero rsvg-filter.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 8c71bac8940831aa1dd24e6f8a27149cd97ca1e9 Author: Federico Mena Quintero Date: Fri Feb 6 12:48:24 2015 -0600 Update NEWS NEWS | 4 ++++ 1 file changed, 4 insertions(+) commit 8ee18b22ece0f869cb4e2e021c01138cbb8a0226 Author: Federico Mena Quintero Date: Fri Feb 6 11:51:01 2015 -0600 bgo#738169 - Avoid cycles while resolving paint server fallbacks If a chain of paint servers, defined through the xlink:href attribute, has a cycle, then we would loop infinitely while resolving the base paint server. We now use a tortoise-and-hare to detect cycles and stop appropriately. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=738169 Signed-off-by: Federico Mena Quintero rsvg-paint-server.c | 421 +++++++++++++++++++++++++++++++++------------------- 1 file changed, 271 insertions(+), 150 deletions(-) commit 40af93e6eb1c94b90c3b9a0b87e0840e126bb8df Author: Federico Mena Quintero Date: Thu Feb 5 18:08:25 2015 -0600 bgo#738050 - Handle the case where a list of coordinate pairs has an odd number of elements Lists of points come in coordinate pairs, but we didn't have any checking for that. It was possible to try to fetch the 'last' coordinate in a list, i.e. the y coordinate of an x,y pair, that was in fact missing, leading to an out-of-bounds array read. In that case, we now reuse the last-known y coordinate. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=738050 Signed-off-by: Federico Mena Quintero rsvg-shapes.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit 7803753d130da94db40c10cc75e98b9864dad620 Author: Federico Mena Quintero Date: Thu Feb 5 14:27:10 2015 -0600 bgo#703102 - Clip coordinates for rsvg_alpha_blt() in a more civilized fashion The source offsets were not being validated correctly, so we could easily do a read or write outside the bounds of the image surface. We now use a generic function to clip rectangles instead of doing it by hand. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=703102 Signed-off-by: Federico Mena Quintero rsvg-filter.c | 115 ++++++++++++++++++++++++++-------------------------------- 1 file changed, 51 insertions(+), 64 deletions(-) commit 452ef81f5201808357db50169ed4f8c18b50b12e Author: Chun-wei Fan Date: Fri Dec 19 18:43:15 2014 +0800 Really Fix Build of rsvg-convert on Windows Commit 1811f20 attempted to fix the build of rsvg-convert on Windows, but unfortunately there were some issues about it, as g_win32_input_stream_new() took a Windows HANDLE (i.e. a void*/gpointer), not a numeric constant like STDIN_FILENO, as its first argument. Acquire the HANDLE for stdin on Windows first, and pass it into g_win32_input_stream_new(). Also use G_OS_WIN32 to check we are building for Windows, as we do elsewhere for GLib-using items. https://bugzilla.gnome.org/show_bug.cgi?id=734977 rsvg-convert.c | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) commit 7bb5d1b8ebc57f81a5883247a5acd7f49ba48d09 Author: Richard Hughes Date: Wed Dec 3 10:27:51 2014 +0000 Post release version bump configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)