File: CHANGELOG.md

package info (click to toggle)
haskell-diagrams-cairo 1.4.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 136 kB
  • sloc: haskell: 643; makefile: 2
file content (444 lines) | stat: -rw-r--r-- 15,672 bytes parent folder | download
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
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
## [v1.4.2.1](https://github.com/diagrams/diagrams-cairo/tree/v1.4.2.1) (2023-07-10)

- Allow `base-4.18`, `mtl-2.3`, `optparse-applicative-0.18`,
  `unix-2.8`
- Test with GHC 9.4 and 9.6

## [v1.4.2](https://github.com/diagrams/diagrams-cairo/tree/v1.4.2) (2022-01-26)

- Test with GHC 9.0 (requires `--allow-newer`)
- Allow `base-4.15`, `lens-5.1`, `bytestring-0.11`,
  `transformers-0.6`, `hashable-1.4`
- Add `Eq Options` instance required for `Hashable`

- r1 (6 Feb 2022): allow `optparse-applicative-0.17`
- r2 (19 Aug 2022): allow `vector-0.13`
- r3 (4 Jan 2023): allow `lens-5.2`, test with GHC 9.2, drop official support for GHC < 8.8

## [v1.4.1.1](https://github.com/diagrams/diagrams-cairo/tree/v1.4.1.1) (2019-01-11)

- Drop GHC 7.10 and 8.0 support
- Test with GHC 8.6 and 8.8

- r1: allow `lens-4.19` and `linear-1.21`
- r2: allow `base-4.14`, `diagrams-core-1.5`, `lens-5.0`,
  `optparse-applicative-0.16`

## [v1.4.1](https://github.com/diagrams/diagrams-cairo/tree/v1.4.1) (2018-05-17)

- Allow `base-4.11` and `lens-4.16`
- Add `Semigroup` instance for `Render Cairo V2 Double`
- Drop GHC 7.8 support

## [v1.4](https://github.com/diagrams/diagrams-cairo/tree/v1.4) (2016-10-26)

- No significant changes, just bumping version for diagrams 1.4
  release

- Allow `vector-0.12` (Hackage revision 1)
- Allow `base-4.10` and `optparse-applicative-0.14` (Hackage rev 2)

## [v1.3.1.2](https://github.com/diagrams/diagrams-cairo/tree/v1.3.1.2) (2016-08-22)

- Require `optparse-applicative-0.13` and fix compilation error

## [v1.3.1.1](https://github.com/diagrams/diagrams-cairo/tree/v1.3.1.1) (2016-08-16)

- Allow `optparse-applicative-0.13`

## [v1.3.1](https://github.com/diagrams/diagrams-cairo/tree/v1.3.1) (2016-06-16)

- Bump upper bounds to allow:
    - `base-4.9`
    - `data-default-class-0.1`
    - `transformers-0.5.x`

- New module `Diagrams.Backend.Cairo.Text` with better text support
  (based on `pango`)

## [v1.3.0.6](https://github.com/diagrams/diagrams-cairo/tree/v1.3.0.6) (2016-05-01)

- allow `lens-4.14`
- New module `Diagrams.Backend.Cairo.Text` (should have been minor
  version bump; if you want to depend on this module please use
  `diagrams-cairo-1.3.1` or later).

[Full Changelog](https://github.com/diagrams/diagrams-cairo/compare/v1.3.0.5...v1.3.0.6)

## [v1.3.0.5](https://github.com/diagrams/diagrams-cairo/tree/v1.3.0.5) (2015-09-29)

  - Allow `optparse-applicative-0.12`

[Full Changelog](https://github.com/diagrams/diagrams-cairo/compare/v1.3.0.4...v1.3.0.5)

## [v1.3.0.4](https://github.com/diagrams/diagrams-cairo/tree/v1.3.0.4) (2015-09-17)

  - Allow `lens-4.13`

[Full Changelog](https://github.com/diagrams/diagrams-cairo/compare/v1.3.0.3...v1.3.0.4)

## [v1.3.0.3](https://github.com/diagrams/diagrams-cairo/tree/v1.3.0.3) (2015-07-19)

[Full Changelog](https://github.com/diagrams/diagrams-cairo/compare/v1.3.0.2...v1.3.0.3)

## [v1.3.0.2](https://github.com/diagrams/diagrams-cairo/tree/v1.3.0.2) (2015-05-26)

[Full Changelog](https://github.com/diagrams/diagrams-cairo/compare/v1.3.0.1...v1.3.0.2)

## [v1.3.0.1](https://github.com/diagrams/diagrams-cairo/tree/v1.3.0.1)(2015-04-25)

**Fixed bug:**

- Reflection should be included in transformation returned by adjustDia [\#63](https://github.com/diagrams/diagrams-cairo/issues/63)

## [v1.3](https://github.com/diagrams/diagrams-cairo/tree/v1.3)(2015-04-19)

- allow `lens-4.9`
- update for `diagrams-1.3`

## [v1.2.0.7](https://github.com/diagrams/diagrams-cairo/tree/v1.2.0.7) (2015-04-04)

[Full Changelog](https://github.com/diagrams/diagrams-cairo/compare/v1.2.0.5...v1.2.0.7)

**Fixed bugs:**

- loop when rendering text [\#59](https://github.com/diagrams/diagrams-cairo/issues/59)

**Merged pull requests:**

- remove Text module [\#60](https://github.com/diagrams/diagrams-cairo/pull/60) ([bergey](https://github.com/bergey))

## [v1.2.0.6] () (2015-01-12)

- allow `lens-4.7`

## [v1.2.0.5](https://github.com/diagrams/diagrams-cairo/tree/v1.2.0.5) (2014-12-25)

[Full Changelog](https://github.com/diagrams/diagrams-cairo/compare/v1.2.0.4...v1.2.0.5)

## [v1.2.0.4](https://github.com/diagrams/diagrams-cairo/tree/v1.2.0.4) (2014-11-17)

[Full Changelog](https://github.com/diagrams/diagrams-cairo/compare/v1.2.0.3...v1.2.0.4)

**Closed issues:**

- expose gifRender [\#55](https://github.com/diagrams/diagrams-cairo/issues/55)

**Merged pull requests:**

- Bump lens upper version bounds [\#58](https://github.com/diagrams/diagrams-cairo/pull/58) ([RyanGlScott](https://github.com/RyanGlScott))

- Update for new measure and size spec. [\#57](https://github.com/diagrams/diagrams-cairo/pull/57) ([cchalmers](https://github.com/cchalmers))

- Diagram B [\#56](https://github.com/diagrams/diagrams-cairo/pull/56) ([jeffreyrosenbluth](https://github.com/jeffreyrosenbluth))

- port to linear instead of vector-space [\#54](https://github.com/diagrams/diagrams-cairo/pull/54) ([bergey](https://github.com/bergey))

## [v1.2.0.3](https://github.com/diagrams/diagrams-cairo/tree/v1.2.0.3) (2014-10-08)

[Full Changelog](https://github.com/diagrams/diagrams-cairo/compare/v1.2.0.2-1...v1.2.0.3)

**Fixed bugs:**

- --loop disables generating multiple files [\#50](https://github.com/diagrams/diagrams-cairo/issues/50)

**Merged pull requests:**

- loop using fsnotify [\#53](https://github.com/diagrams/diagrams-cairo/pull/53) ([bergey](https://github.com/bergey))

## [v1.2.0.2-1](https://github.com/diagrams/diagrams-cairo/tree/v1.2.0.2-1) (2014-09-08)

[Full Changelog](https://github.com/diagrams/diagrams-cairo/compare/v1.2.0.2...v1.2.0.2-1)

## [v1.2.0.2](https://github.com/diagrams/diagrams-cairo/tree/v1.2.0.2) (2014-09-07)

[Full Changelog](https://github.com/diagrams/diagrams-cairo/compare/v1.2.0.1...v1.2.0.2)

## [v1.2.0.1](https://github.com/diagrams/diagrams-cairo/tree/v1.2.0.1) (2014-08-22)

[Full Changelog](https://github.com/diagrams/diagrams-cairo/compare/v1.2...v1.2.0.1)

**Closed issues:**

- Problems with yellow color in gif animation [\#51](https://github.com/diagrams/diagrams-cairo/issues/51)

## [v1.2](https://github.com/diagrams/diagrams-cairo/tree/v1.2) (2014-06-02)

[Full Changelog](https://github.com/diagrams/diagrams-cairo/compare/v1.1.0.1...v1.2)

**New features**

- Much improved text support using the `pango` library instead of
  cairo's "toy" text API.

- Support for linear and radial gradients on strokes and fills.

**Fixed bugs:**

- textLineBoundedIO sometimes produces incorrect envelopes [\#19](https://github.com/diagrams/diagrams-cairo/issues/19)

**Closed issues:**

- Mac OS X/XQuartz: Can't render single letter [\#43](https://github.com/diagrams/diagrams-cairo/issues/43)

**Merged pull requests:**

- Pango [\#49](https://github.com/diagrams/diagrams-cairo/pull/49) ([bergey](https://github.com/bergey))

- fix text scaling [\#48](https://github.com/diagrams/diagrams-cairo/pull/48) ([byorgey](https://github.com/byorgey))

- DImage implemented [\#47](https://github.com/diagrams/diagrams-cairo/pull/47) ([jeffreyrosenbluth](https://github.com/jeffreyrosenbluth))

- Units [\#46](https://github.com/diagrams/diagrams-cairo/pull/46) ([jeffreyrosenbluth](https://github.com/jeffreyrosenbluth))

- Gradient [\#37](https://github.com/diagrams/diagrams-cairo/pull/37) ([jeffreyrosenbluth](https://github.com/jeffreyrosenbluth))

## [v1.1.0.1](https://github.com/diagrams/diagrams-cairo/tree/v1.1.0.1) (2014-03-19)

[Full Changelog](https://github.com/diagrams/diagrams-cairo/compare/v1.1...v1.1.0.1)

## [v1.1](https://github.com/diagrams/diagrams-cairo/tree/v1.1) (2014-03-09)

[Full Changelog](https://github.com/diagrams/diagrams-cairo/compare/v1.0.1.2...v1.1)

**New features**

- It is now possible to directly output animated GIFs, using the
  `gifMain` function

**Closed issues:**

- Color conversions have huge impact on performance [\#44](https://github.com/diagrams/diagrams-cairo/issues/44)

**Merged pull requests:**

- Fix documentation typo \(subtable -\> suitable\) [\#45](https://github.com/diagrams/diagrams-cairo/pull/45) ([robx](https://github.com/robx))

## [v1.0.1.2](https://github.com/diagrams/diagrams-cairo/tree/v1.0.1.2) (2014-02-06)

[Full Changelog](https://github.com/diagrams/diagrams-cairo/compare/v1.0.1.1...v1.0.1.2)

**Closed issues:**

- Build failure for GHC 7.4 [\#42](https://github.com/diagrams/diagrams-cairo/issues/42)

## [v1.0.1.1](https://github.com/diagrams/diagrams-cairo/tree/v1.0.1.1) (2014-01-30)

[Full Changelog](https://github.com/diagrams/diagrams-cairo/compare/v1.0.1...v1.0.1.1)

## [v1.0.1](https://github.com/diagrams/diagrams-cairo/tree/v1.0.1) (2014-01-26)

[Full Changelog](https://github.com/diagrams/diagrams-cairo/compare/v1.0...v1.0.1)

**Merged pull requests:**

- Add Hashable instance for Options Cairo R2 [\#41](https://github.com/diagrams/diagrams-cairo/pull/41) ([byorgey](https://github.com/byorgey))

- Making animated GIFs directly from diagrams using Cairo. [\#40](https://github.com/diagrams/diagrams-cairo/pull/40) ([jeffreyrosenbluth](https://github.com/jeffreyrosenbluth))

## [v1.0](https://github.com/diagrams/diagrams-cairo/tree/v1.0) (2013-11-25)

[Full Changelog](https://github.com/diagrams/diagrams-cairo/compare/v0.7...v1.0)

**New Features**

- Re-implement via new backend `RTree` interface.

- Use new command-line interface from `diagrams-lib`.

- Export `B` as an alias for `Cairo` token.

**Fixed bugs:**

- opacity does not affect text [\#15](https://github.com/diagrams/diagrams-cairo/issues/15)

**Merged pull requests:**

- Backend tree conversion [\#36](https://github.com/diagrams/diagrams-cairo/pull/36) ([byorgey](https://github.com/byorgey))

- Lens [\#35](https://github.com/diagrams/diagrams-cairo/pull/35) ([jeffreyrosenbluth](https://github.com/jeffreyrosenbluth))

## [v0.7](https://github.com/diagrams/diagrams-cairo/tree/v0.7) (2013-08-09)

[Full Changelog](https://github.com/diagrams/diagrams-cairo/compare/v0.6...v0.7)

**New features**

- New `renderCairo` function for more convenient use of the cairo
  backend.

- Lots of Haddock documentation improvements.

**Fixed bugs:**

- Lines should not be filled [\#32](https://github.com/diagrams/diagrams-cairo/issues/32)

**Merged pull requests:**

- Updates for new trail API. [\#31](https://github.com/diagrams/diagrams-cairo/pull/31) ([byorgey](https://github.com/byorgey))

## [v0.6](https://github.com/diagrams/diagrams-cairo/tree/v0.6) (2012-12-12)

**New features**

- New `--list` option for `multiMain` to list all available diagrams

- Major documentation improvements

- New modules:

  + `Diagrams.Backend.Cairo.Ptr`, for rendering directly to buffers
    in memory

  + `Diagrams.Backend.Cairo.List`, for rendering to a list of lists
  of pixels.

**API changes**

- Removal of `StyleParam` from `Diagrams.Backend.Cairo.Text`, change
  functions in that module to accept `Style R2`.  Usage can be fixed
  by applying these style functions to `mempty`.

- GTK rendering has been split out into a new package, diagrams-gtk.

+ The `Diagrams.Backend.Cairo.Gtk` module is now
  `Diagrams.Backend.Gtk` in the `diagrams-gtk` package.

+ The `CairoOptions` record has a new boolean `cairoBypassAdjust`
  option; when set, the backend should bypass calling `adjustDia2D`.

+ The GTK output type is gone.

+ There is a new `RenderOnly` output type, for when you don't
  care about the `IO` action but only want the cairo `Render` action.

**Fixed bugs:**

- old-time and 7.6 [\#21](https://github.com/diagrams/diagrams-cairo/issues/21)

- Use of deprecated 'try' function in Diagrams.Backend.Cairo.Internal [\#12](https://github.com/diagrams/diagrams-cairo/issues/12)

- Better error message when image file does not exist [\#11](https://github.com/diagrams/diagrams-cairo/issues/11)

- Path doesn't get resized correctly when no transformations are applied to it [\#6](https://github.com/diagrams/diagrams-cairo/issues/6)

- Make Cairo backend smarter about missing attributes [\#4](https://github.com/diagrams/diagrams-cairo/issues/4)

- Attribute transformations are not handled correctly when rendering [\#3](https://github.com/diagrams/diagrams-cairo/issues/3)

**Closed issues:**

- vector-space-0.8.5 breaks compilation [\#27](https://github.com/diagrams/diagrams-cairo/issues/27)

- ‘cairoBypassAdjust’ undocumented [\#23](https://github.com/diagrams/diagrams-cairo/issues/23)

- Improve diagrams-cairo documentation [\#10](https://github.com/diagrams/diagrams-cairo/issues/10)

**Merged pull requests:**

- Additional rendering functions, for Ptr Word8 and \[\[Colour a\]\] [\#25](https://github.com/diagrams/diagrams-cairo/pull/25) ([haasn](https://github.com/haasn))

- `old-time` to `time` [\#22](https://github.com/diagrams/diagrams-cairo/pull/22) ([fryguybob](https://github.com/fryguybob))

- split out gtk rendering into a separate package [\#20](https://github.com/diagrams/diagrams-cairo/pull/20) ([byorgey](https://github.com/byorgey))

- use requiredScaleT in place of deprecated adjustSize [\#17](https://github.com/diagrams/diagrams-cairo/pull/17) ([byorgey](https://github.com/byorgey))

- call setDefault2DAttributes even when bypassing size adjustments [\#16](https://github.com/diagrams/diagrams-cairo/pull/16) ([byorgey](https://github.com/byorgey))

## [v0.5.0.2]() (13 May 2012)

* Allow building under `mtl` 2.1.*

## [v0.5.0.1]() (9 March 2012)

* Remove statement in package description that a development version
    of `gtk2hs` must be used with GHC 7.4; this is no longer true as of
    the 0.12.3 release of `gtk2hs`.

## [v0.5]() (March 2012)

**New features**

- New `Diagrams.Backend.Cairo.Text` module by Michael Sloan, with
  functions for creating appropriately sized text objects by
  querying cairo for the size, and related supporting functions.

- Basic support for animation with `animMain` function, by
  generating frames sampled at regular intervals.

- Proper vertical alignment of default text based on font
  parameters (Michael Sloan).

- Requesting just a width or height now causes the other to be
  computed appropriately.

**API changes**

- Move `Diagrams.Backend.Cairo` to
  `Diagrams.Backend.Cairo.Internal` and export everything.
  `Diagrams.Backend.Cairo` now just re-exports selected functions
  from `Internal`.  This allows anyone who wants access to the
  helper/utility functions to import `Internal`.

**Dependency/version changes**

- relax `cmdargs` upper bound

- GHC 7.4.1 compatibility: update `base`, `filepath`, and
  `old-time` upper bounds

**Bug fixes**

- [\#54](http://code.google.com/p/diagrams/issues/detail?id=54): Generate warning for missing image files (Ian Ross).

## [v0.4]() (22 October 2011)

* New features:

  + Support for drawing directly to Gtk widgets

    + Support for path fill rule attribute

* New/improved examples

* Improved documentation

* Bug fixes:

    + Warning for unsupported image types (#41)

## [v0.3]() (18 June 2011)

* Some new/improved examples

* New features:

    + simple text support

    + simple support for external PNG images

## [v0.2]() (3 June 2011)

* add `Typeable` and other instances for `Cairo` type

* generalize `Result` type to `(IO (), Render ())`, so programs that
    don't want to generate a file but just want a `Render` operation
    (*e.g.* to use to paint a gtk window) can use the second component.

* add support for opacity attribute and path clipping

## [v0.1.2]() (18 May 2011)

* link to new website

## [v0.1.1]() (18 May 2011)

* fix tic-tac-toe example

## [v0.1]() (17 May 2011)

* initial preview release


\* *This Change Log was automatically generated by (and hand edited) [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*