2003-02-03 Dom Lachowicz * gdk-pixbuf-loader/io-svg.c (*): Updates for GTK 2.2.1 2003-02-02 Dom Lachowicz * tests/butterfly.svg * tests/chem1.svg: New tests, from the mozilla project 2003-02-02 Dom Lachowicz * rsvg-shapes.c (rect): Handle missing RX when RY is specified (http://www.w3.org/TR/SVG11/shapes.html#RectElement) * configure.in: Bump version number, libgsf update from aldug * librsvg.spec.in: Fixes by Christian Schaller === librsvg 2.2.2 === 2003-02-01 Dom Lachowicz * configure.in: Make GTK+ and the theme engine optional, by Rodney Dawes (dobey) 2003-02-01 Dom Lachowicz * rsvg-paint-server.c: Fix evil devide by 0 bug that killed us on some Krystal SVGs * rsvg.c: update documentation - 95% complete (missing RsvgSizeFunc) * rsvg-gz.c: Ditto 2003-02-01 Dom Lachowicz * rsvg.c (end_element): Fix regression 2003-02-01 Dom Lachowicz * docs/*: GtkDoc work. Please someone with better gtk-doc skills than me make this work 100% properly! 2003-02-01 Dom Lachowicz * rsvg.c (end_element): Fix regression caused by in_defs bogosity (start_linear_gradient): Proper handling of unspecified params (start_radial_gradient): Ditto 2003-01-31 Dom Lachowicz * rsvg.c, rsvg-shapes.c, rsvg-private.h: Some hacks to get around some nasty invalid KDE SVGs Uraeus presented me with. No longer crash. 2003-01-31 Dom Lachowicz * rsvg-styles.c (parse_cssbuffer): Fix some overflows and such. All of the W3 testcases now load, albeit many do so incorrectly. /me hears a giant sucking sound made by CSS2 2003-01-31 Dom Lachowicz * rsvg-file-util.c: Support SVGZ through the OLD API as well 2003-01-30 Dom Lachowicz * gdk-pixbuf-loader/io-svg.c: Conditionally support SVGZ files * TODO: Remove SVGZ in pixbuf loader TODO-item * tests/104201.svg, tests/folder_home-2.2.svg, tests/stock_home.svg, tests/stock_paste.svg, tests/undo-128-d-sodipodi.svg.gz: New testcases 2003-01-30 Dom Lachowicz * configure.in, Makefile.am, librsvg-2.0.pc.in: Work by FJF and myself to conditionally build and install the libgsf-based GZip handle. Bump version number. Perhaps should branch as well. * rsvg-file-util.c: Export the new hidden _ex API calls * rsvg.h: Ditto 2003-01-30 Dom Lachowicz * rsvg-file-util.c (*): Made '_ex' versions of all "convenience" functions that take a RsvgHandle as an argument. This will allow the caller to pass in a handle with DPI specified, or a handle capable of handling gzipped files. Made all existing convenience functions call their _ex cousins. TODO: make the _ex functions part of the public API. 2003-01-30 Dom Lachowicz * rsvg-paint-server.c (radial, linear): Handle objBbox coordinate space properly. Thanks Lauris for the tip! 2003-01-30 Dom Lachowicz * rsvg.c (rsvg_start_svg): s/TRUE/FALSE to fix scaling vbox issue 2003-01-29 Dom Lachowicz * rsvg-paint-server.[ch]: Handle objectBoundingBox units for linear gradients, radialGradients. Radial are untested and do not work properly. * rsvg.c: Query the gradientUnits param, in order to pass to ^^^ * TODO: Update info so that the objectBoundingBox gets handled properly in case of percentage values. * tests/obj_bbox.svg: Test for the above 2003-01-29 Dom Lachowicz * rsvg-gz.c: Fix build * rsvg-file-util.c: Remove GNOME VFS code. 2003-01-28 Dom Lachowicz * rsvg-gz.[ch]: New handle type, capable of reading SVGZ files. Not built currently, but will soon be conditionally compiled in. * *: Groundwork needed for the above (method virtualization) 2003-01-27 Dom Lachowicz * rsvg-styles.c (parse_cssbuffer): Allow multiple declarations to be additive ( H1 { font-weight: bold } H1 { font-family: Times } now evaluate properly to H1 { font-weight: bold ; font-family: Times }) === librsvg 2.2.1 === 2003-01-27 Dom Lachowicz * rsvg.c (): Patheticly handle conical gradients (not part of SVG spec, but that doesn't stop KIllustrator/Kontour...), work on gradientTransform as well as spreads on radialGradients 2003-01-27 Dom Lachowicz * *: Fix a bunch of brokenness caused by Sodipodi's handling of gradients. Output still doesn't look quite right, though, unfortunately.... 2003-01-26 Dom Lachowicz * *: Support CSS id as well as class, style 2003-01-23 Dom Lachowicz * test-rsvg.c : Support a JPEG quality argument [1-100] 2003-01-21 Alexander Larsson * Makefile.am: Better manpage installation. === librsvg 2.2.0 === 2003-01-20 Alexander Larsson * NEWS: * configure.in: Update to 2.2.0 2003-01-16 Dom Lachowicz * rsvg.1: Improve manual page * test-rsvg.c: Support .jpg as well as .jpeg as JPEG format specifier 2003-01-14 Dom Lachowicz * rsvg-XXX.c (*): Rework css_parse_normalized_length to "properly" handle "ex" units (i.e. handle them how ImageMagick handles them) 2003-01-14 Dom Lachowicz * rsvg-styles.c (rsvg_parse_style_attrs): Also honor the "*" style 2003-01-13 Dom Lachowicz * rsvg.1 : New man page, gets installed * configure.in : Post release version number bump -> 2.1.6 2003-01-13 Dom Lachowicz * rsvg-shapes.c (start_rect): Handle rounded rects missing "ry" param properly 2003-01-13 Dom Lachowicz * *: Rework previous commit to use g_ascii_dtostr and g_ascii_strtod 2003-01-13 Dom Lachowicz * rsvg-private.h: Add setlocale wrapper fns. Problem found by George Lebl (jirka@5z.com), work based on/inspired by a patch by him. * rsvg.c: Use above fns * rsvg-css.c: Ditto * rsvg-text.c: Ditto * rsvg-shapes.c: Ditto === librsvg 2.1.5 === 2003-01-13 Alexander Larsson * Makefile.am: Added rsvg-private.h * NEWS: * configure.in: 2.1.5 === librsvg 2.1.4 === 2003-01-13 Alexander Larsson * NEWS: * configure.in: Update to 2.1.4 2003-01-08 Dom Lachowicz * rsvg-styles.c: Handle display and visibility styles to some extent * rsvg-text.c: Use above * rsvg-shapes.c: Ditto 2003-01-08 Dom Lachowicz * rsvg-file-util.c, rsvg-private.h, rsvg-shapes.c, rsvg-shapes.h, rsvg-styles.c, rsvg-styles.h, rsvg-text.c, rsvg-text.h : Separate functionality out into separate, managable files 2003-01-07 Dom Lachowicz * test-rsvg.c : Unref pixbuf, free memory leak. Thanks valgrind. === librsvg 2.1.3 === 2003-01-03 Dom Lachowicz * rsvg.c (): Start handling text-decoration style 2003-01-02 Dom Lachowicz * rsvg.c (*): Support font-style, font-variant, font-weight, font-stretch, font-family, including the "inherit" option * rsvg-css.c (*): ditto, CSS functions for parsing time, frequency, degrees/radians/grades * NEWS: added above news items === librsvg 2.1.2 === 2002-11-25 Alexander Larsson * configure.in: Bump version to 2.1.2 2002-11-05 Alexander Larsson * rsvg.c (rsvg_text_handler_characters, make_valid_utf8): Don't crash if there is invalid utf8 in the file, or if encoding is not specified. === librsvg 2.1.1 === 2002-10-22 Christian Schaller * Disable building of example bubble SVG theme 2002-10-14 Alexander Larsson * gdk-pixbuf-loader/Makefile.am (INCLUDES): * gdk-pixbuf-loader/io-svg.c: Fix includes with srcdir != builddir * NEWS: Add news items 2002-10-10 Dom Lachowicz * rsvg.c (rsvg_set_default_dpi): Rename function * test-rsvg.c: Support --dpi argument * test-display.c: Support --dpi argument 2002-10-09 Dom Lachowicz * rsvg.c (rsvg_start_svg): Fix for zoom calculations (rsvg_start_element): hack for Illustrator 9 (rsvg_stop_handler_end): ditto * test-display.c (*): major updates. now gets built. useful utility * Makefile.am: ditto 2002-10-07 Dom Lachowicz * rsvg.c (rsvg_start_svg): Handle case where size isn't supplied by svg, but is by a callback 2002-10-07 Dom Lachowicz * gimp-plugin/svg.c (): New file, gimp SVG plugin loader 2002-10-07 Dom Lachowicz * rsvg-paint-server.c (rsvg_clone_linear_gradient, rsvg_clone_radial_gradient): new functions for cloning gradient states * rsvg.c (rsvg_gradient_stop_handler_new_clone): new function for setting up a gradient stop handler from a cloned gradient (rsvg_start_radial_gradient): Handle xlink:href for cloned gradients (rsvg_start_linear_gradient): ditto (text_handler_characters): Fix segv (*): fix misc memleaks. thanks valgrind! 2002-10-06 Dom Lachowicz * svg-rc-style.c (): Added const-ness to struct * rsvg.c (rsvg_parse_cssbuffer, rsvg_style_handler_*): new functions to implement CSS style parsing (*): Implement CSS1/CSS2 style handling based on tagname (eg. "text") and on class (eg. "error") (*): Implement proper handler nesting, cleanup a few memleaks 2002-10-05 Dom Lachowicz * Move test images to tests subdirectory, add more tests * rsvg.c (start_image): Handle affines, rotation, scaling, translate. Has bugs that can be taken care of by gdk_pixbuf_copy later 2002-10-05 Alexander Larsson * gdk-pixbuf-loader/io-svg.c: Declare fill_vtable and fill_info to avoid warning. 2002-10-04 Dom Lachowicz * rsvg.c (): fix bugs with gradient style handling, few other bugs left in radial gradient 2002-10-04 Dom Lachowicz * test-rsvg.c (main): Implemented version, better help description 2002-10-04 Alexander Larsson * Makefile.am: * configure.in: Install test-rsvg as rsvg Fix gdk-pixbuf-loader build when you have an old version of gdk-pixbuf. 2002-10-03 Dom Lachowicz * rsvg.c (start_svg): Fix error that was hurting nautilus icon themes * test-rsvg.c (main): fix segfaults, add width, height arguments, configurable output format 2002-10-03 Matthias Clasen * gdk-pixbuf-loader : RSVG can now be optionally a loadable module for GdkPixbuf, if you have a new enough version of GdkPixbuf 2002-10-03 Dom Lachowicz * rsvg.c (set_dpi): minor update to reset the DPI if necessary 2002-10-02 Dom Lachowicz * rsvg-path.c (*): Remove VERBOSE statements * rsvg.c (*): Remove VERBOSE statements (rsvg_pixbuf_from_file_with_size_data): New FN for parsing through SVG files. Optionally Gnome-VFS aware (no configure joo-joo yet) (rsvg_pixbuf_from_file_*): use above function (rsvg_text_handler_characters): fix segfault, handle to a large degree (rsvg_text_handler_end): ditto 2002-10-02 Dom Lachowicz * rsvg.c (rsvg_parse_style_args): handle dashoffset and dasharray (state_finalize): support dashes (state_clone): ditto (render_bpath): ditto * TODO: update to reflect work done 2002-10-01 Dom Lachowicz * TODO: update * rsvg.c (): lay some framework for stroke-dash parameters 2002-10-01 jacob berkman * rsvg-css.c (rsvg_css_parse_normalized_length): fix to build with a C compiler 2002-10-01 Dom Lachowicz * rsvg-css.c (rsvg_css_parse_color): Handle all 146 of svg's named colors. Please someone check this for correctness 2002-10-01 Dom Lachowicz * rsvg.c (gradient_stop): Handle % gradient stop offsets 2002-10-01 Dom Lachowicz * rsvg-css.c (rsvg_css_parse_length): handle %, em units now. ex can easily be handled once we have a way to get the font's XHeight (rsvg_css_parse_normalized_length): updated for above ^^^ * rsvg.c (rsvg_handle_set_dpi): new function for setting the DPI (macro) RSVG_DPI: assume default of 90 DPI instead of 72 (rsvg_viewport_percentage): new fn for calculating percentages relative to viewports (*): update to use new CSS length routines (rsvg_start_text): handle -x and -y values for text offsets 2002-10-01 Dom Lachowicz * rsvg.c (*): Make drawing functions handle % widths, heights too Use parse_normalized_length for font sizes as well * rsvg-css.[ch] (rsvg_css_parse_fontsize): kill function 2002-09-29 Larry Ewing * rsvg.c (rsvg_start_ellipse): correct the ellipse rendering coordinates. === librsvg 2.1.0 === 2002-09-27 Alexander Larsson * NEWS: Add some news about 2.1.0 2002-09-27 Alexander Larsson * configure.in: Bump version to 2.1.0 2002-09-25 jacob berkman * gtk-engine/Makefile.am: add $(top_srcdir) to $INCLUDES, remove broken and non-portable dist-hook in favor of real SUBDIRS (which only get built if the engine is enabled) * gtk-engine/ChangeLog: rename to ChangeLog-old * configure.in (AC_OUTPUT): add new Makefiles 2002-09-25 Dom Lachowicz * (configure.in): --enable-gtk-theme argument (default=yes) 2002-09-25 Dom Lachowicz * (): Import and create a SVG based GTK+ theme engine 2002-09-22 Dom Lachowicz * rsvg-css.c (clip_rgb_percent): fix bug. stoopid math... 2002-09-19 Dom Lachowicz * rsvg.c (rsvg_start_ellipse): Ellipses work ok (rsvg_start_tspan): Start of tspan work. Needs to handle x offset 2002-09-18 Dom Lachowicz * rsvg-css.c (rsvg_color_parse) : use bsearch instead of GHashTable. Potentially faster, you don't leak GHashTable, no need to alloc and free 2 GStrings, and it *actually works here* 2002-09-17 Dom Lachowicz * rsvg.c (rsvg_text_handler_characters): Handle scaling font by affine/viewbox (rsvg_start_rect): Correct for bug in border drawing around a rect 2002-09-17 Dom Lachowicz * rsvg.c (rsvg_start_svg): Parse viewbox as floats, not ints. (rsvg_start_text): Handle x & y attributes. TODO: dx,dy 2002-09-16 Dom Lachowicz * rsvg.c (rsvg_start_svg): Support the viewbox 2002-09-15 Dom Lachowicz * rsvg.c (): Use g_ascii_strtod instead of atof, strtod, g_strtod * rsvg-css.c (): ditto 2002-09-15 Dom Lachowicz * rsvg.c (rsvg_parse_style_attrs): Support styles in the form of fill="color" in addition to style="fill:color" (rsvg_is_style_arg): Helper fn for above (rsvg_parse_style_pair): Ditto 2002-09-14 Dom Lachowicz * rsvg.c (rsvg_start_image): draw raster images 2002-09-14 Dom Lachowicz * rsvg.c (rsvg_start_element): Support for more tags (rsvg_start_ellipse): draw ellipses (buggy - ellipses are off-center) (rsvg_start_circle): draw circles (rsvg_start_rect): draw rectangles (rsvg_start_line): draw lines (rsvg_start_image): eventually will draw images (todo) (rsvg_start_polyline): draw polylines (rsvg_start_polygon): draw polygons (rsvg_start_any_poly): helper fn for polyline|polygon (rsvg_make_poly_point_list): ditto 2002-09-13 Dom Lachowicz * rsvg-css.c (rsvg_css_parse_color): Optimize RGB value determination from rgb() spec (rsvg_css_normalize_rgb_percent): Floor returned value (rsvg_css_parse_opacity): Check for null, use g_strtod (rsvg_css_parse_fontsize): ditto 2002-09-13 Dom Lachowicz * rsvg-css.c (rsvg_css_parse_color): Handle rgb(r,g,b) and rgb(r%,g%,b%) color specifications (rsvg_css_normalize_rgb): new function used in parse_color (rsvg_css_normalize_rgb_percent): ditto * test-rgb.svg: Testcase for the above 2002-09-13 Dom Lachowicz * rsvg-css.c (rsvg_css_parse_length): Remove setlocale calls - this should be done at a level higher than this 2002-09-12 Dom Lachowicz * rsvg-css.c (rsvg_css_parse_length): Handle errors, handle more units, reduce number of string compares (rsvg_css_parse_normalized_length): New function, like rsvg_parse_length, except normalizes output to a width or height argument (rsvg_css_parse_color): fix 2 memory leaks in color parsing routine * rsvg.c (rsvg_start_svg): Use rsvg_css_parse_length (rsvg_parse_style_arg): ditto (rsvg_start_linear_gradient): ditto (rsvg_start_radial_gradient): ditto === librsvg 2.0.1 === 2002-07-22 Alexander Larsson * NEWS: * configure.in: Bump to 2.0.1 2002-07-09 Alexander Larsson * librsvg.spec.in: s/@ART_REQUIRED@/@LIBART_REQUIRED@/ Patch from Pierre Sarrazin 2002-07-01 Alexander Larsson * configure.in: Require libart 2.3.10 for bugfix * rsvg.c (rsvg_render_bpath): Back out michaels workaround, now that the real bug has been fixed. The gorilla trashcan still works. === librsvg 2.0.0 === 2002-06-19 Alexander Larsson * NEWS: Add news * configure.in: Bump version to 2.0.0 Update requirements 2002-06-08 Michael Meeks * rsvg.c (rsvg_render_bpath): perturb the close vpath so we don't get numerical stability problems. 2002-05-01 Anders Carlsson * rsvg.c: (rsvg_handle_close): Check for a NULL context in case we haven't called rsvg_handle_write to create it. Fixes #80374, reported by Jakub Steiner. 2002-04-18 Ramiro Estrugo * MAINTAINERS: Removed myself from list. 2002-03-13 Gregory Leblanc * librsvg.spec.in: rather big rework, from Chris Chabot Not sure if that next line belongs or not... === librsvg 1.1.6 === 2002-03-07 Darin Adler * NEWS: News for 1.1.6. * configure.in: Bump version. 2002-03-07 Darin Adler * rsvg.c: (rsvg_start_svg): Check for width 0 and height 0 cases. Make warnings clearer. (rsvg_size_callback): Explicitly check for bad width and height. Before, we sometimes did math starting with -1 and yielding 0, which led to a divide by zero. * test-71622.svg: New test case. === librsvg 1.1.5 === 2002-03-04 Darin Adler * NEWS: News for 1.1.5. 2002-02-28 Darin Adler * configure.in: Bump version. 2002-02-28 Alexander Larsson * rsvg.h: (rsvg_pixbuf_from_file_at_zoom_with_max): New function. * rsvg.c: (RsvgSizeType, struct RsvgSizeCallbackData): Use enum instead of booleans to store the type of size callback. (rsvg_size_callback): Implement ZOOM_MAX, other changes due to the usage of the RsvgSizeType enum. (rsvg_pixbuf_from_file_at_zoom_with_max): Implement new function. === librsvg 1.1.4 === 2002-02-25 Darin Adler * NEWS: News for 1.1.4. 2002-02-25 Darin Adler * .cvsignore: Ignore new test program binary. * configure.in: Bump version. 2002-02-24 Alexander Larsson * rsvg.c: (rsvg_pixbuf_from_file_at_max_size): New function for scaling an svg uniformly to fit in a rectangle. (rsvg_size_callback): Handle max_size_set (rsvg_pixbuf_from_file_at_zoom),(rsvg_pixbuf_from_file_at_size): Set max_size_set to false. * rsvg.h: Add rsvg_pixbuf_from_file_at_max_size() 2002-02-20 Michael Meeks * Makefile.am: add test-performance.c * test-performance.c: impl. 2002-02-17 Michael Meeks * rsvg.c (rsvg_handle_write): make sure we set replaceEntities before we parse any of the buffer. (rsvg_pixbuf_from_file_at_size), (rsvg_pixbuf_from_file_at_zoom): read / parse SVG_BUFFER_SIZE bytes at a time, not 3. (rsvgSAXHandler): kill bogus module global. (rsvg_error_cb): impl. 2002-02-18 Gediminas Paulauskas * configure.in: remove GNOME_COMMON_INIT, GNOME_PLATFORM_GNOME_2 2002-02-16 Alexander Larsson * test-71297.svg: Add test case. 2002-02-12 Darin Adler * rsvg-paint-server.c: (rsvg_render_paint_server): Add a return_if_fail. * rsvg.c: (rsvg_start_svg): Handle .svg files without width and height values better. This was actually better in librsvg 1.0, and got lost in the rework of the API. (rsvg_push_opacity_group): Handle the case where ctx->pixbuf is NULL. (rsvg_pop_opacity_group): Handle NULL pixbuf cases. (rsvg_render_svp): Handle NULL pixbuf case better. (rsvg_render_bpath): Handle NULL pixbuf case. (rsvg_text_handler_characters): Handle NULL pixbuf case. * test-20020212.svg: Add a test file from Sodipodi without a width or height. ==== librsvg 1.1.3 ==== 2002-02-09 Darin Adler * NEWS: Release notes for 1.1.3. * configure.in: Bump version number. 2002-02-08 Anders Carlsson * rsvg.c (rsvg_pixmap_destroy): Add from GNOME 1 version. (rsvg_start_svg): Use rsvg_pixmap_destroy as finalize function. (rsvg_push_opacity_group): Likewise. (rsvg_pixbuf_from_file_at_size): Call rsvg_handle_close. (rsvg_pixbuf_from_file_at_zoom): Likewise. ==== librsvg 1.1.2 ==== 2002-02-04 Darin Adler * NEWS: Release notes for 1.1.2. * configure.in: Bump version number, give better error message when popt is missing. 2002-02-01 Laszlo Peter * rsvg-bpath-util.c rsvg-bpath-util.h rsvg-css.c rsvg-css.c rsvg-defs.c rsvg-paint-server.c rsvg-path.c rsvg-path.h rsvg.c rsvg.h test-rsvg.c: correct licensing information in the headers by permission of the Copyright holder. 2002-01-21 Alex Larsson * rsvg.c (rsvg_render_bpath): Use the new libart intersector. ==== librsvg 1.1.1 ==== 2002-01-08 Darin Adler * NEWS: Release notes for 1.1.1. 2002-01-04 Darin Adler * README: * configure.in: * librsvg.spec.in: More tweaking. I just can't stop myself. 2002-01-04 Darin Adler * configure.in: Bump required libart version to the one with art_render_mask. 2002-01-04 Darin Adler * configure.in: Bump version, update dependencies. * librsvg-2.0.pc.in: Update dependencies. * rsvg-bpath-util.c: * rsvg-css.c: * rsvg-css.h: * rsvg-defs.c: * rsvg-paint-server.c: * rsvg-paint-server.h: * rsvg-path.c: * rsvg-path.h: * rsvg.c: Fix includes to include only what's needed. * test-62699.svg: Add a test case for another bug. 2002-01-03 Darin Adler * rsvg.c: Use art_render_mask in libart. * Makefile.am: * art_render_mask.c: Remove. * art_render_mask.h: Remove. Get rid of our own copy of art_render_mask. * configure.in: Change back so compatible with older autoconf and automake. We'll go back to the future when glib does. 2002-01-03 Darin Adler * acinclude.m4: Remove. We don't need the NAUTILUS_FREETYPE2 macro any more. 2002-01-03 Darin Adler * TODO: * test-rsvg.c: (main): Some cleanup on the test program. * configure.in: * librsvg.spec.in: Remove gtk requirement and remove remnants of the old freetype requirement. Also get rid of gmodule and gthread since we only use glib itself. * makefile-simple: * subpixel-text-test: Remove some no-longer-useful files (these were never in the tarball anyway). 2002-01-03 Darin Adler * rsvg.c: (rsvg_text_handler_characters): Don't set font_family to NULL -- by not setting it, we end up with the default font family. If we set it, we'd get an error when rendering. 2002-01-02 Darin Adler * librsvg-2.0.pc.in: Remove spurious 2.0 from pango package name. 2002-01-02 Darin Adler * Makefile.am: * configure.in: * librsvg-2.0.pc.in: * librsvg.spec.in: * rsvg-ft.c: Remove. * rsvg-ft.h: Remove. * rsvg.h: * test-ft-gtk.c: Remove. * test-ft.c: Remove. * test-rsvg.c: Remove direct FreeType dependency and also remove dependency on libpng. No more rsvg_set_fonts_dir or rsvg-ft.h header. * rsvg.c: (rsvg_state_clone), (rsvg_state_finalize), (rsvg_parse_style_arg), (rsvg_pop_opacity_group), (rsvg_text_handler_characters), (rsvg_handle_free): Port from direct FreeType use to Pango. 2001-12-06 Darin Adler * rsvg-paint-server.h: Add a dummy member since empty structs are illegal. 2001-12-03 Darin Adler * rsvg-paint-server.c: (rsvg_paint_server_lin_grad_render), (rsvg_paint_server_rad_grad_render): Prevent empty gradients from crashing librsvg. * rsvg.c: (rsvg_start_svg): Prevent huge image sizes from causing a core dump by doing overflow checking and using g_try_malloc instead of g_new. * test-64684-1.svg: * test-64684-2.svg: Add some more test cases. Tue Nov 20 20:20:50 2001 Owen Taylor * configure.in (dnl): Add some quoting needed by some autoconf versions. 2001-11-08 jacob berkman * configure.in (AC_INIT): call ourselves librsvg rather than librsvg2 2001-11-05 Darin Adler * test-62614.svg: * test-62620.svg: * test-rsvg.c: (main): If no output file name is given, don't try to write the image (would segfault before). 2001-10-22 Darin Adler * .cvsignore: Don't ignore tarballs. * test-ft-gtk.c: (check_button), (new_test_window): Switch from gtk_signal_connect to g_signal_connect. 2001-10-19 Anders Carlsson * acinclude.m4: Change comment so that we won't fool automake into thinking it's a macro. 2001-09-29 Darin Adler * rsvg-ft.c: (rsvg_ft_measure_or_render_string): Fix font metrics to take affine matrix into account. * rsvg.c: (rsvg_text_handler_characters): Point to correct directory for eel 2. * test-61223.svg: Test file for another bug. 2001-09-25 Darin Adler * test-60544.svg: Another test file, from another bug. 2001-09-25 Darin Adler * test-61082.svg: Check in test file for bug. I should really do this more often. 2001-09-24 Darin Adler * rsvg.h: * rsvg.c: (rsvg_pixbuf_from_file), (rsvg_pixbuf_from_file_at_zoom), (rsvg_pixbuf_from_file_at_size): Take const char *, not char *. * test-rsvg.c: (main): Remove unneeded casts. Restore the error message for the case when the parser doesn't parse anything. 2001-09-24 Darin Adler * rsvg.c: (rsvg_entity_decl): Change so it can handle a NULL for the content passed in. Happens at least if the .svg file is empty and presumably in other cases. (rsvg_handle_free): Handle case where pixbuf is NULL. * test-rsvg.c: (main): Don't write anything out if a NULL pixbuf is returned. This can happen if the .svg file is empty. 2001-09-24 Darin Adler * librsvg-2.0.pc.in: Update to point to libart 2. 2001-09-17 Darin Adler * rsvg.h: * rsvg.c: (rsvg_text_handler_characters), (rsvg_set_fonts_dir): Roll back fonts_dir to be global like before. We can get rid of fonts_dir altogether when we port librsvg to use pango instead of using freetype directly. 2001-09-15 Darin Adler * rsvg-paint-server.c: (rsvg_paint_server_lin_grad_free), (rsvg_paint_server_rad_grad_free): Fix some NULL dereferences. * rsvg.c: (rsvg_handle_write), (rsvg_handle_close): Add FIXME to places that have half-hearted attempt at handling GError. (rsvg_pixbuf_from_file_at_zoom), (rsvg_pixbuf_from_file_at_size): Handle case where fopen fails (but not the GError part). 2001-09-10 Jonathan Blandford * librsvg-features.c: * rsvg.c: (rsvg_start_svg), (rsvg_parse_style_arg), (rsvg_parse_style), (rsvg_parse_transform_attr), (rsvg_parse_style_attrs), (rsvg_push_opacity_group), (rsvg_pop_opacity_group), (rsvg_start_g), (rsvg_end_g), (rsvg_render_svp), (rsvg_render_bpath), (rsvg_start_path), (rsvg_text_handler_characters), (rsvg_start_text), (rsvg_start_defs), (rsvg_gradient_stop_handler_new), (rsvg_start_linear_gradient), (rsvg_start_radial_gradient), (rsvg_start_element), (rsvg_end_element), (rsvg_characters), (rsvg_get_entity), (rsvg_entity_decl), (rsvg_error_quark), (rsvg_handle_new), (rsvg_handle_set_fonts_dir), (rsvg_handle_set_size_callback), (rsvg_handle_write), (rsvg_handle_close), (rsvg_handle_get_pixbuf), (rsvg_handle_free), (rsvg_size_callback), (rsvg_pixbuf_from_file), (rsvg_pixbuf_from_file_at_zoom), (rsvg_pixbuf_from_file_at_size): * rsvg.h: * TODO: * test-rsvg.c: (main): Clean up API substantially. Support GError in API. Remove FILE based API, and support pushing of data similar to GdkPixbufLoader. Support loading to a file size, and to independent x/y zoom factors. Robustify a little. Add a TODO. Probably break eel a little. 2001-08-31 Darin Adler * rsvg-paint-server.c: (rsvg_paint_server_parse): * rsvg.c: (rsvg_parse_transform), (rsvg_text_handler_characters): Get rid of all includes of and use non-locale-specific g_ascii_* calls from glib instead. 2001-08-24 Darin Adler * Makefile.am: Need to export rsvg-ft.h for eel for now. 2001-08-24 Darin Adler * test-ft-gtk.c: (scroll_to): gdk_draw_pixmap -> gdk_draw_drawable. 2001-08-22 Darin Adler * configure.in: Require newer libart. * rsvg.c: (rsvg_render_bpath): Get rid of bug workaround for old libart. 2001-08-22 Darin Adler * Makefile.am: Remove things that are duplicates of stuff already moved into libart. Only install public headers. * art_render.c: Removed. * art_render.h: Removed. * art_render_gradient.c: Removed. * art_render_gradient.h: Removed. * art_render_svp.c: Removed. * art_render_svp.h: Removed. * art_rgba.c: Removed. * art_rgba.h: Removed. * configure.in: Update for autoconf 2.52. Sadly, the version is now repeated twice, but I don't see how to avoid this. * librsvg-features.h.in: Use @PACKAGE_VERSION@ instead of @LIBRSVG_VERSION@. * art_render_mask.c: * rsvg-ft.c: * rsvg-paint-server.c: * rsvg.c: * test-ft-gtk.c: * test-ft.c: Fix includes. 2001-08-13 Darin Adler * test-ft-gtk.c: (new_test_window): Use the new gtk_widget_set_size_request instead of the deprecated gtk_widget_set_usize. 2001-08-08 Darin Adler * acinclude.m4: Move code for finding freetype here instead of getting it from the hack-macros directory. * autogen.sh: Don't use the hack-macros directory any more. 2001-08-06 Darin Adler * configure.in: Replace uses of GNOME_PKGCONFIG_CHECK_MODULES with a single call to PKG_CHECK_MODULES. * Makefile.am: Use a single set of CFLAGS and LIBS for all. 2001-07-25 Ramiro Estrugo * librsvg.spec.in: Add missing pkg-config file. 2001-07-25 Ramiro Estrugo * Makefile.am: * librsvg.m4: Retire this thing which is no longer relevant in the GNOME2 universe. 2001-07-25 Ramiro Estrugo * .cvsignore: Im a dumbass. Revert the last stupid change i made to ignore files that arent made no more. 2001-07-25 Ramiro Estrugo * .cvsignore: Add generated files, even though im not 100% sure where they are coming from. * Makefile.am: Rename library to librsvg-2 so that it can cohabitate with librsvg from the GNOME1 platform. Change includedir to librsvg-2/librsvg for the same purpose. * librsvg-2.0.pc.in: Change includedir to librsvg-2/librsvg. Change link flags to '-lrsvg-2' instead of '-lrsvg' * librsvg.spec.in: Update for library and includedir name changes, plus some extra cleanup. 2001-07-25 Darin Adler * configure.in: Use more warnings when compiling from CVS. * CVSVERSION: Flag to tell configure.in that these are CVS sources, not a tarball. * Makefile.am: Set log domain to "librsvg", disable deprecated stuff from glib, gdk, and gtk. * rsvg-css.c: (rsvg_css_parse_color): Use new g_string_ascii_down instead of deprecated g_string_down. * test-ft-gtk.c: (new_test_window): Use gtk_widget_set_usize instead of deprecated gtk_drawing_area_set_size. (main): Remove unnecessary call to deprecated gdk_rgb_init. 2001-07-24 Darin Adler * .cvsignore: Don't ignore files that aren't made any more. * MAINTAINERS: Add myself. * README.CVS: Removed unnecessary file. 2001-07-13 Darin Adler * configure.in: Remove xml-i18n-tools invocation so we don't end up with a po directory. 2001-07-09 Ramiro Estrugo * .cvsignore: * Makefile.am: * README: * autogen.sh: * configure.in: * librsvg-1.0.pc.in: * librsvg-2.0.pc.in: * librsvg-config.in: * librsvg.spec.in: * librsvgConf.sh.in: * rsvg.c: (rsvg_entity_decl): * test-ft-gtk.c: (main): * test-ft.c: (main): * test-rsvg.c: (main): Port to GNOME2. ==== librsvg 1.0.1 ==== 2001-07-05 Darin Adler * configure.in: Bump version to 1.0.1 * NEWS: Tell about new features for 1.0.1 2001-06-01 Darin Adler * Makefile.am: * rsvg.h: * rsvg.c: (rsvg_text_handler_characters), (rsvg_set_fonts_dir): Add a call to set the fonts dir so it can work without eel, and a future version of eel will work even if it's in a different prefix from librsvg. * configure.in: Bump version to 1.0.0.1 * NEWS: Mention the possibility of a 1.0.1 release. 2001-05-14 Darin Adler * Makefile.am: * rsvg.c: (rsvg_text_handler_characters): Change awful nasty Nautilus dependency into a slightly-less-awful nasty Eel dependency. Also fix problem where not finding a font would lead to a core dump instead of missing text. ==== librsvg 1.0.0 ==== 2001-05-04 Robin * Slomkowski * configure.in: upped version to 1.0.0 2001-05-02 Ramiro Estrugo * configure.in: Add freetype dependency to LIBRSVG_LIBS and LIBRSVG_INCLUDEDIR. 2001-05-01 Ramiro Estrugo * .cvsignore: Ignore generated xml-i18n-tools droppings. 2001-05-01 Ramiro Estrugo * autogen.sh: * configure.in: Simplify the freetype2 detection insanity by using autoconf macro technology. The new test should work with both FreeType2 RPMS as well as freetype built from source in any prefix. 2001-05-01 Darin Adler * configure.in: Fixed places that referred to Nautilus instead of librsvg. 2001-04-30 Ramiro Estrugo * autogen.sh: Fix a typo in the module name. 2001-04-11 Darin Adler * rsvg.c: (rsvg_affine_expansion), (rsvg_render_bpath): Work around bug in art_affine_expansion, which doesn't handle negative numbers very well. This fixes a bug where librsvg would hang on certain svg files. 2001-04-08 Fatih Demir * .cvsignore: Extended ignores to be right. 2001-04-04 Ramiro Estrugo * rsvg.c: * rsvg.h: Include dependency modules to make this header more self contained. In this case gdk-pixbuf and stdio. 2001-04-03 Darin Adler * Makefile.am: Change order of libraries in LDADD as a workaround to problem where it finds the wrong version of libxml. 2001-04-03 Ramiro Estrugo * .cvsignore: Ignore generated files. 2001-04-03 Ramiro Estrugo * COPYING.LIB: * Makefile.am: Add to make rpm happy. * configure.in: Bump gtk down to 1.2.9. * librsvg.spec.in: Fix undefined requires. 2001-04-02 Ramiro Estrugo * configure.in: Add -lrsvg to LIBS. * librsvg.spec.in: Fix the library name, "librsvg" not "rsvg." 2001-04-02 Ramiro Estrugo * .cvsignore: * Makefile.am: * configure.in: * librsvg.spec.in: First try at a spec file. 2001-03-28 Ramiro Estrugo Started ChangeLog