File: ChangeLog

package info (click to toggle)
gnumeric 1.12.57-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 111,496 kB
  • sloc: ansic: 296,601; xml: 56,363; perl: 6,615; sh: 5,288; makefile: 2,981; yacc: 1,341; python: 389
file content (13778 lines) | stat: -rw-r--r-- 447,336 bytes parent folder | download
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
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
2024-02-11  Morten Welinder <terra@gnome.org>

	* Release 1.12.57

2023-11-02  Morten Welinder <terra@gnome.org>

	* Release 1.12.56

2023-02-02  Morten Welinder <terra@gnome.org>

	* Release 1.12.55

2023-01-19  Morten Welinder <terra@gnome.org>

	* Release 1.12.54

2022-12-06  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_set_paper_from_code): Plug leaks.

2022-09-17  Morten Welinder <terra@gnome.org>

	* Release 1.12.53

2022-05-22  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_get_num_fmt): Format 14 is locale dependent.
	* xlsx-write.c (xlsx_load_buildin_num_formats): Ditto.

2022-04-18  Morten Welinder <terra@gnome.org>

	* Release 1.12.52

2022-01-20  Morten Welinder <terra@gnome.org>

	* Release 1.12.51

2021-06-10  Morten Welinder <terra@gnome.org>

	* Release 1.12.50

2021-04-11  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_parse_expr): Turn expressons we cannot parse
	into ERROR("formula") instead of dropping them on the floor.  See
	#574.

2021-03-29  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_CT_HyperLinks): Also handle file:// links.
	* xlsx-write.c (xlsx_write_hlink): Ditto.

2021-03-14  Morten Welinder <terra@gnome.org>

	* Release 1.12.49

2020-08-12  Morten Welinder <terra@gnome.org>

	* Release 1.12.48

2020-05-27  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_draw_clientdata): don't set the print
	flag if we do not import the object.

2020-05-09  Morten Welinder <terra@gnome.org>

	* Release 1.12.47

2020-05-09  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_read_cnvpr): hook this up for more
	instances of cNvPr.

2020-05-05  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_draw_clientdata): Read sheet object
	print flag.
	* xlsx-write-drawing.c (xlsx_write_drawing_objects): Write it.

2020-05-03  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_drawing_twoCellAnchor_end): Set sheet
	object name.

	* xlsx-write-drawing.c (xlsx_write_drawing_objects): Write sheet
	object name for all sheet objects.

2019-11-06  Morten Welinder <terra@gnome.org>

	* Release 1.12.46

2019-09-02  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-excel-read.c (ms_sheet_realize_obj): fix charts position. [#414]
	* ms-excel-write.c (excel_write_chart_v8): ditto.

2019-07-20  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_style): Wrote cell protection too.
	Fixes #409.

2019-05-20  Morten Welinder <terra@gnome.org>

	* Release 1.12.45

2019-03-21  Thomas Kuehne  <undisclosed@nowhere>

	* excel-xml-read.c: provide support for common meta data and basic
	auto filter settings.

2018-11-24  Morten Welinder <terra@gnome.org>

	* Release 1.12.44

2018-10-02  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_BOF): No need to set sheet and unref
	here for old-format full-sheet graph.  It's already done in
	ms_excel_chart_read.

2018-08-19  Morten Welinder <terra@gnome.org>

	* Release 1.12.43

2018-08-09  Morten Welinder <terra@gnome.org>

	* Release 1.12.42

2018-05-07  Morten Welinder <terra@gnome.org>

	* Release 1.12.41

2018-04-29  Morten Welinder <terra@gnome.org>

	* Release 1.12.40

2018-03-13  Morten Welinder <terra@gnome.org>

	* Release 1.12.39

2017-12-28  Morten Welinder <terra@gnome.org>

	* Release 1.12.38

2017-12-01  Morten Welinder <terra@gnome.org>

	* Release 1.12.37

2017-11-26  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_sheet): Add comments to legacy drawing
	requirements.  (So much for "legacy").

	* xlsx-write-drawing.c (xlsx_write_legacy_object): Extend to
	handle cell comment objects.

	* xlsx-write.c (xlsx_write_comments): Preserve spaces in comments.

2017-11-20  Morten Welinder  <terra@gnome.org>

	* ms-formula-write.c (xl_map_char_to_type): Improve debug output.
	(write_funcall): Avoid a critical for ERROR function.  This might
	not be right -- need to check what XL wants for this.

2017-11-18  Morten Welinder <terra@gnome.org>

	* Release 1.12.36

2017-10-26  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_ser_trendline_intercept): Read
	intercept.

	* xlsx-write-drawing.c (xlsx_write_axis): Make axis tag for
	contour charts match what XL wants.  Even if it isn't obvious why.
	(xlsx_write_one_chart): Save a view3D for contour charts.
	(xlsx_write_one_plot): Fix writing trendline equation.  Don't
	write a trendline name if there isn't one.  Write intercept=0 when
	not linear.

2017-10-24  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_axis): Write a pseudo-3d axis
	as a serAx.
	(xlsx_write_one_plot): Start work on surface charts.

2017-10-23  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_one_plot): Recognize the third
	axis.

2017-10-21  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (dtd): Add stubs for floor, sidewall, and
	backwall.
	(xlsx_chart_contour): Use XLContourPlot object.

2017-10-11  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_wb_name_end): Ignore bogus Print_Area names.

2017-07-06  Morten Welinder <terra@gnome.org>

	* Release 1.12.35

2017-03-20  Morten Welinder <terra@gnome.org>

	* Release 1.12.34

2017-03-16  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_drawing_dtd): Fill out the grammar a
	bit more to quiet some warnings.

2017-03-08  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (by_hlink_order): Simplify order.
	(xlsx_write_hlink): Properly handle location.

	* ms-excel-util.c (xls_collect_hlinks): Sort ranges.

	* xlsx-read.c (xlsx_CT_HyperLinks): Handle external links with
	anchors.

2017-02-28  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-write-drawing.c (xlsx_write_go_style_full): do not export
	transparent fill style if auto.

2017-02-26  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-write-drawing.c (xlsx_write_go_style_full): always export a
	transparent fill style. [#779160]
	(xlsx_write_one_chart): simplify legend style export.

2017-02-21  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-write-drawing.c (xlsx_write_one_chart): export legend style.

2017-02-18  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_sheet): Don't write hyperlinks to
	biff7 and before.  The strings come out wrong.

	* xlsx-write.c (xlsx_write_hlinks): Impose an ordering on links.

2017-02-16  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-write-drawing.c (xlsx_write_layout), (xlsx_write_one_chart): first
	attempt to export a manual position.

2017-02-15  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_chart_text), (xlsx_text_value),
	(xlsx_body_pr): read text value.
	* xlsx-write-drawing.c (xlsx_write_one_chart): export legend position.

2017-02-15  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-write-drawing.c (xlsx_write_series_dim): Fix xlsx export of chart
	series names. [#778618]

2017-02-14  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (themed_color_from_name): New function to handle
	alias colours tx1 and tx2.
	(themed_color): Use themed_color_from_name.
	(themed_color_from_name): Flip light/dark -- it refers to theme.
	Map bg1 and bg2 too.
	(xlsx_file_open): Have defaults for mapped colours.

	* xlsx-read-drawing.c (xlsx_draw_color_themed): Use
	themed_color_from_name.
	(xlsx_chart_dtd): Add effectLst to grammar.

2017-02-07  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (wrap_sheet_new): New function to ensure we start
	with blank header and footer.  Fixes #778292.

2017-01-30  Morten Welinder <terra@gnome.org>

	* Release 1.12.33

2017-01-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_CT_PageSetup): the default for fitTo* is 1
	* xlsx-write.c (xlsx_write_print_info):  the default for fitTo* is 1

2016-08-20  Morten Welinder <terra@gnome.org>

	* Release 1.12.32

2016-06-29  Morten Welinder <terra@gnome.org>

	* Release 1.12.31

2016-06-24  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (theme_dtd): Ignore miter specs.

2016-06-17  Morten Welinder <terra@gnome.org>

	* Release 1.12.30

2016-05-06  Morten Welinder <terra@gnome.org>

	* Release 1.12.29

2016-04-26  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_cell_val_end): Be slightly more relaxed about
	the syntax of references to the shared strings table.  Fixes
	#765544.

2016-03-22  Morten Welinder <terra@gnome.org>

	* Release 1.12.28

2016-02-08  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_chart_layout_target): Do proper
	parsing.  Fixes #761727.

2016-02-07  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_rpr_latin): Check that null style.
	Fixes #761663.

2016-02-06  Morten Welinder <terra@gnome.org>

	* Release 1.12.27

2016-01-14  Morten Welinder  <terra@gnome.org>

	* ms-formula-read.c (excel_parse_formula1): Add missing length
	check.  Fixes #760545.

2016-01-13  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (end): Add missing array length check. Fixes #760546.

2016-01-07  Morten Welinder  <terra@gnome.org>

	* ms-obj.c (ms_obj_read_biff8_obj): Add missing length check for
	scroll bars.  Fixes #760232.

	* ms-excel-read.c (excel_formula_shared): Length check for v0.
	Fixes #760231.

	* ms-chart.c (ms_excel_chart_read): Initialize .legend to NULL.
	Fixes #760229.

	* ms-excel-read.c (excel_read_NAME): Fix computation of array
	length.  Fixes #760104.

	* ms-formula-read.c (excel_parse_formula1): Check that
	non-parsable data is actually there before dumping it.

2016-01-05  Morten Welinder  <terra@gnome.org>

	* ms-formula-read.c (excel_parse_formula1): Fix string length
	capping.  Fixes #760106.

2016-01-04  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_sheet_new): Undo last change.  Fix
	#760103 differently.

	* ms-obj.c (ms_obj_read_biff8_obj): Fuzzed file fixes.  Fixes
	#760101 and #760105.

2016-01-03  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_sheet_new): Always create a new sheet.
	Fixes #760103.

2016-01-02  Morten Welinder  <terra@gnome.org>

	* ms-formula-read.c (excel_parse_formula1): Check for recursive
	shared formulae.  Fixes #760043.

	* ms-biff.c (ms_biff_query_next): Don't handle CONTINUE records
	for BOUNDSHEET.  Fixes #760089.

2015-12-28  Morten Welinder <terra@gnome.org>

	* Release 1.12.26

2015-12-25  Morten Welinder <terra@gnome.org>

	* Release 1.12.25

2015-12-22  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_DV): Use a special formula context
	for list validation.

	* ms-formula-write.c (excel_write_formula): Handle said formula
	context.

	* ms-obj.h (MSObj): Rename field combo_in_autofilter to
	auto_combo.

2015-10-17  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_NAME): Handle deleted and selfref
	sheet.

	* ms-formula-read.c (excel_parse_formula1): Handle deleted sheet.

2015-09-20  Morten Welinder <terra@gnome.org>

	* Release 1.12.24

2015-07-28  Morten Welinder <terra@gnome.org>

	* Release 1.12.23

2015-07-07  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_parse_name): Handle non-local Print_Area.
	Fixes #752081.

	* ms-biff.c (ms_biff_query_bound_check): When we span records --
	unhandled -- signal that as an error.  Fixes #752080.

2015-07-06  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-excel-read.c (excel_read_BOF): fuzzed file issue. [#751989]

2015-07-05  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (end): one more NULL value issue. [#751969]
	* ms-excel-read.c (sst_read_string): fix test with undsigned integer.
	Fixs #751968.

2015-07-04  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-excel-read.c (excel_read_FONT): don't read missing data. [#751909]

2015-07-03  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (end): protect against missing value. Fixes #751945.

2015-07-04  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-excel-read.c (excel_read_sheet), (excel_read_BOF): don't leak charts,
	see #751578.

2015-07-04  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-escher.c (ms_escher_read_container): protect against wrong record
	length. Fixes #751249.

2015-07-04  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (set_radial_axes), (end): make axis type change more secure.

2015-07-04  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (xl_chart_import_trend_line): add check for array index in
	xl_chart_import_trend_line(). Fixes #751920.

2015-07-03  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (end): protect against missing value. Fixes #751908.

2015-07-03  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (end): fix Y and Z axes exchange in 3D plots. Fixes #751744.

2015-07-02  Morten Welinder  <terra@gnome.org>

	* ms-obj.c (read_pre_biff8_read_expr): Check record length.

2015-07-01  Morten Welinder  <terra@gnome.org>

	* xls-read-pivot.c (xls_read_SXVIEW): Protect against underflow in
	length.  Fixes #751662.

2015-06-29  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_formula_shared): Handle duplicates in
	shared formula tables.  This shouldn't happen in proper files.
	Fixes part of #751660.

	* ms-formula-read.c (excel_parse_formula1): Survive bogus array
	constant.  Fixes #751659.

2015-06-29  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_CF): Plug leak when reading fuzzed
	file.

2015-06-28  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (end): fuzzed file fix. [#751758]

2015-06-25  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (end): more unexisting series issues. See #751270, comment #2

2015-06-24  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (end), (ms_excel_chart_read): don't use unexisting series and
	initialize XLChartReadState::style_element. Fixes #751384.

2015-06-22  Morten Welinder  <terra@gnome.org>

	* ms-escher.c (ms_escher_read_container): Catch crazy length field
	causing a loop.  Fixes #751258.

2015-06-22  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (3dbarshape), (3d), (ai), (alruns), (area),
	(areaformat), (attachedlabel), (axesused), (axis), (axisparent),
	(bar), (boppop), (catserrange), (chart), (chartformat),
	(chartline), (dat), (defaulttext), (dropbar), (fbi), (fontx),
	(ifmt), (legend), (legendxn), (line), (lineformat), (markerformat),
	(objectlink), (pie), (pieformat), (plotgrowth), (serauxerrbar),
	(serauxtrend), (serfmt), (trendlimits), (seriestext), (serparent),
	(sertocrt), (shtprops), (siindex), (surf), (text), (tick), (units),
	(valuerange): fix data size checks.

2015-06-22  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-excel-read.c (excel_read_PANE): check data size. [#751271]

2015-06-22  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (end): skip NULL excel series. [#751270]

2015-06-21  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (ms_excel_chart_read): initialize XLChartReadState::is_contour.

2015-06-20  Morten Welinder  <terra@gnome.org>

	* ms-chart.c (ai): Avoid expression leak on broken file.

	* xlsx-read.c (attr_uint): Typo.

	* xls-read-pivot.c (xls_read_pivot_cache): Don't trust large
	record counts.
	* xlsx-read-pivot.c (xlsx_CT_pivotCacheRecords): Ditto.  Also read
	count as unsigned.

	* ms-chart.c (trendlimits): Bail if we don't have a series.  Fixes
	#751253.

	* ms-excel-read.c (sst_read_string): Handle errors from
	excel_get_chars.  Fixes #751254.

2015-06-16  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_file_open): Plug leaks.

	* ms-excel-write.c (excel_convert_string): Ensure multi-NUL
	terminator.  Fixes #750856.
	(excel_convert_string): Plug leak.

2015-06-15  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_comments_dtd): Fix dtd by not including
	children in parent scope.

2015-06-12  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_collection_begin): Don't reallocation if a
	collection occurs twice.  Fixes #750864.

	* ms-excel-util.c (xls_header_footer_import): Allocate if needed.
	Fixes #750853.

2015-06-11  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_AUTOFILTER): Handle invalid filter
	condition.  Fixes #750811.
	(excel_read_SST): Fuzzed file fix.  #750810.

2015-06-01  Morten Welinder  <terra@gnome.org>

	* ms-obj.c (ms_read_TXO): Zero out markup earlier.  Fixes #750046.

	* ms-excel-read.c (excel_fill_bmp_header): Don't read beyond
	buffer.
	(excel_read_os2bmp): Check that image length makes sense.  Fixes
	#750043.
	(excel_read_FONT): Fix record length check.  Fixes #750044.

2015-05-30  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-escher.c (ms_escher_read_BSE), (ms_escher_read_Blip),
	(ms_escher_read_Spgr), (ms_escher_read_ChildAnchor): fixed data access
	in fuzzed files. [#750042]

2015-05-28  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (xls_read_range32): Clamp to sane dimensions.

2015-05-15  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_formula_shared): Catch duplicate shared
	formulas for the same cell.

2015-05-14  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_FILEPASS): Constify.

	* md5.c (md5_read_ctx): Don't require aligned memory.

2015-05-13  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_get_text_fixme): Eliminate.

2015-05-12  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_DV): Stop using
	excel_get_text_fixme.  Fixes #749270.

	* ms-excel-write.c (extract_txomarkup): Handle missing text.

2015-05-11  Morten Welinder  <terra@gnome.org>

	* ms-excel-util.c (xls_header_footer_import): Handle terminating
	"&".  Fixes #749235.

	* xls-read-pivot.c (xls_read_pivot_cache_values): Set the right
	size on error.  Fixes #749234.

2015-05-10  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_CONDFMT): Plug leaks.

	* ms-obj.c (ms_read_TXO): Fix maxlen calculation for UTF-16.

	* ms-chart.c (chart_write_MARKERFORMAT): Shape map was missing an
	item.

	* xlsx-read-drawing.c (xlsx_data_label_pos): Terminate enum list.
	(xlsx_ser_labels_pos): Ditto.
	(xlsx_ser_trendline_type): Ditto.
	(xlsx_axis_mark): Ditto.
	(xslx_chart_tick_label_pos): Ditto.
	(xlsx_scatter_style): Ditto.

2015-05-09  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_read_chart): Handle missing series.
	[#749166]
	(xlsx_read_chart): Free left-over styles.

	* ms-excel-read.c (excel_read_NAME): Take record length into
	account.

2015-05-09  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-write.c (xlsx_write_font): fix out of bounds read. [#749121]

2015-05-08  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_series_dim): GogSeriesDesc does
	not have a dimension -1, so don't access it.

2015-05-07  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (blipinf_new): Handle NULL image.  Fixes
	#749069.

2015-05-06  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_file_open): Plug leaks related to fuzzed
	files.  Fixes #749030.

2015-05-04  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_axis_custom_unit): Allow negative
	units too.

2015-05-04  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_axis_custom_unit): read custom scaling
	factor.
	* xlsx-write-drawing.c (xlsx_write_axis): write it back. [#748295]

2015-04-28  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (sst_read_string): Prevent string overrun.
	Fixes #748597.

2015-04-26  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_shared_string): Retry hash lookup when we
	clear the format.
	(xlsx_write_cells): Handle string values with formats other than
	markup.  Fixes #748477.

2015-04-24  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_go_style_full): Export
	rotatation.

2015-04-23  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c: simplify parsing and fix attribute namespace
	issues.

2015-04-21  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_chart_ring_hole): read hole size.

2015-04-17  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_chart_layout_manual): fix plot area manual
	layout import. [#748016]

2015-04-16  Morten Welinder <terra@gnome.org>

	* Release 1.12.22

2015-04-16  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_comments): Write comments in id order
	since we refer to them by their implied id based on the order.

2015-04-15  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_comments): Write comment authors in
	deterministic order.

	* ms-excel-util.c (xls_collect_validations): Rename from
	excel_collect_validations and move from ms-excel-write.c.
	Sort ranges.

	* xlsx-write.c (xlsx_write_validations): Impose an ordering of
	validation entries.

2015-04-13  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_chart_pie_angle): Read firstSliceAng.

	* xlsx-read.c (xlsx_ext_tabtextcolor): New function for round trip
	of tab text color.

	* xlsx-write-drawing.c (xlsx_write_one_plot): Move c:holeSize to
	where the schema says it should be.

2015-04-11  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_FORMULA): Only print recalc tag in
	debug mode for V5+.

	* xlsx-read-color.c (xlsx_draw_color_gamma): Implement.

	* xlsx-write.c (xlsx_write_workbook): Plug pivot leak.

2015-04-10  Morten Welinder  <terra@gnome.org>

	* ms-excel-util.c (xls_collect_hlinks): Rename from
	excel_collect_hlinks.  Move from-ms-excel-write.c.  Plug leak.

	* xlsx-write-docprops.c (xlsx_map_to_date_core): Plug leaks.

2015-04-06  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_one_plot): Always write series'
	style.

2015-04-05  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_chart_add_plot): Add backplane here.
	(xlsx_plot_area): Not here, but push a dummy object.

2015-04-04  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_plot_area_end): Get rid of the
	Backplane we tentatively added.

2015-03-31  Morten Welinder  <terra@gnome.org>

	* xlsx-read-color.c: New file extracted from xlsx-read-drawing.c
	and xlsx-read.c
	(xlsx_draw_color_hsl_channel): Implement.

	* xlsx-read.c (theme): Apply colour modifications.

2015-03-30  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_draw_color_rgba_channel): Rename from
	xlsx_draw_color_alpha.  Handle all four channels.
	(xlsx_draw_color_hsl_channel): Hook up hue-sat-lum modification.
	(xlsx_draw_color_scrgb): Properly parse <scrgbClr>.
	(xlsx_chart_drawing_dtd): more grammar.

2015-03-30  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (ms_excel_chart_read): support absolute sheet object anchoring.
	* ms-escher.c (ms_escher_clientanchor): ditto.
	* ms-excel-read.c (ms_sheet_obj_anchor_to_pos),
	(ms_sheet_realize_obj): ditto.
	* ms-excel-write.c (excel_write_autofilter_objs),
	(excel_write_other_v8): ditto.
	* xlsx-read-drawing.c (xlsx_draw_anchor_start),
	(xlsx_drawing_twoCellAnchor_end), (xlsx_drawing_oneCellAnchor_end),
	(xlsx_drawing_absoluteAnchor_end), (xlsx_drawing_anchor_pos),
	(xlsx_vml_client_data_end): ditto.
	* xlsx-read.c: ditto.
	* xlsx-write-drawing.c (xlsx_write_drawing_objects): ditto.

2015-03-28  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_axis_crossax): Improve parsing.  Take
	default values of many enum attributes into account.
	(xlsx_draw_color_alpha): Fix clamping.

2015-03-23  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_chart_text): Move overlay
	attribute here.
	(xlsx_write_go_style_full): Fix noFill/solidFill writing.

2015-03-16  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_go_style_full): Ensure that XL
	doesn't see lines where none are wanted.

2015-03-13  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_drawing_twoCellAnchor_end): Only set
	style if the object has style.  SheetObjectImage does not.

	* xlsx-read.c (xlsx_ext_begin): Ignore unknown stuff inside.

2015-03-09  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (cb_axis_set_position): Set position of
	present axis, not of crossed axis.  The latter is more complicated
	and breaks down with multiple axes.

2015-03-08  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_axis_cleanup): Perform axis-renaming
	as the last step in cleanup.

	* xlsx-write-drawing.c (xlsx_write_one_plot): Don't write axes
	here; return a list of needed axes instead.
	(xlsx_write_plots): Write the union of needed axes after all the
	plots.

2015-03-07  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_plots): Write all plots, not
	just the first one.

	* xlsx-write.c: Use new go_xml_out_add_double.

	* xlsx-write-drawing.c: Use new go_xml_out_add_double.

	* xlsx-write-docprops.c (xlsx_write_docprops_app): Use string for
	version, nont floating point.

	* xlsx-write-drawing.c (xlsx_write_chart_float): Drop def_val
	argument.

2015-03-04  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_create_axis_object): Handle log axis.
	* xlsx-write-drawing.c (xlsx_write_axis): Ditto.

2015-03-04  Morten Welinder <terra@gnome.org>

	* Release 1.12.21

2015-03-04  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_drawing_objects): Fix
	relationship.  Write a prstGeom for the image.

2015-03-01  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (ms_sheet_realize_obj): Don't let the sheet
	object take over the memory.  We might need it later.

2015-02-25  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_sheet): Also write combos and lists.
	* xlsx-write-drawing.c (xlsx_write_legacy_object): Ditto.

2015-02-24  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_parse_rel_by_id): Debug code.

	* xlsx-read-drawing.c (xlsx_vml_drop_style): Don't create objects
	here -- that'll just leak.

	* xlsx-write-drawing.c (xlsx_write_axis): Pick the crossing axis
	within the relevant plot.

	* xlsx-read-drawing.c (cb_axis_set_position): Don't use
	g_return_if_fail for data validation.

	* xlsx-write-drawing.c (xlsx_write_one_plot): Write only the axes
	we reference.

	* xlsx-read-drawing.c (xlsx_create_axis_object): Move setting of
	"invisible" here.

2015-02-23  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_chart_dtd): Handle gostyle extension
	here too.

	* xlsx-write-drawing.c (xlsx_write_chart): Add gnmx namespace as
	needed.

	* xlsx-read-drawing.c (xlsx_vml_adj): Read scroll bar value too.

2015-02-20  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_vml_client_data_end): Better handling
	of anchor: don't overrun col/row limit; use point, not pixels;
	take invible cols/rows into account.

	* xlsx-write-drawing.c (xlsx_write_legacy_drawing_objects): Define
	and reference shapetype.
	(xlsx_write_legacy_drawing_objects): Export label too.

2015-02-19  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_go_style_full): Write gradient
	position as "50%", not "50000".  Excel understands either, but the
	schemas wants the first.  Note, that online schemas seem to differ
	and want the latter.

	* xlsx-read.c (attr_percent): New function to read either syntax.

2015-02-17  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_collect_validations): Plug leak.
	(excel_write_DV): Don't free ranges here.

	* xlsx-write-drawing.c (xlsx_go_style_has_font): Simplify now that
	we have a sane auto_font.

2015-02-16  Morten Welinder  <terra@gnome.org>

	* ms-chart.c (chart_write_axis): Only output font record when it's
	not automatic.
	(BC_R(fontx)): When we see a font record, it's not auto_font.

	* xlsx-read-drawing.c (xlsx_draw_text_run_props): Fix reading of
	fonts, notably of the auto-font flag.  Part of #744632.

	* xlsx-write-drawing.c (xlsx_write_one_plot): Plug leak.
	(xlsx_write_plot_1_5_type): Plug leak.

2015-02-14  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_go_style_full): When needed
	store our pattern in extension structure.  MS docs say other
	consumers should ignore, but let's see.
	(xlsx_write_go_style_full): If translation loses information,
	store complete arrow details in extension.

2015-02-13  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_go_style_full): When we must
	use fill in the line style, use a:noFill to indicate no line.
	(xlsx_write_drawing_objects): Fix output of default background.

2015-02-12  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_chart_line_headtail): Improve arrow
	import with xls_arrow_from_xl.

	* ms-excel-util.c (xls_arrow_from_xl): New function extracted...
	* ms-excel-read.c (handle_arrow_head): ...from here.

	* xlsx-write-drawing.c (xlsx_write_go_style_full): Improve arrow
	export with xls_arrow_to_xl.

	* ms-excel-util.c (xls_arrow_to_xl): New function extraced from...
	* ms-excel-write.c (write_arrow): ...here

	* xlsx-write.c (xlsx_write_col): Always write column width.
	Otherwise Excel might see zero.

2015-02-10  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_drawing_objects): Save arrow
	direction.

	* xlsx-write.c (xlsx2_file_save, xlsx_file_save): Initialize
	counter.

	* xlsx-write-docprops.c (xlsx_write_docprops): Plug leak.

2015-02-09  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_chart_line_headtail): First cut at
	arrow heads.  Needs work.

2015-02-08  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_drawing_objects): Add leak
	checking.

	* xlsx-write.c (xlsx_write_workbook): Plug leaks.

2015-02-06  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_sheet): Handle sheet widgets.

	* xlsx-write-drawing.c (xlsx_write_legacy_drawing_objects): First
	cut at writing sheet widgets.

	* xlsx-read-drawing.c (xlsx_vml_client_data_start)
	(xlsx_vml_client_data_end): First attempt at reading scrollbars,
	radio buttons, checkboxes, buttons, and spin buttons.
	(xlsx_vml_shape): Reset position so we don't depend on junk.
	(xlsx_vml_client_data_end): Resolve NaNs in position gracefully.
	(xlsx_vml_adj): New function to read adjustment details.

2015-02-04  Morten Welinder <terra@gnome.org>

	* Release 1.12.20

2015-02-03  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_chart_line): Default is no markers.
	(xlsx_chart_line_marker): Set has-markers as requested.

	* xlsx-write.c (xlsx_write_sheet): Don't complain over sheet
	filter combos.

	* xlsx-write-drawing.c (xlsx_write_go_style_full): Write font
	information.

	* xlsx-read-drawing.c (xlsx_tx_pr): Set the right auto_color flag.

2015-02-02  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_chart_push_obj): Optionally check for leaks.
	(xlsx_axis_end): Plug leak.

	* xlsx-write-drawing.c (xlsx_write_axis): Make axis visible.

2015-02-01  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_comments): We cannot use xml:space in
	comments.

	* xlsx-read.c (xlsx_comment_end): Plug leak.

2015-01-30  Morten Welinder  <terra@gnome.org>

	* ms-obj.c (ms_obj_read_biff8_obj): Gather orientation.

	* ms-excel-read.c (ms_sheet_realize_obj): Set orientation.

2015-01-28  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_other_v8): Export sliders as-if
	they were scrollbars.

2015-01-27  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_axis): Fix crossing for
	inverted axis.

2015-01-26  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_sheet): Warn about dropped objects.

	* xlsx-read-drawing.c (xlsx_body_pr): Fix reading angle.  In xlsx
	positive angles are measured clock-wise.

	* xlsx-write-drawing.c (xlsx_write_go_style_full): Make sure auto
	markers don't get rotated or flipped.

2015-01-23  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_go_style_full): Use rotation to
	handle marker triangles other than up.

	* xlsx-read-drawing.c (xlsx_rpr_latin): Read typeface from xlsx charts.
	(xlsx_sppr_xfrm): Rotate marker shapes.

2015-01-23  Morten Welinder <terra@gnome.org>

	* Release 1.12.19

2015-01-21  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_read_chart): Reset chart position here
	so we don't accidentally give the first object a (0,0) position.

2015-01-21  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_one_plot): varyColor defaults
	to TRUE, so be sure to output it for line plots etc.
	(xlsx_write_one_plot): Set smooth for anything but linear
	interpolation.

2015-01-20  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_one_plot): Initial export of
	trend lines.

	* xlsx-read-drawing.c (xlsx_ser_trendline_type): Initial import of
	trend lines.

2015-01-19  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_drawing_twoCellAnchor_end): Fix
	operator precedence.
	(xlsx_axis_end): Re-use the id of an automatically generated axis
	if there is one we can delete that happens to have the right role.

	* xlsx-write-drawing.c (xlsx_write_one_plot): Use
	xlsx_plottype_from_type_name for readability.

	* xlsx-utils.c (xlsx_plottype_from_type_name): New function.

2015-01-17  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_get_axid): New function allowing us
	to get away from storing truncated pointers as axis ids.

	* xlsx-read-drawing.c (xlsx_chart_bar_overlap)
	(xlsx_chart_bar_gap): Fix reading percentages.
	(xlsx_chart_no_fill): Handle noFill when used to avoid lines
	between data points.

	* xlsx-write-drawing.c (xlsx_write_axis): Factor this out from
	xlsx_write_one_plot.  Write axis label.
	(xlsx_write_one_chart): Write chart title.

	* xlsx-read-drawing.c (xlsx_plot_area): Keep the backplane in
	default style.

	* xlsx-write-drawing.c (xlsx_write_go_style): Write marker colors.

	* xlsx-read-drawing.c (xlsx_chart_solid_fill): Fix reading marker
	colors.

	* xlsx-write-drawing.c (xlsx_write_go_style): Write marker size.

	* xlsx-read-drawing.c (xlsx_chart_marker_size): Read marker size.

	* xlsx-write.c (xlsx_write_cols): Make sure we include a width for
	default-style columns.  Otherwise XL will see zero width.

2015-01-16  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_go_style): Export line style.
	(xlsx_write_go_style): Have a first go at exporting marker shapes.

	* xlsx-read-drawing.c (xlsx_style_line_start): Also point to the
	right auto_color location so we don't end up ignoring the colors
	we read.

2014-12-16  Morten Welinder  <terra@gnome.org>

	* xlsx-write-docprops.c (xlsx_meta_write_props_custom_type):
	Booleans should be saved as "true" or "false", not "t" and "f".
	Excel refuses to understand the latter.
	(xlsx_meta_write_props_custom): Don't reuse prop ids.  Excel does
	not like that.

	* xlsx-utils.c (xlsx_func_hypgeomdist_output_handler): New handler
	for HYPGEOMDIST.

2014-11-01  Morten Welinder  <terra@gnome.org>

	* ms-escher.c (ms_escher_get_data): Plug leak.

	* ms-excel-read.c (excel_read_MULRK): Catch crazy column numbers
	early.

2014-10-30  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_font_get): In case of error, fall back to
	font 0 if we have that.
	(ms_wb_get_font_markup): Plug leak.

	* ms-obj.c (ms_obj_map_forms_obj): Plug leak.

2014-10-28  Morten Welinder  <terra@gnome.org>

	* ms-chart.c (ms_excel_chart_read): Fix double free.

2014-10-27  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_axis_format): add some support for axis format.
	* xlsx-write-drawing.c (xlsx_write_one_plot): ditto.

2014-10-24  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_get_chars): Plug leak.

	* xlsx-read.c (xlsx_file_open): Plug leak.

	* xlsx-read-drawing.c (cb_axis_set_position): Plus leak.

2014-09-25  Morten Welinder <terra@gnome.org>

	* Release 1.12.18

2014-09-20  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_cells): xml:space evidently isn't
	allowed in here.

2014-09-18  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (chart_write_axis): save axis format. [#736656]
	* ms-excel-write.c (set_ifmt), (excel_write_add_object_format):
	* ms-excel-write.h:

2014-09-10  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c: Factor out rich text nodes into a macro.  This
	replaces having three copies, more or less up to date.

2014-09-08  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_cell_inline_begin, xlsx_cell_inline_end): New
	functions to deal with non-shared rich text strings.

	* xlsx-write.c (xlsx_write_cells): Write string values that are
	not formula results and not shared using the proper "inlineStr"
	type.  Neither Excel nor LO really cares, but someone else does,
	see bug 736202.  As a side effect, this will improve the rich-text
	situation.

2014-07-27  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_DIMENSION): Fix off-by-one, see
	#733771.

2014-06-09  Morten Welinder <terra@gnome.org>

	* Release 1.12.17

2014-06-05  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_rich_text): Fix color attribute.  Only
	write xml:space attribute when text has spaces.
	(xlsx_write_rich_text): Only write xml:space in contexts where the
	schema allow it.  The shared strings table does not allow it.

2014-06-03  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_rich_text): Add two missing "break;".
	Write only attributes that are present.  Handle superscript/subscript.
	(xlsx_write_shared_strings): Handle rich text.
	(xlsx_write_cells): Don't actually store a markup format as a cell
	format.

	* xlsx-read.c (xlsx_run_color): Handle indexed colours.
	(xlsx_run_weight): Fix handling of bold.
	(xlsx_run_underline): Fix handling of underline.
	(xlsx_run_vertalign): New function for superscript/subscript.
	(add_attr): New function to ensure start_index and end_index get
	initialized.

2014-06-02  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (handle_delayed_names): Handle empty string for
	expression as #REF for the benefit of LO.

2014-05-31  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_cells): Support value formats.  Fixes
	#724517.
	(xlsx_write_workbook): Make styles hash use proper hash and
	equality functions.

2014-05-23  Morten Welinder <terra@gnome.org>

	* Release 1.12.16

2014-04-30  Morten Welinder <terra@gnome.org>

	* Release 1.12.15

2014-04-24  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_chart_title_end): Fix manual
	positioning of chart titles.
	(xlsx_chart_layout_mode): Read as enum, not bool.  (We still
	ignore.)

2014-04-20  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_chart_solid_fill): When we see a
	GO_STYLE_FONT marker, solidFill refers to font colour.
	(xlsx_chart_text_start): Set sp_type flag GO_STYLE_FONT.
	(xlsx_chart_text): Clear flag.
	(xlsx_style_line_start): Handle line width.

2014-04-19  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c: Constify simple_enum tables and make sure
	to check the return value.

2014-04-19  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_drawing_twoCellAnchor_end): Fix
	reading object positions.

2014-04-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write-drawing.c (xlsx_pts_to_emu): new
	(xlsx_write_object_anchor): add offset arguments
	(xlsx_write_objects): pass offsets to xlsx_write_object_anchor

2014-04-17  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_chart_gridlines): Handle minorgrid
	too.
	(xlsx_axis_info_free): Plug leak.

2014-04-16  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (valuerange): ignore the cross value when auto crossing.

2014-04-14  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_ext_begin): Don't complain over "ext".

2014-04-13  Morten Welinder <terra@gnome.org>

	* Release 1.12.14

2014-04-12  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c: Add more xml grammer.

2014-03-21  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (txomarkup_new): Take also string argument.
	Don't delete last run without attributes unless it is beyond the
	string.

	* ms-excel-read.c (ms_wb_get_font_markup): Defined a font's pango
	attributes in terms of how it differs from font 0.

	* xlsx-write.c (xlsx_find_font): Use new gnm_style_equal_elem.
	(xlsx_find_border): Ditto.
	(xlsx_find_fill): Ditto.

	* xlsx-utils.c (xlsx_output_string, xlsx_string_parser): New
	function.  Fixes #726824.

	* xlsx-read.c (xlsx_cond_fmt_rule_begin): Match
	xlsx_write_cond_rule changes.

	* xlsx-write.c (xlsx_write_cond_rule): Write alternate formulas
	even for "Starts with" and friends.

	* xlsx-read.c (xlsx_cond_fmt_formula_end): Don't throw critical if
	we fail to parse the expression.

2014-03-20  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_background): Be careful about fields
	ordering.  Excel cares.
	(xlsx_write_cond_rule): Fix misunderstanding about type names.

2014-03-19  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_find_predefined_fill): Take care not to drop
	a background colour even if we have a "none" fill.

	* xlsx-read.c (xlsx_cond_fmt_rule_end): Reverse the
	alternate-expression uses for certain conditions.

	* xlsx-write.c (xlsx_write_dxfs): New function.

	* xlsx-read.c (xlsx_CT_CustomFilter): Avoid mixing enums.
	(xlsx_cond_fmt_formula_end): Parse expressions in the right parse
	position.
	(xlsx_cond_fmt_rule_begin): Don't complain over type "expression".
	(xlsx_dxf_numfmt): New function to read conditional number
	formats.

2014-03-18  Morten Welinder <terra@gnome.org>

	* Release 1.12.13

2014-03-17  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (cb_write_condition): Fix handling of font
	weight.

2014-03-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_styles_dtd): add stubs

2014-03-16  Morten Welinder  <terra@gnome.org>

	* ms-excel-util.c (xls_header_footer_import): Treat a NULL string
	as an empty string.  Redhat #1076912.

2014-03-15  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (cb_write_condition): Store superscript and
	subscript in the right place.

	* ms-excel-read.c (excel_read_CF): Improve record length checks.

2014-03-12  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (cb_write_condition): Use
	gnm_style_cond_get_alternate_expr for conditions not available in
	xls.

	* ms-excel-read.c (excel_read_CF): Undo the alternate expression
	stuff.

2014-03-10  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_CT_vertAlign): Read super/subscript.
	(xlsx_CT_CustomFilter): Preliminary reading of auto filters.

	* xlsx-write.c (xlsx_write_fonts): Save super/sub attribute.

2014-03-05  Morten Welinder  <terra@gnome.org>

	* ms-formula-write.c (excel_write_prep_expr): Rewrite in terms of
	gnm_expr_walk.

2014-03-03  Morten Welinder <terra@gnome.org>

	* Release 1.12.12

2014-03-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_autofilters): write blank filter info

2014-03-01  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_autofilters): First stab at writing
	most auto-filter selections.

	* ms-excel-read.c (excel_sheet_insert_val): Don't set value
	format.  We already the full style for the cell in
	excel_set_xf.  Fixes #725453.

2014-02-28  Morten Welinder  <terra@gnome.org>

	* crypt-md4.c: Add missing include.  (From Gentoo.)

2014-02-26  Morten Welinder  <terra@gnome.org>

	* ms-biff.c (ms_biff_query_next): Do auto-continue for
	BIFF_MERGECELLS.  We don't generate that ourselves, but it's
	valid.

	* boot.c (excel_save): Make sure to save macros in the
	_VBA_PROJECT_CUR directory that we loaded them from.
	(excel_save): Restore \001Ole member too.
	(excel_save): Save the entire _VBA_PROJECT_CUR directory.

2014-02-25  Morten Welinder  <terra@gnome.org>

	* ms-container.c (ms_container_read_markup): Return NULL when no
	attributes are present.  idx==0 is the normal font.

	* ms-excel-write.c (excel_write_string_in_chunks): BIFF_TXO uses
	BIFF_CONTINUE records in a non-standard way.

	* ms-biff.c (ms_biff_query_dump, ms_biff_put_len_next)
	(ms_biff_put_var_write): Write symbolic opcode name too.

	* xlsx-read.c (xlsx_comment_start): Use cell_comment_set_pos to
	the anchor gets set up in a standard way.

	* ms-biff.c (ms_biff_put_new): No need for bp->buf anymore.

2014-02-24  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_cells): Export row height when it is
	not default, even if it is not user-set.
	(xlsx_write_style_write_alignment): Fix rotation export for
	downward angles.

2014-02-23  Morten Welinder  <terra@gnome.org>

	* ms-excel-util.c (xls_header_footer_export): New function
	extracted from...
	* xlsx-write.c (xlsx_write_print_info_hf): ...here.

	* ms-excel-util.c (xls_header_footer_import): New function
	extracted from...
	* xlsx-read.c (xlsx_CT_header_footer): ...here.

	* ms-excel-write.c (excel_write_HEADER_FOOTER): Properly translate
	magic codes.

	* xlsx-read.c (xlsx_CT_header_footer): Read headerfooter info.

	* xlsx-write.c (xlsx_write_print_info): headerFooter before page
	breaks.  Evidently Excel cares.

2014-02-22  Morten Welinder  <terra@gnome.org>

 	* ms-biff.c (ms_biff_query_next): Handle BIFF_CONTINUE for a whole
	bunch of record types containing strings or formulae.

	* ms-excel-read.c (excel_read_IMDATA): No need to handle
	BIFF_CONTINUE here.

	* ms-formula-read.c (undo_save_hacks): Undo the
	long-string-constant hack in write_string.

	* ms-excel-write.c (excel_convert_string): New function.
	(excel_write_comments_biff7): Avoid infinite loop when a comment
	contains characters that cannot be represented in the codepage.
	(excel_write_string): Use excel_convert_string.

2014-02-21  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_FORMULA): Try to handle missing
	expression length.

	* ms-biff.c (ms_biff_query_next): Handle CONTINUE record for
	BIFF_FORMULA_v0, BIFF_FORMULA_v2, BIFF_STRING_v0, adn
	BIFF_STRING_v2 too.

	* ms-excel-write.c (excel_write_string): Improve handling of
	string overflow.

	* ms-formula-write.c (write_string): Split long strings into 255
	character chunks: ("s1"&"s2"&...)

2014-02-20  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_print_info): First stab at exporting
	headers and footers.

	* ms-excel-write.c (excel_write_XF): Fix reversed diagonal border
	bits.

2014-02-19  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (rotation_to_excel_v7): Fix rotation at 270
	degrees.

	* xlsx-write.c (xlsx_write_fonts): Handle underline.

	* ms-excel-write.c (excel_write_HEADER_FOOTER): Use one-byte
	strings for BIFF7 and earlier.  That matches the way we read
	things.

2014-02-17  Morten Welinder  <terra@gnome.org>

	* xlsx-utils.c (xlsx_conventions_new): use same
	decimal_digits as in gnumeric export.

	* ms-biff.c (ms_biff_query_next): Handle continuation records
	here for certain opcodes.  Fixes part of #724399.

2014-02-16  Morten Welinder <terra@gnome.org>

	* Release 1.12.11

2014-02-16  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_string): Fix hand.  #724399.

2014-02-11  Morten Welinder <terra@gnome.org>

	* Release 1.12.10

2014-01-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_theme_dtd): add more stubs

2013-12-21  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_XF): Fix length check.  Fixes
	#715002.

	* ms-obj.c (read_pre_biff8_read_name_and_fmla): Fix and improve
	length check.  Fixes #720358 and #719349.

2013-12-13  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_WINDOW2): Don't crash of truncated
	record.  Fixes #720426.

	* xlsx-read.c (xlsx_cell_end): Make sure state->texpr ends up
	NULL.  Fixes #720425.

2013-11-28  Morten Welinder <terra@gnome.org>

	* Release 1.12.9

2013-11-26  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-excel-write.c (excel_write_string): fix large strings export. [715110#]
	(excel_write_ClientTextbox): fix test.

2013-11-25  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_string): Fix buffer allocation.

2013-11-22  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_RSTRING): Truncate markup at text
	length.  Fixes #715003.

2013-11-21  Morten Welinder  <terra@gnome.org>

	* ms-obj.c (read_pre_biff8_read_text): Fix fuzzed file problem
	#712731.

	* xlsx-read.c (xlsx_file_open): A severely malformed document can
	leave an expression in the state.  Free that.  Fixes #712788.

2013-11-20  Morten Welinder  <terra@gnome.org>

	* ms-escher.c (ms_escher_get_data): Fix fuzzed file crash.  Fixes
	#712772.  Plug leak.

2013-11-19  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_CF): Check record size.  Fixes
	#712708.

	* xlsx-read-drawing.c (xlsx_style_line_end): Clear the current
	color.  Fixes #712700.

	* ms-excel-read.c (excel_read_MERGECELLS): Fix FMR [#712685]

2013-11-11  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_ClientTextbox): Fix fuzzed file
	crash.  [#708091]

2013-10-07  Morten Welinder <terra@gnome.org>

	* Release 1.12.8

2013-09-13  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (ms_wb_parse_expr): Clear the whole thing,
	notably the v7 part.  Fixes #707875.

2013-09-01  Morten Welinder <terra@gnome.org>

	* Release 1.12.7

2013-08-27  Morten Welinder <terra@gnome.org>

	* Release 1.12.6

2013-08-20  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_prep_validations): Handle range
	with no validation (and therefore with an input message).

2013-08-19  Morten Welinder <terra@gnome.org>

	* Release 1.12.5

2013-08-15  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_autofilter_names): Fix last fix.
	Sometimes we already have _FilterDatabase as a name.  If so,
	brutally use it.  Fixes #705947.

2013-08-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-chart.c (BC_R(shtprops)): check whether we have enough data

2013-08-14  Morten Welinder  <terra@gnome.org>

	* ms-container.c (ms_container_read_markup): Add/reinstate bounds
	check.  Fixes #705866.

2013-08-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* excel-xml-read.c (xl_xml_cell_start): remember how many cols
	to merge
	(xl_xml_cell_end): correctly calc new cell position
	(xl_xml_sheet_start): use maximum sheet size
	(excel_xml_dtd): add some elements

2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read-drawing.c (xlsx_chart_dtd): add more elements

2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-read.c (excel_read_LABEL): check for NULL fd

2013-08-02  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (axislineformat): fix crah on fuzzed xls reading [#705353],
	(chart_write_AI): write all formulas to .xls, even if not  supported by
	excel [#705311],
	(chart_write_plot): export bubble size scale. [see #705311]

2013-08-01  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_MULRK): Fix sanity check.  Fixes
	#705319.

2013-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_borders): check for NULL borders

2013-07-26  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_file_open): Release state.val, just in case.

2013-07-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write-pivot.c (xlsx_write_pivot_val): check for NULL
	value
	(xlsx_write_pivot_cache_records): ditto

2013-07-10  Morten Welinder <terra@gnome.org>

	* Release 1.12.4

2013-07-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-read.c (excel_read_HLINK): check for NULL data

2013-07-09  Morten Welinder  <terra@gnome.org>

	* ms-formula-read.c (getRefV8): Take GnmSheetSize argument.
	Verify row against that.  All callers changed.  Fixes #703306.

2013-07-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_sheet_dtd): attach protectedRange to the
	correct parent

2013-07-02  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_autofilter_names): Use
	expr_name_unref, not expr_name_remove since the fake name is not
	in any scope.  Fixes #703308.

2013-06-30  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_BOUNDSHEET): Check record length.
	Fixes #703307.

2013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read-drawing.c (xlsx_axis_crosses_at): check for null
	axis->info
	(xlsx_axis_crosses): check for null axis->info

2013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-formula-read.c (ms-formula-read.c): add another
	synonym

2013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_betadist_handler): delete again
	(xlsx_func_dist_handler): remove density scaling argument,
	change all callers
	(xlsx_conventions_new): disconnect xlsx_func_betadist_handler

2013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_betadist_handler): new
	(xlsx_func_dist_handler): add density scaling argument, change
	all callers
	(xlsx_conventions_new): connect xlsx_func_betadist_handler

2013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_lognormdist_handler): new
	(xlsx_func_negbinomdist_handler): new
	(xlsx_conventions_new): connect the above two

2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_binominv_handler): use GnmExprList
	rather than GSList
	(xlsx_func_dist_handler): new
	(xlsx_func_chisqdist_handler): new
	(xlsx_func_fdist_handler): new
	(xlsx_conventions_new): connect the last two

2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_erf_output_handler): new
	(xlsx_conventions_new): connect the above and add erf.precise
	translation

2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_conventions_new): add MODE.SNGL
	translation

2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_betainv_output_handler): new
	(xlsx_func_gammainv_output_handler): new
	(xlsx_func_lognorminv_output_handler): new
	(xlsx_func_tinv_output_handler): new
	(xlsx_conventions_new): connect the above

2013-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_write_r_q_func): add argument and change
	all callers to use ....RT function if available
	(xlsx_func_r_q_output_handler): add argument and change all
	callers

2013-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_write_r_q_func): add argument and change
	all callers
	(xlsx_func_r_q_output_handler): add argument and change all
	callers
	(xlsx_func_binominv_output_handler): use xlsx_func_r_q_output_handler

2013-06-25  Morten Welinder <terra@gnome.org>

	* Release 1.12.3

2013-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_r_q_output_handler): use variable
	rather than hard code (wrong) constant

2013-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_write_r_q_func): new
	(xlsx_func_r_q_output_handler): new
	(xlsx_func_norminv_output_handler): new
	(xlsx_func_chisqinv_output_handler): use
	xlsx_func_r_q_output_handler
	(xlsx_func_finv_output_handler): ditto
	(xlsx_conventions_new): connect
	xlsx_func_norminv_output_handler

2013-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_binominv_output_handler):
	simplify the expression if some of the flags are constant

2013-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_binominv_output_handler):
	translate the expression even for more than 3 arguments

2013-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_floor_output_handler): new
	(xlsx_conventions_new): connect new handler

2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-formula-read.c (ms-formula-read.c): add more
	synonyms
	* xlsx-utils.c (xlsx_conventions_new): add more
	synonyms

2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-formula-read.c (ms-formula-read.c): add
	"f.inv" --> "r.qf"
	* xlsx-utils.c (xlsx_func_finv_output_handler): new
	(xlsx_conventions_new): connect new handler and add
	"f.inv" --> "r.qf" translation

2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-formula-read.c (ms-formula-read.c): add
	"chisq.inv" --> "r.qchisq"
	* xlsx-utils.c (xlsx_func_chisqinv_output_handler): new
	(xlsx_conventions_new): connect new handler and add
	"chisq.inv" --> "r.qchisq" translation

2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.h: remove duplicates
	(xlsx_conventions_new): add argument
	* xlsx-read.c (xlsx_file_open): add argument to
	xlsx_conventions_new
	* xlsx-write.c (xlsx_write_workbook): ditto
	* xlsx-utils.c (xlsx_func_map_in): recognize our own functions
	(xlsx_func_map_out): new
	(xlsx_func_binominv_output_handler): new
	(xlsx_conventions_new): add argument and initialize
	output hashes and function translator

2013-06-21  Morten Welinder  <terra@gnome.org>

	* ms-formula-read.c (make_function): Eliminate typo.  Fixes
	#702789.

2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (XLSXExprConventions): add field
	(xlsx_func_map_in): chcek and use handler
	(xlsx_func_binominv_handler): new
	(xlsx_conventions_new): initialize xlfn_handler_map
	(xlsx_conventions_free): free the hash here

2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (XLSXExprConventions): add field
	(xlsx_func_map_in): do not initialize xlfn_map here
	(xlsx_conventions_new): but here
	(xlsx_conventions_free): free the hash here.

2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_map_in): new
	(xlsx_conventions_new): connect the above

2013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-formula-read.c (xl2010_synonyms): add more functions

2013-06-20  Morten Welinder  <terra@gnome.org>

	* ms-formula-read.c (xl2010_synonyms): Map new function names to
	the ones we used.

2013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_pattern): set a default pattern

2013-06-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-read.c (excel_read_CF_border): change GnmStyleCond
	argument to GnmStyle
	(excel_read_CF): pass the overlay not the empty condition to
	excel_read_CF_border

2013-06-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_workbook_dtd): avoid duplication

2013-06-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_validation_expr): check for null validation;

2013-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read-drawing.c: connect "ext" handler
	* xlsx-read.c: declare xlsx_ext_begin early

2013-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_read_external_book): also try an alternative url
	(xlsx_read_external_sheetname): check whether we have a book before
	adding sheets to it.

2013-06-16  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_blip_start): Handle errors in getting
	blip.  Fixes #702379.

2013-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_read_chart): there may not be any plots in a chart.

2013-06-13  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_COLINFO): Fix crash.  [#702182]

2013-06-13  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (end): don't crash when exchanging missing axes. [#702126]

2013-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_print_info): fix typo
	* xlsx-read.c (xlsx_sheet_page_setup): read more attributes
	(xlsx_CT_PageSetup): read more attributes

2013-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_print_info): always write fitTo*
	(xlsx_write_sheet): write pageSetUpPr

2013-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_set_paper_from_code): update paper list

2013-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_find_paper_code): use the complete list
	(xlsx_write_print_info): write all applicable attributes

2013-06-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_parse_distance): new
	(attr_distance): new
	(xlsx_paper_size): new
	(xlsx_set_paper_from_code): new
	(xlsx_CT_PageSetup): handle paper size

2013-06-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_print_info): write paper size
	(xlsx_add_pt): new
	(xlsx_find_paper_code): new

2013-06-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_CT_PageSetup): new
	* xlsx-write.c (xlsx_write_print_info): write orientation

2013-06-05  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_HLINKs): Don't remove hlinks here.
	(excel_sheet_new): Collect hlinks regardless of biff version.
	Fixes #701604.

2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_ext_begin): new
	(xlsx_sheet_dtd): connect the above
	(xlsx_workbook_dtd): connect the above
	(xlsx_styles_dtd): connect the above

2013-04-29  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_cell_end): Don't create empty cells.

2013-04-26  Morten Welinder <terra@gnome.org>

	* Release 1.12.2

2013-04-22  Morten Welinder  <terra@gnome.org>

	* boot.c (excel_enc_file_open): Plug leak.

	* ms-excel-read.c (excel_read_FONT): Ensure ->script, ->underline,
	and ->codepage are set.
	(gnm_xl_importer_new): Set more pivot fields.

2013-04-20  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_name_str): Make sure we don't end up
	requesting (size_t)-1 characters worth of data.  Fixes #698424,
	initial item.
	(ms_wb_parse_expr): NULL the dummy container vtable.

2013-04-15  Morten Welinder  <terra@gnome.org>

	* ms-formula-write.c (write_arrays): Handle empty values properly.

	* ms-formula-read.c (excel_parse_formula1): Handle empty values in
	array constants.  Fix handling of booleans and errors in array
	constants.
	(excel_parse_name): Add argument for array data length.  All
	callers changed.  Fixes #654211.

	* ms-excel-write.c (excel_write_PAGE_BREAK): Make implied cast of
	columnm/row number to guint16 explicit.  See #693979.

2013-04-14  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_NAME): Store the name's length in
	characters, not bytes.  This matches the read side and fixes
	#608780.

2013-04-10  Morten Welinder  <terra@gnome.org>

	* ms-formula-write.c (do_excel_write_prep_expr): Fix unintentional
	duplication of externnames.

	* ms-excel-write.h (struct _XLSExporter): Change externnames
	member to a GPtrArray of char*.

	* formula-types.h (ExcelFuncDesc): Add explicit index.

	* ms-formula-read.c (make_function): Fix importing of GAMMA (and
	others) from LibreOffice's xls files.

2013-04-09  Morten Welinder  <terra@gnome.org>

	* ms-formula-read.c (make_function): Fix importing of IFERROR and
	perhaps other newer functions.

2013-03-09  Morten Welinder <terra@gnome.org>

	* Release 1.12.1

2013-02-24  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (get_style), (ms_excel_chart_read): add explicit casts to
	fix some warnings.
	* xlsx-read-drawing.c (xlsx_style_line_start): ditto.

2013-02-22  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (gather_styles): Use sheet_cells, not
	sheet_cell_foreach, so the output won't depend on hash order.

2013-02-14  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (get_style): reversed previous change.
	* xlsx-read-drawing.c (xlsx_style_line_start): ditto.

2013-02-10  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (get_style): use go_style_new() instead of gog_style_new().
	* xlsx-read-drawing.c (xlsx_style_line_start): ditto.

2013-02-10  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_drawing_preset_geom): fix uninitialized an
	variable issue. [#693492]

2013-02-05  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (ms_excel_chart_read): don't use deprecated gog_style_new().

2013-01-03  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.h (XL_EXTERNSHEET_MAGIC_SELFREF)
	(XL_EXTERNSHEET_MAGIC_DELETED): Intorduce symbolic names for magic
	constants.  All users changed.

2013-01-01  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_font_overlay_pango): Don't use
	deprecated goffice stuff.

2012-12-24  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_one_plot): Silence warning.

2012-12-18  Morten Welinder <terra@gnome.org>

	* Release 1.12.0

2012-12-18  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_chart): Avoid creating empty
	charts files.  Fixes #690203.

2012-11-29  Morten Welinder <terra@gnome.org>

	* Release 1.11.91

2012-11-16  Morten Welinder <terra@gnome.org>

	* Release 1.11.90

2012-11-06  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_cond_fmt_formula_end): Plug leak.

2012-10-17  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (count_default_rows): Delete.
	(xlsx_write_cells): Simplify and speed up using
	sheet_style_get_nondefault_rows.

2012-10-06  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_cells): Get all cells in the order we
	need them instead of doing a million lookups.  Don't write styles
	that match the column default -- especially not for cells with
	style only.
	(xlsx_write_cols): Write column default styles.

2012-09-06  Morten Welinder <terra@gnome.org>

	* Release 1.11.6

2012-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read-pivot.c (xlsx_CT_pivotCacheDefinition): also look for
	refreshedDateIso

2012-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* plugin.xml.in: refer to ISO/IEC 29500:2008 and emphasize the
	Standards compliance

2012-08-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_webpub_begin): new
	(xlsx_workbook_dtd): new

2012-08-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_border_begin_v2): new
	(xlsx_file_open): use version info to set the saver

2012-08-03  Jean Brefort  <jean.brefort@normalesup.org>

	* boot.c (excel_read_metadata), (excel_save): replace deprecated functions
	calls.

2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-read.c (excel_read_AUTOFILTER): adjust call to
	gnm_filter_condition_new_bucket
	* xlsx-read.c (xlsx_CT_Top10): adjust call to
	gnm_filter_condition_new_bucket

2012-08-01  Jean Brefort  <jean.brefort@normalesup.org>

	* excel-xml-read.c (parse_color): Rename style_color_new_i8.
	* ms-excel-read.c (excel_palette_get), (excel_read_WINDOW2): ditto.

2012-07-18  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_LABEL): Fix crash [#679992].
	(excel_read_XF_OLD): Fix length check.
	(excel_read_FORMAT): Fix length check for pre-v7 records.
	(excel_read_FONT): Guess codepage for <=v4 records.

2012-07-15  Morten Welinder <terra@gnome.org>

	* Release 1.11.5

2012-06-25  Morten Welinder <terra@gnome.org>

	* Release 1.11.4

2012-04-21  Morten Welinder <terra@gnome.org>

	* Release 1.11.3

2012-03-27  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_selections): Evidently we should
	not restrict the cursor position to the pane.  Fixes #671513 [2].

	* ms-excel-read.c (excel_read_SELECTION): Read in sane order.

	* ms-excel-write.c (excel_write_SELECTION): Write in reverse
	order.

2012-03-12  Morten Welinder  <terra@gnome.org>

	* ms-formula-write.c (write_node): Handle sets.

	* ms-excel-write.c (excel_write_chart_v8): Regularlize code and
	output object name too.

	* ms-chart.c (chart_write_LEGEND): Include the style when writing
	text.

2012-03-11  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_SETUP): Export paper size.

	* ms-excel-util.c (xls_paper_name): Extract from ms-excel-read.c
	(xls_paper_size): New pseudo-inverse of above.

	* ms-excel-write.c (excel_write_obj_v8): Handle graphs here too.
	(excel_sheet_new): Put graphs into the regular object queue too.

2012-03-10  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_DEFAULT_ROW_HEIGHT)
	(excel_write_ROWINFO): Add 1e-6 to toughen against rounding
	errors.

	* ms-excel-read.c (excel_read_COLINFO): Drop work-around for buggy
	pre-Gnumeric 1.7.5 export.  This fixes hard-size-set detection for
	11_1040.xls

	* ms-excel-write.c (excel_write_objs_v8): Unify writing of objects
	to help fix stacking issues.
	(excel_sheet_new): Eliminate special lists for lines and
	textboxes.
	(cb_write_condition): Make export of conditional italic match
	import.

2012-03-09  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_sheet): Use new
	sheet_style_most_common.

	* ms-excel-write.c (excel_sheet_extent): Use new
	sheet_style_get_nondefault_extent.
	(gather_styles): Gather styles for all columns.
	(excel_write_colinfos): Ensure a column style for all columns.
	(excel_sheet_write_block): Drop only styles that differ from the
	column default.  Visibility is irrelevant.
	(excel_sheet_new): Use new sheet_style_most_common.

2012-03-08  Morten Welinder  <terra@gnome.org>

	* ms-formula-write.c (excel_write_formula): Base length
	calculation on position, not length.  That matters if we have
	seeked.

	* ms-excel-write.c (excel_write_image_v8): Reimplement based on
	excel_write_textbox_or_widget_v8.
	(excel_write_textbox_or_widget_v8): Don't write text style
	properties unless we have a text.
	(excel_write_vector_blip, excel_write_raster_blip): Constify.

	* ms-excel-read.c (excel_fill_bmp_header): Fix incorrect use of
	sizeof.

2012-03-07  Morten Welinder  <terra@gnome.org>

	* ms-obj.c (ms_obj_read_pre_biff8_obj): Use symbolic object type
	names, not magic constants.

	* ms-excel-read.c (ms_sheet_parse_expr_internal): Fix crash when
	debugging was turned on.

	* ms-excel-write.c (cb_write_condition): Actually save the font
	flags.  Part of #671531.
	(excel_write_ClientTextbox): Fix confusion between byte offsets
	and character offsets.
	(excel_write_RSTRING): Ditto.  Part of #671531.
	(cb_write_condition): Fix pattern export.  Part of #671531.

2012-03-06  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (cb_write_condition): Handle lack of style
	conditions.
	(excel_write_prep_conditions): Ditto.
	(put_colors): Ditto.  Fixes crash of #671267.
	(write_sheet_head): Export page breaks even if we have one of
	horizontal/vertical.  Part of #671531.

2012-03-02  Morten Welinder <terra@gnome.org>

	* Release 1.11.2

2012-01-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (attr_bool): accept "true"
	(xlsx_run_style): If val is missing it defaults to TRUE
	(xlsx_run_color): fix the range of values for the pango color
	attribute
	(xlsx_comment_text): rename to xlsx_r_text
	(cb_trunc_attributes): new
	(xlsx_comment_rich_text): rename to xlsx_rich_text and make sure
	the attributes do not spill into the next run
	(xlsx_sstitem_start): new
	(xlsx_sstitem_end): use state->r_text
	(xlsx_shared_strings_dtd): connect rich text items

2012-01-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_cell_inline_text_end): new
	(xlsx_sheet_dtd): connect the above

2011-12-27  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_chart_text_start),
	(xlsx_draw_text_run_props): always set a font size.

2011-11-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read-docprops.c (xlsx_read_core_keys): use G_VALUE_INIT
	* xlsx-read.c: add dead-kittens.h

2011-11-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* excel-xml-read.c (xl_xml_selection): adjust call to
	sv_selection_add_full
	* ms-excel-read.c (excel_read_SELECTION): adjust calls to
	sv_selection_add_full and sv_selection_add_pos

2011-11-27  Morten Welinder <terra@gnome.org>

	* Release 1.11.1

2011-11-24  Morten Welinder <terra@gnome.org>

	* Release 1.11.0

2011-11-21  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (start_update_progress): Handle NULL xin.
	(xlsx_file_open): Use right input stream for progress update.
	Fixes an FMR.

2011-11-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-read.c (excel_read_SETUP): rename
	PRINT_ERROR and PRINT_COMMENTS constants
	* ms-excel-write.c (excel_write_SETUP): ditto

2011-10-29  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_blip_start): don't set an invalid
	image type.

2011-10-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-read.c (ms_wb_get_font_markup): use
	subscript/superscript attributes
	* ms-excel-write.c (excel_font_overlay_pango): export
	subscript/superscript attributes (and fix PANGO_ATTR_RISE
	handling)

2011-10-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_sheet): don't miss cell content that
	yields empty cells

2011-10-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-read.c (excel_choose_border): new
	(excel_set_xf): check for border consistency

2011-09-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-read.c (gnm_xl_get_codepage): use guint

2011-08-29  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_ser_labels_show_val),
	(xlsx_ser_labels_show_cat), (xlsx_ser_labels_start),
	(xlsx_data_label_show_val), (xlsx_data_label_show_cat),
	(xlsx_data_label_start): set a default separator.

2011-08-28  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (end), (xl_chart_import_error_bar),
	(ms_excel_chart_read), (store_dim), (chart_write_series): moved
	two helpers to goffice.
	* xlsx-read-drawing.c (xlsx_tx_pr), (xlsx_draw_text_run_props),
	(xlsx_ser_labels_show_val), (xlsx_ser_labels_show_cat),
	(xlsx_ser_labels_pos), (xlsx_ser_labels_start),
	(xlsx_ser_labels_end), (xlsx_data_label_pos),
	(xlsx_data_label_index), (xlsx_data_label_show_val),
	(xlsx_data_label_show_cat), (xlsx_data_label_start),
	(xlsx_chart_ser_f), (xlsx_chart_solid_fill),
	(xlsx_draw_color_themed): fix various data labels import issues.

2011-08-22  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_ser_data_show_val),
	(xlsx_ser_data_show_cat), (xlsx_ser_data_pos),
	(xlsx_ser_data_start), (xlsx_chart_ser_f): import data labels,
	(xlsx_chart_solid_fill): fix fill color.

2011-08-22  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_chart_ser_f): fix import of series names.

2011-08-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-write.c (cb_cell_pre_pass): avoid synthesizing the same style several
	times

2011-08-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-write.c (cb_cell_pre_pass): synthesize wrap-text style if necessary
	(build_xf_data): we need to write wrap-text in variant 4

2011-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read-docprops.c (xlsx_read_docprops_*): handle progress reports
	* xlsx-read.c (maybe_update_progress): new
	(start_update_progress): new
	(end_update_progress): new
	(xlsx_CT_Row): handle progress reports
	(xlsx_CT_RowsCols_end): handle progress reports
	(xlsx_sheet_begin): handle progress reports
	(xlsx_comment_end): ditto
	(xlsx_wb_end): ditto
	(xlsx_file_open): ditto

2011-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read-drawing.c (xlsx_scatter_style): also read incorrect "markers"
	* xlsx-write-drawing.c (xlsx_write_chart): write "marker" rather than "markers"

2011-08-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* plugins/excel/boot.c (excel_enc_file_open): new
	(excel_file_open): use excel_enc_file_open
	* plugins/excel/excel.h (excel_read_workbook): add argument
	* plugins/excel/ms-excel-read.c (excel_read_FONT): for charset 0 consider
	encoding override
	(gnm_xl_get_codepage): new
	(gnm_xl_importer_new): add argument, change caller and convert codepage override
	(excel_read_workbook): add argument and change all callers
	* plugins/excel/ms-excel-read.h (_GnmXLImporter): add field
	* plugins/excel/plugin.xml.in: add new encoding dependent file opener

2011-08-12  Valek Filippov <frob@gnome.org>

	* plugins/excel/ms-excel-read.c (excel_read_FONT): convert charset to codepage
	and store in ExcelFont
	(excel_get_chars): set str_iconv based on codepage and change all callers
	(plugins/excel/ms-excel-read.h): change charset to codepage in ExcelFont

2011-08-11  Valek Filippov <frob@gnome.org>

	* plugins/excel/ms-excel-read.c (excel_read_FONT): store charset in ExcelFont
	(excel_read_LABEL): pass charset to excel_get_text_fixme
	(excel_get_text_fixme): pass charset to excel_get_text
	(excel_get_chars): set str_iconv based on charset and change all callers
	(plugins/excel/ms-excel-read.h): add charset to ExcelFont

2011-08-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* plugins/excel/plugin.xml.in: use TM symbol

2011-07-31  Morten Welinder <terra@gnome.org>

	* Release 1.10.17

2011-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* excel-xml-read.c: Use G_GNUC_UNUSED
	(excel_xml_dtd): add PageMargins
	(xl_xml_data_end): parse numbers carefully
	(excel_xml_file_open): switch to C locale

2011-07-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_wb_name_end): check for "_xlnm." prefix
	* xlsx-write.c (xlsx_write_named_expression): also write permanent
	expressions

2011-07-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_named_expression): new
	(xlsx_write_definedNames): new
	(xlsx_write_workbook): call xlsx_write_definedNames

2011-07-03  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_chart_text_start), (xlsx_chart_text),
	(xlsx_read_chart): fixed loading xlsx files with empty chart titles.

2011-07-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write-docprops.c (xlsx_map_prop_name_to_output_fun):
	use GSF_META_NAME_MM_CLIP_COUNT
	* xlsx-read-docprops.c: use GSF_META_NAME_MM_CLIP_COUNT

2011-06-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write-docprops.c (xlsx_read_core_keys): implement

2011-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write-docprops.c (xlsx_map_to_keys): new
	(xlsx_map_prop_name_to_output_fun): connect xlsx_map_to_keys
	(xlsx_meta_write_props): depend on xlsx_map_prop_name_to_output_fun
	even for keywords

2011-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.h (XL_NS_PROP_CUSTOM): new
	* xlsx-read.c (XLSXReadState): new field meta_prop_name
	(XL_NS_PROP_CUSTOM): new namespace
	* xlsx-read-docprops.c (xlsx_read_property_begin): new
	(xlsx_read_property_end): new
	(xlsx_read_custom_property_type): new
	(xlsx_read_custom_property): new
	(xlsx_read_property_date): new
	(xlsx_docprops_custom_dtd): new
	(xlsx_docprops_extended_dtd): add elements
	(xlsx_read_docprops_custom): new
	(xlsx_read_docprops): call xlsx_read_docprops_custom

2011-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c: new includes (for xlsx-write-docprops.c)
	* xlsx-write-docprops.c (xlsx_map_time_to_int): new
	(xlsx_map_to_int): new
	(xlsx_map_to_bool): new
	(xlsx_map_to_date_core): new
	(xlsx_map_prop_name_to_output_fun): new
	(xlsx_meta_write_props_extended): use xlsx_map_prop_name_to_output_fun
	(xlsx_map_prop_type): replaced by xlsx_map_prop_name_to_output_fun
	(xlsx_meta_write_props): use xlsx_map_prop_name_to_output_fun
	(xlsx_map_to_pid): new
	(xlsx_meta_write_props_custom): new
	(xlsx_write_docprops_custom): call xlsx_meta_write_props_custom

2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write-docprops.c (xlsx_write_docprops_custom):
	enable
	* xlsx-write.c (ns_docprops_custom): new
	(xlsx_write_fills): Kspread needs the formats implied by
	Excel

2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write-docprops.c (xlsx_write_docprops_app): The
	AppVersion format should really be d.dddd.

2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read-docprops.c (xlsx_read_core_prop_type): renamed
	to xlsx_read_prop_type
	(xlsx_read_core_prop): renamed to xlsx_read_prop
	(xlsx_read_core_prop_dt): renamed to xlsx_read_prop_dt
	(xlsx_read_prop_int): new
	(xlsx_read_prop_boolean): new
	(xlsx_docprops_extended_dtd): new
	(xlsx_read_docprops_extended): implement
	* xlsx-read.c (xlsx_ns): add name spaces
	* xlsx-utils.h (XL_NS_PROP): new
	(XL_NS_PROP_VT): new
	* xlsx-write-docprops.c (xlsx_write_docprops_app): The
	AppVersion format is prescribed to d.dddd.

2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (ns_docprops_extended_vt): new
	* xlsx-write-docprops.c (xlsx_map_prop_name_extended): new
	(xlsx_meta_write_props_extended): new
	(xlsx_write_docprops_app): write more properties
	(xlsx_write_docprops_core): no need to remove the generator
	meta data, we only write selected props anyways.

2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_predefined_fills): new
	(xlsx_write_fills): use the above
	(xlsx_find_predefined_fill): new
	(xlsx_find_fill): use xlsx_find_predefined_fill

2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read-docprops.c (new)
	* Makefile.am: add xlsx-read-docprops.c
	* xlsx-utils.h: add XL_NS_PROP_*
	* xlsx-write.c (xlsx_write_fills): start with some fills
	expected by Excel
	(xlsx_write_style): apparently Excel writes apply*
	attributes always. So do we now.
	* xlsx-read.c: add some includes, including
	xlsx-read-docprops.c
	(xlsx_ns): som emore namespaces
	(xlsx_file_open): call xlsx_read_docprops from
	xlsx-read-docprops.c

2011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_style): usually write an xfId,
	write apply* attributes only if they are false (nobody
	seems to write true ones)
	(xlsx_write_cellStyleXfs): write a named style record to refer
	to
	(xlsx_write_cellXfs): adust call to xlsx_write_style
	(xlsx_get_style_id): new, extracted from xlsx_write_cells
	(xlsx_write_cells): use xlsx_get_style_id
	(xlsx_write_workbook): make sure we write the default style
	first

2011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c: add include
	* xlsx-write-docprops.c (xlsx_map_prop_type): add more items
	(xlsx_meta_write_props): also write keywords

2011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_shared_strings): xml:space is
	not allowed
	(xlsx_write_styles): ditto
	(xlsx_write_workbook): ditto
	* xlsx-write-docprops.c (xlsx_write_docprops_app): ditto
	(xlsx_write_docprops_core): ditto

2011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_fonts): check the font names
	just in case
	(xlsx_write_rich_text): we definitely need to check the text

2011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_num_formats): the format strings
	need to be properly encoded for xlm

2011-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_borders): fix element order

2011-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (ns_docprops_core_cp): new
	(ns_docprops_core_dc): new
	(ns_docprops_core_dcmitype): new
	(ns_docprops_core_dcterms): new
	(ns_docprops_core_xsi): new
	* xlsx-write-docprops.c (xlsx_map_prop_type): new
	(xlsx_map_prop_name): new
	(xlsx_meta_write_props): new
	(xlsx_write_docprops_core): imlement

2011-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* Makefile.am: add xlsx-write-docprops.c
	* xlsx-write.c (ns_docprops_extended): new
	(xlsx_write_workbook): call xlsx_write_docprops
	* xlsx-write-docprops.c: new

2011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read-drawing.c (xlsx_drawing_dtd): add srcRect

2011-06-16  Morten Welinder <terra@gnome.org>

	* Release 1.10.16

2011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_border): use the appripriate
	element name based on ECMA-376 edition
	(xlsx_write_workbook): in edition 2 "codePage" was replaced by
	"characterSet"
	(xlsx2_file_save): new
	* plugin.xml.in: add file saver for ECMA-376 2nd edition
	* xlsx-write-pivot.c (xlsx_write_pivot_cache_definition):
	2nd edition replaced "refreshedDate" attribute with
	"refreshedDateIso"

2011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write__rich_text): handle NULL attribute
	list

2011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_border): write diagonal border element
	(xlsx_write_borders): support diagonal elements
	* xlsx-read.c (xlsx_col_border_begin): new
	(xlsx_border_end): fix reference counting
	(xlsx_border_diagonal_end): new

2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_border): use edition 1 elements
	(xlsx_write_cells): also write styles for empty cells

2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_find_border): new
	(xlsx_write_border): new
	(xlsx_write_borders): implement
	(xlsx_write_style): handle borders
	(xlsx_write_cellXfs): add argument, change all callers
	(xlsx_write_styles): call xlsx_write_borders
	* xlsx-read.c: for borders "left" and "right" are really called
	"start" and "end"

2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_find_font): new
	(xlsx_write_fonts): implement
	(xlsx_find_fill): check for straight equality
	(xlsx_write_style): handle font-info
	(xlsx_write_cellXfs): add argument, change all callers
	(xlsx_write_styles): call xlsx_write_fonts

2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_load_buildin_num_formats): new
	(xlsx_write_num_formats): new
	(xlsx_write_style): connect to the number formats
	(xlsx_write_cellXfs): add argument, change all callers
	(xlsx_write_styles): call xlsx_write_num_formats

2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_color_element): new
	(xlsx_find_fill): new
	(xlsx_write_fills): implement
	(xlsx_write_style): use written fills
	(xlsx_write_cellXfs): ditto
	(xlsx_write_styles): connect xlsx_write_fills with xlsx_write_cellXfs
	(xlsx_write_cells): GPOINTER_TO_INT(0) yields NULL, so shift when
	storing 0-based indices

2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_style_want_alignment): new
	(xlsx_write_style_write_alignment): new
	(xlsx_write_style): new
	(xlsx_write_cellXfs): new
	(xlsx_write_styles): connect xlsx_write_cellXfs
	(xlsx_write_cells): llink to styles
	(xlsx_write_workbook): initialize and finalize style lists

2011-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.h (xlsx_get_gradient_direction): new
	* xlsx-utils.c (xlsx_get_gradient_direction): new
	* xlsx-read-drawing.c (xlsx_chart_grad_linear): use
	xlsx_get_gradient_direction

2011-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_cell_begin): don't overwrite an existing row style
	(xlsx_CT_Row): the row style should only be used if customFormat == 1
	(xlsx_CT_GradientFill): consider this a solid colour fill until we
	really import the gradients

2011-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (elem_color): add allow_alpha argument, change all
	callers and set alpha to 0xFF if it is not allowed
	(xlsx_pattern_fg_bg): if we are reading a colour for a solid fill, ignore
	alpha. LibreOffice 3.3.2 sets the alpha to 0 and Excel seems to ignore it
	(xlsx_font_color): ditto

2011-05-22  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_autofilter_names): Use proper
	ctor/dtor methods for GnmNamedExpr.
	(excel_write_autofilter_names): Use new
	expr_name_set_is_placeholder.

2011-05-21  Morten Welinder <terra@gnome.org>

	* Release 1.10.15

2011-05-20  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_rich_text): Clamp "start" too.

2011-05-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-chart.c (chart_write_LEGEND): use
	GNM_*_KILL_SWITCH_WARNING

2011-05-04  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_chart_pop_obj): don't set a style to a
	NULL object,
	(xlsx_axis_mark): pass a true boolean to make gobject happy,
	(xlsx_axis_end): don't exchange radar plots axes,
	(xlsx_chart_legend_pos): add new enum values not in spec, but occuring,
	(xlsx_chart_solid_fill): set line color to line, not fill.

2011-05-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-chart.c (chart_write_LEGEND): disable -Wswitch for this function

2011-05-03  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_style_line_start): don't crash on NULL
	style,
	(cb_axis_set_position): fix axis crossing position.
	* xlsx-write-drawing.c (xlsx_write_chart): partially fix circular
	axis position.

2011-04-08  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c: import some legacy drwawings.
	* xlsx-read.c: ditto.

2011-04-04  Morten Welinder  <terra@gnome.org>

	* ms-obj.c (ms_obj_read_pre_biff8_obj): Improve record length
	check.

2011-03-24  Morten Welinder <terra@gnome.org>

	* Release 1.10.14

2011-03-23  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_axis_crosses): Avoid using
	uninitialized values if an attribute is missing.

2011-03-22  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_chart_push_obj), (xlsx_chart_pop_obj),
	(xlsx_chart_text_start), (xlsx_chart_text), (xlsx_body_pr),
	(xlsx_axis_mark), (xslx_chart_tick_label_pos),
	(xlsx_chart_marker_end), (xlsx_chart_start_dummy),
	(xlsx_read_chart): import axis ticks format.
	* xlsx-read.c: add a GOStyle stack.

2011-03-21  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_draw_text_run_props),
	(xlsx_sheet_drawing), (xlsx_sheet_legacy_drawing): add a dtd for lecacy
	drawing.
	* xlsx-read.c: ditto.
	* xlsx-utils.h: ditto.

2011-03-20  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_chart_push_obj), (xlsx_chart_pop_obj),
	(xlsx_chart_text_start), (xlsx_chart_text), (xlsx_chart_p_start),
	(xlsx_chart_text_content), (xlsx_draw_text_run_props),
	(xlsx_rel_size_anchor_start), (xlsx_rel_size_anchor),
	(xlsx_user_shape_pos), (xlsx_user_shape), (xlsx_user_shape_end),
	(xlsx_axis_crosses), (xlsx_chart_style_end),
	(xlsx_draw_color_themed), (xlsx_chart_marker_end),
	(xlsx_chart_layout_manual), (cb_axis_set_position),
	(xlsx_read_chart): import labels and positions.

2011-03-19  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_chart_user_shapes): add missing dtd entries,
	(xlsx_chart_legend), (xlsx_chart_legend_pos), (xlsx_plot_area),
	(xlsx_chart_layout_manual), (xlsx_chart_layout_target),
	(xlsx_chart_layout_dim), (xlsx_chart_layout_mode): work on positions.
	* xlsx-read.c: ditto.

2011-03-18  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_chart_user_shapes),
	(xlsx_chart_text_start), (xlsx_chart_text): add chartDrawing namespace.
	* xlsx-read.c: ditto.
	* xlsx-utils.h: ditto.

2011-03-18  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_chart_text_start), (xlsx_chart_text): import
	text in sheet filled objects.
	* xlsx-write-drawing.c (xlsx_write_series_dim): don't export strings as
	values.

2011-03-15  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_draw_color_end): fixed some auto style issues.
	* xlsx-write-drawing.c (xlsx_write_plot_1_5_type),
	(xlsx_write_series_dim), (xlsx_write_go_style), (xlsx_write_chart): ditto.

2011-03-14  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-write-drawing.c (xlsx_write_chart): export radial plot axes,
	anf fix overlap in barcol plots.

2011-03-13  Morten Welinder  <terra@gnome.org>

	* xlsx-utils.c (xlsx_lookup_external_wb): It looks like [0] is
	used to refer to the "self" workbook.

2011-03-12  Jean Brefort  <jean.brefort@normalesup.org>

	* Makefile.am: add new xlsx drawing/chart files.
	* xlsx-read-drawing.c: new file, better import of styles.
	* xlsx-read.c: moved drawing/chart code to xlsx-read-drawing.c.
	* xlsx-write-drawing.c: new file with enhanced chart export.
	* xlsx-write.c: moved drawing/chart code to xlsx-write-drawing.c.

2011-03-05  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read.c (xlsx_chart_ser_f), (xlsx_chart_text_start),
	(xlsx_chart_text): accept formulas in labels.
	* xlsx-write.c (xlsx_write_series_dim), (xlsx_write_rgbarea),
	(xlsx_write_go_style), (xlsx_write_chart): export chart background.

2011-03-05  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read.c (xlsx_chart_xy), (xlsx_scatter_style): import the scatter
	plot default series style.

2011-03-05  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read.c (xlsx_plot_axis_id), (xlsx_axis_crosses_at),
	(cb_axis_set_position): import axis crossing position. [#642941]

2011-03-04  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_sheet_begin): Use attr_enum.
	(xlsx_wb_name_begin, xlsx_wb_name_end): Collect names and define
	as stubs.
	(handle_delayed_names): Define all collected names properly.

2011-03-04  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read.c (xlsx_axis_end), (xlsx_chart_p_start),
	(xlsx_chart_text_content): import multiple runs chart titles. [#643814]

2011-03-03  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_chart_text): Avoid criticals in the absense of
	chart text.
	(xlsx_sheet_begin): Import sheet state.  Fixes #643815.

2011-02-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_axis_crosses_at): new
	(xlsx_chart_dtd): connect xlsx_axis_crosses_at

2011-02-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_comments): skip NULL author
	(see glib bug #642944)

2011-02-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_chart_dtd): add c:crossesAt
	(xlsx_cell_expr_begin): don't ignore shared expressions with
	duplicate id

2011-02-02  Morten Welinder <terra@gnome.org>

	* Release 1.10.13

2011-01-06  Morten Welinder  <terra@gnome.org>

	* xls-read-pivot.c (xls_read_SXVIEW): The record contains a cache
	index, not a cache id.
	(xls_read_SXVI): Fix debug print.

2010-12-26  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (areaformat), (chart_write_LINEFORMAT): enhance color support.
	[#637658]

2010-12-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-read.c (excel_read_FONT): try to make cppcheck happy

2010-12-17  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-excel-read.c (ms_sheet_realize_obj): make object invisible outline
	persistent. [#637393]
	* ms-excel-write.c (excel_write_textbox_or_widget_v8):

2010-11-25  Morten Welinder <terra@gnome.org>

	* Release 1.10.12

2010-10-13  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_SELECTION): Work around missing
	selection.  Fixes #632050.
	(excel_parse_name): Treat global Print_Area a tad better.

2010-10-03  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-write.c (xlsx_write_rich_text): really assign the buffer before
	using it.

2010-10-01  Morten Welinder <terra@gnome.org>

	* Release 1.10.11

2010-10-01  Jean Brefort  <jean.brefort@normalesup.org>
	* xlsx-read.c (elem_color), (xlsx_run_weight), (xlsx_run_style),
	(xlsx_run_family), (xlsx_run_size), (xlsx_run_strikethrough),
	(xlsx_run_underline), (xlsx_run_color), (xlsx_comments_start),
	(xlsx_comments_end), (xlsx_comment_author_end),
	(xlsx_comment_start), (xlsx_comment_end), (xlsx_comment_text),
	(xlsx_comment_rich_text), (xlsx_wb_end), (xlsx_file_open): read cell
	comments. [#630627]
	* xlsx-write.c (xlsx_write_rich_text), (write_comment_author),
	(xlsx_write_comments), (xlsx_write_sheet), (xlsx_file_save): write cell
	comments.

2010-09-15  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (tick), (chart_write_axis): export/import tick label rotation
	angle. [#629675]

2010-09-04  Morten Welinder <terra@gnome.org>

	* Release 1.10.10

2010-08-16  Morten Welinder <terra@gnome.org>

	* Release 1.10.9

2010-07-30  Morten Welinder <terra@gnome.org>

	* Release 1.10.8

2010-07-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* excel-xml-read.c (xl_xml_font): add UNDERLINE_*_LOW
	* ms-excel-read.c (xls_uline_to_gnm_underline): new
	(excel_get_style_from_xf): use xls_uline_to_gnm_underline
	(ms_wb_get_font_markup): use gnm_translate_underline_to_pango
	(excel_read_CF): use xls_uline_to_gnm_underline
	* ms-excel-write.c (map_underline_to_xl) rename
	  to map_style_underline_to_xl and use new map_underline_to_xl,
	  change all callers
	(map_underline_to_xl): new
	(excel_font_to_string): add UNDERLINE_*_LOW
	(excel_font_overlay_pango): use gnm_translate_underline_from_pango
	(excel_font_from_go_font): fix typo
	(excel_write_FONT): use map_underline_to_xl
	* xlsx-read.c (xlsx_font_uline): add UNDERLINE_*_LOW
	(xlsx_font_valign): fix typo

2010-07-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-read.h (ExcelFont): change underline field from PangoUnderline
	  to MsBiffFontUnderline
	* ms-excel-read.c (excel_read_FONT): underline field of ExcelFont is not
	  a GnmUnderline but (now) a MsBiffFontUnderline
	(excel_get_style_from_xf): convert underline from MsBiffFontUnderline
	  to GnmUnderline

2010-07-26  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (write_arrow): Fix argument type for "id".

2010-07-13  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (chart_write_AREAFORMAT): fixed the auto flag. [see
	#624263]

2010-07-10  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (end): do not crash when a chart has more than one
	plot. [#623960]

2010-07-09  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_SETUP): Avoid right-shift bigger
	than type.

2010-06-28  Morten Welinder <terra@gnome.org>

	* Release 1.10.7

2010-06-23  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_CT_RowsCols_end): New function.
	(xlsx_CT_Col): Delay applying the style so we can merge areas.
	Fixes #622365.

2010-06-16  Morten Welinder <terra@gnome.org>

	* Release 1.10.6

2010-05-30  Morten Welinder <terra@gnome.org>

	* Release 1.10.5

2010-05-20  Morten Welinder <terra@gnome.org>

	* Release 1.10.4

2010-05-07  Morten Welinder <terra@gnome.org>

	* Release 1.10.3

2010-04-29  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_DOPER): Fix saving of integers.
	(excel_write_AUTOFILTERINFO): Fix swapped "and" and "or".

2010-04-23  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (supbook_get_sheet): Return "deleted sheet" for
	external references so we don't end up with sheet-local refs.
	(excel_read_SUPBOOK): Clean up using new docs.

2010-04-21  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (ai), (objectlink), (end), (ms_excel_chart_read): import
	chart title when it is actually the series label. [#616262]

2010-04-16  Morten Welinder <terra@gnome.org>

	* Release 1.10.2

2010-04-15  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_textbox_or_widget_v8): Take
	bp->length into account too.

2010-04-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_workbook): write 1900/1904 date base
	info

2010-04-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_CT_WorkbookPr): new
	(xlsx_workbook_dtd); hook up xlsx_CT_WorkbookPr

2010-03-31  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (chart_write_AREAFORMAT): export transparent patterns as
	no filling.

2010-03-29  Morten Welinder  <terra@gnome.org>

	* ms-formula-write.c (write_funcall): Guess argument types for
	functions that the excel format doesn't know about.
	(guess_arg_types): New function.

	* ms-excel-write.c (excel_write_externsheets_v7,
	excel_write_externsheets_v8): Fix letter case for extername
	records.

2010-03-08  Morten Welinder <terra@gnome.org>

	* Release 1.10.1

2010-02-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_cells): use value_get_as_gstring
	  rather than value_get_as_string. [#610372]

2010-02-13  Morten Welinder <terra@gnome.org>

	* Release 1.10.0

2010-01-29  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-excel-write.c (excel_write_textbox_or_widget_v8): export transparency
	for filled objects.

2010-01-29  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-excel-read.c (ms_sheet_realize_obj): really import transparent objects.

2010-01-19  Morten Welinder <terra@gnome.org>

	* Release 1.9.18

2009-12-29  Jody Goldberg <jody@gnome.org>

	* xls-read-pivot.c (xls_read_SXVI) : new stub.  Currently only notices
	  when XL wants to hide things.
	(xls_read_SXVD) : used from here.

2009-12-24  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-pivot.c (xlsx_CT_Number),
	(xlsx_CT_pivotCacheDefinition): fixed double/gnm_float issues.
	* xlsx-read.c (xlsx_axis_bound), (elem_color), (xlsx_CT_Row),
	(xlsx_CT_Col), (xlsx_CT_SheetFormatPr), (xlsx_CT_PageMargins),
	(xlsx_CT_Top10), (xlsx_CT_Pane), (xlsx_CT_FontSize): ditto.

2009-12-21  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (lineformat), (chart_write_LINEFORMAT): fix import export
	of line type in scatter plots. [#605043]

2009-12-15  Morten Welinder <terra@gnome.org>

	* Release 1.9.17

2009-12-09  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (end): always initialize matrix bounds. [#593937]

2009-11-29  Morten Welinder <terra@gnome.org>

	* Release 1.9.16

2009-11-01  Morten Welinder <terra@gnome.org>

	* Release 1.9.15

2009-10-16  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_DIMENSIONS): Store dimensions for
	clipboard use.

2009-10-15  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_line_v8): Fix handling of
	direction.
	(excel_write_textbox_or_widget_v8, excel_write_line_v8): Export
	line styles.

2009-10-14  Morten Welinder  <terra@gnome.org>

	* ms-escher.c (ms_escher_read_OPT): Don't arbitrarily add 1 to
	MS_OBJ_ATTR_OUTLINE_STYLE's value.

	* ms-excel-read.c (ms_sheet_realize_obj): Read dash style
	correctly.
	(xl_pattern_to_line_type): Fix mapping.

	* ms-excel-write.c (excel_write_line_v8): Export line start arrow
	head too.

2009-10-13  Morten Welinder  <terra@gnome.org>

	* ms-formula-write.c (excel_write_array_formula): Set
	allow_sheetless_ref to avoid t8001 failure.

	* ms-obj.c (ms_objv8_write_spinbutton, ms_objv8_write_adjustment):
	New functions.

2009-10-12  Morten Welinder  <terra@gnome.org>

	* ms-formula-write.c (excel_write_formula): Handle new
	EXCEL_CALLED_FROM_OBJ.
	(CTXT_NAME_OBJ): Rename from CTXT_NAME.

	* ms-obj.c (ms_objv8_write_macro_fmla): Use EXCEL_CALLED_FROM_OBJ.

	* ms-excel-write.c (excel_write_textbox_v8): Don't write macro
	records yet.

	* ms-obj.c (ms_objv8_write_checkbox_fmla,
	ms_objv8_write_macro_fmla): Pad length; use NAME context.
	(ms_objv8_write_checkbox_link): Take extra "active" argument.  All
	callers changed.

2009-10-11  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_textbox_v8): Call
	ms_objv8_write_radiobutton_data when appropriate.

	* ms-obj.c (ms_objv8_write_radiobutton_data): New function.

	* ms-escher.c (ms_escher_clientdata): Drop argument that turned
	out to be not useful.

2009-10-11  Morten Welinder <terra@gnome.org>

	* Release 1.9.14

2009-10-09  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_autofilter_names): Initialize
	nexpr.pos completely.

	* ms-excel-read.c (excel_read_NAME): Fix FMR in debug code.

	* ms-obj.c (ms_obj_read_biff8_obj): Read the macro reference too.

2009-10-08  Morten Welinder  <terra@gnome.org>

	* ms-escher.c (ms_escher_opt_add_bool): New function.

	* ms-excel-write.c (excel_write_line_v8): Simplify using
	ms_escher_opt_add_bool.

2009-10-07  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_textbox_v8): Export
	checkbox/radiobutton link and current value.

	* ms-obj.c (ms_objv8_write_checkbox_fmla,
	ms_objv8_write_checkbox_data): New functions.

	* ms-escher.c (ms_escher_opt_add_color): New function.

	* ms-excel-write.c (excel_write_textbox_v8): Make sure the textbox
	gets to be part of the container.  Export line and background
	colours.  Export outline width.
	(excel_write_line_v8): Export line colour and width.

	* ms-escher.c (ms_escher_opt_end): Docs were wrong.  Do not
	include own header in length.
	(ms_escher_opt_add_str_wchar): Fix type error.

2009-10-06  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (ms_sheet_realize_obj): Restore colour reading.
	(ms_sheet_map_color): Add new "pauto" argument.  All callers
	changed.

2009-10-05  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_textbox_v8): Export
	object name.
	(excel_sheet_new): Prepare for handling lines.
	(blipinf_new): Plug leak.
	(extract_txomarkup): Plug leak.
	(xf_init, cb_cell_pre_pass, cb_accum_styles,
	excel_write_ClientTextbox): Plug leak.
	(excel_write_line_v8): Export lines and arrows.

	* ms-biff.h (_BiffPut): Change type of streamPos to gsf_off_t.

	* ms-chart.c (chart_write_axis): Don't dump uninitialized memory
	into file.
	(map_1_5d_type): Plug leak.

	* ms-biff.c (ms_biff_put_len_next): Make sure we don't mix _var_
	and _len_ calls.  Make sure we commit.

2009-10-04  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_textbox_v8): Attempt to handle
	rectangles and ovals.

	* ms-escher.c (ms_escher_get_inst, ms_escher_set_inst,
	ms_escher_spcontainer_start, ms_escher_spcontainer_end,
	ms_escher_sp, ms_escher_opt_start, ms_escher_opt_end,
	ms_escher_opt_add_simple, ms_escher_clientanchor,
	ms_escher_clientdata): New functions.

	* ms-excel-write.c (excel_write_textbox_v8): Use new Escher output
	utilities.

2009-10-02  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_sheet_new): Display name of sheet
	objects we cannot export.

	* ms-excel-read.c (ms_sheet_realize_obj): Set object name if we
	have it.

	* ms-escher.c (ms_escher_read_OPT): Assume pointers are UTF-16
	strings, not UTF-8.  Fits objs.xls

	* ms-excel-write.c (excel_sheet_new): Don't complain over filter
	combos.  They are handled, but differently.

2009-10-01  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_sheet_new): Exclude GNM_SO_FILLED_TYPE
	objects with no text as we do not export them right.  [#596886]

2009-09-20  Morten Welinder <terra@gnome.org>

	* Release 1.9.13

2009-09-05  Morten Welinder <terra@gnome.org>

	* Release 1.9.12

2009-09-05  Jean Brefort  <jean.brefort@normalesup.org>

	* all files: renamed go-color.h macros.

2009-09-05  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (end): don't use z values as x or y when there are no
	labels or categories. [See #593937]

2009-09-04  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (axis), (xl_axis_get_elem), (valuerange): use gnm_go_data
	instead of simple go_data [#594068],
	(end): don't require x and y values for surfaces.

2009-09-01  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: renamed GOColor macros.
	* ms-excel-read.c: ditto.
	* ms-excel-write.c: ditto.
	* xlsx-read.c: ditto.
	* xlsx-write.c: ditto.

2009-08-31  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (lineformat), (ms_excel_chart_read),
	(style_is_completely_auto), (chart_write_style),
	(chart_write_DROPBAR): replace GOStyle::outline.
	* ms-excel-read.c (ms_sheet_realize_obj): ditto.
	* ms-excel-write.c (extract_gog_object_style): ditto.
	* xlsx-read.c (xlsx_draw_line_dash): ditto.

2009-08-30  Morten Welinder <terra@gnome.org>

	* Release 1.9.11

2009-08-15  Morten Welinder <terra@gnome.org>

	* Release 1.9.10

2009-06-20  Morten Welinder <terra@gnome.org>

	* Release 1.9.9

2009-06-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_breaks): Quiet enum handling

2009-06-16  Morten Welinder  <terra@gnome.org>

	* boot.c: Quiet pivot debugging.

2009-06-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-read.c (excel_parse_name): If it looks like the print area
	  could have been one of our old "whole sheet" areas, set it to nil.

2009-06-09  Jody Goldberg <jody@gnome.org>

	* xls-read-pivot.c (xls_read_SXIVD) : ignore magic index of 0xfffe.
	  Need to figure out what it does.

2009-06-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-write.c (excel_write_PAGE_BREAK): don't save automatic
	  page breaks

2009-05-23  Morten Welinder <terra@gnome.org>

	* Release 1.9.8

2009-05-19  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_WINDOW1): Normalize bools, or else
	gobject will complain.

2009-05-18  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_WINDOW1): Use g_object_set instead
	of poking directly into a WorkbookView.

2009-05-14  Jon K Hellan  <hellan@acm.org>

	* ms-excel-util.c (init_xl_font_widths): Add DejaVu fonts with
	same metrics as Bitstream Vera.

2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_cols): and don't commit debugging code

2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_cols): fix off-by-one error [#569862]

2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_sheet): write the tags in schema ordering

2009-05-06  Morten Welinder <terra@gnome.org>

	* Release 1.9.7

2009-05-06  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_init): Use the GnmFunc's case in the
	hash.

2009-05-05  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_sheet_write_block): Add one-element
	cache.  Fixes #581378.

2009-05-02  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (get_style), (ms_excel_chart_read): use reimplemented
	gog_style_new().

2009-04-28  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c : initial work on reading external refs.   Still broken
	  for refs to sheets with spaces in their names '[1]A Space!A1' thanks
	  to massively silly quoting conventions.  This will take a parser
	  re-org to handle.

2009-04-26  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_sheet_extent): Fix off-by-one when we
	overflow the area available.

2009-04-25  Morten Welinder <terra@gnome.org>

	* Release 1.9.6

2009-04-22  Morten Welinder  <terra@gnome.org>

	* ms-container.c (ms_container_read_markup): Fix badly
	misunderstood field.  Fixes #579835.

2009-04-16  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (get_style): create a GogStyle object, not a GOStyle.

2009-04-15  Morten Welinder  <terra@gnome.org>

	* ms-obj.c (ms_read_TXO): Fix text problem.  [#578878]

2009-04-10  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: fixed after GogStyle -> GOStyle rename.
	* ms-excel-read.c: ditto.
	* ms-excel-write.c: ditto.
	* xlsx-read.c: ditto.

2009-04-11  Jody Goldberg <jody@gnome.org>

	* plugin.xml.in : get rid of bogus .sml suffix now that we have
	  probing.
	* excel-xml-read.c : accept title and description in metadata
	(xl_xml_col_start) : only assign width > 0.
	(xl_xml_num_fmt) : fix previous patch.

2009-04-02  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_sheet_new): Limit maxcols to what we
	actually have.  Fixes #577758.

2009-04-01  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_sheet): Fix access to ->sheet.
	(xlsx_write_objects): Plug leak.

2009-03-31  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c: Partial fix for #168875.
	* ms-excel-read.c: Ditto.
	* ms-excel-write.c: Ditto.

	* ms-obj.c (read_pre_biff8_read_name_and_fmla): Add sanity checks.
	(ms_obj_read_pre_biff8_obj): Add and fix sanity checks.  Fixes
	#577504.

	* ms-excel-read.c (excel_read_MERGECELLS): Fix sanity check.
	Fixes #577503.

	* ms-chart.c (ms_excel_chart_read): Leak less on errors.
	(BC_R(scatter)): Add sanity check for V8 case.  Fixes #577400.

	* ms-excel-read.c (excel_read_CF): Add sanity checks.  Fixes
	#577399.

	* ms-biff.c (ms_biff_query_next): If the read fails, make sure
	->length is zero to match the NULL ->data.

2009-03-30  Morten Welinder  <terra@gnome.org>

	* ms-chart.c (ms_excel_chart_read): Add sanity check.  Fixes
	#577351.

	* ms-excel-read.c (excel_read_IMDATA): Add sanity check.  Fixes
	#577348.

	* ms-container.c (ms_container_get_blip): Add sanity check.  Fixes
	#577260.

	* ms-excel-read.c (excel_read_MULBLANK): Add sanity checks.  Fixes
	#577259.

2009-03-29  Morten Welinder  <terra@gnome.org>

	* ms-obj.c (ms_read_TXO): Add sanity check.

	* ms-biff.c (ms_biff_query_peek_next): Read the length field too
	and make sure there's enough left to read the data.  Fixes
	#577205.

	* ms-chart.c (lineformat): Add sanity check.  Fixes #577208.

2008-12-10  Jody Goldberg <jody@gnome.org>

	* excel-xml-read.c (xl_xml_probe_start_element) : new.
	(excel_xml_file_probe) : use the new gsf_xml_probe.

	* plugin.xml.in : SpreadsheetML has a probe function now.

2009-03-22  Morten Welinder <terra@gnome.org>

	* Release 1.9.5

2009-03-20  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_LABEL_markup): Fix sanity check
	off-by-one.

	* ms-container.c (ms_container_read_markup): Fix termination
	condition.  #576112.
	(ms_container_read_markup): Fix sanity check off-by-one.

	* ms-excel-read.c (excel_read_init): Use magic formats for 0x0e,
	0x0f, and 0x16.  Keep the nameless magic for 0x10.

2009-03-16  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_LABEL_markup): Verify that offsets
	are sane.
	(excel_read_LABEL_markup): Ditto.  Fixes #575452.

2009-03-15  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_init): Reinstate, but without
	looking at go_format_builtins.

2009-03-15  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_init): Do not localize formats 14,
	15, 16, and 22.

	* ms-chart.c (ms_excel_chart_read_NUMBER,
	ms_excel_chart_read_LABEL): Add extra sanity check.  Fixes #575393.

2009-03-14  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_font_from_go_font): Don't crash if the
	font descriptor lacks a family.  Part of #575318.
	(cb_NOTE_v8): If there is no author, just use the empty string.

2009-03-10  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (ms_biff_bof_data_new): Handle BIFF_BOF_v8
	records indicating MS_BIFF_V2/MS_BIFF_V3/MS_BIFF_V4 files.  (And
	indicating broken tools too, of course.)

2009-02-22  Morten Welinder <terra@gnome.org>

	* Release 1.9.4

2009-02-20  Morten Welinder  <terra@gnome.org>

	* ms-chart.c (chart_create_obj): Bullet proof.

2009-02-18  Morten Welinder  <terra@gnome.org>

	* ms-formula-write.c (do_excel_write_prep_expr): Use
	excel_func_by_name hash table instead of linear search.

	* ms-excel-read.c (excel_read_init): Set up new hash table
	excel_func_by_name.

2009-02-17  Morten Welinder  <terra@gnome.org>

	* ms-formula-read.c (excel_func_desc): Rename entry 92 back to
	"SERIES" hoping that won't break anything.  Fixes #572127.

2009-01-31  Morten Welinder  <terra@gnome.org>

	* ms-formula-read.c (excel_parse_formula1): Use
	gnm_expr_new_range_ctor, not build_binop.

2009-01-23  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_sheet_write_block): Handle the case of a
	missing cell better.  Partially fixes #568929.

2009-01-16  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (chart_write_AI): support GOData simple
	instances [#567953],
	(chart_write_axis_sets): do not write invalid AXESUSED field, see
	#567823.

2009-01-15  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_DELTA): Check tolerance.  Fixes
	#567823.
	(excel_read_CALCCOUNT): Check count.

2009-01-15  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (axesused): Don't use g_return_val_if_fail for data
	dependent errors.

2009-01-11  Morten Welinder  <terra@gnome.org>

	* ms-formula-write.c (write_node): Don't introduce parentheses
	around explicit parentheses.  Fixes #567380.

2008-12-15  Morten Welinder  <terra@gnome.org>

	* ms-chart.c (BC_R): Don't use g_return_val_if_fail for data
	dependent errors.  Fixes #564499.

2008-12-12  Morten Welinder  <terra@gnome.org>

	* ms-excel-util.c (two_way_table_move): Make sure we keep
	unique_keys correct.  See #564078.

2008-12-11  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (map_pattern_to_xl): Throw in some translations
	of Gnumeric-specific patterns.  Fixes #564078.

2008-12-08  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (3d): use an int for an integer property, not a double.

2008-11-11  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (3d), (chart_write_plot): some work on 3d import/export,
	(ms_excel_chart_write): fixed segfault when exporting an empty contour
	plot. [#557027]

2008-10-21  Morten Welinder  <terra@gnome.org>

	* ms-chart.c (BC_R(end)): Don't look first series if there are no
	series.  Fixes #557077.

2008-10-18  Jody Goldberg <jody@gnome.org>

	* Release 1.9.3

2008-10-02  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_NAME): Don't write a formula for
	place-holders.

2008-10-01  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_foreach_name): Use new
	workbook_foreach_name.

2008-10-13  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_read_OBJ) : standalone OBJ records outside escher
	  groups appear to use the old style. [#546887]

2008-10-09  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c (xlsx_pattern_fg_bg) : merge _fg and _bg and
	  restore/comment on why there seems to be a need for magic in the
	  case of conditional formats.

2008-10-09  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c (indexed_color) : return a GOColor.
	(themed_color) : new.  Has some magic to use the theme indicies as
	  lookups into a hard coded map.d
	(xlsx_draw_color_themed) : simplified, the theme_colors_by_name is always defined.
	(hue_to_color) : new.
	(apply_tint) : new.  Could be moved into goffice.
	(elem_color) : handle tints, and themes.
	(xlsx_get_style_xf) : new.
	(xlsx_pattern_fg) : drop the magic pattern based inversion.
	(xlsx_pattern_bg) : ditto.
	(xlsx_border_end) : add protection.
	(xlsx_xf_begin) : merge parent styles when available.
	(xlsx_cell_style) : it is an index into the style_xfs, not the cell_xfs.
	(xlsx_file_open) : read themes before styles.

2008-09-11  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_TAB_COLOR) : no sense checking for NULL.
	  [Coverity #197]

2008-09-02  Jody Goldberg <jody@gnome.org>

	* boot.c (excel_file_open) : store VBA if it is available
	    *
2008-08-29  Jody Goldberg <jody@gnome.org>

	* Release 1.9.2

2008-08-29  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_wb_get_fmt): Handle broken 1.6 formats.

2008-08-02  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read.c: Fixed axis position.

2008-08-01  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (axis), (valuerange): set the "cross-axis-id" property.

2008-07-28  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (ai): add a warning, (tick): import text orientation,
	(chart_write_AI): fix AI export (reverses 2008-02-29 change),
	(chart_write_axis): export text orientation [#544935].

2008-07-02  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c (xlsx_CT_worksheet) : new.  Looks for related pivot
	  tables.  If the gsf extension necessary is available.
	(cb_find_pivots) : new.

2008-06-30  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c (xlsx_CT_PivotCache) : new, read a cache.
	* xlsx-read-pivot.c : New.
	* Makefile.am : dist xlsx-read-pivot.c

2008-02-29  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (chart_write_AI): Do not export non-existing values
	(fixes some criticals, see #519788).

2008-06-29  Morten Welinder  <terra@gnome.org>

	* ms-chart.c (xl_chart_import_error_bar): More checks on parent.
	Fixes #540697.

2008-06-25  Jody Goldberg <jody@gnome.org>

	* Release 1.9.1

2008-06-22  Jody Goldberg <jody@gnome.org>

	* ms-biff.c (ms_biff_query_next) : don't return anything if the record
	  looks suspicious. [#539666]

2008-06-22  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (chart_realize_obj) : throw in a warning (not used yet).
	(chart_create_obj) : call out to the container.

2008-06-19  Morten Welinder  <terra@gnome.org>

	* ms-chart.c (end): Fix corrupted-file crash.  [#539178]

2008-06-13  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_obj_read_expr) : handle empty expressions without a
	  calc id.
	(ms_obj_read_biff8_obj) : drop the debug spew.

	* ms-excel-read.c (excel_read_EXTERNNAME) : rework the logic to
	  differentiate between name/DDE/OLE, and always load the name itself
	  even if we do not support DDE/OLE.
	(excel_read_EXTERNSHEET_v7) : hush.
	(excel_read_HEADER_FOOTER) : drop the size checks (they were wrong for
	  older sheets) they are unnecessary.  The biff_text handles it better.
	(excel_biff_text_1) : use the same structure as the logic in ...
	(excel_biff_text_2) : ... here.  And make it clear that we only need
	  two bytes.

	* ms-chart.c (BC_R(surf)) :  This is only 2 bytes, not 6.

2008-06-12  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (gnm_xl_importer_free) : don't free a name that
	  failed to import.
	(excel_parse_name) : Do not free the name string here.
	(excel_read_EXTERNNAME) : get the name string even for DDE and OLE.
	  Fix the test for DDE links.
	  Improve the warning for unsupported types, and win32 proof them.
	  free the name string here.
	(excel_read_NAME) : and free it here too.
	(excel_read_SUPBOOK) : relax the size check to <=.  If there are no
	  sheets in the external link (e.g. DDE links) then this is the whole
	  record.  Remove the warning about unknown encoding.  There is no
	  requirement that the first character be one of the magic encoding
	  flags.

2008-06-11  Morten Welinder  <terra@gnome.org>

	* ms-excel-util.c (two_way_table_put): If we free the key because
	it is a duplicate, continue with the valid version, not the freed.
	Fixes #537625.

2008-05-07  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (ExcelStyleVariant): New type.
	(xf_init): Create cell_style_variant hash.  Change domain type of
	xf.two_way_table to ExcelStyleVariant.  All users changed.
	(xf_free): Destroy cell_style_variant.
	(cb_cell_pre_pass): If a string cell needs quoting, mark it as
	variant 1.
	(excel_sheet_write_block): Use proper variant.
	(build_xf_data): Set ->format properly.
	(excel_write_XF): Propagate ->format into XF.  Fixes #530704.

2008-05-04  Jody Goldberg <jody@gnome.org>

	* Release 1.9.0

2008-05-04  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c : Add stub for 'functionGroup'

2008-05-02  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_XF): Dump more of the xf when debugging.

2008-05-02  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_biff_bof_data_new) : make the version info spew
	  optional.

2008-04-27  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_sheet_insert_val): Don't set formats for
	blanks and bools.  Fixes #530259.

2008-03-29  Morten Welinder  <terra@gnome.org>

	* ms-formula-read.c (excel_parse_formula1): Fix swapped length
	checks.  Fixes #524926.

2008-03-12  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_wb_get_fmt): Replace invalid formats by
	General.

2008-03-07  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read.c: (xlsx_chart_text): create GnmGOData instead
	of GOData, (xlsx_axis_cleanup): do not unref a non deletable axis.

2008-02-29  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (ms_excel_chart_read): do not leak the default lot style,
	(store_dim): accept vectors with nul length,
	(chart_write_axis): fix export of invisible axis.

2008-02-29  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (BC_R(end)): Drop axes that the plot cannot handle.
	Fixes a number of criticals from #518939.

2008-02-27  Morten Welinder  <terra@gnome.org>

	* ms-chart.c (set_radial_axes): If clearing the parent fails, the
	ref-count is not as expected to stop messing with the object.
	Fixes #518939.  Mostly.

2008-02-23  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_externsheet_v8): Take guint16 argument to
	prevent negative lookups.

2008-02-19  Morten Welinder  <terra@gnome.org>

	* ms-escher.c (ms_escher_get_data): Add a few checks before Sum1
	finds this.

2008-02-17  Morten Welinder  <terra@gnome.org>

	* ms-obj.c (ms_read_OBJ): Return error indicator.
	* ms-escher.c (ms_escher_read_ClientData): Handle errors from
	ms_read_OBJ.  Fixes #517106.

2008-02-15  Morten Welinder  <terra@gnome.org>

	* ms-chart.c (ms_excel_chart_read): Check record length here for
	all chart record types.  (Derived from Jean's patch to #515343.)
	Fixes #514513, #515343, #515873, #515876.
	(BC(register_handlers)): Fix the minimum length of siindex
	records.

2008-02-08  Morten Welinder  <terra@gnome.org>

	* ms-chart.c: Sprinkle some length checks.  Fixes #515269,
	#515275, and #515335.

	* ms-excel-read.c (excel_read_SUPBOOK): Add length checks.  Fixes
	#515155.

2008-02-07  Morten Welinder  <terra@gnome.org>

	* ms-biff.c (ms_biff_query_bound_check): Return (guint32)-1 on
	error so we can tell.

	* ms-excel-read.c (gnm_xl_importer_free): Be more careful when
	freeing sst.
	(sst_read_string): Be more careful.  This code is a mess.

	* ms-chart.c (xl_chart_import_error_bar): Avoid crash in missing
	parent-series case.  Fixes #514630.

	* ms-formula-read.c (excel_parse_formula1, excel_parse_formula):
	Grow a maxlen argument and make sure we do not read more.  Fixes
	#514637.

	* ms-excel-read.c (excel_read_string_header, excel_get_text): Grow
	an array_length argument and make sure we do not read more array
	data than call.  All callers changed.
	(excel_biff_text, excel_biff_text_1, excel_biff_text_2): New
	Biff-record based wrappers for excel_get_text.
	(excel_formula_shared): Make sure to copy the data behind the
	expression too.

2008-02-05  Morten Welinder  <terra@gnome.org>

	* ms-escher.c (ms_escher_read_Blip): Don't construct bogus blip.
	Fixes #514510.

	* ms-excel-read.c (excel_read_FONT): Add length checks.  Fixes
	#514506.

2008-02-04  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_biff_text, excel_biff_text_1,
	excel_biff_text_2): New functions.  Use these where possible to
	add length checks.

	* ms-chart.c (ai): Handle missing series.  Fixes #514435.
	(fontx): Add length checks.  Fixes #514436.
	* ms-biff.c (ms_biff_query_set_decrypt): Handle empty record.
	Fixes #514437.

	* ms-excel-read.c (excel_read_FORMULA): When we see multiple
	expressions for a single cell, don't leak.  Fixes #514295.
	(excel_cell_fetch): New function.
	(excel_read_FORMULA, excel_read_LABEL, excel_sheet_insert_val):
	Use excel_cell_fetch so we range check cell position.

	* ms-chart.c (ms_excel_chart_read): Factor the rest of cases out
	into functions so XL_CHECK_CONDITION can be used.  Fixes #514229
	and several other similar issues.

	* ms-excel-read.c (excel_read_DEF_ROW_HEIGHT): Add length checks.
	Fixes #514230.

2008-02-03  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_sheet): Factor the rest of cases out
	into functions so XL_CHECK_CONDITION can be used.  Fixes #513963
	and several other similar issues.

2008-02-02  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_workbook) [BIFF_DSF]: Properly check
	record length.  Fixes #513835.
	(excel_read_HLINK): Be even stricter about record lengths.

2008-02-01  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_NAME): Properly check record length.
	Fixes #513608.
	(excel_read_FORMAT): Ditto.  Fixes #513608.
	(excel_read_ROW): Ditto.  Fixes #513787.

	* ms-chart.c (BC_R): Ditto.  Fixes #513790.

2008-01-31  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_BOOLERR): Properly check record
	length.
	(excel_read_HEADER_FOOTER): Ditto.
	(excel_read_REFMODE): Ditto.  Fixes #513364.
	(excel_read_PAGE_BREAK): Ditto.  Fixes #513361.
	(excel_set_xf): Ditto.  Fixes #513551.

2008-01-30  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_EXTERNNAME): Fix the error case.
	Fixes #513005.
	(excel_read_LABEL): Properly check record length.  Fixes #513313.
	(excel_read_SELECTION): Properly check record length.  Fixes #513317.

2008-01-29  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_string): Fix length written for
	the unicode case (with length measured in characters).

2008-01-29  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_EXTERNSHEET_v8): Check q->length
	properly.  Fixes #512984.

2008-01-15  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_HLINK): Improve error checks.
	Fixes 505330.

2008-01-12  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (ms_excel_chart_write): save graph title if any and
	if the first chart has no title. [#301720]

2007-12-21  Jody Goldberg <jody@gnome.org>

	* Release 1.8.0

2007-12-12  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (lineformat), (ms_excel_chart_read),
	(chart_write_LINEFORMAT), (chart_write_axis),
	(ms_excel_chart_write): fix import / export of lines format. [#502968]
	* ms-excel-read.c: (xl_pattern_to_line_type),
	(ms_sheet_realize_obj): ditto.
	* ms-excel-read.h: ditto.

2007-12-07  Morten Welinder  <terra@gnome.org>

	* ms-chart.c (ms_excel_chart_read): Copy list of contributors
	because it will change underneath us.  [#501656]

2007-12-03  Jody Goldberg <jody@gnome.org>

	* Release 1.7.91

2007-11-28  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (axislineformat): always set the style, even for
	invisible axes,
	(objectlink): started work on series labels import,
	(set_radial_axes),(radar), (radararea), load radar plot axes. [#499349]
	(end): a better auto marker test for #344950,
	(ms_excel_chart_read), reparent invisible axis children before
	deleting the axis.
	(chart_write_axis_sets): write radar plots axes.
	* ms-excel-read.c: (excel_read_BOF): reverse objects stack order.

2007-11-23  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c (xlsx_CT_PageMargins) : enable top/bottom.
	  Convert header/footer from inches to pts.

2007-11-19  Jody Goldberg <jody@gnome.org>

	* Release 1.7.90

2007-11-18  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_HLINKs) : implement.
	* ms-excel-read.c (excel_read_HLINK) : enable file and unc links.
	* plugin.xml.in : prefer biff8 to biff7 when matching by suffix.

2007-11-17  Morten Welinder  <terra@gnome.org>

	* ms-formula-write.c (write_funcall): Fix error message.

2007-11-15  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_sheet_free): Plug leaks.  [#497191]

2007-11-12  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_CT_Selection): Plug leak.

2007-11-15  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (areaformat): set fill.auto_fill to FALSE for
	transparent backgounds,
	(XL_gog_series_set_dim), (ms_excel_chart_read): fix compiler warnings.

2007-11-12  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (axislineformat), (ms_excel_chart_read),
	(chart_write_axis): use the "invisible" property for axis when
	appropriate.

2007-11-06  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (xl_axis_get_elem): don't set cross auto each
	time there is an auto parameter, just for cross.

2007-11-04  Morten Welinder <terra@gnome.org>

	* Release 1.7.14

2007-11-01  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_ClientTextbox): Survive NULL
	label.  Patches over #492377.
	(excel_write_string): Handle NULL txt here, just in case.

2007-10-29  Morten Welinder  <terra@gnome.org>

	* ms-chart.c: use g_printerr where appropriate.
	(objectlink): Plug another leak.

2007-10-29  Morten Welinder  <terra@gnome.org>

	* ms-chart.c (ms_excel_chart_read): Avoid freeing a value when
	trying to copy it.
	(seriestext): Fix leak.

2007-10-29  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (axislineformat): set s->xaxis to NULL after deletion,
	 (ms_excel_chart_read): initialize state.interpolation. [#491131]

2007-10-27  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (cb_write_macro_NAME): Don't delete
	efunc->macro_name here.  That won't work when we write the
	dual-format.
	(free_excel_func): New function.
	(excel_write_state_new): Install free_excel_func as value
	destructor for the hash.  Fixes #490828.

2007-10-27  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: enhance axes labels import, export them, and fix
	export of line patterns.

2007-10-24  Morten Welinder  <terra@gnome.org>

	* ms-formula-write.c (excel_formula_write_NAME_v7): Use a
	sequential id instead of casting the expression address to a
	number.

2007-10-21  Morten Welinder <terra@gnome.org>

	* Release 1.7.13

2007-09-28  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

	* ms-chart.c (ms_excel_chart_write): remove unused zoom argument in
	gog_renderer_update call.

2007-09-28  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: do not use WITH_GOFFICE_0_4 anymore.

2007-09-27  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c : Fix import of existing conditional format types.
	  We cannot handle the computed range formats yet.

2007-09-24  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(end)) : Don't leak a style when faced with an empty
	  label.

2007-09-21  Morten Welinder  <terra@gnome.org>

	* md5.c: Switch to GPL2 version, see  bug #478398.  (Patch by
	  Hans de Goede)

2007-09-16  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c (xlsx_plot_area_start) : new.
	(xlsx_plot_area_end) : new.
	(xlsx_chart_logbase) : new.
	(xlsx_draw_line_dash) : new.
	(xlsx_chart_marker_symbol) : new.
	(xlsx_chart_marker_end) : assign the marker symbol here, so that we
	  can get handle auto
	(xlsx_chart_gridlines) : new.
	(xlsx_chart_pop) : new.

2007-09-16  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c (xlsx_plot_area_start) : new.
	(xlsx_plot_area_end) : new.
	(xlsx_chart_logbase) : new.
	(xlsx_draw_line_dash) : new.
	(xlsx_chart_marker_symbol) : new.
	(xlsx_chart_marker_end) : assign the marker symbol here, so that we
	  can get handle auto
	(xlsx_chart_gridlines) : new.
	(xlsx_chart_pop) : new.

2007-09-16  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c (xlsx_plot_area_start) : new.
	(xlsx_plot_area_end) : new.
	(xlsx_chart_logbase) : new.
	(xlsx_draw_line_dash) : new.
	(xlsx_chart_marker_symbol) : new.
	(xlsx_chart_marker_end) : assign the marker symbol here, so that we
	  can get handle auto
	(xlsx_chart_gridlines) : new.
	(xlsx_chart_pop) : new.

2007-09-16  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c (attr_rgb) : new.
	(xlsx_chart_push_obj) : new.
	(xlsx_chart_pop_obj) : new.
	(simple_bool) : new.
	(xlsx_vary_colors) : use it.
	(simple_int) : new.
	(xlsx_chart_pie_sep) : use it.
	(xlsx_chart_bar_overlap) : ditto.
	(xlsx_chart_bar_gap) : ditto.
	(simple_float) : new.
	(simple_enum) : new.
	(xlsx_chart_bar_dir) : use it.
	(xlsx_chart_add_plot) : new.
	(xlsx_chart_pie) : use it.
	(xlsx_chart_ring) : use it.
	(xlsx_chart_bar) : use it.
	(xlsx_chart_area) : use it.
	(xlsx_chart_line) : use it.
	(xlsx_chart_xy) : use it.
	(xlsx_chart_bubble) : use it.
	(xlsx_chart_radar) : use it.

	(xlsx_axis_info_free) : new.
	(xlsx_plot_axis_id) : new.
	(xlsx_axis_id) : new.
	(xlsx_axis_start) : new.
	(xlsx_axis_delete) : new.
	(xlsx_axis_orientation) : new.
	(xlsx_axis_pos) : new.
	(xlsx_axis_bound) : new.
	(xlsx_axis_crosses) : new.
	(xlsx_axis_end) : new.
	(xlsx_chart_ser_f) : handle series names.

	(xlsx_chart_pt_start) : new.
	(xlsx_chart_pt_end) : new.
	(xlsx_chart_pt_index) : new.
	(xlsx_chart_pt_sep) : new.
	(xlsx_chart_style_start) : new.
	(xlsx_chart_style_end) : new.
	(xlsx_style_line_start) : new.
	(xlsx_style_line_end) : new.
	(xlsx_chart_no_fill) : new.
	(xlsx_chart_solid_fill) : new.
	(xlsx_draw_color_themed) : new.
	(xlsx_draw_color_rgb) : new.
	(xlsx_draw_color_alpha) : new.
	(xlsx_draw_color_end) : new.
	(xlsx_chart_marker_start) : new.
	(xlsx_chart_marker_end) : new.
	(xlsx_chart_text) : new.
	(xlsx_chart_text_content) : new.

	(cb_axis_set_position) : new.
	(xlsx_axis_cleanup) : new.
	(xlsx_read_chart) : set up the extensions to handle styles, and
	  connect up the axis after parsing.

	* ms-chart.c (excel_font_from_go_font) : take a XLExportBase.
	(chart_write_text) : fix call to excel_font_from_go_font.
	(chart_write_axis) : ditto.

	* xlsx-write.c (xlsx_write_series_dim) : silence a warning.

2007-09-15  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (chart_write_axis_sets): use "Backplane" instead of
	"Grid" when goffice is 0.5,

2007-09-15  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (end): use "Backplane" instead of "Grid" when goffice is 0.5,
	(chart_write_text), (ms_excel_chart_write): made some work on titles
	position export.

2007-09-13  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (end), (chart_write_text), (chart_write_axis),
	(ms_excel_chart_write): export text with style and import chart
	titles [#301720].
	* ms-excel-write.c: (excel_font_from_go_font),
	(extract_gog_object_style): export fonts used in charts.
	* ms-excel-write.h: ditto.

2007-09-08  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c (xlsx_vary_colors) : new.

	* ms-chart.c (chart_write_LEGEND) : new code split from.
	(chart_write_axis_sets) : here.
	* ms-chart.c (BC_R(boppop)) : place holder to at least get the pie.

2007-09-04  Jody Goldberg <jody@gnome.org>

	* Release 1.7.12

2007-09-01  Jody Goldberg <jody@gnome.org>

	* xlsx-write.c (xlsx_write_init_row) : new.
	(xlsx_write_cells) : add a simple compression mechanism to avoid
	  producing an empty row element if there is no useful content.
	(xlsx_write_hlink) : fix the namespace of the "id" attr.
	(xlsx_write_hlinks) : yay consistency!  No count for this collection.
	(xlsx_write_chart_bool) : always generate a val, ignore the supposed
	  default value. (fixes pie varyColor)
	(xlsx_write_chart) : vary pie color is not the default.  We need to
	  generate it.
	(xlsx_write_objects) : nvGraphicFramePr and xfrm are required.
	(xlsx_write_sheet) : re-order placement of protection element.

2007-08-25  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (gelframe): should now compile with goffice-0.4

2007-08-25  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (gelframe): return if type is less that 5, otherwise
	  set fill type and colors not auto.

2007-08-25  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c (xlsx_chart_legend) : new.

2007-08-24  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c (xlsx_CT_DataValidation_begin) : don't lose the input
	  messages.

2007-08-24  Jody Goldberg <jody@gnome.org>

	* xlsx-write.c (xlsx_write_validation) : LTE and GT were swapped.
	* xlsx-read.c (xlsx_CT_DataValidation_begin) : ditto.

2007-08-24  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c (xlsx_chart_pie) : new.
	(xlsx_chart_ring) : new.
	(xlsx_chart_bar) : new.
	(xlsx_chart_area) : new.
	(xlsx_chart_line) : new.
	(xlsx_chart_xy) : new.
	(xlsx_chart_bubble) : new.
	(xlsx_chart_radar) : new.
	(xlsx_plot_end) : new.
	(xlsx_chart_ser) : new.
	(xlsx_chart_ser_f) : new.
	(xlsx_ser_type_start) : new.
	(xlsx_ser_type_end) : new.
	(xlsx_drawing_twoCellAnchor) : new.
	(xlsx_drawing_twoCellAnchor_end) : new.
	(xlsx_drawing_pos) : new.
	(xlsx_read_chart) : create the chart.

2007-08-23  Jody Goldberg <jody@gnome.org>

	* xlsx-write.c (xlsx_write_merges) : split into a function for
	  cleanliness.
	(xlsx_write_validation) : new partial implementation.
	(xlsx_write_validations) : new.  Uses excel_collect_validations.
	(xlsx_write_sheet) : call the new routines.

	* xlsx-read.c (xlsx_parse_sqref) : normalize the ranges to be extra
	  careful, and document that they are in reverse order.
	(xlsx_CT_DataValidation_begin) : finish, and cache the top left corner
	  of the 1st sqRef.
	(xlsx_validation_expr) : parse relative to the first corner, not A1.

	* ms-excel-write.c (excel_write_DV) : split extraction code out into.
	(excel_collect_validations) : here.

2007-08-03  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_HLINK) : fix import of local links.

2007-08-05  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (chart_write_series), (chart_write_plot): free
	strings returned by g_object_get.

2007-08-04  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: fixed interpolation mode import/export after
	  the change in goffice.

2007-07-27  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (end) : don't leak a style of the legend doesn't have a
	  frame.

2007-07-26  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_obj_read_expr) : new.
	(read_pre_biff8_read_expr) : use it here.
	(ms_obj_read_pre_biff8_obj) : here.
	(ms_obj_map_forms_obj) : and here.  Also check for source ranges for
	  combos and lists. [#451384]

2007-07-25  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_SHEETPROTECTION) : size check was too
	  detailed.

2007-07-24  Jody Goldberg <jody@gnome.org>

	* Release 1.7.11

2007-07-13  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_obj_read_biff8_obj) : send the actual record, not
	  the 4 byte header that loses 4 trailing bytes.
	(ms_obj_map_forms_obj) : Use existing tools to properly handle
	 longer names and objects with data sources (combos/lists).

	* xlsx-write.c (xlsx_write_calcPR) : new.

2007-07-09  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c (xlsx_CT_CalcPr) : new. Read the iterate and recalc
	  properties.  Need to add the refmode.
	* xlsx-write.c (xlsx_write_calcPR) : ditto.
	(xlsx_write_workbook) : called from here.

2007-07-14  Jody Goldberg <jody@gnome.org>

	Report form coverity.
	* ms-obj.c (ms_read_TXO) : remove failure modes for items we do not
	  actually use.  alignments are enumerated from 1, not 0.

2007-06-21  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.h : delete MsBiffFontUnderline, there was no need for
	  an intermediate type.

	* ms-excel-write.c (excel_write_PAGE_BREAK) : just hard code the
	  min/max.  The values seem constant in all my tests.

	* ms-excel-biff.h : Start some cleanup, and begin to follow the naming
	  convention 'XLS_...' for binary and 'XLSX_...' for oox.
	  Define some Maximas.

2007-06-16  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_PAGE_BREAK) : new.
	(excel_read_sheet) : called from here.

	* ms-excel-write.c (excel_write_PAGE_BREAK) : new.
	(write_sheet_head) : called from here.

	* xlsx-read.c (xlsx_CT_PageBreak) : new.
	(xlsx_CT_PageBreaks_begin) : new.
	(xlsx_CT_PageBreaks_end) : new.

	* xlsx-write.c (xlsx_write_breaks) : new.
	(xlsx_write_print_info) : called from here.

2007-06-06  Jody Goldberg <jody@gnome.org>

	* ms-excel-util.c (init_xl_font_widths) : add Calibri.

2007-06-12  Jody Goldberg <jody@gnome.org>

	* plugin.xml.in  : Use 'Office 2007' as the description for the writer
	  too.

2007-06-10  Jody Goldberg <jody@gnome.org>

	* xlsx-write.c : Move the OpenPkg support out of here and into libgsf.
	* xlsx-read.c : ditto.
	(xlsx_parse_rel_by_id) : new wrapper to handle errors from
	  gsf_open_pkg_parse_rel_by_id.

2007-06-10  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c (xlsx_CT_SheetProtection) : new.
	* xlsx-write.c (xlsx_write_protection) : new.
	(xlsx_write_sheet) : called from here.

	* ms-excel-read.c (excel_read_SHEETPROTECTION) : new.
	(excel_read_sheet) : called here.

	* ms-excel-write.c (excel_write_SHEETPROTECTION) : new.
	(excel_write_sheet) : called here after the validations.

2007-06-01  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: do not delete a valid axis.

2007-05-25  Morten Welinder  <terra@gnome.org>

	* plugin.xml.in: Add mime types for most of the savers.

2007-05-16  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (fontx), (tick), (end): import legend and
	axis labels font. [#437858]

2007-05-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-write.c (excel_write_SETUP): adjust for new
	  arguments of print_info_get_margins
	(excel_write_WSBOOL): ditto
	* ms-excel-read.c (excel_init_margins): use print_info_set_edge_to_*
	(excel_read_sheet): use print_info_set_edge_to_*
	* xlsx-write.c (xlsx_write_print_info): adjust for new
	  arguments of print_info_get_margin

2007-05-07  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (axis), (catserrange), (lineformat), (valuerange),
	(end), (ms_excel_chart_read), (chart_write_axis),
	(chart_write_axis_sets), (ms_excel_chart_write): fix import/export
	of axis sets. [#318610]

2007-05-03  Morten Welinder <terra@gnome.org>

	* Release 1.7.10

2007-05-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-write.c (write_sheet_head): change PrintUnit content
	* ms-excel-read.c (excel_print_unit_init_inch): deleted
	(excel_init_margins): use GO_IN_TO_PT
	(excel_read_sheet): ditto
	* xlsx-write.c (xlsx_write_print_info): change PrintUnit content

2007-04-29  Jody Goldberg <jody@gnome.org>

	* plugin.xml.in : remove duplicate xlsx entry

2007-04-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-write.c (excel_write_SETUP): use
	  print_info_get_paper_orientation
	(write_sheet_head): print_info might be modified
	* ms-excel-read.c (excel_read_SETUP): use
	  print_info_set_paper_orientation

2007-04-21  Morten Welinder <terra@gnome.org>

	* Release 1.7.9

2007-04-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-write.c (write_sheet_head): use print_info_get_margins
	* ms-excel-read.c (paper_size_table): use PWG 5101.1-2002
	(excel_read_SETUP): use modified paper_size_table
	* xlsx-write.c (xlsx_write_print_info): use print_info_get_margins

2007-03-19  Jody Goldberg <jody@gnome.org>

	* xlsx-write.c (xlsx_write_cells) : keep f before v, but do not try to
	  export an attribute of c once we have started the f or v.
	(xlsx_write_cells) : export array formulas.
	(xlsx_write_cells) : export bool values a "1" "0" rather than
	  value_get_as_string.

2007-03-18  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c (xlsx_file_open) : Visible error if no workbook is
	  found.

	* xlsx-write.c (xlsx_write_sheet) : Define some new constants for the
	  spreadsheet, and relationship namespaces.  Then update them to the
	  versions used in the official 2007 release.
	(xlsx_write_shared_strings) : ditto.
	(xlsx_write_styles) : ditto.
	(xlsx_write_workbook) : ditto.
	(xlsx_write_col) : up the accuracy of width export to match XL 2007.
	  put hidden before other flags to ease visual inspection of xml.
	(xlsx_write_cols) : skip initial empty cols, and include the last col.

2007-03-16  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_FONT): In case we get a NULL
	fontname, assume "Arial".  Fixes #418868.

2007-03-05  Jody Goldberg <jody@gnome.org>

	* xlsx-utils.c (xlsx_cellref_as_string) : no need to use the
	  convention for the sheet_sep, hard code it.
	(xlsx_rangeref_as_string) : ditto.
	(xlsx_expr_conv_new) : adapt to changes.

2007-01-11  Jody Goldberg <jody@gnome.org>

	* ms-escher.c (ms_escher_read_OPT_bools) : improve debug stream.
	(ms_escher_read_OPT) : add a few more properties based on the results
	  of the test file that fills in as many properties as I could find
	  samples/excel/objs.xls.
	(ms_escher_sp_new) : new. unused as yet.
	(ms_escher_sp_free) : ditto.
	(ms_escher_sp_len) : ditto.
	(ms_escher_sp_add_OPT) : ditto.
	(ms_escher_sp_set_anchor) : ditto.
	(ms_escher_sp_write) : ditto.

	* ms-obj.c (ms_obj_read_biff8_obj) : do not generate a warning for
	  combos with no link, or the special autofilter combos.
	(ms_obj_read_biff8_obj) : include the id in the debug spew.
	(ms_obj_read_biff8_obj) : Do not warn about unknown flags that we know
	  are unknown :-)
	(ms_objv8_write_note) : new basic stub.

	* ms-excel-write.c (excel_write_textbox_v8) : cheap hack to handle
	  comments somewhat at an invented anchor.
	(cb_NOTE_v8) : new.
	(excel_write_objs_v8) : keep track of the number of comments too.
	(excel_sheet_new) : count comments too.  General tidyup in prep for
	  moving to generated escher.

2007-03-04  Morten Welinder <terra@gnome.org>

	* Release 1.7.8

2007-02-16  Morten Welinder <terra@gnome.org>

	* Release 1.7.7

2007-01-06  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_cell_val_end): Use gnm_strto, not strtod.

2006-12-19  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_autofilter_objs) : minor
	  simplification.

2006-12-19  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c (xlsx_get_num_fmt) : handle the standard builtins
	  and paste over the unicode variants of the documented locale
	  specific variants.

2006-12-18  Jody Goldberg <jody@gnome.org>

	* ms-container.c (ms_container_parse_expr) : handle 0 length
	  expressions as NULL.  Looks like combos & lists with no links are
	  exported with length 0.

2006-12-17  Jody Goldberg <jody@gnome.org>

	* Release 1.7.6

2006-12-17  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (lineformat): use auto color for series only when
	the color index is equal to the series index. [#166820]

2006-12-16  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_COLINFO) : silence warning due to
	  kludge.

2006-12-16  Jody Goldberg <jody@gnome.org>

	Start work on autofilters, only Top10 is implemented for in or out.
	* xlsx-read.c (xlsx_CT_Filters_begin) : new.
	  Massive renaming to use '_begin' rather than '_start' just because I
	  like the sound better.
	* xlsx-write.c (xlsx_write_autofilters) : new.

2006-12-16  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_sheet_realize_obj) : link in the content
	  expression, and the linked cell for combo and list objects.
	* ms-obj.c (ms_obj_read_biff8_obj) : read ListboxData which seems to
	  contain the content expression.

2006-12-11  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (log_put_color): Remove "inline" -- it's
	pointless and triggers a gcc bug.  (gcc bug #30153)

2006-12-04  Jody Goldberg <jody@gnome.org>

	* Release 1.7.5

2006-11-24  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_obj_attr_get_ptr) : change signature to better
	  distiguish between NULL and not-specified.
	* ms-excel-read.c (ms_sheet_realize_obj) : Using NULL as the default
	  was a bad idea.  We could not differentiate between empty text which
	  got stored as NULL, and not specified which should use the default.
	  Use the new signature to ms_obj_attr_get_ptr to handle this
	  correctly. (test case : checkboxes in 375620 with no labels)

2006-11-24  Jody Goldberg <jody@gnome.org>

	* xlsx-write.c (xlsx_write_col) : set 'bestFit' if the column has a
	  size different from the default and it has _not_ been set by the
	  user.
	* ms-excel-write.c (excel_write_COLINFO) : ditto.  Set the
	  undocumented flags customWidth and bestFit based on the OfficeOpen
	  docs.
	* ms-excel-read.c (excel_read_COLINFO) : the undocumented bestfit and
	  customwidth flags are not a perfect match with our hard_size.  Use
	  customwith && !bestfit == hard_size.  That should match even the
	  mis-exported xls from older gnumeric's and OOo.
	* xlsx-read.c (xlsx_CT_Col) : ditto, but there are no worries about
	  older gnumeric's or OOo mis-generating.

2006-11-20  Jody Goldberg <jody@gnome.org>

	* Release 1.7.4

2006-11-19  Morten Welinder <terra@gnome.org>

	* Release 1.7.3

2006-11-09  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c (xlsx_file_open) : use the new
	  gnm_push_C_locale/gnm_pop_C_locale utils.
	* xlsx-write.c (xlsx_file_save) : ditto.

2006-10-27  Jon K Hellan  <hellan@acm.org>

	* ms-excel-read.c (excel_read_MERGECELLS): Accept overlapping
	merges, as Excel does.

2006-10-24  Jon K Hellan  <hellan@acm.org>

	* ms-obj.c (ms_read_TXO): Handle UTF-16, and switching between
	single byte and UTF-16 between CONTINUE records [#340293].

2006-10-17  Jody Goldberg <jody@gnome.org>

	* Release 1.7.2

2006-10-12  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (serfmt): add missing braces.

2005-07-06  Jon K Hellan  <hellan@acm.org>

	* ms-excel-read.c (ms_sheet_realize_obj): Realize Excel 95 images
	[#155696].

	* ms-obj.h: Add MS_OBJ_ATTR_IS_GOBJECT_MASK and
	MS_OBJ_ATTR_IMDATA. Widen MS_OBJ_ATTR_MASK.

	* ms-obj.[ch] (ms_obj_attr_new_gobject,
	ms_obj_attr_get_gobject): New. Add support for GObject attributes.
	(ms_obj_attr_destroy): Handle GObject attributes.
	(ms_obj_read_pre_biff8_obj): Save Excel 95 image as attribute.

2006-10-09  Jon K Hellan  <hellan@acm.org>

	* ms-excel-read.c (excel_read_HLINK): Fix bug with URLs having
	target frames.

2006-10-02  Jody Goldberg <jody@gnome.org>

	* Release 1.7.1

2006-09-30  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (end): Don't use auto_shape or auto_dash when plot has
	no marker/line and series have while importing from excel. [#319727]


2006-09-29  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (serfmt), (chart_write_SERFMT),
	(style_is_completely_auto), (chart_write_style): implemented serfmt
	to import/export interpolation type for splines. [#349457].

2006-09-24  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c : Some initial work at parsing charts.
	  Only an outline of a parser for now, no actual work.

2006-09-23  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_SETUP) : Do not warn of print scale of
	  0, according to the OfficeOpen docs that means 'auto' we treat it as
	  100.

	* ms-excel-write.c (cb_check_names) : We no longer write placeholders,
	  no need to check for them.
	(excel_foreach_name) : Ditto.
	(excel_write_NAME) : Do not export place holders.
	(excel_write_autofilter_names) : Add a hook to warn of multiple
	  autofilters in one sheet.	[#346217]

2006-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-formula-read.c (parse_list_pop): use %p for pointers #346045
	* ms-formula-write.c (sheet_pair_hash): extinguish warning #346045

2006-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-write.c (excel_sheet_extent): use ngettext #123860

2006-06-03  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c (xlsx_ns) : add the namespace for beta2.
	(xlsx_shared_strings_dtd) : s/sstItem/si/ for beta2.
	* xlsx-write.c (gsf_outfile_open_pkg_close) : move to the new
	  spreadsheetml namespace.
	(xlsx_write_styles) : ditto.
	(xlsx_write_shared_strings) : ditto.
	(xlsx_write_sheet) : ditto.

2006-05-31  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (gather_styles) : Use sheet_cell_foreach, rather
	  than accessing Sheet::cell_hash directly.  This will make it easier
	  to jump to the quad tree later.
	(excel_write_workbook) : use the new sheet_cells_count rather than
	  accessing Sheet::cell_hash.

2006-05-22  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (excel_parse_formula1) : disable the long lived
	  warning about extended attr 0 with 3 and 0xA.  It has something to
	  do with singleton arrays, but does not seem important.

2006-05-25  Jean Brefort  <jean.brefort@normalesup.org>

	* boot.c: replaced gi18n.h by gi18n-lib.h.
	* excel-xml-read.c: ditto.
	* ms-excel-read.c: ditto.
	* ms-excel-write.c: ditto.
	* ms-formula-read.c: ditto.
	* ms-formula-write.c: ditto.
	* xlsx-read.c: ditto.
	* xlsx-write.c: ditto.

2006-05-19  Morten Welinder  <terra@gnome.org>

	* ms-formula-read.c (excel_parse_formula): Avoid critical on array
	formulas.
	* ms-excel-read.c: Add more checks for corrupted files.

2006-05-18  Morten Welinder  <terra@gnome.org>

	* ms-formula-read.c (excel_parse_formula): Reinstate the call for
	expression sharing.

	* ms-excel-read.c: Don't use g_return_if_fail and
	g_return_val_if_fail for condition relating to file contents.  (They
	produce CRITICALS and Jon Kaare will complain one day.)

2006-05-16  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_MULRK): Add some bullet-proofing.
	[#341917]

2006-05-08  Jody Goldberg <jody@gnome.org>

	* Release 1.7.0

2006-04-29  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_WINDOW2) : merge excel_write_PANE into
	  here and fix export of H or V only freezes.

2006-04-23  Jody Goldberg <jody@gnome.org>

	* xlsx-write.c : new.  Basic export and some code that will move to
	  libgsf for 'Open Package' support.
	* plugin.xml.in : Add xlsx export.
	* Makefile.am : ditto.

2006-04-23  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_EXTERNSHEET_v7) : patch
	  tweak to import broken quoted sheetname from gnumeric-1.0.x eg
	  Libro1.xls.

2006-04-23  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (ms_excel_chart_read) : Don't set the graph and chart
	  styles to blank unless this is a full sheet object.  Fixes the
	  import of older charts that are not wrapped in BOF records eg
	  ms699.xls.

2006-04-18  Morten Welinder  <terra@gnome.org>

	* boot.c (excel_file_open): Don't leak the meta_data object.

2006-04-16  Jody Goldberg <jody@gnome.org>

	* xlsx-read.c : new.  Basic import and some code that will move to
	  libgsf for 'Open Package' support.
	* plugin.xml.in : Add xlsx import.
	* Makefile.am : ditto.

2006-04-15  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (halign_to_excel) : add HALIGN_DISTRIBUTED.
	* ms-excel-read.c (excel_read_TAB_COLOR) : office 12 seems to add some
	  bytes.

2006-04-09  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (xl_chart_import_trend_line), (ms_excel_chart_read),
	(chart_write_trend_line), (chart_write_series): fix import/export
	of trend lines (only those supported by xl).

2006-04-08  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (xl_chart_import_reg_curve): import power regression
	and moving average lines.

2006-04-07  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=336858
	* ms-excel-read.c (excel_read_EXTERNNAME) : be more careful about
	  bounds checking.  Looks like 'miniCalc' generates EXTERNNAME with no
	  expressions at all for it's external functions.

2006-03-30  Morten Welinder  <terra@gnome.org>

	* ms-formula-write.c (write_node): Add missing table entry for
	array elements.  Write the right PTG for data tables.
	(excel_write_array_formula): New function.
	(excel_write_formula): Change to take a texpr.  All callers
	changed.

	* ms-formula-write.h (ExcelFuncContext): Elminate
	EXCEL_CALLED_FROM_ARRAY which is now implicit.

2006-03-22  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(lineformat)) : store the format in outline as well
	  as line.  We do not know where it's going to be used.

2006-03-19  Morten Welinder  <terra@gnome.org>

	* ms-formula-write.c (write_node): Handle integers in VALUE_FLOAT
	records better.

2005-12-28  Jody Goldberg <jody@gnome.org>

	* boot.c (excel_file_open) : use the new workbook_set_meta_data rather
	  than kludging GObject data.

2006-03-16  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_get_style_from_xf): Even though the third
	argument of style_border_fetch isn't used yet, get it right.

2006-03-16  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_EXTERNNAME): Use NULL, not 0.
	* ms-biff.c (ms_biff_query_next): Ditto.
	(ms_biff_query_destroy): Ditto.
	(ms_biff_put_new): Ditto.
	(ms_biff_put_len_next): Ditto.
	(ms_biff_put_len_commit): Ditto.

2006-03-13  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (write_sheet_head): Write protection flags.
	* ms-excel-read.c (excel_read_sheet_PROTECT): Store falg.
	(excel_read_workbook_PROTECT): New function.
	(excel_read_workbook): Read protection flags.
	Patch from Klokan Petr Pridal.  [#330129]

2006-03-13  Morten Welinder  <terra@gnome.org>

	* ms-container.h (MSContainerClass): Make the parse_expr method
	return a texpr.  All users changed.

	* ms-formula-read.c (excel_parse_formula): Make this return a
	texpr.  All users fixed.
	* ms-container.c (ms_container_parse_expr): Ditto.
	* ms-obj.c (ms_obj_attr_new_expr): Ditto.

2006-03-10  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (excel_parse_formula) : back port handling of
	  AttrChoose and AttrGoto

2006-03-10  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (excel_parse_formula) : don't forget to re-push
	  the new set with the extra element.

2006-02-27  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (blipinf_new): Fix potential 64-bit issue.

2006-02-21  Morten Welinder  <terra@gnome.org>

	* ms-chart.c (ms_excel_chart_write): Plug minor leak.

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

	* ms-excel-write.c (excel_write_FORMULA) : adjust to new
	  GNM_EXPR_OP_ARRAY handling
	* ms-formula-write.c (excel_write_prep_expr) : ditto.
	(write_node) : ditto.

2006-01-17  Morten Welinder  <terra@gnome.org>

	* ms-chart.c (chart_write_AI): Allocate right amount of memory.

2005-12-22  Stepan Kasal  <kasal@ucw.cz>

	* ms-excel-write.c (excel_write_externsheets_v8): Use the actual
	  number of sheets in the magic self referential SUPBOOK record.
	* ms-excel-read.c (supbook_get_sheet): Use EXCEL_SUP_BOOK_SELFREF
	  to recognize the self referential SUPBOOK record.
	(excel_read_EXTERNSHEET_v8): Simplify the read of sup_index.
	* ms-excel-read.h (ExcelExternSheetV8): Remove the unused member wb.

2005-12-05  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (axislineformat): do not set style before setting parent,
	(object_swap_children): new helper function,
	(end): also swap axis children for bar charts and do not access
	directly GOMarker fields (now a private structure),
	(xl_chart_import_error_bar): fixed some import issues,
	(chart_write_error_bar): implement error bars export,
	(chart_write_reg_curve): fix an indexation bug,
	(chart_write_series): export error bars,
	(ms_excel_chart_write): use go_marker_set_shape.

2005-11-27  Jean Brefort  <jean.brefort@normalesup.org>

	* biff-types.h: add new custom biff code for goffice regression curves.
	* ms-chart.c: (ai), (serauxtrend), (trendlimits),
	(register_handlers), (xl_chart_import_reg_curve),
	(style_is_completely_auto), (chart_write_style),
	(chart_write_error_bar), (chart_write_reg_curve),
	(chart_write_series), (ms_excel_chart_write): export regression
	curves and enhance import.

2005-11-18  Jean Brefort  <jean.brefort@normalesup.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=321678
	* ms-chart.c: (ms_excel_chart_read): do not import series without
	chart group as error bars or regrssion curves for MS_BIFF_V4 or earlier.

2005-11-16  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=321678
	* ms-chart.c (xl_chart_import_reg_curve) : if the parent has no series
	  there is not much we can do.

	http://bugzilla.gnome.org/show_bug.cgi?id=321677
	* ms-chart.c (BC_R(gelframe)) : don't crash when faced with an
	  unsupported plot type that has a gradient.

2005-11-14  Jody Goldberg <jody@gnome.org>

	* Release 1.6.1

2005-11-08  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (blipinf_new): Don't crash if blip->type ends
	up NULL.  Fixes crash from #321009.

2005-11-05  Jody Goldberg <jody@gnome.org>

	* excel-xml-read.c : Support DateTime values

2005-10-23  Jody Goldberg <jody@gnome.org>

	* excel-xml-read.c (xl_xml_col_start) :
	  - add hidden.
	  - support spans
	  - support styles
	  - support sizes (still off by what seems like a constant factor ??
	    of 12.5% ??)
	(xl_xml_row_start) : ditto.
	(xl_xml_pane) : init edit pos to A1.
	(xl_xml_selection) : new. handle selection
	(xl_xml_editpos_col) : new. handle edit position
	(xl_xml_editpos_row) : new. ditto.
	(xl_xml_data_start) : load Data::Type here
	(xl_xml_cell_start) : not here.  Store the expr.
	(xl_xml_data_end) : store exprs and values.
	(xl_xml_named_range) : new.  No entirely functional.
	  It does not handle implicit fwd declatation of names.

2005-10-12  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (excel_parse_formula) : Ignore the data for Attr
	  CHOOSE that specifies which element to select.  We do not need it.
	* ms-excel-read.c (excel_read_FORMULA) : Use val_offset consistently

2005-10-10  Jody Goldberg <jody@gnome.org>

	* Release 1.6.0

2005-10-03  Jody Goldberg <jody@gnome.org>

	* excel-xml-read.c : Implement based on inspection of exported result
	  of a test xls (Did not read or download the schemas).  No support
	  for expressions or names yet.

2005-10-02  Jody Goldberg <jody@gnome.org>

	* plugin.xml.in : enable SpreadsheetML importer

	* excel-xml-read.c : implement

	* ms-formula-write.c (write_funcall) : handle macros.
	  exporting Analysis.xls

	* ms-formula-read.c (excel_parse_formula) : REF_3D, and AREA_3D for
	  biff7 seem to use the shared flag to define whether to sign extend.

	* ms-excel-read.c (excel_parse_name) : name expressions are parsed as
	  shared.  Not sure about this.  This seems to work for the oo name
	  and relref tests.  Do more validation.
	(ms_wb_get_font_markup) : suppress warning.
	(excel_read_BOOLERR) : new split from.
	(excel_read_sheet) : here.

	* ms-chart.c (BC_R(alruns)) : do not leak content. [#157059]
	(BC_R(pieformat)) : The magic 0xfffd in dataformat seems to do
	  something here too.  Without it plots that had a default separation
	  were thinking that it was just for 1 pt.

2005-09-30  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (text), (xl_chart_import_error_bar): fixed style leaks.

2005-09-30  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (xl_chart_import_reg_curve): set the correct value to the
	"affine" property.

2005-09-28  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (xl_chart_import_reg_curve) : split out from
	  ms_excel_chart_read.
	(xl_chart_import_error_bar) : ditto.

	* ms-excel-write.c (excel_font_overlay_pango) : check super/sub scripts.
	(excel_font_hash) : ditto.
	(excel_font_equal) : ditto.
	(excel_font_new) : init the super/sub status
	(map_underline_to_xl) : new.
	(map_script_to_xl) : new.
	(cb_write_condition) : handle super/sub script.
	(excel_write_FONT) : ditto.
	(excel_font_new) : ditto.

	* ms-excel-read.c (ms_wb_get_font_markup) : The super/subscript
	  distances were broken.  Use 5000 not 500.  Seems like we may want a
	  scale in there too.
	(excel_read_FONT) : Use GOFontScript
	(excel_get_style_from_xf) : store the script (super/sub)
	(excel_read_CF) : handle scripts.

2005-09-26  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (axislineformat): read the areaformat for type 3
	to avoid a style leak.

2005-09-21  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (chart_write_MARKERFORMAT): don't use style if NULL.

2005-09-21  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (markerformat): enhance markers import for MS_BIFF_V8
	(chart_write_MARKERFORMAT): enhanced export as well.

2005-09-18  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(radar)) : XL defaults to having markers, goffice
	  does not.
	* ms-chart.c (chart_write_plot) : check marker status for radar plots.

2005-09-14  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (ms_excel_chart_read): import polynomial, exponential and
	logarithmic regression curves.

2005-09-08  Jody Goldberg <jody@gnome.org>

	* Release 1.5.90

2005-09-06  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_formula_shared) : finish TABLE importer.
	* ms-excel-write.c (excel_write_FORMULA) : finish TABLE exporter.

2005-09-04  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_ClientTextbox) : property is called
	  'text' not 'label'

2005-09-04  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (chart_write_AI) : Move logic from #152317 here.
	  If we are writing an expression with only a string constant do not
	  quote it.

2005-08-29  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (excel_parse_formula) : support data tables.
	* ms-excel-read.c (excel_formula_shared) : ditto.
	* ms-formula-write.c (write_node) : ditto.
	* ms-excel-write.c (excel_write_FORMULA) : ditto.

2005-08-27  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_obj_map_forms_obj) : no need to warn about record with
	  no expressions. (Wallenbach/Formulas-2003/chap05/character\ set.xls)

2005-08-28  Morten Welinder <terra@gnome.org>

	* Release 1.5.5

2005-08-28  Morten Welinder <terra@gnome.org>

	* Release 1.5.4

2005-08-25  Stepan Kasal  <kasal@ucw.cz>

	* ms-chart.c (BC_R(text)): Comment out declarations of variables for
	commented out code.

2005-08-24  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_font_new) : typo. [#314206]

2005-08-17  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (ms_excel_chart_write): fix a compilation warning
	introduced yesterday and also a multiple chart export problem
	(#310967).

2005-08-15  Morten Welinder <terra@gnome.org>

	* Release 1.5.3

2005-08-15  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (ms_excel_chart_write): unref state.root_view.

2005-08-05  Stepan Kasal  <kasal@ucw.cz>

	* ms-excel-write.c (excel_write_string): Fix warning.

2005-08-04  Jody Goldberg <jody@gnome.org>

	From Nick Lamb <njl98r@ecs.soton.ac.uk>
	* ms-excel-read.c (excel_read_XF_OLD) : improve alignment and
	  rotation handling.

2005-08-04  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_XF) : Add HALIGN_DISTRIBUTED. no idea
	  what that does.

	* ms-obj.c (ms_read_OBJ) : no docs for OBJ before biff5.  Ignore to
	  avoid problems.

	* ms-excel-util.c (init_xl_font_widths) : make the font hash case
	  insensitive.

2005-08-02  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (ms_excel_chart_read): fixed import x error bars.

2005-08-01  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_WINDOW2) : Don't crash if there is no
	  view.
	(excel_read_SELECTION) : ditto.
	(excel_read_PANE) : ditto. #309544

	* ms-excel-read.c (excel_palette_get) : add the tooltip colour
	  ordinals

2005-07-29  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(objectlink)) : store the style for labels
	(BC_R(fontx)) : lookup the font and assign it to a style.  Need to
	  finish GOFont to store the remaining attributes.
	* ms-excel-read.c (excel_font_get_gofont) : new.
	(excel_read_FONT) : init the gofont member.
	(excel_font_free) : unref it here.

2005-07-15  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_SETUP) : remove unecessary scaling.

2005-07-15  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c (excel_write_SETUP): Fix typo.

2005-07-06  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(objectlink)) : fix leak. [#157058]

2005-07-15  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_read_TXO) : handle CONTINUES for text
	(read_pre_biff8_read_text) : renamed from read_pre_biff8_read_str.
	  Handle continues in text and markup.  The layout is _very_ odd.
	  It seems that XL can write things it cannot read.
	(read_pre_biff8_read_name_and_fmla) : handle the name reading inline,
	  that is different from read_text.  The CONTINUE handling is very
	  different.

	* ms-excel-write.c (excel_write_SETUP) : rewrite to handle the new
	  flags.
	(write_sheet_head) : export value for BIFF_PRINTHEADERS and only
	  export the left/right margins if they are set.

	* ms-excel-read.c : Store the ver in the importer rather than the
	  container.
	  s/ExcelWorkbook/GnmXLImporter/
	  s/ewb/importer/
	(excel_get_chars) : renamed from ms_biff_get_chars.  Take an importer
	  and use it's iconv rather than a global.
	(excel_get_text) : renamed from biff_get_text.  Take an importer
	  rather than a ver.
	(excel_read_BOUNDSHEET) : new need for a ver arg, just use the importer.
	(esheet_ver) : new.
	(gnm_xl_importer_set_version) : new.
	(gnm_xl_importer_set_codepage) : rename from
	  excel_iconv_open_for_import and store the iconv in the importer rather
	  than as a global.  Add improved fallback and debug info.
	(excel_palette_get) : merge default palette handing into here and add
	  0x7fff as a synonym for black.  We need a better solution for themed
	  colours eventually.  Change signature to take an importer rather
	  than the palette object directly.  That keeps us from digging into
	  the import object directly.
	(excel_get_default_palette) : delete.
	(excel_read_XF_OLD) : use ver from importer, no need for arg.
	(excel_read_XF) : ditto.
	(excel_read_FORMULA) : clarify up the debug info.
	(ms_wb_get_font_markup) : better fallback for invalid fonts.
	(gnm_xl_importer_new) : renamed from excel_workbook_new and remove the
	  version tag.  The importer is now created without a version, and we
	  init that later.  It also has a larger life cycle with the plan to
	  extend that and have gnumeric create it for the new in/out framework
	  use gobjects.
	(gnm_xl_importer_free) : renamed from excel_workbook_destroy and close
	  the iconv.
	(excel_read_name_str) : take an importer rather than a ver.
	(excel_read_SETUP) : rewrite to store the new biff8+ properties for
	  comments and errors, and to add n_copies, and start page.
	(excel_read_CF) : turn off some debugging.
	(excel_read_sheet) : add handler for BIFF_PRINTHEADERS.
	(excel_read_BOF) : merge the standalone worksheet handler with the
	  others.  Do not create the importer here, that get's passed in.
	(excel_read_workbook) : no need to set the global iconv here, the
	  importer handles it.  Create the importer much earlier as a step
	  towards gobjectificatin.

	* ms-chart.c (BC_R (ver)) : new to get the version from the importer
	(BC_R(area)) :
	(BC_R(attachedlabel)) :
	(BC_R(bar)) :
	(BC_R(line)) :
	(BC_R(markerformat)) :
	(BC_R(pie)) :
	(BC_R(scatter)) :
	(BC_R(series)) :
	(BC_R(shtprops)) :
	(BC_R(surf)) : Use it in place of passing in the ver
	(ms_excel_chart_read) : no need to pass version around
	(ms_chart_map_color) : adjust to change in excel_palette_get

	* ms-biff.c (ms_biff_password_hash) :
	(ms_biff_crypt_seq) :
	(ms_biff_pre_biff8_query_set_decrypt) :
	(ms_biff_query_set_decrypt) :
	(verify_password) : silence some sign difference warnings

2005-07-11  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_IMDATA) : Read the CONTINUE records
	  associated with the IMDATA even when not debugging. (#127756).

2005-07-11  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c (excel_write_SETUP): Export page
	orientation. I.e.: get the meaning of "orientation set" flag
	right, and don't mark it "invalid".

2005-07-09  Jon K Hellan  <hellan@acm.org>

	* ms-excel-read.c (excel_read_workbook): Read BOF before entering
	record reading loop (#152528).

2005-07-04  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (ms_excel_chart_read): correctly import error bars
	for line plots (#309457).

2005-07-01  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (axislineformat): import axis grids,
	(chart_write_axis): export axis grids.

2005-07-01  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: import error bars, (linear) regression curves and stock
	plots, export stock plots.

2005-06-28  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (cb_write_condition) : no need to unmap the kludge
	  to handle overlays with back colours and no pattern.  We handle that
	  in the core now.
	* ms-excel-read.c (excel_read_CF) : rather than kludging it here.  It
	  was breaking when applying a conditional to a base that already had
	  a pattern.

2005-06-27  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_FORMULA) : improve debug output

2005-06-22  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (map_color_to_palette) : simplify
	  and remove the direct comparisons to colours.  Just take an
	  index and return it on NULL or auto.
	(xl_le_set_range) : new.
	(write_border) : new.
	(cb_write_condition) : new.
	(excel_write_conditions) : new.
	(excel_write_DVALs) : renamed from excel_write_DVAL.
	(excel_write_prep_conditions) : new.
	(put_colors) : look in conditional styles too.

	* ms-excel-read.c (excel_read_CF_border) : new.
	(excel_read_CF) : implement.
	(excel_read_CONDFMT) : complete.

2005-06-13  Jody Goldberg <jody@gnome.org>

	* Release 1.5.2

2005-06-02  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (excel_parse_formula) : slight improvement of
	  extended ptg parsing.  Use the test workbook to tell which items put
	  something on the stack and which do not.

2006-06-02  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* plugins/excel/ms-chart.c (BC_R): use gog_object_set_position_flags.

2005-05-25  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_sheet) : store the default style after
	  we parse the sheet.  For older xls formats XF records happen after
	  the BOF.

2005-05-24  Morten Welinder  <terra@gnome.org>

	* ms-biff.c (ms_biff_query_destroy): Work harder at not leaving
	passwords in memory.
	(makekey): Ditto.
	(verify_password): Ditto.

	* ms-excel-read.c (excel_read_FILEPASS): Plug leak.

2005-05-18  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=166611
	* ms-formula-read.c (excel_parse_formula) : Create a fwd declaration
	  of a NAME record that has not been read yet being used in a PTG_NAME.

	* ms-excel-read.c (excel_read_NAME) : keep a count of the name
	  records and use fwd declaration if they exist.
	(excel_workbook_destroy) : move the names array into the workbook from
	  the container.
	(excel_workbook_new) : ditto.

2005-05-18  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=304528
	* ms-chart.c (ms_excel_chart_read) : don't leak the array for invalid
	  series (Analysis.xls).  Handle missing siindex record (chap03-1.xls).

2005-05-19  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=304558
	* ms-excel-read.c (excel_read_COLINFO) : we can't draw columns without
	  margins yet so map their width to 4pts rather than hiding them.

2005-05-17  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (ms_excel_chart_read) : add some protection

2005-05-17  Morten Welinder  <terra@gnome.org>

	* ms-chart.c (excel_chart_series_new): Set data[i].series also.

2005-05-16  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (ai): replace a g_assert by a warning,
	(seriestext): add a const to fix a compilation warning,
	(end): fix default-style-has-lines,
	(chart_write_AI): fix a compilation warning and labels export,
	(ms_excel_chart_write): export GogSurfaceSeries.

2005-05-16  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c: Always set ->text_dir.

2005-05-16  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_XF) : remove debug spew

2005-05-14  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (chart_write_AI): fixed tests, (chart_write_axis_sets ):
	add a missing break.

2005-05-13  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (chart_write_AI): don't forget toi export the >AI record
	even for constant labels!

2005-05-13  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (seriestext): use a constant GnmExpr instead of
	a GODataScalarStr, (chart_write_AI): export constant series labels,
	(chart_write_siindex): fix a stupid bug.


2005-05-13  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (chart_write_AI): fix a crash condition. Constant series
	names are not exported yet.

2005-05-12  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_ROW) : fix debug spew

2005-05-12  Jody Goldberg <jody@gnome.org>

	* ms-pivot.c (excel_read_pivot_caches) : don't produce warnings for
	  files without OLE2 wrapper

2005-05-12  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: export series data when constant;

2005-05-10  Jody Goldberg <jody@gnome.org>

	* Release 1.5.1

2005-05-09  Morten Welinder  <terra@gnome.org>

	* ms-chart.c (chart_write_axis): Fix C99ism.

2005-04-23  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (excel_func_desc) : We do not need the VARARG vs
	  FIXED flags anymore min_args vs max_args is enough.  Replace both
	  with XL_STD.
	(make_function) : No need to generate warnings about VAR vs FIXED
	* ms-formula-write.c (write_funcall) : Use max_args from the func
	  descriptor

2005-05-07  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (excel_chart_series_new), (ai), (series), (siindex),
	(switch), (while), (if): enhanced import of data, and make some work
	on coutour plots export.

2005-05-04  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c : Add ISHYPERLINK

	* ms-excel-write.c (excel_write_COLINFO) : patch a minor leak.

	* boot.c (excel_read_metadata) : close the meta data streams.
	(excel_file_open) : let the summary props override the document.

2005-04-10  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: (3d), (ai), (axis), (surf), (switch):
	import contours and surfaces plots.

2005-04-09  Jody Goldberg <jody@gnome.org>

	* boot.c (excel_save) : Use the new GsfDocMetaData api
	(excel_read_metadata) : ditto.
	(excel_file_open) : ditto.

2005-03-24  Stepan Kasal  <kasal@ucw.cz>

	* Makefile.am (excel_la_LIBADD): Add an explanation for $(Z_LIBS).

2005-03-23  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_workbook) : add a hook to read pivot
	  table caches.  It doesn't do much yet, but it's a start.
	* ms-biff.c (ms_biff_query_copy_decrypt) : new TODO
	* boot.c : Add a debug hook for pivots, and remove pointless comments
	* biff-types.h : update for the pivot table and cache elements
	* Makefile.am : Add ms-pivot.[ch]

2005-03-23  Morten Welinder  <terra@gnome.org>

	* ms-escher.c (ms_escher_read_OPT): Use g_fopen, not fopen.
	* ms-excel-read.c (excel_read_IMDATA): Ditto.

2005-03-15  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_workbook) : init n when totaling the
	  number of cells.

2005-03-14  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c: import/export logarithmic axis.

2005-03-13  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* ms-chart.c (BC_R): use gog_chart_get_axes.
	(chart_write_axis_sets): use gog_chart_get_axis_set.
	s/AXIS_ELEM/GOG_AXIS_ELEM

2005-03-12  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_DV) : Lists also have no use for
	  operators.
	  Invert the use_dropdown flag.  XL stores that as 'suppress combo'
	* ms-excel-write.c (excel_write_DV) : invert user_dropdown

2005-03-11  Jean Brefort <jean.brefort@normalesup.org>

	* ms-chart.c (valuerange): import logarithmix axis mapping.

2005-02-16  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_workbook) : Use count_io_progress_set
	  so that we can remove workbook_io_progress_set.

2005-02-09  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_BOUNDSHEET) : set the visibility of
	  imported sheets.

2005-02-08  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_SETUP) : drop debug spew

2005-02-08  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (txomarkup_new): Work around Pango bug #166700.
	Don't compare freed pointer against NULL.  Fixes #166532.

2005-02-07  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_SETUP) : store the fit to pages width
	  and height.
	(excel_write_WSBOOL) : set the fit to page flag.

	* ms-excel-read.c (excel_read_WSBOOL) : read the fit to page flag.
	(excel_read_SETUP) : read the fit to pages width and height.

2005-02-08  Jody Goldberg <jody@gnome.org>

	* Release 1.5.0

2005-02-07  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_font_overlay_pango): Plug leak.
	[#166561]

2004-12-07  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_WINDOW2) : export sheet level rtl
	  setting (we could move it to SheetView)
	(build_xf_data) : store the text dir.
	(excel_write_XF) : write it.

	* ms-excel-read.c (excel_read_WINDOW2) : read sheet level rtl flag
	(excel_read_XF) : read the text dir.
	(excel_get_style_from_xf) : store the text dir.

2005-01-17  Jody Goldberg <jody@gnome.org>

	* Release 1.4.2

2005-01-16  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_COLINFO) : fix the breakage

	http://bugzilla.gnome.org/show_bug.cgi?id=163236
	* ms-formula-read.c (excel_func_desc) : Merge in the latest OOo data
	  and some new research

	* boot.c (plugin_init) : add some function table validation tests.
	  We'll want more as the data structures get cleaned up

2005-01-14  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=155719
	* ms-excel-write.c (writer_header_footer) : quick and easy
	  implementation.
	* ms-excel-read.c (xl_hf_strstr) : simple handling of XL's ampersand
	  escaping.
	(excel_read_HEADER_FOOTER) : implement.

2005-01-13  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=163409
	* ms-excel-write.c (excel_write_COLINFO) : handle ci == NULL
	  so that we can export empty cols with formats.  If the format is the
	  same as the sheet default don't bother to export.
	(excel_write_colinfos) : we may need to export empty cols.

2005-01-10  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=163406
	* ms-excel-util.c (init_xl_font_widths) : fix entries for Bitstream
	  Vera and Sans

2005-01-10  Jody Goldberg <jody@gnome.org>

	* ms-formula-write.c (write_arrays) : handle booleans and errors in
	  arrays

2004-11-13  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_sheet_realize_obj) : We have a clear separation
	  between create and realize now, we should use it.  This routine sets
	  the content.
	(ms_sheet_create_obj) : this one creates objects for use later.
	  I am not entire happy with this split.  It no longer feels
	  necessary but it is much too close to release to contemplate
	  cleaning it up.

2004-12-17  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=161534
	* ms-excel-read.c (excel_read_DIMENSIONS) : be extra anal with
	  dimension records because they have ordinal zero

2004-11-20  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* ms-excel-read.c (excel_read_SETUP): Also import paper sizes for which
	gnome-print doesn't have names.

2004-12-09  Jody Goldberg <jody@gnome.org>

	* Release 1.4.1

2004-12-09  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(surf)) : prep but leave ifdefed to avoid problems
	  with XL's funky representation of axes.

2004-11-28  Jody Goldberg <jody@gnome.org>

	* Release 1.4.0

2004-11-28  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_WINDOW2) : document rtl
	* ms-excel-write.c (excel_write_WINDOW2) : ditto

2004-11-19  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* ms-chart.c (BC_R(radararea)): type of area radar is
	GogRadarAreaPlot.
	(chart_write_plot): ditto.

2004-11-16  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (ms_excel_chart_write) : ultra-basic handling of graphs
	  with multiple charts

2004-11-15  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_SETUP) : hide some spurious debug spew

2004-11-15  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=157997
	* ms-excel-read.c (ms_sheet_realize_obj) : a temp patch for the object
	  double unrefing.  A more significant patch is waiting for after
	  release.

2004-11-14  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* ms-excel-read.c (excel_read_SETUP): Import paper sizes. This works
	  now that we have delayed instantiation of print configs. For now it
	  only works for paper sizes for which gnome-print has names though.

2004-11-07  Jody Goldberg <jody@gnome.org>

	* Release 1.3.93

2004-10-31  Jody Goldberg <jody@gnome.org>

	* Release 1.3.92

2004-11-01  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (ms_biff_get_chars): Give g_iconv the right kind
	of pointer.

	* ms-excel-write.c (excel_write_string): Ditto.
	(excel_write_string_len): Change second argument to be size_t*.

	* ms-excel-read.h (ms_biff_get_chars): Give g_iconv the right kind
	of pointer.

	* ms-excel-write.h (excel_write_string_len): Change second
	argument to be size_t*.

	* ms-escher.c (ms_escher_get_data): Fix confusion between
	ptrdiff_t and int.

2004-10-18  Jon K Hellan  <hellan@acm.org>

	* ms-obj.c (ms_obj_read_pre_biff8_obj): Unref pixbuf returned by
	excel_read_IMDATA.

	* ms-excel-read.c (excel_read_os2bmp): New. Handle headerless OS/2
	bitmap.
	(excel_read_IMDATA): Call excel_read_os2bmp to handle OS/2
	BMP. Other format may be dumped to file.
	(excel_read_sheet): Unref pixbuf returned by excel_read_IMDATA.

2004-10-15  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_sheet_new): Don't free the same thing
	twice.

2004-10-11  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (ms_sheet_realize_obj): Plug leak.

2004-10-10  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_obj_map_forms_obj) : move here and pull in the linked
	  cell data when available.

2004-10-08  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_obj_read_biff8_obj) : some simple mapping from Forms
	  objects to things we understand.  No properties imported yet.

	http://bugzilla.gnome.org/show_bug.cgi?id=154734
	* ms-chart.c (BC_R(end)) : cheesy swapping of the formatting
	  associated with X and Y axes for bar plots.

2004-10-05  Jody Goldberg <jody@gnome.org>

	* Release 1.3.91

2004-09-16  Stepan Kasal  <kasal@ucw.cz>

	* Makefile.am (excel_la_LIBADD): New variable, set to $(Z_LIBS).
	(INCLUDES): add $(Z_CPPFLAGS)

2004-09-24  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_obj_attr_new_flag) : add some safety checking
	(ms_obj_read_pre_biff8_obj) : merge up the handling of similar
	  structures to get more consistent import.

	* ms-excel-write.c (excel_write_objs) : now that text boxes and
	  rectangles are the same we need to do more work to figure out which
	  are which.  Make a list and use that in place of repeated lookups.
	(excel_sheet_new) : make the list here.
	(excel_write_state_new) : use the list.
	(excel_sheet_free) : new.
	(excel_write_state_free) : use excel_sheet_free.

	* ms-excel-read.c (ms_sheet_map_color) : rework to use GOColor
	(ms_sheet_realize_obj) : simplify greatly by using GObject properties
	  with common names in the sheet objects and merging the handling of
	  related types (text==rectangle ...)
	(ms_sheet_create_obj) : Use the new object types in a step towards
	  removing this function.

	* ms-escher.c (ms_escher_read_OPT_bools) : new.
	(ms_escher_read_OPT) : read the boolean blocks as a group to avoid
	  kludging around the infrastructure for 1:1 properties.
	 While in here make the debug spew for complex options more useful
	 Store PTR properties

2004-09-17  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_sheet_realize_obj) : default to outline with == 1

2004-09-22  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=153260
	* ms-excel-write.c (excel_write_BOF) : use the versioned ids directly
	(excel_write_FORMULA) : ARRAY is v2 for the versions we can export

	* ms-excel-read.c (excel_unexpected_biff) : tweak the typing for
	  printf
	(ms_biff_bof_data_new) : straight to opcodes.
	(excel_read_PALETTE) : ditto.
	(excel_formula_shared) : ditto.
	(excel_read_DEF_ROW_HEIGHT) : ditto.
	(excel_read_FORMULA) : ditto, but be careful.  Use the BOF version,
	  not the record.  Our export was dropping the version.
	(excel_read_ROW) : better handling for old versions.

	* ms-chart.c (ms_excel_chart_read) : use raw opcodes for non-chart
	  records

	* ms-biff.c : Drop all the ms_op ls_op nonsense and just store opcode
	  a straight 16 bit id.

	* biff-types.h : Rework to include explicit versioning for all records
	  We were hitting too many odd ball records with invalid versioning
	  Not just 0x1<byte>, but also 0x8<byte> even though that is a valid
	  version.

2004-09-16  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (xl_find_fontspec) : Scale the right direction

2004-09-18  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* ms-excel-read.c: Added comments on how the paper size information can
	  be used once gnome-print's API has been extended.

2004-09-17  Jody Goldberg <jody@gnome.org>

	* ms-escher.c (ms_escher_read_OPT) : make debug spew slightly easier
	  to read.

2004-09-16  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c (xf_init): Register default XF, its font and
	format here.
	(pre_pass): Not here.

2004-09-15  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c (txomarkup_new): New. Factored out of
	cb_cell_pre_pass.
	(cb_cell_pre_pass): See above.
	(excel_write_ClientTextbox): Change first parameter to
	ExcelWriteState. Save markup.
	(excel_write_textbox): See above.
	(extract_txomarkup): New. Extract markup for text object and store
	in hash table.

2004-09-14  Jody Goldberg <jody@gnome.org>

	* ms-excel-util.c (init_xl_font_widths) : rework the font table
	  completely to use more closely calibrated size info.

	* ms-excel-read.c (base_char_width_for_read) : delete
	(xl_find_fontspec) : new.
	(excel_read_COLINFO) : rework to simplify by using the new font table,
	  and sync it with the exporter.
	(excel_read_DEF_COL_WIDTH) : ditto.
	(excel_read_sheet) : Store the default style on import.  We have no
	  way of modifying it at run time, so we might as well use it for
	  export.

2004-09-09  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(pieformat)) : Store the separation for singletons
	(cb_store_singletons) : Check for pie separation and use it

2004-09-09  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (excel_chart_series_new) : init singletons
	(excel_chart_series_delete) : free singletons if necessary
	(BC_R(end)) : Create any singletons for the newly created series

2004-09-09  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_PALETTE): Plug leak.

2004-09-08  Jody Goldberg <jody@gnome.org>

	* Release 1.3.90

2004-09-07  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (palette_init) : Just use biff8 palette.  We're
	  going to dump a custom palette anyway so it does not really matter

2004-09-04  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c (excel_write_ClientTextbox,
	excel_write_textbox): Implement simple text box export.
	(excel_write_objs, excel_sheet_new): Export text boxes.

2004-09-03  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (palette_init) : Export the xlp5 colours too

	* ms-obj.c (ms_obj_read_pre_biff8_obj) : remove some unnecssary
	  pre-conditions that got confused when there was no name even when we
	  were not expecting one.
	(excel_get_default_palette) : get a corrected palette for biff7.

	* ms-excel-read.c (ms_sheet_realize_obj) : merge the realization of
	  text/label/rectangle/oval they all inherit from sheet-object-filled.

	* ms-escher.c (ms_escher_read_OPT) : Make some headway understanding
	  booleans and use that to fix outline and fill handling.

2004-09-02  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=151618
	* plugins/excel/ms-chart.c (BC_R(end)) : Add the plot to the chart
	  before setting it up so that the initial setup does not override the
	  formatting

2004-08-31  Jody Goldberg <jody@gnome.org>

	* ms-biff.c (ms_biff_crypt_seq) : Add some bounds checking
	  We need more docs in here.

2004-08-30  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_BOUNDSHEET) : Export the sheet types
	  we can import (worksheet, chart, xlm).
	  Export sheet visibility too

2004-08-31  Morten Welinder  <terra@gnome.org>

	* md5.c (wvMD5Init, wvMD5Update): Use ANSI prototypes.

2004-08-29  Jody Goldberg <jody@gnome.org>

	* plugin.xml.in : disable the non-functional spreadsheetml importer

2004-08-29  Jody Goldberg <jody@gnome.org>

	* Release 1.3.2

2004-08-29  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=151150
	* ms-chart.c (ms_excel_chart_write) : bar/col plots center axis ticks

2004-08-27  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (ms_excel_chart_write) : MS Xl cannot handle plots with
	  no data.  Drop them with a warning.

	* ms-excel-write.c (excel_write_workbook) : We only need a header if
	  we're going to export an image.

2004-08-26  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c: Remove ENABLE_METAFILE ifdef

2004-08-22  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(area,bar,line)) : Use the in_3d placeholders in
	  plot_1_5d, we already export it.

2004-08-21  Jon K Hellan  <hellan@acm.org>

	* ms-excel-read.c (excel_read_IMDATA): Add comment about OS/2 BMP
	format.

2004-08-20  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_BOUNDSHEET) : Fix differentiation
	  between sheet and chart, then handle both.
	(excel_read_BOF) : Handle full page charts.

	* ms-chart.c (BC_R(pieformat)) : no need to limit separation here.
	  The plot can handle it.

2004-08-17  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c: Enable WMF/EMF export.
	(blipinf_free): Don't crash if blip is NULL. That's supposed to
	happen.
	(excel_write_vector_blip): Fix off by 8 bytes error.

2004-08-12  Jody Goldberg <jody@gnome.org>

	* ms-excel-util.c (init_xl_font_widths) : adjust the sizes for 'Sans'
	  to conform to XL's notion of an unknown font

2004-08-15  Jody Goldberg <jody@gnome.org>

	* ms-formula-write.c (write_node) : get closer to matching the classes
	  for the more obscure variants, OOo is wrong, but I don't have a
	  clear map on what is right yet.

	* ms-excel-write.c (excel_write_BOF) : update the version in the BOF a
	  bit.

	* ms-formula-read.c : tweak the expected return types for SUM,
	  TRANSPOSE, MINVERSE, and MMULT

2004-08-11  Jon K Hellan  <hellan@acm.org>

	* ms-excel-read.c (excel_formula_shared): Simplify using g_memdup.
	(excel_read_IMDATA): Initialize variables.

	* ms-escher.c (ms_escher_blip_new, ms_escher_read_ClientAnchor):
	Ditto.

	* crypt-md4.c: Include crypt-md4.h and make signatures consistent
	with it.

	* crypt-md4.h: Add include guards.

2004-08-11  Jon K Hellan  <hellan@acm.org>

	Export images.

	* Makefile.am (excel_la_SOURCES): Add crypt-md4.[ch]

	* crypt-md4.[ch]. New files. MD4 checksum to use as BLIP
	id. Grabbed from Ethereal, originally from Samba.

	* ms-excel-write.c:
	(blipinf_new): New function. Initialize a record for image data.
	(blipinf_free): New function. Free an image data record.
	(excel_write_image): New function. Write an image Sp record
	referencing a BLIP.
	(excel_write_objs): Include images in record length. Write images.
	(excel_sheet_new): Save image info.
	(excel_write_image_bytes): New function. Save image in chunks,
	letting the biff layer insert CONTINUE records.
	(excel_write_vector_blip): New function. Save a vector format BLIP.
	(excel_write_raster_blip): New function. Save a raster format BLIP.
	(get_bliptype): New function. Get bliptype record.
	(excel_write_blip): New function. Save an image BLIP.
	(excel_write_blips): New function. Save the images as BLIPs.
	(excel_write_workbook): Get length of BLIP records. Call
	excel_write_blips.
	(excel_write_state_new): Initialize cur_blip.
	(excel_write_state_free): Free BLIP lists from sheets.

	* ms-excel-write.h (struct ExcelWriteSheet): Add blips, num_blips.
	(struct _ExcelWriteState): Add cur_blip.

2004-07-10  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_workbook) : write WINDOW1 for all the views
	(excel_write_sheet) : Drop the WINDOW1 here but expand to write a
	  WINDOW2, PANE, SCL, SELECTION tuple for all views, not just the
	  current

2004-07-19  Jody Goldberg <jody@gnome.org>

	* Release 1.3.1

2004-07-05  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_IMDATA) : Add an optional mechanism for
	  doing something with the data.  Still not entirely sure what format
	  it is.  I'd hoped BMP but that does not appear to work.

	* biff-types.h : Add a few more records

2004-06-29  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_REFMODE) : new.
	* ms-excel-write.c (write_sheet_head) : export REFMODE

2004-06-26  Jody Goldberg <jody@gnome.org>

	* boot.c (excel_read_metadata) : Failure is a warning, not
	  catastrophic

	* ms-chart.c (ms_excel_chart_write) : do not write FBI
	(chart_write_axis_sets) : Handle transposed X-Y (bars)

2004-06-22  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (extract_gog_object_style) : handle no fmt for axis.
	(excel_write_objs) : the count is +1, not the spid

2004-06-20  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (palette_get_index) : make public
	(excel_write_start_drawing) : new to handle spids across sheets.
	(excel_write_autofilter_objs) : use it.
	(excel_write_chart) : use it.
	(excel_write_objs) : do more detailed obj setup here.
	(put_color) : minor simplification.
	(extract_gog_object_style) : new
	(excel_write_state_new) : use it to collect the colors for the
	  palette.
	(excel_sheet_new) : decide on sheet obejcts to export here.

	* ms-escher.c (-excel_write_MS_O_DRAWING_GROUP) : delete

	* ms-chart.c (}) : First pass at a basicly working chart exporter

2004-06-13  Jody Goldberg <jody@gnome.org>

	* ms-escher.c (excel_write_MS_O_DRAWING_GROUP) : merge the xp and 2k
	  versions and tidy up.  This will likely need some work for blips

	* ms-chart.c (chart_write_plot) : implement the plot types we can
	  import.
	(chart_write_axis) : provide a default for inverted and
	  log-scale so that we only set them if lookup succeeds.
	(ms_excel_write_chart) : more work.  gnumeric and OOo can
	  now import the basic column charts.  XL does not like the colours
	  and gets the formatting wrong, but it can at least read a single
	  chart happilly.

	* ms-excel-write.c (excel_write_chart) : put the spid in the write
	  spot I was off by two bytes.
	(excel_write_autofilter_objs) : Move the container wrapper from here
	(excel_write_objs) : to this new routine so that it can be shared by
	  filters and charts.  We are now close to bit perfect matches to XP.

2004-06-07  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_chart) : add and End after the common

	* ms-chart.c (chart_write_color) : write.

2004-06-08  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_FILEPASS): Use gnm_destroy_password.

2004-06-05  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_chart) : sync the sizes when exporting
	  the anchor and object id.

2004-06-01  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(end)) : patch style leak

2004-05-31  Jody Goldberg <jody@gnome.org>

	* ms-chart.c : more fill in the blanks work towards export.
	(BC_R(seriestext)) : Use the simpler GODataScalarStr

2004-05-26  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_AUTOFILTERINFO) : Use the right buffer

2004-05-24  Jody Goldberg <jody@gnome.org>

	* ms-chart.c : more work towards chart export

	* ms-biff.c (ms_biff_put_2byte) : fix.

2004-05-21  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_WSBOOL) : add more comments.

	* ms-chart.c (ms_excel_write_chart) : start filling in some of the
	  blanks.  No where near functional, but at least we can operate in
	  'paint by numbers' mode for a while.

	* ms-biff.c (ms_biff_put_empty) : new util
	(ms_biff_put_2byte) : ditto.

	* ms-excel-write.c : Use the new utilities to clarify the code.
	(excel_write_SETUP) : make public for use in chart export
	(excel_write_SCL) : make public for use in chart export

2004-05-20  Morten Welinder  <terra@gnome.org>

	* ms-escher.c (ms_escher_read_Blip): We were reading 8 bytes too
	few.

2004-05-15  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_BOF) : init the len for bifftypes
	  before biff8.
	http://bugzilla.gnome.org/show_bug.cgi?id=103054
	(write_sheet_head) : put externsheet tables in every sheet for biff7
	(excel_write_externsheets_v8) : The self reference is for the addin,
	  not the others.  Fixes 103054 for XL97
	(excel_write_workbook) : NAME records start at 0, not at the end of
	  the externname table

	* boot.c (excel_file_open) : 95 in should export as 95
	(find_content_stream) : keep track of what type of stream this is.

	* ms-chart.c (BC_R(axislineformat)) : deleted axis still exist, and
	  they hide their labels here rather than in tick.  Don't apply grid
	  line styles to the axis.

2004-05-10  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(end)) : doh!  Use the ExcelSeries::has_legend to
	  set the GogSeries not the GogSeries on itself.

2004-05-09  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_WINDOW2) : It seems like there can be
	  multiple WINDOW2, SCL, PANE, SELECTION blocks when there are
	  multiple windows.  For now we don't support importing multiple views
	  so we need to at leat not break if a previous view was frozen.

2004-05-07  Jody Goldberg <jody@gnome.org>

	* ms-biff.c (ms_biff_put_var_write) : Quick and simple support for
	  continue.  It will not split a block of content, but it will split
	  between blocks (attempted writes).

2004-05-06  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_obj_attr_get_*) : Take an attrbag rather than an obj to
	 be more useful.

	* ms-escher.c (ms_escher_read_container) : add a
	  'return_attrs_in_container' kludge parameter.
	(ms_escher_parse) : make the return of the attributes optional and
	  actually make it work.
	(ms_escher_read_OPT) : load properties for gradients.

	* ms-chart.c (BC_R(gelframe)) : support gradients
	(BC_R(legend)) : store the legend object.
	(BC_R(legendxn)) : notice deleted legend elements.
	(BC_R(text)) : import the text colour.
	(BC_R(end)) : support legend styles and clarify the grid vs plotarea
	  distinction.

2004-05-03  Jody Goldberg <jody@gnome.org>

	* excel-xml-read.c : some tweaks to get a layout that will support
	  richtext.

2004-05-04  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_DV): Map VALIDATION_OP_NONE to
	VALIDATION_OP_BETWEEN on save.

	* ms-excel-read.c (excel_read_DV): Make sure
	VALIDATION_TYPE_CUSTOM is paired with VALIDATION_OP_NONE.

2004-04-29  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_font_overlay_pango) : new.
	(excel_write_RSTRING) : new.
	(cb_cell_pre_pass) : merge cb_collect_value_fmts, sst_collect_str
	  add support for richtext
	(excel_write_cell) : export RSTRINGS for richtext

2004-04-22  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=136086
	* ms-excel-write.c (excel_sheet_write_DBCELL) : optimization was a bit
	  optimistic.  Even if there are no values, we still need to export
	  rows with visible formatting (borders, backgrounds, ...)

2004-04-21  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_LABEL): Plug leak.

2004-04-20  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (sst_read_string) : Use the right string when
	  calculating offsets.

2004-04-19  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(end)) : graph style wants outline not line
	(ms_excel_read_chart) : there is not 'Graph' concept in xls, remove
	  it's style.  Charts default to blank too.

2004-04-19  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_sheet_insert_val) : fix the fix.
	  We do need to apply the style, even if we're not going to assigned
	  the format to the value.

2004-04-19  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (sst_read_string) : don't forget the last markup
	  element.  Leave some debug in here to figure out what's going on
	  with quick test.

2004-04-19  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_sheet_insert_val) : only assign a format if
	  there is no existing markup.
	(sst_bound_check) : do some extra checking to ensure the existence of
	  unbroken region of desired length.
	(sst_read_string) : handle rich text.

2004-04-18  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_obj_read_pre_biff8_obj) : fix the name offset for
	  polygons

	* ms-excel-read.c : convert global_string char * array into an
	  ExcelStringEntry sst array with strings and markup in preparation
	  for reading richtext from an SST.

2004-04-17  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_HEADER_FOOTER) : new to handle biff8 vs
	biff7
	(excel_read_LABEL_markup) : new.  Handle biff[57] and biff8 RSTRING
	  markup

2004-04-17  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_str_name) : new.
	(excel_read_str_name) : split from here.
	(excel_read_EXTERNNAME) : used here too.

	* ms-excel-read.c (excel_read_XF_OLD) : differentiate biff2 vs biff3
	  and biff4.

2004-04-15  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (ms_excel_read_chart_BOF) : ignore the version in the BOF
	  it lies.  Use the container's version.

	* ms-excel-read.c (excel_read_NAME) : rework to handle unicode
	  suffixes and to some general cleanup.

2004-04-14  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_DEF_ROW_HEIGHT) : handle biff2
	(excel_read_WINDOW2) : ditto.
	(excel_read_EXTERNSHEET_v7) : be smarter about handling the buggy
	  files from 1.0.7 that exported quoted sheet names.

2004-04-12  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c : Use GO_UNIT in place of inches_to_points.

2004-03-28  Jody Goldberg <jody@gnome.org>

	* Release 1.3.0

2004-03-18  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_WINDOW2) : We only support frozen
	  panes.  Set the flag indicating that this was only a freeze, not a
	  split too.
	(excel_write_PANE) : docs are wrong.  The field indicates what type of
	  freezing.
	(excel_write_selections) : rework to match XL.
	(excel_write_SCL) : Only write the record if zoom != 100%
	(excel_write_BOF) : update BOF to XP sp2

	* ms-excel-read.c (excel_read_SELECTION) : Allow the active pane from
	  the PANE record to override the default of 3.
	(excel_read_PANE) : store the active pane.

2004-03-16  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=137377
	* ms-obj.c (ms_read_TXO) : init markup even if there is no string.

2004-03-11  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=136730
	* ms-excel-read.c (excel_get_xf) : be more flexible and handle xls
	  generated with no XF records.
	(excel_get_style_from_xf) : ditto.
	(excel_sheet_insert_val) : ditto.

	* ms-obj.c (ms_obj_read_pre_biff8_obj) : despite the name
	  PangoAttributes::end_index is exclusive, not inclusive.

2004-03-08  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_XF) : throw in a simple heuristic for
	  when to set a valueformat.  At issue is that we want to display
	  dates/times formatted, but do not want to display accounting
	  formats.  This kludge disables the application for any format that
	  has more than one condition.  It's not strictly a solution, but it
	  will solve the common problems.

2004-03-06  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_obj_read_pre_biff8_obj) : handle outline width for text
	  boxes.
	* ms-excel-read.c (ms_sheet_create_obj) : ditto.

2004-03-06  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_obj_attr_new_markup) : new.
	(ms_obj_attr_get_markup) : new.
	(ms_obj_attr_destroy) : teach about PangoAttrList
	(append_txorun) : new.
	(ms_obj_read_pre_biff8_obj) : font colours come with the FONT info in
	  txoruns.  The docs are wrong the colour in the record is useless.
	  Remove some extra debug spew.

	* ms-excel-read.c (excel_wb_get_fmt) : no point using pointers to
	  ints.  Just use G_INT_TO_POINTER.
	(ms_sheet_get_fmt) : ditto.
	(excel_read_BOUNDSHEET) : ditto.
	(excel_workbook_new) : ditto.
	(excel_workbook_reset_style) : ditto.
	(base_char_width_for_read) : ditto.
	(excel_read_FORMAT) : ditto.
	(excel_read_FONT) : ditto.
	(excel_get_font) : ditto.
	  Also no need for this to take a sheet, take a workbook.
	(biff_font_data_destroy) : free the new optional attr lists.
	(ms_sheet_create_obj) : Use markup rather than a single colour.
	(biff_guint16_hash (guint16 const *d)
	(biff_guint32_hash (guint32 const *d)
	(biff_guint16_equal) : delete.
	(biff_guint32_equal) : delete.
	(excel_get_style_from_xf) : remove some useless code now that font
	  substitution is handled at the app level.
	(add_attr) : new.
	(ms_wb_get_font_markup) : new.  build a PangoAttrList from a FONT record.

	* ms-container.c (ms_container_get_fmt) : automatically chain up
	(ms_container_get_markup) : new.

	* ms-chart.c (chart_get_fmt) : delete.

2004-03-03  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (excel_formula_parses_ref_sheets) : extend to
	  handle local 3d references properly.

2004-02-22  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(end)) : We're using GogRadar rather than GogRadial.
	  Set the no-marker state using the right name.
	(BC_R(radararea)) : set the area flag to indicate filled.

2004-02-21  Jody Goldberg <jody@gnome.org>

	* ms-excel-util.c (two_way_table_new) : store the destroy func.
	(two_way_table_put) : patch leak and use the destroy func on things
	  that are already in the table.

	* ms-chart.c (BC_R(radar)) : connect the new engine
	(BC_R(radararea)) : ditto.

2004-02-09  Morten Welinder  <terra@gnome.org>

	* ms-biff.c (ms_biff_query_next): Change to return gboolean and
	fix the g_return_val_if_fail results.

2004-02-04  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_CODENAME) : new routine to store the
	  codename for later use while round tripping.
	(excel_read_sheet) : use it here.
	(excel_read_workbook) : use it here.

	* ms-excel-write.c (excel_write_CODENAME) : new routine to use the
	  stored codename rather than generating one on the fly.
	(excel_write_sheet) : use it here.
	(excel_write_workbook) : and here.

2004-01-29  Jody Goldberg <jody@gnome.org>

	From Nick Lamb <njl98r@ecs.soton.ac.uk>
	* ms-excel-read.c (excel_read_FILEPASS) : new.
	(excel_read_sheet) : use it here.
	(excel_read_workbook) : and here.

2004-01-28  Jean Brefort  <jean.brefort@ac-dijon.fr>

	* plugins/excel/ms-chart.c: (scatter):add import of bubble plots

2004-01-28  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* ms-excel-read.c (excel_read_SETUP): use print_info_set_orientation
	* ms-excel-write.c (excel_write_SETUP): ditto

2004-01-16  Jody Goldberg <jody@gnome.org>

	* ms-escher.c (ms_escher_get_data) : as pointed out by Nick Lamb
	  some gelframe records can get rather big.

2004-01-14  Jody Goldberg <jody@gnome.org>

	From Nick Lamb <njl98r@ecs.soton.ac.uk>
	* ms-biff.c : Merge in patch to support xor based 'encryption'

2004-01-12  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=130791
	* ms-formula-write.c (excel_write_prep_expr) : fix cut-n-paste-o in
	  change for 1.2.2 that added macros and broke plugin functions.

2004-01-07  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_SELECTION) : disable some debug spew.

2004-01-07  Jon K Hellan  <hellan@acm.org>

	* ms-chart.c (BC_R(legend)): Initialize pos for XL_pos = 7.

2004-01-05  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=130577
	* ms-excel-write.c (excel_write_SELECTION) : generalize a bit.
	(excel_write_selections) : new wrapper to handle selectins for each pane

	http://bugzilla.gnome.org/show_bug.cgi?id=130579
	* ms-excel-read.c (excel_read_SELECTION) : we only care about
	  selections in the primary pane.

2003-12-24  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_WRITEACCESS) : don't free memory we do
	  no own.
	(excel_write_COUNTRY) : init both fields.
	(write_sheet_head) : pre biff8 it was part of the sheet record.  Its
	  hard to tell if this should be part of every sheet or just the first.
	  I've seen both.
	(write_workbook) : biff8 puts the COUNTRY record in the workbook area.

2003-12-23  Jody Goldberg <jody@gnome.org>

	* Release 1.2.3

2003-12-22  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(ifmt)) : pull in axis value format.

2003-12-19  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c (excel_write_WRITEACCESS): Use
	gnm_get_real_name to get user name.

2003-12-18  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (XL_gog_series_set_dim) : Don't leak data we're not
	  expecting.
	(BC_R(get_style)) : new.  creates the style as necessary, and flags it
	  to ignore the object's default settings.

2003-12-13  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=127625
	* ms-excel-read.c (excel_sheet_destroy) : kludge around autofilters in
	 XL97 that have no related drop downs (eg guia.xls)

2003-11-26  Jody Goldberg <jody@gnome.org>

	* Release 1.2.2

2003-11-25  Jody Goldberg <jody@gnome.org>

	* ms-formula-write.c (excel_write_prep_expr) : handle macros.
	(write_funcall) : ditto.

	* ms-formula-read.c : add specs for the text_B_ functions
	(excel_parse_formula) : improve debug info.
	  Fix unicode strings.

	* ms-excel-write.c (write_workbook) : unsigned does not go < 0
	(cb_enumerate_macros) : new.
	(cb_write_macro_NAME) : new.
	(excel_write_names) : new.

	* ms-excel-read.c (get_xtn_lens) : add a limiter on the rich text
	  warning.
	(excel_formula_shared) : add some debug.
	(excel_read_NAME) : register macro functions.
	(excel_read_ROW) : disable debug spew.
	(excel_read_CF) : ditto.
	(excel_read_DIMENSIONS) : ditto.
	(excel_read_GUTS) : ditto.
	(excel_read_HLINK) : target frame is first (according to
	  xls-export-crash.xls) and the docs.
	(excel_read_SUPBOOK) : handle external workbooks with unicode names.

	* ms-escher.c (ms_escher_parse) : return the property bag.

2003-11-20  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(radar)) : Add a note.

2003-11-20  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (make_function) : Take a Workbook to allow for
	for book local function lookup.

2003-11-20  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_sheet_new) : Include row/col info in the
	  extent calculation.

	* ms-excel-write.c (excel_write_GUTS) : max col/row outline levels are
	  one based.

2003-11-19  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* ms-excel-read.c (excel_read_SETUP): use print_info_set_n_copies

2003-11-18  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(lineformat)) : Handle 'invisible'
	(BC_R(markerformat)) : none is never auto.
	(BC_R(end)) : Set the plot defaults for line and XY.

2003-11-17  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=127204
	* ms-chart.c (ms_excel_read_chart) : remove any grids that were
	  automaticly created if there were none in the input stream.

	* plugins/excel/ms-chart.c (BC_R(areaformat)) : we need to consider
	  pattern = 0 as NONE only if it is not autoformat.  Our theme engine
	  does not change fill types, so it would ignore styles with fill=NONE

2003-11-15  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (write_sheet_head) : save the manual recalc flag.

2003-11-14  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=126908
	* ms-excel-read.c (ms_sheet_create_obj) : gnumeric defaults to
	  different outline and background colours.  Set them if the file does
	  not so that things look xl-ish.

2003-11-13  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_sheet) : store a CODENAME
	(write_workbook) : ditto.

	* boot.c (excel_save) : store the saved properties if we have them
	(excel_file_open) : store CompObj and properties.
	(excel_read_metadata) : its easier to blob the stream.

2003-10-27  Jody Goldberg <jody@gnome.org>

	* boot.c (find_content_stream) : Move this logic here.
	(excel_file_open) : from here.
	(excel_file_probe) : so that this can share it.

2003-10-25  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_SELECTION) : doh!

2003-10-18  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=124244	[unable to open group]
	* ms-excel-read.c (excel_read_COLINFO) : set collapsed even if level == 0
	(excel_read_ROW) : ditto.

2003-10-13  Jody Goldberg <jody@gnome.org>

	* ms-biff.c (ms_biff_query_next) : fail if we run out of data part way
	  through a record.

	* ms-excel-read.c (excel_read_XF_OLD) : init all flags to FALSE.

2003-10-08  Jody Goldberg <jody@gnome.org>

	* Release 1.2.1

2003-10-08  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (conditional_set_double) : Use the new const val GOData
	  to support manual axis bounds and invert the logic to be correct.
	(BC_R(seriestext)) : store the text associated with axis and chart
	  labels.
	(BC_R(end)) : free strings associated with text records if they
	  haven't been used yet.

2003-09-30  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_HLINK) : typo 0x80 rather than 0x8 was
	  breaking import of local workbook links (Thanks to Tim for noticing)

2003-09-29  Jody Goldberg <jody@gnome.org>

	From Nick Lamb <njl195@zepler.org.uk>
	* boot.c (excel_file_probe) : bug in libgsf < 1.8.3 that would not
	  seek back to 0 on failed gsf_infile_msole_new.

2003-09-27  Jody Goldberg <jody@gnome.org>

	* ms-formula-write.c (write_funcall) : Use the last specified type for
	 the remainder of the args in a vararg function.

	* ms-formula-read.c : AND,OR, and IF args appear to be V not R

2003-09-27  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_SST) : be extra careful about unicode
	  characters > 0xfeff

2003-09-25  Jody Goldberg <jody@gnome.org>

	* ms-escher.c (ms_escher_read_OPT) : dump the complex data too so that
	  we don't forget it exists.

	* ms-chart.c (excel_chart_series_new) : init style.
	(excel_chart_series_delete) : unref style if necessary.
	(BC_R(color)) : DOH!  they use bgr no rgb.
	(BC_R(areaformat)) : handle none, and start work on pattern map.
	(BC_R(begin)) : make prettier with newline.
	(BC_R(dataformat)) : don't create the style here.  Do it on demand in
	  {area,line,marker}format.
	(BC_R(frame)) : notice the difference between a chart and a grid.
	(BC_R(markerformat)) : create the styles on demand.
	(conditional_set_double) : prep for importing manual axis bounds.
	(BC_R(valuerange)) : ditto.  Still need a static GOData.
	(BC_R(end)) : hook the series and plot default styles in.
	  Enable styles for charts and grids.

2003-09-23  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(lineformat)) : fix import of axis line styles.

2003-09-13  Nick Lamb <njl195@zepler.org.uk>

	* ms-excel-read.c (excel_sheet_new) : typo fix
	(excel_read_FORMAT) : Early BIFF uses smaller datatypes
	(excel_read_FONT) : Implement for early BIFF
	(excel_get_xf) : More early BIFF hacks
	(excel_read_XF_OLD) : New function, read OLD XF structures
	(excel_workbook_add_XF) : Obsoleted, removed
	(excel_formula_shared) : Early BIFF uses smaller datatypes
	(excel_workbook_reset_style) : New function, needed for XLW files
	(excel_read_EXTERNNAME) : typo fix, Early BIFF fixes
	(excel_read_NAME) : Early BIFF uses smaller datatypes
	(excel_read_sheet) : Style is per-sheet in XLW files, what default?
	 Use excel_read_XF_OLD instead of excel_workbook_add_XF
	(excel_read_BOF) : Stop using excel_workbook_add_XF,
	 report XL4 workbooks to stderr just like all other file types

	* ms-formula-read.c (excel_parse_formula) :
	 Handle PTG_SHEET and PTG_SHEET_END, at least for known examples
	 Also early BIFF as usual has smaller datatypes

2003-09-21  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (excel_parse_formula) : disable debug spew.

2003-09-21  Jody Goldberg <jody@gnome.org>

	* ms-formula-write.c (xl_map_char_to_type) : new util.
	(xl_get_op_class) : wrapper to help calculate the result class.
	(write_cellref_v7) : handle operand classes.
	(write_cellref_v8) : handle operand classes.
	(excel_formula_write_CELLREF) : ditto and operator mapping.
	(excel_formula_write_AREA) : ditto.
	(write_funcall) : ditto.
	(excel_formula_write_NAME_v8) : ditto.
	(excel_formula_write_NAME_v7) : ditto.
	(write_node) : ditto.
	(excel_write_formula) : collect more information on the calling context

2003-09-18  Jody Goldberg <jody@gnome.org>

	* ms-escher.c (excel_write_MS_O_DRAWING_GROUP) : Add UserDefined to
	  silence some warnings.

2003-09-16  Jody Goldberg <jody@gnome.org>

	* ms-formula-write.c : push all the 'shared' arguments into the
	  PolishData that we're passing around anyway.

	* ms-formula-write.c (excel_write_prep_expr) : register functions that
	  exist only in arrays too.

	* ms-excel-util.c (init_xl_font_widths) : add Albany

2003-09-15  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (ms_excel_read_chart) : patch leak.

2003-09-15  Jody Goldberg <jody@gnome.org>

	* Release 1.2.0

2003-09-15  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(legend)) : handle the legend's position.

	* ms-excel-util.c : "Arial Cyr" in addition to "Arial CYR"

2003-09-14  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(pie)) : don't confuse center diameter with
	  separation, use it to distinguish between pie and ring.
	(BC_R(pieformat)) : handle separation here.

2003-09-13  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(tick)) : enable.  Looks like axis label enabling
	  should be here.  Wonder what that flag in lineformat is for ??

2003-09-13  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(lineformat)) : disable axis label setting for now
	  it seems over zealous.

2003-09-13  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(color)) : disable debug spew.
	(BC_R(lineformat)) : impl.
	(BC_R(markerformat)) : impl.

2003-09-10  Jody Goldberg <jody@gnome.org>

	* Release 1.1.90

2003-09-03  Jody Goldberg <jody@gnome.org>

	* ms-excel-util.c (init_xl_font_widths) : 128pt does not seem like a
	  good yard stick for Courier, Use 64, and scale it.
	Arial Narrow is even worse, size it based on 32pt

2003-08-22  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_BOF) : fix the warning.  We need the
	  stream pos at the _start_ of the sheet.

2003-08-21  Jody Goldberg <jody@gnome.org>

	* Release 1.1.20

2003-08-20  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_BOF) : finding a sheet not listed in the
	  right place is a warning not a failure.

	* ms-excel-write.c (excel_write_DV) : handle missing titles and msgs

2003-08-09  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(areaformat)) : use the new GogStyle extensions.

2003-07-31  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* ms-excel-read.c (excel_workbook_destroy): remove last argument
	  in workbook_sheet_reorder

2003-08-01  Jody Goldberg <jody@gnome.org>

	* ms-excel-util.c (init_xl_font_widths) : add a bunch of arial
	  encodings.

2003-07-31  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(line)) : connect to the new line plot.
	(BC_R(area)) : connect to the new area plot.

2003-07-28  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (make_function) : dup the name because plugins get
	  removed before symbols do and we would crash referencing a static
	  string from the plugin.
	(PHONETIC) : appears to have 1 arg (optional ?)

2003-07-24  Jody Goldberg <jody@gnome.org>

	* ms-biff.c (ms_biff_pre_biff8_query_set_decrypt) : new placeholder.
	(ms_biff_query_set_decrypt) : take a version so that we can correctly
	  recognize encrypted files for versions before biff8.

2003-07-19  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_obj_read_pre_biff8_obj) : Parse scollbars and spinners

	* ms-excel-read.c (ms_sheet_realize_obj) : apparently spinners use
	  scrollbar records.  Pass the current value too.

	* ms-excel-write.c (excel_write_SST) : simplify a bit to avoid a
	potential corner case that would generate an empty CONTINUE.

2003-07-18  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_SST) : handle strings > 8224 bytes.
	(excel_sheet_write_block) : improve warning message and fallback to
	  the default style when there is a problem.

2003-07-17  Jody Goldberg <jody@gnome.org>

	* ms-excel-util.c (init_xl_font_widths) : add Bitstream Vera, and its
	  alias 'Sans'

	* ms-formula-read.c (parse_list_push) : be more
	  resilient in the face of missing args.

2003-07-16  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_biff_get_chars) : make public.
	* ms-obj.c (ms_read_TXO) : use ms_biff_get_chars.

2003-07-16  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_read_OBJ) : always register the object.

	* ms-container.c : Make the obj_queue a GSList.
	(ms_container_get_obj) : new.
	(ms_container_realize_objs) : only realize MSObjs that have gnumeric
	  objects.

	* ms-escher.c (ms_escher_header_init) : init new 'release_attrs' flag
	  to allow us to pass management of an attr bag to an object, but still
	  retain access to it.
	 (ms_escher_header_release) : honour the flag.
	 (ms_escher_read_ClientData) : set the flag.

	* ms-excel-read.c (excel_read_NOTE) : Discover an undocumented flag.
	  0x100 == no indicator visible
	  While we're here store the author, and the inidcator position.
	(excel_read_HLINK) : frames are 0x80 not 0x8
	(ms_sheet_realize_obj) : cheat to handle cell comments.  In xl97 and
	  up the comment objects store the possition of the display box, not the
	  position of the indicator.  We need a better comment object.
	(ms_sheet_realize_obj) : Store the text for text boxes too.
	(ms_sheet_create_obj) : no need to set a blank text, we assign it later.
	(ms_sheet_create_obj) : create comments.

2003-07-07  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_palette_get) : fix error message.

2003-07-02  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* ems-excel-write.c (xcel_sheet_new): add some spaces in strings

2003-06-21  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(chartformat)) : vary_style_by_element is now in plot
	* ms-excel-write.c : Start work on escher wrapper for exporting charts
	  in XL97.  NOT ENABLED OR FINISHED.

2003-06-11  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_sheet_new) : Capitalize and mark Excel as a
	   trademark.

2003-06-11  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (ms_excel_read_chart) : handle NULL sogs.  That currently
	  indicates an attempt to read a chart in its own notebook tab.

2003-06-07  Jody Goldberg <jody@gnome.org>

	* Release 1.1.19

2003-06-07  Jody Goldberg <jody@gnome.org>

	* Release 1.1.18

2003-05-30  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (excel_chart_series_delete) : unref the data if nothing
	  has used it.
	(BC_R(end)) : if we use the series clear the pointer.

2003-05-25  Jody Goldberg <jody@gnome.org>

	* ms-chart.c : remove xml, jump to goffice and disable anything that
	  does not obviously connect to GOG for now.  All we get are plot
	  types and series for now, no formatting.

2003-05-21  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(gelframe)) : enable debugging when dumping
	  gelframes.

	* ms-escher.c (ms_escher_parse) : accept gelframes.
	(ms_escher_read_OPT) : the length _includes_ the header, don't try to
	  read that too.
	(ms_escher_read_Blip) : ditto.
	  weaken size restriction for uncompression.
	  test-xls/billeterie2000-6.xls has a blip that is larger than its
	  compressed content, dunno why.

2003-05-20  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c: Adapt to StyleColor changes.
	* ms-excel-write.c: Adapt to StyleColor changes.

2003-05-19  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_CF) : tone down the amoutn of debug spew.

	* ms-excel-read.c (excel_read_XCT) : work around more undocumented xls crack.
	  What the #$!@#&%!@ do negative counts mean.

2003-05-12  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_FORMULA) : set the alwaysCalc flag for
	  cells with dynamic depends.

2003-05-11  Jody Goldberg <jody@gnome.org>

	* Release 1.1.17

2003-04-28  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (biff_string_get_flags): Fix 0/FALSE confusion.
	(biff_xf_data_destroy): Ditto.

2003-04-21  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_MERGECELLS) : handle too many merges
	  for a single biff record.
	* ms-biff.c (ms_biff_max_record_len) : new.

2003-04-09  Morten Welinder  <terra@gnome.org>

	* boot.c (excel_file_probe): Guard against gsf read error.
	(excel_file_open): Ditto.
	(excel_file_open):

2003-03-26  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_tab_color) : no need to operate on the
	  pixel directly.  Use the rgb in the StyleColor.
	(excel_read_WINDOW2) : ditto.

2003-03-18  Jody Goldberg <jody@gnome.org>

	* boot.c : suppress warning

2003-03-18  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_EXTERNSHEET_v7) : work around a bug in
	  1.0.x export that quoted names in EXTERNSHEET.
        (excel_read_workbook) : recognize 1.0.x files.
	(excel_workbook_new) : init the new flag.

2003-03-07  Morten Welinder  <terra@diku.dk>

	* ms-chart.c (register_handlers): Use G_N_ELEMENTS.

	* ms-obj.c (ms_read_OBJ): Ditto.

	* ms-excel-write.c (excel_write_builtin_name): Ditto.
	(excel_write_FORMATs): Ditto.
	(map_pattern_index_to_excel): Ditto.

	* ms-excel-read.c (excel_map_pattern_index_from_excel): Ditto.

2003-03-05  Jody Goldberg <jody@gnome.org>

	* ms-biff.c (ms_biff_query_next) : more Morten warnings.
	(ms_biff_query_peek_next) : ditto.

	* ms-obj.c (ms_obj_read_biff8_obj) : TRUE on error in precondition

2003-02-05  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_FORMAT) : biff8 formats have 2 byte
	  lengths, biff7 has 1 byte.

	* ms-excel-read.c (excel_read_FORMULA) : Add a quick size check.

2003-02-04  Jody Goldberg <jody@gnome.org>

	* boot.c (excel_file_probe) : actually return the flag, and support
	  non-ole formats.

2003-01-28  Jody Goldberg <jody@gnome.org>

	* Release 1.1.16

2003-01-25  Jody Goldberg <jody@gnome.org>

	* excel-xml-read.c (xl_xml_wb) : quick framework to parse xml from
	  Office XP.  Just a descriptor for now no real work.

2003-01-21  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_foreach_name) : doh!

2003-01-08  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_sheet_new) : fix the text of the warning
	  messages.
	(excel_foreach_name) : loop over the gnumeric data structures rather
	  than the ExcelState wrappers so that we can do things before the
	  ExcelSheets are created.

	* ms-biff.c (MAX_BIFF7_RECORD_SIZE) : increase this a smidge to match
	  the actual limit and allow export to handle all 16k rows in xl95.

2003-01-06  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_state_new) : bp is not valid yet
	  take biff7 and biff8 flags directly.

2003-01-02  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_1904) : Enable 1904 support.
	* ms-excel-write.c (write_workbook) : Set 1904 flag as necessary.

2002-12-31  Jody Goldberg <jody@gnome.org>

	* Release 1.1.15

2002-12-30  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_WRITEACCESS) : patch small leak, and
	  add a sanity failsafe.

2002-12-29  Jody Goldberg <jody@gnome.org>

	* ms-biff.c (ms_biff_put_new) : Use the canonical name that is
	  available in glibc, and libiconv.

2002-12-30  Jon K Hellan  <hellan@acm.org>

	* ms-excel-read.c (excel_read_workbook): Pass filename to
	cmd_context_get_password.

2002-12-30  Morten Welinder  <terra@diku.dk>

	* ms-excel-read.c (excel_formula_shared): Return NULL on failure,
	not FALSE.

2002-12-25  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_state_new) : register sheets with
	  filters.  check validation exppressions for sheets.
	(excel_write_prep_validations) : new.
	(excel_sheet_new) : init validation lists here if necessary.
	(excel_write_DVAL) : not here.

2002-12-24  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_NAME) : arrrggghh MS kills me.

	* ms-formula-read.c (excel_parse_formula) : disabled a bit too much
	  debug info and broke the code.

2002-12-24  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_sheet_create_obj) : cut-n-paste-o in line creation
	  support font color for text boxes.
	  (excel_palette_get) : just call colour 64 black if it gets this far.
	    It only happens for sheet objects and we need to do more research
	    on how to handle these.
	(excel_read_DV) : fix double free

	* ms-obj.c (ms_obj_read_pre_biff8_obj) : be more picky about what we
	  call an arrow head.  Fix the directions for lines.  Find the
	  undocumented flag to fix named objects.

2002-12-22  Jody Goldberg <jody@gnome.org>

	* Release 1.1.14

2002-12-22  Jody Goldberg <jody@gnome.org>

	* Release 1.1.13

2002-12-21  Jody Goldberg <jody@gnome.org>

	* ms-escher.c (excel_write_MS_O_DRAWING_GROUP) : new.
	* ms-excel-write.c (excel_write_AUTOFILTERINFO) : write the biff8
	  combos.  Thats it we're done.

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

	* ms-excel-write.c (excel_write_AUTOFILTERINFO) : write the fields
	  to handle the last 1/4 of the puzzle.  The only thing missing now is
	  exporting the combos for biff8.
	(excel_write_DOPER) : new.

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

	* ms-excel-write.c (excel_write_AUTOFILTERINFO) : new.
	(write_sheet_head) : use it here to export the 1st 1/4 of autofilters.
	(excel_write_NAME) : support hidden names.
	(excel_write_autofilter_names) : create pretend names for the 1st
	 filter in each sheet.
	(write_workbook) : use excel_write_autofilter_names to generate the
	  next 1/4 of autofilters.
	(excel_write_autofilter_objs) : generate simple biff7 style objects
	  for the filter combos.
	(excel_write_sheet) : Use excel_write_autofilter_objs for the next 1/4.

2002-12-17  Jody Goldberg <jody@gnome.org>

	* ms-formula-write.c (excel_write_prep_expr) : make it public.
	(excel_write_prep_expressions) : just do the initialization not the
	  dep walking.
	(excel_formula_write_NAME_v8) : new.
	(write_node) : handle names for biff8.

	* ms-excel-write.c (excel_write_BOF) : no need to clone XL2k bug that
	  erroneously calls XL95 XL97.
	(excel_write_externsheets_v7) : we also export the selfref magic.
	(excel_write_NAME) : renamed from excel_write_NAME_v7 and extended to
	  support biff8.
	(write_workbook) : export names for BIFF8 too.
	(cb_check_names) : new.
	(excel_write_state_new) : prep the expressions in names too.

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

	* ms-excel-write.c (excel_write_map_errcode): Base on
	value_error_classify.

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

	* ms-excel-read.c (biff_get_error): Rename from
	biff_get_error_text and return a full error instead.  Add evalpos
	argument.  All callers changed.

2002-12-15  Jody Goldberg <jody@gnome.org>

	* ms-container.c (ms_container_finalize) : cull out unused
	  placeholders.

2002-12-13  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c : Tack on a 'shared' flag in alot of places to
	control the use of _REF/_AREA vs _REFN/_AREAN

	* ms-excel-write.c (excel_write_BOF) : bump generated BOF to look like
	  MS excel 2k.
	(vip_hash) : new.
	(vip_equal) : new.
	(excel_write_DV) : new.
	(excel_write_DVAL) : new.
	(excel_write_NAME_v7) : export names using shared formula conventions.
	(excel_write_sheet) : export validation.
	(write_workbook) :  add a XL9FILE flag.

	* ms-excel-read.c (excel_read_DV) : several small tweaks
	  1) string lengths are 2 bytes
	  2) Use the option flags to enable/disable input msg and validation
	  3) Parse expressions relative to the top left of the first range
	  4) Parse as shared expressions

2002-12-13  Jon K Hellan  <hellan@acm.org>

	* ms-excel-read.c (excel_read_HLINK): Fix typo.

2002-12-08  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_prepare_autofilter) : don't fully register
	  the magic filter name.

2002-12-06  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_AUTOFILTER) : don't forget the unicode
	  header for biff8.

2002-12-03  Morten Welinder  <terra@diku.dk>

	* ms-excel-read.c (excel_print_unit_init_inch): Convert to
	GnomePrintUnit.
	(excel_init_margins): Ditto.
	(excel_read_SETUP): Ditto.
	* ms-excel-write.c (excel_write_margin): Ditto.
	(excel_write_SETUP): Ditto.

2002-11-30  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_AUTOFILTER) : finish.
	(read_DOPER) : finish.

2002-11-29  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_WINDOW1) : make view const
	(excel_write_state_new) : ditto.

	* ms-excel-read.c (excel_prepare_autofilter) : new.
	(excel_read_NAME) : handle autofilters.

	* ms-escher.c (ms_escher_read_ClientTextbox) : store the text.

	* plugins/excel/boot.c (excel_save) : make the view const not the
	  output.
	(excel_dsf_file_save) : ditto.
	(excel_biff8_file_save) : ditto.
	(excel_biff7_file_save) : ditto.

2002-11-26  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_sheet_create_obj) : use the new label setting
	  utilities.

2002-11-28  Jon K Hellan  <hellan@acm.org>

	* boot.c (excel_save, excel_dsf_file_save, excel_biff8_file_save)
	(excel_biff7_file_save): Receive gsf output stream from higher
	layer rather than creating and closing it here.

2002-11-25  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_set_xf) : remove bogus optimization.
	(excel_set_xf_segment) : ditto.  We cannot assume that the default is
	  the current format.  See 'Tax2001-23.xls'

2002-11-24  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (excel_formula_parses_ref_sheets) : fix typo.
	  check the source not the destination.

2002-11-24  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_obj_read_pre_biff8_obj) : add some fun.

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

	* ms-formula-write.c (excel_formula_write_NAME_v7) : support qualified
	  names.

	* ms-excel-read.c (excel_read_EXTERNSHEET_v7) : fix handling of the
	  sheet local names.

	* boot.c (excel_file_open) : Try the output even more and assign the
	  savers as level AUTO.
	* plugin.xml.in : ditto.

2002-11-17  Jody Goldberg <jody@gnome.org>

	* biff-types.h : s/SXVX/SXVS/ ancient typo

2002-11-15  Jody Goldberg <jody@gnome.org>

	* Release 1.1.12

2002-11-15  Jody Goldberg <jody@gnome.org>

	* ms-formula-write.c : tidy up sheet hanlding in references.

	* ms-excel-write.c (excel_write_NAME_v7) : new.
	(excel_foreach_name) : ditto.
	(write_workbook) : produce names for biff7 including sheet local and
	  placeholders.

2002-11-14  Jon K Hellan  <hellan@acm.org>

	* plugin.xml.in: Remove "open" and "import" attributes.

2002-11-13  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_comments_biff7) : fix. #$^! libxml had
	  poluted the global name space with function 'comment' which I
	  accidentally used as a variable name without defining it.

2002-11-13  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_sheet_write_block) : speedup empty rows.
	  And use the undocumented optimized form for the DBCELL (#rows == 0)
          when dealing with sparse regions.
	(excel_write_ROWINFO) : ignore empty rows.

2002-11-13  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (excel_parse_formula) : fix typo that broke 3d
	  references.

	* ms-formula-write.c (sheet_pair_add_if_unknown) : new.
	(excel_write_prep_expr) : use it for refs and regions.

	* ms-excel-write.c (excel_write_state_free) : release the function and
	  sheet pair tables.
	(excel_write_SCL) : new. Clean up and support zoom > 100
	(cb_write_sheet_pairs) : new.
	(excel_write_externsheets_v8) : generate sheet pairs for the
	  externsheet.  Still no support for external links.
	(excel_write_get_externsheet_idx) : implement.

2002-11-12  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c : Don't use StyleFont.  In the case where a font
	  does not exist on the display system it does the wrong thing.
	  MStyle can contain an invalid font.  StyleFont gets remapped to the
	  default.

2002-11-12  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (palette_get_index) : add a warning if we are going
	  to lose a colour.
	(gather_palette) : improve debug.

	* ms-excel-util.c (two_way_table_move) : rename from
	  two_way_table_replace and fix.

2002-11-11  Jody Goldberg <jody@gnome.org>

	* ms-formula-write.c (write_cellref_v7) : fix signature.
	(write_cellref_v8) : ditto.
	(write_ref) : fix biff8 case.

	* ms-excel-write.c (gather_styles) : we already gathered the most
	  common styles earlier.
	(excel_sheet_new) : most common style in a column does not extend the
	  column.

	* ms-biff.c (ms_biff_put_len_next) : handle correct max biff record
	  sizes for biff7 vs biff8.  Looks like they teaked things so that the
	  dbcell records will always fit in 1 biff record.
	(ms_biff_put_len_commit) : ditto.

2002-11-10  Jody Goldberg <jody@gnome.org>

	* ms-biff.c (ms_biff_put_new) : take a codepage as an argument.
	* ms-excel-write.c (excel_write_v7) : pass in the code page we stored
	  on import.
	(excel_write_v8) : ignore the codepage. biff8 uses unicode.

	* ms-excel-read.c (excel_read_workbook) : store the codepage we
	  imported with.

2002-11-10  Jody Goldberg <jody@gnome.org>

	* ms-formula-write.c (write_arrays) : rewrite.

2002-11-10  Jody Goldberg <jody@gnome.org>

	* ms-formula-write.c (write_string) : Use excel_write_string.
	(write_arrays) : Use it here, but this code is suspect.

	* ms-excel-write.c (excel_write_string_len) : new routine to find char
	  and byte lengths of strings.
	(current_workbook_iconv) : delete.
	(biff_convert_text) : delete.
	(biff_put_text) : delete.
	(excel_write_string) : new replacement for biff_put_text that does the
	  conversion and writting inline rather than from a buffer, has
	  smarter unicode handling and a more useful set of flags.
	(excel_write_externsheets_v7) : Use it here.
	(excel_write_externsheets_v8) : Use it here.
	(excel_write_NAME_v7) : Use it here.
	(excel_write_BOUNDSHEET) : Use it here.
	(excel_write_FONT) : Use it here.
	(excel_write_FORMAT) : Use it here.
	(excel_write_value) : Use it here.
	(excel_write_FORMULA) : Use it here.
	(excel_write_comments_biff7) : Use it here.
	(excel_write_SST) : Handle the unicode caes.
	(excel_write_WRITEACCESS) : new to handle biff7 vs biff8
	(excel_utf8_has_multibyte) : delete.
	(write_workbook) : Use excel_write_WRITEACCESS and clean up the
	  codepage handling to conform to
	  biff7 == single byte vs biff8 == unicode.

	* ms-excel-biff.h (EX_SETSTRLEN) : delete.

	* ms-biff.c (ms_biff_put_new) : Add a buffer and iconv handler to
	  simplify string handling.  excel95 gets locale specific handler.
	  excel97 and up goes to utf16-le.
	(ms_biff_put_destroy) : cleanup.

2002-11-07  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_state_new) : merge biff7 and biff8
	  versions.
	(excel_write_externsheets_v8) : basic initial implementation handles
	  externnames.

	* ms-excel-read.c (excel_read_workbook) : add a flag to indicate dual
	  stream file.

	* boot.c (excel_file_open) : set the saver reasonably intellifently.
	(excel_save) : support dual stream files.
	(excel_dsf_file_save) : new.
	* plugin.xml.in : enable dual stream files

2002-11-05  Jody Goldberg <jody@gnome.org>

	* plugin.xml.in : enable excel97

	* ms-excel-write.c (excel_write_value) : use BIFF8 SST records.
	(excel_write_state_free) : clean up SST here.
	(excel_write_state_new) : shared routine for biff7 and biff8.
	(excel_utf8_has_multibyte) : quicky utility.
	(excel_write_SST) : initial basic implementation still needs unicode
	  support.
	(excel_write_BOF) : renamed from biff_bof_write and sync versions with
	  XL 2k.

2002-11-04  Jody Goldberg <jody@gnome.org>

	* boot.c (excel_save) : prep for biff8 save, and double stream files.

	* ms-excel-read.c (excel_read_XF) : fix rotation.
	(excel_read_SST) : improve debug info.

	* ms-excel-write.c (write_xf_record) : write the BIFF8 support.
	(rotation_to_excel) : new.

2002-11-04  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* ms-biff.c, ms-escher.c, ms-excel-read.c, ms-excel-write.c,
	  ms-formula-write.c, ms-obj.c: Included headers for some standard
	  library functions.

2002-11-04  Nick Lamb <njl98r@ecs.soton.ac.uk>

	* biff-types.h: Add BIFF_INTEGER
	* ms-excel-read.c: More non-OLE Excel file support.

2002-11-02  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* ms-obj.h: Added declaration of ms_obj_new .

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

	* Release 1.1.11

2002-10-31  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (excel_parse_formula) : adjust the name and
	  externname handling.

	* ms-excel-read.c (excel_workbook_new) : make supbook an array rather
	  than a ptr array.
	(excel_workbook_destroy) : cleanup the new data structures.
	(excel_read_EXTERNNAME) : revamp handling for biff8 to store in a
	  distinct structure from the NAMEs, and associate that with the
	  SUPBOOK even though the docs claim otherwise.  I suspect the docs
	  were written for Biff7 and not updated.  This is the only thing that
	  makes sense based on the record ordering.
	(excel_read_NAME) : merge in the ms_container_add_name code.
	(excel_externsheet_v8) : simplify the interface and return the structure
	(supbook_get_sheet) : adjust to the new data structures.
	(excel_read_SUPBOOK) : be more expressive.  We're ready to handle
	  externals now.  Just need to write a parser for the links.

	* ms-container.c (ms_container_get_name) : No sense having it here.
	  The code is specific to the PTG handler.  move it there.
	(ms_container_add_name) : also more specific to the NAME and
	  EXTERNNAME handlers.  Move it there.

2002-10-30  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_NAME) : handle unicode names.

2002-10-28  Morten Welinder  <terra@diku.dk>

	* ms-escher.c (ms_escher_read_ClientTextbox): Don't leak text even
	though we haven't implemented the feature.  (I'm tired of hunting
	this leak down.)

2002-10-28  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_WINDOW2) : go back to selecting the
	  current sheet.
	(excel_write_WINDOW1) : store the currently selected sheet here too.

	* ms-excel-read.c (excel_read_EXTERNSHEET_v7) : kludge around screw up
	  in opencalc exporter.

2002-10-27  Nick Lamb <njl98r@ecs.soton.ac.uk>

	* ms-excel-read.c: Factor out some code into new functions, more
	  support for non-OLE Excel files, especially formulae.

2002-10-27  Jody Goldberg <jody@gnome.org>

	* Release 1.1.10

2002-10-26  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c : Start rationalizing things.
	* ms-formula-write.c : ditto.  Lots of adjustments.
	- start handling biff7 externsheets correctly
	- fix handling of non builtin functions

	* ms-excel-read.c (excel_add_name) : delete.
	(excel_workbook_get_name) : ditto.

	* ms-formula-read.c : Hopefully the last major tweak to names and
	  externsheets for biff7.  This now loads all test cases smoothly.
	  It seems that biff7 stores per bof sets of externsheets.

	* ms-container.c (ms_container_init) : Add a version and a workbook
	  pointer.  Init the new biff7 extern handling data structures.
	(ms_container_finalize) : and release them here.
	(ms_container_get_name) : new to handle biff7 or biff8 magic.
	(ms_container_add_name) : ditto.

	* ms-chart.c (BC_R(ai)) : parse the expression as ourselves, not the
	  container.
	(chart_parse_expr) : implement.
	(ms_excel_chart) : handle EXTERNSHEET and EXTERNCOUNT for biff7 style
	  storage with per BOF EXTERN*.

	* ms-biff.c (ms_biff_put_destroy) : take responsibility for the output
	  stream.

	* boot.c (excel_save) : check that we can open the output file before
	  we bother collecting things for export.

2002-10-25  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_read_XF) : init shrink to fit in the non
	  biff8 case.

2002-10-24  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (excel_parse_name) : patch leak.

2002-10-25  Morten Welinder  <terra@diku.dk>

	* ms-biff.c (skip_bytes): Make scratch buffer static to ensure
	it's initialised.  Add assert, just in case.

2002-10-24  Morten Welinder  <terra@diku.dk>

	* ms-excel-read.c (excel_read_XCT): Fix typo, I think.

2002-10-21  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (excel_parse_formula) : Ok. take a 2nd crack at
	  the externsheet handling in area3d and ref3d for biff7.  It seems
	  like XL2k generates different indicies when exporting as XL95 than
	  XL95 did.  So have a fall back.  If the theory that
	    a+1 == -ixals, a, b are 0 based
	  fails.  Go back to
	    a   == ixals, and a, b are 1 based

2002-10-21  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (ms_excel_parse_formula) : improve readability of
	  debug spew and send thing to stderr.
	Fix handling of extern names and refrences.  This time I think we've
	finally got it.

2002-10-21  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c : tidy up naming conventions
	    excel_read_<BIFFTAG>
	  - Use fprintf to keep g_warning and printfs in sync
	  - Use esheet for ExcelSheets and ewb for ExcelWorkbooks
	  - Use Sheet and wb for the gnumeric variants
	(ms_excel_sheet_new) : check to see if the sheet already exists
	  in case it was implicitly created in a SUPBOOK or EXTERNSHEET.
	  This will be useful when we start restoring external links shortly.
	(ms_excel_workbook_attach) : delete.
	(ms_excel_workbook_detach) : delete.
	(ms_excel_sheet_destroy) : clear out the sheet local extensheet
	  records for biff5.
	(excel_read_BOUNDSHEET) : use ms_excel_sheet_new.
	(excel_externsheet_v8) : rewrite to handle self ref.  Only partially
	  done.
	(supbook_get_sheet) : ditto.
	(excel_read_EXTERNSHEET_v8) : ditto.
	(excel_externsheet_v7) : fix to use local externsheets.
	(excel_read_EXTERNSHEET_v7) : rewrite and prep for external
	  references.
	(excel_workbook_get_name) : work around 'self ref' records for biff8.
	(excel_parse_name) : work on scoping.  works for biff7 not biff8.
	(ms_excel_handle_delayed_NAMEs) : delete.  the externsheet records are
	  enough.
	(excel_read_EXTERNNAME) : builtin names are just short forms for
	  names, they have special meanings to XL but no special behavior.
	(excel_read_NAME) : ditto.  Use the new externsheet setup and drop all
	  of the delayed parsing goo.
	(excel_read_XCT) : new.  prep for external references.
	(excel_read_CALCMODE) : new.  now that we support manual recalc.

2002-10-17  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_excel_parse_NAME) : It looks like some
	  builtinnames are just names, no definitions. eg 'Database'
	  It also looks like these sheet_indexes apply to externsheet records
	  for <= biff7 (see pivot.xls) rather than boundsheets.

2002-10-13  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_excel_read_pane) : the sizes are only valid if
	  there is a freeze in that direction.

	* ms-excel-read.c (ms_excel_read_dv) : Fix handling of empty strings
	  and improve validation.  NOTE : This is likely to come up again.
	  We need to know when there is always a 1 byte header, and when there
	  isn't in biff_get_text.

2002-10-09  Morten Welinder  <welinder@rentec.com>

	* ms-obj.h (struct _MSObj): Avoid "gboolean ... : 1".
	* ms-excel-read.h (struct _ExcelSheet): Avoid "gboolean ... : 1".

2002-10-10  Nick Lamb <njl98r@ecs.soton.ac.uk>

	* plugin.xml.in: Excel 4.x had .XLW workbooks as well as .XLS
	* boot.c: Try to load non-OLE files too

2002-10-09  Morten Welinder  <terra@diku.dk>

	* ms-excel-read.c (ms_excel_workbook_destroy): Don't leak
	->supbooks.

2002-10-08  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (write_names) : Fix leak by not inserting copies of
	  of the name string.
	  1) no need to copy
	  2) no need to do a string compare

2002-10-07  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_excel_read_workbook) : handle workbook protected
	  files (thanks jpablo).

2002-10-04  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_excel_parse_NAME) : ahhh, I understand now.
	  names with expr_len == 0 represent the placeholders used for unknown
	  names.

2002-10-02  Jody Goldberg <jody@gnome.org>

	* ms-chart.c (BC_R) : handle empty text.

	* boot.c : simplify now that IOContext inherits from CommandContext
	  Move the metadata export here for symmetry with the import.

2002-09-30  Jody Goldberg <jody@gnome.org>

	* plugin.xml.in : disable 97 until it is ready for widespread use

2002-09-30  Jody Goldberg <jody@gnome.org>

	* Release 1.1.9

2002-09-30  Jody Goldberg <jody@gnome.org>

	* boot.c (excel_file_open) : typo

2002-09-27  Jody Goldberg <jody@gnome.org>

	* boot.c (excel_save) : restore macros.

	* boot.c (excel_file_open) : handle confused files that misname the
	  streams.  Store macros if they exist.

2002-09-26  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (ms_excel_parse_formula) : fix handling of 26 & 27.
	  The docs are confusing.  The cached data is appended not to the
	  subexpression but to the entire string.  While we're here add a stub
	  for tables.

2002-09-26  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (ms_excel_parse_formula) : supply handling of
	  pgts 26 & 27.  We can ignore them but they frequently wrap the
	  intersection operator, the export will be a pain in the butt.

2002-09-25  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (binary_ops) : enable intersection
	  still needs work.
	* ms-formula-write.c (ms_formula_build_pre_data) : ditt.
	(write_node) : ditto.

2002-09-15  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (const) : DateDif takes 3 arguments.

2002-09-10  Morten Welinder  <terra@diku.dk>

	* ms-escher.c: Make shade_ParamMask be within int's range by
	casting it.
	* ms-escher.c: Avoid trailing commas in enums.

2002-09-05  Jody Goldberg <jody@gnome.org>

	* ms-formula-write.c (ms_formula_write_pre_data) : remove some obvious
	  silliness

2002-09-04  Jody Goldberg <jody@gnome.org>

	* *.c : remove ifdef WITH_BONOBOization of graphs

2002-08-30  Jody Goldberg <jody@gnome.org>

	* boot.c (excel_read_metadata) : new.
	(excel_file_open) : read the doc and summary meta info streams.
	  Don't do anything with the data yet, but start the ball rolling.

2002-08-30  Morten Welinder  <terra@diku.dk>

	* ms-excel-read.c (ms_excel_read_formula): Avoid copying of
	string.
	(ms_excel_parse_formula): Ditto.

2002-08-29  Morten Welinder  <terra@diku.dk>

	* ms-excel-util.c (two_way_table_new): Take an extra arg for
	getting rid of keys.  All callers changed.

	* ms-excel-write.c (formats_init): Supply an unreffer to
	two_way_table_new.

2002-08-29  Morten Welinder  <terra@diku.dk>

	* ms-excel-write.c (free_workbook): Plug leaks.

2002-08-28  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_excel_read_workbook) :
	  excel_iconv_open_for_import moved to libgsf.

2002-08-28  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_excel_read_workbook) : gnm_iconv_close moved to
	  libgsf.
	* ms-excel-write.c (write_workbook) : ditto.
	* ms-summary.c (ms_summary_read) : ditto.
	(ms_summary_write) : ditto.

2002-08-25  Jody Goldberg <jody@gnome.org>

	* Release 1.1.8

2002-08-25  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (excel_write_externsheets) : store the unquoted
	  name.
	(excel_write_SELECTION) : swap args to be consistent.
	  Store current pane == 3 rather than 0 to silence the warning when
	  loading our sheets in MS Excel.
	(ms_excel_write_workbook) : add some dummy metadata streams.

2002-08-21  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_obj_new) : add a convenience routine to be safe.
	(ms_read_OBJ) : Use it here.

2002-08-19  Jon K Hellan  <hellan@acm.org>

	* ms-biff.c (ms_biff_query_peek_next, ms_biff_put_var_seekto,
	ms_biff_put_var_commit, ms_biff_put_len_commit): Use glib's seek
	enum instead of the enum which used to be in libgsf.

	* ms-excel-write.c (biff_boundsheet_write_last, write_index): Ditto.

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

	* ms-excel-util.c (excel_iconv_open_for_import) : fix unicode codepage
	  to be actual unicode with the high bit lopped off, which I hope is
	  synonymous with 8859-1.  This still needs to be translated into
	  UTF-8.

2002-08-17  Jon K Hellan  <hellan@acm.org>

	* ms-chart.c (BC_R): Fix typos.

2002-08-17  Jody Goldberg <jody@gnome.org>

	* ms-excel-util.c (get_locale_charset_name) : delete.
	(excel_iconv_open_for_import) : realize that 1200 and 1201 are both
	  unicode and that we only want to convert to UTF-8.
	(excel_wcstombs) : die die die.  We may need this again one day when
	  exporting UTF-8 back to xl 95.  But we'll cross that bridge when we
	  come to it.

	* ms-excel-read.c (get_chars) : internally text should always be UTF-8.
	(ms_excel_read_workbook) : fix the warning.
	  I've found some references for the code pages.

2002-08-16  Jon K Hellan  <hellan@acm.org>

	* ms-excel-read.c (ms_excel_read_SUPBOOK): Shut up warning.

2002-08-15  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c (biff_boundsheet_write_last, write_index):
	Change type of oldpos variable to gsf_off_t.

2002-08-13  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_obj_read_pre_biff8_obj) : support colours for polygons.

	* ms-excel-read.c (ms_sheet_create_obj) : Add support for polygon
	  colours.
	(ms_sheet_obj_anchor_to_pos) : hmm, our supposition that >= 97 ==
	  1/256 and < 97 == 1024 seems wrong in the face of chap03-1.

2002-08-12  Jody Goldberg <jody@gnome.org>

	* Release 1.1.7

2002-08-12  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_object_attr_new_array) : new.
	(ms_object_attr_get_expr) : ditto.
	(ms_object_attr_destroy) : support arrays.
	(ms_obj_read_pre_biff8_obj) : Parse the coord list for polygons.

	* ms-excel-read.c (ms_excel_read_SUPBOOK) : do a touch more.
	Still need to write the encoded path parser.

	* ms-excel-read.c (ms_excel_read_cf) : don't leak.

2002-08-11  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (ms_excel_parse_formula) : add bounds testing to
	  reading const strings.  It will save us from corrupt data, and
	  rescue us from the misexported xls in 1.0.6,1.0.7

	* ms-excel-read.c (biff_xf_data_new) : read shrink to fit.
	(ms_excel_parse_NAME) : Ignore 0 length expressions.

	* ms-formula-read.c (expr_tree_error) : new.
	(parse_list_pop) : use it more loudly here.
	(ms_excel_parse_formula) : and here.

2002-08-09  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_excel_read_workbook) : silence the warnings
	  caused by reading the padding at the end of files.

2002-08-08  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (ms_excel_parse_formula) : improve handling of
	  arrays.

	* ms-excel-read.c (biff_boundsheet_data_new) : improve debug spew.
	(sst_read_string) : no need to pass version an sst is biff8 specific.
	(ms_excel_read_SST) : ditto.
	(ms_excel_read_EXSST) : new convience routine.
	(biff_boundsheet_data_new) : move boundsheet_data_by_index into a ptr
	  array, and store the gnumeric sheets directly.
	(ms_excel_workbook_new) : use g_hash_table_new_full to make cleanup
	  easier.
	(ms_excel_workbook_destroy) : simplify.
	(ms_excel_read_SETUP) : support the 'print comments' flag
	(ms_excel_read_MULRK) : split into its own function.
	(ms_excel_read_MULBLANK) : ditto.
	(ms_excel_read_SCL) : ditto
	(ms_excel_read_sheet) : spew the sheet password in case we need to
	  generate it.
	(ms_excel_SUPBOOK) : I finally understand the self reference magic.
	  More work to do to support external links.
	(ms_excel_workbook_get_externsheet_v8) : improve the warnings on error.
	(ms_excel_externsheet_v8) : those sheet indicies are BOUNDSHEET
	  references if the supbook is a self reference.  We cannot directly
	  access the Gnumeric sheets because XL has hidden elements that skew
	  the index.
	(ms_excel_workbook_get_externsheet_v7) : ditto.
	(ms_excel_externsheet_v7) : store the sheet directly.

	* ms-excel-write.c (write_magic_interface) : biff8 stores the code
	  page in the interface header for some reason.
	(ms_excel_write_EOF) : rename from biff_write_eof.
	(excel_write_SETUP) : new.
	(write_wsbool) : remove duplicate code.
	(excel_write_COUNTRY) : new.
	(write_sheet_head) : tidy.
	(excel_write_sheet_tail) : SCL is not version specific.
	(sst_collect_str) : new.
	(ms_excel_write_SST) : prepare to write an SST (not finished)

2002-08-07  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (init_base_char_width_for_write) : delete.
	(style_get_char_width) : renamed from get_base_char_width as it is now
	  just a wrapper around the
	(ms_excel_write_DEFCOLWIDTH) : renamed from write_default_col_width
	  and use the right font in the width calculations.
	(ms_excel_write_COLINFO) : renamed from write_colinfo and use the
	  right font in the width calculations.

2002-08-06  Morten Welinder  <terra@diku.dk>

	* *.c: use gsf_le_get_double and gsf_le_set_double.

2002-08-05  Jody Goldberg <jody@gnome.org>

	* ms-biff.c (ms_biff_put_var_write) : const.

	* ms-excel-write.c (write_magic_interface) : Use the symbolic names.
	(biff_put_text) : no need to write 8byte text 1 byte at a time.

2002-08-06  Morten Welinder  <terra@diku.dk>

	* md5.h (UINT4): Portability fix.

	* rc4.h: Guard.
	* md5.h: Guard.
	* biff-types.h: Guard.
	* escher-types.h: Guard.
	* formula-types.h: Guard.

2002-08-04  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (ms_excel_parse_formula) : remove bogisity about
	  'Magic Addin Name'

2002-07-22  Zbigniew Chyla  <cyba@gnome.pl>

	* plugin.xml.in: Set loader type to "Gnumeric_Builtin:module".

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

	* ms-excel-write.c (biff_put_text) : set the unicode flag on the
	  string header for unicode strings.  This routine needs to be cleaned
	  up to handle UTF-8 -> UTF-16 if necessary.
	(biff_boundsheet_write_first) : tidy and make the name len 1 byte.
	(gather_palette) : convert to new two way table convention.
	(gather_fonts) : ditto.
	(gather_formats) : ditto.
	(xf_free) : ditto.
	(after_put_mstyle) : ditto.
	(put_mstyle) : simplify.
	(xf_init) : delete.
	(cell_used_map_new) : delete.
	(cell_mark_used ) : delete.
	(cell_is_used) : delete.
	(excel_cell_get) : delete.
	(pre_cell) : delete.
	(pre_blank) : delete.
	(pre_blanks) : delete.
	(pre_colstyle) : delete.
	(gather_styles) : greatly simplify by using the knowledge that there
	  is a per sheet hash of the styles in use.
	(cb_accum_styles) : new.
	(write_cell) : Use the gnumeric data structures directly.
	(write_block) : ditto.
	(ms_excel_write_wsbool) : new.
	(write_sheet_head) : use ms_excel_write_wsbool.
	(excel_sheet_new) : no more need for large cell map.
	(excel_sheet_free) : ditto.

	* ms-excel-util.c (two_way_table_new) : Allow for ptr tp ptr
	  comparisons as an optimization.
	(two_way_table_free) : ditto.
	(two_way_table_put) : ditto.
	(two_way_table_replace) : ditto.
	(two_way_table_key_to_idx) : ditto.

	* boot.c (excel_save) : bah!  I forgot to commit this.  export is
	  broken without it.

2002-07-21  Jody Goldberg <jody@gnome.org>

	* Release 1.1.6

2002-07-19  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_excel_read_hlink) : improve bounds checking.

2002-07-19  Jody Goldberg <jody@gnome.org>

	* plugins/excel/ms-excel-read.c (ms_excel_read_hlink) : tidy up and
	  support custom tool tips.

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

	* ms-excel-read.c (ms_excel_read_imdata) : only read the amount of
	  data in the imrecord.  not all continues add infinitum.  Fixes
	  guia.xls.

	* ms-obj.c (ms_read_TXO) : don't expect continue records if there is
	  no text.  Fixes guia2.xls.

2002-07-16  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_excel_read_sheet) : reorder 0x1xx entries to be
	  in increasing order and support hlinks.
	(ms_excel_read_hlink) : new.

2002-07-14  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_obj_read_pre_biff8_obj) : move the
	  initialization of the prop bag from here.
	(ms_read_OBJ) : to here.  Fixes the guia2 hash warnings.

2002-07-09  Morten Welinder  <terra@diku.dk>

	* boot.c (excel_file_open): Don't leak the stream.

2002-06-27  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_excel_read_selection) : put the edit_pos in the
	  right place.

	* ms-excel-write.c (write_sheet_tail) : Use stern_brocot to get a
	  reasonable fraction.
	(write_sheet_selection) : split the writing of the selection out into
	  here and implement it.

2002-06-22  Jody Goldberg <jody@gnome.org>

	* ms-formula-write.c (operations) : export intersection.

	* ms-formula-read.c (ms_excel_parse_formula) : enable mem_func
	  support.
	(binary_ops) : use range_ctor for RANGE.

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

	* ms-excel-read.c (ms_excel_workbook_new) : store the workbookview.
	(ms_excel_read_selection) : selection is now in the view.

2002-06-06  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_excel_read_workbook) : convert to gsf.
	  No need to handle the ole here.  Just take a GsfInput.  That way we
	  can try to parse non ole files too :-)

	* ms-biff.c (ms_biff_query_set_decrypt) : convert to Gsf.
	(ms_biff_query_new) : ditto.
	(ms_biff_query_peek_next) : ditto.
	(ms_biff_query_next) : ditto.

	* boot.c (excel_file_probe) : convert to GsfInput.
	(excel_file_open) : ditto.

	* biff-types.h : add a few under-documented opcodes.

2002-05-28  Jody Goldberg <jody@gnome.org>

	* ms-biff.c (ms_biff_query_peek_next) : we only need the opcode, not
	  the length.

2002-05-14  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=81766
	* ms-excel-read.c (ms_excel_read_formula) : work around undocumented
	  'feature' that will store a 0 length RECORD for empty strings.

2002-05-29  Jody Goldberg <jody@gnome.org>

	* Release 1.1.4

2002-05-15  Jody Goldberg <jody@gnome.org>

	* ms-biff.c (verify_password) : support unicode passwords.

2002-05-15  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* ms-excel-read.c (ms_excel_init_margins) : margins are now in
	  print_config
	(ms_excel_read_setup) : ditto
	(ms_excel_read_sheet) : ditto
	* ms-excel-write.c (margin_write) : ditto
	(write_sheet_head) : use modified margin_write

2002-05-05  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_obj_read_biff8_obj) : tack on a flag to handle the
	  magic associated with combos for filters.
	* ms-excel-read.c (ms_sheet_create_obj) : respect the new flag.

2002-04-29  Jody Goldberg <jody@gnome.org>

	* Release 1.1.3

2002-04-21  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_excel_externsheet_v8) : handle references to
	  deleted sheets.

	* ms-escher.c (ms_escher_read_Blip) : remove some debug cruft.

2002-04-15  Jon K Hellan  <hellan@acm.org>

	* boot.c: s/main.h/libgnumeric.h/

	* ms-excel-write.c: Ditto.

2002-04-13  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_excel_read_AUTOFILTER) : start work on filters.
	(ms_excel_read_sheet) : support the filter records.

2002-04-13  Jon K Hellan  <hellan@acm.org>

	* ms-chart.c: s/ENABLE_BONOBO/WITH_BONOBO/

	* ms-excel-read.c: Ditto

2002-03-27  Jody Goldberg <jody@gnome.org>

	* ms-biff.c (ms_biff_query_set_decrypt) : protect against NULL
	  passwords.

2002-03-25  Jody Goldberg <jody@gnome.org>

	* Release 1.1.2

2002-03-26  Jody Goldberg <jody@gnome.org>

	* ms-biff.c (wvMD5StoreDigest) : new from libwv-7.1
	(makekey) : ditto.
	(verify_password) : tweaked from libwv.
	(skip_bytes) : new.
	(ms_biff_query_set_decrypt) : new.
	(ms_biff_query_new) : support encryption.
	(ms_biff_query_next) : ditto.
	(ms_biff_query_destroy) : ditto.

	* ms-excel-read.c (ms_biff_bof_data_new) : Use the un-decoded data.
	(ms_excel_read_sheet) : comment that it seems like bytes 12 & 16 are
	  not encrypted.
	(biff_boundsheet_data_new) : stream start pos seems un encrypted.

2002-03-22  Jon K Hellan  <hellan@acm.org>

	* ms-excel-read.c (ms_excel_get_style_from_xf): Be prepared for
	color 65 as pattern color.

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

	* ms-excel-read.c (ms_excel_read_sheet) : 15 is the
	  default fmt for cells.  0 is the default style fmt that is its
	  parent.
	(ms_excel_set_xf) : not strictly correct.  We should apply if the col,
	  row is different.
	(ms_excel_set_xf_segment) : no need to apply if it is the default.

2002-03-18  Morten Welinder  <terra@diku.dk>

	* ms-excel-read.h (_ExcelWorkbook): Add sharer.

	* ms-excel-read.c (ms_excel_workbook_new): Initialize sharer.
	(ms_excel_workbook_destroy): Destroy sharer.

	* ms-formula-read.c (ms_excel_parse_formula): Share resulting
	formulae.

2002-03-16  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_excel_workbook_destroy) : we can have NULL
	  names as place holders.

2002-03-15  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_excel_sheet_destroy) : make deleting the
	  gnum_sheet optional.

	* ms-excel-read.c (ms_excel_parse_NAME) : add a ref.
	(ms_excel_workbook_destroy) : don't leak the sheets, or the names.

2002-03-15  Andreas J. Guelzow <aguelzow@taiesin.ca>

	* ms-excel-read.c : calculate desired tab_text_color upon reading of
	  tab_color

2002-03-14  Jody Goldberg <jody@gnome.org>

	* ms-obj.c (ms_obj_read_pre_biff8_obj) : doh! Fix sense of result so
	  that reading works.

2002-03-11  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_excel_externname) : Store the name for use as a
	  function.

2002-03-10  Jody Goldberg <jody@gnome.org>

	* Release 1.1.1

2002-03-08  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_excel_workbook_new) : store an iocontext.
	  init the delayed name list for xl95.
	(ms_excel_parse_NAME) : split out of.
	(ms_excel_read_NAME) : here.
	(ms_excel_handle_delayed_NAMEs) : new.
	(ms_excel_externsheet_v8) : be quiet.
	(ms_excel_read_workbook) : check for delayed names on EOF.

2002-03-07  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_excel_externsheet_v8) : don't warn for local
	  name records.
	(ms_excel_read_NAME) : typo.

2002-03-07  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c : revamp extensheet handling and name import.
	  Still does not work for XL95, but things should be ok for >= 97.
	  Getting closer to supporting external references.

2002-03-02  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (write_externsheets) : Use unquoted.  This code
	  needs some love.

2002-03-02  Jody Goldberg <jody@gnome.org>

	* ms-excel-read.c (ms_excel_read_formula) : avoid leaking when faced
	  with bad input.
	(ms_excel_read_formula) : ditto.

2002-02-28  Jody Goldberg <jody@gnome.org>

	* ms-formula-write.c (write_area) : write explicitly scoped addreses
	  as area3d not area.  Use tx = 0xffff and warn that we only support
	  locale sheets.

	* ms-excel-write.c (write_bits) : better attribution and dump names.
	(write_workbook) : let write_bits handle the names.

2002-02-26  Jody Goldberg <jody@gnome.org>

	* ms-escher.c (ms_escher_get_data) : clarify the interface.
	(ms_escher_read_BSE) : fix call to ms_escher_get_data.
	(ms_escher_read_Sp) : ditto.
	(ms_escher_read_ClientAnchor) : ditto.
	(ms_escher_read_OPT) : ditto.
	(ms_escher_read_container) : ditto.
	(ms_escher_read_Blip) : support decompress and validate emf & wmf.

	* ms-excel-util.c (excel_iconv_open_for_import) : recognize that
	cp1200 makes no sense in that context and fall back to 8859-1.

2002-02-24  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=72459
	* ms-formula-write.c (write_node) : fix typo.

2002-02-26  Morten Welinder  <terra@diku.dk>

	* ms-excel-read.c (biff_get_rk): Improve precision ever so
	slightly on numbers that are scaled by 0.01.

2002-02-25  Jon K Hellan  <hellan@acm.org>

	* ms-excel-read.c (ms_sheet_create_image): New function. Factor
	image creation out of ms_sheet_create_obj and also handle cropping.
	(ms_sheet_create_obj): Call ms_sheet_create_image.

2002-02-23  Jon K Hellan  <hellan@acm.org>

	* plugin.xml.in: Recognize *.xlt extension.

2002-02-21  Morten Welinder  <terra@diku.dk>

	* ms-excel-write.c (init_base_char_width_for_write): Constify.
	(ms_excel_write_workbook): Constify.

	* ms-excel-read.c (get_substitute_font): Constify.
	(ms_excel_get_style_from_xf): Constify.
	(biff_boundsheet_data_new): Constify.

	* ms-summary.c (read_summary_items): Constify.

	* ms-excel-util.c (get_locale_charset_name): Constify.  Remove
	code conditioned on HAVE_ICONV && !HAVE_ICONV.

	* ms-escher.c (ms_escher_read_BSE): Constify.

2002-02-20  Morten Welinder  <terra@diku.dk>

	* ms-excel-write.c (write_value): Fix format.

	* ms-excel-read.c (ms_excel_read_name): Constify.

	* ms-formula-read.c (formula_func_data): Constify.

	* ms-excel-util.c (two_way_table_put): Constify.

2002-02-19  Jon K Hellan  <hellan@acm.org>

	* ms-excel-read.c (ms_excel_palette_get): Update documentation.
	(ms_excel_get_style_from_xf): Remove case 0.
	(biff_xf_data_new): Save difference bits. We don't use them yet,
	though. Documentation is wrong, background color is one bit more
	than documented

	* ms-excel-write.h (struct _ExcelFont): Add is_auto member.
	(PALETTE_BLACK): Change from 0 to 8.
	(PALETTE_WHITE): Change from 1 to 9.
	(PALETTE_AUTO_PATTERN, PALETTE_AUTO_BACK, PALETTE_AUTO_FONT,
	FILL_NONE, FILL_SOLID): Define

	* ms-excel-write.c (write_window2): Write grid / auto pattern
	color.
	(style_color_to_int): Rename to style_color_to_rgb888.
	(palette_put_defaults): Call index 8 'PALETTE_BLACK'. Mark both
	black and white as in use.
	(palette_get_index): Return 8 (PALETTE_BLACK) for black, and 9
	(PALETTE_WHITE) for white.
	(put_color): Call style_color_to_rgb888 with new name.
	(excel_font_new): Call style_color_to_rgb888 with new name. Save
	is_auto flag.
	(excel_font_hash): Include is_auto in hash func, and shift flags
	so they don't just cancel each other.
	(excel_font_equal): Include is_auto in comparison.
	(write_font): Store as auto color when appropriate.
	(fixup_fill_colors): Simplify and merge into build_xf_data.
	(style_color_to_pal_index): New function. Return Excel color
	index, possibly auto, for a style color.
	(get_xf_differences): We have discovered that background color is
	stored with 1 bit more than documented. Use this to improve test
	for pattern difference between XF and parent style. Locking: XL
	default is on, so we're different if locking is off.
	(build_xf_data): Store as auto color where appropriate. Use
	style_color_to_pal_index.
	(write_xf_record): Documentation is wrong - there is no fSxButton
	bit. The bg color uses the bit, making bg field 7 bits wide. Don't
	store data for borders which aren't there.

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

	* Release 1.1.0

2002-02-15  Jody Goldberg <jody@gnome.org>

	* ms-escher.c (write_file) : delete.
	(ms_escher_read_BSE) : remove the bonobo-ness from here it is none of
	  excel's business.  Just use the new SheetObjectImage.  While we're
	  at it avoid a few memory copies of the image.
	* ms-excel-read.c (ms_sheet_create_obj) : ditto.

	* ms-container.c (ms_container_get_blip) : return non-const.

2002-02-08  Jon K Hellan  <hellan@acm.org>

	* ms-excel-read.c (ms_excel_read_window2): No need to unref
	pattern_color, sheet_style_set_auto_pattern_color now does that.

2002-02-05  Jon K Hellan  <hellan@acm.org>

	* ms-excel-read.c (black_or_white_contrast): Burn.
	(ms_excel_palette_get): Simplify to get autocolors right. We used
	to be too clever.
	(ms_sheet_map_color): Use style_color_new_i8 to convert from
	rgb888.
	(ms_excel_read_window2): Update pattern color according to
	icvHdr/rgbHdr grid color if fDefaultHdr flag says so.

2002-02-03  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (pre_cell) : adjust to Cell::format moving into the
	  value.

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

	* ms-excel-util.c (init_xl_font_widths) : add Helv.

	* ms-excel-read.c (ms_sheet_create_obj) : GObject vs GtkObject
	* ms-obj.c (ms_obj_delete) : ditto.
	* ms-chart.c (ms_excel_read_chart) : ditto.

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

	* ms-formula-read.c (ms_excel_parse_formula) : give a warning when
	  dealing with references to external workbooks.

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

	* ms-excel-read.c (ms_sheet_create_obj) : move to new sheet widget
	  layout.

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

	* ms-summary.c (EXCEL_TO_GNUM_MAPPING_COUNT) : use G_N_ELEMENTS.
	(excel_to_gnumeric) : delete unused.
	(read_summary_items) : suppress warnings.
	(read_summary_items) : fix leak.

	* ms-excel-write.c : s/StyleFont::size/StyleFont::size_pts/

	* ms-excel-util.c (g_unichar_to_utf8) : delete.

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

	* Release 1.0.3

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

	* ms-obj.c (ms_object_attr_get_*) : new.
	(ms_obj_read_biff8_obj) : read scrollbar attributes.

	* ms-excel-read.c (ms_sheet_realize_obj) : Add scrollbars.
	(ms_sheet_create_obj) : ditto.

2002-01-20  jody goldberg <jody@gnome.org>

	* ms-chart.c (BC_R(vector_details)) : use gnm_vector_date.

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

	* ms-obj.c (ms_object_attr_new_expr) : new.
	(ms_object_attr_destroy) : handle expressions.
	(ms_obj_read_biff8_obj) : use the expression parser for
	  GR_CHECKBOX_FORMULA.

	* ms-formula-read.c (getRefV7) : remove the pointless malloc/free.
	(getRefV8) : ditto.
	(make_inter_sheet_ref) : delete.
	(make_inter_sheet_ref_v7) : ditto.

	* ms-excel-read.c (ms_sheet_realize_obj) : add support for a
	  checkbox's link.  Needs to be done here, AFTER being assigned to a
	  sheet.
	(ms_excel_workboot_get_externsheets) : renamed from
	  biff_get_externsheet_name, and simplified.

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

	* ms-formula-read.c (ms_excel_parse_formula) : fix support for
	  importing local 3d references, external 3d is still not supported.

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

	* Release 1.0.2

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

	* ms-excel-read.c (ms_excel_read_tab_color) : turn down the debug
	  level.

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

	* ms-excel-read.c (ms_excel_read_dv) : reorg slightly and enable.
	* ms-excel-read.c (ms_excel_read_tab_color) : new function.
	(ms_excel_read_sheet) : called from here.

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

	* ms-formula-read.c (ms_excel_parse_formula) : fix area 3d and its
	  missing break.

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

	* Release 1.0.1

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

	* ms-chart.c (excel_chart_series_write_xml) : more protection for
	  missing series.

2002-01-03  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* ms-escher.c (ms_escher_blip_new) : cast to fix signedness warning.
	* ms-excel-read.c (biff_get_text) : likewise
	* ms-excel-read.c (get_string) : likewise
	* ms-excel-write.c (write_bits) : char -> guint8.
	* ms-excel-write.c (write_value) : ditto
	* ms-chart.c (excel_chart_series_write_xml) : cast / type change
	* ms-chart.c (BC_R) : ditto
	* ms-chart.c (BC_R(*)) : ditto
	* ms-chart.c (ms_excel_chart) : ditto

2001-12-31  Jody Goldberg <jody@gnome.org>

	* Release 1.0.0

2001-12-30  Zbigniew Chyla  <cyba@gnome.pl>

	* plugin.xml.in: Fixed typo.

	Please, DO NOT change strings few hours before the release!

2001-12-29  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* plugin.xml.in : Standardize: MS Excel (tm)

2001-12-27  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (ms_excel_parse_formula) : enable support for
	  deleted 3d references.

2001-12-24  Jody Goldberg <jody@gnome.org>

	* Release 0.99.1

2001-12-20  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c (ms_excel_parse_formula) : add support for
	    FORMULA_PTG_REF_ERR.
	    FORMULA_PTG_AREA_ERR.

	* ms-obj.c (ms_read_OBJ) : add protection against missing virtuals.
	  If the object is a graph read it even if we do not support them in
	  this context (embedded in another object) or if we do not support
	  graphs at all.  This enables us to read embedded graphs without
	  throwing off the rest of the parsing.

2001-12-15  Jody Goldberg <jody@gnome.org>

	* Release 0.99.0

2001-12-10  Jody Goldberg <jody@gnome.org>

	* ms-summary.c (read_summary_items) : use iconv.
	(ms_summary_read) : ditto.
	(set_summary_item) : ditto.
	(ms_summary_write) : ditto.

2001-12-05  Jody Goldberg <jody@gnome.org>

	* ms-excel-write.c (write_formula) : handle array formulas.
	* ms-formula-write.c (write_node) : ditto.
	(ms_excel_write_formula) : remove pointless malloc & free.

2001-11-25  Jody Goldberg <jody@gnome.org>

	* ms-formula-read.c : s/ParseList/ExprList/
	* ms-formula-write.c : ditto.

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

	* ms-excel-read.c (biff_boundsheet_data_new) : Doh!

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

	* Release 0.76

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

	* ms-excel-read.c (ms_excel_read_dv) : read things in.  Not stored yet.
	(ms_excel_read_range) : new convenience routine.
	(ms_excel_read_mergecells) : used here.
	(ms_excel_biff_dimensions) : used here.
	(ms_excel_read_dv) : used here.
	(ms_excel_read_condfmt) : used here, fix import of multiple areas.

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

	* ms-excel-read.c (ms_excel_read_guts) : adjust to different outline
	  scoping semantics.  We count from 0.  XL counts from 1.

	* boot.c (excel_file_open) : better error message when opening a
	  non-ole file.

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

	* plugin.xml.in : enable overwriting files by default.

2001-11-05  Jody Goldberg <jgoldberg@home,com>

	* Release 0.75

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

	* ms-excel-read.c (ms_excel_read_cf) : Handle 'Formula' constraints in
	addition to 'Value'.
	(ms_excel_read_condfmt) : new routine.
	(ms_excel_read_dval) : fix sense of size check.
	(ms_excel_read_sheet) : cf records should only be associated
	  with condfmt.

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

	* ms-excel-write.c : Use d() debug macors to make things
	  more readable.  And use esheet in place of sheet to avoid
	  confusion with gnumeric core.
	(write_colinfo) : make xf_index an argument.
	(pre_colstyle) : new routine to gather the most common style in each col
	(gather_styles) : called from here.
	(write_mulblank) : take an array rather than a GList.
	(write_block) : only write a blank cell if it is different from the
	column default.

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

	* ms-chart.c (BC_R-ai): Plug leak.
	(BC_R-ifmt): Ditto.

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

	* ms-excel-read.c (ms_excel_read_dval) : new function.
	(ms_excel_read_dv) : new function.
	(ms_excel_read_sheet) : call them here and remove warning.

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

	* Release 0.74

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

	* ms-excel-read.c (ms_excel_get_xf) : Use a better default in the face
	  of errors.

	* ms-chart.c (chart_get_fmt) : new function to chain to parent.
	(ms_excel_chart) : use it here.

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

	* Release 0.73

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

	* ms-excel-read.c (biff_name_data_get_name) : adjust to signature
	  change in expr_tree_new_name.  FIXME : how does XL mark names from
	  explicit scopes.

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

	* ms-excel-write.c (write_rowinfo) : remove duplicate code.

	* ms-excel-read.c (biff_name_data_get_name) : adjust to new named
	  expression api.

2001-10-22  Almer S. Tigelaar  <almer@gnome.org>

	* ms-excel-read.c (ms_excel_read_cf): Adjust for
	changes to style-condition.[ch]

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

	* Release 0.72

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

	* ms-chart.c (BC_R(bar)) : typo.

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

	* ms-chart.c (BC_R(dropbar)) : The docs lie.  it is ok to have
	  values > 100

	* ms-chart.c (BC_R(store_chartgroup_type)) : store the type as a
	  property rather than a child.
	(BC_R(bar)) : store the attributes as children rather than props.
	(BC_R(line)) : ditto.
	(BC_R(pie)) : ditto.
	(BC_R(pieformat)) : ditto.
	(BC_R(scatter)) : ditto.

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

	* ms-excel-write.c (excel_sheet_new) : merge check_sheet into here.
	  rename according to our standards.  Only complain about being too
	  large if the content is too large, silently clip the formats.

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

	* ms-chart.c (BC_R(legend)) : Use more guppi-ish terms for legend
	  location.

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

	* Release 0.71

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

	* ms-chart.c (excel_chart_series_write_xml) : fix this for non bonobo
	  builds.

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

	* ms-chart.c (excel_chart_series_write_xml) : Use
	  gnm_graph_series_add_dimension.
	(BC_R(seriestext)) : store constant labels as expressions.

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

	* ms-chart.c (excel_chart_series_write_xml) : adjust to new xml
	  structure.

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

	* ms-obj.c (ms_object_attr_bag_lookup) : accept NULL attrBags.

	* ms-escher.c (ms_escher_read_OPT) : oops lost the blip id.

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

	* ms-excel-read.c (ms_excel_wb_get_fmt) : renamed something
	  better than biff_format_data_lookup.

	* ms-chart.c (BC_R(ai)) : Use ms_container_get_fmt.
	(BC_R(ifmt)) : ditto.

	* ms-container.c (ms_container_get_fmt) : new function.

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

	* ms-excel-read.c (ms_sheet_map_color) : new utility.
	(ms_sheet_create_obj) : set the fill colour.

	* ms-escher.c (ms_escher_read_OPT) : generalize to make things more
	  efficient.

	* ms-obj.c (ms_object_attr_new_uint) : store a uint to facilitate
	  colors.

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

	* ms-escher.c (ms_escher_parse) : call ms_escher_header_release.
	(ms_escher_read_container) : ditto.
	(ms_escher_header_release) : new to handle attrs.
	(ms_escher_header_add_attr) : ditto.
	(ms_escher_read_ClientData) : pass the attributes to the object
	  and move the blip handing to the container.

	* ms-obj.c (ms_object_attr_new_flag) : new.
	(ms_object_attr_new_int) : new.
	(ms_object_attr_new_ptr) : new.
	(ms_object_attr_destroy) : new.
	(ms_object_attr_bag_new) : ditto.
	(ms_object_attr_bag_destroy) : ditto.
	(ms_object_attr_bag_insert) : ditto.
	(ms_object_attr_bag_lookup) : ditto.

	* ms-excel-read.c (ms_excel_read_workbook) : interface change to
	  ms_read_OBJ.
	(ms_excel_read_sheet) : ditto.
	(ms_sheet_create_obj) : move the blip handing from escher to here.

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

	* ms-obj.c (ms_read_OBJ) : Init the inversion flags.

	* ms-escher.c (ms_escher_read_Sp) : store the inversion flags.
	(ms_escher_read_ClientData) : copy the inversion flags.
	(ms_escher_init_heade) : init the inversion flags.

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

	* ms-excel-xf.h (_BiffXFData) : locked and hidden are booleans.
	* ms-excel-read.c (biff_xf_data_new) : read them that way.
	(ms_excel_get_style_from_xf) : store the protection flags.
	* ms-excel-write.c (build_xf_data) : ditto.  Add indent.

	* ms-chart.c (BC_R(seriestext)) : handle manually entered series names.

2001-09-25  Jon K Hellan  <hellan@acm.org>

	* .cvsignore: Add plugin.xml

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

	* ms-obj.c (ms_read_OBJ) : init the new object more completely.

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

	* ms-chart.c : clean up debug routines.
	(BC_R(dataformat)) : Use an extra node to handle pt vs series
	  level formatting.
	(BC_R(end)) : cleanup dataformats.
	(excel_chart_series_write_xml) : just link in the new child rather
	  than creating it here.
	(BC_R(dataformat)) : handle formatting pts vs entire series.
	(BC_R(markerformat)) : implement
	(BC_R(areaformat)) : implement
	(BC_R(lineformat)) : implement
	(BC_R(pieformat)) : implement
	(BC_R(color)) : tweak interface.
	(ms_excel_chart) : ignore a few more records.

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

	* ms-chart.c (excel_chart_series_write_xml) : Use the gal routines for
	symmetry with the guppi implementation.

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

	* ms-chart.c (BC_R(pieformat)) : store pie separation.
	(BC_R(get_chartgroup_type)) : new function.

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

	* ms-chart.c (legend) : xml-ize and fix transposition of right & left.
	(pie) : Guppi uses radians and has 0 in a different place.

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

	* ms-obj.c (ms_read_OBJ) : Use ms_destroy_OBJ.

	* ms-chart.c (ms_excel_chart) : don't import the spec if we did not
	  create the graph.

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

	* ms-excel-read.c (ms_excel_read_cf) : Do some guessing about how they
	  store the format information.
	(ms_excel_read_sheet) : merge in ms_excel_read_cell, and reorder the
	  records to match their biff order.  call ms_excel_read_cf.

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

	* biff-types.h : Add CONDFMT

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

	* ms-chart.c (excel_chart_series_new) : init the xml node.
	(excel_chart_series_write_xml) : new.
	(BC_R(store_chartgroup_type)) : new utility.
	(BC_R(bar)) : convert to xml.
	(BC_R(line)): convert to xml.
	(BC_R(pie)) : convert to xml.
	(BC_R(scatter)) : convert to xml.
	(BC_R(chartformat)) : store the general chart group details.
	(BC_R(end)) : store the series specs associated with this chartgroup.
	(ms_excel_chart) : tweaks for xml.

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

	* ms-obj.c (ms_read_OBJ) : pass graphs into their parser.

	* ms-excel-read.c (ms_sheet_realize_obj) : renamed from
	  ms_sheet_obj_realize.
	(ms_sheet_create_obj) : renamed from ms_sheet_obj_create.
	  Improve the warnings for unhandled objects.
	  Pass graphs into the parser.

	* ms-container.c (ms_container_workbook) : delete.

	* ms-chart.c (ms_excel_chart) : enable some of the xml spec generation.
	  and take the GnmGraph as an argument.
	(ms_excel_read_chart) : take the graph as an argument.

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

	* ms-excel-read.c (ms_sheet_parse_expr_internal) : disable some of the
	  debugging spew.

2001-08-26  Zbigniew Chyla  <cyba@gnome.pl>

	* boot.c (excel_save):
	Remove GNUMERIC_ENABLE_XL_OVERWRITE hack. This is now supported via
	flag in plugin.xml file.

	* plugin.xml.in: s/file_overwrite/overwrite_files/

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

	* ms-excel-read.c : fix and prune includes.
	* ms-excel-write.c : ditto.
	* boot.c : ditto.

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

	* ms-chart.c (ms_excel_chart) : only delete the series after
	  processing.  condtionalize some of the debug spew.
	  condtionalize parsing based on the existence of a graph
	  condtionalize making the graph on the debug flag (for now)
	(BC_R(sertocrt)) : store the chart group.
	(BC_R(series_impl)) : merge back into BC_R(series).
	(BC_R(vector_details)) : use the gnumeric type directly.
	(excel_chart_series_new) : new.
	(excel_chart_series_destroy) : new.

	* ms-container.c (ms_container_workbook) : new function.
	(ms_container_sheet) : ditto.

	* ms-excel-read.c (ms_wb_workbook) : new function.
	(ms_excel_workbook_new) : used here.
	(ms_sheet_workbook) : new function.
	(ms_sheet_sheet) : new function.
	(ms_excel_sheet_new) : used here.

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

	* ms-chart.c (gnm_graph_vector_type_name) : use the version in gnumeric-graph.c
	(BC_R(vector_details)) : Use the correct index for the debug info.

	* ms-excel-read.c (ms_excel_biff_dimensions) : Use range_name.

2001-08-21  Zbigniew Chyla  <cyba@gnome.pl>

	* plugin.xml: Removed

	* plugin.xml.in: Copied from plugin.xml, prepared for localization.

	* Makefile.am: Use xml-i18n-tools to create plugin.xml (with
	translations merged from .po file).

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

	* Release 0.70

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

	* Makefile.am : Remove unused stubs for gnumeric-chart.
	* ms-chart.c : s/ExcelChart/ExcelChartReadState/g
	(BC_R(top_state)) : new function.
	(map_excel_vec_type_to_gnm) : new function.
	(BC_R(vector_details)) : new function.
	(BC_R(series_impl)) : Use vector_details.
	(BC_R(ai)) : actually handle the vector.
	(BC_R(begin)) : keep a stack of the states.
	(BC_R(series)) : keep track of the series.

	* ms-excel-read.c (ms_sheet_obj_realize) : use the correct anchor specs.
	  and use the new SheetObjectAnchor mechanism.
	(ms_sheet_obj_create) : signatue change for sheet_object_container_new.

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

	* ms-excel-read.c (ms_excel_read_formula) : improve the debug info.
	(ms_excel_read_bof) : Doh!  We modify the sheet counter.
	(ms_excel_read_workbook) : signature changes for ms_excel_read_bof.

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

	* Release 0.69

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

	* ms-excel-read.c (ms_excel_read_setup) : print scaling is stored as a
	  percentage in XL and in Gnumeric.  Improve the warning as long as
	  we're in here.

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

	Consistently refer to /ExcelSheet/ instances as esheet.
	Ensure that the BiffQuery is the first arg.
	* ms-excel-read.c (ms_excel_sheet_new) : Explicitly request a full
	  respan for the update after we load.  I had been relying on there
	  being a col/row or default col/row sizing to force it.

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

	* ms-escher.c (ms_escher_blip_new) : be consistent and use #ifdef

2001-07-25  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_window2) : Tidy up a bit.

	* ms-excel-write.c (write_window2) : support frozen panes.
	(write_pane) : Implement.

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

	* Release 0.68

2001-07-16  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_pane) : implement.
	(ms_excel_read_window2) : store initial top left.

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

	* ms-excel-read.c (ms_excel_read_pane) : new function.
	(ms_excel_read_sheet) : called from here.
	(ms_excel_read_window2) : top left spec is _zero_ based.
	  Add support for setting the frozen flag.
	(ms_excel_sheet_new) : init the freeze flag here.

2001-07-13  Lutz Müller <urc8@rz.uni-karlsruhe.de>

	* ms-escher.c (ms_escher_read_ClientData): Syntax and name of
	sheet_object_bonobo_load(_persist)_stream changed.

2001-06-28  Jody Goldberg <jgoldberg@home>

	* Release 0.67

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

	* ms-excel-util.c (lookup_font_base_char_width_new) : add more safety.

	* ms-excel-write.c (formats_put_magic) : const.
	(new_sheet) : ignore spans and merges for extent calcs.

	* ms-excel-read.c (ms_excel_read_init) : new function to init the
	  locale specific date format.

	* boot.c (plugin_init) : new function.

2001-06-27  Jody Goldberg <jgoldberg@home.com>

	* Release 0.66

2001-06-21  Morten Welinder  <terra@diku.dk>

	* ms-excel-read.c (ms_excel_read_supporting_wb): Fix trigraph
 	stuff and cut down on repeated question marks in general.

2001-06-15  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_sheet_new) : Use CellPos directly.

	* ms-formula-read.c (ms_excel_parse_formula) : some cleanup.

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

	* ms-excel-write.c (write_setup) : new routine.
	(write_sheet_bools) : split out from here.

	* ms-excel-read.c (ms_excel_read_sheet) : split the setup parser out
	  of here into.
	(ms_excel_read_setup) : here.  and modernize it.  Read the number of
	  copies and the scaling if specified.

2001-06-12  Zbigniew Chyla  <cyba@gnome.pl>

	* boot.c (excel_save): Set up io_progress before calling ms_excel_check_write
	and ms_excel_write_workbook.

	* ms-excel-read.c
	(ms_excel_read_sheet): Added IOContext argument,
	call value_io_progress_update on every loop iteration.
	(ms_excel_read_workbook): Set up io progress message and helper.

	* ms-excel-write.c
	(pre_cell): Update io progress.
	(pre_blanks): Update io progress at every row.
	(gather_styles): Set up io progress helper.
	(write_block): Update io progress after every write_cell call.
	(ms_excel_write_workbook): Set up io progress helper.
	(ms_excel_check_write): Copy IOContext ptr into ExcelWorkbook struct.

	* ms-excel-write.h (struct _ExcelWorkbook): Added io_context.

2001-06-03 Jody Goldberg <jgoldberg@home.com>
	For Vlad Harchev <hvv@hippo.ru>

        * ms-excel-util.h ms-excel-util.c (excel_wcstombs) :
	  Some utilites to handle encoding changes that fail.

        * ms-excel-read.c : Use the utilities.

2001-06-02  Almer S. Tigelaar  <almer@gnome.org>

	* (ms_excel_read_row): Set outline using
	new functions.
	(ms_excel_read_colinfo): Idem.

2001-05-31  Karl Eichwalder  <ke@suse.de>

	* boot.c (excel_save): Add dot.

2001-05-29  Zbigniew Chyla  <cyba@gnome.pl>

	* boot.c (excel_file_probe): Added FileProbeLevel argument.

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

	* ms-excel-write.c (write_window2) :
	  Switch the BIFF_WINDOW2 0x23e -> 0x3e
	(write_names) : fix biff type.

	* ms-excel-read.c (ms_excel_read_formula) : cleanup some old
	  inconsistentcies.  keep as many of the BIFF_* using their major
	  types.
	  Switch the BIFF_STRING 0x207 -> 0x07
	  Switch the BIFF_BOOLERR 0x205 -> 0x05
	(ms_excel_read_window2) : split this out into a neater bundle.

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

	* ms-excel-write.c (write_sheet_bools) : Save the iteration
	  preferences too.  These are workbook level flags.  I am unclear why
	  XL saves them at the sheet level.

	* ms-excel-read.c (ms_excel_read_calccount) : new function.
	(ms_excel_read_delta) : ditto.
	(ms_excel_read_iteration) : ditto.
	(ms_excel_read_sheet) : use them here.

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

	* ms-excel-read.c (ms_excel_read_formula) : Use cell_queue_recalc
	  to get appropriate recursion.

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

	* ms-excel-read.c (ms_excel_formula_shared) : Use a g_warning not a
	  printf.

2001-05-21  Zbigniew Chyla  <cyba@gnome.pl>

	* boot.c (excel_file_probe, excel_file_open, excel97_file_save,
	excel95_file_save):
	s/FileOpener/GnumFileOpener/
	s/FileSaver/GnumFileSaver/

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

	* Release 0.65

2001-05-13  Michael Meeks  <michael@ximian.com>

	* ms-excel-write.c (write_value): commit the VALUE_EMPTY.

	* ms-biff.c (ms_biff_put_len_next),
	(ms_biff_put_var_next): add conditional debug to help catch
	similar problems - none obvious just now.

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

	* ms-excel-read.c (ms_excel_read_workbook) : clear the global handle
	  after it is closed.

2001-05-11  Almer S. Tigelaar  <almer@gnome.org>

	* ms-excel-write.c (write_sheet_bools): Write dimensions as
	unsigned integers.
	(biff_put_text): Signedness.
	(write_externsheets): Signedness.
	(excel_font_to_string): Signedness.
	(fonts_free): Signedness.
	(write_formats): Signedness.
	(xf_free): Signedness.
	(pre_cell): Signedness + Unused variabele.
	(gather_styles): Signedness.
	(map_pattern_index_to_excel): Signedness.
	(write_index): Signedness.
	(write_block): Signedness.
	(write_sheet): Signedness.
	(free_workbook): Signedness.
	(write_workbook): Signedness.
	(check_sheet): Signedness.

	* ms-excel-formula-write (write_node): Cast untyped pointer.

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

	* ms-escher.c (ms_escher_get_data) : suppress warnings.
	(ms_escher_read_ClientTextbox) : no side effects in precondition.

	* ms-excel-read.c (ms_excel_formula_shared) : ditto.

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

	* ms-excel-read.c (biff_boundsheet_data_new) : merge in the last of
	  the i18n patches.

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

	* ms-excel-read.c (ms_excel_set_xf_segment) : support multiple rows.
	(ms_excel_read_row) : use here.
	(ms_excel_read_cell) : and here.
	(ms_excel_read_colinfo) : start using it here too.
	(ms_sheet_obj_create) : Add a place holder for a spinner.

	* ms-excel-write.c (pre_cell) : XL does not differentiate between
	  parse and display formats.  When exporting a cell with General that
	  has a parse format create a new XF with the parse format as the
	  display format.

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

	* ms-summary.c (sum_name_to_excel): Fix index count.  Constify.
  	Make static.
	(excel_to_gnum_mapping): Make static.

2001-04-29  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-write.c (write_window2) : Headers are in default style.
	  And grid colour is auto, not black.

2001-04-27  Chema Celorio  <chema@celorio.com>

	* boot.c (excel_save): add a message explaining that you could set
 	an env variable to enable XL overwrite. This is not the optimal
 	solution tho.

2001-04-26  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-write.c (write_colinfos) : Rework to simplify and use
	  colrow_equal.
	(write_colinfo) : extract the info from the ColRowInfo directly and
	  fill in the visibility, outline, and collapse states.
	(write_rowinfo) : export visibility, collapse and outline.
	(write_guts) : new function.
	(new_sheet) : Include blank cols/rows with outline properties in
	  extent calculation.

	* ms-excel-write.h (Excel{Col,Row}) : Delete unnecessary structures.

2001-04-26  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-write.c (write_mergecells) : new routine to save merged
	  regions.
	(write_sheet_tail) : called from here.

2001-04-23  Jon K Hellan  <hellan@acm.org>

	* ms-biff.c (ms_biff_query_next, ms_biff_query_next,
	ms_biff_query_destroy, ms_biff_put_new, ms_biff_put_commit,
	ms_biff_put_len_next): Make sure that bp->data = 0 when
	bp->data_malloced = 0 & v.v. This helps heap debugging.
	(ms_biff_put_len_next): Assert that data pointer is null. If it
	weren't the old code would have been leaking.

2001-04-23  Morten Welinder  <terra@diku.dk>

	* ms-excel-write.c (ms_excel_check_write): Avoid double free of
 	the list.

2001-04-20  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_wsbool) : new function.
	(ms_excel_read_sheet) : called from here.

	* ms-excel-write.c (write_wsbool) : new function.
	(write_sheet_bools) : called from here.

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

	* ms-excel-write.c (write_window2) : sigh, when fixing the sizes I did
	  not change the offsets.  I miss C++ in situations like this.
	(ms_excel_check_write) : Free the sheet list.

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

	* ms-excel-util.c (excel_iconv_win_codepage) : cleanup and remove
	  warnings in the C locale case.

	* ms-excel-write.c (write_sheet_tail) : split WINDOW2 code out of here
	(write_window2) : and move it here.  Then comment it up and extend the
	  logic.

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

	* plugin.xml : Disable the excel97 save method until it potentially
	  does more than screw up.

2001-04-15  Vlad Harchev <hvv@hippo.ru>

        * ms-excel-util.h ms-excel-util.c :
        added framework for doing portable recoding between charsets,
        and also functions for finding appropriate Windows codepage
        for current locale.

        * ms-excel-read.c ms-excel-write.c :
        Properly perform charset conversion for all textual data when doing
        export or import of .xls files.

2001-04-12  Chema Celorio  <chema@celorio.com>

	* boot.c (excel_save): add an env variable so that we can
	enable XL overwrite. the variable is named GNUMERIC_ENABLE_XL_OVERWRITE

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

	* ms-excel-write.c (pre_pass) : Don't unref here.

2001-04-12  Morten Welinder  <terra@diku.dk>

	* ms-summary.c (ms_summary_write): Plug leaks.

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

	* ms-formula-write.c (write_string) : a null string is not a missing
	  arg.

2001-04-04  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_externsheet) : new function split from
	(ms_excel_read_workbook) : here.

	* ms-excel-read.c (biff_name_data_new) : begin cleanup.  The
	  sheet_index is stored in different places for different biff types.
	  There also appears to be enough data about the sheet names that we
	  may not need to do this magic delayed instantiation.

2001-04-03  Jody Goldberg <jgoldberg@home.com>

	* ms-chart.c (ms_excel_chart) : provide stub handlers for container
	  virtuals.

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

	* ms-excel-read.c (ms_excel_read_imdata) : new routine pulled from.
	(ms_excel_read_cell) : here.

	* ms-obj.c (ms_obj_read_biff8_obj) : used here.

2001-04-04  Morten Welinder  <terra@diku.dk>

	* ms-escher.c (ms_escher_blip_destroy): Plug leak.

	* ms-excel-util.c (lookup_font_base_char_width_new): Implement
 	negative caching.

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

	* ms-escher.c (ms_escher_get_data) : improve diagnostic info.

	* ms-obj.c (ms_obj_read_biff8_obj) : when reading the mystery trailing
	  IMDATA we need to handle CONTINUE.  We really need to figure out
	  what this is.

2001-04-01  Morten Welinder  <terra@diku.dk>

	* ms-chart.c (register_handlers) : Fix prototype.

	* gnumeric-chart.c (gnumeric_chart_new): Fix prototype.

	* ms-excel-write.c (get_default_mstyle): Fix prototype.

2001-04-01  Morten Welinder  <terra@diku.dk>

	* ms-excel-read.c (ms_excel_default_palette): Fix prototype.
	(ms_excel_read_cleanup): New function.

	* ms-excel-util.c (destroy_xl_font_widths): New function.

	* boot.c (plugin_cleanup): New function.

2001-03-31  Zbigniew Chyla  <cyba@gnome.pl>

	* .cvsignore: Added *.lo and *.la.

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

	* ms-container.c (ms_container_init) : Take a parent container.
	(ms_container_finalize) : handle NULL blips smoothly.
	(ms_container_get_blip) : check the container if we are empty.

	* ms-escher.c (ms_escher_read_Blip) : always register a blip, even if
	  it is NULL, otherwise the index gets confused.  Move the
	  registration here.
	(ms_escher_blip_new) : from here.
	(ms_escher_read_ClientData) : replace blips we can't understand with
	  rectangles.

	* ms-chart.c (ms_excel_chart) : Pass in the charts container.

	* ms-excel-read.c (ms_excel_workbook_new) : workbook have no parents.
	(ms_excel_sheet_new) : Sheets are contained by workbooks.

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

	* ms-excel-read.c (ms_excel_get_style_from_xf) : Only newer versions
	  have indents.

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

	* ms-escher.c (ms_escher_read_container): Plug leak.

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

	* boot.c (excel_save) : clarify message.

2001-03-29  Jody Goldberg <jgoldberg@home.com>

	* ms-escher.c (ms_escher_read_Blip) : Fix leak plug.

2001-03-29  Jody Goldberg <jgoldberg@home.com>

	* ms-obj.c (ms_obj_read_biff8_obj) : It seems certain that the MS docs
	  are wrong about list boxes.  I hope they don't do the same thing for
	  other records too.

	* ms-escher.c : s/ms_excel_read_debug/ms_excel_escher_debug/
	(ms_escher_read_OPT) : Add missing OPT records and cleanup docs.
	(ms_escher_read_BSE) : Document the record size and don't attempt to
	  treat this as a container if its content is of size 0.

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

	* ms-obj.c (ms_read_TXO) : Fix the minor memory overrun Morten found.

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

	* ms-excel-util.c (init_xl_font_widths) : recalculate the size of Geneva
	  for the default case of Geneva not being available.

2001-03-27  Morten Welinder  <terra@diku.dk>

	* ms-escher.c (ms_escher_read_Blip): Plug leak.

2001-03-20  Zbigniew Chyla  <cyba@gnome.pl>

	* Makefile.am:
	Building excel plugin as shared library, added plugin.xml.

	* boot.[ch]:
	xxx_debug variables from src/main.c moved here.
	Converted to real plugin with file_opener and file_saver services.

	* plugin.xml: New file.

	* gnumeric/plugins/excel/excel.h, plugins/excel/ms-chart.c,
	plugins/excel/ms-escher.c, plugins/excel/ms-excel-read.c,
	plugins/excel/ms-excel-read.h, plugins/excel/ms-excel-util.c,
	plugins/excel/ms-excel-write.c, plugins/excel/ms-excel-write.h,
	plugins/excel/ms-formula-read.c, plugins/excel/ms-formula-write.c,
	plugins/excel/ms-obj.c:
	Adjusted function signatures, don't return TRUE/FALSE if using
	IOContext (we don't need boolean value as IOContext now sets
	"error_occurred" flag).

2001-03-15  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_row) : Handle outline mode.
	(ms_excel_read_colinfo) : ditto.
	(ms_excel_read_guts) : ditto.

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

	* Release 0.64

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

	* ms-formula-read.c (getRefV8) : rewrite to handled sign extension
	  correctly (I Hope) for the various shared/unshared states.
	(getRefV7) : ditto.

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

	* ms-excel-read.c (ms_excel_read_colinfo) : work around some strange
	  widths from a test sheet.

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

	* Release 0.63

2001-02-19  Jon K Hellan  <hellan@acm.org>

	* boot.c (excel_load, excel_init): Change file format level to
	FILE_FL_MANUAL_REMEMBER.

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

	* ms-formula-write.c (write_node) : Use some code from expr.c
	  to simplify binary/unary output and to add parens when necessary.

	* ms-excel-write.c (write_formula) : Start at paren level 0.
	(write_names) : ditto.

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

	* Release 0.62

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

	* ms-excel-read.c (ms_sheet_obj_realize) : Add a missing call to
	  sheet_object_set_sheet.  Without this the objects are lost in limbo.

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

	* ms-excel-read.c (ms_sheet_obj_create) : add option button.

2001-02-10  Jon K Hellan  <hellan@acm.org>

	* ms-excel-read.c (ms_excel_init_margins): New
	function. Initialize margins to Excel defaults.
	(ms_excel_sheet_new): Call ms_excel_init_margins.

	* ms-excel-write.c (write_sheet_bools): Write margins also for
	biff 7 (which is what we actually use).

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

	* ms-excel-read.c (ms_sheet_obj_create) : don't free the object on
	  failure.

	* ms-obj.c (ms_read_OBJ) : free it here on failure.

	* ms-container.c (ms_container_finalize) : fix leak.

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

	* ms-excel-read.c (ms_excel_read_default_col_width) : typo.

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

	* ms-excel-read.c (ms_excel_read_default_col_width) : Init and cache
	  the default column width here directly.
	(ms_excel_read_colinfo) : Use the font associated with the specified
	  xf record to calculate the width.
	(get_base_char_width) : delete.
	(init_base_char_width_for_read) : rename base_char_width_for_read.
	(base_char_width_for_read) : take the xf index as an argument and
	  return rather than caching the results.

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

	* ms-excel-write.c (new_sheet) : adjust semantics of get extent.

2001-01-30  Almer S. Tigelaar  <almer1@dds.nl>

	* ms-excel-read.c (ms_excel_read_selection):
	Rename sheet_selection_reset_only to sheet_selection_reset.

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

	* ms-escher.c (ms_escher_read_Blip): fix eog oafiid.

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

	* ms-excel-read.c (ms_sheet_obj_create) : remove stale debugging.

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

	* ms-excel-write.c (put_mstyle) : add a ref when the style is put in
	  the table.
	(xf_free) : release the default style.

2000-12-31  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_set_xf) : remove cruft with triple styles.
	(biff_xf_data_new) : Ditto.
	(ms_excel_set_xf_segment) : Ditto.
	(biff_xf_data_destroy) : Ditto.

	* ms-excel-write.c (build_xf_data) : remove cruft with triple styles.

2001-01-01  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c (write_window1): Take WorkbookView
	parameter. Save width, height and flags for
	show_horizontal_scrollbar, show_vertical_scrollbar and
	show_notebook_tabs
	(write_bits, write_sheet_tail): Call write_window1 with
	WorkbookView parameter.

	* ms-excel-read.c (ms_excel_read_window1): New function -
	separated out of ms_excel_read_workbook. Read BIFF WINDOW1 record.
	Fix some typos: Some fields were 32bit, should be 16 bit.
	(ms_excel_read_workbook): Separated out ms_excel_read_window1.

2000-12-20  Jody Goldberg <jgoldberg@home.com>

	* ms-chart.c (BC_R(ai)) : Use ms_container_parse_expr.

	* ms-container.c (ms_container_parse_expr) : new function.

	* ms-excel-read.c (ms_sheet_parse_expr_internal) : implement parse_expr.

2000-12-17 Jody Goldberg <jgoldberg@home.com>

	* Release 0.61

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

	* ms-excel-read.c (ms_sheet_obj_create) : changes to sheet object
	  constructor arguments.

2000-12-07  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_get_style_from_xf) : enable indent.

2000-12-7  Jody Goldberg <jgoldberg@home.com>

        * Release 0.60

2000-12-05  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_mergecells) : enable merged cells.

2000-12-05  Jody Goldberg <jgoldberg@home.com>

	* ms-escher.c (ms_escher_read_Blip) : revert to using the old
	  non-installed image viewer.  The one in eog/viewer does not work.
	  the one in eog/bonobo does.

2000-12-04  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_sheet_obj_create) : fix warnings.

2000-12-02  Jody Goldberg <jgoldberg@home.com>

	* ms-escher.c (ms_escher_read_Blip) : Change image viewers.  The
	  eog/bonobo viewer is no longer built or installed.

	* ms-excel-read.c (ms_excel_read_sheet) : XL docs do not mention that
	  the PROTECT record can sometimes be of size 0.
	(ms_excel_read_workbook) : Ditto.
	(ms_excel_read_PROTECT) : new function.
	(ms_excel_read_mergecells) : Correct.
	(biff_xf_data_new) : remove the warnings about merged cells.

2000-12-01  Jody Goldberg <jgoldberg@home.com>

	* ms-obj.c (ms_read_OBJ) : simplify.

	* ms-excel-write.c (write_biff7_comments) : slight reorg to handle to
	  style cell comments.

	* ms-excel-read.c (ms_excel_read_comment) : revamp for new cell
	  comment technique.

	* ms-excel-read.c (ms_sheet_obj_anchor_to_pos) : Update to the new
	  sheetObject anchor scheme.  The sheet does NOT yet support this form
	  of anchor.  We'll need to add it in the next couple of days.
	(ms_sheet_obj_create) : create the sheet objects directly.

	* ms-escher.c (ms_escher_read_ClientData) : set the picture here
	  directly.

2000-12-01  Jody Goldberg <jgoldberg@home.com>

	* ms-container.c (ms_container_get_blip) : new function.
	(ms_container_init) : Add ability to share blip lists between
	  containers.  We need to figure out the semantics of this.
	(ms_container_finalize) : Ditto.
	(ms_container_set_blips) : Ditto.

2000-11-19  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c (write_externsheets): Make EXTERNCOUNT be the
	number of EXTERNSHEETS we actually store. This stops Excel from
	crashing. See bug #32096. We still have to figure out what to
	store as EXTERNSHEETS and when. What we're doing isn't right.

2000-11-18  Jody Goldberg <jgoldberg@home.com>

	* Release 0.59

2000-11-13  Jody Goldberg <jgoldberg@home.com>

        * Release 0.58

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

	* ms-excel-read.c (ms_excel_get_style_from_xf): Fix some
 	style_color reference count problems.
	(ms_excel_set_xf_segment): Plug leak.

2000-11-10  Jody Goldberg <jgoldberg@home.com>

	* excel_builtin_formats : Correct long standing typos.

2000-11-10  Jody Goldberg <jgoldberg@home.com>
	Patch from Juan Pablo Mendoza <pablo_juan@yahoo.com>

         * ms-excel-write.c (write_biff7_comments): New function.
	 (write_sheet): Use it.

2000-11-07  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (biff_name_data_get_name) : Cleanup a bit.

2000-11-02  Jody Goldberg <jgoldberg@home.com>

	* ms-chart.c (ms_excel_chart) : remove check for BOF type == chart.
	  in BIFF5 it is possible to.

        * ms-excel-read.c (ms_excel_read_sheet) : If we find a CHART_unit
	  record parse the following records as if they were a chart.

2000-11-01  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_sheet_set_comment) : we do not need to set
	  the cell's value to empty.  It is created that way.
	(ms_excel_read_comment) : Ditto.
	(ms_excel_sheet_insert_val) : We have direct access to the display
	  format.  Use it rather than doing an expensive lookup.

2000-10-29  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c : Adjust to the signature changes for reading views
	  rather than workbooks.
	* ms-excel-write.c : ditto.
	* boot.c : ditto.

2000-10-28  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-util.c (init_xl_font_widths) : Add CG Times.

2000-10-30  Morten Welinder  <terra@diku.dk>

	* ms-biff.c (biff_getdouble, biff_setdouble): Delete.  Replace all
 	callers with gnumeric_get_le_double and gnumeric_set_le_double.

2000-10-21  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_row) : Fix bounds.
	(ms_excel_set_xf_segment) : Be more careful about bounds.

2000-10-10  Jody Goldberg <jgoldberg@home.com>

        * Release 0.57

2000-10-04  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (biff_get_rk) : Fix ancient thinko.  Thanks to
	  heiko@hexco.de for noticing this.

2000-09-20  Jody Goldberg <jgoldberg@home.com>

	* ms-formula-read.c (ms_excel_parse_formula) : Make the warning
	  quieter.

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

	* ms-excel-read.c (ms_sheet_obj_realize) : Adjust to new object
	  creation semantics.  First you create the object.  Then set its
	  size.

2000-09-06  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_sheet_new) : No need to call set_zoom.
	  sheet_new does that.

2000-08-24  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-write.c (put_format) : Ref formats as we add them.

2000-08-23  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-write.c (formats_put_magic) : Fixups after changes to
	  format tables.  We need to store a StyleFormat, not a string.
	(after_put_format) : unref rather than free.

2000-08-21  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-write.c (formats_init) : The format table nows stores
	  pointers to StyleFormats rather than their strings.
	(formats_get_format) : Ditto.
	(formats_free) : Ditto.
	(formats_get_index) : Ditto.
	(put_format) : Ditto.
	(write_format) : Ditto.

	* ms-excel-read.c (biff_format_data_lookup) : Number formats are
	  stored in XLS using the 'C' locale. eg a french user who sees
	  '# ##0,00' will actually save '#,##0.00'.
	(ms_excel_get_style_from_xf) : Kludge.  We need to actually set
	  non-borders so that things get over ridden.  The core model needs
	  improving before this can happen correctly.
	(ms_excel_get_style_from_xf) : Ditto.

	* ms-escher.c (ms_escher_read_Blip) : Remove gnorba.

	* ms-chart.c (ai) : Changes to the interface for StyleFormats.
	(ifmt) : Ditto.
	(ms_excel_chart) : Init the sheet.  Ignore BIFF_DIMENSION records for
	  now.  I have no idea what they represenent.

2000-08-20  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_get_style_from_xf) : No need to use
	  set_text.  Set the StyleFormat directly.

2000-08-16  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-util.c (init_xl_font_widths) : Tweak Times New Roman
	  to match observations.  It seems as if the size is non-linear :-(
	  We'll need another round of measurements to account for this.

2000-08-15  Jody Goldberg <jgoldberg@home.com>

	* ms-chart.c (ms_excel_chart) : conditionalize debug info.

2000-08-14  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_set_xf) : Improve debug info.
	(ms_excel_set_xf_segment) : Ditto.
	(biff_xf_data_new) : Ditto.
	(ms_excel_get_style_from_xf) : Always apply the
	  borders.  We need to apply even in the case of no border in order to
	  over ride previously applied defaults.
	(ms_excel_read_row) : Apply default style to the entire row.

2000-08-09  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_biff_dimensions) : Move back from
	  ms-chart.c.  It is specific to sheets.

2000-07-26  Michael Meeks  <michael@helixcode.com>

	* README: Add some explanation of why I hate being mailed by people
	forking my code.

2000-07-24  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_sheet) : Adjust to changes in sheet_set_zoom_factor.
	(ms_excel_sheet_new) : Ditto.

2000-07-13  Jody Goldberg <jgoldberg@home.com>

	* ms-container.c : Beginings of a some support for workbooks, and charts holding objects.
	  Blips should become objects.

	* *.c : adjust to using the container abstraction.

2000-07-08  Jody Goldberg <jgoldberg@home.com>

	* ms-formula-read.c (make_function) : Move the place holder handling
	  into the core.

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

	* ms-escher.c (ms_escher_blip_destroy): unref not destroy bonobo object.

2000-07-06  Jody Goldberg <jgoldberg@home.com>

	* ms-obj.c (ms_read_OBJ) : Take an ExcelSheet.

	* ms-escher.c (ms_escher_read_ClientData) : ms_read_OBJ takes a sheet.
	* ms-excel-read.c (ms_excel_read_sheet) : Ditto.
	(ms_excel_read_workbook) : Ditto.

	* ms-chart.c (3dbarshape) : A bit of research into probable values of
	  the enum.
	(ai) : After some thought this makes more sense.  We should only see
	  an expression if we are linked to the workbook.  Similarly we should
	  only see a format if one is specified.  We really need to avoid this
	  kludge of needing a dummy sheet.
	(areaformat) : Ignore colour index, use the stored colour.  Add some
	  more debug info.
	(lineformat) : Ditto.
	(markerformat) : Ditto.
	(ms_excel_chart) : Take an optional ExcelSheet.
	  Parse BIFF_NUMBER records when they appear.
	(ms_excel_read_chart) : Take an optional ExcelSheet.

2000-07-05  Michael Meeks  <michael@helixcode.com>

	* ms-obj.c (ms_obj_realize): rename sheet_object_container constructor.

	* s/reproid/repo_id/

2000-06-27  Jody Goldberg <jgoldberg@home.com>

	* ms-formula-write.c (write_node) : Handle new ExprFunction.

	* ms-formula-read.c (excel_formula_build_dummy_handle) : Use
	  function_lookup_by_name.

	* ms-excel-read.c (ms_excel_set_xf) : Right borders dominate left
	  borders.

2000-06-23  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_sheet_append_comment) : Add a lag variable
	  to support proper merging of comments.
	(BIFF_NOTE) : Init the lag variable.

2000-06-21  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c (palette_put_defaults): Ensure that black with
	index 8 can't be swapped out.
	(fixup_fill_colors): Use index 8 instead of 0 for black in
	foreground. Excel is unable to open the cell format dialog for
	cells where foreground pattern color or border color is index 0.
	(build_xf_data): Borders: Use index 8 instead of 0 for black.

	* ms-excel-read.c (ms_excel_read_cell): Add more references to BIFF
	documentation.
	(ms_excel_read_workbook): Ditto

2000-06-20  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_externname) : Catch external names that
	  are OLE or DDE links.

2000-06-18  Jody Goldberg <jgoldberg@home.com>

        * Release 0.56

2000-06-19  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-write.c (excel_cell_get) : Add some invariants as
	  protection.
	(pre_cell) : Be more careful about handling cells that are potentially
	  out of bounds.

2000-06-18  Jody Goldberg <jgoldberg@home.com>

        * Release 0.55

2000-06-18  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (biff_boundsheet_data_new) : Guess at some
	  undocumented behavior.  It appears that when a sheet has a NULL
	  name it is actually 'Sheet#'.

2000-06-15  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c (write_db_cell): No longer use uninitialized
	rc_start [i]. Purify complained, although we immediately threw
	away the result.

2000-06-15  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-write.c (write_formula) : Incorrect offsets for formula
	  values with booleans and errors.

2000-06-14  Morten Welinder  <terra@diku.dk>

	* ms-formula-write.c (ms_excel_write_formula): Plug leak.

	* ms-excel-write.c (ms_excel_check_write): In case of error, clear
 	out the state.
	(ms_excel_write_free_state): "New" function.
	(write_workbook): Don't free workbook here.
	(ms_excel_write_workbook): Do it here and plug a leak.

	* boot.c (excel_save): Free the state.

2000-06-07  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (biff_format_data_lookup) : FORMAT records supercede
	  the internal table.

2000-06-05  Michael Meeks  <michael@helixcode.com>

	s/eBiff_version/MsBiffVersion/g;
	s/eBiffV([0-9]*)/MS_BIFF_V\1/g;
	s/eBiffVUnknown/MS_BIFF_V_UNKNOWN/g;

	s/eBiff_filetype/MsBiffFileType/g;
	s/eBiffT/MS_BIFF_TYPE_/g;
	s/eBiff_hidden/MsBiffHidden/g;
	s/eBiffHVisible/MS_BIFF_H_VISIBLE/g;
	s/eBiffHHidden/MS_BIFF_H_HIDDEN/g;
	s/eBiffHVeryHidden/MS_BIFF_H_VERY_HIDDEN/g;
	s/eBiff_locked/MsBiffLocked/g;
	s/eBiffLLocked/MS_BIFF_L_LOCKED/g;
	s/eBiffLUnlocked/MS_BIFF_L_UNLOCKED/g;
	s/eBiff_xftype/MsBiffXfType/g;
	s/eBiffXStyle/MS_BIFF_X_STYLE/g;
	s/eBiffXCell/MS_BIFF_X_CELL/g;
	s/eBiff_format/MsBiffFormat/g;
	s/eBiffFMS/MS_BIFF_F_MS/g;
	s/eBiffFLotus/MS_BIFF_F_LOTUS/g;
	s/eBiff_eastern/MsBiffEastern/g;
	s/eBiffEContext/MS_BIFF_E_CONTEXT/g;
	s/eBiffEleftToRight/MS_BIFF_E_LEFT_TO_RIGHT/g;
	s/eBiffErightToLeft/MS_BIFF_E_RIGHT_TO_LEFT/g;
	s/eBiffFontUnderline/MsBiffFontUnderline/g;
	s/eBiffFUNone/MS_BIFF_F_U_NONE/g;
	s/eBiffFUSingleAcc/MS_BIFF_F_U_SINGLE_ACC/g;
	s/eBiffFUDoubleAcc/MS_BIFF_F_U_DOUBLE_ACC/g;
	s/eBiffFUSingle/MS_BIFF_F_U_SINGLE/g;
	s/eBiffFUDouble/MS_BIFF_F_U_DOUBLE/g;
	s/eBiffFontScript/MsBiffFontScript/g;
	s/eBiffFSNone/MS_BIFF_F_S_NONE/g;
	s/eBiffFSSub/MS_BIFF_F_S_SUB/g;
	s/eBiffFSSuper/MS_BIFF_F_S_SUPER/g;
	s/eBiffHAlign/MsBiffHAlign/g;
	s/eBiffHAGeneral/MS_BIFF_H_A_GENERAL/g;
	s/eBiffHALeft/MS_BIFF_H_A_LEFT/g;
	s/eBiffHACenter/MS_BIFF_H_A_CENTER/g;
	s/eBiffHARight/MS_BIFF_H_A_RIGHT/g;
	s/eBiffHAFill/MS_BIFF_H_A_FILL/g;
	s/eBiffHAJustify/MS_BIFF_H_A_JUSTIFTY/g;
	s/eBuffHACenterAcrossSelection/MS_BIFF_H_A_CENTER_ACROSS_SELECTION/g;
	s/eBiffVAlign/MsBiffVAlign/g;
	s/eBiffVATop/MS_BIFF_V_A_TOP/g;
	s/eBiffVACenter/MS_BIFF_V_A_CENTER/g;
	s/eBiffVABottom/MS_BIFF_V_A_BOTTOM/g;
	s/eBiffVAJustify/MS_BIFF_V_A_JUSTIFY/g;
	s/eBiffOrient/MsBiffOrient/g;
	s/eBiffOHoriz/MS_BIFF_O_HORIZ/g;
	s/eBiffOVertHorizText/MS_BIFF_O_VERT_HORIZ/g;
	s/eBiffOVertVertText/MS_BIFF_O_VERT_VERT/g;
	s/eBiffOVertVertText2/MS_BIFF_O_VERT_VERT2/g;
	s/eBiffDifferences/MsBiffDifferences/g;
	s/eBiffDFormatbit/MS_BIFF_D_FORMAT_BIT/g;
	s/eBiffDFontbit/MS_BIFF_D_FONT_BIT/g;
	s/eBiffDAlignbit/MS_BIFF_D_ALIGN_BIT/g;
	s/eBiffDBorderbit/MS_BIFF_D_BORDER_BIT/g;
	s/eBiffDFillbit/MS_BIFF_D_FILL_BIT/g;
	s/eBiffDLockbit/MS_BIFF_D_LOCK_BIT/g;
	s/BIFF_BOF_DATA/MsBiffBofData/g;
	s/eBiffMaxRows/MsBiffMaxRows/g;
	s/eBiffMaxRowsV7/MS_BIFF_MAX_ROWS_V7/g;
	s/eBiffMaxRowsV8/MS_BIFF_MAX_ROWS_V8/g;

2000-06-05  Michael Meeks  <michael@helixcode.com>

	* ms-excel-read.c (sst_bound_check): Update so we can't miss
	adjacent records and we check for continues.

2000-06-03  Michael Meeks  <michael@helixcode.com>

	* ms-obj.c (ms_read_TXO): fix memory corruption bug with continue.

	* ms-escher.c (ms_escher_read_Blip): update for Oaf.

	* ms-biff.c (ms_biff_query_new): kill merging.
	(ms_biff_merge_continues): kill forever.
	(ms_biff_query_next_merge): rename to (ms_biff_query_next): and
	clean. (ms_biff_query_unmerge): kill.

2000-06-02  Michael Meeks  <michael@helixcode.com>

	* ms-excel-read.c (biff_get_text): hack nasty auto-header
	detection. (read_sst): split from (ms_excel_read_workbook).
	(get_xtn_lens): split from (biff_get_text).
	(get_utf8_chars, get_string, sst_boundcheck): implement.

2000-01-31  Michael Meeks  <mmeeks@gnu.org>

	* ms-obj.c (ms_read_TXO): re-implement to swallow CONTINUEs &
	make safer.

	* ms-biff.c (ms_biff_query_next_merge): hack do_merge = FALSE
	for now; big clean possible later.

	* ms-escher.c (ms_escher_read_Blip): always use image-generic;
	it works, disable writing image files unless debugging.
	(write_file): conditional compile out.
	(ms_escher_get_data): add BIFF_CONTINUE.

2000-01-30  Michael Meeks  <michael@mejm2.dow.cam.ac.uk>

	* ms-excel-read.c (ms_excel_read_sheet): kill blank_sheet_pos.

2000-05-30  Michael Meeks  <michael@helixcode.com>

	* Makefile.am (INCLUDES): kill explicit libole2 include.

2000-05-20  Jody Goldberg <jgoldberg@home.com>

        * Release 0.54

2000-05-18  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_mergecells) : Produce a warning.

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

	* boot.c (excel_load): add basic hooks.

	* excel.h: ditto.

2000-05-16  Michael Meeks  <michael@helixcode.com>

	* Makefile.am (INCLUDES): add libole2 include.

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

	* *.[ch]: update libole2 includes.

	* Makefile.am (INCLUDES): kill libole2 kludge.

2000-05-09  Jody Goldberg <jgoldberg@home.com>

	* Release 0.53

2000-05-05  Jody Goldberg <jgoldberg@home.com>

	* ms-formula-read.c (ms_excel_parse_formula) : Improve warning when we
	  encounter unknown ptgAttr flags.

2000-05-03  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c : Include eval.h to suppress warning.

2000-05-03  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-write.c (write_cell) : Use parse_pos_init_cell.

	* ms-excel-read.c (ms_excel_read_formula) : No need to manually
	  cleanout the old value.  The various assignment routines take care
	  of that.
	  Honour the recalc flags for expressions.  Array expressions are
	  still unconditionally recalced, but the common case is handled
	  correctly.

2000-04-24  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c : format police.

2000-04-21  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_sheet_insert) : Use cell_set_value
	  rather than cell_set_text to avoid attempting to parse the string.

2000-04-20  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_sheet_insert) : formats are no longer
	  associated with individual cells.  Only create a cell if it has
	  content.
	(ms_excel_formula_shared) : Rework to return the expression.  Only set
	  it if it is an array.
	(ms_excel_read_formula) : Use error values for problems not strings.
	  Use cell_set_expr_and_value when possible.
	(ms_excel_read_workbook) : Disable optimization that was culling blank
	  sheets.  It was causing a complete recalc of all loaded books for
	  eavy deleted sheet.

2000-04-20  Dan Winship  <danw@helixcode.com>

	* ms-escher.c (ms_escher_blip_new): update for changes to bonobo

2000-04-09  Morten Welinder  <terra@diku.dk>

	* ms-excel-read.c (ms_excel_sheet_append_comment): Constify.
	(ms_excel_sheet_set_comment): Ditto.
	(ms_excel_read_sheet): Plug leak.

2000-04-08  Jon K Hellan  <hellan@acm.org>

	* ms-excel-read.c (ms_excel_set_xf, ms_excel_read_formula,
	ms_excel_read_sheet):  Use
	gnum_sheet->name_unquoted instead of gnum_sheet->name in debug
	output.
	(ms_excel_read_workbook): Remove unused variable to silence
	warning.

	* ms-excel-write.c (write_externsheets): Output
	gnum_sheet->name_quoted instead of gnum_sheet->name. FIXME: Is
	this correct?
	(write_sheet): Use gnum_sheet->name_unquoted instead of
	gnum_sheet->name in debug output.
	(write_workbook): Output gnum_sheet->name_unquoted instead of
	gnum_sheet->name.

	* ms-formula-read.c (ms_excel_parse_formula): Use
	gnum_sheet->name_unquoted instead of gnum_sheet->name in debug
	output.

	* ms-obj.c (object_anchor_to_position): Ditto.

2000-04-06  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_workbook) : Move deep freeze/thaw to
	  a higher level.

2000-04-06  Jody Goldberg <jgoldberg@home.com>

	* ms-formula-read.c (ms_excel_parse_formula) : Adjust to change in
	  value_new_range.

2000-04-04  Jody Goldberg <jgoldberg@home.com>

	* ms-obj.c (ms_obj_read_biff8_obj) : Be more careful about when to
	  dump debug info when the stated record size disagrees with the
	  actual.

2000-03-24  Jody Goldberg <jgoldberg@home.com>

	* *.[ch] : Update copywrite years.

	* ms-obj.c (ms_read_OBJ) : improve debug output.
	(ms_obj_read_biff8_obj) : Try a new heuristic for dealing with trailing IMDATA.

2000-03-23  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (biff_xf_data_new) : Support horizontal alignment
	  center_across_selection.

	* ms-excel-write.c (halign_to_excel) : Ditto.

	* ms-obj.c (object_anchor_to_position) : remove some debug code.

2000-03-23  Jon K Hellan  <hellan@acm.org>

	* boot.c (excel_load): No longer add ".gnumeric" to filename. Set
	save info. Tag filename as MANUAL. We could make it AUTO soon.
	(excel_init): Tag saver as MANUAL.

2000-03-22  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (biff_xf_data_new) : Add some warnings for
	  unsupported rotated text.

2000-03-21  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-util.c (init_xl_font_widths) : Add Geneva.

	* ms-excel-read.c (biff_xf_data_new) : Have the horizontal alignment
	  type center_across_selection default to 'center' instead.
	(ms_excel_read_workbook) : Be more explicit about NOT supporting 1904
	  dates as yet.

2000-03-14  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (biff_xf_data_new) : Remove warning about parent
	  styles not == 0.  I finally understand what the semantics of this
	  are.  Style 0 is 'Normal' this test was doing nothing accept
	  discriminating agains 'Comma' and its friends.  We need to extend
	  the gnumeric notion of styles to include the limited form of
	  inheritance embodied by XL.

	* ms-obj.c (object_anchor_to_position) : Be VERY careful.

2000-03-13  Jody Goldberg <jgoldberg@home.com>

	* ms-obj.c (object_anchor_to_position) : Be more careful handling out
	  of bounds conditions.  Part of bug 7312.

2000-03-09  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_get_style_from_xf) : Tweak colour
	  selection for contrasting colours.  FIXME : We really need to find
	  something more definative than this guess work.

	* ms-excel-read.c (ms_excel_read_selection) : Do not reset the
	  edit cursor.  It needs more work to be correct.

2000-03-09  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-util.[ch] (lookup_font_base_char_width) : Delete.

	* ms-excel-read.c (ms_excel_get_style_from_xf) : Adjust bottom and
	  right borders to be top & left of neighbouring cells.
	(ms_excel_set_xf) : Ditto.
	(ms_excel_set_xf_segment) : Ditto.

2000-03-05  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c (lookup_base_char_width_for_write): Rename to
	init_base_char_width_for_write. Init width and default width.
	(get_base_char_width): Add is_default parameter.
	(write_colinfo, write_default_col_width): Use it.

	* ms-excel-write.h (struct _ExcelSheet): Add base_char_width_default.

	* ms-excel-write.c (excel_font_to_string, excel_font_new,
	excel_font_hash, excel_font_equal, write_font): Handle underline,
	strikethrough.

	* ms-excel-write.h (struct _ExcelFont): Ditto

2000-03-05  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_get_style_from_xf) : enable strikethrough.

2000-03-01  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (biff_font_data_new) : Fix old typo.

2000-02-29  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_get_style_from_xf) : Add support for
	  importing underlines.

2000-02-18  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_get_style_from_xf) : Hard code 'auto'
	  border colours to black for now.  We are not guessing well.

2000-02-15  Jody Goldberg <jgoldberg@home.com>

	* ms-obj.c (object_anchor_to_position) : Improve debug output.

	* ms-excel-read.c (ms_excel_sheet_new) : Add new member base_char_width_default.
	(print_font_mapping_debug_info) : Delete.
	(lookup_base_char_width_for_read) : Rename init_base_char_width_for_read,
	  and use lookup_font_base_char_width_new to init the width and the
	  default_width.
	(get_base_char_width) : Adjust.
	(ms_excel_read_colinfo) : Width is different from default_width...  Idiots!
	(ms_excel_read_default_col_width) : Ditto.

	* ms-excel-util.c : Add lookup tables for various standard widths of
	  MS fonts.  Use a quick and dirty linear scaling to calculate the
	  widths of arbitrary font sizes.

2000-02-14  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_row) : heights are specified
	  including margins and 1 grid line.  Do not use get_units_net_of_margins.
	(get_units_net_of_margins) : Delete.

2000-02-13  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_workbook) : Adjust WINDOW size
	  measurements from points to pixels.

2000-02-12  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_default_col_width) : Margins are
	  internal now.
	(ms_excel_read_default_row_height) : Ditto.
	(ms_excel_read_colinfo) : Ditto.
	(ms_excel_read_row) : Adjust to changes in margins and step closer to
	  handling think margins.

	* ms-excel-write.c (write_rowinfo) : Use the size_pts member directly.
	(write_colinfos) : ditto.

	* ms-obj.c (object_anchor_to_position) : Adjust to name and semantic
	  changes of size_pixels.  Denominate things in pixels.

2000-02-06  Michael Meeks  <michael@helixcode.com>

	* ms-excel-read.c (ms_excel_read_workbook): Move failed sheet removal
	here + add pristine culling instead of 0 byte in sheet header, may
	introduce bugs but will help fix sheet_is_pristine. Fix potential
	sheet object leak. (ms_excel_read_sheet): do not detach in error case.

2000-01-30  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c (write_sheet): Correct the max no. of rows check.

2000-01-29  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_workbook) : Correct the error
	  handling.

2000-01-29  Jon K Hellan  <hellan@acm.org>

	Megacommit.

	The purpose of the changeset is twofold:

	1. Use CommandContexts for error reporting for file read/save.
	2. This allows us to let FileFormatOpen return 0 on success, -1 on
	   failure, same as FileFormatSave. The convention to return NULL
	   on success was highly ideosyncratic.

	* excel.h (ms_excel_read_workbook, ms_excel_write_workbook) Add
	CommandContext. Return int.

	* ms-excel-read.c (ms_excel_read_workbook): Add
	CommandContext. Return 0 on success, -1 on failure. Use
	gnumeric_error_read to display messages.

	* ms-excel-write.c (write_sheet): Check max no. of rows for the
	format.
	(new_sheet): Return the ExcelSheet. Let caller add it to
	wb->sheets.
	(pre_pass): Add CommandContext.
	(free_workbook): New function, previously in write_workbook.
	(write_workbook): Change parameter from Workbook to ExcelWorkbook.
	Move deallocation to free_workbook.
	(check_sheet): New function. Check if we are able to save the
	sheet.
	(ms_excel_check_write): New function. Check if we are able to save
	to the file. Do initialization previously in
	ms_excel_write_workbook.
	(ms_excel_write_workbook): Add CommandContext. Add state. Change
	wb from Workbook to ExcelWorkbook. Use gnumeric_error_save to
	report problems. Return 0 on success, -1 on failure.

	* ms-excel-biff.h: Define enum for max no. of rows. Fix typo.

	* boot.c (excel_load, excel_save, excel_save_98, excel_save_95):
	Add CommandContext.
	(excel_load): Return 0 on success, -1 on failure.
	Use gnumeric_error_read to display messages. Remove "Opening .. "
	message on stdout.
	(excel_probe_write): New function. Check if we are able to save to
	the file.
	(excel_save): Use gnumeric_error_save to display messages.
	Return 0 on success, -1 on failure.

2000-01-18  Jody Goldberg <jgoldberg@home.com>

	* ms-formula-read.c (ms_excel_parse_formula) : Add OPER_UNARY_PLUS.

	* ms-formula-write.c (write_node) : Ditto.

	* ms-excel-read.c (get_units_net_of_margins) : Return 1 when faced
	  with < 0 sized things.
	(ms_excel_read_row) : Support hidden rows.
	(ms_excel_read_colinfo) : Support hidden columns.

2000-01-17  Frank Chiulli  <fc-linux@home.com>

	* ms-summary.c (ms_summary_write): Turn on writing out the
	  DocumentSummaryInformation stream.

2000-01-17  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-write.c : Remove unused xml includes.

2000-01-17  Jody Goldberg <jgoldberg@home.com>

	* ms-chart.c (ms_excel_chart) : Apparently BIFF_NUMBER records show up
	  in charts.

	* ms-excel-read.c (ms_excel_read_workbook) : Improve sizing of
	  window, Use the support for some of the new preferences
	  hiding scrollbars, and notebooktabs.

	* ms-excel-read.c (ms_excel_read_sheet) : Use support for
	  hidden grid lines, hidden formulas, hidden zeros, hidden
	  row/col headers.  Use the information on where the upper left
	  corner is.

2000-01-14  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.h: (ExcelWorkbook): Make
	sheet->cells an array of arrays.

	* ms-excel-write.c (excel_cell_get): Make inline.
	(excel_cell_get, new_sheet, new_sheet, free_sheet): Make
	sheet->cells an array of arrays.

2000-01-13  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_workbook) : Move magic scale hack
	  into a single #define.  Use workbook_view_set_size.

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

	* ms-obj.c (ms_read_TXO) : Return the string generated rather than
	  leaking it.
	(ms_read_OBJ) : Don't warn about comments, they are not sheet objects
	  which breaks the whole function of this routine but they are not
	  unexpected.  If we can figur eout how to store the string associated
	  with the TXO nearby with this object and get that cleaned up on
	  time and referencable by obj-ID then we can fix comment import.

	* ms-excel-read.c (ms_excel_read_sheet) : Improve handling for
	  WINDOW1 and warn about more unsupported cases.  Tweak zoom factor
	  by 1.4 to be less ugly. (ICK !  HACK!)
	(ms_excel_read_workbook) : WINDOW2 is a sheet level
	  descriptor.  Add handle for WINDOW1.
	(ms_excel_sheet_new) : ICK!  hard code a scale
	  factor of 1.4 to get things to be less ugly.

2000-01-05  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c (write_colinfos): Fix off by one error.
	(write_sheet_bools): Ditto.

2000-01-03  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_sheet) : extend support for WINDOW2.
	(ms_excel_read_selection) : Remove hack to set visible location.

1999-12-30  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_workbook_new) : Return error messages.
	(ms_excel_read_workbook) : If a file is password protected do NOT
	  attempt to read it.

	* boot.c (excel_load) : return error messages.

1999-12-23  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c (write_bits): Use "The Free Software
	Foundation" as name.

	* excel.h (WRITEACCESS_LEN): Define it.

1999-12-21  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c (write_index, write_db_cell, write_block,
	write_sheet): Write row info records in blocks of 32. Excel was
	unable to read files we made if they were over 517 rows. Limit is
	now pushed to 16544.
	(write_index): Assertion no longer true - removed it. Refer to
	Excel doc page.
	(write_db_cell): Write offsets for all rows in block in single
	record. Add number of rows parameter.
	(write_block): New function. Write a block of rows. Previously
	part of write_sheet, but changed for blocked row info.
	(write_sheet): Move inner loop to write_block.
	(new_sheet): Initialize sheet->cells to 0.

	* excel.h (ROW_BLOCK_MAX_LEN): Define.

1999-12-21  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c (fixup_fill_colors): Fix minor bug.

1999-12-17  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.h (struct _ExcelCol ): define it
	(struct _ExcelSheet): Add base_char_width

	* ms-excel-write.c (log_put_color, palette_get_index,
	gather_palette, write_palette, excel_font_new, excel_font_hash,
	excel_font_equal, after_put_format, map_pattern_index_to_excel,
	halign_to_excel, valign_to_excel, fixup_fill_colors,
	get_xf_differences, log_xf_data, build_xf_data,
	write_xf_magic_record, write_value, write_formula, write_cell,
	write_mulblank, pre_pass): Cosmetics
	(write_font, write_fonts, write_format, write_formats,
	write_xf_record, write_xf, write_workbook): Conform to
	conventional parameter order
	(orientation_to_excel, border_type_to_excel): Make inline
	(write_default_row_height): New function. Write default row
	height.
	(lookup_base_char_width_for_write): New function. Locate font for
	measuring base char width, and call measuring function.
	(get_base_char_width): New function: Return base char width for
	column sizing.
	(write_default_col_width): New function. Write default col width.
	(write_colinfo): New function. Write column info for a run of
	identical columns
	(write_colinfos): New function. Write column info for all columns.
	(write_sheet_bools): Use write_default_row_height,
	write_default_col_width, write_colinfos.
	(write_sheet_bools):
	(write_rowinfo): Write true row height. Add sheet to signature.
	(write_sheet): Add sheet to write_rowinfo call.
	(new_sheet): Initialize base_char_width.

	* ms-excel-util.h: #include <sheet.h>
	(EXCEL_DEFAULT_CHAR_WIDTH): Move here from ms-excel-read.h
	(lookup_font_base_char_width): Declare it.

	* ms-excel-util.c (lookup_font_base_char_width): New
	function. Measure "base character width" of font. Previously in
	lookup_base_char_width in ms-excel-read.c

	* ms-excel-read.c: #include ms-excel-util.h
	(lookup_base_char_width_for_read): Renamed from
	lookup_base_char_width because of similar, but different function
	in ms-excel-write.c. Split in two. Font locating stays here. Font
	measuring moved to new function lookup_font_base_char_width in
	ms-excel-util.c
	(get_base_char_width): Use lookup_base_char_width_for_read.
	(ms_excel_read_default_row_height): Refer to Excel doc page.
	(ms_excel_read_default_col_width): Ditto

1999-12-14  Jon K Hellan  <hellan@acm.org>

        * ms-excel-write.h (XF_MAGIC, PALETTE_ALSO_BLACK, FILL_MAGIC,
        BORDER_MAGIC): define
        (PALETTE_WHITE, PALETTE_BLACK): Fix typo, they were switched around.

        * ms-excel-write.c (put_colors): Include border colors.
        (excel_font_new): Newline to conform to coding style.
        (fonts_get_font): New function. Get font, given index.
        (fonts_free, write_fonts): Use it.
        (write_font): Fix boldstyle typo.
        (formats_get_format): New function. Get format, given index.
        (formats_free, write_format): Use it.
        (xf_get_mstyle): New function. Get mstyle, given index.
        (xf_free): Use it.
        (halign_to_excel):
        New function. Map horizontal alignment to Excel bitfield
        (valign_to_excel):
        New function. Map vertical alignment to Excel bitfield.
        (orientation_to_excel):
        New function. Map text orientation to Excel bitfield.
        (border_type_to_excel):
        New function. Map border type to Excel bitfield.
        (fixup_fill_colors):
        New function. Kluge fill foreground and background colors.
        (get_xf_differences): Fill out map of differences to parent style.
        (log_xf_data):
        New function. Log XF data for a record about to be written. Pulled
        out of write_xf_record.
        (build_xf_data): New function. Build XF data for a style. Pulled
        out of write_xf_record, but uses BiffXFData struct. Add support
        for borders, alignments, wrap, rotation. Change some
        local variable names for consistency with import code.
        (write_xf_magic_record): Comment magic color value.
        (write_xf_record): Change signature, take BiffXFData instead of
        mstyle. Simplify by moving out logging and marshaling. Make more
        complex by writing borders, alignment, wrap, rotation.
        (write_xf): Use xf_get_mstyle, build_xf_data, log_xf_data.

        * ms-excel-util.h: Fix typo.

        * ms-excel-xf.h: New file for BiffXFData struct def.

        * ms-excel-read.c: Move BiffXFData struct def to
        ms-excel-xf.h. Include ms-excel-xf.h. Remove include "border.h" -
        ms-excel-xf.h includes it.
        (ms_excel_get_style_from_xf): Express some bewilderment.

        * ms-excel-biff.h: Define enums for horizontal alignment, vertical
        alignment, text orientation, difference bits

1999-12-11  Frank Chiulli  <fchiulli@home.com>

	* ms-summary.c (ms_summary_write): comment out DocumentSummary.

	* boot.c (excel_save): re-enable summary write.

1999-12-14 Valerie A Henson  <val@nmt.edu>

	* ms-obj.c: s/dump/ms_ole_dump/

	* ms-biff.c: s/dump/ms_ole_dump/

	* ms-formula-read.c: s/dump/ms_ole_dump/

	* ms-excel-read.c: s/dump/ms_ole_dump/

1999-12-09  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c (excel_font_hash, excel_font_equal, excel_font_free):
	fixup pointer bits.

1999-12-08  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c: (palette_color_to_int): New function. Convert
	EXCEL_PALETTE_ENTRY to guint.
	(style_color_to_int): New function. Convert StyleColor to guint.
	(log_put_color): New function. Debug log when color added to
	palette
	(palette_put_defaults): New function. Put Excel default colors to
	palette.
	(palette_init): New function. Initialize palette table.
	(palette_free): New function. Free palette table.
	(palette_get_index): New function. Get color index.
	(put_color): New function. Add color to palette.
	(put_colors): New function. Add colors in MStyle to palette
	(gather_palette): New function. Add all colors in workbook to
	palette.
	(write_palette): Use color info from styles. Make void.
	(excel_font_to_string): New function. Return string desc. of font
	(excel_font_new): New function. Make an ExcelFont (font + color).
	(excel_font_free): New function. Free an ExcelFont.
	(excel_font_hash): New function. Hash function for ExcelFonts.
	(excel_font_equal): New function. Compare ExcelFonts.
	(fonts_init): New function. Initialize font table
	(fonts_free): New function. Free font table.
	(fonts_get_index): New function. Get index of ExcelFont
	(after_put_font): New function. Debug log when font is added to
	table.
	(put_font): New function. Add font to table.
	(gather_fonts): New function. Add all fonts in workbook to table.
	(write_font): New function. Write a font to file. Essentially,
	inner loop of the old version of write_fonts.
	(write_fonts): Rewritten. Make void
	(after_put_format): New function. Debug log when format is added
	to table.
	(formats_put_magic): New function. Add builit-in formats to table.
	(formats_init): New function. Initialize format table
	(formats_free): New function. Free format table
	(formats_get_index): New function. Get index of format
	(put_format): New function. Add a format to table
	(gather_formats): New function. Add all formats in workbook to
	table.
	(write_format): New function. Write a format to file. Essentially,
	inner loop of the old version of write_formats.
	(write_formats): Rewritten. Make void.
	(cell_used_map_new): New function. Make bitmap for cells in use.
	(cell_mark_used): New function. Mark cell in use in bitmap.
	(cell_is_used): New function. Return true if cell marked in use in
	bitmap.
	(get_default_mstyle): New function. Get default mstyle of
	sheet. Placeholder function until this info is exported from
	sheet.
	(xf_init): New function. Initialize xf/mstyle table.
	(xf_free): Rewritten. New signature. Release allocated style data.
	(after_put_mstyle): New function. Debug log when MStyle added to
	table.
	(put_mstyle): New function. Add MStyle to table.
	(excel_cell_get): New function. Get ExcelCell record for cell
	position.
	(pre_cell): Constify key. Add cell MStyle to table. Cache some
	info
	(pre_blank): New function. Add MStyle of blank cell to table.
	(pre_blanks): New function. Add MStyles of all blank cells in
	workbook to table.
	(gather_styles): New function. Add all MStyles in workbook to
	table.
	(map_pattern_index_to_excel): New function. Map Gnumeric pattern
	index to Excel ditto.
	(write_xf_magic_record): New function. Essentially, the old
	version of write_xf_record.
	(write_xf_record): Rewritten. Use style info from worksheet.
	(write_xf): Use style info from worksheet. Changed signature.
	(write_value): Let ms_excel_write_debug govern debug logging.
	(write_formula): Add xf parameter. Write true xf index
	(write_cell): ExcelCell parameter instead of Cell, bringing in xf.
	Write true xf index.  Let ms_excel_write_debug govern debug
	logging.
	(write_mulblank): Add xf_list parameter. Write true xf
	index. Remove #define XF_MAGIC. Add debug logging. Add
	ms_biff_put_commit.
	(write_index): Let ms_excel_write_debug govern debug logging.
	(write_sheet): Let ms_excel_write_debug govern debug logging.
	(write_sheet): Use ExcelCell instead of Cell. Pass xf or xf_list
	to called functions.
	(new_sheet): Initialize sheet->cells, sheet->cell_used_map
	(free_sheet): Free sheet->cells, sheet->cell_used_map
	(pre_pass): Rewrite. Change signature
	(write_workbook): Initialize font, format, palette and xf tables.
	Free xf list.
	(ms_excel_write_workbook): Flush debug log at end.

	* ms-excel-write.h: Define TwoWayIndex, ExcelFont, ExcelCell,
	ExcelRow. Redefined Palette, Fonts, Formats, XF. Add cells and
	cell_used_map to ExcelSheet. Add xf to ExcelWorkbook.  Define
	AfterPutFunc. Declare ms_excel_write_debug.  Move #defines from
	ms-excel-write.c. Move function declarations last.

	* ms-excel-util.c New file.
	(two_way_index_new): New function. Make TwoWayTable.
	(two_way_index_free): New function. Destroy TwoWayTable
	(two_way_index_put): New function. Put a key to TwoWayTable
	(two_way_index_replace): New function. Replace key for index in
	TwoWayTable
	(two_way_index_key_to_idx): New function. Find index given key
	(two_way_index_idx_to_key): New function. Find key given index

	* ms-excel-util.h New file.

	* ms-excel-read.c (ms_excel_read_cell): Add \n to debug print.

1999-12-06  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-write.c (new_sheet): Update to sheet_get_extent.

1999-12-01  Morten Welinder  <terra@diku.dk>

	* ms-excel-read.c (lookup_base_char_width): Plug leaks.
	(biff_xf_data_destroy): Ditto.

1999-11-30  Michael Meeks  <mmeeks@gnu.org>

	* boot.c (excel_save): Disable summary info export.

1999-11-30  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c: Add ms_excel_write_debug.

1999-11-30  Jon K Hellan  <hellan@acm.org>

	* ms-excel-read.c (biff_format_data_lookup): Add debug.
	(lookup_base_char_width): add commenting.
	(ms_excel_read_workbook): Add fflush.

1999-11-28  Michael Meeks  <mmeeks@gnu.org>

	* gnumeric-chart.c (gnumeric_chart_destroy): check the series
	is valid before freeing.

1999-11-28  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (biff_name_data_destroy): add comment.

	* ms-chart.c (ms_excel_chart): destroy state.chart.

1999-11-26  Jody Goldberg <jgoldberg@home.com>

	* ms-formula-read.c (ms_excel_parse_formula) : DOH!
	  why wait to implement the implicit intersetion in the core.
	  We know that this will require such an intersection.  So do
	  the work here.  This results in the same sheet that XL produces
	  if you turn off the 'use labels as names' feature.

1999-11-26  Jody Goldberg <jgoldberg@home.com>

	* ms-formula-read.c (ms_excel_parse_formula) : Add support for
	  extended-ptg ElfColV and ElfRowV.  They seem to refer to the
	  use of an implicit vector defined by a column header.
	  ie A1 = 'bob'  A2 = 2 B2 = '=bob^2'
	  The eptg would indicate that 'bob' in B2 refered to the column below
	  A1.  Presumably implicit intersection (not implemented yet) would
	  handle the rest.

1999-11-25  Jody Goldberg <jgoldberg@home.com>

	* ms-obj.c (object_anchor_to_position) : Use 1/1024 for pre-XL97
	  objects.  Do not scale the margins.

1999-11-23  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (biff_font_data_new) : Improve debug info.
	(ms_excel_get_style_from_xf) : Ditto.
	(ms_excel_set_xf) : Ditto.

1999-11-22  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (get_units_net_of_margins) : Don't crash when the
	  col/row info is NULL.

	* ms-excel-read.c (ms_excel_get_xf) : Improve error
	  message when faced with invalid xf index.

1999-11-21  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_selection) : Bug 3609.
	  Make sure the current cell is visible.

1999-11-19  Jon K Hellan  <hellan@acm.org>

	* ms-excel-read.c (ms_excel_read_row): New function: Process a BIFF
	row info record. Previously in ms_excel_read_cell.
	(ms_excel_read_colinfo): New function: Process a BIFF column
	info record. Previously in ms_excel_read_cell.
	(ms_excel_read_cell): Move some code to ms_excel_read_row and
	ms_excel_read_colinfo
	(ms_excel_read_default_row_height): New function: Process a BIFF
	default row height record. Previously in ms_excel_read_sheet.
	(ms_excel_read_default_col_width): New function: Process a BIFF
	default column width record. Previously in ms_excel_read_sheet.
	(ms_excel_read_sheet): Move some code to
	ms_excel_read_default_row_height and ms_excel_read_default_col_width.

1999-11-19  Michael Meeks  <mmeeks@gnu.org>

	* boot.c (excel_probe): Check for the right streams, not just an
	ole file.

1999-11-18  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (lookup_base_char_width): kill double init of
	sample & add check.

1999-11-18  Jon K Hellan  <hellan@acm.org>

	* ms-obj.c (ms_parse_object_anchor): Just extract anchor data,
	don't try to convert to pixels. Extracted anchor data has type
	anchor_point[4], i.e. 4 pairs of col/row number and fractions of
	col/row.
	(ms_obj_realize): Now receives uninterpreted anchor data. Thus,
	conversion to position is delayed until the entire sheet has been
	read. Use object_anchor_to_position to interpret. 'anchor'
	variable renamed to 'position'.
	(object_anchor_to_position): New function: Convert an anchor to
	position in points. Based on data interpretation in previous
	version of ms_parse_object_anchor.  Interpret as 256th's rather
	than 1024th's vertically. Base computation on actual cell
	width/height.

	* ms-obj.h (type anchor_point): define it.
	(type MSObj): Change type of anchor from int[4] to
	anchor_point[4].
	Update signature of ms_parse_object_anchor.

	* ms-excel-read.h (_ExcelSheet): Add base_char_width member.
	(EXCEL_DEFAULT_CHAR_WIDTH): Define it.
	* ms-excel-read.c (get_substitute_font):
	New function: Try to find a gnome font which matches the Excel font.
	(ms_excel_get_style_from_xf): Use get_substitute_font.
	(ms_excel_sheet_new): Initialize base_char_width to 0, i.e. unknown.
	(print_font_mapping_debug_info): Debug print in separate routine.
	(get_base_char_width): New function: Return base char width for
	column sizing. If not yet known, call lookup_base_char_width to
	find it.
	(lookup_base_char_width): New function. See get_base_char_width.
	(get_row_height_units): New function. We could adjust excel
	heights here, but there seems to be no need.
	(get_units_net_of_margins): New function. Subtract margins from a
	point size.
	(ms_excel_read_cell):
	case BIFF_ROW: Specify height in points, not pixels.  Use
	get_row_height_units and get_units_net_of_margins. Call
	sheet_row_set_height_units rather than sheet_row_set_height.
	case BIFF_COLINFO: Specify width in points, not pixels.  Scale
	column based on actual font. Use get_base_char_width and
	get_units_net_of_margins. Call sheet_col_set_width_units rather
	than sheet_col_set_width.
	(ms_excel_read_sheet):
	case BIFF_DEFAULTROWHEIGHT: Handle it. Like BIFF_ROW, but use
	sheet_row_set_internal_height on default style.
	case BIFF_DEFCOLWIDTH: Handle it. Like BIFF_COLINFO, but use
	sheet_col_set_internal_height on default style.

	* ms-escher.c (_MSEscherHeader):
	Change type of anchor to anchor_point[4]

1999-11-18  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_read_guts): rename.

1999-11-17  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_mergecells) : New function.
	  Test parser for merged cells.
	(ms_excel_read_sheet) : Use it.
	(biff_xf_data_new) : Fix typo.

	* ms-excel-read.c (black_or_white_contrast) : Use new
	  style_color{black,white} functions.
	(ms_excel_palette_get) : Ditto.
	(ms_excel_get_style_from_xf) : Ditto.

1999-11-17  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (biff_xf_data_new): Quieten.
	(ms_excel_palette_get): Return black on failure.
	(biff_get_text): quieten various warnings.

1999-11-16  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_GUTS) : New function.
	(ms_excel_read_sheet) : used here.

1999-11-15  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (biff_xf_data_new) : Add warnings about
	  unsupported alignment and format features.  This explains
	  why travel.xls looks odd.

1999-11-14  Frank Chiulli <fchiulli@home.com>

	* ms-summary.c (set_summary_item) : Process all the sections in a
	  stream.  Pass the section's PropertySetID to sum_name_to_excel
	  rather than the stream's.

1999-11-13  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-write.c (write_sheet) : Make static.
	* gnumeric-chart.h (typedef) : Fix prototype.

1999-11-09  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_get_style_from_xf, biff_xf_map_border):
	Update to new STYLE_BORDER enums.

1999-11-08  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (biff_xf_data_new) : Reverse sense on diagonals.

1999-11-08  Michael Meeks  <mmeeks@gnu.org>

	* ms-summary.c (ms_summary_read): quieten.

1999-11-08  Frank Chiulli  <fchiulli@home.com>

	* ms-summary.c :  Added support for DocumentSummaryInformation stream.
	  Added new field, ps_id (Property Set ID), to mapping_t structure and
	  initialized excel_to_gnum_mapping[] appropriately.

	* ms-summary.c (sum_name_to_excel) : New function to convert a summary
	  name to a MsOleSummaryPID.

	* ms-summary.c (read_summary_items) : Added new argument - psid (Property
	  Set ID).  It also checks to see that the summary item is in current
	  Summary stream as identified by psid.  Added support for additional
	  summary types (boolean, short, time).

	* ms-summary.c (ms_summary_read) : Reads DocumentSummaryInformation
	  stream and summary items therein.

	* ms-summary.c (set_summary_item) : Processes additional summary types
	  (boolean, int, short, time).

	* ms-summary.c (ms_summary_write) : Now also writes out the
	  DocumentSummaryInformation stream.

1999-11-07  Michael Meeks  <mmeeks@gnu.org>

	* boot.c (excel_save): Invert sense of return value to reflect success.

	* ms-excel-read.c (biff_name_data_get_name): Move name parsing
	back here; we have read all the sheets this time so inter-sheet
	references in names work. Add 'inserted' flag (biff_name_data_new):
	Kill returning the name + add comment. Add stuff to TODO.

1999-11-07  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_set_xf) : Remove debug
	  statement accidentally left in.

1999-11-06  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (black_or_white_contrast) : Revert to 50% as a
	  contrast boundary (3*0x10000/2) ~= 0x1800

	* ms-excel-read.c (ms_excel_get_style_from_xf) : Add more debug
	  output, and support 0 as a contrast colour.

1999-11-05  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_palette_get) : Split the contrast logic
	  into a new function
	(black_or_white_contrast) : The new function.
	(ms_excel_get_style_from_xf) : Add a hand coded table to decide what
	  colours to contrast with which while importing.
	(biff_xf_data_new) : Fix diagonal border import.
	(ms_excel_workbook_detach) : Do not multiply delete a sheet.

	* ms-chart.c : Adjust to changes in ms_excel_palette_get.

1999-11-05  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_get_style_from_xf): update.

	* ms-excel-write.c (write_xf_record): pass MStyle *.
	(xf_lookup): ditto.

1999-11-03  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (excel_map_pattern_index_from_excel) : Adjust map
	  from XL pattern index to gnumeric pattern index to swap diag and
	  rev-diag.

	* ms-excel-read.c (ms_excel_get_style_from_xf) : Set the pattern on
	  import.

1999-10-31  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-write.c (new_sheet): Fix silly bug, rows not cols
	for maxy. (write_names): add version precondition.

1999-10-30  Daniel Risacher  <magnus@alum.mit.edu>

	* ms-excel-read.c (biff_get_text): tiny fix to debugging code
	(biff_name_data_new): actually return the new data
	(biff_name_data_get_name): Moved code that adds names to the
	workbook to ms_excel_read_name()
	(ms_excel_read_name): Add name definitions to workbook when
	definition is read, rather than when used.
	Formatting.

	* ms-formula-write.c (write_ref): minor change to comply with
  	  spec for references.
	(write_node): Handle OPER_NAME.
	Formatting.

	* ms-excel-write.c (write_names): New function.  Writes name
	  definitions.  Called from write_workbook().
	Formatting.

	* ms-excel-write.h: Added names to struct _ExcelWorkbook

1999-10-30  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_get_xf): kill const.
	(ms_excel_read_cell): initialize range_end.

1999-10-26  Jody Goldberg <jgoldberg@home.com>

	* ms-formula-read.c (FormulaFuncData) : Fix typo for
	SERIESNUM -> SERIESSUM.

1999-10-26  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* ms-formula-read.c (formula_func_data): Fixed the number of
 	arguments in GETPIVOTDATA to two.

1999-10-24  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_get_style_from_xf): add another ref.

1999-10-24  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_cell:MULBLANK) : pre-merge the XF
	  records in a mulblank sequence.  Improves load time.

	* ms-excel-read.c (ms_excel_get_style_from_xf) : New function
	  split from ms_excel_set_xf.  It calculates and caches the MStyle
	  associated with an XF record.

1999-10-22  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_palette_get): fix leak.

1999-10-18  Morten Welinder  <terra@diku.dk>

	* ms-formula-read.c (ms_excel_parse_formula): Fix for non-shared
 	references to cells below row 256.

	* ms-excel-read.c (ms_excel_sheet_insert): Set XF before sheet_cell_fetch
	for big speedup. (ms_excel_read_formula): ditto.

1999-10-19  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_get_stylefont ms_excel_set_xf): use new
	'helper' functions.

1999-10-08  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c : More minor tweaking of adjustment ratios.
	  We need some real documentation on this stuff.

	* ms-escher.c (ms_escher_get_data) : Use printf instead of
	  g_return_if_fail.  It makes it easier to debug when the messages ar
	  in line.

	* ms-obj.c (ms_read_OBJ) : Print the object type name whenever
	  possible.
	(ms_obj_read_biff8_obj) : Looks like a PictOpt record in an object
	  signifies that the next BIFF record after the OBJ must be an IMDATA.
	(ms_obj_parse_anchor) : Move the zoom application back here until we
	  split the anchors into distance and cell pairs.  The old code was
	  zooming the col/row distances twice.

1999-10-08  Morten Welinder  <terra@diku.dk>

	* ms-formula-read.c (ms_excel_parse_formula): Plug leaks.

1999-10-03  Jody Goldberg <jgoldberg@home.com>

	* boot.c (excel_probe) : Only free the MsOle object if it
	  was created successfully.

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

	* *.c : Ensure that we include config.h first.

	* *.[ch] : Update and add Copyright notices.

1999-09-29  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_cell:MULBLANK) : Insert blanks in
	  reverse order, to decrease the load on the insert routines.

1999-09-26  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_cell:COLINFO) : Seems like
	  XL periodically sends column widths for phantom columns.

1999-10-19  Morten Welinder <terra@diku.dk>

	* ms-formula-read.c (ms_excel_parse_formula): Get row as 16 bit value,
	for both AREA_3D and AREA[N].

1999-10-18  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_set_xf): Ref count colors correctly.

1999-10-16  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_set_cell_font): renamed + kill Cell.
	(style_optimize): kill Cell argument.
	(ms_excel_set_cell_xf): use style_attach + kill Cell arg. + renamed.
	(ms_excel_sheet_insert, ms_excel_read_formula),
	(ms_excel_sheet_insert_val): update removing Cell argument.
	(ms_excel_sheet_insert_blank): Create.
	(ms_excel_read_cell): use insert_blank.

1999-10-15  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_set_cell_xf): Update style creation +
	only setup border if it non NULL, fixup optimization regions.
	(ms_excel_set_cell_font): update + add array argument.
	(style_optimize): split out. (ms_excel_read_sheet): Add post-optimize.

1999-10-13  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_set_cell_font): New String in style.

1999-10-11  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_set_cell_xf): better optimize region
	generation.

1999-10-10  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_sheet_new): Initialize range.
	(ms_excel_set_cell_xf): Add range optimization.
	(ms_bug_get_padding): Kill.

	* ms-excel-read.h (ExcelSheet): Add style_optimize field.

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

	* ms-excel-read.c (ms_excel_set_cell_xf): Adapt to new Border support.

1999-10-07  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_set_cell_xf): Large hack to new style
	code. (biff_font_data_get_style_font): kill it.
	(biff_font_data_new): remove setting up fd->style_font.
	(biff_font_data_destroy): kill style_font bits.

1999-10-03  Jody Goldberg <jgoldberg@home.com>

	* boot.c (excel_probe) : Only free the MsOle object if it
	  was created successfully.

1999-09-29  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_cell:MULBLANK) : Insert blanks in
	  reverse order, to decrease the load on the insert routines.

1999-09-26  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_cell:COLINFO) : Seems like
	  XL periodically sends column widths for phantom columns.

1999-10-19  Morten Welinder <terra@diku.dk>

	* ms-formula-read.c (ms_excel_parse_formula): Get row as 16 bit value,
	for both AREA_3D and AREA[N].

1999-10-18  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_set_xf): Ref count colors correctly.

1999-10-16  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_set_cell_font): renamed + kill Cell.
	(style_optimize): kill Cell argument.
	(ms_excel_set_cell_xf): use style_attach + kill Cell arg. + renamed.
	(ms_excel_sheet_insert, ms_excel_read_formula),
	(ms_excel_sheet_insert_val): update removing Cell argument.
	(ms_excel_sheet_insert_blank): Create.
	(ms_excel_read_cell): use insert_blank.

1999-10-15  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_set_cell_xf): Update style creation +
	only setup border if it non NULL, fixup optimization regions.
	(ms_excel_set_cell_font): update + add array argument.
	(style_optimize): split out. (ms_excel_read_sheet): Add post-optimize.

1999-10-13  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_set_cell_font): New String in style.

1999-10-11  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_set_cell_xf): better optimize region
	generation.

1999-10-10  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_sheet_new): Initialize range.
	(ms_excel_set_cell_xf): Add range optimization.
	(ms_bug_get_padding): Kill.

	* ms-excel-read.h (ExcelSheet): Add style_optimize field.

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

	* ms-excel-read.c (ms_excel_set_cell_xf): Adapt to new Border support.

1999-10-07  Michael Meeks  <mmeeks@gnu.org>

	* ms-excel-read.c (ms_excel_set_cell_xf): Large hack to new style
	code. (biff_font_data_get_style_font): kill it.
	(biff_font_data_new): remove setting up fd->style_font.
	(biff_font_data_destroy): kill style_font bits.

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

	* *.c : Ensure that we include config.h first.

	* *.[ch] : Update and add Copyright notices.

1999-09-29  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_cell:MULBLANK) : Insert blanks in
	  reverse order, to decrease the load on the insert routines.

1999-09-26  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_cell:COLINFO) : Seems like
	  XL periodically sends column widths for phantom columns.

1999-09-26  Michael Meeks  <michael@nuclecu.unam.mx>

	* ms-excel-read.c (biff_name_data_new): add sheet scope.
	(ms_excel_read_name): Use the 2nd 'copy' of idx since its the
	only valid one. (biff_name_data_get_name): Create using scope.

1999-09-26  Michael Meeks  <michael@nuclecu.unam.mx>

	* Makefile.am: remove the 'ole' test program

	* ole.c: Removed, see module libole2 in test/test-ole.

	* ms-escher.c (ms_escher_read_ClientData): Remove realize & queue
	objects instead. Add precondition on state->sheet.

1999-09-26  Michael Meeks  <michael@nuclecu.unam.mx>

	* ole.c (ms_biff_query_next_merge, ms_biff_query_new): inline.

1999-09-26  Michael Meeks  <michael@nuclecu.unam.mx>

	* ms-excel-read.c (ms_excel_read_sheet): return FALSE for
	blank sheets: duh. (ms_excel_sheet_destroy): add destroy_objs.
	(ms_excel_read_cell): remove const on lastcol.

1999-09-25  Michael Meeks  <michael@nuclecu.unam.mx>

	* Makefile.am (ole_LDADD): use libole2.la

	* ms-obj.c (ms_obj_realize): remove object destruction.
	(ms_obj_destroy): add. (ms_excel_sheet_destroy_objs): Create.
	(ms_excel_sheet_realize_objs): remove list free.

	* ms-excel-read.c (ms_excel_read_sheet): add return type
	to save possible cock-up. (ms_excel_read_workbook): only
	realize objects if loaded OK.

1999-09-25  Michael Meeks  <michael@nuclecu.unam.mx>

	* ole.c (decompress_vba): an idea.
	(dump_vba_module): + hooks.

1999-09-25  Michael Meeks  <michael@nuclecu.unam.mx>

	* ole.c (decompress_vba): remove unused + clean headers.

1999-09-25  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_formula) : Improve debug
	  printouts, to facilitate match problems cells to inputs
	  behaviors.
	(ms_excel_read_cell:MULBLANK) : Rework to include last_col
	  and simplify logic on iteration. Plus more debug.
	(ms_excel_read_cell:RSTING) : More debug.
	(ms_excel_read_cell:BIFF_ROW) : Add explicit comment on
	  unit -> pixel scaling factor.
	(ms_excel_read_cell:BIFF_COLINFO) : Ditto.

	* ms-escher.c : Continue work on OPT records.

1999-09-24  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_cell) : Add and document
	  point -> pixel scaling for rows and columns.

	* ms-excel-read.c (ms_excel_palette_get) : Change my guess
	  at what the therhold pseudo-luminosity is.

1999-09-23  Michael Meeks  <michael@nuclecu.unam.mx>

	* ole.c (enter_dir): Change logic.

1999-09-22  Michael Meeks  <michael@nuclecu.unam.mx>

	* ms-excel-write.c (write_bits): Fix TABID.
	(write_sheet_tail): Add current selected sheet save & V8 WINDOW2
	(write_bits): only save PANEs if we need to.
	(write_fonts): always write 5 fonts instead of 4.
	(write_xf): Add USESELFS.
	(write_sheet): 0x200|INDEX.
	(write_sheet_bools): remove -1 from sheet->maxy for V8.

	* ole.c (do_biff_raw): Remove stream position to help 'diff'.

	* ms-obj.c (ms_obj_realize): Turn off auto-sizing of images to
	tango with improved sizing capable image components.

1999-09-23  Jody Goldberg <jgoldberg@home.com>

	* ole.c (dump_vba) : Remove the escher code.  The new version needs to
	  much context to be useable at this level.
	(enter_dir) : Improve error message, and fix thinko.

	* ms-excel-read.c (ms_excel_read_cell) : Fix importing of column
	  widths.

	* ms-obj.c (ms_obj_realize) : Create a visual placeholder for charts.
	  Check for NULL sheet.

	* ms-escher.c : Lots more OPT record types.
	(ms_escher_read_ClientData) : Only set the blip type
	  if we are a picture.

1999-09-21  Michael Meeks  <michael@nuclecu.unam.mx>

	* ms-obj.c (ms_parse_object_anchor): remove zoom.
	(ms_obj_realize): Add zoom here.

	* ms-excel-read.c (ms_excel_read_sheet): queue objects for later.
	(ms_excel_read_workbook): Realise sheet objects after read.
	(ms_excel_sheet_new): NULL obj queue ptr.

	* ms-obj.c: Add lots of missing cross references.
	(ms_excel_sheet_realize_objs): Implement.

1999-09-21  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_workbook) : Prefer 'workbook' to
	  'book' so that we use Biff8 for dual stream files.

	* ms-obj.c : Add some #ifndef NO_DEBUG_EXCEL

1999-09-20  Michael Meeks  <michael@nuclecu.unam.mx>

	* ms-formula-write.c (formula_cache_new_std): Split.
	(get_formula_index): cleaned. (write_funcall): Split from
	(write_node): in preparation for more lovely complexity.
	(formula_cache_new_ename): create. (write_string): constify
	(write_node): Improve integer writing efficiency.

	* ms-excel-write.c (write_sheet_bools): Added write.
	(biff_put_text): constify. (new_sheet): clean debug.

	* ms-formula-write.c (ms_formula_build_pre_data, ms_formula_write_pre_data):
	stub.

	* ms-excel-write.c (write_workbook): Fix _loads_ of leaks.
	(free_sheet): create. (pre_pass): pre-pass of the workbook's sheets.
	(pre_cell): Scan cells for interesting things.

	* excel.h: remove cache stuff.

	* ms-formula-write.h: move it here.

	* ms-formula-write.c (get_formula_index, cache_init/shutdown): work
	on a per sheet basis.

	* boot.c (excel_shutdown, excel_init): remove formula cache.

	* ms-excel-write.h: Add formula cache.

	* ms-escher.c (ms_escher_read_Blip): Add support for image-generic
	for jpeg, move DIB to a safe place.

1999-09-20  Michael Meeks  <michael@nuclecu.unam.mx>

	* ole.c: massive, huge, big clean to new API; ahh that feels good,
	add 'help' command. Break escher debug for now.

	* Makefile.am: re-enabled 'ole'

	* ms-biff.h: removed all mention of quirks.

	* ms-biff.c (ms_biff_query_copy): dangerous: removed, clean quirk stuff.

1999-09-20  Jody Goldberg <jgoldberg@home.com>

	* ms-obj.[ch]: Remove a few #if ENABLE_BONOBO checks
	  and add an include for sheet-object.h. Improve debug
	  info.

1999-09-20  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* ms-obj.[ch]: Added a few #if ENABLE_BONOBO checks to make it
 	compile again.

1999-09-20  Jody Goldberg <jgoldberg@home.com>

	* ms-escher.c (ms_escher_read_ClientData) : Handle unknown object
	  types.

	* ms-summary.c (set_summary_item) : Made static.

	* ms-obj.c (ms_obj_realize) : New function.
	(ms_parse_object_anchor) : Ditto.

	* ms-excel-read.c (ms_excel_read_workbook) : Use
	  ms_obj_realize.
	(ms_excel_read_sheet) : Ditto.
	(ms_excel_read_formula) : Make reading a string more
	  robust, and support length = 0 as a valid string.

1999-09-19  Michael Meeks  <michael@nuclecu.unam.mx>

	* Makefile.am: comment out ole.

	* ms-summary.c (sum_name_to_excel): made static.

	* ms-excel-write.c (ms_excel_write_workbook): updated.

	* ms-excel-read.c (ms_excel_read_workbook): use better API.
	(find_workbook): removed.

	* ms-biff.c (ms_biff_query_copy): Updated duplicate.

	* boot.c (excel_probe, excel_save, excel_load): new ole api.

	* ms-excel-write.c (ms_excel_write_workbook): fix leak.

1999-09-18  Morten Welinder  <terra@diku.dk>

	* ole.c (cur_dir, delim): static.

1999-09-18  Jody Goldberg <jgoldberg@home.com>

	* gnumeric-chart.c (gnumeric_chart_destroy) : implement.
	(gnumeric_chart_new) : Create.

	* ms-chart.c (ms_excel_chart) : Init the chart.
	(BC_R(ifmt), BC_R(ai)) : Handle invalid/missing formats.

	* ms-escher.c : More radical changes to support just in time
	  merging.  This seems to solve the last of the problems of which
	  records to merge and which not.  Everything seems to add up.
	(ms_escher_parse) : Enable by default.

	* ms-excel-read.c (ms_excel_workbook_destroy) : Release blips on
	  exit.

1999-09-17  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_workbook_get_sheet) : Make extern.

1999-09-15  Frank Chiulli  <fchiulli@home.com>

	* plugins/excel/boot.c (excel_save): Add a call to ms_summary_write
	(ms-summary.c) to write out the SummaryInformation stream.

	* plugins/excel/ms-summary.h: Make ms_summary_write public.

	* plugins/excel/ms-summary.c (ms_summary_write, sum_name_to_excel,
	set_summary_item): New routines to support writing the
	SummaryInformation stream.

1999-09-17  Michael Meeks  <michael@nuclecu.unam.mx>

	* ole.c (main, do_draw, dump_escher): dump raw data.

1999-09-17  Jody Goldberg <jgoldberg@home.com>

	* ms-escher.c : Adjust const.
	(ms_escher_read_ClientAnchor) : Yahoo!  figured out object placement !!
	(ms_escher_read_OPT) : Some cleanup of the property names.

1999-09-16  Michael Meeks  <michael@nuclecu.unam.mx>

	* ms-excel-read.c (ms_excel_read_sheet): add sheet param to _get_drawing
	(ms_excel_read_workbook): ditto & init 'eschers' to NULL.

	* ms-obj.c (ms_obj_read_text): add sheet param to _get_drawing

	* ms-chart.c (BC_W): ditto.

	* ms-escher.c (ms_escher_hack_get_drawing): Add Sheet param.
	(escher_record_new_blip, escher_record_destroy, ms_escher_read_Blip),
	(ms_escher_read_ClientAnchor): Hack up image loading.
	include config.h

	* ms-excel-read.h (_ExcelWorkbook): Add eschers list.

1999-09-16  Jody Goldberg  <jgoldberg@home.com>

	* ms-escher.c (ms_escher_read_CLSID, ms_escher_read_ColorMRU,
		ms_escher_read_SplitMenuColors) : Initial implementation.
	(ms_escher_read_Spgr) : Add names of Shapes.
	(ms_escher_read_ClientAnchor) : Wild guess at what the format is.
	(ms_escher_read_OPT) : Start naming some of the properties.
	(ms_escher_read_SpgrContainer) : be very careful.

1999-09-15  Jody Goldberg  <jgoldberg@home.com>

	* ms-escher.c : Massive re-org.
	* ms-obj.c (ms_obj_read_text_impl) : Export, and improve warning
	  message for TXO.
	(ms_obj_read_text_impl) : The drawing will read the TXO.

1999-09-12  Michael Meeks  <michael@nuclecu.unam.mx>

	* ms-excel-write.c (write_sheet_bools): write grid-lines & margins &
	scads of other bits.

	* ms-excel-read.c (ms_excel_read_sheet): Add preconditions & load
	print info for grid-lines, & scads of other stuff. (margin_read): Create.

1999-09-11  Michael Meeks  <michael@nuclecu.unam.mx>

	* ms-excel-write.c (write_value): Clean unused 'head'
	(write_sheet_tail): Add zoom factor write.

	* ms-excel-read.c (ms_excel_read_sheet): Add BIFF_SETUP decode.
	Add Zoom factor reading, add lots of printing records & debug dumps.

1999-09-08  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-read.c : Add selection.h

1999-09-08  Michael Meeks  <michael@ximian.com>

	* README: More random thoughts to pass the time of day.

1999-09-05  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-write.c (write_value) : Always use mode 2 for ints.
	  Add a comment to the write float code suggesting an extension to use
	  mode 3 for doubles with only 2 digits after the decimal.

1999-08-26  Michael Meeks  <michael@ximian.com>

	* ms-escher.c (biff_to_flat_data): Added back the full conditions
	on merging drawing groups.

	* ole.c (dump_escher): Realised it is a vanillaish container.

	* ms-escher.c (BSE_new): Fix silly buglets.
	(esh_header_new, esh_header_next): prettyify;
	(ms_escher_read): Update length type.

1999-08-25  Michael Meeks  <michael@ximian.com>

	* ms-escher.c (esh_header_next): re-order for clarity.
	(BSE_new): Fiddling with bits: thanks to Caolan.

1999-08-25  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* ms-formula-read.c (formula_func_data): Fixed the number of
 	arguments in ISPMT to four.

1999-08-20  Michael Meeks  <michael@ximian.com>

	* ms-formula-write.c (get_formula_index): Added a comment about
	Excel's add-in formula names.

1999-08-17  Michael Meeks  <michael@ximian.com>

	* ms-excel-read.[ch]: Remove sheet blank bit.

	* ms-chart.c (BC_R): Remove sheet->blank reference.

1999-08-16  Jody Goldberg <jgoldberg@home.com>

	* ms-formula-write.c (write_node) : Add OPER_PERCENT
	* ms-formula-read.c (ms_excel_parse_formula) : Ditto.

	* ms-obj.c : Make less verbose.

	* ms-excel-read.c : Add several new biff-types and do more
	  checking for 'odd-balls' with most significant byte == 1.
	  Disable the 'blank sheet' optimization for now to avoid memory
	  errors when a 'blank' sheet gets put into the externsheet hash.

1999-08-16  Jody Goldberg <jgoldberg@home.com>

	* ms-formula-write.c (write_node) : correct typo.
	  We can now write & read samples/logfuns.xls without
	  loosing formulas or values.

1999-08-15  Jody Goldberg <jgoldberg@home.com>

	* ms-excel-write.c (write_value) : Add support for VALUE_BOOLEAN,
	  VALUE_ERROR, VALUE_EMPTY.
	(write_formula) : Ditto.
	* ms-formula-write.c (write_node) : Ditto.

1999-08-15  Morten Welinder  <terra@diku.dk>

	* ms-excel-read.c (ms_excel_read_workbook): First use, then
 	destroy.

1999-08-13  Michael Meeks  <michael@ximian.com>

	* ole.c (enter_dir): Major re-work, to use paths.

1999-08-12  Jody Goldberg <jgoldberg@home.com>

	* ms-formula-read.c (ms_excel_parse_formula) :
	FORMULA_PTG_PERCENT is expr/100 not expr*100.
	(excel_builtin_formats) : Correct typo.

1999-08-09  Miguel de Icaza  <miguel@gnu.org>

	* boot.c (excel_load): Changed calling conventions.

	* ms-excel-read.c (ms_excel_read_workbook): Adjusted to use the
	new file-open convention

1999-08-08  Michael Meeks  <michael@ximian.com>

	* ole.c (dump_vba_module): Kill leak & fix logic.
	(dump_vba): destroy correct directory.

1999-08-06  Michael Meeks  <michael@ximian.com>

	* ole.c (list_files): Fix so it shows directories...
	(get_file_handle, list_files, really_put, main): Use current_directory.
	(enter_dir): Implemented 'cd' command
	(do_copyout: Implemented splitting (really_get): from (do_get).
	(dump_vba): Started.

1999-08-05  Michael Meeks  <michael@ximian.com>

	* ms-summary.c (ms_summary_read): Trivial fix to kill warning.

1999-08-02  Jody Goldberg <jgoldberg@home.com>

	* ms-obj.c (ms_obj_read_pre_biff8_obj) : New function to catch
          charts.
	(ms_obj_read_obj) : Use ms_obj_read_pre_biff8_obj.

	* ms-excel-read.c (ms_excel_read_cell) : Catch use of chart
          records when we expect a cell.
	(ms_excel_read_formula) : Clarify error message.
	(biff_name_data_new) : Partial support for local vs global names.
	(biff_name_data_get_name) : Reformat to improve readability.
	(ms_excel_read_formula) : Ditto.

	* ms-chart.c (ms_excel_biff_dimensions) : Don't print unless
          we're debugging.

	* ms-obj.c (ms_obj_read_biff8_obj) : Don't print checkbox link
          unless we're debugging.

1999-07-30  Jody Goldberg  <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_error) : Delete
          (ms_excel_read_cell) : Use VALUE_ERROR, and VALUE_EMPTY.
	  (ms_excel_read_selection) : Split out into separate function.

	* ms-formula-read.c (ms_excel_parse_formula,
          make_function) : VALUE_ERROR.

1999-07-31  Morten Welinder  <terra@diku.dk>

	* ms-excel-read.c (ms_excel_read_formula): Kill warning that is no
 	longer valid.
	(ms_excel_read_error): Fix leak that I introduced.

1999-07-31  Michael Meeks  <michael@edenproject.org>

	* ms-excel-read.c (biff_get_text): Hacked to deal with continues
	nicely.
	(ms_excel_read_workbook): Fixed up nasty version stuff.
	Commented out ms_bug_padd stuff.

	* ms-biff.[ch]: Commented out all padding and quirks stuff.

1999-07-30  Michael Meeks  <michael@edenproject.org>

	* ms-excel-read.c (ms_excel_read_formula): quiet wierd
	warning... why is this suddenly prevalent.

1999-07-28  Michael Meeks  <michael@edenproject.org>

	* ms-excel-write.c (biff_put_text): kill warnings.

	* ms-escher.c (read_DgContainer, SpgrContainer_new): ditto.

	* ms-biff.c (ms_biff_put_var_next): Remove padding, daft,
	(ms_biff_put_set_quirk): ditto.
	(ms_biff_query_peek_next): Implemented.


1999-07-28  Michael Meeks  <michael@edenproject.org>

	* ms-biff.c (no_quirks, ms_biff_query_new):
	New quirk support :-)
	(ms_bug_get_padding): Moved into ms-excel-read.c
	(ms_biff_put_var_next, ms_biff_merge_continues): Cleaner quirk stuff.
	(ms_biff_put_set_quirk): I pray this is never used =)
	(ms_biff_put_new, ms_biff_put_var_next): Quirky.

1999-07-28  Jody Goldberg  <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_cell) : Correct the error message
          for SST overflow.

1999-07-27  Jody Goldberg  <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_supporting_wb) : Make this
          quieter, and add some comments explaining that we have no idea
          what this does or how it works.

1999-07-26  Jody Goldberg  <jgoldberg@home.com>

	* ms-chart.c (BC_R(chartline)) : More state checking.
	  (BC_R(legend)) : Implement.
	  (BC_R(series)) : Store series in chart objects.
	  (ms_excel_biff_dimensions) :

	* ms-obj.c : Closer ties with ms-escher.c.

	* ms-formula-read.c : Changes for VALUE_ERROR. COUNTBLANK
	  takes 1 argument.

1999-07-26  Michael Meeks  <michael@edenproject.org>

	* ms-summary.c (ms_summary_read): Update to ms_ole_summary_close.

	* ole.c (do_summary): ditto.

	* ms-excel-read.c (ms_excel_read_workbook): Comment out
	dependencies freeze/thaw.

	* ms-excel-write.c (write_cell): Update to new PP code.

	* ms-excel-read.c (find_workbook): Remove ms_ole_directory_new.
	(biff_name_data_get_name): Update to new PP code.

	* ole.c (get_file_handle, list_files): ditto.

1999-07-25  Michael Meeks  <michael@edenproject.org>

	* ms-excel-read.c (ms_excel_read_workbook): Add freeze / thaw
	dependencies.

1999-07-22  Michael Meeks  <michael@edenproject.org>

	* ole.c: Major summary hack, cleaned old cruft & made beautiful.

	* ms-summary.c: Re-write to use new summary stuff in libole2.

1999-07-19  Michael Meeks  <michael@edenproject.org>

	* *.[ch]: Big macro prettify. Moved biff type handling macros into
	libole2/ms-ole.h, and renamed:
		s/BIFF_GET_GUINT/MS_OLE_GET_GUINT/g
		s/BIFF_SET_GUINT/MS_OLE_SET_GUINT/g

1999-07-14  Michael Meeks  <michael@edenproject.org>

	* ms-summary.c: Big clean, quiet and sensible handling of
	errors.

	* boot.c (excel_load): Put summary call back in.
	Add excel_read_debug, dump summary info if > 0

1999-07-13  Michael Meeks  <michael@edenproject.org>

	* Makefile.am: Added ms-summary.[ch]

	* ms-summary.[ch]: Created.

	* boot.c (excel_load): Add summary hook.
	Update comments

1999-07-13  Jody Goldberg  <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_formula): Improve handling of failure
	  cases to ensure that we set the values and formats even if formulas
	  get confused.
	(ms_excel_formula_shared): Back out change to set value on error.
	(ms_excel_get_xf) : 0 and 15 may be defaults but we now have their
	  records so no need to treat them specially.  Seems to be no need
	  to check for StyleXF vs CellXF...
	(ms_excel_set_cell_xf) : It may be the default but we have the XF data
	  for it now so USE IT.
	(biff_name_data_new, biff_name_data_destroy) : Const add flag to
	  log NAME vs EXTERNNAME.
	(biff_name_data_get_name) : Remove vile hack for 1 vs 0 based names.
	(ms_excel_read_name) : More version madness.
	(BIFF_BOF) : More detailed version info.

	ms-formula-read.c : ARRRGGGGHHHHH!  both NAME and NAME_X are 1 based.
	(PTG_NAME) : Different versions, very different sizes.

1999-07-13  Michael Meeks  <michael@edenproject.org>

	* ms-excel-read.c (ms_excel_formula_shared): Fixup previous patch.
	(ms_excel_read_formula): Re-arrange logic.
	(ms_excel_set_cell_xf): Add check on 'xf' back in ...

1999-07-11  Michael Meeks  <michael@edenproject.org>

	* ms-excel-read.c (ms_excel_read_formula): Catch NULL cell->text
	(ms_excel_formula_shared): Check on cell... & add position to debug.
	(ms_excel_sheet_append_comment): Add paranoid blank text setting.

1999-07-13  Jody Goldberg  <jgoldberg@home.com>

	* ms-excel-read.c (ms_excel_read_workbook SST) : Zero sized strings use
	  3 bytes (length + header) not 2.
	(ms_excel_read_cell LABELSST) : Blank strings should have value
	  wrappers.
	(ms_excel_parse_formula) : Support missing trailing args for
	  builtin functions.

	* ms-formula-read.c : Keep stack by prepending and popping, rather
	  than appending.
	(INDEX) : correct missing number of args.

1999-07-12  Jody Goldberg  <jgoldberg@home.com>

	* ms-excel-read.[ch] : Remove XF_style_records.  All XF records are
	  kept in one list.  The fixes the indexing problems we've been
	  having with XF records. No more XF_MAGIC_OFFSET !!
	(biff_name_data_get_name) : Pre-Biff5 seems to use 0 based names, post
	  seems to be 1 base ??  Check this.

	* ms-formula-read.c (excel_formula_build_dummy_handler) : New function.
	(make_function) : split out from here and used for external and builtin
	  functions.
	(MATCH) : correct the number of arguments.
	(ms_excel_parse_formula) : The size of the array is stored at the end
	  too.  This fixes formulas with multiple arrays.

	* *.[ch] make the data streams const while reading.

1999-07-12  Jody Goldberg  <jgoldberg@home.com>

	* ms-excel-read.c (biff_name_data_get_name) : Off by one error in the
	  range check.  Improve debug notification when something bad happens.
	(ms_excel_get_xf) : Improve debug messages to help find the problem
	  with xf indicies in old files.

1999-07-12  Jody Goldberg  <jgoldberg@home.com>

	* ms-chart.c : More record types.

	* ms-escher.c : More record types.

	* ms-excel-read.c (ms_excel_formula_shared) : For some reason XL
	  periodicly :
	    - creates a shared formula
	    - declares its use in a range
	    - then doesn't use it in the upper left corner of the range
	    - and refers to the formula by a different cell in the range ??
	(BIFF_PRECISION) : remove dump, and #if 0, for now until gnumeric
	    supports this.

1999-07-11  Jody Goldberg  <jgoldberg@home.com>

	* ms-excel-read.c (biff_font_data_new) : don't delay creation of
	  style_font.
        (ms_excel_get_font) : new function split from.
	(ms_excel_set_cell_font) : here.
	(ms_excel_get_xf) : new function split from.
	(ms_excel_set_cell_xf) : here.
	(biff_xf_data_new) : don't delay setting the style_format.
	(BIFF_COLINFO) : Attempt to use the XF->font->height as a proxy for
	  charwidth ??  Anyone have a better idea ?

1999-07-10  Jody Goldberg  <jgoldberg@home.com>

	* ms-excel-read.c : BIFF_COLINFO adjust in charwidth magic number to
	  produce column widths that match my screenshot.

	* TODO: updated.

1999-07-10  Michael Meeks  <michael@edenproject.org>

	* ms-formula-read.c (formula_func_data): Fix REPT = 2 args,
	add VDB = var arg.

	* ms-excel-read.c (biff_get_externsheet_name): Silly but fatal bug
	a child could spot: written by yours truly :-)

1999-07-09  Jody Goldberg  <jgoldberg@home.com>

	* ms-obj.c : Conditionalize the debug info for text objects.

1999-07-09  Miguel de Icaza  <miguel@gnu.org>

	* ms-excel-write.c (biff_put_text): Intiialize variable.

1999-07-09  Jody Goldberg  <jgoldberg@home.com>

	* ms-chart.c (BC_R(chart)) : Correctly handle the fixed point
	  sizes.
	(BC_R(ai)) : Figure the missing link association is bubbles.

1999-07-09  Jody Goldberg  <jgoldberg@home.com>

	* ms-chart.c : Actually make a series object !  After finding another
	  Excel documentation error.

	* ms-obj.c : Conditionalize a debug printout.

	* ms-excel-read.c (biff_name_data_get_name) : Indicies are ONE based.

1999-07-09  Michael Meeks  <michael@edenproject.org>

	* ms-excel-read.c (ms_excel_read_workbook): Update this with
	Jody's changes, hope I didn't lose anything.

	* ms-biff.c (ms_biff_query_next_merge): Add test for valid
	length before reading.

1999-07-08  Jody Goldberg  <jgoldberg@home.com>

	* libole2/ms-ole.[ch] (dump) : constify.

	* ms-chart.[ch] : Prepare to handle Charts not associated with a sheet.
	Add more record types, improve debug messages.  Begin connection
	to 'escher' stuff for gelframes.  Stubs for real chart SERIES objects.
	Support for Text Objects.

	* ms-excel-read.c : Ditto.  Include cleanups.
	Some debug level rationalization.
	(ms_excel_externname) : Combine Biff7&8 use biff_get_text.

	* ms-escher.[ch] : Start looking at this to parse the CHART_GELFRAME
	  record.  Clear out the massive accumulation of includes.

	* ms-excel-biff.h : Include cleanups.

	* ms-obj.[ch] : Include cleanups.
	    Versioned the object record parsing (Currently only Biff8).
	    (ms_obj_read_biff8_obj) : New function with more error checking.
	    (ms_obj_read_text_object) : New function to read text objects.

	* ole.c : Print biff types in hex to match documentation.

1999-07-09  Michael Meeks  <michael@edenproject.org>

	* ms-excel-read.c: Major warning cleaning offensive.
	(ms_excel_read_workbook): Hush CodePage, DSF, EOF & clean style.
	(ms_excel_read_sheet): Hush WINDOW2
	(ms_excel_read_name): Hush spurious newlines.
	(ms_excel_read_supporting_wb): Hush now, be a good little function.

	* boot.c (excel_load): ditto.

	* TODO: updated.

	* ms-formula-read.c: s/PARSE_LIST/ParseList/
	Update a few stylistic bits...

1999-07-08  Michael Meeks  <michael@edenproject.org>

	* ms-excel-read.c (ms_excel_read_formula): Turn error into
	warning.

	* ms-excel-write.c (biff_put_text): Fiddled, this needs serious
	fixing ...

	* ms-excel-read.c (biff_name_data_get_name): Removed daft
	debug churning out.

1999-07-08  Michael Meeks  <michael@edenproject.org>

	* ms-excel-read.h (_ExcelWorkbook): Removed internal_names and
	comments.

	* ms-excel-write.c (write_bits): Merged write_constants
	into this + add 'wb' parameter.
	(write_bits): Add TABID, DSF records.
	Add PROT4REV, PROT4REVPASS.
	(write_fonts): Changed put_text from eBiffV7, AS_PER_VER.

	* ms-excel-read.c (ms_excel_read_workbook): Update DFS -> DSF

	* biff-types.h (BIFF_DSF): Mod. from DFS.

1999-07-08  Michael Meeks  <michael@edenproject.org>

	* ms-formula-read.c (ms_excel_parse_formula): Add magic 0x17
	for special undocumented 'Addin Name' support.

1999-07-07  Michael Meeks  <michael@edenproject.org>

	* ms-excel-read.c (ms_excel_read_name): Fix crucial bug
	in name_def_data calc.
	(ms_excel_read_name): Removed all 'internal_names' stuff.

1999-07-06  Michael Meeks  <michael@edenproject.org>

	* ms-formula-read.c (ms_excel_parse_formula): PTG_NAME:
	use biff_name_data_get_name; fixups: Jody don't do this, this
	was all on the Names branch !

	* ms-excel-read.c (biff_name_data_new): Changed to take Workbook
	not sheet, updated to use GPtrArray.
	(biff_name_data_get_name): Changed to return ExprTree.
	(biff_name_data_destroy): Updated.
	(ms_excel_workbook_destroy): Remove old name hash table stuff.
	(ms_excel_read_name): Fix memory leak before Morten gets there :)
	use biff_name_data_new.
	(ms_excel_read_name): Allocate name.
	(ms_excel_get_name): Culled.

	* ms-excel-read.h (_ExcelWorkbook): Changed name_data to GPtrArray
	Changed _name_get_data to return ExprTree.

	* ms-formula-read.c (getRefV7): Removed ExcelSheet * parameter.
	cleaned function indenting.
	(getRefV8): Ditto. + update all references.
	s/cell_name(/cell_name (
	s/sheet->wb/wb/

	* ms-chart.c (BC_R): Updated parse_formula.

	* ms-formula-read.c (ms_excel_parse_formula): s/sheet->ver/wb->ver/
	updated all calls to itself to add 'wb'.

	* ms-excel-read.c (ms_excel_workbook_new): Setup 'ver'
	(ms_excel_read_workbook): Update call.

	* ms-excel-read.h (_ExcelWorkbook): Add 'ver' field.

	* ms-excel-read.c: Updated all ms_excel_parse_formulae: this
	isn't as balmy as it seems... we should only be using the sheet
	data where we need to as Names have no associated sheet.

	* ms-formula-read.c (ms_excel_parse_formula): Add workbook.

	* ms-formula-read.h (ms_excel_parse_formula): ditto.

1999-07-06  Jody Goldberg  <jgoldberg@home.com>

	* ms-excel-biff.h : remove _eBiff_wrap.

	* ms-excel-read.c : replace _eBiff_wrap with a boolean.
	(ms_excel_set_cell_xf) : Send xf->wrap.
	(excel_map_pattern_index_from_excel) : New function.
	(biff_xf_data_new) : Used here.

1999-07-06  Michael Meeks  <michael@edenproject.org>

	* ms-excel-read.c (ms_excel_read_name): Fix up Names definition
	offset, start to manually merge name stuff.

	* ole.c: Fix summary reading code: works now, try it on a
	SummaryInformation stream.

1999-07-05  Jody Goldberg  <jgoldberg@home.com>

	* ms-formula-read.c : Improve debug messages a bit.
	(FORMULA_PTG_NAME) : initial stub implemetation.
	(make_function) : The dodgy special case seems to apply to functions
	  with no arguments too.

	* ms-excel-read.c : Rework handling of Shared/Array formulas.
	  They must follow a FORMULA record and come before a STRING
	  record if the cell contains a string.  The upper left corner
	  of shared formulas, and all of arrays now format correctly.
	  (EXTERNNAME) : Rework the handling to apply to biff7 and biff8.
	  Still only reading the names, not connecting them for real.

1999-07-05  Morten Welinder  <terra@diku.dk>

	* ms-excel-read.c (biff_shared_formula_new): Constify.  Copy data
 	because it seems it can be freed underneath us.
	(biff_shared_formula_destroy): Consequently free data.
	(ms_excel_workbook_destroy): Free global strings.
	(ms_excel_palette_destroy): Fix leak.

	* ms-excel-read.c (ms_excel_read_supporting_wb): Warning killer.
	(ms_excel_read_workbook): Ditto.  Fill in some code page info.
	(ms_excel_read_cell): Ditto.

	* ms-biff.c (biff_getdouble): Re-instate the "BYTE" in
 	G_BYTE_ORDER...
	(biff_getdouble): Constify.

1999-07-04  Michael Meeks  <michael@edenproject.org>

	* ms-formula-read.c (formula_func_data): Fixed ISREF, ISPMT.

	* ms-excel-write.c (write_mulblank): Add 0x200 to BLANK

	* biff-types.h (BIFF_PASSWORD): convert back from
	PASSguint16 :-)

	* ms-formula-write.c (write_arrays): Fix memory leak.

	* ms-excel-read.c (ms_excel_read_formula): Add S59DE9 reference.

	* ms-excel-write.c (write_cell): Updated constant so formulae get
	evaluated correctly.
	(write_formula): Split out complexity, Added STRING result storage.

	* ms-formula-write.c (write_string): Un-dofus the string writing
	fix Excel crash on any formula string.

	* ms-excel-write.c (write_cell): Fixup always calc. & on load,
	don't seem to be needed.
	Implement class specifiers throughout where needed.

	* ms-formula-write.c (OP_*): Helper macros for getting the class
	right on each PTG.

	* formula-types.h: Added class defines.

	* ms-excel-write.c (write_sheet_bools): Removed magic 0x44 from
	last byte of BIFF_COLINFO. Commented out GCW: unnecessary and
	wrong.
	(write_window1): Fiddled with the magic numbers.
	(write_sheet_bools): Add 0x200 to DEFAULTROWHEIGHT.
	(write_sheet): ditto to INDEX.

1999-07-03  Michael Meeks  <michael@edenproject.org>

	* ms-formula-write.c (ms_excel_write_formula): Added critical
	magic 3 padding bytes s Array's are saved properly.

	* ms-excel-write.c (write_sheet): Size optimisation for blank
	rows.

1999-07-02  Michael Meeks  <michael@edenproject.org>

	* ole.c (syntax_error): Update help.
	(read_records, dump_summary, do_summary): Start of summary info
	reading.
	(do_biff_raw): Cleaned unused var.
	(esh_header_contained): commented out.

1999-07-02  Michael Meeks  <michael@edenproject.org>

	* ms-formula-read.c: more stylistic fiddling on great
	new debug stuff from Jody...

	* *.[ch]:
	s/MsOle_SEEK_SET/MsOleSeekSet/g
	s/MsOle_SEEK_CUR/MsOleSeekCur/g
	s/ms_ole_seek_t/MsOleSeek/g
	s/MsOle_PPS_STORAGE/MsOlePPSStorage/g
	s/MsOle_PPS_STREAM/MsOlePPSStream/g
	s/MsOle_PPS_ROOT/MsOlePPSRoot/g
	s/PPS_TYPE/PPSType/g
	s/ms_ole_pos_t/MsOlePos/g

1999-07-02  Jody Goldberg  <jgoldberg@home.com>

	* ms-chart.c : Stylistic consistancy.
	s/BIFF_CHART_WRITER/ExcelChartWriter/g
	s/BIFF_CHART_READER/ExcelChartReader/g
	s/BIFF_CHART_HANDLER/ExcelChartHandler/g
	s/GUPPI_CHART_STATE/GuppiChartState/g
	s/BIFF_CHART_STATE/ExcelChartState/g
	s:\([^/]\)\* :\1*:g

1999-07-02  Michael Meeks  <michael@edenproject.org>

	* *.[ch]: Much stylistic fiddling:
	s/MS_EXCEL_SHEET/ExcelSheet/g
	s/MS_EXCEL_WORKBOOK/ExcelWorkbook/g
	s/BIFF_BOUNDSHEET_DATA/BiffBoundsheetData/g
	s/BIFF_SHARED_FORMULA_KEY/BiffSharedFormulaKey/g
	s/BIFF_SHARED_FORMULA/BiffSharedFormula/g
	s/MS_EXCEL_PALETTE/ExcelPalette/g
	s/BIFF_FONT_DATA/BiffFontData/g
	s/BIFF_EXTERNSHEET_DATA/BiffExternSheetData/g
	s/BIFF_FORMAT_DATA/BiffFormatData/g
	s/BIFF_QUERY/BiffQuery/g
	s/BIFF_PUT/BiffPut/g
	s/GETBYTE/GET_GUINT8/g
	s/GETWORD/GET_GUINT16/g
	s/GETDLONG/GET_GUINT64/g
	s/GETLONG/GET_GUINT32/g
	s/BYTE/guint8/g
	s/WORD/guint16/g
	s/LONG/guint32/g
	s/MS_OLE_STREAM/MsOleStream/g
	s/MS_OLE_DIRECTORY/MsOleDirectory/g
	s/MS_OLE/MsOle/g

	* ms-excel-read.c: Large bout of indenting / formatting
	updates, sorry if you have patches ...

1999-07-02  Michael Meeks  <michael@edenproject.org>

	* boot.c: Added 'main.h' to include debug symbol.

1999-07-02  Michael Meeks  <michael@edenproject.org>

	* ms-excel-read.c (ms_excel_read_workbook): Actually
	insert the workbook_destroy at the end ( Huge leak ).

1999-07-01  Michael Meeks  <michael@edenproject.org>

	* ms-excel-write.c (ms_excel_write_get_externsheet_idx):
	Stubbed.
	(write_cell): More, verbose debug.
	(write_index): shut it up.
	(write_sheet): Fix a rather serious logic error that was
	loosing us cells.
	(write_sheet): Added error message for huge sheets... needs
	more cunning indexing code.

	* ms-formula-write.c (write_cellref_v[78]): Fixed
	order of relative col/row bits. Implemented latter.
	(write_ref): Implemented BiffV8 support.
	(write_string): Added MISSARG support.
	(write_area): Implemented BiffV8 support, and
	3D area support.

	* ms-formula-write.c (write_node): Split out
	(write_ref): attempted to implement inter-sheet
	references.

	* ms-excel-write.c (ms_excel_write_get_sheet_idx):
	Created.

1999-07-01  Morten Welinder  <terra@diku.dk>

	* boot.c: Clean out an incredible accumulation of #includes.

1999-07-01  Jody Goldberg  <jgoldberg@home.com>

	* formula-types.h : Add some missing ptg types.

	* ms-excel-read.c : ms_excel_read_debug, ms_excel_formula_debug,
	    ms_excel_color_debug, ms_excel_chart_debug.  Declare and use these
	    to allow command line control so that we can ask remote users for
	    debug info.
	  (excel_builtin_formats) : Correct some typos.
	  (ms_excel_read_formula) : Document errors in Excel SDK.
	  (ms_excel_get_name) : Handle workbook local names. (stub)
	  (ms_excel_read_name) : re-enable with name lookup. not connected yet.

	* ms-excel-read.h : Add internal_names to workbook.
	(ms_excel_get_name) : declare.

	* ms-formula-read.c : switch to new debug scheme.
	  More verbose warnings for errors so we don't ignore them.
	  (FORMULA_PTG_NAME) : Partial implementation until I have time to look
	  at the branch.
	  (FORMULA_PTG_PERCENT) : Guess at this one.
	  Begin to handle 'extended' ptgs.  Very minimal docs.

1999-07-01  Michael Meeks  <michael@edenproject.org>

	* ms-formula-write.c (ms_formula_cache_init),
	(ms_formula_cache_shutdown, cache_remove):
	Implemented.

	* excel.h: Added formula_cache functions.

	* boot.h (excel_init): Added excel_shutdown

	* boot.c (excel_shutdown): Created.

1999-07-01  Michael Meeks  <michael@edenproject.org>

	* ms-formula-write.c (write_string): Created
	Implemented throughout for simplicity.

	* ms-excel-write.c (biff_put_text): Expanded to allow
	more flexible string writing.

	* ms-excel-write.h: Added type to specify string write.

	* ms-formula-write.c: All biff_put_text's write length
	correctly.
	Implemented Area PTGs

	* ms-excel-read.c (ms_excel_read_formula): Fix silly
	bug with broken formulae.

	* ms-biff.c (ms_biff_put_var_seekto): Added seekto
	API for fiddly biff types.

	* ms-excel-write.c (biff_put_text): Made external

	* ms-formeula-write.c: Created.

1999-06-30  Michael Meeks  <michael@edenproject.org>

	* ms-formula-read.c (ms_excel_parse_formula): Updated
	Operation handling for new structure ( array ).

	* ms-excel-read.c (biff_get_global_string): Removed.

	* ms-formula-read.c: Updated func_data, and
	formula_op_data for Miguel and correctness.
	Cleaned FORMULA_NO_PRECEDENCE.

	* excel.h: Move and rename FormulaFuncData.

	* ms-excel-write.c: Moved structures to header.
	Renamed all structures to make Miguel happy.

	* Makefile.am: Added ms-formula-write.[ch]

1999-06-30  Michael Meeks  <michael@edenproject.org>

	* ms-formula-read.h: Split out types.

	* formula-types.h: Imported from above.

	* ms-excel-write.c (write_value): Fix LABEL versioning.

1999-06-30  Michael Meeks  <michael@edenproject.org>

	* ms-excel-write.c:(write_value): Hard-coded
	version stuff onto NUMBER & RK.
	(write_xf_record): Added hack to produce
	identical XF table to test case.
	(write_rowinfo): Added 0x200
	(write_sheet_bools): ditto to DIMENSIONS.

1999-06-30  Jody Goldberg  <jgoldberg@home.com>

	* biff-types.h : Add some undocumented BIFF types, move INDEX,
	  DEFAULTROWHEIGHT into lsb territory.

	* ms-excel-read.c (ms_excel_palette_new) : Correct debug messages.
	(ms_excel_palette_get) : Improve debug messages, and assume that
	  0, 64, 127 are all contrast states.
	(ms_excel_set_cell_colors) : Tail merge with ms_excel_set_cell_xf,
	  handle special case of fill-pattern=0.  Now all the color sheets
	  look OK !! Next step, patterns.
	(ms_excel_read_formula, ms_excel_read_boolerr) : Read current values so
	  we can set styles.  Empty strings are undocumented :-(
	(ms_excel_read_cell) : Handle array formulas.
	(ms_excel_read_sheet, ms_excel_read_workbook) : Add some unhandled
	  record types so that we can start to enable state checking.
	(ms_excel_unexpected_biff) : New function for warning about state.
	(biff_xf_data_new) : Don't map pattern types as if they were borders.

	* ms-formula-read.c (make_function) : Generate a dummy handler for
	  unknown functions.
	  (unknownFunctionHandler) : A dummy handler returning NAME for unknown
	  functions.

	* ms-chart.c : Use ms_excel_unexpected_biff, handle some
	  undocumented codes, and fill in more record types.

1999-06-30  Michael Meeks  <michael@edenproject.org>

	* ms-excel-write.c (write_sheet_bools): Updated
	BIFF_COLINFO.
	(write_value): Fixed up write_value to handle
	numbers more correctly.
	(write_window1): fixed WINDOW1 magic numbers.
	(write_formats): Updated format's upper bits.
	(write_sheet_tail): Mended broken selection.

1999-06-29  Michael Meeks  <michael@edenproject.org>

	* ms-excel-write.c (write_sheet_tail): Updated
	magic selection. Added magic GCW.
	(write_constants): Update to help debugging; I'm
	not really an egotist.
	(write_formats): Added constants from air.
	(write_index): Correct to absolute index.
	Fix all mis-alignments of streamPos read ( lots ).
	(biff_bof_write): Return streamPos to help with
	realignment.

	* ole.c (do_biff_raw): Added position readout.

1999-06-29  Michael Meeks  <michael@edenproject.org>

	* ms-excel-write.c (biff_boundsheet_write_last): Use
	correct type.
	Added streamPos to Workbook for INDEX calcs.
	(write_index): Implemented.
	(write_sheet): Added write_index, and necessary bits.

	* ms-excel-read.c (biff_nasty_font_check_function):
	removed, wonderful !
	(biff_font_data_get_style_font): Updated & cleaned.

1999-06-28  Michael Meeks  <michael@edenproject.org>

	* ms-excel-write.c (write_formats): Write some magic
	standard number formats.

1999-06-27  Michael Meeks  <michael@edenproject.org>

	* ms-excel-read.c: excel_builtin_formats: Populated with
	NULL's in sensible places to clean maintainability.

	* ms-formula-read.c (ms_excel_parse_formula): Add fix for
	broken array formulae causing infinite loop.

	* ms-excel-read.c (ms_excel_read_cell): Fix Morten's fatal
	cock-up in value_new_string (NULL).

	* ms-excel-write.c (write_mulblank): Implemented.
	(write_sheet): Started to get DBCELL / Index type code in
	place.
	Cleaned nasty cell hash iterator, and closure. We now rely
	on the optimal handling of max_col/row_used in the sheet.

	* ms-excel-read.c (ms_excel_read_cell): Insert blank into
	the correct column, not just the same one all the time.

	* ms-excel-write.c (write_palette): Write default palette.

	* ms-excel-read.c: Externalised default palette, and format
	data.

	* excel.h: ditto.

1999-06-25  Michael Meeks  <michael@edenproject.org>

	* ms-excel-read.c: Minor fiddles setting blank flag in some new
	places, and types changed to gboolean.

	* ms-excel-read.h (_MS_EXCEL_SHEET): changed 'blank' to gboolean.

1999-06-26  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* ms-excel-read.c (biff_font_data_get_style_font): Use
	style_font_ref here instead of creating a new font.

1999-06-22  Morten Welinder  <terra@diku.dk>

	* ms-excel-read.c (biff_get_rk): Handle negative ints and ints/100
 	right.  Thanks to Jody for finding this.

1999-06-21  Morten Welinder  <terra@diku.dk>

	* ms-formula-read.c (make_function): Handle constant symbols.

	* ms-excel-read.c (ms_excel_read_cell): Insert bools as values,
	not constant expressions.
	(biff_get_text): Make a little more quiet.
	(ms_excel_read_cell): Insert strings as values, not via text.

	* ms-excel-read.c (ms_excel_read_cell): Handle errors and boolean
 	constants without going through text.  (In particular, this gets
 	errors right and prepares for a proper bool type.)

	* ms-formula-read.c (ms_excel_parse_formula): Fix error constants.

1999-06-21  Michael Meeks  <michael@edenproject.org>

	* ms-excel-read.c (ms_excel_read_cell): Remove Jody's
	check against NULL pointers, insert_form handles them.

	* ms-chart.c (BC_R): make call to dump_tree conditional

	* ms-excel-write.c (write_sheet_bools): Various fixes.
	(write_value): Change RSTRING -> LABEL

	* README (TODO): Updated.

	* ms-excel-write.c (write_externsheets): Fix for single sheet
	workbooks.
	(write_formats): Write the format index code!
	(write_sheet_bools): Divide default col width by 16

	* ms-excel-write.h (ms_excel_write_workbook): Cleaned and fixed
	header.

1999-06-21  Jody Goldberg  <jgoldberg@home.com>

 	* biff-types.h : Move NAME from 218 -> 18, rename Chart biff types to
 	lower case to facilitate decls.
 	* ms-biff.[ch] (dump_biff) : export.
 	* ms-excel-read.[ch] : (ms_biff_bof_data_new, ms_biff_bof_data_destroy)
 	export.
 	* ms-formula-read.c : Improve handling of array formulas.
 	* ms-obj.c : Adjust signatures, and split chart handling into its own
 	file.
 	* ole.c : Count BACKWARDS to allow BIFF types with high bytes to
 	override those with only low bytes specified.
 	* Makefile.am : Add ms-chart.
 	* ms-chart.[ch] : New files.  No real functionality.  60% complete.

1999-06-17  Michael Meeks  <michael@edenproject.org>

	* ms-formula-read.c (formula_func_data): Fixed up, should work
	again.

1999-06-17  Morten Welinder  <terra@diku.dk>

	* ms-formula-read.c (make_function): Yet another leak fix.

	* ms-formula-read.c (expr_tree_unary): Obsolete.  Use
 	expr_tree_new_unary instead.
	(expr_tree_cellref): Obsolete.  Use expr_tree_new_var instead.
	(expr_tree_value): Obsolete.  Use expr_tree_new_constant instead.
	(expr_tree_string): Simplify.
	(ms_excel_parse_formula): Use expr_tree_string.  Use
 	expr_tree_new_binary.
	(make_function): Use expr_tree_new_funcall.  Fix leak.

	* ms-excel-read.c (ms_excel_read_name): Don't print null pointers.
	(ms_excel_read_workbook): Ditto.

1999-06-17  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* ms-formula-read.c (formula_func_data): LOG, ROMAN, TRUNC, and
 	BETADIST made var args.

1999-06-17  Michael Meeks  <michael@edenproject.org>

	* ms-formula-read.c (make_function): Added debug.
	(formula_func_data): Expand comments.

1999-06-17  Jody Goldberg  <jgoldberg@home.com>

	* ms-formula-read.c (formula_func_data): Fixed some
	minor errors.

1999-06-16  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* ms-formula-read.c (formula_func_data): SUMIF made var args.

1999-06-15  Morten Welinder  <terra@diku.dk>

	* ms-formula-read.c (ms_excel_parse_formula): Handle bools.  Plug
 	leak.
	(make_function): Plug leak.

	* ms-excel-read.c (biff_font_data_get_style_font): Supply correct
 	size when initialising.
	(biff_nasty_font_check_function): Revert last change.  Extra
 	parameter ptsize.

1999-06-15  Jody Goldberg  <jgoldberg@home.com>

	* ms-formula-read.c (formula_func_data): Repopulate using xlcall.h and
	reading the docs for each function to deduce the number of args.

1999-06-14  Morten Welinder  <terra@diku.dk>

	* ms-excel-read.c (biff_nasty_font_check_function): Load fontset,
 	not font.
	(biff_font_data_get_style_font): Make sure size constraints don't
 	conflict.

1999-06-15  Michael Meeks  <michael@edenproject.org>

	* ms-excel-read.c (biff_font_data_get_style_font): Add check
	for NULL font name; return default font.

1999-06-13  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* ms-formula-read.c (formula_func_data): LOG, ROMAN, and TRUNC
 	made var args.

1999-06-13  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* ms-formula-read.c (formula_func_data): PRODUCT, ROUNDDOWN,
 	ROUNDUP, SUBTOTAL, SUMSQ, and SUMIF fixed.  SUMX2MY2 and SUMX2PY2
 	added but they don't work (I don't know why?).

1999-06-13  Michael Meeks  <michael@edenproject.org>

	* ms-excel-read.c (ms_excel_set_cell_colors): Remove identical color
	warning. This is a useful bug at the moment.

1999-06-13  Jody Goldberg  <jgoldberg@home.com>
        * ms-excel-read.c (biff_get_error_text) : Use new global error strings.
        (ms_excel_default_palette) : New function.
        (ms_excel_palette_new) : Colors are stored
                    <DontCare><Blue><Green><Red>
            rather than
                    <DontCare><Red><Green><Blue>
        (ms_excel_palette_get) : Clone bytes to scale colors, begin to
        handle more of the 'special' color indices and guess that indices
        are offset by 8.
        (ms_excel_palette_destroy) : Don't delete the default palette.
        (ms_excel_set_cell_colors) : Don't filter too many bits, support
        initial contrast methods.
        (ms_excel_set_cell_font) : Ditto.
        (ms_excel_set_cell_xf) : Ditto.
        (biff_xf_data_new) : Default palette to internal palette.

1999-06-12  Michael Meeks  <michael@edenproject.org>

	* ms-excel-read.c (ms_excel_read_supporting_wb):
	Renamed from _WB.
	(ms_excel_read_name): Remove buggy names assert.

1999-06-11  Jody Goldberg  <jgoldberg@home.com>

        * biff-types.h: Add some missing types as defined in
        the Excel 97 Developers kit.  Begin coverage of Chart specific records.
        Improve documentation of 'odd-ball' entries and collsions in the low
        order numbering scheme.

        * ms-obj.c (ms_obj_read_obj) : Remove unused sheet param
        to facilitate support for Workbook level objects.  Extend known object
        types.
        * ms-obj.h (ms_obj_read_obj) : Ditto.

        * ms-obj.c (ms_chart_biff_read) : Initial experimental
        harness for excel charts.
        * ms-obj.h (ms_chart_biff_read) : Ditto.

        * ms-excel-read.c (biff_name_data_new) : Take Workbook instead of sheet.
            (ms_biff_unknown_code) : New function split out from.
            (ms_excel_read_workbook) : Here.
            (ms_excel_read_name) : New function split out from.
            (ms_excel_read_cell) : Here.
            (ms_excel_externname): New function split out from
            (ms_excel_read_cell) : Here.
            (ms_excel_read_supporting_WB) : New function.  Will probably
            split up in the future when the filename encoding is clarified.
            (ms_excel_read_workbook) : Precheck for odd-balls and chart types.
            Add hooks for other fields.

1999-06-09  Michael Meeks  <michael@edenproject.org>

	* ms-excel-read.c (ms_excel_read_workbook): Added version
	printout.
	(ms_excel_set_cell_colors): More debug.
	(biff_font_data_new): Added strange truncation of font
	color_idx.
	(ms_excel_palette_get): >= 0.

1999-06-08  Michael Meeks  <michael@edenproject.org>

	* ms-formula-read.c (formula_func_data): correct DAYS360,
	add TIMEVALUE.

1999-06-07  Michael Meeks  <michael@edenproject.org>

	* ms-formula-read.c (formula_func_data): Fix ATAN2 -> PI

1999-06-02  Michael Meeks  <michael@edenproject.org>

	* ms-formula-read.c (ms_excel_parse_formula): Elucidate
	error messages.
	(ms_excel_parse_formula): clean debug.
	(formula_func_data): Fix COUNT and BETADIST.

1999-06-01  Michael Meeks  <michael@edenproject.org>

	* ms-excel-write.c (write_sheet_bools): Added yet more
	magic numbers.
	(write_sheet_tail): Implemented WINDOW2, SELECTION as
	magic.
	(ms_excel_write_workbook): Fix silly big dimension block.

	* boot.c (excel_init): Put Excel 95 on by default.

	* ms-excel-write.c (write_bits): Added WINDOW1 bit.
	(write_fonts): Add slight difference in duplicate fonts.
	(write_xf_record): Added more fields.

1999-05-31  Michael Meeks  <michael@edenproject.org>

	* ms-excel-write.c (biff_bof_write): Fixed _major_
	bug in BOF writing.
	(write_xf_record): Version fix.
	(write_bits): Lots of silly little records.
	(write_workbook): Write bits.
	(write_sheet_bools): Added lots of flags.
	(write_sheet): Added sheet_bools.

	* boot.c (excel_init): Changed 98->97 in text.

	* ms-excel-write.c (write_workbook): Fix serious list
	bug freeing list then using it !

1999-05-30  Michael Meeks  <michael@edenproject.org>

	* ms-excel-write.c: Changed to biff_put_commit
	throughout.
	(write_fonts): Added more magic numbers.

	* ms-biff.c (ms_biff_put_commit): Added, and made
	other commits static.

	* ms-excel-write.c: Indenting fixes.
	(write_constants): CODEPAGE support.
	(write_workbook): Added missing write_xf call.

1999-05-30  Nick Lamb <njl98r@ecs.soton.ac.uk>

	* ms-formula-read.c (getRefV8, getRefV7): Fix shared
	formulae absolute references.

1999-05-28  Michael Meeks  <michael@ximian.com>

	* ms-excel-write.c: Minimal Pallete / XF writing.
	Basic font writing.
	(biff_put_text): Horrendous bug fixed.
	(write_magic_interface): Magic...

1999-05-26  Michael Meeks  <michael@ximian.com>

	* biff-types.h: Fleshed out defines, now the 'compatible'
	staroffice file is dumped nicely.

	* ole.c (read_types): Added fudge in case files are nearby.

	* ms-excel-write.c (ms_excel_write_workbook): Force Big
	Block file.
	(write_value): Set vesion on biff_put_text for RSTRING to V7.

1999-05-24  Michael Meeks  <michael@ximian.com>

	* ole.c (main): Added 'debug' option to dump allocation.

1999-05-21  Nick Lamb <njl98r@ecs.soton.ac.uk>

	* ms-formula-read.c: Lots of new formulae translations.

1999-05-20  Michael Meeks  <michael@ximian.com>

	* ole.c (main): Change ole_new to ole_open.
	(list_files): Added assertion.

	* boot.c (excel_load): Same.

1999-05-19  Michael Meeks  <michael@ximian.com>

	* ole.c (main): Add New OLE file creation support.

	* ms-excel-read.c (ms_excel_set_cell_xf): Cleaned silly
	debug.

1999-05-19  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* ms-formula-read.c (formula_func_data): LOGNORMDIST and NORMSDIST
 	fixed.

1999-05-17  Michael Meeks  <michael@ximian.com>

	* ms-formula-read.c (formula_func_data): Function data from
	Luke Plant.

	* ms-biff.h: Add biff_setdouble prototype.

	* ms-excel-read.c: Updated commenting.

	* ms-biff.c (ms_bug_get_padding): Quietened.
	Implemented 'tell' throughout
	(ms_biff_put_var_commit): Fixed seeking over end.

1999-05-16  Michael Meeks  <michael@ximian.com>

	* ms-excel-write.c (biff_put_text): Fix silly assertion.

	* ms-excel-read.c: Added debug to reading side,
	Cleaned conditional debug to use #defines

	* ms-excel-write.c (write_sheet): Save a number in each
	sheet to stop their destruction.

	* ms-excel-biff.h: Added helper set row,col,xf macros.

	* ms-biff.c (ms_biff_put_var_commit): Fixed.
	Added streamPos setting on commit.

	* ms-excel-write.c: Large updates.

1999-05-16  Michael Meeks  <michael@ximian.com>

	* ms-formula-read.c (make_function): Allow fn_idx == 0
	add translation for RANK.

1999-05-15  Michael Meeks  <michael@ximian.com>

	* ms-excel.[ch] -> ms-excel-read.[ch],

	* ms-formula.[ch] -> ms-formula-read.[ch]

	* All files includes updated to obey above.

	* ms-biff.c (ms_biff_put_new): Implemented,
	(ms_biff_put_destroy): Implemented.
	Various other functions updated / fixed.

	* ms-excel-write.c (ms_excel_write_workbook): Change stream name
	depending on the version.
	Close streams / directory entries correctly.
	(write_workbook): Created.

1999-05-15  Michael Meeks  <michael@ximian.com>

	* Makefile.am: stop 'ole' being installed.

1999-05-15  Michael Meeks  <michael@ximian.com>

	* ms-formula.c (ms_excel_parse_formula): Cleaned debug.

	* boot.c (excel_init): Added write hooks.
	(excel_save_95, excel_save_98, excel_save): Created.

1999-05-14  Michael Meeks  <michael@ximian.com>

	* ms-formula.c (ms_excel_parse_formula): Finaly got the ARRAY
	docs sorted, deciphered inconsistancies etc.

1999-05-14  Michael Meeks  <michael@ximian.com>

	* ms-formula.c (ms_excel_parse_formula): Implemented V7. 3D refs
	and 3D Area references.
	(make_inter_sheet_ref_v7): Created to deal with V7 references.

	* ole.c (really_put): Changed to ms_ole_get_root.

	* ms-excel-biff.h: moved biff_version to 'excel.h'.

	* *.c: Re-ordered includes.

	* ms-excel-write.c (ms_excel_write_workbook): Fleshed out.

	* ms-biff.c (biff_put*): Fleshed out.

	* ms-biff.h (BIFF_SET_GUINT*): Added BIFF setting macros.

1999-05-13  Michael Meeks  <michael@ximian.com>

	* ms-formula.c (ms_excel_parse_formula): Updated Array support.

	* ms-excel.c (ms_excel_set_cell_colors): Kills colors where
	backgnd & foregnd are same, needs pattern stuff to work
	before it can be fixed.
	(ms_excel_palette_get): Sorted special idx=64 color & added
	sanity check.

1999-05-13  Michael Meeks  <michael@ximian.com>

	* ms-biff.h (ms_biff_query_next): Macrofied.

	* ms-biff.c (ms_bug_get_padding): Routine to overcome
	nastiness in MS' flawed implementation of CONTINUE records.
	(ms_biff_query_next_merge, ms_biff_merge_continues),
	(ms_biff_query_unmerge): Add padding corrective.

1999-05-12  Michael Meeks  <michael@ximian.com>

	* ms-biff.h: Major overhaul, added some fields to be implemented.
	Added stubs for new BIFF write-side.

	* ms-biff.c (biff_setdouble): Implemented.

	* ms-excel.c (ms_excel_read_cell): BIFF_NUMBER: Removed last
	vestige of nasty number->text->number sillyness.

	* Makefile.am (libexcel_a_SOURCES): Added excel.h,
	ms-excel-write.[ch].

	* boot.c (excel_load): Updated name & headers.

	* ms-excel.c (ms_excel_write_workbook): Stubbed.

	* ms-excel.h: Split out excel specifics into smaller header.
	Renamed functions to remove nasty mixed case.

1999-05-12  Michael Meeks  <michael@ximian.com>

	* ole.c (main): Add check on ptr to fix NULL pointers getting
	to strcasecmp.
	(do_copyin): Added mass-copy in/out function.

1999-05-10  Michael Meeks  <michael@ximian.com>

	* ms-excel.c (ms_excel_read_sheet): Added new
	workbook_focus_sheet stuff.

1999-05-10  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>

	* Makefile.am (INCLUDES): Use -I$(srcdir)/libole2 instead of
	-Ilibole2 to allow srcdir!=builddir.

1999-05-09  Michael Meeks  <michael@ximian.com>

	* ms-formula.c (make_function): More useful debug.
	Added Database function translation.

1999-05-08  Michael Meeks  <michael@ximian.com>

	* ole.c (do_get, do_put): Sill fread/write no brainer.
	(main): Less verbose.

	* README: Updated to list more useful options.

1999-05-08  Michael Meeks  <michael@ximian.com>

	* ms-biff.c (ms_biff_query_copy): Updated to use new
	global ms_ole_stream_copy.

	* Makefile.am: Split out 'ole' program, added libole2
	subdir. Added ms-biff.c.

	* libole2/ Created, moved ole.c, ms-ole.[ch] there.

1999-05-08  Michael Meeks  <michael@ximian.com>

	* ole.c (main): Large re-structure, split out into smaller
	functions.

	* ms-formula.c (ms_excel_parse_formula): Hack at ARRAY
	functionality...

	* ms-excel.c (ms_excel_sheet_set_comment): Fix for setting
	comments on blank cells; was fatal.

1999-05-07  Michael Meeks  <michael@ximian.com>

	* ms-formula.c (ms_excel_parse_formula): Fixed horrible bug
	in PTG_ATTR, not stopping on duff attr.

	* ms-excel.c (ms_excel_read_cell): Cleans to ARRAY_FORMULA.

1999-05-06  Michael Meeks  <michael@ximian.com>

	* ms-ole.c (ms_biff_query_new, ms_biff_merge_continues)
	Better merge support.

	* ms-biff.h (_BIFF_QUERY): Added merge count

1999-05-06  Michael Meeks  <michael@ximian.com>

	* ms-excel.c (ms_excelReadWorkbook): Added freeze /
	thaw redraws for speed.

	* ms-escher.c (OPT_new): Expanded.
	(BStoreContainer_destroy): Added debug.

	* ole.c: Updated functions from ms-escher.c
	(main): Correctly skip over previously merged stuff.

1999-05-05  Michael Meeks  <michael@ximian.com>

	* ms-formula.c (parse_list_push_raw): Cleaned debug.
	(parse_list_push): Added (different) debug.
	(formula_func_data): Fixed comments.
	(duplicate_formula): Removed.

1999-05-05  Michael Meeks  <michael@ximian.com>

	* ms-excel.c (ms_excel_read_cell): Updated debug.
	(ms_excel_sheet_insert_val): Fixed prototype.

	* ms-formula.c (expr_tree_unary): Added helper fn.
	(ms_excel_parse_formula): Added +/- unary op. loading.
	Remove redundant guff from formula_op_data.

	* ms-formula.h: Removed FORMULA_ARRAY_DATA: redundant.
	Added PTG_U_PLUS, PTG_U_MINUS.

1999-05-04  Morten Welinder  <terra@diku.dk>

	* ms-excel.c (ms_excel_workbook_new): Fix argument list.

1999-05-02  Michael Meeks  <michael@ximian.com>

	* ms-excel.c (biff_get_externsheet_name): Converted to return
	a Sheet *
	(ms_excel_sheet_shared_formula): Returns ExprTree.
	(biff_boundsheet_data_new): Added EXCEL_SHEET * to BOUNDSHEET_DATA
	this really needs rationalising !
	Fixed all things that use ms_formula stuff...

	* ms-formula.c: The most comprehensive re-write of the entire
	formula parsing structure. 80% + of code changed. Now smaller,
	cleaner, meaner, leaner ... and featuring all your favorite bugs.

1999-05-02  Michael Meeks  <michael@ximian.com>

	* ms-excel.c (biff_xf_data_destroy): Changed prototype.
	(ms_excel_workbook_destroy, ms_excel_workbook_new),
	(ms_excel_set_cell_xf, biff_xf_data_new):
	Updated XF to GPtrArray, this saves a hash lookup per cell.
	(ms_excel_workbook_new): excel_sheets -> GPtrArray
	(ms_excel_workbook_attach): Drasticaly simplified
	(ms_excel_sheet_set_index): Removed.

	* ms-excel.h (_MS_EXCEL_WORKBOOK): Changed XF hashes
	to PtrArray's for speed & elegance.

1999-05-02  Michael Meeks  <michael@ximian.com>

	* ms-excel.c (ms_excel_read_sheet): Add check before
	ms_excel_sheet_destroy.
	(ms_excel_read_sheet): Cleaned debug, and made it nicer.
	(ms_excel_workbook_detach): Fixed semantics of workbook_detach
	and plug large memory leak.

1999-05-02  Michael Meeks  <michael@ximian.com>

	* ms-formula.c (ms_excel_parse_formula): Removed annoying
	debug killing performance.

	* ms-excel.c (ms_excel_sheet_insert_val): Created.
	(biff_get_rk): Removed impossible clause.
	Returns a Value now for speed; also increases accuracy.
	(ms_excel_read_cell): BIFF_RK, BIFF_MULRK: Removed nasty
	buffer and ugly printf.
	(ms_excel_sheet_insert): Made static, & removed from .h

1999-04-29  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* ms-ole.c (ms_ole_new): Applied patch from Michael Meeks to allow
	opening of excel files in read-only mode.

1999-04-29  Michael Meeks  <michael@edenproject.org>

	* ms-ole.c (ms_ole_new): Revert to read-only mapping on failure.
	(MW: there has got to be a reason why we don't start that way.)

1999-04-29  Morten Welinder  <terra@diku.dk>

	* ms-excel.c (ms_excel_workbook_detach): Add new extra parameter
 	to workbook_detach_sheet.

1999-04-26  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* ms-excel.c (ms_excel_workbook_detach): Check the return value of
	workbook_detach_sheet.
	(ms_excel_read_sheet): If detaching fails, there is a dependency.

Tue Apr 20 16:34:38 1999  Morten Welinder  <terra@diku.dk>

	* ms-obj.c (ms_obj_read_obj): Initialise type.

1999-04-19  Morten Welinder  <terra@diku.dk>

	* ms-excel.c (biff_get_rk): Fixed up mask on eIEEE.

1999-04-19  Michael Meeks  <michael@edenproject.org>

	* ms-escher.c (read_DgContainer): Removed redundant
	debug.

	* ms-ole.c (ms_biff_merge_continues): Silly ordering
	bug fix. And memory leak removed.

	* ms-excel.c (ms_excelReadWorkbook): Silly string table
	length bug. Wehn we truncate, cut the length as well.

	* ole.c (syntax_error): Updated help.
	(main): [old] added 'biffraw'

1999-04-19  Morten Welinder  <terra@diku.dk>

	* ms-formula.c (ms_excel_parse_formula): Fix for
	strings: use quotes.

	* ms-excel.c (ms_excel_sheet_append_comment): Fix.
	(biff_font_data_get_style_font): removed assert, and
	use g_snprintf
	(ms_excelReadWorkbook): Removed duff
	comments, and some debug.

1999-04-19  Michael Meeks  <michael@edenproject.org>

	* ms-biff.h (_BIFF_QUERY): Set length to guint32
	(BIFF_GETLONG): Added various casts.

	* ms-ole.c (ms_ole_read_ptr_bb, ms_ole_read_ptr_sb):
	Re-enabled, and fixed silly bug.
	(dump): the 'int' type behaves very strangely.

1999-04-18  Michael Meeks  <michael@edenproject.org>

	* ms-ole.c: Rather important fixes. How did it ever
	work before !.

1999-04-18  Michael Meeks  <michael@edenproject.org>

	* ms-ole.c, ms-ole.h: MASSIVE hack. invalidates
	pretty much all the previous ole changelog entries.
	(dump): Updated type.

	* ms-excel.c (ms_biff_bof_data_new): Removed assert.
	(biff_get_externsheet_name): Removed assert.
	(ms_excel_parse_formula): Commented out array support.

1999-04-18  Michael Meeks  <michael@edenproject.org>

	* ms-excel.c (ms_excel_workbook_new): Added flag so
	only reads first group & merges rest.

	* ms-escher.c (biff_to_flat_data): Improved merge
	heuristic.

1999-04-18  Michael Meeks  <michael@edenproject.org>

	* ms-escher.c (bse_type_to_name): Created.
	(bse_type_to_name): Created.
	(BSE_new): Updated.
	(esh_header_contained): Moved duplicated code
	into this and added check.
	(esh_header_next): Added debug.
	(write_file): Writes a pixmap to disk.

1999-04-15  Michael Meeks  <michael@edenproject.org>

	* ms-excel.c (ms_excelReadWorkbook): Put PRECISION
	output conditional on debug.
	Put escher_hack_get_drawing on condition of --debug

	* ms-formula.c (ms_excel_parse_formula): Added
	'Optimised Choose' functionality.
	(formula_func_data): Inserted CHOOSE.
	(ms_excel_parse_formula): Patch for broken MS files.
	Updated 'Name' records.

1999-04-15  Michael Meeks  <michael@edenproject.org>

	* boot.c: Fixed includes to remove annoying warning.
	(excel_load): Add workbook_set_filename for style.

	* ms-excel.c (ms_excel_workbook_detach): Added debug
	if can't remove sheet for some reason.

	* ms-ole.c (pps_get_text): Hacked in some better
	unicode support. Might work cross-platform now.
	(ms_ole_new): Added name printout to help debug.
	(ms_ole_directory_next): Conditional'd debug.
	(directory_setup): clean debug.

	* ms-excel.c (ms_excel_set_cell_colors): Removed debug.

1999-04-15  Michael Meeks  <michael@edenproject.org>

	* ms-formula.c (ms_excel_parse_formula): PTG_AREAN added,
	and PTG_AREA updated to include 'shared' flag.
	(ms_excel_parse_formula): Added PTG_ARRAY code.

	* ms-formula.h (FORMULA_PTG_ARRAY): Added PTG_ARRAY

	* ms-excel.c (ms_excel_read_cell): Added more sensible
	floating point printing throughout.

	* ms-excel.h (MS_EXCEL_DOUBLE_FORMAT): Created to
	standardise number transfer.

1999-04-14  Michael Meeks  <michael@edenproject.org>

	* ms-formula.h: Updated ms_excel_parse_formula prototype.

	* ms-excel.c (ms_excel_read_cell): Added 'shared' flag
	to all ms_excel_parse_formula instances.
	(biff_get_error_text): Set arg to const.
	(ms_excel_sheet_shared_formula): Removed debug.
	(ms_excel_read_cell): Removed debug.
	(ms_excel_sheet_insert): const text arg.

	* ms-excel.h: Updated prototypes.

	* ms-formula.c (ms_excel_parse_formula): RefN replaced.
	updated prototype & args. Updated optimised if call.
	(getRefV8, getRefV7): Attempt at shared formulae.
	Fairly brutal hack: seems to work :-)

1999-04-14  Michael Meeks  <michael@edenproject.org>

	* ms-excel.c (biff_get_text): Remove platform dependance.
	(biff_get_error_text): Changed type.
	(biff_boundsheet_data_new): s/int strlen/int slen/
	(biff_font_data_destroy): Free after last use.
	(biff_get_rk): Changed IEEEx10 to IEEEx100
	(ms_excel_read_cell): COL_INFO: Fixed width cast.
	Thanks to great bug reports by Morten Welinder.

	* ms-excel.h: Add const to biff_error_get_text.

	* ms-ole.c (SET_GUINT8): Fix GET_<TYPE> macros.

	* ms-biff.h (BIFF_GETWORD): Patch from Morten Welinder to
	improve GET<TYPE> macros.

1999-04-14  Michael Meeks  <michael@edenproject.org>

	* ole.c (dump_escher): Fatal Escher cockup removed, makes
	the problem look more complex and realistic.
	Indenting added.

	* ms-escher.c (read_DgContainer): Created.
	(SpgrContainer_new): Created.
	(ms_escher_hack_get_drawing): Add debug.
	(SpContainer_new): Created.
	There must be a good way of doing this recursively.

1999-04-13  Michael Meeks <michael@ximian.com>

	* ms-escher.c (esh_header_next): Fixedup to use correct lengths.
	Various major bits of work, started parsing the hierarchical
	bitstream. Escher looks better than BIFF, 32bit clean seemingly.

	* ole.c: Copied in updates.
	(dump_escher): Recursive dump of structures.

1999-04-13  Michael Meeks <michael@ximian.com>

	* ms-ole.c(ms_biff_query_copy): Fix nasty bug: duplicate
	stream pos record too.

	* escher-types.h: Created to hold the drawing layer types.

	* ole.c (read_types): Expanded to cope with escher types.
	(get_opcode_name): Duplicated into:
	(get_biff_opcode_name, get_escher_opcode_name): Created.
	(main): Updated biff section.
	Added 'draw' = search for drawings and dump section.

	* README: Updated to doc. 'draw'

1999-04-12  Michael Meeks <michael@ximian.com>

	* ms-objc.c/h renamed ms_obj_read_graphic to
	ms_obj_read_obj, the real graphic lurks elsewhere...

	* ms-escher.c/h: Created to handle the 'Office drawing layer'
	This is a hack and needs better OLE support code.

	* ms-ole.c (ms_ole_stream_duplicate): Created, not too bad a hack
	(ms_biff_query_data_to_stream): Nasty hack for ms-escher

1999-04-12  Michael Meeks <michael@ximian.com>

	* ms-obj.c: Created to deal with the horrors of embedded graphic
	objects !

	* ms-obj.h: Include for the same

	* ms-excel.c: Include ms-obj.h
	(ms_excel_read_sheet): Add call to ms_obj_read_graphic.

	* biff-types.h: Update comments.

	* Makefile.am: Add new files.

	* ole.c: Nice header.

1999-04-12  Michael Meeks <michael@ximian.com>

	* biff-types.h: Fleshed out.

	* ms-excel.c (ms_excel_sheet_set_comment): Created
	(ms_excel_sheet_append_comment): Created
	(ms_excel_read_sheet): Added BIFF_NOTE support.
	(ms_excel_set_cell_xf): Fixed spurious debug, and made more
	robust.

1999-04-12  Michael Meeks <michael@ximian.com>

	* ms-excel.c: Various unneeded BIFF tags implemented for
	completeness.

	* biff-types.h: The tag definitions.

	* ole.c (read_types): Improved.
	(main): Flag duplicates sensibly.

1999-04-12  Michael Meeks <michael@ximian.com>

	* ole.c: Added 'biff' command.
	Added type file loader/parser and helper function.

	* biff-types.h: Created

	* ms-excel-biff.h: Moved types out.

1999-04-11  Michael Meeks <michael@ximian.com>

	* ole.c: Major update, interactive mode, help, dump command
	etc.

1999-04-09  Michael Meeks <michael@ximian.com>

	* ms-excel.c (ms_excel_workbook_detach): Paranoid NULLing
	of pointers.
	Fixed _silly_ bug with g_list_remove !
	(ms_excel_workbook_attach): Paranoia checking.
	(biff_get_text): Converted int lp to guint32 lp.
	(ms_excelReadWorkBook): BIFF_SST: Added overrun check,
	some idiot splits the SST table for seemingly no good reason.
	Cleaned debug.
	(ms_excel_read_cell): Cleaned debug.
	(ms_excel_palette_get): Added magic multiplying factor to get
	colors to work...
	(ms_excel_set_cell_font): Now returns font color
	(ms_excel_set_cell_xf): Updated to pass on foregnd col to:
	(ms_excel_set_cell_colors): Added priority foregnd col.
	BIFF_XF_DATA: Updated colours to pattern colours, and updated
	names throughout adding pal_ prefix.

	* ole.c: Added, basic OLE2/BIFF helper program

	* Makefile.am: Updated to include ole.c

1999-04-06  Michael Meeks <michael@ximian.com>

	* ms-formula.h: Add PTG_AREAN, PTG_REFN.

	* ms-formula.c: Debug for these cases.
	(ms_excel_parse_formula): Added shared row/col.
	Updated ms_excel_sheet_shared_formula call.

	* ms-excel.c (ms_excel_sheet_shared_formula): Include
	new arguments.
	(ms_excel_read_cells): Update all parse_formula calls.
	(ms_excel_set_cell_xf): Set auto_return argument to 0 for
	cell_set_alignment.
	move cell_set_colors to last thing.

	* ms-excel.h: Update prototype.

1999-04-05  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* ms-ole.c (biff_getdouble): Move biff_getdouble here, and apply
	fix from Tung Nguyen (tung.nguyen@pgs.com)

1999-04-03  Michael Meeks  <michael@ximian.com>

	* ms-excel.c (ms_excel_read_sheet): removed fixup_array_formulae.
	(ms_excel_read_cell): Large SHRFMLA / ARRAY fixups.
	(biff_share_formula_new,destroy,hash,equal): Implemented.
	(ms_excel_sheet_new): Removed GList array_formulae and insert
	shared formula hash table.
	(ms_excel_sheet_destroy): Deal with hash table.
	(ms_excel_sheet_shared_formula): Returns shared formula text
	(ms_excel_set_cell_xf): Cleaned unused variables.

	* ms-excel.h: Added ms_excel_sheet_shared_formula prototype

	* ms-formula.c (ms_excel_fixup_array_formula): Removed.
	(ms_excel_parse_formula): Sorted FORMULA_PTG_EXP.

	* ms-formula.h: Removed prototype.

1999-04-02  Michael Meeks  <michael@ximian.com>

	* ms-formula.c (ms_excel_parse_formula): PTG_ATTR: corrected
	debug output semantics.
	Set IF to var-arg ( fn: 0x1 ).
	Various Debug bits made conditional.
	Implemented 'optimised' = 'hopelessly obfuscated' IF function.
	Ignored 'Volatile' PTG_ATTR.
	Added INT to table.

	* ms-excel.c (ms_excel_set_cell_xf): Made static for safety.
	(ms_excelReadWorkbook): BIFF_SST: fixed up a few types.
	(biff_get_text): Fixed types.

	* ms-excel.h: removed prototype for same.
	fixed biff_get_text type.

1999-04-01  Michael Meeks  <michael@ximian.com>

	* ms-excel.c (ms_excelReadWorkbook): Major string table fix
	should now work internationally.
	(biff_get_text): Major arguments change, now returns the rather
	grim byte length field if needed through a guint32 *
	Changed all references to biff_get_text throughout.

	* ms-excel.h: Updated biff_get_text prototype.

	* ms-formula.c: Changed all references to biff_get_text throughout.

1999-03-31  Michael Meeks  <michael@ximian.com>

	* ms-excel.c (ms_excel_read_sheet): Added SELECTION support.
	Added basic WINDOW2 support.
	(ms_excel_read_cell): COLINFO, fixed fatal bug in hidden column code.

	* ms-formula.c (ms_excel_parse_formula): Removed debug.

1999-03-30  Michael Meeks  <michael@ximian.com>

	* ms-formula.c (ms_excel_parse_formula): Rehashed function
	and operator search function so it uses a flat array instead
	of a linear search.
	fully populated formula_func_data array, and removed unused /
	constant fields.

	* ms-formula.h: Removed dead wood from OP_DATAa & FUNC_DATA
	structs.

1999-03-26  Michael Meeks  <michael@ximian.com>

	* ms-formula.c: Removed duplicate for fn 0x65

1999-03-24  Thomas Meeks  <thomas@ximian.com>

	* ms-formula.c: Added mappings for Address, Area, Hyperlink,
	Offset, Column, Columns.

1999-03-12  Michael Meeks  <michael@ximian.com>

	* ms-excel.c (biff_name_data_new, biff_name_data_get_name),
	(biff_name_data_destroy, ms_excel_read_cell): Implemented
	the BIFF_EXTERNNAME case.
	(ms_excel_workbook_new, ms_excel_workbook_destroy):
	Name table hashing functions.
	(ms_excel_read_cell): Cleaned debug on BIFF_HEADER / FOOTER.

	* ms-formula.c (ms_excel_parse_formula): Large API change to
	simplify several cases, and clean dirty code.
	(make_function): Special 0xff case on functions. For use with
	external functions, the names of which come in via:
	(_excel_parse_formula): FORMULA_PTG_NAME_X, hacked into
	rough shape.

	* ms-excel.c: All instances of ms_excel_parse_formula updated.

1999-03-11  Michael Meeks  <michael@ximian.com>

	* ms-ole.c (ms_ole_destroy, ms_ole_new): Killed debug
	output before we are sure it's an OLE file.

1999-03-11  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* ms-excel.c (find_workbook): Use g_strncasecmp here.

1999-03-10  Michael Meeks  <michael@ximian.com>

	* ms-formula.c: Inserted all the statistics formulae from
	5.0a into the translation table.

1999-03-09  Michael Meeks  <michael@ximian.com>

	* ms-formula.c (ms_excel_parse_formula): Hacked out the
	bad array formula support. Moved most of it to ms-excel.c

	* ms-excel.c (ms_excel_read_cell): Updated BIFF_ARRAY and
	BIFF_FORMULA cases; splitting and adding array loop.
	BIFF_COLINFO, BIFF_ROW: Updated fudge factors in sizing
	and implemented column sizing.

1999-03-07  Michael Meeks  <michael@ximian.com>

	* ms-formula.c: Changed FORMULA_PTG_STR to cope with both
	versions of string properly.
	Inserted innumerable time and text functions into the
	translation table.

1999-03-07  Michael Meeks  <michael@ximian.com>

	* ms-excel.c: Changed to use cell_set_text_simple to save
	many redundant re-draws: big speedup.
	hacked up a set_row_height call

1999-03-05  Michael Meeks <michael@ximian.com>

	* ms-ole.c: Variously made debug conditional on OLE_DEBUG
	* ms-excel.c: ditto for EXCEL_DEBUG

1999-02-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* ms-ole.c (ms_ole_write_sb): Do not use C++ comments.

1999-02-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* ms-ole.c (ms_ole_destroy): Free the correct pointer (we were
	releasing the same pointer twice).

1999-01-13  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* ms-ole.c (ms_ole_destroy): Free f->header_root_list if set.

1999-01-03  Jeff Garzik  <jgarzik@Pobox.com>

	* ms-excel.c, ms-formula.c:
	A printf fix.
	Warning fixes.

1998-12-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* boot.c (excel_init): New file, adds the excel booting
	mechanism.