[cairo-commit] cairo/test .cvsignore, 1.7, 1.8 Makefile.am, 1.20, 1.21 user_data.c, NONE, 1.1

Carl Worth commit at pdx.freedesktop.org
Thu Mar 10 08:59:13 PST 2005


Committed by: cworth

Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv30093/test

Modified Files:
	.cvsignore Makefile.am 
Added Files:
	user_data.c 
Log Message:

        Originally: 2005-02-24  Carl Worth  <cworth at cworth.org>

        * src/cairo_surface.c (cairo_surface_set_user_data)
        (cairo_surface_get_user_data):
        * src/cairo.h: Add const qualifier to cairo_user_data_key_t
        arguments.

        Originally: 2005-02-15  Kristian Høgsberg  <krh at redhat.com>

        * src/cairo_surface.c (cairo_surface_get_data, cairo_surface_set_data):
        Add these two functions to set and get user data on an surface.

        * src/cairo.h: Function prototypes for new functions.

        * test/user_data.c: Test case for user data functions.


Index: .cvsignore
===================================================================
RCS file: /cvs/cairo/cairo/test/.cvsignore,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- .cvsignore	24 Feb 2005 20:30:23 -0000	1.7
+++ .cvsignore	10 Mar 2005 16:59:11 -0000	1.8
@@ -2,6 +2,7 @@
 .libs
 Makefile
 Makefile.in
+clip_twice
 coverage
 fill_rule
 imagediff
@@ -11,7 +12,7 @@
 pixman_rotate
 text_cache_crash
 text_rotate
-clip_twice
+user_data
 *-out.png
 *-diff.png
 

Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairo/test/Makefile.am,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- Makefile.am	9 Mar 2005 22:34:26 -0000	1.20
+++ Makefile.am	10 Mar 2005 16:59:11 -0000	1.21
@@ -10,8 +10,8 @@
 move_to_show_surface	\
 pixman_rotate		\
 text_cache_crash	\
-text_rotate
-
+text_rotate		\
+user_data
 
 # And all new tests go here too. I really don't like having to repeat
 # this list. Anyone know a good way to avoid it? Can I use a wildcard
@@ -79,6 +79,7 @@
 pixman_rotate_SOURCES = pixman_rotate.c $(cairo_test_lib)
 text_cache_crash_SOURCES = text_cache_crash.c $(cairo_test_lib)
 text_rotate_SOURCES = text_rotate.c $(cairo_test_lib)
+user_data_SOURCES = user_data.c
 
 noinst_PROGRAMS = imagediff
 imagediff_SOURCES = imagediff.c $(cairo_test_lib)

--- NEW FILE: user_data.c ---
(This appears to be a binary file; contents omitted.)




More information about the cairo-commit mailing list