Hi,<br><br>long is 32-bit type under windows, changing int to long was mistake.<br><br>-- <br>Best regards<br>- Petr Kobalicek <<a href="http://kobalicek.com">http://kobalicek.com</a>><br>
<br><div class="gmail_quote">On Mon, Jul 12, 2010 at 1:46 PM, Chris Wilson <span dir="ltr"><<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
A new cairo snapshot 1.9.12 is now available from:<br>
<br>
<a href="http://cairographics.org/snapshots/cairo-1.9.12.tar.gz" target="_blank">http://cairographics.org/snapshots/cairo-1.9.12.tar.gz</a><br>
<br>
which can be verified with:<br>
<br>
<a href="http://cairographics.org/snapshots/cairo-1.9.12.tar.gz.sha1" target="_blank">http://cairographics.org/snapshots/cairo-1.9.12.tar.gz.sha1</a><br>
486a0b6855aa63bcb333f6ac63307ae8647035ba cairo-1.9.12.tar.gz<br>
<br>
<a href="http://cairographics.org/snapshots/cairo-1.9.12.tar.gz.sha1.asc" target="_blank">http://cairographics.org/snapshots/cairo-1.9.12.tar.gz.sha1.asc</a><br>
(signed by Chris Wilson)<br>
<br>
Additionally, a git clone of the source tree:<br>
<br>
git clone git://<a href="http://git.cairographics.org/git/cairo" target="_blank">git.cairographics.org/git/cairo</a><br>
<br>
will include a signed 1.9.12 tag which points to a commit named:<br>
aa4cd8287f47b4538e765e1b48dcbac19813a8a2<br>
<br>
which can be verified with:<br>
git verify-tag 1.9.12<br>
<br>
and can be checked out with a command such as:<br>
git checkout -b build 1.9.12<br>
<br>
Snapshot 1.9.12 (2010-07-12)<br>
============================<br>
<br>
A couple of weeks spent fixing those annoying bugs and cleaning up the build<br>
system; the list of outstanding tasks to complete for the stable release is<br>
finally shrinking. The chief bug fixer has been Benjamin Otte who not only<br>
made sure that the public API is consistent and being tested for its<br>
consistency, but also ensured that the documentation was up-to-date and<br>
spent time clarifying cases where even the Cairo developers have come<br>
unstuck in the past. Many thanks, Benjamin. However, he was not alone,<br>
as Andrea Canciani continued his fine work in isolating broken corner cases<br>
and proceeding to fix them, and tidying up the quartz backend. And last, but<br>
definitely not least, M Joonas Pihlaja tried building Cairo across a<br>
perverse range of systems and fixed up all the loose bits of code that came<br>
unravelled. Thanks everybody!<br>
<br>
API Changes<br>
-----------<br>
<br>
cairo_surface_set_mime_data, cairo_surface_get_mime_data:<br>
<br>
The length parameter is now an unsigned long (as opposed to an unsigned<br>
int). The parameter is intended to be an equivalent to a size_t without<br>
requiring POSIX types and be large enough to store the size of the<br>
largest possible allocation.<br>
<br>
cairo_gl_surface_create_for_texture:<br>
<br>
This a new surface constructor for cairo-gl that explicitly enables<br>
render-to-texture for foreign, i.e. application, textures.<br>
<br>
cairo_region_xor, cairo_region_xor_rectangle<br>
<br>
A couple of utility routines add to the region handling interface for<br>
the purpose of replacing existing GdkRegion functionality.<br>
<br>
Bugs fixes<br>
----------<br>
<br>
<a href="https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/600622" target="_blank">https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/600622</a><br>
<br>
Inkscape was caught in the act of attempting to modify a finished surface.<br>
Unfortunately, we had the ordering of our guards and assertions wrong and<br>
so an ordinary application error was triggering an assert in Cairo. This<br>
lead Benjamin to add a test case to ensure that the entire public API<br>
could handle erroneous input and then proceeded to fix a whole slew of<br>
uncovered bugs.<br>
<br>
<br>
<a href="https://bugs.freedesktop.org/show_bug.cgi?id=28888" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=28888</a><br>
<br>
A regression introduced by the special casing of uploading images to an<br>
xlib surface in-place which was ignoring the translation applied to the<br>
image.<br>
<br>
-Chris<br>
<br>
Complete lists of changes between 1.9.10 and 1.9.12<br>
---------------------------------------------------<br>
Andrea Canciani (12):<br>
quartz-font: silence compiler warnings<br>
quartz: improve text transform handling<br>
quartz: check return status<br>
quartz-font: correct and explain matrix computations<br>
quartz: remove unused os version info<br>
quartz: remove unused declarations<br>
ft-font: fix typo<br>
user-font: ignore translation in scale matrix<br>
user-font: correct handling of size 0 text<br>
test: fix typo<br>
test: Add quartz functions to api-special-cases test<br>
test: Add halo quartz reference images<br>
<br>
Benjamin Otte (68):<br>
boilerplate: Add a describe vfunc<br>
gl: Add describe string<br>
boilerplate: Add describe string<br>
perf: print comment describing backend<br>
configure: remove shave<br>
configure: Use automake silent rules<br>
tests: Add a testcase that checks APIs work consistently<br>
surface: don't call begin_modification on finished surfaces<br>
surface: Fail early if create_similar() is called on a finished surface<br>
surface: Fail if set_mime_data() is called on a finished surface<br>
subsurface: Fail if created from a finished surface<br>
configure: remove dolt<br>
test: Add a new test variant to api-special-cases test<br>
test: add image surface functions to api-special-cases test<br>
test: Add a non-error surface check<br>
test: add PNG functions<br>
test: Add recording and tee surface functions to api-special-cases<br>
tee: Add proper error handling<br>
Call _cairo_error() when setting the FINISHED error on surfaces<br>
test: Add gl functions to the tests<br>
gl: Fail properly when called with finished functions<br>
pdf: Set error when extracting from finished surface<br>
ps: Set error when extracting from finished surface<br>
ps: Allow specifying if errors on extract_surface should be set<br>
svg: Set error when extracting from finished surface<br>
test: Add ps, pdf and svg to the api-special-cases test<br>
test: Add xcb and xlib functions to api-special-cases test<br>
xcb: Setters should set finished surfaces into an error status<br>
xlib: Setters should set finished surfaces into an error status<br>
test: Add documentation to the api-special-cases test<br>
test: Add note about how to fix failures to api-special-cases<br>
region: Add cairo_region_xor() and cairo_region_xor_rectangle()<br>
gl: Fix compile error after rebase failure<br>
doc: Add drm and glew to the ignored directories<br>
glew: The headers are private, not public<br>
doc: Add cairo_rectangle_int_t to the general types list<br>
doc: Add cairo_in_clip() to cairo_t section<br>
doc: Add a section for cairo_device_t<br>
doc: Add missing surface APIs<br>
doc: Add a section about regions<br>
skia: Add cairo-skia.h as a public header<br>
drm: Fix Makefile for drm_xr<br>
doc: add --name-space option to gtkdoc-mkdb<br>
doc: Add list of new symbol in Cairo 1.10<br>
doc: Fix some consistency issues that confuse gtk-doc<br>
doc: Remove CAIRO_FORMAT_RGB16_565 from hidden symbols list<br>
doc: Move tmpl/ docs to inline docs<br>
doc: Fix a syntax issue in quartz-font gtkdoc<br>
doc: Add missing region documentation<br>
doc: Remove the <TITLE> declarations<br>
doc: Copy docs for standard device APIs<br>
doc: Clarify that cairo_surface_get_device() can return NULL<br>
doc: Add more documentation for devices<br>
doc: Document remaining cairo-device functions<br>
gl: Remove double ** from some comments<br>
doc: Add "@Since: 1.10" tags to device docs<br>
build: Get rid of $(foo_files) Makefile.am variables<br>
build: Fix C++ issues with automake<br>
gl: Use unsigned int instead of GLuint<br>
build: copy/paste failure: Don't build <a href="http://libcxx.la" target="_blank">libcxx.la</a><br>
build: Remove wrong flags from <a href="http://libcairo_cxx.la" target="_blank">libcairo_cxx.la</a><br>
build: fix glew include<br>
build: Commit new versions of autogenerate Windows build files<br>
build: Fix typo that makes C++ libs not build<br>
qt: Define cairo-qt's API as C symbols<br>
build: Split boilerplate lib generation into two so's<br>
check: Allow unprefix type names in the title<br>
doc: Make the necessity of flush/mark_dirty more obvious<br>
<br>
Chris Wilson (10):<br>
version: 1.9.9<br>
xlib: Compile without fontconfig<br>
xlib: Apply translation to image surface upload.<br>
user-font: Check the status before destroying the context<br>
subsurface: Don't assume we ever own the target.<br>
Convert mime data length to use unsigned long<br>
Make distcheck happy.<br>
test: Missing REFERENCE_IMAGES<br>
NEWS for 1.9.12.<br>
version: 1.9.12 snapshot<br>
<br>
Colin Walters (1):<br>
Support NOCONFIGURE environment variable<br>
<br>
Eric Anholt (1):<br>
gl: Only use a mat3 for the transformation for gradients coordinates.<br>
<br>
Kristian Høgsberg (1):<br>
gl: Add new cairo-gl surface constructor to create surface for texture<br>
<br>
M Joonas Pihlaja (9):<br>
build: Factor out a more pliable CAIRO_CC_TRY_LINK_WITH_ENV_SILENT.<br>
build: Purge CAIRO_CC_TRY_LINK_FLAG.<br>
build: Rework pthread detection.<br>
build: Fix regression provoked by newer autoconf and dodgy configuring.<br>
build: Fix typo in pthread test program.<br>
build: Avoid shifting shell parameters that aren't there.<br>
trace: Avoid stdbool.h C99ism.<br>
build: Sync up autogenerated win32 build files.<br>
test: Add comments explaining the bug in bug-seams.<br>
<br>
<br>
What is cairo<br>
=============<br>
Cairo is a 2D graphics library with support for multiple output<br>
devices. Currently supported output targets include the X Window<br>
System, quartz, win32, and image buffers, as well as PDF, PostScript,<br>
and SVG file output. Experimental backends include OpenGL, XCB, BeOS,<br>
OS/2, and DirectFB.<br>
<br>
Cairo is designed to produce consistent output on all output media<br>
while taking advantage of display hardware acceleration when available<br>
(for example, through the X Render Extension).<br>
<br>
The cairo API provides operations similar to the drawing operators of<br>
PostScript and PDF. Operations in cairo include stroking and filling<br>
cubic Bézier splines, transforming and compositing translucent images,<br>
and antialiased text rendering. All drawing operations can be<br>
transformed by any affine transformation (scale, rotation, shear,<br>
etc.).<br>
<br>
Cairo has been designed to let you draw anything you want in a modern<br>
2D graphical user interface. At the same time, the cairo API has been<br>
designed to be as fun and easy to learn as possible. If you're not<br>
having fun while programming with cairo, then we have failed<br>
somewhere---let us know and we'll try to fix it next time around.<br>
<br>
Cairo is free software and is available to be redistributed and/or<br>
modified under the terms of either the GNU Lesser General Public<br>
License (LGPL) version 2.1 or the Mozilla Public License (MPL) version<br>
1.1.<br>
<br>
Where to get more information about cairo<br>
=========================================<br>
The primary source of information about cairo is:<br>
<br>
<a href="http://cairographics.org/" target="_blank">http://cairographics.org/</a><br>
<br>
The latest versions of cairo can always be found at:<br>
<br>
<a href="http://cairographics.org/download" target="_blank">http://cairographics.org/download</a><br>
<br>
Documentation on using cairo and frequently-asked questions:<br>
<br>
<a href="http://cairographics.org/documentation" target="_blank">http://cairographics.org/documentation</a><br>
<a href="http://cairographics.org/FAQ" target="_blank">http://cairographics.org/FAQ</a><br>
<br>
Mailing lists for contacting cairo users and developers:<br>
<br>
<a href="http://cairographics.org/lists" target="_blank">http://cairographics.org/lists</a><br>
<br>
Roadmap and unscheduled things to do, (please feel free to help out):<br>
<br>
<a href="http://cairographics.org/roadmap" target="_blank">http://cairographics.org/roadmap</a><br>
<a href="http://cairographics.org/todo" target="_blank">http://cairographics.org/todo</a><br>
<font color="#888888"><br>
--<br>
Chris Wilson, Intel Open Source Technology Centre<br>
</font><br>_______________________________________________<br>
cairo-announce mailing list<br>
<a href="mailto:cairo-announce@lists.cairographics.org">cairo-announce@lists.cairographics.org</a><br>
<a href="http://lists.cairographics.org/mailman/listinfo/cairo-announce" target="_blank">http://lists.cairographics.org/mailman/listinfo/cairo-announce</a><br>--<br>
cairo mailing list<br>
<a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>
<a href="http://lists.cairographics.org/mailman/listinfo/cairo" target="_blank">http://lists.cairographics.org/mailman/listinfo/cairo</a><br></blockquote></div><br><br>