gdk_pixbuf2 0.90.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/ChangeLog ADDED
@@ -0,0 +1,430 @@
1
+ 2010-09-23 Kouhei Sutou <kou@cozmixng.org>
2
+
3
+ * Rakefile: don't add .zip into gem.
4
+
5
+ * lib/gdk_pixbuf2.rb: support bundled Windows DLL.
6
+
7
+ * extconf.rb: support other directory build.
8
+
9
+ 2010-09-21 Kouhei Sutou <kou@cozmixng.org>
10
+
11
+ * Rakefile: add dependencies.
12
+
13
+ * ext/gdk_pixbuf2/extconf.rb: use relative rcairo path if it exists.
14
+
15
+ * ./: make buidlable with rake-compiler.
16
+
17
+ * ./: reconstruct for cross compile.
18
+
19
+ 2009-10-11 Michal Suchanek <hramrach@centrum.cz>
20
+
21
+ * rbgdk-pixbuf.c: add Gdk::Pixbuf#pixels=.
22
+
23
+ 2009-05-31 Kouhei Sutou <kou@cozmixng.org>
24
+
25
+ * lib/gdk_pixbuf2.rb: use gem version rcairo as fallback.
26
+ Patch by OBATA Akio. Thanks!!!
27
+
28
+ 2008-11-01 Kouhei Sutou <kou@cozmixng.org>
29
+
30
+ * ./: use RARRAY_PTR() and RARRAY_LEN().
31
+
32
+ 2008-09-13 Kouhei Sutou <kou@cozmixng.org>
33
+
34
+ * extconf.rb: use check_cairo.
35
+
36
+ 2008-06-11 Kouhei Sutou <kou@cozmixng.org>
37
+
38
+ * extconf.rb: include gdk-pixbuf/gdk-pixbuf.h in have_func test.
39
+
40
+ 2008-04-13 Kouhei Sutou <kou@cozmixng.org>
41
+
42
+ * extconf.rb: fix rcairo's source path.
43
+
44
+ 2007-12-28 Kouhei Sutou <kou@cozmixng.org>
45
+
46
+ * rbgdk-pixbuf.c (save, save_to_buffer):
47
+ - cosmetic.
48
+ - generalized.
49
+
50
+ * rbgdk-pixbuf-loader.c: used RSTRING_LEN instead of RSTRING()->len.
51
+
52
+ 2007-07-13 Guillaume Cottenceau
53
+
54
+ * rbgdk-pixbuf-format.c, rbgdk-pixbuf.c, rbgdk-pixdata.c: replace
55
+ RTEST uses by RVAL2CBOOL
56
+
57
+ 2007-07-13 Guillaume Cottenceau
58
+
59
+ * rbgdk-pixbuf-loader.c: "? Qtrue : QFalse" => CBOOL2RVAL cleanup
60
+
61
+ 2007-07-12 Masao Mutoh <mutoh@highway.ne.jp>
62
+
63
+ * rbgdk-pixbuf.c: Revert the Gdk::Pixbuf#scale change.
64
+
65
+ 2007-07-07 Guillaume Cottenceau
66
+
67
+ * rbgdk-pixbuf.c: fix multiple memory leaks
68
+
69
+ 2007-07-07 Guillaume Cottenceau
70
+
71
+ * rbgdk-pixbuf.c: thse can return NULL
72
+
73
+ 2007-07-07 Guillaume Cottenceau
74
+
75
+ * rbgdk-pixbuf.c: fix wrong order of arguments in using
76
+ gdk_pixbuf_scale
77
+
78
+ 2007-07-07 Guillaume Cottenceau
79
+
80
+ * rbgdk-pixbuf.c: negative value for width or height in
81
+ gdk_pixbuf_new_from_file_at_scale only supported in gtk 2.8
82
+
83
+ 2007-07-07 Guillaume Cottenceau
84
+
85
+ * rbgdk-pixbuf.c: slightly more general warning messages
86
+
87
+ 2006-12-28 Masao Mutoh <mutoh@highway.ne.jp>
88
+
89
+ * rbgdk-pixbuf.c: Add a comment the change below.
90
+
91
+ 2006-12-17 Kouhei Sutou <kou@cozmixng.org>
92
+
93
+ * extconf.rb, rbgdk-pixbuf.c, lib/gdk_pixbuf2.rb: moved
94
+ integration API of Gdk::Pixbuf and Cairo::Context from Ruby/GTK2.
95
+
96
+ 2006-06-22 Guillaume Cottenceau
97
+
98
+ * rbgdk-pixbuf-loader.c: simplify code
99
+
100
+ 2006-06-17 Masao Mutoh <mutoh@highway.ne.jp>
101
+
102
+ * sample/*.rb: Remove Gtk.init, Code cleanup.
103
+
104
+ 2006-04-23 NISHI Takao
105
+
106
+ * rbgdk-pixdata.c: Gdk::Pixdata#length returns the size of pixel_data.
107
+ (length - GDK_PIXDATA_HEADER_LENGTH).
108
+ Gdk::Pixdata#pixel_data returns the data size of length -
109
+ GDK_PIXDATA_HEADER_LENGTH. [Patch#1473708]
110
+
111
+ 2005-09-24 Guillaume Cottenceau
112
+
113
+ * rbgdk-pixbuf.c, rbgdk-pixbuf.h, rbgdk-pixbufsimpleanim.c,
114
+ sample/simpleanim.rb: 2.8: add Gdk::PixbufSimpleAnim with #new
115
+ and #add_frame
116
+
117
+ 2005-09-18 Kouhei Sutou <kou@cozmixng.org>
118
+
119
+ * rbgdk-pixbuf.c (get_pixels): Fix pixels size.
120
+
121
+ 2005-07-23 Masao Mutoh <mutoh@highway.ne.jp>
122
+
123
+ * rbgdk-pixbuf.c, rbgdk-pixbuf-loader.c, rbgdk-pixbuf-format.c:
124
+ Fix a compiling warning.
125
+
126
+ 2005-03-22 Mirko Maischberger <mirko@lilik.it>
127
+
128
+ * sample/*.rb: sh-bang (!#) normalization.
129
+ Reported by Mezz
130
+
131
+ 2005-03-06 Masao Mutoh <mutoh@highway.ne.jp>
132
+
133
+ * rbgdk-pixbuf-format.c: Fix a compilation problemn on GTK+-2.0.x.
134
+ * README: Revised.
135
+
136
+ 2005-02-13 Masao Mutoh <mutoh@highway.ne.jp>
137
+
138
+ * rbgdk-pixbuf.c: Implement gdk_pixbuf_new_from_file_at_scale
139
+ as Gdk::Pixbuf.new.
140
+ * rbgdk-pixbuf-format.c: Added Gdk::PixbufFormat#scalable?,
141
+ #disable?, #set_disabled, #license.
142
+ * rbgdk-pixbuf.c: Added Gdk::Pixbuf#rotate, #flip for GTK+-2.6.
143
+ * sample/flip.rb, rotate.rb: Added.
144
+
145
+ 2005-02-01 Masao Mutoh <mutoh@highway.ne.jp>
146
+
147
+ * extconf.rb: Use create_makefile_at_srcdir.
148
+
149
+ 2005-01-30 Masao Mutoh <mutoh@highway.ne.jp>
150
+
151
+ * extconf.rb: Follow mkmf-gnome2.rb changes.
152
+
153
+ 2004-12-16 leon breedt <bitserf@gmail.com>
154
+
155
+ * rbgdk-pixbuf-format.c, rbgdkpixbuf.h: Fix compilation problems.
156
+
157
+ 2004-12-01 Masao Mutoh <mutoh@highway.ne.jp>
158
+
159
+ * rbgdk-pixbufanimation.c: Fix a wrong number of arguments for
160
+ Gdk::PixbufAnimationIter#advance.
161
+ * rbgdk-pixbuf.c: Fix memoryleak for Gdk::Pixbuf#add_alpha.
162
+ * rbgdk-pixbuf-loader.c: Undef Gdk::PixbufLoader#dup.
163
+ * rbgdk-pixbuf.c: Fix a compilation warning.
164
+
165
+ 2004-11-30 Masao Mutoh <mutoh@highway.ne.jp>
166
+
167
+ * rbgdk-pixbuf-loader.c: Fix an error message.
168
+
169
+ 2004-11-14 Masao Mutoh <mutoh@highway.ne.jp>
170
+
171
+ * rbgdk-pixbuf.c, rbgdk-pixbuf-format.c:
172
+ Fix compiling warning/error under GTK+-2.2.4.
173
+ * rbgdk-pixbuf-loader.c, extconf.rb: Support GTK+-2.0.x again.
174
+
175
+ 2004-11-06 Geoff Youngs <g@intersect-uk.co.uk>
176
+
177
+ * rbgdk-pixbuf.c: Gdk::Pixbuf.get_file_info()
178
+ Return image width and height as well as the GdkPixbufFormat
179
+
180
+ 2004-09-23 Masao Mutoh <mutoh@highway.ne.jp>
181
+
182
+ * lib/gdk_pixbuf2.rb: Improved log handling.
183
+ Added Gdk::Pixbuf::LOG_DOMAIN.
184
+ Rename GLib::Log.set_error_domain to GLib::Log.set_log_domain.
185
+
186
+ 2004-08-29 Masao Mutoh <mutoh@highway.ne.jp>
187
+
188
+ * lib/gdk_pixbuf2.rb: Added Gdk::PixbufLoader.open.
189
+ * rbgdk-pixbuf-loader.c: Added Gdk::PixbufLoader#format, #set_size
190
+ for GTK+-2.2.
191
+ * rbgdk-pixbuf.c: Added Gdk::Pixbuf#save_to_buffer.
192
+
193
+ 2004-08-28 Masao Mutoh <mutoh@highway.ne.jp>
194
+
195
+ * rbgdk-pixbuf.c: Added Gdk::Pixbuf.formats, Gdk::Pixbuf#set_option for GTK+-2.2.
196
+ * rbgdk-pixbuf-format.c, sample/format.rb: Added for GTK+-2.2.
197
+ * rbgdk-pixbuf.c: Added Gdk::Pixbuf.new(filename, width, height),
198
+ Gdk::Pixbuf.get_file_info for GTK+-2.4.
199
+
200
+ 2004-08-19 Masao Mutoh <mutoh@highway.ne.jp>
201
+
202
+ * rbgdk-pixbuf.c: Improve error handling.
203
+
204
+ 2004-08-14 Masao Mutoh <mutoh@highway.ne.jp>
205
+
206
+ * rbgdk-pixbufanimation.c: parameters of Gdk::PixbufAnimation#get_iter,
207
+ Gdk::PixbufAnimationIter#advance are changed.
208
+ * rbgdk-pixbuf.c: Remove Gdk::Pixbuf.new_subpixbuf and merge it to
209
+ Gdk::Pixbuf.new.
210
+ * sample/inline.rb, pixdata.rb: Added.
211
+
212
+ 2004-08-13 Masao Mutoh <mutoh@highway.ne.jp>
213
+
214
+ * rbgdk-pixdata.c: Rename Gdk::Pixdata#pixbuf to Gdk::Pixdata#to_pixbuf.
215
+ Fix a bug of Gdk::Pixdata.deserialize, Gdk::Pixdata#pixel_data.
216
+ Fix a memory leak of Gdk::Pixdata.from_pixbuf.
217
+
218
+ 2004-07-03 Masao Mutoh <mutoh@highway.ne.jp>
219
+
220
+ * rbgdk-pixbuf.c: Remove Gdk::Pixbuf::VERSION which causes a segfault
221
+ on Win32 and tml's GTK+-2.4.0. Pointed out by Laurent.
222
+
223
+ 2003-12-20 Masao Mutoh <mutoh@highway.ne.jp>
224
+
225
+ * rbgdk-pixbuf.c: Fix lack of the data in Gdk::Pixbuf.pixels.
226
+ (Bugs [857123])
227
+
228
+ 2003-10-14 KATO Kazuyoshi <kzys@users.sf.net>
229
+
230
+ * rbgdk-pixbuf.c: Add Gdk::Pixbuf#pixels.
231
+
232
+ 2003-10-10 Masao Mutoh <mutoh@highway.ne.jp>
233
+
234
+ * rbgdk-pixbuf.c: Fix memory leaks of Gdk::Pixbuf#scale, #composite.
235
+ (Bugs [814787])
236
+
237
+ 2003-10-07 Masao Mutoh <mutoh@highway.ne.jp>
238
+
239
+ * rbgdk-pixbuf.c: Retry once if Gdk::Pixbuf.new is failed.
240
+
241
+ 2003-09-01 Masao Mutoh <mutoh@highway.ne.jp>
242
+
243
+ * rbgdk-pixbuf.c: Apply enum/flags.
244
+
245
+ 2003-08-28 Masao Mutoh <mutoh@highway.ne.jp>
246
+
247
+ * extconf.rb: Exit with 1 when the package is not found.
248
+
249
+ 2003-08-21 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
250
+
251
+ * rbgdk-pixbuf.c: use G_DEF_CONSTANTS() and define enum/flags classes.
252
+
253
+ 2003-07-12 Masao Mutoh <mutoh@highway.ne.jp>
254
+
255
+ * rbgdk-pixbuf.c: Seprate Gdk::Pixbuf#scale to #scale and #scale!.
256
+ Separate Gdk::Pixbuf#composite to #composite and #composite!.
257
+ * sample/scale.rb, composite.rb: Follow changes.
258
+ * ChangeLog: Revise date format.
259
+
260
+ 2003-07-10 Mikael Magnusson <mikma@users.sourceforge.net>
261
+
262
+ * rbgdk-pixbuf.c, sample/scale.rb, composite.rb:
263
+ Gdk::Pixbuf#scale and #composite accept destination pixbuf instead of nil.
264
+
265
+ 2003-05-27 Masao Mutoh <mutoh@highway.ne.jp>
266
+
267
+ * extconf.rb: Follow mkmf-gnome2.rb position changes.
268
+
269
+ 2003-05-02 Geoff Youngs <g@intersect-uk.co.uk>
270
+
271
+ * rbgdk-pixbuf.c: Bugfix for Gdk::Pixbuf#composite
272
+
273
+ 2003-03-07 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
274
+
275
+ * rbgdk-pixbuf-loader.c: rename write and close to
276
+ loader_write and loader_close respectively for avoiding crash with
277
+ system's definitions of these names
278
+
279
+ * extconf.rb: check if gdk_pixbuf_version is available or not.
280
+ Because tml's libgdk_pixbuf-2.0-0.dll doesn't export this.
281
+ * rbgdk-pixbuf.c: ditto
282
+
283
+ 2003-02-17 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
284
+
285
+ * rbgdk-pixbufanimation.c: change tvsec and tvusec to static variable.
286
+
287
+ 2003-02-14 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
288
+
289
+ * extconf.rb: Use ../mkmf-gnome.rb
290
+
291
+ 2003-02-13 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
292
+
293
+ * rbgdk-pixbufanimation.c,rbgdk-pixdata.c: Suppress warnings.
294
+
295
+ 2003-01-18 Masao Mutoh <mutoh@highway.ne.jp>
296
+
297
+ * *.[ch]: Update Copyright.
298
+ * sample/*: Update Copyright. Require 'gtk2'.
299
+ * sample/loader.rb: Added.
300
+
301
+ 2003-01-18 Geoff Youngs <g@intersect-uk.co.uk>
302
+
303
+ * rbgdk-pixbuf-loader.c: Added.
304
+
305
+ 2002-12-30 Masao Mutoh <mutoh@highway.ne.jp>
306
+
307
+ * rbgdk-pixbuf.c: Move GTK+'s functions to Ruby/GTK.
308
+ * lib/gdk_pixbuf2.rb: Remove "require 'gtk2'". Now, Ruby/GdkPixbuf doesn't depend on
309
+ Ruby/GTK.
310
+ * sample/.rb: Require 'gtk2' instead of 'gdk_pixbuf2'.
311
+ * sample/to_drawable: Move to gtk/sample/misc/.
312
+ * rbgdkpixbuf.h: Add a file.
313
+ * *.c: Include rbgdkpixbuf.h.
314
+ * README, COPYING.LIB: Change license term from "the GNU LIBRARY General Public
315
+ License version 2." to "the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1.".
316
+
317
+ 2002-12-13 Hiroshi IGARASHI <iga@ruby-lang.org>
318
+
319
+ * extconf.rb: add space before include directory option to $CFLAGS.
320
+
321
+ 2002-12-07 Masao Mutoh <mutoh@highway.ne.jp>
322
+
323
+ * *.c: Change headers like as Ruby/GTK.
324
+ * rbgdk-pixdata.c: Add a file.
325
+
326
+ 2002-11-27 Masao Mutoh <mutoh@highway.ne.jp>
327
+
328
+ * rbgdk-pixbuf.c: Follow Ruby/GLib changes.
329
+ Reported by Michael C. Libby <m_libby@andsoforth.com>.
330
+
331
+ 2002-11-22 Masao Mutoh <mutoh@highway.ne.jp>
332
+
333
+ * rbgdk-pixbufanimation.c: Add a file.
334
+ * rbgdk-pixbuf.c: Rename Gdk::Pixbuf#option to Gdk::Pixbuf#get_option.
335
+ Add Gdk::Pixbuf#composite, #add_alpha, #copy_area,
336
+ #saturate_and_pixelate, #fill!.
337
+ BugFix for wrong arguments of Gdk::Pixbuf#initialize.
338
+ BugFix for Gdk::Pixbuf::VERSION.
339
+ * sample/composite.rb, utils.rb, floppybuddy.gif, anim.rb: Add samples.
340
+
341
+ 2002-11-21 Masao Mutoh <mutoh@highway.ne.jp>
342
+
343
+ * rbgdk-pixbuf.c: Gdk::Pixbuf.new accept xpm data and colorspace.
344
+ Add Gdk::Pixbuf#get_subpixbuf, #dup.
345
+ * sample/xpm.rb: Add a sample.
346
+ * sample/scale.rb: Code cleanup.
347
+
348
+ 2002-11-19 Masao Mutoh <mutoh@ejp1177linux.jpn.hp.com>
349
+
350
+ * rbgdk-pixbuf.c: Implement Gdk::Pixbuf#save.
351
+ Improve an error handling of Gdk::Pixbuf#initialize.
352
+ Change default interp_type of Gdk::Pixbuf#scale.
353
+ * sample/save.rb: Add a file.
354
+
355
+ 2002-11-10 Masao Mutoh <mutoh@highway.ne.jp>
356
+
357
+ * README: Revised.
358
+ * COPYING: Removed.
359
+
360
+ 2002-11-05 Masao Mutoh <mutoh@ejp1177linux.jpn.hp.com>
361
+
362
+ * rbgdk-pixbuf.c: Bugfix for "undefined symbol: DBL2INT", "CSTR2STR",
363
+ "STR2CSTR".
364
+ (pointed out by KUBO Takehiro <kubo@jiubao.org>)
365
+ * README: Add copyright.
366
+
367
+ 2002-11-05 Masao Mutoh <mutoh@ejp1177linux.jpn.hp.com>
368
+
369
+ * rbgdk-pixbuf.c: Apply Ruby-GNOME2 rules.Code cleanup.Some modified.
370
+ * sample/test.rb: Removed.
371
+ * sample/*.rb: Follow Ruby/GTK2, rbgdk-pixbuf.c changes.
372
+
373
+ 2002-09-14 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
374
+
375
+ * extconf.rb: Append -fnative-struct to $CFLAGS when G_OS_WIN32 is
376
+ defined
377
+ * lib/gdk_pixbuf2.rb: rename from lib/gdk_pixbuf.rb
378
+ * sample/*.rb: ditto
379
+
380
+ 2002-08-03 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
381
+
382
+ * extconf.rb, rbgdk-pixbuf.c, lib/gdk_pixbuf.rb, sample/*.rb:
383
+ port to Ruby/GNOME2
384
+
385
+ 2002-05-29 Masao Mutoh <mutoh@highway.ne.jp>
386
+
387
+ * README: Modified.
388
+
389
+ 2001-11-24 Neil Conway <neilconway@rogers.com>
390
+
391
+ * MANIFEST: File removed.
392
+
393
+ 2001-11-22 Akinori MUSHA <knu@iDaemons.org>
394
+
395
+ * extconf.rb: allow the user to specify where to find
396
+ glib-config and gdk-pixbuf-config.
397
+
398
+ 2001-10-08 Neil Conway <neilconway@rogers.com>
399
+
400
+ * README: improve documentation, add contact info.
401
+ * ChangeLog: remove duplicate entries.
402
+
403
+ 2001-10-05 Neil Conway <neilconway@rogers.com>
404
+
405
+ * extconf.rb: Fix typo.
406
+
407
+ 2001-03-28 Hiroshi IGARASHI <iga@ruby-lang.org>
408
+
409
+ * rbgdk-pixbuf.c (new_from_file): check whether return value is NULL.
410
+
411
+ 2001-02-25 Hiroshi IGARASHI <iga@ruby-lang.org>
412
+
413
+ * rbgdk-pixbuf.c (get_height): width and height were jumbled.
414
+
415
+ 2001-01-13 Hiroshi IGARASHI <iga@ruby-lang.org>
416
+
417
+ * lib/gdk_pixbuf.rb: add wrapper library for loading depedencies.
418
+
419
+ 2000-09-20 Hiroshi IGARASHI <iga@ruby-lang.org>
420
+
421
+ * rbgdk-pixbuf.c (scale):
422
+ now use GdkInterpType instead of ArtFilterLevel.
423
+
424
+ 2000-03-30 Hiroshi IGARASHI <iga@ruby-lang.org>
425
+
426
+ * extconf.rb: use `gdk-pixbuf-config --libs'.
427
+
428
+ 2000-03-30 Hiroshi IGARASHI <iga@ruby-lang.org>
429
+
430
+ * MANIFEST: create a file.
data/README ADDED
@@ -0,0 +1,29 @@
1
+ Ruby/GdkPixbuf2
2
+ ===============
3
+ Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf-2.x.
4
+
5
+ Requirements
6
+ ------------
7
+ Ruby: http://www.ruby-lang.org/
8
+ GTK+: http://www.gtk.org/
9
+ Ruby/GLib2, Ruby/GTK2: http://ruby-gnome2.sourceforge.net/
10
+
11
+ Install
12
+ -------
13
+ 0. install ruby-1.6.x or later, GTK+, Ruby/GLib2 and Ruby/GTK2.
14
+ 1. ruby extconf.rb
15
+ 2. make
16
+ 3. su
17
+ 4. make install
18
+
19
+ Copying
20
+ -------
21
+ Copyright (c) 2002-2005 Ruby-GNOME2 Project Team
22
+
23
+ This program is free software.
24
+ You can distribute/modify this program under the terms of
25
+ the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1.
26
+
27
+ Project Website
28
+ ---------------
29
+ http://ruby-gnome2.sourceforge.jp/