[cairo-commit] cairo ChangeLog,1.93,1.94 configure.in,1.22,1.23

Carl Worth commit at pdx.freedesktop.org
Fri Oct 31 10:41:39 PST 2003


Committed by: cworth

Update of /cvs/cairo/cairo
In directory pdx:/tmp/cvs-serv17907

Modified Files:
	ChangeLog configure.in 
Log Message:
Moved all libic-related drawing into cairo_image_surface.c

Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo/ChangeLog,v
retrieving revision 1.93
retrieving revision 1.94
diff -C2 -d -r1.93 -r1.94
*** ChangeLog	31 Oct 2003 02:39:20 -0000	1.93
--- ChangeLog	31 Oct 2003 18:41:37 -0000	1.94
***************
*** 1,2 ****
--- 1,68 ----
+ 2003-10-31  Carl Worth  <cworth at isi.edu>
+ 
+ 	* Moved all libic-related drawing into cairo_image_surface.c.
+ 	Details below:
+ 
+ 	* src/cairo_xlib_surface.c: Add width, height, format to
+ 	cairo_xlib_surface_t.
+ 	(_cairo_xlib_surface_get_image):
+ 	(_cairo_xlib_surface_set_image): Implement new get_image/set_image
+ 	interface instead of pull_image/push_image.
+ 	(_cairo_xlib_surface_get_image): Fix memory leak that showed up
+ 	with non-Render servers.
+ 	(_cairo_xlib_surface_set_matrix): Implement set_matrix with new
+ 	interface.
+ 	(_render_operator): Translate from cairo_operator_t to
+ 	Render-defined operator values rather than assuming they are the
+ 	same.
+ 
+ 	* src/cairo_surface.c: Move all libic-related code into
+ 	cairo_image_surface.c. cairo_surface is now a thin wrapper around
+ 	concrete surface types, (with fallback code to cairo_image_surface
+ 	whenever a backend does not provide support for a particular
+ 	function). Remove checks for NULL backend functions.
+ 	(_cairo_surface_get_image):
+ 	(_cairo_surface_set_image): New interface to replace
+ 	pull_image/push_image. Now uses a cairo_image_surface rather than
+ 	an IcImage and now also passes it externally rather than storing
+ 	it in the surface.
+ 
+ 	* src/cairo_gstate.c (_cairo_gstate_fini):
+ 	(_cairo_gstate_set_target_surface):
+ 	(_cairo_gstate_set_rgb_color): Avoid useless calls to
+ 	cairo_surface_destroy for NULL surfaces.
+ 	(_cairo_gstate_show_surface): 
+ 	(_cairo_gstate_clip): 
+ 	(_cairo_gstate_clip_and_composite_trapezoids):
+ 	(_cairo_gstate_begin_group): Add status checking for calls to
+ 	surface_create_similar, surface_fill_rectangles,
+ 	surface_composite, and surface_composite_trapezoids.
+ 
+ 	* src/cairo_ft_font.c (_cairo_ft_font_show_glyphs): Remove one
+ 	gratuitous level of nesting.
+ 	(_cairo_ft_font_show_glyphs): Bubble up NULL_MEMORY status.
+ 
+ 	* src/cairo.h: Portability improvements: Remove include of
+ 	X11/extensions/Xrender.h. Move include down near the freetype
+ 	include.
+ 	cairo_format_t: Eliminate Render-based values for this enum.
+ 	cairo_operator_t: Eliminate Render-based values. Drop
+ 	disjoint/conjoint operators.
+ 	cairo_filter_t: Eliminate libic-based values for this enum.
+ 	Add cairo_image_surface_create and cairo_image_surface_create_for_data.
+ 
+ 	* src/cairo.c (cairo_status_string): Add new CAIRO_STATUS_NULL_POINTER.
+ 	This can be returned only if the user passes a NULL object in to a
+ 	cairo function.
+ 
+ 	* src/cairoint.h: Move include of <X11/extensions/Xrender.h> from
+ 	cairo.h to here.
+ 
+ 	* src/Makefile.am (libcairo_la_SOURCES): Add
+ 	cairo_image_surface.c. Reformat line continuation characters.
+ 
+ 	* src/cairoint.h: Remove prototypes for obsolete functions:
+ 	_cairo_gstate_set_visual and _cairo_gstate_set_format.
+ 
  2003-10-30  Carl Worth  <cworth at isi.edu>
  

Index: configure.in
===================================================================
RCS file: /cvs/cairo/cairo/configure.in,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** configure.in	30 Oct 2003 20:39:49 -0000	1.22
--- configure.in	31 Oct 2003 18:41:37 -0000	1.23
***************
*** 41,45 ****
  dnl ===========================================================================
  
! PKG_CHECK_MODULES(CAIRO, slim >= 0.2.0 libic >= 0.1.1 xft xrender >= 0.6)
  AC_SUBST(CAIRO_CFLAGS)
  AC_SUBST(CAIRO_LIBS)
--- 41,45 ----
  dnl ===========================================================================
  
! PKG_CHECK_MODULES(CAIRO, slim >= 0.2.0 libic >= 0.1.3 xft xrender >= 0.6)
  AC_SUBST(CAIRO_CFLAGS)
  AC_SUBST(CAIRO_LIBS)





More information about the cairo-commit mailing list