File: ChangeLog

package info (click to toggle)
guppi 0.40.3-11
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,040 kB
  • ctags: 8,874
  • sloc: ansic: 69,807; sh: 7,319; makefile: 1,720; yacc: 318; perl: 103
file content (7608 lines) | stat: -rw-r--r-- 290,006 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
2002-01-21  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-marker.c: Make the min and max size
	values for the markers be functions of the default size.

	* plug-ins/plot/axis/guppi-axis-view.c (compute_size): #if
	0/#endif out the overly-clever bit of code that was leading to
	truncated labels.

2002-01-20  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-axis-markers.c
	(guppi_axis_markers_adjust_excel): Fixed some simple typos.

2002-01-20  Jody Goldberg <jody@gnome.org>

	* plug-ins/plot/scatter/guppi-scatter-state.c (guppi_scatter_state_init) :
	  Add [xy]_axis_type.
	(guppi_scatter_state_{get,set}_{x,y}_axis_type) : new.

	* plug-ins/plot/scatter/guppi-scatter-view.c (view_init) : Use them here.

	* src/libguppiplot/guppi-axis-markers.c (excel_date_init) : new.
	(guppi_date_set_excel) : ditto.
	(guppi_axis_markers_adjust_excel) : ditto.
	(guppi_axis_markers_populate_dates) : optionally populate with excel
	  style serial dates.
	(guppi_axis_markers_populate_generic) : add GUPPI_AXIS_XL_DATE.

2002-01-19  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/axis/guppi-axis-item.c (render): Use
	guppi_paint_sharp_box to draw ticks, so they line up
	properly with the rules.

	* plug-ins/plot/frame/guppi-frame-item.c (sharp_box): Use a sharp
	box instead of a soft box.
	(render): s/soft_box/sharp/box.

	* src/libguppiuseful/guppi-rgb.c (guppi_paint_sharp_box): Added.
	We use this instead of guppi_paint_soft_box in order to get a
	crisper look for the lines in our background rules, etc.

2002-01-18  Jon Trowbridge  <trow@gnu.org>

	* Lots of small changes to get rid of compiler warnings,
	most of which are either adding #include <string.h> or
	removing unused functions.

	* plug-ins/plot/pie/guppi-pie-item.c (between_angle): Always
	normalize all angles into the [0, 2pi) interval before comparing.
	Fixes the "can't drag pie slices in the first quadrant in
	gnumeric" bug.
	(guppi_pie_item_in_slice): Since between_angle is now smarter,
	this code can be a bit stupider.

2002-01-18  Jody Goldberg <jody@gnome.org>

	* configure.in : bump the Gnumeric idl version requirement.

2002-01-17  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/text/Makefile.am (guppi_text_la_SOURCES): Add
	init.c back into guppi_text_la_SOURCES... it must have gotten
	deleted by mistake.

2002-01-14  Jon Trowbridge  <trow@gnu.org>

	* libguppitank/guppi-tank-init.c (guppi_tank_shutdown): Don't call
	depricated functions!
	(guppi_tank_exit): Don't call depricated functions!

2002-01-13  Jon Trowbridge  <trow@gnu.org>

	* Added #include <string.h> in a whole bunch of places that needed
	it.

	* Remove a bunch of cruft, mostly involving our currently-broken
	scripting support.  This totally removes any guile dependency, and
	removes the optional python business...  it was all only making
	life hard for people, anyway.  When Guppi gets ported to GNOME2,
	we can use all of their cool new bindings stuff.

	* plug-ins/plot/axis/guppi-axis-view.c (compute_size): Take our
	"shrink-to-fit" factor into account, if necessary.  The text was
	being shrunk, but not the space allocated for the text to be
	drawn.

	* plug-ins/plot/axis/guppi-axis-state.c
	(guppi_axis_state_maximum_span): Added label_scale argument.
	(guppi_axis_state_get_size): Added label_scale argument.

2002-01-08  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiuseful/guppi-attribute-bag.c
	(guppi_attribute_bag_vset): Doh!  Dereference our va_list* when
	calling va_args.

	* src/libguppiplot/guppi-element-view.c (guppi_element_view_new):
	guppi_attribute_bag_vset now takes a va_list*.

	* src/libguppiplot/guppi-element-state.c
	(guppi_element_state_new): guppi_attribute_bag_vset now takes a
	va_list*.

	* python-modules/Guppi/Makefile.am: Remove data_impl from SUBDIRS.

	* tests/data: Replaced numerous instances of guppi_seq_*_new with
	guppi_seq_*_core_new.
		
	* libguppitank: Replaced numerous instances of guppi_seq_*_new
	with guppi_seq_*_core_new.  (Now I'm getting really lazy in my
	ChangeLogging.  Shame on me.)

	* plug-ins/plot/pie/guppi-pie-state.c (get_slice_offsets):
	s/guppi_seq_scalar_new/guppi_seq_scalar_core_new/.

	* src/libguppidata/guppi-seq.c (get_missing): Added evil
	cross-pseudolib dependency so that our default implementation of
	missing data could call guppi_seq_boolean_core_new.

2002-01-07  Jon Trowbridge  <trow@gnu.org>

	* src/libguppidata: Removed all of the data base-type *_new()
	functions that loaded default plug-ins.  That was just a bad idea.

	* src/libguppidataimpl: Libraryified the old data implementation
	plug-ins.

	* plug-ins/plot/linegraph/guppi-linegraph-view.c
	(build_date_series): Re-implemented to work with new way of doing
	things.
	(guppi_linegraph_view_build_path): Look at the ts_data attribute,
	try to do the right thing.

	* plug-ins/plot/linegraph/guppi-linegraph-state.c
	(guppi_linegraph_state_init): Added ts_data attribute for time
	series data.

	* src/Makefile.am: Added all of the libguppidataimpl .lo files to
	libguppi_la_LIBADD.

	* src/demo.c: Changed to call the un-plug-in-ified data type
	constructors directly.

	* src/libguppidata/guppi-price-series.c (cache_valid): The logic
	here was totally broken.  (Exposed by gnome-chart.)

	* src/libguppiplot/guppi-root-group-item.c
	(guppi_root_group_item_destroy): Change our idle into a short
	timeout.
	(button_press_idle_cb): Idle -> short timeout.  Return if we
	already have a pending button press timeout running.  Only do the
	guppi_plot_tool_end stuff if the tool is active.  (This is all
	meant to fix some re-entrancy problems.  It helps, but there are
	still problems.)

	* src/libguppiplot/guppi-plot-tool.c (tool_repeat_handler): Added
	repeat_lock to try to avoid re-entrancy problems.
	(guppi_plot_tool_end): Don't clear the repeater tag first;
	instead, do it after the ->last call.

	* src/libguppiplot/guppi-layout-constraint.c
	(guppi_layout_constraint_add_terms): Use gint as the va_arg type,
	since enums aren't allowed!

	* src/libguppiplot/guppi-color-palette.c
	(guppi_color_palette_set_vcustom): Use gint as the va_arg type
	rather than guint32.

	* src/libguppiuseful/guppi-attribute-flavor.c (boolean_va2p): use
	gint as the va_arg type rather than gboolean.
	(uint32_va2p): Use gint as the va_arg type rather than guint32.
	(Thanks gmorten!)

	* configure.in: Bumped version number.  Removed all of the
	plugin/data_impl Makefiles from AC_OUTPUT, added
	src/libguppidataimpl.

2001-12-28  Simos Xenitellis  <simos@hellug.gr>

	* configure.in(ALL_LINGUAS): Added el for Greek.

2001-12-18  Wang Jian  <lark@linux.net.cn>

	* configure.in(ALL_LINGUAS): Added zh_CN for Simplified Chinese.

2001-11-26  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/pie/guppi-pie-state.c
	(guppi_pie_state_make_config_model): Add some simple config pages.

	* plug-ins/plot/barchart/guppi-barchart-state.c
	(make_config_model): Add a simple config page.

	* plug-ins/plot/compass-box/guppi-compass-box-view.c
	(position_floating): If position is GUPPI_COMPASS_INVALID, hide
	the floating item.

	* src/libguppiplot/guppi-text-block.c (guppi_text_block_text): Add
	a guppi_outside_alloc hint to avoid errors in our memory debugging
	output.

	* src/libguppiplot/guppi-layout-engine.c
	(build_simplified_rule_system): Print a message and return if we
	try to do a layout on an empty system.

	* src/libguppiplot/guppi-group-view.c (make_config_model):
	Revamped for new-style make_config_model.

	* src/libguppiplot/guppi-element-view.c
	(guppi_element_view_make_config_model): Revamped, as below.

	* src/libguppiplot/guppi-element-state.c
	(guppi_element_state_make_config_model): Revamped to account for
	the change in signature for make_config_model.  Passing in a model
	is cleaner, requires less merging, and makes chaining easier.

	* src/libguppiplot/guppi-canvas-group.c
	(guppi_canvas_group_destroy): Properly disconnect all of our
	subobjects from the changed_position signal.

	* src/libguppiplot/guppi-config-dialog.c: Moved from
	libguppiuseful; beefed up and added an optional plot preview.

	* src/libguppiuseful/guppi-useful-init.c
	(guppi_useful_init_without_guile): Allow us to set a default
	verbosity via the GUPPI_VERBOSITY environment variable.

	* src/libguppiuseful/guppi-config-model.c
	(guppi_config_model_add): Added an attribute bag parameter (which
	can be NULL), since we'll be binding to attribute widgets in
	almost all cases.
	(guppi_config_model_add_glade_file): Added.  A convenience routine
	for adding config pages from glade files.
	(guppi_config_model_foreach): Fixed for new signature for iterator
	functions.  If we have a bag, attach it to the widgets we create.

	* src/libguppiuseful/guppi-attribute-flavor.c (guppi_attr_glade):
	Shortened name, from guppi_attribute_flavor_glade_custom_fn, for
	easier typing in those little glade entries.

2001-11-26  Pablo Saratxaga <pablo@mandrakesoft.com>

	* configure.in: Added "az" to ALL_LINGUAS.

2001-11-25  John Gotts  <jgotts@linuxsavvy.com>

	* Guppi.spec.in: Needed two lines removed, one added.  Hardly what I
	  would call broken!  Otherwise cleaned up to help ease maintenance.

2001-11-22  Abel Cheung  <maddog@linux.org.hk>

	* plug-ins/import/import-delimited/Makefile.am: Move the last
	  few unmoved headers to $includedir/gnome-1.0/libguppi/ .

2001-11-20  Jon Trowbridge  <trow@gnu.org>

	* Makefile.am: Take out Guppi.spec and Guppi.spec.in.  They are
	broken, and will just cause trouble.

	* libguppitank/guppi-object-*: Add casts to accomodate our changes
	to the function signatures in GuppiObject.

	* libguppitank/guppi-object.c (guppi_object_build_widget): Add a
	cast for the 2nd arg of our call to item_init.
	(guppi_object_view): Return a gpointer instead of
	GuppiElementView*.

	* libguppitank/guppi-object.h: Don't #include any libguppi
	headers, and remove any reference to libguppi types.  Return a
	gpointer instead of a GuppiElementView* from build and pass a
	GnomeCanvasItem* to item_init instead of a GuppiCanvasItem*.

	* configure.in: Bump our version number to 0.40.2 and our soname
	to 15.

	* src/libguppiplot/guppi-element-view.c
	(guppi_element_view_changed_size): Only emit 'changed_size' if the
	new size != our current size.

	* src/libguppiuseful/guppi-hash.c (guppi_hash_raw): Added parens
	around a ^.

2001-11-19  Jon Trowbridge  <trow@gnu.org>

	* Makefile.am: Comment out stuff related to our old .desktop file.

	* libguppitank/guppi-object-barchart.c (build_bar_data): Added a
	cast to get rid of a compiler warning.

	* src/libguppiplot/Makefile.am: Added Guppi.spec back to the
	build.  This way, someone will tell me if they don't work.
	(libguppiplotinclude_HEADERS): I'd forgotten to add
	guppi-config-dialog.h.

	* src/libguppiplot/guppi-layout-engine.c
	(guppi_layout_engine_remove_geometry): Removed unused variables.
	(guppi_layout_engine_remove_geometry_rules): Removed unused
	variables.

	* src/libguppiplot/guppi-root-group-view.c
	(guppi_root_group_view_destroy): Removed references to old
	config-related code.

	* src/libguppiplot/guppi-root-group-view.h: Removed reference
	to (now-deleted) guppi-configure.h.

	* src/boilermaker.pl: Fixed the quoting we use for include files
	in generated headers.  Also changed how we make opaque objects,
	changing from "gpointer & a priv macro" to "FooPrivate ->priv".

	* src/libguppiplot/guppi-canvas-group.c: Included a missing header
	to silence a compiler warning.

	* plug-ins/plot/guppi-axis-state.c
	* plug-ins/plot/guppi-axis-view.c
	* plug-ins/plot/guppi-frame-state.c
	* plug-ins/plot/guppi-pie-state.c
	* plug-ins/plot/guppi-scatter-state.c
	* src/libguppiplot/guppi-root-group-view.c
	* src/libguppiplot/guppi-root-group-tools.c
	* src/libguppiplot/guppi-element-view.c
	* src/libguppiplot/guppi-group-view.c
	* src/libguppiplot/guppi-element-state.c: Removed old
	configuration code.  Added code related to GuppiConfigModel.

	* src/libguppiuseful/guppi-config-dialog.c
	(guppi_config_dialog_new): Turns a GuppiConfigModel into a
	manipulable dialog.

	* src/libguppiuseful/guppi-config-model.c: Added.  A container for
	configuration information.
	
	* src/libguppiuseful/guppi-config-item.h
	* src/libguppiuseful/guppi-config-item.c
	* src/libguppiuseful/guppi-configure.h
	* src/libguppiuseful/guppi-configure.c: Removed.

2001-11-18  Jon Trowbridge  <trow@gnu.org>

	* build-tools/gen-scm.pl (c_include): More include quoting.

	* src/libguppiplot/build-rule-predef-h.pl: Fix include quoting.

	* src/libguppiplot/build-layout-h.pl: Fix include quoting
	in generated header file.

	* Makefile.am: Remove the .desktop file from the distributed
	files, since we don't ship any application right now.

	* configure.in (LIBGUPPI_INCLUDEDIR): Fixed include dir so that
	the libguppi/ prefix is mandatory when including libguppi headers.
	(The situation remains the same w/ libguppitank headers, though.)

	* plug-ins/plot/pricebars/guppi-pricebars-view.c: Removed a bunch
	of dead code having to do with enforced preferred views, back from
	before we were able to do that in a generic fashion.
	(preferred_range): Make our preferred x-range a function of the
	'preferred_days' attribute, rather than having it just correspond
	to the whole time series.

	* plug-ins/plot/pricebars/guppi-pricebars-state.c
	(guppi_pricebars_state_init): Add 'preferred_days' attribute, an
	integer which records how many days from the end of the time
	series we want to see in our preferred view.

	* plug-ins/plot/text/guppi-text-item.c (render): If our 'gradient'
	flag is set, render the text in a gradientized fashion.  Pure eye
	candy.

	* plug-ins/plot/text/guppi-text-state.c (guppi_text_state_init):
	Added 'gradient' and 'color_final' attributes.

	* src/libguppiplot/guppi-canvas-group.c (position_subitem): Make
	sure our canvas coordinate are properly sorted before using them
	to set our bounding boxes.  This fixes a bunch of off-by-one
	errors in the layout.

	* src/libguppiplot/guppi-element-view.c
	(guppi_element_view_force_preferred_view): Keep track of whether
	or not any of our axes are being forced to the preferred view.
	(vi_changed): If the changes axis isn't being forced to the
	preferred view, but some other axis is, launch an idle function
	that will enforce all preferred views.  This causes things to
	change correctly when one axis has a forced view that is a
	function of another axis, and the second axis changes.
	(guppi_element_view_finalize): Remove any pending view enforcement
	from vi_changed.

	* src/libguppiplot/guppi-view-interval.c
	(guppi_view_interval_init): Set our min, max, and min_width
	parameters to reasonable defaults.
	(guppi_view_interval_set): Enforce our min, max and min_width.
	(guppi_view_interval_set_bounds): Added.  Sets min and max.
	(guppi_view_interval_clear_bounds): Added.  Resets min and max to
	+/- infinity.
	(guppi_view_interval_set_min_width): Added.
	(guppi_view_interval_translate): Enforce min and max bounds.

	* src/libguppiplot/guppi-axis-markers.c
	(guppi_axis_markers_populate_scalar_log): If the min and the max
	are sufficiently close together (i.e. within one factor of the
	base) fall back to using the 'linear' scalar axis markers
	algorithm.
	(populate_dates_quarterly): Label every month with the first
	character in the month's name.  I'm not sure if I like this, but
	it sucks less that what I was doing before.
	(populate_dates_yearly): Don't label every year if we are choosing
	markers for large periods.
	(guppi_axis_markers_populate_dates): Tweak the parameters slightly
	to get a more aesthetic result.

	* src/libguppiplot/guppi-alpha-template.c
	(guppi_alpha_template_gradient_print): Yes, GuppiAlphaTemplates
	are deprecated, but that doesn't mean we still can't have some fun
	with them.  This lets us copy templates into buffers in a
	"gradientized" fashion.  For now, the 'start' parameter is
	ignored.

	* src/libguppidata/guppi-date-indexed.c (get_size_info): Added some
	default size info for GuppiDateIndexed objects.

	* src/libguppidata/guppi-seq.c (import_xml): Properly chain on the
	parent class.

	* src/libguppidata/guppi-data.c (guppi_data_new): Changed the
	class validation warning message to read "Class 'foo' is not fully
	specified".  Calling it "invalid" seemed to freak people out.
	Also, we store the plug-in's code in the GuppiDataClass, so that
	we can use it when exporting xml.
	(guppi_data_export_xml): Use the plug-in code for the Type
	property.
	(guppi_data_import_xml): Don't free the type_name until we know
	we don't need it for any warning messages.

	* src/libguppiuseful/guppi-useful.c: Stripped out the
	initialization code and put it into guppi-useful-init.c.  This
	file is now empty.
	
	* src/libguppiuseful/guppi-useful-init.c: Added, for symmetry with
	the other sublibraries.  This now contains the libguppiuseful
	initialization code.

2001-11-16  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiuseful/guppi-attribute-widget.c: Added.  Handles the
	details of binding attribute bags to attribute widgets.

	* plug-ins/plot/pie/Makefile.am (plugin_DATA): Added
	guppi-pie-state-config.glade.

	* plug-ins/plot/pie/guppi-pie-state-config.glade: A skeletal glade
	file for pie config info.

	* plug-ins/plot/pie/guppi-pie-state.c (config_widget): Removed a
	lot of old config code, replaced it with this snippet of code.

	* plug-ins/plot/text/guppi-text-state.c (guppi_text_state_init):
	Fix outline_width's attribute type.

	* plug-ins/plot/axis/guppi-axis-view.c
	(guppi_axis_view_label_shrink_to_fit_factor): If we are thrashing
	excessively, don't assert.  Instead, just abort and use whatever
	scale we tried last.

	* configure.in: Inject gnome-1.0 into the header install dir.
	Build makefiles compass-box, image and pricebars.

	* plug-ins/plot/Makefile.am: Added pricebars, image and
	compass-box to the build.

	* plug-ins/plot/pricebars/guppi-pricebars-print.c: Ported to
	revised framework. (Finally!)

	* plug-ins/plot/pricebars/guppi-pricebars-item.c: Ported to
	revised framework.

	* plug-ins/plot/pricebars/guppi-pricebars-view.c: Ported to
	revised framework.

	* plug-ins/plot/pricebars/guppi-pricebars-state.c: Ported to
	revised framework.

	* plug-ins/plot/image: Added.

	* plug-ins/plot/compass-box: Added.

	* src/*/Makefile.am: Changed header install path to start with
	PREFIX/include/gnome-1.0.

	* src/demo.c: Various cleanups.  Added image and compass-box
	samples.

	* src/libguppiuseful/guppi-paths.h: Whitespace.

	* src/libguppiuseful/guppi-metric-entry.c (write_value): Added.
	(guppi_metric_entry_set_pt_value): Push new pt values to the
	widget.
	Also lots of whitespace fixes.

	* src/libguppiuseful/guppi-hash.c (guppi_hash_raw): Fairly
	pointless optimization.

	* src/libguppiuseful/guppi-attribute-flavor.c: Added lots of
	machinery for producing widgets that are bound to attributes.

	* src/libguppiuseful/guppi-attribute-bag.c
	(guppi_attribute_bag_get_flavor): The contents of attr_hash are
	GuppiAttributes, not GuppiAttributeFlavorInfos.  Thinking
	otherwise caused much unhappiness and many segfaults.

	* src/libguppiplot/guppi-pixbuf-stock.c: Removed spew.

	* src/libguppiplot/guppi-layout-engine.c
	(guppi_layout_engine_remove_rule): Don't unref the rule until
	we're done with it.
	(guppi_layout_engine_remove_geometry_rules): Added.
	(guppi_layout_engine_remove_geometry): Changed to call
	guppi_layout_engine_remove_geometry_rules.

	* src/libguppiplot/guppi-element-state.c
	(guppi_element_state_config_widget): Provisionally added.
	(guppi_element_state_new): Don't allow the empty string as a type.
	
	* src/libguppiplot/guppi-canvas-item.c: Whitespace fixes.

	* src/libguppiplot/guppi-chart-plug-in.c: Added.

	* src/libguppiplot/guppi-chart.c: Added.  Fairly experimental.

2001-11-08  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/scatter/guppi-scatter-item.c (gather_pairs_cb):
	Changed to render GuppiPixbufs.

	* plug-ins/plot/scatter/guppi-scatter-state.c
	(guppi_scatter_state_get_point_pixbuf): Renamed and changed to use
	GuppiPixbufs.

	* configure.in: Added orbit's cflags/libs for guppi-gnumeric.

	* src/libguppiuseful/guppi-hash.c (guppi_hash_int): Fixed sizeof.
	(guppi_hash_uint): Added.

2001-11-07  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiuseful/guppi-hash.c (guppi_hash_to_uint): Added.

	* src/libguppiplot/guppi-marker.c: Hacked to be able to use
	GuppiPixbufs as well as GuppiAlphaTemplates for markers.  This is
	transitional --- GuppiAlphaTemplates are being phased out.

	* src/libguppiplot/guppi-pixbuf-stock.c: Added.  Generates
	GuppiPixbuf versions of circles, squares, etc.

	* src/libguppiplot/guppi-pixbuf.c: Added.  Wraps gdk-pixbuf
	with some guppi-specific extensions.

2001-10-30  Jody Goldberg <jgoldberg@home.com>

	* acconfig.h (GUPPI_GNUMERIC_SHLIB) : add.
	* configure.in (GUPPI_GNUMERIC_SHLIB) : add.

2001-10-24  Jon Trowbridge  <trow@gnu.org>

	* configure.in: Bump up the version number to 0.40.1.  Don't
	generate Makefiles for stuff we've dropped from the build.

2001-10-19  Jody Goldberg <jgoldberg@home.com>

	* src/Makefile.am : remove libguppibonobo because it is useless.

2001-10-18  Jon Trowbridge  <trow@gnu.org>

	* configure.in: Change version number to 0.40.0.

2001-10-18  Jody Goldberg <jgoldberg@home.com>

	* src/libguppiplot/guppi-raster-text.c (guppi_raster_text_text) :
	  result needs to be freed.

	* plug-ins/plot/legend/guppi-legend-item.c (update) : this is the only
	  caller.  Free the memory.

2001-10-18  Jon Trowbridge  <trow@gnu.org>

	* src/libguppispecfns/incbet.c (incbd): s/k6/kk6/, s/k7/kk7/ to
	work around incredibly broken behavior of compiler #define-ing k6
	or k7 when building on AMD machines.

2001-10-18  Valek Filippov  <frob@df.ru>

	* plug-ins/import/import-delimited/delim-import-widget.c:
	    added xgettext comments about "ttl", "pre" and "pst".

2001-10-16  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/linegraph/guppi-linegraph-item.c (update): Be
	graceful if item->path == NULL.

2001-10-15  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/axis/guppi-axis-print.c (print): Use
	guppi_axis_view_label_shrink_to_fit_factor and
	guppi_axis_view_tick_properties.

	* plug-ins/plot/axis/guppi-axis-item.c (prepare_labels): Use
	guppi_axis_view_label_shrink_to_fit_factor and
	guppi_axis_view_tick_properties.
	(render): Use guppi_axis_view_tick_properties.  Remove the old
	code that tried to deal with partially obscured labels by shifting
	them.  This approach sucked.

	* plug-ins/plot/axis/guppi-axis-view.c
	(guppi_axis_view_tick_properties): Added.  Like
	guppi_axis_state_tick_properties (which it calls), except that it
	takes the view into account and hides marker labels that would
	fall partially off the display.
	(guppi_axis_view_label_shrink_to_fit_factor): Added.  Computes the
	extent to which we need to shrink labels in order to keep them
	from overlapping one another and otherwise causing problems.

	* plug-ins/plot/axis/guppi-axis-state.c (guppi_axis_state_init):
	Turn "shrink_labels_to_fit" on by default.

	* plug-ins/plot/barchart/guppi-barchart-view.c
	(update_axis_markers): Mark row axis labels as "critical".

	* src/libguppiplot/guppi-element-view.c
	(guppi_element_view_axis_markers): Sort axis markers before
	returning.

	* src/libguppiplot/guppi-axis-markers.c (guppi_axis_markers_sort):
	Added.
	(guppi_axis_markers_add): Reset sorted flag.
	(guppi_axis_markers_add_critical): Added.  A stupid cut&paste of
	guppi_axis_markers_add.

	* src/libguppiuseful/guppi-useful.c: Added.  Gadget for computing
	hash values in a nice way.

2001-10-14  Christian Meyer  <chrisime@gnome.org>

	* AUTHORS: Corrected my email address.

2001-10-14  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

	* configure.in: Added "sk" to ALL_LINGUAS.

2001-10-13  Jon Trowbridge  <trow@gnu.org>

	* AUTHORS: Updated.

2001-10-12  Jody Goldberg <jgoldberg@home.com>

	* src/libguppiuseful/guppi-enums.c (guppi_str2compass) : Accept sides
	  as aliases for compass points.

2001-10-12  Jody Goldberg <jgoldberg@home.com>

	* configure.in : bump Gnumeric_Graph idl version again.

2001-10-12  Jon Trowbridge  <trow@gnu.org>

	* src/python-server/Makefile.am: s/GUILE_LDFLAGS/GUILE_LIBS/ (rlb)

	* src/libguppiuseful/guppi-guile.c: Fixed cwdr-no-unwind to
	work with guile 1.3.4, 1.4, 1.5 or 1.6. (rlb)

	* configure.in: Various changes to improve the build w.r.t.
	guile. (rlb)

	* src/libguppiuseful/gnan.c (gnan_init): Add new hack for
	generating NaN, suggested by Morten Welinder.

	* plug-ins/plot/axis/guppi-axis-item.c
	(guppi_axis_item_class_init): Allow per-axis dragging/scaling by
	default.

	* plug-ins/plot/linegraph/guppi-linegraph-item.c (render): If we
	have enough points, don't use libart -- connect the dots with a
	faster, uglier algorithm.
	(update): Only construct the ArtSVPPath for paths with few lines.

2001-10-11  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-axis-markers.c
	(guppi_axis_markers_populate_scalar): Don't freak out if our
	request has pos_min >= pos_max.

	* src/libguppiplot/guppi-element-view.c (changed_state): Try to
	set the preferred view if our current view interval is
	pathological.

	* src/demo.c (main): Check if we are in guppi3/src; print a
	warning and terminate if we aren't.
	(layout_elements): Use our barchart demo.

	* plug-ins/plot/linegraph/guppi-linegraph-state.c
	(guppi_linegraph_state_init): Cut default width in half.

	* plug-ins/plot/linegraph/guppi-linegraph-view.c (view_init):
	Added axis markers.
	(preferred_range): Added a simple preferred view.

	* plug-ins/plot/linegraph/guppi-linegraph-item.c
	(guppi_linegraph_item_class_init): Add a basic set of tools.

	* src/libguppiplot/guppi-root-group-item.c
	(guppi_root_group_item_class_init): Disable right-click
	configuration until such time that it sucks a whole lot less.

	* plug-ins/plot/axis/guppi-axis-print.c (print): Set the color
	properly before drawing the edge.

	* plug-ins/plot/axis: Fixed copyrights, removed dead code, etc.

2001-10-10  Jon Trowbridge  <trow@gnu.org>

	* configure.in: Fix library order in LIBGUPPI_LIBS.
	(GUPPI_CURRENT): Incremented. 
	Fixed to make build work if only static python libs are
	available.

	* src/libguppiplot/guppi-group-view.c
	(guppi_group_view_compare_z): Added.
	(guppi_group_view_raise): Added.
	(guppi_group_view_raise_to_top): Added.
	(guppi_group_view_sink_to_bottom): Added.  This is a new api for
	controlling the z-axis/layering of group elements.

	* configure.in (STANDARD_LDFLAGS): Added $(GNOME_PRINT_LIBS).
	Added the linegraph Makefile to AC_OUTPUT.

2001-10-09  Jody Goldberg <jgoldberg@home.com>

	* plug-ins/plot/legend/guppi-legend-item.c (update) : Handle
	  empty strings without crashing.

2001-10-08  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/barchart/guppi-barchart-view.c
	(update_axis_markers): Use percentages as our numeric axis markers
	when showing normalized stacks.
	(guppi_barchart_view_bar_position): Properly position stacked
	bars.

	* plug-ins/plot/barchart/guppi-barchart-state.c
	(guppi_barchart_state_bar_info): Deal with normalized stacks.

	* plug-ins/plot/legend/guppi-legend-view.c (changed_state):
	Recompute our legend's size on state changes.

	* src/libguppiplot/guppi-element-view.c (changed_state): Check if
	we need to force preferred views on a state change.

	* libguppitank/Makefile.am (INCLUDES): Fixes for builddir !=
	srcdir build.

	* libguppitank/guppi-object-barchart.c: Remove reference to
	guppi-seq-data.h.  Fix copyright.

	* configure.in: Build w/ gnumeric support by default.  Require
	bonobo 1.0.8, gnome-print 0.28, gdk-pixbuf 0.11.  Require gnumeric
	idl from 0.71.

	* src/libguppibonobo/guppi-bonobo.c (guppi_bonobo_destroy): #if
	0/#endif out this (unused) function.

	* src/libguppibonobo/guppi-bonobo-view.c: Remove reference to
	guppi-bonobo-canned-demo.h.

	* src/libguppiplot/guppi-element-view.c (vi_changed): Use our
	stored ids to block/unblock the signals.

2001-10-07  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-text-block.c (guppi_text_block_set_font):
	Unset the maximum width when our font changes.

	* src/Makefile.am (SUBDIRS): Removed libguppitank.

	* Makefile.am (SUBDIRS): Added libguppitank.

	* configure.in: Fixed libguppitank.

	* src/libguppiuseful/guppi-paths.c (development_path_hacks): Don't
	force our path hacks when running from inside of libguppitank.

	* src/libguppiplot/guppi-layout-rule-predef.c
	(guppi_layout_rule_new_same_horizontal_center): Added.
	(guppi_layout_rule_new_same_vertical_center): Added.
	(guppi_layout_rule_new_same_center): Added.

	* src/libguppiplot/guppi-root-group-item.c: Remove old, empty
	get_arg/set_arg functions.

	* src/libguppidata/guppi-data-table.c: Make the signature
	of GuppiDataTable's signals less annoying.

2001-10-06  Jon Trowbridge  <trow@gnu.org>

	* src/demo.c: Added a demo of our new, currently very lame &
	broken, line chart plug-in.

	* plug-ins/plot/barchart/guppi-barchart-view.c
	(guppi_barchart_view_bar_position): Add a warning that stacked
	barcharts are not yet supported.

	* src/libguppidata/guppi-data-table.c (validate_class): Added
	some class validation.  Better safe than sorry.

	* src/libguppidata/guppi-data.c (process_pending_op): Check that
	op->op is not NULL before trying to call it as a function.

2001-10-05  Jody Goldberg <jgoldberg@home.com>

	* configure.in : handle the version bump in
	  GNOME_Gnumeric_Graph::Mananager.

2001-10-06  Jon Trowbridge  <trow@gnu.org>

	* configure.in (GUPPI_GNUMERIC_MANAGER_VERSION): Check for
	version 3 of the gnumeric idl.

	* plug-ins/plot/linechart: Added.  A sketch of a line chart that
	observes the same coordinate conventions, etc. as the bar chart.
	Not complete -- just a barely functional shell of an
	implementation.

2001-10-04  Fatih Demir <kabalak@gtranslator.org>

	* configure.in: Added "tr" to the languages list.

2001-10-02  Jody Goldberg <jgoldberg@home.com>

	* guppi-gnumeric/Makefile.am : only create the stamp files if the idl
	  compile was successful.

2001-10-02  Jody Goldberg <jgoldberg@home.com>

	* guppi-gnumeric/guppi-gnumeric.c : some cut and paste support for
	  building as a shared library.  This is unlikely to work because of
	  guile for now.

2001-10-02  Jon Trowbridge  <trow@gnu.org>

	* src/boilermaker.pl: Clean-up.

	* plug-ins/plot/pie/guppi-pie-view.c (guppi_pie_view_max_radius):
	Make maximum radius smaller by an extra edge-width, to try to
	avoid rendering artifacts due to rounding error, etc.

	* src/libguppiplot/guppi-layout-rule-predef.c
	(guppi_layout_rule_new_flush_right): Fixed sign error in
	constraint definition.
	(guppi_layout_rule_new_flush_top): Fixed sign error in
	constraint definition.

2001-10-01  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/scatter/guppi-scatter-item.c (query_slack):
	Properly compute our 'marker slack' so that markers that straddle
	canvas refresh regions get rendered properly.

2001-10-01  Jody Goldberg <jgoldberg@home.com>

	* guppi-gnumeric/Makefile.am (CLEANFILES) : no need to use +=

	* src/libguppiuseful/Makefile.am (noinst_HEADERS) : automake 1.5
	  noticed that this was being set twice.

2001-10-01  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/scatter/guppi-scatter-item.c (gather_pairs_cb): We
	no longer need to manually center the templates before printing,
	since the base point stuff now works.

	* src/libguppiplot/guppi-alpha-template.c
	(guppi_alpha_template_print): Adjust display coordinates to center
	template on the base point.
	(guppi_alpha_template_auto_crop): Adjust base point when cropping.

	* src/libguppiplot/guppi-color-palette.c
	(guppi_attribute_flavor_color_palette): Adjusted to reflect change
	guppi_attribute_flavor_add_signal_to_forward API.

	* src/libguppiuseful/guppi-attribute-bag.c
	(attribute_callback_marshal_cb): Queue queued signals.
	(guppi_attribute_attach_signals): Handle queued signals.
	(guppi_attribute_detatch_signals): Handle queued signals.

	* src/libguppiuseful/guppi-attribute-flavor.c
	(guppi_attribute_flavor_add_signal_to_forward): Change function to
	allow forwarded signals to be flagged as queued.

	* src/libguppiuseful/guppi-attribute-flavor-private.h: Add
	definition of GuppiSignalsToForward struct.

	* src/libguppiplot/guppi-marker.c (template_triangle): Use
	guppi_alpha_template_new_triangle.
	(template_bar): Use guppi_alpha_template_new_bar.
	(template_half_bar): Use guppi_alpha_template_new_bar.
	(template_filled_diamond): Use
	guppi_alpha_template_new_filled_triangle.

	* src/libguppiplot/guppi-alpha-template.c
	(guppi_alpha_template_new_triangle): Added.
	(guppi_alpha_template_new_filled_triangle): Added.
	(guppi_alpha_template_new_bar): Added.

2001-09-30  Morten Welinder  <terra@diku.dk>

	* (HACKING): Use -f, not bash's -e.

2001-09-29  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-layout-rule-predef.c
	(guppi_layout_rule_new_vertically_adjacent): Fixed a sign error.

	* src/libguppiplot/guppi-element-view.c
	(guppi_element_view_connect_axis_markers): Always connect the view
	interval at the same time as the axis markers.  (Is there a case
	where we wouldn't want to do this?  I can't think of one.)

	* src/libguppidata/guppi-data-socket.c (our_type_check_fn): Always
	accept NULL data.

2001-09-28  Jody Goldberg <jgoldberg@home.com>

	* Makefile.am (SUBDIRS) : move guppi-gnumeric up here so that
	  libguppi can get built first.

	* configure.in : ditto.

	* src/Makefile.am (SUBDIRS) : remove it from here.

2001-09-28  Jon Trowbridge  <trow@gnu.org>

	OK, the party is over.  I'm going to start writing ChangeLog
	entries again.

	* configure.in: Change version to 0.35.666.  The release is
	drawing near.

	* src/libguppiplot/guppi-color-palette.c
	(guppi_color_palette_copy): Added.
	(guppi_color_palette_set): Added for Jody.  Allows one node in the
	palette to be changed, with copy-on-write if necessary.
	(guppi_color_palette_init): Set initial value for meta.
	(guppi_color_palette_set_raw): Use guppi_strdup.
	(guppi_color_palette_set_custom): If color is NULL, default to an
	all-black palette.

	* plug-ins/plot/legend/guppi-legend-state.c
	(guppi_legend_state_init): Make the labels data socket untyped.
	
2001-09-25  Jody Goldberg <jgoldberg@home.com>

	* configure.in : Adjust to the new versioned placement of include
	  files.  We need to explicitly mention glade now.

2001-09-12  Jody Goldberg <jgoldberg@home.com>

	* configure.in : remove XLplots plugin.

2001-09-11  Jody Goldberg <jgoldberg@home.com>

	* configure.in : reflect name change for gnumeric idl file.

2001-09-01  Jody Goldberg <jgoldberg@home.com>

	* configure.in : Make the gal and canvas pixbuf req gnumeric specific

2001-08-17  Jody Goldberg <jgoldberg@home.com>

	* configure.in : Add IDL_FLAGS.  Update Gnumeric checks to test for
	  a specific version of the idl file.  Expand a few extra variables
	  to make the gnumeric tests for centralized.  Clone some code out of
	  gtkhtml to begin support for a shared lib based factory for
	  guppi-gnumeric.  Fix the creation of the oaf files.

	* src/guppi-gnumeric/* : fight bitrot.

2001-07-09  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/text/guppi-text-state.c (prepare_attributes):
	Added chaining.
	(set_attributes): Added chaining.

	* src/libguppiuseful:
	* src/libguppidata: Reorganized header files #includes
	for greater correctness.
	
	* src/libguppiplot/guppi-group-view.c (custom_xml_export): Added.
	Export info about subobjects.

	* src/libguppiplot/guppi-root-group-view.c
	(guppi_root_group_view_new): Added.  Removes need to create
	degenerate state object.

	* src/libguppiplot/guppi-element-view.c
	(guppi_element_view_export_xml): Added.
	(guppi_element_view_import_xml): Added. (Still FIXMEd)
	(guppi_element_view_spew_xml): Added.

	* src/libguppiplot/guppi-element-state.c
	(guppi_element_state_export_xml): Updated; changed semantics of
	custom export to allow multiple nodes.

	* src/libguppiuseful/guppi-unique-id.c (guppi_uniq2str): Changed
	to return an allocated string.

	* src/libguppiuseful/guppi-attributes.c
	(guppi_attributes_export_xml): Return NULL if the attribute table
	is empty.

2001-06-14  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-geometry.c: Fixed some typos resulting
	from my adding of inline API docs. (Thanks Jon Kare.)

2001-06-12  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-geometry.c: Added inline API docs.

2001-06-08  Jon Trowbridge  <trow@gnu.org>

	* configure.in (GNOMECANVASPIXBUF_LIBS): Fix in gnomecanvaspixbuf
	check.  Thanks to Benoit Pelletier.

2001-06-05  Jon Trowbridge  <trow@gnu.org>

	* src/libguppibonobo/guppi-bonobo.c
	(guppi_bonobo_canned_demo_init): Added "void" as function arg.
	(All of these are due to gmorten.)

	* src/libguppiuseful/guppi-python.c (guppi_python_module_init):
	Added "void" as function arg.

	* src/libguppiuseful/guppi-multiview.c (guppi_multiview_new):
	Added "void" as function arg.

	* src/libguppiuseful/guppi-splash.c (gtk_catchup): Added "void"
	as function arg.

	* src/python-server/gnome-python-repl.c (init_readline): Added
	"void" as function arg.

	* src/libguppiuseful/guppi-unique-id.c (init_unique_id): Added
	"void" as function arg.

2001-06-04  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiuseful/guppi-unique-id.c (init_unique_id): Changed
	to use /dev/urandom rather than /dev/random, on a suggestion from
	Richard Braakman <dark@xs4all.nl>.
	(guppi_unique_id): Forgot to make the "initialized" flag static.
	It must have been pretty late when I originally wrote that code...

2001-06-02  Jon Trowbridge  <trow@gnu.org>

	* configure.in: Notify the user if the API docs will be built.

	* src/libguppidata/guppi-seq.c: Added embedded API docs.

	* src/libguppidata/guppi-seq-scalar.c: Added embedded API docs.

	* src/libguppidata/guppi-seq-boolean.c: Added embedded API docs.

	* src/libguppidata/guppi-data-impl.c: Fixed copyright notice.

2001-06-01  Jon Trowbridge  <trow@gnu.org>

	* src/libguppidata/guppi-seq-scalar.c (guppi_seq_scalar_ordering):
	Added.  Compute whether a sequence is increasing/decreasing.
	(changed): Reset have_ordering flag on changes.

	* plug-ins/plot/pricebars/guppi-pricebars-item.c (update): Removed
	some debugging spew.

	* src/libguppidata/guppi-seq-scalar.c: Added embedded
	documentation.

2001-05-31  Jon Trowbridge  <trow@gnu.org>

	* src/libguppimath/Makefile.am: Fix race condition (related to
	lex/yacc) that can cause parallel builds to fail.

	* plug-ins/plot/pricebars/guppi-pricebars-item.c (update): Cache
	the entire series in local buffers.
	(render): Heavilty optimized.  The update routine is split into
	two different rendering algorithms: one is for the general case
	and one is for the "small N" case.

	* plug-ins/plot/linegraph/guppi-linegraph-print.c (print): Fixed
	for new API.

	* plug-ins/plot/linegraph/guppi-linegraph-item.c (update): For
	smallish paths, use libart to stroke a wide AA line.  Otherwise,
	use the non-AA 1-pixel-think routine.

	* plug-ins/plot/linegraph/guppi-linegraph-view.c
	(build_date_series): Optimized.
	(build_curve): Now called guppi_curve_approximate_to_path, as it
	should, for adaptive sampling.

	* plug-ins/data_impl/price_series/guppi-price-series-core-impl.c:
	Implemented core functions in terms of revised API.

	* plug-ins/data_impl/date_series: Fixed API, made everything
	const-correct, optimizations.

	* plug-ins/data_impl/curve/func.c (v_curve_get): Get rid of call
	to a _01 function.  This should be changed to work with unbounded
	curves.

	* plug-ins/data_impl/curve/poly.c: Changed to use GuppiPolynomial.
	More complex analysis yields better efficiency.
	
	* plug-ins/data_impl/curve: Added the skeleton of an "interpolate"
	curve plug-in.

	* src/libguppispecfns/gamma.c: Changed to use G_INFINITY and the
	related functions.

	* src/libguppispecfns/unity.c: Changed to use G_INFINITY and the
	related functions.

	* src/libguppidata/guppi-seq-impl.c: Changed a /** to /*.

	* src/libguppidata/guppi-price-series.h:
	* src/libguppidata/guppi-price-series.c:
	* src/libguppidata/guppi-price-series-impl.c: Simplified, improved
	API.

	* src/libguppidata/guppi-date-series.h: 
	* src/libguppidata/guppi-date-series.c: 
	* src/libguppidata/guppi-date-series-impl.h: Made API
	const-correct.

	* src/libguppidata/guppi-curve-impl.h: Added approx_to_path to
	vtable.

	* src/libguppidata/guppi-curve.c: Removed the "01" part of the API,
	so that we can handle unbounded curves properly.  
	(guppi_curve_approximate_to_path): Added function arguments.  We
	use the extra information for further optimizations.

	* src/libguppidata/guppi-data.c (guppi_data_newv_by_type): Properly
	hook up signals to our impl.
	(guppi_data_new): Properly hook up signals to our impl.
	(guppi_data_newv): Properly hook up signals to our impl.
	Also added embedded gtk-docs.

	* src/libguppiuseful/guppi-polynomial.c: Lots of changes.  First
	of all, the whole thing has been objectified.  Added
	guppi_polynomial_approximate_path and
	guppi_polynomial_find_bounded_range.  Many small fixes and
	optimizations.
	
	* src/libguppiuseful/gnan.c (g_isinf): Added.  Currently not
	portable.
	(g_finite): Added.  Currently not portable.  Also, introduced
	G_NAN, rather than using NAN.  Added G_INFINITY.

	* src/libguppiuseful/guppi-rgb.c (guppi_paint_wide_curve): Cleaned
	up code, added clipping.

2001-05-25  Christian Stimming  <stimming@tuhh.de>

	* src/libguppitank/demo.c: Tested the new barchart options -
	hrmpf, in here everything works fine. GnuCash does segfault,
	though :(

	* src/libguppitank/guppi-object-barchart.[hc]: Added option for
	x-axis and y-axis labels. However, this gives only segfaults so
	far. What's wrong?!?

	* src/libguppitank/guppi-object-pie.c: Added missing font option.

2001-05-14  Christian Stimming  <stimming@tuhh.de>

	* *.cvsignore: ignore *.defs, ignore executables

2001-05-12  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiuseful/guppi-polynomial.c: Added a whole bunch of
	useful functionality: fairly good root-finding, ability to
	efficiently find min/max over a range, etc.

	* configure.in: Bumped version number.

2001-05-08  Jon Trowbridge  <trow@gnu.org>

	* src/libguppidata/guppi-date-series.c
	(guppi_date_series_class_init): Forgot to properly set
	import_xml_element in the vtable.  Doh.
	(import_xml_element): Fixed typo in first argument type.

	* configure.in: Added --enable-explicit-python-linking argument.

	* src/libguppiuseful/guppi-xml.h: Defined some macros for backwards
	compatibility with old libxmls.

	* src/libguppiuseful/guppi-enums.c: Added a little documentation.
	Mostly as a test.

	* src/libguppiuseful/guppi-enums.h: Fixed enums for gtk-doc.

	* src/libguppidata/guppi-data.c: Fixed comment to not start with
	/**, for gtk-doc.

2001-05-06  Jon Trowbridge  <trow@gnu.org>

	* Everywhere: Removed stray instances of /** ... that had ended
	up in the sources and which were giving gtk-doc fits.

	* src/libguppiplot/guppi-canvas-item.h: Cleaned ups related to
	docs.

	* src/libguppiplot/guppi-canvas-item.c: Added a bunch of embedded
	docs.

2001-05-05  Jon Trowbridge  <trow@gnu.org>

	* Added a whole bunch of build fixes.

	* src/guppi/Makefile.am: Took out app_scm and its broken old-style
	guile bindings.

	* src/guppi/guppi.c: Removed app_scm dependency.

	* configure.in: Remove guppi-api's Makefile line.

	* src/libguppispecfns/const.c: Don't try to define our own NAN;
	use the more portable stuff from gnan.c instead.

	* src/libguppispecfns/unity.c: Use NAN from gnan.c.

	* src/libguppispecfns/gamma.c: Use NAN from gnan.c.

2001-05-04  Jon Trowbridge  <trow@gnu.org>

	* src/libguppidata/guppi-data.c (guppi_data_read_xml_file): If we
	can't read the file, return NULL.  We should have been doing this
	all along.

	* src/libguppiuseful/guppi-xml.c (guppi_xml_document_read_file):
	Do the right thing if the file isn't found or otherwise can't be
	parsed.  This code is still very broken w.r.t. how it handles
	namespaces.

	* src/guppi/guppi-app.c (guppi_app_load_visited_files): Remove
	debug spew.

	* src/guppi-gnumeric/Makefile.am
	(GNUMERIC_GRAPHS_CORBA_GENERATED): Only define this variable if we
	are actually building with gnumeric support.  Otherwise "make
	dist" fails if we don't enable gnumeric support at configure time.
	(And "make distcheck" always fails, since gnumeric support isn't
	the default...)

	* plug-ins/plot/*.defs: Removed all of the old .defs files,
	which are now generated from the .defs.in files.

2001-05-04  Mathieu Lacage  <mathieu@gnu.org>

	Fix misc builddir != srcdir problems.
	* Makefile.am:
	* build-tools/Makefile.am:
	* python-modules/Guppi/Makefile.am:
	* python-modules/Guppi/data_impl/Makefile.am:
	* python-modules/Guppi/plot/Makefile.am:
	* src/guppi-gnumeric/Makefile.am:
	* src/guppi/Makefile.am:
	* src/libguppidata/Makefile.am:
	* src/libguppidataui/Makefile.am:
	* src/libguppieval/Makefile.am:
	* src/libguppiplot/Makefile.am:
	* src/libguppiplot/guppi-canvas-item.h:
	* src/libguppiplot/guppi-chart-type.h:
	* src/libguppiplot/guppi-geometry.h:
	* src/libguppiplot/guppi-group-view.h:
	* src/libguppiplot/guppi-marker.h:
	* src/libguppiplot/guppi-shared.h:
	* src/libguppistat/Makefile.am:
	* plug-ins/data_impl/category/Makefile.am:
	* plug-ins/data_impl/curve/Makefile.am:
	* plug-ins/data_impl/date_series/Makefile.am:
	* plug-ins/data_impl/price_series/Makefile.am:
	* plug-ins/data_impl/seq_boolean/Makefile.am:
	* plug-ins/data_impl/seq_date/Makefile.am:
	* plug-ins/data_impl/seq_integer/Makefile.am:
	* plug-ins/data_impl/seq_object/Makefile.am:
	* plug-ins/data_impl/seq_scalar/Makefile.am:
	* plug-ins/data_impl/seq_string/Makefile.am:
	* plug-ins/data_impl/struct/Makefile.am:
	* plug-ins/import/net-hist-quotes/Makefile.am:
	* plug-ins/plot/XLplots/Makefile.am:
	* plug-ins/plot/axis/Makefile.am:
	* plug-ins/plot/barchart/Makefile.am:
	* plug-ins/plot/boxplot/Makefile.am:
	* plug-ins/plot/frame/Makefile.am:
	* plug-ins/plot/legend/Makefile.am:
	* plug-ins/plot/linegraph/Makefile.am:
	* plug-ins/plot/pie/Makefile.am:
	* plug-ins/plot/pricebars/Makefile.am:
	* plug-ins/plot/scatter/Makefile.am:
	* plug-ins/plot/slinreg/Makefile.am:
	* plug-ins/plot/text/Makefile.am:
	* plug-ins/plot/xybox/Makefile.am:

	move .defs to .defs.in so that the .plugin variable in
	the files are replaced by a full path. This allows you
	to regenerate the binding code when builddir != srcdir.
	* plug-ins/plot/boxplot/guppi-boxplot.defs.in:
	* plug-ins/plot/axis/guppi-axis.defs.in:	
	* plug-ins/plot/barchart/guppi-barchart.defs.in:
	* plug-ins/plot/frame/guppi-frame.defs.in:
	* plug-ins/plot/legend/guppi-legend.defs.in:
	* plug-ins/plot/linegraph/guppi-linegraph.defs.in:
	* plug-ins/plot/pie/guppi-pie.defs.in:
	* plug-ins/plot/pricebars/guppi-pricebars.defs.in:
	* plug-ins/plot/root-group/guppi-root-group.defs.in:
	* plug-ins/plot/scatter/scatter.defs.in:
	* plug-ins/plot/slinreg/guppi-slinreg.defs.in:
	* plug-ins/plot/text/guppi-text.defs.in:
	* plug-ins/plot/xybox/guppi-xybox.defs.in:

2001-05-02  Mathieu Lacage <mathieu@gnu.org>

	- docs/developer-docs/libguppiplot: add this directory and 
	  all the files/directories included in it.
	- docs/deveoper-docs/fdl.sgml Makefile.fragment: add.
	- configure.in: add gtk-doc detection and Makefile for libguppiplot.

2001-05-04  Jon Trowbridge  <trow@gnu.org>

	* src/libguppistat/guppi-regression-polynomial.c
	(guppi_regression_polynomial_recalc): Finished implementing
	poly-regression algorithm.
	(guppi_regression_polynomial_get_polynomial): Added.  Actually get
	a polynomial object corresponding to the calculated model.
	(Cool, huh?)

	* src/libguppiuseful/guppi-polynomial.c
	(guppi_polynomial_export_xml): Adjusted calls to
	guppi_xml_set_propertyf to reflect the change in that function's
	arguments.

2001-05-03  Jon Trowbridge  <trow@gnu.org>

	* src/libguppidata/guppi-price-series.c (import_xml_element):
	Added type-generic XML import.

	* src/libguppidata/guppi-date-series.c (import_xml_element): Added
	type-generic XML import.

	* src/libguppidata/guppi-data.c (guppi_data_export_xml): 
	Fixed to pass impl to impl_class->set_attributes, not
	the corresponding data object.
	
	* configure.in: Add tests related to python linking, to try to
	determine if -lpython should be added to LIBGUPPI_LIBS in
	libguppiConf.sh.  Eventually pkg-config should save us all from
	this misery.  Fix XML checks to use gnome-config rather than
	looking for specific header files.

	* all the Makefile.am: Lots of fixes for the srcdir != builddir
	case.  We still can't make distcheck properly, though.  Damn.

	* plug-ins/plot/pie/guppi-pie-state.c: Added code to import/export
	GuppiPieState as XML.  This is the first small step towards making
	plots XMLable

	* plug-ins/plot/text/guppi-text-state.c: Removed some old
	experimental XML code.

	* plug-ins/import/net-hist-quotes/guppi-net-hist-quotes.c
	(save_to_cache): Use new XML framework to cache quote data.

	* src/libguppiplot/guppi-gsml.c: Fixed includes.

	* src/libguppiplot/guppi-canvas-item.h:
	* src/libguppiplot/guppi-canvas-item.c: Removed broken XML code.
	We probably won't need to serialize these items anyway...
	
	* src/libguppiplot/guppi-element-view.h: 
	* src/libguppiplot/guppi-element-view.c: Added XML import/export
	framework similar to that used by GuppiData.
	
	* src/libguppiplot/guppi-element-state.h: 
	* src/libguppiplot/guppi-element-state.c: Added XML import/export
	framework similar to that used by GuppiData.

	* src/libguppidata/guppi-category.c:	
	* src/libguppidata/guppi-price-series.c:	
	* src/libguppidata/guppi-date-series.c:	
	* src/libguppidata/guppi-date-indexed.c:	
	* src/libguppidata/guppi-struct.c:
	* src/libguppidata/guppi-seq-point.c:
	* src/libguppidata/guppi-seq-boolean.c:
	* src/libguppidata/guppi-seq-categorical.c:
	* src/libguppidata/guppi-seq-integer.c:
	* src/libguppidata/guppi-seq-string.c:
	* src/libguppidata/guppi-seq-scalar.c:
	* src/libguppidata/guppi-seq.c: Modified to use new XML system.
	Removed lots of old, broken, hard-to-understand code.  Replaced
	it with lots of clean, shiny, happy, fun code.

	* src/libguppidata/guppi-data-attribute.c: Added.  Allows GuppiData
	objects to be stored (and properly imported/exported) in a
	GuppiAttributes object.

	* src/libguppidata/guppi-data-impl-plug-in.c
	(guppi_data_impl_plug_in_construct_impl): Save the plug-in's code
	in the GuppiDataImplClass.

	* src/libguppidata/guppi-data-impl.h: Added implementation
	override hooks for XML import/export to GuppiDataImplClass.

	* src/libguppidata/guppi-data.c: Fixed old (broken) approach to
	XML import/export.  Removed lots of overly-complicated code.
	(build_impl_by_code): Added.
	(guppi_data_export_xml): Added.
	(guppi_data_import_xml): Added.
	The list of added/changes stuff goes on.  (This is a nominee in
	the "most vague ChangeLog entry of 2001" competition.)

	* src/libguppidata/guppi-data.h: Modified GuppiData
	and GuppiDataClass definitions, adding new virtual functions
	for the new, improved XML import/export.

	* src/libguppiuseful/guppi-xml.h:
	* src/libguppiuseful/guppi-xml.c: Added.  Convenience routines
	and encapsulation for dealing with XML documents & trees.

	* src/libguppiuseful/guppi-polynomial.h: 
	* src/libguppiuseful/guppi-polynomial.c: Added.  A polynomial
	object that is meant to be both efficient and correct.

	* src/libguppiuseful/guppi-attributes.h: 
	* src/libguppiuseful/guppi-attributes.c: Added.  An XML-streamable
	object that maps different types of data to string keys.

	* src/libguppiuseful/guppi-unique-id.c (guppi_unique_id): 
	Small tweaks to make the unique IDs "more unique".  They are,
	however, still not as unique as they could be.
	
	* src/libguppiuseful/guppi-rgb.c (guppi_str2color_rgba): Added
	code to deal with "#xxyyzz"-type color definitions.

	* src/libguppiuseful/guppi-python.h: Added an #include
	"guppi-guile.h" to work around a namespace collision.

	* src/libguppiuseful/guppi-memory.c: Removed a bunch of broken
	object auditting code.

	* src/libguppiuseful/guppi-debug.c (guppi_FIXME): Added.  A
	wrapper around g_assert_not_reached() that can easily be grepped
	for.

	* src/libguppiuseful/guppi-context-xml.c
	(guppi_context_xml_finalize): Added call to guppi_finalized.

	* src/libguppiuseful/guppi-context-xml.h: Changed to include
	gtk.h.

2001-04-26  Jon Trowbridge  <trow@gnu.org>

	* src/libguppieval/guppi-fit-slr.c: Hacked to use
	GuppiRegressionLinear rather than GuppiSimpleLinreg.

	* src/libguppistat/guppi-regression-polynomial.c: Polynomial
	regression, built on top of GuppiRegression2D.  Unfinished.

	* src/libguppistat/guppi-regression-linear.c: Simple linear
	regression, built on top of GuppiRegression2D.

	* src/libguppistat/guppi-regression2d.c: A base class for
	2d regression classes.  Handles ref counting, changed signals,
	etc.

2001-04-21  Christian Stimming  <stimming@tuhh.de>

	* configure.in: Added option --disable-bonobo.

	* src/libguppitank/guppi-object-barchart.[hc]: Added option to
	show the legend with reversed order. Added frame-view for the
	barchart so that horizontal rulers are shown.

2001-04-13  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-layout.c: Changed to use nicer
	matrix and vector routines.

	* src/libguppiuseful/guppi-matrix.c: Added.  Utility matrix
	routines.

	* src/libguppiuseful/guppi-vector.c: Added.  Utility vector
	routines.
	
2001-04-04  John Gotts  <jgotts@linuxsavvy.com>

	* Guppi.spec.in: Standard Red Hat Linux category.  Encoded current
	hierarchy.  Split devel stuff into -devel package.

2001-04-04  Jon Trowbridge  <trow@gnu.org>

	* src/libguppieval/guppi-var-data.c: Removed test code.

	* src/libguppieval/guppi-var-double.c: Removed test code.

	* src/libguppieval/guppi-var-int.c: Removed test code.

	* src/libguppieval/guppi-var-bool.c: Removed test code.

	* src/libguppieval/guppi-fit-slr.h: 
	* src/libguppieval/guppi-fit-slr.c: Added.  "Proof of concept" for
	GuppiCurveFit, implements simple linear regression in the new
	framework.

	* src/libguppieval/guppi-curve-fit.h:
	* src/libguppieval/guppi-curve-fit.c: Added.  "Control object"
	(not a base class, because you build up instances by connecting
	to its signals) for new curve-fitting framework.

	* src/libguppieval/guppi-parameters.h: 
	* src/libguppieval/guppi-parameters.c: Added.  A bag of GuppiVars.

	* src/libguppidata/guppi-data.c (guppi_data_set): Added.  A
	GuppiData version of gtk_object_set that forwards the arguments to
	the underlying implementation.
	(guppi_data_setv): Added.  A GuppiData version of gtk_object_setv.

	* plug-ins/data_impl/curve/poly.c (sample): Fix polynomial
	evaluation.
	(sample_uniformly): Fix polynomial evaluation.
	(guppi_curve_poly_impl_set_coefficient): Emit "changed" signal on
	coefficient changes.

2001-04-03  Jon Trowbridge  <trow@gnu.org>

	* src/guppi/guppi.c (real_main): Call guppi_eval_init ().

	* src/Makefile.am (SUBDIRS): Added libguppieval.

	* configure.in: Added libguppieval.

	* src/libguppieval: Added the first of my GuppiVar parameter
	code.

2001-04-02  Jon Trowbridge  <trow@gnu.org>

	* configure.in: Increment version to 0.35.4.  This should have
	been done after the last release.

2001-03-31  Jon Trowbridge  <trow@gnu.org>

	* Applied Christian Stimming's stacked-barcharts-in-guppitank
	patch.

2001-03-26  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiuseful/guppi-rgb.h: Changed some "uint"s to "guint"s
	in the UINT_RGBA_[RGBA] macros.

2001-02-26  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/axis/guppi-axis-item.c (prepare_labels): Be more
	careful about checking pointers before we dereference them.

	* src/libguppiplot/guppi-axis-markers.c (populate_dates_yearly):
	Removed (invisible) duplicate year labels.

2001-02-20  Rusty Conover  <rconover@zootweb.com>

	* src/libguppitank/guppi-object-title.c
	(update): New function, preform update function for title objects.
	(guppi_object_title_class_init): added update method to class structure

	* src/libguppitank/guppi-object-barchart.h: Added left_axis_view
	and bottom_axis_view to GuppiObjectBarchart.

	* src/libguppitank/guppi-object-pie.c
	(guppi_object_pie_set_arg): Fixed but when setting the
	ARG_COLORS_RGB opie-data was being freed when opie->colors_rgb was
	supposed to be freed.
	(guppi_object_pie_class_init): added update method to class
	structure
	(update): New function, preform update function for pie charts.
	Refactored pie chart object's build, added: pie_build_data,
	pie_build_labels, and pie_build_colors for generic construction
	routines.
	(build): refactored.

	* src/libguppitank/guppi-object-barchart.c (update): New function,
	preform update function for bar charts.  Refactored construction
	of bar object's build function, added: build_bar_data,
	build_bar_labels, build_bar_colors.
	(guppi_object_barchart_class_init): added update method to class
	structure.
	(build): refactored.

	* src/libguppitank/guppi-object.c (guppi_object_update): New API
	call, forces a GuppiObject to update itself since it data or
	parameters have changed.  This is to emulate the behavior of the
	data changing and the change signal emission.

	
	
2001-02-20  Michael Meeks  <michael@ximian.com>

	* configure.in: Check for bonobo >= 0.37

2001-02-20  Michael Meeks  <michael@ximian.com>

	* src/guppi-gnumeric/corba-graph-manager.c
	(graph_manager_get_type): upd.
	(manager_corba_object_create): kill.
	(graph_manager_new): upd.
	(manager_corba_object_create): kill.
	(corba_implementation_classes_init): move
	(graph_manager_class_init): here & upd.
	(impl_getTypeSelectControl): upd.

	* src/libguppidata/demo.c (main): add cast to
	kill warning.

	* src/libguppidata/guppi-seq-impl.c: include
	stdio.h for printf.

	* src/libguppidata/guppi-price-series.c: ditto
	for sscanf

	* src/libguppibonobo/guppi-bonobo-view.c
	(guppi_bonobo_view_factory): upd.

	* src/libguppibonobo/guppi-embeddable.c
	(guppi_bonobo_embeddable_construct): upd.
	(guppi_bonobo_embeddable_get_type): upd.

2001-02-03  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/text/guppi-text-view.c: Further adapted to use a
	GuppiTextBlock.

	* plug-ins/plot/text/guppi-text-state.c: Further adapted to use a
	GuppiTextBlock.

	* plug-ins/plot/text/guppi-text-print.c (print): Fixed to properly
	gnome-printify text blocks.

	* plug-ins/plot/slinreg/guppi-slinreg-item.c (update): Fixed rotated
	text in label.

	* src/libguppiplot/guppi-gsml.c (guppi_text_block_parse_gsml):
	Added; GSML == "Guppi Stupid Markup Language".  Allows for rich text
	in GuppiTextBlocks and, by extension, text items.

	* src/libguppiplot/guppi-text-tokens.c: Extensive hacking.

	* src/libguppiplot/guppi-text-block.c: Extensive hacking, beyond
	the scope of a ChangeLog entry to describe.

	* src/libguppiplot/guppi-element-print.c
	(guppi_element_print_print): Made the debugging frame a bit more
	elaborate.  It is still #if 0ed out, though.

	* src/libguppiuseful/guppi-context-xml.c
	(guppi_context_xml_add_element_fns): Added; a convenience function
	for defining being and end tag handlers simultaneously.
	(gtk_iter_hack): Something somewhere isn't re-entrant.  So much
	for not locking the UI while parsing XML...
	(guppi_context_xml_parse_memory): Added; for XML-parsing blocks
	of memory.

2001-01-25  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiuseful/guppi-attributes-xml.c: Added #include to
	silence compiler warning.

	* src/libguppiplot/guppi-text-block.c: Extensive improvements to
	line breaking and layout algorithms.
	
	* src/boilermaker.pl: Fix default copyright.

2001-01-24  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiuseful/guppi-context-xml.h: Fix header to not
	include <config.h> and thus build properly when included in
	other projects.

2001-01-23  Michael Meeks  <michael@helixcode.com>

	* src/guppi-gnumeric/test.c: more include fixage.

2001-01-23  Michael Meeks  <michael@helixcode.com>

	* src/guppi-gnumeric/guppi-gnumeric.c: sort out include mess.

	* src/guppi-gnumeric/guppi-chart-selector.c: ditto.

2001-01-20  Andrew H. Chatham <andrew.chatham@duke.edu>

	* build-tools/generate.py : Relaxed capitalization assumptions to
	deal with xy_boxplot. Removed some print statements.

	* plug-ins/plot/axis/guppi-axis.defs,
	  plug-ins/plot/barchart/guppi-barchart.defs,
	  plug-ins/plot/boxplot/guppi-boxplot.defs,
	  plug-ins/plot/frame/guppi-frame.defs,
	  plug-ins/plot/legend/guppi-legend.defs,
	  plug-ins/plot/linegraph/guppi-linegraph.defs,
	  plug-ins/plot/pie/guppi-pie.defs,
	  plug-ins/plot/pricebars/guppi-pricebars.defs,
	  plug-ins/plot/slinreg/guppi-slinreg.defs,
	  plug-ins/plot/text/guppi-text.defs,
	  plug-ins/plot/xybox/guppi-xybox.defs : Added ElementView
	  subclass declarations

	* python-modules/Guppi/data_impl/*: Added
	* configure.in : Added data_impl
	
	* src/libguppiuseful/guppi-python.c
	(guppi_python_module_init)
	(python_eval_str)
	(python_eval_file): Beginnings of running each script in a new
	namespace

	* src/libguppiuseful/guppi-python.c
	(PyGuppi_dealloc): Removed extra gtk_object_unref call

	* src/guppi/barchart-demo.py,
	  src/guppi/group-scatter.py,
          src/guppi/group-scatter2.py,
          src/guppi/pbars.py,
	  src/guppi/pie-demo.py,
	  src/guppi/scatter/demo.py: Added. The last two don't work yet.

	* src/guppi/hacked-pie-demo.py: Removed
	
2001-01-16  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiuseful/guppi-i18n.h: Added.  This is something
	that we can #include to properly define the gettext _() and N_()
	macros w/o needing to include all of gnome.h.  This should help
	improve Guppi's awful compile-times while protecting us from future
	changes in Guppi.
	
	* Applied James LewisMoss' "header-speedup.diff" patch.
	
	* plug-ins/plot/text/guppi-text-state.c
	(guppi_text_state_get_arg): Cast out const to get rid of a
	compiler warning.

	* Applied James LewisMoss' patch "libxml-v2.diff", so that
	Guppi will build with either versions 1 and 2 of libxml.

	* Applied James LewisMoss' patch "cleaning.diff", so that "make
	clean" will do a better job.

	* configure.in: Increment version number.

	* plug-ins/plot/text/guppi-text-item.c: Revamp code to use
	GuppiRasterText and GuppiTextBlock.  The way we did things before
	was very obsolete...

	* plug-ins/plot/text/guppi-text-view.c (calc_width): Calc width
	via the GuppiTextBlock's width fn.
	(calc_height): Calc height via the GuppiTextBlock's height fn.

	* plug-ins/plot/text/guppi-text-state.h: 
	* plug-ins/plot/text/guppi-text-state.c: Redesigned to hold text in
	a GuppiTextBlock.

	* plug-ins/plot/slinreg/guppi-slinreg-item.c (update): Changed to
	account for GuppiRasterText API changes.

	* plug-ins/plot/pie/guppi-pie-item.c (update): Changed to
	account for GuppiRasterText API changes.

	* plug-ins/plot/legend/guppi-legend-item.c (update): Changed to
	account for GuppiRasterText API changes.

	* plug-ins/plot/axis/guppi-axis-item.c: Changed to account for
	GuppiRasterText API changes.

	* src/libguppitank/guppi-object-title.c (build): Make the code
	handle the case of an unspecified title and subtitle with some grace,
	rather than just core-dumping all over the floor...
	
	* src/libguppiplot/guppi-raster-text.h: 
	* src/libguppiplot/guppi-raster-text.c: Opaqueify the object and
	rip out all of the old guts.  This is now a rasterizing front-end
	for a GuppiTextBlock that tries to maintain a (more or less)
	backwards-compatible API.

	* src/libguppiplot/guppi-text-block.h:
	* src/libguppiplot/guppi-text-block.c: A new class that serves as
	a model for a chunk of text.  The API is supposed to be flexible
	enough that ultimately we'll be able to add higher-order functions
	(like multi-line text with line breaks and intra-block font
	changes) without having to change any of the rendering code.

	* src/libguppiplot/guppi-canvas-group.c (position_subitem): Fix
	off-by-one error in bounding box coordinates.

	* src/libguppiuseful/guppi-version.c (guppi_helpers): Added James
	LewisMoss to the list of Guppi Helpers, for his fine work making
	.debs.
	(guppi_copyright): Added FSF Copyright.

	* src/libguppiuseful/guppi-defaults.c (cant_find_default_font):
	Added.  Prints a more intelligble error message when Guppi can't
	find its default fonts.  (Which usually indicates a problem with
	gnome-print.)

2000-12-21  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/slinreg/guppi-slinreg-statviewer.c (sv_set): Check
	if numeric values are NAN.

	* src/libguppistat/guppi-simple-linreg.c
	(guppi_simple_linreg_recalc): Make the calculate of the regression
	stats much more paranoid regarding division by zero and other FP
	exceptions.

	* plug-ins/plot/pie/guppi-pie-common.c: Add #include <config.h>.

	* plug-ins/data_impl/date_series/core.c: s/isnan/g_isnan/.

	* src/guppi/plug-ins.c: Add #include <config.h>.

	* src/guppi/corba_guppi.c: Add #include <config.h>.

	* src/libguppibonobo/guppi-bonobo-print.c: Add #include <config.h>.

	* src/guppi/about.c: Deal with new signature of guppi_copyright
	function.

	* src/libguppimath/guppi-equation-parser.y: Add #include <config.h>.

	* src/libguppimath/guppi-equation-lexer.ll: Add #include <config.h>.

	* src/libguppiplot/guppi-canvas-item.c (render): Remove turn of the
	dharma wheel.

	* src/libguppiuseful/guppi-timer.c (emission_monitor): Turn the
	dharma wheel whenever a "heartbeat" is generated.

	* src/libguppiuseful/guppi-splash.c (guppi_splash_text): Changed
	to properly handle the new signature of the guppi_copyright
	function.

	* src/libguppiuseful/guppi-version.c (guppi_copyright): Change the
	return from a string to a NULL-terminated vector of strings.

	* src/libguppiuseful/guppi-rgb.c: Added #include <config.h>.

	* src/libguppiuseful/guppi-multiview.c: Added #include <config.h>.

	* src/libguppiuseful/guppi-memory.c: Add a bunch of (#if
	0/#endif-ed out) experimental object audit code.

	* src/libguppiuseful/guppi-dharma.c (GUPPI_WHEEL_MANTRA_COUNT):
	Reduced count in a burst of paranoia about performance.

	* src/libguppiuseful/gnan.c (gnan_init): Added more elaborate
	schemes to try to figure out what is NAN in the platform's FP.
	(g_isnan): Added.  Allows us to use a truely awful work-around for
	when all else fails.

	* src/libguppiuseful/guppi-version.c (guppi_helpers): Updated list
	of helpers.

	* AUTHORS (TRANSLATORS): Updated credits.

2000-12-19  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiuseful/guppi-exit.c: Added #include <guile/gh.h>
	before #include <libguile/gc.h>.  This is needed for guile 1.3.x.

	* src/libguppiplot/guppi-canvas-item.c (update): Added call to
	guppi_dharma_turn_wheel.

	* src/guppi/guppi.c (real_main): Added call to
	guppi_dharma_turn_wheel_automatically.

	* src/libguppiuseful/guppi-dharma.c: Decreased overall count per cycle.
	(guppi_dharma_turn_wheel_automatically): Added.  The wheel-turning
	timeout is no longer installed automatically by guppi_dharma_init.

	* plug-ins/plot/XLplots/guppi-scatter-register.c
	(guppi_scatter_factory): #if 0/#endif-ed out some bad code.

2000-12-18  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/XLplots/guppi-boxplot-register.c: Added header to
	make the compiler happy.

	* plug-ins/plot/XLplots/guppi-linegraph-register.c: Added header to
	make the compiler happy.

	* src/guppi/guppi-app.c: Added header to silence compiler warning.

	* src/libguppiplot/guppi-2d.c (guppi_2d_make_path): Changed an
	ART_MOVETO to an ART_MOVETO_OPEN.
	(guppi_2d_make_optimized_path): Ditto.

	* src/libguppidata/guppi-curve.c
	(guppi_curve_sample_uniformly_to_path): Changed an ART_MOVETO to
	an ART_MOVETO_OPEN.

	* plug-ins/plot/pricebars/guppi-pricebars-item.c (render): Remove
	code, call guppi_pricebars_view_date_range instead.  Code dup is
	the enemy.

	* plug-ins/plot/pricebars/guppi-pricebars-view.c
	(guppi_pricebars_view_date_range): Added.  This is code from
	GuppiPricebarsItem that was also needed by GuppiPricebarsPrint.

	* plug-ins/plot/pricebars/guppi-pricebars-print.c (print):
	Implemented printing.

	* plug-ins/plot/linegraph/guppi-linegraph-item.c (update): Changed
	to call guppi_linegraph_view_build_path, which is the entry point
	to some code that used to be in this file.

	* plug-ins/plot/linegraph/guppi-linegraph-view.c
	(guppi_linegraph_view_build_path): Added.  This is code from
	GuppiLinegraphItem that is needed in common with
	GuppiLinegraphPrint, so I've moved it here.

	* plug-ins/plot/linegraph/guppi-linegraph-print.c (print): Set
	line width to zero, to match stupid line-drawing algorithm we are
	currently using in the GuppiLinegraphItem.  Construct our path
	with guppi_linegraph_view_build_path.

	* src/libguppiuseful/guppi-memory.c: Turned off memory tracing by
	default.

	* src/libguppitank/guppi-object-barchart.c
	(guppi_object_barchart_set_arg): Add ARG_ROTATE_X_AXIS_LABELS and
	ARG_ROTATE_Y_AXIS_LABELS.
	(build): Rotate x- and y-axis labels if necessary.

	* plug-ins/plot/axis/guppi-axis-state.c
	(guppi_axis_state_get_arg): Add handling of ARG_ROTATE_LABELS.
	(guppi_axis_state_set_arg): Add handling of ARG_ROTATE_LABELS.
	(guppi_axis_state_class_init): Define ARG_ROTATE_LABELS, as well
	as ARG_LABEL_OFFSET (which I must have forgotten before).

2000-12-17  Jon Trowbridge  <trow@gnu.org>

	* src/libguppidata/guppi-seq.c (init_xml_object): Properly chain
	our call to the init_xml_object in th eparent class..

	* src/libguppidata/guppi-data.c (guppi_data_set_label): Check to
	see if the new label is actually different than the old label
	before emitting CHANGED_LABEL.

	* src/libguppiuseful/guppi-string.c
	(guppi_string_canonize_filename): Added.  Given a string, this
	copies the string while replacing any characters that aren't
	suitable for appearing in a nice un*x filename (like <, /, etc.)
	with underscores.

	* src/libguppiuseful/guppi-output-xml.c
	(guppi_output_xml_finalize): Added finalization indicator.

	* src/libguppiuseful/guppi-attributes-xml.c
	(guppi_attributes_xml_finalize): Added finalization indicator.

	* src/libguppiuseful/guppi-unique-id.c (guppi_uniq2str): Added
	dash between the two 32-bit pieces of the uid to simplify parsing.

	* src/libguppidata/guppi-data.c (data_save_cb): Added.  A callback
	for a well-behaved "save" operation for the data popup menu.  Saves
	to native XML format.

	* src/libguppiuseful/guppi-unique-id.c (guppi_str2uniq): Added.

	* src/libguppidata/guppi-data.c (build_menu): Added menu item for
	a "rename" operation.
	(rename_cb): Added.  Callback for rename menu item.
	(init_xml_object): Added.  I forgot this earlier...

	* src/libguppitank/guppi-object-title.c
	(guppi_object_title_set_arg): Sink our subobjects.
	(guppi_object_title_finalize): Unref our subobjects on finalization.

	* src/libguppitank/demo2.c (main): Changes to facilitate hunting
	for memory leaks via Guppi's memory trace.

	* src/libguppitank/demo.c (main): Changed to facilitate hunting
	for memory leaks via Guppi's memory trace.

	* src/libguppitank/demo-scatter.c (main): Changes to facilitate
	hunting for memory leaks via Guppi's memory trace.
	
	* src/libguppitank/guppi-object-pie.c (build): Fixed memory leaks.

	* src/libguppitank/guppi-object-scatter.c (build): Fixed memory
	leaks.

	* src/libguppitank/guppi-object-barchart.c (build): Fixed memory
	leaks; properly unref everything that needs to be unrefed at the
	end.

	* src/libguppitank/guppi-object.c (guppi_object_build_widget): We
	add a reference to the GuppiObject when creating a widget, and
	unref when the widget is destroyed.  This simplifies memory
	management of GuppiObjects.
	(object_build): We ref+sink the view that we build, so that it
	won't be sunk later when it is injected into a root group view.
	This gives us better control over our own memory management.

	* plug-ins/plot/axis/guppi-axis-state.c
	(guppi_axis_state_finalize): Fix small memory leak; forgot to free
	state->legend.

	* src/libguppiuseful/guppi-exit.c (final_phase_shutdown): Check to
	see if guppi is active before trying to collect garbage.

	* plug-ins/plot/pricebars/guppi-pricebars-view.c
	(guppi_pricebars_view_class_init): Properly set
	view_class->print_type.

	* plug-ins/plot/pricebars/guppi-pricebars-print.c: Added framework
	for printing.  Still unfinished.

	* plug-ins/plot/XLplots/guppi-linegraph-register.c
	(guppi_linegraph_config): Made to return
	guppi_unimplemented_plot() rather than NULL.

	* plug-ins/plot/XLplots/guppi-boxplot-register.c
	(guppi_boxplot_factory): Make to return guppi_unimplemented_plot()
	rather than NULL.

	* plug-ins/plot/XLplots/guppi-XLplots-common.c
	(guppi_unimplemented_plot): Added.  Returns a valid plot
	consisting only of a text item that reads "Unimplemented".

2000-12-16  Jon Trowbridge  <trow@gnu.org>

	* src/libguppitank/guppi-object.c (guppi_object_width): Added.
	(guppi_object_height): Added.
	(priv): Added paranoid GUPPI_OBJECT cast.

	* src/libguppiplot/guppi-root-group-view.c
	(guppi_root_group_view_show_configure_window): Added a "close"
	button to the configure window.

	* src/libguppiplot/guppi-plot-window.c (guppi_plot_window_new):
	Connect to delete_event so that we hide the configure window
	associated to that plot.

	* src/libguppiuseful/guppi-memory.h (guppi_outside_object): Added.
	(guppi_A_contains_B): Added.
	(guppi_finalized): Added.  These three operations let us let us
	explicitly specify the sematics of various memory allocations
	inside of our code.

	* plug-ins/plot/barchart/guppi-barchart-tools.c
	(guppi_barchart_tool_new_cycle_orientation): I was setting the
	tool->name equal to a string constant.  Since this is freed later,
	this is a really bad idea.
	(guppi_barchart_tool_new_cycle_style): Ditto.

	* plug-ins/data_impl/seq_string/guppi-seq-string-core-impl.c
	(guppi_seq_string_core_impl_finalize): Fixed memory leak; properly
	clean up the contents of the GuppiSeqStringCoreImpl.

	* src/guppi/file-open.c (do_import_config): Fix memory leak; unref
	our copy of imp at the end of the function.
	(post_hook): Remove unref from the post_hook, which only gets
	called when OK is clicked.  Moved to the end of do_import_config
	instead.

	* src/libguppiuseful/guppi-stream-preview.c (style_line_font):
	Changed font string to specify iso8859-1 encoding.  Added fallback
	to "fixed".
	(style_line_number_font): Ditto.

	* src/libguppiuseful/guppi-python.c (guppi_python_init): Flag the
	copy of the environment as permanent.

2000-12-16  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/axis/guppi-axis-item.c (guppi_axis_item_finalize):
	Fix memory leak; unref legend raster-text item.


2000-12-16  Morten Welinder  <terra@diku.dk>

	* configure.in (GNUMERIC_IDLDIR): Add missing directory separator.

	* src/guppi-gnumeric/guppi-chart-selector.c: Fix compilation.

	* src/guppi-gnumeric/corba-graph-manager.c:  Fix compilation.

	* src/guppi-gnumeric/corba-graph-series.c: Fix compilation.

	* src/libguppiuseful/guppi-python.c (guppi_python_init): Copy
 	environment because Python is broken.


2000-12-15  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/scatter/guppi-scatter-state.c
	(guppi_scatter_state_class_init): The parent class was being set
	to type GTK_TYPE_OBJECT rather than GUPPI_TYPE_ELEMENT_STATE, so
	all of our chaining operations were failing... in particular the
	finalization, resulting in a memory leak.  How I could have gone
	so long without noticing this, I don't know.
	(guppi_scatter_state_init): Fix memory leak; properly ref and sink
	our stock scatter styles.

	* plug-ins/plot/scatter/guppi-scatter-item.c
	(guppi_scatter_item_class_init): Set the item_class_toolkit the
	new way.

	* plug-ins/plot/pricebars/guppi-pricebars-item.c
	(guppi_pricebars_item_class_init): Set the item_class_toolkit the
	new way.

	* plug-ins/plot/pie/guppi-pie-item.c (guppi_pie_item_class_init):
	Set the item_class_toolkit the new way.

	* plug-ins/plot/barchart/guppi-barchart-item.c
	(guppi_barchart_item_class_init): Set the item_class_toolkit w/
	our convenience function.

	* plug-ins/import/import-delimited/guppi-delimited-importer.c
	(guppi_delimited_importer_import): Fixed memory leak; unref our
	data struct after calling the iter_fn on it.

	* src/libguppiplot/guppi-canvas-item.c
	(guppi_canvas_item_finalize): Fixed memory leak; unref our item
	toolkit.

	* src/libguppiplot/guppi-style.c (guppi_style_stock_alien): Flag
	stock styles as permanent.
	(guppi_style_stock): Flag stock styles as permanent.

	* src/libguppiplot/guppi-shared.c (guppi_shared_get_type): Flag
	our connection graph as permanent.

	* src/libguppiplot/guppi-root-group-item.c
	(guppi_root_group_item_class_init): Set item class toolkit with
	guppi_canvas_item_class_set_item_class_toolkit.

	* src/libguppiplot/guppi-plot-window.c (add_item_tools_iter_fn):
	Fixed memory leak; added a callback to unref toolkits when the
	associated button is destroyed.

	* src/libguppiplot/guppi-plot-toolkit.c
	(guppi_plot_toolkit_foreach): Added.
	(guppi_plot_toolkit_add_to_toolbar): Fixed memory leak; added a
	destructor callback for our tb_info structs.

	* src/libguppiplot/guppi-element-state.c
	(guppi_element_state_newv): Flag plug in code as permanent.

	* src/libguppiplot/guppi-canvas-item.c
	(guppi_canvas_item_class_set_item_class_toolkit): Added.  A
	convenience function for setting the default item toolkit of a
	GuppiCanvasItemClass.  This helps memory debugging by also
	properly flagging the various tools as permanent allocations.
	
	* src/libguppidata/guppi-struct-impl.c (v_size_in_bytes):
	s/g_strfreev/guppi_strfreev/

	* src/libguppidata/guppi-seq-categorical.c
	(guppi_seq_categorical_finalize): Fixed memory leak; properly
	deallocate the frequency table.

	* src/libguppidata/guppi-data.c (build_impl_by_name): Fixed memory
	leak; stopped an extraneous data object from being allocated on
	every call.  How this bug crept in, I don't know.

	* src/libguppidata/guppi-data-tree.c
	(guppi_data_tree_node_destroy_children): s/while/if.  An obvious
	brain-cramp.
	(guppi_data_tree_node_destroy_downhill): Added.
	(guppi_data_tree_finalize): Fixed memory leak; nodes are now
	properly deallocated.
	(guppi_data_tree_main): Added a shutdown function to deallocate
	the main tree on exit.

	* src/libguppiuseful/guppi-useful.c
	(guppi_useful_init_without_guile): Added call to guppi_paths_init.

	* src/libguppiuseful/guppi-plug-in.c (guppi_plug_in_finalize):
	Fixed memory leak.

	* src/libguppiuseful/guppi-plug-in-spec.c
	(guppi_plug_in_spec_finalize): s/g_strfreev/guppi_strfreev/
	(do_spec_preloads): Fix memory leak; free path.
	(do_spec_preloads): Fix memory leak; free path.
	(guppi_plug_in_spec_shutdown): Add call to
	guppi_plug_in_path_clear.

	* src/libguppiuseful/guppi-paths.c (guppi_paths_init): Added.
	Registers a function that cleans up after the various path lists
	on exit.
	(guppi_logo_graphic_path): Flag alloc as permanent.
	(gnome_guile_repl_path): Flag alloc as permanent.

	* src/libguppiuseful/guppi-guile.c (scm2stringv): Copy our string,
	so that it can be deallocated with guppi_free.

	* src/libguppiuseful/guppi-exit.c (final_phase_shutdown): Added a
	call of scheme's GC right before exiting.  This helps make sure
	that the maximum amount of stuff is deallocated, for
	memory-tracing purposes.

	* src/libguppiuseful/ggraph.c (g_graph_free): Added.

	* src/libguppiuseful/guppi-memory.h: Changed macro definitions to
	make them #ifdef-able.  Added guppi_realloc and guppi_renew.

2000-12-14  Jon Trowbridge  <trow@gnu.org>

	* throughout: Changed standard glib memory alloc and free calls
	(i.e. g_malloc, g_new, g_strdup, etc.) to the guppi memory-tracing
	versions (guppi_malloc, guppi_new, guppi_strdup, etc.).

	* src/libguppiuseful/guppi-memory.h:
	* src/libguppiuseful/guppi-memory.c: Added.  Macros and functions
	that trace memory usage and helping to find memory leaks.

2000-12-12  Jon Trowbridge  <trow@gnu.org>

	* build-tools/gen-scm.pl (define_new_smob_type): Fixed a huge
	memory leak in the guile bindings; we need to sink objects that
	we store in a smob to keep them from being leaked.

	* Changed all gtk_object_ref and gtk_object_unref calls into
	guppi_ref and guppi_unrefs.

	* src/libguppiplot/guppi-layout.c (guppi_layout_connect_geometry):
	Got rid of old abusive-geometry-hack-using code, call
	guppi_geometry_connect_to_layout instead.
	
	* src/libguppiplot/guppi-geometry.c
	(guppi_geometry_connect_to_layout): Added.  The abusive hack has
	been removed; now GuppiGeometry is fully opaque.  Also, added code
	to watch for an attach layout's demise... we do this to avoid
	circular reference problems.
	(guppi_geometry_disconnect_from_layout): Modified for opaqueness.

	* src/guppi/guppi.c (main): Add a --refcount-debug command line arg,
	which activates the new refcount debugging options defined in
	guppi-convenient.c.

	* src/libguppiuseful/guppi-convenient.c: Added refcount debugging.
	Make guppi_ref, guppi_unref and guppi_sink into macros that carry
	extra information for logging purposes.  Defined guppi_ref_fn,
	guppi_unref_fn and guppi_sink_fn for when we really need a
	function (like for passing as a function pointer).

	* src/libguppiuseful/gnan.c: s/neg/signbit/.
	(gnan_init): Added test that sizeof (double) == 8 before we engage
	in any union trickery.

	* src/libguppiuseful/guppi-useful.c
	(guppi_useful_init_without_guile): Call gnan_init ().

	* plug-ins/data_impl/date_series/core.c: Changed to use gnan.h
	rather than other hacks.

	* src/libguppiuseful/gnan.c: Added.  An attempt to define NAN in a
	portable way.

2000-12-11  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/data_impl/curve/poly.c: Added.  An optimized
	implementation of polynomial functions.  Certain algorithms are
	currently only fully implemented for low-degree polynomials; this
	needs to be remedied.

	* src/libguppidataui/guppi-data-tree-view.c (build_data_popup):
	Vastly simplified -- now just calls guppi_data_build_menu.  Lots
	of other cruft has been removed, or has been moved into GuppiData
	(where it belongs).

	* src/libguppidata/guppi-seq-scalar.c (info_display): Add a simple
	info display that shows various descriptive statistics.

	* src/libguppidata/guppi-data.c (guppi_data_build_menu): Added.
	Construct a menu with options appropriate for that data type; this
	is used by the popup in the GuppiDataTreeView.
	(build_menu): Added.  A nice set of default operations appropriate
	for all data types.
	(guppi_data_info_display): Added.  Construct an appropriate info
	display.

	* src/libguppidata/guppi-data.h: Added build_menu and info_display
	to GuppiDataClass struct.

	* src/libguppidata/guppi-data-impl.h: Added build_menu and
	info_display to GuppiDataImplClass struct.

2000-12-11  Morten Welinder  <terra@diku.dk>

	* doc/developer-docs/guppi-api/Makefile.am (TARGET_DIR): Delete
 	extraneous "=".

	* plug-ins/data_impl/date_series/core.c
 	(guppi_date_series_core_impl_class_init): Provide a reasonable
 	portable NAN and g_assert that it really is isnan().

	* src/libguppimath/guppi-equation-parser.y (yyerror): Prototype.

	
2000-12-09  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/scatter/guppi-scatter-tools.c
	(guppi_scatter_toolkit_default): Fixed default toolkit's name.

	* plug-ins/plot/pricebars/guppi-pricebars-tools.c: Added.  Defines
	a default pricebars toolkit.

	* plug-ins/plot/pricebars/guppi-pricebars-item.c
	(guppi_pricebars_item_class_init): Added a default pricebars
	toolkit.

	* plug-ins/plot/xybox/guppi-xybox-view.c (pref_x_range,
	pref_y_range): Added preferred range calculations.

	* plug-ins/plot/pricebars/guppi-pricebars-view.c (fix_y_bounds):
	Added assert to keep us from calling obsolete pricebar-specific
	enforced view code.
	(preferred_y_range): Added more paranoid error checking.
	(guppi_pricebars_view_init): Deactivated obsolete enforced view
	option.

	* plug-ins/plot/pricebars/guppi-pricebars-state.c: Added support
	for GtkObject args.

	* plug-ins/plot/axis/guppi-axis-view.c (changed): Recalc natural
	size on view changes.

	* plug-ins/import/import-delimited/init.c: Removed unused
	our_widget () function.

	* plug-ins/import/net-hist-quotes/guppi-net-hist-quotes.c
	(import): Only re-write price data to cache if we actually managed
	to import new data.  Try to respond more gracefully to being
	unable to connect to the server.

	* plug-ins/import/net-hist-quotes/net-common.c (good_read): Handle
	events mid-read to keep GUI from freezing.
	(good_write): Handle events mid-write to keep GUI from freezing.

	* src/guppi/scatter-demo.scm: Hide the annoying line connecting
	the scatter markers.

	* src/guppi/pbars.scm (show-stock-chart): Use our new generic
	force-preferred-y-view method, rather than the hacked-up
	pricebars-only version.

2000-12-08  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-axis-markers.c (populate_dates_monthly):
	Removed excess whitespace from strftime string.
	(populate_dates_quarterly): Fixed strftime string.
	(populate_dates_yearly): Fixed strftime string.
	(guppi_axis_markers_populate_generic): Added more checking of the
	inputs in the case of a GUPPI_AXIS_DATE.  Don't do anything if the
	two given bounds aren't both proper julian dates.

	* src/libguppidata/guppi-data-importer.c
	(guppi_data_importer_newv): Added.
	(guppi_data_importer_new): Added a mechanism to pass in a list of
	args with the constructor.

	* src/libguppiuseful/guppi-context-xml.c (gtk_iter_hack): A small
	internal function to periodically handle pending gtk events.  We
	don't want to the GUI to freeze when processing large XML files.
	(guppi_context_xml_process_characters): Call gtk_iter_hack ().
	(guppi_context_xml_process_begin_element): Call gtk_iter_hack ().

	* src/libguppiuseful/guppi-guile.c (guppi_guile_init): Changed a
	g_warning into a g_print.  I hate anything that messes with my
	--g-fatal-warnings.


2000-12-04  Michael Meeks  <michael@helixcode.com>

	* src/libguppibonobo/guppi-bonobo.c (guppi_bonobo_canned_demo_init):,
	(guppi_bonobo_factory): update to GenericFactory.


2000-12-02  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/boxplot/guppi-boxplot-item.c
	(guppi_boxplot_item_class_init): Set uses_vp_coordinates to TRUE.

	* plug-ins/plot/axis/guppi-axis-item.c
	(guppi_axis_item_class_init): Set uses_vp_coordinates to TRUE, so
	the stock tools will (once again) work properly with axes

	* plug-ins/plot/pricebars/guppi-pricebars-item.c (render):
	Immediately bail out of any rendering on an empty
	GuppiPriceSeries.

	* plug-ins/plot/pricebars/guppi-pricebars-view.c
	(preferred_x_range): Don't express a range preference if our
	series is empty.  It causes bad things to happen.
	(preferred_y_range): Ditto.

	* plug-ins/plot/linegraph/guppi-linegraph-item.c
	(update_date_series): Do the right thing (i.e. nothing) if our
	GuppiDateSeries is empty.
	(update): Check that item->path is non-NULL before calling
	guppi_canvas_item_vpath_vp2c ().

	* plug-ins/data_impl/date_series/calc-extra.c (movavg_bounds):
	More gracefully handle the case of an empty movavg->ser.

	* plug-ins/import/net-hist-quotes/guppi-net-hist-quotes.c
	(import): Added better error handling, so that things will proceed
	(relatively) smoothly when trying to import when not connected to
	the net.

	* src/libguppidata/guppi-price-series.c
	(guppi_price_series_get_range): I'd forgotten to return a value
	properly here.  Thank goodness for compiler warnings.

	* src/libguppidata/guppi-date-indexed.c
	(guppi_date_indexed_empty): Added.  This is the kind of
	convenience function that I love.
	(guppi_date_indexed_nonempty): Added.
	(guppi_date_indexed_size): Immediately return zero on
	guppi_date_indexed_empty ().

2000-11-30  Jon Trowbridge  <trow@gnu.org>

	* src/guppi/guppi-app.c (guppi_app_setup_menus): Added menu item
	for price bars demo.

	* build-tools/generate.py (header_template): A hack: Python
	typedefs "destructor", which is used as an arg name in some of the
	guile 1.4 headers.  To work around this, we re-order some includes
	to make sure that the guile headers get processed first.

	* src/libguppiuseful/Makefile.am (CLEANFILES): Add
	auto-genererated code to cleanfiles.

	* src/libguppiuseful/guppi-plug-in-spec.c
	(process_spec_exported_symbols): Remove unused variable decl,
	silencing warning.

	* src/libguppiuseful/guppi-dialogs.c: Fix includes to silence
	warnings.

	* src/libguppiuseful/guppi-debug.c: Fix includes to silence warnings.

	* plug-ins: Changed a bunch of the .plugins files to use
	ExportedSymbol declarations, rather than SchemePreload, to export
	symbols to guile before the plug-in has actually loaded.

	* src/libguppitank/guppi-object.c (guppi_object_build_widget): As
	an experiment, changed resize semantics of GuppiObject root items
	to ROOT_GROUP_RESIZE_FILL_SPACE.

	* src/libguppitank/guppi-object-scatter.c (build): Added
	guppi_element_view_set_[xy]_axis_marker_type () calls, fixing a
	bug reported by Bill Gribble.

	* src/libguppitank/guppi-object-pie.c (item_init): Removed some
	debug spew.

	* src/libguppidata/guppi-curve-impl.h: Added approx_to_path hook
	for PL-approximations.

	* src/libguppidata/guppi-curve.c
	(guppi_curve_approximate_to_path): Added a method for
	implementation-driven piecewise linear approximations with bounded
	error.  Not really implemented now.

	* src/libguppiuseful/guppi-plug-in-spec.c (parse_spec_file): Added
	handling for ExportedSymbol entries in .plugin files.
	(process_spec_exported_symbols): If we have guile, define any
	exported symbols to be guile-autoloaders.

	* src/libguppiuseful/guppi-guile.c
	(guppi_scm_define_autoloaded_symbol): Added.  Associates a
	function name with a plug-in, and forces that plug-in to be loaded
	before calling the function the first time.

	* src/libguppiuseful/guppi-guile-boot.scm: Commented out broken
	guppi-autoload macro.

2000-11-27  Michael Meeks  <michael@helixcode.com>

	* configure.in: remove guppi-gnumeric.oafinfo handling

	* src/libguppibonobo/guppi-bonobo.c
	(guppi_bonobo_canned_demo_init): upd.

	* src/guppi-gnumeric/guppi-gnumeric.c
	(guppi_chart_selector_factory_init): upd.

	* src/guppi-gnumeric/Makefile.am (oaf_DATA): upd.

	* src/libguppibonobo/Makefile.am: upd.

	* src/libguppibonobo/GNOME_Guppi.oafinfo: upd.

	* src/guppi-gnumeric/GNOME_Gnumeric_Graph.oafinfo: upd.


2000-11-26  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/pricebars/guppi-pricebars-item.c (render): Changed
	to use timecodes, and is thus not quite as fragile as the old
	code.  Still sort of fragile, though.

	* plug-ins/plot/linegraph/guppi-linegraph-item.c (update): Revised
	to examine the type of the associated data, and to generate an
	ArtVpath in a way that take that information into account.  We now
	support linegraph-drawing for a pair of GuppiSeqScalars (which is
	what we've always handled) as well as GuppiDateSeries and
	GuppiCurves.  The switch-on-type logic is a bit unaesthetic, but
	it does produce a very nice "do-what-I-mean" effect.

	* plug-ins/plot/linegraph/guppi-linegraph-view.c: Removed destroy
	function.

	* plug-ins/plot/linegraph/guppi-linegraph-state.c
	(guppi_linegraph_state_init): Added a shared data object bound to
	SHARED_DATA tag.
	(guppi_linegraph_state_data): Added.
	(guppi_linegraph_state_set_data): Added.

	* plug-ins/data_impl/price_series/guppi-price-series-core-impl.c
	(v_ps_get_range): Fixed to support timecoding.

	* plug-ins/data_impl/date_series/core.c (v_ds_get_range): Fixed to
	support timecoding.

	* plug-ins/data_impl/date_series/calc.c: Added some preliminary
	code for cacheing.

	* plug-ins/data_impl/curve/calc.c (v_curve_clamp): Implemented a
	simple bbox-clamping heuristic for when the curve is a function.

	* src/libguppiplot/guppi-basic-tools.c (reframe_cb): Fixed a
	long-standing bug in the reframe tool, which caused reframing to
	not work properly when doing a "frame-by-center" operation.

	* src/libguppidata/guppi-price-series-impl.h: Changed the
	signature of the get_range hook to use timecodes.

	* src/libguppidata/guppi-price-series.c: Removed a lot of that
	PRICE_JULIAN nonsense.  The (much more sensible)
	timecoded-approach makes all of that obsolete.
	(guppi_price_series_get_range_timecoded): Added a timecoded
	version of the get_range function.
	(guppi_price_series_get_range): Reduced to a special case of the
	timecoded version of this function.

	* src/libguppidata/guppi-date-series-impl.h: Changed signature of
	get_range hook to handle the timecoded case by default.

	* src/libguppidata/guppi-date-series.c
	(guppi_date_series_get_range_timecoded): Added.  Stuff julian
	dates and values for a date range into two buffers.
	(guppi_date_series_get_range): Reduced to a special case of
	guppi_date_series_get_range_timecoded.

	* src/libguppidata/guppi-curve-impl.h: Add clamp, a virtual
	function hook for guppi_curve_clamp_to_bbox, to our GuppiCurveImpl
	struct.

	* src/libguppidata/guppi-curve.c (guppi_curve_clamp_to_bbox):
	Added.  Code to select a subinterval of a parameter interval
	eliminating regions that lay outside of the bounding box.  In
	general, this is tricky to do.

	* src/libguppiuseful/guppi-rgb.c (guppi_paint_wide_line_alt):
	Added -- an experimental bit of code for non-AA wide lines.  Not
	totally satisfactory.

	* src/libguppiuseful/guppi-fn-wrapper.c
	(guppi_fn_wrapper_eval_d__d_bulk): Added.


2000-11-22  Jon Trowbridge  <trow@gnu.org>
	
	* plug-ins/data_impl/date_series: Added two initial DateSeries
	implementations -- a "core" implementation which is just a wrapped
	array of doubles, and a "calc" implementation that channels API
	calls into provided callbacks.

	* plug-ins/plot/text/guppi-text-state.c: Implemented
	write_xml_attributes (), prepare_xml_attributes () and
	init_xml_object (), as a test case for XML read/write of
	GuppiElementState derivatives.

	* src/libguppiplot/guppi-plot.defs: Added bindings for the various
	spew_xml functions, for testing/debugging purposes.

	* src/libguppiplot/guppi-canvas-item.h: 
	* src/libguppiplot/guppi-canvas-item.c: Added XML read/write
	infrastructure.

	* src/libguppiplot/guppi-element-view.h:
	* src/libguppiplot/guppi-element-view.c: Added XML read/write
	infrastructure.

	* src/libguppiplot/guppi-element-state.h:
	* src/libguppiplot/guppi-element-state.c: Added infrastructure for
	reading/writing an XML description of an element's state.

	* src/libguppidata/guppi-data-init.c (guppi_data_init): Add
	initializing call to guppi_date_series_get_type ().

	* src/libguppidata/guppi-seq-point-impl.h: Added get_many slot to
	vtable.

	* src/libguppidata/guppi-seq-point.c (guppi_seq_point_get_many):
	Added.

	* src/libguppidata/guppi-date-series-impl.h: Back-end
	* src/libguppidata/guppi-date-series-impl.c: Back-end
	implementation base type for GuppiDateSeries.

	* src/libguppidata/guppi-date-series.h:
	* src/libguppidata/guppi-date-series.c: A front-end for a
	date-indexed scalar time series.

	* src/libguppiuseful/guppi-unique-id.h: 
	* src/libguppiuseful/guppi-unique-id.c: Added.  Code for
	generating and otherwise dealing with 64-bit unique IDs.  We are
	going to use these uids to tag data objects, plot element objects,
	etc.

	* src/libguppiuseful/guppi-attributes-xml.c
	(guppi_attributes_xml_declare_uint32): Added a uint32 type for
	attributes.
	(guppi_attributes_xml_get_uint32): Added.
	(guppi_attributes_xml_set_uint32): Added.
	(guppi_attributes_xml_declare_boolean): Added a boolean type for
	attributes.
	(guppi_attributes_xml_get_boolean): Added.
	(guppi_attributes_xml_set_boolean): Added.
	(ac_chars_value): Added conversion routines for uint32 and boolean
	types.

	* src/libguppiuseful/guppi-output-xml.c
	(guppi_output_xml_attribute_start): Added.  These four are
	convenience function for outputting "extended attributes" into
	XML.
	(guppi_output_xml_attribute_end): Added.
	(guppi_output_xml_attribute): Added.
	(guppi_output_xml_attributef): Added.

2000-11-18  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/data_impl/struct/guppi-struct-core-impl.c
	(v_struct_foreach): Hacked foreach to iterate over elements in the
	order that they were added, rather than in a random order.  This
	is nice because, among other things, it insures that when you
	write out an object to XML and the re-read it, all of the subdata
	is in the same order as before.

	* src/libguppidata/guppi-data-init.c (guppi_data_init): Added call
	to guppi_struct_get_type () to our initialization routine.

	* src/libguppidata/guppi-struct.c: Added XML input and output
	functions.

	* src/libguppidata/guppi-seq-string.c: Added XML input and output
	functions.

2000-11-17  Jon Trowbridge  <trow@gnu.org>

	* src/libguppitank/guppi-object.c (guppi_object_new): Moved
	sections of the code into static functions typename2object () and
	object_build ().
	(guppi_object_newv): Added at the request of our friends at
	Gnumatic.

	* plug-ins/data_impl/struct/guppi-struct-core-impl.c: Added
	implementation of guppi_struct_foreach_subdata vfunction.

	* src/libguppidata/guppi-struct-impl.c: Added a default
	implementation of the guppi_data_foreach_subdata virtual function,
	implemented in terms of the guppi_struct_foreach_subdata
	definition.

	* src/libguppidata/guppi-struct.c: Hacked to use the new subdata
	functions.  This cleans things up somewhat.
	(guppi_struct_foreach_subdata): Added, to replace the annoying old
	function that returned a GList.

	* src/libguppidata/guppi-data-tree.c
	(guppi_data_tree_node_handle_subdata): Hacked to use new subdata
	functions.

	* src/libguppidata/guppi-data-impl.h: Added the foreach_subdata
	function to the GuppiData vtable.  Added a CHANGED_SUBDATA signal.

	* src/libguppidata/guppi-data.c: Fixed up the subdata API,
	removing the broken concepts of "local" and "global" subdata and
	shifting subdata to be purely implementation-dependent.  Also,
	added more agressive type-checking of arguments.  Connected to
	listen for implementation's CHANGED_SUBDATA signal.

2000-11-16  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/pricebars: A rough draft of a plug-in for
	plotting price bars.

	* plug-ins/import/net-hist-quotes/via-yahoo.c (via_yahoo): Check
	validity of date before spewing out the "incomplete record"
	message.

	* plug-ins/import/native-XML/init.c (guppi_plug_in): Set import
	files flag.

	* plug-ins/import/import-delimited/init.c (guppi_plug_in): Set
	import files flag.

	* plug-ins/plot/scatter/guppi-scatter-view.c
	(guppi_scatter_view_class_init): Remove cruft from old axis
	scheme.

	* plug-ins/plot/barchart/guppi-barchart-view.c
	(guppi_barchart_view_init): Initialize bar chart axes properly.
	(update_markers): Handle NULL state properly.
	(update_x_axis_markers): Handle NULL state properly.
	(update_y_axis_markers): Handle NULL state properly.  Calls to
	these functions w/ NULL state can occur when calling our axis
	initialization functions in guppi_barchart_view_init () during
	construction, before a corresponding GuppiElementState object has
	been assigned.

	* src/libguppiplot/guppi-view-interval.c
	(guppi_view_interval_set): Changed to sort our inputs with
	guppi_2sort ().  What good are convenience functions if you don't
	use them?

	* src/libguppiplot/guppi-element-view.c: Fairly major brain
	surgery.  Previously, axis markers were tied to specific plot
	types in a fairly awkward and inflexible way.  Now, we can specify
	x- and y-markers for any plot type in a way that gives us finer
	control.  These changes also simplify things somewhat, which is
	always a good sign that we are on the right track.
	(guppi_element_view_x_axis_marker_type): Added.
	(guppi_element_view_y_axis_marker_type): Added.
	(do_x_markers): Modified to call
	guppi_axis_markers_populate_generic () based on value of
	x_axis_marker_type.
	(do_y_markers): Same as previously, but for the y-axis.
	(x_vi_changed): Call do_x_markers based on value of
	x_axis_marker_type.
	(y_vi_changed): Ditto, for y.
	(guppi_element_view_init): Initialize our marker types to
	GUPPI_AXIS_NONE.  Removed initialization code related to the old
	way of doing things.
	(view_state_change_cb): Handle marker updates by type.

	* src/libguppiplot/guppi-canvas-item.c
	(guppi_canvas_item_x_vp2c_d_bulk): Added.  A single-variable
	"plural" coordinate transformer.
	(guppi_canvas_item_y_vp2c_d_bulk): Added, same as previous.

	* src/libguppiplot/guppi-axis-markers.h: Added a new axis marker
	type enum.

	* src/libguppiplot/guppi-axis-markers.c
	(guppi_axis_markers_populate_scalar): Switched args to take a
	simple "percentage" flag rather than a more general (and unused)
	type flag.
	(guppi_axis_markers_populate_dates): Added.
	(guppi_axis_markers_populate_generic): Added.  A generic front-end
	for all of the different axis marker population routines.

	* src/libguppidata/guppi-data-importer-plug-in.c (assess_iter):
	Check and see if our plug-in is tagged as importing files.  If
	not, ignore it.  (This is a hack to get around the fact that we
	haven't fully integrated things like the NetHistQuote importer
	yet... we don't want it ever popping up as an option when
	selecting an import method for a file.)

	* src/libguppidata/guppi-price-series-impl.h: Added the get_bounds
	hook to GuppiPriceSeriesImpl.

	* src/libguppidata/guppi-price-series.c
	(guppi_price_series_get_range): Clamp our date inputs.
	(guppi_price_series_get_bounds): Added.  Find the min/max of a
	series quantity between two dates.

	* src/libguppidata/guppi-date-indexed.c
	(guppi_date_indexed_clamp): Added.

	* src/libguppiuseful/guppi-convenient.c (guppi_2sort_dt): Added.
	We like to sort pairs of dates, too.

	* src/libguppiuseful/guppi-convenient.h: Added g_date_clamp macro.

	* src/libguppiuseful/guppi-rgb.c (guppi_paint_horiz): Sort the
	x-args with guppi_2sort_i ().
	(guppi_paint_vert): Sort the y-args with guppi_2sort_i ().


2000-11-15  Michael Meeks  <michael@helixcode.com>

	* src/libguppibonobo/guppi.oafinfo: rename to ObjectFactory

	
2000-11-14  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/import/net-hist-quotes: Added.  A simple quick&dirty
	importer for pulling historical price data down from Yahoo!.  Not
	well integrated with the rest of Guppi yet --- some changes in the
	way GuppiDataImporters work will be required for that.

	* src/libguppidata/guppi-data.c (guppi_data_read_xml_file):
	Silently return NULL if your parsing failed.

	* src/libguppiuseful/guppi-output-xml.c
	(guppi_output_xml_open_fd): Hacked up default support for
	compressed XML output.
	(guppi_output_xml_close): Fixed to handle compressed files.
	(guppi_output_xml_print): Write out to compressed files.

	* src/libguppiuseful/guppi-convenient.h (g_date_min): Added a
	number of GDate convenience functions.

2000-11-13  Jon Trowbridge  <trow@gnu.org>

	* src/libguppidata/guppi-data.c (guppi_data_new): Changed connect
	to connect_after, to preserve proper changed sematics.
	(guppi_data_newv): Ditto.

	* src/libguppidata/guppi-seq-data.c (op_set): Changed signal
	connection to "after", to properly work with other data objects.
	(op_insert): Changed signal connection to "after", for same
	reason.

2000-11-12  Jon Trowbridge  <trow@gnu.org>

	* src/libguppibonobo/guppi-bonobo-view.c
	(guppi_bonobo_view_factory): Remove obsolete "size_alloc" callback
	setting the optimal view; replace it by setting the FILL_SPACE
	semantics.  This is a reasonable default, though we might later
	want to add some way of changing this.

	* src/libguppiplot/guppi-root-group-item.c (canv_size_allocate):
	Implement the FILL_SPACE semantics, adjusting the size of our
	item's view when we resize.  Doing this will clearly cause problem
	if we ever have two items with the same view: they will fight over
	the objects size whenever eitherone is resized...
	(set_scale): When in FILL_SPACE mode, we have to also readjust our
	size every time we change our scale.

	* src/libguppiplot/guppi-root-group-item.h: Add new item to
	resize-semantics enum: ROOT_GROUP_RESIZE_FILL_SPACE.  A nicer way
	of doing things in bonobo components.

	* src/libguppiplot/guppi-element-view.c (guppi_element_view_init):
	Monitor geometry changes and convert them to view changes.  I
	can't believe I forgot to do this, and I also can't believe it
	took this long before not doing this cropped up and caused
	problems...

2000-11-11  Jon Trowbridge  <trow@gnu.org>

	* src/guppi/file-open.c: Retooled somewhat to take advantage of
	GuppiDataImporter API improvements.

	* plug-ins/import/import-delimited/guppi-delimited-importer.c
	(guppi_delimited_importer_import): Changed to conform to new,
	cleaner API.

	* plug-ins/import/import-delimited/init.c (guppi_plug_in): Remove
	references to state_edit_widget field.

	* src/libguppidata/guppi-data-importer-plug-in.h: Moved the
	state_editor_widget field from GuppiDataImporterPlugInClass to
	GuppiDataImporterClass.

	* src/libguppidata/guppi-data-importer.c
	(guppi_data_importer_import): Cleaned up the interface, using
	iterator functions rather than returning a hacky vector-list.
	(guppi_data_importer_import_interactive): Added.  Pops up a window
	for editting the importer state before performing the actual
	import.

	* plug-ins/plot/XLplots/guppi-pie-register.c
	(guppi_piechart_factory): s/"data_scalar"/"data"/.

	* src/libguppibonobo/guppi-bonobo-canned-demo.c
	(guppi_bonobo_canned_demo): s/"data_scalar"/"data"/.

	* src/libguppitank/guppi-object-pie.c (build): Fix the
	guppi_element_state_new ("pie"...) arg to be "data", not
	"data_scalar".

	* plug-ins/plot/pie/guppi-pie-item.c (update): Properly handle pie
	charts without any labels at all.

	* src/libguppidata/guppi-seq-categorical.c
	(prepare_xml_attributes): Added.  Define the category attribute,
	and provide a custom handler to read in a data object.
	(create_xml_object): Build our GuppiSeqCategorical.
	(init_xml_object): Take the GuppiCategory defined as the
	"category" attribute value and attach it to our
	GuppiSeqCategorical.

	* src/libguppidata/guppi-seq-integer.c (begin_element): Fixed
	moronic typo.

	* src/libguppidata/guppi-category.c (content_xml_context): Added
	XML importing.

	* src/libguppidata/guppi-data.c (guppi_data_read_xml_context):
	Instead of having the context stuff the a pointer to the imported
	GuppiData in a provided GuppiData**, we pass in a callback that is
	function called with the newly-imported data.  This is more
	flexible.
	(guppi_data_read_xml_file): Changed to reflect the new
	callback-arg approach to guppi_data_read_xml_file.
	(guppi_data_identify_xml_file): The whole "magic comment" approach
	was just evil... so now I just look for certain telling fragments
	of XML tags in the text.

	* src/libguppiuseful/guppi-attributes-xml.c
	(guppi_attributes_xml_set_special_import_context): Added.  Lets
	you define a custom context for importing a value.  This allows
	you to have Attribute values other than just ints, doubles,
	etc... very useful.
	(guppi_attributes_xml_declare_pointer): Added.
	(guppi_attributes_xml_get_pointer): Added.
	(guppi_attributes_xml_set_pointer): Added.
	(guppi_attributes_xml_set_pointer_free): Added.
	(guppi_attributes_xml_set_pointer_unref): Added.
	(guppi_attributes_xml_set_pointer_destroy_fn): Added.
	(g_hash_free): Call attritem_clear_data () to dealloc stuff in the
	union, rather than having that nasty code dup here.
	(attritem_clear_data): Added support for calling the destroy_fn
	for pointer items.
	(ac_begin_element): Hacked to return our custom import context,
	when present.

	* src/libguppiuseful/guppi-context-xml.c
	(guppi_context_xml_set_user_data): Fixed assertions that check if
	more than one destruction method flag is set.
	(push_context): Sink our context pointers, fixing some ref-counting
	problems.

2000-11-10  Jon Trowbridge  <trow@gnu.org>

	* src/libguppidata/guppi-price-series.c (create_xml_object): Added.
	(content_xml_context): Build up an XML parser for Price Series
	objects.

	* src/libguppidata/guppi-date-indexed.c
	(guppi_date_indexed_class_init): Forgot to set the
	prepare_xml_attributes variable in the GuppiDataClass.  Duh!

	* src/libguppidata/guppi-data-init.c (guppi_data_init): Call
	the type initializers for our various data types.


2000-11-09  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/import/import-delimited/delim-import-widget.c
	(stream_preview_extra_info_cb): Cast an arg of isalpha to a
	guchar.

	* src/libguppiplot/guppi-marker.c (loose_match): Cast some args to
	isfoo() to guchar.

	* plug-ins/import/import-delimited/guppi-delimited-importer.c:
	Cast some gchar to guchar in isspace() and friends.  Most
	platforms don't care about this, but perrenial oddball HP/UX does.
	Thanks to Morten Welinder for pointing this out to me.

	* src/libguppidata/guppi-seq.c (guppi_seq_class_init): Fix the
	signal info for changed_shift_indices.  It was only luck that this
	hadn't caused any segfaults yet.
	(op_shift): Fixed a mind-numbingly stupid typo that had been
	causing segfaults galore.

	* src/libguppidata/guppi-date-indexed.c (prepare_xml_attributes):
	Declare the size, start_date and end_date attributes.

	* src/libguppidata/guppi-seq-integer.c (content_xml_context):
	Build a content XML context for integer sequences.

	* src/libguppidata/guppi-seq-boolean.c (content_xml_context):
	Build a context for parsing the Content section of a boolean
	sequence's XML doc.

	* src/libguppidata/guppi-seq-scalar.c (content_xml_context): Build
	a context for parsing the Content section of a scalar sequence's
	XML doc.

	* src/libguppidata/guppi-seq.c (prepare_xml_attributes): Make sure
	all GuppiSeq derivatives know about the min_index and max_index
	Attibutes.
	(init_xml_object): Set the min index and offer a size hint for any
	seq objects we construct from an XML document.

	* src/libguppidata/guppi-data.c (prepare_xml_attributes): Added.
	Define the default attributes that every data object has, a label
	and an implementation name.
	(content_xml_context): Added.  We make the default content context
	the debugging context.
	(guppi_data_class_init): Set our hooks in GuppiDataClass.
	(guppi_data_write_xml): Spew out an identifying XML comment at the
	top of the XML document --- there must be a more XMLishly-correct
	way of handling this.  Put the type name (as a gtk_type_name) in
	the Data tag's attributes, and move the impl_name down to the
	Attributes section.
	(guppi_data_read_xml_context): Build and return our basic
	data-importing XML context.
	(guppi_data_read_xml_file): A convenience function that builds an
	XML context and then uses it to slurp data out of a file.
	(guppi_data_identify_xml_file): Look at a file and decide it if is
	really a Guppi XML data file.  The way I do this right now is sort
	of hacky.

	* src/libguppidata/guppi-data.h: Add four virtual function hooks
	to the GuppiDataClass structure: prepare_xml_attributes,
	create_xml_object, init_xml_object, content_xml_context.

	* src/libguppiuseful/guppi-context-xml.h: 
	* src/libguppiuseful/guppi-context-xml.c: Added.  This is
	basically a wrapper around gnome-xml's SAX routines, with a twist.
	A GuppiContextXML is a data structure that contains callbacks for
	various XML situations: begin element, end element, etc. just like
	SAX.  However, "context switches" (to misuse the term) can occur:
	things can be set up so that hitting a certain begin-element
	causes the body of that element to be processed by a different
	context.  This lets us do nice things with nested parsers &
	modularity: for example, there is a common "header" for the XML
	data type, and then each different data type has their own XML
	context for parsing the "content" section of the document.  This
	approach can be a bit clunky at times: you end up defining lots of
	callback functions everywhere, and building lots of little structs
	for carrying around user data.  And the API still probably needs
	some fine-tuning.  But beyond these things, I'm finding this
	approach to actually work pretty well.  YMMV, of course.

	* src/libguppiuseful/guppi-attributes-xml.h: 
	* src/libguppiuseful/guppi-attributes-xml.c: Added.  A symbol table-
	type construction for use in the Guppi XML file format.

	* src/libguppiplot/guppi-plot-window.c (new_view_cb): Changed to
	use guppi_warning_dialog.

	* src/libguppiuseful/guppi-useful.h: Added an 
	#include <guppi-dialogs.h>

	* src/libguppiuseful/guppi-paths.c (gnome_guile_repl_path):
	Changed to use guppi_error_dialog.

	* src/libguppiuseful/guppi-debug.c
	(_guppi_unimplemented_function_dialog): Changed to use
	guppi_warning_dialog.

	* src/libguppiuseful/guppi-dialogs.c: Added.  Provides
	guppi_ok_dialog, guppi_warning_dialog and guppi_error_dialog
	functions, which just behave like gnome_*_dialog except that they
	automatically show the dialog widgets, return void, and 
	allow for printf-style format strings and varargs.

2000-10-31  Zbigniew Chyla  <cyba@gnome.pl>

	* configure.in: Added pl to ALL_LINGUAS.

2000-10-28  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/data_impl/price_series/guppi-price-series-core-impl.c:
	Added.  A simple implementation for price series, w/o much
	optimization.

	* plug-ins/data_impl/seq_boolean/guppi-seq-boolean-core-impl.c:
	Added some code to support missing values.  That stuff is still
	fairly incomplete, though.

	* src/libguppiplot/guppi-2d.c (guppi_2d_make_path): Fixed typo
	in type-cast which was causing compiler warnings.

	* src/libguppidata/guppi-price-series.h: 
	* src/libguppidata/guppi-price-series.c: Added.  A data type for
	daily open/high/low/close-type time series for financial
	instruments.

	* src/libguppidata/guppi-date-indexed.h:
	* src/libguppidata/guppi-date-indexed.c: Added.  A base class for
	date-indexed data.  This is sort of a time-series equivalent to
	GuppiSeq.
	
	* src/libguppidata/guppi-seq-categorical.c (write_xml_attributes):
	Added xml output.

	* src/libguppidata/guppi-seq-integer.c (write_xml_element): Added
	xml output.

	* src/libguppidata/guppi-category.c (write_xml_content): Added xml
	output.

	* src/libguppidata/guppi-seq-boolean.c (write_xml_element): Added
	xml output.

	* src/libguppidata/guppi-seq-scalar.c (write_xml_element): Added
	xml output.

	* src/libguppidata/guppi-seq.c (write_xml_attributes): Added
	default xml attribute handing.
	(write_xml_content): Added default xml content handling.

	* src/libguppidata/guppi-data.c (guppi_data_write_xml): Added.

	* src/libguppiuseful/guppi-output-xml.c
	Tweaked some indentation and spacing.
	(guppi_output_xml_elementf): Added.
	(guppi_output_xml_end_tag_check): Added.  Instead an end tag, with
	error checking.
	(guppi_output_xml_open_file): Added simplistic implementation.
	(guppi_output_xml_open_fd): Added a simplistic implementation.
	(guppi_output_xml_close): Added a simp... well, I think you can
	guess.

2000-10-27  Jon Trowbridge  <trow@gnu.org>

	* src/guppi/plug-ins.c: Hacked to mark which plug-ins have actually
	been loaded.  Does not dynamically update, which is a bug.

	* plug-ins/plot/linegraph/guppi-linegraph-item.c (update): Use
	guppi_2d_make_path and our optimization
	guppi_canvas_item_vpath_vp2c bulk coordinate-transformer.  This
	makes thing nicer and simpler.

	* src/libguppiuseful/guppi-rgb.c (guppi_paint_wide_curve): Added.
	This doesn't paint a curve --- just a bunch of connected line
	segments -- and it isn't wide, it is just a 1-pixel thick non-AA
	line.  But this is here as a placeholder until I get my
	rasterization algorithms sorted out.

	* src/libguppiplot/guppi-2d.c (guppi_2d_make_path): Added.

2000-10-22  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/*/*/Makefile.am: Change all of our plug-in dirs to form
	a directory hierarchy that mirrors our plug-in "name space" when
	installing.  (So now the plot plug-in foo gets installed in
	PREFIX/lib/guppi/VERSION/plot/foo.  Previously it was put in
	PREFIX/lib/guppi/VERSION/foo.)

	* plug-ins/plot/legend/guppi-legend-print.c: Use our new accessors.

	* plug-ins/plot/legend/guppi-legend-item.c: Use our new accessors.

	* plug-ins/plot/legend/guppi-legend-state.h: 
	* plug-ins/plot/legend/guppi-legend-state.c: Add new accessors
	for all data access to pass through; this allows us to support
	different data sources for the legend.

	* plug-ins/plot/pie/guppi-pie.defs: Fix types in binding specs.

	* plug-ins/plot/pie/guppi-pie-print.c: Use new accessors in
	GuppiPieState for data access.

	* plug-ins/plot/pie/guppi-pie-item.c: Use new accessors in
	GuppiPieState for data access.
	
	* plug-ins/plot/pie/guppi-pie-state.h: 
	* plug-ins/plot/pie/guppi-pie-state.c: Make all data access pass
	through accessor functions, so that pie can support many different
	data sources.  In doing this, the assumption that our data comes
	from a GuppiSeqScalar has been removed.
	(guppi_pie_state_slice_bounds): Added.
	(guppi_pie_state_slice_percentage): Added.
	(guppi_pie_state_need_separate_label_data): Added.

	* plug-ins/data_impl/curve/calc-pre.scm: Add autoload magic.

	* plug-ins/data_impl/curve/func-pre.scm: Add autoload magic.

	* plug-ins/data_impl/curve/func.c: Implement transformed curves.

	* plug-ins/data_impl/curve/func.plugin: Added PreloadedScheme.

	* plug-ins/data_impl/curve/calc.plugin: Added.

	* plug-ins/data_impl/curve/calc.h:
	* plug-ins/data_impl/curve/calc.c: Added.  Actually, this is just
	func.[ch] renamed, to be consistent with our naming scheme in
	seq_scalar.

	* plug-ins/data_impl/curve/calc.defs: Fix bindings info.

	* plug-ins/data_impl/curve/func.defs: Fix bindings info.

	* plug-ins/data_impl/seq_scalar/calc.defs: Define bindings.

	* plug-ins/data_impl/seq_scalar/func.c: Removed unneeded destroy
	function.

	* plug-ins/data_impl/seq_scalar/calc.plugin: Added PreloadedScheme
	declaration.

	* plug-ins/data_impl/seq_scalar/func.plugin: Added PreloadedScheme
	declaration.

	* plug-ins/data_impl/seq_scalar/func-pre.scm: Added; autoload hooks.

	* plug-ins/data_impl/seq_scalar/calc-pre.scm: Added; autoload hooks.

	* plug-ins/data_impl/seq_scalar/calc.c: Implement purely
	computed scalar sequences.

	* plug-ins/data_impl/seq_scalar/calc.h: Properly define
	GuppiSeqScalarCalcImpl.  Previously, this was just a copy of
	func.c.
	
	
2000-10-21  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/data_impl/curve/guppi-curve-func-impl.c
	(guppi_curve_func_impl_class_init): Add implementation name.

	* src/libguppidata/guppi-curve.c (guppi_curve_sample): Check
	parameter bounds.
	(guppi_curve_parameter_bounds): Add assert to check for
	impl_class->bounds.
	(guppi_curve_get): Added asserts for bounds and get.
	(guppi_curve_get_bbox): Add asserts for bounds and get.  Clamp
	endpoints to bounds.
	(guppi_curve_sample_uniformly): Clamp endpoints to bounds.

	* src/libguppidata/guppi-curve-impl.h: Label optional & mandatory
	virtual functions in vtable.

	* src/libguppidata/guppi-seq-scalar.c: Added sum_abs to
	GuppiSeqScalarPrivate.
	(changed): Deal with sum_abs-tracking.
	(op_set): Update sum_abs on-the-fly.
	(op_insert): Update sum_abs on-the-fly.
	(guppi_seq_scalar_sum_abs): Added.

	* src/libguppiuseful/guppi-guile.c (guppi_guile_init): Locate and
	run guppi-guile-boot.scm script.

	* src/libguppiuseful/guppi-paths.c (guppi_find_script): Added
	development-path-hacks trickery.  Quite awful, really.

	* src/libguppiuseful/guppi-useful.c
	(guppi_useful_init_without_guile): Added call to
	guppi_dharma_init ().

	* src/libguppiuseful/guppi-dharma.c: Added.  Let no one suggest
	that Guppi isn't full of compassion for all sentient beings.

2000-10-20  Ariel Rios <ariel@arcavia.com>
	
	* configure.in: Added AC_PROG_LEX and AC_PROG_YACC.
	This enables compilations on sytems that only has
	bison / flex available.
	
2000-10-19  Jon Trowbridge  <trow@gnu.org>

	* Everywhere: With much pain and suffering, I've changed my
	bizarre code indentation practices and I'm trying to conform to
	the GNU Coding Style as much as I can.  For consistency, I've run
	"indent" on 
	

	* src/libguppiuseful/guppi-output-xml.h:
	* src/libguppiuseful/guppi-output-xml.c: Added; an object and lots
	of convenience routines for writing XML files.

2000-10-18  Jody Goldberg <jgoldberg@home.com>

	* src/guppi-gnumeric/guppi-chart-selector.c
	(cb_row_select) : Use the stored first minor type
	  rather than guessing 0,0.
	(cb_minor_list_init) : Remember the minimum #'d minor type.
	(guppi_chart_selector_widget) : no need to do the colour map and
	  visual dance.  The canvas_new takes care of it.

	* src/guppi-gnumeric/corba-graph-series.c
	(impl_vector_notify_remove) : Add stub.
	(impl_vector_notify_nameChanged) : Ditto.
	(corba_implementation_classes_init) : Use them.

2000-10-15  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/barchart/guppi-barchart-state.c (config_tree):
	Build a config menu snippet for bar charts.
	(config_data_cb): Build a GuppiDataMultiselect and put it in
	place.  The signals aren't properly hooked up yet --- this is
	mostly just for testing right now.

	* plug-ins/plot/axis/guppi-axis-item.c (render): Fix bug that caused
	a segfault if the empty string was used as an axis label.

	* src/guppi/guppi.c (real_main): Call guppi_data_ui_init() at the
	right time.

	* src/libguppidataui/guppi-data-ui-init.h: 
	* src/libguppidataui/guppi-data-ui-init.c: Added an init function
	for libguppidataui.

	* src/libguppidataui/guppi-data-ui.defs: Added some binding specs
	for GuppiDataMultiselect.  Mostly for testing purposes.

	* src/libguppistat/guppi-stat-init.h: Fixed broken GUPPI_DECLS
	macros.

	* src/libguppiplot/guppi-plot-init.h: Fixed broken GUPPI_DECLS
	macros.

	* src/libguppidata/guppi-seq-data.c (guppi_seq_data_class_init):
	Oops... the correct impl_type is GUPPI_TYPE_SEQ_OBJECT_IMPL, not
	GUPPI_TYPE_SEQ_OBJECT.

	* src/libguppidata/guppi-data-init.h: Fixed broken GUPPI_DECLS
	macros.

	* src/libguppidataui/guppi-data-select.c: Removed all of the popup
	construction code, which has been moved to guppi-data-popup.c.
	(guppi_data_select_construct): Switched to use GuppiDataPopup.

	* src/libguppidataui/guppi-data-select.h: Remove the tree pointer
	from the GuppiDataSelect struct.

        * src/libguppidataui/guppi-data-multiselect.h:
	* src/libguppidataui/guppi-data-multiselect.c: Added.  A widget
	that lets you select & manipulate a list of N data items.

	* src/libguppidataui/guppi-data-popup.h:
	* src/libguppidataui/guppi-data-popup.c: Added.  This widget is a
	button that, when clicked, pops up a menu and allows a data item
	to be selected.

2000-10-14  Andrew Chatham <andrew.chatham@duke.edu>

	* build-tools/generate.py
	(FunctionDefsParser.writePython): Added a topoligical sort for
	the classes so that the Python shadow classes get printed out in
	an acceptable order.

	* build-tools/top.py: Added. A module/class to perform a
	topological sort.

	* src/guppi/guppi-app.c (python_terminal_cb): Changed from
	unimplemented to (python_terminal). Python terminal should now
	work.

	* src/guppi/python-term.c: 
	* src/guppi/python-term.h: Added.  I basically copied from
	guile-term.[ch] except that instead of calling a CORBA server I
	call PyRun_InteractiveLoop, which we already have included for
	free. As a result I took out the path searching code. Currently
	exiting the terminal is a bit of a problem, since I haven't
	figured out how to get zvt_term to pass an EOF character or deal
	with a call to sys.exit.

	* src/libguppiuseful/guppi-python.c:
	* src/libguppiuseful/guppi-python.h:
	(python_safe_apply): Added.
	(py_eval_d__i): Added
	(py_eval_d__i_d): Added
	(py_eval_d__d_d): Added.
	(py2fn_d__i): Added
	(py2fn_d__i_d): Added
	(py2fn_d__d_d): Added.  
	Note that these are not yet integrated with the code generation,
	so they're not being used (or, um, tested) yet.
	
2000-10-12  Jody Goldberg <jgoldberg@home.com>

	* plug-ins/plot/XLplots/Makefile.am (EXTRA_DIST) : dist xpm, png and
	  .plugin files.

	* src/libguppimath/guppi-equation.c : include stdio.h, suppress warning

	* src/guppi-gnumeric/Makefile.am : Make executable conditional.

	* src/libguppiplot/Makefile.am (libguppiplotinclude_HEADERS) : Add
	  missing file guppi-plot.h

2000-10-12  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/import/import-delimited/delim-import-widget.c
	(build_type_chooser): Add support for categorical & date data
	types.

	* plug-ins/import/import-delimited/guppi-delimited-importer.c
	(guppi_delimited_importer_finalize): Deallocate potential date
	array.
	Added date-related info to ColumnInfo struct.
	(guppi_delimited_importer_guess_types): Added support for
	potential_date array. Use g_date_set_parse() to check if our
	columns look like dates.  Use our distinct-item count to
	recognize potential categorical variables.
	(guppi_delimited_importer_import): Handle date & categorical
	data.

	* plug-ins/data_impl/category/guppi-category-core-impl.c: Added a
	base definition for our category class.

	* plug-ins/data_impl/seq_date/guppi-seq-date-core-impl.c
	(v_data_copy): Add a placeholder function. (Asserts if called :/)
	(v_data_size_in_bytes): Added a size estimate.
	(guppi_seq_date_core_impl_class_init): Define these two new
	functions in our vtable.

	* src/libguppidata/guppi-data.defs: Define binding prototypes for
	GuppiSeqCategorical and GuppiCategory.

	* src/libguppidata/guppi-seq-data.c (guppi_seq_data_class_init):
	Properly set the impl_type for the class.

	* src/libguppidata/guppi-seq-categorical.h:
	* src/libguppidata/guppi-seq-categorical.c: Added.  Defines
	sequences of "categorical objects", with an on-the-fly maintained
	frequency count of each.  Built on top of GuppiSeqInteger and
	with GuppiCategory.

	* src/libguppidata/guppi-category.h: 
	* src/libguppidata/guppi-category.c: A new data type, basically
	defines a mapping between strings and integer codes.  Used by
	categorical sequences, and potentially in other places as well.

2000-10-08  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/pie/guppi-pie-tool.c
	(guppi_pie_tool_new_fixed_spin): Added a tool for spinning the pie
	by a fixed amount on each "click".
	(guppi_pie_toolkit_default): Bind a fixed spin tool to mouse
	buttons 4 & 5, so the wheel on a wheel mouse can be used to spin
	the pie.  Also bind them to the left and right arrow keys, so that
	we can spin the pie from the keyboard.

	* plug-ins/plot/pie/guppi-pie-state.c (config_tree): Added two
	config dialogs --- one for setting data values/labels, one for
	appearance parameters.  The latter dialog is very primitive at
	this point.

	* plug-ins/plot/frame/guppi-frame-state.c (config_tree): Add
	placeholder config dialogs.

	* plug-ins/plot/axis/guppi-axis-view.c (config_tree): Add
	placeholder config dialogs.

	* plug-ins/plot/axis/guppi-axis-state.c (config_tree): Add
	placeholder config dialogs.

	* src/libguppiuseful/guppi-config-item.c (guppi_config_item_new):
	Added a fallback widget constructor if NULL is passed in.  Check
	that the name & short name args are not NULL.
	(guppi_config_item_add_before): Properly handle adding
	non-singletons.
	(guppi_config_item_add_after): Handle non-singletons.
	(guppi_config_item_add_below): Handle non-singletons.  I really
	wasn't thinking ahead when I wrote this code originally. :/ BTW, I
	think (well actually I know) that this code's ref counting is a
	bit hosed.

2000-10-07  Jon Trowbridge  <trow@gnu.org>

	* src/libguppitank/guppi-object-scatter.c (build): Fix some return
	values.

	* src/libguppiuseful/guppi-paths.c (guppi_glade_path): Properly
	scan $(datadir)/guppi/glade for .glade files.


2000-10-06  Yukihiro Nakai  <nakai@gnome.gr.jp>

	* guppi.desktop: Add Japanese translation.


2000-10-05  Jon Trowbridge  <trow@gnu.org>

	* src/libguppitank/guppi-object-scatter.c (build): Fixed
	some returns w/ no value.

	* plug-ins/data_impl/seq_scalar/core.c
	(guppi_seq_scalar_core_impl_finalize): What good are all of our
	convenience functions/macros if we don't actually use them?

	* plug-ins/data_impl/seq_date/guppi-seq-date-core-impl.c: Added
	basic functionality.  Date sequences now actually sort of
	work... but are missing lots of needed bells & whistles.

	* src/libguppitank/guppi-tank.h: Removed stray END_GUPPI_DECLS
	call.  This is the problem with mass automated changes to source
	files...

	* src/libguppitank/guppi-object-pie.c: GroupView-ified.

	* src/libguppitank/guppi-object-scatter.c: GroupView-ified.

	* src/libguppitank/guppi-object-barchart.c: GroupView-ified.

	* src/libguppitank/guppi-tank-init.c (guppi_tank_shutdown): Added.
	(guppi_tank_exit): Added as a convenience.

	* src/libguppitank/guppi-object-title.c: Carried the new idea of
	"container items" to guppi-tank.  This is a "framing" title object
	that can handle all titles for all GuppiObjects, rather than
	requiring code dup for titles in every single case.

	* src/libguppitank/guppi-object.c: Modified to use the "new method"
	of building plots, rather than the old GuppiPlot approach.  Changed
	the "hidden" GuppiPlot into a more general opaque state struct.
	General fiddling.

	* src/libguppiplot/Makefile.am (libguppiplot_la_SOURCES):
	guppi-plot.c and guppi-plot-canvas.c are finally out of the build.
	Hurray!

	* src/libguppiplot/guppi-root-group-item.c: Double-click handling
	broken when we moved from the GuppiPlotCanvas-model to the
	GuppiRootGroupItem-model.  I've fixed it, but had to change a few
	things to work around slight differences in how the canvas
	dispatches signals compared to a GtkWidget.  (This confused me for
	a while, since the cut&paste of code from the GuppiPlotCanvas for
	event handling *almost* worked perfectly, but not quite...)  Also,
	built variable resize-handling semantics directly into the object.
	This is much nicer than requiring apps to connect to size_allocate
	themselves.

	* src/libguppiplot/guppi-plot.defs: Clean out a bunch of old
	GuppiPlot declarations.

	* src/libguppiplot/guppi-plot-toolhelp.c
	(guppi_plot_toolhelp_construct): #if 0/#endif out some unused
	variables.

	* src/libguppiplot/guppi-canvas-group.c (double_click): Fix order
	of arguments in call to guppi_canvas_item_double_click() call.
	(guppi_canvas_group_find_by_view): Made the find recursively
	descend into sub-groups.

	* src/libguppidata/guppi-seq-impl.c (guppi_seq_impl_set_missing):
	Made more ANSI-ily correct.
	(guppi_seq_impl_insert_missing): ANSI tweak.
	(guppi_seq_impl_set_many_missing): ANSI tweak, plus replaced
	broken usage of guppi_seq_boolean_set_many() by a call to
	guppi_seq_boolean_set() inside of a loop.

	* src/libguppidata/guppi-seq-date-impl.h: Removed a number of consts,
	paralleling the changes to GuppiSeqDate.  Added hooks for
	custom min, max, and lookup functions.

	* src/libguppidata/guppi-seq-date.c: Deconstified most of the API.
	(guppi_seq_date_min): Added.
	(guppi_seq_date_max): Added.
	(guppi_seq_date_lookup): Added.

	* src/libguppiuseful/guppi-fn-wrapper.h: Removed a trailing , in
	an enum definition.  Again, -pedantic turns up the damndest
	things.

	* src/libguppiuseful/guppi-exit.c (guppi_shutdown): Added.  This
	allows a shutdown to be requested w/o any exit functions being
	called afterwards.  This change is for guppi-tank, which is getting
	its own shutdown command, but which clearly should leave the
	actual exitting to the controlling app.

	* src/libguppiuseful/guppi-enums.h: Moved our enum typedefs after
	the definition of the enum.  They had previously been before (like
	our convention for struct typedefs), but it turns out that forward
	declarations of enums is illegal under ANSI C.  (The things you can
	learn from -pedantic...)

2000-09-28  Jody Goldberg <jgoldberg@home.com>

	* configure.in : Improve the error messages for when searching for the
	  gnumeric idl file.  Use gnome-config --moddatadir

	* src/libguppibonobo/guppi-bonobo.c
	(guppi_bonobo_canned_demo_init) : Change the name of guppi_bonobo_init
	  to guppi_bonobo_canned_demo_init.
	* src/guppi/guppi.c (real_main) : Ditto.

2000-09-25  Jody Goldberg <jgoldberg@home.com>

	* src/guppi-gnumeric/corba-graph-manager.c (graph_manager_destroy) :
	  Add a handler to help figure out when this thing is getting
	  destroyed.

	* plug-ins/plot/XLplots/guppi-pie-register.c
	(guppi_piechart_factory) : Use xlplot_stock_legend.

	* plug-ins/plot/XLplots/guppi-barchart-register.c
	(guppi_barchart_factory) : Improve the look a bit.

	* plug-ins/plot/XLplots/guppi-XLplots-common.c
	(xlplots_stock_legend) : New routine.

	* plug-ins/plot/barchart/guppi-barchart-state.c
	(guppi_barchart_state_set_arg) : Implement arguments for
	  cluster_margin and bar_margin.

	* src/libguppiplot/guppi-root-group-item.c (guppi_root_group_item_init)
	  Init background to NULL;
	(set_canvas_size) : Make a reference to the background so that it is
	  not released prematurely.

2000-09-24  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/XLplots: Converted all of the plot registration
	functions to use the new approach.  BTW, the problem with the
	scatter item was that it needed a call to
	guppi_element_view_set_preferred_view() to have it choose the
	optimal coordinate system --- scatter doesn't do this by default.
	The view defaults to [0,1]x[0,1], so no points were visible and
	thus the scatter plot appeared blank.  QED.  (I've made that same
	mistake about 10 times already in Guppi's short lifetime...)

	* src/guppi-gnumeric/guppi-chart-selector.c: A crude hack job
	to get this widget to use the overhauled plotting stuff.  It ain't
	pretty, but it does seem to work...

	* src/guppi-gnumeric/test.c (real_main): Call
	force_development_path_hacks(), so that we search for plug-ins and
	such under guppi3 --- I hate doing "make install".  There should
	probably be a support group for that as well.

	* src/libguppiplot/guppi-root-group-item.c (set_canvas_size): Make
	our background object be in the same canvas group as our root
	group item, rather than in root.  Doing it this was just makes
	more sense.

	* src/libguppibonobo: Reworked to get rid of all of that awful
	GuppiPlot/GuppiPlotCanvas cruft.  All untested, of course, since
	I'm still basically afraid of Bonobo.  There should be a support
	group for people like me.

	* src/libguppiplot/guppi-chart-type.c: Ported over to the new way
	of doing things.  The changes can be summarized quite simply as:
	s/GuppiPlot/GuppiRootGroupView/g

	* src/libguppiplot/guppi-root-group-item.c
	(post_realization_init): Take all of the stuff that we had been
	doing in our default handler for realize, and do it in a
	post_realization_init function.
	(guppi_root_group_item_class_init): Defined our
	post_realization_init function.

	* src/libguppiplot/guppi-element-view.c
	(guppi_element_view_make_canvas_item): After creating our item,
	set the ready flag and then (if necessary) call the
	post_creation_init function.

	* src/libguppiplot/guppi-canvas-item.h: Added
	post_creation_init and post_realize_init virtual functions
	to GuppiCanvasItemClass.

	* src/libguppiplot/guppi-canvas-item.c (guppi_canvas_item_ready):
	Added.  Check the ready flag.
	(guppi_canvas_item_set_ready): Added.  Set the "item ready" flag.
	(realize): Upon realization, try to call the post_realization_init
	function.  If the item doesn't have the ready flag set (i.e. if it
	hasn't been fully constructed yet), set up and idle function and
	defer calling post_realization_init until later.

2000-09-23  Jon Trowbridge  <trow@gnu.org>

	* src/guppi/scatter-demo.scm: Hacked to use the new xybox type.  I
	like it when things get simpler.

	* plug-ins/plot/xybox: A simple example of a container plug-in.
	You drop in xy-ish items (like scatter plots, slinregs, etc.)
	and it automatically sets the layout to fill the available space
	(via a layout_horizontal_fill()/layout_vertical_fill() combo)
	and connects up the x/y-views and markers.

	Containers are actually much easier to build than regular plot
	plug-ins, because you can just rely on the default handlers for
	printing and building canvas items... so there are many fewer
	details to worry about.

	* src/libguppiplot/guppi-group-view.c
	(guppi_group_view_foreach_pending): Added.  Iterate across the
	view items in the "pending" group view, i.e. the subitems that
	will become active when changes are committed.
	(guppi_group_view_commit_all_changes): Added.  Commit changes
	in this view, and in all sub-group views.

	* src/libguppiplot/guppi-canvas-item.c (find_tool): Allow NULL to
	be passed in for the op_tool or op_item args.
	(guppi_canvas_item_locate_button_tool): Allow NULL op_item or
	op_tool args.
	(guppi_canvas_item_locate_key_tool): Allow NULL op_item or op_tool
	args.

	* src/libguppiplot/guppi-root-group-item.c (key_press_event): Grab
	keyboard when activating a keyboard-bound tool.
	(key_release_cb): Add keyboard ungrab on key release.

	* src/libguppiplot/guppi-plot-tool.c (guppi_plot_tool_first):
	Added pt coordinate tracking.
	(guppi_plot_tool_middle): Added pt coordinate tracking.
	(guppi_plot_tool_end): Added pt coordinate tracking.

	* src/libguppiplot/guppi-plot-tool.h: For convenience, added pt
	coordinates to the GuppiPlotTool struct.

	* src/libguppiplot/guppi-root-group-view.c
	(guppi_root_group_view_show_in_window): Changed our
	commit_changes() function call to commit_all_changes().  It just
	makes more sense.

	* src/libguppiplot/guppi-group-view.c
	(guppi_group_view_commit_all_changes): Added.

	* src/libguppiplot/guppi-root-group-tools.c
	(guppi_root_group_tool_new_help): Added.  Now pop-up help can be
	just another tool, rather than something that has to be hard-wired
	into our event-handing framework.  I like that.
	(guppi_root_group_toolkit_configure): Bind the pop-up help tool
	to the question-mark key.

	* src/libguppiplot/guppi-plot-toolhelp.c
	(guppi_plot_toolhelp_construct): Hack to work properly with the
	new post-GuppiPlot way of doing things.  For now we our pop-up
	help only covers button-bindings, not key-bindings or double-click
	bindings.

	* src/libguppiplot/guppi-root-group-tools.c
	(select_and_configure_cb): Remove unused variable to silence
	warning.

	* src/guppi/group-scatter.scm:
	* src/guppi/group-scatter2.scm:
	* src/guppi/scatter-demo.scm:
	s/guppi-group-view-push/guppi-group-view-commit-changes/

	* src/libguppiplot/guppi-root-group-view.c
	(guppi_root_group_view_show_in_window):
	s/guppi_group_view_push/guppi_group_view_commit_changes/

	* src/libguppiplot/guppi-group-view.c
	(guppi_group_view_commit_changes): Renamed guppi_group_view_push,
	on Jody's suggestion.

2000-09-22  Jon Trowbridge  <trow@gnu.org>

	* src/guppi/guppi-app.c (hacked_scatter_grid_cb): Added function
	to produce the 2x2 scatter grid demo.  (Callback to data window
	menu item.)
	(guppi_app_setup_menus): Added menu item for 2x2 scatter grid demo.

2000-09-20  Jody Goldberg <jgoldberg@home.com>

	* src/libguppiplot/guppi-chart-type.h : Adjust the signature.

	* src/guppi-gnumeric/guppi-chart-selector.c
	(guppi_chart_selector_init) : Store labels seperately.

	* src/guppi-gnumeric/corba-graph-manager.c : Handle idl renaming.
	* src/guppi-gnumeric/corba-graph-series.c : Ditto.

	* plug-ins/plot/XLplots/guppi-pie-register.c (guppi_piechart_factory)
	  Improve handling of labels.

	* plug-ins/data_impl/seq_scalar/calc.c (guppi_seq_scalar_calc_impl_set_arg) :
	  silence warning.

2000-09-17  Jon Trowbridge  <trow@gnu.org>

	* These are the worst ChangeLog entries in history.  This stuff
	reflects ten days of deep, low-level hacking.  Breakage will
	abound.

        * plug-ins/plot: Fixed config stuff.  Great renaming.
	
	* plug-ins/plot/root-group: Removed root-group plug-in.  See below.

	* src/libguppiplot/guppi-plot-window.c: Totally overhauled
	to use root-groups.

	* src/libguppiplot/guppi-plot-toolkit.c
	(guppi_plot_toolkit_set_button_tool): Track activation button in
	tool.  Useful when a tool creates a pop-up menu.
	(guppi_plot_toolkit_signature): Added.

	* src/libguppiplot/guppi-plot-tool.c (guppi_plot_tool_signature):
	Added.
	(guppi_plot_tool_supports_item): Added check of supports cb
	function.

	* src/libguppiplot/guppi-group-view.c (guppi_group_view_add): Added
	code for tracking changed_structure signals in childer.
	(guppi_group_view_remove): Disconnect our changed_structure 
	monitor on removal.

	* src/libguppiplot/guppi-element-view.c
	(guppi_element_view_class_init): Added "changed_structure" signal.
	(guppi_element_view_changed_structure_delayed): Added.
	(guppi_element_view_changed_structure): Added.
	(assemble_config_tree): Added a virtual function to control how
	view and state config info are combined for the config tree.
	(guppi_element_view_config_tree): Added.
	Removed old properties tree stuff.
	(guppi_element_view_finalize): Remove any pending structure changes.

	* src/libguppiplot/guppi-element-state.c: Removed properties tree
	related stuff.
	(guppi_element_state_label): Made default label nicer.

	* src/libguppiplot/guppi-basic-tools.c (uses_vp_cb): Added.  Check
	if vp coordinates are used.
	Various great-renaming related changes.

        * src/libguppiplot: Moved the GuppiRootGroup code here.  Having
	that code in a plug-in was just silly, and it was very beneficial
	to be able to access the various guppi_root_group functions
	directly.

	* The great renaming: s/GuppiElementCanvasItem/GuppiCanvasItem/g

	* src/libguppidata/guppi-seq-integer.c: DataOp-ificiation
	for correct signal semantics.

	* src/libguppiuseful/guppi-properties.h:
	* src/libguppiuseful/guppi-properties.c: Obsolete; removed.

	* src/libguppiuseful/guppi-metrics.h: Added GUPPI_PX to
	guppi_metric_t enum.

	* src/libguppiuseful/guppi-metrics.c (guppi_to_pt): Added support
	for GUPPI_PX.
	(guppi_from_pt): Added support for GUPPI_PX.
	(guppi_metric_name): Added.

	* src/libguppiuseful/guppi-metric-entry.c: Added.  A widget
	for entering metric quantities.

	* src/libguppiuseful/guppi-defaults.c (guppi_default_units): Added
	default units.  For now, it is hard-coded as inches.

	* src/libguppiuseful/guppi-configure.h:
	* src/libguppiuseful/guppi-configure.c: Added.  Improved replacement
	for code in guppi-properties.c (i.e. the GuppiProperties widget).

	* src/libguppiuseful/guppi-config-item.h: 
	* src/libguppiuseful/guppi-config-item.c: Added.  Nicer replacement
	for the non-gtkobject struct in guppi-properties.h.

	* src/libguppiuseful/guppi-multiview.h:
	* src/libguppiuseful/guppi-multiview.c: Added.  Derived from
	Jonathan Blanford's gtk-multiview.  Used instead of a notebook in
	the new GuppiConfigure.

2000-09-17  Jody Goldberg <jgoldberg@home.com>

	* src/guppi-gnumeric/test.c (real_main) : Create series names.

	* src/guppi-gnumeric/guppi-chart-selector.c
	(guppi_chart_selector_get_plot) : Use new factory signature to pass
	  data and series names.
        (guppi_chart_selector_init) : Init the series name.

	* src/guppi-gnumeric/corba-graph-series.c
	(impl_vector_string_notify_changed) : Implement.

	* src/guppi-gnumeric/corba-graph-manager.c
	(impl_addVectorScalar) : Store the series name.
	(impl_addVectorString) : Fill in.

	* plug-ins/plot/XLplots/guppi-scatter-register.c
	(guppi_scatter_factory) : Change signature.

	* plug-ins/plot/XLplots/guppi-pie-register.c
	(guppi_piechart_factory) : Support legends better, convert to new
	  signature.

	* plug-ins/plot/XLplots/guppi-linegraph-register.c
	(guppi_linegraph_config) : Change to the new signature.

	* plug-ins/plot/XLplots/guppi-boxplot-register.c
	(guppi_boxplot_factory) : Change to the new signature.

	* plug-ins/plot/XLplots/guppi-barchart-register.c
	(guppi_barchart_factory) : Use a real sequence of styles.  Add a legend.

	* plug-ins/plot/XLplots/guppi-XLplots-common.c
	(xlplots_stock_styles) New function.

	* src/libguppidata/guppi-seq-string.c (guppi_seq_string_set_nc) :
	  guppi_seq_changed_set ignores the index passed.  The handlers
	  use the index in the op, which we forgot to set.
	(guppi_seq_string_set) : Ditto.

2000-09-15  Jody Goldberg <jgoldberg@home.com>

	* src/guppi-gnumeric/test.c (real_main) : Add some sample data.

	* src/guppi-gnumeric/corba-graph-series.c
	(impl_vector_scalar_notify_changed) : suppress warning.

	* src/guppi-gnumeric/guppi-chart-selector.c
	(guppi_chart_selector_init) : suppress warning.

2000-09-15  Jody Goldberg <jgoldberg@home.com>

	* plug-ins/data_impl/seq_scalar/core.c
	(v_seq_scalar_set_many) : New function.

	* src/libguppidata/guppi-seq-impl.c
	(guppi_seq_impl_set_many_missing) : new function.

	* src/libguppidata/guppi-seq-scalar.c
	(guppi_seq_scalar_insert_many) : Init N.
	(guppi_seq_scalar_set_many) : New function.
	(op_insert_set_many) : Ditto.

	* src/libguppidata/guppi-seq-scalar-impl.h : Add set_many.

	* src/libguppiplot/guppi-plot-canvas.c : Handle a NULL plot.

	* src/libguppiplot/guppi-plot.defs : adjust signature for style_stock.

	* src/libguppiplot/guppi-style.c (guppi_style_stock) : Add a selector for
	  which stock styles to use.

2000-09-15  Jody Goldberg <jgoldberg@home.com>

	* src/Makefile.am : Make the build of guppi-gnumeric conditional.
	* src/guppi-gnumeric/Makefile.am : Add inclusion of libguppi-bonobo.
	  Build the gnumeric-graph idl files locally.
	  Add the implementation files for the CORBA objects.

	* src/guppi-gnumeric/guppi-chart-selector.c : Update to enable sharing
	  of the resultant plot.  Make use of the new pluginless startup.
	* src/guppi-gnumeric/test.c : update.

	* src/libguppibonobo/guppi-bonobo-print.c : Use guppi_bonobo_embeddable_get_plot.
	* src/libguppibonobo/guppi-bonobo-view.c : Ditto.
	(guppi_bonobo_factory) : move the demo ctor here.

	* src/libguppibonobo/guppi-embeddable.c :
	(guppi_bonobo_embeddable_get_plot) : new function.
	(guppi_bonobo_embeddable_set_plotter) : new function.

2000-09-07  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/root-group/guppi-root-group-item.c
	(button_press_event): Properly dispatch double-clicks.

	* plug-ins/plot/pie/guppi-pie-item.c (double_click): Switch
	position args to be in dvi-coordinates.

	* plug-ins/plot/legend/guppi-legend-item.c (double_click): Switch
	position args to be in dvi-coordinates.

	* plug-ins/plot/barchart/guppi-barchart-item.c (double_click): Switch
	position arg to be in dvi-coordinates.

	* plug-ins/plot/root-group/guppi-root-group-state.h: Removed
	some obsolete function prototypes.

	* src/libguppiplot/guppi-style.c (guppi_style_changed_delayed):
	Increased priority of idle function.

	* src/libguppiplot/guppi-seq-style.c (guppi_seq_style_get_type):
	Fixed type name.

	* src/libguppiplot/guppi-layout.c (guppi_layout_calc_delayed):
	Layout idle function priority increased.

	* src/libguppiplot/guppi-element-view.c
	(guppi_element_view_changed_delayed): Idle function priority
	raised.

	* src/libguppiplot/guppi-element-state.c
	(guppi_element_state_changed_delayed): Changed idle function now
	has high priority.  (Higher than canvas redraw, in particular.)

	* src/libguppidata: The way I typedef GuppiDataImplClass and the
	classes of the GuppiDataImpl derivates has been changed to
	facilitate discussing thse classes in gtk-doc.

2000-09-05  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/root-group/guppi-root-group-item.c (realize): Set
	our scale properly (using the value stored in GuppiRootGroupView)
	when realized.

	* src/libguppiplot/guppi-group-view.c (guppi_group_view_add):
	Added call to add_hook.
	(guppi_group_view_push): Delay the view change signal.

2000-09-04  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/root-group/guppi-root-group-item.c: A GuppiCanvasGroup
	that implements all of the event magic that used to be handled by
	GuppiPlotCanvas.  It dispatches button presses, steals key events
	from the parent widget, attaches drag&drop signals to the canvas
	and handles highlighting, data dispatch, etc.  It also sizes the
	canvas scroll region to properly map device-indep coordinates to
	pixel coordinates with the right scaling.
	While you can now drop any guppi canvas item into any gnome canvas,
	you aren't going to get all of the proper higher-order behavior
	unless the root group of your construction is a root-group.

	* plug-ins/plot/root-group/guppi-root-group-view.c: A
	GuppiGroupView derivative that allows the size (in
	device-indep. units) and scale to be set.

	* plug-ins/plot/root-group/guppi-root-group-state.c: Mostly-empty
	state object for the root group.

	* src/libguppiplot/guppi-canvas-group.c: A Guppified
	GnomeCanvasItem.  Handles many of the placement issues that used
	to be addressed by GuppiPlotCanvas.

	* src/libguppiplot/guppi-group-view.h: This is basically
	now the successor to GuppiPlot.  It can be used as a simple
	container w/ layout by itself, and can itself be layed-out
	since it is a GuppiElementView-derivative.  It can also be
	a base class for containers with more complex behavior.

	* src/libguppiplot/guppi-group-state.c: Placeholder for group
	state.  Empty right now, except for the correct make-view
	functionality.

	* src/libguppiplot/guppi-element-canvas-item.c
	Guppi canvas items are now derived from GnomeCanvasGroup.
	(guppi_element_canvas_item_finalize): Disconnect position handler.
	(update): Save our bounding box before chaining the call to update,
	because the f*cking GnomeCanvasGroup update function clobbers
	the bounding box.  (It assumes you aren't going to derive from
	GnomeCanvasGroup and do anything interesting... I spent many
	hours trying to track that one down.)
	(guppi_element_canvas_item_pt2c_d): Properly invert the y-coordinate.
	(guppi_element_canvas_item_foreach): Added.
	(guppi_element_canvas_item_foreach_at): Added.
	(guppi_element_canvas_item_first_matching_at): Added.
	(guppi_element_canvas_item_data_drop_candidate): Added.
	(guppi_element_canvas_item_data_drop): Added.
	(guppi_element_canvas_item_locate_button_tool): Added.
	(guppi_element_canvas_item_locate_key_tool): Added.
	(guppi_element_canvas_item_double_click): Added.
	(guppi_element_canvas_item_set_local_toolkit): Added.
	(guppi_element_canvas_item_enable_local_toolkit): Added.
	(guppi_element_canvas_item_enable_class_toolkit): Added.

	* src/libguppiplot/guppi-element-view.c
	(guppi_element_view_print): Added.  (Moved here from GuppiPlot.)
	(guppi_element_view_print_to_bbox): Added, from GuppiPlot.
	(guppi_element_view_print_ps_to_file): Added, from GuppiPlot.
	(priv): Added paranoid cast to priv() macro.
	(print): Added.  Printing is now virtualized, so that we can
	properly deal with groups.
	(guppi_element_view_class_init): Connected up our default print.

	* src/libguppiplot/guppi-plot-tool.c (guppi_plot_tool_first):
	Pointer grab removed.  The caller is now responsible for this.
	(guppi_plot_tool_end): Pointer grab removed.

	* src/libguppiplot/guppi-layout.c: Added paranoid cast in priv()
	macro.
	(guppi_layout_remove): Disconnect removed geometry from layout.
	(guppi_layout_replace): Explicitly disconnect old geometry and
	reconnect new geometry from the layout.
	(guppi_layout_set_bounds_from_geometry): Added.

	* src/libguppiplot/guppi-geometry.c: Added paranoid cast in priv()
	macro.
	(guppi_geometry_finalize): Disconnect abusive-layout-hack signals.

	* src/libguppiuseful/guppi-debug.c (_guppi_track_entry): Changed
	indenttation to 2 spaces per level.
	(_guppi_track_exit): Ditto.

2000-09-01  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/import/import-delimited/guppi-delimited-importer.c
	(guppi_delimited_importer_guess_types): Fixed memory leak.

	* src/libguppiplot/guppi-element-canvas-item.c (render): Properly
	check for empty render regions.

	* src/libguppiuseful/guppi-stream.c (guppi_stream_finalize): Fixed
	memory leak caused by off-by-one error.
	(guppi_stream_changed): The last line will now refresh properly
	(marked & sani version) on a change.

	* src/libguppiuseful/guppi-version.c (guppi_developers): Added
	Martin Quinson.

	* src/libguppiuseful/guppi-string.c: In true_forms and
	false_forms, the empty string shouldn't be true or false.

	* src/libguppiuseful/guppi-useful.c
	(guppi_useful_init_without_guile): Register our plug-in clean-up
	function to run on exit.

	* src/libguppiuseful/guppi-plug-in-spec.c
	(guppi_plug_in_spec_shutdown): Added function that cleans up our
	plug-in table.

	* src/libguppiuseful/guppi-convenient.c (g_free2): Added.
	(g_free_hash_key): Added.
	(g_free_hash_val): Added.
	(g_free_hash_keyval): Added.
	(guppi_unref2): Added.
	(guppi_unref_hash_key): Added.
	(guppi_unref_hash_val): Added.
	(guppi_unref_hash_keyval): Added.
	These are all convenience functions for deallocating objects
	stored in lists and hash tables.

2000-08-29  Jon Trowbridge  <trow@gnu.org>

	* src/libguppidata/demo.c: Added a small demo to exercise
	the data import code, for purify-ication purposes.

	* src/libguppiuseful/guppi-stream.c (guppi_stream_finalize):
	Correctly deallocate GuppiFile.

	* src/libguppiplot/guppi-plot.c (guppi_plot_finalize): Cancel
	pending changes.

	* src/libguppiplot/guppi-plot-canvas.c
	(guppi_plot_canvas_finalize): Make finalization more paranoid.

	* src/libguppiplot/guppi-element-view.c
	(guppi_element_view_finalize): Cancel any pending changes.

	* src/libguppiplot/guppi-element-state.c
	(guppi_element_state_finalize): Cancel any pending changes.

	* src/libguppiplot/guppi-style.c (guppi_style_finalize):
	Deallocate label.  Cancel any pending changes.

	* src/libguppiuseful/guppi-file.c (guppi_file_destroy): Move
	chained call to end.  Duh.

	* src/guppi/guppi.c (main): Close popen() with a pclose().

	* src/libguppiuseful/guppi-python.c (guppi_python_eval_file):
	Fix file descriptor leak.

	* src/libguppidataui/guppi-data-select.c
	(guppi_data_select_set_empty_label): If we change our "empty"
	label and we have NULL currently selected, update the label
	accordingly.
	(popup): Put a "none" selection first in the popup menu.  I'd
	forgotten this previously.

2000-08-28  Andrew Chatham   <andrew.chatham@duke.edu>

	* src/libguppiuseful/guppi-useful.c
	(guppi_useful_init_without_guile): Negated the guppi_python_is_active
	test.

2000-08-28  Morten Welinder  <terra@diku.dk>

	* src/libguppiuseful/guppi-plug-in-spec.c
 	(guppi_plug_in_spec_find): Close directory when we are done with
 	it.  What a thought.
	(parse_spec_file): Close files when done.

2000-08-28  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/boxplot/guppi-boxplot-item.c (update): Cleaned up
	some of the boxplot path code so that various chunks of the path
	are omitted if they are totally off the screen.  This doesn't get
	rid of the colinearity spew, but it does seem to get rid of those
	annoying horizontal streak artifacts that libart was producing
	when trying to render an off-screen boxplot.  If I was a true
	hacker, I guess I would have fixed libart rather than just working
	around its bugs, but I'm selfishly committed to my own project...

	* src/guppi/guppi.c (main): Added descriptive label to CORBA
	shutdown function.

	* src/guppi/file-open.c (file_open_ask_about_import_type): Tweaked
	to look for information in the GuppiPlugInSpec rather than the
	GuppiPlugIn.

	* src/guppi/about.c (credits): Free software development is a team
	effort, and every member of the team is important.

	* src/libguppiplot/guppi-element-canvas-item.c (render): Debug
	spew.
	(update): Debug spew.

	* src/libguppiplot/guppi-plot-canvas.c (position_item): Added some
	debug spew.
	(guppi_plot_canvas_set_state): Debug spew.

	* src/libguppiplot/guppi-plot.c (guppi_plot_push): Added some
	debug spew.
	(guppi_plot_layout_remove): Added.
	(guppi_plot_layout_replace): Added.

	* src/libguppiplot/guppi-layout.c (term_free): Simplified.
	(guppi_layout_finalize): Remove any pending layout calcs upon
	finalization.
	(register_geom): Change usage of guppi_geometry_set_registered()
	to conform to new signature.
	(guppi_layout_remove): Added.  Removes an object, as well as all
	layout rules that refer to that it.
	(guppi_layout_replace): Added.  Replaces one object by another.
	This replacement also occurs in all layout rules that mention
	the original objects.

	* src/libguppiplot/guppi-geometry.c
	(guppi_geometry_set_registered): Made this function take an bool
	argument, which it probably should have done from the beginning.

	* src/libguppidataui/guppi-data-select.c: Removed a bunch of debug
	spew that I'd put in for acuster --- the bug wasn't in here after
	all.

	* src/libguppidata/guppi-data-importer-plug-in.h: Changed the
	GuppiDataImporterAssessment struct to also carry around a pointer
	to the plug-in's GuppiPlugInSpec.  This allows us to access info
	like the plug-in's "human-readable" name and other info that is
	no longer stored in the GuppiPlugIn.

	* src/libguppidata/guppi-seq-scalar.c: Made GuppiSeqScalar opaque;
	Private info is now stored in the hidden struct
	GuppiSeqScalarPrivate.

	* src/libguppidata/guppi-data.c (process_pending_op): Memory leak
	fixed by adding g_list_free_1().

	* plug-ins: Snipped out all of the code in the various init()
	functions of all of the plug-ins that manually set the
	informational fields (author, copyright, etc.).  This stuff is all
	in the .plugin files now.

	* src/libguppiuseful/guppi-plug-in.h: Removed all of the informational
	data fields from the GuppiPlugIn struct --- they are now stored in
	GuppiPlugInSpec instead.  Incremented the plug-in magic number.

	* src/libguppiuseful/guppi-useful.c
	(guppi_useful_init_without_guile): Added guppi_python_is_active()
	check before initializing python stuff.

	* src/libguppiuseful/guppi-exit.c
	(guppi_exit_connect_approval_func): Added descriptive label.
	(guppi_exit_connect_shutdown_func): Added descriptive label.
	(approve_shutdown): Added some debug spew.
	(guppi_exit): Added explicit exit() call.  In some cases, guile
	seemed to be interfering with normal application termination.
	(guppi_abort): Added explicit exit() call.

	* src/libguppiuseful/guppi-debug.c: Added some new functions &
	macros for doing debug spew.  This is really just tinkering, and
	thus not worth discussing in detail. :-)

2000-08-26  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/boxplot/guppi-boxplot-item.c: Added more
	very-verbose debug spew.  This is all meant to try to solve
	acuster's mysterious scatterplot lock-up problem.

	* src/libguppidataui/guppi-data-select.c: Added a bunch of spew
	at the very-verbose level.

	* src/guppi/guppi.c (main): Fixed handling of debug-level
	command line args.

2000-08-26  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-plot-window.c: A bunch of changes to
	make up for the fact that GuppiPlot and GuppiPlotCanvas are
	now opaque objects.  Pretty boring, all in all.

	* src/libguppiplot/guppi-plot-canvas.c: I've been on an
	opaqueification roll these last few days; all of the
	GuppiPlotCanvas's state is now also in the hidden
	GuppiPlotCanvasPrivate struct.  All of the changes in this file
	(and there are many, many changes) are changes to either support
	this privitization or the privitization of GuppiPlot.  Some of the
	exceptions worth noting are:
	(guppi_plot_canvas_set_state): Here, we check that the GuppiPlot
	object we are setting as our state has ever been pushed.  If not,
	we push it ourselves.  I don't *think* this is a bad thing to
	force at this point.  It just means that anyone who isn't
	dynamically changing their GuppiPlot's never needs to worry about
	ever doing a push, and that you don't need to worry about
	forgetting that initial push.  Now passing in an uninitialized
	GuppiPlot here should also be OK; pushing an "empty" GuppiPlot is
	a valid operation.
	(Actually there might be a glitch or two associated with that, but
	nothing a few extra NULL pointer checks can't fix.)  The only
	problem would be if someone insists on setting the canvas's state
	to some sort of weird half-constructed GuppiPlot, in which case
	some ugly crap might end up on the screen.  I don't know if this
	is a case that is worth worrying about.
	(populate_canvas): This function has also been added; it tries to
	map the GuppiElementViews in a GuppiPlot to
	GuppiElementCanvasItems in an intelligent way, reusing existing
	canvas items if items associated to those views already exist.
	(guppi_plot_canvas_foreach_item): Since the list of canvas items
	is no longer exposed, iteration over all the items now has to 
	be done with this foreach function.

	* src/libguppiplot/guppi-plot.c: Massive change associated with
	the opaque-ification of GuppiPlot --- all state has been moved to
	GuppiPlotPrivate.  Most of those changes are more typing than
	programming, but one key, fundamental change is mixed up in there
	as well.  Namely,
	(guppi_plot_push): has been added.  This function attempts to
	address a big problem with manipulating a GuppiPlot's state: most
	of the time a single change will leave a GuppiPlot in a
	bad/incomplete state, and most changes consist of N steps.
	(ie calls to multiple layout functions to fully specify the
	geometry of added objects) This *is* model/view, after all...  If
	GuppiPlot/GuppiPlotCanvas are to be meaningfully thought as a
	model/view pair, changes to GuppiPlot should transparently be
	reflected in GuppiPlotCanvas w/o the coder having to operate on
	the GuppiPlotCanvas in any way.  So clearly we can't have
	GuppiPlot spit out some sort of "changed" signal every time you
	touch it, or you risk forcing an updating in the GuppiPlotCanvas N
	times when GuppiPlot is screwed up.  We get around this by
	basically cacheing (is that spelled with an 'e'?) changed to
	GuppiPlot.  Changes don't take effect until guppi_plot_push() is
	called, which is also when the "changed" signal is emitted.
	(guppi_plot_foreach_element): Since we've hidden the list of views
	inside of GuppiPlotPrivate, this foreach function is provided as a
	way for external code to iterate over all the plot's elements. 

	Of course, I should note that the only changes to a GuppiPlot that
	are currently possible are to add more elements.  Deletion isn't

	(Modification is a tricker question: the only reasonable thing to
	do might be to require that modifications be accomplished by
	deleteing something and then re-adding it in a different way.  But
	I need to think about that question some more...)

	* src/libguppiplot/guppi-layout.c (guppi_layout_connect_geometry):
	Here is where we do the black deed and violate GuppiGeometry's
	encapsulation.  We listen for a "changed_size" from the
	GuppiGeometry, and do a guppi_layout_calc_delayed on emission.  If
	another layout was already listening, we uncerimoniously
	disconnect them.
	(guppi_layout_bounds): Added.  I thought I needed this.  It turns
	out I didn't, but it might come in handy later.
	(matrix_normalize_row): Gratuitous optimization to remove 
	some unnecessary multiplies from inside of the loop.
	(matrix_row_is_nonzero): Gratuitous optimization.
	(matrix_column_is_nonzero): Gratuitous optimization.
	(matrix_row_dot): Gratuitous optimization.
	(matrix_subtract_scaled_row_from_row): Gratuitous optimization.
	All sorts of other gratuitous optimization would be possible
	in this matrix code.
	(term_copy): Added.
	(rule_add_term): Added.
	(rule_copy): Added.
	(rule_list_copy): Added.
	(rule_list_free): Added.
	(geom_list_copy): Added.
	(geom_list_free): Added.
	(guppi_layout_finalize): Cleaned up w/ new convenience functions.
	(guppi_layout_copy): Added.
	(guppi_layout_calc_flush): Added.

	* src/libguppiplot/guppi-geometry.c
	(guppi_geometry_disconnect_from_layout): We use the dreaded bit of
	non-opaque state to store the handle of the signal connection that
	sends a request for a new layout operation to a GuppiLayout when
	the GuppiGeometry emits "changed_size".  Each GuppiGeometry should
	be sending this message to exactly one GuppiLayout; by storing the
	handle here, it simplifies thing when we reconnect to a different
	GuppiLayout and want to disconnect the old signal, at which point
	we might not have easy access to a pointer to the old GuppiLayout.

	* src/libguppiplot/guppi-geometry.h: In a major act of programming
	grossness, I've added a bit of non-opaque state to GuppiGeometry
	to try to avoid a circular dependency with GuppiLayout, a guint
	named abusive_layout_signal_hack.  Shame on me.

	* src/libguppiplot/guppi-style.c (guppi_style_stock): I sure hate
	those default XL colors that Jody put in here, so I've switch over
	to what is (IMHO) a much more attractive set of colors.
	(guppi_style_stock_alien): Meanwhile, you can still construct an
	XLish color scheme by using these styles.  I guess I should have
	called this function guppi_style_stock_XL, but I just couldn't
	bring myself to do that.
	
	* plug-ins/plot/text/guppi-text-print.c (print): In a canvas item,
	text gets rendered in the center of the bounding box, whereas here
	it was getting rendered flush along the bottom.  Changed to be
	consistant w/ the canvas item.  (This should be a text element
	option eventually.)

	* src/guppi/guppi-app.c (about_cb): Replace the old gnome_about
	dialog with our shiny new guppi_about.

	* src/guppi/about.c (guppi_about): Added.  A better "about"
	dialog that gives credit where credit is due.

	
2000-08-24  Andrew Chatham  <andrew.chatham@duke.edu>

	* src/libguppiuseful/guppi-python.c
	(guppi_python_load_plug_in): added
	(guppi_python_module_init): Changed script directory to a 
 	Python-specific subdirectory of GUPPI_SCRIPTS
	
	* src/guppi/hacked-pie-demo.py: Updated to match pie-demo.scm

	* build-tools/generate.py:
	(_obj2inst, register_classes): Moved per-module functions to
 	python-modules/Guppi/plot/end.py.
	(FunctionDefsParser.[options|get_plugin_info) : Added code to
 	parse the .plugin files and implement lazy module loading.
	(Object.defineinit): Now will only take the shortest constructor.

	* python-modules/Guppi/plot/start.py:
	(LazyModule, LazyPluginModule): Created a class which appears to
	be a module as far as the rest of the code is concerned but which
	is only initialized when it is actually used.

	* plug-ins/plot/*/*.defs: Added a "(plugin mypluginfile.plugin)"
	option for each plot plugin.

	
2000-08-24  Jon Trowbridge  <trow@gnu.org>
	
	* src/libguppiuseful/guppi-useful.defs: Added new plug-in fns
	to bindings.

	* src/libguppiuseful/guppi-plug-in-spec.c
	(guppi_plug_in_exists): Added.
	(guppi_plug_in_is_loaded): Added.
	(guppi_plug_in_force_load): Added.

	* src/libguppiuseful/guppi-python.c: Fixed python path cpp variable.
	(I lumped this stuff all together into a common scripts dir,
	which might have been the wrong thing to do.)

	
2000-08-24  Jody Goldberg <jgoldberg@home.com>

	* configure.in : Fix cut-n-paste-o.

	
2000-08-24  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiuseful/guppi-splash.c (guppi_splash_text): Removed
	developers from default text splash.  Modesty is a virtue.

	* src/libguppiuseful/guppi-version.c (guppi_developers): Added
	other worthy people to the list of developers.
	(guppi_helpers): Added.  These are more worthy people.

	* src/guppi/guppi.c (main): Added --paths cmd line arg, to
	print search paths on the console.
	(real_main): Added code implementing --paths.  Right now it
	only does the plug-in paths; the others should be added.

	* src/libguppiuseful/guppi-plug-in-spec.c
	(guppi_plug_in_path_reset_to_default): Fixed name of cpp variable
	containing default plug-in path.  Changed not to use default path
	when runnning in-place.  (This allow local development to occur
	when a version is also installed.)
	(guppi_plug_in_path_dump): Added function to print the
	plug-in search path to the console.  Useful for debugging.

2000-08-22  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiuseful/guppi-plug-in-spec.c: Improved error handle
	and argument handling in several of the functions.

	* src/guppi/guppi.c (real_main): Check if we are successful in
	our search for plug-ins.  If not, warn the user that something
	is terribly wrong.

	* src/libguppiuseful/guppi-plug-in-spec.c (guppi_plug_in_count): Added.
	(guppi_plug_in_count_by_type): Added.

2000-08-21  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-plot-canvas.c (find_local_tool): Fixed
	bug with key tools.  (Passed in button # to _local_key_tool()
	rather than key_code.  Duh!

	* plug-ins/plot/scatter/guppi-scatter-view.c: Added code to
	expose the scatter styles via the get_style_bounds/get_style
	vfunctions.

	* plug-ins/plot/scatter/guppi-scatter-tools.c
	(guppi_scatter_toolkit_default): Added.

	* plug-ins/plot/scatter/guppi-scatter-item.c
	(guppi_scatter_item_class_init): Added item class toolkit.

	* plug-ins/plot/text/guppi-text-item.c (state_changed): Fixed to
	just call request_update(), rather than to try to do part of the
	update process itself.  What was I thinking?
	(view_changed): Ditto.

	* plug-ins/plot/scatter/guppi-scatter-style.c: Added object args.

	* src/libguppitank/demo-scatter.c: Added.  A test prog for 
	GuppiObjectScatter.
	
	* src/libguppitank/guppi-object-scatter.c: Added.  A GuppiObject
	implementation for scatter plots.

	* src/libguppiplot/guppi-plot.c: Removed all of the "scheduled
	layout" ops; the right place for those to be is in guppi-layout.
	(guppi_plot_set_size): Now just propogates info to
	guppi_layout_set_bounds().

	* src/libguppiplot/guppi-layout.c: A bit overhaul.  Besides some
	trivial API changes, the way that layouts are calculated has
	been changed quite a bit.  High points include:
	+ Nicer matrix op code.
	+ Div by zero and other floating point errors avoided.
	+ Helpful (?) error messages are emitted if the linear system
	  is unsolvable.
	+ Redunant rules are recognized and removed... this has been a
	  big source of problems in the past (for me at least).

	* src/libguppiplot/guppi-marker.c: Added "canonical" marker names,
	so as not to fail in strange ways due to i18n.

	* src/libguppiplot/guppi-geometry.c (guppi_geometry_positioned): Added.
	Lets us track if a GuppiGeometry is not yet initialized.
	(guppi_geometry_set_user_data): Certain bits of debugging are
	easier when this info is exposed.
	(guppi_geometry_calc_natural_size_real): The calc-natural-size code
	has been restructured to avoid unnecessary calls to the item
	size-calculation callbacks.

	* src/libguppiplot/guppi-element-view.c
	(guppi_element_view_changed_delayed): Don't defer changed signals
	is guppi_is_synchronous().
	(guppi_element_view_style_bounds): Added.
	(guppi_element_view_style_in_bounds): Added.
	(guppi_element_view_style): Added.  This is all part of an abstraction
	that lets you access element styles w/ minimal knowledge of the
	semantics of the element in question.

	* src/libguppiplot/guppi-element-state.c
	(guppi_element_state_changed_delayed): Don't defer changed signals
	if guppi_is_synchronous().

	* src/libguppiplot/guppi-element-canvas-item.c (update): Skip update
	for non-visible items.
	(render): Skip rendering non-visible items.

	* src/libguppiplot/guppi-style.c: Added support for object args.

	* src/libguppiuseful/guppi-defaults.c: Added different sizes of
	default fonts, to give us a better way of having some control
	while still being totally abstract.

	* src/libguppiuseful/guppi-paths.c (development_path_hacks): We
	want to be able to run stuff from inside of libguppitank and
	still use our development stuff rather than the installed libs.

	* src/libguppiuseful/guppi-debug.c (guppi_set_synchronous): Added.
	(guppi_is_synchronous): Added.
	This defines a "synchronous" flag in Guppi that the *_delayed()
	version of object-change-signal-emitting functions check and,
	if set, they emit the signal right away rather than in an idle loop.
	This makes debugging easier, as it allows you to track down who
	is making the call too guppi_foo_changed_delayed().

2000-08-16  Jody Goldberg <jgoldberg@home.com>

	* plug-ins/plot/scatter/guppi-scatter-state.c : Add size1_data, and
	  size2_data arguments.

2000-08-16  Jon Trowbridge  <trow@gnu.org>

	* plug-ins: Added a bunch of *.plugin files.  Hacked on the
	build to set up directoryification.
	
	* src/libguppiuseful/guppi-plug-in-spec.c: Added.  GuppiPlugInSpec
	objects are created from *.plugin files, and are used as proxies
	for information about plug-ins before they are loaded.
	All of the various indexing of plug-ins has been moved here.
	So functions in the guppi_plug_in_ namespace are defined here;
	that naming has been preserved for clarity and for backwards
	compatibility.

	* src/libguppiuseful/guppi-plug-in.c: Stripped out all of the
	indexing; plug-ins are now not loaded at start-up.

	* src/libguppidata/guppi-data-transform.c: Added standardize
	and logit transforms.

	* src/libguppiuseful/guppi-paths.c (development_path_hacks): Made
	public.
	(guppi_pixmap_path_add): Added.
	(guppi_find_pixmap): Now uses g_concat_dir_and_file and the pixmap
	path list.
	(guppi_script_path_add): Added.
	(guppi_find_script): Now uses g_concat_dir_and_file and the script
	path list.  Guile-specific nomenclature removed.
	(guppi_glade_path_register): Renamed so as to not conflict with...
	(guppi_glade_path_add): ...this added function.
	(guppi_glade_path): Hacked to use glade path list.

2000-08-14  Jody Goldberg <jgoldberg@home.com>

	* configure.in : Add a preliminary check for gnumeric

	* plug-ins/plot/pie/guppi-pie-state.c :
	  Add a 'use_stock_colors' argument that indicates whether to fall
	  back on the default colour immediately, or to use the stock styles
	  first.

2000-08-12  Jody Goldberg <jgoldberg@home.com>

	* src/libguppiplot/guppi-style.c (guppi_style_stoc) : localize this a
	  bit more and add a list of colours similar to those used by office.

	* plug-ins/plot/barchart/guppi-barchart-state.c :
	  Add a 'use_stock_colors' argument that indicates whether to fall
	  back on the default colour immediately, or to use the stock styles
	  first.

2000-08-12  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-shared.c (guppi_shared_set_inner): Minor
	clean-ups.

	* src/libguppiplot/guppi-plot-window.c
 	(guppi_plot_window_build_tool_palette): Check if any item in the
 	plot uses the vp coordinate system before adding the basic tools.

	* src/libguppiplot/guppi-element-view.c (x_vi_changed_held):
 	Removed problematic "while_alive" signal connection.
	(y_vi_changed_held): Ditto.

	* src/libguppiplot/guppi-element-canvas-item.h: Added
 	uses_vp_coordinates flag.

	* src/libguppiplot/guppi-basic-tools.c: Set toolbar images
	for all toolkits.

	* src/libguppidataui/guppi-data-tree-view.c
 	(guppi_data_tree_view_build_node): Added lock icon next to
 	read-only data items.
	(guppi_data_tree_view_construct): Adjusted # of columns in
	ctree.

	* plug-ins/plot/scatter/guppi-scatter-tools.c: Set toolbar
	image for all toolkits.

	* plug-ins/plot/scatter/guppi-scatter-item.c
 	(guppi_scatter_item_class_init): Set uses_vp_coordinates flag to
 	TRUE.

	* plug-ins/plot/barchart/guppi-barchart-tools.c
 	(guppi_barchart_toolkit_style_toggle): Added.
	(guppi_barchart_tool_new_cycle_style): Set supported type.
	(guppi_barchart_tool_new_cycle_orientation): Set supported type.
	(guppi_barchart_tool_new_bar_callback): Set supported type.

	* plug-ins/plot/barchart/guppi-barchart-item.c
 	(build_toolkit_vec): Added.

2000-08-11  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/scatter/guppi-scatter-item.c (build_toolkit_vec):
 	Add the brushing toolkit to the toolkit_vec.

	* plug-ins/plot/scatter/guppi-scatter-state.c
 	(guppi_scatter_state_brush_rectangle): Silently return if one data
 	element is NULL.  It isn't an error to try to brush an empty
 	canvas...
	(guppi_scatter_state_brush_circle): Silently return if one data
 	element is NULL.
	(guppi_scatter_state_init): Changed some connect()s to
 	connect_while_alive()s.

	* plug-ins/plot/scatter/guppi-scatter-tools.c
 	(guppi_scatter_toolkit_brush): Added brushing toolkit.
	(guppi_scatter_tool_radius_brush): Added supported type info.
	(guppi_scatter_tool_frame_brush): Added supported type.
	
	* plug-ins/plot/boxplot/guppi-boxplot-print.c (print): Move
	the whiskers to the 5/95 points found in the state.

	* plug-ins/plot/boxplot/guppi-boxplot-item.c (update): Changed our
	paths to put the whiskers at the 5% and 95% points calculated
	in the state object. (The 5/95 aren't hard-wired here, just
	in the state.)

	* plug-ins/plot/boxplot/guppi-boxplot-state.c (data_change_cb):
 	Calculate the 5% and 95% percentiles of the data, and save this
 	info for the "whiskers" of the plot.  This needs to be
 	parameterized.

	* plug-ins/data_impl/seq_scalar/func.c
 	(guppi_seq_scalar_func_impl_set_arg): Changed to listen to the arg
 	data for "changed" signals, and to forward these signals.

	* src/libguppiplot/guppi-element-view.c: Changed many connect()s
 	and connect_object()s to connect_while_alive()s and
 	connect_object_while_alive()s.

	* src/libguppiplot/guppi-element-state.c: Removed some deprecated
 	stuff that had been wrapped in #if 0/#endif for a while.
	(guppi_element_state_connect_to_object): Changed to
 	connect_object_while_alive.

	* src/libguppiplot/guppi-shared.c (guppi_shared_set_inner): Changed
	to use signal_connect_after, to correctly handle new data
	changed signal semantics.

	* src/libguppidata/guppi-seq-scalar.c
 	(guppi_seq_scalar_percentile): Added, along with a fairly
 	efficient default implementation.

	* src/libguppidata/guppi-seq-scalar-impl.h: Added percentile
	virtual function.

	* src/libguppidata/guppi-data.c (guppi_data_new): Listen for
	impl changed signals, convert into a guppi_data_touch.
	(guppi_data_newv): Ditto.

	* src/libguppidata/guppi-data-impl.c (guppi_data_impl_class_init):
 	Added impl changed signals.
	(guppi_data_impl_changed): Added.
	(guppi_data_impl_touch): Added.
	These last two functions are meant to mirror the guppi_data_ versions,
	but they don't currently get the connect/connect_after semantics
	right.

	* plug-ins/plot/pie/guppi-pie-state.c (guppi_pie_state_init): Changed
	signal to _connect_after().
	(connect_slice_and_offset_data): Changed to use new signal semantics.

	* src/libguppidata/guppi-struct.c (guppi_struct_set): #if-ed out
	direct signal emission.  What was I thinking?

	* src/libguppidata/guppi-data-tree.c
	(guppi_data_tree_node_add_sibling_here): Stray & gratuitous
	manipulation of iter removed.
	(guppi_data_tree_node_parent): Unused.  #ifdef-ed out to shut up
	the compiler.

	* src/libguppidata/guppi-seq-string.c: Boy I'm tired of writing
	ChangeLog entries.

	* src/libguppiplot/guppi-seq-style.c: Uh huh.

	* src/libguppidata/guppi-seq-object.c: Ditto.

	* src/libguppidata/guppi-seq-integer.c: Ditto.

	* src/libguppidata/guppi-seq-boolean.c: Moved all state-changing
	operations to callbacks.

	* src/libguppidata/guppi-seq-scalar.c: Moved all state-changes
	to callbacks.

	* src/libguppidata/guppi-seq.c: Removed the horror of before/after
	signals.  The new semantics (described below) are much nicer.
	Added GuppiDataOp_Seq struct and a whole bunch of callbacks to
	do the work of the setters.
	(guppi_seq_class_init): All signals are now GTK_RUN_LAST.  Old
	stupid signals are gone.

	* src/libguppidata/guppi-data.c: Removed freeze/thaw mechanism.
	Removed guppi_data_get_impl_type; it was useless.
	Removed the "hook" stuff.  It seemed like a good idea at the time,
	but never got used.
	(guppi_data_add_pending_op): Added.
	(process_pending_op): Added.
	(changed): Added.  Does nothing but process pending ops.
	(changed_label): Added string arg to signal.  All state-changing
	work now happens in the default handler.
	(guppi_data_class_init): Made all signals GTK_RUN_LAST.
	(guppi_data_changed): The sematics of this function have changed:
	it should now never be called unless you have registered a pending
	op, or bad things will happen.  If you want to just cause a 
	quasi-spurious changed signal to be thrown off by an a data object,
	you should...
	(guppi_data_touch): ...use this function instead, which registers
	a no-op operation before emitting the changed signal.

	* src/libguppidata: OK, there are a lot of changes here that
	will not make sense without some meta-explanation.
	When our GuppiData objects change state, they emit various
	signals.  There is a base "changed" signal associated with
	GuppiData, and subclasses (like GuppiSeq) emit finer-grained signals
	describing what sort of change occurred.
	Now sometimes we want to be able to control when we catch those
	comments; it can be occasionally useful to connect a callback
	for before the change is made, while other times we want to be
	sure our callback gets the object afterwards.
	Now to do this, a few things have to happen:
	(1) All signals must be GTK_RUN_LAST.
	(2) All changes to the state must actually happen in the
	    default signal handlers.
	(3) In fact, all changes must happen in the "base" GuppiData
	    "changed" signal, and the finer-grained signals can't do
	    anything other than invoke the base signal.
	Now the problem is that our signal args usually don't carry
	enough info to actually make the changes.  So to get around
	this, I've introduces a simple little marshalling/callback
	driven approach.  A function that is supposed to change the
	state of an object does nothing but register a callback and
	some data (the info needed for the actual state change), then
	calls the appropriate "emit this signal" function.  Things
	chain down, and eventually the base "changed" signal gets called,
	which then invokes the callback that actually changes the state
	of our object.
	This is a bit hairy and indirect, but it does give us the
	right semantics: you can either _connect() or _connect_after()
	your signal, and The Right Thing(tm) will happen.

	* plug-ins/plot/text/guppi-text-print.c: Missing
	#include <guppi-useful.h> was causing the gnome_font_get_size
	backwards compatibility macro to not be seen, causing it to be
	interpreted as an unknown function (w/ gnome-print 0.20) and
	leading to an unhappy crash when printing.

	* plug-ins/plot/scatter/guppi-scatter-state.c
	(guppi_scatter_state_brush_from_boolean_data): Removed
	guppi_data_freeze & guppi_data_thaw calls.  If this ends up being
	inefficient, I'll just need to make the integer sequence smarter.

	* plug-ins/plot/scatter/guppi-scatter-item.c (build_toolkit_vec):
	Added a toolkit vec containing the drag toolkit.

	* plug-ins/plot/scatter/guppi-scatter-tools.c
	(guppi_scatter_toolkit_drag): Added drag toolkit.

	* src/libguppidata/guppi-seq-boolean-impl.h:
	* plug-ins/data_impl/seq_boolean/guppi-seq-boolean-core-impl.c
	(v_seq_boolean_set_many): Made the gint* indices arg const.

2000-08-10  Jody Goldberg <jgoldberg@home.com>

	* src/guppi-gnumeric/guppi-chart-selector.c : We can not add and
	  remove canvases to the dialog when used as a control.  Something
	  goes Kaboom!  Modify the dialog to use one GuppiPlotCanvas and
	  to just change the state as the plot types change.

	* src/libguppiplot/guppi-plot-canvas.c (size_allocate) : Do not crash
	  if we are realized with no state.
	(guppi_plot_canvas_add_item) : merge into
	(guppi_plot_canvas_set_state) : here.  Add support for resetting
	  the state.  Merge with
	(guppi_plot_canvas_set_state_group) : this.  It's name was not good.
	(guppi_plot_canvas_clear_items) : New routine.

	* src/libguppibonobo/guppi-bonobo-view.c : Pass a NULL
	  GnomeCanvasGroup to guppi_plot_canvas_set_state.
	* src/libguppiplot/guppi-plot-window.c : Ditto.
	* src/libguppitank/guppi-object.c : Ditto.

2000-08-10  Jody Goldberg <jgoldberg@home.com>

	* src/guppi-gnumeric/test.c : suppress warnings.
	* src/libguppiplot/guppi-chart-type.c : suppress warnings.

	* src/libguppiplot/guppi-plot.c
	(guppi_plot_make_canvas) : Delete, and move guts.

	* src/libguppiplot/guppi-plot-canvas.c
	  (guppi_plot_canvas_set_state_group) : Here.
	  (guppi_plot_canvas_set_state) : Wrapper to use root canvas group.
	  (guppi_plot_canvas_new) : Reenable.

	* src/guppi-gnumeric/guppi-chart-selector.c : Move to new
	  guppi_plot_canvas_new, guppi_plot_canvas_set_state methodology.
	* src/libguppibonobo/guppi-bonobo-view.c : Ditto.
	* src/libguppiplot/guppi-plot-window.c : Ditto.
	* src/libguppitank/guppi-object.c : Ditto.

	* plug-ins/plot/*/guppi-*-view.c (make_canvas_item) :
	  Take a GnomeCanvasGroup as an argument rather than using the root
	  group.

	* plug-ins/plot/barchart/guppi-barchart-state.c
	(guppi_barchart_state_set_arg) : Handle setting horizontal vs vertical
	bars.

2000-08-10  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-plot-canvas.c
 	(guppi_plot_canvas_set_insensitive): Added.  When called (before
	the canvas is realized), all key bindings, mouse clicks and DnD
	are disabled.  (In particular, the widget doesn't capture all
	keystrokes from its parent.)
	

2000-08-09  Jon Trowbridge  <trow@gnu.org>

	* src/guppi-gnumeric/guppi-chart-selector.c (cb_sample_pressed): 
	s/guppi_plot_canvas_new/guppi_plot_make_canvas/

	* src/libguppiplot/guppi-plot-canvas.h: A serious bit of API
 	confusion has been cleared up.  There have been two
 	almost-identical functions floating around:
	
	   GtkWidget* guppi_plot_make_canvas(GuppiPlot*);
	
	and 
	
	   GtkWidget* guppi_plot_canvas_new(GuppiPlot*);
	
	As it turns out (and I'd forgotten this), the one to use was
	make_canvas.  canvas_new did very little, and was called by
	make_canvas. 
 	
	The historical reason for this is that you need to fiddle with
 	GuppiPlot internals to build the canvas up properly... this
	happened in make_canvas.  There used to be some evil fiddling
	with GuppiPlotCanvas internals that was done in canvas_new,
	but that is no longer necessary.  So to simplify things, I've
	removed guppi_plot_canvas_new() from the API and instead
	exposed guppi_plot_canvas_set_state() to do the little
	canvas-specific initialization needed --- this gets called
	by guppi_plot_make_canvas(), you shouldn't need to ever call it
	unless you are doing something really strange.  (Apologies
	to Jody for the grief this caused him.)

	* plug-ins/data_impl/seq_scalar/func.c
 	(guppi_seq_scalar_func_impl_class_init): Removed broken quartile
 	and range query functions; the defaults in the implementation now
 	do a very good job.

	* plug-ins/data_impl/seq_scalar/core.c: Gutted like a fish,
	with code being moved to guppi-seq-scalar.c.

	* src/libguppidata/guppi-seq-scalar.c: Radical overhaul.  Lots of
 	concepts from the core implementation have been ripped out of
 	there and added to the interface (the sorted copy, the fast range
 	query, etc.).  This stuff turns out to be fairly universal, and is
 	a *big* performance win for calculated objects.  As long as it is
 	all largely overrideable, I don't think that there is any harm in
 	imposing this level of "policy" in the interface.

	* src/libguppidata/guppi-data-transform.c: Added sq, exp, abs
	transforms.  The question of missing values still needs to
	be addressed.

	* src/libguppidata/guppi-data-tree.c
 	(guppi_data_tree_node_add_sibling_here): Added.
	(guppi_data_tree_add_beside): Make added element end up
	adjacent to the specified data, not just in the same group.

	* src/libguppiplot/guppi-plot-canvas.c (size_allocate): Change
	our default resize semantics to be somewhat nicer: on a resize,
	do an optimal fit if the result is a larger scale.

	* src/libguppiplot/guppi-plot-window.c (do_print_cb): Added #ifdef
 	to avoid using gnome_print_master_get_paper() if we are using an
 	older gnome-print.

	* src/libguppiplot/guppi-element-canvas-item.c
 	(guppi_element_canvas_item_vp2c_d_bulk): Added.

	* src/libguppiplot/guppi-chart-type.c: 
	* src/libguppiplot/guppi-chart-type.h: Moved
 	#include <gdk-pixbuf/gdk-pixbuf.h> from the .c to the .h file.

	* src/libguppiplot/guppi-view-interval.c
 	(guppi_view_interval_conv_bulk): Added.
	(guppi_view_interval_unconv_bulk): Added.

	* src/libguppistat/guppi-simple-linreg.c
 	(guppi_simple_linreg_recalc): Added forgotten cast to silence
 	compiler warning.

	* plug-ins/plot/pie/guppi-pie-register.c (guppi_piechart_factory):
 	Removed explicit call to guppi_plot_calc_layout.

	* plug-ins/plot/scatter/guppi-scatter-item.c (render): Add "speed
 	rendering code" as an experiment.  Disabled for now.


2000-08-08  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/data_impl/seq_scalar/core.c (v_seq_scalar_quartiles):
 	Make our quartile calculator use the sorted copy, if available.

	* src/libguppiplot/guppi-plot-canvas.c (size_allocate): Fixed
	canvas resize sematics.

	* src/libguppidata/guppi-seq-scalar.c (calc_quartiles): Added
	default, unoptimized calculation of quartiles.

	* src/libguppiuseful/guppi-paths.c (development_path_hacks): Added;
	checks if we are running from inside of src/guppi.
	(guppi_find_pixmap): Check if we are in src/guppi before adding
	../../pixmaps to our pixmap search path.
	(guppi_glade_path): Check if we are in src/guppi before adding
	the relative directories .. and ../../plug-ins to our glade
	search path.
	(This fixes the slow start-up bug experienced by Cesar when he
	ran guppi installed, which I never do...)

	* plug-ins/data_impl/seq_scalar/calc.c
	(guppi_seq_scalar_calc_impl_class_init): Disable all missing
	values functions.  When this is done, the sequence interface
	reports all values as present.

	* plug-ins/data_impl/seq_scalar/func.c (v_seq_has_missing): Added.
	(v_seq_missing): Added.
	Missing values support is still incomplete here (and in lots
	of other places as well...)

	* plug-ins/data_impl/seq_scalar/core.c: Removed v_seq_scalar_range
	function; that functionality is now in the interface layer.
	(v_seq_scalar_quartiles): Removed caching of quartiles; we can
	still do the calculation more efficiently down here, though.
	(v_seq_scalar_set): Fixed to work with with missing values.
	(v_seq_scalar_insert): Fixed to work with missing values.
	(v_seq_scalar_insert_many): Fixed to work with missing values.
	(v_seq_scalar_range_query): Removed min/max optimization; moved
	to interface layer.
	(v_seq_insert_missing): Added.
	(v_seq_delete_many): Fixed to work with missing values.
	(guppi_seq_scalar_core_impl_class_init): Fixed vtable set-up.

	* plug-ins/data_impl/seq_boolean/guppi-seq-boolean-core-impl.c: This
	baby has gotten a lot of love over the last few days. 
	(ASIZE): Correctly calculate needed array size, properly handling
	multiples of 32.
	(LAST_MASK): Added needed guint32 cast to ~0.
	(v_seq_boolean_insert): Revamped & simplified.  Now correct in
	all cases.
	(v_seq_boolean_insert_many): Revamped & simplfied.  Now correct
	in all cases.
	(v_seq_delete_many): Revamped & simplified.  Now correct in all
	cases.
	(v_seq_grow_to_include): Fixed.
	This "fixed" and "correct" talk sounds overly-optimistic, and
	probably is... but at least now this code has undergone pretty
	extensive testing, and at least has done the right thing in
	several million randomly-generated test cases.
	(v_data_copy): s/sizeof(double)/sizeof(guint32)/.  Obviously
	a cut&paste mistake from seq-scalar.

	* src/libguppidataui/guppi-data-tree-view.c (build_data_popup):
	Added; dynamically builds a popup menu of possible transformation
	types.
	(button_press_event): Check for mouse-3, pop up the transform
	menu.

	* src/libguppistat/guppi-simple-linreg.c
	(guppi_simple_linreg_recalc): Tweaked to ignore missing values
	when calculating.

	* src/libguppidata/guppi-data.defs: Add bindings for our
	new missing values API for sequences.

	* src/libguppidata/guppi-data-init.c (guppi_data_init): Added
	call to guppi_data_transforms_init().

	* src/libguppidata/guppi-data-transform.h: 
	* src/libguppidata/guppi-data-transform.c: Added; Some simple code
	for data transforms.

	* src/libguppidata/guppi-data.c (build_impl_by_name): Check that
	the implementation we constructed is of the right type for our
	interface.  (This check was alread in the build-by-type code,
	but was left out of build-by-name by mistake.)

	* src/libguppidata/guppi-seq-scalar.h: 
	* src/libguppidata/guppi-seq-scalar.c: Moved stat-caching 
	into the interface, where it belongs.  Made the fallback
	stat calculation routines do the right thing in the presence
	of missing values.

	* src/libguppidata/guppi-seq-impl.h: 
	* src/libguppidata/guppi-seq-impl.c: Added virtual function hooks
	for missing values functions, and an (optional) default
	implementation that embeds a boolean sequence to store "missing"
	flags.

	* src/libguppidata/guppi-seq.h: 
	* src/libguppidata/guppi-seq.c: Added missing values API and
	guppi_seq_delete_range() convenience function.  Un-const-ified
	several function args.

	* src/libguppiuseful/guppi-garray.c: Changed from using a g_array
	to doing things "by hand".

	
2000-08-05  Jody Goldberg <jgoldberg@home.com>

	* configure.in : Improve the handling of --disable-python
	Add src/guppi-gnumeric/Makefile.
	Add src/guppi-gnumeric/guppi-gnumeric.oafinfo


2000-08-03  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-element-state.h:
	* src/libguppiplot/guppi-element-state.c:
	* src/libguppiplot/guppi-element-view.h:
	* src/libguppiplot/guppi-element-view.c:
	* src/libguppiplot/guppi-element-canvas-item.h:
	* src/libguppiplot/guppi-element-canvas-item.c:
	* src/libguppiplot/guppi-element-canvas-item.h:
	* src/libguppiplot/guppi-geometry.h:
	* src/libguppiplot/guppi-geometry.c:
	* src/libguppiplot/guppi-layout.h:
	* src/libguppiplot/guppi-layout.c: Made GuppiElementState,
	GuppiElementView, GuppiElementCanvasItem, GuppiGeometry,
	and GuppiLayout into opaque objects.  This involved some API
	extenstions and lots of lots of mindless tweaking of other files
	that touched these struct's contents directly.  (In the process
	I did some other decrufting of code.)

2000-08-03  Michael Meeks  <michael@helixcode.com>

	* configure.in: Fit for BonoboX

2000-08-02  Jody Goldberg <jgoldberg@home.com>

	* src/libguppiplot/guppi-element-print.c
	  (guppi_element_print_setmatrix) : Delete, gnome_print_setmatrix
	  is now private.

2000-08-02  Jon Trowbridge  <trow@gnu.org>

	* src/libguppidataui/guppi-data-select.c
	(guppi_data_select_set_selected_data): Added check that the data
	we are setting is actually of a valid type.  (Oops.)

	* src/libguppiuseful/guppi-convenient.c (guppi_2sort_i): Added;
	convenience routine for putting two integers into sorted order
	(parallel to guppi_2sort() for doubles).

	* src/libguppiplot/guppi-plot-canvas.c (popup_help_create,
	popup_help_cleanup_cb, popup_help_remove): Moved code for
	constructing/managing the popup help window into separate functions.
	(key_press_event, key_release_event): Call the popup help functions,
	rather than doing all of the work themselves.

	* src/libguppiplot/guppi-plot-toolkit.c
	(guppi_plot_toolkit_get_all_keys): Added.  Returns a list of all
	key bindings for that toolkit.  (Used by GuppiPlotToolhelp.)

	* src/libguppiplot/guppi-plot-toolhelp.c
	(guppi_plot_toolhelp_construct): Added a listing of key bindings,
	in addition to the mouse button bindings.

	* src/libguppiplot/guppi-basic-tools.c: Gave many of the tools more
	meaningful names.

	* src/libguppiplot/guppi-plot-tool.c (guppi_plot_tool_name,
	guppi_plot_tool_set_name): Added proper accessor/modifier functions
	for tool names.

	* src/libguppiplot/guppi-element-print.c
	(guppi_element_print_print): Don't print an object if the "hide"
	flag is set.

	* src/libguppiplot/guppi-element-canvas-item.c (render): Don't
	render an object if the "hide" flag is set.

	* src/libguppiplot/guppi-element-view.h: Added "hide" flag.

2000-08-01  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/data_impl/seq_scalar: Hacks to deal with new python
	naming for generated files.

	* build-tools/generate.py: Changed name conversion scheme for 
	generated .py files.

	* src/libguppiplot/guppi-plot-tool.h: Added faux accessor for
	tool names.

	* src/libguppiplot/guppi-plot-canvas.c: Added code to pop up
	a GuppiPlotToolhelp when the question mark key is held down
	on a canvas.

	* src/libguppiuseful/guppi-plug-in.c (guppi_plug_in_find_inner): 
	Made "stat() failed" messages only appear in very-verbose mode.

	* src/libguppiuseful/guppi-convenient.h: Added
	backwards-compatibility macros for gnome-print.

	* src/libguppiplot/guppi-alpha-template.c: Added #ifdef hacks to
	removed dependence on unrelease (though far superior) gnome-print
	v0.21.

	* plug-ins/data_impl/curve/guppi-curve-func-impl.c: Finished
	basic implementation of calculated curves.  It works, but
	naming is all screwed up throughout data_impl: this needs to be
	fixed sooner rather than later.

	* plug-ins/data_impl/seq_scalar/func.c
	(guppi_seq_scalar_func_impl_set_arg): Added a bunch of calls to
	guppi_data_impl_changed() where needed.

	* src/libguppidata/guppi-data-impl.c (guppi_data_impl_changed): 
	Added empty shell of definition for the implementation changed
	signal invocation function.  Right now this does nothing.

	* src/libguppidata/guppi-curve.c (guppi_curve_get_bbox): Added
	fallback version of bounding box function.

2000-07-31  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/text/guppi-text-state.c
	(guppi_text_state_set_text): Check if text has actually changed,
	like all of the other modifiers do.  (This was causing a "signal
	cascade" in the new text configuration widget.)
	(guppi_text_state_set_outline_width): Changed the sematics of this
	function; it no longer does an implicit
	guppi_text_state_set_outline(foo, TRUE).
	(properties_tree): Added a semi-nice configuration widget that
	attaches to the property tree.

	* src/libguppiplot/guppi-alpha-template.c
	(guppi_alpha_template_text_general): Fixed bug which caused a
	segfault when attempting to rasterize the empty string.
	(guppi_alpha_template_print): If NULL is passed in as the alpha
	template to be printed to a GnomeCanvasBuf, just do nothing.

	* plug-ins/plot/axis/guppi-axis-print.c (print): Added code
	for printing axis legends.

	* src/libguppiuseful/guppi-convenient.c (guppi_tooltip): Added
	convenience function for tooltips.

	* plug-ins/plot/axis/guppi-axis-item.c (prepare_legend): Added
	code to rasterize legends.
	(render): If we have a legend already rasterized, paint it in the
	right place.

	* plug-ins/plot/axis/guppi-axis-state.h: 
	* plug-ins/plot/axis/guppi-axis-state.c: Added get/set functions
	for legend-related data.

	* src/libguppiplot/guppi-plot-window.c (configure_request_cb):
	Changed how we deal with configure events; if we get a configure
	event on an unknown "configuree", don't pop up the properties
	window.

	* src/libguppiuseful/guppi-properties.h:
	* src/libguppiuseful/guppi-properties.c: The properties dialog
	now sucks considerably less.  The selection control is now a 
	GtkCTree (what was I thinking when I originally based it on a
	GtkTree?), producing something that both looks nicer and has
	nicer code.  (The GtkCTree API is sort of messy, but it everything
	in there that you need; with the GtkTree, everything was an
	ass-backward hack.)

2000-07-30  Jon Trowbridge  <trow@gnu.org>

	* src/libguppidataui/guppi-data-tree-view.c (button_press_event):
	All of the button press events were being swallowed up by the drag
	& drop code; added code to do the right thing if the tree
	expanders were being clicked.

	* plug-ins/plot/axis/guppi-axis-view.c (state_changed): Added call
	to guppi_geometry_calc_natural_size() on state changes.  (This fixes
	a bug where axis items were not resizing properly when legends
	were added or removed.)

	* src/guppi/guppi-app.c (guppi_app_realize): We don't need to
	respond to "destroy" signals on the app... that just causes
	problems: gtk_signal_connect() call removed.

	* src/libguppiuseful/guppi-paths.c (guppi_glade_path_scan_dir): 
	Annoying message about failed stat() calls now only shows up
	in "very-vebose" mode.

	* plug-ins/plot/scatter/guppi-scatter-state.c: Numerous changes
	to switch from using GuppiDataPickers to GuppiDataSelects in the
	state configuration dialog.
	(config_cb): Fix bug causing our dialog to not be properly
	initialized.

	* plug-ins/plot/boxplot/guppi-boxplot-item.c (data_drop): Added
	drag & drop support.

	* plug-ins/plot/boxplot/guppi-boxplot-state.c
	(guppi_boxplot_state_data, (guppi_boxplot_state_set_data): Added
	accessors for the boxplot's connected data item.

	* plug-ins/plot/axis/guppi-axis-item.c (data_drop): Added drag &
	drop support.

	* plug-ins/plot/axis/guppi-axis-state.h: 
	* plug-ins/plot/axis/guppi-axis-state.c: 
	(guppi_axis_state_set_data, guppi_axis_state_data, 
	guppi_axis_state_init): A data object can now be tied to an
	access.

	* src/libguppiplot/guppi-plot-canvas.h: 
	* src/libguppiplot/guppi-plot-canvas.c: Added a whole steaming pile of
	drag & drop support.  You can now drop data onto individual 
	plot elements.  There are still some rough edges in terms of dealing
	with stacked elements and properly handling data acceptance.

	* src/libguppiplot/guppi-element-view.c (top_view_node_cb):
	Preliminary code for a nicer top-level configuration widget for
	views in the properties dialog.

	* src/libguppiplot/guppi-element-canvas-item.h: Added data_drop 
	function to vtable.  It is called when dragged data is dropped
	on the item.

	* src/libguppidataui/guppi-data-select.h:
	* src/libguppidataui/guppi-data-select.c: A new widget to replace
	GuppiDataPicker.  Nicer (IMHO) and supports DnD.
	
	* src/libguppidataui/guppi-data-tree-view.h: 
	* src/libguppidataui/guppi-data-tree-view.c: Added code to
	make this widget a drag source; individual rows of the
	ctree can be dragged as "guppi/data".

	* src/libguppiuseful/guppi-paths.c (guppi_glade_path): Added ".."
	to the search path for plug-ins, for convenience during
	development.

2000-07-25  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/data_impl/seq_scalar: Reorganized code & build,
	got rid of annoyingly long file names.
	
	* build-tools/gen-scm.pl (parse_scheme): Added "fn_d__d_d" type
	for use by binary seq_scalar functions.

	* configure.in: Deconvoluted the check for readline.  I think it
	still works properly.

	* src/libguppidata/guppi-seq-scalar.c (guppi_seq_scalar_class_init):
	Added specification of implementation type via data_class->impl_type.
	This needs to be added for all of the various data types.

	* src/libguppidata/guppi-seq-scalar-impl.c: Added include to
	silence compiler warning.

	* src/libguppidata/guppi-data.h: 
	* src/libguppidata/guppi-data.c: 
	Cleaned up the implementation and API for our GuppiData virtual
	constructors.  Added lots of paranoid checking of arguments.
	(guppi_data_is_read_only): Check to see if the implementation class
	is flagged as read-only.
	(guppi_data_can_change): Made to return !guppi_data_is_read_only(arg).

	* src/libguppiuseful/guppi-plug-in.c (guppi_plug_in_load): Remove
	extraneous punctuation from splash message.

	* src/guppi/guppi.c (main): Rename the --gpl arg to --license.
	It just makes more sense.

	* src/libguppiuseful/guppi-splash.c (guppi_splash_create):
	Gracefully handle the premature destruction of our splash window.
	(guppi_splash_text): Slightly shorten our"splash text".

2000-07-24  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/data_impl/seq_scalar/guppi-seq-scalar-calc-impl.c:
	Finished implementing transformed sequences.  It all even seems to
	sort of work.  

	* plug-ins/data_impl/seq_scalar/guppi-seq-scalar-calc-impl.h:
	Added prototypes for new transformed sequence constructors.

	* src/libguppidata/guppi-array.c: Further butchered to keep it
	compiling.  This code does nothing useful, and needs to be
	rewritten properly.

	* src/libguppiuseful/guppi-fn-wrapper.c: A bunch of expressions
	g_return_val_if_fails() needs to take their != turned into ==.
	I'm such an idiot.

	* src/libguppiuseful/guppi-convenient.c (guppi_unref): Added anal
	check for non-zero refcount.

2000-07-23  Jon Trowbridge  <trow@gnu.org>

	* src/guppi/guppi.c: Fixed splash messages to be two-lined.

	* plug-ins/data_impl/seq_scalar/guppi-seq-scalar-calc-impl.h: 
	* plug-ins/data_impl/seq_scalar/guppi-seq-scalar-calc-impl.c:
	Minor tinkering.  Still doesn't actually do anything.

	* plug-ins/plot/barchart/guppi-barchart-view.c (make_canvas_item):
	Removed hideous old "hacky_click" code.
	(guppi_barchart_view_find_bar_at_position): Convenience function
	to find which bar is at a given point.

	* plug-ins/plot/barchart/guppi-barchart-state.h: 
	* plug-ins/plot/barchart/guppi-barchart-state.c: Removed the
	hated and feared "hacky_click" code.

	* plug-ins/plot/barchart/guppi-barchart-item.c
	(guppi_barchart_item_class_init): Added clicked_box signal.
	Removed old tool code.

	* plug-ins/plot/axis/guppi-axis-item.c
	(guppi_axis_item_class_init): Removed old tool code.

	* plug-ins/plot/axis/guppi-axis-state.c
	(guppi_axis_state_class_init): Added state type name.

	* plug-ins/plot/scatter/guppi-scatter-item.c
	(guppi_scatter_item_class_init): Removed old tool code.

	* plug-ins/plot/frame/guppi-frame-state.c
	(guppi_frame_state_class_init): Added state name.

	* plug-ins/plot/legend/guppi-legend-state.h: 
	* plug-ins/plot/legend/guppi-legend-state.c: Removed awful old
	"hacky_click" stuff.

	* plug-ins/plot/legend/guppi-legend-view.c (make_canvas_item):
	Removed crufty code related to the old "hacky_click" interface.

	* plug-ins/plot/legend/guppi-legend-item.c: Added clicked_box
	signal.

	* plug-ins/plot/pie/guppi-pie-tool.c: 
	(guppi_pie_toolkit_default): New toolkit.
	(guppi_pie_toolkit_explode): New toolkit.
	(guppi_pie_toolkit_spin): New toolkit.

	* plug-ins/plot/pie/guppi-pie-item.c: Added clicked_slice signal.
	(guppi_pie_item_class_init): Removed old tool code, added
	definition of build_toolkit_vec.

	* plug-ins/plot/slinreg/guppi-slinreg-statviewer.c: Removed
	obsolete slinreg_test function.

	* plug-ins/plot/text/guppi-text-state.c
	(guppi_text_state_class_init): Added a state type name.

	* src/libguppitank/guppi-object-barchart.c: Removed all of the
	hacky old mouse click callback stuff; extended callbacks so that
	mouse-1, mouse-2 or mouse-3 double-clicks can be connected to for
	either bars or legend boxes.

	* src/libguppitank/guppi-object-pie.c: Removed all of the hacky
	old mouse click callback stuff; extended callbacks so that
	mouse-1, mouse-2 or mouse-3 double-clicks can be connected to for
	either slices or legend boxes.

	* src/libguppitank/guppi-object.h: 
	* src/libguppitank/guppi-object.c: 
	Added widget_init to the vtable, which is called on newly-built
	GuppiPlotCanvas objects and which is useful for connecting signal
	callbacks (like to trap double-clicks).

	* src/libguppiplot/guppi-plot-canvas.h: 
	* src/libguppiplot/guppi-plot-canvas.c: Too much has changed to
	describe in detail.  Added a pop-up configure-select menu.
	(guppi_plot_canvas_find_item_by_view): Lets you access a
	canvas item by view.  Useful for connecting signal handlers
	and such.

	Totally new event dispatching off of mouse-click and keypress
	events (obtained by stealing key events from the top-level window)
	that does all of the right things to try to decide which tool
	should be applied to which item in stack of things below the point
	we clicked on.  Handle the execution of an items double-click
	callback on a double-click event.

	* src/libguppiplot/guppi-plot-toolkit.h: 
	* src/libguppiplot/guppi-plot-toolkit.c: 
	Fixed up reference counting; tools added to a toolkit are now sunk.
	(guppi_plot_toolkit_get_key_tool): Support for keybindings.
	(guppi_plot_toolkit_set_key_tool): Support for keybindings.
	(guppi_plot_toolkit_add_to_toolbar): Code for adding a button
	corresponding to a toolkit to a toolbar like the one created by
	GuppiPlotWindow.

	* src/libguppiplot/guppi-plot-tool.h: 
	* src/libguppiplot/guppi-plot-tool.c: Moved the generic tools
	out of this file and into guppi-basic-tools.[ch].
	(guppi_plot_tool_first): Function to activate a tool.
	(guppi_plot_tool_middle): "Mid-life" processing for a tool.
	(guppi_plot_tool_end): Tool deactivation.
	All of the code activation/use/decativation was tangled up in the
	event processing code that used to be in the GuppiElementCanvasItem
	event dispatcher.
	(guppi_plot_tool_supports_item): Test if a tool can act on a
	given item.

	* src/libguppiplot/guppi-plot-window.c: Added configure requests
	to allow the associated properties window to open to a specific
	page.  Added a toolbar that lets you flip between different
	toolkits in the associated GuppiPlotCanvas.

	* src/libguppiplot/guppi-element-canvas-item.c
	(guppi_element_canvas_item_vpath_vp2c): Handle coordinate
	transforms on an entire vpath with one function call.
	(guppi_element_canvas_item_vpath_pt2c): Another bulk coordinate
	transformer. 

	* src/libguppiplot/guppi-element-canvas-item.h: Removed old
	tool-related stuff, added new tool-related stuff.  Added
	build_toolkit_vec to the vtable so that items can declare a list
	of tools that can be used to manipulate them.  Added a
	double-click handler to the vtable.

	* src/libguppiplot/guppi-geometry.h: 
	* src/libguppiplot/guppi-geometry.c (guppi_geometry_contains): 
	Added convenience function.

	* src/libguppiplot/guppi-element-view.c
	(guppi_element_view_properties_tree): Save the view in the
	properties node, so that we can later call up pages by view.

	* src/libguppidata/guppi-curve-impl.h: 
	* src/libguppidata/guppi-curve-impl.c: Added sampling functions
	to the vtable.

	* src/libguppidata/guppi-curve.h: 
	* src/libguppidata/guppi-curve.c: Further work fleshing out the
	API, and the beginnings of an actual implementation.

	* src/libguppidata/guppi-seq-scalar.c (do_range_query): Changed to
	use guppi_2sort.
	(guppi_seq_scalar_range_query): Changed to use guppi_2sort.

	* src/libguppiuseful/guppi-useful.defs (guppi_splash_message):
	Changed definition of guppi_splash_message binding to reflect new
	args.
	
	* src/libguppiuseful/guppi-properties.h:
	* src/libguppiuseful/guppi-properties.c: Added code to open
	properties widget to specific pages, which required some revamping
	of internals.  This is all still fairly hacky.

	* src/libguppiuseful/guppi-python.c (guppi_python_init): Made
	the splash message two-lined.

	* src/libguppiuseful/guppi-plug-in.c (guppi_plug_in_load): Made
	splash message two-lined.

	* src/libguppiuseful/guppi-splash.h: 
	* src/libguppiuseful/guppi-splash.c: Switched from a one-line to
	two-line splash message, which is much nicer: changed the
	guppi_splash_message() args to take two strings, and made some
	internal changes to make it all work.

	* src/libguppiuseful/guppi-guile.h:
	* src/libguppiuseful/guppi-guile.c:
	Added scm2fn_* functions to wrap up scheme procedures in a
	GuppiFnWrapper so that we can eval them in a language-independent
	way.  I need to get Andrew to do similar constructions for Python
	when he gets back from the UK.

	* src/libguppiuseful/guppi-fn-wrapper.h: 
	* src/libguppiuseful/guppi-fn-wrapper.c: I really wish that
	C had lambda expressions; then this sort of thing wouldn't be
	necessary...

	* src/libguppiuseful/guppi-convenient.h: 
	* src/libguppiuseful/guppi-convenient.c: 
	Added more small convenience functions --- guppi_sink(),
	guppi_unref0(), guppi_2sort(), guppi_3sort(), guppi_between().

2000-07-19  Michael Meeks  <michael@helixcode.com>

	* build-tools/gen-scm.pl (parse_scheme): Really fix the problem
	with g_free. It seems most of the below is auto-generated =)

2000-07-18  Michael Meeks  <michael@helixcode.com>

	* src/libguppiuseful/guppi-guile.c s/g_free/free/ except in
	guppi_argv_free.

	* src/libguppiuseful/guppi-scm-useful.c: s/g_free/free/

	* src/libguppidata/guppi-scm-data.c: s/g_free/free/

	* src/guppi/app_scm.c (addsubtree): fix leak. s/g_free/free/

	* src/libguppiplot/guppi-scm-plot.c: s/g_free/free/

	* plug-ins/plot/text/guppi-scm-text.c (fn_scm_guppi_text_state_set_text):
	don't g_free memory not allocated with g_malloc;

Fri Jul 14 16:08:34 2000  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/axis/guppi-axis-item.c
 	(guppi_axis_item_class_init): Added default binding for the
 	toggle_log_scale tool.

	* plug-ins/plot/axis/guppi-axis-tools.c: Added tool for toggling
	between linear- and log-scaled axes.

Wed Jul 12 16:40:36 2000  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/scatter/guppi-scatter-item.c (render): Check
 	coordinate validity with respect to the view; skip invalid points.

	* plug-ins/plot/scatter/guppi-scatter-view.c (valid_range):
 	Calculate the range of data elements, taking validity with respect
 	to the view in to account.
	(preferred_x_range): Use valid_range().
	(preferred_y_range): Use valid_range().

	* src/libguppiplot/guppi-element-view.c (default_markers): Added
 	smarter default markers functions.

	* src/libguppiplot/guppi-plot-tool.c (drag_cb): Perform our
 	translation in conv-coordinates, to get the right effect in
 	non-linear coordinate systems.

	* src/libguppiplot/guppi-element-view.h: Added
 	guppi_element_view_valid_vp convenience macros.

	* src/libguppiplot/guppi-view-interval.h: More code related to
	log-scaled axes.  They mostly work now; reciprocal scaling
	is still broken.

	* src/libguppiplot/guppi-axis-markers.c
 	(guppi_axis_markers_populate_scalar): Add bounds checks as we
 	attempt to add to our set of markers.
	(guppi_axis_markers_populate_scalar_log): Code for choosing a nice
 	set of axis labels for log-scaled axes.  This could still use some
 	fine-tuning.

Wed Jul 12 00:08:22 2000  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot: Lots of small changes to the plot plug-in init code,
	wrapping things in #ifdef HAVE_PYTHON.

	* src/guppi/guppi-app.c (guppi_app_setup_menus): Wrapped python
	scripting menu items and callbacks in #ifdef HAVE_PYTHONs.

	* src/libguppiuseful/guppi-useful.c: Accidentally left include of
 	guppi-python-useful.h outside of the #ifdef HAVE_PYTHON directive.

	
2000-07-13  Michael Meeks  <michael@helixcode.com>

	* configure.in: Hack about; add -lbonobo-print, make python less
	verbose, add standard status stuff at the end.

	* src/libguppibonobo/guppi-bonobo.h (guppi_bonobo_init): kill
	redundant parameters.

	* src/guppi/guppi.c (main): don't create splash if we have been
	oaf activated. (real_main): only do bonobo_init if we are a
	factory process.

	* src/libguppibonobo/guppi-bonobo-print.[ch]: Implement.

	* src/libguppibonobo/guppi-embeddable.c
	(guppi_bonobo_embeddable_destroy): unref the plot on embeddable
	destruction.

	* src/libguppibonobo/guppi-bonobo.c (guppi_bonobo_factory): add print
	interface.

	* src/libguppibonobo/guppi-bonobo-view.c (guppi_bonobo_view_factory): 
	whack the canvas into the view data. (guppi_bonobo_view_destroy):
	destroy the canvas.

	* src/libguppibonobo/guppi-embeddable.[ch]: Split view code.

	* src/libguppibonobo/guppi-view.[ch]: move it here

	* src/libguppibonobo/Makefile.am: Add guppi-view.[ch]

2000-07-12  Michael Meeks  <michael@helixcode.com>

	* src/libguppibonobo/guppi-embeddable.c (hello_bonobo_view_activate),
	(guppi_bonobo_view_class_init): hook in UI activation.

	* src/libguppiplot/guppi-alpha-template.c (get_gt1_font): 
	define out. (guppi_alpha_template_text_general): update for GnomeFont
	(my_gt1_glyph_outline_lookup): define out.
	(my_art_drect_bpath): ditto.

	* plug-ins/plot/text/guppi-text-state.c
 	(guppi_text_state_set_font_size): fix.

	* plug-ins/plot/text/guppi-text-state.h
 	(guppi_text_state_font_size): fix.

	* plug-ins/plot/axis/guppi-axis-print.c (print): fix.

Wed Jul 12 00:08:22 2000  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-view-interval.c: Added some code related
	to transformed axes (for log-plots and such).

	* src/guppi/guppi.c (real_main): Reorder init sequence to call
 	guppi_bonobo_init() last.  This allows guppi to get fully
 	initialized before responding to any bonobo requests.

Tue Jul 11 21:57:15 2000  Jon Trowbridge  <trow@gnu.org>

	* src/libguppibonobo/guppi-embeddable.c
 	(guppi_bonobo_view_factory): Added code to construct a widget from
 	the GuppiBonoboEmbeddable.
	(guppi_bonobo_embeddable_construct): Initialize our embeddables
 	with a stupid canned demo.

	* src/libguppiplot/guppi-element-canvas-item.c (update, render):
 	Check if the item's scale factor is >0 before executing its
 	update/render code.

Sun Jul  9 16:37:22 2000  Jon Trowbridge  <trow@gnu.org>

	* src/libguppitank/guppi-object-pie.c
 	(guppi_object_pie_set_arg, guppi_object_pie_class_init, build):
 	Added parameters for controlling the fonts used in the plot.
	
	* src/libguppiuseful/guppi-useful.h: Added guppi-convenient.h.
	I hate doing this, because my next build is going to take
	forever...

	* src/libguppiuseful/guppi-convenient.h:
	* src/libguppiuseful/guppi-convenient.c: I'm sick and tired of
 	doings all sorts of checks for NULL and casts to GTK_OBJECT when
 	calling gtk_object_ref & gtk_object_unref, so I define some
 	convenience functions that will do it for me.  In the spirit of
 	cutting down keystrokes, I also add the mildly abusive
	guppi_refcounting_assign() macro.

	* src/libguppitank/guppi-object-barchart.c
 	(guppi_object_barchart_set_arg, guppi_object_barchart_class_init,
 	build): Added parameters for controlling the fonts used in the
 	plot.

	* src/libguppidata/guppi-seq-date.c (guppi_seq_date_new): Fixed
 	typo. 

	* src/libguppidata/guppi-seq-scalar-impl.c (v_seq_validate,
 	v_seq_get, v_seq_set, v_seq_insert): Added default method
	definitions.

	* src/libguppiuseful/guppi-plug-in.c (guppi_plug_in_find,
 	guppi_plug_in_find_all): Added routines to scan directory
 	structure, return the locations of plug-ins.
	(guppi_plug_in_load_dir, guppi_plug_in_load_all): Changed to use
 	the find routines to locate plug-ins to be loaded.

	* src/libguppiplot/guppi-seq-style.c (guppi_seq_style_new): 
 	Changed convenience constructor to call guppi_data_newv.

	* src/libguppidata/guppi-seq-string.c (guppi_seq_string_new): 
 	Changed convenience constructor to call guppi_data_newv.

	* src/libguppidata/guppi-seq-object.c (guppi_seq_object_new): 
 	Changed convenience constructor to call guppi_data_newv.

	* src/libguppidata/guppi-struct.c (guppi_struct_new): 
 	Changed convenience constructor to call guppi_data_newv.

	* src/libguppidata/guppi-seq-integer.c (guppi_seq_integer_new):
 	Changed convenience constructor to call guppi_data_newv.

	* src/libguppidata/guppi-seq-date.c (guppi_seq_date_new): Changed
 	convenience constructor to call guppi_data_newv.

	* src/libguppidata/guppi-seq-boolean.c (guppi_seq_boolean_new):
 	Changed convenience constructor to call guppi_data_newv.

	* src/libguppidata/guppi-seq-scalar.c (guppi_seq_scalar_new):
 	Changed convenience constructor to call guppi_data_newv.

	* src/libguppidata/guppi-data.c (guppi_data_newv): Added data
	constructor that uses the new implementation plug-in system.
	The constructor args are passed to the implementation.
	(guppi_data_new): var_args verison of guppi_data_newv.
	(guppi_data_impl): Because of the redesign of implemention handling,
	this function doesn't really do anything special anymore.

	* plug-ins/data_impl:
	* src/libguppidata: Moved all data type implementations into
 	plug-ins, and added code to GuppiData so that specific
 	implementations can be requested, and so that args can be passed
	to implementations.

Fri Jul  7 13:48:11 2000  Jon Trowbridge  <trow@gnu.org>

	* src/libguppidata/guppi-data.c (guppi_data_finalize): Move
	parent's finalize call to after local finalization.
		
	* src/libguppiplot/guppi-element-canvas-item.c
 	(guppi_element_canvas_item_finalize): Fixed refcounting problem.

	* plug-ins/plot/scatter/guppi-scatter-style-view.c
 	(guppi_scatter_style_view_finalize): Fixed a rather heinous memory
 	leak.

	* plug-ins/plot/scatter/guppi-scatter-view.c (state_changed):
 	Added some needed refcounting.
	(guppi_scatter_view_finalize): Fixed potential memory leak.
	(view_init): Fixed refcounting.

	* plug-ins/plot/axis/guppi-axis-item.c (guppi_axis_item_finalize):
 	Fixed memory leak.

	* plug-ins/plot/boxplot/guppi-boxplot-item.c
 	(guppi_boxplot_item_finalize): Fixed memory leak.

	* plug-ins/plot/legend/guppi-legend-item.c
 	(guppi_legend_item_finalize): Fixed memory leak.

	* plug-ins/plot/linegraph/guppi-linegraph-item.c
 	(guppi_linegraph_item_finalize): Fixed memory leak.

	* plug-ins/plot/pie/guppi-pie-item.c (guppi_pie_item_finalize):
 	Fixed memory leak.

	* plug-ins/plot/text/guppi-text-item.c (guppi_text_item_finalize):
 	Fixed memory leak.

	* plug-ins/plot/scatter/guppi-scatter-item.c
 	(guppi_scatter_item_finalize): Fixed memory leak.

	* plug-ins/plot/axis/guppi-axis-state.c
 	(guppi_axis_state_finalize): Fixed memory leak.
	(guppi_axis_state_init): Fixed small refcount bug.

	* plug-ins/plot/barchart/guppi-barchart-state.c
 	(guppi_barchart_state_finalize): Plugged small memory leak.

	* plug-ins/plot/legend/guppi-legend-state.c
 	(guppi_legend_state_init): Fixed ref count bug.
	(guppi_legend_state_set_label_font): More anal type/NULL checking.
	(guppi_legend_state_finalize): Fixed small memory leak.

	* plug-ins/plot/pie/guppi-pie-state.c (guppi_pie_state_init):
 	Fixed ref count bug.
	(guppi_pie_state_finalize): Fixed memory leaks.
	(guppi_pie_state_set_label_font): Better checks for NULL font.

	* plug-ins/plot/slinreg/guppi-slinreg-state.c
 	(guppi_slinreg_state_finalize): Memory leaks.
	(guppi_slinreg_state_set_label_font): Extra checks for NULL font.

	* plug-ins/plot/text/guppi-text-state.c
 	(guppi_text_state_finalize): Plugged memory leak.
	(guppi_text_state_set_font_size): Plugged memory leak.
	(guppi_text_state_set_font): Added extra checks for NULL font.

Thu Jul  6 19:43:22 2000  Jody Goldberg <jgoldberg@home.com>

	* src/libguppiuseful/guppi-plug-in.c (guppi_plug_in_load_dir) :
	  plugin file names now have the format guppi_*.so

	* plugins/*/Makefile.am : Added -module -avoid-version to decrease the
	  number of files installed for each plugin.

2000-07-06  Andrew Chatham <andrew.chatham@duke.edu>

	* src/libguppiuseful/guppi-python.c (color2py):
	Changed color conversion to return PyInt's only. Returning as lists
	doesn't work, which I'll look into.

	* build-tools/generate.py:
	Fixed memory leak. Previously all code was of the form 
	"return convert_to_py(c_func(args,...))" This has all been changed
	so that arguments can be freed before returning if necessary (for
	argv). Still haven't actually tried any argv arguments, though.
	
2000-07-06  Michael Meeks  <michael@helixcode.com>

	* src/libguppibonobo/guppi-embeddable.c (guppi_bonobo_view_factory):
	set the view frame. (guppi_bonobo_embeddable_construct): handle
	errors nicely.

Wed Jul  5 23:19:34 2000  Jon Trowbridge  <trow@gnu.org>

	* src/libguppitank/guppi-object.c (guppi_object_new): Added bar
 	charts to our virtual constructor.

	* src/libguppitank/guppi-object-barchart.c: Initial implementation
 	of GuppiObject for bar charts.

	* src/libguppitank/guppi-object-pie.c: Added support for radius,
 	radius_maximize, radius_lock args, and for separate legend
 	callbacks.

	* src/libguppiplot/guppi-plot.defs: Added binding for
 	guppi_element_view_set_event_blocking function.

	* src/libguppiplot/guppi-element-canvas-item.c (event_dispatcher):
 	Hacked event dispatcher to abort if the block_event flag is set on
 	the canvas item's associated view object.

	* src/libguppiplot/guppi-element-view.c
 	(guppi_element_view_set_event_blocking): Added event blocking
 	flag.

	* src/libguppidata/guppi-seq-object-core-impl.c
 	(guppi_seq_object_core_impl_finalize): Fixed ordering of finalize
 	function, stomping memory corruption bug.  There are more of these
 	lurking out there. :-/

	* plug-ins/plot/legend/guppi-legend-state.c
 	(guppi_legend_state_init): Made our default edge thickness
 	narrower.

	* plug-ins/plot/legend/guppi-legend-print.c (print): 
	* plug-ins/plot/legend/guppi-legend-item.c (render): 
	Fixed bug in calculation of box_y_step when we only have one item
	in our legend.

	* plug-ins/plot/barchart: Finished core bar chart functionality.

	* plug-ins/plot/axis/guppi-axis-state.c
 	(guppi_axis_state_maximum_span): Commented out the rounding up of
 	the the natural axis size, as it produces an annoying "flutter" in
 	bar charts.  Since it is useful in scatter plots, it should become
 	an optional parameter.

Mon Jul  3 12:55:00 2000  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/barchart/guppi-barchart-state.c: One of the great
 	truisms of coding is that if your code is too complex, you
 	probably have failed to understand the question at hand.  That was
 	what happened to me during my first pass at bar charts; I tried to
 	operate a bit too generally, and the extra functionality that I
 	tried to provide (which was of at best dubious value) was creating
 	all sorts of code complexity --- not to mention cases where it was
 	difficult to see what the default behavior should be, and equally
 	difficult to properly delegate that decision making to
 	user-supplied code.  This is a bad place to be, so a quick
 	retooling of my existing code has led to great code
 	simplification.  But shed no tears for the lost functionality; if
 	anyone should possibly still want do to things that way, you still
 	can by properly manipulating your data beforehand and placing N
 	barchart plug-ins in a row.

	* plug-ins/plot/axis/guppi-axis-print.c (print): Tweaked usage of
 	guppi_axis_state_tick_properties().

	* plug-ins/plot/axis/guppi-axis-item.c (prepare_labels): Tweaked
 	usage of guppi_axis_state_tick_properties().
	(render): Tweaked usage of guppi_axis_state_tick_properties().

	* plug-ins/plot/axis/guppi-axis-state.c
 	(guppi_axis_state_tick_properties): Made the label offset a
 	calculated property.  (It is nice to be able to stick a little
 	extra space in for "tickless" axis markers.)
	(guppi_axis_state_label_shrink_to_fit_factor): Tweaked usage of
 	guppi_axis_state_tick_properties().
	(guppi_axis_state_maximum_span): Tweaked usage of
 	guppi_axis_state_tick_properties().

2000-07-03  Michael Meeks  <michael@helixcode.com>

	* src/libguppibonobo/guppi-embeddable.[ch]: Implement.

2000-06-30  Michael Meeks  <michael@helixcode.com>

	* src/guppi/corba_guppi.c (guppi_corba_init): add alternative init
	for oaf.

2000-06-28  Michael Meeks  <michael@helixcode.com>

	* src/guppi/guppi.c (main): add oaf options.

	* configure.in: Create lots of mess making the checks for Bonobo
	more stringent, and rolling an oaf check in too.

	* src/guppi/guppi.c (real_main): re-enable bonobo init.

	* src/libguppibonobo/guppi-bonobo.c: Fixed up and slightly
	less hobbled.

	* src/libguppibonobo/guppi-bonobo.h: update.

	* src/libguppibonobo/guppi.oafinfo: create.

	* src/libguppibonobo/Makefile.am: Add oaf install info.

2000-06-28  Michael Meeks  <michael@helixcode.com>

	* src/libguppiplot/guppi-plot-window.c (do_print_cb): Add
	preview.

Sun Jul  2 21:19:41 2000  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/barchart: Lots of hacking... it is starting to do
 	things now.  Nice things, IMHO.

	* plug-ins/plot/axis/guppi-axis-state.c
	(guppi_axis_state_maximum_span): Fixed max size calculation to
 	take rotation into account.

	* plug-ins/plot/axis/guppi-axis-view.c: Made our natural
 	height/width functions work according to our new scheme.
  	Connected signals so that our height/width get recalculated every
 	time our associated axis markers change; this allows the axis to
 	grow/shrink to accomodate changing marker sizes.

	* plug-ins/plot/boxplot/guppi-boxplot-view.c: Updated natural
 	height/width functions.  If we don't have any data connected, we
 	set our height/width to zero, which is just a bit nicer.

	* plug-ins/plot/legend/guppi-legend-view.c: Fixed natural
 	height/width functions to conform to our new scheme.

	* src/libguppiplot/guppi-plot.c (guppi_plot_schedule_layout): Add
 	a function to set up an idle function with a call to
 	guppi_plot_calc_layout().

	* src/libguppiplot/guppi-plot-canvas.c
 	(guppi_plot_canvas_add_item): When we add an item to our canvas,
 	listen for it's geometry's "changed_position" signal and, when
 	triggered, reposition it on the canvas accordingly.  By doing
 	this, we don't have to explicitly call position_item() in response
 	to layout changes --- only for the scale changes that we are
 	generating ourselves.

	* src/libguppiplot/guppi-element-canvas-item.c
 	(guppi_element_canvas_item_set_bbox_c): Only call
 	gnome_canvas_update_bbox() (and hence generate redraw requests,
 	etc.) if our bounding box actually changed.

	* src/libguppiplot/guppi-layout.c (register_geom): When we
 	register a geometry object, listen for its CHANGED_SIZE signal ---
 	and if it changes size, recalc our entire layout.
	(build_vec): Replace direct access to GuppiGeometry innards by
 	calls to guppi_geometry_natural_width() and
 	guppi_geometry_natural_height().
	(guppi_layout_recalc): Added function to re-calculate the layout
 	using the same bounds as the previous call to guppi_layout_calc()...
	(guppi_layout_calc): ...so we need to save a copy of the bounds
	that we pass into guppi_layout_calc() for possible later use
	by guppi_layout_recalc().

	* src/libguppiplot/guppi-element-view.c
	Added lots of paranoid checking of function args.
 	(guppi_element_view_changed_size): Make
 	guppi_element_view_changed_size() call
 	guppi_geometry_calc_natural_size().  The emission of the
 	CHANGED_SIZE signal is blocked for now; I should probably remove
 	the GuppiElementView CHANGED_SIZE signal, because the
 	GuppiGeometry encodes the size info and it is it's rightful place
 	to throw around these signals.

	* src/libguppiplot/guppi-geometry.c: Retooled how natural heights
 	and widths are handled, including rationalizing the callback
 	signatures.  guppi_geometry_calc_natural_size() now tries to
 	calculate the natural w/h, and emits a CHANGED_SIZE signal if the
 	values it comes up with are different than before.  Natural sizes
 	are cached so that multiple calls to
 	guppi_geometry_natural_width() and guppi_geometry_natural_height()
 	only call guppi_geometry_calc_natural_size() the first time.
	
	
Fri Jun 30 00:07:15 2000  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/axis/guppi-axis-state.c
 	(guppi_axis_state_tick_properties): Added support for
 	GUPPI_TICK_NONE type.

	* plug-ins/plot/frame/guppi-frame-item.c (render): Added support
 	for GUPPI_TICK_NONE type.

	* src/libguppiplot/guppi-axis-markers.h: Added a new tick type:
 	GUPPI_TICK_NONE, for labels w/o associated ticks.

	* plug-ins/plot/barchart/guppi-barchart-view.c (update_markers):
 	Show axis markers as percentages when rendering stacked,
 	normalized bars.

	* src/libguppiplot/guppi-axis-markers.c
 	(guppi_axis_markers_populate_scalar): Added a style flag and
 	support for displaying scalars as percentages.

	* src/guppi/corba_guppi.c (guppi_corba_shutdown): 
	* src/libguppiuseful/guppi-exit.c (do_shutdown):
	(guppi_exit): Added verbosity check to console output.

	* src/guppi/guppi-app.c (guppi_app_setup_menus): Added a menu
 	entry for the bar chart demo.
	(hacked_bar_cb): Added this callback for the bar chart demo..

	* plug-ins/plot/barchart: More bar chart hacking.

	* src/libguppiplot/guppi-element-view.c (do_x_markers): Don't try
 	to update our markers if our view doesn't have an associated state
 	object yet.
	(do_y_markers): Ditto.

	* src/libguppiplot/guppi-layout.c
 	(guppi_layout_vertically_adjacent): Another coordinate system fix.

	* src/libguppiplot/guppi-plot-canvas.c (guppi_plot_canvas_c2pt):
 	Put in coordinate system reversal.
	(guppi_plot_canvas_c2pt): Put in coordinate system reversal.

	* src/libguppiplot/guppi-element-canvas-item.c
 	(guppi_element_canvas_item_set_bbox_c): Rearrange the coordinates
 	in the canonical order, if the necessary.

	* src/libguppiplot/guppi-plot.c (guppi_plot_print): Removed
 	coordinate flip.  Now that the pt coordinate system has been made
 	consistent with postscript's conventions, it is no longer
 	necessary.

Thu Jun 29 11:10:44 2000  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-layout.c (guppi_layout_natural_height):
 	Fixed height calculation in relation to our correcting of the
 	handedness of the pt coordinate system.
	(guppi_layout_flush_top): More coordinate system changes.
	(guppi_layout_flush_bottom): More coordinate system changes.

	* src/libguppiplot/guppi-geometry.h (guppi_geometry_height):
 	Reversed sign to accomodate our (corrected) coordinate system.

	* src/libguppiplot/guppi-element-view.c
 	(guppi_element_view_vp2pt): Fixed stupid typo.

	* src/libguppiplot/guppi-plot-canvas.c
 	(guppi_plot_canvas_vertical_fit): Test for division by zero.
	(guppi_plot_canvas_horizontal_fit): Test for division by zero.
	(guppi_plot_canvas_pt2c): Test for division by zero.
	(guppi_plot_canvas_c2pt): Test for division by zero.

	* src/libguppiplot/guppi-element-canvas-item.h:
	* src/libguppiplot/guppi-element-canvas-item.c: Cleaned up all of
	the coordinate transforms, added new convenience functions.
	Simplified our use of macros.

	* src/libguppiplot/guppi-element-view.h: 
	* src/libguppiplot/guppi-element-view.c: Rationalized coordinate
	transforms, adding code for dealing with the pt coor system.
	(This is our device-independent coor system in postscript points.)

	* src/libguppiplot/guppi-geometry.h: Added conv and unconv macros.

	* plug-ins/plot/barchart: Preliminary work on getting the bar
 	chart to actually do something.  I can now handle the rendering
 	for any 2-d bar chart that Excel can do... or at least the crappy
 	old version of Excel that I have handy.  Data access is still
 	canned, and guile bindings, accessors and printing are not
 	provided --- but that really is the easy part. :-)
 
Wed Jun 28 16:43:47 2000  Jon Trowbridge  <trow@gnu.org>

	* src/libguppidata/guppi-seq-scalar-core-impl.c
 	(guppi_seq_scalar_core_impl_finalize): Re-ordered chained call to
 	parent.  Added free()ing of the sorted copy of the data... a nice
 	little memory leak.
	(v_seq_scalar_range_query): Added adjusted by index basis in the
 	case of data w/o a sorted copy.

	* src/libguppidataui/guppi-data-picker.c
 	(guppi_data_picker_rebuild): Fixed off-by-one error that caused
 	data pickers to change values when new data was loaded.

	* src/libguppidata/guppi-seq-boolean-core-impl.c
 	(v_seq_boolean_set_many): Added adjustment by index basis and a
 	check that our index value is in range.

	* src/libguppidata/guppi-seq-scalar-core-impl.c
 	(v_seq_scalar_range_query): Fixed a reversed inequality that was
 	causing us to do extra work when the entire data set lay inside of
 	our range query interval.

	* plug-ins/plot/pie/guppi-pie-print.c (print): Fixed to use round
 	joins.  (Problem pointed out by Bill Gribble.)

2000-06-28  Michael Meeks  <michael@helixcode.com>

	* src/libguppiplot/guppi-plot-window.c (do_print_cb): Add
	preview.
	
Wed Jun 28 13:10:20 2000  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-element-print.c
 	(guppi_element_print_print): Oops... I forgot to remove some
 	debugging code that framed each element when printing.

	* src/libguppiplot/guppi-plot-window.c (edit_prop_cb): Removed
 	hard-wired size for properties window.

	* src/libguppiuseful/guppi-properties.c (select_child_cb): Fixed
 	resizing problem with properties widget (at least partially).

Tue Jun 27 00:40:16 2000  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiuseful/guppi-guile.c: Misc fixes for guile 1.3.0
	compatibility.

	* build-tools/gen-scm.pl: Changed auto-generated code to support
 	guile 1.3.x, x<4.

	* src/guppi/guppi.c (main): Moved the hard-wired monitor
 	parameters into my .guppirc file, where they belong.

	* src/python-server/Makefile.am: Linking is screwed up with old
 	versions of guile, due to the qthreads mess.  (What does guile
 	have to do with python-server, you ask?  Good question.)

	* src/guppi/corba_guppi.c (scm_strport_to_string): See previous
 	entry.

	* plug-ins/plot/slinreg/guppi-slinreg-state.c (properties_tree):
 	Moved existing info widget into a properties tree, along with a
 	placeholder for a configuration screen.

	* plug-ins/plot/scatter/guppi-scatter-state.c (properties_tree):
 	Tied existing config widget into a properties tree node.  This
 	widget is too big: it should be split up into multiple "screens".
  	For now, though, I'm happy to just have something working...

	* src/libguppiplot/guppi-element-view.c
 	(guppi_element_view_properties_tree): Changed to automatically
 	construct an element-level top node with the view and state nodes
 	as children underneath.

	* src/libguppiplot/guppi-plot-window.c (edit_prop_cb): Changed so
 	that there is always at most one properties widget per window:
 	re-selecting the edit properties menu item just raises any
 	existing window.

	* src/libguppiuseful/guppi-properties.c (add_page): Allow the
	widget constructor function to be NULL, which causes a placeholder
	label widget to be created.

Mon Jun 26 08:29:41 2000  Jon Trowbridge  <trow@gnu.org>

	* src/libguppidata/guppi-data-tree.c: Added #include to silence
 	compiler warning.

	* src/libguppiplot/guppi-plot-window.c: Added an edit menu with a
 	"Properties" option that creates and shows the plot canvas'
 	properties dialog.

	* src/libguppiplot/guppi-plot-canvas.c
 	(guppi_plot_canvas_properties_dialog): Get the property tree of
 	the canvas' plot object and use it to build a dialog.

	* src/libguppiplot/guppi-plot.c (guppi_plot_properties_tree):
 	Added; builds up the property tree for all the plot's component
 	views.

	* src/libguppiplot/guppi-element-view.c
 	(guppi_element_view_properties_tree): Call virtual function for
 	creating the associated GuppiPropertiesNode for both the view and
 	the associated state.  If both return non-NULL, add the view's
 	node as a child of the state's node.

	* src/libguppiplot/guppi-element-state.c
 	(guppi_element_state_properties_tree): Call virtual function for
 	creating the associated GuppiPropertiesNode.

	* src/libguppiuseful/guppi-properties.c
 	(guppi_properties_construct): Show the page associated to the root
 	tree node upon creation.

	* src/libguppiuseful/guppi-python.c (guppi_python_init): Removed
 	C++-style comment which was confusing one of the gettext-related
 	programs.

	* plug-ins/plot/scatter/guppi-scatter-item.c
 	(guppi_scatter_item_finalize): Re-ordered destructor to avoid
 	memory corruption.

	* src/libguppiuseful/guppi-useful.h: Added guppi-properties.h.

	* plug-ins/plot/boxplot/guppi-boxplot-item.c (update): When
 	zooming in extremely close, the off-screen coordinates of the
 	paths defining the box could get quite large, and this sometimes
 	annoyed libart.  To work around this, I've clamped the path
 	coordinates to values just off the edge of the screen.  (Part II
 	of the fix for Bug#15054.)

	* plug-ins/plot/slinreg/guppi-slinreg-item.c (update): Fixed bug
 	that caused the regression line's label to get "stuck" on the
 	screen when the line itself was no longer visible.

	* src/libguppidata/guppi-seq-scalar-core-impl.c
 	(v_seq_scalar_range_query): I must have been on crack when I first
 	coded the simple bisection search here... I totally got it
 	wrong. :-/  (Part I of the fix for Bug#15054.)

	* plug-ins/plot/legend/guppi-legend-item.c: Suppressed warning by
	adding forgotten #include.

	* src/libguppiuseful/guppi-guile.c: Removed some crufty looking
 	stuff from the SCWM-copied chunk of code that seemed to be itself
 	copied out of the fluid.h header of an old version of guile.
  	Replaced it by #including fluid.h.  (That stuff must not have been
	exported by guile way back when...)

	* build-tools/gen-scm.pl: Adjusted the auto-generated code to be
 	both guile 1.3.x and 1.4.x compatible.  (I'm particularly happy
 	today that my guile bindings are auto-generated...)

	* plug-ins/plot/pie/guppi-pie-view.c
 	(guppi_pie_view_effective_radius): Added support for
 	radius_maximize parameter.

	* src/libguppitank/guppi-object-pie.h: 
	* src/libguppitank/guppi-object-pie.c: Added support for
	legends, custom slice colors, slice/box click callbacks, etc.

	* plug-ins/plot/legend/guppi-legend-state.c: Added get_arg/set_arg
 	access to the "hacky box click".

	* plug-ins/plot/legend/guppi-legend-view.c (make_canvas_item):
 	When appropriate, the legend canvas item we construct has the
 	"hacky box click" callback connected.

	* plug-ins/plot/pie/guppi-pie-state.c: Added get_arg/set_arg access
	to the "hacky slice click".  Added radius_maximize parameter.

	* plug-ins/plot/pie/guppi-pie-view.c (make_canvas_item): When
 	appropriate, the pie canvas item we construct has the "hacky slice
 	click" callback connected.

	* src/libguppiplot/guppi-shared-hash.h: Added macro key for
	shared labels.

Sun Jun 25 13:32:06 2000  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-element-canvas-item.c
 	(guppi_element_canvas_item_init): Construct the local toolkit.
	(guppi_element_canvas_item_finalize): Deallocate the local
 	toolkit.

	* plug-ins/plot/pie/guppi-pie-view.c (make_canvas_item): Added
 	support for hacked slice click tool.

	* plug-ins/plot/pie/guppi-pie-item.c (update): Updaed for new font
 	rasterize parameters.

	* plug-ins/plot/axis/guppi-axis-item.c (prepare_labels): Updated
 	for new font rasterizer parameters.
	
	* plug-ins/plot/text/guppi-text-item.c (set_template): 
	Updated for new alpha template behavior.

	* src/libguppiplot/guppi-raster-text.c
 	(guppi_raster_text_rasterize_full): Changed font size parameter to
 	a scale factor, as per our changes in the alpha template.

	* src/libguppiplot/guppi-alpha-template.c
 	(guppi_alpha_template_text_general): Removed last remnant of my
 	ass-backwards way of separating fonts and font sizes.  The size
 	parameter is the alpha template text rasterizer is now just a
 	general scale factor.

	* src/libguppiplot/guppi-layout.c (guppi_layout_calc): Clamp
 	calculated coordinate values, to keep objects from "falling off
 	the page."

	* src/libguppiuseful/guppi-properties.c: Added code for "properties
 	edit" widget w/ a tree menu to control which page to look at.

	* src/guppi/guppi.c (real_main): Hard-wired in a
 	guppi_set_monitor_size() call for my specific monitor. :-/ This
	information needs to get moved to a conf file.
	
	* plug-ins/plot/legend: Preliminary implementation of legend
 	objects.  The basic rendering code is done, but much of the state
 	is still hard-wired.

	* plug-ins/plot/scatter/guppi-scatter-item.c (update): Simplified
 	code by using the guppi_seq_grow_to_include_range() function to
 	alloc our local visibility masks.

	* src/libguppidata/guppi-seq-boolean-core-impl.c
 	(v_seq_grow_to_include): Added grow_to_incude vfunction.

	* src/libguppidata/guppi-seq.c: Added the various grow_to_include
 	functions.

	* src/libguppidata: Added code for a GuppiSeqObject type.

	* src/libguppidata/guppi-seq-scalar.c
 	(guppi_seq_scalar_insert_many): Changed to use new insert_many
 	semantics.
	(guppi_seq_scalar_insert_repeating): Added.
	(guppi_seq_scalar_prepend_many): Added.
	(guppi_seq_scalar_prepend_repeating): Added.
	(guppi_seq_scalar_append_many): Added.
	(guppi_seq_scalar_append_repeating): Added.

	* src/libguppidata/guppi-seq-scalar-impl.c
 	* src/libguppidata/guppi-seq-scalar-core-impl.c
 	(v_seq_scalar_insert_many): Changed insert_many semantics to take
 	a pointer and a stride, rather than just an array of doubles.
  	This is somewhat more flexible.  Also added grow_to_include
 	vfunction.

Fri Jun 23 17:43:53 2000  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/legend: Added most of the standard boilerplate
	code.  It still doesn't do anything.
	
	* plug-ins/plot/*/init.c (guppi_plug_in): Check for guile and
 	python with the guppi_supports_*() commands, and only init the
 	bindings for the languages if the scripting languages are active.

	* src/libguppiplot/guppi-layout.h:
	* src/libguppiplot/guppi-layout.c:
	* src/libguppiplot/guppi-plot.h:
 	* src/libguppiplot/guppi-plot.c:
	* src/libguppiplot/guppi-plot.defs: Added
 	guppi_layout_width_equals_height() and the associated
 	guppi_plot_layout_width_equals_height().

	* src/guppi/guppi.c (real_main): Changed our --script option to
 	call guppi_execute_script(filename).  Thus guppi will figure out
 	what language the script is in and do the right thing.

	* src/libguppiuseful/guppi-scripting.h: 
	* src/libguppiuseful/guppi-scripting.c: Added a unified set of
	operations for dealing with scripting.

	* src/libguppidata/guppi-seq-scalar-core-impl.c
 	(v_seq_scalar_range_query): Optimized for the case when the range
 	of our data is entirely within the range of our query.

	* plug-ins/plot/scatter/guppi-scatter-item.c (render): Added raw
 	array access for our GuppiSeqScalar items.  Tuned our usage of
 	visibility bit masks.  This all should (theoretically) speed
 	things up a bit, but our main bottleneck remains moving RGB data
	between the X client and the server.
	

Thu Jun 22 00:46:30 2000  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/boxplot/guppi-boxplot-print.c (print): Do nothing
 	if we aren't in a ready state.  (This was causing stray marks to
 	appear when printing a "blank" plot.)

	* plug-ins/plot/axis/guppi-axis-print.c (print): As coded, it
 	wouldn't show labels if the tick was not shown.  This was wrong,
 	as is now fixed.  

	* plug-ins/plot/axis/guppi-axis-item.c (render): Replaced big
 	switch statement with call to guppi_axis_state_tick_properties().

	* plug-ins/plot/axis/guppi-axis-state.c
 	(guppi_axis_state_tick_properties): Moved the resolution of tick
 	properties here (from the canvas item and print object), thus
 	eliminating some ugly code duplication.

	* plug-ins/plot/axis/guppi-axis-state.c (guppi_axis_state_get_arg,
 	guppi_axis_state_set_arg, guppi_axis_state_class_init,
 	guppi_axis_state_init): Added "shrink_labels_to_fit" and "label
 	offset" variables.
		
	* plug-ins/plot/pie/guppi-pie-state.c (guppi_pie_state_get_arg,
 	guppi_pie_state_set_arg): Added arg processing for our radius_lock
 	variable.

	* plug-ins/plot/pie/guppi-pie-item.c (guppi_pie_item_in_slice):
 	Fixed idiotic typo.

Wed Jun 21 14:23:31 2000  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/scatter/guppi-scatter-item.c (update, render):
 	Hacked on how the range queries are done, trying to goose the
 	performance up a bit.  (Cesar Talon observed that Guppi seemed to
 	have gotten a bit slower in its screen updates since I retooled
 	the internals.)

	* src/libguppiplot/guppi-geometry.h (guppi_geometry_width,
 	guppi_geometry_height): Added semi-useful macros.

	* plug-ins/plot/pie/guppi-pie-tool.c: Add "change radius" tool,
 	borrowing code from explode_all().

	* plug-ins/plot/pie/guppi-pie-item.c (update): Use the new
 	guppi_pie_view_effective_radius() function to determine the radius
 	of our rendered slices.
	(guppi_pie_item_class_init): Connect up our new "change radius
 	tool" to mouse-3.
	(guppi_pie_item_in_slice): Use the effective_radius() function to
 	determine which slice we are in.

	* plug-ins/plot/pie/guppi-pie-view.c (guppi_pie_view_max_radius):
 	Calculates the maximum possible radius for this view of the pie
 	chart that doesn't result in us spilling outside of the bounds of
 	our plot.
	(guppi_pie_view_effective_radius): Calculates what radius to
 	render the pie chart with, considering all factors.

	* plug-ins/plot/pie/guppi-pie-state.c (guppi_pie_state_init): Made
 	the new radius_lock value default to TRUE.
	(guppi_pie_state_set_radius_lock): Added an accessor for the
 	radius lock variable.

	* src/libguppidata/guppi-seq-scalar-core-impl.c: Added a cached
 	sorted index of the data for optimized range queries.  The sorted
 	index is created on the first range query, but then a waiting
 	period is imposed --- after it is invalidated, N range queries
 	will be made using the less efficient O(N) algorithm before the
 	new index is generated.  This way we won't thrash creating and
 	destroying sorted indices when doing some like (for example)
 	dragging a point around a scatter plot.  I think that this is
 	rather clever.  It remains to be seen how it works out in
 	practice.
	(v_seq_scalar_range_query): Added a range query function that will
 	use the sorted index of the data if available, and otherwise just
 	scans the whole array.

	* src/libguppidata/guppi-seq-boolean-core-impl.c
 	(v_seq_boolean_set_many): Added a "set many" function for the core
 	bool sequence implementation.

	* src/libguppidata/guppi-seq-boolean-impl.h: Added virtual
	function for set_many to GuppiSeqBooleanImpl.

	* src/libguppidata/guppi-seq-boolean.h
	* src/libguppidata/guppi-seq-boolean.c
 	(guppi_seq_boolean_set_many): Added front-end for "set many"
 	routine, which allows N bits to be set w/ (if the implementation
 	supports it) only one virtual function call.

	* src/libguppidata/guppi-data-importer-plug-in.c: Added #include
 	<gnome.h> to silence compiler warning.

	* plug-ins/plot/boxplot/guppi-boxplot-item.c (update): Libart has
 	moved its annoying "colinear" spew from stdout to stderr (which is
 	progress, I guess)... so now I redirect stderr to /dev/null rather
 	than stdout when stroking the boxplot frame.

Mon Jun 19 21:01:48 2000  Jon Trowbridge  <trow@gnu.org>

	* src/guppi/guppi-app.c (guppi_app_setup_menus): Fixed moronic typo.

	* src/libguppitank/guppi-object-pie.c (add_arg): Changed args
	to be write-only. Facism reigns in libguppitank.

	* src/libguppimath/guppi-equation-parser.y: 
	* src/libguppimath/guppi-equation-lexer.ll: #included some
	standard headers to get rid of scary compiler warnings...

	* src/guppi/pie-demo.scm (pie-demo): Adjusted size parameters.

	* src/guppi/guppi-app.c (guppi_app_setup_menus): Added menu item for
	canned pie chart demo.

	* src/libguppitank/guppi-object-pie.c: A simple abstraction layer
 	for building pie charts.  It needs more features, as does the pie
 	chart plug-in.

	* src/libguppitank/guppi-object.c (guppi_object_build_widget): The
 	signal is called "size_allocate", not "size_alloc".  Duh.
	(guppi_object_new): Fix conditional: things go wrong if
 	klass->build == NULL, not != NULL.  Add horizontal & vertical size
 	as arguments to the build virtual functions.
  	guppi_plot_set_size() has to be called *last*, after the plot has
 	been built up, so that it can do the layout.  I was calling it
 	before the GuppiPlot was fully constructed, with the expected bad
 	results.

	* src/libguppitank/guppi-tank-init.c (guppi_tank_init): Add
 	everything we need to get guppi up and running.  Guile stuff is
 	not activated.

	* src/libguppiuseful/guppi-useful.c (guppi_useful_init,
 	guppi_useful_init_without_guile): Add a function that will
	initialize the library without doing any guile initialization.

	* src/libguppiplot/guppi-plot-init.c (guppi_plot_init): 
	* src/libguppiplot/guppi-stat-init.c (guppi_stat_init): 
	* src/libguppidata/guppi-data-init.c (guppi_data_init): Check that
 	guile is active before initializing bindings.	

	* plug-ins/plot/pie/guppi-pie-state.c (guppi_pie_state_get_arg,
 	guppi_pie_state_set_arg, guppi_pie_state_class_init): Added access
 	to the carried state via GtkObject args.

	* plug-ins/plot/*/init.c (guppi_plug_in): Check to see if
	guppi_guile_is_active() returns true before initializing our 
	guile bindings.  This is a good thing to do if, for example,
	you are embedding guppi in a program that does not embed guile,
	or if you don't want to export guppi's huge guile interface.

Mon Jun 19 21:11:10 2000  Andrew Chatham <andrew.chatham@duke.edu>
	
	* plugins/plot/*/*.defs: Removed "(plugin 1)" options and added
 	objects to scatter.defs to allow class identification in Python.

	* python-modules/Guppi/compilefile.py: Will now precompile
 	__init__.py files. 

	* python-modules/Guppi/plot/[end|start].py: To make up for
 	removing "(plugin 1)" from defs files.

	* src/libguppiuseful/guppi-python.c (py_compass_check)
 	(guppi_python_type_name): Removed some g_free statements which
 	were unneccessary and causing segfaults. Also removed
 	commented-out (PyGuppiFlag_get_value) and
 	(guppi_python_register_classes)

	* src/guppi/hacked-scatter-demo.py: Removed duplicate lines and
 	typo which caused segfault.

	* build-tools/generate.py: Stores return value from C function in
 	temporary variable. Necessary so we can free argv arguments before
 	returning [freeing not yet implemented].
	
Sun Jun 18 00:14:42 2000  Jon Trowbridge  <trow@gnu.org>

	* Applied a big patch from Andrew Chatham that provides
 	auto-generated Python bindings.  There are still a few kinks to be
 	worked out, but otherwise very cool.

	* src/libguppiplot/guppi-alpha-template.c (my_art_drect_bpath):
 	Copied definition from gnome-print, since it has become static in
 	that lib.  This is all hackiness caused by the lack of an exposed
	API that can be used to rasterize nice fonts...

	* src/libguppiplot/guppi-element-canvas-item.c
 	(guppi_element_canvas_item_class_init): Fixed default zoom in/out
 	mouse bindings to match the way they were in the 0.34.x releases.
	(Somewhere along the way I reversed them by mistake...)
	
	* plug-ins/plot/scatter/guppi-scatter-tools.c
 	(find_point_to_drag): Save point to be dragged in an int_arg, not
 	a ptr_arg.  Duh.

	* plug-ins/plot/pie/guppi-pie-tool.c
 	(guppi_pie_tool_new_slice_callback): Added tool that executes a
 	callback (with the slice # as an arg) upon clicking.

	* src/libguppiplot/guppi-plot-tool.h: Add more space to stuff state
	in GuppiPlotTool.

	* plug-ins/plot/scatter/guppi-scatter-style-view.c
 	(variable_mixed_lookup): Added a template cache for mixed size
 	gradients (i.e. for variable size1 and size2 systems).  The way
 	this is done is a little hacky and strange, but it works so I'm
 	not complaining.  In any case, everything ugly is hidden behind
 	the interface, so I could clean it up later without hurting
 	anything else.

	* plug-ins/plot/pie/guppi-pie.defs: Added bindings for label
 	stuff.

	* plug-ins/plot/pie/guppi-pie-item.c (update): Added code to
	rasterize, cache, and render percentage labels.

	* plug-ins/plot/pie/guppi-pie-print.c (print): Added code to
	print percentage labels.

	* plug-ins/plot/pie/guppi-pie-state.c: Added state elements
	corresponding to percentage labels.

	* src/libguppiplot/guppi-color-gradient.c: Added the fairly hacky
 	guppi_color_gradient_set_intensity() &
 	guppi_color_gradient_set_alpha() functions, to simplify UI stuff.
  	All of this color gradient stuff is going to have to be redesigned
 	eventually, as it is already sort of crufty.

	* plug-ins/plot/scatter/guppi-scatter-style.c (connect_signals):
 	Connected the alpha & intensity spinners to the UI.  (I'd
 	forgotten to do so this morning...)

Sat Jun 17 14:30:50 2000  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-element-print.c
 	(guppi_element_print_get_bbox_vp): Added parallel to the
 	GuppiElementCanvasItem routine.

	* plug-ins/plot/slinreg/guppi-slinreg-item.c (update): Removed old
	center-of-segment calc (which was wrong anyway) and replaced it will
	a call to the new common routine.

	* plug-ins/plot/slinreg/guppi-slinreg-common.c
 	(guppi_slinreg_segment_endpoints): Moved the "center of visible
 	line segment" calculation into a common file to be shared by both
 	the canvas item and the printing code.

	* plug-ins/plot/slinreg/guppi-slinreg-print.c: Implemented
 	printing for simple linear regression objects.

	* src/libguppiplot/guppi-shared.c (set_traverse_fn): I forgot that
 	this has to be able to deal with being passed either a GtkObject
 	or NULL.  Thus using GTK_OBJECT() wasn't too smart.

	* plug-ins/plot/slinreg/init.c (guppi_plug_in): Re-enabled guile
 	bindings for simple linear regression plug-in.

	* src/guppi/guppi-app.c (hacked_scatter_plot_cb): Removed embedded 
	guile code: now we eval the contents of the file scatter-demo.scm.

	* src/libguppiuseful/guppi-paths.c: Added
 	guppi_find_guile_script() to hunt for system-installed guile code.

	* plug-ins/plot/scatter/guppi-scatter-view.c (view_init,
 	state_changed): Hacked to track the data our scatter state holds,
 	and to change to the preferred view on that axis whenever the x-
 	or y-data changes.  This seems to be the desirable interactive
 	behavior.

	* src/libguppiplot/guppi-element-state.c
 	(guppi_element_state_make_view): Added call to view_init hook
 	after a newly constructed view object has the parent state
 	attached.

	* src/libguppiplot/guppi-element-view.h: Added view_init hook.

	* src/libguppiplot/guppi-style.h: Added style-object specific
	edit widgets.

	* plug-ins/plot/pie/guppi-pie-item.c: Changed to #include
 	libart.h, rather than individual libart headers.

	* plug-ins/plot/scatter/guppi-scatter-style.c: Added custom
	style editor widget.  Added support for cool new color gradients.

	* plug-ins/plot/scatter/guppi-scatter-style-view.c
 	(variable_size1_lookup, variable_size2_lookup): Fixed ref counting
 	glitch.  Hacked to use new color gradients.
	 
	* plug-ins/plot/scatter/guppi-scatter-state.h: Changed semantics
 	for specifying "spread" of a size gradient.

	* src/libguppiplot/guppi-style.h: Added objectified color gradients.


Fri Jun 16 01:50:58 2000  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/scatter/guppi-scatter-item.c (update):
	(render): Changed slack in window queries from a constant to a
 	quantity that estimates the maximum size of any marker.  This
 	keeps larger markers from being partially truncated during
 	redraws.

	* plug-ins/plot/scatter/guppi-scatter-state.c
 	(guppi_scatter_state_init): Connect the scatterplot's state's
 	"changed" signals, so that the plot will refresh on style changes.
  	I forgot to do this previously...

Thu Jun 15 18:56:54 2000  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-layout.c: Added the hbox2, hbox3, vbox2
 	and vbox3 layout commands.  Having these really cuts down on the
	number of layout instructions needed to produce common arrangements
	of plot elements.

	* src/libguppiplot/guppi-plot.c (guppi_plot_add_element): Don't
	add the same GuppiElementView to a GuppiPlot twice.

	* src/libguppiplot/guppi-plot.h: Changed the
 	guppi_plot_layout_*()s from macros to functions with proper
 	paranoid type checking.  These wrapper functions now automatically
 	call guppi_plot_add_element() on all GuppiElementView arguments.

	* src/libguppiplot/guppi-plot.defs: Removed bindings for annoying
 	GuppiLayout GuppiElementView-layout convenience macros.

	* src/libguppiplot/guppi-layout.h: Removed annoying GuppiLayout
 	GuppiElementView-layout convenience macros.

	* src/guppi/guppi.c (main): Fixed the batch-mode start-up sequence
 	to init only the non-graphical parts of Gnome.  Guppi can now
 	truly be used to batch-generate postscript plots without a X
 	server running.

	* src/libguppiplot/guppi-style.c (guppi_style_stock): Replaced a
 	ref to gdk_color_lookup with guppi_str2color_rgba.

	* src/libguppiuseful/guppi-guile.c (scm2color):
	(scm_color_p): Replaced refs to gdk_color_lookup with
 	guppi_str2color_rgba.

	* src/libguppiuseful/guppi-rgb.c (guppi_str2color_rgba): Added an
 	alternative to gdk_color_lookup, which will (try to) work w/o an X
 	server.
	
2000-06-15  Yuri Syrota  <rasta@renome.rovno.ua>

	* configure.in: Added "uk" to ALL_LINGUAS.
	
Thu Jun 15 00:01:25 2000  Jon Trowbridge  <trow@gnu.org>

	* AUTHORS: Added Andrew Chatham, who is working on python
 	bindings, to the list.

	* src/libguppiplot/guppi-plot.defs: The generic language bindings specs
 	just keep coming.

	* src/libguppiplot/guppi-element-canvas-item.c (event_dispatcher):
 	Fixed the radius of the circular cue item to correctly be
 	converted from pts to pixels.

	* src/libguppiplot/guppi-style.c (guppi_style_copy): Added a way
 	to (as the name suggests) copy the state of one style to another.
	(guppi_style_stock): Stock styles now work properly.  Wheee!

	* src/libguppiplot/guppi-shared-hash.h: Added canned symbols for
	shared color and size data.

	* src/libguppiplot/guppi-layout.c (guppi_layout_calc): Removed
 	some debug spew.  Good riddance.

Wed Jun 14 23:32:53 2000  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-marker.c: Added template-generating
 	functions.  Some of our size variables are probably a bit off.
  	(generic_print_circle): I'm annoyed that gnome-print makes us draw
 	our own circles out of line segments.  My previous implementation
 	did this in a not-very-careful way, so I went way overboard in the
 	# of segments per circle I used, resulting in big .ps files and
 	slow printing time (at least on my 7-year-old HP Laserjet).  I've
 	added some logic that tries to do things in a more rational way,
 	calculating the # of segments to use based on keeping the error
 	(the deviation from circle-ness) below a maximum threshold.

	* src/libguppiuseful/guppi-splash.c (guppi_splash_message):
 	Changed to respect the global verbosity level.

	* src/libguppiuseful/guppi-rgb.h: Added macro-ified color
 	interpolation.  Fixed the pixel-painting macros to do the right
 	thing if accidentally handed an alpha channel > 0xff.

	* src/libguppiuseful/guppi-debug.c: Added functions for
 	setting/getting a global verbosity level.

	* src/libguppidata/guppi-seq-boolean-core-impl.c
 	(v_seq_boolean_range_query): Made a bunch of grotty, low-level
 	optimizations to our core range query implementation.  I'm firmly
 	in "shave off a few instructions here and there" territory with
 	these changes.

	* src/guppi/guppi.c (main, real_main): More start-up sequence
 	decrufting.  Added verbosity control, so we don't get all of that
 	spew every time we start up.

	* plug-ins/plot/text/guppi-text-print.c: Removed some unused
	boilerplate code relating to args and destroy signals.

	* plug-ins/plot/pie/guppi-pie-print.c (print): Changed to use
	the slice colors and edge color specified in the state object.o

	* plug-ins/plot/pie/guppi-pie-state.c: Added infrastructure for
	multi-color slices.

	* plug-ins/plot/boxplot/guppi-boxplot-print.c (print): Implemented
 	printing for boxplots.

	* plug-ins/plot/scatter/guppi-scatter-view.c
 	(guppi_scatter_view_class_init): Defined a print type.

	* plug-ins/plot/scatter/guppi-scatter-state.c: Added accessors &
 	modified for style data, color data, size data.

	* plug-ins/plot/scatter/scatter.defs: Added tons of new bindings
 	for scatter styles, etc.

	* plug-ins/plot/scatter/guppi-scatter-style-view.c: Most of the
 	hairy logic that made the old guppi scatter rendering code so ugly
 	has been encapsulate in GuppiScatterStyleView objects now.
  	Basically, we use these for all style-specific cacheing (like
 	storing & reusing alpha template).  This has turned out to be a
 	big de-crufter, and has made new optimizations possible.  For
 	example, doing a cache of N alpha templates associated with size
 	gradients was just too convoluted before, so I never implemented
 	it.  Now it is actually not too bad.

	* plug-ins/plot/scatter/guppi-scatter-style.c: This is basically a
 	total re-write to integrate with our new GuppiStyle notion.
  	
	* plug-ins/plot/scatter/guppi-scatter-item.c
 	(guppi_scatter_item_class_init): Attached some of our scatter
 	tools to mouse buttons.
	(render): Finally implemented new optimized rendering code that
 	allows for multiple styles & brushing.

	* plug-ins/plot/scatter/guppi-scatter-tools.c: Finally ported to
 	our new (well, not so new anymore) framework.

	* plug-ins/plot/linegraph/guppi-linegraph-print.c (print):
 	Implemented printing for line graphs.

	* plug-ins/plot/frame/guppi-frame-view.c
 	(guppi_frame_view_class_init): Defined our print type.

	* plug-ins/plot/frame/guppi-frame-print.c: Implemented a printing
 	class for the frame plug-in.

	* plug-ins/plot/frame/guppi-frame-state.c
 	(guppi_frame_state_get_arg, guppi_frame_state_set_arg,
 	guppi_frame_state_class_init): Added args for all of our frame's
 	internal state.

	* plug-ins/plot/axis/guppi-axis-print.c (print): Fixed label
 	positioning.

Sun Jun 11 00:33:25 2000  Jon Trowbridge  <trow@gnu.org>

	* src/guppi/guppi.c (main, real_main): Cleaned up and rationalized
 	Guppi's start-up sequence.

	* plug-ins/plot/pie/guppi-pie-state.c (soff_insert_cb): Fixed bug
 	in the code that keeps our slice offset sequence in sync with our
 	data sequence.

Sat Jun 10 23:07:46 2000  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiuseful/guppi-guile.c (guppi_guile_init): Gettextized
 	a few messages.

	* src/libguppiuseful/guppi-useful.c (guppi_useful_init): Added
 	call to guppi_python_init().

	* src/libguppiuseful/guppi-python.c: Framework (still empty) for
	Python bindings.

Fri Jun  9 14:43:23 2000  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/pie/guppi-pie-item.c (update): Changed to use edge
 	width specified in state object.
	(render): Changed to use colors specified in state object.

	* plug-ins/plot/pie/guppi-pie-state.c: Added state variables
	for edge & default colors, edge width.

	* src/libguppiuseful/guppi-plug-in.h (GUPPI_PLUG_IN_MAGIC_NUMBER):
 	I guess I've changed enough stuff to warrent incrementing the
 	plug-in magic number.

	* src/guppi/guppi.c (main, real_main): Hacked to not display
	splash screen when command line args like --help or --usage
	are given.  Based on a patch by Andrew Chatham.


Wed Jun  7 23:49:17 2000  Jon Trowbridge  <trow@gnu.org>

	* src/guppi/hacked-scatter-demo.scm: Added marginal boxplots to
 	the demo.

	* src/libguppiplot/guppi-element-view.c (delayed_changer,
 	guppi_element_view_changed_delayed,
 	guppi_element_view_flush_changes): Fixed small bugs in the
 	freeze/thaw and delayed signal interaction.

	* plug-ins/plot/pie/guppi-pie-state.c: Restructured to allow the
 	(internal) pie slice offset sequence to stay in sync with changes
 	to the data sequence that determines the proportional size of the
 	pie slices.
	
	* src/libguppidata/guppi-seq-scalar.c: 
	* src/libguppidata/guppi-seq-boolean.c: Added support for the new
	fine-grained GuppiSeq signals.

	* src/libguppidata/guppi-seq.c: Added fine-grained "changed"
 	signals for sequences.

Mon Jun  5 08:45:16 2000  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/scatter/guppi-scatter-style.c
 	(guppi_scatter_style_paint): Changed to look for the visibility
 	mask in the canvas item, not in the view.

	* plug-ins/plot/scatter/guppi-scatter-view.c: Excised the
 	visibility calculations.

	* plug-ins/plot/scatter/guppi-scatter-item.c (update): Moved the
 	calculation of the visibility mask into the update routine, where
 	it belongs.  The visibility calculation in the scatter plot now
 	works again.

	* plug-ins/plot/pie/guppi-pie.defs: Added bindings for the
	slice offset functions.

	* plug-ins/plot/pie/guppi-pie-state.c: Added gadgetry to record/change
	individual slice offsets.  Fine-tuned the semantics of the offset
	functions; I think that the interaction between the base offset and
	the individual slice offsets is more intuitive now.

	* plug-ins/plot/pie/guppi-pie-tool.c: Added a tool to allow
 	individual slices to be dragged/"exploded".

	* plug-ins/plot/pie/guppi-pie-print.c: Basic printing now works.
  	Wheee!

	* plug-ins/plot/pie/guppi-pie-item.c (guppi_pie_item_in_slice):
 	Fixed a few bugs.  I'm happy I was paying attention in school
 	during trigonometry.

	* src/libguppiplot/guppi-plot.defs: Added bindings for the
	GuppiElementView's preferred view functions.

	* src/libguppiplot/guppi-shared.c: Modified the "changed_held"
	signal to pass the old object as an arg.

	* src/libguppiplot/guppi-plot-window.c: Created distinction between
	linked and unlinked views.  Unlinked views don't really work properly
	right now.

	* src/libguppiplot/guppi-plot-tool.h: Added int_arg1 and int_arg2
 	to GuppiPlotTool -- more places to stuff state information for
 	tools.  Also added a "preferred view" tool.

	* src/libguppiplot/guppi-element-view.c: Added the
 	preferred_x_range and preferred_y_range hooks in
 	GuppiElementViewClass, and the code necessary to have them
 	automagically get called when
 	guppi_element_view_set_preferred_x_view() or
 	guppi_element_view_set_preferred_y_view() are called.
	
	* src/libguppiplot/guppi-view-interval.c
 	(guppi_view_interval_class_init): Added "preferred_range_request"
 	signal, and the guppi_view_interval_request_preferred_range() and
 	guppi_view_interval_grow_to() functions.

	* src/libguppiuseful/guppi-useful.defs: Added bindings for the
	functions from guppi-metrics.

	* src/libguppiuseful/guppi-splash.c: Decreased minimum splash time
	to 10 seconds.

	* src/libguppiuseful/guppi-rgb.c (guppi_paint_wide_line): Added a
	ultra-simple non-anti-aliased 1-pixel-wide line draw as a proxy
	for a better algorithm, which will have to be implemented later.

	* src/libguppiuseful/guppi-rgb.h: Added convenience macros
	UINT_RGBA_R, UINT_RGBA_G, UINT_RGBA_B, UINT_RGBA_A.

	* src/libguppiuseful/guppi-metrics.c (guppi_px2pt): Added average
	of guppi_x_px2pt and guppi_y_px2pt.

Sat Jun  3 18:08:29 2000  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-element-state.c
 	(guppi_element_state_make_view): Added support for a view_type arg
 	rather than requiring a make_view function to be defined.

	* src/libguppiplot/guppi-element-view.c
 	(guppi_element_view_make_print): Fixed typo in warning message.

	* src/libguppidata/guppi-seq.c: 
	* src/libguppidata/guppi-seq-boolean.c: I'd forgotten to have
	some of the modifiers emit the proper changed signals.  Oops.

	* plug-ins/plot/text/guppi-text-state.c: Added forgotten #include to
	silence warning.

Fri Jun  2 22:48:08 2000  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiuseful/guppi-version.c (guppi_copyright,
 	guppi_developers): Added access to embedded copyright and
 	developer info .

	* src/libguppiuseful/guppi-splash.c (guppi_splash_text): A text
 	"splash" message.

	* src/libguppiuseful/guppi-metrics.c (guppi_pt2px): Average
	of guppi_x_pt2px and guppi_y_pt2px, an approximation that
	is useful in some cases.  After all, everything isn't always
	axis-aligned.

	* src/libguppiuseful/guppi-guile.c: Added macros for SCM<->compass
	operations.

	* src/libguppiuseful/guppi-enums.c (guppi_compass2str): Fixed
	spelling error.

	* src/libguppiplot/guppi-plot.defs: Added a bunch more bindings.

	* src/libguppiplot/guppi-plot.c: Added "changed_layout" signal
	and associated machinery.

	* src/libguppiplot/guppi-plot-window.c: Changed (simplified, I might
	add) to coordinate with the un-fucking of GuppiPlotCanvas.

	* src/libguppiplot/guppi-plot-canvas.c: The way this widget behaved
	in response to resizing was totally fucked.  Ripped all of the
	crap out and put it together properly this time.
	(realize): Made our canvas have a white background.  Much nicer.

	* src/libguppiplot/guppi-layout.c (solve, guppi_layout_calc):
 	Gracefully handle the case of an empty layout.

	* src/libguppiplot/guppi-element-print.c
 	(guppi_element_print_get_bbox): Encapsulation function.
	(guppi_element_print_vp2pt): Fixed typo.
	(guppi_element_print_setrgbacolor): Convenience function.
	(guppi_element_print_setrgbacolor_uint): Convenience function.

	* src/libguppiplot/guppi-axis-markers.c
 	(guppi_axis_markers_populate_scalar): Added some rules, to keep
 	life interesting.

	* src/guppi/guppi.c (main, real_main): Hacks to make --batch
	and --script command line args work properly.

	* src/boilermaker.pl: Fixed placement of #include <config.h> in
	auto-generated code.

Thu Jun  1 08:56:06 2000  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-plot.defs: Updated and expanded to reflect
	all of the recent changes.

	* src/libguppiplot/guppi-plot-window.c (do_print_cb, print_cb):
 	The print button now does something.  Wheee!

	* src/libguppiplot/guppi-plot.c (guppi_plot_print): Paint our plot
 	to an arbitrary print context.
	(guppi_plot_print_ps_to_file): A convenience function: dump a
 	postscript version of our plot to the given filename.
	(guppi_plot_show_in_window): Another convenience function, mostly
	for gtk/gnome-less language bindings: pop up a window containing
	an (interactive) rendering of our plot.

	* src/libguppiplot/guppi-element-view.c
 	(guppi_element_view_make_print): Added constructor for
 	GuppiElementPrint derivatives.

	* src/libguppiplot/guppi-alpha-template.c
 	(guppi_alpha_template_text_general): Added a pt->px conversion for
 	the size argument.  This is the result of trying to get things
 	looking exactly the same on the screen and on the printed output,
 	and reading a lot of gnome-print source code. :-/

	* src/libguppiuseful/guppi-metrics.c (guppi_pt2px): Added
	"compromise" function for doing an approximate pt->px conversion
	for non-square pixels.

	* src/libguppiplot: An architectural shake-up, in anticipation
	of adding support for printing.

	* src/libguppiuseful/guppi-rgb.c: Created function versions of
 	some of my macros: guppi_paint_horiz(), guppi_paint_vert(),
 	guppi_paint_box(), as well as guppi_paint_soft_box().  I need to
	curb my macro-happy tendencies.

	* src/libguppiuseful/guppi-rgb.h: Fixed copyright info.  Added 
	convenience macros for basic colors.  Added BUF_PTR.  Add
	BUF_INBOUNDS_X and BUF_INBOUNDS_Y.  Added PAINT_DOT, PAINT_HORIZ,
	PAINT_VERT and PAINT_BOX.

	* src/libguppiuseful/guppi-plug-in.h:
	* src/libguppiuseful/guppi-plug-in.c:
 	Made plug-in path handling much more flexible by adding
 	guppi_plug_in_path_clear(), guppi_plug_in_path_set(),
 	guppi_plug_in_path_prepend(), guppi_plug_in_path_append(), and
 	guppi_plug_in_path_reset_to_default().
	(guppi_plug_in_load_all): If guppi fails to load any plug-ins at
	all, print a warning message.
	
	* src/libguppiuseful/guppi-paths.c (guppi_find_pixmap):
	Added function to traverse directories looking for pixmaps.
	(guppi_logo_graphic_path): Changed to use guppi_find_pixmap().
	(guppi_glade_path): Added check of environment variable
	GUPPI_GLADE_PATH when looking for .glade files.

	* src/libguppiuseful/guppi-guile.h: 
	* src/libguppiuseful/guppi-guile.c: Added is_guile_active flag and
 	guppi_guile_is_active() function to test and see if
 	guppi_guile_init() has been called.

	* src/libguppiuseful/guppi-enums.c (guppi_alignment2str,
 	guppi_str2alignment): Added stringifications and
 	unstringifications of GUPPI_CENTER_X, GUPPI_CENTER_Y, GUPPI_WIDTH
 	and GUPPI_HEIGHT.

	* src/libguppiuseful/guppi-enums.h: Made guppi_compass_t
 	"bit-maskable".  Added GUPPI_CENTER_X, GUPPI_CENTER_Y, GUPPI_WIDTH
 	and GUPPI_HEIGHT to guppi_alignment_t, making it suitable for
 	constraint-based alignments.  Convenience macros were updated
 	accordingly.

	* src/libguppiuseful/guppi-debug.c: Made default value of
 	"track_entry_and_exit" TRUE.

	* src: Moved the #include <config.h> directives from the .h
	files and into the .c files where they belong.

Wed May 17 15:08:11 2000  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiuseful/guppi-file.h: 
	* src/libguppiuseful/guppi-file.c: Changed to allow gzipped files
	to be transparently read.

Fri May  5 17:30:39 2000  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiuseful/guppi-rgb.h: Added PAINT_BOX macro.

	* src/guppi/guppi.c (real_main): Changed order of initialization
 	so that .rc files would be loaded before loading plug-ins: the
 	lets us change our search paths in the .rc files.

	* src/libguppiuseful/guppi-useful.defs: Added bindings for Guppi
 	plug-in path manipulation routines.

	* src/libguppiuseful/guppi-plug-in.c: Added new functions
 	guppi_plug_in_path_set(), guppi_plug_in_path_prepend(),
 	guppi_plug_in_path_append(),
 	guppi_plug_in_path_reset_to_default().

	* src/libguppiuseful/guppi-plug-in.c (guppi_plug_in_load_all):
 	Changed to iterate over GList of plug-in dirs.

2000-05-03  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiuseful/guppi-paths.c (guppi_glade_path): Added check
	for GUPPI_GLADE_PATH environment variable.

	* NEWS: Updated for release.

	* plug-ins/plot/boxplot/guppi-boxplot-state.c: Added hooks to deal
	with data setting and to select the horizontal or vertical status
	according to whether x- or y- data was set.

	* plug-ins/plot/slinreg/guppi-slinreg-state.c (set_x_data,
	get_x_data, set_y_data, get_y_data): Fixed typos that should have
	been causing horrible segfaults right and left.  I got lucky, I
	guess...

	* src/libguppidata/guppi-data.defs: Added bindings for accessing
	the quartiles of scalar sequences.

	* src/libguppidata/guppi-seq-scalar-core-impl.c
	(v_seq_scalar_quartiles): Added some (not very sophisticated or
	optimized) code to calculate and cache the data's quartiles.

	* src/libguppidata/guppi-seq-scalar-impl.h: Added a hook for
	quartile calculations to the implementation vtable.

	* src/libguppidata/guppi-seq-scalar.h: 
	* src/libguppidata/guppi-seq-scalar.c: Added an interface for
	getting the quartiles of a set of scalar data.

	* src/libguppiuseful/guppi-useful.h: Added #include <guppi-enums.h>.

	* src/libguppiuseful/guppi-enums.h: 
	* src/libguppiuseful/guppi-enums.c: Added utility routines for
	common enums.

	* plug-ins/plot/boxplot/guppi-boxplot-item.c
	(guppi_boxplot_item_update): Redirect stdout to /dev/null while
	calling art_svp_vpath_stroke(), to hide the damn "colinear!" spew.

	* src/guppi/guppi-app.c (hacked_scatter_plot_cb): Change the
	hard-coded scheme to build a plot with boxplots in the margins.

	* plug-ins/plot/scatter/guppi-scatter-style.c
	(guppi_scatter_style_new_stock): Changed style #1 to default to
	grey rather than black. 
	Make the default size of the circle marker smaller.

2000-04-30  Jon Trowbridge  <trow@gnu.org>

	* src/libguppibonobo: A placeholder for future bonobo support.

	* src/guppi/corba_guppi.c (guppi_corba_init): Changed to allow
	for passing in a popt table.

	* src/guppi/guppi.c (real_main): Added skeletal arg parsing with
	popt.

	* src/libguppiuseful/guppi-exit.c (do_shutdown): Check
	gtk_main_level() before calling gtk_main_quit().

	* src/libguppiplot/guppi-canvas-item.c:
	* src/libguppiplot/guppi-layout-grid.c:
	* src/libguppiplot/guppi-layout-grid-cell.c: I've spent the last
	few days decrufting dynamic layouts, to keep layout ops from
	occuring inside of canvas items' update call --- where they tend
	to trigger new updates, which is problematic.  Changes to an
	item's geometry now "schedules" an allocation; that is, a pending
	geometry allocation is set in an idle function.  Now there is no
	need for a freeze/thaw mechanism, since nothing happens if an
	allocation is already pending.  The new framework should be good
	about not doing extra work or repeating the same calculation
	unnecessarily.  (Getting the details of all of this right was
	rather tricky.  It might still have bugs.)

2000-04-25  Kjartan Maraas  <kmaraas@online.no>

	* configure.in: Added "no" to ALL_LINGUAS.
	
2000-04-25  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/boxplot: Added a boxplot plug-in.

	* src:
	* plug-ins: Lots of small i18n fixes.

	* src/libguppiplot: Lots of fine-tuning of the dynamics of layout
	geometry.

	* plug-ins/plot: 
	* src/libguppiplot/guppi-plot-element: Rationalized state handling
	for plug-ins; wrote a default make_canvas_item rather than requiring
	each plug-in to basically re-provide the same chunk of code.

2000-04-24  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiuseful/guppi-string.c (guppi_string_is_boolean):
	i18n fix.
	(guppi_string2boolean): i18n fix.

	* src/guppi/guppi-app.c (guppi_app_save_visited_files): Fixed bug
	that was causing us to lose the last element of the visited files
	list (due to misplacing the g_snprintf, putting it after the if
	rather than outside).  Duh.

2000-04-21  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/graphpaper: Added a new plot type for drawing
	ruled lines behind our plot.

	* plug-ins/plot/axis/guppi-axis-item.c (guppi_axis_item_render):
	Hacked label rendering code to avoid unsightly clipped labels.
	Removed ruled lines from background and converted the axis item
	into a pure "marginal" axis, rather than something that lay
	superimposed over the plot itself.  Added some primitive,
	hard-wired geometry information.

	* src/libguppiplot/guppi-plot-element.h:
	* src/libguppiplot/guppi-plot-element.c:
	Added the ability to pass args to the state embedded in a
	plot element via the usual GtkArg mechanism.
	Also embedded layout grid positioning information in the element.

	* src/libguppiuseful/guppi-guile.h
	* src/libguppiuseful/guppi-guile.c: Added code for dealing with
	vectors of GtkArgs from guile.

	* src/libguppiplot/guppi-nice-values.c (guppi_nice_values): Moved
	the calculations of "round values" out of the axis plug-in code
	and into this function.

2000-04-20  Jon Trowbridge  <trow@gnu.org>

	* src/libguppidata/guppi-seq-integer.h
	* src/libguppidata/guppi-seq-integer.c
	* src/libguppidata/guppi-seq-integer-impl.h
	* src/libguppidata/guppi-seq-integer-impl.c
	* src/libguppidata/guppi-seq-integer-core-impl.h
	* src/libguppidata/guppi-seq-integer-core-impl.c: A new data type for
	integer sequences.  This will be the basis of the categorical data
	type.

	* src/libguppidata/guppi-seq-scalar-core-impl.c (v_data_copy):
	Fixed memory leak.

	* src/libguppiuseful/guppi-splash.c (guppi_splash_create): Made
	our splash window look nicer, with the color of the status label
	changed to match the bottom of the blue gradient in the guppi logo
	pixmap.

	* src/libguppidata/guppi-data.defs: Added definitions for
	GuppiSeqInteger functions.

	* configure.in: Made the necessary changes to enable gettext.

2000-04-18  Jon Trowbridge  <trow@gnu.org>

	* src/libguppidata/guppi-seq-scalar-core-impl.c
	(v_seq_scalar_set): Fixed bug in the code that tries to maintain
	the coherency of the cached min/max.

2000-04-17  Jon Trowbridge  <trow@gnu.org>

	* src/libguppidata/guppi-seq-scalar-core-impl.c
	(v_seq_scalar_range): Don't you love it when you find a simple
	error that, upon correction, immediately provides a nice
	performance boost?  Because I'd left out a "return", I was
	re-calculating the min/max of a scalar sequence every time it was
	asked for, even when the correct value was cached.  Silly me...

	* src/libguppidata/guppi-seq-boolean-core-impl.c
	(guppi_seq_boolean_core_impl_finalize): Fixed memory leak.

	* src/libguppidata/guppi-seq-scalar-core-impl.c
	(guppi_seq_scalar_core_impl_finalize): Fixed memory leak.

	* src/libguppidata/guppi-data.c (guppi_data_impl_class): Added
	this convenience function, which I should have added ages ago.

2000-04-15  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-layout-grid.h
	* src/libguppiplot/guppi-layout-grid.c
	* src/libguppiplot/guppi-layout-grid-allocate.h
	* src/libguppiplot/guppi-layout-grid-allocate.c
	* src/libguppiplot/guppi-layout-grid-cell.h
	* src/libguppiplot/guppi-layout-grid-cell.c: Created the
	infrastructure for handling nice plot layouts.

	* src/libguppiplot/guppi-plot-element.c
	(guppi_plot_element_make_canvas_item): Removed the canvas
	resize/GuppiCanvasItem resize hack.

	* plug-ins/plot/slinreg/guppi-slinreg-item.c
	(guppi_slinreg_item_render): Changed to clip properly via
	guppi_scatter_item_render().

	* plug-ins/plot/scatter/guppi-scatter-item.c
	(guppi_scatter_item_render): Changed to clip properly via
	guppi_scatter_item_render().

	* plug-ins/plot/axis/guppi-axis-item.c (guppi_axis_item_render):
	Chaned to clip properly via guppi_canvas_item_clip_buf().

	* src/libguppiplot/guppi-canvas-item.c (guppi_canvas_item_clip_buf): 
	Added function to simplify _render() code by producing a new
	GnomeCanvasBuf that is clipped to the bounds of a given
	GnomeCanvasItem.

2000-04-14  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/slinreg/guppi-slinreg-item.c
	(guppi_slinreg_item_update): Changed to get default font
	information from guppi_default_font() and the related functions.

	* plug-ins/plot/axis/guppi-axis-calc.c
	(optimal_guppi_axis_numerical_labels): Added 4 as a base 10 divisor,
	which will generate numbering on the quarters (i.e. 0, 0.25, 0.50,
	etc.)

	* plug-ins/plot/axis/guppi-axis-item.c (guppi_axis_item_render):
	Added some simple text labels.  The Axis item is now behaving
	really like a "gridline" object with labels slapped on... but that
	will have to do until I implement proper geometry management.
	
	* plug-ins/plot/axis/guppi-axis-item.c (guppi_axis_item_update):
	Boosted the label goal to 6, which seems to get better visual
	results.

	* src/libguppiuseful/guppi-rgb.h (PIXEL_RGBA): I hadn't been
	sufficiently paranoid in parenthesizing occurances of the args
	inside of the macro's body.  Weirdness ensured.

2000-04-13  Jon Trowbridge  <trow@gnu.org>

	* Updated e-mail addresses in lots of old headers, touching a
	whole lot of files in the process.

	* src/libguppiuseful/guppi-defaults.h
	* src/libguppiuseful/guppi-defaults.c: Added code to encapsulate
	some default values.  Right now, all are font-related.
	Eventually, this should be done in a proper way using something
	like gconf.

	* src/guppi/guppi-app.c (guppi_app_load_visited_files): Fixed
	glitch that was reversing the order of the file history list every
	time guppi was run.

2000-04-12  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-plot-element.c
	(guppi_plot_element_make_canvas_item): Made canvas items resize
	along with the canvas.  This is only a pathetic stop-gap hack
	until I can implement proper geometry management.

	* plug-ins/plot/slinreg/guppi-slinreg-item.c
	(guppi_slinreg_item_update): Optimized function to only re-render
	the label text if the text has actually changed.  This is a big
	performance win for operations like panning, in which _update() is
	getting called but the appearance of the text doesn't actually
	change.

	* src/libguppiplot/guppi-alpha-template.c
	(my_gt1_glyph_outline_lookup): Added some GINT_TO_POINTERs to
	silence compiler warnings.

	* src/guppi/file-open.c: Added some cruft, but got something out
	of it.  (1) We now remember what directory we most recently loaded
	a file from, and make that the default for the next file open.
	(2) When we open a file, it gets added to our list of
	recently-opened files.

	* src/libguppidata/guppi-data-importer.h
	* src/libguppidata/guppi-data-importer.c
	(guppi_data_importer_filename): Added this convenience function.

	* src/guppi/guppi.c
	* src/guppi/guppi-app.c: Broke out the code for building up the
	main app window for Guppi, moved it into a class derived from
	GnomeApp.  Added a bunch of code for remembering the most recently
	opened files.

2000-04-11  Jon Trowbridge  <trow@gnu.org>

	* plug-ins/plot/scatter/guppi-scatter-style.c
	(guppi_scatter_style_paint): I screwed up when I fixed a memory
	leak here a few days ago.  The situation is now (hopefully)
	unscrewed.

2000-04-10  Jon Trowbridge  <trow@gnu.org>

	* src/libguppimath/guppi-equation.c (guppi_equation_simplify):
	Adjusted to simplify 0/foo => 0 (as long as foo != 0).

	* plug-ins/plot/slinreg/guppi-slinreg-state.h
	* plug-ins/plot/slinreg/guppi-slinreg-state.c
	* plug-ins/plot/slinreg/guppi-slinreg-item.h
	* plug-ins/plot/slinreg/guppi-slinreg-item.c: Added an optional
	model equation/R^w label on the regression line.

	* src/libguppiplot/guppi-alpha-template.c
	(my_gt1_glyph_outline_lookup & get_gt1_font): Added the caches I'd
	left out in the first pass, thereby plugging some massive memory
	leaks.
	(guppi_alpha_template_text_general): Added support for rotated and
	outlined text.  Anti-aliased fonts rule.

2000-04-08  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-canvas-item.c (renrenegotiate_x_start &
	renegotiate_y_start): We reset the reneg_[xy]_started flag here
	rather than in renegotiate_*_accept.  This fixes a glitch
	involving objects that are passive wrt bounding boxes.

	* src/libguppiplot/guppi-alpha-template.c
	(guppi_alpha_template_text): Added a function to render nice
	anti-aliased text info an alpha template.

	* src/libguppiplot/guppi-alpha-template.h: Added a prototype for
	guppi_alpha_template_text().

	* plug-ins/plot/scatter/guppi-scatter-item.c: Macroified the
	MARGIN value.

	* plug-ins/plot/scatter/guppi-scatter-style.c
	(guppi_scatter_style_paint): Fixed a memory leak caused by adding
	an extra reference to our marker alpha templates.

2000-04-07  Jon Trowbridge  <trow@gnu.org>

	* src/libguppistat/guppi-simple-linreg.c
	(guppi_simple_linreg_recalc): The regression calculation now
	properly deals with the case of data sets with different bounds.

	* src/libguppiplot/guppi-canvas-item.c (renegotiate_x_accept &
	renegotiate_y_accept): A serious typo (a MIN had popped up where a
	MAX was expected) had totally screwed up the entire size
	negotiation process.  Fixed.

	* src/libguppimath: Added a chunk of code for dealing with
	symbolic math.

2000-04-06  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiplot/guppi-plot-element.c (event_dispatcher):
	Removed a superfluous call to gnome_canvas_item_hide().  I don't
	remember what this was supposed to do in the first place...

	* src/libguppiuseful/guppi-paths.c (guppi_glade_path): .glade
	files are now searched for properly, by recursively searching
	through the directory structure.  This replaces a hideous
	hard-wired hack.

	* src/libguppiuseful/guppi-paths.h: Fixed const-ness of the
	string returned by guppi_glade_path().

	* src/libguppiuseful/guppi-useful.defs: Fixed the const-ness
	of the return value for the .defs-inition of guppi_glade_path.

	* src/libguppiuseful/guppi-debug.c: Added cool debugging functions
	stolen from Nautilus: the guppi_stop_in_debugger() function and
	the related functions to make log messages trigger it.

	This is why free software kicks ass; you can really learn so much
	by reading other people's code.

	* src/libguppiuseful/guppi-debug.h: Added prototypes for new
	functions, and the GUPPI_ENTER and GUPPI_EXIT macros.

	* plug-ins/plot/scatter/guppi-scatter-style.c
	(guppi_scatter_style_paint): Added code to properly handle the
	case of x- and y-data sets that are not the same size.  We plot
	the common range, if any.

	* plug-ins: Reorganized the directory structure so that all of the
	plug-ins of a particular type are grouped together in a
	sub-directory.

2000-04-02  Jon Trowbridge  <trow@gnu.org>

	* src/libguppiuseful/guppi-plug-in.c (register_plug_in): Fixed
	g_message()s to print the right version number for plug ins.
	(Thanks to Ji Yu <g.yu@mail.utexas.edu> for catching this.)

	
-----------------------------------

I used to be very bad about keeping a ChangeLog, in that I didn't; instead,
I put the change info in the CVS log entries.  After getting a lot of shit
from people at GUADEC in Mar 2000, about generating too much traffic on the
CVS commit mailing list with my file-by-file commits, I saw the error
in my ways. :-) 

So if you want to know what happened previous to this, look in the
CVS logs.  (It is still early enough in development that most changes
have either been the addition of large chunks of new code or
various bits of architectural thrashing...)