| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
And use it when converting to a PDF in rsvg-convert.
https://bugzilla.gnome.org/show_bug.cgi?id=721354
|
|
|
|
|
| |
Instead of converting back and forth, just use the mime types
directly.
|
|
|
|
|
| |
When we know the mime type of the content, use
gdk_pixbuf_loader_new_with_mime_type().
|
| |
|
|
|
|
|
|
| |
Wrap _rsvg_io_acquire_* in _rsvg_handle_acquire_* that first
checks whether the load should be allowed. For the moment, always allow
the load; more restricted policies will be introduced in a follow-up commit.
|
|
|
|
| |
Add rsvg-io.[ch], move the code there, clean it up, and adapt the callers.
|
| |
|
|
|
|
| |
... instead of GdkPixbufs to store the filter results.
|
|
|
|
|
| |
This reverts commit 9333f2da7ea92d475a45861fcf47dc385a783171.
It didn't work as intended and needs more work.
|
|
|
|
|
|
|
|
|
|
| |
When loading an embedded image using gdk-pixbuf, only use threadsafe
pixbuf loaders. This prevents a deadlock with e.g. embedded TIFF images.
This will cause the SVG to render without the embedded image; it will
NOT cause the loading of the SVG to fail.
https://bugzilla.gnome.org/show_bug.cgi?id=473862
https://bugzilla.gnome.org/show_bug.cgi?id=590788
|
|
|
|
|
|
|
|
|
|
|
|
| |
The node name (formerly RsvgNode:type) cannot be used to infer
the sub-type of RsvgNode that we're dealing with, since for unknown
elements we put type = node-name. This lead to a (potentially exploitable)
crash e.g. when the element name started with "fe" which tricked
the old code into considering it as a RsvgFilterPrimitive.
CVE-2011-3146
https://bugzilla.gnome.org/show_bug.cgi?id=658014
|
| |
|
|
|
|
|
|
| |
No need to provide our own implementation of this function.
Bug #620649.
|
|
|
|
| |
Bug #620130.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
We can use g_base64_decode here since librsvg already
requires GLib-2.12.
|
|
|
|
| |
rsvg_state_current -> rsvg_current_state.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
2009-02-19 Thomas Andersen <phomes@gmail.com>
* rsvg-image.c: mem leaks. Bug #444444
svn path=/trunk/; revision=1207
|
|
|
|
|
|
|
|
|
|
| |
2009-02-19 Robert Staudinger <robert.staudinger@gmail.com>
* rsvg-file.c: Do not allocate RsvgState in rsvg_new_image(), use the instance that's been
allocated and set up in the call to _rsvg_node_init(). Bug #557082
svn path=/trunk/; revision=1197
|
|
|
|
|
|
|
|
|
|
| |
2008-03-04 Dominic Lachowicz <domlachowicz@gmail.com>
* rsvg-image.c: rsvg-convert crashed with SIGSEGV in _rsvg_acquire_xlink_href_resource()
(#520261)
svn path=/trunk/; revision=1158
|
|
|
|
|
|
|
|
|
| |
2008-02-02 Jan Arne Petersen <jpetersen@jpetersen.org>
* Migrate to gio (#513778)
svn path=/trunk/; revision=1142
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-04-12 Dom Lachowicz <domlachowicz@gmail.com>
* rsvg-image.c: Bug 421697 - rsvg_handle_new_from_file overwrites GError
svn path=/trunk/; revision=1105
|
|
|
|
|
|
|
|
|
|
| |
2007-01-12 Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Fix indentation of *.h files. Running indent on them was not a good
idea. Also add sts setting to vim modeline.
svn path=/trunk/; revision=1089
|
|
|
|
|
|
|
|
|
| |
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-25 Dom Lachowicz <cinamod@hotmail.com>
* rsvg-image.c: Initialize node->super, to avoid a crash (#339637)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
* rsvg.h: Export RsvgHandle and RsvgHandleClass to the outside world so you can subclass them
* *.c: Changes necessary for ^^^
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|