Debian Codegraph @

src/libart_lgpl/ChangeLog

raw
1 2003-05-05 Alexander Larsson <[email protected]>
2
3 * configure.in:
4 Bump to 2.3.12
5
6 2003-04-24 Alexander Larsson <[email protected]>
7
8 * art_uta_vpath.c (art_uta_from_vpath):
9 Don't silently stomp on memory on bad vpaths.
10
11 2003-04-11 Alexander Larsson <[email protected]>
12
13 * art_svp_vpath_stroke.c (render_seg):
14 Handle cases when dmr2 is very small better.
15
16 2003-04-10 Alexander Larsson <[email protected]>
17
18 * art_svp_wind.c (x_order_2):
19 Handle horizontally aligned segments.
20
21 2002-11-25 Alexander Larsson <[email protected]>
22
23 * configure.in: Bump to 2.3.11
24
25 2002-10-16 John Harper <[email protected]>
26
27 * art_render_svp.c (art_render_svp_callback,
28 art_render_svp_callback_span, art_render_svp_callback_opacity,
29 art_render_svp_callback_opacity_span): if no runs would
30 normally be emitted, but start is greater than zero, emit a
31 single run covering the entire width of the rendered region
32
33 2002-08-18 Havoc Pennington <[email protected]>
34
35 * autogen.sh: hardcode aclocal-1.4/automake-1.4 so that users with
36 both automake 1.6 and 1.4 installed get the right automake. Means
37 compilation from CVS will now require the latest automake 1.4
38 release, or manually creating symlinks called "automake-1.4" and
39 "aclocal-1.4"
40
41 2002-07-01 Alexander Larsson <[email protected]>
42
43 * Release 2.3.10
44
45 2002-07-01 Alexander Larsson <[email protected]>
46
47 * configure.in (LIBART_VERSION_INFO):
48 Bump to 2.3.10
49
50 * art_svp_intersect.c (art_svp_intersect_add_seg):
51 Initialize seg->wind_left to zero, this avoids
52 uninitialized memory read later in art_svp_intersect_horiz_commit.
53
54 2002-06-24 Alexander Larsson <[email protected]>
55
56 Release 2.3.9.
57
58 2002-06-24 Alexander Larsson <[email protected]>
59
60 * configure.in: Bump to 2.3.9
61
62 2002-06-04 Balamurali Viswanathan <[email protected]>
63
64 * Makefile.am: Added -lm to libart_lgpl_2_la_LIBADD
65 fixes bug 75711 (Jacob's suggestion)
66
67 2002-05-08 Raph Levien <[email protected]>
68
69 * art_uta_vpath.c (art_uta_add_line): Fixes very subtle
70 edge case found by Federico Mena Quintero: (96, 96) -
71 (96.220200017562348, 93.034868598919431). Previously, through
72 numerical error, xn was a hair to the left, throwing off
73 the Bresenham iteration.
74
75 2002-03-08 Tor Lillqvist <[email protected]>
76
77 * configure.in: Minor changes for build on Win32. Call
78 AC_LIBTOOL_WIN32_DLL. Set automake conditionals OS_WIN32 and
79 MS_LIB_AVAILABLE.
80
81 * art_affine.c: Include art_misc.h for M_PI, which not necessarily
82 is in math.h.
83
84 * Makefile.am: On Win32, build and install import libraries, both
85 for gcc and for MSVC (if available).
86
87 * libart-zip.in: New file. Used to build runtime and developer
88 package for Win32.
89
90 2002-02-06 Laszlo Peter <[email protected]>
91
92 * configure.in: add AC_FUNC_ALLOCA
93
94 * art_render_gradient.c: copy alloca hacks from glib/galloca.h
95
96 2002-02-02 Alexander Larsson <[email protected]>
97
98 * art_render.c:
99 Add special case for art_render_composite_8 for two cases
100 that are very common when rendering SVGs with librsvg.
101 I'm sure these can be optimized further, but i'm feeling
102 very slow today.
103
104 2002-02-01 Alex Larsson <[email protected]>
105
106 * art_render_gradient.c:
107 Add optimized case for depth==8, n_channels == 3
108
109 * test_gradient.c:
110 Test case for gradients. Uses gtk+, so not built by
111 default.
112
113 2002-01-10 Anders Carlsson <[email protected]>
114
115 * Release 2.3.8
116
117 2002-01-04 Anders Carlsson <[email protected]>
118
119 * configure.in: Bump version to 2.3.8.
120
121 2002-01-03 Darin Adler <[email protected]>
122
123 * Makefile.am: Add art_render_mask.[ch].
124
125 * art_bpath.h:
126 * art_rect_svp.h:
127 * art_rect_uta.h:
128 * art_render.h:
129 * art_render_gradient.h:
130 * art_render_mask.h:
131 * art_render_svp.h:
132 * art_rgb_svp.h:
133 * art_svp_intersect.h:
134 * art_svp_ops.h:
135 * art_svp_point.h:
136 * art_svp_render_aa.h:
137 * art_svp_vpath.h:
138 * art_svp_vpath_stroke.h:
139 * art_svp_wind.h:
140 * art_uta.h:
141 * art_uta_rect.h:
142 * art_uta_ops.h:
143 * art_uta_svp.h:
144 * art_uta_vpath.h:
145 * art_vpath_bpath.h:
146 * art_vpath_dash.h:
147 * art_vpath_svp.h:
148 Fix includes so that each header includes what it needs.
149
150 * art_affine.c:
151 * art_alphagamma.c:
152 * art_bpath.c:
153 * art_gray_svp.c:
154 * art_misc.c:
155 * art_pixbuf.c:
156 * art_rect.c:
157 * art_rect_svp.c:
158 * art_rect_uta.c:
159 * art_render.c:
160 * art_render_gradient.c:
161 * art_render_mask.c:
162 * art_render_svp.c:
163 * art_rgb.c:
164 * art_rgb_a_affine.c:
165 * art_rgb_affine.c:
166 * art_rgb_affine_private.c:
167 * art_rgb_bitmap_affine.c:
168 * art_rgb_pixbuf_affine.c:
169 * art_rgb_rgba_affine.c:
170 * art_rgb_svp.c:
171 * art_rgba.c:
172 * art_svp.c:
173 * art_svp_intersect.c:
174 * art_svp_ops.c:
175 * art_svp_point.c:
176 * art_svp_render_aa.c:
177 * art_svp_vpath.c:
178 * art_svp_vpath_stroke.c:
179 * art_svp_wind.c:
180 * art_uta.c:
181 * art_uta_ops.c:
182 * art_uta_rect.c:
183 * art_uta_svp.c:
184 * art_uta_vpath.c:
185 * art_vpath.c:
186 * art_vpath_bpath.c:
187 * art_vpath_dash.c:
188 * art_vpath_svp.c:
189 Fix order of includes so that the corresponding header is
190 included first, to test that each header includes what it
191 needs.
192
193 2002-01-02 Darin Adler <[email protected]>
194
195 * art_alphagamma.h:
196 * art_gray_svp.h:
197 * art_pixbuf.h:
198 * art_render.h:
199 * art_rgb.h:
200 * art_rgba.h:
201 Add some missing includes.
202
203 2001-12-26 Raph Levien <[email protected]>
204
205 * art_svp_intersect.c: More fixes to intersector. When tops
206 coincide, full ordering test is performed (with breaking),
207 rather than just comparing b from line eq. Also, had a test
208 for x >= backwards in art_svp_intersect_add_point. Thanks
209 to Bruce Q. Hammond for test cases.
210
211 2001-11-21 Raph Levien <[email protected]>
212
213 * art_svp_intersect.c (art_svp_intersect_break): Changed break
214 logic systematically so that new breaks are always in order,
215 rather than allowing them to become out of order, then try to fix
216 them up later. It's no doubt possible to come up with cases in
217 which this reduces precision, but it simplifies life nicely, so I
218 did it.
219
220 * (art_svp_intersect_horiz): Initialize (a, b, c) values of hs to
221 avoid UMR's when they are tested later.
222
223 * art_svp_ops.c (print_ps_vpath): Changed the coordinate
224 transform so that it's done in the PostScript rather than
225 the C code that outputs the coordinates. This makes it easier
226 to reconstruct the vector path from the debug output.
227
228 2001-11-16 Alex Larsson <[email protected]>
229
230 * art_rect.c (art_drect_svp_union, art_drect_svp):
231 Don't call art_drect_union() in these functions, since
232 it considers zero-width or zero-height svg segments to
233 be empty. This causes it to think i.e. rectangular svps
234 are empty.
235
236 2001-11-07 Raph Levien <[email protected]>
237
238 * art_svp_intersect.c (art_svp_intersect_horiz): Fixed important
239 logic bug, failing to test crossings of neighbors when inserting
240 horizontal lines. Also changed printf to art_dprint.
241
242 * art_misc.c (art_dprint): Added function for debug printing,
243 so verbose intersector output doesn't have to go through printf.
244
245 * art_misc.h (ART_USE_NEW_INTERSECTOR): I've turned this on
246 now, as the new intersector certainly seems to be performing
247 better than the old one now.
248
249 2001-10-31 Anders Carlsson <[email protected]>
250
251 * Release 2.3.7
252
253 2001-10-15 Raph Levien <[email protected]>
254
255 * art_svp_intersect.c (art_svp_intersect_horiz): Minor
256 logic fix so that horiz segments successfully cross
257 zero length segments in the active list.
258
259 (art_svp_intersect_test_cross): Flags indicating whether to
260 do add_point (potentially breaking neighbors) to left and
261 to right.
262
263 (art_svp_intersect_insert_cross): Provide ART_BREAK_LEFT and
264 ART_BREAK_RIGHT flags to art_svp_intersect_test_cross,
265 depending on direction of search.
266
267 (art_svp_intersect_advance_cursor): Provide flags (allow
268 both left and right breaking) to test_cross.
269
270 2001-10-15 Raph Levien <[email protected]>
271
272 * art_svp_intersect.c (CHEAP_SANITYCHECK): Added an inexpensive
273 sanitycheck to detect multiple insertions of a segment into the
274 horiz list.
275
276 (art_svp_writer_rewind_add_point): Avoid breaking lines below
277 their bottom point.
278
279 (art_svp_intersect_test_cross): Handle cases correctly where
280 intersection point matches y0 of left or right segment. These _do_
281 happen in real world examples. Also, do add_point on newly
282 inserted intersection point.
283
284 2001-10-14 Raph Levien <[email protected]>
285
286 * art_svp_intersect.c (art_svp_intersect_add_point): Fixed
287 rather subtle logic bug that misplaced insertion point
288 when seg argument was NULL.
289
290 2001-10-11 Raph Levien <[email protected]>
291
292 * art_svp_render_aa.c (art_svp_render_aa_iter_step): Got rid
293 of qsort of steps, and now keep the step list in sorted order.
294 Further, we combine duplicate steps with the same x value,
295 which bounds the size of the step list to x1 - x0, so we
296 don't need to dynamically resize it. Thanks greatly to
297 Bruce Q. Hammond for the original version of this patch.
298
299 2001-10-09 Raph Levien <[email protected]>
300
301 * art_svp_intersect.c (art_svp_intersect_test_cross): Breaks
302 bottom part of line segments in "too close" cases.
303
304 2001-10-09 Raph Levien <[email protected]>
305
306 * art_svp_intersect.c (art_svp_writer_rewind_add_point): Fixed
307 bbox computation.
308 (art_svp_intersector): Handle degenerate case where input
309 SVP has 0 segments.
310
311 * art_svp_intersect.h: Moved definition of art_svp_intersector
312 inside #ifdef __cplusplus, so it links properly against C++
313
314 2001-10-09 Raph Levien <[email protected]>
315
316 * art_svp_intersect.c (art_svp_intersect_break): Handle
317 case when break y equals sweep line correctly. Also adds
318 first try at winding number sanitychecker, but that makes
319 too many false positives.
320
321 2001-10-07 Raph Levien <[email protected]>
322
323 * art_svp.c (EPSILON): Set to zero if new intersector is
324 in use - we want svp's to be in strict sorted order.
325
326 * art_svp_intersect.c (art_svp_intersect_test_cross): Explicitly
327 check that top points are equal, and swap immediately if b is out
328 of order.
329 (art_svp_intersect_horiz): Break segments that intersect
330 horizontal lines. Now passes "two squares with offset" test.
331
332 2001-10-05 Raph Levien <[email protected]>
333
334 * art_svp_intersect.c: Major changes to accommodate
335 horizontal lines. Intersections of horizontal lines
336 aren't fully processed, but should work a lot better
337 than before.
338
339 * testart.c: Minor tweaks. testpat now frees memory
340 so it can be run under memprof to detect leaks.
341
342 2001-10-03 Raph Levien <[email protected]>
343
344 * art_svp_intersect.c (art_svp_intersect_advance_cursor):
345 Made test_cross for inserted segments common between
346 intersection processing and cursor advance, and also took
347 care of a case that hadn't been handled before. Also added
348 invariant sanitychecker for debugging purposes.
349
350 2001-10-02 Raph Levien <[email protected]>
351
352 * art_svp_ops.c: ART_USE_NEW_INTERSECTOR variants of svp
353 ops changed to do shallow free of merged svp.
354
355 2001-10-01 Raph Levien <[email protected]>
356
357 * art_svp_intersect.c:
358 * art_svp_intersect.h:
359 * Makefile.am:
360 * art_misc.h:
361 * art_svp_wind.h: First commit of new intersector code. It is
362 turned off by default, but can be enabled by #defining
363 ART_USE_NEW_INTERSECTOR in art_misc.h.
364
365 * art_svp_ops.c: Make svp ops use new intersector if enabled.
366
367 * art_svp_vpath_stroke.c: Make vpath stroking use new intersector
368 if enabled.
369
370 * testart.c: New test case for intersector.
371
372 Wed Sep 26 03:48:13 2001 George Lebl <[email protected]>
373
374 * Release 2.3.6
375
376 Wed Sep 26 03:11:40 2001 George Lebl <[email protected]>
377
378 * gen_art_config.c: Fix 64bit issues, cast sizeof return when
379 using %d to print it.
380
381 2001-09-13 Havoc Pennington <[email protected]>
382
383 * Makefile.am: rename library to libart_lgpl_2
384
385 * libart-2.0.pc.in (Cflags): move includes
386
387 * libart-config.in: move includes
388
389 * Makefile.am: delete libartConf.sh, rename libart-config
390 (EXTRA_DIST): don't install m4 files
391 (libart_lgplincdir): move headers
392
393 2001-08-03 Michael Meeks <[email protected]>
394
395 * Version 2.3.5 for the API freeze.
396
397 2001-07-12 Darin Adler <[email protected]>
398
399 * art_affine.c: (art_affine_expansion): Fix handling of
400 negative numbers. We ran into this bug a while back when
401 figuring out why librsvg couldn't handle certain svg files.
402
403 2001-07-12 Darin Adler <[email protected]>
404
405 * art_misc.h: Change art_expand macro so it's a single
406 statement, using the do while (0) trick, which gets rid
407 of some warnings.
408 * art_pixbuf.c: Add a missing include.
409 * art_vpath_svp.c: (art_vpath_from_svp): Initialize a
410 variable to avoid a compiler warning.
411 * gen_art_config.c: Add a missing include.
412
413 2001-03-24 Martin Baulig <[email protected]>
414
415 Applied the patch from Alexander Larsson which was sitting
416 in gnome-libs/patches/libart.diff since February.
417 [FIXME: Alex, can you please provide a ChangeLog?])
418
419 * art_rgb_a_affine.[ch]: New files.
420
421 2001-01-07 Hans Breuer <[email protected]>
422 * art_misc.c : embryonic change to use libart_lgpl on win32
423 * libart.def : new file, exported functions for win32 dll
424 * makefile.msc : handwritten for MSVC compiler
425
426 2000-09-30 Martin Baulig <[email protected]>
427
428 * libart-2.0.pc.in: Provide pkg-config script.
429
430 * configure.in: Create libart-2.0.pc from libart-2.0.pc.in.
431 * Makefile.am (pkgconfig_DATA): Install the libart-2.0.pc
432 script in `$(libdir)/pkgconfig'.
433
434 2000-08-15 Raph Levien <[email protected]>
435
436 * art_render.c (art_render_image_solid_negotiate): Only
437 sets ART_IMAGE_SOURCE_CAN_COMPOSITE when a compositing
438 callback is selected. Previously was causing segfaults on
439 non-alpha images. Thanks to Leonard Rosenthol for spotting
440 the bug.
441
442 Fri Jun 30 22:56:58 2000 Raph Levien <[email protected]>
443
444 * art_render.c (art_render_composite): Fixed a bug that caused
445 it to ignore the alpha setting. Also art_render_composite_8().
446
447 2000-06-01 John Sullivan <[email protected]>
448
449 * art_svp_render_aa.c: (art_svp_render_aa_iter_step):
450 Made it build by correcting struct member name from
451 Raph's previous checkin.
452
453 Wed May 31 11:10:58 2000 Raph Levien <[email protected]>
454
455 * art_svp_render_aa.c (art_svp_render_aa_iter_step): Updated
456 n_steps_max in iter structure after steps reallocation.
457
458 Tue May 30 10:33:13 2000 Raph Levien <[email protected]>
459
460 * art_svp_render_aa.c (art_svp_render_aa_iter_step): Fixed not
461 updating iter->steps when steps gets reallocated.
462
463 2000-05-30 Pavel Cisler <[email protected]>
464
465 * art_rgba.c:
466 Make it build -- fix a broken include.
467
468 Tue May 30 00:09:21 2000 Raph Levien <[email protected]>
469
470 * art_render_gradient.c (art_render_gradient_setpix): Fixed
471 an off-by-one loop error.
472
473 Mon May 29 15:00:39 2000 Raph Levien <[email protected]>
474
475 * Makefile.am: Moved relevant .h files into HEADERS stanza.
476
477 Mon May 29 13:48:49 2000 Raph Levien <[email protected]>
478
479 This is a fairly major commit, as it adds both the new, modular
480 rendering architecture and gradients. Quite a bit of the code
481 feels like "reference code" now, in that it is (hopefully)
482 correct, but not necessarily very fast. In addition, there remain
483 a few things not done, including the use of SVP's as non-driver
484 mask sources. AlphaGamma and filter level also remain
485 unimplemented. No compositing modes other than ART_NORMAL are
486 implemented. All in good time!
487
488 * configure.in: added -Wmissing-prototypes flag. Bumped version
489 number to 2.3.0.
490
491 * art_render.h:
492 * art_render.c: Added new rendering architecture.
493
494 * art_render_svp.h:
495 * art_render_svp.c: Added renderers to use SVP's as mask
496 sources in new rendering architecture.
497
498 * art_render_gradient.h:
499 * art_render_gradient.c: Added linear and radial gradients
500 as image sources in new rendering architecture.
501
502 * art_rgba.h:
503 * art_rgba.c: Added functions for manipulating and compositing
504 RGBA pixels.
505
506 * art_svp_wind.c: Added static to trap_epsilon(), #ifdef'd out
507 traverse().
508
509 * art_uta_ops.c: Added #include "art_uta_ops.h".
510
511 * art_uta_rect.c: Added #include "art_uta_rect.h".
512
513 * art_uta_svp.h: fixed __ART_UTA_SVP_H__ name.
514
515 * art_misc.h: Added ART_GNUC_NORETURN attribute, added that
516 to the prototype for art_die(). Added "static" to function
517 declarations to avoid warnings when compiled with
518
519 * testart.c: Added gradient test.
520
521 Thu May 25 23:30:39 2000 Raph Levien <[email protected]>
522
523 * art_svp_render_aa.h:
524 * art_svp_render_aa.c: Added art_svp_render_aa_iter functions,
525 suitable for iterative rendering of an svp, one scan line at a
526 time.
527
528 * configure.in: Bumped version to 2.2.0.
529
530 Tue May 16 15:03:35 2000 Raph Levien <[email protected]>
531
532 * art_rgb_pixbuf_affine.c: Included corresponding .h file.
533
534 * art_rgb_pixbuf_affine.h: Put recursive #includes inside
535 LIBART_COMPILATION test.
536
537 * art_gray_svp.c:
538 * art_rgb_svp.c: Explicit casts for callback data. Also removed
539 "render the steps into tmpbuf" comment.
540
541 * gen_art_config.c:
542 * Makefile.am:
543 * configure.in: Added code to automatically generate an
544 art_config.h file, to be installed in libart's include dir. This
545 file defines ART_SIZEOF_{CHAR,SHORT,INT,LONG} and art_u{8,16,32}.
546
547 * art_misc.h: Moved definition of art_u8 and art_u32 into
548 art_config.h. Added GCC printf format attributes.
549
550 * art_svp_wind.c (traverse): Fixed UMR bug here. The function
551 isn't actually used, so it's just for cleanliness.
552
553 2000-04-18 Lauris Kaplinski <[email protected]>
554
555 * art_affine.c (art_affine_to_string): Replaced snprinf with
556 art_ftoa to avoid localisation of generated numbers
557
558 2000-04-18 ERDI Gergo <[email protected]>
559
560 * art_rgb_pixbuf_affine.h: Included the ArtPixBuf declaration
561
562 Fri Apr 14 16:33:55 2000 Raph Levien <[email protected]>
563
564 * art_svp_wind.c (art_svp_uncross, art_svp_rewind_uncrossed):
565 Fixed uninitialized memory reads when inserting new segment into
566 active_segs.
567
568 * art_bpath.c (art_bpath_affine_transform): Made it avoid
569 potential uninitialized memory reads when not all the coordinates
570 are needed. Thanks to Morten Welinder for spotting both of these
571 problems.
572
573 2000-04-05 Raph Levien <[email protected]>
574
575 * art_svp_wind.c: Make "colinear" warnings go to stderr instead
576 of stdout. Of course, when I finish the new intersector, these
577 will go away entirely.
578
579 2000-04-04 Raph Levien <[email protected]>
580
581 * art_uta_vpath.c (art_uta_add_line): Fixed bug that was causing
582 segfaults on alphas. Thanks to msw for localizing it.
583
584 2000-01-17 Raph Levien <[email protected]>
585
586 * art_svp_vpath_stroke.c (art_svp_vpath_stroke): Typo in api
587 header (thanks rak).
588
589 2000-01-16 Timur Bakeyev <[email protected]>
590
591 * autoconf.sh: Instead of jumping between srdir and builddir just process
592 all the auto* staff in srcdir. In fact, just saying the same things in
593 other words.
594
595 2000-01-10 Elliot Lee <[email protected]>
596
597 * Makefile.am, *.h: Add rather bad hacks to the header files to allow compilation
598
599 * Makefile.am: Distribute libart-config.in
600
601 2000-01-09 Raph Levien <[email protected]>
602
603 art_rgb_pixbuf_affine.c, art_rgb_rgba_affine.c, art_rgb_svp.c,
604 art_svp.c, art_svp_ops.c, art_svp_point.c, art_svp_render_aa.c,
605 art_svp_vpath.c, art_svp_vpath_stroke.c, art_svp_wind.c,
606 art_uta.c, art_uta_ops.c, art_uta_rect.c, art_uta_svp.c,
607 art_uta_vpath.c, art_vpath.c, art_vpath_bpath.c, art_vpath_dash.c,
608 art_vpath_svp.c: Added API documentation.
609
610 Fri Sep 24 17:53:21 1999 Raph Levien <[email protected]>
611
612 * art_svp_render_aa.c (art_svp_render_insert_active): Avoid
613 reading undefined memory (thanks to Morten Welinder).
614
615 1999-09-19 Raph Levien <[email protected]>
616
617 * art_pixbuf.c (art_pixbuf_duplicate): Added a duplicate function
618 at the request of Michael Meeks.
619
620 1999-09-11 Raph Levien <[email protected]>
621
622 * art_affine.c (art_affine_to_string): Tightened the predicate for
623 matching rotate-only affines, which was too weak. Thanks to lewing
624 for spotting it!
625
626 1999-09-01 Raph Levien <[email protected]>
627
628 * art_affine.c, art_alphagamma.c, art_bpath.c, art_gray_svp.c,
629 art_misc.c, art_pixbuf.c, art_rect.c, art_rect_svp.c,
630 art_rect_uta.c, art_rgb.c, art_rgb_affine.c,
631 art_rgb_bitmap_affine.c: Updates to api doc headers.
632
633 1999-08-24 Raph Levien <[email protected]>
634
635 * art_affine.c, art_alphagamma.c, art_alphagamma.h, art_bpath.c,
636 art_bpath.h, art_gray_svp.c, art_misc.c, art_pixbuf.c,
637 art_pixbuf.h, art_point.h, art_rect.c, art_rect.h: Added api
638 documentation headers.
639
640 * testart.c: Added "dash" test, for testing the vpath_dash
641 functions.
642
643 * art_rgb_pixbuf_affine.h: Fixed the #ifdef for conditional
644 inclusion. Thanks to Kristian Hogsberg Kristensen for spotting
645 the bug.
646
647 1999-08-24 Raph Levien <[email protected]>
648
649 * art_svp_render_aa.c (art_svp_render_aa): Added some tests to
650 avoid NaN for infinite slopes, which were causing problems on
651 Alphas. Closes bug #1966.
652
653 1999-08-20 Federico Mena Quintero <[email protected]>
654
655 * configure.in: Fixed library's libtool version number.
656
657 1999-08-03 Larry Ewing <[email protected]>
658
659 * art_vpath_dash.c (art_vpath_dash): fix a bug/typo that was causing
660 certain paths to loop infinitely.
661
662 1999-07-28 Raph Levien <[email protected]>
663
664 * art_vpath_dash.[ch]: Added a function to add a dash style
665 to vpaths. It is tested, but has a couple of rough edges (see
666 code for details).
667
668 * testart.c: added tests for the new vpath_dash functionality.
669
670 * Makefile.am: added art_vpath_dash.[ch] files.
671
672 1999-07-26 Raph Levien <[email protected]>
673
674 * art_rgb.c (art_rgb_fill_run): fixed incorrect test for
675 big-endianness. Thanks to Michael Zucchi for spotting it.
676
677 Fri Jul 16 23:42:59 1999 Tim Janik <[email protected]>
678
679 * art_affine.c (art_affine_flip): flip translation matrixes as well, by
680 inverting matrix[4] if (horz) and inverting matrix[5] if (vert).
681
682 Fri Jul 16 23:03:26 1999 Tim Janik <[email protected]>
683
684 * art_pixbuf.[hc]: deprecated art_pixbuf_free_shallow(), people should
685 always free pixbufs with art_pixbuf_free() and use the _dnotify variants
686 for specific destruction behaviour.
687 added art_pixbuf_new_rgb_dnotify() and art_pixbuf_new_rgba_dnotify()
688 which allow for a destruction notification function. (this involved
689 adding two extra pointers to the ArtPixBuf structure, and removal of
690 the recently introduced int flags field).
691
692 Mon Jul 12 01:13:23 1999 Tim Janik <[email protected]>
693
694 * art_affine.[hc]: added art_affine_equal(), which checks two
695 matrixes for equality within grid alignment.
696
697 Fri Jul 9 17:50:19 1999 Tim Janik <[email protected]>
698
699 * art_affine.[hc]: added art_affine_flip() to flip a matrix horizontally
700 and/or vertically, or just copy it.
701 added art_affine_shear() to setup a shearing matrix.
702
703 Tue Jul 6 19:03:39 1999 Tim Janik <[email protected]>
704
705 * art_pixbuf.h: added an int flags; member to the end of the
706 structure, it currently only holds information about whether the
707 pixels member should be freed. (raph: i think flags is more generic
708 than free_pixels, so we can reuse that field if further demands popup
709 in the future).
710
711 * art_pixbuf.c:
712 (art_pixbuf_new_const_rgba):
713 (art_pixbuf_new_const_rgb): new functions that prevent the pixels
714 member from being freed upon art_pixbuf_free ().
715 (art_pixbuf_free): only free the pixels member if it is non-NULL and
716 the PIXBUF_FLAG_DESTROY_PIXELS is set.
717
718 1999-07-02 Raph Levien <[email protected]>
719
720 * art_vpath_bpath.c (art_vpath_render_bez): Bad bad uninitialized
721 variables.
722
723 * configure.in: added compile warnings. Guess why :)
724
725 1999-06-28 Raph Levien <[email protected]>
726
727 * art_svp_point.h:
728 * art_svp_point.c: Added methods for insideness and distance
729 testing, very useful for ::point methods in canvas items.
730
731 * testart.c: test code to exercise the art_svp_point functions.
732
733 * Makefile.am: Additional entries for art_svp_point.
734
735 1999-06-28 Raph Levien <[email protected]>
736
737 * art_svp_render_aa.c (art_svp_render_aa): Subtle boundary
738 case in realloc code -- was causing nasty segfaults.
739
740 Wed Jun 23 15:05:43 1999 Raph Levien <[email protected]>
741
742 * art_rgb_svp.c (art_rgb_svp_alpha_opaque_callback): Missed a
743 case in the anti-segfault crusade. Thanks lewing!
744
745 Wed Jun 23 11:16:42 1999 Raph Levien <[email protected]>
746
747 * art_rgb_svp.c: Made these routines so they won't segfault even
748 if alpha is out of range. Of course, that begs the question of
749 fixing the render routines so they won't _make_ alpha go out of
750 range, but all in good time.
751
752 Fri Jun 18 17:32:34 1999 Raph Levien <[email protected]>
753
754 * art_vpath_bpath.c (art_bez_path_to_vec): Switched to a new
755 adaptive subdivision algorithm, which (finally!) takes flatness
756 into account. This should result in both smoother curves and
757 faster operation.
758
759 Sun Jun 13 21:07:20 1999 Raph Levien <[email protected]>
760
761 * art_svp_wind.c (art_svp_rewind_uncrossed): Made the winding
762 rule logic even more correct :). I somehow missed the fact that
763 a clockwise path should be given a winding number of zero;
764 last night's commit tried to make it -1 (which worked for the
765 test cases I was using).
766
767 Sun Jun 13 01:23:14 1999 Raph Levien <[email protected]>
768
769 * art_svp_wind.c (art_svp_rewind_uncrossed): Change to winding
770 rule logic so that it correctly handles the case where the
771 leftmost segment is negative.
772
773 * Makefile.am (libart_lgplinc_HEADERS): made art_svp_wind.h
774 a public headerfile. This is needed for the bpath canvas item.
775 I'm not sure this is the correct way to do it, but it will do
776 for now.
777
778 * art_vpath_bpath.h:
779 * art_vpath_bpath.c (art_bez_path_to_vec): Added const to arg.
780
781 * art_vpath_bpath.h: Embarrassing typo.
782
783 * art_bpath.h: Minor tweaks to the #include paths. It is now
784 consistent with the other header files.
785
786 Wed Jun 9 20:24:45 1999 Raph Levien <[email protected]>
787
788 * art_svp_vpath_stroke.c: Added all remaining line join and cap
789 types, including round, which takes flatness into account. Several
790 new internal functions (art_svp_vpath_stroke_arc) and added
791 flatness argument to a few internal functions. I might want to
792 change the BEVEL join type to MITER for very small turn angles
793 (i.e. within a flatness threshold) for efficiency.
794
795 * art_misc.h: Added M_SQRT2 constant.
796
797 Wed Jun 2 21:56:30 1999 Raph Levien <[email protected]>
798
799 * art_svp_vpath_stroke.c (art_svp_vpath_stroke_raw): Made the
800 closed path detection capable of PostScript semantics (i.e. it
801 now senses the difference between ART_MOVETO and ART_MOVETO_OPEN).
802
803 * art_svp_vpath_stroke.c (art_svp_vpath_stroke_raw): it now
804 filters out successive points that are (nearly) coincident. This
805 fixes some of the crashes and hangs, including Tim Janik's
806 singularity (trying to stroke MOVETO 50, 50; LINETO 50, 50; END).
807
808 * art_svp_wind.c (art_svp_rewind_uncrossed): added a test to
809 correctly handle empty input svp's.
810
811 * art_svp_wind.c (art_svp_uncross): added a test to correctly
812 handle empty input svp's.
813
814 Sun Jan 17 20:53:40 1999 Jeff Garzik <[email protected]>
815
816 * art_affine.c:
817 Include string.h for memcpy.
818
819 * art_svp_vpath.c:
820 Remove conflicting static func definition.
821
822 * art_uta_svp.c:
823 Include art_vpath_svp.h for func definition.
824
825 Mon Jan 4 12:47:47 1999 Raph Levien <[email protected]>
826
827 * art_bpath.c (art_bpath_affine_transform): Stupid misnaming
828 of this function (forgot the "art_").
829
830 Thu Dec 31 09:04:23 1998 Raph Levien <[email protected]>
831
832 * art_affine.c (art_affine_rectilinear): Added this function.
833
834 * art_rect.c (art_drect_affine_transform): Corrected the name (it
835 was right in the .h). Also made it work with non-rectilinear
836 transforms, while I was at it.
837
838 Thu Dec 17 11:58:24 1998 Raph Levien <[email protected]>
839
840 * art_alphagamma.h:
841 * art_alphagamma.c: The real code for alphagamma.
842
843 Wed Dec 16 14:18:46 1998 Raph Levien <[email protected]>
844
845 * art_alphagamma.h:
846 * art_alphagamma.c: Added. At present, it only contains a dummy
847 stub. When the real code is added, it supports doing alpha
848 compositing in a gamma-corrected color space (suppressing
849 jaggies).
850
851 * art_pixbuf.h:
852 * art_pixbuf.c: Added. This is a virtualization layer over
853 a few different kinds of image formats.
854
855 * art_rgb_pixbuf_affine.h:
856 * art_rgb_pixbuf_affine.c: Added. Supports compositing of
857 generic images over an rgb buffer.
858
859 * art_affine.h:
860 * art_affine.c (art_affine_expansion): Added this function,
861 which reports the exact scale factor in the case of rotation,
862 scaling, and transformation (an approximate number in the
863 case of shearing or anamorphic distortion).
864
865 * art_misc.h:
866 * art_misc.c (art_warn): Added.
867
868 * art_rgb_affine.h:
869 * art_rgb_affine.c: Added alphagamma argument (not yet implemented).
870
871 * art_rgb_affine_private.c: Fixed typo bug that was causing
872 repaint problems for nonsquare images.
873
874 * art_rgb_bitmap_affine.h:
875 * art_rgb_bitmap_affine.c: Major speed improvement, probably fixed
876 correctness while I was at it. Added alphagamma argument (not yet
877 implemented).
878
879 * art_rgb_svp.h:
880 * art_rgb_svp.c: Added alphagamma argument (only implemented
881 in aa case, not yet alpha case).
882
883 * art_vpath.c: increased perturbation to 2e-3, because the old
884 value (1e-6) was too small.
885
886 * testart.c: added alphagamma.
887
888 * Makefile.am: added new files
889
890 Sun Dec 27 21:45:03 1998 Raph Levien <[email protected]>
891
892 * art_rect.h:
893 * art_rect.c: Added DRect versions of the basic ops (double
894 rather than int).
895
896 * art_rect_svp.h:
897 * art_rect_svp.c: Added. This computes the bounding box of
898 an svp.
899
900 Wed Dec 16 14:18:46 1998 Raph Levien <[email protected]>
901
902 * art_alphagamma.h:
903 * art_alphagamma.c: Added. At present, it only contains a dummy
904 stub. When the real code is added, it supports doing alpha
905 compositing in a gamma-corrected color space (suppressing
906 jaggies).
907
908 * art_pixbuf.h:
909 * art_pixbuf.c: Added. This is a virtualization layer over
910 a few different kinds of image formats.
911
912 * art_rgb_pixbuf_affine.h:
913 * art_rgb_pixbuf_affine.c: Added. Supports compositing of
914 generic images over an rgb buffer.
915
916 * art_affine.h:
917 * art_affine.c (art_affine_expansion): Added this function,
918 which reports the exact scale factor in the case of rotation,
919 scaling, and transformation (an approximate number in the
920 case of shearing or anamorphic distortion).
921
922 * art_misc.h:
923 * art_misc.c (art_warn): Added.
924
925 * art_rgb_affine.h:
926 * art_rgb_affine.c: Added alphagamma argument (not yet implemented).
927
928 * art_rgb_affine_private.c: Fixed typo bug that was causing
929 repaint problems for nonsquare images.
930
931 * art_rgb_bitmap_affine.h:
932 * art_rgb_bitmap_affine.c: Major speed improvement, probably fixed
933 correctness while I was at it. Added alphagamma argument (not yet
934 implemented).
935
936 * art_rgb_svp.h:
937 * art_rgb_svp.c: Added alphagamma argument (only implemented
938 in aa case, not yet alpha case).
939
940 * art_vpath.c: increased perturbation to 2e-3, because the old
941 value (1e-6) was too small.
942
943 * testart.c: added alphagamma.
944
945 * Makefile.am: added new files
946
947 Mon Dec 14 00:16:53 1998 Raph Levien <[email protected]>
948
949 * art_affine.c (art_affine_to_string): re-added the "scale" method
950 that was accidentally deleted before check-in.
951
952 * Makefile.am: added new files
953
954 Sun Dec 13 00:52:39 1998 Raph Levien <[email protected]>
955
956 * art_affine.h:
957 * art_affine.c: Added. Everything you ever wanted to do with an
958 affine transform. Especially check the functions that generate
959 concise PostScript strings for affine transforms.
960
961 * art_filterlevel.h: A simple enum for selecting filtering
962 style.
963
964 * art_rgb_affine.h:
965 * art_rgb_affine.c (art_rgb_affine): Added. This function
966 composites an (opaque) rgb image over an rgb pixel buffer. At
967 present, it's slow and only nearest neighbor filtering is enabled.
968
969 * art_rgb_rgba_affine.h:
970 * art_rgb_rgba_affine.c: Analogous, but for compositing rgba
971 images.
972
973 * art_rgb_bitmap_affine.h:
974 * art_rgb_bitmap_affine.c: Analogous, but for compositing bitmap
975 images.
976
977 * art_rgb_affine_private.c (art_rgb_affine_run): Added. This is
978 a common function used by all the rgb_affine modules to move
979 testing for source image bbox out of the inner loop.
980
981 * Makefile.am: added the new files
982
983 * testart.c: exercise the image compositors
984
985 Wed Dec 9 23:36:35 1998 Raph Levien <[email protected]>
986
987 * art_vpath.c (art_vpath_perturb): Made it deal correctly
988 with closed paths (the MOVETO and closing LINETO have to
989 agree).
990
991 * art_svp_wind.c: Made the bbox calculations for the resulting
992 svp's correct.
993
994 * art_svp.h:
995 * art_svp.c: The art_svp_seg_compare function moved here, because
996 it's required in art_svp_ops.
997
998 * art_svp.c (art_svp_add_segment): It now does bbox calculations.
999
1000 * art_svp_ops.h:
1001 * art_svp_ops.c: Added. Populated with basic union, intersection,
1002 and diff functions.
1003
1004 * art_vpath_svp.h:
1005 * art_vpath_svp.c: Added. Populated with a function to convert
1006 from sorted to unsorted vector paths
1007
1008 * Makefile.am: added the new files
1009
1010 * testart.c: exercise the stroke outline and vector path
1011 operations.
1012
1013 1998-12-08 Herbert Valerio Riedel <[email protected]>
1014
1015 * art_svp_wind.c: added #include <string.h> for memcpy()
1016
1017 Sun Dec 6 22:15:12 1998 Raph Levien <[email protected]>
1018
1019 * art_svp_wind.[ch], art_svp_vpath_stroke.[ch]: Added, but it
1020 doesn't work yet. These will do stroke outline and basic
1021 vector ops like union, intersect, etc.
1022
1023 * art_svp_render_aa.c: Added a simple speedup based on bbox
1024 culling. I will want to do more speedups, but none of this is
1025 necessary for the freeze.
1026
1027 * art_svp_vpath.c: Fixed some bugs in the art_svp_from_vpath in
1028 cases where there is more than one subpath.
1029
1030 * art_vpath.h:
1031 * art_vpath.c (art_vpath_perturb): Added this function. This will
1032 help cheat as long as the basic vector ops have numerical
1033 stability problems.
1034
1035 Fri Dec 4 18:00:38 1998 Raph Levien <[email protected]>
1036
1037 * art_svp_render_aa.c (art_svp_render_aa): Changed the api
1038 slightly, to guarantee that the steps are all within the range
1039 from x0 (inclusive) to x1 (exclusive).
1040
1041 * art_gray_svp.c, art_gray_svp.h: Added. Populated with functions
1042 to render into a simple graymap.
1043
1044 * art_rgb.c, art_rgb.c: Added. Populated with fill_run and
1045 run_alpha methods.
1046
1047 * art_rgb_svp.c, art_rgb_svp.h: Added. Populated with functions to
1048 render into an RGB buffer, and to composite over an RGB buffer.
1049
1050 * Makefile.am: added art_gray_svp, art_rgb, and art_rgb_svp.
1051
1052 * testart.c: test the color and layered rendering.
1053
1054 Mon Nov 30 01:30:25 1998 Raph Levien <[email protected]>
1055
1056 * testart.c: added vector path rendering stuff. Some of it needs
1057 to go out of the test framework and into the module, but the
1058 api hasn't settled down entirely yet (in the real code, all
1059 x's in the step field are within bounds).
1060
1061 * art_svp_render_aa.c, art_svp_render_aa.c.h: added.
1062
1063 * art_svp_vpath.c, art_svp_vpath.h: added.
1064
1065 * art_pathcode.h: added ART_MOVETO_OPEN (libart uses an
1066 ART_MOVETO_OPEN code at the beginning to indicate an open path,
1067 while PostScript uses the lack of a closepath at the end).
1068
1069 * art_vpath_bpath.c, art_vpath_bpath.h: fixed it up, added
1070 flatness arg to api.
1071
1072 * Makefile.am: added new source files.
1073
1074 Wed Nov 25 17:19:44 1998 Raph Levien <[email protected]>
1075
1076 * art_svp.h, art_svp.c: added, basic constructors for sorted
1077 vector paths.
1078
1079 Sun Nov 22 23:21:09 1998 Raph Levien <[email protected]>
1080
1081 * Makefile.am (libart_lgplincdir): Fixed stupid bug in naming of
1082 the variable.
1083
1084 Sun Nov 22 21:41:13 1998 Raph Levien <[email protected]>
1085
1086 * art_uta_vpath.c: moved art_uta_union into art_uta_ops.
1087
1088 * art_uta_ops.[ch]: added, populated with art_uta_union.
1089
1090 Thu Nov 19 00:19:40 1998 Raph Levien <[email protected]>
1091
1092 * libartConf.sh.in: added
1093
1094 * Makefile.am: added creation of libartConf.sh, added -version-info
1095 * configure.in: added LIBART_VERSION_INFO, support for libartConf.sh
1096
1097 * libart.m4: updated version history :)
1098
1099 Wed Nov 18 18:15:20 1998 Raph Levien <[email protected]>
1100
1101 * configure.in (LIBART_VERSION): set this, so that libart-config
1102 --version now works.
1103
1104 Wed Nov 18 16:50:58 1998 Raph Levien <[email protected]>
1105
1106 * libart.m4: added (just copied from esound)
1107 * configure.in, Makefile.am: added support for libart-config
1108 * libart-config.in: added (mostly copied from esound)
1109
1110 Tue Nov 10 12:43:30 1998 Raph Levien <[email protected]>
1111
1112 * Getting the library in shape for initial checkin to CVS.
1113
1114