File: ChangeLog.2004

package info (click to toggle)
graphicsmagick 1.3.30+hg15796-1~deb9u2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 176,320 kB
  • sloc: ansic: 998,570; xml: 91,899; sh: 77,027; cpp: 39,772; python: 29,412; makefile: 8,198; perl: 4,629; asm: 3,560; pascal: 3,096; tcl: 2,208; ada: 1,681; awk: 924; cs: 879; php: 368; sed: 10
file content (1491 lines) | stat: -rw-r--r-- 54,583 bytes parent folder | download | duplicates (6)
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
2004-12-29  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/image.c (DescribeImage): Add normalized channel
	statistics to output.

	* NEWS: Updated with changes since July.

	* magick/constitute.c (ImportImagePixelArea): For GrayQuantum,
	GrayInvertedQuantum, GrayAlphaQuantum, and
	GrayInvertedAlphaQuantum, observe image storage_class so that a
	gray DirectClass image may be created.

	* coders/tiff.c (ReadTIFFImage): Fix overflow when computing
	colormap size for bits-per-sample of 32.
	(WriteTIFFImage): Support writing 32-bit RGB(A) for
	QuantumDepth=32 build.
	(ReadTIFFImage): Support reading 32-bit RGB(A) for QuantumDepth=32
	build.  Support reading 32-bit grayscale without any quality loss
	for QuantumDepth=32 build.

2004-12-28  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/tiff.c (WriteTIFFImage): TrueColor 16-bits/sample RGB
	images were being written incorrectly on little-endian CPUs.
	Added byte swapping to fix this problem.

2004-12-26  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/operator.c: New file for quantum operator implementation.
	(QuantumOperatorImage): Moved from image.c.
	(QuantumOperatorRegionImage): Moved from from image.c.

2004-12-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* magick/Makefile.am (MAGICK_BASE_SRCS): Remove mention of
	non-existent mmath.h.

	* configure.ac: AC_LIBTOOL_SETUP is an internal macro and must not
	be used externally (will be pulled in automatically).

	* PerlMagick/Makefile.am: Missing file needed to be committed to CVS.

	* tests/Makefile.am (TESTS_TIFF_XFAIL_TESTS): EPT and PTIF tests
	are expected to fail if libtiff is missing.

2004-12-21  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* TODO.txt: Organized todo list for 1.2 release.

2004-12-20  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/bmp.c (WriteBMPImage): Handle the case where the image
	has an over-sized colormap.  Was writing on unallocated heap memory.

	* coders/dib.c (WriteDIBImage): Handle the case where the image
	has an over-sized colormap.  Was writing on unallocated heap memory.

2004-12-19  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/gem.c (Modulate): Hue argument now represents a rotation
	from -180 degrees to +180 degrees expressed as an argument of 0 to
	2.0 (1.0 for no change). Note that this change also effects the
	-modulate argument and the Magick++ modulate method(). This change
	is made because the previous hue adjustment strategy only
	succeeded in corrupting the image.

2004-12-04  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/nt_base.c (opendir): Ensure that data may not overwrite
	the stack.
	(readdir): Ensure that data may not overwrite the stack.

	* magick/blob.c (ImageToBlob): Ensure that image->logging is
	set prior to encoding image.

	* magick/constitute.c (WriteImage): Ensure that image->logging is
	set prior to encoding image.

2004-11-30  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* rungm.sh.in: Compute final variable definitions from within
	configure in order to improve MinGW test execution times.

2004-11-15  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/gif.c: Fix two error-path memory leaks which were noticed
	by Glenn Randers-Pehrson.

2004-11-10  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/png.c (UnregisterPNGImage): Eliminate Warning: module
	registration for "JNG" from module "PNG" still present!

2004-11-08  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/constitute.c (DispatchImage): Fix documentation error
	regarding return status.

2004-11-07  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/nt_base.h: Only define HAVE_GLOBALMEMORYSTATUSEX for MSVC
	7.0 and later.

2004-11-07  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/tiff.c (WriteTIFFImage): Ensure that words in the
	scanline are converted to little-endian format on little-endian
	CPUs.

2004-11-06  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/utility.c (MagickStrlCat): New function which is
	equivalent to to OpenBSD's strlcat() function.  Concatenates one
	string onto another within a fixed size buffer while ensuring null
	termination.
	(MagickStrlCpy): New function which is equivalent to OpenBSD's
	strlcpy() function.  Copies a string into a fixed size buffer
	while ensuring null termination.

	* coders/gif.c (DecodeImage): Improve handling of corrupt GIF
	files.  Resolves SourceForge bug #1042904.  Also, eliminate a
	potential memory leak.

	* magick/constitute.c (WriteImages): ImageInfo argument is now a
	const pointer.

2004-10-26 Glenn Randers-Pehrson <glennrp@glennrp.com>

	* magick/render.c (TracePath): Applied bugfix from Cristy.

2004-10-09  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/resource.c (InitializeMagickResources): Use
	GlobalMemoryStatusEx if it is available.

	* magick/nt_base.c (lt_dlopen): Handle errors while loading
	modules rather than allow Windows to display a GUI dialog box.
	(NTKernelAPISupported): New function to support testing to see if
	a Windows kernel API is supported.

	* magick/constitute.c (ExportImagePixelArea): Add special-case for
	bilevel gray image in order to restore performance.
	(ImportImagePixelArea): Add special-case for bilevel gray image in
	order to restore performance.

	* coders/jpeg.c (ReadJPEGImage): Fix GCC warning about variable
	being clobbered by longjmp.

	* Re-port build to MinGW. Modules build passes all tests.

	* Skip build and install of modules if a key library is not available.

	* Partial recode of metadata handling to use Get/Set profile
	functions.  Big job!

	* GCC warnings reduction.

	* Remove MVG detection from magic.mgk due to security risk.

2004-09-19  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/tiff.c (WriteTIFFImage): Properly detect and handle
	errors reported by libtiff so that failure is reported rather than
	writing a corrupted output file.
	(WriteNewsProfile): Re-write so implementation is easier to
	understand.

2004-09-14  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/tiff.c: Don't use deprecated tiff.h _SUPPORT defines.
	Support retrieving and saving XMP profile.  Use profile set/get
	methods in implementation.

	* coders/mat.c,coders/topol.c (ReadBlobWordLSB,ReadBlobDoublesLSB):
	Use better variable name than `I` for image.

2004-09-07  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/miff.c (WriteMIFFImage): Ensure that MIFF files are never
	written with bogus compression values.

	* magick/image.h: Protected/hid constants which only exist to
	support the library implementation.

	* tests/Makefile.am (TESTS_X11_XFAIL_TESTS): Fixed syntax error.

	* Makefile.am: Use one Makefile to rule them all as described in
	Peter Miller's excellent paper, Recursive Make Considered Harmful,
	"http://www.pcug.org.au/~millerp/rmch/recu-make-cons-harm.html".
	Some glitches may remain.

	* coders/tiff.c (TIFFErrors): Prevent possible stack overflow on
	error.
	(TIFFWarnings): Prevent possible stack overflow on error.

	* magick/constitute.c (ImportImagePixelArea): For RGBQuantum
	initialize the opacity channel since it is easier than altering
	all code to properly access it.

2004-09-02  Glenn Randers-Pehrson <glennrp@glennrp.com>

	* magick/transform.c: Bugfix from Cristy in CoalesceImages().

2004-08-26  Glenn Randers-Pehrson <glennrp@glennrp.com>

	* Avoid error introduced in libpng-1.2.6 that causes the encoder
	to write out-of-spec zlib header bytes.

2004-08-24  Glenn Randers-Pehrson <glennrp@glennrp.com>

	* coders/bmp.c is said to have a potential buffer overrun.
	Patch from Cristy applied (also to avi.c and dib.c).

2004-08-23  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/tiff.c (WriteTIFFImage): Use ExportImagePixelArea to
	write grayscale and colormapped output.

	* magick/constitute.c (ImportImagePixelArea): Implemented support
	for GrayInvertedQuantum & GrayInvertedAlphaQuantum.
	(ExportImagePixelArea): Implemented support for
	GrayInvertedQuantum & GrayInvertedAlphaQuantum.

	* magick/constitute.h (enum QuantumType): Added
	GrayInvertedQuantum & GrayInvertedAlphaQuantum to support
	min-is-white gray images.

2004-08-22  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* PerlMagick/t/tiff/write.t: Adjusted file naming.

	* PerlMagick/t/tiff/read.t: Added more tests.

	* coders/tiff.c (ReadTIFFImage): Use ImportImagePixelArea to read
	PseudoClass tiff.
	(WriteTIFFImage): Allow user to set the bits-per-sample define to
	any value in the range of 1 to 32.
	(ReadTIFFImage): Fix endian-reordering for DirectClass read and
	bits-per-sample values ranging 9-15.

	* coders/rgb.c: Support reading & writing 32-bit depths for raw
	RGB images.

	* coders/cmyk.c: Support reading & writing 32-bit depths for raw CMYK
	images.

	* coders/gray.c: Support reading & writing 32-bit depths for raw gray
	images.

	* magick/deprecate.c (PopImagePixels): Deprecated function.
	(PushImagePixels): Deprecated function.

	* magick/constitute.c (ExportImagePixelArea): New function to
	export pixel region using specified QuantumType and
	bits-per-sample.
	(ImportImagePixelArea): New function to import pixel region using
	specified QuantumType and bits-per-sample.

2004-08-14  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/cache.c (ClonePixelCache): It appeared that cloning a
	disk-based pixel cache was limited to the maximum value of
	size_t. This would result in a truncated cache.  The offset type
	is changed from size_t to magick_off_t in order to avoid this.

	* configure.ac: Check to see if the `char` type is unsigned,
	mostly out of curiosity since the code does not currently make use
	of the result.

	* Fixed many compilation warnings when the compiler warning level
	is set as high as possible.

	* configure.ac: Check /usr/share/ghostscript/fonts for Ghostscript Type1
	fonts.

2004-08-13  Glenn Randers-Pehrson <glennrp@glennrp.com>

	* tEXt and zTXt were inadvertently included in list of unused chunks.

2004-08-09  Glenn Randers-Pehrson <glennrp@glennrp.com>

	* fix incorrect argument to png_set_keep_unknown_chunks().

2004-08-07  David R. Linn  <drl@vuse.vanderbilt.edu>

	* www/formats.html: Titles for JNG and MNG were reversed.

2004-08-07  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/widget.c (XCommandWidget): Replace ImageMagick logo in
	display command menu with GraphicsMagick logo.

2004-08-05  Glenn Randers-Pehrson <glennrp@glennrp.com>

	* coders/png.c: Fixes for CERT security alert TA04-217A described
	at "http://www.us-cert.gov/cas/techalerts/TA04-217A.html".

2004-08-02  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/image.h (Image): Changed type of `colors` and `depth`
	members from type `unsigned long` to `unsigned int`. This change
	is made because on 64-bit CPUs, `unsigned long` is a 64-bit
	type. The depth member is often used in switch statements.  It is
	not recommended to use 64-bit types in switch statements.  The
	maximum number of colors in the colormap is limited to 64K so a
	64-bit type is not required.

2004-08-01  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/tiff.c (ReadTIFFImage): Restore previous 8/16
	bits-per-sample support code in order to regain lost performance.

2004-07-31  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/tiff.c (ReadTIFFImage): Support reading RGB/CMYK scanline
	oriented TIFF images with arbitrary depth.

2004-07-28  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* Makefile.am:  Update to Automake 1.9.

2004-07-20  Mike Chiarappa  <mikechiarappa@libero.it>

	* BCBMagick\magick\GM_magick.bpr: Updated to reflect changes since last update.

	* BCBMagick\magick\libMagick.bpr: Updated to reflect changes since last update.

	* BCBMagick\bzlib\GM_bzlib.bpr: Updated version number. 

	* BCBMagick\lcms\BCB6\GM_lcms.bpr: Updated version number.  

	* BCBMagick\Magickpp\lib\GM_magickpp.bpr: Updated version number.  

	* BCBMagick\ttf\GM_ttf.bpr: Updated version number.  

	* BCBMagick\zlib\GM_zlib.bpr: Updated version number.  

	* BCBMagick now support full LZW encoding (read/write).
	
2004-07-24  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* tiff/libtiff/tif_lzw.c: Replace with version which supports LZW encoding.

	* magick/channel.c: New source file.
	(ExportImageChannel): New function to export an image channel.
	(ImportImageChannel): New function to import an image channel.

2004-07-20  Mike Chiarappa  <mikechiarappa@libero.it>

	* lcms/src/cmsio1.c: Test [testcms.c] related to lcms 1.13 fail
	with error #12288 when perform "Checking saved linearization
	devicelink".  Fixed function __cmsSaveProfile().  "...malloc(0) is
	implementation dependent and may return non NULL pointer on some
	compilers, like VC++ and gcc. This is not the case of Borland C++
	Builder" - Thanks to Marti Maria that have supplied me this
	patched file: this will be part of the next lcms 1.14 which
	probabily will be released on summer's end.

2004-07-20  Mike Chiarappa  <mikechiarappa@libero.it>

	* lcms/include/lcms.h: Modified to achieve BCBMagick DLL compilation.
	Included modifications was introduced in GM in 2004-01-16 and 
	probabily lost with latest update of library.

2004-07-20  Mike Chiarappa  <mikechiarappa@libero.it>

	* BCBMagick: Updated lcms to version 1.13.
	  + Modified files: BCBMagick\All\bcbMagick.mak; BCBMagick\lcms\BCB6\GM_lcms.bpr;
	    BCBMagick\lcms\BCB6\lcms.bpg; BCBMagick\lcms\BCB6\lcms.bpr; 
	    BCBMagick\lcms\BCB6\testcms.bpr
	  + Deleted files: BCBMagick\lcms\BCB6\lcms.cpp; BCBMagick\lcms\BCB6\testcms.cpp
	  + Added file: BCBMagick\lcms\BCB6\lcms.bpf

2004-07-19  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* doc/options.imdoc: Fix typo regarding -define tiff:samples-per-pixel.

	* doc/GNUmakefile (utility-install): Utility HTML targets were not being installed.

2004-07-17  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* lcms: Updated to version 1.13.

2004-07-17  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* version.sh (CVS_BRANCH_TAG): Record the CVS branch tag that
	source package is obtained from.

2004-07-17  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* configure.ac: Pass essential flags on down to subordinate
	configures when performing `make distcheck`.  Support DESTDIR
	installs for PERL 5.8.1 and later, which support DESTDIR
	internally.

2004-07-16  Mike Chiarappa  <mikechiarappa@libero.it>

	* BCBMagick\coders\libCoders.bpr; BCBMagick\magick\GM_magick.bpr: include
	  file jbig.h could not be found during compilation. Solved.
	
2004-07-15  Mike Chiarappa  <mikechiarappa@libero.it>

	* BCBMagick\magick\magick_config.h.: enabled LZW compression by default.

	* BCBMagick: included jbig delegate library. 
	  + Modified these files into directory BCBMagick: All\bcbMagick.mak;
	    All\GMlib.bpg; All\GMdll.bpg; coders\libCoders.bpr; magick\GM_magick.bpr;
	    utilities\gm_lib.bpr; utilities\gm_dll.bpr
	  + Added these files into new directory BCBMagick\jbig: jbig.bpr; 
	    jbig.bpf; GM_jbig.bpr; GM_jbig.c; tstcodec.bpr
	  + Modified file jbig\jbiglib\jbig.h; 

	* BCBMagick\readme.txt: updated documentation.    

2004-07-10  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/command.c (MogrifyUsage): -ordered-dither help was
	formatted incorrectly.

	* doc/options.imdoc: Improve formatting a bit for manual pages and
	fix some syntax errors.

2004-07-09  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* NEWS: Updated to reflect changes since last update.

2004-07-09  Glenn Randers-Pehrson <randeg@alum.rpi.edu>

	* coders/bmp.c (ReadBMPImage): Removed if-test on reading
	red_mask, green_mask, and blue_mask.  These are only *valid*
	under certain conditions, but they are always present in the
	file.

2004-07-08  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* Enable LZW compression by default.

2004-07-05  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/jpeg.c (WriteJPEGImage): Don't enable Huffman compression
	for large images (> 16 Mpixels for the moment) in order to
	conserve memory.  When Huffman compression is enabled the entire
	image is buffered in memory prior to encoding and writing
	anything.  Huffman compression is a method of eliminating
	redundant data so when the Huffman compression is disabled, files
	sizes will be larger, but otherwise the image is the same.

	* wand/magick_wand.c (MagickSetPassphrase): String was being
	copied to a null pointer.  Now memory is allocated as required
	prior to a copy.
	Ensure that all unimplemented functions return a proper error
	report.

2004-07-01  Mike Chiarappa  <mikechiarappa@libero.it>

	* BCBMagick: updated to GraphicsMagick v.1.2

	* BCBMagick\All: project GMlib-1.1.bpr has been replaced with
	GMlib.bpr

	* BCBMagick\All: project GMdll-1.1.bpr has been replaced with
	GMdll.bpr

	* BCBMagick\readme.txt: updated documentation.

2004-06-28  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/command.c (MogrifyImage): For -units, don't reset
	resolution if units are undefined. Report an error if the -units
	argument is not supported.

2004-06-27  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/command.c (MogrifyImage): When setting image units, also
	adjust existing image x_resolution and y_resolution so that
	existing image resolution is not trashed.
	(MogrifyImage): When re-sampling an image, report an error if the
	image does not contain a valid resolution.

2004-06-21  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/pcx.c (WritePCXImage): Support writing large PCX files.
	(WritePCXImage): Ensure that UndefinedResolution is handled
	properly. Avoid round-off error for centimeter based resolution.

2004-06-10  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* configure.ac: Look for mozilla by default rather than netscape.

2004-06-02  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/type.c (ReadTypeConfigureFile): Determine location of
	Ghostscript fonts only once in order to improve performance.

	* magick/nt_base.c (NTGhostscriptFonts): Properly determine
	Ghostscript font location for Ghostscript 8.0 and later.

	* GraphicsMagick.spec.in: Install *-config scripts with mode 755
	rather than default 644.

2004-05-30  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/module.c (InitializeModuleSearchPath): Evaluate and cache
	module search path.
	(FindMagickModule): Use cached module search path.
	(OpenModules): Load all modules rather than just the modules in
	the directory where the LOGO module is found.  Besides allowing
	user-provided modules in non-GraphicsMagick directories to be
	loaded, this allows the "moby" shared build to load additional
	modules via OpenModules.

2004-05-28  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* utilities/Makefile.am (check): Add convert -list tests.

2004-05-23  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* configure.ac: Magick++ needs to be built as a static library
	under Cygwin and MinGW since C++ exceptions don't work otherwise.
	Be more assertive about that.

	* magick/nt_base.h: Avoid conflict with ssize_t definition under
	MinGW.

2004-05-22  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/constitute.c (DispatchImage): Support 8-bit output to
	common formats BGR, BGRO, BGRP, RGB, RGBO, and I as special cases
	in order to improve performance.
	(ConstituteImage): Support 8-bit input from common formats BGR,
	BGRO, BGRP, RGB, RGBO, and I as special cases in order to improve
	performance.

2004-05-20  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* ltmain.sh: Fix to allow exe wrapper to work under MinGW.

	* wand/magick_compat.c (QueryMagickColor): Fixed DLL export.

	* wand/magick_wand.c: Fixed some DLL exports (MagickExport->WandExport).

2004-05-17  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/image.c (SetImageClipMask): Consistently report any
	exceptions to image->exception.

2004-05-16  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* Makefile.am: Update to Automake 1.8.5.

	* magick/image.h (ImageInfo): New `progress` monitor to indicate
	if progress monitor and busy cursor are enabled while displaying
	an image.  Defaults to True.

	* magick/display.c, magick/xwindow.c: Use +progress to disable
	progress monitor and busy cursor.

	* magick/command.c (MogrifyUsage): Usage didn't list -operator.
	(ConvertUsage): Usage didn't list -operator.

2004-05-15  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/compress.c (HuffmanDecodeImage): Properly return error status.
	(HuffmanEncode2Image): Properly return error status.

	* magick/composite.c (CompositeImage): Properly return error status.

	* magick/quantize.c (ClassifyImageColors): Properly return error status.
	(GetImageQuantizeError): Properly return error status.
	(OrderedDitherImage): Properly return error status.

	* magick/profile.c (ProfileImage): Properly return error status.

	* magick/paint.c (ColorFloodfillImage): Properly return error status.
	(MatteFloodfillImage): Properly return error status.
	(OpaqueImage): Properly return error status.
	(TransparentImage): Properly return error status.

	* magick/enhance.c (ContrastImage): Properly return error status.
	(EqualizeImage): Properly return error status.
	(GammaImage): Properly return error status.
	(LevelImage): Properly return error status.
	(LevelImageChannel): Properly return error status.
	(ModulateImage): Properly return error status.
	(NegateImage): Properly return error status.
	(NormalizeImage): Properly return error status.

	* magick/image.c (GetImageClipMask): New function to retrieve an
	associated clip-mask image.
	(SetImageClipMask): Clip-mask image parameter may be const since
	it is cloned prior to storage.
	(ChannelImage): Properly return error status.
	(GradientImage): Properly return error status.
	(RGBTransformImage): Properly return error status.
	(TransformRGBImage): Properly return error status.
	(SyncImage): Return an error status.

	* magick/enhance.c (NegateImage): If image has a clip mask,
	then force image to DirectClass so clip mask takes effect.

2004-05-15  Vladimir Lukianov  <lvm@integrum.ru>

	* magick/image.c (SetImageOpacity): Ensure that image is
	DirectClass. If specified opacity is TransparentOpacity, then
	replace existing opacity with TransparentOpacity.

2004-04-20  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* configure.ac: Avoid duplicated test status messages for __func__
	tests.  Avoid duplicated test status message for jpeg 6b test.

2004-04-19  Patrick Welche  <prlw1@newn.cam.ac.uk>

	* www/header.html: HTML syntax fixes.

2004-04-18  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* : Change web pages to a frames-based design.

2004-04-17  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* utilities/Makefile.am (check): Change geometry arguments which
	were expressed as 0.0xVAL to avoid the problematic Linux scanf
	feature back to 0xVAL.

2004-04-14  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/symbols.h (GetMagickDimension): Added GetMagickDimension.

2004-04-11  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/utility.c (GetMagickDimension): New function to replace
	occurances of scanf(geometry,"%lfx%lf",&w,&h) since Linux scanf()
	and strtod() misbehave for strings that start with "0x". The Linux
	versions always treat 0x as the start of a value expressed in hex
	and can't be forced to read the leading value as a double.  This
	function has been applied globally to replace the problem scanf's.	

	* magick/version.h.in: Make it clear in the -version output that a
	mutitude of copyrights and licenses apply to this software.

	* magick/utility.c (GetPathComponent): Avoid strncpy() of
	overlapping regions.

	* magick/command.c (DisplayImageCommand): Eliminate double-free
	of resource_info->image_geometry.
	(DisplayImageCommand): `display` was improperly requiring at least
	one argument (bug was added yesterday).

2004-04-10  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* utilities/gm.c (main): Default usage message wasn't right for
	aliased utility.

	* configure.ac: Added the --enable-magick-compat option to install
	compatibility links to emulate ImageMagick commands.

	* magick/command.c: Ensure that each sub-command responds to -help
	and -version appropriately.

	* utilities/gm.c (main): Invoke appropriate sub-command if gm is
	executed under a traditional alternate name such as "convert". The
	user may create hard or symbolic links from `gm` to a traditional
	ImageMagick utility name (or just copy `gm` to the desired
	sub-command name) in order to be 100% command-line compatible with
	ImageMagick 5.5.2. This is necessary in order to work with
	existing software designed to execute ImageMagick utilities.

2004-04-08  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/compress.c (Ascii85Tuple): Encoding bug is indeed fixed
	on DEC Alpha. Also warnings reduction with Digital Unix compiler.

2004-04-07  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/compress.c (Ascii85Tuple): Add casts to reduce compiler
	warnings, and maybe even fix a bug.

	* coders/pdf.c (ReadPDFImage): Double-check that Ghostscript
	produced an output file since sometimes it reports success after
	it has spewed an error message and has produced no output.

2004-04-06  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/compress.c (HuffmanEncode2Image): Avoid out of bounds
	array access.

	* magick/studio.h (_FILE_OFFSET_BITS): Fix _FILE_OFFSET_BITS
	#ifdef to avoid warnings when it is not defined.

2004-04-05  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* configure.ac: Fix minor shell syntax error (used ==).

2004-04-04  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* Merged in updates from 1.1 release branch.

	* version.sh (PACKAGE_VERSION): Release version 1.1.
	(PACKAGE_VERSION): Next major release will be 1.1.  Bump library
	versions since we anticipate adding interfaces.

	* magick/studio.h: Disabled use of Windows message lookups
	entirely since this doesn't seem to work for programs.  It
	probably only works for DLLs like ImageMagickObject.

	* magick/delegate.c (ListDelegateInfo): Don't get stuck in a loop
	if fprintf() returns zero.

2004-04-03  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* VisualMagick/*/*.bat: Add .exe to exe file names in order to
	ensure that the executable is executed rather than something else
	(such as a batch script).

	* magick/locale.c: Only use Windows resource message lookup for
	the DLL build since it doesn't seem to work for static
	executables.

	* magick/utility.c (SetClientPath): Ensure that client path is
	null terminated.
	(SetClientFilename): Initialize default client filename to ""
	rather than "gm.exe" and ensure that filename is null terminated.
	(SetClientName): Ensure that client path is null terminated.

	* magick/blob.c (GetConfigureBlob): Enable logging the load of
	log.mgk

	* magick/log.c: Re-designed logging initialization in order to
	avoid the "chicken and the egg" snafu.  This allows logging the
	initialization of the logging subsystem.

2004-04-01  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* VisualMagick/bin/log.mgk: Add comments to help document usage.

	* config/log.mgk: Add comments to help document usage.

	* magick/utility.c (IsAccessible): Use access() rather than stat().
	(IsAccessibleNoLogging): Use access() rather than stat().
	(IsDirectory): Implemented return status according to existing API
	documentation.
	(GetExecutionPathUsingName): Complete re-write in order to minimize
	path computation logic and fix failure with partial paths.

2004-03-31  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* doc/options.imdoc: Add "Color" to the arguments available for -list.

2004-03-29  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* version.sh (PACKAGE_CHANGE_DATE): Updated version to 1.1Beta3

	* magick/nt_base.c (NTSystemComman): Have not been successful with using
	MsgWaitForMultipleObjects() reliably, so back out usage of it for
	now.

	* magick/fx.c (ConvolveImage): Support convolution in CMYK
	colorspace.

2004-03-28  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* version.sh (PACKAGE_CHANGE_DATE): Update release to 1.1Beta2.

	* magick/constitute.c (ReadImage): Ignore errors of type
	ConfigureError when loading modules so that error report can still
	report the familiar "No delegate for this image format" message
	while still being able to report problems with loading a module if
	it was found.  This is a compromise which reports useless messages
	when the modules are not found at all, but I can't think of a way
	around it.

	* magick/nt_base.c (NTSystemComman): Adjust
	MsgWaitForMultipleObjects() arguments to wait for object to be
	signaled only (FALSE) rather wait for object to be signaled as
	well as an input event received(TRUE).  It seems that process
	status changes do not result in an input event, so the call was
	deadlocking.

	* magick/constitute.c (ReadImage): If module loading reported an
	error, ReadImage immediately returned an error rather than trying
	to use a delegate defined by delegates.mgk.

2004-03-25  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* version.sh: Updated version to 1.1Beta1

2004-03-24  Mike Chiarappa  <mikechiarappa@libero.it>

	* BCBMagick/magick/libMagick.bpr: updated to latest source modifications.

	* BCBMagick/magick/GM_Magick.bpr: updated to latest source modifications.

2004-03-23  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/plasma.c (ReadPlasmaImage): srand() is already invoked by
	InitializeMagick() so don't call it here.

	* configure.ac: Check for rand_r().

	* magick/tempfile.c (ComposeTemporaryFileName): The full range of
	safe characters was not being used, thereby limiting the number of
	unique temporary file names available.

2004-03-22  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/image.c (GetImageStatistics): New function to obtain
	image statistics (minimum, maximum, mean, variance, and standard
	deviation).
	(DescribeImage): Include image channel statistics in verbose
	output.

2004-03-21  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/constitute.c (DispatchImage): Removed some unreachable
	code that was accidentially left in the switch statement.

	* magick/pixel_iterator.c (PixelIterateDualRead): Extended so that
	the region in each image may use a different origin.
	(PixelIterateDualModify): Extended so that
	the region in each image may use a different origin.

	* magick/composite.c (CompositeImage): Fix XorCompositeOp overflow
	condition which occured on non-Intel architectures.

2004-03-20  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* NEWS: Updated with changes up to today's date.

	* tests/constitute.c (main): Float type seems to require allowing
	a bit of error for Q:32.

	* magick/constitute.c (DispatchImage): Be more careful when
	rounding pixel intensity.
	(ConstituteImage): Be more careful when converting float and
	double to Quantum.

	* magick/composite.c (CompositeImage): Fix Multiply composite
	operator for Q:32 build (was all black image).
	(CompositeImage): Tidied up the documented composite operators so
	the implementation is easier to understand.

	* PerlMagick/t/ttf/read.t: Set a desired label size so output
	image should be the same size as the reference image even if the
	FreeType type hinter is disabled.

	* magick/annotate.c (RenderFreetype): Improve outline bounding box
	computation accuracy.

2004-03-18  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* PerlMagick/t/x/write.t: Don't test X11 if DISPLAY is not set.

	* PerlMagick/t/x/read.t: Don't test X11 if DISPLAY is not set.

2004-03-17  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/Makefile.am: Removed some apparently unnecessary library
	dependencies.

	* Makefile.am (windows-src): Added a way to generate a Windows
	source zip file.

2004-03-16  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/command.c: The -operator command now supports
	floating-point and percent of range arguments.

2004-03-15  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/command.c: Added support for -operator command with
	syntax "-operator channel operator rvalue" which applies a
	arithmetic or bitwise operator to a specified image channel
	or all channels.

2004-03-13  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* PerlMagick/t/filter.t: Fix Solarize test case.

	* PerlMagick/t/wmf/read.t: Added another WMF test case.

	* coders/wmf.c: Resolve WMF rendering bug with black color.

	* magick/utility.c (StringToArgv): Free argv data prior to error
	return.

2004-03-10  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/jpeg.c (WriteJPEGImage): If image_info->colorspace is set
	to GRAYColorspace then make sure that image is in a gray
	colorspace.

	* magick/image.c (TransformRGBImage): If colorspace is already an
	RGB type (RGBColorspace, GRAYColorspace, or TransparentColorspace),
	then simply return.  Do *not* set image->colorspace to RGBColorspace
	since this potentially loses a valuable setting.

2004-03-10  Peter Boos  <pedib@colorfullife.com>

	* magick/annotate.c (RenderFreetype): If DrawAnnotation is called
	with a string containing only one character and this character is
	not recognized by the TrueType engine, a crash occured due to the
	failure of FT_Load_Glyph. The failure caused an uninitialized
	glyph.image pointer to be used by FT_Done_Glyph() later in the
	code. The solution is to initialize the glyph.image pointer to
	null.

2004-03-09  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/image.c (QuantumOperatorRegionImage): Properly handle
	over and underflow of arithmetic operators.

	* magick/draw.c (DrawGetFillOpacity): Use fill opacity, and invert
	opacity range so it is 0.0 to 1.0 (was acting like transparency).
	(DrawSetStrokeOpacity): Validate range of stroke_opacity.
	(DrawSetFillOpacity): Save value to context->fill.opacity and
	validate the range of fill_opacity.

	* magick/image.c (QuantumOperatorImage): New function to apply an
	arithmetic or bitwise operator to the pixel quantums in an image.
	(QuantumOperatorRegionImage): New function to apply an arithmetic
	or bitwise operator to the pixel quantums in an image region.

	* magick/image.c (IsImagesEqual): Re-implemented using the new
	pixel iteration functions as a proof of concept.

	* magick/pixel_iterator.h: Added some pixel iteration functions in
	order to make it easier to implement algorithms which only need to
	iteratively access pixels in a region. These functions are not
	part of the API yet so their interface should be considered
	unstable.

	* doc/GNUmakefile: Rename Makefile to GNUmakefile since it relies
	on GNU make extensions.

2004-03-06  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/constitute.c (ConstituteImage): Add support for `T`
	(transparency) and `O` (opacity) map types.  Simplify
	implementation.
	(DispatchImage): Add support for `T` (transparency) and `O`
	(opacity) map types.  Simplify implementation.

	* config/delegates.mgk.in: Quote delegate command names so
	that they can contain embedded spaces.

	* VisualMagick/bin/delegates.mgk: Quote delegate command names so
	that they can contain embedded spaces.

	* coders/tiff.c (WriteTIFFImage): Use the libtiff default endian
	mode when writing TIFF rather than forcing MSB2LSB bit order.
	(ReadTIFFImage): Enable reading in MSB2LSB bit order (better for
	our byte-level parsing), enable memory mapping, and enable strip
	chopping.  Memory mapping and strip chopping are probably enabled
	by default.

	* magick/nt_base.c (NTSystemComman): Use
	MsgWaitForMultipleObjects() rather than WaitForSingleObject() in
	order to avoid possible deadlock when application code directly or
	indirectly creates windows.

2004-02-28  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/animate.c (XMagickCommand): URL should point to
	http://graphicsmagick.org/.

	* magick/display.c (XMagickCommand): URL should point to
	http://graphicsmagick.org/.

	* magick/image.c (DisplayImages): Changes to fix memory leaks in
	X11 commands had bugs which seriously broke DisplayImages.  Now
	DisplayImages works properly again.

	* magick/xwindow.c (XDestroyResourceInfo): New function to destroy
	XResourceInfo.

	* coders/x.c (WriteXImage): Implement based on DisplayImages().
	(RegisterXImage): Always register X coder, but with read/write
	support disabled if X11 not available.

2004-02-26  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/command.c (ImportImageCommand): Eliminate memory leaks.

	* magick/memory.c (LiberateMemory): Use MagickFreeMemory macro for
	implementation.
	(ReacquireMemory): Use MagickReallocMemory macro for
	implementation.
	(AcquireMemory): Use MagickAllocateMemory for implementation.

2004-02-26  Vladimir  <lvm@integrum.ru>

	* magick/memory.c (CloneMemory): Fixes to compile under Microsoft
	Visual C++ 6.0.

2004-02-25  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/animate.c (XAnimateImages): Memory leak reduction and
	better integration with gm command.

	* magick/display.c (XDisplayImage): Display was leaking memory
	like a sieve.  Now it doesn't.

	* magick/memory.c (CloneMemory): Computation for when it is safe
	to use memcpy() was incorrect.  Use memmove() rather than
	backwards-copy loop.

	* Makefile.am ($(DIST_ARCHIVE_SRPM)): Added rules to build a
	source RPM.

	* configure.ac: Search for `buildrpm` or `rpm` programs in order to
	support creating RPM packages on a system which has RPM installed.

	* version.sh (PACKAGE_VERSION): Changed snapshot release naming so
	that there is only one dash in the name and the snapshot date is
	prefixed with `0` to assure proper directory sorting.  This allows
	snapshot naming to be acceptable to RPM.  The snapshot package
	name is now similar to GraphicsMagick-1.1.020040218.tar.bz2

2004-02-16  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/xwd.c (RegisterXWDImage): Always register XWD, but only
	register read/write methods if it is supported.

	* wand/magick_wand.c: Synchronized with latest ImageMagick API
	changes.

2004-02-16  Lars Ruben Skyum  <lars.skyum@stibo.com>

	* magick/resize.c (HorizontalFilter): Fixed: do process K channel
	for CMYK images.
	(VerticalFilter): do process K channel for CMYK images.
	
2004-02-15  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/tga.c (ReadTGAImage): Fix matte channel handling. For
	16-bit packets, use integer rather than floating point. Return
	gray images as PseudoClass and set is_grayscale flag.  Add
	logging.

	* magick/fx.c (WaveImage): Ensure that image is
	DirectClass. Ensure that matte channel is initialized if
	necessary. Include background color in is_grayscale evaluation.

	* magick/gem.c (GenerateNoise): Scale noise to range of quantum.

2004-02-13  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/jp2.c (WriteJP2Image): Support passing all documented
	Jasper options using -define.

2004-02-13  Peter Boos  <pedib@colorfullife.com>

	* coders/wmf.c (util_draw_arc): Fixes to improve handling for pie,
	arc, and chord.  These fixes produce correct output for
	wmf/examples/fjftest.wmf, but it is not known if they are correct
	for all cases.

2004-02-12  Tim Hunter  <cyclists@nc.rr.com>

	* magick/profile.c (SetImageProfile): Bug fixes.

2004-02-11  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/xpm.c (UnregisterXPMImage): Unregister PICON registration.

2004-02-10  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/Makefile.am (label_la_LDFLAGS): Add a dependency on the
	math library since floor() is used.

	* wand/magick_wand.c (MagickRemoveImageProfile): Use C comments in
	C files.

	* magick/constitute.c (MapQuantumType): Fix spurious comma in
	enum definition.

	* magick/blob.c (GetBlobStreamHandler): Apparently return type can
	not be const.

2004-02-09  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* configure.ac: Check for Windows fonts under
	/usr/X11R6/lib/X11/fonts/truetype (XFree86 standard location?).

	* coders/jp2.c (WriteJP2Image): Support providing a compression
	rate value (range 0.0 to 1.0) using command line syntax similar to
	`-define jp2:rate=0.5`.  In Magick++ this option may be accessed
	similar to image.defineValue("jp2","rate","0.5");

	* magick/command.c (DisplayImageCommand): Exit status was inverted
	so `gm display` was returning 1 for successful commands, and 0 for
	failures.
	(AnimateImageCommand): Exit status was inverted so `gm animate`
	was returning 1 for successful commands, and 0 for failures.

2004-02-08  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/utility.h (MagickReallocMemory): Solaris compiler
	complains about cast so remove it.

	* coders/xwd.c (WriteXWDImage): Right-size the pixels buffer and
	tune writer loops a bit.

	* magick/color.h (VerifyColormapIndex): Improve diagnostics.

	* coders/pict.c (WritePICTImage): Eliminate use of uninitialized
	data when writing RGB PICT. Fix OpenBlob assertion when writing
	JPEG PICT.	
	(ReadPICTImage): Validate `tile_image` colormap indexes rather
	than `image` colormap indexes. Preserve compression attribute from
	tile image.

	* magick/constitute.c (DispatchImage): Don't access image opacity
	channel unless image->matte is True.

2004-02-07  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/png.c (UnregisterPNGImage): Destroy PNG semaphore.

	* magick/image.c (SetImageInfo): Since we don't know what the
	"IMPLICIT" specifier is supposed to do, support for it is
	removed. Perhaps by removing support for it, we will be reminded
	why it exists.

	* magick/magick.c (DestroyMagickInfo): Invoke
	UnregisterStaticModules().
	(GetMagickInfo): Remove registration for "IMPLICIT" format since
	its purpose is presumed bogus.

	* magick/static.c (UnregisterStaticModules): New function so we
	can unregister static modules.

	* coders/plasma.c (UnregisterPLASMAImage): Unregister FRACTAL.

	* coders/icon.c (UnregisterICONImage): Unregister CUR.

	* coders/bmp.c (UnregisterBMPImage): Unregister BMP2 and BMP3.

	* coders/meta.c (UnregisterMETAImage): Unregister APP1JPEG, IPTC,
	IPTCTEXT, IPTCWTEXT, and PICON.

	* coders/miff.c: Check for run-length termination before testing
	memory and only check opacity channel if matte is valid.

	* magick/compress.c: Check for run-length termination before
	testing memory (bad read error).

2004-02-07  Glenn Randers-Pehrson <randeg@alum.rpi.edu>

	* coders/bmp.c: Fix off-by-one error while initializing padding bytes.

	* coders/dib.c: Fix off-by-one error while initializing padding bytes.

	* magick/enhance.c: MaxMap vs MaxRGB error fixed.  Reported by Cristy.

2004-02-04  Glenn Randers-Pehrson <randeg@alum.rpi.edu>

	* magick/compress.c:  avoid a reference to uninitialized data.

2004-02-04  Glenn Randers-Pehrson <randeg@alum.rpi.edu>

	* coders/dib.c: initialize padding bytes.

2004-02-04  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/montage.c (MontageImages): Fix leak of texture image (big
	leak).

2004-02-03  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/tiff.c (WriteTIFFImage): Fix detection of when to use a
	temporary file when writing TIFF.  Writing to TIFF BLOBs was
	broken by the recent changes to make BlobInfo a private type.

	* magick/render.c (DestroyEdge): Use memmove for overlapping copy.

2004-02-03  Glenn Randers-Pehrson <randeg@alum.rpi.edu>

	* coders/bmp.c: initialize padding bytes.

2004-02-02  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/constitute.c (ConstituteImage): Added map support for `P`,
	in order to skip over a pad quantum.
	(DispatchImage): Added map support for `P`, in order to write a pad
	quantum.

	* magick/resize.c (HorizontalFilter): Don't process opacity
	channel unless matte is enabled.
	(VerticalFilter): Don't process opacity channel unless matte is
	enabled.

	* magick/compress.c (Ascii85Initialize): Don't overwrite an
	existing ascii85 allocation.

	* magick/utility.c (Strip): Use `memmove` rather than `memcpy` to
	copy overlapping data.

	* tests/rwfile.c (main): Fix memory leak in test. Only apply size
	if format requires it.

	* tests/rwblob.c (main): Fix memory leak in test. Only apply size
	if format requires it.

	* coders/mono.c (RegisterMONOImage): Mono is a raw format.

	* magick/magic.c (GetMagicInfo): Ensure that magic tests are
	within the range of header data which was read.

2004-02-02  Glenn Randers-Pehrson <randeg@alum.rpi.edu>

	* coders/bmp.c: fix potential use of uninitialized data.

	* coders/png.c: fix potential use of uninitialized data.

2004-01-31  Mike Chiarappa  <mikechiarappa@libero.it>

	* magick/studio.h: Fixed problem related to DLL version of BCBMagick.
	Sometimes was incorrectly checked the presence of VC++ DLL. Thanks 
	very much to Oliver Bertini for bringing this problem to our attention.

	* BCBMagick: added libpng delegate library in both static and DLL
	modes.

	* BCBMagick: removed all unuseful files from CVS.
	
2004-01-31  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/render.c (CloneDrawInfo): Fixed nasty memory leak which
	becomes painfully evident when using Magick++.

	* magick/type.c (ReadTypeConfigureFile): Fix problem with parsing
	<include> directive.

	* configure.ac: The type.mgk generated had a syntax error.

	* magick/effect.c (SpreadImage): Eliminate read from uninitialized
	memory.

	* magick/quantize.c (NodeInfo): Store nodes in a list similar to
	ImageMagick.
	(DestroyCubeInfo): Eliminate a small memory leak.

2004-01-27  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/montage.c (MontageImages): Free thumbnails once they are
	no longer needed (big leak).

	* magick/blob.c (OpenBlob): Ensure that magick array is
	fully initialized, even if the fread() is short.

	* magick/list.c (ImageListToArray): Add a null pointer to the end
	of the image list to serve as a handy list terminator.

	* magick/tempfile.c (DestroyTemporaryFiles): Fix memory leak of
	semaphore.

	* magick/map.c (MagickMapDeallocateMap): Fix memory leak of
	semaphore.

	* coders/png.c (WriteOneJNGImage): Use DestroyBlob.

	* magick/list.c (SyncNextImageInList): Use DestroyBlob.

	* magick/image.c (AllocateNextImage): Use DestroyBlob.
	(DestroyImage): DestroyBlob.

	* coders/wpg.c (ExtractPostscript): Use DestroyBlob.

	* magick/blob.c (DestroyBlob): New function. Similar to
	DestroyBlobInfo except that it requires an Image * argument and
	zeros the blob pointer. This one is preferred for use over
	DestroyBlobInfo.

2004-01-27  Glenn Randers-Pehrson <randeg@alum.rpi.edu>

	* coders/png.c: Add DestroyBlobInfo() calls to stop memory leak when
	processing JNG datastreams.

2004-01-26  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/utility.h (MagickReallocMemory): Added a cast required to
	make C++ Happy.

	* coders/tiff.c: Adjust for bitstream API function renaming.

	* magick/bit_stream.h: Rename BitStreamRead() to
	BitStreamMSBRead() to indicate that it reads most significant bytes
	first ("big endian" order).  Rename BitStreamWrite() to
	BitStreamMSBWrite() to indicate that it writes most significant
	bytes first ("big endian" order).

	* wand/magick_wand.c: Updated to lastest ImageMagick API.

2004-01-26  Mike Chiarappa  <mikechiarappa@libero.it>

	* magick/stream.c: (SetPixelStream) removed "const" from definition of 
	local variable [StreamHandler stream]. Borland C++Builder compiler signal
	error "Cannot modify a const object".
	
2004-01-25  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/tiff.c (TIFFMapBlob): Allow libtiff to access memory
	mapped file (or BLOB in memory) directly.  This provides a small
	performance increase.

	* magick/constitute.c (ReadImage): If a .mpc file is a temporary
	file, then be sure to remove the associated .cache file when
	removing the .mpc file.

	* magick/log.h (LogEventType): ExceptionEventMask now maps to
	WarningEventMask|ErrorEventMask|FatalErrorEventMask so that
	`-debug exception` works again.

	* magick/blob.c (CloseBlob): Allow CloseBlob to be invoked on a
	blob which is not open (in UndefinedStream state).
	(BlobInfo): The definition of BlobInfo is now private to blob.c.
	(StreamType): The StreamType enumeration is now private to blob.c.
	(GetBlobFileHandle): New function to access the blob file handle.
	(GetBlobStreamHandler): New function to access the blob stream
	handler.
	(GetBlobStreamType): This function is removed entirely.
	(BlobIsSeekable): New function to test if SeekBlob will work
	properly for this blob type.
	(GetBlobClosable): New function to test if the blob is allowed to
	be closed by the library (may be an externally provided file
	descriptor).
	(GetBlobTemporary): New function to test if input file is a
	temporary file which is to be removed.
	(SetBlobClosable): New function to support setting the flag which
	keeps the input file from being closed.
	(SetBlobTemporary): New function to support setting the flag which
	indicates that the input file is a temporary file.

	* coders/jpeg.c (ReadJPEGImage): Invoke CloseBlob even if
	blob is in UndefinedStream state.

	* magick/error.h (ThrowReaderException): Ditto.
	(ThrowWriterException): Ditto.
	(ThrowWriterException2): Ditto.
	(ThrowWriterException3): Ditto.

	* magick/tempfile.h (ThrowReaderTemporaryFileException): Ditto.
	(ThrowWriterTemporaryFileException): Ditto.

	* coders/dps.c,coders/jpeg.c, coders/meta.c, coders/mvg.c,
	coders/png.c, coders/tiff.c, magick/constitute.c, magick/stream.c:
	Use new blob accessor functions.

	* magick/cache.c (OpenCache): For Windows, set the sequential
	access flag in all cases.  Maybe it will make a difference.

2004-01-18  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/blob.c (GetConfigureBlob): Don't check Windows registry
	if MagickLibConfigPath or MagickShareConfigPath is defined.

	* magick/locale.c: Use a Unix-style message database for MinGW.

	* rungm.sh.in: Translate environment paths to Windows format when
	running under MinGW.

	* magick/nt_base.c (mmap): Re-wrote mmap emulation to support
	64-bit file offsets and to support anonymous mapping.
	(msync): A crude emulation of Unix msync().

	* acinclude.m4 (GM_FUNC_MMAP_FILEIO): Change result define from
	HAVE_MMAP to HAVE_MMAP_FILEIO so that it doesn't conflict with
	Autoconf standard definition.

2004-01-17  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/cache.c (OpenCache): While allocating the pixel cache
	from the heap, reserve enough memory to contain a full PseudoClass
	image in order to reduce the chance that there will be a memory
	allocation failure while processing the image. This also avoids
	the possibility that the image pixels will be block-copied to a
	new location due to heap memory fragmentation. If there is
	insufficient heap memory (malloc() fails), then a disk-based pixel
	cache will be used.

	* coders/wpg.c: Backed out Jaroslav Fojtik's patch from 2004-01-13
	because WPG was failing PerlMagick's existing WPG read test.

2004-01-16  Mike Chiarappa  <mikechiarappa@libero.it>

	* BCBMagick: updated to recent Windows delegate libraries.

	* BCBMagick: modified build procedure. Removed all unused directories
	and include files.

	* lcms/include/lcms.h: Modified to achieve BCBMagick compilation.

	* tiff/libtiff/tiffio.h: Modified to achieve BCBMagick compilation

	* ttf/include/freetype/config/ftoption.h: Modified to achieve
	BCBMagick compilation

	* Magick++/lib/Magick++/Include.h: Modified to achieve BCBMagick compilation.
		
2004-01-13  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/wpg.c: Applied patch from Jaroslav Fojtik to support
	reading the CTM (current transform matrix).  The CTM is not
	applied yet (expect later patch).

2004-01-12  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* coders/sfw.c (ReadSFWImage): Added size_t cast.

	* coders/msl.c (MSLStartElement): Added size_t cast.

	* coders/meta.c (convertHTMLcodes): Added size_t cast.

	* coders/locale.c: Add size_t casts and update to use memory
	allocation macros.

	* coders/html.c (WriteHTMLImage): Added size_t cast.

	* magick/utility.h (MagickAllocateMemory): Added size_t cast.
	(MagickReallocMemory): Added size_t cast.

	* coders/bmp.c (WriteBMPImage): Added size_t cast.

	* coders/art.c (ReadARTImage): Use memory allocation macros.

	* VisualMagick/configure/configure.cpp: Update to support library
	.def exports files with Visual C++ 7.0.

	* Updated Windows delegate libraries: LCMS 1.12, FreeType 2.1.5,
	BIG-KIT 1.5, libpng 1.2.5, libwmf 0.2.8.2, and zlib 1.2.1.

	* Verified Windows static and DLL compilation with Visual C++ 6.0.

	* Makefile.am: Update to automake 1.8.2.

	* coders/gif.c (WriteGIFImage): Use ColorMatch rather than
	FuzzyColorMatch when comparing colormap entries.

2004-01-09  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/profile.c: Needed to include "magick/profile.h" in order
	to obtain prototypes.

2004-01-07  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* wand/wandtest.c: Change MagickCloneWand to MagickGetImage since
	the API name changed.

	* wand/pixel_wand.c: Synchronized with
	latest daily ImageMagick updates.

	* wand/magick_wand.c (MagickRemoveImageProfile): Synchronized with
	latest daily ImageMagick updates.

	* magick/profile.c (DeleteImageProfile): New method to make
	it easier to destroy an image profile.

	* magick/profile.h: New source file to contain functions for
	dealing with embedded image profiles.

	* magick/profile.c: New source file to contain functions for
	dealing with embedded image profiles.

	* Makefile.am (DISTDIRS): Distribute TclMagick subdirectory.

2004-01-06  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* wand/magick_wand.c: Ported over the latest ImageMagick Wand API
	updates.  Note that a comment now says that the Wand API will not
	be finished until around 4th quarter of 2004.  This represents a
	1-1/2 year slip from the original estimate!

2004-01-04  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

	* magick/image.c (IsImagesEqual): Simplified implementation.

	* magick/magick.c: Removed some unused code.

	* contrib/win32/ATL7/ImageMagickObject/ImageMagickObject.cpp
	(IDispatch): Comment out InitializeSemaphore() so code compiles.

	* libtool.m4: Updated to 2004-01-03 version of CVS libtool. This
	should fix configure problems under AIX and IRIX.

2004-01-03  Glenn Randers-Pehrson <randeg@alum.rpi.edu>

	* coders/sgi.c: opacity channel was lost when writing grayscale
	SGI images.  See bug report in magick-users list.