diff --git a/ChangeLog b/ChangeLog index 30660ed08..efff92642 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-04-06 Carl Worth + + * NEWS: Added notes for snapshot 0.1.20. + + * RELEASING: Added new RELEASING file. + 2004-04-04 David Reveman * src/cairoint.h: Added create_pattern backend function and pattern diff --git a/NEWS b/NEWS index 5e1f88247..8b70aef97 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,79 @@ -2003-12-16 cairo-0.1.17 Carl Worth -=================================================== +Snapshot 0.1.20 (2004-04-06 Carl Worth ) +======================================================== +New pattern API +--------------- +David Reveman has contributed a new pattern API which enable linear +and radial gradient patterns in addition to the original surface-based +patterns. The significant new top-level functions are: + + cairo_pattern_create_linear + cairo_pattern_create_radial + cairo_pattern_create_for_surface + cairo_pattern_add_color_stop + cairo_set_pattern + +Any code using the old cairo_set_pattern, (which accepted a +cairo_surface_t rather than a cairo_pattern_t), will need to be +updated. + +Update to XCB backend +--------------------- +The XCB backend is now enabled by default, (use ./configure +--disable-xcb to turn it off). + +Faster clipping +--------------- +Graydon Hoare has added optimizations that make cairo_clip much faster +when the path is a pixel-aligned, rectangular region. + +Bug fixes. + +Snapshot 0.1.19 (2004-02-24 Carl Worth ) +======================================================== +New PNG backend +--------------- +Olivier Andrieu contributed a new PNG backend. It builds on the +existing image backend to make it easy to render "directly" to a +.png file. The user never needs to deal with the actual image +buffer. The significant new functions are: + + cairo_set_target_png + cairo_png_surface_create + +The PNG backend is not enabled by default so that by default there is +not a new dependency on libpng. Use ./configure --enable-png to enable +this backend. + +Snapshot 0.1.18 (2004-02-17 Carl Worth ) +======================================================== +Path query functionality +------------------------ +It's now possible to query the current path. The two new functions +are: + + cairo_current_path + cairo_current_path_flat + +Each function accepts a number of callback functions that will be +called for each element in the path (move_to, line_to, curve_to, +close_path). The cairo_current_path_flat function does not accept a +curve_to callback. Instead, all curved portions of the path will be +converted to line segments, (within the current tolerance value). This +can be handy for doing things like text-on-path without having to +manually interpolate bezier splines. + +New XCB backend +--------------- +Jamey Sharp has contributed a second X backend that uses the new, lean +XCB library rather than Xlib. It cannot currently be compiled at the +same time as the Xlib backend. See ./configure --enable-xcb. + +Build fixes for cygwin. + +Bug fixes. + +Snapshot 0.1.17 (2003-12-16 Carl Worth ) +======================================================== Better text support ------------------- diff --git a/RELEASING b/RELEASING new file mode 100644 index 000000000..6ebcb8ee0 --- /dev/null +++ b/RELEASING @@ -0,0 +1,67 @@ +So far, cairo hasn't reached an initial release. But we can still form +good habits now by practicing the release process with the current +snapshots. + +10 easy steps to creating a new cairo snapshot +============================================== + +1) Commit code with a significant new feature or backwards + incompatibility. + + Either of these events triggers the need for a new snapshot. + Users of cairo snapshots need to be able to specify snapshot + version numbers in order to get access to a specific set of + features. + +2) Verify that the code passes "make distcheck" + + Running "make distcheck" should result in no warnings or + errors and end with a message of the form: + + ============================================= + cairo-X.Y.Z.tar.gz is ready for distribution + ============================================= + + (But the tar file isn't actually ready yet, as we still have + some more steps to follow). + +3) Fill out an entry in the NEWS file + + Sift through the information in ChangeLog since the last + snapshot. Summarize major changes briefly in a style similar + to other entries in NEWS. + +4) Increment CAIRO_VERSION in configure.in + + Right now, in its pre-release form, we are incrementing + CAIRO_VERSION for each snapshot but we are not changing the + libtool shared library version information. Until now, we've + only incremented the sub-minor version. We'll invent rules for + incrementing major and minor numbers when the time is right. + +5) Commit the changes to NEWS and configure.in + + Don't forget to fill out the ChangeLog just like with any + other commit. It's especially important to mention the new + version number in the ChangeLog. + +6) Run "make distcheck" to generate the final tar file with the + correct version number. + +7) Copy the resulting tar file to the cairo snapshots distribution + directory: + + scp cairo-X.Y.Z-tar.gz cairographics.org:/home/www/cairo/snapshots + +8) Tag the entire source tree with a tag of the form SNAPSHOT_X_Y_Z: + + cvs tag SNAPSHOT_X_Y_Z + +9) Send a message to cairo-announce@cairographics.org to announce the + new snapshot. + + This is as simple as cutting and pasting the new section of + the NEWS file into the body of the message. + +10) Sit back and relax in confidence, (or brace yourself for a flood + of new bug reports). It's up to you!