| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Maybe we should increment the glib version requirement one of these days...
|
|
|
|
|
|
|
|
|
|
| |
For security reasons, newer libxml versions applies limits that huge
SVG files exceed and thus fail parsing. Add an RSVG_HANDLE_FLAG_UNLIMITED
flag that uses XML_PARSE_HUGE to allow parsing these files again.
Note: for security reasons, this flag should ONLY be used on trusted input!
https://bugzilla.gnome.org/show_bug.cgi?id=710310
|
|
|
|
|
|
|
|
| |
base_file can legitimately be NULL at this point.
Found by scan-build.
https://bugzilla.gnome.org/show_bug.cgi?id=719552
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=683380
|
| |
|
| |
|
|
|
|
|
|
|
| |
Fixes compiler warnings when -Wunused-variable and -Wunused-functions
compiler switches are enabled.
Bug #672725.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
==9159== 48 bytes in 1 blocks are definitely lost in loss record 5,116 of 6,936
==9159== at 0x402AD89: malloc (vg_replace_malloc.c:236)
==9159== by 0x4D19714: standard_malloc (gmem.c:85)
==9159== by 0x4D197B7: g_malloc (gmem.c:159)
==9159== by 0x4D301D1: g_slice_alloc (gslice.c:1003)
==9159== by 0x4D30217: g_slice_alloc0 (gslice.c:1029)
==9159== by 0x4A3067F: g_type_create_instance (gtype.c:1872)
==9159== by 0x4A19C79: g_object_constructor (gobject.c:1839)
==9159== by 0x4A1937A: g_object_newv (gobject.c:1622)
==9159== by 0x4A19168: g_object_new (gobject.c:1532)
==9159== by 0x47CFFCF: _g_local_file_input_stream_new (glocalfileinputstream.c:152)
==9159== by 0x47C905D: g_local_file_read (glocalfile.c:1339)
==9159== by 0x46FEB6A: g_file_read (gfile.c:1481)
==9159== by 0x804C061: main (test-display.c:707)
|
| |
|
|
|
|
| |
Move it to its own file, and include that in rsvg-convert and the tests.
|
| |
|
| |
|
|
|
|
|
|
| |
Drop gtk2, use cairo surfaces instead of pixbuf, use GIO, load
the SVG just once instead of every time we zoom or print, and
remove some unused or unnecessary options.
|
|
|
|
|
|
|
|
|
|
|
| |
rsvg_init() should be replaced by g_type_init(); we now call xmlInitParser()
in RsvgHandleClass::init.
rsvg_term() was dangerous to call, so just make it a no-op and add a new
rsvg_cleanup() that calls xmlCleanupParser(), for use only when you know
what you're doing.
https://bugzilla.gnome.org/show_bug.cgi?id=614157
|
|
|
|
| |
On gtk3, use a GtkBox.
|
| |
|
|
|
|
| |
It's deprecated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
==10734== 19 (8 direct, 11 indirect) bytes in 1 blocks are definitely lost in loss record 1,325 of 2,962
==10734== at 0x4026EB4: malloc (vg_replace_malloc.c:236)
==10734== by 0x4B3B823: g_malloc (gmem.c:164)
==10734== by 0x4B40A76: parse_arg (goption.c:1242)
==10734== by 0x4B42123: g_option_context_parse (goption.c:1572)
==10734== by 0x804C39B: main (test-display.c:784)
==10734==
==10734== 40 (24 direct, 16 indirect) bytes in 1 blocks are definitely lost in loss record 2,103 of 2,962
==10734== at 0x4026EB4: malloc (vg_replace_malloc.c:236)
==10734== by 0x4B3B823: g_malloc (gmem.c:164)
==10734== by 0x4B51726: g_slice_alloc (gslice.c:842)
==10734== by 0x4B07158: g_array_sized_new (garray.c:185)
==10734== by 0x4B07275: g_byte_array_new (garray.c:1402)
==10734== by 0x4034F0C: rsvg_acquire_file_resource (rsvg-image.c:109)
==10734== by 0x403512A: _rsvg_acquire_xlink_href_resource (rsvg-image.c:174)
==10734== by 0x804C59B: main (test-display.c:837)
|
|
|
|
| |
GdkColormap is gone.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Fix for bug #615699.
|
|
|
|
|
|
| |
Part of fix for bug #591766.
The return value of basename should not be free. We can use
g_path_get_basename instead.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-20 Dominic Lachowicz <domlachowicz@gmail.com>
* rsvg-convert.c: command-line tools can't handle UTF-8 encoded
filenames (#557036, reported by Tim Starling)
* test-display.c: ditto
svn path=/trunk/; revision=1180
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-26 Dominic Lachowicz <domlachowicz@gmail.com>
* gdk-pixbuf-loader/io-svg.c: #549418 - build failure: test-display.c
io-svg.c format not a string literal and no format arguments
* test-display.c: Ditto
svn path=/trunk/; revision=1170
|
|
|
|
| |
svn path=/trunk/; revision=1159
|
|
|
|
| |
svn path=/trunk/; revision=1157
|
|
|
|
|
|
|
| |
* test-display: Make window size larger (#445870)
svn path=/trunk/; revision=1155
|
|
|
|
|
|
|
|
|
|
| |
2008-02-02 Dominic Lachowicz <domlachowicz@gmail.com>
* test-display.c: Get rid of gnome print. Use gtk-print instead
(#508526)
svn path=/trunk/; revision=1144
|
|
|
|
|
|
|
|
|
| |
2008-01-29 Christian Persch <chpe@gnome.org>
* test-display.c: (view_pixbuf): Add the filename to the window title.
Bug #512797.
svn path=/trunk/; revision=1141
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-22 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
* test-display.c: fix modeline.
2007-06-22 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix for Bug 448327
* rsvg-base.c (rsvg_path_is_uri): new.
(rsvg_get_base_uri_from_filename): really return a URI.
(rsvg_handle_set_base_uri): accept a non URI as parameter, converting
it to local URI.
* rsvg-convert.c: fix rsvg_handle_set_base_uri call.
* rsvg-image.c (rsvg_get_file_path): adpat the code to the fact
base_uri is now really an URI.
(rsvg_acquire_file_resource): handle path==NULL.
svn path=/trunk/; revision=1120
|
|
|
|
|
|
|
|
|
| |
2007-06-15 Dom Lachowicz <domlachowicz@gmail.com>
* test-display.c: Bug 444443 - allow to subrender with rsvg-view. From
Christian Persch.
svn path=/trunk/; revision=1117
|
|
|
|
|
|
|
|
|
|
| |
2007-01-29 Dom Lachowicz <domlachowicz@gmail.com>
* test-display.c: 402107 . rsvg_convert and rsvg_viiew crash if called \
without arguments
* rsvg-convert.c: ditto
svn path=/trunk/; revision=1094
|
|
|
|
|
|
|
|
|
| |
2007-01-12 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Indentation fix, using: indent -kr -nut -pcs -psl -i4 -l100
svn path=/trunk/; revision=1088
|
| |
|
|
|
|
|
|
|
|
| |
2006-04-19 Dom Lachowicz <cinamod@hotmail.com>
* *.[ch]: Use rsvg_return_if_fail where appropriate, to make life
easier for language bindings and to report errors more consistently
(bug #338881)
|
| |
|
| |
|
| |
|
|
|
|
| |
return values. Inspired by work done by Daniel Drake (dsd@gentoo.org)
|
| |
|