source: trunk/third/mozilla/other-licenses/libart_lgpl/ChangeLog @ 22325

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