NEWS: Add notes for cairo 1.4.4

This commit is contained in:
Carl Worth 2007-04-13 17:36:31 -07:00
parent e1a1f6ff25
commit e21a58ce4c

91
NEWS
View file

@ -1,3 +1,94 @@
Release 1.4.4 (2007-04-13 Carl Worth <cworth@cworth.org>)
=========================================================
This is the second update release in cairo's stable 1.4 series. It
comes just less than a month after 1.4.2. The changes since 1.4.2
consist primarily of bug fixes, but also include at least one
optimization. See below for details.
Of all the work that went into the 1.4.4 release
There have been lots of individuals doing lots of great work on cairo,
but two efforts during the 1.4.4 series deserve particular mention:
Internal cleanup of error handling, (Chris Wilson)
--------------------------------------------------
Chris contributed a tremendous series of patches (74 patches!) to
improve cairo's handling of out-of-memory and other errors. He began
by adding gcc's warn_unused_attribute to as many functions as
possible, and then launched into the ambitious efforts of adding
correct code to quiet the dozens of resulting warnings.
Chris also wrote a custom valgrind skin to systematically inject
malloc failures into cairo, and did all the work necessary to verify
that cairo's performance test suite runs to completion without
crashing.
The end result is a much more robust implementation. Previously, many
error conditions would have gone unnoticed and would have led to
assertion failures, segmentation faults, or other harder-to-diagnose
problems. Now, more than ever, cairo should cleanly let the user know
of problems through cairo_status and other similar status
functions. Well done, Chris!
More malloc reduction, (Mathias Hasselmann)
-------------------------------------------
After 1.4.0, Behdad launched an effort to chase down excessive calls
to malloc within the implementation of cairo. He fixed a lot of
malloc-happy objects for 1.4.2, but one of the worst offenders,
(pixman regions), was left around. Mathias contributed an excellent
series of 15 patches to finish off this effort.
The end result is a cairo that calls malloc much less often than it
did before. Compared to 1.4.2, 55% of the calls to malloc have been
eliminate, (and 60% have been eliminated compared to 1.4.0). Well
done, Mathias!
Other improvements since 1.4.2
------------------------------
• Centralize mutex declarations (will reduce future build breaks),
(Chris Wilson)
• Reduce malloc by caching recently freed pattern objects (Chris
Wilson)
• Fix some broken composite operations (David Reveman)
https://bugs.freedesktop.org/show_bug.cgi?id=5777
Backend-specific fixes
----------------------
PDF:
• Use TJ operator for more compact representation of glyphs (Adrian
Johnson)
• Fix glyph positioning bug when glyphs are not horizontal
http://lists.freedesktop.org/archives/cairo/2007-April/010337.html
win32:
• Fix crash when rendering with bitmap fonts (Carl Worth)
https://bugzilla.mozilla.org/show_bug.cgi?id=376498
xlib:
• Turn metrics-hinting on by default (Behdad Esfahbod)
• Fix edge-effect problem with transformed images drawn to xlib
(Behdad Esfahbod)
https://bugs.freedesktop.org/show_bug.cgi?id=10508
• Avoid dereferencing a NULL screen. (Chris Wilson)
https://bugs.freedesktop.org/show_bug.cgi?id=10517
Quartz/ATSUI:
• Fix scaling of glyph surfaces
(Brian Ewins)
https://bugs.freedesktop.org/show_bug.cgi?id=9568
• Fix compilation failure when both xlib and quartz enabled
(Brian Ewins)
• Fix rounding bug leading to incorrectly positioned glyphs
(Robert O'Callahan)
https://bugs.freedesktop.org/show_bug.cgi?id=10531
Release 1.4.2 (2007-03-19 Carl Worth <cworth@cworth.org>)
=========================================================
This is the first update release in cairo's stable 1.4 series. It