summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-07-05ps: Set error when extracting from finished surfaceBenjamin Otte1-0/+10
Caught by api-special-cases test
2010-07-05pdf: Set error when extracting from finished surfaceBenjamin Otte1-0/+10
Caught by api-special-cases test
2010-07-05gl: Fail properly when called with finished functionsBenjamin Otte1-1/+11
Caught by api-special-cases test
2010-07-05test: Add gl functions to the testsBenjamin Otte1-1/+38
2010-07-05Call _cairo_error() when setting the FINISHED error on surfacesBenjamin Otte2-7/+7
2010-07-05tee: Add proper error handlingBenjamin Otte1-0/+15
Caught by api-special-cases
2010-07-05test: Add recording and tee surface functions to api-special-casesBenjamin Otte1-0/+44
2010-07-05test: add PNG functionsBenjamin Otte1-0/+36
2010-07-05test: Add a non-error surface checkBenjamin Otte1-0/+36
In that check, we call functions that require a specific surface type with surfaces of a different type and check that they don't crash and set the correct error.
2010-07-05test: add image surface functions to api-special-cases testBenjamin Otte1-24/+66
2010-07-05test: Add a new test variant to api-special-cases testBenjamin Otte1-0/+35
This variant tests a (hopefully) inert error surface.
2010-07-05configure: remove doltBenjamin Otte3-182/+2
libtool should be fast by now
2010-07-05subsurface: Fail if created from a finished surfaceBenjamin Otte1-0/+2
Caught by api-special-cases test
2010-07-05surface: Fail if set_mime_data() is called on a finished surfaceBenjamin Otte1-0/+2
Caught by api-special-cases test
2010-07-05surface: Fail early if create_similar() is called on a finished surfaceBenjamin Otte1-0/+2
Caught by api-special-cases test
2010-07-05surface: don't call begin_modification on finished surfacesBenjamin Otte1-2/+2
Fixes https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/600622 Caught by api-special-cases test
2010-07-05tests: Add a testcase that checks APIs work consistentlyBenjamin Otte3-0/+361
In particular, it checks that finished and surfaces in an error state do not do bad things, like cause crashes. So far this test only checks surface APIs, but it should be extended to cover all APIs. Please update this test when new APIs get added. Motivated by https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/600622
2010-07-05configure: Use automake silent rulesBenjamin Otte1-0/+1
This replaces shave usage. If silent rules are not available, don't use them.
2010-07-05configure: remove shaveBenjamin Otte5-234/+0
2010-07-03perf: print comment describing backendBenjamin Otte1-1/+30
Use the descibe string to output information about the backend we're testing.
2010-07-03boilerplate: Add describe stringBenjamin Otte1-3/+18
Print the pixman version we're using
2010-07-03gl: Add describe stringBenjamin Otte1-4/+25
2010-07-03boilerplate: Add a describe vfuncBenjamin Otte22-34/+80
This function is supposed to describe the backend in use. The describe function is optional - and therefore initialized as NULL everywhere. Note: It is well known that the xlib backend uses X. What is not known is what version the server supports or what graphics card it is running on. That is the information the describe vfunc is supposed to provide.
2010-07-02user-font: Check the status before destroying the contextChris Wilson1-2/+2
2010-07-02xlib: Apply translation to image surface upload.Chris Wilson1-5/+8
Fixes: Bug 28888 - cairo_paint with rgb images does not work correctly https://bugs.freedesktop.org/show_bug.cgi?id=28888
2010-06-30user-font: correct handling of size 0 textAndrea Canciani4-27/+50
Text with size 0 has a singular scale matrix, thus requires special handling to avoid invalidating the context where it is used. Fixes pthread-show-text and text-zero-len (they failed with assertion when ran using the user font backend).
2010-06-29user-font: ignore translation in scale matrixAndrea Canciani1-1/+5
Currently the translation component of the scaled_font scale matrix is applied by gstate and only linear components should be applied in font backends. Fixes font-matrix-translation (when using user-font as font backend).
2010-06-28ft-font: fix typoAndrea Canciani1-1/+1
2010-06-28xlib: Compile without fontconfigChris Wilson5-23/+80
Create a cairo-fontconfig-private.h where we can add the missing defines in a common location rather than in the body of the code.
2010-06-28quartz: remove unused declarationsAndrea Canciani1-17/+0
2010-06-28quartz: remove unused os version infoAndrea Canciani1-7/+0
It was previously used to activate a workaround for text transformation whenrunning on some os versions. Now the workaround is not needed anymore.
2010-06-28quartz-font: correct and explain matrix computationsAndrea Canciani1-7/+6
glyph_path was taking into account the translation (which currently is already applied in gstate) and the sign of the elements of the matrices was not explained.
2010-06-28quartz: check return statusAndrea Canciani1-4/+4
If the font backend is unable to tell the extents of the operation, consider it unbound.
2010-06-28quartz: improve text transform handlingAndrea Canciani1-34/+12
Use scale instead of manually compositing font_matrix and ctm and composite it with the context ctm, so that no workaround for clipping is needed anymore.
2010-06-28quartz-font: silence compiler warningsAndrea Canciani1-54/+30
Remove an unused function, explicitly ignore or check return values, don't define unused variables.
2010-06-26version: 1.9.9Chris Wilson1-1/+1
Post-snapshot bump.
2010-06-26test: Missing ref image.1.9.10Chris Wilson1-0/+1
2010-06-26version: 1.9.10Chris Wilson1-1/+1
2010-06-26NEWS for 1.9.10 snapshotChris Wilson1-0/+28
2010-06-26Regenerate default win32 headers.Chris Wilson3-17/+0
2010-06-25pop-group: Translate existing path properlyBenjamin Otte1-3/+5
This fixes the reverse case of the push_group case fixed a few commits ago.
2010-06-25test: improve push-group-path-offset to also catch the pop_group() caseBenjamin Otte1-29/+16
cairo_pop_group() also trasnforms the path wrong, so we use cairo_fill() to copy data instead of cairo_paint(). (Also, unbust the testcase.)
2010-06-25push-group: Fix path translation when pushing a group with device offsetsBenjamin Otte1-2/+3
With the previous code, the parent's device offset wasn't undone before applying the new device offset. Tested by push-group-path-offset test.
2010-06-25test: Add a new test for a bug with device-offset testsBenjamin Otte3-0/+91
All the credit for this one goes to make distcheck
2010-06-24drm/intel: Fix common off-by-one by rewriting the [XY]MAX macro.Chris Wilson4-27/+15
Many rectangles in the command stream are specified as inclusive rects, i.e. the max values are (width-1, height-1), which is easy to neglect.
2010-06-24drm: _cairo_color_get_content() compilation fixesChris Wilson3-7/+3
2010-06-24build: Added cairo deflate stream as a requirement for the script surface.Zoxc1-0/+3
2010-06-24whitespace: Fixup formal arguments and tabs in boilerplate/ and perf/.M Joonas Pihlaja42-746/+850
Ran a script to align the formal parameters of functions and collapse spaces to tabs in code.
2010-06-24boilerplate: Remove the xlib-window target from Renderless builds.M Joonas Pihlaja1-2/+2
I don't know why _cairo_boilerplate_xlib_window_create_surface() is in the Render-only section of the code, but since it is, this patch makes the boilerplate at least compile if we don't have Render support built in.
2010-06-24test: Fix typo in copyright statementSøren Sandmann Pedersen1-1/+1