-
Notifications
You must be signed in to change notification settings - Fork 2
/
NEWS
379 lines (309 loc) · 12.3 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
1.15.3 (unstable):
(Distros should probably not package this yet.)
* RefPtr: This is now an alias for std::shared_ptr<>.
These should be instatiated via
Cairo::make_refptr_for_instance(), though that should
never be necessary anyway outside of the cairomm
implementation itself.
1.15.2 (unstable):
(Distros should probably not package this yet.)
* Remove deprecated API.
(Murray Cumming)
1.15.1 (unstable):
* First release of the cairomm-1.16 API/ABI that installs
in parallel with cairomm-1.0.
This uses libsigc++-3.0 instead of libsigc++-2.0.
1.13.1 (unstable):
* Added RecordingSurface, wrapping cairo_recording_surface.
(Jason Rhinelander) Bug #121359
1.12.2 (stable):
* Remove new API that was not meant to be added in 1.12.1.
1.12.1 (stable):
* C++11: Use nullptr instead of 0.
* C++11: Use override keyword on destructors.
* C++11: Make operator bool() explicit.
(Murray Cumming)
1.12.0 (stable):
* Cairo::RefPtr: Add move constructors and move operator=().
(Murray Cumming)
* MSVC build fixes.
(Chun-wei Fan)
1.11.4 (unstable):
* Use (and require) C++11.
(Murray Cumming)
* Add Script and ScriptSurface.
(Povilas Kanapickas)
* Context: get_surface_wrapper(): Handle CAIRO_SURFACE_TYPE_SCRIPT,
returning a ScriptSurface.
(Povilas Kanapickas)
* Surface: get_device(): Handle CAIRO_SURFACE_TYPE_SCRIPT,
returning a Script.
(Povilas Kanapickas)
* Wrap cairo script device and script surface APIs.
(Povilas Kanapickas)
* FtFontFace: Add get/set/unset_synthesize().
(Povilas Kanapickas)
* Update MSVC.Net 2010 project files.
(David Weiß)
1.11.2 (unstable):
* Pattern: Add set_extend() and get_extend().
(Povilas Kanapickas) Bug #73775
* ScaledFont: Add the missing get_extents() method implementation.
(Murray Cumming) Bug #53981 (cheshirekow)
* Allow use from Objective-C instead of just allowing building.
(Anton Bachin) Bug #66328
* Avoid dereferencing empty std::vector<>s.
(Murray Cumming) Bug #36020 (Robert Kurjata)
* Documentation improvements.
(Mark Vender)
* Fix linker problems in examples.
(Murray Cumming)
1.10.0 (stable):
* Documentation: Context::arc(): Correct the documentation, as in the C
documentation.
(Murray Cumming) Bug #31345 (Christopher Head)
1.9.8 (unstable):
* Surface:
- added create() for creating a sub-surface representing a rectangle on a
target surface
- PDF versioning API: get_versions(), restrict_to_version(),
version_to_string()
- add get_device()
- add new surface type enum values
* Device
- add acquire() and release() functions
- Add Device::Lock convenience class
* Region
- UNSTABLE API CHANGE: Fix do_union(), subtract(), intersect() to throw
exceptions instead of returning error statuses to be consistent with the
rest of the cairomm API
- add xor() functions
- add API for creating a region from a list of rectangles
- implement copy()
* Documentation:
- Context::arc(): Fix bug #31345 (Christopher Head) about bad math in arc()
documentation. (Murray Cumming)
- Add documentation for Device class
- Add documentation for Region class
1.9.6 (unstable):
* Context: Added in_clip().
* Surface: Added get_mime_data(), set_mime_data(), unset_mime_data().
(Murray Cumming)
* Build: Added support for Windows 64-bit and Visual Studio 2010.
(Armin Burgmeier)
1.9.4 (unstable):
* Added Device.
(Murray Cumming)
1.9.2 (unstable):
* Context:
- set_dash(): Make the dashes parameter const.
- device_to_user(), device_to_user_distance(), user_to_device(),
user_to_device_distance(): Deprecate the non-const versions, adding const
versions.
(Murray Cumming)
* Cleanup of most -Weffc++ warnings. Bug #28246.
(Ian Britten)
1.9.1 (unstable):
* Added Region.
(Murray Cumming)
* Context: Don't allow this to be copied.
(Daniel Elstner)
* Build:
- Fix the MSVC build.
(Armin Burgmeier)
- Fix the 64-bit build.
(Augusto Jun Devegil)
- Actually install cairomm-xlib-xrender-1.0.pc.
(Daisuke Nishikawa)
1.8.4:
* move to new mm-common build infrastructure
* Contributors for this release:
1 Christopher Harvey
4 Daniel Elstner
4 David King
1 Jonathon Jongsma
1.8.2:
* Fix accidental ABI breakage from 1.8.0. All users are urged to please upgrade
from 1.8.0 to 1.8.2 as soon as possible
1.8.0:
* No notable changes since 1.7.2
1.7.2 (UNSTABLE):
* API Changes (all API changes are in unstable API introduced in 1.7.x)
* UserFontFace is not implemented with virtual functions rather than by
registering callbacks
* Cairo::scaled_matrix() -> Cairo::scaling_matrix() to match other matrix
convenience functions
* Bugfixes
* Incorrect refcounting on ScaledFont
* build fixes for Mac OSX
* Contributors for this release:
1 Armin Burgmeier
1 Dave Evans
22 Jonathon Jongsma
1.7.0 (UNSTABLE):
* API Changes
* ScaledFont: Change fontface constructor parameter to be a RefPtr
* This is an API break, but the old interface was essentially unusably
broken
* Cairo::Matrix now inherits from cairo_matrix_t
* Previously, we had used Cairo::Matrix throughout our API, but
Cairo::Matrix was just a typedef for cairo_matrix_t
* This could be considered an API change, but the new Cairo::Matrix still
is-a cairo_matrix_t even if it's not exactly a cairo_matrix_t. This
change does not break ABI either, as there are no data members or virtual
functions. So I believe this is a safe change, but feedback is appreciated.
* Provides a much more C++-friendly API for handling matrices
* Also added a set of standalone 'generator' functions for generating
starting matrices:
* Cairo::identity_matrix(), rotation_matrix(), translation_matrix(),
scaled_matrix(). This allows for convenient use such as:
cr->set_matrix(Cairo::identity_matrix());
rather than something like what was required before:
Cairo::Matrix identity_matrix;
cairo_matrix_init_identity(&identity_matrix);
cr->set_matrix(identity_matrix);
* Pattern: get/set_matrix() functions were using a cairo_matrix_t parameter in
the API. This is the only place where we used this type and so it was
inconsistent with every other matrix-related API in cairomm. Previously
this wasn't really an issue since cairo_matrix_t and Cairo::Matrix were
typedefed to the same type. However, with the the change to Cairo::Matrix
mentioned above, this because a much bigger issue.
* This is an ABI-compatible change, but it is a minor API change that could
result in some warnings or compile problems in some situations`
* New API (some of these are new in cairo 1.8, some are older API that were
not wrapped in cairomm previously)
* Add Context::get/set_scaled_font()
* add Context::show_text_glyphs()
* add Context::get_font_options()
* Add Surface::has_show_text_glyphs()
* Add Surface::get_content() + test
* Added Surface::get_fallback_resolution()
* Add ScaledFont::text_to_glyphs()
* Add PsSurface::get_eps()
* Add missing Win32Surface API: create_with_ddb(), create_with_dib(), and get_image()
* Add Win32PrintingSurface
* Vastly improved font support
* ToyFontFace
* UserFontFace
* Add Freetype font support (FtFontFace, etc)
* Add win32 font support (Win32FontFace, etc)
* Add quartz font support (QuartzFontFace, etc)
* Add ScaledFont::get_scale_matrix()
* Fix API inconsistencies by adding overloads and deprecating old versions
* Deprecated FontFace::extents() in favor of FontFace::get_extents()
* Deprecated FontFace::text_extents() in favor of FontFace::get_text_extents()
* Deprecated FontFace::glyph_extents() in favor of FontFace::get_glyph_extents()
* Add sigc::slot versions of all of the functions that take a
cairo_write_func_t or cairo_read_func_t
* This adds a new dependency on libsigc++, but offers a much more flexible
and C++-like solution
* Old API using cairo_write_func_t / cairo_read_func_t still exist, but are
deprecated in favor of the new API
* Add a default value for the font_options parameter of the ScaledFont constructor
* Added new macros for determining library version:
* CAIROMM_MAJOR_VERSION, CAIROMM_MINOR_VERSION, and CAIROMM_MICRO_VERSION
* Add a bunch of extra .pc files for additional functionality
* like cairo, create convenience .pc files for using some of the optional
features. For example, cairomm-ft-1.0, cairomm-pdf-1.0, cairomm-xlib-1.0, etc.
* Numerous windows build improvements
* Added a *lot* of automated tests
1.6.2:
* Fix build on OSX when both Quartz and Xlib surfaces are enabled (Benjamin
Reed)
* updated the windows build (Armin Burgmeier)
* Fixed a bug where an exception message would often report "Success" when it
should have reported an error message
* Added ability to get the error status code from an exception:
Cairo::logic_error::get_status_code()
* Added new elements to the surface type enumeration
1.6.0:
* wrap cairo_format_stride_for_width(). All new cairo 1.6 API should now be
implemented in cairomm
1.5.0 (UNSTABLE):
* Unstable release wrapping new API in cairo 1.5 series
* Bugfixes
- Bug #14559: build failure in exception.cc on Solaris with Sun Workshop C++
- Bug #14558: cairomm 1.4.6 context.cc needs math.h on Solaris
1.4.6:
* Bugfixes:
- Bug #11972: Cannot build cairomm with Quartz enabled
1.4.4:
* Added the --enable-api-exceptions=yes/no configure option, to allow
cairomm to build when exceptions are disabled. For instance, when using
CXXFLAGS=-fno-exceptions with g++.
1.4.2:
* Bugfixes:
- Bug #11596: Fixed broken shared library versioning (Dave Beckett)
- Bug #8511: RefPtr: refcounting broken with cast_*() methods (Murray
Cumming)
1.4.0:
* Wrapped new API added in cairo 1.4
* Added support for Quartz surfaces
* ability to use dynamic casting for surfaces and patterns returned from
Context::get_target(), Context::get_source(), etc.
* Various build and bug fixes
1.2.4:
* Fixed an error that prevented Cairo::RefPtr<>::cast_static() and
Cairo::RefPtr<>::cast_dynamic() from compiling.
1.2.2:
* Fixed an issue when compiling on windows with MSVC
1.2.0:
* This is the first release that guarantees API and ABI stability
* Changed API:
- Context::clear_path() is now Context::begin_new_path()
- Context::new_sub_path() is now Context::begin_new_sub_path()
* new API:
- Win32Surface::get_dc()
- Win32Surface::create() for device-independent bitmaps
* Bugfixes
- fixed a memory leak where C++ wrapper objects were not being destroyed
* Fixes for compiling with MSVC (also includes project and resource files for
Visual Studio 2005. See the MSVC/ directory)
1.1.10:
* API:
- Wrap new API from cairo 1.2
- Wrap ScaledFont
* Improved Documentation
* Build fixes
0.6.0:
* API:
- enumerations are now wrapped within the Cairo namespace. So, for example,
CAIRO_FORMAT_ARGB32 becomes Cairo::FORMAT_ARGB32
* Examples: added simple text example translated from Cairo.
* Bugfixes for the Glitz and Windows backends.
* Build and installation improvements (Danilo Piazzalunga)
0.5.0:
* Surface:
- Created derived classes for PDF, PS, SVG, Glitz,
X11 and Win32 surfaces, which are only available if your copy
of cairo supports those surfaces. The X11 and Win32 Surface headers
must be #included explicitly.
(Jonathon Jongsma)
- Added write_to_png() and write_to_png_stream(), available when PNG
support is available in Cairo.
(Jonathon Jongsma)
* Examples: Added PNG, PDF, PS, and SVG Surface examples.
(Jonathon Jongsma)
* Added API documentation generation with doxygen (Jonathon Jongsma)
0.4.0:
* Add Cairo::RefPtr<> and use all reference-counted
objects via it. Use the static create() methods
instead of new for these classes.
* Context:
- Change set_dash(void) to unset_dash().
- Change rotate_deg() to rotate_degrees().
- Change identity_matrix() to set_identity_matrix().\
- Change new_path() to clear_path().
* FontFace: Remove get/set_user_data(), because it seems useless.
0.3.0:
* Context:
- Change mask_surface() to mask() and
set_source_surface() to set_source().
- Add typedef for Matrix, but a real Matrix
class would be nice.
* Pattern: Created hierarchy of classes.
* Check for errors in constructors.
* Exception: Rename to logic_error, and throw
std::bad_alloc or std::io_base::failure instead
when appropriate.
(Murray Cumming)