head 1.78; access; symbols SNAPSHOT_0_1_4:1.69 SNAPSHOT_0_1_3:1.57 SNAPSHOT_0_1_2:1.42 start:1.1.1.1 isi:1.1.1; locks; strict; comment @# @; 1.78 date 2005.12.01.18.50.22; author keithp; state Exp; branches; next 1.77; commitid 31a5438f45e94567; 1.77 date 2005.12.01.18.29.45; author keithp; state Exp; branches; next 1.76; commitid 1832438f41104567; 1.76 date 2005.08.13.07.02.19; author jdorje; state Exp; branches; next 1.75; commitid 63b942fd9afb4567; 1.75 date 2005.08.13.07.00.13; author jdorje; state Exp; branches; next 1.74; commitid 600342fd9a564567; 1.74 date 2005.07.19.16.56.00; author keithp; state Exp; branches; next 1.73; commitid 6b5a42dd309c4567; 1.73 date 2005.07.19.14.34.54; author keithp; state Exp; branches; next 1.72; commitid 79a242dd0f8d4567; 1.72 date 2005.07.18.21.55.06; author keithp; state Exp; branches; next 1.71; commitid 252f42dc25394567; 1.71 date 2005.06.15.20.54.03; author cworth; state Exp; branches; next 1.70; commitid 13b542b0956a4567; 1.70 date 2005.06.15.20.52.35; author cworth; state Exp; branches; next 1.69; commitid 130642b095124567; 1.69 date 2005.06.15.20.29.33; author cworth; state Exp; branches; next 1.68; commitid abc42b08fac4567; 1.68 date 2005.06.03.16.23.31; author cworth; state Exp; branches; next 1.67; commitid 2fd642a084034567; 1.67 date 2005.05.13.05.30.31; author keithp; state Exp; branches; next 1.66; commitid 560542843b744567; 1.66 date 2005.05.12.18.37.48; author keithp; state Exp; branches; next 1.65; commitid 49b14283a2794567; 1.65 date 2005.04.21.19.29.19; author cworth; state Exp; branches; next 1.64; commitid 7b9c4267ff0e4567; 1.64 date 2005.04.21.17.58.21; author cworth; state Exp; branches; next 1.63; commitid 5cd54267e9bc4567; 1.63 date 2005.04.11.16.58.20; author cworth; state Exp; branches; next 1.62; 1.62 date 2005.04.11.16.20.09; author cworth; state Exp; branches; next 1.61; 1.61 date 2005.02.28.23.31.59; author cworth; state Exp; branches; next 1.60; 1.60 date 2005.02.16.23.11.30; author cworth; state Exp; branches; next 1.59; 1.59 date 2005.02.14.17.26.26; author pb; state Exp; branches; next 1.58; 1.58 date 2005.02.13.13.27.14; author cworth; state Exp; branches; next 1.57; 1.57 date 2005.02.13.13.23.28; author cworth; state Exp; branches; next 1.56; 1.56 date 2005.01.21.12.54.36; author cworth; state Exp; branches; next 1.55; 1.55 date 2004.12.23.22.00.01; author cworth; state Exp; branches; next 1.54; 1.54 date 2004.07.12.18.23.27; author cworth; state Exp; branches; next 1.53; 1.53 date 2004.06.07.16.00.17; author davidr; state Exp; branches; next 1.52; 1.52 date 2004.05.07.03.56.43; author cworth; state Exp; branches; next 1.51; 1.51 date 2004.05.04.19.01.10; author cworth; state Exp; branches; next 1.50; 1.50 date 2004.05.04.16.18.07; author cworth; state Exp; branches; next 1.49; 1.49 date 2004.04.30.13.28.27; author keithp; state Exp; branches; next 1.48; 1.48 date 2004.04.30.06.50.33; author cworth; state Exp; branches; next 1.47; 1.47 date 2004.04.29.19.51.17; author cworth; state Exp; branches; next 1.46; 1.46 date 2004.04.27.00.37.57; author cworth; state Exp; branches; next 1.45; 1.45 date 2004.04.26.18.55.00; author cworth; state Exp; branches; next 1.44; 1.44 date 2004.04.26.18.53.18; author cworth; state Exp; branches; next 1.43; 1.43 date 2003.12.15.15.55.05; author cworth; state Exp; branches; next 1.42; 1.42 date 2003.11.15.15.48.50; author cworth; state Exp; branches; next 1.41; 1.41 date 2003.11.06.21.40.37; author cworth; state Exp; branches; next 1.40; 1.40 date 2003.10.30.20.53.24; author cworth; state Exp; branches; next 1.39; 1.39 date 2003.08.30.03.09.07; author cworth; state Exp; branches; next 1.38; 1.38 date 2003.06.13.16.49.26; author cworth; state Exp; branches; next 1.37; 1.37 date 2003.05.01.15.21.40; author cworth; state Exp; branches; next 1.36; 1.36 date 2003.03.04.02.53.17; author cworth; state Exp; branches; next 1.35; 1.35 date 2003.02.24.14.41.56; author cworth; state Exp; branches; next 1.34; 1.34 date 2003.02.21.22.54.31; author rwlbuis; state Exp; branches; next 1.33; 1.33 date 2003.02.19.17.42.37; author cworth; state Exp; branches; next 1.32; 1.32 date 2003.02.16.16.24.18; author rwlbuis; state Exp; branches; next 1.31; 1.31 date 2003.02.13.20.56.13; author rwlbuis; state Exp; branches; next 1.30; 1.30 date 2003.02.12.17.20.48; author cworth; state Exp; branches; next 1.29; 1.29 date 2003.02.12.01.28.53; author cworth; state Exp; branches; next 1.28; 1.28 date 2003.02.09.17.14.40; author rwlbuis; state Exp; branches; next 1.27; 1.27 date 2003.02.08.19.38.42; author rwlbuis; state Exp; branches; next 1.26; 1.26 date 2003.02.07.14.31.22; author rwlbuis; state Exp; branches; next 1.25; 1.25 date 2003.02.07.10.32.59; author rwlbuis; state Exp; branches; next 1.24; 1.24 date 2003.02.06.22.13.57; author rwlbuis; state Exp; branches; next 1.23; 1.23 date 2003.02.05.21.05.02; author cworth; state Exp; branches; next 1.22; 1.22 date 2003.02.05.20.13.36; author cworth; state Exp; branches; next 1.21; 1.21 date 2003.02.04.22.04.57; author cworth; state Exp; branches; next 1.20; 1.20 date 2003.02.03.18.55.32; author cworth; state Exp; branches; next 1.19; 1.19 date 2003.02.02.01.43.15; author cworth; state Exp; branches; next 1.18; 1.18 date 2003.02.01.17.01.33; author cworth; state Exp; branches; next 1.17; 1.17 date 2003.01.29.22.12.03; author cworth; state Exp; branches; next 1.16; 1.16 date 2003.01.28.15.47.28; author cworth; state Exp; branches; next 1.15; 1.15 date 2003.01.25.19.07.34; author cworth; state Exp; branches; next 1.14; 1.14 date 2003.01.24.21.34.27; author cworth; state Exp; branches; next 1.13; 1.13 date 2003.01.24.20.40.46; author cworth; state Exp; branches; next 1.12; 1.12 date 2003.01.24.20.08.16; author cworth; state Exp; branches; next 1.11; 1.11 date 2002.12.06.16.35.14; author cworth; state Exp; branches; next 1.10; 1.10 date 2002.11.11.20.57.48; author cworth; state Exp; branches; next 1.9; 1.9 date 2002.11.04.08.28.40; author cworth; state Exp; branches; next 1.8; 1.8 date 2002.11.02.18.29.05; author cworth; state Exp; branches; next 1.7; 1.7 date 2002.11.02.05.14.57; author cworth; state Exp; branches; next 1.6; 1.6 date 2002.11.02.04.11.37; author cworth; state Exp; branches; next 1.5; 1.5 date 2002.10.31.06.45.50; author cworth; state Exp; branches; next 1.4; 1.4 date 2002.10.30.01.47.18; author cworth; state Exp; branches; next 1.3; 1.3 date 2002.10.26.15.02.56; author cworth; state Exp; branches; next 1.2; 1.2 date 2002.10.24.18.15.35; author cworth; state Exp; branches; next 1.1; 1.1 date 2002.10.23.21.19.43; author cworth; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.10.23.21.19.43; author cworth; state Exp; branches; next ; desc @@ 1.78 log @2005-12-01 Keith Packard * src/svg_parser.c: (_svg_parser_parse_text_characters): Oops - text elements get characters in chunks when there are non-trivial entities in the string. Also, glue all of the text into a single implicit tspan @ text @2005-12-01 Keith Packard * src/svg_parser.c: (_svg_parser_parse_text_characters): Oops - text elements get characters in chunks when there are non-trivial entities in the string. Also, glue all of the text into a single implicit tspan 2005-12-01 Keith Packard * src/svg_parser.c: (_svg_parser_sax_start_element), (_svg_parser_parse_text), (_svg_parser_parse_tspan), (_svg_parser_parse_text_characters): Some file elements don't create data structures. Don't attempt to apply attributes through the resulting uninitialized pointer. * src/svg_text.c: (_svg_tspan_init): * src/svgint.h: Strip characters from elements which have embedded elements. 2005-08-13 Jason Dorje Short * src/svg.h * src/svg.c: (_svg_init), (svg_get_dpi): Change default DPI to 90, and provide a new function to query the current DPI. 2005-07-19 Keith Packard * src/svg.h: * src/svg_element.c: (_svg_element_apply_attributes): * src/svg_style.c: (_svg_style_render): * src/svg_text.c: (_svg_text_render): * src/svgint.h: Kludge - pull text_anchor out of backend as it's stacked there. 2005-07-19 Keith Packard * src/svg_element.c: (_svg_element_apply_attributes): * src/svg_style.c: (_svg_style_render): * src/svg_text.c: (_svg_text_render): * src/svgint.h: Pull text anchor support up into libsvg. set_text_anchor left in engine to avoid breaking ABI. 2005-07-18 Keith Packard reviewed by: cworth * src/svg.h: * src/svg_element.c: (_svg_element_init), (_svg_element_init_copy), (_svg_element_deinit), (svg_element_render), (_svg_element_apply_attributes): * src/svg_parser.c: (_svg_parser_parse_text), (_svg_parser_parse_tspan), (_svg_parser_parse_text_characters), (_svg_parser_parse_tspan_characters): * src/svg_text.c: (_svg_tspan_init), (_svg_tspan_init_copy), (_svg_tspan_deinit), (_svg_tspan_append_chars), (_svg_tspan_render), (_svg_tspan_apply_attributes), (_svg_tspan_extents), (_svg_text_init), (_svg_text_init_copy), (_svg_text_deinit), (_svg_text_prepare_tspan), (_svg_text_render), (_svg_text_apply_attributes), (_svg_text_extents): * src/svgint.h: Add preliminary support for . No support for positioning tspan elements. 2005-06-15 Carl Worth * .cvsignore: Ignore releases directory. 2005-06-15 Carl Worth * configure.in: Increment version to 0.1.4-head after tagging the snapshot. 2005-06-15 Carl Worth * NEWS: Add notes for 0.1.4 snapshot. * configure.in: Increment LIBSVG_VERSION to 0.1.4. 2005-06-03 Carl Worth * src/svgint.h: * src/svg_transform.c: (_svg_transform_multiply_into_left), (_svg_transform_multiply_into_right), (_svg_transform_multiply): Rework the argument order of _svg_transform_multiply to match what I came up with for cairo_matrix_multiply, (which I trust to have had more review). Also avoid use of new as a parameter name in header files. 2005-05-12 Keith Packard * src/svg_pattern.c: (_svg_pattern_init_copy), (_svg_pattern_deinit): Make pattern_init_copy clone the element instead of doing bad things. Free the element when deiniting the pattern. 2005-05-12 Keith Packard reviewed by: cworth * src/svg_style.c: (_svg_style_init_empty), (_svg_style_deinit): Valgrind discovered a few memory leaks and use of uninitialized values. There are leaks remaining in the xml parsing code which are demonstrated by several of the w3c svg conformance suite. 2005-04-22 Carl Worth * src/svg_parser.c: (_svg_parser_parse_gradient_stop): Use symbolic value. * src/svg_style.c: (_svg_style_init_empty): Add missing initialization for style->num_dashes. * src/svg_style.c (_svg_style_init_copy): Fix to actually copy memory for style->font_family and style->stroke_dash_array. * src/svg_text.c: (_svg_text_init_copy): Fix zero termination of text->chars. 2005-04-22 Carl Worth * src/svg_text.c (_svg_text_init_copy): Fix to actually copy memory for text->chars. 2005-04-11 Carl Worth * src/svg.h: Qualify utf8 parameter to render_text as const. 2005-04-11 Carl Worth * src/Makefile.am: * configure.in: Enable a bunch of useful warnings when using gcc. * src/svg_ascii.h: * src/svg_ascii.c: (_svg_ascii_strtod): Fix indentation. Fixes for more strict signedness checks as of gcc version 4: * src/svg_element.c: (_svg_element_init_copy), (_svg_element_apply_attributes): Cast to unsigned char* just before calling into libxml routines. * src/svg.h: Change render_text callback to accept char* instead of unsigned char *. * src/svg_parser_libxml.c: Move prototypes for _svg_parser_sax_start_element, _svg_parser_sax_end_element, and _svg_parser_sax_characters into svgint.h where they belong. Use xmlStrdup instead of xmlMemStrdup for correct signedness. * src/svg_attribute.c: * src/svg.c: * src/svg_gradient.c: * src/svg_group.c: * src/svg_image.c: * src/svg_paint.c: * src/svg_parser.c: * src/svg_path.c: * src/svg_pattern.c: * src/svg_style.c: * src/svg_text.c: * src/svg_transform.c: * src/svgint.h: Prefer char* over xmlChar* for internal use. 2005-02-28 Carl Worth * src/svg.c (svg_render): Use getcwd in accordance with POSIX rather than relying on a Linux-specific extension to its behavior. Based on a patch by Brian Cameron, (thanks for helping us track this down, Brian). 2005-02-16 Carl Worth * autogen.sh: Call all autotool commands through environment variables. Thanks to Rui Lopes. * NEWS: Fix typo in release date. 2005-02-14 Phil Blundell * configure.in: Add "--with-expat" flag. (LIBSVG_PARSER_BACKEND, LIBSVG_REQUIRES): Define appropriately. (EXPAT): New automake conditional. * libsvg.pc.in (Requires): Use value from LIBSVG_REQUIRES. * src/svgint.h (svg_xml_parser_context_t, svg_hash_table_t, _svg_xml_hash_add_entry, _svg_xml_hash_lookup, _svg_xml_hash_create, _svg_xml_hash_free, _svg_xml_strdup): Declare. (struct svg, struct svg_parser): Use svg_hash_table_t and svg_xml_parser_context_t. * src/svg.c (_svg_init, _svg_deinit, _svg_store_element_by_id, _svg_fetch_element_by_id): Replace direct calls to xmlHash functions with _svg_xml_hash equivalents. * src/svg_element.c (_svg_element_apply_attributes): Use _svg_xml_strdup in place of xmlMemStrdup. (_svg_element_init_copy): Likewise. * src/svg_parser.c (SVG_PARSER_SAX_HANDLER, _svg_parser_init, _svg_parser_deinit, _svg_parser_begin, _svg_parser_parse_chunk, _svg_parser_end, _svg_parser_sax_get_entity, _svg_parser_sax_entity_decl, _svg_parser_sax_warning, _svg_parser_sax_error, _svg_parser_sax_fatal_error): Move to new file svg_parser_libxml.c. (_svg_parser_sax_start_element, _svg_parser_sax_end_element, _svg_parser_sax_characters): Make linkage global. Move declarations to svgint.h. * src/svg_parser_expat.c: New file. * src/svg_hash.c, src/svg_hash.h: New files. Code supplied by Chris Osgood. * src/Makefile.am (LIBSVG_EXTRA_SOURCES): Select expat or libxml parser backend as appropriate. (libsvg_la_SOURCES): Include LIBSVG_EXTRA_SOURCES. 2005-02-13 Carl Worth * configure.in: Increment version to 0.1.3-head after tagging the snapshot. * NEWS: Add notes for 0.1.3 snapshot. * configure.in: Increment LIBSVG_VERSION to 0.1.3. * Makefile.am (release-publish): Add targets for easier creation of snapshots. * RELEASING: Add instructions on how to create a snapshot. 2005-01-21 Carl Worth * src/svg_str.c (_svg_str_parse_all_csv_doubles): Fix segfault bug introduced in last commit. 2004-12-23 Carl Worth * src/svg_str.c (_svg_str_parse_all_csv_doubles): * src/svg_group.c (_svg_group_add_element): * src/svg_gradient.c (_svg_gradient_add_stop): Grow arrays by doubling rather than by linear increments. 2004-07-05 Carl Worth * src/svg_gradient.c (_svg_gradient_set_type): Add mising return value. 2004-06-07 David Reveman * src/svgint.h: Added _svg_gradient_set_type. * src/svg_parser.c (_svg_parser_parse_linear_gradient): Set gradient type using _svg_gradient_set_type. (_svg_parser_parse_radial_gradient): Set gradient type using _svg_gradient_set_type. * src/svg_gradient.c (_svg_gradient_init): Set gradient defaults using _svg_gradient_set_type. Use SVG_GRADIENT_UNITS_BBOX as default units. (_svg_gradient_apply_attributes): Allow referenced gradient of different type. (_svg_gradient_apply_attributes): Read spread type. Added _svg_gradient_set_type. 2004-05-06 Carl Worth * src/svg_element.c (_svg_element_apply_attributes): Fix to not return bogus error for circle elements. 2004-05-04 Carl Worth * src/svg_group.c (_svg_group_init_copy): Don't forget to copy x and y. * src/svg_parser.c (_svg_parser_sax_entity_decl): Fix missing initialization of entity fields URI, orig, owner, and children. (_svg_parser_sax_characters): Patch memory leak. * src/svg_image.c (_svg_image_init_copy): Fix missing copy of image->url. 2004-04-30 Keith Packard * src/svg_element.c: (_svg_element_init_copy): Initialize element->id to NULL when other->id has no id. 2004-04-29 Carl Worth * src/svg_gradient.c (_svg_gradient_init): Fix missing intialization of units and spread. * src/svg_element.c (_svg_element_init_copy): Add missing copy for ellipse and line. (_svg_element_deinit): Add missing deinit for a few trivial types. * src/svg_parser.c: Don't leave ignorableWhitespace NULL (which makes newer libxml2 croak). (_svg_parser_sax_characters): Do whitespace compaction ala xml:space="default". 2004-04-26 Carl Worth * src/svg_style.c: Switch default font from serif to sans-serif for better compatibility with files designed for other user agent defaults. * src/svgint.h: * src/svg_path.c (_svg_path_init, _svg_path_add_va) (_svg_path_line_to, _svg_path_smooth_curve_to) (_svg_path_smooth_quadratic_curve_to): Add path->last_path_op to fix handling of smooth curves/quads not preceded by a curve/quad. * src/svg_parser.c: Condense SVG_PARSER_MAP for readability. * src/svg_group.c (_svg_group_get_size): Add missing return value. 2003-12-15 Carl Worth * src/svg.h: Add extern "C" stuff to get along with C++. 2003-11-15 Carl Worth * configure.in: Bump version to 0.1.2 for new svg_get_size interface. * src/svg_group.c (_svg_group_apply_svg_attributes): Remove some stale comments. (_svg_group_get_size): Add accessor. * src/svg.h: svg_get_size now fills in svg_length_t rather than int. * src/svg.c (_svg_init): Drop x,y,width,height from svg_t. (svg_get_size): Switch from int to svg_length_t. Get size from top element. Thanks to Noah Levitt for confirming this fix. 2003-11-06 Carl Worth * configure.in: Bump version number to 0.1.1 to indicate change in svg_parse_file and addition of svg_parse. * src/svg.c (svg_parse_file): Add support for parsing an open "FILE *" stream. Many thanks to John Ellson for this addition. (svg_parse): New svg_parse function takes the place of the old svg_parse_file. * autogen.sh (PKG_NAME): Add "--enable-maintainer-mode" to configure line. 2003-10-30 Carl Worth * Makefile.am: Removed libsvg.spec as it is not currently being maintained or tested. Volunteers are welcome. 2003-08-29 Carl Worth * src/svgint.h (SVG_STYLE_FLAGS): Switch to ULL for literals of more than 32 bits. * src/svg_parser.c: Removed an unnecessary layer of redundant functions (_svg_parser_new_*_element). Instead, share new _svg_parser_new_leaf_element function. (_svg_parser_parse_linear_gradient): (_svg_parser_parse_radial_gradient): (_svg_parser_parse_gradient_stop): (_svg_parser_parse_pattern): Gradient/Pattern parsing from Steven Kramer. * src/svg_paint.c (_svg_paint_init): Added gradient/pattern parsing from Steven Kramer. * src/svg_color.c: Added is_current_color field to svg_color_t. * src/svg.h: Export opaque svg_group_t and svg_element_t. Made several names more consistent, (PRESERVE_ASPECT_RATIO not PRESERVEASPECTRATIO, etc.). Eliminated useless _STYLE from names like SVG_STYLE_STROKE_LINE_JOIN_ROUND. Added svg_gradient_t, svg_pattern_units_t, svg_pattern_t from Steven Kramer . Added functions svg_element_render and svg_element_pattern. * src/svg.c (svg_get_size): New query function added. * src/Makefile: Added svg_gradient.c and svg_pattern.c. This is part of the new gradient/pattern parsing support originally by Steven Kramer . I've done various modifications, but the original work is his. 2003-06-13 Carl Worth * src/svg_path.c (_svg_path_init_copy): Fixed to allocate new memory for the copy. (_svg_path_render): Use doubles rather than svg_length_t. * src/svg_group.c (_svg_group_deinit): Fixed memory leak 2003-05-24 Carl Worth * src/svg_group.c (_svg_group_deinit): Fixed memory leak of group elements. 2003-05-01 Carl Worth * configure.in (LT_REVISION): Fixed libtool shared-library versioning. 2003-03-03 Carl Worth * src/svg_path.c (_svg_path_render): Fixed initialization of temporary svg_length_t array. (_svg_path_arc_to): Moved arc magic out of libsvg (Rob Buis). * src/svg.h: Changed all of render_engine from svg_length_t to svg_length_t *. 2003-02-21 Rob Buis * src/svg_path.c, src/svg_parser.c: Many changes needed to offer a more clear seperation between specified ("50%") and computed values ("225"). Also now everywhere appropriate in libsvg svg_length_t is used. 2003-02-19 Carl Worth * src/svg.c (svg_parse_file): Support for gzipped files (eg. .svgz) from Rob Buis. 2003-02-16 Rob Buis * src/svg_element.c (_svg_element_clone): Added several cloning/copying functions. This is mainly for atm. Notice that all copy routines are shallow copies, deep cloning seems not needed at this point. 2003-02-13 Rob Buis * src/svg_group.c (_svg_group_apply_use_attributes): Better handling of viewBox on symbol. Still cloning needed to clean up. 2003-02-12 Carl Worth * src/svg_style.c (_svg_style_parse_color): Real fix for color="inherit". * src/svg_color.c (_svg_color_init_from_str): Fixed color="inherit". 2003-02-11 Carl Worth * src/svg_element.c (_svg_element_apply_attributes): Don't access element->group fields unless element->type == SVG_ELEMENT_TYPE_SVG_GROUP. 2003-02-09 Rob Buis * src/svg_length.c (_svg_length_to_pixel): Improved length unit handling, now also handling %, em and ex (but relying on fallback values). * src/svg_parser.c (_svg_parser_parse_use): Added parsing and handling for , , , which all are group types. Cleaned up the group parsing code a bit (less functions needed). * src/svg_parser.c (svg_parser_parse_rect): Use as intermediate results for processing lengths on , svg_length_t variables. Note that its better to make these member variables, since we need to know their value for DOM, changes in value and cloning. 2003-02-08 Rob Buis * src/svg_attribute.c (_svg_attribute_get_length): Added method for getting a length type from an attribute. 2003-02-07 Rob Buis * src/svg_element.c (_svg_element_parse_view_box): Parse and store viewBox attribute specifics. Added aspectratio values, but not handling them yet. * src/svg_parser.c (_svg_parser_parse_defs): parse and store defs as a special kind of group. Do not render its contents directly. 2003-02-06 Rob Buis * src/svg_style.c (_svg_style_parse_visibility) (_svg_style_parse_visibility): Added visibility/display handling. 2003-02-05 Carl Worth * src/svg_parser.c (_svg_parser_sax_start_element): Store all elements with an "id" attribute in a hash (Rob Buis). * src/svg_path.c (_svg_path_apply_attributes): Don't try to get "d" attribute if the path already exists, (eg. svg_path_t represents a , , etc.) 2003-02-04 Carl Worth * src/svg_parser.c (_svg_parser_sax_get_entity) (_svg_parser_sax_entity_decl): Entity support using an xmlHash (Rob Buis). * src/svg_element.c (_svg_element_init, _svg_element_deinit) (_svg_element_apply_attributes): Added support for parsing "id" (Rob Buis). 2003-02-03 Carl Worth * src/svg_image.c (_svg_image_read_jpeg): Added support for reading JPEG images (Rob Buis). 2003-02-01 Carl Worth * src/svg_path.c (_svg_path_arc_to): Fix for arc drawing (Rob Buis). * src/svg_color.c (_svg_color_get_two_hex_digits): Color parsing fix (Rob Buis). 2003-01-29 Carl Worth * src/svg_style.c (_svg_style_parse_fill_rule): Fixed NONZERO fill rule (Rob Buis). * src/svg_paint.c (_svg_paint_init): Added parsing of currentColor (Rob Buis). 2003-01-28 Carl Worth * src/svg_style.c (_svg_style_init_empty): Fixed free() of wild pointer. 2003-01-25 Carl Worth * src/svg_style.c (_svg_style_parse_stroke_dash_array): Added parsing for stroke_dash_array. * src/svg_str.c (_svg_str_parse_all_csv_doubles): Added utility function for parsing an arbitrary number of comma-separated doubles. * src/svg.h: Added set_stroke_dash_array to svg_render_engine 2003-01-24 Carl Worth * src/svg_path.c (_svg_path_quadratic_curve_to): Fixed quadratic curves. (_svg_path_smooth_quadratic_curve_to): Fixed smooth quadratic curves. * TODO: shapes-polyline-BE-06.svg now passes. path-curves-BE-02.svg now passes path-curves-BE-03.svg now passes 2002-12-06 Carl Worth * src/svg_parser.c (_svg_parser_end): Removed bogus delivery of "\0" to xmlParseChunk, (was causing messages about extra content after end of file) 2002-11-11 Carl Worth * src/svg_transform.c (_svg_transform_add_translate): (_svg_transform_add_scale): (_svg_transform_add_rotate): (_svg_transform_add_skew_x): (_svg_transform_add_skew_y): New functions to append a transformation to an existing transformation. * src/svg_parser.c (_svg_parser_new_group_element): (_svg_parser_new_path_element): (_svg_parser_new_text_element): (_svg_parser_new_image_element): Updated to use _svg_element_create and _svg_group_add_element rathern than old _svg_group_create functions. * src/svg_image.c (premultiply_data): Fixed to premultiply alpha data loaded from a PNG image, (code snatched from xcursorgen). * src/svg_group.c (_svg_group_add_element): Move element creation out of svg_group. * src/svg_element.c (_svg_element_init): (_svg_element_deinit): (_svg_element_render): (_svg_element_apply_attributes): Eliminated svg_state_t by just putting the svg_transform_t and the svg_style_t directly into the svg_element_t. * src/svg.c (svg_render): Now changes current directory to easily resolve relative references. 2002-11-04 Carl Worth * src/svg_style.c (_svg_style_parse_opacity): Added support for opacity property. * src/svg_element.c (_svg_element_render): begin_group/end_group now accept group opacity value so the render engine can decide if an intermediate group is actually necessary. * src/svg.h: Added set_opacity to svg_render_engine. 2002-11-02 Carl Worth * src/svg_path.c (_svg_path_rect): Made new _svg_path_rect without rounded corners. Rounded version is now _svg_path_rect_rounded. * src/svg_parser.c (_svg_parser_parse_rect): (_svg_parser_parse_circle): (_svg_parser_parse_ellipse): (_svg_parser_parse_polyline): Fixed parsing of each of these elements to match the SVG spec. with regards to missing attributes. * src/svg_image.c (_svg_image_read_image): Fixed to return error code if image is of an unsupported type. * src/svg_group.c (_svg_group_render): Continues rendering more elements in the group even if svg_element_render fails. * src/svg_element.c (_svg_element_render): Fixed to call render_engine->end_element even if svg_element_render fails. 2002-11-01 Carl Worth * src/svg_image.c (_svg_image_init, _svg_image_deinit) (_svg_image_apply_attributes, _svg_image_render) (_svg_image_read_image, _svg_image_read_png): Added basic image support. The xlink namespace is not handled properly. The image's URL is not resolved properly. Only png images are currently supported, not jpeg or svg yet. * src/svg_parser.c (_svg_parser_new_image_element) (_svg_parser_parse_image): Added support for parsing the image element. * src/svg_element.c (_svg_element_init, _svg_element_deinit) (_svg_element_render, _svg_element_apply_attributes): Added support for image elements. * src/svg.h: For svg_render_image, renamed show_text to render_text; added render_image. 2002-10-31 Carl Worth * src/svg.h: Cleaned up the names/orders of all svg_render_engine functions, (and everything related in the libsvg implementation) * src/svgint.h (SVG_STYLE_FLAG_NONE): Changed flag values from an enum to #defines since I have well over 32 flags now. * src/svg_transform.c (_svg_transform_parse_str): Fixed composition of transforms, (they were being multiplied in the wrong order previously). * src/svg_style.c (_svg_style_init_defaults): Big cleanup of default style initialization. Now covers the SVG defaults much more completely and neatly. * TODO: Upgraded coords-transforms-BE-02 now that transforms are fixed. 2002-10-29 Carl Worth * src/svg_path.c (_svg_path_apply_attributes): Cleaned up attribute handling, (each subtype now applies its own attributes in the same way as element rendering). * src/svg_parser.c (_svg_parser_parse_text): Added text parsing support. (_svg_parser_sax_start_element): Now ignores unknown elements. (_svg_parser_push_state, _svg_parser_pop_state): Cleaned up parsing. Current path, group, etc. now stored in stack in parser rather than in svg_t. * src/svg_element.c (_svg_element_init, _svg_element_render): Added basic text support. (_svg_element_apply_attributes): Made attribute handling consistent. (_svg_element_deinit): Fixed memory leaks. * src/svg_group.c (_svg_group_create_text_element): 2002-10-26 Carl Worth * src/svg_path.c (_svg_path_close_path): Fixed state update of current point after a close path operation. 2002-10-24 Carl Worth * src/svg_style.c (_svg_style_parse_fill_rule): Added support to parse fill_rule. (_svg_style_init_defaults): Changed default join style to miter, (to match conformance images -- still need to find all the style defaults in the spec. somewhere). (_svg_style_apply_attributes): Added support for presentation attributes, (ie. fill="#ffffff" rather than style="fill:#ffffff;"). * src/svg_path.c (_svg_path_curve_to): Fixed computation of reflected_pt so that smooth cubic splines now work, (there's still a bug with the qradratic splines though). (_svg_path_rect): rect is now properly closed * src/svg_parser.c (_svg_parser_parse_polygon): Added parsing of polygon/polyline points. Fixed polygon to actually close. * src/svg_element.c (_svg_element_render): Added calls to engine->begin_element/end_element to fix some cases of style inheritance, (ie. each element is in an implicit group). * src/svg_color.c (_svg_color_init_from_str): Fixed to parse 3-digit hex colors. Also, mixed percentage/integer components will now work, (I don't know if they meet spec. or not, but I'll be forgiving in what I accept). * src/svg_str.c: extracted out some common string manipulation functions. * TODO: Added status of conformance testing. 2002-10-23 Carl Worth * libsvg is alive now for the first time. So far, it does much less than librsvg did, (eg. no text/images yet), but it is enough to at least render tiger.svg. 2002-10-04 Carl Worth * rsvg.c: Began work to generalize everything into libsvg. 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 @ 1.77 log @2005-12-01 Keith Packard * src/svg_parser.c: (_svg_parser_sax_start_element), (_svg_parser_parse_text), (_svg_parser_parse_tspan), (_svg_parser_parse_text_characters): Some file elements don't create data structures. Don't attempt to apply attributes through the resulting uninitialized pointer. * src/svg_text.c: (_svg_tspan_init): * src/svgint.h: Strip characters from elements which have embedded elements. @ text @d3 7 @ 1.76 log @Append missing ChangeLog message. @ text @d1 12 @ 1.75 log @Change default DPI to 90, and provide a new function to query the current DPI. @ text @d4 2 @ 1.74 log @2005-07-19 Keith Packard * src/svg.h: * src/svg_element.c: (_svg_element_apply_attributes): * src/svg_style.c: (_svg_style_render): * src/svg_text.c: (_svg_text_render): * src/svgint.h: Kludge - pull text_anchor out of backend as it's stacked there. @ text @d1 4 @ 1.73 log @2005-07-19 Keith Packard * src/svg_element.c: (_svg_element_apply_attributes): * src/svg_style.c: (_svg_style_render): * src/svg_text.c: (_svg_text_render): * src/svgint.h: Pull text anchor support up into libsvg. set_text_anchor left in engine to avoid breaking ABI. @ text @d3 9 @ 1.72 log @2005-07-18 Keith Packard reviewed by: cworth * src/svg.h: * src/svg_element.c: (_svg_element_init), (_svg_element_init_copy), (_svg_element_deinit), (svg_element_render), (_svg_element_apply_attributes): * src/svg_parser.c: (_svg_parser_parse_text), (_svg_parser_parse_tspan), (_svg_parser_parse_text_characters), (_svg_parser_parse_tspan_characters): * src/svg_text.c: (_svg_tspan_init), (_svg_tspan_init_copy), (_svg_tspan_deinit), (_svg_tspan_append_chars), (_svg_tspan_render), (_svg_tspan_apply_attributes), (_svg_tspan_extents), (_svg_text_init), (_svg_text_init_copy), (_svg_text_deinit), (_svg_text_prepare_tspan), (_svg_text_render), (_svg_text_apply_attributes), (_svg_text_extents): * src/svgint.h: Add preliminary support for . No support for positioning tspan elements. @ text @d1 9 @ 1.71 log @ * .cvsignore: Ignore releases directory. @ text @d1 21 @ 1.70 log @ * configure.in: Increment version to 0.1.4-head after tagging the snapshot. @ text @d3 4 @ 1.69 log @ * NEWS: Add notes for 0.1.4 snapshot. * configure.in: Increment LIBSVG_VERSION to 0.1.4. @ text @d3 5 @ 1.68 log @ * src/svgint.h: * src/svg_transform.c: (_svg_transform_multiply_into_left), (_svg_transform_multiply_into_right), (_svg_transform_multiply): Rework the argument order of _svg_transform_multiply to match what I came up with for cairo_matrix_multiply, (which I trust to have had more review). Also avoid use of new as a parameter name in header files. @ text @d1 6 @ 1.67 log @2005-05-12 Keith Packard reviewed by: * src/svg_pattern.c: (_svg_pattern_init_copy), (_svg_pattern_deinit): Make pattern_init_copy clone the element instead of doing bad things. Free the element when deiniting the pattern. @ text @d1 10 a12 2 reviewed by: @ 1.66 log @2005-05-12 Keith Packard reviewed by: cworth * src/svg_style.c: (_svg_style_init_empty), (_svg_style_deinit): Valgrind discovered a few memory leaks and use of uninitialized values. There are leaks remaining in the xml parsing code which are demonstrated by several of the w3c svg conformance suite. @ text @d3 9 @ 1.65 log @ * src/svg_parser.c: (_svg_parser_parse_gradient_stop): Use symbolic value. * src/svg_style.c: (_svg_style_init_empty): Add missing initialization for style->num_dashes. * src/svg_style.c (_svg_style_init_copy): Fix to actually copy memory for style->font_family and style->stroke_dash_array. * src/svg_text.c: (_svg_text_init_copy): Fix zero termination of text->chars. @ text @d1 9 @ 1.64 log @ * src/svg_text.c (_svg_text_init_copy): Fix to actually copy memory for text->chars. @ text @d3 14 @ 1.63 log @ * src/svg.h: Qualify utf8 parameter to render_text as const. @ text @d1 5 @ 1.62 log @ * src/Makefile.am: * configure.in: Enable a bunch of useful warnings when using gcc. * src/svg_ascii.h: * src/svg_ascii.c: (_svg_ascii_strtod): Fix indentation. Fixes for more strict signedness checks as of gcc version 4: * src/svg_element.c: (_svg_element_init_copy), (_svg_element_apply_attributes): Cast to unsigned char* just before calling into libxml routines. * src/svg.h: Change render_text callback to accept char* instead of unsigned char *. * src/svg_parser_libxml.c: Move prototypes for _svg_parser_sax_start_element, _svg_parser_sax_end_element, and _svg_parser_sax_characters into svgint.h where they belong. Use xmlStrdup instead of xmlMemStrdup for correct signedness. * src/svg_attribute.c: * src/svg.c: * src/svg_gradient.c: * src/svg_group.c: * src/svg_image.c: * src/svg_paint.c: * src/svg_parser.c: * src/svg_path.c: * src/svg_pattern.c: * src/svg_style.c: * src/svg_text.c: * src/svg_transform.c: * src/svgint.h: Prefer char* over xmlChar* for internal use. @ text @d3 4 @ 1.61 log @ * src/svg.c (svg_render): Use getcwd in accordance with POSIX rather than relying on a Linux-specific extension to its behavior. Based on a patch by Brian Cameron, (thanks for helping us track this down, Brian). @ text @d1 36 @ 1.60 log @ * autogen.sh: Call all autotool commands through environment variables. Thanks to Rui Lopes. * NEWS: Fix typo in release date. @ text @d1 7 @ 1.59 log @2005-02-14 Phil Blundell * configure.in: Add "--with-expat" flag. (LIBSVG_PARSER_BACKEND, LIBSVG_REQUIRES): Define appropriately. (EXPAT): New automake conditional. * libsvg.pc.in (Requires): Use value from LIBSVG_REQUIRES. * src/svgint.h (svg_xml_parser_context_t, svg_hash_table_t, _svg_xml_hash_add_entry, _svg_xml_hash_lookup, _svg_xml_hash_create, _svg_xml_hash_free, _svg_xml_strdup): Declare. (struct svg, struct svg_parser): Use svg_hash_table_t and svg_xml_parser_context_t. * src/svg.c (_svg_init, _svg_deinit, _svg_store_element_by_id, _svg_fetch_element_by_id): Replace direct calls to xmlHash functions with _svg_xml_hash equivalents. * src/svg_element.c (_svg_element_apply_attributes): Use _svg_xml_strdup in place of xmlMemStrdup. (_svg_element_init_copy): Likewise. * src/svg_parser.c (SVG_PARSER_SAX_HANDLER, _svg_parser_init, _svg_parser_deinit, _svg_parser_begin, _svg_parser_parse_chunk, _svg_parser_end, _svg_parser_sax_get_entity, _svg_parser_sax_entity_decl, _svg_parser_sax_warning, _svg_parser_sax_error, _svg_parser_sax_fatal_error): Move to new file svg_parser_libxml.c. (_svg_parser_sax_start_element, _svg_parser_sax_end_element, _svg_parser_sax_characters): Make linkage global. Move declarations to svgint.h. * src/svg_parser_expat.c: New file. * src/svg_hash.c, src/svg_hash.h: New files. Code supplied by Chris Osgood. * src/Makefile.am (LIBSVG_EXTRA_SOURCES): Select expat or libxml parser backend as appropriate. (libsvg_la_SOURCES): Include LIBSVG_EXTRA_SOURCES. @ text @d1 7 @ 1.58 log @ * configure.in: Increment version to 0.1.3-head after tagging the snapshot. @ text @d1 34 @ 1.57 log @ * NEWS: Add notes for 0.1.3 snapshot. * configure.in: Increment LIBSVG_VERSION to 0.1.3. * Makefile.am (release-publish): Add targets for easier creation of snapshots. * RELEASING: Add instructions on how to create a snapshot. @ text @d3 3 @ 1.56 log @ * src/svg_str.c (_svg_str_parse_all_csv_doubles): Fix segfault bug introduced in last commit. @ text @d1 11 @ 1.55 log @ * src/svg_str.c (_svg_str_parse_all_csv_doubles): * src/svg_group.c (_svg_group_add_element): * src/svg_gradient.c (_svg_gradient_add_stop): Grow arrays by doubling rather than by linear increments. @ text @d1 5 @ 1.54 log @ * src/svg_gradient.c (_svg_gradient_set_type): Add mising return value. @ text @d1 7 @ 1.53 log @Better gradient support @ text @d1 5 @ 1.52 log @ 2004-05-06 Carl Worth * src/svg_element.c (_svg_element_apply_attributes): Fix to not return bogus error for circle elements. 2004-05-04 Carl Worth * src/svg_group.c (_svg_group_init_copy): Don't forget to copy x and y. @ text @d1 18 @ 1.51 log @ (_svg_parser_sax_characters): Patch memory leak. @ text @d1 5 d8 3 @ 1.50 log @ * src/svg_parser.c (_svg_parser_sax_entity_decl): Fix missing initialization of entity fields URI, orig, owner, and children. * src/svg_image.c (_svg_image_init_copy): Fix missing copy of image->url. @ text @d5 1 @ 1.49 log @ * src/svg_element.c: (_svg_element_init_copy): Initialize element->id to NULL when other->id has no id. @ text @d1 8 @ 1.48 log @ * src/svg_gradient.c (_svg_gradient_init): Fix missing intialization of units and spread. * src/svg_element.c (_svg_element_init_copy): Add missing copy for ellipse and line. (_svg_element_deinit): Add missing deinit for a few trivial types. @ text @d1 5 @ 1.47 log @ * src/svg_parser.c: Don't leave ignorableWhitespace NULL (which makes newer libxml2 croak). (_svg_parser_sax_characters): Do whitespace compaction ala xml:space=default. @ text @d3 7 @ 1.46 log @ * src/svg_style.c: Switch default font from serif to sans-serif for better compatibility with files designed for other user agent defaults. @ text @d1 7 @ 1.45 log @Fix typo in ChangeLog @ text @d3 4 @ 1.44 log @ * src/svgint.h: * src/svg_path.c (_svg_path_init, _svg_path_add_va) (_svg_path_line_to, _svg_path_smooth_curve_to) (_svg_path_smooth_quadratic_curve_to): Add path->last_path_op to fix handling of smooth curves/quads not preceded by a curve/quad. * src/svg_parser.c: Condedn SVG_PARSER_MAP for readability. * src/svg_group.c (_svg_group_get_size): Add missing return value. @ text @d9 1 a9 1 * src/svg_parser.c: Condedn SVG_PARSER_MAP for readability. @ 1.43 log @ * src/svg.h: Add extern C stuff to get along with C++. @ text @d1 12 @ 1.42 log @ * configure.in: Bump version to 0.1.2 for new svg_get_size interface. * src/svg_group.c (_svg_group_apply_svg_attributes): Remove some stale comments. (_svg_group_get_size): Add accessor. * src/svg.h: svg_get_size now fills in svg_length_t rather than int. * src/svg.c (_svg_init): Drop x,y,width,height from svg_t. (svg_get_size): Switch from int to svg_length_t. Get size from top element. Thanks to Noah Levitt for confirming this fix. @ text @d1 4 @ 1.41 log @ + + * configure.in: Bump version number to 0.1.1 to indicate change in + svg_parse_file and addition of svg_parse. + + * src/svg.c (svg_parse_file): Add support for parsing an open + "FILE *" stream. Many thanks to John Ellson + for this addition. + (svg_parse): New svg_parse function takes the place of the old + svg_parse_file. + + * autogen.sh (PKG_NAME): Add "--enable-maintainer-mode" to + configure line. @ text @d1 17 @ 1.40 log @Removed libsvg.spec as it is not currently being maintained or tested. Volunteers welcome. @ text @d1 14 @ 1.39 log @Gradient/Pattern parsing from Steven Kramer. Various minor code cleanups. @ text @d1 5 @ 1.38 log @Fixed some memory management problems @ text @d1 34 @ 1.37 log @Fixed libtool shared library versioning @ text @d1 13 @ 1.36 log @Moved arc magic from libsvg to libxsvg Rob Buis) @ text @d1 5 @ 1.35 log @ChangeLog @ text @d1 9 @ 1.34 log @ Many changes needed to offer a more clear seperation between specified ("50%") and computed values ("225"). Also now everywhere appropriate in libsvg svg_length_t is used. The testsuite examples that worked before this change still work, except any containing rounded rects (I think its one example). TODO : - Convert rounded rects (last shape to be done). - find another name for _svg_parser_new_shape_element. - clean up length init. I wont manage to do rounded rects tonight, so anyone feeling like doing that, please go ahead :) @ text @d25 3 @ 1.33 log @Added support for gzipped files (.svgz) @ text @d1 6 @ 1.32 log @ Cleaner approach for : Added several cloning/copying functions. This is mainly for atm. Notice that all copy routines are shallow copies, deep cloning seems not needed at this point. @ text @d1 5 @ 1.31 log @ Better handling of viewBox on symbol. Still cloning needed to clean up. structure-symbol-BE-05.png now works. @ text @d1 6 @ 1.30 log @Fixed color="inherit" @ text @d1 5 @ 1.29 log @Fixed inappropriate application of viewbox to non-groups @ text @d1 5 @ 1.28 log @ Update. @ text @d1 5 @ 1.27 log @ Added method for getting a length type from an attribute. @ text @d1 14 @ 1.26 log @ Parse and store viewBox attribute specifics. Added aspectratio values, but not handling them yet. Problem areas : - width, height not given on outer . - width, height 100%. - storage of svg_fit_to_viewbox_t in all groups, may be wasteful. @ text @d1 5 @ 1.25 log @ Parse and store defs as a special kind of group. Do not render its contents directly. @ text @d3 3 @ 1.24 log @ This patch adds support for display and visibility style properties. @ text @d1 5 @ 1.23 log @Store elements with id in a hash (Rob Buis) @ text @d1 5 @ 1.22 log @Don't look for 'd' attribute for path's that are not (eg. , , etc.) @ text @d3 3 @ 1.21 log @Added entity support (from Rob Buis) @ text @d1 6 @ 1.20 log @Added support for JPEG images @ text @d1 10 @ 1.19 log @Fix for arc drawing (Rob Buis) @ text @d1 5 @ 1.18 log @Fix for color parsing from Rob Buis @ text @d3 3 @ 1.17 log @Added fixes for currentColor and nonzero fill from Rob Buis @ text @d1 5 @ 1.16 log @Fixed free() of wild pointer @ text @d1 8 @ 1.15 log @Added support for stroke_dash_array @ text @d1 5 @ 1.14 log @Fixes for quadratic curves @ text @d1 11 @ 1.13 log @path-curves-BE-02.svg now passes @ text @d3 3 d8 1 @ 1.12 log @With fixed miter limit, shapes-polyline-BE-06.svg now passes. @ text @d4 1 @ 1.11 log @Removed bogus delivery of "\0" to xmlParseChunk @ text @d1 4 @ 1.10 log @Now changes directory to resolve relative references. Various cleanups in code @ text @d1 6 @ 1.9 log @Added support for opacity property @ text @d1 32 @ 1.8 log @Fixed handling of missing attributes on basic shapes. @ text @d1 11 @ 1.7 log @Fixes to render more even if parts of the rendering fail @ text @d3 10 @ 1.6 log @Added basic (PNG) image parsing @ text @d1 11 @ 1.5 log @Big code cleanup. Fixed broken transformations. @ text @d1 20 @ 1.4 log @Cleaned up parsing. Added basic text support @ text @d1 19 @ 1.3 log @Fixed current point after close path @ text @d1 21 @ 1.2 log @Added fill_rule, fixed color parsing, polygon/rect closing, others @ text @d1 5 @ 1.1 log @Initial revision @ text @d1 32 @ 1.1.1.1 log @Initial commit of libsvg. @ text @@