File: ChangeLog

package info (click to toggle)
xpaint 2.7.8.1-1.2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,016 kB
  • ctags: 6,278
  • sloc: ansic: 37,708; makefile: 4,770; sh: 119
file content (1774 lines) | stat: -rw-r--r-- 55,728 bytes parent folder | download | duplicates (2)
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
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
2005-09-09  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

        * Version 2.7.8.1 : minor bugfixes (zoomed windows are now
	  correctly initialized)

2005-08-13  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

        * Version 2.7.8 (Minor enhancements and bug fixes)

	* main.c, fileName.c : merged a patch from Greg Roelofs 
	  <newt@pobox.com> which fixes a few bugs occurring when message 
	  files were corrupted, absent or didn't match the current version,
	  or when the app-defaults file could not be found.
	  
	* fixed position of buttons in "Save as" dialog; corrected another
	  bug which could produce segfaults or various annoyances (e.g. 
	  blank input text box)
	
	* operation.c : corrected inconsistent color behaviour of 
	  "Tools" window under screen depths less than 24
	  
	* graphic.c : work-around for a bug which was apparently 
	  related to the Xaw/Xaw3d toolkits (??) (infinite loop when
	  creating canvas size w x h with w = 640 and h != 480 ... )
	  
	* graphic.c : corrected some minor misbehaviour of the 
	  region operators (motions)
	 
	* implemented a more or less consistent behaviour of the 
	  Escape key.
	
	* fixed the default undolevels to 6, since modern computers
	  can stand it.
	  
	* rw/readWritePS.c : as a (very) preliminary step towards adding
	  DTP capabilities, xpaint can now read TeX/LaTeX documents
	  (magic string should be %TEX or %LTX, respectively). This is
	  still not very usable, though, since the editing capabilities
	  are not yet implemented.
	  
2005-05-08  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

        * Version 2.7.7 (Major enhancements)
	  
	* splineOp.c : implemented selection of spline regions
	
	* lineOp.c : implemented arrow heads, 3 types of arrow heads
	  are now available

        * boxOp.c : implemented boxes with round corners

	* polygonOp.c : implemented regular and starlike polygons
	  (also available for filling and selection of regions).
	  
	* operation.c : XPaint now has 30 tools instead of 27.
	
	* Numerous smaller fixes and enhancements
	
2005-04-10  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

        * Version 2.7.6_3
       
        * Incorporated RPM spec file and debian build files
	
	* Fixes in pattern.c in deletePatternCB()

2005-04-01  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

        * Version 2.7.6_2
	
	* Fix in print.c which could cause segfaults
	
2005-03-31  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

        * Version 2.7.6_1
	
	* Fix in dynPencil.c which caused segfaults

2005-03-30  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

        * Version 2.7.6
	
	* Bug hunting continued. The open file dialog should now behave
	  properly, taking snapshots should no longer segfault, nor
	  editing patterns.
	  
2005-03-18  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

        * Version 2.7.5
	
	* Support for scrolling with mouse wheel button
	
	* Support for neXtaw widgets
	
	* Bug fixes (randomly occurring segfault fixed - 
	  nargs = 0 not properly reinitialized in menu bar routine !)
	
	
2005-02-19  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

        * Version 2.7.4
	
	* All popup windows now behave properly under resize requests.
	  This corrects former (extremely buggy) behaviour.
	
	* Segfault bug in Print popup corrected
	
	* The transparency activation/disactivation of selected regions 
	  under mouse clicks has been substantially improved.
	  
	* Xaw95 widgets have been removed from the source tree, and
	  Xaw3d is now the recommended widget set.
	
2005-01-26  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

        * Version 2.7.3
	
	* Incorporated OpenVMS port by Jouk Jansen
	  <joukj@hrem.stm.tudelft.nl> 
	  http://nchrem.tnw.tudelft.nl/openvms/software2.html
	  
	* PNG is now the default image format
	
	* Corrected long standing bug in StdSnapshotCallback() in graphic.c

        * Added -clipboard option which loads files from command line
          into clipboard.
	  
2004-10-16  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

	* Version 2.7.2
	
	* Added .bmp format (read/write)
	
	* Support for .ico format with 24 or 32 bits per pixel.
	
	* Now opens a confirmation dialog in case a file is going to be 
	  overwritten.
	
	* Improved printer management - this should now work at least
	  with BSD printing systems and with CUPS.
	  	
2004-08-21  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

	* Version 2.7.1
	
	* added 'Stain' procedure in the Pencil tool options, based on
	  suggestions by Ross Clement <R.P.Clement@westminster.ac.uk>
	
	* The 'Unselect region' procedure can now be found under the
	  Edit popdown menu rather than under the Region popdown menu

        * added Spanish localization files thanks to the work of
	  Maria Dolores Almansa Tejada <dolores.almansa@corazondemaria.org>
	  
	* improved the Print Utility (under Linux/BSD systems, the list of
	  printers now appears as a pulldown menu)
	  

2003-07-01

	* libpnmrw.c, writeGIF.c : merged MandrakeSoft's "errno patch"

2003-06-09  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

	* Version 2.7.0

	* iprocess.c : added (still rather crude) implementation of user
        defined C scripts. Users can now define their own 3D (or 2D)
        routines to build arbitrary graphs, plots, 2D-3D objects or 
        images. This also allows using "layers" within xpaint. Check 
        the examples from the C script widget menu to see how this works.

	* graphic.c : implemented a new "memory" widget which can be used
        to manipulate layers graphically.

        * Merged patch by Greg Roelofs <newt@pobox.com> that fixes an 
        image-corruption bug in WritePNG() (fix in image.c), plugs some
        memory leaks (row_pointers) in ReadPNG(), and adds support for
        converting a gray palette image to grayscale PNG (also in 
	WritePNG()). 
	
	* Xaw95 : finally fixed the behaviour of scrollbars in viewport 
	widgets; scrollbars don't appear anymore unless they are needed.

	* main.c : the scrollbar bugfix allowed to remove unnecessary
	resize calls, so the XAW95 switch has been removed there...

	* polyOp.c : fixed infinitesimal bug, which caused horizontal
	and vertical segments not to appear during mouse motion.

	* menu.c : fixed bug in floating popup menu (incorrect default
	position for zoom > 1)

	* PaintRegion.c : added rounding procedure in multiplication
        of matrices mm(), to avoid artefacts for rotations by 90, 180 
        or 270 degrees.

        * PaintRegion.c, selectOp.c : implemented suggestion by 
	Greg Roelofs; the selected region becomes semi-transparent if 
	the Alt key is pressed.

2003-02-18  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

	* Version 2.6.9

	* selectOp.c : Fixed some minor misbehaviour of region selection 
        operators.

	* menu.c : Improved the 'XtTranslations' mechanism; as a consequence,
	the floating popup menu widget now has a more fluid behaviour.

	* iprocess.c : The 'Compile' button now issues more explicit 
        comments indicating success or failure.

	* main.c : added -simplepopup and -fullpopup otions. This controls
	whether the floating canvas popup just shows the edit commands or 
        the whole menu from the menubar. As a consequence, a few changes
	have been also necessary in graphic.c and menu.c.

	* corresponding updates in xpaint.man, app-defaults and help files.

2003-02-09  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

	* Version 2.6.8

	* Cleared-up a lot of compilation warnings.

	* main.c : added -snapshot option. This runs silently xpaint 
	in snapshot capture mode, and opens the widgets after the screen
	capture has been made.

        * print.c, graphic.c : fixed "close routine" of Print and
        External popups, which could result in a segfault under certain 
        circumstances, and/or in popups lock-up.

	* arcOp.c : Greatly improved procedures for drawing arcs
        of circles or arcs of ellipses - 4 options are now available

	* splineOp.c : it is now possible to draw an arbitrary combination
	of Bzier cubics and line segments. Bug fixes : display is now 
        correct even under zoom factor larger than 1.

	* lineOp.c : Implemented arrows, following suggestion by
	Larisa Shapiro <larisa@mmi.co.il>

	* operation.c / Line Menu : Implemented dash styles
	
	* iprocess.c : implemented user defined filters. This is made
	through C scripts which are compiled as shared libraries with gcc,
	and dynamically linked to xpaint. See ./share/filters/merge.c
	for an example. A new Script Editor widget has been introduced
	to facilitate the scripting process.

	* chroma.c : removed confusing Ok button (it had exactly
	the same effect as the Apply button, closing the window
        afterwards - instead, just click Apply, and then Close...)

	* snapshot.c : put XFlush(dpy) and XGrabServer(dpy) in correct
	order. No more "menu widget ghosts" trailing around...

	* rw/readWriteICO.c : partial support for reading/writing
	Microsoft's icon format, based on ico2xpm code.

	* rw/readWritePS.c : xpaint now also has (kind of!) *write* 
        support for PDF format.
        CAUTION : the output is just raw bitmap PDF data. If you 
        overwrite an existing PDF file, all formatting data and any 
        other information embedded in the input file is irretrievably 
	lost, especially all embedded text.

2002-11-24  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

	* Version 2.6.7

	Implemented many suggestions by Andre Pascual (at least the first
	four items) <andre@linuxgraphic.org> :

	* graphic.c : The last filter that has been applied can now be 
        undone without using the clipboard - and it really works!

	* graphic.c : implemented a new canvas widget that provides a quick 
	access to all colors and patterns from the palette. The menu bar
	has been simplified and reorganized.

	* pattern.c : added a "Close" button.

	* fatBits editor : moving the fatBits hot spot by dragging the
        mouse on the canvas works again. Removed the unneeded "Position"
        button.

        * graphic.c : Added to the "Region Menu" a general 
        "Linear Transformation" procedure which can be applied to 
        arbitrary regions. Coding fairly trivial since this was already 
        implemented but had not been made available from the menu ...

	* graphic.c : Moved the "tilt" region operation to the Filter Menu.

	* graphic.c : The "Clone region" procedure now takes care of 
	geometry, i.e. one can clone a distorted area as well
	
	* brushOp.c : brushes defined in the RC file are now *really*
        effective in the Brush Selector, and saved together with the
	palette editor. The pattern Editor also allows to save
	patterns as new brushes.

	* DefaultRC : added new default colors and patterns

	* bitmaps/
	Added a new set of smaller (and nicer) tool icons, derived from
        work by Peter Keel (killer@discordia.ch)

2002-11-06  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

	* Version 2.6.6

	* New filter available : Modify RGB components by given percentage

	* Filter operations can now be undone (just the last step...) -
        this is done by copying the current region to the clipboard,
        immediately before applying the filter.

        * Window menu bars can now be hidden or shown again.
	A new option -nomenubar initializes paint windows without
	menu bars. Might be helpful for running xpaint on PDA's...

	* Improved window-resize routines. New option -winsize is there
        in order to predefine canvas window size from command line.
        
        * cutCopyPaste.h  renamed  'region.h'

	* Numerous bug corrections. Xpaint-2.6.6 now appears to be very 
        stable, considerably more than 2.6.3--2.6.5, possibly more than
        2.6.2 which still had a few issues especially with snapshot and
        fractal fill operations.

2002-10-28  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

	* Version 2.6.5
	
	* Removed dependency on sed script ad2c.script. All "sed-like"
	preprocessing is done instead by the C program substads.c

	* graphic.c : extensive reworking of the canvas menus.
        For this purpose, graphic.c  has been merged with cutCopyPaste.c. 
	All menus are now available from the canvas top menu bar, or 
	from the popup menu by clicking with button 3 on the canvas.

	* pattern.c : extensive reworking. There is now a unified color
	and pattern selector. This selector operates independently from 
	the canvas windows

	* xaw95 : the modified Athena widget set Xaw95 has been included.
	This provides a much more modern aspect to xpaint...

	* Imakefile : has been extended to support compiling and linking
	with Xaw95. Default is still plain Xaw. Use instead 'make xaw95'
	or 'make xaw95static' to compile with Xaw95.

	* Corrected several minor glitches of version 2.6.4.

2002-09-24  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

        * Version 2.6.4

	* Reworked the organization of buttons in the Toolbox widget.
	Toolbox now fits on 640x480 displays.

        * print.c : corrected bug that affected the size of the page, in
        case the format was changed.

        * splineOp.c : added a switch with the Control key to commute 
        interactively between Closed and Closed-up spline curve types.

	* operation.c : initialized tfillStepStr to maximal value 300 in 
        true color mode, and to 25 in pseudo-color mode.

        * main.c : added routines to handle external 'Help' and 'Messages'
        files. Added a possibility to change the app-default file according
        to the environment parameter "LANG".

        * removed all (or most...) explicit message strings scattered over the 
        various C source files, and replaced them with pointers to the new
	msgText[] message data structure. As a result, XPaint can now be
        internationalized without modifying the code.

        * Imakefile : has been updated to accommodate all new files that come
        up with the internationalization (app-defaults, Help, Messages).

	* README : updated to include internationalization stuff.

2002-09-03  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

	* Version 2.6.3.

	* Changed writePS.c to readWritePS.c, and added correspondingly
        ReadPS, TestPS and TestPDF routines. As a result, xpaint now
        reads PostScript and PDF formats, thanks to a 'gs' system call.
           
	* print.c : added a "Print Utility" widget which should help a 
        lot for adjusting the size and position of the image on the page
	when printing.

	* graphic.c : added 'ext_im_viewer' and 'ext_ps_viewer' parameters.
        The external image viewer can now be called even when the current
	image has not been saved (a temporary file is used for that purpose).

	* snapshot.c : cleaned up a little bit the code and -- hopefully -- 
        removed a memory leak.

	* XPaint.ad.in:
	Made some changes, corrections and additions 
          (*XPaint*SimpleMenu*translations, *Canvas*Box*Paint*translations)
	as a work-around to accommodate strange behaviour under some
        XFree-4.0.x servers.
        Added accordingly a "return" case when Button3 is pressed in
        all press() routines, although Button3 should not occur.

	* Added an option XAW95 in the Imakefile, so that xpaint can be
        linked smartly against Xaw95 widgets (the resulting look of the
        widgets is _so much nicer_ with Xaw95 than with plain Xaw...)
	
	* Added fractal density parameter (so that water and sky colors 
        become somewhat more realistic).

	* increased the default width of the color selector and of the
        pattern editor -- so that the scrollbars are now wide enough to 
        become accurate and efficient.

	* Changed "File" menu to "Canvas" menu in toolbox, because it is 
        mainly concerned with canvases and not so much with files.

        * Added "Erase all" function in the "Edit" menu (after realizing 
        that some beginners had difficulties figuring out how to blank 
        the picture...)

	* readRC.c: tried a security fix from Debian maintainer in the
	openTemp() routine. Finally removed it because it didn't seem
        to work on my machine...
	
	* Imakefile: added a "realclean" option

2001-06-12  Torsten Martinsen  <torsten@image.dk>

	* Version 2.6.2.
	
	* Local.config:
	According to Craig Ian Dewick <craig@lios.apana.org.au>, it is 
        not necessary to define MISSING_STRERROR with Solaris 8.

	* XPaint.ad.in:
	Increased XPaint.height by three pixels on request from Greg Roelofs.

2000-10-02  Torsten Martinsen  <torsten@image.dk>

	* splineOp.c, snapshot.c: Style cleanup.

	* misc.h, fileName.c, rw/libpnmrw.c, rw/rwTable.c, 
	  rw/writeGIF.c, rw/writePS.c: Cygwin patch from Volker Zell.

	* Help.txt: Fixed typo.

2000-09-11  Torsten Martinsen  <torsten@image.dk>

	* misc.h: Removed bogus prototype for main().

	* dynPenOp.c:
	Fixed return type of timeout() (thereby eliminating warning).

	* main.c: Changed return type of main() to int.

2000-09-03  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

	* Version 2.6.0.
	
	* merged a patch from Greg Roelofs fixing PNG read & write
	  code for recent versions of the PNG library;
	  older readPNG.c and writePNG.c combined into readWritePNG.c

	* graphic.c:
	If the user tries to print a file that has never been saved, complain.

	* README: Updated maintainer info.

	* Imakefile: Changed version number.

	* README: Updated URL for libraries.
	Describe use of Print option.

2000-09-02  Torsten Martinsen  <torsten@image.dk>

	* Version 2.5.9.
	
	* snapshot.c, splineOp.c: New file.

	* cutCopyPaste.c, cutCopyPaste.h, graphic.c, operation.c:
	Added Snapshot.

	* XPaint.ad.in: Added resources for Snapshot.

	* Imakefile: Added snapshot.c.

	* README: Changed version number.

	* Help.txt: Document Snapshot tool.

	* Local.config:
	Added FEATURE_FRACTAL and FEATURE_TILT to EXTRA_DEFINES.
	Libraries are now assumed to live in /usr, not /usr/local.

	* cutCopyPaste.h: Added Refresh functionality.
	Added Clone functionality.

	* ops.h: Added Spline prototypes.

	* fileName.c: Added StdCloneRegionFile().

	* misc.h: Added StdCloneRegionFile() prototype.

	* polyOp.c: Changed MAXP to 200.

	* menu.h: Changed MI_SEPERATOR to MI_SEPARATOR.

	* operation.c: Changed MI_SEPERATOR to MI_SEPARATOR.
	Added Spline functionality.

	* XPaint.ad.in: Changed width & height.
	Added Spline resources.
	Added Clone & Print resources.
	Added Tilt & Refresh resources.

	* chroma.c, color.c:
	Define NeedFunctionPrototypes before including Scrollbar.h.

	* pattern.c: Fixed spelling.

	* cutCopyPaste.c: Fixed spelling error in comment.
	Added Refresh functionality.
	Added Clone functionality.

	* graphic.c: MI_SEPERATOR changed to MI_SEPARATOR.
	Added some new menu items.
	Added printCallback().

	* README: Updated version.

	* Imakefile: Added splineOp.c.

2000-08-29  Torsten Martinsen  <torsten@image.dk>

	* Help.txt:
	Document 'Spline Curve', 'Clone Region', 'Print', and 'Refresh'.

	* .version: Version 2.5.8.

Sat Aug  5 17:26:11 2000  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

	* snapshot.c: Introduced new "Snapshot" operation (grabbing a
             window or mouse-selected rectangle from screen)
	* Help.txt: updated Help file accordingly

Thu Jul 27 11:46:51 2000  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

	* graphic.c: Introduced a "Clone region" function 
	* splineOP.c: created basic spline curve operations
	* rw/writeTIFF.c: Bug fix; writing TIFF was broken for depth > 8.

Wed Dec  1 17:12:23 1999  J.-P. Demailly  <demailly@fourier.ujf-grenoble.fr>

	* operation.c: Reorganized order of icons in main control panel
        * graphic.c: Added a "Print" option in the file menu, to the effect
             of calling an external printing utility (xv is a good candidate)

Sun Jan 31 10:41:18 1999  Torsten Martinsen  <torsten@image.dk>

	* Help.txt, README: Fixed addresses.

Tue Dec  8 13:42:29 1998  Torsten Martinsen  <torsten@image.dk>

	* menu.c: Include menu.h as suggested by Ralph Raby <r.raby@ic.ac.uk>.

Sat Sep 12 20:44:01 1998  Torsten Martinsen  <torsten@danbbs.dk>

	* Imakefile: Version number inc'ed.

Fri Aug 21 16:40:47 1998  Torsten Martinsen  <torsten@danbbs.dk>

	* Help.txt: Removed "(beta)" from about text.
	Added 1998 to copyright notice.

Fri Aug 21 16:30:03 1998  Torsten Martinsen  <torsten@danbbs.dk>

	* iprocess.c:
	Added change by James G. Feeney <james@albion.nurealm.net>

Sat Jun 27 18:52:36 1998  Torsten Martinsen  <torsten@danbbs.dk>

	* Imakefile: Removed use of LibraryTargetName() macro.

Tue Jun  9 21:16:38 1998  Torsten Martinsen  <torsten@danbbs.dk>

	* Version 2.5.5 released.

	* misc.h: If using glibc, do not define random().

	* main.c: Don't crash if more than 5 arguments.

Thu May 21 21:17:23 1998  Torsten Martinsen  <torsten@danbbs.dk>

	* fillOp.c:
	press(): Free allocated memory as suggested by Richard Hirst
	<richard@sleepie.demon.co.uk>.

Sun Apr 26 01:06:38 1998  Torsten Martinsen  <torsten@danbbs.dk>

	* texture.c:
	OS/2 patch from Alexander Mai <st002279@hrzpub.tu-darmstadt.de>.

Thu Apr 16 19:42:01 1998  Torsten Martinsen  <torsten@danbbs.dk>

	* Version 2.5.4 released.

	* iprocess.c: Patch from Andreas Czechanowski
 	<andreas@inspc44b.ins.uni-stuttgart.de>: 1) The convolution
 	routine for the image filters has been speeded up: The sum of all
 	matrix elements only has to be computed once, not while processing
 	every pixel.  2) Inverting an image crashed, at least on my
 	24bpp-display.

	* chroma.c:
	Patch from Andreas Czechanowski <andreas@inspc44b.ins.uni-stuttgart.de>:
	The "select color range" dialog had been bound to the Canvas from
	where it was opened the first time. When another Canvas was opened
	and the first one was closed, calling "select color range" from
	the new Canvas caused a crash.

	* brushOp.c:
	Patch from Andreas Czechanowski <andreas@inspc44b.ins.uni-stuttgart.de>:
	Transparent brush now ensures to reach the "final" color when
	painting over at one place long enough. There was a roundoff
	problem when converting float to integer.

	* INSTALL: Added SCO tip from William Bader <william@nscs.fast.net>.

Mon Mar 23 21:39:51 1998  Torsten Martinsen  <torsten@danbbs.dk>

	* operation.c, Local.config, misc.h:
	FreeBSD compatibility fixes from Justin M. Seger
	<jseger@freebsd.scds.com>.

Tue Feb 24 20:41:08 1998  Torsten Martinsen  <torsten@danbbs.dk>

	* fileName.c, misc.h:
	Added Win32 patches from Arlindo da Silva
	<arlindo@niteroi.gsfc.nasa.gov>.

Thu Jan 22 21:03:09 1998  Torsten Martinsen  <torsten@danbbs.dk>

	* Version 2.5.3 released.
	
	* Imakefile, Local.config, PaintRegion.c, fileName.c:
	OS/2 portability patches from Alexander Mai
	<st002279@hrzpub.tu-darmstadt.de>. 

	* xpaint.h, misc.h, fillOp.c: Added SCO portability patches from
	William Bader <william@nscs.fast.net>. 

Tue Dec 16 20:40:27 1997  Torsten Martinsen  <torsten@danbbs.dk>

	* dynPenOp.c: Don't use the HZ macro.

	* dynPenOp.c: Initial revision

Sat Oct 25 14:27:42 1997  Torsten Martinsen  <torsten@danbbs.dk>

	* brushOp.c:
	Added 'continuous strokes' patch from Davor Cubranic
	<cubranic@cs.ubc.ca>.

Wed Sep  3 19:31:07 1997  Torsten Martinsen  <torsten@danbbs.dk>

	* Help.txt, README, brushOp.c, chroma.c, color.c, colorEdit.c,
	dialog.c, fatBitsEdit.c, fileName.c, graphic.c, main.c, menu.c,
	misc.c, misc.h, pattern.c, text.c, xpaint.h, xpaint.man.in: 
	Added Scott Nelson's patch to allow setting the visual from the
	command line. 

Fri Aug 22 08:14:22 1997  Scott D. Nelson  <nelson18@llnl.gov>

	* Version 2.5.1 includes the -visual flag.

	* Support for standard X visual syntax.  

Wed Aug 13 19:45:37 1997  Torsten Martinsen  <torsten@danbbs.dk>

	* ops.h, operation.c, XPaint.ad.in, Imakefile, Help.txt:
	Added DynPencil tool.

Mon Aug 11 18:09:32 1997  Torsten Martinsen  <torsten@danbbs.dk>

	* README: Added SGI to list of platforms.

Mon Jul 14 17:37:11 1997  Torsten Martinsen  <torsten@danbbs.dk>

	* selectOp.c: releasePolyBand(): Removed surplus 'mask' argument.

Sat Jul 12 17:56:03 1997  Torsten Martinsen  <torsten@danbbs.dk>

	* PaintEvent.c, fatBitsEdit.c:
	Fixed bug where hot spot was offset to SE.

	* Local.config: Dont' mention DTRUNC_SNAP.

Tue Jun 24 20:30:18 1997  Torsten Martinsen  <torsten@danbbs.dk>

	* README: Fixed .dk.dk typo (again!).

Tue Jun 24 20:20:19 1997  Torsten Martinsen  <torsten@danbbs.dk>

	* XPaint.ad.in:	Added new font/colour scheme from Bernd Johannes
	Wuebben <wuebben@math.cornell.edu>.

Sat May 31 08:29:23 1997  Torsten Martinsen  <torsten@danbbs.dk>

	* Version 2.4.9 released.

	* Local.config: Don't hardcode CDEBUGFLAGS.

	* Imakefile: Don't distribute PGP* files.

	* brushOp.c: Don't crash on images where width or height is less
	than that of the brush. 

Wed May  7 05:53:50 1997  Torsten Martinsen  <torsten@danbbs.dk>

	* cutCopyPaste.c: Applied xword compatibility patch from Seth
	Alves <alve1182@cs.uidaho.edu>. 

Fri May  2 05:54:04 1997  Torsten Martinsen  <torsten@danbbs.dk>

	* Help.txt: Updated range selection text as suggested by Rainer
	Dunker <rainer@dunker.e.ruhr.de>. 
	Changed mail address.

Wed Feb  5 19:08:45 1997  Torsten Martinsen  <torsten@danbbs.dk>

	* brushOp.c: Set numsymbols in XpmAttributes structure.

Wed Jan 29 18:32:39 1997  Torsten Martinsen  <torsten@danbbs.dk>

	* Version 2.4.8 released.

	* xpaint.man.in: New address.

Mon Jan 27 06:45:46 1997  Torsten Martinsen  <torsten@danbbs.dk>

	* cutCopyPaste.c:
	If FILTERNEEDSSELECTION was defined, we got a SIGSEGV when running
	a filter.
	Reported by Sylvain Meunier <sns@sns.fr>.

Sun Jan 26 20:45:07 1997  Torsten Martinsen  <torsten@danbbs.dk>

	* main.c:
	Patch from NIIBE Yutaka <gniibe@mri.co.jp> to handle workProc()
	correctly.

Fri Nov  1 09:45:48 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* Local.config: Added XPM_INCLUDE.

	* Imakefile: Added XPM_INCLUDE to DEFINES.

	* operation.c, main.c, brushOp.c: Removed 'X11' from "X11/xpm.h".

Tue Oct 29 08:59:40 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* Imakefile: Added dependencies on '.version'.

Tue Oct 29 08:48:44 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* fontSelect.c: Removed arbitrary limits on number of
	fonts. Reported by Sumit Bose <bose@physik.TU-Berlin.DE>.

Fri Oct 25 13:20:32 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* fatBitsEdit.c: Fixed FatBits cursor movement bug reported by
	Hideaki Nishimura <nishimu@sdd.siznes.nec.co.jp>.

Fri Sep 27 06:17:31 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* graphic.c: Fixed numbering screwup in definition of
	regionMenu[]. Thanks to nishimu@sdd.siznes.nec.co.jp (Hideaki
	Nishimura).

Fri Sep  6 07:13:30 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* operation.c:
	Fixed bug with XpmCreatePixmapFromData() call at line 1015.

Thu Aug 29 05:24:30 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* README.PNG: Added Greg Roelofs' patch of 28Aug1996.

Mon Aug 26 05:40:41 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* operation.c:	OperationInit(): Set Xpm 'closeness' attribute
	when creating toolbox icons.

Fri Aug 23 06:08:22 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* operation.c:	OperationInit(): Check that sufficient colors are
	available for toolbox icons.

Wed Aug  7 07:10:07 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* xpaint.man.in: Documented the 'patternsize' resource.

Mon Aug  5 08:10:22 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* Local.config: Added definition of DEPENDFLAGS.
	Added comment on AIX compilation flags.

Thu Aug  1 12:59:32 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* README: Re-included pointer to libgr.
	Encourage clear bug reports.
	Updated WWW page pointer.

	* main.c:
	SetIconImage(): Added fix from Matthias Braun: Check that XPM icon
	can be created.

Wed Jun 19 19:02:29 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* Paint.c:
	InitializeProc(): Always initialize 'undo' to avoid FatBits crashing.

Tue Jun 18 10:04:47 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* rw/readGIF.c: Cleaned up formatting.

	* rw/writeGIF.c: Added error checks for each call to fputc().

Mon Jun 17 11:35:24 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* main.c: Removed call to XtSetLanguageProc().

	* INSTALL: Included new patch from Webmaster Jim.

Sun Jun  9 17:31:28 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* rw/rwTable.c: Cleaned up formatting.

Fri Jun  7 05:46:20 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* README: Upped version #.

Thu Jun  6 10:45:55 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* misc.h: Line 22: Include _AIX in #if conditional.

Mon Jun  3 07:08:12 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* README: Added info on where to obtain libraries.

	* Local.config: PNG support is enabled by default.

	* .version: Initial revision

Mon Jun  3 06:15:40 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* Imakefile: Make sure XPaint.ad is made.

	* Imakefile: Make sure xpaint.man is made.

	* Imakefile: Include .version for setting version number.

	* Local.config: BSD: Added path to TIFF_LIB and JPEG_LIB.

	* readRC.c: Added prototype for mktemp() for AIX.

Sun Jun  2 08:40:10 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* Imakefile: Added README.PNG.

	* imageComp.c: Added missing #define for sortABC().

	* Imakefile: Help.txt should be Help.txt.in.

Fri May 31 06:38:41 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* brushOp.c: Clear up a lot of Alpha cc warnings.

	* Imakefile: Fix include path for stupid Alpha compiler.

	* main.c: main(): argc is int, NOT Cardinal.

	* image.c: Clear up a lot of Alpha cc warnings.

	* fileName.c: Alphas use dirents too.

	* size.c:
	Fix: this should take care of the 'sigsegv-when-resizing' bug.

	* selectOp.c:
	Fix: prevents xpaint from terminating with an X-Error "invalid size in
	X_CreatePixmap" when the ellipse-shaped region is selected and one
	clicks the first mouse button on one point.

Tue May 28 09:23:16 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* xpaint.man: Now generated automatically.

	* main.c: Warning about data loss.
	Version number displayed in usage message.

	* imageComp.c, image.h: ImageCompress() takes an extra argument.

	* XPaint.ad: Now generated automatically.

	* Help.txt: Now automatically generated.

	* image.c, color.c: ImageCompress() takes an extra argument.

	* Local.config: PNG support added.

	* Imakefile: Automatic update of version # in xpaint.man and XPaint.ad.

Tue May 28 07:45:08 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* README: Improved text about needed libraries.

	* README: Version #.

	* xpaint.man.in, XPaint.ad.in: Initial revision

	* xpaint.man: Document -nowarn option.

	* README: Refer to README.PNG.

	* README.PNG: Initial revision

	* README: Added URL for XPaint.

	* Local.config:
	Added ARCH_DEFINES variable for architecture-specific defines.

	* Imakefile: Added ARCH_DEFINES to DEFINES.

	* Local.config: Removed space before argument to -L.

Fri May 24 07:33:03 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* protocol.c: Include stdio.h.

	* Local.config: Version #.

	* Imakefile: Added VERSION variable.

	* Local.config: Added Chuck Robey's BSD fix.

	* INSTALL: Added missing font fix from Webmaster Jim.

Thu May 23 15:48:31 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* main.c: Only call XtSetLanguageProc() if XtSpecificationRelease >= 6.

	* Imakefile: Removed XPAINT_TOP definition.

	* README: Refer to TODO list.

	* Imakefile: Added TODO.

Wed May 15 09:26:56 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* XPaint.ad: Cleaned out 'nudge' resources.
	Inc'ed version #.

	* xpaint.man: Inc'ed version #.

	* graphic.c: Added support for setting of pattern size via resource.

	* protocol.c: AddDestroyCallback(): Added error check.

Mon May 13 08:17:52 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* Paint.c: Fixed warning.

	* README: Updated for 2.3.

Mon May 13 08:02:07 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* Imakefile, XPaint.ad: Updated version number.

Sun May 12 08:17:01 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* PaintRegion.c: doCallBacks(): Fix warning.

Fri May 10 09:53:06 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* Local.config: Cleaned up CDEBUGFLAGS. Removed -DNEED_STRCASECMP.

	* fatBitsEdit.c:
	FatCursorOff(): Now also works correctly for FatBits popup.

	* misc.h: Added Gary Love's patch for SGI and HPUX.

Thu May  9 11:21:44 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* brushOp.c: FatCursorOff() now takes an argument.

	* fatBitsEdit.c: Fixed FatCursor bug.

	* misc.h, iprocess.c, main.c, misc.c, sprayOp.c, texture.c, xpaint.h:
	Cleaned up use of RANDOM.

Wed May  8 09:52:40 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* Local.config: Added lots of portability fixes.

	* iprocess.c: ImageSpread(): Replaced random() with RANDOM.

	* misc.h: Added SunOS 4.1 portability fix.

	* Paint.c: Fixed the 'Image/Change Size' bug.

	* PaintUndo.c: Added ERRORBEEP feature.

Tue May  7 11:18:21 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* Local.config, misc.h, xpaint.h:
	Added BSD portability fixes by Chuck Robey <chuckr@Glue.umd.edu>.

Fri May  3 16:15:58 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* Local.config, xpaint.h, main.c: Added Solaris patch.

Thu May  2 07:45:24 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* Imakefile: Fixed tar target.

	* xpaint.man, XPaint.ad, Imakefile: Updated version number.

	* Paint.c: Bugfix: new undo stuff made FatBits crash.

Tue Apr 30 15:38:06 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* rw/rwTable.c: Removed obsolete #ifdef HAVE_XPM clause.

Tue Apr 30 11:39:12 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* graphic.c:
	undosizeOkCallback(): Changed 'Levels (1-20)' to 'Levels (0-20)'.

Tue Apr 30 11:11:32 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* Paint.c:
	SetValuesProc(): Initialize undo system when changing image size.

	* PaintUndo.c: Fixed the case where undosize is zero.

Tue Apr 30 08:57:31 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* Imakefile: Added xpaint.man to TEXT variable.

Mon Apr 29 05:03:50 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* Imakefile: Fixed path to Local.config.

Sat Apr 20 13:02:23 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* Released 2.2 to the largely unsuspecting public.

Fri Apr 19 09:56:38 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* cutCopyPaste.c: Removed testing code.

	* README: cert takes no arguments.

	* cert: Don't use arguments.

	* Imakefile:
	Prevent multiple inclusion of rw/libpnmrw.h and rw/rwTable.h in filelist.

	* PaintUndo.c: Ready for release.

	* PaintP.h: 'valid' renamed to 'pushed'.

	* Imakefile, Help.txt: Updated for release.

	* Local.config: Cleaned up for release.

	* cert: Added blurb about public key.

	* Paint.c: Undo fixed.

	* help.c: Reformatted.

	* fillOp.c: buildFractalPixmap(): Added default clause to switch.

	* INSTALL: Refer to Local.config.

Thu Apr 18 07:47:19 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* XPaint.ad: Added 'Canvas*menu*edit*redo.label'.

Wed Apr 17 19:58:26 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* Paint.c: Make undo stacks circularly linked.
	Keep old canvas pixmap when changing # of undo levels.

	* PaintP.h: Removed obsolete members.

	* Paint.c: Fixes to code for changing # of undo levels.
	Cleaned up.

	* PaintRegion.c: Cleaned up.

	* PaintUndo.c: Fixed [Un,Re]doPush() bug.
	Changed 'base' to 'current'.

	* graphic.c:
	undosizeCallback(): 'Buffer' changed to 'level' throughout.

	* PaintP.h: Support new stack-based undo scheme.
	'base' member renamed to 'current'.

	* Paint.c: Support new undo scheme.

	* PaintUndo.c: Changed to new stack-based undo algorithm.

Tue Apr 16 15:11:53 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* README: Reworked completely.

	* Local.config: Cleaned up.

	* Imakefile: Added certification support.

	* Help.txt: Updated for 2.2.

	* cert: Initial revision

	* README: Updated for 2.2


	* xpaint.man: Initial revision

	* XPaint.ad: Added 'Canvas*menu*other*undosize.label'.

	* XPaint.ad: Updated version number.

	* cutCopyPaste.c: Reformatted.
	Added Redo to canvas popup menu.

	* XPaint.ad: Added Canvas*paintBox.popup-menu.redo.label.

Wed Apr  3 14:29:15 1996  Torsten Martinsen  <bullestock@dk-online.dk>

	* Changed formatting of all source to K&R.

Tue Feb 27 12:27:45 1996  Torsten Martinsen

	* color.c: ColorPickerUpdateMap(): New function.
	New member 'bg' in LocalInfo so that we only have to look up the
	background pixel value the first time.

	* chroma.c: ChromaDialog now uses the palette of the canvas.

	* grab.c: Added comments.
	DoGrabImage() returns Image *.

Mon Feb 26 22:34:47 1996  Torsten Martinsen

	* graphic.c: Added 'Select Color Range' button to the right of
	palette area.

	* fillOp.c: Fixed nasty
	'XImage-data-is-signed-so-macro-is-screwed-up' bug. 

	* color.c: Cleaned up.

	* chroma.c: ChromaDialog(): Accept a Palette parameter and use
	that for calling ColorPickerPalette() instead of ColorPicker().

	* operation.c: Removed ChromaDialog stuff.

	* XPaint.ad: Changed 'XPaint*chroma' to 'Canvas*chroma'.

	* Imakefile: Added chroma.c

	* chroma.c: Initial revision

	* selectOp.c: Split out chroma stuff into chroma.c

	* iprocess.c: Cleaned up histogram stuff.
	Added ImageThicken() - #define'd out for now.

	* graphic.c: Cleaned up.

	* color.c:
	createBarText(): Fixed value for scrollbar resource 'XtNwidth'.

	* color.c: createBarText(): Changed incorrect scrollbar resource
	'XtNlength' to 'XtNwidth'.

	* Local.config: Removed the #define HaveXPM stuff.

	* Help.txt: Added doc for Directional Smooth.
	Rearranged doc for Filter commands.

	* operation.c: OperationSelectCallAcross(): Also set the Lasso popup.

	* graphic.c: Added Directional Smooth filter.
	Reorganized Filter menu.

	* iprocess.c: ImageNormContrast(): Call ImageHistogram().

	* cutCopyPaste.c: StdRegionDirFilt(): Added.

	* XPaint.ad: Canvas*menu*filter*dirfilt.label: Added.

	* iprocess.c: ImageSmooth(): Free convolution matrix.
	ImageDirectionalFilter(): Added.

Sun Feb 25 12:53:13 1996  Torsten Martinsen

	* INSTALL: Removed USE_DRAND stuff.

	* hash.c: Removed unused code.

	* fatBitsEdit.c: FatbitsUpdate(): Accept -1 as zoom factor.

	* size.c: sureCallback(): Call FatbitsUpdate().

	* fatBitsEdit.c:
	FatbitsUpdate(): Only reposition view if the zoomed canvas is larger
	than the viewport.

Sat Feb 24 15:51:16 1996  Torsten Martinsen

	* fatBitsEdit.c:
	Changing the zoom on the canvas now resizes and repositions the
	fatbits cursor.

Fri Feb 23 11:53:28 1996  Torsten Martinsen

	* graphic.c: zoomOkCallback(): Call zoomUpdate().

	* fatBitsEdit.c:
	Added the zoomUpdate() function to correct FatBits cursor window size
	when changing canvas zoom factor.

Fri Feb 23 11:12:42 1996  Torsten Martinsen

	* fatBitsEdit.c (zoomUpdate): Added.

	* graphic.c (GraphicOpenFile): Made GraphicOpenFile() call
	GraphicOpenFileZoom instead of duplicating code.

Thu Feb 15 11:03:50 1996  Torsten Martinsen

	* fatBitsEdit.c (FatCursorSet): Free old fatcursor if present.
	(FatCursorSet): Don't insert event handlers here.

	* Paint.c (InitializeProc): Init menuwidgets member.

Wed Feb 14 15:02:02 1996  Torsten Martinsen

	* Paint.c (resources): Added resource for XtNfilename.

	* graphic.c: Removed all traces of nudge box code.
	(doRevert): Use work procedure to call XtDestroyWidget().

Mon Feb 12 11:45:23 1996  Torsten Martinsen

	* brushOp.c (wbrush): Manual clipping implemented.
	(smear): Same.

Thu Feb  8 10:33:23 1996  Torsten Martinsen

	* graphic.c: Junked EnableRevert() and EnableLast().

	* brushOp.c (wbrush): Transparent brush now has soft edge.

Wed Feb  7 13:06:34 1996  Torsten Martinsen

	* brushOp.c (setCursor): Values in brushbits array are
	proportional to distance from center of brush, normalized to a
	maximum of 100.
	(smear): Mix colours according to values in brushbits array.
	Removed FATCURSOR conditionals.

	* selectOp.c (keyPress): Detect cursor keys and move region accordingly.

	* PaintRegion.c (RegionMove): New function, called from selectOp.c
	to move region using cursor keys.

	* selectOp.c (motion): Return if event->state is zero, i.e. no
	buttons pressed.

	* cutCopyPaste.c (StdUndoCallback): If the region has not been
	moved or resized, call PwRegionOff() before doing the actual undo
	and restore the region selection afterwards.

	* PaintRegion.c (PwRegionOff): New function, like PwRegionFinish()
	but doesn't write region.

	* PaintRegion.c (writeCleanRegion): Added 'write' argument. Only
	call writeRegion() if this is True.

Tue Feb  6 12:08:19 1996  Torsten Martinsen

	* fillOp.c (similar): Returns 1 if pixel matches start pixel
	within current colour delta.
	(deltafill): Like fill(), except we use similar() instead of ==.
	(press): Added switch to handle calling deltafill() when appropriate.

Mon Feb  5 13:32:45 1996  Torsten Martinsen

	* operation.c (tfillPopup): Added option for selecting fill colour
	tolerance.

	* selectOp.c (finishPolyBand): Added call to PwUpdateDrawable() to
	avoid leaving stray lines behind.

Sat Feb  3 11:03:16 1996  Torsten Martinsen

	* color.c (update): If default visual is statically allocated,
	don't use XStoreColor().

	* Imakefile (MISC): Added XPaintIcon.xpm.

	* main.c (workProc): Added 'done' kludge to try to fix problem
	with workProc being called too many times.

	* size.c (sureCallback): Set dirty flag.

	* misc.c (AutoCrop): Added. Also corresponding menu changes in graphic.c.

Fri Feb  2 10:21:37 1996  Torsten Martinsen

	* PaintRegion.c (PwRegionAddScale): Call PwRegionTear() so that
	flipped region stays on screen.
	(regionGrab): If Shift is pressed, constrain rotation to multiples
	of 15 degrees.
	(regionButtonPress): Store root window coords in lastX/Y.
	(regionGrab): If Shift is pressed, constrain movement to
	horizontal or vertical.

	* PaintP.h (PaintPart): Added lastX, lastY members.

	* fileName.c (stdSaveCommonCallback): Show busy cursor while saving.

Thu Feb  1 11:18:30 1996  Torsten Martinsen

	* selectOp.c (finishPolyBand, pressPolyBand, motionPolyBand,
	releasePolyBand, SelectPolyAdd, SelectPolyRemove): Handles
	selecting irregular polygons.

	* Help.txt (Fill): Document change mode.

	* circleOp.c (draw): Don't draw circles just because 'center' is
	ticked. Also, simplified quite a bit.

	* boxOp.c (press): Don't draw squares just because 'center' is ticked.

	* operation.c: Only use Xpm icons.

Wed Jan 31 21:18:38 1996  Torsten Martinsen

	* iprocess.c (ImageQuantize): Completed.

Tue Jan 30 00:00:36 1996  Torsten Martinsen

	* graphic.c (doContrast): Displays histogram image in text dialog.

	* iprocess.c (ImageHistogram): Added ruler to histogram image.

	* PaintRegion.c (regionSetGripCursors): Removed second column of
	cursors array, as it was not used.

	* iprocess.c (ImageHistogram): Builds histogram for an image, both
	as an array of ints and as an image.
	(ImageNormContrast): Now assumes that ImageHistogram has already
	been called for the image.

	* image.c (ImageNewBW): Set image->isBW to True.	

Mon Jan 29 09:13:12 1996  Torsten Martinsen

	* text.c (textPrompt): (Previously TextPrompt) Extra parameter
	'pix' allows displaying a pixmap in the dialog.
	(TextPrompt): Calls textPrompt.
	(TextPromptPixmap): Entry point for displaying pixmap in text dialog.

	* selectOp.c (SelectChromaDialog): Call ColorPickerSetFunction to
	set up for calling deltaSP() when grabbing colour.
	(deltaSP): Just sets 'pixel' member in DialogInfo structure.

	* color.c (ColorPicker): Set l->map so that it works on TrueColor
	visuals.

	* main.c (SetIconImage): Removed unused 'flag' parameter.

	* xpaint.man: Description of RC file improved a bit.

	* readRC.c (ReadDefaultRC): Don't use compiled-in defaults if a
	default file is specified with -rcFile.

Fri Jan 26 11:40:26 1996  Torsten Martinsen

	* brushOp.c (setCursor): Call FatCursorSet (conditional on FATCURSOR).

	* fatBitsEdit.c (AddSegment, CreateFatCursor, FatCursorDraw,
	FatCursorAddZoom, FatCursorRemoveZoom, FatCursorSet): Routines for
	handling outline cursors for FatBits popup completed. Bitmapped
	cursors junked due to server limits on cursor size.
	Conditional on FATCURSOR.

	* brushOp.c (motion): Return if event->state is zero, i.e. no
	buttons pressed.

Tue Jan 23 01:20:59 1996  Torsten Martinsen

	* graphic.c (solarizeOkCallback, doSolarize): Added to enable
	setting threshold parameter.

	* fatBitsEdit.c: Numerous changes, all conditional on FATCURSOR define.

Mon Jan 22 10:24:42 1996  Torsten Martinsen

	* fatBitsEdit.c (FatbitsEdit): Set cursor for fatbits popup from
	parent PaintWidget's fatcursor resource.

	* PaintP.h (PaintPart): Added fatcursor member.

	* graphic.c (graphicCreate): Use ADDCALLBACK macro to simplify
	code a bit.

	* cutCopyPaste.c (ccpAddRegionFlipX through ccpAddRegionBlend):
	Junked, instead call XtAddCallback directly.

	* graphic.c (graphicCreate): Items in regionMenu are always
	sensitive whether there is a selection or not.

	* cutCopyPaste.c (stdImgProcess): If no selection, use entire
	canvas. (Old behaviour can be reinstated by defining
	FILTERNEEDSSELECTION).

	* iprocess.c (ImageSolarize): Added function.
	(ImageQuantize): Added dummy.

	* graphic.c (doRevert): Set pointer to busy shape while reverting.
	(doRevert): Set menu snap status correctly.
	(doRevert): Also save background colour.
	(graphicCreate): Get width and height of pixmap *before* using
	them.

	* brushOp.c (BrushAdd, BrushRemove, SmearAdd, SmearRemove): Store
	brushPalette and brushGC in LocalInfo structure. This
	automatically handles multiple calls correctly.

	(BrushInit): Create initial brushImage.
	(selectBrush): Free old and create new brushImage. 

Fri Jan 19 09:07:29 1996  Torsten Martinsen

	* graphic.c (rotate): Use rotateAngle instead of snapSpacing as
	default angle of rotation.
	(GraphicOpenFileZoom): Like GraphicOpenFile(), but with 'zoom'
	parameter - passed to graphicCreate(). Also returns the PaintWidget.
	(doRevert): Remember zoom factor of image.

	* brushOp.c (setCursor): Compute numpixels member.
	(BrushRemove): Fixed SIGSEGV bug.
	(SmearRemove): Fixed SIGSEGV bug.
	(BrushAdd, BrushRemove): If called more than once, behave appropriately.

	* PaintEvent.c (opHandleEvent): Made Snap round to closest grid
	line instead of truncating to next lower value. (Made conditional
	on TRUNC_SNAP define).

Thu Jan 18 09:46:56 1996  Torsten Martinsen

	* cutCopyPaste.c (stdImgProcess): Store current background colour
	in ImgProcessInfo for use by image processing routines.

	* selectOp.c (chromaCut): Commented out weird statement that
	dereferences an uninitialized pointer.

	* cutCopyPaste.c (StdRegionTilt): Added.

	* graphic.c (regionMenu): Added Tilt item.
	(tiltRegionOkCallback): Added.
	(tiltRegion): Added.
	(graphicCreate): Add callbacks for Tilt ietm.

Wed Jan 17 10:06:41 1996  Torsten Martinsen

	* brushOp.c (smear): Use XGetSubImage instead of XGetImage to
	avoid creating and destroying the XImage each time.
	The image is created by SmearAdd and BrushSelect.
	(wbrush): Use XGetSubImage instead of XGetImage to
	avoid creating and destroying the XImage each time.
	The image is created by BrushAdd and BrushSelect.
	(wbrush): Added limit check to avoid XGetSubImage crashing on us.

	* image.c (PixmapToImage): Junked 'htable' variable - never used.


Mon Jan 15 09:01:40 1996  Torsten Martinsen

	* brushOp.c (BrushSetMode): Added.

	* operation.c (brushPopup): Added Opaque/Transparent item.

	* brushOp.c (wbrush etc.): Added WBrush code.

Fri Jan 12 09:10:53 1996  Torsten Martinsen

	* graphic.c (EnableRevert): Added.
	(GraphicOpenFile): Set filename member and call EnableRevert().
	(graphicCreate): Now returns the PaintWidget. Previously, the
	return value was always equal to the 'shell' argument.
	Note: GraphicOpenFile() checks the return value of
	graphicCreate() - this is still not useful.
	(doRevert): Return immediately if the image was not changed since
	last save. Revert actually works now!

	* fileName.c (stdSaveCommonCallback): Set filename when save is
	succesful.

	* PaintP.h: Added filename member to PaintWidget.

	* Paint.c (DestroyProc): Free filename storage.
	(InitializeProc): Initialize filename member to NULL.

	* Help.txt (filterMenu): Added help for Normalize Contrast filter.

	* graphic.c (RG_CONTRAST_ITEM): Added to menu.

	* iprocess.c (ImageNormContrast): Added. Histogram equalizes
	contrast of an image.

	* cutCopyPaste.c (StdRegionContrast): Added.

	* xpaint.man: Formatting of options made consistent with most
	other X man pages. Explanation of RC file syntax improved.

Thu Jan 11 12:45:40 1996  Torsten Martinsen

	* xpaint.man: Added documentation on RC file format.
	Added doc on -rcFile -popped, and -help options.
	Also slight formatting changes.

	* readRC.c (readRC): Fixed bug where brushes in the RC file was
	treated as patterns.

	* Imakefile: Added dependencies for all object files.

	* iprocess.c (ImageAddNoise): Changed to use Gaussian noise.

	* sprayOp.c (draw): Use gauss() in misc.c. Static function gauss()
	removed.

	* misc.c (gauss): Function to produce a random normal variable.

Wed Jan 10 11:43:14 1996  Torsten Martinsen

	* Major prototype overhaul and cleanup.

	* operation.c (struct IconListItem): Removed 'callback' member, as
	it is never used.

	* iprocess.c (ImageSmooth): Uses N x N matrix.

	* graphic.c (doSmooth): Added query for mask size.

	* iprocess.c: Use ImgProcessInfo structure for parameters.

	* graphic.c (oilPaintOkCallback, ..., doDespeckle): Use
	ImgProcessInfo structure for parameters.

	* iprocess.c (convolve): Changed to allow N x N matrices. Calls
	to convolve() changed accordingly.

	* fillOp.c (buildGradientPixmap): Bugfix for Linear fill.

Tue Jan  9 10:41:16 1996  Torsten Martinsen

	* fillOp.c (buildTexturePixmap): Added Linear gradient fill.
	(buildTexturePixmap): Added Conical gradient fill.

	* Help.txt: Added help for gradient fill.

Mon Jan  8 10:00:00 1996  Torsten Martinsen

	* operation.c (tfillMenuCallback): Allows setting H/V offset and
	Pad for Radial Fill.

	* fillOp.c (TfillSetParameters): Added. See preceding entry.

	* operation.c: 	Texture Fill operator added.

	* fillOp.c (press): Extra code to handle texture fill.
	(buildTexturePixmap): This function builds a Pixmap containing the
	desired texture.
	(TFillAdd, TFillRemove, TFillSetMode, TFillGetMode): Implements
	Texture Fill operator.

	* Local.config (UseLargeIcons): Added this define to control
	search path for icon files.

	* Moved old icons to ./bitmaps/old. 

Fri Jan  5 20:22:15 1996  Torsten Martinsen

	* iprocess.c (ImageSpread): Removed 'iterations' parameter.

	* graphic.c (doSpread): Removed 'iterations' parameter, now that
	we have Repeat Last.

	* cutCopyPaste.c (stdImgProcess): Unified this with inplaceImgProcess.
	(stdLastImgProcess): Added function.

	* Help.txt: Added doc for Repeat Last.

	* graphic.c (RG_LAST_ITEM): Added 'Filter/Repeat Last' menu item.
	(doLast): Added function.

	* iprocess.c (ImageDespeckle): Added function.

	* Help.txt: Added Filter menu (oops). Added doc for Despeckle filter.

	* graphic.c (RG_DESPECKLE_ITEM): Added 'Filter/Despeckle' menu item.

	* rw/writeJPEG.c (WriteJPEG): Writing of greyscale JPEG files works now.

	* rw/readJPEG.c (ReadJPEG): Loading of greyscale JPEG files works now.

	* brushOp.c (press): Got SIGSEGV when using Brush tool before
	Smear tool had been used. Fixed.

Wed Jan  3 21:42:45 1996  Torsten Martinsen

	* rw/readJPEG.c (ReadJPEG): Prepare for handling of greyscale files.

	* rw/writeJPEG.c: Created file.

	* rw/rwTable.c (RWtable): Added entry for WriteJPEG().

Wed Dec 27 12:07:34 1995  Torsten Martinsen

	* brushOp.c (struct BrushItem): Added 'brushbits' member to store
	fast-access mask for Smear operation.
	(setCursor): Initialize 'brushbits' member.
	This fixes the 'uses-wrong-brush-mask' bug.

Tue Dec 26 22:06:54 1995  Torsten Martinsen

	* hash.c (HashAll): Out-#ifdef'd unused functions.

	* palette.c (addColor): Now this works like I think it should.

	* brushOp.c (smear): Fixed palette allocation bug. This operation
	actually works now!

	* palette.c (allocN): Removed 'flags' parameter, as it is never used.
	(allocN): Removed 'ncolor' parameter, as it is always 1.
	(PaletteAlloc): Changed allocN() call.

Mon Dec 18 09:30:40 1995  Torsten Martinsen

	* New 40 x 40 versions of all icons. [f]blobOp bitmap files renamed
	to [f]freehandOp for better consistency.

	* brushOp.c (SmearAdd, SmearRemove): Added functions.
	(draw): Added 'if' clause to handle Smear tool.
	Added 'isSmear' member to LocalInfo struct.

	* bitmaps/brushOp.xpm: New 40x40 icon.

	* Imakefile: Made operation.o depend on bitmaps.

Sat Dec 16 17:38:49 1995  Torsten Martinsen

	* graphic.c (doSpread): Interface to Spread changed to allow
	selecting # of iterations.

	* iprocess.c (ImageSpread): Changed to perform several iterations.

	* XPaint.ad, graphic.c: Split Region menu up into Region and
	Filter menus. 	All image processing functions are now in the
	Filter menu, while the Region menu is reserved for Rotate, Crop,
	Nudge, and Reset.

	* Help.txt (smear): Added brief help text for Smear tool.

	* bitmaps/smearOp.xpm: Added corny icon for Smear tool.

	* selectOp.c (SelectChromaDialog): Don't SIGSEGV when selecting
	'Select Range...' in Select tool popup.

	* graphic.c (doRevert): Set size of image to correct values.
	Still doesn't work, though.

Fri Dec 15 13:05:35 1995  Torsten Martinsen

	* image.h (ImagePixel): Fixed nasty missing-parentheses-around-args
	bug in this macro.

	* graphic.c (doRevert): Added call to PwRegionFinish() to make
	sure the region is not active after reverting.

	* cutCopyPaste.c (inplaceImgProcess): Added this function to
	enable ImageSpread to be implemented more efficiently.

	* iprocess.c (ImagePixelize): Wrote function.
	(ImageSpread): Wrote function.

Wed Dec 13 00:01:52 1995  Torsten Martinsen

	* graphic.c: Added skeleton functions for Blend, Spread, and
	Pixelize items.
	(oilPaintOkCallback): Added sanity check for mask size.
	(addNoiseOkCallback): Added sanity check for noise variance.

	* Help.txt: Added missing doc on Oil Paint effect.
	Added doc on Blend, Spread, and Pixelize items.

	* graphic.c (regionMenu): Added Blend, Spread, and Pixelize items.

Tue Dec 12 13:01:05 1995  Torsten Martinsen

	* graphic.c (oilPaint): Added query for mask size.

	* iprocess.c (ImageOilPaint): Added variable mask size.

	* graphic.c (cropToRegion): Added function.

	* PaintRegion.c (RegionCropToRegion): Added function.

Fri Dec  8 09:22:38 1995  Torsten Martinsen

	* Imakefile: Created RWSRC etc. variables.

	* rw/readJPEG.c: Support for reading JPEG with IJG release 6 works.
	Still needs improved error reporting.

Wed Dec  6 14:03:09 1995  Torsten Martinsen

	* Cleaned up various prototypes and removed unused variables.

	* 'Add Noise' function is completed for now. Later add gaussian option.

Sun Dec  3 01:34:44 1995  Torsten Martinsen

	* random.c: Added file with RNG code from Phoenix.

	* cutCopyPaste.c (ccpAddRegionAddNoise): Added function.
	(StdRegionAddNoise): Added function.

	* iprocess.c (ImageAddNoise): Added function.

	* graphic.c: Revert function completed. Does not work if the size
	of the image has been changed. 

Sat Dec  2 18:59:25 1995  Torsten Martinsen

	* Indented all files.

	* graphic.c (doRevert): Started adding 'Revert...' item in canvas menu.