diff options
author | Carl Worth <cworth@cworth.org> | 2005-06-20 16:35:40 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2005-06-20 16:35:40 +0000 |
commit | d7ef15d4b48820a072e4f4525fa83b23dc2cdf5d (patch) | |
tree | b6103cabd81b53d9b3679130e92967ef403a32ef | |
parent | 74e3cc672f4b687d48caabe53a9c611868e27904 (diff) |
Added notes for snapshot 0.5.1
Increment CAIRO_VERSION to 0.5.1
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | NEWS | 102 | ||||
-rw-r--r-- | configure.in | 2 |
3 files changed, 109 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2005-06-20 Carl Worth <cworth@cworth.org> + + * NEWS: Added notes for snapshot 0.5.1 + + * configure.in: Increment CAIRO_VERSION to 0.5.1 + 2005-06-20 Owen Taylor <otaylor@redhat.com> Workaround for https://bugs.freedesktop.org/show_bug.cgi?id=3566 @@ -1,3 +1,105 @@ +Snapshot 0.5.1 (2005-06-20 Carl Worth <cworth@cworth.org>) +========================================================== +API changes +----------- +* Removed cairo_status_string(cairo_t*) and add + cairo_status_to_string(cairo_status_t) in its place. Code using + cairo_status_string can be ported forward as follows: + + cairo_status (cr); + -> + cairo_status_to_string (cairo_status (cr)); + +* Removed the BAD_NESTING restriction which means that two different + cairo_t objects can now interleave drawing to the same + cairo_surface_t without causing an error. + +* The following functions which previously had a return type of + cairo_status_t now have a return type of void: + + cairo_pattern_add_color_stop_rgba + cairo_pattern_set_matrix + cairo_pattern_get_matrix + cairo_pattern_set_extend + cairo_pattern_set_filter + + See discussion of cairo_pattern_status below for more details. + +API additions +------------- +* Improved error handling: + + cairo_status_t + cairo_pattern_status (cairo_pattern_t *pattern); + + This snapshot expands the status-based error handling scheme from + cairo_t to cairo_path_t and cairo_pattern_t. It also expands the + scheme so that object-creating functions, (cairo_create, + cairo_pattern_create_*, cairo_copy_path_*), are now guaranteed to + not return NULL. Instead, in the case of out-of-memory these + functions will return a static object with + status==CAIRO_STATUS_NO_MEMORY. The status can be checked with the + functions cairo_status and cairo_pattern_status, or by direct + inspection of the new status field in cairo_path_t. + + Please note that some objects, including cairo_surface_t and all of + the font-related objects have not been converted to this + error-handling scheme. + +* In addition to the above changes, a new private function has been added: + + _cairo_error + + This function can be used to set a breakpoint in a debugger to make + it easier to find programming error in cairo-using code. (Currently, + _cairo_error is called when any error is detected within a cairo_t + context, but is not called for non-cairo_t errors such as for + cairo_path_t and cairo_pattern_t). + +* Fixed cairo_path_data_t so that its enum is visible to C++ code, (as + cairo_path_data_type_t). + +Performance improvements +------------------------ +* Made a minor performance improvement for clipping, (restrict clip + surface to the new intersected bounds). + +* Optimize rendering of a solid source pattern with a pixel-aligned + rectangular path to use backend clipping rather than rasterization + and backend compositing. + +* Optimize cairo_paint_with_alpha to defer to cairo_paint when alpha + is 1.0. + +Bug fixes +--------- +* Fixed memory leak in cairo_copy_path. + +* A build fix for non-srcdir builds. + +PDF backend fixes +----------------- +* New support for path-based clipping. + +* Fix for text rotated to angles other than multiples of π/2. + +Win32 backend fixes +------------------- +* Fix for text extents. + +Xlib backend +------------ +* Implemented a complex workaround for X server bug[*] related to + Render-based compositing with untransformed, repeating source + pictures. The workaround uses core Xlib when possible for + performance, (ie. with CAIRO_OPERATOR_SOURCE or CAIRO_OPERATOR_OVER + with an opaque source surface), and falls back to the pixman + image-based compositing otherwise. + + [*] https://bugs.freedesktop.org/show_bug.cgi?id=3566 + +* Various bug fixes, particularly in the fallback paths. + Snapshot 0.5.0 (2005-05-17 Carl Worth <cworth@cworth.org>) ========================================================== This is a pretty big, and fairly significant snapshot. It represents diff --git a/configure.in b/configure.in index 5caecc37..c2305de5 100644 --- a/configure.in +++ b/configure.in @@ -5,7 +5,7 @@ AC_INIT(src/cairo.h) dnl =========================================================================== # Package version number, (as distinct from shared library version) -CAIRO_VERSION=0.5.0-head +CAIRO_VERSION=0.5.1 # libtool shared library version |