summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update NEWS2.40.10Federico Mena Quintero2015-08-081-0/+4
|
* Handle font-style="normal"Matthias Clasen2015-08-041-1/+3
| | | | | Accept font-style="normal" ignored as an attribute of a tspan, https://bugzilla.gnome.org/show_bug.cgi?id=688689
* filter: Plug a leakCarlos Garnacho2015-08-041-1/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=748608
* filter: Plug gaussian convolution matrix leakCarlos Garnacho2015-08-041-1/+2
| | | | | | The convolution matrix on the Y axis is leaked. https://bugzilla.gnome.org/show_bug.cgi?id=748608
* filter: Plug one more cairo context/surface leakCarlos Garnacho2015-08-041-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=748608
* bgo#748608 - Destroy cairo_t after useCarlos Garnacho2015-08-021-0/+1
| | | | Otherwise the cairo_t, and the surface it's created on are leaked.
* Update NEWSFederico Mena Quintero2015-07-021-0/+11
|
* bgo#476507 - Marker endpoints have the wrong angleMenner2015-07-021-9/+26
| | | | | | If a curveto has coincident control points at the start or end, then the angle of the marker at that endpoint is not computed correctly. This uses the next or previous control points as appropriate to compute the correct angle.
* tests: New test for bug #476507 - wrong orientation of arrow markersFederico Mena Quintero2015-07-023-0/+79
|
* bgo#739329 - Remove single quotes around font-family names before passing ↵Menner2015-07-021-2/+18
| | | | | | | | | | | | | | | them to Pango If you have an SVG with <text style="font-family: 'New Century Schoolbook';"> ... </text> our CSS-parsing code simply passes the singly-quoted string to Pango. In turn, Pango doesn't like the quotes because they are not part of the font's name. This is a simple patch to remove single quotes from *all* style attributes, not just strings (which is where the CSS spec allows them). We need a real CSS parser, not something built out of g_strsplit().
* tests: new test for bug #739329Federico Mena Quintero2015-07-023-0/+51
| | | | | If we have <text style="font-family: 'Times New Roman';"> it will fail, because the single quotes are fed into Pango.
* Fix non-srcdir buildMatthias Clasen2015-07-011-0/+2
| | | | Jasper pointed out that this was broken for a while.
* test-display: Don't use deprecated gdk_color_parse()Federico Mena Quintero2015-04-171-6/+7
|
* test-display: Don't use deprecated gtk_scrolled_window_add_with_viewport()Federico Mena Quintero2015-04-171-2/+1
|
* Require GTK+ 3.10.0 or laterFederico Mena Quintero2015-04-171-2/+2
| | | | | I want to remove calls to deprecated functions, and this is easier if we just require a GTK+ that is like two years old instead of four years old.
* test-display: Remove dead codeFederico Mena Quintero2015-04-171-25/+2
|
* Don't use deprecated gtk_stockFederico Mena Quintero2015-04-161-17/+20
|
* Don't use deprecated pango_cairo_font_map_create_context()Federico Mena Quintero2015-04-161-1/+1
| | | | | We already require Pango 1.32.6, and the replacement function pango_font_map_create_context() has been available since Pango 1.22.
* Handle the deprecation of g_type_init() to avoid compiler warningsFederico Mena Quintero2015-04-1612-11/+36
| | | | Maybe we should increment the glib version requirement one of these days...
* Post-release version bumpFederico Mena Quintero2015-04-141-1/+1
|
* Update NEWS2.40.9Federico Mena Quintero2015-03-251-0/+8
|
* Bump versionFederico Mena Quintero2015-03-251-1/+1
|
* bgo#710163 - Use _wfullpath() on Windows instead of _fullpath()LRN2015-03-241-6/+26
|
* Gaussian blur: clip the blurred image to the filter effects regionFederico Mena Quintero2015-03-241-5/+24
|
* bgo#605875 - Gaussian blurred objects are sometimes missingFederico Mena Quintero2015-03-241-104/+494
| | | | | | | This replaces the blurring machinery with a real gaussian blur for small radiuses, and fixes box blurs for large radiuses. Based on a patch by Eduard Braun.
* Add test for bgo#605875 - Incorrect rendering of feGaussianBlurFederico Mena Quintero2015-03-243-0/+682
| | | | | | | This test image comes from https://commons.wikimedia.org/wiki/File:Kaliningrad_Oblast_Coat_of_Arms_2006.svg The topmost jewel in the center of the crown was not getting rendered at all.
* bgo#738367 - Fix handling of V/v/H/h commands in pathAndrea Griffini2015-03-131-0/+2
| | | | | | | These were not setting one of the x/y components for the reflection point to be used in smooth curves. https://bugzilla.gnome.org/show_bug.cgi?id=738367
* Add test for bgo#738367 - incorrect handling of V/v/H/h commands in pathFederico Mena Quintero2015-03-133-0/+8
|
* Update NEWS2.40.8Federico Mena Quintero2015-02-261-0/+7
| | | | Signed-off-by: Federico Mena Quintero <federico@gnome.org>
* bgo#745177 - Revert "RsvgPathBuilder: don't add a terminating moveto after ↵Federico Mena Quintero2015-02-262-0/+10
| | | | | | | | closepath" This reverts commit 0c98142e31cdc91963860f99ec933e52f3cc63c6. This was causing bug https://bugzilla.gnome.org/show_bug.cgi?id=745177
* RsvgNodeEllipse: Use RsvgPathBuilder instead of building/parsing a path stringFederico Mena Quintero2015-02-201-64/+29
| | | | Signed-off-by: Federico Mena Quintero <federico@gnome.org>
* RsvgNodeCircle: Use RsvgPathBuilder instead of building/parsing a path stringFederico Mena Quintero2015-02-201-59/+23
| | | | Signed-off-by: Federico Mena Quintero <federico@gnome.org>
* RsvgNodeRect: Use RsvgPathBuilder instead of building/parsing a path stringFederico Mena Quintero2015-02-201-84/+101
| | | | Signed-off-by: Federico Mena Quintero <federico@gnome.org>
* Make rsvg_path_builder_arc() public/internalFederico Mena Quintero2015-02-202-15/+24
| | | | | | This is just a rename of rsvg_path_arc(). Signed-off-by: Federico Mena Quintero <federico@gnome.org>
* rsvg_path_arc(): take an RsvgPathBuilder, not a full RSVGParsePathCtxFederico Mena Quintero2015-02-201-65/+90
| | | | | | | | | | | | | | The ctx was used to extract the start point for the arc, and to set the 'current point' to the arc's end point when the drawing is finished. We now pass in extra arguments for the start point (which don't come with the path builder). Also, added whitespace in the math-y part, because without whitespace it makes me sad. Signed-off-by: Federico Mena Quintero <federico@gnome.org>
* rsvg_path_arc_segment(): Take in a RsvgPathBuilder, not a whole RSVGParsePathCtxFederico Mena Quintero2015-02-201-9/+9
| | | | Signed-off-by: Federico Mena Quintero <federico@gnome.org>
* RsvgNodeLine: Use RsvgPathBuilder instead of building/parsing a path stringFederico Mena Quintero2015-02-201-19/+12
| | | | | | | Again; no need to go through the production process for Luwak coffee just to paint a line. Signed-off-by: Federico Mena Quintero <federico@gnome.org>
* RsvgNodePoly: Use RsvgPathBuilder instead of building/parsing a path stringFederico Mena Quintero2015-02-201-20/+18
| | | | | | | We have all the machinery to build paths on the fly; we don't need to fake a path on a string, parse that, and construct a path. Signed-off-by: Federico Mena Quintero <federico@gnome.org>
* rsvg-test: Don't include unnecessary headerFederico Mena Quintero2015-02-201-1/+0
| | | | Signed-off-by: Federico Mena Quintero <federico@gnome.org>
* RsvgPathBuilder: don't add a terminating moveto after closepathFederico Mena Quintero2015-02-202-10/+0
| | | | | | | | | | When we used libart, before Cairo, it was necessary to add a moveto after a closepath, since the starting and ending points of a closed path were supposed to coincide. Cairo handles closed paths without needing the caller to manually move back to the starting point. Signed-off-by: Federico Mena Quintero <federico@gnome.org>
* bgo#744688 - Fix double g_free() when processing stroke-dasharrayFederico Mena Quintero2015-02-191-3/+5
| | | | | | | | | | | The part of rsvg_parse_style_pair() that validates the dash pattern, by seeing if any actual dash length was generated, could leave a dangling pointer after a g_free() if the dash pattern turned out to be invalid. Later, rsvg_state_inherit_run() would try to g_free() this dangling pointer as well. Found by Atte Kettunen's fuzz testing. Signed-off-by: Federico Mena Quintero <federico@gnome.org>
* Post-release version bumpFederico Mena Quintero2015-02-131-1/+1
|
* Update NEWS2.40.7Federico Mena Quintero2015-02-131-2/+3
|
* Quick update of the README, at least to make it not so outdatedFederico Mena Quintero2015-02-131-3/+1
|
* Internally use 'char *' for string dataFederico Mena Quintero2015-02-1211-51/+50
| | | | | | | | 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.
* configure.in -> configure.acFederico Mena Quintero2015-02-122-1/+1
|
* Remove extra compiler warnings from configure.inFederico Mena Quintero2015-02-121-25/+0
| | | | | Whoever builds the module should be in control. Developers can very well have a build-paranoically script or something.
* Fix parenthesesFederico Mena Quintero2015-02-121-1/+1
|
* Fix shadowed variablesFederico Mena Quintero2015-02-123-6/+6
|
* Fix variable name which shadows a type nameFederico Mena Quintero2015-02-121-4/+4
|