[cairo-commit] libsvg ChangeLog,1.61,1.62 configure.in,1.9,1.10
Carl Worth
commit at pdx.freedesktop.org
Mon Apr 11 09:20:11 PDT 2005
- Previous message: [cairo-commit] cairo/src cairo-matrix.c, 1.24, 1.25 cairo.h, 1.97,
1.98
- Next message: [cairo-commit] libsvg/src Makefile.am, 1.8, 1.9 svg.c, 1.11,
1.12 svg.h, 1.19, 1.20 svg_ascii.c, 1.2, 1.3 svg_ascii.h, 1.2,
1.3 svg_attribute.c, 1.3, 1.4 svg_element.c, 1.35,
1.36 svg_gradient.c, 1.5, 1.6 svg_group.c, 1.26,
1.27 svg_image.c, 1.13, 1.14 svg_paint.c, 1.5,
1.6 svg_parser.c, 1.33, 1.34 svg_parser_libxml.c, 1.1,
1.2 svg_path.c, 1.18, 1.19 svg_pattern.c, 1.1, 1.2 svg_style.c,
1.19, 1.20 svg_text.c, 1.10, 1.11 svg_transform.c, 1.10,
1.11 svgint.h, 1.43, 1.44
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: cworth
Update of /cvs/cairo/libsvg
In directory gabe:/tmp/cvs-serv14294
Modified Files:
ChangeLog configure.in
Log Message:
* 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.
Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/libsvg/ChangeLog,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- ChangeLog 28 Feb 2005 23:31:59 -0000 1.61
+++ ChangeLog 11 Apr 2005 16:20:09 -0000 1.62
@@ -1,3 +1,39 @@
+2005-04-11 Carl Worth <cworth at cworth.org>
+
+ * 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 <cworth at cworth.org>
* src/svg.c (svg_render): Use getcwd in accordance with POSIX
Index: configure.in
===================================================================
RCS file: /cvs/cairo/libsvg/configure.in,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- configure.in 14 Feb 2005 17:26:26 -0000 1.9
+++ configure.in 11 Apr 2005 16:20:09 -0000 1.10
@@ -61,6 +61,17 @@
AM_CONDITIONAL(EXPAT, test $LIBSVG_PARSER_BACKEND = "expat")
dnl ===========================================================================
+dnl Use lots of warning flags with GCC
+
+WARN_CFLAGS=""
+if test "x$GCC" = "xyes"; then
+ WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \
+ -Wmissing-prototypes -Wmissing-declarations \
+ -Wnested-externs -fno-strict-aliasing"
+fi
+AC_SUBST(WARN_CFLAGS)
+
+dnl ===========================================================================
AC_OUTPUT([
libsvg.spec
- Previous message: [cairo-commit] cairo/src cairo-matrix.c, 1.24, 1.25 cairo.h, 1.97,
1.98
- Next message: [cairo-commit] libsvg/src Makefile.am, 1.8, 1.9 svg.c, 1.11,
1.12 svg.h, 1.19, 1.20 svg_ascii.c, 1.2, 1.3 svg_ascii.h, 1.2,
1.3 svg_attribute.c, 1.3, 1.4 svg_element.c, 1.35,
1.36 svg_gradient.c, 1.5, 1.6 svg_group.c, 1.26,
1.27 svg_image.c, 1.13, 1.14 svg_paint.c, 1.5,
1.6 svg_parser.c, 1.33, 1.34 svg_parser_libxml.c, 1.1,
1.2 svg_path.c, 1.18, 1.19 svg_pattern.c, 1.1, 1.2 svg_style.c,
1.19, 1.20 svg_text.c, 1.10, 1.11 svg_transform.c, 1.10,
1.11 svgint.h, 1.43, 1.44
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list