pango 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +662 -0
- data/README +33 -0
- data/Rakefile +86 -0
- data/extconf.rb +68 -0
- data/sample/attribute.rb +82 -0
- data/sample/break.rb +26 -0
- data/sample/gdk_layout.rb +27 -0
- data/sample/glyphstring.rb +61 -0
- data/sample/item.rb +35 -0
- data/sample/label.rb +23 -0
- data/sample/layout.rb +102 -0
- data/sample/pango_cairo.rb +66 -0
- data/sample/parse.rb +33 -0
- data/sample/sample.txt +10 -0
- data/sample/script.rb +21 -0
- data/src/lib/pango.rb +60 -0
- data/src/makeinits.rb +48 -0
- data/src/rbpango.c +27 -0
- data/src/rbpango.h +97 -0
- data/src/rbpangoanalysis.c +197 -0
- data/src/rbpangoattribute.c +557 -0
- data/src/rbpangoattriterator.c +137 -0
- data/src/rbpangoattrlist.c +104 -0
- data/src/rbpangocairo.c +229 -0
- data/src/rbpangocolor.c +121 -0
- data/src/rbpangocontext.c +341 -0
- data/src/rbpangocoverage.c +104 -0
- data/src/rbpangoengine.c +65 -0
- data/src/rbpangofont.c +123 -0
- data/src/rbpangofontdescription.c +300 -0
- data/src/rbpangofontface.c +71 -0
- data/src/rbpangofontfamily.c +74 -0
- data/src/rbpangofontmap.c +104 -0
- data/src/rbpangofontmetrics.c +85 -0
- data/src/rbpangofontset.c +68 -0
- data/src/rbpangofontsetsimple.c +53 -0
- data/src/rbpangoglyphinfo.c +119 -0
- data/src/rbpangoglyphitem.c +129 -0
- data/src/rbpangoglyphstring.c +162 -0
- data/src/rbpangogravity.c +43 -0
- data/src/rbpangoinits.c +71 -0
- data/src/rbpangoitem.c +110 -0
- data/src/rbpangolanguage.c +88 -0
- data/src/rbpangolayout.c +593 -0
- data/src/rbpangolayoutiter.c +202 -0
- data/src/rbpangolayoutline.c +256 -0
- data/src/rbpangologattr.c +107 -0
- data/src/rbpangomain.c +213 -0
- data/src/rbpangomatrix.c +155 -0
- data/src/rbpangorectangle.c +178 -0
- data/src/rbpangorenderer.c +204 -0
- data/src/rbpangoscript.c +80 -0
- data/src/rbpangoscriptiter.c +91 -0
- data/src/rbpangotabarray.c +128 -0
- data/src/rbpangoversion.h +24 -0
- data/test/pango-test-utils.rb +9 -0
- data/test/run-test.rb +27 -0
- data/test/test-attribute.rb +19 -0
- data/test/test-language.rb +7 -0
- data/test/test_layout.rb +20 -0
- metadata +158 -0
data/ChangeLog
ADDED
@@ -0,0 +1,662 @@
|
|
1
|
+
2010-02-02 Hiroyuki Ito <ZXB01226@nifty.com>
|
2
|
+
|
3
|
+
* src/rbpangogravity.c (Init_pango_gravity): remove redundant
|
4
|
+
"void" in the function's parameter.
|
5
|
+
|
6
|
+
2010-01-17 Hiroyuki Ito <ZXB01226@nifty.com>
|
7
|
+
|
8
|
+
* src/rbpangogravity.c: fix indentation.
|
9
|
+
|
10
|
+
* src/rbpangogravity.c: add Pango::Gravity#vertical?.
|
11
|
+
|
12
|
+
2010-01-17 Kouhei Sutou <kou@cozmixng.org>
|
13
|
+
|
14
|
+
* src/rbpangoscript.c: Pango::Script#get_gravity doesn't accept
|
15
|
+
'wide' argument with Pango < 1.26 because
|
16
|
+
pango_gravity_get_for_script_and_width() is defined since Pango
|
17
|
+
1.26.
|
18
|
+
|
19
|
+
* src/rbpangogravity.c (Init_pango_gravity): don't define
|
20
|
+
Pango::Gravity on Pango < 1.16 environment.
|
21
|
+
|
22
|
+
* src/rbpangoscript.c: Pango::Script#gravity ->
|
23
|
+
Pango::Script#get_gravity.
|
24
|
+
|
25
|
+
2010-01-17 Hiroyuki Ito <ZXB01226@nifty.com>
|
26
|
+
|
27
|
+
* src/rbpangoattribute.c,
|
28
|
+
src/rbpangocontext.c,
|
29
|
+
src/rbpangofontdescription.c,
|
30
|
+
src/rbpangogravity.c,
|
31
|
+
src/rbpangomatrix.c,
|
32
|
+
src/rbpangoscript.c: support PangoGravity.
|
33
|
+
|
34
|
+
2009-05-31 Kouhei Sutou <kou@cozmixng.org>
|
35
|
+
|
36
|
+
* src/lib/pango.rb: use gem version rcairo as fallback.
|
37
|
+
Patch by OBATA Akio. Thanks!!!
|
38
|
+
|
39
|
+
* src/depend: use RUBYARCHDIR.
|
40
|
+
Patch by OBATA Akio. Thanks!!!
|
41
|
+
|
42
|
+
2009-03-07 Kouhei Sutou <kou@cozmixng.org>
|
43
|
+
|
44
|
+
* src/rbpangoattribute.c, test/test-attribute.rb: add
|
45
|
+
Pango::Attribute#start_index= and Pango::Attribute#end_index=.
|
46
|
+
Suggested by Geoff Youngs. Thanks!!!
|
47
|
+
|
48
|
+
* src/rbpangolanguage.c, test/test-language.rb: bind
|
49
|
+
Pango::Language.default.
|
50
|
+
|
51
|
+
* test/run-test.rb: set $VERBOSE.
|
52
|
+
|
53
|
+
2009-02-23 Kouhei Sutou <kou@cozmixng.org>
|
54
|
+
|
55
|
+
* src/lib/pango.rb: fix indent.
|
56
|
+
|
57
|
+
2008-11-01 Kouhei Sutou <kou@cozmixng.org>
|
58
|
+
|
59
|
+
* src/: use RARRAY_PTR() and RARRAY_LEN().
|
60
|
+
|
61
|
+
2008-09-14 Kouhei Sutou <kou@cozmixng.org>
|
62
|
+
|
63
|
+
* src/rbpangofontdescription.c (font_desc_initialize): fix memory leak.
|
64
|
+
|
65
|
+
* src/rbpangolayout.c (layout_copy): fix memory leak.
|
66
|
+
|
67
|
+
* src/rbpangocairo.c (create_layout, font_map_create_context):
|
68
|
+
fix memory leak.
|
69
|
+
Reported by James Healy. Thanks!!!
|
70
|
+
|
71
|
+
2008-09-13 Kouhei Sutou <kou@cozmixng.org>
|
72
|
+
|
73
|
+
* extconf.rb: use check_cairo.
|
74
|
+
|
75
|
+
2008-08-20 Kouhei Sutou <kou@cozmixng.org>
|
76
|
+
|
77
|
+
* src/rbpangofontdescription.c (font_desc_set_weight): add missing
|
78
|
+
type declaration for 'wight' argument. [#2059917]
|
79
|
+
Reported by Blondel Mathieu. Thanks!!!
|
80
|
+
|
81
|
+
2008-08-09 Kouhei Sutou <kou@cozmixng.org>
|
82
|
+
|
83
|
+
* src/rbpangolayout.c: Pango::Layout#font_description= accepts
|
84
|
+
font description string too.
|
85
|
+
|
86
|
+
* test/: add.
|
87
|
+
|
88
|
+
2008-06-11 Kouhei Sutou <kou@cozmixng.org>
|
89
|
+
|
90
|
+
* extconf.rb: include pango/pango.h in have_func test.
|
91
|
+
|
92
|
+
2008-06-10 Kouhei Sutou <kou@cozmixng.org>
|
93
|
+
|
94
|
+
* src/rbpangolayoutiter.c: use '#ifndef' not '#if !' for -DXXX variable.
|
95
|
+
|
96
|
+
2008-04-13 Kouhei Sutou <kou@cozmixng.org>
|
97
|
+
|
98
|
+
* extconf.rb: fix rcairo's source path.
|
99
|
+
|
100
|
+
2008-03-04 Kouhei Sutou <kou@cozmixng.org>
|
101
|
+
|
102
|
+
* extconf.rb, src/rbpango.h, src/rbpangoglyphitem.c:
|
103
|
+
pango_glyph_item_get_type() was defined in upstream.
|
104
|
+
|
105
|
+
2008-01-03 Kouhei Sutou <kou@cozmixng.org>
|
106
|
+
|
107
|
+
* src/depend: don't use ftools.
|
108
|
+
Reported by Carlo E. Prelz. Thanks!!!
|
109
|
+
|
110
|
+
2007-12-28 Kouhei Sutou <kou@cozmixng.org>
|
111
|
+
|
112
|
+
* src/lib/pango.rb: used implicit to_s instead of '+'.
|
113
|
+
|
114
|
+
* src/rbpangoglyphstring.c, src/rbpangolayout.c: used RSTRING_LEN.
|
115
|
+
|
116
|
+
2007-08-31 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
|
117
|
+
|
118
|
+
* src/depend: re-supported build in no-source directory.
|
119
|
+
|
120
|
+
2007-08-13 Kouhei Sutou <kou@cozmixng.org>
|
121
|
+
|
122
|
+
* src/rbpangocairo.c (Pango.cairo_available?): moved from ...
|
123
|
+
* src/lib/pango.rb: ... here.
|
124
|
+
|
125
|
+
2007-07-14 Detlef Reichl
|
126
|
+
|
127
|
+
* extconf.rb: Accept the srcdir includes spaces.
|
128
|
+
|
129
|
+
2007-07-13 Guillaume Cottenceau
|
130
|
+
|
131
|
+
* src/rbpangoattribute.c, src/rbpangofont.c,
|
132
|
+
src/rbpangofontdescription.c, src/rbpangofontset.c,
|
133
|
+
src/rbpangoglyphinfo.c, src/rbpangoglyphstring.c,
|
134
|
+
src/rbpangolayout.c, src/rbpangolayoutline.c, src/rbpangologattr.c,
|
135
|
+
src/rbpangotabarray.c: replace RTEST uses by RVAL2CBOOL
|
136
|
+
|
137
|
+
2007-07-13 Guillaume Cottenceau
|
138
|
+
|
139
|
+
* src/rbpangocolor.c: "? Qtrue : QFalse" => CBOOL2RVAL cleanup
|
140
|
+
|
141
|
+
2007-07-08 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
|
142
|
+
|
143
|
+
* src/*.c: use rb_block_proc() directly instead of using G_BLOCK_PROC().
|
144
|
+
|
145
|
+
2006-12-26 Masao Mutoh <mutoh@highway.ne.jp>
|
146
|
+
|
147
|
+
* src/rbpangolayoutline.c: Fixed a comipling warning.
|
148
|
+
* extconf.rb: Work MinGW again.
|
149
|
+
|
150
|
+
2006-12-11 Masao Mutoh <mutoh@highway.ne.jp>
|
151
|
+
|
152
|
+
* src/rbpangomatrix.c: Add Pango::Matrix#font_scale_factor for Pango-1.2.
|
153
|
+
* src/rbpangofont*.c: Add ATSUIFont classes for Pango-1.2.
|
154
|
+
|
155
|
+
2006-12-05 Masao Mutoh <mutoh@highway.ne.jp>
|
156
|
+
|
157
|
+
* src/rbpangoglyphstring.c: Add Pango::GlyphString#width for Pango-1.4.
|
158
|
+
* src/rbpangofont.c: Pango::Font#describe accept an argument as absolute_size for Pango-1.4.
|
159
|
+
* src/rbpangocairo.c: Add Cairo#pango_error_underline_path,
|
160
|
+
#show_pango_error_underline. for Pango-1.4.
|
161
|
+
|
162
|
+
2006-06-22 Guillaume Cottenceau
|
163
|
+
|
164
|
+
* src/rbpangocontext.c, src/rbpangofont.c, src/rbpangoglyphitem.c,
|
165
|
+
src/rbpangolayout.c, src/rbpangolayoutiter.c,
|
166
|
+
src/rbpangorenderer.c, src/rbpangoscript.c: simplify code
|
167
|
+
|
168
|
+
2006-06-17 Masao Mutoh <mutoh@highway.ne.jp>
|
169
|
+
|
170
|
+
* src/rbpangocontext.c: Pango.itemize: Fix memoryleak.
|
171
|
+
* sample/*.rb: Code cleanup.
|
172
|
+
|
173
|
+
2005-11-29 Laurent Sansonetti <lrz@gnome.org>
|
174
|
+
|
175
|
+
* src/rbpangoglyphitem.c: Fixed build error.
|
176
|
+
|
177
|
+
2005-11-18 Masao Mutoh <mutoh@highway.ne.jp>
|
178
|
+
|
179
|
+
* src/rbpangorenderer.c: Pango::Renderer#matrix= accept nil.
|
180
|
+
* src/rbpangomatrix.c: Fix to return wrong value of Pango::Matrix#to_a.
|
181
|
+
* src/rbpangorenderer.c: Pango::Renderer#set_color accept nil.
|
182
|
+
Pango::Renderer#activate accept block.
|
183
|
+
|
184
|
+
2005-11-17 Masao Mutoh <mutoh@highway.ne.jp>
|
185
|
+
|
186
|
+
* src/rbpangoattribute.c: Fix wrong argument of Pango::Attribute.type_register.
|
187
|
+
Added Pango::AttrAbsoluteSize and Pango::AttrSize removed second parameter.
|
188
|
+
|
189
|
+
2005-11-12 Masao Mutoh <mutoh@highway.ne.jp>
|
190
|
+
|
191
|
+
* src/rbpangolayout.c: Added Pango::Layout#markup=.
|
192
|
+
Pango::Layout#tabs: Fix memory leak.
|
193
|
+
* src/rbpangocontext.c: Pango::Context#get_metrics: 2nd parameter is omittable.
|
194
|
+
Pango::Context#families: Fix memory leak.
|
195
|
+
|
196
|
+
2005-10-16 Masao Mutoh <mutoh@highway.ne.jp>
|
197
|
+
|
198
|
+
* README: Added cairo/rcairo information.
|
199
|
+
* src/lib/pango.rb: Rewrited a code which creates convinient constants
|
200
|
+
to Pango module to avoid to make unexpect values and works Ruby-1.6.
|
201
|
+
|
202
|
+
2005-10-15 Masao Mutoh <mutoh@highway.ne.jp>
|
203
|
+
|
204
|
+
* src/lib/pango.rb: Fixed to work under Ruby-1.6.
|
205
|
+
* sample/pango_cairo.rb: Rename cairo.rb to pango_cairo.rb.
|
206
|
+
* src/rbpangolayoutline.c, rbpangoengine.c:
|
207
|
+
Fix compiling problem on Pango-1.1.
|
208
|
+
* src/lib/pango.rb: Added Pango.cairo_available?.
|
209
|
+
* sample/glyphstring.rb: Added.
|
210
|
+
* src/rbpangofontmap.c: Removed the definition of PangoCairoFontMap.
|
211
|
+
(It's defined at src/rbpangocairo.c now).
|
212
|
+
|
213
|
+
2005-10-13 Masao Mutoh <mutoh@highway.ne.jp>
|
214
|
+
|
215
|
+
* src/rbpangofontset.c, rbpangofontsetsimple.c,
|
216
|
+
src/lib/pango.rb: Rename FontSet to Fontset.
|
217
|
+
|
218
|
+
2005-10-14 Kouhei Sutou <kou@cozmixng.org>
|
219
|
+
|
220
|
+
* src/rbpangocairo.c: Added 'pango_' prefix.
|
221
|
+
|
222
|
+
* sample/cairo.rb: Added sample using cairo.
|
223
|
+
|
224
|
+
* src/rbpangocairo.c: Pango::CairoFontMap.new ->
|
225
|
+
Pango::CairoFontMap.create because Pango::CairoFontMap is Module.
|
226
|
+
|
227
|
+
2005-10-08 Kouhei Sutou <kou@cozmixng.org>
|
228
|
+
|
229
|
+
* src/rbpangocontext.c
|
230
|
+
(rcontext_set_font_options, rcontext_get_font_options): Added
|
231
|
+
NULL/nil check.
|
232
|
+
|
233
|
+
2005-10-08 Masao Mutoh <mutoh@highway.ne.jp>
|
234
|
+
|
235
|
+
* src/makeversion.rb: Removed. Use make_version_header() of
|
236
|
+
Ruby/GLib.
|
237
|
+
* extconf.rb: Follow above change.
|
238
|
+
|
239
|
+
2005-10-07 Masao Mutoh <mutoh@highway.ne.jp>
|
240
|
+
|
241
|
+
* extconf.rb: Fix a compilation error on Win32 and Ruby/Cairo.
|
242
|
+
|
243
|
+
2005-10-05 Kouhei Sutou <kou@cozmixng.org>
|
244
|
+
|
245
|
+
* extconf.rb: Added Cairo check.
|
246
|
+
|
247
|
+
* src/rbpango.h: Include Cairo related headers.
|
248
|
+
|
249
|
+
* src/rbpangocontext.c: Added 1.10 API.
|
250
|
+
|
251
|
+
* src/rbpangocairo.c: Added.
|
252
|
+
|
253
|
+
* src/lib/pango.rb: Require 'cairo'.
|
254
|
+
|
255
|
+
2005-10-02 Masao Mutoh <mutoh@highway.ne.jp>
|
256
|
+
|
257
|
+
* src/rbpangomain.c: Raises RuntimeError if 1st argument is nil.
|
258
|
+
|
259
|
+
2005-09-29 Masao Mutoh <mutoh@highway.ne.jp>
|
260
|
+
|
261
|
+
* src/rbpango.c: Renamed Pango::VERSION to Pango::BUILD_VERSION.
|
262
|
+
Removed Pango::(MAJOR|MINOR|MICRO)_VERSION.
|
263
|
+
|
264
|
+
2005-09-18 Masao Mutoh <mutoh@highway.ne.jp>
|
265
|
+
|
266
|
+
* src/rbpangoitem.c: Check pango version for pango_item_get_type().
|
267
|
+
* src/rbpangolayoutline.c: ditto.
|
268
|
+
|
269
|
+
2005-09-17 Masao Mutoh <mutoh@highway.ne.jp>
|
270
|
+
|
271
|
+
* src/rbpangoengine.c: Added (class names only, Pango::Engine,
|
272
|
+
Pango::EngineShape, Pango::EngineLang).
|
273
|
+
* src/rbpangoanalysis.c: Fix problems not to show correct class names
|
274
|
+
of Pango::Analysis#shape_engine, #lang_engine.
|
275
|
+
* src/rbpangolayoutline.c: Fix a segfault of Pango::LayoutLine#runs.
|
276
|
+
* src/rbpangolayoutiter.c: Fix a bug of Pango::LayoutIter#line.
|
277
|
+
* sample/script.rb, break.rb, item.rb, layout.rb: Added.
|
278
|
+
|
279
|
+
2005-09-16 Masao Mutoh <mutoh@highway.ne.jp>
|
280
|
+
|
281
|
+
* src/rbpangoscriptiter.c: Added Pango::ScriptIter for Pango-1.4.
|
282
|
+
* src/rbpangoscript.c: Added Pango::Script for Pango-1.4.
|
283
|
+
* src/rbpangolanguage.c: Added Pango::Language#includes_script.
|
284
|
+
* src/rbpangofontmap.c:
|
285
|
+
Added Pango::(FT2|X|Win32|Cairo|CairoFc|CairoWin32)FontMap.
|
286
|
+
* src/rbpangofontface.c: Added Pango::(Fc|FT2|Xft|X|Win32)Face.
|
287
|
+
* src/rbpangofontfamily.c: Added Pango::(X|FT2|Win32)Family.
|
288
|
+
* src/rbpangofont.c: Added Pango::Font#font_map for Pango-1.9.
|
289
|
+
Supports Pango::CairoFcFont, Pango::CairoFont, Pango::CairoWin32Font
|
290
|
+
for Pango-1.10.
|
291
|
+
Added Pango::XFont, Pango::FT2Font.
|
292
|
+
* src/rbpangoglyphitem.c: Added Pango::GlyphItem#split, #apply_attrs,
|
293
|
+
#letter_space.
|
294
|
+
* src/rbpangoglyphstring.c: Added Pango::GlyphString#extents, #index_to_x,
|
295
|
+
#x_to_index, #get_logical_widths, #glyphs.
|
296
|
+
* src/rbpangocontext.c: Pango::Context#list_families is deprecated.
|
297
|
+
Use Pango::Context#families instead.
|
298
|
+
|
299
|
+
2005-09-16 Kouhei Sutou <kou@cozmixng.org>
|
300
|
+
|
301
|
+
* src/lib/pango.rb (Pango): Don't make aliases for:
|
302
|
+
- Pango::AttrXXX::TYPE_* -> Pango::XXX_*
|
303
|
+
|
304
|
+
2005-09-15 Masao Mutoh <mutoh@highway.ne.jp>
|
305
|
+
|
306
|
+
* src/makeversion.rb: Added copyright to the header.
|
307
|
+
|
308
|
+
2005-09-08 Kouhei Sutou <kou@cozmixng.org>
|
309
|
+
|
310
|
+
* src/lib/pango.rb (Pango): Add convenient aliases.
|
311
|
+
- Pango::Attribute::* -> Pango::ATTRIBUTE_*
|
312
|
+
- Pango::Coverage::* -> Pango::COVERAGE_*
|
313
|
+
- Pango::AttrXXX::TYPE_* -> Pango::XXX_*
|
314
|
+
- Pango::AttrXXX::* -> Pango::XXX_*
|
315
|
+
- Pango::XXX::* -> Pango::*
|
316
|
+
|
317
|
+
* src/rbpangolayoutline.c: Use original
|
318
|
+
pango_layout_line_get_type() if available.
|
319
|
+
(layout_line_copy): Don't use g_new().
|
320
|
+
|
321
|
+
* src/rbpangolayout.c (layout_get_line): Removed NULL check
|
322
|
+
because BOXED2RVAL() does.
|
323
|
+
|
324
|
+
2005-09-06 Kouhei Sutou <kou@cozmixng.org>
|
325
|
+
|
326
|
+
* src/rbpangolayout.c (layout_get_line): Return nil if line is out
|
327
|
+
of range.
|
328
|
+
|
329
|
+
2005-08-28 Guillaume Cottenceau
|
330
|
+
|
331
|
+
* src/rbpango.h: compile without warning with a recent pango by not
|
332
|
+
redefining PANGO_TYPE_ITEM and PANGO_TYPE_LAYOUT_LINE if they are
|
333
|
+
already defined
|
334
|
+
|
335
|
+
2005-07-30 Masao Mutoh <mutoh@highway.ne.jp>
|
336
|
+
|
337
|
+
* src/rbpangolayout.c (layout_get_font_description,
|
338
|
+
layout_set_tabs):
|
339
|
+
Fix type declarations.
|
340
|
+
|
341
|
+
2005-07-24 Masao Mutoh <mutoh@highway.ne.jp>
|
342
|
+
|
343
|
+
* src/rbpangolayoutiter.c: Fix for pango-1.4.x. Reported by Noritsugu Nakamura.
|
344
|
+
* extconf.rb src/rbpangofontfamily.c: Fix for pango-1.2.x.
|
345
|
+
* extconf.rb, src/rbpangoattriterator.: Fix to work on pango-1.1.x.
|
346
|
+
|
347
|
+
2005-07-23 Masao Mutoh <mutoh@highway.ne.jp>
|
348
|
+
|
349
|
+
* src/rbpangocoverage.c: Fix a compiling warning.
|
350
|
+
|
351
|
+
2005-04-15 Pascal Terjan <pterjan@linuxfr.org>
|
352
|
+
|
353
|
+
* src/rbpangolayoutline.c: Fixed a warning of Pango::LayoutLine#set_runs.
|
354
|
+
|
355
|
+
2005-03-22 Mirko Maischberger <mirko@lilik.it>
|
356
|
+
|
357
|
+
* sample/parse.rb: sh-bang (!#) normalization.
|
358
|
+
Reported by Mezz
|
359
|
+
|
360
|
+
2005-03-06 Masao Mutoh <mutoh@highway.ne.jp>
|
361
|
+
|
362
|
+
* src/rbpangoglyphitem.c, src/rbpangocontext.c, rbpangofontfamily.c,
|
363
|
+
rbpangoattrlist.c: Fix compiling errors on pango-1.1.x.
|
364
|
+
* extconf.rb, src/rbpangoglyphitem.c, rbpangomain.c,
|
365
|
+
rbpangologattr.c, rbpangolayoutline.c, rbpangolayoutiter.c,
|
366
|
+
rbpangolayout.c, rbpangoanalysis.c, rbpangoattribute.c:
|
367
|
+
Fix compiling errors on pango-1.2.x.
|
368
|
+
* README: Revised.
|
369
|
+
|
370
|
+
2005-02-17 Masao Mutoh <mutoh@highway.ne.jp>
|
371
|
+
|
372
|
+
* extconf.rb, src/rbpangoattribute.c: Fix a compiling problem on
|
373
|
+
MSVC++/pango-1.8.0.
|
374
|
+
|
375
|
+
2005-02-15 Masao Mutoh <mutoh@highway.ne.jp>
|
376
|
+
|
377
|
+
* src/rbpangolayoutline.c: Added Pango::LayoutLine#extents, #pixel_extents
|
378
|
+
#get_x_ranges. Added the accessors.
|
379
|
+
* src/rbpangolayoutiter.c: Added Pango::LayoutIter#line, #char_extents,
|
380
|
+
#cluster_extents, #run_extents, #line_extents, #layout_extents
|
381
|
+
#run.
|
382
|
+
* src/rbpangoglyphitem.c: Added.
|
383
|
+
* src/rbpangoglyphinfo.c: Fix a bug of Pango::GlyphInfo#set_glyph.
|
384
|
+
* src/rbpangotabarray.c: Added a comment.
|
385
|
+
|
386
|
+
2005-02-13 Masao Mutoh <mutoh@highway.ne.jp>
|
387
|
+
|
388
|
+
* src/rbpangolayout.c: Added Pango::Layout#log_attrs.
|
389
|
+
* src/rbpangorectangle.c: Added Pango::Rectangle#ascent, #descent,
|
390
|
+
#lbearing, #rbearing.
|
391
|
+
* src/rbpangoattriterator.c: Added Pango::AttrIterator#attrs.
|
392
|
+
* src/rbpangoattrlist.c: Added Pango::AttrList#filter.
|
393
|
+
* src/rbpangofontset.c: Added Pango::FontSet#each for Pango-1.4.
|
394
|
+
* src/rbpangofontmap.c: Rename Pango::FontMap#list_families to
|
395
|
+
#families. Added #shape_engine_type. Added Pango::FcFontMap, XftFontMap.
|
396
|
+
* src/rbpangofontface.c: Added Pango::FontFace#sizes.
|
397
|
+
* src/rbpangofontfamily.c: Added Pango::FontFamily#monospace?.
|
398
|
+
Rename Pango::FontFamily#list_faces to #faces.
|
399
|
+
* src/rbpangofontmetrics.c: Added underline_(thickness|position),
|
400
|
+
strikethrough_(thickness|position).
|
401
|
+
* src/rbpangofontdescription.c: Added Pango::FontDescription#set_absolute_size,
|
402
|
+
#size_is_absolute? for Pango-1.8.x.
|
403
|
+
* src/rbpango.h: Added some type macros. Define PANGO_ENABLE_(ENGINE|BACKEND).
|
404
|
+
* src/rbpangofont.c: Added Pango::Font#get_coverage, #get_glyph_extents.
|
405
|
+
Added Pango::FcFont, Pango::XftFont.
|
406
|
+
* src/rbpangocoverage.c: Added.
|
407
|
+
* src/rbpangoanalysis.c: Added Pango::Analysis#set_extra_attrs,
|
408
|
+
#extra_attrs.
|
409
|
+
* sample/attribute.rb: Follow Ruby/GTK changes.
|
410
|
+
* src/rbpangoitem.c: Added Pango::Item#offset, #set_offset, #length,
|
411
|
+
#set_length, #num_chars, #set_num_chars, #analysis, #set_analysis.
|
412
|
+
* src/rbpangologattr.c: Added Pango::LogAttr#backspace_deletes_character?,
|
413
|
+
#set_backspace_deletes_characer.
|
414
|
+
* src/rbpangoattribute.c: Pango::AttrSize.new supports Pango-1.8.
|
415
|
+
Added Pango::AttrStrikethroughColor, Panog::AttrUnderlineColor,
|
416
|
+
Pango::AttrFallback, Pango::AttrLetterSpacing
|
417
|
+
* src/rbpangomain.c: Added Pango.reorder_items, .unichar_direction,
|
418
|
+
.find_base_dir, .shape, .break, .get_log_attrs.
|
419
|
+
* src/rbpangoitem.c: Fix a wrong argument.
|
420
|
+
|
421
|
+
2005-02-12 Masao Mutoh <mutoh@highway.ne.jp>
|
422
|
+
|
423
|
+
* src/rbpangolayout.c: Added Pango::Layout#(get_)extents,
|
424
|
+
#(get)_pixel_extents.
|
425
|
+
|
426
|
+
2005-02-11 Masao Mutoh <mutoh@highway.ne.jp>
|
427
|
+
|
428
|
+
* src/rbpangomatrix.c: Added accessors for xx, xy, yx, yy, x0, y0.
|
429
|
+
Added #to_a.
|
430
|
+
* src/rbpangoattribute.c: Fix a segfault.
|
431
|
+
Make a subclass of Data instead of GLib::Boxed.
|
432
|
+
|
433
|
+
2005-02-08 Masao Mutoh <mutoh@highway.ne.jp>
|
434
|
+
|
435
|
+
* src/rbpangocontext.c: Added Pango::Context#itemize.
|
436
|
+
* src/rbpangoattrlist.c: Fix wrong argument number of
|
437
|
+
Pango::AttrList.new.
|
438
|
+
|
439
|
+
2005-01-30 Masao Mutoh <mutoh@highway.ne.jp>
|
440
|
+
|
441
|
+
* src/rbpangocontext.c: Added Pango::Context#font_map,
|
442
|
+
#matrix, #set_matrix for Pango-1.6.x.
|
443
|
+
* extconf.rb: Follow mkmf-gnome2.rb changes.
|
444
|
+
|
445
|
+
2005-01-29 Masao Mutoh <mutoh@highway.ne.jp>
|
446
|
+
|
447
|
+
* src/rbpangorenderer.c: Fix compiling error on MSVC++/Pango-1.8.0.
|
448
|
+
#Is it a bug of Pango-1.8.0?
|
449
|
+
* src/rbpangoattribute.c: Fix compiling error on MSVC++.
|
450
|
+
|
451
|
+
2005-01-28 Masao Mutoh <mutoh@highway.ne.jp>
|
452
|
+
|
453
|
+
* src/rbpangomatrix.c: Added Pango::Matrix for Pango-1.6.
|
454
|
+
* src/rbpangorenderer.c: Added Pango::Renderer for Pango-1.8.
|
455
|
+
* src/depend: Added rbpangoversion.h
|
456
|
+
* src/makeversion.rb: Added. Create rbpangoversion.h which defines
|
457
|
+
pango version as constants detected from pkg-config.
|
458
|
+
* extconf.rb: Call makeversion.rb.
|
459
|
+
* src/rbpango.h: Include rbpangoversion.h.
|
460
|
+
|
461
|
+
2005-01-23 Masao Mutoh <mutoh@highway.ne.jp>
|
462
|
+
|
463
|
+
* extconf.rb, src/rbpangolayout.c: Fix to compile under older pango.
|
464
|
+
(Define HAVE_PANGO_LAYOUT_GET_FONT_DESCRIPTION).
|
465
|
+
Reported by Vincent Isambart.
|
466
|
+
|
467
|
+
2005-01-10 Masao Mutoh <mutoh@highway.ne.jp>
|
468
|
+
|
469
|
+
* src/rbpangolayout.c: Added Pango#font_description,
|
470
|
+
#set_auto_dir, #auto_dir?, #lines.
|
471
|
+
Added Pango::Layout#set_ellipsize, #ellipsize,
|
472
|
+
Pango::Layout::EllipsizeMode for Pango-1.6.x.
|
473
|
+
|
474
|
+
2004-11-14 Masao Mutoh <mutoh@highway.ne.jp>
|
475
|
+
|
476
|
+
* src/lib/pango.rb: Works ruby-1.6.x again.
|
477
|
+
|
478
|
+
2004-11-06 Geoff Youngs <g@intersect-uk.co.uk>
|
479
|
+
|
480
|
+
* src/rbpangoitem.c: Pango::Item#split
|
481
|
+
Fix method registration (2 parameters, not 0)
|
482
|
+
|
483
|
+
2004-10-28 Masao Mutoh <mutoh@highway.ne.jp>
|
484
|
+
|
485
|
+
* src/rbpango.h, rbpangolayoutiter.c: Fix compiling warning under
|
486
|
+
pango-1.6.x.
|
487
|
+
|
488
|
+
2004-10-17 Vincent Isambart <isambart@netcourrier.com>
|
489
|
+
|
490
|
+
* extconf.rb: Changed add_uniq_to_objs to add_obj.
|
491
|
+
|
492
|
+
2004-10-17 Vincent Isambart <isambart@netcourrier.com>
|
493
|
+
|
494
|
+
* extconf.rb: Fixed a bug under ruby-1.9.
|
495
|
+
|
496
|
+
2004-03-29 Masao Mutoh <mutoh@highway.ne.jp>
|
497
|
+
|
498
|
+
* extconf.rb: Fix a bug under ruby-1.6.x.
|
499
|
+
|
500
|
+
2004-03-28 Masao Mutoh <mutoh@highway.ne.jp>
|
501
|
+
|
502
|
+
* src/rbpangomain.c: Fix a memory leak of Pango.parse_markup.
|
503
|
+
Reported by Joao Pedrosa
|
504
|
+
|
505
|
+
2004-03-14 Masao Mutoh <mutoh@highway.ne.jp>
|
506
|
+
|
507
|
+
* extconf.rb: Remove src/rbpangoinits.c when run "make distclean".
|
508
|
+
|
509
|
+
2003-12-02 Masao Mutoh <mutoh@highway.ne.jp>
|
510
|
+
|
511
|
+
* src/rbpango.h: Remove definition of CBOOL2RVAL(merged to Ruby/GLib).
|
512
|
+
|
513
|
+
2003-11-10 Masao Mutoh <mutoh@highway.ne.jp>
|
514
|
+
|
515
|
+
* src/rbpangologattr.c, src/rbpangoanalysis.c: Added.
|
516
|
+
|
517
|
+
2003-11-08 Masao Mutoh <mutoh@highway.ne.jp>
|
518
|
+
|
519
|
+
* src/depend: Added.
|
520
|
+
|
521
|
+
2003-10-07 Masao Mutoh <mutoh@highway.ne.jp>
|
522
|
+
|
523
|
+
* src/rbpangoattribute.c: Remove debug code.
|
524
|
+
|
525
|
+
2003-09-11 Masao Mutoh <mutoh@highway.ne.jp>
|
526
|
+
|
527
|
+
* src/rbpangolayout.c: Add Pango::Layout#index_to_pos, get_cursor_pos.
|
528
|
+
Move Pango::Layout#line to Pango::Layout#get_line.
|
529
|
+
|
530
|
+
2003-09-01 Masao Mutoh <mutoh@highway.ne.jp>
|
531
|
+
|
532
|
+
* src/rbpangocontext.c, rbpangofontdescription.c, rbpangotabarray.c
|
533
|
+
rbpangoattribute.c, rbpangolayout.c: Apply enum/flags.
|
534
|
+
* sample/attribute.rb: ditto.
|
535
|
+
* sample/gdk_layout.rb: Fix warning for ruby-1.8.x.
|
536
|
+
|
537
|
+
2003-08-30 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
|
538
|
+
|
539
|
+
* extconf.rb: add set_output_lib call.
|
540
|
+
|
541
|
+
* extconf.rb: fix to allow building in a foreign directory.
|
542
|
+
|
543
|
+
2003-08-28 Masao Mutoh <mutoh@highway.ne.jp>
|
544
|
+
|
545
|
+
* extconf.rb: Exit with 1 when the package is not found.
|
546
|
+
|
547
|
+
2003-08-21 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
|
548
|
+
|
549
|
+
* rbpangofontdescription.c: new method Pango::FontDescription#to_s
|
550
|
+
(alias to Pango::FontDescription#to_str).
|
551
|
+
|
552
|
+
* src/*.c: define enum/flags classes.
|
553
|
+
|
554
|
+
2003-08-17 Vincent Isambart <vincent.isambart@laposte.net>
|
555
|
+
|
556
|
+
* src/rbpangofont.c: Pango::Font#metrics accept no parameter.
|
557
|
+
|
558
|
+
2003-08-16 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
|
559
|
+
|
560
|
+
* src/rbpangolanguage.c: implement Pango::Language#to_s
|
561
|
+
|
562
|
+
* src/rbpangolanguage.c (language_to_str): use
|
563
|
+
pango_language_to_string()
|
564
|
+
|
565
|
+
* src/rbpangofontmap.c: implment Pango::FontMap#list_families
|
566
|
+
|
567
|
+
* src/rbpangofontfamily.c: implement Pango::FontFamily#list_faces
|
568
|
+
|
569
|
+
* src/pango/rbpangocontext.c: implement Pango::Context#list_families
|
570
|
+
|
571
|
+
* src/pango/rbpangofont.c: fix Pango::Font.metrics
|
572
|
+
|
573
|
+
2003-08-15 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
|
574
|
+
|
575
|
+
* src/*: use G_DEF_CONSTANTS() for defining enum/flags constants.
|
576
|
+
|
577
|
+
2003-05-27 Masao Mutoh <mutoh@highway.ne.jp>
|
578
|
+
|
579
|
+
* extconf.rb: Follow mkmf-gnome2.rb position changes.
|
580
|
+
|
581
|
+
2003-04-05 Masao Mutoh <mutoh@highway.ne.jp>
|
582
|
+
|
583
|
+
* src/rbpangoattribute.c: Move Pango::Attribute::UNDERLINE_...
|
584
|
+
to Pango::AttrUnderline::...
|
585
|
+
Move Pango::Attribute::SCALE_... to Pango::AttrScale::...
|
586
|
+
* sample/attribute.rb: Move Pango::Attribute::UNDERLINE_...
|
587
|
+
to Pango::AttrUnderline::...
|
588
|
+
|
589
|
+
2003-03-19 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
|
590
|
+
|
591
|
+
* src/pango.def: Add a file
|
592
|
+
|
593
|
+
2003-03-08 Masao Mutoh <mutoh@highway.ne.jp>
|
594
|
+
|
595
|
+
* src/rbpangomain.c: Add Pango.pixels
|
596
|
+
|
597
|
+
2003-03-07 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
|
598
|
+
|
599
|
+
* extconf.rb: append "-DRUBY_PANGO_COMPILATION" to $defs.
|
600
|
+
* src/rbpango.h: define RUBY_PANGO_VAR macro for exporting variables
|
601
|
+
on some win32 platforms.
|
602
|
+
|
603
|
+
2003-02-14 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
|
604
|
+
|
605
|
+
* extconf.rb: Use ../mkmf-gnome2.rb
|
606
|
+
|
607
|
+
2003-02-10 Masao Mutoh <mutoh@highway.ne.jp>
|
608
|
+
|
609
|
+
* README: Revise documents.
|
610
|
+
Pointed out by Jeremy Henty <jeremy@chaos.org.uk>
|
611
|
+
|
612
|
+
2003-02-09 Masao Mutoh <mutoh@highway.ne.jp>
|
613
|
+
|
614
|
+
* sample/*.rb: Fix to work under Ruby-1.6.x.
|
615
|
+
|
616
|
+
2003-02-02 Geoff Youngs <g@intersect-uk.co.uk>
|
617
|
+
|
618
|
+
* src/rbpangolayout.c: Fix a couple of the returned arrays in Pango::Layout
|
619
|
+
used the wrong macros (ie. NUM2INT instead of INT2NUM)
|
620
|
+
* src/rbpangomain.c: Add Pango::SCALE.
|
621
|
+
|
622
|
+
2003-02-02 Masao Mutoh <mutoh@highway.ne.jp>
|
623
|
+
|
624
|
+
* sample/gdk_layout.rb: Add a file.
|
625
|
+
* src/rbpangofontmap.c: Comment out test code.
|
626
|
+
* All files: Update copyright.
|
627
|
+
|
628
|
+
2003-01-29 Masao Mutoh <mutoh@highway.ne.jp>
|
629
|
+
|
630
|
+
* src/rbpangocontext.c: Fix segfault when Pango::Context#layout, #font_description
|
631
|
+
are return NULL.
|
632
|
+
* src/rbpangolayout.c: Fix wrong arguments of Pango::Layout#set_mark.
|
633
|
+
|
634
|
+
2003-01-11 Masao Mutoh <mutoh@highway.ne.jp>
|
635
|
+
|
636
|
+
* sample/attribute.rb: Add a file.
|
637
|
+
* src/rbpangocolor.c: Add accessor for the struct PangoColor.
|
638
|
+
* src/rbpangofontdescription.c: Remove Pango::FontDescription#to_s.
|
639
|
+
* src/rbpangoattribute.c: Improve Gtk::Attribute and children. Add initialize methods.
|
640
|
+
* src/rbpangolanguage.c: Add Pango::Language#to_str.
|
641
|
+
|
642
|
+
2003-01-04 Masao Mutoh <mutoh@highway.ne.jp>
|
643
|
+
|
644
|
+
* src/rbpango.h, src/rbpangoattribute.c:
|
645
|
+
Add RBPANGO_ADD_ATTRIBUTE for other libs(rbgdkpango.c).
|
646
|
+
Add extern declaration for accessing to pattr, pattrstring,
|
647
|
+
pattrint, pattrfloat, pattrcolor.
|
648
|
+
|
649
|
+
2003-01-03 Masao Mutoh <mutoh@highway.ne.jp>
|
650
|
+
|
651
|
+
* src/rbpangoattribute.c: Add accessor methods to attributes.
|
652
|
+
* src/rbpango.c: Add Pango.parse_markup.
|
653
|
+
* src/rbpango.h: Add a file.
|
654
|
+
* src/rbpangoinits.c: Remove a file. This file is auto-generated.
|
655
|
+
* src/rbpangomain.c: Add Pango.parse_markup.
|
656
|
+
* src/lib/pango.rb: Add AttrList#each.
|
657
|
+
* sample/label.rb, parse.rb, sample.txt: Add files.
|
658
|
+
|
659
|
+
2002-12-31 Masao Mutoh <mutoh@highway.ne.jp>
|
660
|
+
|
661
|
+
* Initial import.
|
662
|
+
|