summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: 30f1f059ee70b987db3715a1551e3ccdd76daf04 (plain)
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
2006-11-07  Øyvind Kolås  <pippin@gimp.org>

	* extensions/CIE-Lab.c: (formats): added "CIE Lab alpha float" as
	a default format.

2006-08-31  Øyvind Kolås  <pippin@gimp.org>

	* configure.ac: set the version of babl to 0.0.7

2006-08-31  Øyvind Kolås  <pippin@gimp.org>

	* configure.ac: set the version of babl to 0.0.6

2006-10-09  Øyvind Kolås  <pippin@gimp.org>

	Cleaned up the typedef for Babl, fixes issues with g++.

	* babl/babl-classes.h:
	* babl/babl-conversion.c: (conversion_new):
	* babl/babl-fish-path.c: (babl_fish_path):
	* babl/babl-fish-reference.c: (babl_fish_reference):
	* babl/babl-fish-simple.c: (babl_fish_simple):

2006-09-26  Dominik Ernst  <dernst@gmx.de>

	* babl/babl-classes.h: fixed an issue with g++

2006-09-23  Øyvind Kolås  <pippin@gimp.org>

	* docs/Makefile.am: output the conversion grid when building on
	crucible.

2006-09-14  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-internal.c: (babl_process): added global babl_total_usecs,
	not exported through headers, but useful to be able to substract the
	babl conversion time from other algorithms using babl.

2006-09-12  Øyvind Kolås  <pippin@gimp.org>

	* autogen.sh: decreased required automake version to 1.7.9. (It
	could probably be decreased even further, but this is at least
	known to work.)

2006-09-12  Michael Schumacher  <schumaml@cvs.gnome.org>

	* autogen.sh: use the autogen.sh of GIMP as a base for babl's
	autogen.sh. Among other things, this enables maintainer mode by
	default. 

2006-09-10  Kevin Cozens  <kcozens@cvs.gnome.org>

	* babl/babl-classes.h
	* babl/babl-conversion.c
	* babl/babl-fish-path.c
	* babl/babl-fish-stats.c
	* babl/babl-internal.c: Tick times are in usecs not msecs. Use longs
	to hold tick values.

	* babl/babl-util.h:
	* babl/babl-util.c (babl_ticks): Fixed calculation of time (usecs
	not msecs). Changed declaration to return a long not unsigned int.

2006-09-09  Øyvind Kolås  <pippin@gimp.org>

	* extensions/Makefile.am: moved -fPIC from LD_FLAGS to CFLAGS.
	
2006-09-08  Øyvind Kolås  <pippin@gimp.org>

	* extensions/Makefile.am: added -fPIC to LD_FLAGS, thus making it
	compile on 64bit archs as well.

2006-09-04  Michael Schumacher  <schumaml@cvs.gnome.org>

	* extensions/Makefile.am: have to link with libbabl.a, at least on
	the Windows platforms

2006-08-31  Øyvind Kolås  <pippin@gimp.org>

	* extensions/.cvsignore: added Makefile.in

2006-08-31  Øyvind Kolås  <pippin@gimp.org>

	* configure.ac: set the version of babl to 0.0.5 (odd micro indicating
	that it is a CVS version).

2006-08-31  Øyvind Kolås  <pippin@gimp.org>

	* configure.ac: set the version of babl to 0.0.4
	* docs/index-static.html.in: added downloading location for tarballs
	of babl.
	* AUTHORS: Added Kevin Cozens

2006-08-31  Øyvind Kolås  <pippin@gimp.org>

	* Makefile.am: added a dependency on all for README, making it
	possible to do ./autogen.sh && make distcheck #from a clean CVS
	checkout.

2006-08-28  Kevin Cozens  <kcozens@cvs.gnome.org>

	* configure.ac: Added AM_MAINTAINER_MODE.

	* docs/Makefile.am: Moved BablFishPath.txt to BUILT_EXTRA_DIST.

	* tests/Makefile.am: Removed .cvsignore from EXTRA_DIST.

2006-08-28  Kevin Cozens  <kcozens@cvs.gnome.org>

	Changes to get 'make distcheck' working properly.

	* docs/Makefile.am: Added BablFishPath.txt to DISTCLEANFILES.

	* extensions/Makefile.am: Added.

	* extensions/Makefile.in: Removed (replaced by Makefile.am).

2006-08-25  Michael Schumacher  <schumaml@cvs.gnome.org>

	* configure.ac: added AC_LIBTOOL_WIN32_DLL as a preparation for
	proper builds of shared libs on win32 & there's no need to define
	OS_WIN32 here... 
	* babl/babl-extension.c:  ...if the only place where it is needed
	can be handled by HAVE_DLFCN_H

2006-08-24  Øyvind Kolås  <pippin@gimp.org>

	* extensions/Makefile.in: do not add libbabl.a into plug-ins

2006-07-06  Øyvind Kolås  <pippin@gimp.org>

	* babl.pc.in:  Added -lm to the list of libraries that need to be
	linked along with babl.

2006-06-24  Øyvind Kolås  <pippin@gimp.org>

	* babl.pc.in: stripped trailing /babl from CFLAGS include path.

2006-06-12  Øyvind Kolås  <pippin@gimp.org>

	Do not expect the user to pass in BablImages (existance of babl
	pointer decorations should not be allowed to be used to implement type
	checking for provided buffers/bablimages)

	* babl/babl-fish.c: (babl_fish_process):
	* babl/babl-fish-reference.c: (babl_fish_reference_process):
	* docs/index-static.html.in: removed section about planar BablImages
	since the API is now disabled.

2006-06-06  Øyvind Kolås  <pippin@gimp.org>

	Register all the formats that the gggl based conversions use in
	babl-base. This allows a string based short hand vocabulary of format
	names that can be expected to exist.

	* babl/base/Makefile.am: added formats.c
	* babl/base/babl-base.c: (babl_base_init): initialize formats.

2006-06-06  Øyvind Kolås  <pippin@gimp.org>

	Added conversions based on gggl that assume no gamma in their
	conversions.
	* extensions/gggl-lies.c: Added.

2006-06-06  Øyvind Kolås  <pippin@gimp.org>

	* docs/Makefile.am: redirect the check for tempfile to /dev/null
	* docs/tools/xml_insert.sh: Add tempfile workaround here as well.

2006-06-06  Øyvind Kolås  <pippin@gimp.org>

	* docs/Makefile.am: Do not rely that a command calle tempfile exists.

2006-06-05  Øyvind Kolås  <pippin@gimp.org>

	* extensions/gegl-fixups.c: A babl extension to make the testing of
	gegl faster.

2006-06-02  Øyvind Kolås  <pippin@gimp.org>

	* extensions/gggl.c: (table_init): Fix some compile warnings.

2006-06-02  Øyvind Kolås  <pippin@gimp.org>

	I'm not entirely sure about installing babl-classes.h like this, it
	might make more sense to create setters/getters to be used. Thus
	making it possible to extend the structs at a later stage without
	breaking binary compatibility.

	* babl/Makefile.am: Added babl-classes.h to the installed headers
	* babl/babl-classes.h: Made the magic number fit in 32bit int.
	* babl/babl.h: include babl-classes.h

2006-02-22  Øyvind Kolås  <pippin@gimp.org>

	* docs/index-static.html.in: added a link to the DHTML version of the
	coverage map.

2006-02-22  Øyvind Kolås  <pippin@gimp.org>

	* extensions/gggl.c: (conv_rgbaF_rgb8), (conv_rgbAF_rgbF), (init):
	added two more conversions for gggl usage.

2005-12-17  Michael Schumacher  <schumaml@cvs.gnome.org>

	* extensions/Makefile.in: add libgw32 and its dependencies to
	LDADD for the win32 platform

2005-11-10  Øyvind Kolås  <pippin@gimp.org>

	* docs/index-static.html.in: Minor reformulations and spelling fixes.

2005-11-08  Sven Neumann  <sven@gimp.org>

	* configure.ac: use AM_CONFIG_HEADER instead of AC_CONFIG_HEADERS.

2005-11-04  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-format.c: (create_name): fixed an invalid memory access in
	comparision of component order (and now also length.)

2005-10-08  Øyvind Kolås  <pippin@gimp.org>

	* docs/index-static.html.in: Fixed the second processing example. (
	added missing pixel_count)

2005-09-27  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-classes.h: Added time consumption instrumentation to
	BablFish.
	* babl/babl-fish-path.c: (babl_fish_path), (babl_fish_path_process):
	intialization of instrumentation data.
	* babl/babl-fish-stats.c: (table_destination_each), (each_conv),
	(conversions), (babl_fish_stats): Output timing data, as well as a
	list of all conversions with the obviously bad ones marked in red.
	* babl/babl-internal.c: (babl_process): update instrumentation.
	* babl/babl-introspect.c: (conversion_introspect): only query error
	from conversions where that is legal.
	* babl/babl-util.c: changed from msecs to nsecs (might be some more
	places in the code to change names of variables.)
	* extensions/gggl.c: (conv_gF_gaF), (conv_gF_rgbF), (conv_rgbF_gF),
	(conv_rgbaF_rgb8): Changes to increase sanity.

2005-09-27  Øyvind Kolås  <pippin@gimp.org>

	* tests/srgb_to_lab_u8.c: (test): renamed format (srgb -> R'G'B' u8)

2005-09-27  Øyvind Kolås  <pippin@gimp.org>

	Updates done due to improvements gotten from BablFishStat feedback.

	* babl/base/model-gray.c: (components), (models),
	(rgba2gray_gamma_2_2_premultiplied),
	(gray_gamma_2_2_premultiplied2rgba), (conversions):
	* babl/base/model-rgb.c: (components), (models), (copy_strip_1),
	(g3_gamma_2_2), (g3_inv_gamma_2_2),
	(non_premultiplied_to_premultiplied),
	(premultiplied_to_non_premultiplied),
	(rgba2rgba_gamma_2_2_premultiplied),
	(rgba_gamma_2_2_premultiplied2rgba), (rgba2rgba_gamma_2_2),
	(rgba_gamma_2_22rgba), (conversions), (formats):
	* babl/base/model-ycbcr.c: (models), (formats):
	* docs/index-static.html.in:
	* extensions/gggl.c: (conv_F_8), (conv_8_F), (conv_F_D),
	(conv_D_F), (conv_rgba8_rgbaF), (conv_rgb8_rgbF), (conv_ga8_gaF),
	(conv_rgbaF_rgbaD), (conv_rgbaD_rgbaF), (conv_rgbAF_rgbaF),
	(conv_rgbaF_rgbAF), (conv_rgbaF_rgbF), (conv_rgbF_rgbaF),
	(conv_rgbaF_gaF), (conv_rgbaF_rgb8), (conv_rgbA16_rgbaF),
	(conv_rgb8_rgba8), (conv_rgbA8_rgb8), (init):

2005-09-27  Øyvind Kolås  <pippin@gimp.org>

	Upgrade of BablFishPath.

	* babl/babl-fish-path.c: (legal_error), (max_path_length),
	(get_conversion_chain), (chain_contains_fmt), (chain_gen_each),
	(babl_fish_path), (chain_process), (babl_fish_path_process),
	(test_create), (chain_error): Various updates, needed instrumentation
	and error data is now calculated and cached.
	* babl/babl-fish-reference.c: (babl_fish_reference): do not update
	instrumentation for internal calls.
	* babl/babl-fish-simple.c: (babl_fish_simple): do not update
	instrumentation for internal calls.
	* babl/babl-introspect.c: (conversion_introspect): some more
	      information.
	* babl/babl-model.c: (test_create), (babl_model_is_symmetric): use
	  comparion function from babl-util
	* babl/babl-conversion.c: (test_create), (babl_conversion_cost),
	(babl_conversion_error): use comparion function from babl-util.
	* babl/babl.c: (babl_init): no need to do post extension tricks
				    anymore.
	* babl/babl-core.c: (babl_core_init): added PAD component.
	  
2005-09-27  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-util.h,
	* babl/babl-util.c: (babl_rel_avg_error): moved buffer comparison
						  function to one place.
	* babl/babl-classes.h: Added error field to fishes, made path length
	dynamic.
	* babl/babl-internal.h: added misc global constants.
	* babl/babl-internal.c: created caching accessors in classes, to avoid
	very large bootstrapping time.
	* babl/babl-conversion.c: (test_create), (babl_conversion_cost),
	(babl_conversion_error):
	* babl/babl-format.c: (test_create), (babl_format_loss):
	* babl/babl-type.c: (babl_type_is_symmetric):

2005-09-27  Øyvind Kolås  <pippin@gimp.org>

	Moved html generator stats code into a seperate source fil in core,
	babl now creates /tmp/babl-stats.txt when the BABL_STATS enviroment
	variable is set.

	* babl/Makefile.am:
	* babl/babl.c:
	* tests/babl_fish_path_dhtml.c: (main):
	* babl/babl-fish-stats.c: (table_destination_each).

2005-09-19  Øyvind Kolås  <pippin@gimp.org>

	* docs/index-static.html.in: s/DHTML/interactive/

2005-09-19  Øyvind Kolås  <pippin@gimp.org>

	BablFishPath touchups.

	* babl/babl-conversion.c: cost = cost * 10 + 1, makes the overhead
	of actually running a conversion 1. Removed stupid long pats from
	created conversions.
	* babl/babl-fish-path.c: (chain_gen_each): Ensure the chain doesn't
	take us through larger loss than allowed.
	* babl/babl-internal.c: (babl_extension_post_load): do not
	autogenerate formats.
	* docs/index-static.html.in: updating documentation.
	* tests/babl_fish_path_dhtml.c: (table_destination_each),
	(table_source_each), (main): recoded to use CSS tricks instead of
	javascript, reduced generated file size by 50%;
	* extensions/gggl.c: (conv_labF_xyzF), (conv_xyzF_labF): added missing
	return value.

2005-09-19  Øyvind Kolås  <pippin@gimp.org>

	* extensions/gggl.c: Added the bulk of gggl based conversions as an
	extension. Many of these don't live up to the quality requirements of
	babl, but some do, and provide a good base for further BablFishPath
	coverage.

2005-09-18  Øyvind Kolås  <pippin@gimp.org>

	* docs/tools/changelog2rss: tool to create RSS feed of ChangeLog.

2005-09-18  Øyvind Kolås  <pippin@gimp.org>

	* docs/Makefile.am: Included BablFishPath.[html|txt]
	* docs/index-static.html.in: included some ramblings about the
	background and purpose of babl.

2005-09-18  Øyvind Kolås  <pippin@gimp.org>

	* tests/Makefile.am:
	* tests/babl_fish_path_dhtml.c,
	* tests/babl_fish_path_fitness.c: new introspection outputters, that
	report on the conversion matrix of BablFishPath.
	* tests/babl-html-dump.c: (main): removed conversions, since it is
	now used as "Vocabulary" in the documentation,.
	* tests/conversions.c: (each_conversion), (main):
	* tests/formats.c: (format_check), (main):
	* tests/models.c: (model_check), (main):
	* tests/types.c: (type_check), (main): Moved the logic into BablCore
	in previous commit.

2005-09-18  Øyvind Kolås  <pippin@gimp.org>


	Updating test suite, conversion and format quality testing
	code folded into babl-core in previous commit.

2005-09-18  Øyvind Kolås  <pippin@gimp.org>

	* babl/base/model-cmyk.c: (rgb_to_cmyk), (cmyk_to_rgb),
	(conversions), (formats):
	* babl/base/model-gray.c: (rgba_to_graya), (rgba_to_gray),
	(graya_to_rgba), (gray_to_rgba), (conversions):
	* babl/base/model-rgb.c: (formats):
	* babl/base/model-ycbcr.c: (rgba_to_ycbcra), (rgba_to_ycbcr),
	(ycbcra_to_rgba), (ycbcr_to_rgba), (conversions), (formats):
	* extensions/CIE-Lab.c: (rgba_to_lab), (lab_to_rgba),
	(rgba_to_laba), (laba_to_rgba), (conversions):
	* extensions/naive-CMYK.c: (init), (rgba_to_cmyk), (cmyk_to_rgba):

	register linear reference conversions instead, since they can be used
	in BablFishPath chains.

2005-09-18  Øyvind Kolås  <pippin@gimp.org>

	Adding BablFishPath, as well as splittin out Simple and Reference
	from babl-fish.c. (lazy commit of large changes :d )

	* babl/babl-internal.h:
	* babl/babl-core.c: (rgba_to_rgba), (babl_core_init):
	* babl/babl-db.c: (babl_db_count):
	* babl/babl-db.h:
	* babl/babl-fish.c: (match_conversion), (babl_conversion_find),
	(babl_fish_db), (babl_fish), (babl_fish_process),
	(each_babl_fish_destroy):
	* babl/babl-format.c: (babl_format_new), (babl_formats_count),
	(babl_format_with_model_as_type), (test_create),
	(babl_format_loss):
	* babl/babl-internal.c: (babl_process), (each_conversion),
	(each_format), (gen_type_format_for_model),
	(gen_formats_for_model), (babl_extension_post_load):
	* babl/babl-introspect.c: (conversion_introspect):
	* babl/babl-model.c: (babl_model_new), (test_create),
	(reference_format), (construct_double_format),
	(babl_model_is_symmetric):
	* babl/babl-sanity.c: (id_sanity):
	* babl/babl-type.c: (babl_type_new), (r_interval), (test_init),
	(double_vector_format), (babl_type_is_symmetric):

2005-09-18  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-classes.h: added BablFishPath
	* babl/babl-util.c: (babl_list_each), (init_ticks), (babl_ticks):
	* babl/babl-util.h:

2005-09-18  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl.c: (babl_init),
	* babl/babl.h: made babl_fish variadic.

2005-09-18  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-memory.[ch]: (babl_free), (babl_realloc): made babl_free
	variadic, and added the potential for a clearing realloc.

2005-09-12  Øyvind Kolås  <pippin@gimp.org>

	* tests/conversions.c: (test_init): code simplification.

2005-09-12  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-classes.h: add loss field to format class.
	* babl/babl-format.c: (format_new): set loss field to -1 as initial
	value.
	* tests/conversions.c: (reference_format): simplify
	* tests/formats.c: (test_init), (format_check), (main): code
	simplification.

2005-09-11  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl.h: use gcc 4.x attribute for NULL sentinel.
	* babl/babl-format.c: (babl_format_new): added missing enumeration
	values to switch.
	* babl/babl-model.c: (babl_model_new): added missing enumeration
	values to switch.

2005-09-11  Øyvind Kolås  <pippin@gimp.org>

	* tests/formats.c: new test (that might form the basis of loss
	calculations done for ranking of formats).
	* tests/Makefile.am: added new test

2005-09-11  Øyvind Kolås  <pippin@gimp.org>

	* extensions/CIE-Lab.c: (formats): s/cie-lab-u16/CIE Lab u16/

2005-09-11  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-classes.h: Removed unused list of conversions to
	types/models/formats.

	* babl/babl-conversion.c: (conversion_new):
	* babl/babl-format.c: (each_babl_format_destroy), (format_new):
	* babl/babl-image.c: (babl_image_from_linear):
	* babl/babl-introspect.c: (item_conversions_introspect):
	* babl/babl-memory.c: (babl_realloc):
	* babl/babl-model.c: (each_babl_model_destroy), (model_new):
	* babl/babl-sampling.c: (each_babl_sampling_destroy):
	* babl/babl-sanity.c: (type_sanity), (model_sanity), (babl_sanity):
	* babl/babl-type.c: (each_babl_type_destroy), (type_new):

2005-09-09  Øyvind Kolås  <pippin@gimp.org>

	* docs/Makefile.am: set BABL_PATH to builddir for creating the
	documentation
	* docs/index-static.html.in: various updates.

2005-09-09  Øyvind Kolås  <pippin@gimp.org>

	* babl/base/type-u16.c: (convert_double_u16_scaled):
	* babl/base/type-u32.c: (convert_double_u32_scaled):
	* babl/base/type-u8.c: (convert_double_u8_scaled),
	(babl_base_type_u8):
	* extensions/CIE-Lab.c: (convert_double_u8_scaled),
	(convert_double_u16_scaled): uintval = rint (dval * MAXINT)

2005-09-09  Øyvind Kolås  <pippin@gimp.org>

	* tests/conversions.c: (validate_conversion): do relative average
	error calculations.
	* tests/srgb_to_lab_u8.c: update values.
	* tests/types.c: set a very low tolerance.

2005-09-09  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-format.c: (create_name): Create shorter names when
	the format uses a single datatype and the components are listed in
	model order.
	* babl/base/model-lab.c: removed.
	* babl/base/model-rgb.c: (formats),
	* babl/base/model-ycbcr.c: (formats): Use automatic names for formats.

2005-09-09  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-classes.h: added error to BablConversion.
	* babl/babl-conversion.c: (conversion_new), (babl_conversion_new):
		track changes to fields in constructors.

2005-09-08  Øyvind Kolås  <pippin@gimp.org>

	* Makefile.am: build extensions before tests.
	* extensions/Makefile.in: build extensions when check is done.
	* tests/Makefile.am: removed erroniously added foo test.

2005-09-08  Øyvind Kolås  <pippin@gimp.org>

	* babl/base/type-float.c: 
	* babl/base/type-u16.c: 
	* babl/base/type-u8.c: s/"linear"/"plane"/
	* babl/base/Makefile.am,
	* babl/base/babl-base.c,
	* babl/base/type-u32.c: new type.
	* extensions/CIE-Lab.c: 
	* extensions/Makefile.in: changes needed (for not yet added) lcms
	extension.
	* tests/Makefile.am: added new test.
	* tests/conversions.c: new test to check fast paths against reference
	fish.

2005-09-08  Øyvind Kolås  <pippin@gimp.org>
	
	Made simple fishes work in the core.

	* babl/babl-classes.h: reduced number of conversion classes.
	removed unused from and to members in struct.
	* babl/babl-conversion.c: (conversion_new), (babl_conversion_new),
	(babl_conversion_linear_process), (babl_conversion_plane_process),
	(babl_conversion_planar_process), (babl_conversion_process):
	* babl/babl-component.c: (each_babl_component_destroy),
	(component_new): removed unused from and to members.
	* babl/babl-fish.c: (babl_conversion_find2),
	(babl_conversion_find), (babl_fish_reference), (babl_fish_simple),
	(babl_fish), (convert_to_double), (convert_from_double),
	(babl_fish_reference_process): use fast path if found directly in a
	simple fishes.
	* babl/babl-format.c: (babl_format_new):
	* babl/babl-internal.c: (babl_process):
	* babl/babl-internal.h:
	* babl/babl-introspect.c: (each_introspect):
	* babl/babl-model.c: (babl_model_new):
	* babl/babl-core.c: (babl_core_init): s/linear/plane/
	* tests/babl_class_name.c: update according to class changes.

2005-09-08  Øyvind Kolås  <pippin@gimp.org>

	* AUTHORS: Added Micahel Schumacher, and email addresses.
	* docs/index-static.html.in:
	* docs/babl.css:
	* tests/babl-html-dump.c: (main), (normalize), (show_item),
	(hide_item), (each_item), (model_html), (type_html),
	(conversion_html), (format_html): Use DHTML for expandable display of
	registered data structures.
	* docs/graphics/Makefile.am: added web target, and .SILENT option.
	* docs/Makefile.am: added .SILENT option.
	* configure.ac: added website location.

2005-09-01  Michael Schumacher  <schumaml@cvs.gnome.org>

	* configure.ac: added a check for OS_WIN32
	* babl/Makefile.am: link with libgw32c to provide dl* functions on
	win32 
	* babl/babl-extension.c: added definitions of dl* function forwin32
	* tests/Makefile.am: removed -ldl for win32

2005-09-01  Sven Neumann  <sven@gimp.org>

	* Makefile.am: don't dist the generated babl.pc file.

2005-09-01  Sven Neumann  <sven@gimp.org>

	* tests/Makefile.am (TESTS_ENVIRONMENT): set BABL_PATH to include
	extension from the builddir.

2005-09-01  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-internal.h: HACK statically define BablDb *db,
	for all internal translation units.

2005-09-01  Øyvind Kolås  <pippin@gimp.org>

	Added a 128 item hashtable to each object list.

	* babl/Makefile.am: added new file 'babl-db.c'
	* babl/babl-db.h: moved static function ...
	* babl/babl-db.c: ... here in a new file, also implemented a hashing
	optimization based on the strings of names.
	* babl/babl-internal.h: changed API in base class templates.
	* babl/babl-component.c,
	* babl/babl-extension.c,
	* babl/babl-fish.c,
	* babl/babl-format.c,
	* babl/babl-image.c,
	* babl/babl-model.c,
	* babl/babl-sampling.c,
	* babl/babl-type.c: changed db_insert(..) to babl_db_insert(db, ...)

	* babl/babl.c: added babl_fish_init ()

2005-08-31  Øyvind Kolås  <pippin@gimp.org>

	* docs/index-static.html.in: Changed ChangeLog link in NEWS section.

2005-08-31  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-component.h,
	* babl/babl-core.h,
	* babl/babl-conversion.h,
	* babl/babl-extension.h,
	* babl/babl-format.h,
	* babl/babl-instance.h,
	* babl/babl-introspect.h,
	* babl/babl-image.h,
	* babl/babl-fish.h,
	* babl/babl-model.h,
	* babl/babl-sampling.h,
	* babl/babl-sanity.h,
	* babl/babl-type.h: DELETED
	* babl/babl.h: defines moved from deleted headers. Added
	documentation.
	* babl/babl-internal.h: defines moved from deleted headers.

	* babl/Makefile.am: Reflect above changes.
	* babl/babl-classes.h: redefined conversion functions to return long,
	and take number of pixels as long.
	* babl/babl-component.c, 
	* babl/babl-conversion.c,
	* babl/babl-core.c,
	* babl/babl-db.h,
	* babl/babl-extension.c,
	* babl/babl-fish.c, 
	* babl/babl-format.c,
	* babl/babl-image.c, 
	* babl/babl-instance.h,
	* babl/babl-internal.c,
	* babl/babl-internal.h,
	* babl/babl-introspect.c,
	* babl/babl-memory.c, 
	* babl/babl-model.c,
	* babl/babl-sampling.c,
	* babl/babl-sanity.c,
	* babl/babl-type.c, 
	* babl/babl.c,
	* babl/base/model-cmyk.c,
	* babl/base/model-gray.c, 
	* babl/base/model-rgb.c, 
	* babl/base/model-ycbcr.c,
	* babl/base/type-float.c,
	* babl/base/type-u16.c,
	* babl/base/type-u8.c, 
	* docs/index-static.html.in,
	* extensions/CIE-Lab.c,
	* extensions/naive-CMYK.c, 
	* tests/babl-html-dump.c,
	* tests/babl_class_name.c,
	* tests/grayscale_to_rgb.c,
	* tests/introspect.c,
	* tests/models.c,
	* tests/nop.c,
	* tests/rgb_to_bgr.c,
	* tests/rgb_to_ycbcr.c,
	* tests/sanity.c,
	* tests/srgb_to_lab_u8.c,
	* tests/types.c: reflect changes in headers.

2005-08-31  Øyvind Kolås  <pippin@gimp.org>

	* Makefile.am,
	* babl.pc.in,
	* configure.ac,
	* extensions/Makefile.in: Fixed build of extensions. (awaiting
	fix of babl/babl-extension.c to use new #defines)

2005-08-30  Øyvind Kolås  <pippin@gimp.org>

	* babl/base/model-gray.c: 
		(rgba_to_gray_alpha_premultiplied): fixed array index error.
	* extensions/Makefile.in: Added -I../babl to include path.
	* extensions/naive-CMYK.c: (init), (rgb_to_cmyk), (cmyk_to_rgb):
		reordered the code, fixed a component swapping issue
		discovered by tests/model.c

2005-08-30  Øyvind Kolås  <pippin@gimp.org>

	* tests/srgb_to_lab_u8.c: updated values.
	* tests/types.c: rewritten.
	* tests/models.c: added, a test to test that reference conversions
	registered for a BablModel are symmetrical.
	* tests/float_to_u8.c,
	* tests/u8_to_float.c,
	* tests/rgb_to_lab_to_rgb.c,
	* tests/rgb_to_ycbcr_to_rgb.c: removed.
	* tests/Makefile.am: updated.

2005-08-30  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-introspect.c:
		(model_introspect), 
		(format_introspect),
		(each_introspect): use double quotes for strings.
		(conversion_introspect): new, show instrumentation data.
		(fish_introspect): new, show instrumentation data.

2005-08-30  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-classes.h: Added instrumentation variables to
	BablConversion and BablFish.
	* babl/babl-conversion.c:
		(babl_conversion_new): Handle re-registration.
		(conversion_new),
		(babl_conversion_process): instrumentation variables
	* babl/babl-component.c:
		(babl_component_new): Handle re-registration.
	* babl/babl-extension.c: Code cleanup.
		(babl_extension_base): Handle re-registration.
		(babl_extension_load_dir): close dir handle when done.
	* babl/babl-fish.c:
		(create_name)
		(babl_fish_new): instrumentation variables, autogenerated
		name.
		(babl_fish_reference_new): instrumentation variables,
		autogenerated name.
		(babl_process): instrumentation variables.
		(babl_conversion_find): use the lists of the source type for
		the search (speed improvement).
		(babl_fish): 
		(process_same_model): reference process with fewer steps.
		(babl_fish_reference_process): use fast path when models are
		the same.
	* babl/babl-format.c: (babl_format_new): Handle re-registration.
	* babl/babl-model.c: (babl_model_new): handle re-registration.
	* babl/babl-type.c: (babl_type_new): handle re-registration.

2005-08-30  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-memory.c: (babl_free): freeing of non babl allocated
	memory is fatal.

2005-08-29  Øyvind Kolås  <pippin@gimp.org>

	* tests/types.c: added test that tests the symmetry of reference
	conversions for registered types.

2005-08-29  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-format.c: (each_babl_format_destroy), (format_new),
	(create_name), (babl_format_new): New API, name is now a key/value
	pair, and if not set the name will be autogenerated.
	* babl/base/model-rgb.c, 
	* babl/base/model-ycbcr.c, 
	* extensions/CIE-Lab.c, 
	* extensions/naive-CMYK.c, 
	* tests/Makefile.am,
	* tests/float_to_u8.c,
	* tests/grayscale_to_rgb.c, 
	* tests/rgb_to_bgr.c, 
	* tests/rgb_to_lab_to_rgb.c, 
	* tests/rgb_to_ycbcr.c, 
	* tests/rgb_to_ycbcr_to_rgb.c, 
	* tests/u8_to_float.c: update to new API.

2005-08-29  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-db.h: Do nor warn about collision during db_insert
	* babl/babl-extension.[ch]: Implemented fs traversal based on BABL_PATH.
	added babl_set_extender to API.
	* babl/babl-instance.h: Changed signature of type_name##_new.
	* babl/babl-introspect.c: (babl_introspect): use new babl_extender

2005-08-29  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-internal.c: (babl_internal_init): set memory functions.
	* babl/babl-memory.c: (babl_set_malloc), (babl_set_free),
	(functions_sanity), (babl_malloc), (babl_free), (babl_realloc),
	(babl_calloc), (babl_sizeof), (babl_strdup), (babl_strcat),
	(babl_memory_sanity),
	* babl/babl-memory.h: Added babl_str* functions, that behave slightly
	different from the standard ones.
	* babl/babl-util.c: (babl_add_ptr_to_list): made error fatal.
	* babl/babl.c: (babl_init), (babl_destroy): added babl_internal

2005-08-28  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-internal.[ch]: (babl_die): A function to call from
	babl_fatal (...), invokes commands resulting in a backtrace, thus
	giving context to where things broke.
	* babl/babl-component.c: (babl_component_new):
	* babl/babl-conversion.c: (babl_conversion_new):
	* babl/babl-fish.c: (babl_conversion_find):
	* babl/babl-format.c: (format_new), (babl_format_new):
	* babl/babl-model.c: (babl_model_new):
	* babl/babl-type.c: (babl_type_new): use babl_fatal() instead of
	babl_log () on API mistakes.

2005-08-28  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-pixel-format.c: removed
	* babl/babl-format.c: readded under new name.

	* babl/babl-pixel-format.h: removed
	* babl/babl-format.h: readded under new name.

	* babl/babl-classes.c: removed
	* babl/babl-internal.c: readded under new name.

	* babl/babl.h,
	* babl/Makefile.am,
	* babl/babl-fish.c: Accomodate changes.

2005-08-28  Øyvind Kolås  <pippin@gimp.org>


	* babl/babl-component.c: (babl_component_new): s/parameter/argument/

	* babl/babl-extension.[ch]: the extension class.
	* babl/babl-model.c: (create_name), (babl_model_new): generate
	automatic name, allow override with key/value pair.
	s/parameter/argument/
	* babl/babl-pixel-format.c: (babl_format_new): s/parameter/argument/
	* babl/babl-sampling.c: (babl_sampling): s/parameter/argument/
	* babl/babl-type.c: (babl_type_new): s/paramter/argument/
	* babl/babl-conversion.c, (create_name), (babl_conversion_new):
	* babl/babl-conversion.h: Changed API, first two parameters are now
	source and destination.
	* babl/babl-instance.h: Added _NO_NEW variation of declarative name.
	* babl/babl-internal.h: exit (-1) when a name lookup fails.

	* babl/babl.h: do not export babl-ids.h 

	* babl/base/Makefile.am: Files removed
	* babl/base/babl-base.c: (models): removed model-lab
	* babl/base/cpercep.[ch],
	* babl/base/models.c,
	* babl/base/model-lab.c,
	* babl/base/types.c: removed

	* babl/base/model-gray.c,
	* babl/base/model-rgb.c,
	* babl/base/model-ycbcr.c:
		(models), (conversions): changed to new model_new and
		conversion_new api.

	* babl/base/type-float.c, 
	* babl/base/type-u16.c, 
	* babl/base/type-u8.c: new conversion API


	* configure.ac,
	* Makefile.am: added extensions subdir
	* extensions/Makefile.in: NB: hard-coded installpath to
	/home/pippin/.babl/
	* extensions/CIE-Lab.c: moved here from BablBase, contains cpercep.c
	and cpercep.h
	* extensions/naive-CMYK.c: moved here from BablBase.
	* extensions/util.h: convenience functions for babl extensions.

	* babl/babl-core.[ch]: double and RGBA originating from BablBase.

	* docs/index-static.html.in: updated TODO list.

	* tests/float_to_u8.c, 
	* tests/grayscale_to_rgb.c, 
	* tests/rgb_to_bgr.c, 
	* tests/rgb_to_lab_to_rgb.c, 
	* tests/rgb_to_ycbcr.c,
	* tests/rgb_to_ycbcr_to_rgb.c, 
	* tests/srgb_to_lab_u8.c, 
	* tests/u8_to_float.c: follow naming changed.

2005-08-27  Øyvind Kolås  <pippin@gimp.org>

	* Makefile.am:
	* babl.pc.in: added -dl
	* babl/babl-classes.c: Added BablExtension to string list of types.
	* babl/babl-classes.h: Added BablExtension, some reordering in union.
	* babl/babl-conversion.c:
		(create_name), (babl_conversion_new): compute the name of the
		conversion instead of explicitly having to provide it.
	* babl/babl-core.c:
		(convert_double_double), (copy_strip_1),
		(babl_core_init): Moved double datatype and RGBA model from
		base into core.
	* babl/babl-core.h: new file
	* babl/babl-db.h: improved logging, print current extender as well.
	* babl/babl-ids.h: removed some non central ids.
	* babl/babl-internal.h: new varargs based logger.
	* babl/babl-introspect.c: (babl_introspect): use quiet "fake"
	extender. Allow introspection of single objects.
	* babl/babl-introspect.h: Allow introspection of single objects.
	* babl/babl-memory.c: (babl_memory_sanity): use babl_log instead of
	fprintf.
	* babl/babl-sanity.c: (id_sanity): only complain about id==0 in
	BablBase / BablCore.
	* babl/babl.c: (babl_init), (babl_destroy): added core and extension
	to build up/tear down lists.
	* babl/babl.h: removed babl_introspect which doesn't belong here
	anymore.
	* babl/base/Makefile.am: Removed type-double.c
	* babl/base/babl-base.c: (types), (models): removed
	babl_base_type_double ()
	* babl/base/model-rgb.c: (components), (models): removed RGBA model.
	* babl/base/type-double.c: removed
	
	* docs/index-static.html.in:
	* tests/Makefile.am: LDADD += -ldl 
	* tests/introspect.c: (main): pass NULL as argument to
	babl_introspect () to do full objectspace traversal.

	* babl/babl-fish.h:
	* babl/babl-model.h:
	* babl/babl-pixel-format.h:
	* babl/babl-sampling.h:
	* babl/babl-conversion.h:
	* babl/babl-component.h: cosmetic rearrangement of lines.

2005-08-27  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-component.c: (babl_component_new):
	* babl/babl-conversion.c: (conversion_new), (babl_conversion_new),
	(babl_conversion_process):
	* babl/babl-db.h:
	* babl/babl-fish.c: (babl_conversion_find), (babl_fish),
	(babl_fish_reference_process), (babl_fish_process), (babl_process):
	* babl/babl-image.c: (babl_image_from_linear), (babl_image):
	* babl/babl-internal.h:
	* babl/babl-introspect.c: (babl_introspect), (model_introspect):
	* babl/babl-memory.c: (babl_malloc), (babl_strdup), (babl_realloc),
	(babl_calloc):
	* babl/babl-model.c: (babl_model_new):
	* babl/babl-pixel-format.c: (format_new), (babl_format_new):
	* babl/babl-type.c: (babl_type_new):
	* babl/babl-util.c: (babl_add_ptr_to_list):
	* babl/base/type-u8.c:
	* tests/babl_class_name.c: (test): 

	Made babl_log(...) print the file, line and function by itself.

2005-08-27  Øyvind Kolås  <pippin@gimp.org>

	* docs/graphics/Makefile.am: s/INSCAPE/INKSCAPE/

2005-08-27  Sven Neumann  <sven@gimp.org>

	* configure.ac
	* Makefile.am
	* docs/Makefile.am
	* docs/graphics/Makefile.am: check for inkscape and w3m which are
	needed to build the documentation. Compile without them but bail
	out on 'make dist'.

2005-08-26  Øyvind Kolås  <pippin@gimp.org>

	* tests/rgb_to_bgr.c: added component shuffling test
	* tests/Makefile.am: added rgb_to_bgr to TESTS

2005-08-25  Øyvind Kolås  <pippin@gimp.org>

	* docs/index-static.html.in: removed done things from TODO list.

2005-08-25  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-fish.c:
		(babl_to_double),(babl_from_double): new functions.
		(babl_fish_reference_process): made type a component
		shuffling work for linear buffers
	* tests/rgb_to_lab_u8.c: filled in calculated values.

2005-08-25  Øyvind Kolås  <pippin@gimp.org>

	* tests/rgb_to_ycbcr.c,
	* tests/rgb_to_ycbcr_to_rgb.c: fix Y' component name

2005-08-25  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-classes.h:
		BablFormat: added .bytes_per_pixel
		BablImage: s/bands/components/
	* babl/babl-conversion.c: s/bands/components/
	* babl/babl-image.c: s/bands/components/
	* babl/babl-pixel-format.c: (format_new) check if provided pixel
	format matches model. Calculate .bytes_per_pixel.
	* tests/babl-html-dump.c: use format.bytes_per_pixel

2005-08-25  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-classes.h:
		BablModel: added .type
		BablFormat: reordered
		BablImage: added .format, .model, .sampling and .type
		BablFishReference: removed implementation details
	* babl/babl-component.c: (component_new): use malloc instead of calloc
	* babl/babl-conversion.c:
		(conversion_new): use malloc instead of calloc
		(babl_conversion_linear_process)
		(babl_conversion_process):  pass pitch to functions.
		(babl_conversion_planar_process): duplicate data pointers in
		image before passing them on.
	* babl/babl-db.h:
		(db_each): indentation fix.
	* babl/babl-fish.c:
		(babl_fish_reference_new),
		(babl_fish_reference_process),
		(babl_fish_process), (babl_process): restructuring of the
		reference bablfish, approaching data and component shuffling
		functionality.
	* babl/babl-image.c:
		(image_new): use malloc instead of calloc
		(babl_image_from_linear), (babl_image): Added more information
		to structure.
	* babl/babl-image.h: s/_new//
	* babl/babl-internal.h: #define BABL_MAX_COMPONENTS 32
	* babl/babl-introspect.c:
		(format_introspect): s/bands/components/
	* babl/babl-model.c:
		(model_new): use malloc instead of calloc
	* babl/babl-pixel-format.c:
		(format_new): use malloc instead of calloc
		(babl_format_new): s/bands/components/
	* babl/babl-type.c:
		(type_new): use malloc instead of calloc


	* babl/base/type-double.c,
	* babl/base/type-float.c,
	* babl/base/type-u16.c,
	* babl/base/type-u8.c: more parameters to conversion functions, added
	a codewriting macro for different scale / min/max factors.

	* docs/index-static.html.in: reindent.
	* tests/babl-html-dump.c: (format_html): s/bands/components/
	* tests/srgb_to_lab_u8.c: (test): use absolute error in check.

2005-08-24  Øyvind Kolås  <pippin@gimp.org>

	* tests/sanity.c: Added a test that fails if the internal sanity
	checks are failing.

2005-08-24  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-classes.c,
	* babl/babl-classes.h,
	* babl/babl-component.c,
	* babl/babl-conversion.c,
	* babl/babl-db.h,
	* babl/babl-fish.c,
	* babl/babl-fish.h,
	* babl/babl-image.c,
	* babl/babl-image.h,
	* babl/babl-internal.h,
	* babl/babl-introspect.c,
	* babl/babl-model.c,
	* babl/babl-model.h,
	* babl/babl-pixel-format.c,
	* babl/babl-pixel-format.h,
	* babl/babl-sanity.c,
	* babl/babl-sanity.h,
	* babl/babl-type.c,
	* babl/babl.c,
	* babl/babl.h,
	* babl/base/model-cmyk.c,
	* babl/base/model-gray.c,
	* babl/base/model-lab.c,
	* babl/base/model-rgb.c,
	* babl/base/model-ycbcr.c,
	* tests/Makefile.am,
	* tests/babl-html-dump.c,
	* tests/babl_class_name.c,
	* tests/float_to_u8.c,
	* tests/grayscale_to_rgb.c,
	* tests/rgb_to_lab_to_rgb.c,
	* tests/rgb_to_ycbcr.c,
	* tests/rgb_to_ycbcr_to_rgb.c,
	* tests/u8_to_float.c: s/PixelFormat/Format/ (etc in other cases),
	Made BablFish be more polymorphic (accept
	format names as well as BablFormats).
	* babl/babl-ids.h: reorganized, some renames. 

	* tests/srgb_to_lab_u8.c: new test for 8bit CIE Lab format (reference
	data not correct yet).

	* babl/base/type-u16.c,
	* babl/base/type-u8.c: Added CIE fixed point data types.


2005-08-24  Øyvind Kolås  <pippin@gimp.org>

	* docs/babl.css: Added code highlighting classes.

2005-08-24  Øyvind Kolås  <pippin@gimp.org>

	* NEWS: remove draft for news release, at initial release everything
	will be new.

2005-08-23  Øyvind Kolås  <pippin@gimp.org>

	* docs/Makefile.am: use `tempfile` to create name of temporary file
	* docs/tools/xml_insert.sh: use `tempfile` to create name of temporary
	file.

2005-08-23  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-classes.c,
	* babl/babl-classes.h,
	* babl/babl-conversion.c,
	* babl/babl-fish.h,
	* babl/babl-image.c,
	* babl/babl-image.h,
	* babl/babl-instance.h: Indentation, comments and other cleanup.

2005-08-23  Øyvind Kolås  <pippin@gimp.org>

	* docs/index-static.html.in: update webdocs.

2005-08-23  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-instance.h: babl_class_name is moved to babl-classes.h
	* babl/babl-conversion.h: add a method to the conversion class for the
	processing with registered functions.
	* babl/babl-fish.c: Use above functions.

2005-08-23  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-memory.[ch]: added additonal sanity checking (only
	handling babl-memory allocated memory in free and realloc.) And added
	new function babl_dup (void*), which duplicates an allocation.
	* babl/babl-db.h: have an initial database size.

2005-08-23  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-classes.c: Update class names to be in sync with enum in
	babl-classes.h

2005-08-23  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl.c: implement ref counting to avoid unneccesary destruction
	of static data when multiple instances of babl is used in an
	adressspace.

2005-08-23  Øyvind Kolås  <pippin@gimp.org>

	* tests/Makefile.am:
	* tests/babl_class_name.c: new test.

2005-08-22  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-classes.h: (BabPixelFormat): only a single BablModel.
	* babl/babl-pixel-format.h,
	* tests/babl-html-dump.c: accomodate change.

2005-08-21  Øyvind Kolås  <pippin@gimp.org>

	* docs/.cvsignore: added Makefile and Makefile.in
	* docs/graphics/.cvsignore: added Makefile and Makefile.in
	* tests/.cvsignore: added babl_html_dump

2005-08-21  Øyvind Kolås  <pippin@gimp.org>

	* babl/base/Makefile.am: Typo, s/babl-grays/babl-gray/

2005-08-21  Øyvind Kolås  <pippin@gimp.org>

	* docs/Makefile.am: Changed which html file is piped through w3m to
	generate README.

2005-08-21  Øyvind Kolås  <pippin@gimp.org>

	* babl/base/model-grayscale.c: removed
	* babl/base/model-gray.c: added
	* babl/base/Makefile.am:
	* docs/graphics/index.html: fixed spelling.

2005-08-21  Øyvind Kolås  <pippin@gimp.org>
	
	* docs/LGPL: added (hopefully as a link to ../COPYING)

2005-08-21  Øyvind Kolås  <pippin@gimp.org>

	* Makefile.am,
	* NEWS,
	* autogen.sh,
	* babl/Makefile.am,
	* configure.ac,
	* docs/.cvsignore,
	* docs/Makefile.am,
	* docs/babl.css,
	* docs/graphics/.cvsignore,
	* docs/graphics/Makefile.am,
	* docs/graphics/babl-16x16.svg,
	* docs/graphics/babl-48x48.svg,
	* docs/graphics/babl-a4poster.svg,
	* docs/graphics/index.html,
	* README.in,
	* docs/index-static.html.in,
	* docs/tools/xml_insert.sh,
	* tests/babl-html-dump.c, 
	* tests/Makefile.am: Added HTML based documentation as part of build
	process.

2005-08-21  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-classes.h: reindent, some documentation.
	* babl/babl-fish.c: (babl_fish_reference_new): assertions for
	arguments.
	* babl/babl-ids.h: cleanup.
	* babl/base/babl-base.c: (models): grayscale->gray
	* babl/base/model-grayscale.c: (babl_base_model_gray),
	(components), (models), (rgb_to_gray), (rgb_to_gray_2_2),
	(gray_2_2_to_rgb), (gray_to_rgb),
	(gray_alpha_premultiplied_to_rgba),
	(rgba_to_gray_alpha_premultiplied), (conversions): grayscale->gray,
	added gamma-2.2 with alpha.
	* babl/base/model-lab.c: 
	* babl/base/model-rgb.c: 
	* babl/base/model-ycbcr.c: Name normalizations
	* tests/float_to_u8.c: (test_float_to_rgb_u8):
	* tests/grayscale_to_rgb.c: (test):
	* tests/rgb_to_lab_to_rgb.c: (test):
	* tests/rgb_to_ycbcr.c: (test):
	* tests/rgb_to_ycbcr_to_rgb.c: (test):
	* tests/u8_to_float.c: (test): Name synchronization.

2005-08-18  Øyvind Kolås  <pippin@gimp.org>

	* babl/base/util.h: added new and hopefully correct gamma correction
	and uncorrection functions.
	* babl/base/model-grayscale.c: (components),
	(rgb_to_grayscale_2_2), (grayscale_2_2_to_rgb): register
	"luminance-gamma2.2" component, and use new gamma functions.
	* babl/base/model-rgb.c: (g3_gamma_2_2), (g3_inv_gamma_2_2): use new
	gamma functions.
	* babl/base/model-ycbcr.c: (components), (models), (rgb_to_ycbcr),
	(ycbcr_to_rgb): use gamma corrected luminance, and correct gamma. (pixel_formats):
	uncomment until a new data type exist with headroom/footrom in 8bit
	for proper rescaling of 0..255 to 16..235 for luma and  +/-112 range
	with offset of 128 for chroma (16 thorugh 240 inclusive).
	* babl/base/rgb-constants.h: more digits as well as some #if 0' dead
	code for reference.
	* tests/rgb_to_lab_to_rgb.c: add more colors to the test buffer.
	* tests/rgb_to_ycbcr.c: set TOLERANCE to a more meaningful value,
	updated the ycbcr version of 50% gray.

2005-08-17  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-internal.h: (type_name##_id) babl_log upon failed
	lookups.

2005-08-17  Øyvind Kolås  <pippin@gimp.org>

	* Makefile-mini
	* babl/Makefile-mini: removed

2005-08-17  Øyvind Kolås  <pippin@gimp.org>

	* configure.ac: added babl/Makefile to AC_CONFIG_FILES().

2005-08-17  Sven Neumann  <sven@gimp.org>

	* README.in: spelling.

2005-08-16  Øyvind Kolås  <pippin@gimp.org>

	* babl/base/pixel-formats.c: removed

2005-08-16  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-model.c: (model_new)
	* babl/babl-pixel-format.c: (pixel_format_new): reordered allocation
	to place string (to avoid placing pointers in non aligned adresses).

2005-08-16  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-component.c: (component_new, each_babl_component_destroy) allocate
	larger chunk, (babl_component_new) removed Babl* switch, 
	* babl/babl-conversion.c: (conversion_new): removed superflous runtime
	warnings.
	* babl/babl-fish.c: (babl_fish_process): reindent, added assert for
	instance.
	* babl/babl-image.c: (image_new, babl_image_new): reindent,
	, (babl_image_new_from_linear): added asserts for parameters.
	* babl/babl-model.c: (each_babl_model_destroy, model_new): allocate
	larger chunk.
	* babl/babl-pixel-format.c: (each_babl_pixel_format_destroy,
	pixel_format_new): allocate larger chunk.
	* babl/babl-sanity.c: (babl_conversion_source): removed FIXME comment
	used for helper function just used to make code more readable.
	* babl/babl-type.c: (each_babl_type_destroy, type_new): allocate
	larger chunk.

2005-08-16  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-classes.h: (BablSampling) added static name.
	* babl/babl-sampling.c: (babl_sampling_init): initialize names
	* babl/babl-introspect.c: (pixel_format_introspect): display sampling
	name as well.

2005-08-16  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-component.[ch]
	* babl/babl-conversion.[ch]
	* babl/babl-fish.[ch]
	* babl/babl-image.[ch]
	* babl/babl-instance.h
	* babl/babl-internal.h
	* babl/babl-introspect.c
	* babl/babl-model.[ch] 
	* babl/babl-pixel-format.[ch]
	* babl/babl-sampling.[ch] 
	* babl/babl-sanity.c 
	* babl/babl-type.[ch] 
	* tests/float_to_u8.c 
	* tests/grayscale_to_rgb.c
	* tests/rgb_to_lab_to_rgb.c
	* tests/rgb_to_ycbcr.c
	* tests/rgb_to_ycbcr_to_rgb.c
	* tests/u8_to_float.c: Changed to use polymorph Babl * union's instead
	of class specific structs in most cases, and in all cases for the
	public API.

2005-08-16  Øyvind Kolås  <pippin@gimp.org>
	
	* AUTHORS: Fixed spelling of Sven Neumann.

2005-08-16  Øyvind Kolås  <pippin@gimp.org>

	* tests/.cvsignore: added the test binaries.
	* .cvsignore: added *.tar.gz and *.tar.bz2

2005-08-16  Øyvind Kolås  <pippin@gimp.org>

	* AUTHORS: added Sven Neuman.

2005-08-16  Sven Neumann  <sven@gimp.org>

	* configure.ac: add -Wall to CFLAGS if gcc is being used. Use
	AC_CONFIG_FILES() to define the files that need to be generated.

2005-08-16  Øyvind Kolås  <pippin@gimp.org>

	* babl/base/mode-ycbcr.c: use coefficients from Charles Poyntons color
	FAQ.
	* tests/rgb_to_ycbcr_to_rgb.c: changed TOLERANCE to 0.00000000000001
	* tests/rgb_to_ycbcr.c: changed TOLERANCE as well as reference values.

2005-08-16  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-fish.c: reindentation, no naming of fishes.
	* babl/babl-ids.h: reordering, added YCBCRA, LAB and LAB_ALPHA
	* babl/base/Makefile.am: added cpercep.[ch] model-lab.c and
	model-ycbcr.c
	* babl/base/cpercep.[ch]: *NEW*
	* babl/base/model-lab.c: *NEW* CIE Lab color model, backed by a slightly
	modified version of cpercep from gimp sources (no gamma correction and
	normalized RGB values)
	* babl/base/model-ycbcr: made ycbcr work, numbers still need to be
	verified.
	* babl/base/babl-base.c: initialize CIE Lab and YCbCr
	* babl/base/model-cmyk.c: slight changes, it still doesn't pass
	rgb->cmyk->rgb testing so not included yet.
	* babl/base/model-rgb.c: make rgba-double use BABL_DOUBLE instead of
	BABL_FLOAT
	* babl/base/type-u16: fix conversion to double.
	* tests/Makefile.am: added rgb_to_lab_to_rgb , rgb_to_ycbcr_to_rgb and
	rgb_to_ycbcr
	* tests/rgb_to_lab_to_rgb.c
	* tests/rgb_to_ycbcr_to_rgb.c
	* tests/rgb_to_ycbcr.c: *NEW* tests

2005-08-15  Øyvind Kolås  <pippin@gimp.org>

	* babl/base/model-cmyk.c
	* babl/base/model-ycbcr.c: added stubs

2005-08-15  Øyvind Kolås  <pippin@gimp.org>

	* configure.ac: add rule to generate babl/base/Makefile
	* babl/base: new directory
	* babl/base/Makefile.am
	* babl/base/babl-base.[ch]
	* babl/base/type-double.c
	* babl/base/type-float.c
	* babl/base/type-u8.c
	* babl/base/type-u16.c
	* babl/base/model-rgb.c
	* babl/base/model-grayscale.c
	* babl/base/.cvsignore: added code removed in previous commit, in
	a more oragnised manner.
	

2005-08-15  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-base/babl-base.[ch]
	* babl/babl-base/babl-base-components.c
	* babl/babl-base/babl-base-conversions.c
	* babl/babl-base/babl-base-conversions-model.c
	* babl/babl-base/babl-base-conversions-type.c
	* babl/babl-base/babl-base-models.c
	* babl/babl-base/babl-base-pixel-formats.c
	* babl/babl-base/babl-base-types.c
	* babl/babl-base/Makefile.am
	* babl/babl-base/: removed

2005-08-15  Øyvind Kolås  <pippin@gimp.org>
	
	* babl/babl-classes.h: BablPixelFormat: changed order of attributes to
	match BablModel. BablFish: removed **from and **to lists, since they
	were added at a wrong offset from the instance start anyways.
	* babl/babl-fish.c: Made the reference fish work for linear buffers
	with constant datatype
	* babl/babl-ids.h: added BABL_RGBA_DOUBLE
	* babl/babl-image.[ch]: made BablImage be allocated in a single chunk,
	added babl_image_new_from_linear()
	* babl/babl-type.c: added assertion about bits%8==0
	* babl/babl-base/babl-base-conversions-model.c: made BABL_PLANAR_SANITY accept
	single band buffers. added conversions for premultiplied grayscale.
	* babl/babl-base/babl-base-pixel-formats.c: added "rgba-double"

2005-08-15  Øyvind Kolås  <pippin@gimp.org>

	* Makefile-mini: compile both the nop and introspect programs by
	default.
	* babl/Makefile-mini: link with standard math library

2005-08-14  Øyvind Kolås  <pippin@gimp.org>
	
	* tests/float_to_u8.c
	* tests/u8_to_float.c
	* tests/grayscale_to_rgb.c: new files
	* tests/Makefile.am: including preceding tests

2005-08-14  Øyvind Kolås  <pippin@gimp.org>
	
	* babl/Makefile.am: added babl-instance.h, removed wilcard from
	EXTRA_DIST
	* babl/babl-classes.h: added BablModel **model to BablPixelFormat,
	renamed BablReferenceFish to BablFishReference. Moved some logic out
	to babl-instance.h.
	* babl/babl-instance.h: new file.
	* babl/babl-db.h: include babl-instance instead of babl-classes to
	reduce amount of headers included by headers.
	* babl/babl-fish.c: Added code to make it work for type conversions
	* babl/babl-fish.h: Added babl_fish (source, destination) prototype
	* babl/babl-internal.h: reindentation, include babl-conversion.h
	* babl/babl-pixel-format.c: add model for each band
	* babl/babl.c: destroy all fishes at finish

2005-08-14  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-base/Makefile.am: LDADD = -lm
	* babl/babl-base/babl-base-conversions-model.c: reindentation, added
	gamma functions.
	* babl/babl-base/babl-base-conversions-type.c: corrected reference
	versions of u8, u16 and float.
	* babl/babl-base/babl-base-models.c: ifdef'ed out some of the more
	arcane models.
	* babl/babl-base/babl-base-pixel-formats.c: added the corresponding
	model used to all pixel formats.

2005-08-09  Øyvind Kolås  <pippin@gimp.org>

	* babl/Makefile-mini: CFLAGS = -Werror -Wall ....
	* babl/babl-classes.[ch]: BablPixelFormat removed unused pointers
	to lists of conversions. Added BablReferenceFish. Renamed kind/
	instance.type to class_type/instance.class_type. Removed mostly
	unused macro's and expanded them in source

	* babl/babl-component.c
	* babl/babl-conversion.c
	* babl/babl-db.h
	* babl/babl-fish.c
	* babl/babl-image.c
	* babl/babl-introspect.c
	* babl/babl-model.c
	* babl/babl-pixel-format.c
	* babl/babl-sampling.c

	* babl/babl-type.c: removed switch statement since all enums are
	handled equally.

	* babl/tests/Makefile.am: added nop and introspect to TESTS, not
	actual tests yet, but at least a segfault will cause make check to
	fail.
	
2005-08-09  Øyvind Kolås  <pippin@gimp.org>

	* autogen.sh: make autogen also run make
	* babl/babl-classes.h: added define macro usable for sampling and
	fish.
	* babl/babl-fish.[ch]: cleanup of stub class
	* babl/babl-sampling.h: simplification of header using a define.

2005-08-09  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-conversion.c: indentation cleanup.

2005-08-09  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-ids: added BABL_LUMINANCE_GAMMA_2_2,
	BABL_LUMINANCE_MUL_ALPHA, BABL_GRAYSCALE_GAMMA_2_2,
	BABL_GRAYSCALE_ALPHA_PREMULTIPLIED.
	* babl/babl-base/babl-base-components: added "luminance*alpha"
	* babl/babl-base/babl-base-components.conversions-model.c: Sprinked
	asserts, added generic premultiplification operation.
	* babl/babl-base-models.c: added gamma corrected and premultiplied
	variations of grayscale.

2005-08-09  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-internal.h: issue a babl_log when the named object is not
	found during string based lookup.
	* babl/babl-pixel-format.c: added BABL_IMAGE to var_args switch.
	* babl/babl-classes.c: set babl_hmpf_on_name_lookups initial value to
	0, to make it hmpf only in babl-base.

2005-08-09  Øyvind Kolås  <pippin@gimp.org>

	* babl/Makefile-mini: added babl-image.o.

2005-08-09  Øyvind Kolås  <pippin@gimp.org>

	* babl/babl-sampling.h: removed reference to non existant function
	babl_sampling_introspect ().

2005-08-09  Øyvind Kolås  <pippin@gimp.org>

	* babl/Makefile.am
	* babl/babl-image.c
	* babl/babl-image.h
	* babl/babl-classes.h: Added BablImage class.

	* babl/babl-component.c
	* babl/babl-conversion.c
	* babl/babl-model.c: Handle BABL_IMAGE in switches.


2005-08-09  Øyvind Kolås  <pippin@gimp.org>

	* .cvsignore: added INSTALL and README.

2005-08-09  Øyvind Kolås  <pippin@gimp.org>

	* depcomp
	* install-sh
	* missing: erroniously included in first import.

2005-08-09  Øyvind Kolås  <pippin@gimp.org>

	Imported into GNOME CVS.

2005-08-09  Øyvind Kolås  <pippin@gimp.org>

	- seperate babl-base into separate subdir.

2005-08-09  Øyvind Kolås  <pippin@gimp.org>

	- Renamed class to model.
	- Auto toolification

2005-08-08  Øyvind Kolås  <pippin@gimp.org>

	- Completed data model
	- Added sanity checker

2005-08-07  Øyvind Kolås  <pippin@gimp.org>

	- Introspection

2005-08-05  Øyvind Kolås  <pippin@gimp.org>

	- Initial ChangeLog

2005-07-31  Øyvind Kolås  <pippin@gimp.org>

	- Type system

2005-07-29  Øyvind Kolås  <pippin@gimp.org>

	- Babl's inception in the 'Chaos Village' at WhatTheHack.