[cairo-commit] cairo ChangeLog,1.784,1.785

Carl Worth commit at pdx.freedesktop.org
Thu Jul 28 10:41:10 PDT 2005


Committed by: cworth

Update of /cvs/cairo/cairo
In directory gabe:/tmp/cvs-serv5350

Modified Files:
	ChangeLog 
Log Message:

        * src/cairo-png.c: (read_png),
        (cairo_image_surface_create_from_png): Fix so that one of three
        different error status values will be returned:

                CAIRO_STATUS_NO_MEMORY
                CAIRO_STATUS_FILE_NOT_FOUND
                CAIRO_STATUS_READ_ERROR

        * src/cairo.h:
        * src/cairo.c: (cairo_status_to_string): Add new
        CAIRO_STATUS_FILE_NOT_FOUND.

        * src/cairoint.h:
        * src/cairo-surface.c: Add new _cairo_surface_nil_read_error and
        _cairo_surface_nil_file_not_found.

        * test/create-from-png.c: (draw): Test the new FILE_NOT_FOUND
        error.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo/ChangeLog,v
retrieving revision 1.784
retrieving revision 1.785
diff -u -d -r1.784 -r1.785
--- ChangeLog	28 Jul 2005 17:37:41 -0000	1.784
+++ ChangeLog	28 Jul 2005 17:41:08 -0000	1.785
@@ -1,3 +1,24 @@
+2005-07-28  Carl Worth  <cworth at cworth.org>
+
+	* src/cairo-png.c: (read_png),
+	(cairo_image_surface_create_from_png): Fix so that one of three
+	different error status values will be returned:
+
+		CAIRO_STATUS_NO_MEMORY
+		CAIRO_STATUS_FILE_NOT_FOUND
+		CAIRO_STATUS_READ_ERROR
+
+	* src/cairo.h:
+	* src/cairo.c: (cairo_status_to_string): Add new
+	CAIRO_STATUS_FILE_NOT_FOUND.
+
+	* src/cairoint.h:
+	* src/cairo-surface.c: Add new _cairo_surface_nil_read_error and
+	_cairo_surface_nil_file_not_found.
+
+	* test/create-from-png.c: (draw): Test the new FILE_NOT_FOUND
+	error.
+
 2005-07-28  Stuart Parmenter  <pavlov at pavlov.net>
 
 	* src/cairo-win32-font.c




More information about the cairo-commit mailing list