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. 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