Commit graph

616 commits

Author SHA1 Message Date
Carl Worth
e533d2faeb Add a few more things that might be helpful when moving more files over from xserver. 2005-03-03 13:54:40 +00:00
Carl Worth
f482f2be49 Move definitions of MIN and MAX macros from ictrap.c to icint.h. 2005-03-03 13:52:49 +00:00
Carl Worth
76d89e8257 Remove dead "if (!format)" code which also makes things more in synch with the server's mitrap.c. 2005-03-03 13:47:04 +00:00
Carl Worth
15bb06aaa0 Restore original copyright and license which must have been inadvertently changed. 2005-03-03 13:36:30 +00:00
Carl Worth
b01798ea13 Fix comment to clarify that libpixman regards the xserver repository as its canonical upstream for some files. 2005-03-02 07:44:53 +00:00
Carl Worth
6d50e485fa Convert file encodings from ISO-8859 to UTF-8. 2005-03-02 07:43:33 +00:00
Carl Worth
2dcb6cd345 Note that cairo_output_stream_t patch has been reviewed. 2005-03-01 15:04:48 +00:00
Carl Worth
06bed80b9e Fix uninitialized value for status, (reported by Manish Singh). 2005-03-01 14:50:57 +00:00
Kristian Høgsberg
85db25b8a1 Fix this function again. Problem with signed/unsigned types reported by Jeff Muizelaar <jrmuizel@nit.ca>. 2005-02-27 11:21:39 +00:00
Kristian Høgsberg
db2eb5d4cb Remove newline in comment which was confusing gtk-doc.
Document these functions.
2005-02-27 11:02:48 +00:00
Carl Worth
cac994f1f8 Note that "user data" and "setters and getters" patches have been reviewed. Remove a few more TODO notes: cleanup cairo_snippets: DONE cairo_surface_finish: Now in API Shakeup snapping code: Decided against this 2005-02-25 14:06:19 +00:00
Carl Worth
f343b0b44a From David Reveman:
Rewrite to use cairo_bool_t for legibility.
2005-02-25 13:31:00 +00:00
Carl Worth
ebec6df7a7 From David Reveman:
Simplify code to eliminate a goto.
2005-02-25 13:03:42 +00:00
Carl Worth
03e7e13cb1 From David Reveman:
Clean up the mess that was the misnamed _cairo_gstate_create_pattern.
2005-02-25 12:58:49 +00:00
Carl Worth
1a043bbf26 Don't put an off-by-one n_stops into cairo_shader_op_t. (_cairo_shader_op_find_color_stops): Put search for two color stops containing a given offset into its own function. Handle the case of before first and after last stop by returning the nearest stop twice. (_cairo_pattern_calc_color_at_pixel): Handle case of no color stops by returning a transparent pixel. 2005-02-25 12:52:47 +00:00
Owen Taylor
8ad3ab22e4 Remove a left-over debug printf. 2005-02-24 15:48:07 +00:00
Carl Worth
aca0708fc8 Fix memory leak when realloc fails due to out-of-memory. 2005-02-24 14:06:03 +00:00
Owen Taylor
a64b7e51ee Instead of counting on ordering deletion to work (apparently it didn't on older Windows), save the initial bitmap created with the DC and reselect that into the DC. (Based on a patch by Hans Breuer) 2005-02-24 12:51:33 +00:00
Carl Worth
de7d69aff9 Add pixman_rotate to ignore list. 2005-02-24 12:30:23 +00:00
Carl Worth
04fefd1b28 Fixes from David Reveman with minor cleanups by Carl Worth:
Handle new failure possibility of _cairo_gstate_init. (_cairo_gstate_init): Handle possible failure of _cairo_pattern_create_solid. (_cairo_gstate_set_pattern): Reference new pattern before destroying existing pattern to handle the case where they are the same. (_cairo_gstate_set_rgb_color): Handle possible failure of _cairo_pattern_create_solid.
2005-02-24 12:28:51 +00:00
Carl Worth
12d19423f6 Fix typo (pointed out by Kristian Høgsberg). 2005-02-24 10:09:44 +00:00
Owen Taylor
724cf1ce71 When we created a DC/bitmap pair, delete the DC before the Bitmap so that the Bitmap will be released from the DC and can be destroyed. (Reported by Hans Breuer)
configure.in cairo.pc.in: Only require fontconfig if building FreeType font backend.
Fix output when reporting Win32 font backend.
2005-02-24 08:20:14 +00:00
Carl Worth
b210c00c30 Remove many TODO items that have now been absorbed by the API shakeup. Remove comparison with PostScript as there's nothing interesting there left unimplemented, (and cairo is already establishing its own conventions in naming and behavior that deviate from PostScript). 2005-02-24 08:07:39 +00:00
Carl Worth
77826a9756 Fix typo (pointed out by Mike Emmel) 2005-02-24 07:39:20 +00:00
Carl Worth
748115a88d Add entries from API Shakeup. 2005-02-23 14:56:55 +00:00
Carl Worth
dcfb0d8a2b Switch from broken cworth@isi.edu address to canonical cworth@cworth.org address. 2005-02-22 11:35:03 +00:00
Carl Worth
604e333be2 Convert to utf-8 encoding. 2005-02-22 11:32:02 +00:00
Carl Worth
6b537f2466 Temporarily disable XCB backend by default. 2005-02-22 10:43:26 +00:00
Carl Worth
272df99aab Add only-just-better-than-ASCII-art diagram showing all macros used in locating sub-pixel sample rows/columns.
Add missing protective parentheses around macro parameter usage.
2005-02-21 13:29:22 +00:00
Carl Worth
6d70b286f5 Move definition of __inline for non-gcc from ic.c to icint.h so it applies to more code in the implementation. 2005-02-21 12:57:27 +00:00
Carl Worth
30a02c8e17 Revert accidental commit. 2005-02-21 08:22:47 +00:00
Carl Worth
c8a98b109a Fix y offset to use dst_y instead of dst_x, (caught by David Reveman). 2005-02-21 08:17:42 +00:00
Owen Taylor
81fd7e53e3 Fix line endings (reported by Hans Breuer) 2005-02-20 18:19:10 +00:00
Kristian Høgsberg
d106bb2f3c Patches from Mike Owens <etc@filespanker.com>:
Free rows if we fail early in this function.
Clean up path if we run out of memory.
2005-02-16 09:34:47 +00:00
Carl Worth
8c8ced2573 Added testsvg script 2005-02-15 15:07:25 +00:00
Kristian Høgsberg
9597c0b791 Initialize array element size correctly. 2005-02-13 20:36:28 +00:00
Kristian Høgsberg
0502a5a63c Patches from Owen Taylor:
Emit text as octal escapes, to avoid problems with \, \r, ), etc. (_cairo_pdf_document_write_fonts): Change /Flags to be 4 (symbolic), not 32 (non-symbolic), otherwise acroread gets confuse. (cairo_pdf_ft_font_write_cmap_table): Use a 1,0 cmap subtable, not a 0,0, to conform to the PDF spec.
2005-02-13 12:41:42 +00:00
Carl Worth
2cd01deb4d Use LC_NUMERIC=C so that decimal separator works in version checks. 2005-02-13 11:57:52 +00:00
Owen Taylor
d4ae84f397 Fix x2/x1 typo. 2005-02-12 18:23:04 +00:00
Carl Worth
f3f63f3924 Return all-zero extents if string is NULL. 2005-02-12 13:01:39 +00:00
Kristian Høgsberg
b33f37ff04 Make clipping fast path fast. When we have a clipping region set, intersect it against the drawing extents to determine the bounding box for the visible drawing. 2005-02-12 12:59:53 +00:00
Carl Worth
063ba1f51d Add bug for cairo_show_surface under non-default CTM. 2005-02-10 07:46:46 +00:00
Kristian Høgsberg
0c07ddf729 Argh, committed conflict marker in ChangeLog - fixed. 2005-02-07 10:15:46 +00:00
Kristian Høgsberg
7296349eaa New test case which exposes off-by-one rotation error in pixman. 2005-02-07 09:38:43 +00:00
Owen Taylor
67ffc273ef src/cairo_gstate.c src/cairo.c: Allow cairo_set_font (cr, NULL) to unset the current font and return the cairo_t to the the "use the font from cairo_select_font() state". 2005-02-06 15:07:17 +00:00
Owen Taylor
b93f42fae1 Return the right status. (Reported by Hans Breuer.) 2005-02-06 12:00:28 +00:00
Owen Taylor
991ac7bacc Add AC_PREREQ(2.54) to help the Debian auto-guess-which-configure-version hack. 2005-02-06 11:51:07 +00:00
Owen Taylor
092c5ca558 Free glyph_indices, not glyphs. (Reported by Hans Breuer.) 2005-02-05 21:42:47 +00:00
Carl Worth
eb01786729 Add message stating why glitz backend is disabled. 2005-02-05 17:17:19 +00:00
Owen Taylor
b0ee983a7d Don't free *glyphs when succeeding! (Reported by Øyvind Kolås)
Temporarily disable glitz by default.
2005-02-05 17:01:29 +00:00