cairo 1.4.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of cairo might be problematic. Click here for more details.

data/AUTHORS ADDED
@@ -0,0 +1,4 @@
1
+ Evan Marin <martine@danga.com>
2
+ Øyvind Kolås <oeyvindk@hig.no>
3
+ MenTaLguY <mental@rydia.net>
4
+ Kouhei Sutou <kou@cozmixng.org>
data/COPYING ADDED
@@ -0,0 +1,59 @@
1
+ Rcairo is copyrighted free software by the persons listed in AUTHORS
2
+ distributed under the same conditions as ruby; which follow:
3
+
4
+ Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
5
+ You can redistribute it and/or modify it under either the terms of the GPL
6
+ (see the file GPL), or the conditions below:
7
+
8
+ 1. You may make and give away verbatim copies of the source form of the
9
+ software without restriction, provided that you duplicate all of the
10
+ original copyright notices and associated disclaimers.
11
+
12
+ 2. You may modify your copy of the software in any way, provided that
13
+ you do at least ONE of the following:
14
+
15
+ a) place your modifications in the Public Domain or otherwise
16
+ make them Freely Available, such as by posting said
17
+ modifications to Usenet or an equivalent medium, or by allowing
18
+ the author to include your modifications in the software.
19
+
20
+ b) use the modified software only within your corporation or
21
+ organization.
22
+
23
+ c) give non-standard binaries non-standard names, with
24
+ instructions on where to get the original software distribution.
25
+
26
+ d) make other distribution arrangements with the author.
27
+
28
+ 3. You may distribute the software in object code or binary form,
29
+ provided that you do at least ONE of the following:
30
+
31
+ a) distribute the binaries and library files of the software,
32
+ together with instructions (in the manual page or equivalent)
33
+ on where to get the original distribution.
34
+
35
+ b) accompany the distribution with the machine-readable source of
36
+ the software.
37
+
38
+ c) give non-standard binaries non-standard names, with
39
+ instructions on where to get the original software distribution.
40
+
41
+ d) make other distribution arrangements with the author.
42
+
43
+ 4. You may modify and include the part of the software into any other
44
+ software (possibly commercial). But some files in the distribution
45
+ are not written by the author, so that they are not under these terms.
46
+
47
+ For the list of those files and their copying conditions, see the
48
+ file LEGAL.
49
+
50
+ 5. The scripts and library files supplied as input to or produced as
51
+ output from the software do not automatically fall under the
52
+ copyright of the software, but belong to whomever generated them,
53
+ and may be sold commercially, and may be aggregated with this
54
+ software.
55
+
56
+ 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
57
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
58
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
59
+ PURPOSE.
data/ChangeLog ADDED
@@ -0,0 +1,792 @@
1
+ 2007-03-10 Kouhei Sutou <kou@cozmixng.org>
2
+
3
+ * NEWS: added 1.4.1 entry.
4
+
5
+ * pkg-config.rb: re-added.
6
+
7
+ * src/rb_cairo.c (Cairo::BINDINGS_VERSION): 1.6.0 -> 1.4.1 for
8
+ releasing 1.4.1.
9
+
10
+ 2007-03-06 Kouhei Sutou <kou@cozmixng.org>
11
+
12
+ * src/rb_cairo.c (Cairo::BINDINGS_VERSION): 1.4.0 -> 1.6.0.
13
+
14
+ * dist.sh: added release script.
15
+
16
+ * NEWS: added 1.4.0 entry.
17
+
18
+ * src/rb_cairo_context.c (cr_get_scaled_font): checked cairo
19
+ version.
20
+
21
+ * setup.rb: removed dependency on setup.rb. used Ruby-GNOME2
22
+ style.
23
+
24
+ * extconf.rb: moved from packages/cairo/ext/.
25
+
26
+ * packages/cairo/ext: move to ...
27
+ * src/: ... here.
28
+
29
+ * packages/cairo/lib: move to ...
30
+ * src/lib: ... here.
31
+
32
+ * README, samples/: followed the changes.
33
+
34
+ 2007-03-03 Kouhei Sutou <kou@cozmixng.org>
35
+
36
+ * packages/cairo/ext/rb_cairo_context.c: supported cairo 1.3.16.
37
+
38
+ * packages/cairo/ext/rb_cairo.h: cleanup.
39
+
40
+ * packages/cairo/ext/rb_cairo_scaled_font.c
41
+ (rb_cairo_scaled_font_to_ruby_object): fixed a conversion bug.
42
+
43
+ * packages/cairo/ext/rb_cairo_constants.c
44
+ (Cairo::SURFACE_TYPE_OS2): added.
45
+
46
+ 2007-02-25 Kouhei Sutou <kou@cozmixng.org>
47
+
48
+ * packages/cairo/lib/cairo.rb: supported Ruby-GNOME2 GUI Installer
49
+ for Win32.
50
+ Thanks to Masao Mutoh!
51
+
52
+ 2007-02-04 Kouhei Sutou <kou@cozmixng.org>
53
+
54
+ * packages/cairo/ext/rb_cairo_surface.c: the first argument of
55
+ Cairo::ImageSurface#initialize, cairo_format_t, is optional.
56
+ * samples/*.rb: followed the change.
57
+
58
+ 2007-01-21 Kouhei Sutou <kou@cozmixng.org>
59
+
60
+ * packages/cairo/ext/rb_cairo_context.c: supported cairo 1.3.12.
61
+
62
+ 2007-01-08 Kouhei Sutou <kou@cozmixng.org>
63
+
64
+ * samples/text2.rb (render_layout): used
65
+ Pango::LayoutIter#line_extents and Pango::LayoutIter#line_yrange.
66
+
67
+ 2007-01-02 Kouhei Sutou <kou@cozmixng.org>
68
+
69
+ * packages/cairo/ext/rb_cairo_context.c: cached Ruby object for
70
+ source.
71
+
72
+ 2007-01-01 Kouhei Sutou <kou@cozmixng.org>
73
+
74
+ * samples/text2.rb: used Pango::LayoutIter.
75
+
76
+ 2006-12-30 Kouhei Sutou <kou@cozmixng.org>
77
+
78
+ * packages/cairo/ext/rb_cairo_pattern.c: Cairo::GradientPattern#[]
79
+ -> Cairo::GradientPattern#get_color_stop.
80
+
81
+ 2006-12-29 Kouhei Sutou <kou@cozmixng.org>
82
+
83
+ * packages/cairo/ext/rb_cairo_context.c: keep reference of Ruby
84
+ object for the surface in the context.
85
+
86
+ * packages/cairo/ext/rb_cairo_surface.c:
87
+ - use file output functions provided by cairo.
88
+ - hold output target reference in surface.
89
+
90
+ 2006-12-28 Kouhei Sutou <kou@cozmixng.org>
91
+
92
+ * packages/cairo/ext/rb_cairo.c (Cairo::BINDINGS_VERSION):
93
+ 1.2.0 -> 1.4.0.
94
+
95
+ 2006-12-22 Kouhei Sutou <kou@cozmixng.org>
96
+
97
+ * packages/cairo/ext/rb_cairo_context.c,
98
+ packages/cairo/ext/rb_cairo_surface.c,
99
+ packages/cairo/ext/rb_cairo_pattern.c,
100
+ packages/cairo/ext/rb_cairo_exception.c,
101
+ packages/cairo/ext/rb_cairo_constants.c,
102
+ packages/cairo/ext/rb_cairo_pattern.c,
103
+ packages/cairo/ext/rb_cairo_private.h: supported cairo 1.3.8.
104
+
105
+ 2006-12-19 Kouhei Sutou <kou@cozmixng.org>
106
+
107
+ * packages/cairo/ext/rb_cairo_pattern.c:
108
+ - moved Cairo::SurfacePattern#{extend,filter}{,=} to
109
+ Cairo::Pattern. I can't remember why I defined them in
110
+ Cairo::SurfacePattern...
111
+ - defined Cairo::Pattern#__extend__ as alias of Object#extend to
112
+ avoid discarding.
113
+
114
+ 2006-12-15 Kouhei Sutou <kou@cozmixng.org>
115
+
116
+ * packages/cairo/lib/cairo/context/path.rb: ported Pango's
117
+ cairotwisted example as library.
118
+ * samples/text-on-path.rb: ported Pango's cairotwisted example by
119
+ using the library.
120
+
121
+ 2006-11-27 Kouhei Sutou <kou@cozmixng.org>
122
+
123
+ * packages/cairo/ext/rb_cairo.h (CAIRO_CHECK_VERSION): added.
124
+
125
+ * packages/cairo/ext/rb_cairo_surface.c: moved #write_to_png to
126
+ Cairo::Surface from Cairo::ImageSurface.
127
+
128
+ 2006-11-09 Kouhei Sutou <kou@cozmixng.org>
129
+
130
+ * packages/cairo/lib/cairo.rb, packages/cairo/lib/cairo/context/,
131
+ packages/cairo/lib/cairo/context.rb: split Cairo::Context
132
+ extensions with each file under packages/cairo/lib/cairo/context/
133
+ directory.
134
+
135
+ 2006-10-25 Kouhei Sutou <kou@cozmixng.org>
136
+
137
+ * packages/cairo/ext/rb_cairo_context.c (cr_clip)
138
+ (cr_clip_preserve): supported block.
139
+
140
+ 2006-10-22 NANKI Haruo <nanki@dotswitch.net>
141
+
142
+ * packages/cairo/ext/rb_cairo_path.c (cr_path_each): fixed
143
+ a conversion bug.
144
+
145
+ 2006-10-20 Kouhei Sutou <kou@cozmixng.org>
146
+
147
+ * packages/cairo/ext/rb_cairo_context.c (cr_select_font_face):
148
+ made slang and weight arguments of Cairo::Context#select_font_face
149
+ optional.
150
+
151
+ * samples/text2.rb: added --fade-out option.
152
+
153
+ 2006-10-15 Kouhei Sutou <kou@cozmixng.org>
154
+
155
+ * packages/cairo/ext/rb_cairo.c (Cairo::BINDINGS_VERSION): moved
156
+ from ...
157
+ * packages/cairo/lib/cairo.rb: ... here.
158
+
159
+ * packages/cairo/lib/cairo.rb: moved Cairo.__add_one_arg_setter
160
+ call to ...
161
+ * packages/cairo/ext/rb_cairo.c, packages/cairo/ext/rb_cairo.h,
162
+ packages/cairo/ext/rb_cairo_context.c,
163
+ packages/cairo/ext/rb_cairo_font_options.c,
164
+ packages/cairo/ext/rb_cairo_glyph.c,
165
+ packages/cairo/ext/rb_cairo_matrix.c,
166
+ packages/cairo/ext/rb_cairo_pattern.c,
167
+ packages/cairo/ext/rb_cairo_surface.c: ... here.
168
+
169
+ 2006-10-15 Mathieu Blondel <mathieu@mblondel.org>
170
+
171
+ * packages/cairo/lib/cairo.rb (Cairo::Context#quad_to,
172
+ Cairo::Context#rel_quad_to): followed the current API:
173
+ get_point -> current_point.
174
+
175
+ 2006-07-11 Kouhei Sutou <kou@cozmixng.org>
176
+
177
+ * packages/cairo/ext/rb_cairo_constants.c: added a check whether
178
+ SVG surface is available or not.
179
+
180
+ 2006-07-01 Kouhei Sutou <kou@cozmixng.org>
181
+
182
+ * NEWS: added 1.2.0 entry.
183
+
184
+ 2006-07-01 Kouhei Sutou <kou@cozmixng.org>
185
+
186
+ * README: supported only 1.2.0 or higher.
187
+ * packages/cairo/ext/extconf.rb: ditto.
188
+
189
+ * packages/cairo/ext/cairo.def: added
190
+ rb_cairo_svg_version_from_ruby_object().
191
+
192
+ * packages/cairo/ext/rb_cairo.c (Init_cairo): initialize constants
193
+ before other modules.
194
+
195
+ * packages/cairo/ext/rb_cairo.h:
196
+ - include all available header files.
197
+ - supported cairo_svg_version_t.
198
+
199
+ * packages/cairo/ext/rb_cairo_constants.c: supported
200
+ cairo_svg_surface_t.
201
+
202
+ * packages/cairo/ext/rb_cairo_surface.c: supported missing
203
+ functions in cairo-ps.h, cairo-pdf.h and cairo-svg.h.
204
+
205
+ * packages/cairo/lib/cairo.rb
206
+ (Cairo::SVGSurface.versions_as_string): added convenience method.
207
+
208
+ 2006-06-27 Kouhei Sutou <kou@cozmixng.org>
209
+
210
+ * packages/cairo/ext/rb_cairo_surface.c: use cairo_surface_type_t
211
+ for Ruby <-> C surface conversion.
212
+
213
+ * packages/cairo/ext/rb_cairo_context.c (cr_push_group): changed
214
+ default arguments handling to
215
+ push_group(content=nil, pop_to_source=true)
216
+ from
217
+ push_group(content=nil, pop_to_source=false)
218
+
219
+ * packages/cairo/ext/rb_cairo.c: fixed Cairo::VERSION.
220
+
221
+ 2006-06-25 Kouhei Sutou <kou@cozmixng.org>
222
+
223
+ * README, packages/cairo/ext/extconf.rb: supported only 1.1.10 or
224
+ higher.
225
+
226
+ * packages/cairo/ext/rb_cairo_constants.c: supported
227
+ CAIRO_FORMAT_RGB16_565.
228
+
229
+ * packages/cairo/ext/rb_cairo_surface.c:
230
+ - supported cairo_surface_get_content(),
231
+ cairo_surface_set_fallback_resolution(),
232
+ cairo_image_surface_get_data(),
233
+ cairo_image_surface_get_format() and
234
+ cairo_image_surface_get_stride().
235
+ - removed cairo_ps_surface_set_dpi(),
236
+ cairo_pdf_surface_set_dpi() and cairo_svg_surface_set_dpi()
237
+ support.
238
+
239
+ * samples/png.rb: added Cairo::ImageSurface#data sample.
240
+
241
+ 2006-06-01 Kouhei Sutou <kou@cozmixng.org>
242
+
243
+ * samples/text2.rb: added an example that output PS/PDF/SVG for
244
+ input text.
245
+
246
+ 2006-05-31 Kouhei Sutou <kou@cozmixng.org>
247
+
248
+ * README, packages/cairo/ext/extconf.rb: supported only 1.1.6 or
249
+ higher.
250
+
251
+ * packages/cairo/ext/rb_cairo_context.c: supported
252
+ cairo_push_group(), cairo_push_group_with_content(),
253
+ cairo_pop_group(), cairo_pop_group_to_source() and
254
+ cairo_get_group_target().
255
+
256
+ * packages/cairo/ext/rb_cairo_exception.c: supported
257
+ CAIRO_STATUS_INVALID_DSC_COMMENT.
258
+
259
+ * packages/cairo/ext/rb_cairo_surface.c: supported
260
+ cairo_surface_get_device_offset().
261
+
262
+ 2006-05-11 Kouhei Sutou <kou@cozmixng.org>
263
+
264
+ * packages/cairo/lib/cairo.rb: fixed typo.
265
+
266
+ 2006-05-02 Kouhei Sutou <kou@cozmixng.org>
267
+
268
+ * packages/cairo/ext/rb_cairo.c (Cairo::MINOR_VERSION): fixed
269
+ cairo_version() decoding bug.
270
+
271
+ * README, packages/cairo/ext/extconf.rb: supported only 1.1.2 or
272
+ higher.
273
+
274
+ * packages/cairo/ext/rb_cairo_surface.c: supported
275
+ cairo_surface_get_type().
276
+
277
+ * packages/cairo/ext/rb_cairo_scaled_font.c: supported
278
+ cairo_scaled_font_get_type(), cairo_scaled_font_text_extents(),
279
+ cairo_scaled_font_get_font_face(),
280
+ cairo_scaled_font_get_font_matrix(),
281
+ cairo_scaled_font_get_ctm() and
282
+ cairo_scaled_Font_get_font_options().
283
+
284
+ * packages/cairo/ext/rb_cairo_pattern.c: supported
285
+ cairo_pattern_get_type().
286
+
287
+ * packages/cairo/ext/rb_cairo_font_face.c: supported
288
+ cairo_font_face_get_type().
289
+
290
+ * packages/cairo/ext/rb_cairo_context.c: supported
291
+ cairo_new_sub_path() and cr_set_scaled_font().
292
+
293
+ * packages/cairo/ext/rb_cairo_constants.c: supported new enums.
294
+ - cairo_font_type_t
295
+ - cairo_surface_type_t
296
+ - cairo_pattern_type_t
297
+ - CAIRO_EXTEND_PAD
298
+
299
+ 2006-05-01 Kouhei Sutou <kou@cozmixng.org>
300
+
301
+ * packages/cairo/ext/rb_cairo_surface.c: supported
302
+ Cairo::SVGSurface.
303
+
304
+ * samples/scalable.rb:
305
+ - created by merging ps.rb, ps2.rb, pdf.rb and pdf2.rb.
306
+ - added Cairo::SVGSurface example.
307
+ * samples/ps.rb, samples/ps2.rb, samples/pdf.rb, samples/pdf2.rb:
308
+ merged into scalable.rb.
309
+
310
+ * samples/pac.rb, samples/pac2.rb: added Cairo::SVGSurface
311
+ example.
312
+
313
+ 2005-12-18 Kouhei Sutou <kou@cozmixng.org>
314
+
315
+ * packages/cairo/lib/cairo.rb (Cairo::Context#rounded_rectangle):
316
+ processed h and height same as the one of
317
+ Cairo::Context#rectangle.
318
+
319
+ * samples/pac1.rb, samples/pac2.rb: followed the above change.
320
+
321
+ 2005-10-18 Kouhei Sutou <kou@cozmixng.org>
322
+
323
+ * packages/cairo/ext/rb_cairo_surface.c: Not compile cr_closure
324
+ functions if PS/PDF surface isn't supported.
325
+
326
+ * samples/pac.rb: Use Cairo::Context#fill_preserve.
327
+ * samples/pac2.rb: ditto.
328
+
329
+ 2005-10-17 Kouhei Sutou <kou@cozmixng.org>
330
+
331
+ * packages/cairo/lib/cairo.rb
332
+ (Cairo::Context#rounded_rectangle, Cairo::Context#circle):
333
+ Added convenience methods.
334
+
335
+ * samples/pac.rb: Port PDF::Writer sample.
336
+ * samples/pac2.rb: ditto.
337
+
338
+ * packages/cairo/ext/rb_cairo_context.c: Fixed wrong number of
339
+ argument of Cairo::Context#identity_matrix.
340
+
341
+ 2005-10-16 Ilmari Heikkinen <kig@misfiring.net>
342
+
343
+ * packages/cairo/ext/rb_cairo_context.c (cr_get_font_options):
344
+ Fixed segmentation fault. Use cairo_font_options_create().
345
+ * packages/cairo/ext/rb_cairo_surface.c
346
+ (cr_surface_get_font_options): ditto.
347
+
348
+ * packages/cairo/ext/rb_cairo_constants.c: Fixed
349
+ typo. ANTIALIAS_NONO -> ANTIALIAS_NONE.
350
+
351
+ 2005-10-16 Kouhei Sutou <kou@cozmixng.org>
352
+
353
+ * NEWS: Added release 1.0.0.
354
+
355
+ 2005-10-15 Kouhei Sutou <kou@cozmixng.org>
356
+
357
+ * packages/cairo/ext/rb_cairo_context.c: Use StringValuePtr
358
+ instead of STR2CSTR.
359
+
360
+ * packages/cairo/ext/rb_cairo_surface.c: Supported PS/PDF surface.
361
+ * samples/ps.rb, samples/ps2.rb: Added PS surface sample.
362
+ * samples/pdf.rb, samples/pdf2.rb: Added PDF surface sample.
363
+
364
+ 2005-10-13 Kouhei Sutou <kou@cozmixng.org>
365
+
366
+ * packages/cairo/ext/rb_cairo_surface.c: Fixed a SEGV bug caused
367
+ by Ruby's GC.
368
+ (cr_image_surface_create_from_png_generic): Fixed a memory leak
369
+ bug.
370
+
371
+ * packages/cairo/ext/rb_cairo_pattern.c: Added
372
+ Cairo::GradientPattern#add_color_stop_rgb and
373
+ Cairo::GradientPattern#add_color_stop for convenience.
374
+
375
+ 2005-10-12 Kouhei Sutou <kou@cozmixng.org>
376
+
377
+ * samples/png.rb: Use Cairo::Context#set_source_rgb instead of
378
+ Cairo::Context#set_source.
379
+
380
+ * packages/cairo/ext/rb_cairo_context.c (cr_set_source_rgb):
381
+ Re-implemented for backward compatibility.
382
+
383
+ * samples/png.rb: Use Cairo::Context#set_source_rgba instead of
384
+ Cairo::Context#set_source.
385
+
386
+ * packages/cairo/ext/rb_cairo_surface.c
387
+ (cr_image_surface_create_from_png_generic): Set class of the
388
+ surface.
389
+
390
+ * packages/cairo/ext/rb_cairo_context.c (cr_set_source_generic):
391
+ Fixed wrong variable name.
392
+
393
+ 2005-10-11 Kouhei Sutou <kou@cozmixng.org>
394
+
395
+ * packages/cairo/ext/rb_cairo_context.c: Provided
396
+ Cairo::Context#set_soruce_rgba.
397
+ (cr_arc_negative, cr_arc): cx -> xc and cy -> yc.
398
+
399
+ * packages/cairo/ext: Extracted Ruby object -> enum type codes.
400
+
401
+ * packages/cairo/ext/rb_cairo_pattern.c
402
+ (cr_gradient_pattern_add_color_stop_rgba): Renamed from
403
+ cr_gradient_pattern_add_color_stop.
404
+
405
+ 2005-10-10 Øyvind Kolås <pippin@gimp.org>
406
+
407
+ * packages/cairo/ext/rb_cairo_pattern.c:
408
+ (cr_gradient_pattern_add_color_stop): Make the code work when not
409
+ passing the color as an array as well.
410
+
411
+ 2005-10-11 Kouhei Sutou <kou@cozmixng.org>
412
+
413
+ * packages/cairo/ext/rb_cairo.c: Added cairo version info.
414
+
415
+ * packages/cairo/lib/cairo.rb: Added bindings version info as
416
+ 1.0.0-beta.
417
+
418
+ * samples/canvas: Removed.
419
+
420
+ * packages/cairo/ext/: Added CVS keywords.
421
+
422
+ * packages/cairo/ext/rb_cairo_context.c: Renamed 'xform'.
423
+ * packages/cairo/ext/rb_cairo_font_face.c: ditto.
424
+ * packages/cairo/ext/rb_cairo_glyph.c: ditto.
425
+ * packages/cairo/ext/rb_cairo_matrix.c: ditto.
426
+
427
+ * packages/cairo/ext/rb_cairo_private.c: Changed prefix to
428
+ 'rb_cairo__' from 'cr__'.
429
+ * packages/cairo/ext/rb_cairo_matrix.c: ditto.
430
+ * packages/cairo/ext/rb_cairo_context.c: ditto.
431
+ * packages/cairo/ext/rb_cairo_private.h: ditto.
432
+
433
+ * packages/cairo/ext/rb_cairo_glyph.c:
434
+ - Use Cairo::Glyph#initialize instead of Cairo::Glyph.new.
435
+ - Added Cairo::Glyph#to_s.
436
+
437
+ * packages/cairo/ext/rb_cairo_font_extents.c:
438
+ - Removed Cairo::FontExtents.new.
439
+ - Added Cairo::FontExtents#to_s.
440
+
441
+ * packages/cairo/ext/rb_cairo_text_extents.c:
442
+ - Removed Cairo::TextExtents.new.
443
+ - Added Cairo::TextExtents#to_s.
444
+
445
+ 2005-10-10 Kouhei Sutou <kou@cozmixng.org>
446
+
447
+ * packages/cairo/ext/rb_cairo_constants.c: Supported all constants.
448
+
449
+ * packages/cairo/ext/rb_cairo_matrix.c: Added a utility method.
450
+
451
+ * packages/cairo/lib/cairo.rb: Remove deprecated API.
452
+
453
+ * packages/cairo/ext/rb_cairo_matrix.c: Tidied cairo_matrix_t.
454
+ * packages/cairo/lib/cairo.rb: ditto.
455
+
456
+ 2005-10-09 Kouhei Sutou <kou@cozmixng.org>
457
+
458
+ * packages/cairo/ext/rb_cairo_context.c,
459
+ packages/cairo/ext/rb_cairo_matrix.c: Moved duplicated
460
+ functions to ...
461
+ * packages/cairo/ext/rb_cairo_private.h: ... here.
462
+ * packages/cairo/ext/rb_cairo_private.c: ditto.
463
+
464
+ * packages/cairo/ext/rb_cairo_scaled_font.c: Implemented
465
+ cairo_scaled_font_t.
466
+ * packages/cairo/ext/cairo.def: ditto.
467
+ * packages/cairo/ext/rb_cairo.c: ditto.
468
+ * packages/cairo/ext/rb_cairo.h: ditto.
469
+
470
+ * packages/cairo/lib/cairo.rb: Removed deprecated wrapper API.
471
+
472
+ * packages/cairo/ext/rb_cairo_surface.c:
473
+ - Implemented File I/O API by Ruby.
474
+ - SurfaceXXX -> XXXSurface.
475
+
476
+ * packages/cairo/ext/rb_cairo_exception.c: Tidied exceptions.
477
+ * packages/cairo/ext/cairo.def: ditto.
478
+ * packages/cairo/ext/rb_cairo.h: ditto.
479
+ * packages/cairo/ext/rb_cairo_context.c: ditto.
480
+ * packages/cairo/ext/rb_cairo_font_options.c: ditto.
481
+ * packages/cairo/ext/rb_cairo_matrix.c: ditto.
482
+ * packages/cairo/ext/rb_cairo_pattern.c: ditto.
483
+ * packages/cairo/ext/rb_cairo_surface.c: ditto.
484
+
485
+ * packages/cairo/ext/rb_cairo_pattern.c: Implemented
486
+ cairo_pattern_t.
487
+ * packages/cairo/ext/rb_cairo.c: ditto.
488
+ * packages/cairo/ext/rb_cairo.h: ditto.
489
+ * packages/cairo/ext/cairo.def: ditto.
490
+ * packages/cairo/lib/cairo.rb: ditto.
491
+ * packages/cairo/ext/rb_cairo_context.c: Followed the avobe changes.
492
+
493
+ * packages/cairo/ext/rb_cairo_surface.c
494
+ (cr_surface_write_to_png): Don't use rb_need_block() for ruby <=
495
+ 1.8.2.
496
+
497
+ 2005-10-08 Kouhei Sutou <kou@cozmixng.org>
498
+
499
+ * packages/cairo/ext/rb_cairo_context.c: Supported all API for
500
+ cairo_t.
501
+ * samples/png.rb: Followed the avobe changes.
502
+
503
+ * packages/cairo/ext/rb_cairo_path.c: Implemented cairo_path_t.
504
+ * packages/cairo/ext/rb_cairo.c: ditto.
505
+ * packages/cairo/ext/rb_cairo.h: ditto.
506
+ * packages/cairo/ext/cairo.def: ditto.
507
+
508
+ * packages/cairo/ext/rb_cairo_font_options.c: Fixed a typo.
509
+
510
+ * setup.rb: Added workaround for an error on Win32 platform.
511
+ Patch from Masao Mutoh <mutoh@highway.ne.jp>. Thanks!
512
+
513
+ * packages/cairo/ext/rb_cairo_font_options.c: Implemented
514
+ cairo_font_options_t.
515
+ * packages/cairo/ext/rb_cairo_surface.c: ditto.
516
+ * packages/cairo/ext/rb_cairo.c: ditto.
517
+ * packages/cairo/ext/rb_cairo.h: ditto.
518
+ * packages/cairo/ext/cairo.def: ditto.
519
+ * packages/cairo/lib/cairo.rb: ditto.
520
+
521
+ 2005-10-07 Kouhei Sutou <kou@cozmixng.org>
522
+
523
+ * packages/cairo/ext: Added c-mode style configuration header for
524
+ Emacs.
525
+
526
+ * samples/png.rb: Use Cairo::SurfaceImage instead of
527
+ Cairo::Surface.
528
+
529
+ * packages/cairo/ext/rb_cairo_surface.c: Implemented
530
+ cairo_surface_t.
531
+
532
+ * packages/cairo/ext/rb_cairo_exception.c: Sorted "case" in the
533
+ order of declaration cairo_status_t in cairo.h.
534
+
535
+ 2005-10-06 Kouhei Sutou <kou@cozmixng.org>
536
+
537
+ * packages/cairo/ext/extconf.rb: Fixed Win32 platform problem.
538
+ Patch from Masao Mutoh <mutoh@highway.ne.jp>. Thanks!
539
+
540
+ 2005-10-04 Kouhei Sutou <kou@cozmixng.org>
541
+
542
+ * packages/cairo/ext/rb_cairo.h: Support Win32 platform.
543
+
544
+ * packages/cairo/ext/extconf.rb: ditto.
545
+
546
+ * packages/cairo/ext/cairo.def: Added.
547
+
548
+ * packages/cairo/ext/pkg-config.rb: Added. This file is from
549
+ Ruby/GLib.
550
+
551
+ 2005-10-01 Kouhei Sutou <kou@cozmixng.org>
552
+
553
+ * setup.rb: update to 3.4.0.
554
+
555
+ 2005-09-30 Kouhei Sutou <kou@cozmixng.org>
556
+
557
+ * packages/cairo/lib/cairo.rb: change indentation style to
558
+ style of ruby-mode.el.
559
+
560
+ * README: update dependencies.
561
+
562
+ * packages/gtkcairo, packages/svgcairo: remove.
563
+
564
+ * setup.rb: update to 3.3.1.
565
+
566
+ 2005-09-29 Kouhei Sutou <kou@cozmixng.org>
567
+
568
+ * packages/cairo/ext/extconf.rb: check modversion.
569
+ * packages/svgcairo/ext/extconf.rb: ditto.
570
+
571
+ 2005-09-13 Øyvind Kolås <pippin@gimp.org>
572
+
573
+ Patch from Kouhei Sutou
574
+
575
+ * packages/cairo/ext:
576
+ - add (or rename) internal (static) functions to 'cr_XXX' prefix.
577
+ - XXX_v -> rb_XXX
578
+ - get_XXX -> XXX
579
+ - remove needless RUBY_METHOD_FUNC cast.
580
+ - call rb_obj_call_init() in new method.
581
+
582
+ * packages/cairo/ext/rb_cairo_font_face.c
583
+ (rb_cairo_font_extents, rb_cairo_font_glyph_extents):
584
+ move to ...
585
+
586
+ * packages/cairo/ext/rb_cairo_context.c:
587
+ - ... here.
588
+ - add some status checks.
589
+
590
+ * packages/cairo/ext/rb_cairo_context.c,
591
+ packages/cairo/ext/rb_cairo.h:
592
+ - rb_cairo_{from,to}_ruby_object ->
593
+ rb_cairo_context_{from,to}_ruby_object
594
+
595
+ * packages/cairo/lib/cairo.rb: auto-generate XXX=.
596
+ (Cairo::Context#save: move to the C-side.
597
+
598
+ 2005-09-10 Øyvind Kolås <pippin@gimp.org>
599
+
600
+ * AUTHORS: added Kouhei Sutou
601
+
602
+ 2005-09-10 Øyvind Kolås <pippin@gimp.org>
603
+
604
+ Patch from Kouhei Sutou <kou@cozmixng.org>.
605
+
606
+ Hiding free functions, cleanup of ruby <-> C conversion functions.
607
+
608
+ - rename ruby <-> C convert functions name.
609
+ ruby -> C: rb_cairo_XXX_from_ruby_object().
610
+ C -> ruby: rb_cairo_XXX_to_ruby_object().
611
+
612
+ - provide ruby <-> C convert macros.
613
+ ruby -> C: RVAL2CRXXX()
614
+ C -> ruby: CRXXX2RVAL()
615
+
616
+ - _SELF use RVAL2CRXXX()
617
+ - rb_cairo_XXX_from_ruby_object() uses rb_obj_is_kind_of()
618
+ instead of 'CLASS_OF() !=3D rb_cCairo_XXX'.
619
+ - add 'static' or remove free functions.
620
+
621
+ 2005-09-09 Øyvind Kolås <pippin@freedesktop.org>
622
+
623
+ Missed a couple of files when applying the previous patch.
624
+
625
+ * packages/cairo/ext/rb_cairo_font_extents.h: removed.
626
+ * packages/cairo/ext/post-install.rb: added.
627
+
628
+ 2005-09-09 Øyvind Kolås <pippin@freedesktop.org>
629
+
630
+ Header cleanup patch from Kouhei Sutou <kou@cozmixng.org>.
631
+
632
+ * packages/cairo/ext/rb_cairo_*.h: removed. The
633
+ contents of packages/cairo/ext/rb_cairo_*.h are moved to
634
+ packages/cairo/ext/rb_cairo.h.
635
+ * packages/cairo/ext/rb_cairo_*.c: include rb_cairo.h instead of
636
+ rb_cairo_*.h, Init_*() declarations are moved ...
637
+ * packages/cairo/ext/rb_cairo.c: ... here.
638
+
639
+ 2005-09-08 Øyvind Kolås <pippin@freedesktop.org>
640
+
641
+ Integrated patch from Kouhei Sutou <kou@cozmixng.org>.
642
+
643
+ * packages/cairo/ext/rb_cairo_exception.h:
644
+ * packages/cairo/ext/rb_cairo_exception.c:
645
+ (rb_cairo_raise_exception),
646
+ (Init_cairo_exception): Added new error types, made exception
647
+ retrieve the status string itself.
648
+ * packages/cairo/ext/rb_cairo_context.c:
649
+ (check_context_status): Simplified exception raising.
650
+ * packages/cairo/ext/rb_cairo_matrix.c:
651
+ (rb_cairo_matrix_copy): create a new matrix when copying.
652
+ (rb_cairo_matrix_invert): do status checking.
653
+ (Init_cairo_matrix): register invert! method.
654
+
655
+ 2005-06-23 Øyvind Kolås <pippin@freedesktop.org>
656
+
657
+ API shakeup, watch out for falling parts.
658
+
659
+ * packages/cairo/ext/*.c: large changes, and regressions.
660
+ * packages/cairo/ext/rb_cairo_font.[ch]: removed
661
+ * packages/cairo/ext/rb_cairo_font_face.[ch]: added
662
+ * packages/cairo/lib/cairo.rb:
663
+ * samples/*.rb: removed
664
+ * samples/png.rb: initial test case for new API.
665
+ * README: fixed spelling error.
666
+ * AUTHORS: added Ilmari Heikkinen.
667
+
668
+ 2005-03-21 Øyvind Kolås <pippin@freedesktop.org>
669
+
670
+ * packages/cairo/ext/rb_cairo_context.c: Rename methods to eliminate
671
+ abbreviations (following changes in cairo.h):
672
+ cairo_concat_matrix -> cairo_transform
673
+ cairo_transform_point -> cairo_user_to_device
674
+ cairo_transform_distance -> cairo_user_to_device_distance
675
+ cairo_inverse_transform_point -> cairo_device_to_user
676
+ cairo_inverse_transform_distance-> cairo_device_to_user_distance
677
+ cairo_init_clip -> cairo_reset_clip
678
+
679
+
680
+ 2005-03-20 Øyvind Kolås <pippin@freedesktop.org>
681
+
682
+ * README: reworked, borrowing ideas and style from pycairo README.
683
+ * COPYING,
684
+ * GPL,
685
+ * AUTHORS: added.
686
+
687
+
688
+ 2005-03-17 Øyvind Kolås <pippin@freedesktop.org>
689
+
690
+ * packages/cairo/ext/rb_cairo_exception.c: added WriteError and
691
+ SurfaceFinishedError.
692
+ * packages/cairo/ext/rb_cairo_surface.c:
693
+ added finish method.
694
+ fixed typo in define, that mistook define for PDF as PS.
695
+ * packages/cairo/ext/rb_cairo_*:
696
+ search and replace to use rb_cairo_exception_raise instead
697
+ of cairo_raise_exception
698
+ * samples/pdf.rb: removed
699
+ * samples/pdf-a4_grid.rb: added
700
+
701
+
702
+ 2005-03-15 Øyvind Kolås <pippin@freedesktop.org>
703
+
704
+ * packages/cairo/ext/rb_cairo_context.c:
705
+ * packages/cairo/lib/cairo.rb: Following API shakeup in cairo,
706
+ s/cairo_current_foo/cairo_get_foo/ .
707
+
708
+
709
+ 2005-02-15 Øyvind Kolås <pippin@freedesktop.org>
710
+
711
+ * packages/cairo/ext/rb_cairo.c: added initialization of pattern.
712
+ * packages/cairo/ext/rb_cairo_constants.c: added filter and extend
713
+ enums.
714
+ * packages/cairo/ext/rb_cairo_context.c: added pattern setting and
715
+ getting, rewrote current_matrix to use rb_cairo_matrix_wrap.
716
+ * packages/cairo/ext/rb_cairo_matrix.c: convenience function to
717
+ wrap a cairo_matrix_t.
718
+ * packages/cairo/ext/rb_cairo_pattern.c: added implementation for
719
+ surface and linear/radial gradients.
720
+ * packages/cairo/lib/cairo.rb: syntactic sugar for initializing
721
+ gradient patterns with blocks.
722
+ * samples/gradients.rb: sample showing the syntax of gradients.
723
+
724
+
725
+ 2005-02-10 Øyvind Kolås <pippin@freedesktop.org>
726
+
727
+ * packages/cairo/lib/cairo.rb: added optional 'handler' parameters to
728
+ Context::current_path and Context#current_path_flat.
729
+ patch from <mental@rydia.net>
730
+
731
+ 2005-02-10 Øyvind Kolås <pippin@freedesktop.org>
732
+
733
+ * packages/cairo/lib/cairo.rb: made save_internal private,
734
+ patch from <mental@rydia.net>
735
+
736
+ 2005-02-10 Øyvind Kolås <pippin@freedesktop.org>
737
+
738
+ * packages/svgcairo/ext/rb_svgcairo.c: added error handling.
739
+ usage of a port for passing FILE stream to the parser.
740
+ * packages/svgcairo/ext/extconf.rb: added -W to the compile flags.
741
+
742
+ 2005-02-10 Øyvind Kolås <pippin@freedesktop.org>
743
+
744
+ * packages/svgcairo/ext: added initial binding for libsvg-cairo,
745
+ without error checking, and good integration with the ruby file
746
+ handling.
747
+
748
+ 005-02-09 Øyvind Kolås <pippin@freedesktop.org>
749
+
750
+ * packages/cairo/lib/cairo.rb: Fixed naming of Transform class to be
751
+ Matrix.
752
+
753
+ 2005-02-09 Øyvind Kolås <pippin@freedesktop.org>
754
+
755
+ * packages/cairo/lib/cairo.rb: Added the ability for save to
756
+ take a block.
757
+
758
+ 2005-02-07 Øyvind Kolås <pippin@freedesktop.org>
759
+
760
+ * splitted into seperate files for classes
761
+ * made use of _SELF macro for more direct access
762
+ * unified under a rb_ namespace
763
+ * added font handling and extents
764
+
765
+ 2005-02-06 Øyvind Kolås <pippin@freedesktop.org>
766
+
767
+ * imported mental guys ruby binding to my local tree
768
+ * added ps and pdf surfaces
769
+ * reindented according to GNU coding style
770
+ * made stroke, fill, in_stroke, in_fill, fill_extents and
771
+ stroke_extents accept blocks that define the path, in spirit
772
+ of the previous binding.
773
+ * added show_text, text_path, select_font, scale_font and
774
+ transform_font
775
+ * made to work with gtkcairo
776
+
777
+
778
+ 2005-02-06 Øyvind Kolås <pippin@freedesktop.org>
779
+
780
+ * packages/cairo/cairo.c: add new headers
781
+ * packages/cairo/gen-Cairo.c: remove unneeded hack to force
782
+ unit size on newly set font.
783
+
784
+ 2004-11-19 Øyvind Kolås <pippin@freedesktop.org>
785
+
786
+ * packages/canvas/lib/canvas.rb Labal.width: access extents by atom
787
+ instead of string.
788
+
789
+ 2004-11-19 Øyvind Kolås <pipipn@freedesktop.org>
790
+
791
+ * packages/cairo/ext/*.[ch]: reformatted code.
792
+ * packages/gtkcairo/ext/*.[ch]: reformatted code.