File: ChangeLog

package info (click to toggle)
gnumeric 1.10.8-1squeeze5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 90,968 kB
  • ctags: 23,303
  • sloc: ansic: 248,235; xml: 51,894; sh: 10,491; makefile: 2,822; perl: 2,466; yacc: 1,272; python: 205
file content (11399 lines) | stat: -rw-r--r-- 387,365 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
2010-07-30  Morten Welinder <terra@gnome.org>

	* Release 1.10.8

2010-07-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_autofilter_set_condition): new
	* src/commands.h (cmd_autofilter_set_condition): new
	* src/sheet-filter.c (gnm_filter_condition_dup): publish
	(gnm_filter_condition_free): publish
	* src/sheet-filter.h (gnm_filter_condition_dup): new
	(gnm_filter_condition_free): new
	* src/undo.c (GNM_UNDO_FILTER_SET_CONDITION): new object
	* src/undo.h (GNM_UNDO_FILTER_SET_CONDITION): new object

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

	* src/wbc-gtk.c (cb_accept_input_array): new
	(cb_accept_input_selected_cells): new
	(cb_accept_input_selected_merged): new
	(cb_accept_input_menu_sensitive_selected_cells): new
	(cb_accept_input_menu_sensitive_selected_merged): new
	(cb_accept_input_menu): new
	(edit_area_button_menu): new
	(wbc_gtk_create_edit_area): use edit_area_button_menu for ok_button

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

	* src/commands.c (cmd_reorganize_sheets_delete_cmp_f): rename
	  to cmd_tabulate_cmp_f and change caller (which is cmd_tabulate_undo)

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

	* src/preview-grid-impl.h (_PreviewGrid): Get rid of unused GdkGC
	fields.

2010-07-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk.c (wbc_gtk_create_status_area): size the autoexpr
	label to contain about 25 typical characters and ellipsize it on
	the left
	* src/workbook-view.c (wb_view_auto_expr_recalc): format the
	autoexpression to an appropriate length

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

	* src/style-border.h (struct _GnmBorder): Eliminate unused
	gc_screen and gc.

2010-07-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/mstyle.c (gnm_style_get_pango_attrs): use
	  gnm_translate_underline_to_pango
	(gnm_style_generate_attrs_full): use gnm_translate_underline_to_pango
	(gnm_style_set_from_pango_attribute): use
	  gnm_translate_underline_from_pango
	* src/style.c (gnm_translate_underline_to_pango): new
	(gnm_translate_underline_from_pango): new
	* src/style.h (gnm_translate_underline_to_pango): new
	(gnm_translate_underline_from_pango): new
	* src/wbc-gtk-actions.c (FontSingleLowUnderline): new actions
	(FontDoubleLowUnderline): new actions
	(cb_font_underline_low): new
	(cb_font_double_underline_low): new
	* src/wbc-gtk-impl.h (_WBCGtk): add toggle action fields
	* src/wbc-gtk.c (wbc_gtk_style_feedback_real): handle
	  UNDERLINE_*_LOW
	(wbc_gtk_init): add Font*LowUnderline

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

	* src/item-grid.c (item_grid_init): Kill all GdkGCs which aren't
	used anyway.

2010-07-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/dead-kittens.h (gtk_dialog_get_content_area): new

2010-07-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* schemas/gnumeric-dialogs.schemas.in: new item search-results
	* schemas/gnumeric-general.schemas.in: fix typo
	* src/gnumeric-gconf.c (gnm_conf_*et_searchreplace_search_results*): new
	* src/gnumeric-gconf.h (gnm_conf_*et_searchreplace_search_results*): new

2010-07-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: add "clear filtered" menu items
	* src/GNOME_Gnumeric-gtk.xml.in: ditto
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* src/commands.c (cmd_selection_clear_row_handler): new
	(cmd_selection_clear): adjust selection if only considering filtered rows
	* src/ranges.c (range_fragment_free): delete
	* src/ranges.h (range_fragment_free): change into a define using
	  go_slist_custom
	* src/sheet.h (SheetClearFlags): add CLEAR_FILTERED_ONLY
	* src/wbc-gtk-actions.c (cb_edit_clear_*_filtered): new
	(EditClear*Filtered): new actions

2010-07-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/clipboard.c (cb_clipboard_copy_range_undo): paste everything back
	* src/commands.c (cmd_clear_*): delete
	(cmd_selection_clear): rewrite using GOUndo
	* src/sheet.c (sheet_clear_region_undo): new
	(sheet_clear_region_cb): new
	* src/sheet.h (sheet_clear_region_undo): new

2010-07-23  Morten Welinder  <terra@gnome.org>

	* src/func.c (gnm_func_sanity_check1): Make sure argument names,
	as documented, are unique.

2010-07-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* schemas/gnumeric-general.schemas.in: add tooltip preferences
	* src/gnumeric-gconf.h
	(gnm_conf_*et_core_gui_editing_function_argument_tooltips*): new
	* src/gnumeric-gconf.c
	(gnm_conf_*et_core_gui_editing_function_name_tooltips*): new

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

	* src/func.h (GNM_FUNC_RECALC_ONLOAD): not used

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

	* src/func.c (gnm_func_get_description): new
	* src/func.h (gnm_func_get_description): new
	* src/symbol.c (symbol_names_cb): new
	(symbol_names): rewrite to work in gtk 2.12 and to provide more info

2010-07-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk-actions.c (cb_help_function): use
	  dialog_function_select_help instead of dialog_function_select

2010-07-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk-edit.c (wbcg_edit_finish): check whether showed_dialog
	  is NULL before using it

2010-07-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* configure.in: checks for g_date_set_time_t and g_slice_alloc have
	  been superceded by the glib 2.12 requirement; check for
	  g_hash_table_get_keys
	* src/dependent.c: remove HAVE_G_SLICE_ALLOC throughout
	* src/func.c (gnm_func_lookup_prefix): new
	* src/func.h (gnm_func_lookup_prefix): new
	* src/rendered-value.c: remove HAVE_G_SLICE_ALLOC throughout
	* src/symbol.c (symbol_names): new
	* src/symbol.h (symbol_names): new
	* src/value.c: remove HAVE_G_SLICE_ALLOC throughout

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

	* src/wbc-gtk-edit.c (attrs_at_byte): Fix signedness problem.
	(cb_entry_cursor_pos): Ditto.

2010-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.h (cmd_selection_format_toggle_font_style): new
	* src/commands.c (cmd_selection_format_toggle_font_style): new
	(cmd_selection_format_toggle_font_style_cb): new
	(cmd_selection_format_toggle_font_style_filter): new
	* src/sheet.c (sheet_apply_style_cb): call sheet_flag_style_update_range
	* src/wbc-gtk-actions.c (toggle_font_attr): use
	  cmd_selection_format_toggle_font_style

2010-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/clipboard.c (clipboard_paste_region): allow single merge to single
	  merge pasting
	* src/commands.c (CmdPasteCopy): add field
	(cmd_paste_copy): allow single merge to single merge pasting

2010-07-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui.c (context_menu_handler): handle merging and
	  unmerging
	(scg_context_menu): add merge and unmerge menuitems.

2010-07-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/item-grid.c (draw_function_marker): new
	(item_grid_draw_region): call draw_function_marker when appropriate
	(item_grid_draw_merged_range): ditto
	* src/workbook-view.c (wb_view_set_attribute): handle new attribute
	(wb_view_set_property): ditto
	(workbook_view_class_init): ditto
	(workbook_view_new): ditto
	(wb_view_get_property): ditto
	* src/workbook-view.h (_WorkbookView): new field

2010-07-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* schemas/gnumeric-general.schemas.in
	(/schemas/apps/gnumeric/core/file/save/extension-check-disabled): new
	* src/gnumeric-gconf.h: include above key
	* src/gnumeric-gconf.c: ditto
	* src/gui-file.c (extension_check_disabled): new
	(gui_file_save_as): obey the extension-check-disabled preference

2010-07-13  Morten Welinder  <terra@gnome.org>

	* src/parse-util.h (gnm_expr_lex_all): new
	(GnmLexerItem): new type
	* src/parser.y (setup_state): new (code from gnm_expr_parse_str)
	(gnm_expr_lex_all): new
	(gnm_expr_parse_str): use setup_state

2010-07-13  Jean Brefort  <jean.brefort@normalesup.org>

	* src/cellspan.c (cell_calc_span): fixed crash introduced earlier. [#624274]

2010-07-13  Jean Brefort  <jean.brefort@normalesup.org>

	* src/graph.c (gnm_go_data_vector_load_len): fixed a regression. [#624263]

2010-07-13  Jean Brefort  <jean.brefort@normalesup.org>

	* src/cell-draw.c (cell_calc_layout): fixed alignment in cells with rtl
	text and rtl sheets. [see #623241]
	* src/cellspan.c (cell_calc_span): ditto.
	* src/item-edit.c (get_top_left): ditto.
	* src/item-grid.c (item_grid_draw_region): ditto.
	* src/rendered-value.c (gnm_rendered_value_new): ditto.

2010-07-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: add submenu to Insert menu
	* src/GNOME_Gnumeric-gtk.xml.in: add submenu to Insert menu
	* src/HILDON_Gnumeric-gtk.xml.in: add submenu to Insert menu
	* src/wbc-gtk-actions.c (cb_insert_sort_*cending): new actions
	(permanent_actions): add MenuInsertFormulaWrap, InsertSortDecreasing
	  and InsertSortIncreasing
	* src/wbc-gtk.c (wbcg_menu_state_update): handle the above new actions
	* src/workbook-cmd-format.c (workbook_cmd_wrap_sort): new
	(cb_get_cell_content): new
	* src/workbook-cmd-format.h (workbook_cmd_wrap_sort): new

2010-07-11  Jean Brefort  <jean.brefort@normalesup.org>

	* src/item-edit.c (item_edit_draw), (item_edit_button_pressed),
	(item_edit_motion), (item_edit_update_bounds): fix ItemEdit
	alignment for RTL text. [see #623241]

2010-07-10  Jean Brefort  <jean.brefort@normalesup.org>

	* src/graph.c (gnm_go_data_vector_load_len): don't crash with an
	empty GSList.

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

	* src/wbc-gtk.c (cb_graph_dim_editor_update): Use the right enum
	type for parse flags.

2010-07-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui.c (context_menu_handler): add autofit actions
	(scg_context_menu): add autofit items
	* src/wbc-gtk-actions.c: add some icons to actions

2010-07-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: add menu items to Format->Cells
	* src/GNOME_Gnumeric-gtk.xml.in: ditto
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* src/colrow.c (colrow_set_sizes): add arguments to restrict the
	  range of autofitting.
	* src/colrow.h (colrow_set_sizes): add arguments
	* src/commands.c (cmd_autofit_selection): new
	(cmd_resize_colrow): adjust call of colrow_set_sizes
	* src/commands.h (cmd_autofit_selection): new
	* src/stf-parse.c (stf_parse_sheet): adjust call of colrow_set_sizes
	* src/undo.c (gnm_undo_colrow_set_sizes_new): ditto
	(gnm_undo_colrow_set_sizes_undo): adjust call of colrow_set_sizes
	* src/undo.h (_GNMUndoColrowSetSizesClass): add from/to specifiers
	(gnm_undo_colrow_set_sizes_new): ditto
	* src/wbc-gtk-actions.c (cb_format_cells_auto_fit_height): new
	(cb_format_cells_auto_fit_width): new
	(FormatCellsFitHeight): new action
	(FormatCellsFitWidth): new action
	* src/workbook-cmd-format.c (workbook_cmd_autofit_selection): new
	* src/workbook-cmd-format.h (workbook_cmd_autofit_selection): new

2010-07-08  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk-actions.c (cb_format_as_currency): Use
	go_format_details_new and _free.

2010-07-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/GNOME_Gnumeric-gtk.xml.in: add merge and unmerge menu items
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* component/Gnumeric-embed.xml.in: ditto
	* src/wbc-gtk-actions.c (permanent_actions): add cellformat sub menu
	(actions): modify menu text

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

	* src/wbc-gtk-actions.c (cb_edit_clear_all): include CLEAR_COMMENTS
	  flag

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

	* src/GNOME_Gnumeric-gtk.xml.in: add and move hyperlink and
	  comment items
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* component/Gnumeric-embed.xml.in: ditto
	* src/sheet-view.c (sv_update): also check the comment and hyperlink
	  items
	* src/wbc-gtk-actions.c (cb_edit_delete_links): new
	(permanent_actions): new Modify submenu of the Edit menu
	(actions): add and move hyperlink and comment actions
	* src/wbc-gtk.c (wbcg_menu_state_update): handle hyperlink and comment
	  items
	* src/workbook-control.h: new MS_* flags

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

	* src/func.c (copy_hash_table_to_ptr_array): also exclude py_* functions

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

	* src/sheet-control-gui.c (context_menu_handler): enable column and row
	  width/hide/unhide on cell selections

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

	* src/sheet-control-gui.c (context_menu_handler): fix capitalization

2010-07-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui.c (context_menu_handler): make the items context
	  sensitive.

2010-07-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui.c (context_menu_handler): use the number of links
	  in the undo string.
	(scg_context_menu): show the correct hyperlink menu items.

2010-07-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gui-util.h (GnumericPopupMenuElement): add field
	* src/gui-util.c (gnumeric_create_popup_menu): handle new field
	* src/sheet-control-gui.c (context_menu_handler): handle removal
	  and cretion of comments
	(scg_context_menu): add new items for comment addition and removal

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

	* src/item-edit.c (get_top_left), (item_edit_draw),
	(item_edit_button_pressed), (item_edit_motion),
	(item_edit_realize), (item_edit_unrealize): fix strong/weak cursor
	display. [#623241]

2010-07-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_autofilter_add_remove): handle extension of
	  an existing autofilter.
	* src/sheet-filter.h (gnm_sheet_filter_can_be_extended): new
	* src/sheet-filter.c (gnm_sheet_filter_can_be_extended): new
	* src/sheet-view.h (sv_selection_extends_filter): new
	* src/sheet-view.c (sv_selection_extends_filter): new
	(sv_selection_intersects_filter_rows): add qualifier
	* src/wbc-gtk.c (wbcg_menu_state_update): check whether auto filter
	  can be extended

2010-07-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (CMD_AUTOFILTER_ADD_REMOVE): delete
	(cmd_autofilter_add_remove_*): delete
	(cmd_autofilter_add_remove): rewrite using cmd_generic (prep for
	  enhancement request #607086)

2010-07-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-filter.h (gnm_sheet_filter_intersect_rows): new
	* src/sheet-filter.c (gnm_sheet_filter_intersect_rows): new
	* src/sheet-view.h (sv_selection_intersects_filter_rows): new
	* src/sheet-view.c (sv_selection_intersects_filter_rows): new
	* src/wbc-gtk.c (wbcg_menu_state_update): check for prohibited
	  autofilter positions

2010-07-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui.c (scg_drag_receive_same_process): one need to
	  first duplicate the sheet before committing that change

2010-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_objects_move): simplify
	* src/sheet-control-gui.h (scg_objects_drag_commit): add arguments
	* src/sheet-control-gui.c (scg_objects_drag_commit): add arguments
	  to return GOUndo items and change all callers
	(scg_objects_drag_commit_get_undo_text): new (code from
	  scg_objects_drag_commit)
	(scg_drag_receive_same_process): combine the undos before committing

2010-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_objects_move): move most code into
	  sheet_object_move_undo and sheet_object_move_do
	* src/sheet-object.h (sheet_object_move_undo): new
	(sheet_object_move_do): new
	* src/sheet-object.c (sheet_object_move_undo): new
	(sheet_object_move_do): new

2010-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui.c (scg_objects_drag_commit): simplify slightly
	(scg_drag_receive_same_process): pass the correct argument to
	  scg_objects_drag_commit
	* src/sheet-object.c (sheet_object_set_sheet): don't complain if the object
	  is already set to this sheet.
	* src/commands.c (CMD_OBJECTS_MOVE): delete
	(cmd_objects_move_*): delete
	(cmd_objects_move): rewrite using GOUndo

2010-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui.c (scg_objects_drag_commit): don't be cheesy, ie.
	  use ngettext.

2010-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* schemas/gnumeric-dialogs.schemas.in: fix typo

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

	* src/func.c (check_argument_refs): New function.
	(gnm_func_sanity_check1): Check argument references.

2010-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnm-format.h: add define
	* src/cell-draw.c (cell_calc_layout): replicate the pango attributes
	  with the text

2010-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnm-format.c (format_value_common): use go_string_replace
	* src/func.c (gnm_func_convert_markup_to_pango): ditto

2010-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/cell-draw.c (cell_calc_layout): HALIGN_FILL overrides wrap_text

2010-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnm-format.c (format_value_common): in one-paragraph mode
	  replace newlines with visible glyphs.

2010-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/stf-export.c (try_auto_float): new
	(stf_export_cell): call try_auto_float

2010-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* schemas/gnumeric-dialogs.schemas.in: new preferences for
	  search and replace dialog
	* src/gnumeric-gconf.c: add the items generated from the above
	  changes
	* src/gnumeric-gconf.h: ditto

2010-06-28  Morten Welinder <terra@gnome.org>

	* configure.in: Post-release bump.

2010-06-28  Morten Welinder <terra@gnome.org>

	* Release 1.10.7

2010-06-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_area_set_text): handle markup
	* src/sheet.h (sheet_range_set_markup_undo): new
	* src/sheet.c (sheet_range_set_markup_undo): new
	(cb_set_markup): new
	(sheet_range_set_markup_cb): new
	* src/wbc-gtk-edit.c (wbcg_edit_finish): pass the amrkup also to
	  cmd_area_set_text

2010-06-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (CMD_AREA_SET_TEXT): deleted
	(cmd_area_set_text_*): deleted
	(cmd_area_set_text): rewritten using GO_UNDO
	* src/sheet.h (sheet_range_set_text_undo): new
	(sheet_range_set_expr_undo): new
	(sheet_apply_style_undo): new
	* src/sheet.c (sheet_range_set_text_undo): new
	(sheet_range_set_expr_undo): new
	(sheet_apply_style_undo): new
	(sheet_apply_style_cb): new
	(sheet_range_set_expr_cb): new
	(sheet_range_set_text_cb): new
	* src/wbc-gtk-edit.c (wbcg_edit_finish): provide initialization to
	  quieten gcc

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

	* src/commands.h (cmd_area_set_text): change arguments
	* src/commands.c (cmd_area_set_text): this will not be
	  called for array functions any longer
	(cmd_create_data_table): rewrite using cmd_generic
	* src/ranges.c (undo_cell_pos_name): correct comment
	* src/test-pango.c (cb_exercise_pango): adjust the cmd_area_set_text
	  call
	* src/wbc-gtk-edit.c (wbcg_edit_finish): ditto

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

	* src/cell.h (gnm_cell_set_array_formula_undo): new
	* src/cell.c (gnm_cell_set_array_formula_undo): new
	(gnm_cell_set_array_formula_cb): new
	* src/commands.h (cmd_cell_range_is_locked_effective): new
	(cmd_selection_is_locked_effective): new
	(cmd_area_set_array_expr): new
	* src/commands.c (cmd_cell_range_is_locked_effective): publish
	(cmd_selection_is_locked_effective): publish
	(cmd_area_set_array_expr): new
	* src/wbc-gtk-edit.c (wbcg_edit_finish): check whether the range
	  is locked; call cmd_area_set_array_expr when appropriate

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

	* src/wbc-gtk-edit.c (wbcg_edit_finish): don't hide a varaible by
	  using the same name.

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

	* src/gui-clipboard.c (table_content_received): Skip headers for
	MS HTML Format.
	(parse_ms_headers): New function.

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

	* src/Makefile.am (undo.[ch]): added
	* src/commands.h: formatting
	* src/commands.c (cmd_resize_colrow_*): deleted
	(cmd_resize_colrow): reimplement using GOUndo.
	* src/colrow.h (colrow_get_sizes): new
	(colrow_index_list_copy): new
	* src/colrow.c (colrow_restore_state_group): don't destroy the indexlist.
	  Adjust all callers
	(colrow_get_sizes): new
	(colrow_index_list_copy): new
	* src/undo.[ch]: new

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

	* src/commands.h (gnm_cmd_trunc_descriptor): new
	* src/commands.c (gnm_cmd_trunc_descriptor): publish and add optional
	  'truncated' argument. Change all callers.
	* src/ranges.c (max_range_name_width): deleted
	(undo_range_name): use gnm_cmd_trunc_descriptor
	(range_list_name_try): change arguments, use gnm_cmd_trunc_descriptor
	(undo_range_list_name): adjust to changes to range_list_name_try

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

	* src/wbc-gtk-edit.c (wbcg_edit_finish): don't free memory until we
	  are done with it.

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

	* src/gnm-pane.c (gnm_pane_key_mode_sheet): Untangle old
	fall-through mess and make BackSpace work as delete when we are
	not editing a cell.

	* src/func.c (gnm_func_convert_markup_to_pango): Remove reference
	to g_string_overwrite which wouldn't work right.

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

	* src/stf-parse.h: add field to parseoptions
	* src/stf-parse.c (stf_parse_options_new): handle new field
	(stf_parse_options_free): handle new field
	(stf_parse_sheet): autofit columns

2010-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/validation.h (validation_eval_range): new
	* src/validation.c (validation_eval_range): new
	(validation_eval_range_cb): new
	* src/wbc-gtk-edit.c (wbcg_edit_finish): use validation_eval_range

2010-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk-edit.c (wbcg_edit_finish): only call a cmd_...
	  when we have validated.

2010-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (make_undo_text): modify to use GString and
	  change all callers
	(cmd_resize_colrow): use make_undo_text
	(cmd_zoom): use make_undo_text

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

	* src/commands.h (cmd_so_rename): deleted
	* src/commands.c (cmd_so_rename*): deleted

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

	* src/gui-util.c (gnumeric_create_tooltip): windows should have names

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

	* src/gui-util.c (gnumeric_popup_menu): We have passed gtk+ 2.8 by
	now.
	* src/wbc-gtk.c (cb_sheet_label_drag_begin): Ditto.

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

	* src/func.h (gnm_func_convert_markup_to_pango): drop highlight arg
	* src/func.c (gnm_func_convert_markup_to_pango): ditto
	* src/gui-util.h (gnumeric_create_tooltip_rc_style): new
	(gnumeric_create_tooltip_widget): new
	* src/gui-util.c  (gnumeric_create_tooltip_rc_style): new
	(gnumeric_create_tooltip_widget): new
	(gnumeric_create_tooltip): split off teh above two

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

	* configure.in: Post-release bump.

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

	* Release 1.10.6

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

	* src/func.h (gnm_func_convert_markup_to_pango): new
	* src/func.c (gnm_func_convert_markup_to_pango): new

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

	* src/commands.c (cmd_paste_copy): check with user if more than
	  10000 copies are to be pasted.

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

	* src/gui-util.c (gnumeric_create_tooltip): Set type hint and
	gravity.

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

	* src/colrow.h (colrow_index_list_destroy): turn into a define
	(colrow_state_list_destroy) : ditto
	(colrow_vis_list_destroy): ditto
	(colrow_vis_list_length): new
	* src/colrow.c (colrow_index_list_destroy): delete
	(colrow_state_list_destroy) : ditto
	(colrow_vis_list_destroy): ditto
	(colrow_vis_list_length): new
	(cb_colrow_index_counter): new
	* src/commands.c (cmd_selection_colrow_hide): check whether this
	  would hide the whole sheet.

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

	* src/dependent.c (dependent_managed_init): Zero the right amount
	of data.

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

	* configure.in: check for gtk_widget_get_allocation
	* src/dead-kittens.h (gtk_widget_get_allocation): new

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

	* src/GNOME_Gnumeric-gtk.xml.in: add new menu items
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* component/Gnumeric-embed.xml.in: ditto
	* src/sheet-utils.c (gnm_sheet_guess_data_range): new
	* src/sheet-utils.h (gnm_sheet_guess_data_range): new
	* src/wbc-gtk-actions.c (cb_edit_goto_*): new
	(EditGoto*): new
	* src/wbc-gtk.c (cb_cs_go_*): new
	(wbc_gtk_cell_selector_popup): new
	(wbc_gtk_create_edit_area): connect the above (for gtk 2.16+)
	* src/workbook-control.h (wb_control_navigate_to_cell): new
	* src/workbook-control.c (wb_control_navigate_to_cell): new

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

	* src/func.h (tokenized_help_*): deleted
	(gnm_func_get_arg_description): new
	* src/func.c (tokenized_help_*): deleted
	(gnm_func_get_arg_description): new
	(gnm_func_sanity_check1): check for empty arg descriptions

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

	* src/collect.c (collect_float_pairs): New function, extracted
	from float_range_function2d.
	(float_range_function2d): simplify and plug leak.

	* src/gnm-datetime.c (datetime_value_to_seconds): Improve sanity
	check.

	* src/mathfunc.c (pbeta): Simplify.

2010-06-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/mathfunc.c (pbinom2): pbinom's right tail calculation
	  does not include the lower limit.

2010-06-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk-edit.c (wbcg_edit_finish): close the tooltips of
	  the entry

2010-06-14 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/func-builtin.c (help_if): fix argument description
	* src/func.c (gnm_func_sanity_check1): add checks

2010-06-14  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (pbinom2): New function extracted from
	gnumeric_binom_dist_range and improved.

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

	* src/func.c (check_help_expression): New function.

	* src/parser.y (yylex): Fix parsing of calls to LOG2 and LOG10 in
	sheets with more than ~8500 columns.

	* src/func.c (copy_hash_table_to_ptr_array): Don't test perl
	samples.
	(gnm_func_sanity_check1): Check for unwanted space after colon and
	for unwanted period at end.

	* src/wbc-gtk.c (cb_sheet_visibility_change): Set visibility of
	both label and page.  Fixes #621463.

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

	* src/expr.c (gnm_insert_unique_value_cmp): new
	(gnm_insert_unique_value): new
	(do_gnm_expr_get_ranges): use gnm_insert_unique_value rather than
	  gnm_insert_unique which only compares pointers

2010-06-11  Jean Brefort  <jean.brefort@normalesup.org>

	* src/item-edit.c (item_edit_draw):	Fixed multi-line item edit
	selection. [#621235]

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

	* src/gnm-pane-impl.h: make cursor.expr_range into a GSList
	* src/gnm-pane.h (gnm_pane_expr_cursor_bound_set): add main_colour arg
	* src/gnm-pane.c (gnm_pane_expr_cursor_bound_set): add main_colour
	  arg and don't delete existing cursors

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

	* src/func-builtin.c (help_if): remove inconsistent period

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

	* src/sheet.c (gnm_sheet_set_property): Mark sheet dirty in more
	circumstances.  Fixes #621191.

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

	* src/wbc-gtk.c (wbcg_notebook_tabs_visibility): Use
	gtk_widget_set_visible and simplify.

	* src/dead-kittens.h: New file for kittens killed by gtk.

2010-06-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: add Function Help
	* src/GNOME_Gnumeric-gtk.xml.in: ditto
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* src/wbc-gtk-actions.c (cb_help_function): new
	(permanent_actions): attach cb_help_function

2010-06-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
	for Konstantin Tokarev

	* src/parse-util.c (gnm_expr_char_start_p): allow blanks after
	the initial operator symbol or = in an expression.

2010-06-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/expr-name.h (expr_name_validate): drop Sheet argument
	* src/commands.c (cmd_define_name): change the caller here
	* src/expr-name.c (expr_name_validate): and the definition
	  here; use the following two functions
	(expr_name_validate_r1c1): new
	(expr_name_validate_a1): new

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

	* src/expr-name.h (expr_name_in_use): new
	* src/expr-name.c (expr_name_in_use): new
	(do_expr_name_loop_check): add argument and change all callers
	(cb_expr_name_check_for_name): new
	(cb_expr_name_check_for_name_eq): new
	(expr_name_check_for_name): new

2010-06-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_define_name): be clearer with the error
	  messages.
	(cmd_rescope_name_redo): watch out for returned error strings

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

	* src/gnm-pane.c (gnm_pane_display_obj_size_tip): Fix critical.

	* src/commands.c (cmd_generic): Rename from cmd_solver.
	(cmd_generic_with_size): New function.

2010-06-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* configure.in: check for gtk_entry_set_icon_from_stock

2010-06-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.h (cmd_rescope_name): new
	* src/commands.c (cmd_rescope_name): new
	(cmd_rescope_name_*): new

2010-06-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* configure.in: check for gtk_entry_get_text_length

2010-06-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk-actions.c: make PasteNames action permanent
	* src/wbc-gtk.c (wbcg_menu_state_update): update PasteNames

2010-06-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: add Paste Names
	* src/GNOME_Gnumeric-gtk.xml.in: ditto
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* src/wbc-gtk-actions.c: add ...

2010-06-02  Jean Brefort  <jean.brefort@normalesup.org>

	* src/item-bar.c (item_bar_button_released): do not ungrab a not grabbed
	item. [#620369]

2010-05-31 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: added Wilcoxon Signed-Rank items
      and rearrange into separate statistics menu.
	* src/GNOME_Gnumeric-gtk.xml.in: ditto
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* src/wbc-gtk-actions.c: ditto
    (cb_tools_sign_test_two_medians): use new tool
    (cb_tools_wilcoxon_signed_rank_two_medians): new
    (cb_tools_wilcoxon_signed_rank_two_medians): new

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

	* src/hlink.c (gnm_hlink_external_activate): Use go_gtk_url_show.

	* src/wbc-gtk-actions.c (cb_help_web, cb_help_irc, cb_help_bug):
	use go_gtk_url_show so we get the right screen.

2010-05-30  Morten Welinder <terra@gnome.org>

	* configure.in: Post-release bump.

2010-05-30  Morten Welinder <terra@gnome.org>

	* Release 1.10.5

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

	* tools/win32/moduleset.in: Link with -no-undefined.  Fixes
	#619942.

2010-05-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: added Wilcoxon menu item.
	* src/GNOME_Gnumeric-gtk.xml.in: ditto
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* src/wbc-gtk-actions.c (MenuToolTwoMedians): new submenu
	(cb_tools_wilcoxon_mann_whitney): new
	(ToolsTwoMedianWilcoxonMannWhitney): new

2010-05-24  Morten Welinder  <terra@gnome.org>

	* src/ssconvert.c (ssconvert_options): Hide the --solve flag as
	per comments.

	* src/gnm-plugin.c (plugin_service_solver_read_xml): Handle "qp"
	model type too.

2010-05-21  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-write.c (xml_write_solver): Write model type.

	* src/xml-sax-read.c (xml_sax_solver_start): Load model type.

	* src/stf-parse.c (stf_parse_region): Avoid reading beyond the end
	of the format array.  Fixes #619283.

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

	* configure.in: Post-release bump.

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

	* Release 1.10.4

2010-05-19  Morten Welinder  <terra@gnome.org>

	* src/number-match.c (handle_int): Impose a length restriction
	too.  All callers changed.
	(format_match_datetime): Accepts "Jan 2010" and "January 2010"
	too.
	(valid_dmy): New function.
	(format_match_datetime): Use valid_dmy over g_date_valid_dmy.

2010-05-18  Morten Welinder  <terra@gnome.org>

	* src/collect.c (create_caches): Hook recalc-clear-caches.

	* src/application.c (gnm_app_recalc_clear_caches): New function.
	(gnm_app_recalc_finish): Call gnm_app_recalc_clear_caches too.

2010-05-17  Morten Welinder  <terra@gnome.org>

	* src/func-builtin.c (gnumeric_table): Fix interaction with
	collect.c in a hacky way.

2010-05-17  Jean Brefort  <jean.brefort@normalesup.org>

	* src/item-cursor.c (item_cursor_in_drag_handle),
	(item_cursor_selection_motion): fixed autofill issues. [#618687]

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

	* configure.in: Post-release bump.

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

	* Release 1.10.3

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

	* src/expr.c (value_intersection): Handle non-cell dependency
	better.  Fixes #142412.

2010-05-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/colrow.h (_ColRowInfo): add in_advanced_filter field
	* src/wbc-gtk-actions.c (actions): make it clear that ShowAll
	  relates to Advanced Filters
	* src/wbc-gtk.c (wbcg_menu_state_update): keep has_filtered_rows
	  for advanced filters separate from the auto filters.

2010-05-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk-actions.c: change argument to filter_show_all
	* src/wbc-gtk.c (wbcg_menu_state_update): use MS_FILTER_STATE_CHANGED
	  rather than MS_CONSOLIDATE
	* src/workbook-control.h (MS_FILTER_STATE_CHANGED): new

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

	* src/style.c (gnm_pango_context_get): Cache the context.  (Some
	pango versions are indeterministic in font selection.)
	(gnm_font_shutdown): Release the context.

	* src/sheet.h (struct _Sheet): Drop context field.

	* src/rendered-value.c (gnm_rendered_value_new): Add a
	PangoContext* argument.  All callers changed.

	* src/item-edit.c (item_edit_realize): Use proper pango context.

	* src/sheet.c (cb_sheet_cell_copy): Unwrap the array expression.

	* src/expr.c (gnm_expr_is_array): New function.
	(gnm_expr_new_array_corner): Complain if subexpression in a array.
	(gnm_expr_top_is_array): Use gnm_expr_is_array.

	* src/sheet.c (sheet_dup_cells): Queue recalc of the new sheet.
	(cb_sheet_cell_copy): Don't copy computed values.

2010-05-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/mathfunc.c (gnm_matrix_eigen_max_index): stay in the matrix
	(gnm_matrix_eigen_*): use unsigned int

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

	* src/sheet.c (cb_sheet_cell_copy): Use gnm_cell_assign_value, not
	gnm_cell_set_value, for non-corner array cells.  Copy the value for same.
	Don't leak cells.  Fixes most of #617469.

2010-05-02  Morten Welinder  <terra@gnome.org>

	* src/complex.c (complex_pow): Fix problem on negative real axis.

	* src/complex.h (complex_invalid, complex_invalid_p): New
	functions.

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

	* src/complex.c (complex_from_string): Reject invalid strings like
	"42.0.1i".

2010-04-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/cmd-edit.c (cmd_shift_rows): protect against data loss
	(cmd_shift_cols): ditto

2010-04-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_insert_cols): protect against data loss
	(cmd_insert_rows): ditto

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

	* src/value.c (find_rows_that_match): Fix checking of multiple
	criteria.  Fixes rest of #164169.

	* src/sheet-filter.c (filter_expr_eval): When we're looking for a
	number, match also strings.  Match strings case insensitively.

2010-04-27  Jean Brefort  <jean.brefort@normalesup.org>

	* configure.in: needs goffice-0.8.3.
	* src/wbc-gtk.c (wbc_gtk_init_borders), (wbc_gtk_init_color_fore),
	(wbc_gtk_init_color_back): use the combo-activate signal.

2010-04-27  Morten Welinder  <terra@gnome.org>

	* src/workbook-view.c (wb_view_set_property,
	wb_view_get_property): Keep auto expression attributes too.
	(wb_view_auto_expr_recalc): Set colour when needed.  Fixes
	#575104.

	* src/wbc-gtk.c (wbcg_auto_expr_text_changed): Set attributes too.
	(wbcg_view_changed): Watch attribute changes too.

	* src/gutils.c (gnm_pango_attr_list_equal): Import from commands.c
	and make this public.

2010-04-23  Jean Brefort  <jean.brefort@normalesup.org>

	* src/graph.c (gnm_go_data_unserialize),
	(gnm_go_data_vector_load_len), (gnm_go_data_vector_load_values): allow
	multiple and block selection for graph vector data.
	* src/wbc-gtk.c (cb_graph_dim_editor_update): ditto.

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

	* src/wbc-gtk.c (wbcg_sheet_add): Set label's initial visibility.
	Fixes #616549.

2010-04-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* gnumeric.doap: add e-mail address
	* src/print.c (print_page): graphs on graph sheets always take
	  the whole space, no need to center

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

	* src/xml-sax-read.c (xml_sax_cell_content): Handle empty strings.
	Fixes #616139.

	* src/cell.c (gnm_cell_get_entered_text): Make sure the empty
	string gets quoted.  Fixes part of #616139.

2010-04-21  Jean Brefort  <jean.brefort@normalesup.org>

	* src/commands.c (update_sheet_graph_cb), (cmd_print_setup_undo),
	(cmd_print_setup_redo): implement graph only sheets (at least for the
	visible part). [#158170]
	* src/gnumeric.h: ditto.
	* src/graph.h: ditto.
	* src/print.c (print_page): ditto.
	* src/sheet-control-gui.c (scg_resize), (scg_scrollbar_config),
	(scg_set_top_left), (scg_make_cell_visible), (scg_set_panes),
	(set_resize_pane_pos), (post_create_cb), (sheet_control_gui_new),
	(scg_finalize), (scg_unant), (scg_ant), (scg_adjust_preferences),
	(scg_object_create_view): ditto.
	* src/sheet-object-graph.c (cb_graph_size_changed),
	(cb_post_new_view), (gnm_sog_new_view), (gnm_sog_bounds_changed),
	(cb_sheet_target_changed), (sheet_object_graph_guru),
	(sheet_object_graph_ensure_size): ditto.
	* src/sheet-object-graph.h: ditto.
	* src/sheet-object.c (sheet_object_populate_menu_real),
	(sheet_object_draw_cairo_sized), (sheet_object_view_enter_notify),
	(cb_so_menu_activate), (cb_ptr_array_free), (build_so_menu),
	(sheet_object_view_button_pressed): ditto.
	* src/sheet-object.h: ditto.
	* src/sheet.c (sheet_new_with_type): ditto.
	* src/sheet.h: ditto.
	* src/wbc-gtk-actions.c (cb_add_graph): ditto.
	* src/wbc-gtk.c (wbcg_update_action_sensitivity),
	(wbcg_set_direction), (cb_scroll_wheel), (wbcg_get_n_scg): ditto.
	* src/workbook.c (workbook_sheet_add_with_type): ditto.
	* src/workbook.h: ditto.
	* src/xml-sax-read.c (xml_sax_wb_sheetsize),
	(xml_sax_wb_sheetname): ditto.
	* src/xml-sax-write.c (xml_write_sheet_names): ditto.

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

	* configure.in: Post-release bump.

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

	* Release 1.10.2

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

	* src/func.c (function_call_with_exprs): When we compute an error
	value for an 'A' or 'r' argument, return that error.  Fixes
	#615772.

2010-04-14  Jean Brefort  <jean.brefort@normalesup.org>

	* src/pattern.c (gnumeric_background_set_gtk): print pattern
	backgrounds. [#615365]

2010-04-09  Jean Brefort  <jean.brefort@normalesup.org>

	* component/Gnumeric-embed.xml.in: fixed templates menu action id.

2010-04-08  Morten Welinder  <terra@gnome.org>

	* src/Makefile.am (gnumeric_LDFLAGS, ssconvert_LDFLAGS): Set stack
	size to 64M.  Fixes #571346.

2010-03-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnumeric-gconf.c (set_string_list): since go_conf_set_str_list
	  may trigger cb_watch_string_list that uses string_list_pool, we need
	  to fix the hash table first.

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

	* src/wbc-gtk.c (cb_paned_size_allocate): Improve handling of
	too-narrow windows.  Show more tabs for wide windows.
	(cb_status_size_allocate): New function to trigger repartition
	after window resize.

	* src/wbc-gtk-actions.c (permanent_actions): Move FileNew,
	FileOpen, and a few more actions here.

2010-03-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/item-bar.c (item_bar_calc_size): use pango_itemize to create
	  PangoItem and PangoAnalysis
	(item_bar_init): initialize pango.item to NULL

2010-03-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk-actions.c (wbc_gtk_init_actions): move disabling
	  of solver menu item from here to
	* src/wbc-gtk.c (wbc_gtk_init): here

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

	* src/commands.c (cmd_autofilter_add_remove): Remove extra
	gnm_filter_remove call.  Fixes #611073.

	* src/print-info.c (page_setup_set_paper): Avoid some calls to
	g_log even if we block the warnings it would print.  This helps
	debugging.

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

	* src/sheet-object-cell-comment.c (comment_view_button_released,
	comment_view_enter_notify): Use gnm_canvas_get_screen_position.

	* src/gui-util.c (gnm_canvas_get_screen_position): New function
	extracted from comment_view_get_xy.

	* src/gnm-pane.c (gnm_pane_display_obj_size_tip): Add
	control-point as argument.  Use that for tooltip positioning.

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

	* configure.in: Post-release bump.

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

	* Release 1.10.1

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

	* src/sheet-control-gui.c (scg_comment_select): Fix critical.
	(scg_comment_display, scg_comment_select): Take window position
	too.  All callers changed.  Fixes part of #573028.

2010-03-06  Jean Brefort  <jean.brefort@normalesup.org>

	* src/item-cursor.c (item_cursor_draw): fix cursor appearance when the
	line or column is on the border of a hidden area. [#611076]

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

	* src/ssindex.c (ssindex_validation): Handle NULLs better.  Fixes
	#611842.

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

	* src/graph.c (render_val): For cells, get the right format unless
	overridden.  Fixes #611362.

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

	* src/commands.c (cmd_solver): Set cmd.sheet.  Fixes #611406.

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

	* src/dependent.c (gnm_cell_eval_content): Fix rendering problem
	with iterated calculation.

2010-02-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/item-edit.c (item_edit_update_bounds): remove duplicated code
	* src/sheet-control-gui.c (scg_reload_item_edits): new
	* src/sheet-control-gui.h (scg_reload_item_edits): new
	* src/wbc-gtk-edit.c (workbook_edit_complete_notify): also reload
	  item edits

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

	* configure.in: turn off -Wstrict-prototypes for stable builds.

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

	* plugins/excelplugins/excelplugins.c
	(scan_for_XLLs_and_register_functions): don't call a NULL function.
	[#610012]

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

	* configure.in: Post-release bump.

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

	* Release 1.10.0

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

	* configure.in: Bump version in preparation for release.
	(libspreadsheet_reqs): Require 0.8

2010-01-26  Jean Brefort  <jean.brefort@normalesup.org>

	* src/item-edit.c (item_edit_realize): ensure that markup is displayed.

2010-01-25  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (cb_bnotebook_button_press): New function to work
	around bug #607794.

2010-01-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/func.c (function_dump_defs): also dump Excel and
	  ODF compatibility and keep function description
	  separate from argument descriptions. Simplify the code
	  by first collecting the information in separate g_strings

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

	* configure.in: Post-release bump.

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

	* Release 1.9.18

2010-01-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print.c (load_repeat_range): range_parse does not
	  handle full rows or columns.
	(compute_sheet_pages): don't use the same range for two
	  different purposes.

2010-01-12  Jody Goldberg <jody@gnome.org>

	* src/test-pango.c (cb_kill_wbcg) : new.
	(cb_exercise_pango) : setup shutdown mechanism.

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

	* schemas/gnumeric-dialogs.schemas.in: Fix default for terminator.

2010-01-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* schemas/gnumeric-dialogs.schemas.in: add items
	* src/gnumeric-gconf.h (gnm_conf_get_stf_export_separator_node): new
	(gnm_conf_get_stf_export_separator): new
	(gnm_conf_set_stf_export_separator): new
	(gnm_conf_get_stf_export_stringindicator_node): new
	(gnm_conf_get_stf_export_stringindicator): new
	(gnm_conf_set_stf_export_stringindicator): new
	(gnm_conf_get_stf_export_terminator_node): new
	(gnm_conf_get_stf_export_terminator): new
	(gnm_conf_set_stf_export_terminator): new
	* src/gnumeric-gconf.c (gnm_conf_get_stf_export_separator_node): new
	(gnm_conf_get_stf_export_separator): new
	(gnm_conf_set_stf_export_separator): new
	(gnm_conf_get_stf_export_stringindicator_node): new
	(gnm_conf_get_stf_export_stringindicator): new
	(gnm_conf_set_stf_export_stringindicator): new
	(gnm_conf_get_stf_export_terminator_node): new
	(gnm_conf_get_stf_export_terminator): new
	(gnm_conf_set_stf_export_terminator): new
	* src/stf-export.c (gnm_stf_get_stfe): use the gconf info

2010-01-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/stf-export.c (gnm_stf_get_stfe): publish
	* src/stf-export.h (gnm_stf_get_stfe): publish
	* src/stf-parse.c (stf_read_remember_settings): new
	(stf_parse_sheet): call stf_read_remember_settings

2010-01-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/func.c (function_dump_defs): make sure the argument
	  descriptions precede a SEEALSO. Documentation creation
	  depends on this.

2010-01-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/func.c (function_dump_defs): don't add gratuitous periods and
	  make sure that we always include the argument descriptions

2010-01-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/func.c (function_dump_defs): also dump the short description

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

	* src/item-bar.c (item_bar_unrealize): Chain up.

2010-01-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/rangefunc.h (gnm_range_increasing): use the correctly typed
	  function

2010-01-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gui-util.c (gnm_canvas_get_position): call
	  gdk_window_get_internal_paint_info only for gtk < 2.18

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

	* src/sheet-object-graph.c (sheet_object_graph_guru): change help link

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

	* configure.in: remove teh check for gtk_recent_manager_get_default.
	  It is implied by the gtk 2.12 requirement
	* src/application.c: remove the checks for gtk_recent_manager_get_default
	  throughout
	* src/wbc-gtk-actions.c (actions): use GTK_STOCK_PAGE_SETUP if we
	  have it.

2009-12-31 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk.c (cb_auto_expr_insert_formula): new
	(cb_auto_expr_insert_formula_below): use cb_auto_expr_insert_formula
	(cb_auto_expr_insert_formula_to_side): new
	(cb_select_auto_expr): add menu item

2009-12-31 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk.c (cb_auto_expr_insert_formula_below): new
	(cb_select_auto_expr): add separator and menu item

2009-12-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object-widget.c (sheet_widget_draw_cairo): only use
	  this for gtk 2.18 and later. The required gtk_widget_get_snapshot
	  became available with 2.14, but since we cannot test it with 2.14
	  or 2.16 we are palying it safe.

2009-12-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_paste_copy_select_obj): new
	(cmd_paste_copy_impl): select pasted objects if appropriate
	(cmd_paste_copy): remember whether we have just objects

2009-12-29  Jody Goldberg <jody@gnome.org>

	* src/gnm-pane.c (gnm_pane_key_mode_sheet) : Support autoiterating
	  through a region with <Tab>.

2009-12-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object-widget.c (sheet_widget_draw_cairo): only use
	  this for gtk 2.14 and later (since we need  gtk_widget_get_snapshot)

2009-12-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: add CopyDown and CopyRight
	  to menu
	* src/GNOME_Gnumeric-gtk.xml.in: ditto
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* src/wbc-gtk-actions.c (actions): add description for CopyDown
	  and CopyRight

2009-12-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk-actions.c (sort_by_rows): consider singleton
	  selections to be a request to sort the whole sheet [#141313]

2009-12-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui-priv.h (_SheetControlGUI): new fields
	* src/sheet-control-gui.c (scg_gtk_paned_set_position): new
	  replace all calls to gtk_paned_set_position by
	  scg_gtk_paned_set_position throughout
	(set_resize_pane_finish): unblock cb_check_resize
	(cb_resize_pane_motion): block cb_check_resize
	(cb_check_resize): new
	(sheet_control_gui_new): attach cb_check_resize and fix
	  signal name

2009-12-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/value.c (find_rows_that_match): make this behave like
	  find_cells_that_match from the database plugin.

2009-12-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk.c (cb_sheet_label_button_press): unselect sheet
	  objects if necessary and possible

2009-12-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object.c (sheet_object_populate_menu_real): change "Si_ze"
	  to "Size _& Position"

2009-12-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object.c (cb_so_size_position): make sure we only have one
	  guru active
	(sheet_object_get_editor): ditto

2009-12-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: add EditSelectObject menu item
	* src/GNOME_Gnumeric-gtk.xml.in: ditto
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* src/gnm-pane.c (gnm_pane_object_key_press): move some code from
	  here to scg_object_select_next
	(gnm_pane_key_mode_sheet): use ctrl-tab to select the first object
	* src/sheet-control-gui.c (scg_object_select_next): new
	* src/sheet-control-gui.h (scg_object_select_next): new
	* src/sheet-view.c (sv_update): update MS_SELECT_OBJECT menu
	* src/wbc-gtk-actions.c (cb_edit_select_object): new
	(EditSelectObject): new action
	* src/wbc-gtk.c (wbcg_menu_state_update): handle MS_SELECT_OBJECT
	* src/workbook-control.h (MS_SELECT_OBJECT): new

2009-12-27  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-pane.c (control_point_set_cursor): use the right cursor in RTL
	mode.

2009-12-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object.c (cb_so_size_position): use g_return_if_fail
	* src/commands.h (cmd_so_rename): new
	* src/commands.c (cmd_so_rename): new
	(cmd_so_rename_*): new

2009-12-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object.c (cb_so_size_position): new
	(so_actions): add menu item

2009-12-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object-widget.c (sheet_widget_ ## n1 ## _class_init):
	  install sheet_widget_draw_cairo
	(sheet_widget_draw_cairo): new

2009-12-24  Jean Brefort  <jean.brefort@normalesup.org>

	* src/rangefunc.h: add gnm_range_increasing (to fix a double/gnm_float
	issue).
	* src/selection.c (sv_selection_to_plot): force sharing of first series
	as labels for line plots and friends when requested. [#605330]

2009-12-23  Morten Welinder  <terra@gnome.org>

	* src/gnm-datetime.c (datetime_value_to_serial): Fix type problem.

2009-12-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: add principal components analysis
	* src/HILDON_Gnumeric-gtk.xml.in: add principal components analysis
	* src/GNOME_Gnumeric-gtk.xml.in: add principal components analysis
	* src/wbc-gtk-actions.c: add principal components analysis action
	* src/mathfunc.c (gnm_matrix_eigen): handle 1 by 1 matrix.

2009-12-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/mathfunc.h (gnm_matrix_eigen): new
	* src/mathfunc.c (gnm_matrix_eigen): new
	(gnm_matrix_eigen_max_index): new
	(gnm_matrix_eigen_update): new

2009-12-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-style.h (sheet_style_set_list): change arguments
	* src/sheet.c: change all calls to sheet_style_set_list
	* src/commands.c: ditto
	* src/sheet-style.c: ditto
	(sheet_style_set_list): change arguments and adjust code
	* src/clipboard.c (range_flip_h): new
	(range_flip_v): new
	(clipboard_paste_region): handle PASTE_FLIP_H and PASTE_FLIP
	for styles

2009-12-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/clipboard.h: add PASTE_FLIP_H and PASTE_FLIP_V
	* src/clipboard.c (cb_paste_cell): handle PASTE_FLIP_H and
	  PASTE_FLIP_V

2009-12-15  Morten Welinder <terra@gnome.org>

	* configure.in: Post-release bump.

2009-12-15  Morten Welinder <terra@gnome.org>

	* Release 1.9.17

2009-12-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
	for Gabriel Kerneis
	* src/ssconvert.c (convert): handle one sheet per file

2009-12-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: add 2 medians sign test
	* src/HILDON_Gnumeric-gtk.xml.in: add 2 medians sign test
	* src/GNOME_Gnumeric-gtk.xml.in: add 2 medians sign test
	* src/wbc-gtk-actions.c: add 2 medians sign test action

2009-12-14  Jean Brefort  <jean.brefort@normalesup.org>

	* src/sheet-object-cell-comment.c (comment_view_set_bounds): make the
	cell comment red triangle visible in RTL mode. [#604580]

2009-12-14  Jean Brefort  <jean.brefort@normalesup.org>

	* src/item-grid.c (item_grid_draw_region): fixed panes borders.

2009-12-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gutils.c: include required header file

2009-12-13  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-pane.c (gnm_pane_compute_visible_region): fixed pane origin
	when zoomed. [#604373]

2009-12-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: add sign test
	* src/HILDON_Gnumeric-gtk.xml.in: add sign test
	* src/GNOME_Gnumeric-gtk.xml.in: add sign test
	* src/wbc-gtk-actions.c: add sign test action

2009-12-11  Morten Welinder  <terra@gnome.org>

	* src/value.c (criteria_inspect_values): Fix bool issues.

2009-12-10  Morten Welinder  <terra@gnome.org>

	* src/value.c (parse_criteria): If the criteria is a string that
	parses as a number, use equality search.  Fixes #604214.

2009-12-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print.c (gnm_print_sheet): store print date

2009-12-09  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (graph_dim_cancel_idle): New function.
	(graph_dim_editor_free): Cancel idle handler.  Fixes #604223.

2009-12-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/workbook-view.c (wbv_save_to_output): update modification time
	  only when we in fact modified the file.

2009-12-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gutils.c (gnm_insert_meta_date): new
	* src/gutils.h (gnm_insert_meta_date): new
	* src/workbook-view.c (wbv_save_to_output): update modification time
	* src/workbook.c (workbook_new): update creation date

2009-12-06  Jean Brefort  <jean.brefort@normalesup.org>

	* src/item-bar.c (ib_draw_cell): clip when drawing text. [#603862]

2009-12-05  Jean Brefort  <jean.brefort@normalesup.org>

	* src/graph.c (gnm_go_data_matrix_get_value): do not exchange row and
	column.

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

	* src/value.c (parse_criteria): For matching, if we match the
	empty string, make sure we look in empty cells.  Fixes #603671.

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

	* src/ssconvert.c (run_solver): Optionally run solver.  (For
	testing only.)

	* src/workbook-control.c (wbc_cmd_context_init): New function.

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

	* src/commands.c (cmd_set_text_redo): On the initial pass, don't
	select.  Fixes #601107.

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

	* configure.in: Post-release bump.

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

	* Release 1.9.16

2009-11-28  Jean Brefort  <jean.brefort@normalesup.org>

	* src/item-edit.c (item_edit_draw): fix selection bounds in case of
	multibytes characters,
	(item_edit_button_pressed), (item_edit_motion),
	(item_edit_button_released), (item_edit_init),
	(item_edit_class_init): implement dragging in ItemEdit. [#337521]

2009-11-28  Jean Brefort  <jean.brefort@normalesup.org>

	* src/item-edit.c (item_edit_draw), (item_edit_button_pressed),
	(item_edit_realize), (item_edit_unrealize): invert selected text, and allow
	mouse selection past the last character. [#122176 and #388342]

2009-11-27  Morten Welinder  <terra@gnome.org>

	* src/workbook.c (workbook_finalize): Plug leak.

	* src/print.c (gnm_print_sheet): Plug leak.

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

	* src/wbc-gtk.c (cb_graph_dim_editor_update), (cb_update_idle),
	(cb_graph_dim_entry_focus_out_event), (cb_graph_dim_entry_changed),
	(wbcg_data_allocator_editor): avoid piles of error message boxes. [#152517]

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

	* src/commands.c (cmd_scenario_add_redo, cmd_scenario_add_undo):
	fix life cycle.

2009-11-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: add "Normality Test..."  menu item
	* src/GNOME_Gnumeric-gtk.xml.in: ditto
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* src/wbc-gtk-actions.c (cb_tools_normality_tests): new
	(ToolsNormalityTests) connect to cb_tools_normality_tests

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

	* configure.in (gnomedb_msg): Disable gda if we don't have
	required header.

2009-11-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* autogen.sh: allow dirs on PATH to have spaces withou causing warning

2009-11-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk.c (wbcg_update_title): be consistent with most other
	  Gnome programs.

2009-11-14  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (pd_lower_cf): Fix convergence test.  Test case is
	R.PGAMMA(X,1e-20,1,FALSE) with visible discontinuity at X=1.
	Reported by the R team.

2009-11-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* configure.in: check for gtk_entry_get_buffer (We need to use it to
	  work around a gtk bug that only occurs when this is in fact
	  available.)

2009-11-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet.h (gnm_sheet_get_sort_setups): new
	(gnm_sheet_add_sort_setup): new
	(gnm_sheet_find_sort_setup): new
	* src/sheet.c (gnm_sheet_add_sort_setup): new
	(gnm_sheet_get_sort_setups): new
	(gnm_sheet_find_sort_setup): new
	(gnm_sheet_init): initialize new field sort_setups
	(gnm_sheet_finalize): and free them
	* src/sort.c (gnm_sort_data_copy): new
	* src/sort.h (gnm_sort_data_copy): new

2009-11-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/func-builtin.c: add some translator comments

2009-11-12  Morten Welinder  <terra@gnome.org>

	* src/gnm-plugin.c (cb_load_and_create): Keep track of plugin usage.

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

	* component/Gnumeric-embed.xml.in: move FormatWorkbook to View menu
	* src/GNOME_Gnumeric-gtk.xml.in: ditto
	* src/HILDON_Gnumeric-gtk.xml.in: ditto and rename FilePreferences
	  action to EditPreferences
	* src/wbc-gtk-actions.c: adjust names and description of FileMetaData
	and FormatWorkbook actions

2009-11-09  Morten Welinder  <terra@gnome.org>

	* src/workbook-view.c (wb_view_new_from_input): Add extra uri
	argument.  All callers changes.  Fixes #601274.

2009-11-08  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-write.c (xml_write_solver): Write target cell as
	cellref so we don't drop the sheet.

2009-11-07  Morten Welinder  <terra@gnome.org>

	* src/numbers.h: Resurrect long double support.

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

	* src/value.c (value_get_as_gstring): Handle partial arrays.

2009-11-04  Jean Brefort  <jean.brefort@normalesup.org>

	* src/item-cursor.c (item_cursor_realize, item_cursor_unrealize,
	(item_cursor_draw,  item_cursor_set_property, item_cursor_init): back
	to rendering using gdk. [#600656]
	* src/item-edit.c (item_edit_draw): do not change the background when
	editing and make the cursor visible on dark backgrounds.

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

	* src/expr.c (gnm_expr_top_get_cellref): Constify.

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

	* configure.in: Post-release bump.

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

	* Release 1.9.15

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

	* src/solver.h (struct _SolverParameters): Keep target and input
	as deps so they get maintained.

	* src/expr.c (gnm_expr_top_get_cellref): New function.

2009-10-31  Morten Welinder  <terra@gnome.org>

	* src/dependent.c (dependent_managed_init,
	dependent_managed_set_expr): New functions.

	* src/value.c (value_new_cellrange_parsepos_str): Use the right
	convensions.  Add flags argument for finer control.  All callers
	changed.

2009-10-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk-actions.c (cb_format_preferences): delete
	(cb_tools_autocorrect): call dialog_preferences
	(actions): delete FormatGnumeric

2009-10-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet.c (gnm_sheet_class_init): correct English grammar

2009-10-29  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-pane-impl.h: fixed graph object size issues. [#599887]
	* src/gnm-pane.c (gnm_pane_object_key_press), (gnm_pane_focus_out),
	(gnm_pane_display_obj_size_tip), (gnm_pane_object_move),
	(control_point_enter_notify), (control_point_leave_notify): ditto.

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

	* src/solver.h (SolverConstraint): Remove redundant str member.
	All users changed to gnm_solver_constraint_as_str calls.

2009-10-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.h (cmd_autofilter_add_remove): new
	* src/commands.c (cmd_autofilter_add_remove): new
	(cmd_autofilter_add_remove_impl): new
	(cmd_autofilter_add_remove_undo): new
	(cmd_autofilter_add_remove_redo): new
	(cmd_autofilter_add_remove_finalize): new
	fixes # 478152
	* src/sheet-filter.h (gnm_filter_attach): publish
	* src/sheet-filter.c (gnm_filter_attach): publish
	  create field selectors here rather than in
	(gnm_filter_new)
	(gnm_filter_remove): delete field selectors here rather than in
	(gnm_filter_unref)
	* src/wbc-gtk-actions.c (cb_auto_filter): just call
	  cmd_autofilter_add_remove

2009-10-27  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (wbcg_error_error): Don't xml-escape the text.
	Fixes #599816.

	* src/gutils.c (gnm_string_add_number): New function.

2009-10-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/number-match.c (format_match_decimal_number): split into
	  format_match_decimal_number and format_match_decimal_number_with_locale
	* src/number-match.h (format_match_decimal_number_with_locale): new

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

	* src/number-match.c (handle_year): Handle pre-1900 dates.

2009-10-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* configure.in: add fn-christian-date plugin
	* plugins/Makefile.am: ditto

2009-10-20  Morten Welinder  <terra@gnome.org>

	* src/sheet-control-gui.c (scg_context_menu): Disable slicer stuff
	for now.

2009-10-18  Morten Welinder  <terra@gnome.org>

	* src/gnm-pane.c (gnm_pane_key_mode_sheet): Ignore event->state
	bits related to caps lock, etc.  Fixes #597295.

2009-10-16  Morten Welinder  <terra@gnome.org>

	* src/gui-clipboard.c: Support Biff8 via Citrix which yields a
	different target name.
	(table_cellregion_read): Use original area (from Excel) for paste.
	Fixes #381732, #388531.

	* src/gnm-so-line.c (gnm_so_line_prep_sax_parser): Read new
	format.
	(gnm_so_line_write_xml_sax): Write both arrow ends.

2009-10-14  Morten Welinder  <terra@gnome.org>

	* src/gnm-so-line.c: Move GOArrow to goffice.
	(gnm_so_line_set_property): Eliminate is-arrow property.
	(gnm_so_line_draw_cairo): Draw both arrows.

	* configure.in (libspreadsheet_reqs): Require goffice 0.7.15 for
	GOArrow.

2009-10-13  Morten Welinder  <terra@gnome.org>

	* src/libgnumeric.c (gnm_shutdown): Call gnm_xml_sax_read_shutdown
	and gnm_xml_sax_write_shutdown.

	* src/xml-sax-read.c (gnm_xml_sax_read_init): Plug leak.
	(gnm_xml_sax_read_shutdown): New function.

	* src/xml-sax-write.c (gnm_xml_sax_write_init): Plug leak.
	(gnm_xml_sax_write_shutdown): New function.

	* src/sheet-object-widget.c (sheet_widget_adjustment_get_horizontal):
	New function.
	(sheet_widget_list_base_get_content_link): Rename from
	sheet_widget_list_base_get_content_dep.  Return ref'd GnmExprTop.
	All callers changed.
	(sheet_widget_list_base_get_result_link): Rename from
	sheet_widget_list_base_get_result_dep.  Return ref'd GnmExprTop.
	All callers changed.
	(sheet_widget_list_base_get_adjustment): New function.

2009-10-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/mathfunc.c (random_skew_normal): simplify
	(random_skew_tdist): simplify

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

	* src/sheet.c (gnm_sheet_resize_main): Reduce ->cols.max_used and
	->rows.max_used as appropriate.
	(gnm_sheet_resize): Check for merges.  Add new perr argument.  All
	callers changed.

2009-10-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/mathfunc.c (random_skew_normal): new
	(random_skew_tdist): new
	* src/mathfunc.h (random_skew_normal): new
	(random_skew_tdist): new

2009-10-10  Jody Goldberg <jody@gnome.org>

	* src/main-application.c (gnumeric_arg_parse) : honour
	  HAVE_G_OPTION_CONTEXT_SET_DELOCALIZE for people trying to build on
	  win32 with stock gtk+.

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

	* configure.in: Post-release bump.

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

	* Release 1.9.14

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

	* src/sheet-object-widget.c (sheet_widget_checkbox_get_property,
	sheet_widget_radio_button_get_property): Add "active" property.

	* src/sheet-object-widget.h: Define the usual type macros.

2009-10-07  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-so-filled.c (gnm_so_filled_set_property),
	(gnm_so_filled_get_property), (gnm_so_filled_class_init): allow
	image filling.
	* src/gnm-so-polygon.c (gnm_so_polygon_get_property),
	(gnm_so_polygon_class_init): ditto.

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

	* src/gnm-so-filled.c (gnm_so_line_set_property,
	gnm_so_filled_set_property, gnm_so_polygon_set_property): Copy
	style since we change it.

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

	* src/gnm-so-line.c (gnm_so_line_class_init): Make is-arrow
	readable.

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

	* src/gnm-so-filled.c (gnm_so_filled_init): Make is-oval readable.

2009-10-04  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-pane.c (gnm_pane_new): set the document for the canvas.

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

	* src/sheet-object.c (sheet_object_get_property,
	sheet_object_set_property, sheet_object_set_name): New functions.
	(sheet_object_finalize): Clear name.
	(sheet_object_class_init): Install new name property.

	* src/sheet-object-impl.h (struct _SheetObject): Add name element.

	* src/xml-sax-write.c (xml_write_objects): Save object name.

	* src/xml-sax-read.c (xml_sax_read_obj): Read object name.

2009-09-29  Morten Welinder  <terra@gnome.org>

	* po/LINGUAS: Back out the addition of "id".

2009-09-28  Morten Welinder  <terra@gnome.org>

	* src/position.c (parse_pos_init_dep): Don't crash when dep's
	sheet is NULL.  Whether callers expect such a GnmParsePos is a
	different matter.

	* src/sheet-object-widget.c (sax_write_dep): Use
	parse_pos_init_dep, not parse_pos_init_sheet.  Fixes #596509.

2009-09-27  Morten Welinder  <terra@gnome.org>

	* src/sheet-object-widget.c: Simplify radio button stuff.
	(sheet_widget_radio_button_init_full): Add "active" argument too.
	(SheetWidgetRadioButton): Store value as a GnmValue.

2009-09-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk-actions.c (cb_view_freeze_panes): special handling if the
	  edit cell is A1.

2009-09-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/GNOME_Gnumeric-gtk.xml.in: sort objects by type
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* component/Gnumeric-embed.xml.in: ditto
	* src/pixmaps/object_label_24.png: show rectangle

2009-09-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
	for Albert Graef  <Dr.Graef@t-online.de>

	* src/commands.c (cmd_so_set_radio_button, CmdSOSetRadioButton)
	(cmd_so_set_radio_button_redo, cmd_so_set_radio_button_undo)
	(cmd_so_set_radio_button_finalize): new set radio button command
	* src/commands.h: added cmd_so_set_radio_button
	* src/sheet-object-widget.c (dep_hash, dep_equal, dep_destroy)
	(get_group, set_group): new functions to manage radio button
	  groups
	(parse_value, match_value): new functions to parse and match radio
	  button values
	(SheetWidgetRadioButton): added value and active fields
	(sheet_widget_radio_button_set_value)
	(sheet_widget_radio_button_set_active)
	(sheet_widget_radio_button_set_group): new callbacks
	(radio_button_eval): modified to set radio button activation state
	  according to linked cell value
	(sheet_widget_radio_button_init, sheet_widget_radio_button_init_full):
	  split to support initialization from existing data, added initialization
	  of new fields in SheetWidgetRadioButton struct
	(sheet_widget_radio_button_finalize): added finalization of new
	  fields in SheetWidgetRadioButton struct
	(sheet_widget_radio_button_toggled): modified to handle clicks on
	  radio buttons
	(sheet_widget_radio_button_changed): new callback to handle moving
	  a radio button to a new group
	(sheet_widget_radio_button_create_widget): modified to initialize
	  button group and connect signal to change group callback
	(sheet_widget_radio_button_copy): new callback to allow radio
	  buttons to be copied
	(sheet_widget_radio_button_write_xml_sax)
	(sheet_widget_radio_button_prep_sax_parser): new callback for reading
	  and writing radio buttons
	(sheet_widget_radio_button_set_link)
	(sheet_widget_radio_button_get_link): new callbacks to set and get
	  the linked cell
	(RadioButtonConfigState, cb_radio_button_set_focus)
	(cb_radio_button_config_destroy)
	(cb_radio_button_config_ok_clicked)
	(cb_radio_button_config_cancel_clicked)
	(cb_radio_button_label_changed, cb_radio_button_value_changed)
	(sheet_widget_radio_button_user_config): added config dialog
	(SOW_MAKE_TYPE(radio_button)): added new callbacks
	* src/sheet-object-widget.h: added
	  sheet_widget_radio_button_get_link,
	  sheet_widget_radio_button_set_link,
	  sheet_widget_radio_button_set_label,
	  sheet_widget_radio_button_set_value

2009-09-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnm-pane.c (set_acetate_coords): revert my previous change (with the newer
	  version of goffice this is not needed.)

2009-09-25  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-so-filled.c (gnm_so_filled_draw_cairo): fixed line setting.
	* src/gnm-so-line.c (gnm_so_line_draw_cairo): ditto.

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

	* src/gnm-so-line.c (gnm_so_line_draw_cairo,
	gnm_so_filled_draw_cairo): Fix setting of colour.
	(gnm_so_line_draw_cairo): Fix setting of line width.

2009-09-25  Jean Brefort  <jean.brefort@normalesup.org>

	* src/sheet-control-gui.c (scg_redraw_headers): fixed column
	headers update when scrolled.

2009-09-24  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (set_toolbar_position): When moving to a new
	position, preserve the original order.
	(cb_add_menus_toolbars): Arrange for proper translation of entries
	in the toolbar menu.

2009-09-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnm-pane.c (set_acetate_coords): set the acetate item really
	transparent.

2009-09-24  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-read.c (gnm_xml_prep_style_parser): New function.

	* src/format-template.c (format_template_new_from_file): New
	implementation using SaX parser.

	* src/Makefile.am: Drop xml-io.[ch]

2009-09-24  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-pane.c (set_acetate_coords): set the acetate item really
	transparent.

2009-09-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
	slightly modified patches from Albert Gräf <Dr.Graef@t-online.de>

	* src/commands.c (cmd_so_set_button): new
	(CmdSOSetButton): new
	(cmd_so_set_button_redo): new
	(cmd_so_set_button_undo): new
	(cmd_so_set_button_finalize): new
	* src/commands.h (cmd_so_set_button): new
	* src/sheet-object-widget.c (sheet_widget_button_set_link): new
	(sheet_widget_button_get_link): new
	(button_eval): new
	(button_debug_name): new
	(sheet_widget_button_init_full): handle new fields
	(sheet_widget_button_init_full): add argument and change all callers
	(cb_button_pressed): new
	(cb_button_released): new
	(sheet_widget_button_create_widget): handle signals
	(cb_button_set_focus): new
	(sheet_widget_button_copy): handle new fields
	(cb_button_config_destroy): new
	(cb_button_config_ok_clicked): new
	(sheet_widget_button_user_config): new
	(sheet_widget_button_set_sheet): new
	(sheet_widget_button_foreach_dep): new
	(sheet_widget_button_write_xml_sax): handle new fields
	(sheet_widget_button_prep_sax_parser): ditto
	* src/sheet-object-widget.h (sheet_widget_button_set_link): new
	(sheet_widget_button_get_link): new

2009-09-23  Jean Brefort  <jean.brefort@normalesup.org>

	* component/gnumeric.c (cb_gognm_save), (go_gnm_component_edit): allow
	edition of not embedded workbooks as well.
	* src/GNOME_Gnumeric-gtk.xml.in: fixed Save button action.
	* src/gnm-so-filled.c (cb_gnm_so_filled_changed),
	(gnm_so_filled_draw_cairo): printf with the same font as screen display.
	* src/wbc-gtk-impl.h:  fixed menus for the component.
	* src/wbc-gtk.c (set_uifilename), (wbc_gtk_init): ditto.

2009-09-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
	modified patches from Albert Gräf <Dr.Graef@t-online.de>

	* src/GNOME_Gnumeric-gtk.xml.in: add button and radiobutton buttons
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* component/Gnumeric-embed.xml.in: ditto
	* src/pixmaps/object_button_24.png: add transparency
	* src/pixmaps/object_radiobutton_24.png: ditto

2009-09-22  Morten Welinder  <terra@gnome.org>

	* src/sheet-object*.[ch]: drop dom parsing code.

	* src/xml-sax-read.c (xml_cellregion_read): Re-implement in SaX
	land.  Callers changed to supply extra io_context argument needed.
	(gnm_xml_in_doc_add_subset): New function.
	(gnm_xml_finish_obj, xml_sax_style_region_end, xml_sax_merge,
	xml_sax_cell_content): If needed, add to clipboard, not sheet.

	* src/xml-sax-write.c (gnm_cellregion_to_xml): Close the
	MergedRegions tag.

	* src/xml-io.c (xml_cellregion_read_dom): Renamed from
	xml_cellregion_read.

2009-09-22  Jean Brefort  <jean.brefort@normalesup.org>

	* component/Gnumeric-embed.xml.in: synchronize with latest
	GNOME_Gnumeric-gtk.xml.in.

2009-09-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/GNOME_Gnumeric-gtk.xml.in: remove CreateLabel
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* src/wbc-gtk-actions.c: remove CreateLabel
	* src/wbc-gtk.c: attach label image to Gnumeric_ObjectRectangle

2009-09-21  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-write.c (gnm_xml_out_add_color,
	gnm_xml_out_add_cellpos): Move from xml-io.c and make static.
	(gnm_xml_out_add_gocolor): Ditto, except keep public.

2009-09-21  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-plugin.c (plugin_service_ui_read_xml): use translated labels.
	[#159806]

2009-09-21  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-so-filled.c (so_filled_view_set_bounds),
	(cb_gnm_so_filled_changed): reimplement text in ellipses.[#595710]

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

	* configure.in: Post-release bump.

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

	* Release 1.9.13

2009-09-19  Morten Welinder  <terra@gnome.org>

	* src/sheet-object-widget.c (get_goc_widget): New function.
	Simplifies previous patches.

2009-09-19  Jean Brefort  <jean.brefort@normalesup.org>

	* src/sheet-object-widget.c
	(sheet_widget_adjustment_set_horizontal): same as previous. This time,
	fixes #595648.

2009-09-19  Jean Brefort  <jean.brefort@normalesup.org>

	* src/sheet-object-widget.c (sheet_widget_frame_set_label),
	(sheet_widget_button_set_label), (sheet_widget_button_set_markup),
	(sheet_widget_checkbox_set_label),
	(sheet_widget_radio_button_set_label): use child as GocWidget instead of
	parent. [#595627]

2009-09-18  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk-impl.h (struct _WBCGtk): Rename zoom to zoom_haction
	and add zoom_vaction.

	* src/wbc-gtk.c (wbc_gtk_init_zoom): Setup zoom_vaction.

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

	* src/item-edit.c (item_edit_class_init): Don't set ::dispose.
	(item_edit_unrealize): Merge item_edit_dispose into here.
	(item_edit_dispose): Remove.
	(item_edit_realize): Merge most of item_edit_set_property into
	here.

2009-09-16  Morten Welinder  <terra@gnome.org>

	* Makefile.am (install-exec-local): Install gnumeric-features.h in
	the right spot.  Fixes #595317.

	* gnumeric-features.h.in: Trim a lot of fat.

	* src/item-grid.c (item_grid_unrealize): New function to plug
	leak.

2009-09-15  Jean Brefort  <jean.brefort@normalesup.org>

	* src/item-cursor.c (item_cursor_button2_pressed),
	(item_cursor_class_init): reimplement double click in item-cursor.
	[debian bug #546690]

2009-09-15  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-pane.c (cb_pane_drag_end): correctly ungrab the item. Fixes
	debian bug #546559.
	* src/gnumeric-simple-canvas.c: typo.

2009-09-12  Morten Welinder  <terra@gnome.org>

	* src/rendered-value.c (gnm_rendered_value_new): Drop mstyle and
	context arguments.  All callers changed.

	* src/print-cell.c (print_cell_gtk): Drop unused style argument.
	All callers changed.

	* src/preview-grid.c (pg_style_get_row): Greatly simplify by using
	the sheet.
	(pg_fetch_cell): Ditto.

2009-09-11  Morten Welinder  <terra@gnome.org>

	* src/file-autoft.c (category_group_list_get): Make this work
	again after config changes a few versions back.

	* src/rendered-value.c (gnm_rvc_new, gnm_rvc_free, gnm_rvc_query,
	gnm_rvc_store, gnm_rvc_remove): New functions.

	* src/cell.c (gnm_cell_unrender, gnm_cell_get_rendered_value,
	gnm_cell_fetch_rendered_value): Hook into above.

2009-09-11  Morten Welinder  <terra@gnome.org>

	* src/mstyle.c (gnm_style_get_pango_attrs): Don't scale if zoom is
	1.

	* src/cell.c (gnm_cell_unrender, gnm_cell_get_rendered_value,
	gnm_cell_fetch_rendered_value): New functions.

	* src/gnm-so-filled.c (gnm_so_filled_draw_cairo): NULL-check
	->text like elsewhere.  Fixes 594862.

2009-09-09  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk-edit.c (wbcg_edit_start): Make "inside_editing" a
	member variable instead of a static.

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

	* src/item-cursor.c (item_cursor_button_released): Clear status
	message in drag and autofill cases too.  Fixes #594469.

2009-09-08  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

	Use automake 1.11 SILENT_RULES when present, for cleaner build
	output. You can disable it by passing --disable-silent-rules to
	configure or V=1 to make.

2009-09-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: split random generator menu item
	* src/GNOME_Gnumeric-gtk.xml.in: ditto
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* src/wbc-gtk-actions.c: ditto

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

	* configure.in: Post-release bump.

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-04  Morten Welinder  <terra@gnome.org>

	* src/rendered-value.c (calc_indent): Drop zoom argument.  All
	callers changed.

	* src/style.c (style_font_new_simple): Put context into hash key
	as the font metrics depends on that.  Drop scale argument.  Caller
	changed.
	(delete_neg_font, gnm_font_unref): Unref ->context.
	(gnm_font_hash): Take context, is_bold, and is_italic into
	account.

	* src/mstyle.c (gnm_style_clear_font): Clear font_context here.
	(gnm_style_dup): Copy font_context here.
	(gnm_style_get_font): Check font_context, not font_zoom here.
	Drop zoom argument.  All callers changed.

	* src/gnm-style-impl.h (GnmStyle): Drop font_zoom, but add
	font_context.

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

	* src/style-font.h (GnmFont): Remove unused pango.font.

	* configure.in (libgoffice): Require 0.7.12 for GPS_* change.

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

	* src/item-bar.c (item_bar_button_pressed): Don't grab after
	context menu.  Fixes Debian 544975.

2009-09-03  Jean Brefort  <jean.brefort@normalesup.org>

	* src/item-edit.c (item_edit_draw): make item edit use the same font size
	than the sheet cell.

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

	* src/item-bar.c (item_bar_motion): don't grab the item from there.

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

	* src/style-color.h (GnmColor): Eliminate gdk_color filed.  All
	users changed to use go_color.

	* src/style-color.c (style_color_new_uninterned): Cleanup.

2009-09-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/mstyle.c (gnm_style_new_default): use style_color_auto_back
	  as background color.

2009-09-01  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-plugin.c (plugin_service_function_group_class_init),
	(plugin_service_ui_class_init): renamed GPS to GO_PLUGIN_SERVICE.

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

	* src/style-color.h (struct _GnmColor): Eliminate
	gdk_selected_color and name fields.

2009-09-01  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-pane.c: renamed GOColor macros.
	* src/gnm-so-filled.c: ditto.
	* src/gnm-so-line.c: ditto.
	* src/gnm-so-polygon.c: ditto.
	* src/gui-util.c: ditto.
	* src/item-bar.c: ditto.
	* src/item-cursor.c: ditto.
	* src/item-edit.c: ditto.
	* src/item-grid.c: ditto.
	* src/print-cell.c: ditto.
	* src/sheet-object-cell-comment.c: ditto.
	* src/style-color.c: ditto.
	* src/wbc-gtk.c: ditto.

2009-08-31  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-pane.c (new_control_point), (set_acetate_coords):
	replace GOStyle::outline.
	* src/gnm-so-filled.c (sof_default_style),
	(gnm_so_filled_draw_cairo), (gnm_so_filled_read_xml_dom),
	(gnm_so_filled_write_xml_sax), (gnm_so_filled_prep_sax_parser):
	* src/gnm-so-polygon.c (sop_default_style): ditto.
	* src/item-edit.c (item_edit_draw): fixed cursor position.
	* src/sheet-object-cell-comment.c (cell_comment_new_view):
	replace GOStyle::outline.
	* src/sheet-object-image.c (gnm_soi_draw_cairo): ditto.

2009-08-31  Morten Welinder  <terra@gnome.org>

	* src/sheet-control-gui.c (scg_mode_edit): update menu sensitivity
	here.  Fixes #593624.

2009-08-30  Morten Welinder <terra@gnome.org>

	* configure.in: Post-release bump.

2009-08-30  Morten Welinder <terra@gnome.org>

	* Release 1.9.11

2009-08-30  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-pane.c (cb_bounds_changed): do not update while dragging.
	* src/sheet-object.c (cb_create_views),
	(sheet_object_view_enter_notify),
	(sheet_object_view_button_pressed): do not reintroduce #151789.

2009-08-30  Jean Brefort  <jean.brefort@normalesup.org>

	* src/sheet-control-gui.c (scg_object_anchor_to_coords): fixed a
	rounding error.
	* src/sheet-object.c (sheet_object_clear_sheet),
	(sheet_object_view_finalize), (sheet_object_view_class_init): don't
	unref a finalized view.
	* src/style-border.c (gnm_style_border_set_dash),
	(style_border_set_gtk): rename and export gnm_style_border_set_dash.
	* src/style-border.h: ditto.

2009-08-27  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-so-filled.c (so_filled_item_view_class_init): deprecate the
	detroy method.
	* src/gnm-so-line.c (so_line_goc_view_class_init): ditto.
	* src/gnm-so-polygon.c (so_polygon_goc_view_class_init): ditto.
	* src/sheet-control-gui.c (scg_resize), (scg_finalize),
	(scg_object_select), (cb_scg_object_unselect): cleaned.
	* src/sheet-object-cell-comment.c (comment_view_class_init): deprecate the
	detroy method.
	* src/sheet-object-graph.c (so_graph_goc_view_class_init): ditto.
	* src/sheet-object-image.c (so_image_goc_view_class_init): ditto.
	* src/sheet-object-impl.h: ditto.
	* src/sheet-object-widget.c (so_widget_view_class_init): ditto.
	* src/sheet-object.c (sheet_object_clear_sheet),
	(sheet_object_new_view): ditto and fix a critical.
	* src/wbc-gtk-edit.c (workbook_edit_complete_notify),
	(cb_entry_delete_text): cleaned.

2009-08-26  Jean Brefort  <jean.brefort@normalesup.org>

	* src/cell-draw.c (cell_draw): do no draw extra lines around rotated text.

2009-08-26  Jean Brefort  <jean.brefort@normalesup.org>

	* src/cell-draw.c (cell_draw): fixed text rotation in cells. [#593114]

2009-08-25  Jean Brefort  <jean.brefort@normalesup.org>

	* src/cell-draw.c: use GocCanvas ibstead of FooCanvas
	* src/cell-draw.h: ditto.
	* src/gnm-pane-impl.h: ditto.
	* src/gnm-pane.c: ditto.
	* src/gnm-pane.h: ditto.
	* src/gnm-sheet-slicer-combo.c: ditto.
	* src/gnm-so-filled.c: ditto.
	* src/gnm-so-line.c: ditto.
	* src/gnm-so-polygon.c: ditto.
	* src/gnumeric-simple-canvas.c: ditto.
	* src/gnumeric-simple-canvas.h: ditto.
	* src/gui-util.c: ditto.
	* src/gui-util.h: ditto.
	* src/item-bar.c: ditto.
	* src/item-bar.h: ditto.
	* src/item-cursor.c: ditto.
	* src/item-cursor.h: ditto.
	* src/item-edit.c: ditto.
	* src/item-grid.c: ditto.
	* src/item-grid.h: ditto.
	* src/pattern.c: ditto.
	* src/pattern.h: ditto.
	* src/preview-grid-impl.h: ditto.
	* src/preview-grid.c: ditto.
	* src/sheet-control-gui.c: ditto.
	* src/sheet-control-gui.h: ditto.
	* src/sheet-filter.c: ditto.
	* src/sheet-object-cell-comment.c: ditto.
	* src/sheet-object-graph.c: ditto.
	* src/sheet-object-image.c: ditto.
	* src/sheet-object-impl.h: ditto.
	* src/sheet-object-widget.c: ditto.
	* src/sheet-object.c: ditto.
	* src/sheet-object.h: ditto.
	* src/style-border.c: ditto.
	* src/style-border.h: ditto.
	* src/style-color.c: ditto.
	* src/validation.c: ditto.
	* src/wbc-gtk-edit.c: ditto.

2009-08-21  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk-actions.c (insert_date_time_common): Rewrite to work
	with magic formats.  Fixes #592545.

2009-08-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/func.h (function_def_get_arg_name): change argument
	* src/func.c (function_def_get_arg_name): rewrite using
	  function_def_create_arg_names
	(function_def_create_arg_names): new
	(gnm_func_load_stub): call function_def_create_arg_names
	(gnm_func_free): free argument list
	(gnm_func_add): call function_def_create_arg_names

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

	* configure.in: Post-release bump.

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

	* Release 1.9.10

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

	* src/func.c (gnm_func_sanity_check1): Check EXAMPLES too.

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

	* src/func-builtin.c: remove argument names from GnmFuncDescriptor
	* src/func.h (_GnmFuncDescriptor): remove arg_names_depreceated

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

	* src/func.h (_GnmFuncDescriptor): rename arg_names to
	  arg_names_depreceated
	* src/func.c (gnm_func_load_stub): don't use arg_names
	(gnm_func_add): ditto
	(gnm_func_add_placeholder): ditto

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

	* src/func.c (function_def_get_arg_name): rewrite without using
	  fn_def->arg_names

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

	* src/func.c (gnm_func_sanity_check1): Check argument count too.

	* src/main-application.c (main): Add new --func-sanity-check
	option.

	* src/func.c (gnm_func_sanity_check, gnm_func_sanity_check1): New
	functions.

2009-08-13  Morten Welinder  <terra@gnome.org>

	* src/func.c (func_def_cmp, function_category_compare): Take
	advantage of go-string.

2009-08-13  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-plugin.c (plugin_service_function_group_read_xml): get "lang"
	property instead of "xml:lang" since the namespace is dropped.

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

	* src/GNOME_Gnumeric-gtk.xml.in: Add VUndo and VRedo.  See bug
	#590889.

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

	* src/wbc-gtk-actions.c: Change action names

2009-07-31 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gui-util.h (gnm_check_for_plugins_missing): new
	* src/gui-util.c (gnm_check_for_plugins_missing): new

2009-07-22  Jody Goldberg <jody@gnome.org>

	* src/colrow.c (colrow_compute_pts_from_pixels) : seems like the
	  intent was to use -1 as a proxy for a call to colrow_compute_pixel_scale.
	  This fixes the negatively sized cols/rows since b2c73a3e. [#588297]

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

	* src/sheet-object.h (sheet_object_anchor_to_offset_pts): new
	* src/sheet-object.c (sheet_object_anchor_to_offset_pts): new

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

	* src/gnm-plugin.c (plugin_service_function_group_read_xml):
	Extract textdomain from xml.

	* src/func.c (gnm_func_add, gnm_func_add_stub): Add new
	"textdomain" paramter.  All callers changed.

	* src/gnumeric-gconf.c: Transparently watch all configuration
	options of types int, bool, double, and string.

	* src/validation.c (gnm_validation_combo_finalize): Call the right
	parent class' finalizer.

	* src/gnumeric-gconf.c (gnm_conf_init): Handle new debug flags
	"conf-get" and "conf-set".

2009-07-08  Morten Welinder  <terra@gnome.org>

	* src/sheet.c (sheet_scale_changed): Compute scale only once per
	direction.  Fixes #588105.

	* src/colrow.c (colrow_compute_pixel_scale): New function.
	(colrow_compute_pixels_from_pts, colrow_compute_pts_from_pixels):
	Take extra scale parameter.

	* src/gnm-cell-combo.c (gnm_cell_combo_set_sv): New function.
	(gnm_cell_combo_finalize, gnm_cell_combo_set_property): Call
	gnm_cell_combo_set_sv to release sv weak ref.
	(gnm_cell_combo_dispose): New function.  Fixes #587992.

	* src/sheet.c (sheet_get_nominal_printarea): Avoid UMR.

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

	* src/func.c (gnm_func_group_fetch): Remove.
	(gnm_func_group_fetch_with_translation): Rename to
	gnm_func_group_fetch.

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

	* configure.in (libspreadsheet_reqs): Require goffice 0.7.9

2009-06-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet.c (sheet_get_nominal_printarea): make sure the
	  range is sane

2009-06-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/func-builtin.c (help_sum): change to new description type
	(help_product): ditto
	(help_gnumeric_version): ditto

2009-06-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* schemas/gnumeric-general.schemas.in: add schema for
	  long format toolbar and fix other toolbar schemas
	* src/GNOME_Gnumeric-gtk.xml.in: provide a long version of
	  the format toolbar

2009-06-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk-actions.c (cb_help_docs): pass flags to g_spawn_async
	  and provide more descriptive error message

2009-06-28  Morten Welinder  <terra@gnome.org>

	* src/gui-file.c (gui_file_template): Do not set a NULL uri here.
	Lots of code assumes we have a uri.

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

	* component/gnumeric.c (go_gnm_component_edit): call
	  set_uifilename
	* src/Makefile.am: add new headers
	* src/wbc-gtk-impl.h (set_uifilename): new
	* src/wbc-gtk.c (set_uifilename): new

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

	* gnumeric.spec.in: updated to something a touch more recent

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

	* src/style-conditions.c (gnm_style_conditions_eval): fix
	  GNM_STYLE_COND_NOT_BETWEEN:

2009-06-23  Morten Welinder  <terra@gnome.org>

	* src/item-cursor.c (item_cursor_tip_setlabel,
	cb_cursor_come_to_rest, item_bar_event): Use
	gnm_canvas_get_position.

	* src/gui-util.c (gnm_canvas_get_position): New function working
	around gdk bug.  Fixes #586590.

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

	* src/print-info.c (gnm_page_breaks_clean): we can't and don't need
	   to clean a non-existing breaks array.
	* src/print.c (compute_sheet_pages): fix sense of test anc combine
	  code

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

	* src/func.h (GnmFuncHelpType): add GNM_FUNC_HELP_EXCEL and
	  GNM_FUNC_HELP_ODF
	* src/func.c (function_dump_defs) handle new GnmFuncHelpType

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

	* src/gui-util.c (gnumeric_restore_window_geometry): Split out
	from gnumeric_keyed_dialog.

	* src/value.c (criteria_test_match): New function.
	(free_criteria): Free regexp if needed.
	(criteria_inspect_values, criteria_test_equal,
	criteria_test_unequal, criteria_test_less, criteria_test_greater,
	criteria_test_less_or_equal, criteria_test_greater_or_equal): Take
	GnmCriteria instead of y and date_conv.  All callers changed.
	(parse_criteria): The no-operator case is criteria_test_match, not
	criteria_test_equal.

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

	* configure.in: Post-release bump.

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

	* Release 1.9.9

2009-06-19  Morten Welinder  <terra@gnome.org>

	* src/value.c (parse_criteria): Return a GnmCriteria.  All callers
	changed.

2009-06-18  Morten Welinder  <terra@gnome.org>

	* src/func.c (function_call_with_exprs): Make sure we can tell
	skipped arguments from present arguments that return empty values.
	Fixes #586312.

	* src/expr.c (gnm_expr_is_empty): New function.

	* src/func-builtin.c (gnumeric_if2): Allow empty and array results
	results.  Map NULL into value_new_empty() if the argument that
	produced it is not empty.  (That prevents them from being treated
	as zero.)  Fixes #586218.

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

	* src/expr.h (gnm_func_lookup_or_add_placeholder): new
	* src/expr.c (gnm_func_lookup_or_add_placeholder): new

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

	* src/mathfunc.c (gnm_coth, gnm_acoth): New functions.

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

	* src/expr.h (gnm_expr_list_as_string): new
	* src/expr.c (gnm_expr_list_as_string): make non-static
	(do_expr_as_string): use convs->output.func
	* src/parse-util.h (_GnmConventions): add func field
	* src/parse-util.c (std_expr_func_handler): new
	(gnm_conventions_new_full): initialize func field

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

	* src/commands.c (cmd_define_name_undo): we have to update the
	  printarea menu items
	(cmd_define_name_redo): ditto
	* src/wbc-gtk.c (wbcg_menu_state_update): update the printarea menu
	  items
	* src/workbook-control.h: add enum for printarea menu item update

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

	* src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): be rather safe
	  than sorry and check whether sof->text is NULL
	(gnm_so_filled_set_property): make sure sof->text does not become
	  NULL. (If it is NULL the foocanvas items don't notice it changing.)

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

	* src/func.c (dump_externals): New function for creating what will
	become http://projects.gnome.org/gnumeric/func-doc.shtml
	(function_dump_defs): Call dump_externals for type 4.

	* src/main-application.c (gnumeric_options): Introduce hidden
	option for generating web page.

	* src/gnm-pane.c (cb_control_point_event): Remove debug code.

	* src/mstyle.c (gnm_style_update): Verify that empty styles have
	hash values all zero.

	* src/sstest.c (test_insdel_rowcol_names): Explicitly define
	Print_Area to be whole sheet.  Fixes test again.

	* src/go-data-slicer-field.c (go_data_slicer_field_init): Don't
	assign to ->field_type_pos[-1].

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

	* src/mstyle.c (gnm_style_equal): check first for pointer equality

2009-06-14  Morten Welinder  <terra@gnome.org>

	Implement New-From-Template (#303657):

	* src/wbc-gtk.c (wbc_gtk_reload_templates, wbc_gtk_load_templates,
	cb_new_from_template): New functions.
	(wbc_gtk_new): Arrange to load templates later.
	(wbcg_update_title, regenerate_window_menu): Handle NULL uri.

	* src/wbc-gtk-actions.c (cb_file_menu): New handler to ensure that
	templates have been loaded.

	* src/gui-file.c (gui_file_template): New function.

	* src/workbook-view.c (wb_view_set_attribute): Handle problem with
	old .gnumeric files.

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

	* schemas/gnumeric-general.schemas.in: remove sort header default
	* src/GNOME_Gnumeric-gtk.xml.in move preferences menu item
	* src/gnumeric-gconf.h: remove sort_default_has_header
	* src/gnumeric-gconf.c: remove sort_default_has_header
	(gnm_gconf_set_sort_has_header): deleted
	* src/wbc-gtk-actions.c: sort_by_rows, trust the automatic
	  detection and don't try to use the default too
	(actions): move preferences, goto and fill menus

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

	* src/stf-parse.c (stf_parse_fixed_line): Make sure we have the
	right number of columns, even if we need to add empty items.
	Fixes #135523.

2009-06-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
	for Almer S. Tigelaar

	* src/wbc-gtk.c (cb_scroll_wheel): make sure we are acting on
	  the top visible sheet

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

	* src/parser.y (yylex): Return LEFT_EXP_TOKEN or RIGHT_EXP_TOKEN
	for '^'.
	(yyparse): Handle LEFT_EXP_TOKEN and RIGHT_EXP_TOKEN instead of
	'^'.

	* src/parse-util.h (struct _GnmConventions): Add associativity
	switch for '^'.

	* src/parse-util.c (gnm_conventions_new_full): Init it.

	* src/parser.y: Change x^y^z into x^(y^z) to indicate how we
	parsed it.

	* src/expr.c (do_expr_as_string): Ditto.

2009-06-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/ranges.c (range_clip_to_finite): adjust limits and add
	  explanatory comment

2009-06-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet.h (sheet_get_nominal_printarea): change return type
	* src/sheet.c (gnm_sheet_constructor): change initialization
	  of print area
	(sheet_get_nominal_printarea): change return type
	(sheet_get_printarea): adjust for changes in
	  sheet_get_nominal_printarea
	* src/wbc-gtk-actions.c (cb_file_print_area_clear): change to
	  match changed print area interpretation
	(cb_file_print_area_show): ditto
	* src/xml-io.c (xml_read_names): since existing files will assume
	  the old meaning of print area we should adjust upon loading.
	* src/xml-sax-read.c (xml_sax_named_expr_end): ditto

2009-06-09  Jody Goldberg <jody@gnome.org>

	* src/go-string.c (go_string_shutdown) : don't leak the shared string
	  table.

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

	* src/go-string.c: Avoid lots of casts.  Use unsigned values for
	flag constants to match the flags.
	(go_string_ERROR): Fix prototype.

	* src/mathfunc.c (gnm_cot, gnm_acot): New functions.

	* src/sheet-style.c (sheet_style_find): Keep style hash entries
	unique.  Fixes #585178.

	* src/mstyle.c (gnm_style_dup): Copy pango_attrs_zoom too.

2009-06-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print-info.c (gnm_page_breaks_get_next_break): new
	* src/print-info.h (gnm_page_breaks_get_next_break): new
	* src/xml-io.c (xml_read_breaks): adjust to cahnge in enum
	  interpretation
	* src/xml-sax-read.c (xml_sax_page_break): ditto
	* src/xml-sax-write.c (xml_write_breaks): also write soft breaks

2009-06-08  Morten Welinder  <terra@gnome.org>

	* src/sheet-style.c (sample_styles): Check equality using
	gnm_style_equal to match the optimizer, if even == ought to be
	good enough.
	(sheet_style_optimize): Add no-style-optimize debug flag doing the
	obvious.

2009-06-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print.c (compute_sheet_pages): make sure we have
	  page breaks allocated before we try to save any.

2009-06-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print-info.c (gnm_page_breaks_get_next_manual_break):
	  fix unsigned issue
	(gnm_page_breaks_set_break): ditto
	(gnm_page_breaks_clean): ditto

2009-06-08  Jody Goldberg <jody@gnome.org>

	* src/go-data-slicer-field.c (go_data_slicer_field_init) : adjust to
	  GDS_FIELD_TYPE_ re-org

2009-06-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print-info.h (gnm_page_breaks_clean): new
	* src/print-info.c(gnm_page_breaks_clean): new
	* src/print.c (paginate): store page breaks if requested
	(compute_sheet_pages): clear page breaks if storage of new ones
	  is requested

2009-06-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print-info.h (gnm_page_breaks_set_break): new
	(gnm_page_breaks_get_break): new
	(gnm_page_breaks_get_next_manual_break): new
	(gnm_page_breaks_dup_non_auto_breaks): new
	* src/print-info.c (gnm_page_breaks_set_break): new
	(gnm_page_breaks_get_break): new
	(gnm_page_breaks_get_next_manual_break): new
	(gnm_page_breaks_dup_non_auto_breaks): new
	(gnm_page_break_type_from_str): default to GNM_PAGE_BREAK_NONE
	* src/print.h (GNUMERIC_PRINT_SETTING_IGNORE_PAGE_BREAKS_KEY):
	  new key
	* src/print.c (PrintingInstance): add new fields
	(paginate): add arguments and change all callers
	(gnm_begin_print_cb): handle ignoring of manual page breaks
	(gnm_create_widget_cb): add ignore page break chackbox
	(gnm_custom_widget_apply_cb): and handle the checkbox

2009-06-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/GNOME_Gnumeric-gtk.xml.in: add ChiSquareTests
	* src/wbc-gtk-actions.c add MenuContingencyTests and
	  Tools -> Chi Square Tests items

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

	* expr.h (gnm_expr_new_funcall5): new
	* src/expr.c (gnm_expr_new_funcall5): new

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

	* src/sheet.c (cb_set_cell_content): Fix critical when overwriting
	a non-singular array formula with non-array contents.  [#584746]

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

	* src/expr.c (cellref_boundingbox, gnm_expr_get_boundingbox,
	gnm_expr_top_get_boundingbox): Add sheet parameter for size.
	All callers changed.

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

	* src/wbc-gtk-actions.c (cb_format_as_currency): Deal with goffice
	changes.

2009-05-30  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-read.c (xml_sax_cell_content): Don't check
	go_format_unref.

2009-05-29  Morten Welinder  <terra@gnome.org>

	* src/main-application.c (main): Honour geometry even when we are
	not loading a file from the command line.

2009-05-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk-actions.c (toggle_font_attr): when we toggle sub or
	  subscript we should also toggle the size.

2009-05-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/GNOME_Gnumeric-gtk.xml.in: add super and subscript buttons
	  to format toolbar. Remove Label button from the object toolbar
	  since it is functionally equivalent to the rectangle button.

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

	* src/wbc-gtk-actions.c (cb_format_as_currency): Fix.

2009-05-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnm-so-filled.c (so_filled_view_set_bounds): don't check for
	  text to be non-null and is_oval to be false
	(gnm_so_filled_user_config): ditto
	(cb_gnm_so_filled_style_changed): ditto
	(gnm_so_filled_draw_cairo): ditto
	(gnm_so_filled_write_xml_sax): ditto
	(gnm_so_filled_init): Iniitalize with the empty string rather than NULL
	  since something in FOOCANVAS doesn't update when we change from NULL to
	  text.

2009-05-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object-cell-comment.c (cell_comment_prep_sax_parser):
	  make sure we are having markup before retrieving it

2009-05-26  Morten Welinder  <terra@gnome.org>

	* src/dependent.c (dependent_changed): Handle NULL dep->sheet.

2009-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* configure.in: increase goffice requirement to 0.7.8

2009-05-26  Morten Welinder  <terra@gnome.org>

	* src/search.c (gnm_search_match_value): Accept a very small
	range.

2009-05-25  Morten Welinder  <terra@gnome.org>

	* src/search.c (gnm_search_replace_set_property,
	gnm_search_replace_get_property, gnm_search_replace_class_init):
	Add new is-number property.
	(gnm_search_replace_comment): Comments are not numbers.
	(gnm_search_replace_cell, gnm_search_replace_value): Handle number
	search.

2009-05-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* configure.in: increase libgsf requirement to 1.14.15

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

	* configure.in: Post-release bump.

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

	* Release 1.9.8

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

	* src/parse-util.c (gnm_expr_parse_str_simple): Remove.  Interface
	invites R1C1 bugs.  All callers fixed.

2009-05-21  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (cb_graph_dim_editor_update): Suppress the initial
	update gui update.

2009-05-18  Morten Welinder  <terra@gnome.org>

	* src/sheet-object-widget.c: Clean up class accesses.

	* src/graph.c (gnm_go_data_date_conv): New function.

	* src/workbook-view.c (wb_view_set_property): Normalize booleans.

	* src/sheet-style.c (sheet_style_init_size,
	sheet_style_set_auto_pattern_color): Use structure assignment, not
	memcpy.

	* src/sheet-object.c (sheet_object_anchor_assign): Eliminate in
	favour of plain structure assignment.  All callers changed.

	* src/wbc-gtk.c (wbcg_scrollbar_visibility,
	wbcg_notebook_tabs_visibility): New functions.
	(wbcg_view_changed): Hook up wbcg_scrollbar_visibility and
	wbcg_notebook_tabs_visibility.

	* src/workbook-view.c 	(workbook_view_class_init, wb_view_set_property,
	wb_view_get_property): Add new properties:
	PROP_SHOW_HORIZONTAL_SCROLLBAR, PROP_SHOW_VERTICAL_SCROLLBAR,
	PROP_SHOW_NOTEBOOK_TABS, PROP_DO_AUTO_COMPLETION, PROP_PROTECTED,
	PROP_PREFERRED_WIDTH, PROP_PREFERRED_HEIGHT.
	(wb_view_preferred_size): Use the new properties thus taking care
	of any notification needed.
	(wb_view_set_attribute): Ditto, although this function should die
	soon.

2009-05-17  Morten Welinder  <terra@gnome.org>

	* src/graph.c (gnm_go_data_eq): Compare convs too.

2009-05-16  Morten Welinder  <terra@gnome.org>

	Fix for #490479:

	* src/graph.c (gnm_go_data_preferred_fmt): Don't check dep->sheet.

	* src/sheet-object.c (cb_sheet_object_invalidate_sheet): Clear
	dep->sheet if necessary.

	* src/gui-clipboard.c (table_cellregion_read): Invalidate the
	sheets in the temporary workbook.

	* src/clipboard.c (cellregion_invalidate_sheet): Clear
	->origin_sheet if that is what we are invalidating.

2009-05-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/xml-sax-write.c (xml_write_style): since we index into the
	  array with our enum we should make the order match.

2009-05-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* schemas/gnumeric-dialogs.schemas.in: fix some long descriptions
	* schemas/gnumeric-general.schemas.in: ditto
	* src/gnm-plugin.c: add a translator comment

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

	* src/dependent.c (gnm_dep_container_dump): fix crash.

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

	* src/dependent.c (workbook_recalc): Wrap whole evaluation in
	calls to gnm_app_recalc_start and gnm_app_recalc_finish.

	* src/expr.c (gnm_expr_top_eval): Wrap gnm_expr_eval call in calls
	to gnm_app_recalc_start and gnm_app_recalc_finish.

	* src/clipboard.c (paste_cell_with_operation): Create a GnmExprTop
	and use that for evaluation.
	* src/validation.c (validation_eval): Ditto.
	* src/workbook-view.c (wb_view_auto_expr_recalc): Ditto.  Simplify.

	* src/application.c (gnm_app_recalc_start, gnm_app_recalc_finish):
	New functions.

	* src/commands.c (cmd_so_set_adjustment): Handle h/v too.  All
	callers changed.
	* src/sheet-object-widget.c (sheet_widget_adjustment_user_config_impl):
	Ditto.

	* src/sheet-object-widget.c (SheetWidgetAdjustment): Add explicit
	direction here.
	(SheetWidgetAdjustmentClass): Identify h and v versions here.
	(sheet_widget_adjustment_write_xml_sax): Save direction if needed.
	(sheet_widget_adjustment_prep_sax_parser,
	sheet_widget_adjustment_read_xml_dom): Read it here.

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

	* src/sheet-object-widget.c (sheet_widget_scrollbar_create_widget):
	Record whether the scrollbar is horizontal or vertical so
	different views will have the same orientation.

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

	* src/gutils.c (gnm_debug_flag): New function.
	* src/sheet-style.c (sheet_style_optimize): Use gnm_debug_flag.
	* src/gui-clipboard.c (debug_clipboard): Ditto.
	* src/main-application.c (main): Ditto.
	* src/wbc-gtk.c (cb_workbook_debug_info,
	wbc_gtk_create_edit_area): Ditto.

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

	* src/ssconvert.c (merge): Rearrange to read files only once.

	* src/sheet.c (gnm_sheet_resize_main): Only warn for a resize that
	is not a no-op.

	* src/sheet-style.c (sheet_style_init_size): Don't set partial_col
	and partial_row.
	(cb_style_list_add_node): Deal without partial_col and
	partial_row.

	* src/sheet.h (struct _Sheet): Remove partial_col and partial_row
	flags.

	* src/ssindex.c (cb_index_styles): Index validation stuff too.

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

	* src/collect.c (collect_floats): Introduce a cache for the
	important argc==1 case.  Add extra argument to avoid copying
	the result unnecessarily.  All callers changed.

	* src/sheet-style.c (cell_tile_optimize): Remove extraneous
	"break;"  Fixes #582027.

	* src/gnumeric-gconf.c (gnm_gconf_set_workbook_ncols,
	gnm_gconf_set_workbook_nrows): Respect any valid size.

	* src/workbook.c (workbook_new_with_sheets): Ditto.

	* src/gui-clipboard.c (table_cellregion_write): Explicitly size
	the temporary sheet.

	* src/workbook.c (workbook_new_with_sheets): Respect the sheet
	size preferences.

	* src/gui-clipboard.c (table_cellregion_write): Plug leak.

	* src/gnumeric-gconf.c (gnm_gconf_set_workbook_ncols): Set
	prefs.col_number too.
	(gnm_gconf_set_workbook_nrows): Set prefs.row_number too.

	* src/sheet-style.c (verify_styles): Abort if anything is found to
	be wrong.

2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/cell.c (gnm_cell_is_nonsingleton_array): don't use
	  simply gnm_cell_is_array_corner since it returns NULL for
	  other array elements

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

	* src/sheet-style.c (cell_tile_optimize): Fix crash.  #581931.

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

	* src/expr.c (gnm_expr_get_range): Handle parenthesis.

2009-05-09  Jody Goldberg <jody@gnome.org>

	* configure.in : add $ac_exeext when checking for executables so that
	  wine can be used when cross compiling.

2009-05-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): write
	  serialized pango attributes
	(gnm_so_filled_prep_sax_parser): read serialized pango
	  attributes
	* src/sheet-object-cell-comment.c (cell_comment_write_xml_sax)
	  write serialized pango attributes
	(cell_comment_prep_sax_parser): read serialized pango
	  attributes

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

	* src/sheet-style.c (sheet_style_optimize): New function.

	* src/workbook.c (workbook_optimize_style): New function.

	* src/workbook-view.c (wb_view_new_from_input): Call
	workbook_optimize_style.

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

	* configure.in: Post-release bump.

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

	* Release 1.9.7

2009-05-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* configure.in: (libgsf) require 1.14.13 since the
	  gsf_opendoc_metadata_subtree in previous versions will crash!
	* src/xml-sax-read.c (xml_sax_document_meta): new
	(content_ns): added name spaces
	(gnumeric_1_0_dtd): hook up xml_sax_document_meta

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

	* src/gnm-so-polygon.c (gnm_so_polygon_write_xml_sax): Implement.
	Untested, but fixes #581394.

	* src/sheet-autofill.c (afc_set_cell_hint): Don't use the target
	cell for conventions -- it can be NULL.  Fixes #581589.

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

	* src/gnm-so-polygon.c (gnm_so_polygon_set_property): Handle NULL
	points.
	(so_polygon_view_set_bounds): Handle empty points.

	* src/gnm-style-impl.h (struct _GnmStyle): Allocate the right
	number of border elements!

	* src/mstyle.c (elem_is_eq): Force inline since most callers then
	trivially pick the right branch.
	(gnm_style_find_conflicts): Assert that we have bits enough.
	(gnm_style_update): Hash the right number of border elements.

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

	* src/sheet.c (gnm_sheet_get_size2): New function.

	* src/parse-util.c (cellref_as_string, r1c1_rangeref_parse,
	rangeref_as_string, rangeref_parse): Simplify using
	gnm_sheet_get_size2.

	* src/position.c (gnm_rangeref_normalize_pp): Simplify using
	gnm_sheet_get_size2.

	* src/xml-sax-read.c (handle_delayed_names): Simplify using
	gnm_sheet_get_size2.

	* src/expr.c (reloc_restore_cellref): Take a GnmSheetSize, not a
	Sheet.  All callers changed.

	* src/dependent.c (dependents_relocate): Relocate names with
	respect to the right GnmParsePos.
	(gnm_dep_container_dump): Just list the names.

	* src/workbook.c (workbook_foreach_name): Add extra globals_only
	flag.  Caller changed.

	* src/dependent.c (dependents_relocate): Relocate sheet-local and
	global names too.  Minor issues remain.

2009-05-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnm-so-filled.c (gnm_so_filled_draw_cairo) use
	  pango_layout_set_text rather than pango_layout_set_markup
	  fixes #581125

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

	* src/expr-name.c (expr_name_handle_references): Undo last change.
	Bug 581117 is duct taped by sheet_get_nominal_printarea change.

	* src/sheet.c (sheet_get_nominal_printarea): Work harder at
	ensuring sanity.

	* src/expr.c (reloc_cellrange): Make sure a full row (1:1) or
	column (A:A) sticks at the beginning too.

2009-05-02  Morten Welinder  <terra@gnome.org>

	* src/expr-name.c (expr_name_handle_references): Handle NULL sheet
	from expr_name_handle_references.  Fixes #581117.

	* src/expr.c (gnm_insert_unique): Renamed from
	g_slist_insert_unique.  Insert NULL too, if appropriate.
	(do_referenced_sheets): Correctly handle right-hand side of a
	range if it is NULL.

	* src/position.c (eval_pos_init_sheet, parse_pos_init,
	parse_pos_init_sheet): Constify.

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

	* src/graph.c (render_val): don't crash with a NULL value. [#581120]

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

	* src/parse-util.c (r1c1_rangeref_parse): Fix sheet size handling.

	* src/sheet-style.c (sheet_style_sanity_check): New function.
	(sheet_style_init): Call sheet_style_sanity_check.
	(tile_widths, tile_heights): Add extra element.

2009-05-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.h (cmd_set_comment): add author argument
	* src/commands.c (cmd_set_comment): ditto
	(cmd_set_comment_apply): ditto, and change all callers
	(cmd_set_comment_finalize): delete author info
	* src/sheet-object-cell-comment.c: add "author" property

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

	* src/position.c (gnm_cellref_get_row, gnm_cellref_get_col): Get
	sheet size from eval-pos, if the ref doesn't have one.  Fixes
	#580953.

	* src/wbc-gtk.c (set_entry_contents): New function for common
	code.
	(cb_dataset_changed, wbcg_data_allocator_editor): Use
	set_entry_contents.

	* src/graph.c (render_val): New function.
	(gnm_go_data_scalar_get_str, gnm_go_data_vector_get_str,
	gnm_go_data_matrix_get_str): Use render_val.

2009-04-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui.c (scg_comment_display):
	  use comment attributes
	* src/sheet-object-cell-comment.c (cell_comment_set_property):
	  remove invalid and unneeded code

2009-04-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object-cell-comment.h (cell_set_comment): add
	  markup argument and change all callers
	* src/sheet-object-cell-comment.c (cell_set_comment): add
	  markup argument
	(cell_comment_set_property): comment out invalid call to
	  foo_canvas_item_set
	* src/commands.h (cmd_set_comment): add attribute argument
	* src/commands.c (cmd_set_comment): add attribute argument
	(cmd_set_comment_apply): ditto and change all callers
	(cmd_set_comment_finalize): unref attributes
	* src/gui-util.c (gnumeric_keyed_dialog): remember dialog size for
	  comment dialog

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

	* */*.c: Reduce use of gnm_conventions_default and
	gnm_expr_parse_str_simple.  Use conventions from sheet or passed
	down from sax writer.

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

	* src/wbc-gtk.c (cb_wbcg_window_state_event): When entering
	fullscreen mode, disable the actions in ->hide_for_fullscreen.
	When exiting, restore the old state.
	(cb_toolbar_box_visible): Don't persist changes while in
	fullscreen mode.  Fixes #574603.

	* src/expr.c (gnm_expr_as_string): Don't check pp for NULL since
	we have a debug default.
	(gnm_expr_is_err): New function extracted from
	gnm_expr_top_is_err.
	(gnm_expr_relocate): Only invalidate the use of a name if its
	expression, hypothetically, moved would become invalid.  Fixes
	part of #552749.

	* src/application.c (gnm_app_workbook_get_by_index): Simplify and
	make zero-based.

	* src/position.c (gnm_cellpos_init_cellref_ss): Make public.

	* src/parse-util.c (cellref_as_string, rangeref_parse): Handle
	out->pp->sheet being NULL for global names.

2009-04-28  Jody Goldberg <jody@gnome.org>

	* src/wbc-gtk.c (wbc_gtk_init) : use the pref for autosave.
	* src/gnumeric-gconf.c (gnm_conf_init_essential) : load it here.
	(gnm_gconf_set_workbook_autosave_time) : new.

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

	* src/parse-util.c (std_expr_name_handler): Handle shadowed global
	names.
	* src/parser.y (workbookref): Ditto.  Fixes #306686.

2009-04-27  Morten Welinder  <terra@gnome.org>

	* src/position.c (gnm_rangeref_normalize_pp): New function
	extracted from gnm_rangeref_normalize.

	* src/parse-util.c (col_parse, row_parse, cellpos_parse,
	cellref_parse, cellref_a1_get, r1c1_get_index, cellref_r1c1_get):
	Change from Sheet argument to GnmSheetSize argument.  All callers
	changed.
	(std_sheet_name_quote): Eliminate the use of MAGIC_MAX_SHEET.
	(rangeref_as_string): Use gnm_rangeref_normalize_pp.  Fixes
	#580360.

	src/ranges.c (range_parse): Change from Sheet argument to
	GnmSheetSize argument.  All callers changed.

	* src/sheet.c (gnm_sheet_get_size): New function replacing
	gnm_sheet_get_max_cols and gnm_sheet_get_max_rows.  Turn those
	into macros.

	* src/sheet.h (struct _Sheet): Move max_cols and max_rows into
	new member size of type GnmSheetSize.

2009-04-27  Morten Welinder  <terra@gnome.org>

	* src/item-grid.c (cb_cursor_come_to_rest): Fix tooltip
	positioning.
	* src/item-cursor.c (item_cursor_tip_setlabel): Ditto.
	* src/item-bar.c (item_bar_event): Ditto.  Fixes #580358.

2009-04-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gui-util.h (gnm_create_std_tags_for_buffer): new
	* src/gui-util.c (gnm_create_std_tags_for_buffer): new
	(gnm_load_pango_attributes_into_buffer_filter): weight will use named tags
	(gnm_load_pango_attributes_into_buffer_named_filter): ditto
	(gnm_load_pango_attributes_into_buffer): The standard tags will exist.
	  Classify the weight into the standard values.

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

	* src/xml-sax-read.c (handle_delayed_names): Parse position here
	too.
	(xml_sax_named_expr_end): Don't do it here.  Fixes #580227.

2009-04-25  Morten Welinder <terra@gnome.org>

	* configure.in: Post-release bump.

2009-04-25  Morten Welinder <terra@gnome.org>

	* Release 1.9.6

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

	* src/sheet.c (sheet_delete_cols, sheet_delete_rows): If count
	sends us beyond the end of the sheet, take that as a hint not to
	make ranges that go to the end of the sheet sticky.
	(gnm_sheet_resize_main): Supply such a hint.

	* src/expr.h (struct _GnmExprRelocateInfo): Add extra sticky_end
	field for col/row insert/delete.

	* src/expr.c (reloc_cellrange): Take extra sticky_end argument and
	only make end-of-sheet stick if that is set.  Fix logic to ignore
	beginning of such ranges.  All callers changed.
	(gnm_expr_relocate): Avoid using "default:" for reloc_type.

	* src/ranges.c (range_make_full): Remove.  No longer used.

	* src/validation.c (validation_barf): Ignore the problem if
	VALIDATION_STYLE_NONE is used.  Fixes #580157.

	* src/expr.c (gnm_expr_as_string): Add defaults for debugging.

	* src/sheet.c (gnm_sheet_resize_main): Restrict the selection to
	the size of the new sheet.

	* src/sheet-control-gui.c (cb_scg_sheet_resized): For panes and
	thus cursors to be updated.

	* src/sheet-style.c (sheet_style_resize): Fix off-by-one.

	* configure.in (PANGO_WEIGHT_THIN): Check for this and friends.

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

	* src/sheet-control-gui.c (cb_scg_sheet_resized): New function.
	(sheet_control_gui_new): Connect cb_scg_sheet_resized to the
	sheet's "rows" and "columns" properties.
	(scg_finalize): Disconnect.

	* src/expr-name.c (expr_name_validate): Take sheet argument for
	checks.  All callers changed.

	* src/sheet.c (gnm_sheet_resize_main): Resize styles too.
	(gnm_sheet_constructor): Check row count sanity here.

	* src/sheet-style.c (sheet_style_init): Not here.
	(sheet_style_resize): New function.
	(sheet_style_init_size): Split from sheet_style_init.

	* src/commands.c (cmd_insert_rows, cmd_insert_cols): Simplify and
	fix plural.
	(cmd_ins_del_colrow): Simplify.

	* src/sheet.c (sheet_insert_cols, sheet_insert_rows): Fix
	array-split check.

2009-04-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gui-util.c (gnm_load_pango_attributes_into_buffer_filter):
	  add more supported items
	(gnm_load_pango_attributes_into_buffer_named_filter): ditto
	(gnm_load_pango_attributes_into_buffer): ditto
	(gnm_store_text_tag_attr_in_pango): ditto

2009-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gui-util.c (gnm_load_pango_attributes_into_buffer):
	  we need to create some labelled tags for off/on styles
	(gnm_load_pango_attributes_into_buffer_named_filter): new
	(gnm_store_text_tag_attr_in_pango): handle style attribute

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

	* src/sheet.c (gnm_sheet_resize_main): Undo to the right size.

	* src/wbc-gtk.c (wbcg_get_scg): Fix warning on exit.

	* src/workbook.c (workbook_sheets): Change result type to GSList*.
	All callers changed.

	* src/sheet.c (gnm_sheet_resize_main): Change container size too.
	Unlink, re-link, and recalculate all dependencies.
	(gnm_sheet_resize_main): Handle errors from attempted splitting of
	arrays, etc.

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

	* src/dependent.c (gnm_dep_container_new): Calculate the number of
	buckets here once and for all and store in container.
	(BUCKET_LAST): Remove.  All users changed to use above.

	* src/sheet.c (sheet_destroy_contents): Use colrow_resize.
	(gnm_sheet_resize): Initial implementation.

	* src/colrow.c (colrow_resize): New function.

	* src/sheet.c (gnm_sheet_resize): Stub.

	* src/commands.c (cmd_resize_sheets): Undo framework for resizing
	sheets.

	* src/xml-io.c (xml_read_print_repeat_range): Adapt to print-info
	changes.

	* src/xml-sax-write.c (xml_write_print_repeat_range): Fix writing
	repeated ranges.

2009-04-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.h (cmd_object_format): add argument
	* src/commands.c (cmd_object_format): handle attributes
	(cmd_object_format_redo): ditto
	(cmd_object_format_finalize): ditto
	* src/gnm-so-filled.c (cb_gnm_so_filled_changed): also set
	  attributes
	* src/gui-util.h (gnumeric_textbuffer_get_text): new
	(gnm_load_pango_attributes_into_buffer): new
	(gnm_get_pango_attributes_from_buffer): new
	* src/gui-util.c (gnumeric_textbuffer_get_text): new
	(gnm_load_pango_attributes_into_buffer): new
	(gnm_get_pango_attributes_from_buffer): new
	(gnumeric_textview_get_text): use gnumeric_textbuffer_get_text
	(gnm_load_pango_attributes_into_buffer_filter): new
	(gnm_store_text_tag_attr_in_pango): new

2009-04-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnm-so-filled.c (gnm_so_filled_user_config): adjust for
	  changed arguments of dialog_so_styled
	* src/gnm-so-line.c (gnm_so_line_user_config): ditto
	* src/gnm-so-polygon.c (gnm_so_polygon_user_config): ditto

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

	* src/commands.c (cmd_print_setup_redo): Only reverse the list
	right after it was created.

	* src/print-info.c (print_info_free): Free here.
	(print_info_load_defaults): Simply copy as text here.
	(print_info_dup): Copy here.
	(print_info_new, print_info_dup): Don't take sheet argument
	anymore.  All callers changed.

	* src/print-info.h (struct _PrintInformation): Keep repeat_top and
	repeat_left as strings so they become sheet independent.

	* src/print.c (compute_sheet_pages): Parse repeat_top and
	repeat_left here.

2009-04-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.h (cmd_object_format): add argument
	* src/commands.c (cmd_object_format): handle modified text string
	(cmd_object_format_redo): ditto
	(cmd_object_format_finalize): ditto
	* src/gnm-so-filled.c (gnm_so_filled_user_config): just pass an indicator
	  rather than a string.

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

	* src/wbc-gtk-actions.c (wbc_gtk_init_actions): Disable solver
	action if compiled without the solver.

2009-04-20  Jean Brefort  <jean.brefort@normalesup.org>

	* libspreadsheet.pc.in: use -lspreadsheet-$(VERSION) instead of
	$(GNUMERIC_API_VER). [#575390]

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

	* src/wbc-gtk-actions.c (actions): Get rid of old
	insert-sized-sheet entry.

	* src/wbc-gtk.c (sheet_menu_label_run): Add new Resize menu entry.

2009-04-20  Jean Brefort  <jean.brefort@normalesup.org>

	* configure.in: check for gtk_adjustment_configure.
	* src/commands.c (cmd_so_set_adjustment_adj): add defines for missing gtk
	functions in gtk+-2.12 and earlier (see #114098).

2009-04-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnm-so-filled.c (gnm_so_filled_draw_cairo): print text if
	  available

2009-04-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object-widget.c (so_widget_view_set_bounds): Make sure that the
	  bounds are at least 6 wide  [#579152]

2009-04-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.h (cmd_so_set_adjustment): new
	* src/commands.c (cmd_so_set_adjustment): new
	(cmd_so_set_adjustment_adj): new
	(cmd_so_set_adjustment_redo): new
	(cmd_so_set_adjustment_undo): new
	(cmd_so_set_adjustment_finalize): new
	* src/sheet-object-widget.h (sheet_widget_adjustment_get_link): new
	(sheet_widget_adjustment_set_link): new
	(sheet_widget_adjustment_get_adjustment): new
	* src/sheet-object-widget.c (sheet_widget_adjustment_get_link): new
	(sheet_widget_adjustment_set_link): new
	(sheet_widget_adjustment_get_adjustment): new
	(AdjustmentConfigState): new field
	(cb_adjustment_config_destroy): release label memory
	(cb_adjustment_config_ok_clicked): call cmd_so_set_adjustment
	(sheet_widget_adjustment_user_config_impl): previously
	  sheet_widget_adjustment_user_config with window title and undo
	  string handling
	(sheet_widget_adjustment_user_config): stub to call
	  sheet_widget_adjustment_user_config_impl with correct labels.
	(sheet_widget_scrollbar_user_config) : new
	(sheet_widget_scrollbar_class_init): hookup sheet_widget_scrollbar_user_config
	(sheet_widget_spinbutton_user_config) : new
	(sheet_widget_spinbutton_class_init): hookup sheet_widget_scrollbar_user_config
	(sheet_widget_slider_user_config) : new
	(sheet_widget_slider_class_init): hookup sheet_widget_scrollbar_user_config

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

	* */*.c: Use gnm_sheet_get_last_(col|row) where appropriate.

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

	* src/ssconvert.c (setup_range): Parse in the context of the first
	sheet.

	* src/parse-util.c (cellref_as_string): Simplify and fix: let
	gnm_cellpos_init_cellref do the work.

	* src/position.c (gnm_cellref_make_abs): Simplify and fix: Let
	gnm_cellpos_init_cellref do the work.

	* src/position.c (gnm_cellpos_init_cellref): Take extra base_sheet
	argument.  All callers changed.

	* src/parse-util.c (cellref_abs_col, cellref_abs_row): Eliminate
	in favour of gnm_cellpos_init_cellref.

	* src/commands.c (cmd_so_set_frame_label_finalize,
	cmd_so_set_checkbox_finalize): Don't NULL-check before g_free.
	Test suite passes again.

	* src/print-info.c (load_range): Take Sheet argument too and
	supply it to the parser.  All callers changed.
	(print_info_new): Take Sheet argument too.  All callers changed.
	(print_info_dup): Constify.  Take extra Sheet argument; all
	callers changed.  Copy field-by-field.  Free clobbered page
	breaks.
	(gnm_page_breaks_free): Handle NULL.
	(gnm_page_breaks_new): Drop optional argument len.  All callers
	changed.

	* src/position.c (gnm_cellpos_hash, gnm_cellref_hash,
	gnm_rangeref_hash): Improve these in light on variable-size
	sheets.
	(gnm_rangeref_normalize): : Evaluate sheets early so we can ship them
	to gnm_cellpos_init_cellref.

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

	* src/parse-util.c (col_parse, row_parse): Handle MAGIC_MAX_SHEET.
	(std_sheet_name_quote): Use MAGIC_MAX_SHEET to query any possible
	sheet.
	(MAGIC_MAX_SHEET): Define locally.

	* src/sheet-view.c (sv_set_edit_pos): Don't do anything -- not
	even checks on position -- if the new position is the same as the
	old one.  If we do change, make sure we have a sheet.

	* src/sheet.c (gnm_sheet_get_max_rows, gnm_sheet_get_max_cols):
	Complain if sheet is NULL.

	* src/selection.c (sheet_selection_set_internal): If we don't have
	a sheet yet, don't enable insert/delete.

2009-04-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.h (cmd_so_set_checkbox): new
	* src/commands.c (cmd_so_set_checkbox): new
	(cmd_so_set_checkbox_redo): new
	(cmd_so_set_checkbox_undo): new
	(cmd_so_set_checkbox_finalize): new
	* src/sheet-object-widget.h (sheet_widget_checkbox_get_link): new
	* src/sheet-object-widget.c (sheet_widget_checkbox_get_link): new
	(cb_checkbox_config_ok_clicked): call cmd_so_set_checkbox

2009-04-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_so_set_frame_label_redo): new
	(cmd_so_set_frame_label_undo): new
	(cmd_so_set_frame_label_finalize): new
	(cmd_so_set_frame_label): new
	* src/commands.h (cmd_so_set_frame_label): new
	* src/sheet-object-widget.c (sheet_widget_frame_set_label): new
	(cb_frame_config_ok_clicked): call cmd_so_set_frame_label
	(cb_frame_config_cancel_clicked): use sheet_widget_frame_set_label
	(cb_frame_label_changed): ditto
	* src/sheet-object-widget.h (sheet_widget_frame_set_label): new

2009-04-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (gboolean cmd_so_set_links): new
	(CmdSOSetLink): new
	(cmd_so_set_links_redo): new
	(cmd_so_set_links_undo): new
	(cmd_so_set_links_finalize): new
	* src/commands.h (gboolean cmd_so_set_links): new
	* src/sheet-object-widget.c (list_content_eval): permit dep->texpr to
	  be NULL.
	(sheet_widget_list_base_set_links): empty the list as necessary

2009-04-10  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-so-filled.c: fixed after GogStyle -> GOStyle rename.
	* src/gnm-so-line.c: ditto.
	* src/gnm-so-polygon.c: ditto.

2009-04-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
	for:  John Rea

	* templates/english/calendar.gnumeric: new
	* templates/english/Makefile.am: added above file

2009-04-06  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

	Adapt to the naming consistency fix in goffice.

	/\bGO_([A-Z,_)*]_TYPE\b/GO_TYPE_$1/
	/\bGOG_([A-Z,_)*]_TYPE\b/GOG_TYPE_$1/
	/\bGo([A-Z])/GO$1/
	/\bIS_GO_/GO_IS_/
	/\bIS_GOG_/GOG_IS_/

2009-04-05  Jody Goldberg <jody@gnome.org>

	From: Vivien Malerba <vmalerba@gmail.com>
	* configure.in : bump to libgda4.

2009-04-04  Jody Goldberg <jody@gnome.org>

	* src/gnumeric.h : bump GNM_MAX_COLS to accomodate XL2007.
	* src/sheet-style.c (sheet_style_init) : Use TILE_SIZE_ to init.

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

	* src/parse-util.c (col_parse, row_parse, cellref_a1_get,
	r1c1_get_index, cellref_r1c1_get, cellref_parse, cellpos_parse):
	Take sheet argument.  All callers fixed.

	* src/libgnumeric.c (gnm_sheet_max_cols, gnm_sheet_max_rows):
	Remove.  All uses were wrong anyway.
	(libspreadsheet_options): Remove --columns and --rows.

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

	* src/stf.c (stf_read_workbook_auto_csvtab, stf_read_workbook):
	Create sheet as big as needed.

	* src/stf-parse.c (stf_parse_sheet): Handle failure without
	messing up the locale.

	* src/ranges.c (range_make_full, range_ensure_sanity,
	range_transpose, range_is_full, range_translate): Take sheet
	argument for size.  All callers changed.

	* src/xml-io.c (xml_node_get_range): Take sheet argument for size.
	All caller changeds.

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

	* src/ranges.c (range_clip_to_finite): Use the sheet.

	* src/format-template.c (format_template_new): Switch hash key to
	GnmCellPos so we can handle large sheets.

	* src/workbook.c (workbook_sheet_add): Require a size.  All
	callers changed.
	(workbook_sheet_add_size): Remove.  Map all callers to
	workbook_sheet_add.

	* src/sheet.c (sheet_new): Require a size.  All callers changed.
	Note: some callers need to be fixed to provide the right size.
	(sheet_new_with_size): Remove.  All callers mapped to sheet_new.

	* src/print-info.c (render_timestamp_with_format): Renamed form
	render_value_with_format.  Date convention issues fixed.

	* src/workbook.c (workbook_set_date_conv): New function.

	* src/xml-sax-read.c (xml_sax_calculation): Use
	workbook_set_date_conv.

	* src/ranges.c (range_init_full_sheet, range_init_cols,
	range_init_rows): Take a sheet argument.  All callers changed.
	Fixes #577675.

2009-04-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk.c (wbcg_sheet_focus): scg might be NULL

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

	* src/wbc-gtk.c (wbcg_append_sheet, wbcg_insert_sheet): Use size
	of active sheet.

	* src/wbc-gtk.c (wbc_gtk_init): Disabled SheetSizedInsert as
	appropriately.

	* src/main-application.c (main): Complain if --rows or --columns
	are disabled.

	* src/sheet-style.c (cb_style_list_add_node): Fix type confusion
	for user pointer.  Fixes #577561.

	* src/expr-name.c (expr_name_name): New function.
	* */*.c: don't include str.h unless we have to.

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

	* src/sheet.c (gnm_sheet_class_init): Install new workbook
	property.
	(gnm_sheet_get_max_rows, gnm_sheet_get_max_cols): Complain if
	called too early in sheet construction.
	(sheet_set_zoom_factor, sheet_set_display_formulas): Don't call
	sheet_scale_changed during sheet construction.
	(gnm_sheet_constructor): Call it here instead.

	* src/xml-sax-read.c (xml_sax_wb_sheetsize): Set the right
	attribute.

	* src/sheet.c (sheet_new_with_type): Move most of this into a
	constructor.
	(gnm_sheet_class_init): Install new property "sheet-type".

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

	* */*.[ch]: Install variable-sheet-size patch from 168875.  (Work
	of Jean with help from Andreas and me.)  Note: all gui parts of
	are turned off for now.  Search for GNUMERIC_VARIABLE_SHEET_SIZE.

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

	* src/wbc-gtk.c (sheet_menu_label_run): Simplify and add sorted
	sheet menu too.

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

	* src/sheet.c (sheet_row_set_default_size_pixels,
	sheet_row_set_default_size_pts): Add preconditions like in the
	_col_ counterparts.  Fixes #577145.

	* src/graph.c: Stop accessing private members of values.  Use
	value_peek_string instead.

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

	* src/graph.c: Improve handling of date conversions.

2009-03-26  Morten Welinder  <terra@gnome.org>

	* src/gnm-plugin.c (plugin_service_ui_activate): Free layout here.

	* src/application.c (gnm_app_add_extra_ui): constify layout and copy it.
	(gnm_app_remove_extra_ui): Destroy layout here.

2009-03-25  Morten Welinder  <terra@gnome.org>

	* src/gnm-format.c (gnm_format_is_time_for_value): Simplify.

	* src/stf-export.c (try_auto_date): Check validity of date.
	Handle elapsed times.  Sneakily also handle negative date serials
	if goffice does.

2008-12-10  Jody Goldberg <jody@gnome.org>

	* src/xml-io.c (xml_probe) : split out the content test into ...
	(gsf_xml_probe) : here.  Then generalize it a bit and use the SAX2
			  startElement routine to handle name spaces.
	(gnm_xml_probe_element) : handle the .gnumeric specific checks here.
	    1) root element == Workbook
	    2) Workbook is in a namespace that contains 'gnumeric'

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

	* configure.in: Post-release bump.

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

	* Release 1.9.5

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

	* src/sheet-object-widget.c (sheet_widget_radio_button_create_widget):
	Set label.
	(sheet_widget_adjustment_get_ref, sheet_widget_checkbox_get_ref,
	sheet_widget_list_base_get_ref): Remove.
	(so_get_ref): New generic function replacing the above.
	(sheet_widget_adjustment_clear_sheet, sheet_widget_checkbox_clear_sheet,
	sheet_widget_radio_button_clear_sheet, sheet_widget_list_base_clear_sheet):
	Remove.
	(so_clear_sheet): New generic function replacing the above.

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

	* configure.in (gnumeric_reqs): Require glib 2.12 for
	g_hash_table_remove_all.

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

	* src/main-application.c (warn_about_ancient_gnumerics): Remove --
	it last served a useful purpose 6-8 years ago.

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

	* src/main-application.c (main): Reconnect the no-splash and
	no-warnings flags.

	* src/wbc-gtk.c (sheet_menu_label_run): Toss the sheets into a
	submenu and display it regardless of how many sheets we have.

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

	* src/number-match.c (datetime_locale_setup): Handle the nb_NO
	case where abbreviated months end in a period by making that
	period optional on entry.

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

	* src/number-match.c (format_match): Use
	go_format_default_accounting.

	* src/wbc-gtk-actions.c (cb_format_as_accounting): Ditto.

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

	* src/gnm-format.c (gnm_format_frob_slashes): Import from
	number-match and make public.  Rename from frob_slashes.  All
	callers changed.
	(gnm_format_for_date_editing): Change slashes to whatever the
	locale uses.

2009-03-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/ssgrep.c (string-table-count): correct option description
	  [#575360]

2009-03-14  Jean Brefort  <jean.brefort@normalesup.org>

	* configure.in: check if goffice uses gconf and make gconf use
	independent from the with-gnome option. [#574813]
	* schemas/Makefile.am: ditto.

2009-03-13  Jody Goldberg <jody@gnome.org>

	* po/LINGUAS : rename sr@Latn -> sr@latin to maintain compatibility
	  with gtk and simplify win32 packaging.

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

	* src/number-match.c (frob_slashes): New function to replace
	hardcoded slashes with whatever the locale uses for date
	separation.
	(format_match_datetime): Call frob_slashes as needed.  Free
	date_format as needed.

	* src/cell.c (gnm_cell_set_format): Improve precondition.

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

	* src/sheet-control-gui.c (scg_drag_data_get): Handle
	GNUMERIC_SHEET target too.  Fixes #574763, caused by patch from
	#523033.

2009-03-13  Jody Goldberg <jody@gnome.org>

	* src/gnm-pane.c (gnm_pane_realize) : clear the 'im_block_edit_start' flag.
	(gnm_pane_unrealize) : set the flag.

	* src/application.c (gnm_app_add_extra_ui) : take a group name.
	(gnm_app_remove_extra_ui) : patch minor leak.
	* src/gnm-plugin.c (plugin_service_ui_activate) : use the supplied
	  group name rather than a static name that is shared between all
	  custom ui.

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

	* src/wbc-gtk-actions.c (cb_file_sendto): Import from
	wb_view_sendto and use go_gtk_url_show.  Plug leak.

	* src/workbook-view.c (wb_view_save_to_uri): Rename from
	wbv_save_to_uri and make public.
	(wb_view_sendto): Remove.

2009-03-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print-cell.c (print_cell_gtk): shift rotated text into the
	  correct position! Fixes #574813

2009-03-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.h (cmd_so_set_value): add Sheet* argument.
	  Fixes #574734

	* src/commands.c (cmd_so_set_value): use new Sheet* argument
	  that gives the sheet of the widget rather than the sheet of the
	  associated cell

	* src/sheet-object-widget.c: adjust all callers of cmd_so_set_value

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

	* Makefile.am (gnumeric.desktop): Always use URIs.  Fixes #574816.

2009-03-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/func.c (function_def_get_arg_name): don't translate an
	  empty argument name since you wouldn't get what you expect.

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

	* src/item-cursor.c (struct _ItemCursor): Track last (x,y) for
	mouse.
	(item_cursor_event): Set (x,y).
	(item_cursor_tip_setlabel): Use (x,y) for position.

	* src/item-grid.c (struct _ItemGrid): Track last (x,y) for mouse.
	(cb_cursor_come_to_rest): Use last (x,y) to position the tip.

	* src/gui-util.c (gnumeric_create_tooltip): Take a reference
	widget instead of a GdkScreen.  All callers changed.
	(gnumeric_position_tooltip): Get position as argument instead of
	asking where the mouse cursor is by the time we get here.  All
	callers changed.

2009-03-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet.c (sheet_get_printarea): If the print area has been set
	  to something other than the full sheet, always use the whole
	  print area.

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

	* configure.in (gtk+): Require 2.12 for
	gtk_tree_view_convert_bin_window_to_widget_coords.

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

	* src/sheet-control-gui.c (scg_drag_receive_same_process): Make it
	clear we are only getting the modifier mask.

	* src/gui-util.c (gnumeric_position_tooltip): Make this multihead
	safe too.

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

	* src/gui-util.c (gnumeric_create_tooltip): Add extra screen
	argument so we can pop up on the right screen.  All callers
	changed.

	* src/gnm-pane.c (gnm_pane_display_obj_size_tip): Make this
	multihead safe.

	* src/wbc-gtk.c (cb_sheet_label_drag_begin): Pop up the arrow on
	the right screen.

	* src/sheet-control-gui.c (scg_comment_display): Pop up the cell
	comment on the right screen and at coordinates relating to that
	screen.

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

	* configure.in: Post release version bump

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

	* Release 1.9.4

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

	* src/colrow.c (colrow_reset_defaults): Retry this mess.

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

	* src/ssconvert.c (convert): Don't complain over multiple sheets
	when there is only one.  Fixes #572448.

	* src/wbc-gtk.c (set_toolbar_style_for_position): The GTK+
	busy-bodies have deprecated gtk_toolbar_set_orientation in favour
	of gtk_orientable_set_orientation.  Attempt (blindly!) to switch
	if we have gtk_orientable_set_orientation.

	* configure.in (with_corba): Disable.  Fixes #572356.

	* src/colrow.c (colrow_reset_defaults): Toughen this up a bit to
	avoid situations like 568010.

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

	* src/stf-parse.c (stf_parse_general): Flag row overflow.

	* src/stf.c (stf_read_workbook_auto_csvtab): Check for row
	overflow too.  Fixes #517603.

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

	* src/dependent.c (gnm_dep_container_dump): Take sheet too, so
	redundant sheet names in output can be suppressed.
	(dump_single_dep, dump_range_dep): Ditto.
	(dependent_debug_name_for_sheet): New function.

	* src/expr.c (gnm_expr_eval): Make sure parentheses do not take up
	stack space.

	* src/stf-parse.c (stf_cell_set_text): New function.
	(stf_parse_sheet): Use stf_cell_set_text, not gnm_cell_set_text.
	Fixes #571129.

	* src/gui-clipboard.c (table_content_received): Check both windows
	and unix versions of target atoms.  Fixes #564166.

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

	* gnumeric.desktop.in (MimeType): Do not advertise deprecated
	comma-separated-values mime type.  Fixes #571073.

	* src/stf.c (stf_init): Ditto.

2009-02-05  Morten Welinder  <terra@gnome.org>

	* src/gui-clipboard.c (x_targets_received): Activate debugging
	code, see http://bugzilla.gnome.org/show_bug.cgi?id=564166#c4

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

	* src/main-application.c (main): Set UTF-8 for gnumeric-functions
	too.

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

	* src/gutils.c (gnm_regcomp_XL): Take new argument "full" for
	indicating that the match must be for the full string.  All
	callers changed.

2009-01-31  Morten Welinder  <terra@gnome.org>

	* src/parser.y (build_range_ctor): Use gnm_expr_new_range_ctor,
	not build_binop.

	* src/expr.c (gnm_expr_new_range_ctor): New function.

2009-01-30  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in: Change the help strings not to have curly braces in
	them ("--{with,without}-foo") as this caused newer versions of aclocal
	to fail.

2009-01-30  Diego E. Flameeyes Pettenò   <flameeyes@gentoo.org>

	* configure.in: Fix help strings.  (#569842)

2009-01-29  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (cb_add_custom_ui): Handle merge failure.  Work
	around bug #569724.

	* src/parse-util.c (rangeref_parse): Fix parsing problem for
	"a12:indirect(...)".  Fixes #569730.

2009-01-29  Jean Brefort  <jean.brefort@normalesup.org>

	* src/selection.c: (sv_selection_to_plot): really share x values.

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

	* src/gutils.c (gnm_regcomp_XL): Simplify and fixing quoting of ?.

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

	* src/wbc-gtk.c (sheet_menu_label_run): If there are more sheets
	than we can show, put a list of sheets into the menu.

2009-01-25  Morten Welinder  <terra@gnome.org>

	* src/dependent.c (link_range_dep, unlink_range_dep): Restrict the
	range that goes into the bucket to the intersection of the source
	range and the bucket area.  This improves dependency search
	efficiency markedly when a large number of large ranges are in
	play.  Fixes performance part of #567389.

2009-01-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print.c (compute_group): use g_warning rather than
	g_return_val_if_fail. Fixes 568991.

2009-01-24  Morten Welinder  <terra@gnome.org>

	* src/gutils.c (running_in_tree): Make this a separate function.
	Fix for ssconvert and friends.

2009-01-22  Morten Welinder  <terra@gnome.org>

	* src/commands.c (select_range): If the sheet and wbc are for
	different workbooks, do nothing.  Fixes #568634.

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

	* src/dependent.c (dependent_eval): Clear GNM_CELL_HAS_NEW_EXPR
	here.  Otherwise expressions loaded from files will appear to have
	new expressions even after they were recalculated.

	* src/func.c (function_call_with_exprs): If we are not doing
	implicit iteration, use gnumeric_if instead of gnumeric_if2.
	Fixes #326595.

	* src/func-builtin.c (gnumeric_if): Import from fn-logical.
	Change help to new style.
	(gnumeric_if2): Variant that takes the argument un-eval'd.

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

	* configure.in (gnumeric_reqs): Require glib 2.10.

2009-01-16  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-pane.c: (cb_sheet_object_canvas_event): do not select an
	existing sheet object when creating a new graph. [#151789]

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

	* src/expr.c (gnm_expr_eval): Set value format properly.

	* src/value.h (VALUE_FMT): Make result const and an r-value.  All
	users changed as needed.
	* src/number-match.h (format_match, format_match_number): Make the
	cur_fmt argument const.
	* src/mstyle.c (gnm_style_set_format): Make the format argument
	const.
	* src/parse-util.c (parse_text_value_or_expr): Make the cur_fmt
	argument const.
	* src/cell.c (gnm_cell_get_format): Make the result const.  All
	callers changed as needed.

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

	* src/cell.c (gnm_cell_get_entered_text): Apply cell format as
	well as value format.  Applying only value format is certainly
	wrong.

2009-01-11  Jody Goldberg <jody@gnome.org>

	* src/gui-util.c (gnumeric_create_popup_menu) : support sub-menus

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

	* src/gutils.c (gutils_init): Make detection of in-tree running
	work with newer libtools.

2009-01-11  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* src/xml-sax-read.c: (xml_sax_attr_range, xml_sax_style_region_start):
	Don't crash on old gnumeric files which have gnm:StyleRegion tags
	without attributes in them. (Debian #510929)

2009-01-09  Jean Brefort  <jean.brefort@normalesup.org>

	* src/graph.c: (gnm_go_data_vector_get_str): set -1 as format length.
	[#552721]

2008-12-31  Jean Brefort  <jean.brefort@normalesup.org>

	* src/graph.h: add widgets to force using rows/columns as chart series,
	and to use first row/column as shared x values in scatter plots.
	* src/selection.c: (sv_selection_to_plot): ditto.
	* src/sheet-object-graph.c: (cb_graph_data_closure_done),
	(cb_selection_mode_changed), (cb_shared_mode_changed),
	(sheet_object_graph_guru): ditto.

2008-12-30  Morten Welinder  <terra@gnome.org>

	* configure.in (LIBS): Up pango requirement modestly.
	* src/main-application.c (main): Drop check for old pango bug.

	* src/main-application.c (main): Conditionalize closing of
	displays.  Set GNM_DEBUG=close-displays.

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

	* src/libgnumeric.c (gnm_pre_parse_init): Call g_type_init here
	too.  libgoffice_init currently assumes it indirectly.

2008-12-19  Morten Welinder  <terra@gnome.org>

	* src/search.c (gnm_search_replace_query_fail,
	gnm_search_replace_query_cell, gnm_search_replace_query_comment):
	New functions to hide the details of how to query.

	* src/commands.c (cmd_search_replace_do_cell): Simplify using
	gnm_search_replace_query_fail, gnm_search_replace_query_cell, and
	gnm_search_replace_query_comment.

2008-12-15  Morten Welinder  <terra@gnome.org>

	* src/gnm-datetime.c (gnm_datetime_allow_negative): New function.
	(datetime_value_to_serial_raw): Err on negative date numbers
	unless goffice supports them.

2008-12-14  Morten Welinder  <terra@gnome.org>

	* src/gnm-datetime.c (datetime_value_to_serial): Handle overflow.
	(datetime_value_to_g): Use G_MAXINT for errors.
	(datetime_value_to_serial_raw): Make static.  Return G_MAXINT for
	errors.
	Fixes #564502.

2008-12-13  Emmanuel Pacaud <emmanuel@gnome.org>

	Add a workaround for the murrine theme warnings.

	* src/item-bar.c (ib_draw_cell): here.
	* src/sheet-control-gui.c (cb_select_all_btn_expose): here.

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

	* src/xml-sax-write.c (xml_write_number_system): New function to
	dump information on the number system used.
	(xml_write_calculation): Call xml_write_number_system.
	(gnm_cellregion_to_xml): Call xml_write_number_system.
	(gnm_xml_file_save): Move call to xml_write_calculation before the
	sheets.

	* src/parse-util.c (gnm_conventions_new_full): Default value
	GNM_DIG for new field output.decimal_digits.

	* src/value.c (value_get_as_gstring): Use number of digits from
	output.decimal_digits.

	* src/xml-sax-write.c (gnm_xml_io_conventions): Increase the
	number of decimal digits used for output to avoid rounding errors
	and overflow.  Fixes #552464.

	* src/xml-sax-read.c (xml_sax_cell_content): Turn expressions that
	do not parse into strings.

2008-12-12  Morten Welinder  <terra@gnome.org>

	* src/stf-parse.c (stf_parse_options_guess_csv): New function.

	* src/stf.c (stf_read_workbook_auto_csvtab): If the filename
	suggest a scv file, use stf_parse_options_guess_csv.

2008-12-11  Morten Welinder  <terra@gnome.org>

	* src/application.c (cb_flag_windows_changed): Don't send the
	signal if Elvis has left the building.

	* src/parser.y (unregister_allocation): Check the whole stack if
	we have to.  Fixes #564077.

2008-12-09  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (wbcg_sheet_remove_all): Kill the current scg
	last.
	(wbc_gtk_setup_icons): Shut down the icon factory on exit.
	(add_icon): Plug leaks.

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

	* src/gnumeric-gconf.c (gnm_conf_shutdown): Plug leaks.

	* src/gnm-plugin.c (plugin_service_ui_activate): Plug leak.

	* src/ssgrep.c (main): Plug leak.
	* src/ssconvert.c (main): Plug leak.
	* src/ssindex.c (main): Plug leak.

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

	* src/xml-sax-write.c (gnm_cellregion_to_xml): Set state.sheet so
	we can init parse positions later.

	* src/xml-io.c (xml_cellregion_read): Copy the string.  It need
	not be null terminated.  Assign ctxt->sheet.
	(xml_read_sheet_object): New argument, assign, to explicitly
	control whether to assign the object to the sheet.  Fixes #556561.

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

	* src/parser.y (is_signed): New function.
	(yylex/^): If left side is negated, add a parenthesis.
	Fixes last part of #115941.

2008-11-30  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (wbcg_sheet_remove_all): Don't destroy the
	notebook -- we will need it later when we replace a pristine
	workbook with a new.  Fixes #562662.

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

	* src/dependent.c (link_expr_dep): Treat GNM_EXPR_OP_RANGE_CTOR
	and GNM_EXPR_OP_INTERSECT as any other binary operator.  Fixes
	#562363.

	Enable drag of whole sheets to other apps.  #523033, initial patch
	by Lutz Mueller.

	* src/wbc-gtk.c (cb_sheet_label_drag_data_get): Use
	scg_drag_data_get.
	(wbcg_sheet_add): Add more drag types.

	* src/sheet-control-gui.c (scg_drag_send_text): New function.
	(scg_drag_data_get): Protect against null scg->selected_objects.
	(scg_drag_data_get): Handle UTF8_STRING.

2008-11-26  Jody Goldberg <jody@gnome.org>

	* configure.in : Define GNUMERIC_PLUGIN_LDFLAGS after
	  GNUMERIC_LIBS is defined.

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

	* src/application.c (gnm_app_detachable_toolbars): New function.

	* src/wbc-gtk.c (cb_add_menus_toolbars): Use
	gnm_app_detachable_toolbars.

	* src/gnumeric-gconf.c (gnm_conf_init_essential): Setup
	->detachable_toolbars.

2008-11-23  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (wbcg_sheet_add): Add a SHEET_CONTROL_KEY for the
	labels too.
	(get_scg): New function to retrieve and scg for a tab label or
	sheet table widget.  Simplify drag handling code using this.
	(wbcg_sheet_remove_all): Make sure disconnection happens for sheet
	signals, even when we shut down the wbcg.
	(wbcg_set_direction): Split from cb_direction_change.  Change
	direct callers of cb_direction_change to use wbcg_set_direction.
	(wbcg_sheet_add): Don't init scg->label here.
	(wbcg_set_end_mode): Translate "END".
	(wbcg_get_n_scg): New function.

	* src/sheet-control-gui.c (sheet_control_gui_new): Keep a ref for
	->table and ->label.  Init ->label here.
	(scg_finalize): Unref here.

	* src/wbc-gtk-impl.h (struct _WBCGtk): Add a paned for sheet tabs
	and the progress bar.  Split notebook into ->snotebook (for the
	sheet tables) and ->bnotebook for the tabs.  Make the latter a
	GnmNotebook.  All users changed accordingly.

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

	* src/sheet-control-priv.h (struct _SheetControl): Remove sheet
	member.  All users changed to use view.

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

	* src/wbc-gtk.c (wbcg_menu_state_sheet_count,
	sheet_menu_label_run): Count visible sheets only.
	(cb_sheet_visibility_change): Attach with wbcg as data and call
	wbcg_menu_state_sheet_count.

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

	* configure.in: Remove check for gcc 2.96.  Remove gb support.
	Clean up.  Make non-gnome the default.

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

	* */*.c: Fix problem with formats. Patch from Hib Eris, #559291.

	* src/wbc-gtk.c (toolbar_context_menu): Deal with the
	non-handle-bar case.  Patch from Hib Eris, #559249.

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

	* configure.in (gnumeric_gnome_reqs): libgnomeui is a gnome dep,
	not a gtk dep.

	* src/main-application.c (main): Add a signal handler on the
	application object to terminate the mainloop when the last
	workbook is removed.  Also, only warn about ancient non-stable
	Gnumeric binaries.

	* src/workbook.c (workbook_finalize): Don't try to terminate the
	mainloop here.

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

	* src/main-application.c (call_gnome_authentication_manager_init):
	Call gnome_authentication_manager_init only if someone linked it
	in.

	* src/libgnumeric.c (call_gnome_vfs_init): Call gnome_vfs_init
	only if someone linked it in.

2008-10-31  Jean Brefort  <jean.brefort@normalesup.org>

	* src/selection.c: (sv_selection_to_plot): fix selection for contour
	 and surface plots.

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

	* src/style.c (gnm_font_shutdown): Workaround for 558100 and
	558254.  Thanks to Hib Eris and Behdad for debugging.

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

	* src/commands.c (cmd_hyperlink_finalize): Don't check for NULL
	before g_free.

2008-10-25  Morten Welinder  <terra@gnome.org>

	* src/gnumeric-gconf.c (gnm_conf_shutdown): Free even more.

	* src/main-application.c (main): Close all displays on exit.

	* src/gnumeric-gconf.c (gnm_conf_shutdown): Free more, zero whole
	prefs, NULL gnm_app_prefs.

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

	* src/wbc-gtk.c (wbc_gtk_finalize): Massive leak fix.
	* configure.in (libspreadsheet_reqs): Bump goffice req to avoid
	criticals.

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

	* src/sheet.c (schedule_reapply_filters): New function.
	(sheet_insert_cols, sheet_insert_rows, sheet_delete_cols,
	sheet_delete_rows): Make sure filters get reapplied on undo after
	we put the contents back in.

	* src/sheet-filter.c (gnm_filter_condition_free): Rename from
	gnm_filter_condition_unref.  Actually free the condition.  Make
	static.
	(gnm_filter_condition_dup): Make static.
	(gnm_filter_combo_index): New function.
	(gnm_filter_add_field): Hold onto a reference to the fcombo.
	(gnm_filter_free): Free the fcombo reference.
	(gnm_sheet_filter_insdel_colrow): Handle fcombo references.
	Reapply filter when fields are removed.,
	(gnm_filter_reapply, gnm_filter_update_active): Extract from
	gnm_filter_set_condition.

	* src/sheet.c (sheet_delete_cols, sheet_delete_rows): Make sure
	auto-filter objects do not get kept by sheet object undo.  This
	fixes the crash in #557591.

	* src/sheet-filter.c (gnm_sheet_filter_insdel_colrow): Insert new
	filters left-to-right so anchors get set right.  Fixes #557237.
	Avoid expensive updates if no filter changes.

2008-10-22  Morten Welinder  <terra@gnome.org>

	* src/xml-io.c (xml_cellregion_read): Copy the string.  It need
	not be null terminated.  Assign ctxt->sheet.
	(xml_read_sheet_object): New argument, assign, to explicitly
	control whether to assign the object to the sheet.  Fixes #556561.

2008-10-19  Jody Goldberg <jody@gnome.org>

	* configure.in : version bump.

2008-10-18  Jody Goldberg <jody@gnome.org>

	* Release 1.9.3

2008-10-18  Jody Goldberg <jody@gnome.org>

	* tools/win32/moduleset : use the latestest shiniest glib/gtk

	* configure.in : add a GOFFICE_API_VER for use in the .pc file.
	* libspreadsheet.pc.in : drop the old mising LIBGOFFICE variables, and
	  use the new tidy ones.

2008-10-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/item-cursor.c (item_cursor_target_region_ok): delete
	(item_cursor_do_action): don't bother to call
	  item_cursor_target_region_ok

2008-10-18  Morten Welinder  <terra@gnome.org>

	* src/gui-clipboard.c (set_clipman_targets): Plug leak.

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

	* src/parser.y (workbook names): Fix cut-and-paste problem in
	error reporting, see #552750, comments 8-9.

2008-10-15  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-read.c (xml_sax_style_region_end): Apply partial
	mstyles like in xml-io.c
	(xml_sax_style_region_start): Undo last change.

2008-10-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: added Kaplan-Meier tool menu item
	* src/GNOME_Gnumeric-gtk.xml.in: ditto
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* src/wbc-gtk-actions.c: added ToolsKaplanMeier

2008-10-15  Jody Goldberg <jody@gnome.org>

	* src/xml-sax-read.c (xml_sax_style_region_start) : always init the
	  full style just in case some ancient file comes along. [#555933]
	Add a stub for PrintUnit while we are here.

2008-10-01  Morten Welinder  <terra@gnome.org>

	* src/sheet.c (gnm_sheet_foreach_name): New function.

	* src/workbook.c (workbook_foreach_name): New function.

	* src/expr-name.c (gnm_named_expr_collection_foreach): New
	function.

2008-10-14  Jean Brefort  <jean.brefort@normalesup.org>

	* component/gnumeric.c: cleaned includes list and removed unused
	local variables.

2008-10-14  Jody Goldberg <jody@gnome.org>

	* src/main-application.c (main) : warning suppression on win32.

	* src/gutils.c (gutils_init) : replace deprecated function
	  g_win32_get_package_installation_directory with
	  g_win32_get_package_installation_directory_of_module

	* src/gnm-plugin.h (gnm_plugin_loader_module_get_type) : make public.

	* component/gnumeric.c : do not add magic 'extern' references.

2008-10-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: added frequency tool menu item
	* src/GNOME_Gnumeric-gtk.xml.in: ditto
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* src/wbc-gtk-actions.c: added ToolsFrequency

2008-10-10  Jody Goldberg <jody@gnome.org>

	* src/gnm-pane.c (cb_gnm_pane_preedit_changed) :
	  s/reseting_im/im_block_edit_start/ to clarify the intent, and to
	  reuse it for the initial focus problem.
	(gnm_pane_key_press) : move the explainitory comment here, where we
	  toggle im_block_edit_start rather than below when it happens.
	(gnm_pane_focus_in) : use it here too with the new im_first_focus.

2008-10-08  Morten Welinder  <terra@gnome.org>

	* configure.in: Call IT_PO_SUBDIR for po-functions.
	* autogen.sh: Don't try to distribute po-functions/LINGUAS

2008-10-09  Jody Goldberg <jody@gnome.org>

	* src/mstyle.c (gnm_style_new_merged) : support merging incomplete
	  styles, and clean up the docs.
	(gnm_style_merge) : avoid problems if someone does something silly.

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

	* configure.in: switch to new LINGUAS scheme.  Fixes #554348.
	* autogen.sh: ditto.

2008-10-04  Jean Brefort  <jean.brefort@normalesup.org>

	* component/gnumeric.c: render sheet objects using
	gnm_print_sheet_objects, and fixed cap for cell borders.
	* src/print-cell.c: removed the unused GtkPrintContext* argument.
	* src/print-cell.h: ditto.
	* src/print.c: renamed print_sheet_objects to gnm_print_sheet_objects,
	made it public, removed the unused GtkPrintContext* argument, and
	fixed objects position in layout (#554993).
	* src/print.h: ditto.

2008-10-04  Jean Brefort  <jean.brefort@normalesup.org>

	* component/gnumeric.c: (go_gnm_component_render): also render sheet
	objects.

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

	* src/collect.c (float_range_function2d): New function.
	(float_range_function2): Implement in terms on
	float_range_function2d.

2008-10-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	Fix for #553342
	* src/workbook-view.c (wb_view_selection_desc): add translator
	  comments

2008-10-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	Fix for #554818
	* src/stf.c (stf_text_to_columns): don't use markup
	  in the error message

2008-10-03  Jean Brefort  <jean.brefort@normalesup.org>

	* Makefile.am: reimplemented the gnumeric goffice component.
	* component/gnumeric.c: ditto.
	* configure.in: ditto.

2008-09-30  Morten Welinder  <terra@gnome.org>

	* src/colrow.c (colrow_make_state): Remove.

2008-09-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	Fix for #55338
	* src/sheet.c (gnm_sheet_class_init): remove extra space

2008-09-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	Fix for #535015
	* src/hlink.c (gnm_hlink_external_activate): complete code

2008-09-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (CmdAnalysis_Tool): add field
	(cmd_analysis_tool_undo): delete associated sheet objects
	(cmd_analysis_tool_draw_old_so): new
	(cmd_analysis_tool_redo): use the above
	(cmd_analysis_tool_finalize): handle new fields

2008-09-17  Jody Goldberg <jody@gnome.org>

	* src/mathfunc.c (random_landau) : Use 'I' not 'i' as per original
	  libgsl code. [Coverity 259].

2008-09-14  Jody Goldberg <jody@gnome.org>

	* src/selection.c (sv_selection_apply_in_order) : suppress warning.

2008-09-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	Fix for #152617
	* commands.h (cmd_selection_hyperlink): new
	* commands.c (cmd_selection_hyperlink): new
	(cmd_hyperlink_repeat): new
	(cmd_hyperlink_undo): new
	(cmd_hyperlink_redo): new
	(cmd_hyperlink_finalize): new
	(cb_cmd_hyperlink_find_cells): new

2008-09-11  Jody Goldberg <jody@gnome.org>

	* src/xml-sax-write.c (gnm_cellregion_to_xml) : add protection.
	  [Coverity 68]

2008-09-11  Morten Welinder  <terra@gnome.org>

	* src/func-builtin.c (gnumeric_table): Remove dead code.

	* src/print.c (gnm_print_sheet): Fix error check.

	* src/mathfunc.c (random_landau): Fix off-by-one.  I hope.

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

	* src/expr.h (gnm_expr_new_funcall4): new
	* src/expr.c (gnm_expr_new_funcall4): new

2008-09-07  Jody Goldberg <jody@gnome.org>

	* src/sheet.c (sheet_scale_changed) : split from.
	(sheet_set_zoom_factor) : here.
	(sheet_set_display_formulas) : used here.

	* src/print-cell.c (gnm_gtk_print_cell_range) : handle the doubling of
	  column width during 'display forumla' mode.

	* src/expr.c (gnm_expr_top_is_array) : new.

	* src/rendered-value.c (gnm_rendered_value_new) : Use a simpler syntax
	  to denote arrays.  The full form used in the entry is too verboase.

2008-09-02  Andreas Guelzow  <aguelzow@pyrshep.ca>

	Fix of #516052
	* src/selection.c (sv_selection_apply_in_order): new
	(selection_to_string): call sv_selection_apply_in_order
	  rather than sv_selection_apply

2008-09-02  Andreas Guelzow  <aguelzow@pyrshep.ca>

	Fix of #539734 (slight adjustment to Jean's patch)
	* src/print-cell.c (print_cell_gtk): anchor the lines of
	  rotated text correctly.

2008-09-02  Andreas Guelzow  <aguelzow@pyrshep.ca>

	Fix of #153578
	* src/print-cell.c: remove pcontext in whole file
	(print_cell_gtk): do not use a new pango context, the old one will
	  work much better.

2008-09-01  Andreas Guelzow  <aguelzow@pyrshep.ca>

	Partial fix of #153578
	* src/print-cell.c (print_cell_gtk): adjust for differences between
	  pixels and points.

2008-09-02  Jody Goldberg <jody@gnome.org>

	* src/search.c (gnm_search_replace_class_init) : add a property to be
	  used to search scripts.  NOT ENABLED yet.

	* src/ssgrep.c (search_string_table) : restore the old logic, and
	  extend it to agregate multiple matches and to search in VBA code if
	  available.
	(ssgrep) : enable search_string_table if -C/--string-table-count is
	  enabled.

2008-09-01  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* src/stf.c (csv_tsv_probe), src/stf-parse.c (stf_parse_general):
	Ignore / skip over byte-order mark. Fixes #549743.
	* src/stf-parse.c (stf_parse_general): data is arbitrary binary data
	(may contain nul bytes and need not be nul-terminated); call
	g_utf8_validate with appropriate parameters to handle arbitrary binary
	data.

2008-08-30  Andreas Guelzow  <aguelzow@pyrshep.ca>

	Implementation of #525368
	* src/print.c (PrintingInstance): add button_print_hidden_sheets
	(compute_pages): Include PRINT_ALL_SHEETS_INCLUDING_HIDDEN and exclude
	  hidden sheets from  PRINT_ALL_SHEETS. Rewrite  PRINT_SHEET_RANGE
	(workbook_visible_sheet_count): new
	(gnm_create_widget_cb): add checkbox
	(gnm_custom_widget_apply_cb): handle new checkbox
	* src/print.h (PrintRange): add PRINT_ALL_SHEETS_INCLUDING_HIDDEN

2008-08-30  Jody Goldberg <jody@gnome.org>

	* configure.in : Post release version bump

2008-08-29  Jody Goldberg <jody@gnome.org>

	* Release 1.9.2

2008-08-29  Morten Welinder  <terra@gnome.org>

	* src/gnm-format.c (gnm_format_import): Support-function to handle
	broken 1.6 formats.  Fixes #548414.

	* src/xml-sax-read.c (make_format): Handle broken 1.6 formats.

2008-08-29  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* gnumeric.desktop.in: Add a Version field; drop obsoleted
	"Application" from Categories field; changed DocPath field to
	X-GNOME-DocPath. The resulting gnumeric.desktop now validates without
	warnings using desktop-file-utils 0.15's desktop-file-validate.
	Fixes #512011.

2008-08-26  Morten Welinder  <terra@gnome.org>

	* src/number-match.c (value_is_error): Check for '#' here.
	(format_match_simple): Not here.
	(format_match): If matching fails in the existing-format case, try
	errors too.  Fixes #546759.

2008-08-25  Andreas Guelzow  <aguelzow@pyrshep.ca>

	Fix for #549247
	* src/print.c (print_page): fix caclulation of footer location

2008-08-25  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk-actions.c (insert_date_time_common): Make sure cell
	exists so gnm_format_for_date_editing can get the format.  Fixes
	#540198.

2008-08-25  Jody Goldberg <jody@gnome.org>

	* src/ssgrep.c (main) : move the gnm_init up to init goffice and gsf
	  before opening a file.
	    *
2008-08-24  Jody Goldberg <jody@gnome.org>

	* configure.in : Add check for gsf_infile_msvba_steal_modules.

2008-08-23  Jody Goldberg <jody@gnome.org>

	* src/style.c (gnm_pango_context_get) : handle recent pango
	  deprecation.

2008-08-21  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-so-filled.c: (gnm_so_filled_read_xml_dom),
	(gnm_so_filled_write_xml_sax), (sof_sax_style): use GOPersist.
	* src/gnm-so-line.c: (gnm_so_line_read_xml_dom),
	(gnm_so_line_write_xml_sax), (sol_sax_style): ditto.

2008-08-20  Jody Goldberg <jody@gnome.org>

	* gnumeric.desktop.in : We should really auto generate this.  For now,
	  add some dbf mime types to see if that helps the ubuntu folk. #542780

2008-08-11  Jean Brefort  <jean.brefort@normalesup.org>

	* src/xml-sax-read.c: (xml_sax_colrow): accept any order for attributes
	for ColRowInfo. [#547183]

2008-08-03  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in: Bumped goffice dependency as the sax export now uses
	the two-argument form of go_doc_init_write which is new.

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

	* src/xml-sax-read.c: (xml_sax_go_doc), (gnm_xml_file_open):
	save images used as background in charts. [#348780]
	* src/xml-sax-write.c: (gnm_xml_file_save),
	(gnm_cellregion_to_xml): load images used as background in charts.

2008-07-25  Morten Welinder  <terra@gnome.org>

	[Initial patch from Nick Lamb, see bug 69813.]

	* src/expr.h (enum GnmExprOp): Add new GNM_EXPR_OP_PAREN for
	parentheses.

	* src/parser.y: Create GNM_EXPR_OP_PAREN node.

	* src/auto-format.c (do_af_suggest): Handle GNM_EXPR_OP_PAREN.
	* src/expr.c (gnm_expr_eval): Ditto.

2008-07-23  Morten Welinder  <terra@gnome.org>

	* src/collect.c (collect_floats): When requested, sort.

2008-07-19  Jody Goldberg <jody@gnome.org>

	* tools/win32/gnumeric.nsi.in : enclose the gnumeric path in
	  quotes too. [#542872]

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

	* src/ssgrep.c (main): Support -v and --print-type.

	* src/search.c (gnm_search_filter_matching): Handle new invert
	flag.

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

	* src/ssgrep.c (main): Support -q -c -i -w -h -H -n -l -L -F.

2008-07-08  Jean Brefort  <jean.brefort@normalesup.org>

	* src/sheet-object-widget.c: (sheet_widget_button_prep_sax_parser):
	use the correct property name, i.e. "text" instead of "label".

2008-07-02  Jody Goldberg <jody@gnome.org>

	* configure.in : add a test for gsf_open_pkg_foreach_rel to avoid
	  bumping libgsf version req yet.  It will be updated for the next
	  STABLE release, but this will give the update time to percolate
	  through the distros.

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

	* src/gnm-datetime.c (yearfrac): Guard against invalid dates.

2008-06-27  Morten Welinder  <terra@gnome.org>

	* src/gnm-datetime.c (gnm_date_add_days, gnm_date_add_months): New
	functions.

	* src/sheet-autofill.c (afm_compute): Simplify using
	gnm_date_add_months.

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

	* src/mathfunc.c (phyper): Short-circuit x>=NR case.  Fixes
	#540211.

2008-06-25  Jody Goldberg <jody@gnome.org>

	* doc/C/Makefile.am : ship ssgrep.1 and gnumeric-C.omf

2008-06-25  Jody Goldberg <jody@gnome.org>

	* Release 1.9.1

2008-06-23  Morten Welinder  <terra@gnome.org>

	* src/gnm-datetime.c (datetime_value_to_g): Clear date in case of
	failure.  Fixes #539808.

2008-06-22  Jody Goldberg <jody@gnome.org>

	* src/wbc-gtk.c (cb_direction_change) : Only change the direction for
	  the current scg. [#499910]

2008-06-22  Jody Goldberg <jody@gnome.org>

	* src/gnm-pane.c (gnm_pane_expr_cursor_bound_set) : use blue instead
	  of red for default range selector cursor.
	* src/item-cursor.c (item_cursor_expr_range_event) : new.

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

	* src/sheet-object-graph.c: (sog_datas_set_sheet): set the workbook
	as the graph document to support the new image framework.
	* src/workbook-control.c: (wb_control_set_view): set the document for
	the underlying GOControlDoc.

2008-06-21  Jody Goldberg <jody@gnome.org>

	* src/gnm-pane.c (gnm_pane_header_init) : Add a GtkAlignment wrapper
	  to the col/row headers to avoid problems when scaling to very small
	  sizes with group buttons. [#154687]

2008-06-21  Jody Goldberg <jody@gnome.org>

	* src/sheet-control-gui.c (scg_mode_edit) : unselect objects even
	  during destruction.

2008-06-19  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (wbcg_error_error_info): Quote markup.  Fixes
	#386412.

2008-06-19  Jody Goldberg <jody@gnome.org>

	* src/wbc-gtk.c (scg_get_nth_scg) : new convenience routine to
	  localize use of SHEET_CONTROL_KEY, and add some safety checks.
	(wbcg_get_scg) : Use it.
	(cb_sheet_label_drag_data_get) : ditto.
	(cb_notebook_switch_page) : ditto.
	(wbcg_sheet_order_changed) : ditto.
	(wbcg_focus_cur_scg) : ditto.
	(wbc_gtk_init) : Move new_object from scg -> wbcg.
	(wbcg_update_action_sensitivity) : ditto.
	(wbcg_menu_state_update) : ditto.

	* src/wbc-gtk-edit.c (wbcg_insert_object) : moved from
	  wbcg_insert_object and made smarter to walk through all scgs and
	  setting cursor visibilty, and unanting.
	(wbcg_insert_object_clear) : reworked from scg_mode_clear and made
	  smarter.

	* src/wbc-gtk-actions.c (cb_insert_image) : Use wbcg_insert_object.
	(cb_add_graph) : ditto.
	(create_object) : ditto, and remove the sheet_update/recalc.  It does
	  not belong here.

	* src/sheet-control-gui.c (scg_cursor_visible) : make public.
	(scg_mode_clear) : moved into wbcg_insert_object_clear, and
	  simplified.
	(scg_mode_create_object) : reworked as wbcg_insert_object.
	(scg_mode_edit) : Use the new wbcg_insert_object_clear and simplify.
	(scg_object_select) : Adapt to moving new_object from SCG -> WBCG
	(scg_objects_nudge) : ditto.
	(scg_set_display_cursor) :  ditto.
	* src/gnm-pane.c (gnm_pane_key_press) : ditto.
	* src/item-bar.c (item_bar_draw) : ditto.
	* src/item-grid.c (item_grid_draw) : ditto.
	(ig_obj_create_begin) : ditto.
	(item_grid_button_press) : ditto.

2008-06-18  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (MATHLIB_ERROR): Return a NaN instead of
	aborting.  Fixes #534475.

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

	* src/application.c (gnm_app_create_opener_filter): Suffix
	patterns should match upper and lower case file names.  Fixes
	#510036.

2008-06-17  Jody Goldberg <jody@gnome.org>

	* src/print-info.c (print_info_set_page_setup) : fix a life cycle
	  error and document.  Fixes page setup on win32.

2008-06-16  Jody Goldberg <jody@gnome.org>

	* src/item-edit.c (item_edit_dispose) : delete the feedback ranges.
	  Don't disable their creation into the future.

2008-06-16  Jody Goldberg <jody@gnome.org>

	* tools/win32/gnumeric.nsi.in : Make the default install set
	  'Standard' and do not overwrite the common type (Excel/OOo).  [#534231]

2008-06-13  Jody Goldberg <jody@gnome.org>

	* src/wbc-gtk.c (cb_regenerate_window_menu) : we need to remove the
	  action group from the UI, not just unref it.
	(wbc_gtk_reload_recent_file_menu) : ditto.

2008-05-27  Morten Welinder  <terra@gnome.org>

	* src/stf-export.c (try_auto_date): Don't generate an invalid time
	format.  Fixes #534514.  Fix detection of fractional seconds.

2008-05-21  Morten Welinder  <terra@gnome.org>

	* src/value-sheet.c (value_area_foreach): Always NULL ->cell_iter.

	* src/parser.y: Further parser fixes.  Clarify the error handling
	rules.  Fixes #534131.

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

	* src/value-sheet.c (value_area_get_x_y): Make sure to return an
	empty value, not NULL, when a cell in a range isn't there.  Fixes
	#533953.

	* src/mathfunc.c (random_exppow): Add domain check.  Fixes
	#533965.

2008-05-19  Morten Welinder  <terra@gnome.org>

	* src/parser.y (fold_positive_constant, fold_negative_constant,
	build_unary_op, build_binop, build_logical, build_not,
	build_intersect, build_set): Propagate errors.  Fixes #533951.

	* src/stf.c (stf_read_workbook_auto_csvtab): Don't assume that the
	command context is a gui.  Fixes #533511.

	* src/expr.c (value_intersection): Handle empty array.  [#533516]
	Fix from Jean.

2008-05-19  Jody Goldberg <jody@gnome.org>

	* src/parse-util.c (r1c1_get_index) : handle =RC-10 as
	      <ref "RC"><unary-><10> #533943

2008-05-17  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (qpois): Return nan on invalid lambda.  Fixes
	#533515.
	(discpfuncinverter): Handle overflow when searching for missing
	side better.  Also fixes #533515.

2008-05-16  Morten Welinder  <terra@gnome.org>

	* src/func.c (tokenized_help_new): Translate old-style help texts.
	fixes part of #533193.

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

	* src/mathfunc.c (random_gamma): Handle overflow and bogus
	arguments.  Fixes #533288.

2008-05-12  Jean Brefort  <jean.brefort@normalesup.org>

	* configure.in: request libgoffice-0.8 >= 0.7.0.
	* src/Makefile.am: removed obsolete (moved to goffice) files.
	* src/gnm-conf-gconf.c: ditto.
	* src/gnm-conf-keyfile.c: ditto.
	* src/gnm-conf-win32.c: ditto.
	* src/gnumeric-gconf.c: ditto.
	* src/gnumeric-gconf.h: ditto.

2008-05-07  Jody Goldberg <jody@gnome.org>

	Merge patch from Seán de Búrca [#450444]
	* configure.in : add the new icon dirs.
	* gnumeric.desktop.in : remove icon suffix.
	* icons/Makefile.am : deploy the icons, and do some cleanup.
	* src/wbc-gtk.c (wbc_gtk_class_init) : Now we can use the nice simple
	  gtk_window_set_default_icon_name.

2008-05-04  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump.

2008-05-04  Jody Goldberg <jody@gnome.org>

	* Release 1.9.0

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

	* src/wbc-gtk.c (cb_notebook_switch_page): When selecting a range
	for a dialog, do sheet changes fully.  Fixes #529309.

2008-05-02  Morten Welinder  <terra@gnome.org>

	* src/workbook-view.c (wbv_save_to_uri): Zap this meesage too.

2008-05-02  Jody Goldberg <jody@gnome.org>

	* configure.in : add ssgrep.
	* src/Makefile.am : ditto.
	* src/.gitignore : ditto.

	* src/str.c (gnm_string_foreach) : new wrapper to make it easier to
	  walk all available strings.

	* src/workbook-view.c (wb_view_new_from_uri) : turn off the info spew.

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

	* src/xml-sax-write.c (xml_write_sheet_names): Write sheet sizes.

	* src/ranges.c (range_is_sane): Fix escaped G_MAXINT/2.  We're not
	ready for that just yet.
	(range_init_full_sheet): Ditto.

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

	* src/colrow.h (colrow_max): Take a sheet argument too.  All
	callers changed.

	* */*.c: Use gnm_sheet_get_max_cols for SHEET_MAX_COLS and
	gnm_sheet_get_max_rows for SHEET_MAX_ROWS in most cases.  (Adapted
	from Jean's patch in #168875.)

	* src/wbc-gtk-actions.c (cb_calc_decs): Use rendered value, if
	available.

2008-04-24  Jean Brefort  <jean.brefort@normalesup.org>

	* libspreadsheet.pc.in: fixed the plugins dir definition so tht it can
	be used.

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

	* src/number-match.c (handle_float): Don't initialize
	twice.  [#529297, Hiroyuki Ikezoe]

2008-04-16  Jody Goldberg <jody@gnome.org>

	* configure.in : Use dolt when possible.
	* acinclude.m4 : create, and add dolt.m4

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

	* src/sheet-object-image.c (gnm_soi_default_size,
	gnm_soi_draw_cairo): Protect against a NULL pixbuf.

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

	* src/wbc-gtk-edit.c (close_to_int): Add missing abs case causing
	lots of trouble.
	(guess_time_format): Return the format, not a string.  Deduce
	GOFormat's limit of decimals.
	(guess_time_format): Improve handling of elapsed time format.

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

	* src/clipboard.c (paste_cell): Translate dates if required.
	Fixes #490419.
	(cellregion_new): Setup new date_conv field from sheet.

	* src/xml-io.c (xml_cellregion_read): Set of date_conv field from
	xml.
	(xml_read_clipboard_cell): Use date_conv from cell region, not
	workbook.

	* src/commands.c (warn_if_date_trouble): New function.
	(cmd_paste_copy): Call warn_if_date_trouble.

2008-04-08  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (gnm_float_hash, gnm_float_equal): Moved from
	rangefunc.c.  Made public.

	* src/dependent.c (workbook_recalc): If we recalculated anything,
	emit recalc-finished on the application.

	* src/application.c (gnm_app_class_init): Install new
	"recalc-finished" signal.

	* src/ranges.c (gnm_sheet_range_dup, gnm_sheet_range_equal,
	gnm_sheet_range_hash, gnm_range_hash, gnm_range_equal): New
	functions.

	* src/collect.c (gnm_strip_missing): Don't return a value; take
	list directly, not as reference; make O(n) instead of O(n^2).  All
	callers changed.

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

	* src/collect.c (collect_strings): Change return type to GPtrArray
	so we can actually tell if there was an error.  All callers
	changed.  Fixes CONCATENATE.
	(string_range_function): Make the subject function take a
	GPtrArray for simplicity.  All callers changed.

2008-03-30  Jon K Hellan  <hellan@acm.org>

	* src/gui-clipboard.c (x_targets_received): Request text if holder
	of clipboard doesn't offer any target we understand. Broken apps,
	including jedit, have been seen to return a bogus list of targets,
	but nonetheless return text when asked.
	(utf8_content_received): New function. Passes text received from
	clipboard to text_to_cell_Region.

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

	* src/stf.c: (stf_read_workbook), (stf_read_workbook_auto_csvtab):
	call workbook_recalc_all instead or workbook_recalc to ensure
	formula evaluation. [#525107]

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

	* src/expr.c (gnm_expr_top_is_array_elem): Take extra arguments
	for storing coordinates.  All callers changed.

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

	* src/workbook-view.c (wb_view_edit_line_set): Use more API
	instead of peeking inside expression implementation details so
	much.

	* src/expr.c (gnm_expr_top_is_array_corner): New function.  (I
	have plans for gnm_expr_top_get_array_corner.)

2008-03-26  Morten Welinder  <terra@gnome.org>

	* src/gui-file.c (gui_file_open): Allow selection of multiple
	files.  [#524479]

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

	* src/value.c (criteria_test_equal, criteria_test_unequal,
	criteria_test_less, criteria_test_less_or_equal,
	criteria_test_greater, criteria_test_greater_or_equal): Handle
	string values that can be interpreted as numbers.  Take extra
	date_conv argument.  All callers changed.

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

	* src/xml-sax-read.c (make_format): New function to handle invalid
	formats.
	(xml_sax_style_start, xml_sax_cell): Use make_format.

	* src/value.c (value_new_bool): Don't allocate memory for bools.
	There are only two different ones.
	(value_release): Consequently don't release memory.
	(value_set_fmt): Don't allow setting formats for empty and bool.

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

	* src/wbc-gtk-actions.c (inc_dec): New function to do something
	vaugely sensible when inc/dec decimals is requested for General.
	Fixes #510252.

	* configure.in (ALL_LINGUAS): Undo last change.  It breaks the
	build.

	* src/wbc-gtk.c (cb_add_menus_toolbars): Honour
	/desktop/gnome/interface/toolbar_detachable.  Patch from Nick
	Lamb.  Fixes #321867.

2008-03-10 Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

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

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

	* src/wbc-gtk-actions.c (insert_date_time_common): Fix the time
	cases.

2008-03-02  Jody Goldberg <jody@gnome.org>

	Patches for cygwin build [#506366]
	* configure.in : differentiate between cygwin, and native win32.
	* tools/Makefile.am : Registry mapper is not needed under cygwin.
	* schemas/Makefile.am : ditto.
	* src/Makefile.am : -mwindows and -mconsole are only required for
	  native windows.

2008-03-01  Jody Goldberg <jody@gnome.org>

	* src/Makefile.am : build ssconvert & ssindex with -mconsole and
	  without -mwindows

	* src/workbook-view.c (gnm_mailto_url_show) : Add a win32 version of
	  mailto support.

	* schemas/Makefile.am : Don't create a dir if built without gconf
	  autoconf macros.

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

	* src/xml-sax-read.c (xml_sax_cell_content): Ref shared
	expressions before inserting them into the hash.
	(gnm_xml_file_open): Register a value-free function for the shared
	expression hash.  Fixes #519761.

	* src/sheet-autofill.c (afm_teach_cell): Fix end-of-month problem.
	Fixes #519680.
	(auto_filler_month): Initialize ->end_of_month.

2008-03-01  Jody Goldberg <jody@gnome.org>

	* src/style.c : drop use of pangoft2 as a hard coded fallback use
	  pangocairo instead.

	* src/wbc-gtk-actions.c (cb_help_docs) : add a warning if help viewer
	  fails.

2008-02-29  Morten Welinder  <terra@gnome.org>

	* src/mstyle.c (link_border_colors): Handle NULL border which is
	advertised as being ok.  Fixes #519451.

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

	* src/xml-io.c (maybe_convert): Handle memory allocation failure
	nicely.  Fixes #519319.

	* src/xml-sax-read.c (maybe_convert): Handle memory allocation
	failure nicely.

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

	* src/sheet-autofill.c (sheet_autofill_dir): Handle merged cells
	better.  Fixes #504191.

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

	* src/wbc-gtk-actions.c: Handle <control>KP_Subtract as
	<control>minus.  Fixes #516358.  Ditto KP_Add.

2008-02-05  Morten Welinder  <terra@gnome.org>

	* src/clipboard.c (cellregion_to_string): Fix col/row confusion.
	Fixes #514438.

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

	* src/func.c (functions_shutdown): Handle leftover place holders
	better.  Fixes #514295.  (Also fixed in importer.)

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

	* src/main-application.c (main): Call pathetic_qt_workaround early
	to handle the theme corruption at the time the splash screen is
	constructed.

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

	* src/main-application.c (pathetic_qt_workaround): Work around
	Qt-theme (or Qt-library) bug.
	(main): Install pathetic_qt_workaround.  Fixes #512752.

	* src/expr.c (gnm_expr_eval): Fix FMRs for circular array
	formulas.

	* src/sheet-autofill.c (add_item): Plug leak.

2008-01-31  Morten Welinder  <terra@gnome.org>

	* src/expr.c (gnm_expr_eval): Handle the case of no value
	calculated for the array.  [#513559]

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

	* src/xml-sax-read.c (xml_sax_solver_start): New function.
	(gnm_xml_attr_bool): Renamed from xml_sax_attr_bool and made
	public.

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

	* src/gutils.c (gutils_init): If we appear to be running out of
	the source tree, then adjust libdir (for plugins) accordingly.

2008-01-24  Jean Brefort  <jean.brefort@normalesup.org>

	* src/clipboard.c (paste_object): Fix paste-graph
	problem.  [#507342]

2008-01-24  Morten Welinder  <terra@gnome.org>

	* src/sheet.c (sheet_move_range): Fix sanity check.  [#511706]

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

	* src/stf-parse.c (stf_parse_csv_line): Allocate from the string
	chunk so we don't leak items.  Reduce the number of GString
	allocations while we're at it.

2008-01-10  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk-edit.c (wbcg_edit_start): Use
	gnm_format_for_date_editing.

	* src/wbc-gtk-actions.c (insert_date_time_common): New function to
	format numbers according to cell's format when appropriate.
	Fixes 508237.

	* src/gnm-format.c (gnm_format_for_date_editing): New function.

2008-01-15  Morten Welinder  <terra@gnome.org>

	* src/value.c (parse_database_criteria): Verify that we have a
	cellrange which is the only cases handled.  Part of fix for
	509427.

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

	* Makefile.am (DISTCLEANFILES): Get rid of the versioned .pc file
	too.

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

	* configure.in (GNM_PY_LDFLAGS): Fix assumptions about directory
	layout.  [#509023]  [508988]

2007-12-29  Jody Goldberg <jody@gnome.org>

	* configure.in : post release version bump

2007-12-21  Jody Goldberg <jody@gnome.org>

	* Release 1.8.0

2007-12-17  Morten Welinder  <terra@gnome.org>

	* src/gnumeric-gconf.c: Quiet the debug code.

2007-12-15  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-so-filled.c: (sof_default_style),
	(cb_gnm_so_filled_style_changed): replace 0 and 1 for line styles
	by GO_LINE_NONE and GO_LINE_SOLID.
	* src/gnm-so-line.c: (so_line_view_set_bounds),
	(sol_default_style), (cb_gnm_so_line_changed),
	(gnm_so_line_draw_cairo): ditto.
	* src/gnm-so-polygon.c: (sop_default_style),
	(cb_gnm_so_polygon_style_changed): ditto.

2007-12-15  Jody Goldberg <jody@gnome.org>

	* src/clipboard.c (clipboard_paste_region) : A region is not empty if
	  there are merges or styles. [#503634]

2007-12-13  Jody Goldberg <jody@gnome.org>

	* src/xml-io.c (xml_sheet_read) : support grid colour.
	* src/xml-sax-read.c (xml_sax_sheet_start) : ditto.
	(xml_sax_sheet_name) : ditto.
	* src/xml-sax-write.c (xml_write_sheet) : ditto.
	* gnumeric.xsd : ditto.

2007-12-13  Jody Goldberg <jody@gnome.org>

	* src/sheet-object-cell-comment.c (comment_view_set_bounds) : remove
	  kludge that altered the anchor.  That makes it impossible to look
	  the comment up.
	* src/colrow.c (colrow_set_sizes) : instead, just reposition all
	  objects when cols resize.

	* src/clipboard.c (paste_object) : Add support for a magic new flag
	  PASTE_IGNORE_COMMENTS_AT_ORIGIN for use by.

	* src/commands.c (cmd_merge_cells_undo) : Used here so that when we
	  paste the old content back into the merged region we do not
	  duplicate a comment that existed in the cell.  [#503392]

2007-12-10  Andreas Guelzow  <aguelzow@pyrshep.ca>

	Fix for #502206
	* src/sheet.c (sheet_get_nominal_printarea): fix invalid printarea

2007-12-10  Morten Welinder  <terra@gnome.org>

	* src/expr.c (gnm_expr_relocate): Access the right union member.
	Fixes #502781.

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

	Fixes for #470089.
	* src/sheet.c (sheet_cell_set_text): Adjust markup if text was
	quoted.

	* src/commands.c (cmd_set_text): Don't compare markups if we don't
	extract them.  Map empty markup to no markup.
	(gnm_pango_attr_list_equal): Take into account that
	pango_attribute_equal does not compare indices.

	* src/wbc-gtk-edit.c (gnm_pango_attr_list_splice): Export to
	Goffice.  .  Let caller do the splice.
	(wbcg_edit_start): Adjust markup if we quoted the string.
	(wbcg_edit_finish): Free cell_attrs if needed.
	(wbcg_edit_add_markup): Unset attributes if the desired result
	matches cell_attrs.
	(wbcg_edit_init_markup): Initialize cell_attrs.

2007-11-30  Jody Goldberg <jody@gnome.org>

	* src/gnm-pane.c (gnm_pane_key_mode_sheet) : enter_moves_dir == NONE
	  should not move anywhere.

2007-12-03  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump.  Hopefully last before 1.8

2007-12-03  Jody Goldberg <jody@gnome.org>

	* Release 1.7.91

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

	* src/workbook-view.c (wb_view_dispose): New function extracted
	from wb_view_finalize to handle viewe-control disentanglement.
	* src/workbook-control.c (wbc_dispose): Renamed from wbc_finalize
	and hooked up accordingly.  Fixes #499680.

2007-11-28  Jon K Hellan  <hellan@acm.org>

	* src/print.c (gnm_begin_print_cb, gnm_request_page_setup_cb):
	Silence warnings about gtk+ workarounds.

2007-11-27  Andreas Guelzow  <aguelzow@pyrshep.ca>

	* src/print.c (print_sheet_objects): print the sheet objects in
	  reverse order

2007-11-27  Morten Welinder  <terra@gnome.org>

	* src/gnm-pane.c (gnm_pane_unrealize): Fix critical.  [#499905]

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

	* src/wbc-gtk-actions.c (common_cell_goto): Don't try to go to an
	invisible sheet.  Fixes the part of 499723 that Sum1 hasn't even
	found yet.

	* src/workbook.c (workbook_cells): Considers cells in sheets only
	if they are sufficiently visible.
	* src/search.c (gnm_search_collect_cells): Don't collect cells in
	deeply hidden sheets.

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

	* src/workbook-control.c (wb_control_parse_and_jump): Make target
	absolute.  Fixes #499722.

2007-11-25  Andreas Guelzow  <aguelzow@pyrshep.ca>

	* print-info.c (print_hf_new): use empty strings rather than NULL

2007-11-25  Jody Goldberg <jody@gnome.org>

	* src/style-conditions.c (gnm_style_cond_is_valid) : make public.

2007-11-24  Jody Goldberg <jody@gnome.org>

	* src/xml-sax-write.c (xml_write_breaks) : new.  Manual enum handling
	  for performance.
	(xml_write_print_info) : use it here.

	* src/xml-sax-read.c (xml_sax_attr_enum) : Use class_ref/class_unref
	  to force the enum to complete.
	(xml_sax_page_break) : new with manual enum handling for performance.
	(xml_sax_page_breaks_begin) : new.
	(xml_sax_page_breaks_end) : new.

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

	* src/sheet.c (sheet_insert_cols, sheet_insert_rows,
	sheet_delete_cols, sheet_delete_rows): Initialize reloc_info.pos.
	* src/dependent.c (dependents_relocate): When handling names, get
	a list of the names as the hash will change during the process.
	Fixes #498347.

2007-11-19  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump to 1.7.91-rc2

2007-11-19  Jody Goldberg <jody@gnome.org>

	* Release 1.7.90

2007-11-18  Andreas Guelzow  <aguelzow@pyrshep.ca>

	* src/print.c (gnm_draw_page_cb): set up HFRenderInfo
	* src/print-info.c (render_cell): handle relative addresses

2007-11-17  Andreas Guelzow  <aguelzow@pyrshep.ca>

	* src/print-info.c (render_cell): use rangeref_parse to also handle
	  other sheets.

2007-11-17  Andreas Guelzow  <aguelzow@pyrshep.ca>

	* src/print-info.h (HFRenderInfo): add page area info
	* src/print-info.c (render_cell): new
	(render_ops): add cell record
	(hf_render_info_new): initialize page area info

2007-11-16  Andreas Guelzow  <aguelzow@pyrshep.ca>

	* src/print-cell.c (print_merged_range_gtk): print the
	  background behind the cell.

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

	* src/application.c: use the recent manager to received
	notifications of changes and tell GnmApp watchers.

	* src/gnumeric-gconf.c: Check the right symbol for backend.

	* src/clipboard.c (cellregion_to_string): Fix cut-and-paste-code
	bug.

	* src/wbc-gtk-edit.c (wbcg_edit_start): Explicitly clear force
	rel/abs flags.

2007-11-15  Morten Welinder  <terra@gnome.org>

	* src/application.c (gnm_app_release_pref_dialog,
	gnm_app_get_pref_dialog, gnm_app_set_pref_dialog): Remove.

2007-11-15  Jon K Hellan  <hellan@acm.org>

	* src/gui-clipboard.c (set_clipman_targets): New. Restrict the
	set of formats offered to clipboard manager.
	(x_claim_clipboard): Use it.

2007-11-15  Jody Goldberg <jody@gnome.org>

	* src/clipboard.c (cb_cellregion_extent) : new.
	(cellregion_extent) : new.  currently internal.  Might be useful
	 externally.
	(cellregion_to_string) : check the extent of the content.

2007-11-14  Andreas Guelzow  <aguelzow@pyrshep.ca>

	* src/pixmaps/hf_date.png: new (temporary) icon
	* src/pixmaps/hf_page.png: ditto
	* src/pixmaps/hf_pages.png: ditto
	* src/pixmaps/hf_cell.png: ditto
	* src/pixmaps/hf_time.png: ditto
	* src/pixmaps/hf_sheet.png: ditto
	* src/pixmaps/Makefile.am: adjust for new icon files
	* src/wbc-gtk.c (wbc_gtk_setup_icons): add new icons

2007-11-14  Morten Welinder  <terra@gnome.org>

	* src/gui-clipboard.c (debug_clipboard): New function.
	(x_clipboard_get_cb): Add conditional debug statements.

	* src/wbc-gtk.c (wbcg_sheet_focus): Make sure direction is right,
	see #496304, comment 3 onwards.

2007-11-13  Morten Welinder  <terra@gnome.org>

	* src/gui-util.c (gnumeric_keyed_dialog): Tentatively persist zoom
	dialog window size within session.

2007-11-13  Jon K Hellan  <hellan@acm.org>

	* src/commands.c (cmd_define_name): Fix typo. Fixes #496334.

2007-11-12  Morten Welinder  <terra@gnome.org>

	* src/workbook-control.c (wb_control_jump): Simplify.  Return
	error indicator and take simpler arguments.  Caller fixed.  Refuse
	to jump to invisible sheet.  Fixes #496304.

	* src/sheet.c (sheet_cell_set_text): Fix interaction between
	spanning and manual recalc.  Fixes #495879.

	* src/parse-util.c (rangeref_parse): Don't allow workbook without
	sheet.

	* src/rendered-value.c (gnm_rendered_value_new): Don't test
	cell->value too soon.

2007-11-12  Jon K Hellan  <hellan@acm.org>

	* src/gui-clipboard.c (table_cellregion_write): Paste as values so
	that we don't care about array boundaries. Fixes #496187.

2007-11-12  Morten Welinder  <terra@gnome.org>

	* src/print.c (gnm_print_sheet): Handle more
	gtk_print_operation_run result codes.  Fix leak.

	* src/workbook-control.c (wb_control_jump): Add missing
	inititialization of r.  Fixes #496071.

2007-11-09  Morten Welinder  <terra@gnome.org>

	* src/commands.c (cmd_define_name): Validate name.

	* src/workbook-control.c (wb_control_parse_and_jump): Parse with
	respect to edit position.

	* src/value.c (value_new_cellrange_parsepos_str): New function
	split form value_new_cellrange_str.
	(value_new_cellrange_str): Simplify using
	value_new_cellrange_parsepos_str.

	* src/workbook-control.c (wb_control_jump): Split from
	wb_control_parse_and_jump.
	* src/position.c (eval_pos_init_editpos): New function.
	See #494318.

2007-11-08  Andreas Guelzow  <aguelzow@pyrshep.ca>

	* gnumeric.xsd: add do_not_print field

2007-11-08  Andreas Guelzow  <aguelzow@pyrshep.ca>

	* src/xml-sax-read.c (xml_sax_print_do_not_print): new
	* src/xml-sax-write.c (xml_write_print_info): write do_not_print
	  field
	* src/xml-io.c (xml_read_print_info): read do_not_print field
	* src/print-info.c (print_info_new): initialize do_not_print

2007-11-08  Morten Welinder  <terra@gnome.org>

	* src/sheet.c (sheet_move_range): Initialize reloc_info.pos.
	Otherwise we get UMRs in gnm_expr_top_relocate.

2007-11-07  Morten Welinder  <terra@gnome.org>

	* src/gnm-pane.c (gnm_pane_dispose): Get rid of ->im_context here,
	not in gnm_pane_finalize.  First disconnect signals and window.
	This fixes FMR during workbook destruction.
	(gnm_pane_finalize): Delete.

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

	* src/wbc-gtk-edit.c (wbcg_edit_start): Use yyyy-m-d format for
	date entry when appropriate.

	* src/gnm-format.c (gnm_format_month_before_day): Update return
	value like for go_format_month_before_day.

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

	* src/print.c (PrintingInstance): add HFRenderInfo
	(printing_instance_new): handle HFRenderInfo field
	(printing_instance_destroy): ditto
	(ensure_decoration_layout): rewrite for gtkprint
	(print_hf_element): ditto
	(print_hf_line): ditto
	(print_headers): delete
	(print_footers): delete
	(print_page): also print headers and footers

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

	* src/xml-sax-read.c (xml_sax_print_hf): new
	(PRINT_HEADER): hook up xml_sax_print_hf
	(PRINT_FOOTER): ditto

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

	* src/print-info.c (pdf_write_workbook): Set do_not_print flags to
	relects sheet selection.

	* src/print.c (compute_pages): Do not print sheets marked
	do_not_print.

2007-11-06  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-so-filled.c: (gnm_so_filled_draw_cairo): use cairo_t*
	as arg for draw_cairo instead of gpointer.
	* src/gnm-so-line.c: (gnm_so_line_draw_cairo): ditto.
	* src/gnm-so-polygon.c: (gnm_so_polygon_draw_cairo): ditto.
	* src/sheet-object-graph.c: (gnm_sog_draw_cairo): ditto.
	* src/sheet-object-impl.h: ditto.
	* src/sheet-object.c: (sheet_object_draw_cairo): ditto.
	* src/sheet-object.h: ditto.
	* src/sheet-object-image.c: (gnm_soi_draw_cairo),
	(gnm_soi_class_init): implement draw_cairo (for printing).

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

	* src/print-info.c (pdf_write_workbook): Prepare for printing
	selected sheets.  Note: doesn't actually work yet.
	(cb_set_pdf_option): Parse sheets to be printing.

2007-11-05  Andreas Guelzow  <aguelzow@pyrshep.ca>

	* src/print.c (compute_scale_fit_to): new arguments to pass
	  through to paginate. Also calculate extent internally.
	(compute_sheet_pages): pass more info to compute_scale_fit_to

2007-11-05  Andreas Guelzow  <aguelzow@pyrshep.ca>

	* src/print.c (compute_n_pages): deleted
	(compute_scale_fit_to): use paginate rather than compute_n_pages
	(compute_sheet_pages_add_range): change expected argument order to
	  match how you are called.
	(paginate): drop unneeded arguments

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

	* src/print-info.c (print_init): Hook up options parsing for pdf
	export.
	(page_setup_set_paper): Return an error code.
	(print_info_set_paper): Ditto.

	* src/stf-export.c (gnm_stf_export_options_sheet_list_clear): Hold
	a weak sheet reference only.

2007-11-04  Andreas Guelzow  <aguelzow@pyrshep.ca>

	* src/print.c (print_range_used_units): deleted
	(print_job_info_init_sheet): deleted
	(paginate): simplify arguments
	(compute_sheet_pages): use simplified arguments for paginate

2007-11-04  Andreas Guelzow  <aguelzow@pyrshep.ca>

	* src/print.c (compute_sheet_pages_down_then_across): use
	  new pagination info
	(compute_sheet_pages_across_then_down): ditto
	(paginate): new
	(compute_sheet_pages): first paginate and only then create page list.

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

	* configure.in: Post-release bump.

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

	* Release 1.7.14

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

	* src/stf-export.c (gnm_stf_fs_set_export_options): Adapt to
	goffice changes.

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

	* src/stf-parse.c (stf_parse_options_guess): Guess using 1000
	first lines.

	* src/stf-export.c (gnm_stf_export_options_sheet_list_get): New
	function.
	(try_auto_date): Use gnm_format_is_time_for_value.
	(gnm_stf_file_saver_new): Don't create exporter here.
	(gnm_stf_file_saver_save): Create exporter here and hang it unto
	the workbook.

	* src/gnm-format.c (gnm_format_is_time_for_value): New function.

	* src/stf-export.c (gnm_stf_file_saver_new): Set the right scope.
	(cb_set_export_option): Use go_object_set_property and allow
	setting of quoting-on-whitespace.
	(gnm_stf_file_saver_save): Steamline.  Make sure to disconnect
	from sink.  Send our own GnmStfExport to stf_export_dialog.

	* src/ssconvert.c (convert): Plug leak.

2007-11-02  Andreas Guelzow  <aguelzow@pyrshep.ca>

	* src/print.c (adjust_repetition): new
	(compute_sheet_pages_down_then_across): new
	(compute_sheet_pages_across_then_down): move code from here to
	  compute_sheet_pages
	(compute_sheet_pages): receive code from ...across_then_down

2007-11-02  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in: Bumped goffice dependency as the STF export now uses
	go_file_saver_parse_options which is new.

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

	* src/print-info.c (print_init): Plug leak.
	(print_shutdown): Unregister the PDF saver.

	* src/ssconvert.c (handle_export_options): New function to handle
	new option --export-options.
	(convert): Call handle_export_options.

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

	* src/stf-export.c (gnm_stf_file_saver_new): New function based on
	code from Hib Eris, see #170767.

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

	* src/print.c (gnm_paginate_cb): handle sheets without printable
	  pages correctly and cancel printing if there are no pages at all.
	(gnm_request_page_setup_cb): gtk may call this function even for
	  non-existing pages. Be graceful. Fixes #491775

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

	* src/print.c (print_page): print the row and column headers also
	  for the repeated rows and columns.

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

	* src/gnm-so-line.c (gnm_so_line_prep_sax_parser): Survive missing
	"type" attribute.  Fixes #492391.

	* src/print-info.c (page_setup_set_paper): Handle "US-Letter" too.

2007-10-31  Morten Welinder  <terra@gnome.org>

	* src/stf.c (stf_init): Plug leaks.
	(stf_shutdown): New function.

	* src/libgnumeric.c (gnm_shutdown): Hook up stf_shutdown.

2007-10-31  Andreas Guelzow  <aguelzow@pyrshep.ca>

	* src/print.c (compute_sheet_pages_across_then_down): consider
	the repeated rows and columns when doing pagination

2007-10-30  Jody Goldberg <jody@gnome.org>

	* src/func-builtin.c (gnumeric_table) : Fix.  It is apparently a bad
	  idea to free something then use it a couple of lines later.

2007-10-30  Andreas Guelzow  <aguelzow@pyrshep.ca>

	* src/print.c (print_page_repeated_rows): deleted
	(print_page_repeated_cols): deleted
	(print_page_repeated_intersect): deleted
	(print_page): handle repeated rows and columns
	(compute_sheet_pages_add_range): add repeated rows and cols
	  info
	(compute_sheet_pages_across_then_down): pass repeated rows
	  and cols info to compute_sheet_pages_add_range
	(gnm_draw_page_cb): adjust for change in data type
	(gnm_request_page_setup_cb): ditto

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

	* src/print-cell.c (print_cell_gtk): Handle cell->rendered_value
	changing underneath us.  Fixes #478552.

2007-10-27  Jody Goldberg <jody@gnome.org>

	* src/commands.c (cmd_create_data_table) : New.  Wrapper to set_area
	  that creates a data table with undo capabilities.

	* src/func-builtin.c (gnumeric_table) : clear the val point in a cell
	  before destroying it because the value was a temporary and has
	  already been released.  Cache and restore the x_iter value to avoid
	  leaving the last calculated value in the cell after evaluating for
	  TABLE(,ADDR)

	* src/parser.y : convert from distinct gboolean flags to using a
	  simple bit mask.  Switch from distinct ABS_COL/ABS_ROW to ABS and
	  REL.  There was no need to split COL vs ROW, but there was a need
	  [Data->Table] to force relative (XL requires rel refs).

2007-10-27  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-read.c (xml_sax_read_obj): Survive a missing
	ObjectBound attribute.  Fixes #490859.

	* src/mstyle.c: Add a pile of preconditions.

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

	* src/xml-sax-write.c (xml_write_date_conventions_as_attr): New
	function...
	(xml_write_calculation): ...extracted from here.
	(gnm_cellregion_to_xml): Call xml_write_date_conventions_as_attr
	if we have a sheet.

	* src/clipboard.c (cellregion_to_string): Use the value format
	  when appropriate.

2007-10-25  Jody Goldberg <jody@gnome.org>

	* src/gnm-pane.c (cb_bounds_changed) : update the ctrl pt positions if
	  the objects position changes.

	* src/sheet-object.c (sheet_object_anchor_assign) : renamed from
	  sheet_object_anchor_cpy to clarify the purpose and follow naming
	  conventions.
	(sheet_object_anchor_dup) : new.
	(cb_so_snap_to_grid) : new callback to snap an object to the
	  containing grid.
	(sheet_object_populate_menu_real) : use it here.

2007-10-25  Morten Welinder  <terra@gnome.org>

	* src/sheet-style.c (cb_style_list_add_node): Handle the case
	where the last tile is partial in either dimension.

2007-10-22  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-read.c (xml_sax_repeat_left, xml_sax_repeat_top):
	Kill warnings.

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

	* src/func.c (gnm_func_group_fetch_with_translation): Fix warning.

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

	* configure.in: Post-release bump.

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

	* Release 1.7.13

2007-10-20  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

	* src/gnm-so-filled.c (gnm_so_filled_draw_cairo): adapt to new
	gog_style_create_cairo_pattern signature.

2007-10-15  Kjartan Maraas  <kmaraas@gnome.org>

	* configure.in: Remove no from ALL_LINGUAS.

2007-10-14  Yannig Marchegay <yannig@marchegay.org>

	* configure.in: Redo last change with both po/oc.po and properties-po/oc.po.

2007-10-13  Morten Welinder  <terra@gnome.org>

	* configure.in: Undo last change.

2007-10-13  Yannig Marchegay <yannig@marchegay.org>

	* configure.in: +Occitan.

2007-10-10  Morten Welinder  <terra@gnome.org>

	* src/sheet-object-image.c (so_image_view_set_bounds): Use
	go_pixbuf_tile.

2007-10-12  Jody Goldberg <jody@gnome.org>

	* libspreadsheet-1.7.pc.in : Set the cflags to include the target, and
	  subdir until we fix the header includes and rename /src.
	  Add LIBDIR/include to cflags
	  Add PluginDir.

2007-09-29  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

	* samples/chart-stripe-tests.gnumeric: add reference images.

2007-09-29  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

	* samples/chart-smooth-fit-tests.gnumeric: add reference images.

2007-09-29  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

	* samples/chart-smooth-fit-tests.gnumeric: new test file.

2007-09-29  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

	Duplicate the GogGraph object used by the graph dialog. That's needed
	because GOGraphWidget change the width and height property of it's
	graph model on every resize, which breaks the SheetObjectGraph.

	* src/gnm-graph-window.c (gnm_graph_window_set_graph): duplicate
	graph.
	(gnm_graph_window_new): add a safety check on graph parameter.

2007-09-28  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

	Remove GOFFICE_WITH_CAIRO ifdefs.

	* component/gnumeric.c: here.
	* src/gnm-so-filled.c: here.
	* src/gnm-so-line.c: here.
	* src/gnm-so-polygon.c: here.
	* src/sheet-object-graph.c: here.
	* src/sheet-object.c: here.

2007-09-28  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

	* src/sheet-object-graph.c (gnm_sog_draw_cairo): use
	gog_graph_render_to_cairo instead of removed
	gog_graph_render_to_cairo_vector.

2007-09-28  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

	* src/shhet-object-graph.c (sheet_object_graph_set_gog): use
	gog_renderer_new instead of obsolete gog_renderer_new_for_pixbuf.

2007-09-28  Jean Brefort  <jean.brefort@normalesup.org>

	* configure.in: remove WITH_GOFFICE_O_4.
	* src/graph.c: use new goffice math location.
	* src/mathfunc.c: ditto.
	* src/numbers.h: ditto.
	* src/rangefunc.h: ditto.
	* src/regression.h: ditto.

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

	* src/format-template.c (format_template_member_get_rect): Don't
	check sanity (which barfs).  Let caller check with range_valid.

	* configure.in (*_DISABLE_DEPRECATED): Turn off for stable
	releases.

2007-09-24  Jody Goldberg <jody@gnome.org>

	* src/io-context-gtk.c (icg_set_transient_for) : Use
	  go_gtk_window_set_transient instead of gtk_window_set_transient_for.
	  The former causes problems on win32, and breaks window stacking.
	(icg_show_gui) : ditto.

2007-09-24  Jody Goldberg <jody@gnome.org>

	* src/Makefile.am : install wbc-gtk-impl.h for now.  It has the
	  definition of wbc_gtk_close.

2007-09-24  Jody Goldberg <jody@gnome.org>

	* src/style.c : s/StyleFont/GnmFont/ and clean up the associated
	  method names.  Then move things into style-font.h for now.
	  This clarifies how much we'll need to move to GOFont.

	* src/print-cell.h : just include the necessary gtk headers.  Even
	  this breaks WITH_GTK work.  Why isn't this ins glib ?
	* src/print.h : Move the renamed internal (not dllexported)
	  gnm_print_debug flag here

	Merge in the win32 cleanup work
	* src/Makefile.am : Add a libspreadsheet CFLAG -DGNUMERIC_INTERNAL to
	  control dllimport/dllexport for win32.  Required some adjustment of
	  built-sources.

	* src/libgnumeric.h : Add 'GNM_VAR_DECL' and use it for extern data
	  that will be publicly visible.

	* src/libgnumeric.c : re-order and handle some of the renaming
	  style_init -> gnm_font_init, and gnumeric_color -> gnm_color.
	(gnm_get_option_group) : move the shared cmd line arg parsing in here
	  rather than duplicating the handlers in all the client apps.
	* src/main-application.c (gnumeric_arg_parse) : eg from here.
	  Rather than using global variables, pass the arguments as
	  parameters to clean things up.
	* src/ssconvert.c (main) : Use it here.
	* src/ssindex.c (main) : and here.

	* src/print-cell.h : just include the necessary gtk headers.  Even
	  this breaks WITH_GTK work.  Why isn't this ins glib ?
	* src/print.h : Move the renamed internal (not dllexported)
	  gnm_print_debug flag here

2007-09-22  Jody Goldberg <jody@gnome.org>

	* src/item-bar.c (ib_draw_cell) : don't draw the text when we're
	  really small.

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

	* src/print.c (compute_sheet_pages): Return error indicator,
	notably for the multiple-selection-areas case.
	(gnm_paginate_cb): Cancel print on error.  Fixes #478475.

2007-09-18  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-read.c (xml_sax_filter_condition): Read
	single-clause conditions right.  Fixes #477417.

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

	* src/sheet-filter.c (gnm_filter_condition_new_bucket): Make sure
	->op[1] is UNUSED.
	(filter_expr_init): Survive NULL value.

2007-09-16  Jody Goldberg <jody@gnome.org>

	* src/print-info.h : Do not include gtk/gtk.h it is too general.
	  Use gtkpagesetup.h instead.
	* src/gnumeric-gconf.h : and this requires gtkprintsettings.h

2007-09-16  Morten Welinder  <terra@gnome.org>

	* src/sheet-filter.c (gnm_filter_combo_apply): Add precondition in
	hunt for #477417.  Actually use iter_flags.

2007-09-14  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-write.c (xml_write_cell_and_position): Re-use string
	across calls.

2007-09-13  Jon K Hellan  <hellan@acm.org>

	* src/sheet-control-gui.c (scg_drag_receive_uri_list): Enable odf
	spreadsheet format.

2007-09-12  Morten Welinder  <terra@gnome.org>

	* src/GNOME_Gnumeric-gtk.xml.in: Move things around abit.

2007-09-09  Jody Goldberg <jody@gnome.org>

	* Makefile.am : always build tools before schemas
	* tools/Makefile.am : build the registry converter
	* schemas/Makefile.am : fall back on wine to do the gconf -> registry
	  conversion when cross compiling.

2007-09-08  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in: Added support for rendering documentation as PDF
	  through dblatex.

2007-09-08  Jody Goldberg <jody@gnome.org>

	* src/gnm-pane.c (gnm_pane_init) : init the expr cursor. (previously
	  the 'feedback' cursor within item-edit).
	(gnm_pane_reposition_cursors) : reposition it.
	(gnm_pane_rangesel_start) : 'disable highlight' on the expr-entry
	  rather than the item-editor.
	(gnm_pane_rangesel_stop) : ditto.
	(gnm_pane_expr_cursor_bound_set) : new.
	(gnm_pane_expr_cursor_stop) : new.

	* src/item-edit.c (ie_destroy_feedback_range) : delete.
	(ie_scan_for_range) : move to gnm-expr-entry.
	(item_edit_init) : clear the old code.
	(entry_changed) : ditto.
	(item_edit_dispose) : Use the new
	  gnm_expr_entry_disable_highlight to destroy the feedback (aka
	  'expr') cursor.
	(item_edit_enable_highlight) : move to gnm-expr-entry.
	(item_edit_disable_highlight : ditto.

2007-09-05  Morten Welinder  <terra@gnome.org>
	* src/gnm-format.c (gnm_format_has_hour,
	gnm_format_month_before_day): New functions.

	* src/wbc-gtk-edit.c (wbcg_edit_start): Use
	  gnm_format_month_before_day.

	* src/number-match.c (format_match): Use gnm_format_has_hour and
	  gnm_format_month_before_day.  No more hackery.

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

	* src/number-match.c (get_month_before_day): Rename from
	hack_month_before_day.  Make non-hackish.

2007-09-05  Jody Goldberg <jody@gnome.org>

	* src/gui-file.c (gui_file_open) : add a mnemonic to toggle
	  simple/advanced.

2007-09-04  Jody Goldberg <jody@gnome.org>

	* configure.in : Post release bump

2007-09-04  Jody Goldberg <jody@gnome.org>

	* Release 1.7.12

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

	* src/wbc-gtk-edit.c (wbcg_edit_start): Query format before locale
	in determining month/day order.

2007-08-31  Morten Welinder  <terra@gnome.org>

	* src/stf.c (stf_write_csv): Add hack to allow ssconvert to dump
	from specified sheet.

2007-08-30  Jody Goldberg <jody@gnome.org>

	* configure.in : bump gsf req to get the open-pkg fixes.

2007-08-30  Morten Welinder  <terra@gnome.org>

	* configure.in (GNM_PY_LIBADD): Don't use test==.  [#471726]

2007-08-27  Jody Goldberg <jody@gnome.org>

	* src/clipboard.c (paste_object) : transpose objects too.

2007-08-25  Jean Brefort  <jean.brefort@normalesup.org>

	* configure.in: define WITH_GOFFICE_0_4 if needed.

2007-08-24  Jody Goldberg <jody@gnome.org>

	* src/sheet-object-image.c (gnm_soi_default_size) : handle failures a
	  bit better [#462787]

2007-08-13  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

	Update of graph data allocator editor on dataset changes.

	* src/wbc-gtk.c (cb_dataset_changed): new.
	(graph_dim_editor_free): disconnect dataset changed signal.
	(wbcg_data_allocator_editor): register editor entry update signal.
	Connect to dataset changed signal.

2007-08-13  Morten Welinder  <terra@gnome.org>

	* src/libgnumeric.c (gnm_init): Initialize gnome_vfs here so
	ssconvert will see it too.
	* src/main-application.c (gnumeric_arg_parse): Not here.

	* src/gnm-conf-keyfile.c (go_conf_get_str_list): Fix 64-bit issue.
	(go_conf_get_type): Ditto.  Fixes #465545.

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

	* src/expr-name.c (expr_name_validate): New function.

2007-08-11  Morten Welinder  <terra@gnome.org>

	* src/dependent.c (cb_relocate_name): New function.
	(dependents_relocate): When needed, relocate named expressions.
	Fixes #123649, I hope.

	* src/expr.c (gnm_expr_relocate): For names, don't change when
	inserting/deleting columns/rows.

2007-08-10  Morten Welinder  <terra@gnome.org>

	* configure.in (libgoffice): Make this work with libgoffice-0.5
	* libspreadsheet-1.7.pc.in (Requires): Fix libgoffice req.

2007-08-09  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

	Make Graph entry emit an update signal on focus out event, instead on
	monitoring unmap and unrealize signals. Fix a bug where the update
	signal was not emited when leaving the entry.

	* src/wbcg-gtk.c (cb_graph_dim_entry_unmap),
	(cb_graph_dim_entry_unrealize): removed.
	(cb_graph_dim_entry_focus_out_event): new.
	(wbcg_data_allocator_editor): connect to gee->entry focus-out-event.
	Remove unmap and unrealize connections.

2007-08-10  Jody Goldberg <jody@gnome.org>

	* src/libgnumeric.c (gnm_pre_parse_init) : move the thread and stack
	  init here, along with the call to go_shell_argv_to_glib_encoding.
	(gnm_pre_parse_shutdown) : new.

	* configure.in : More cleanup on the python code in preparation for
	  win32.

2007-08-08  Morten Welinder  <terra@gnome.org>

	* src/commands.c (cmd_ins_del_colrow_repeat): Simplify.
	(cmd_ins_del_colrow_undo): Move undo stuff into GOUndo closure
	returned by sheet_insert_rows and friends.

	* src/sheet.c (sheet_delete_cols, sheet_delete_rows,
	sheet_insert_cols, sheet_insert_rows, sheet_colrow_insert_finish,
	sheet_colrow_delete_finish, sheet_colrow_insdel_finish): Remove
	"states" argument.
	(sheet_colrow_insdel_finish): Don't set states here.
	(sheet_delete_cols, sheet_delete_rows, sheet_insert_cols,
	sheet_insert_rows): If we collect undo info, append closure to
	reset col/row states.

	* src/sheet-object.c (sheet_objects_relocate): Don't update the
	cell_bound for objects that get translated out of the sheet.

2007-08-07  Morten Welinder  <terra@gnome.org>

	* src/sheet.c (sheet_insert_rows): Plug leak.

	* src/gnumeric.h (GnmRelocUndo): Replace by GOUndo.

	* src/sheet-object.c (sheet_objects_clear): Add undo parameter.
	All callers changed.  (This fixes sheet object undo when columns
	containing objects are deleted.)

	* src/dependent.c (dependents_unrelocate): Make static and no
	longer free the info.
	(dependents_unrelocate_free): Make static.
	(dependents_relocate): Return a GOUndo.  All callers changed.

	* src/sheet.c (sheet_delete_cols, sheet_delete_rows,
	sheet_move_range): Use go_undo_combine to combine undo items.

2007-08-07  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

	* src/sheet-object-graph.c (gnm_sog_draw_cairo): use
	gog_graph_render_to_cairo_vector, a variant of
	gog_graph_render_to_cairo for full vector output (no metric rounding).
	Fixes #381682.

2007-08-07  Jody Goldberg <jody@gnome.org>

	* src/wbc-gtk.c : merge with workbook-control-gui, and rename
	  workbook-edit, and wbcg-actions to reflect a more rational naming
	  scheme.

	* src/wbc-gtk.c (wbc_gtk_style_feedback) : 400 -> 200 to make things a
	  bit zippier.

2007-08-06  Morten Welinder  <terra@gnome.org>

	* *.c: Use go_slist_free_custom and go_list_free_custom as
	appropriate.

	* src/dependent.c (dependents_unrelocate): Handle arrays properly.
	Fixes #463834.

2007-08-06  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in: Added support for rendering documentation as PDF.

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

	* src/commands.c (cmd_ins_del_colrow_redo): Always delete the
	local colrow state here.  Move storing of undo information to
	constructor.  Move checking for arrays too.
	(cmd_ins_del_colrow): Store undo information and check for arrays
	here.  Check for arrays/locks in the case of insert too.
	(cmd_ins_del_colrow_undo): Undo contents using go_undo.  Don't
	delete colrow state.

	* src/sheet.c (sheet_colrow_insdel_finish): Don't delete state.

2007-08-04  Jean Brefort  <jean.brefort@normalesup.org>

	* configure.in: requires goffice-0.4.3.

2007-08-01  Jody Goldberg <jody@gnome.org>

	[#395926]
	* src/func.c (function_iterate_argument_values) : Allow non-scalar
	  results for var-arg arguments use intersect or union too.

2007-07-29  Jody Goldberg <jody@gnome.org>

	[#461284]
	* src/wbcg-actions.c : Move 'Repeat' back into the standard actions so
	  that it will be disabled while editing just like the other actions.
	* src/workbook-control-gui.c : handle the sensitivity of repeat here,
	  manually.
	* src/wbc-gtk.c (wbc_gtk_init_undo_redo) : rather than initializing
	  cb_chain_sensitivity down here to handle it.
	(cb_chain_sensitivity ) : use gtk_action_GET_sensitive rather than
	_IS_sensistive to avoid group effects.

2007-07-29  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in: Resync ALL_LINGUAS with po files.

2007-07-29  Jody Goldberg <jody@gnome.org>

	[#438933]
	* src/sheet-object.c (sheet_object_get_stacking) : simplify and just
	  find the object in the ordered list of objects rather than
	  searching in the realized lists.
	(sheet_object_adjust_stacking) : maintain the order of the object list
	  and have the views reflect that, rather than manipulating the views
	  individually.

	* src/gnm-pane.c (cb_pane_init_objs) : create the objects in the
	  reverse order to match the stacking order.

	* src/workbook-control-gui.c (wbcg_sheet_add) : no need to create the
	  object views here.  The panes will do that for us when they are
	  realized.

2007-07-26  Jody Goldberg <jody@gnome.org>

	* src/sheet-object-widget.c (cb_combo_model_changed) : we can not set
	  the column until we have a model, but we can only set it the first
	  time.

2007-07-26  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* README: Update Debian package names.

2007-07-26  Jody Goldberg <jody@gnome.org>

	* src/io-context-gtk.c : Make show_splash and show_warnings
	  properties, not global variables.
	* src/libgnumeric.c : remove the globals from here.
	* src/main-application.c : and move them locally here for the
	  GOptions.

2007-07-26  Jody Goldberg <jody@gnome.org>

	* src/xml-sax-write.c (xml_write_objects) : store the object in
	  reverse stacking order to match the sheet_object_set_sheet's api
	  that prepends new objects.

2007-07-24  Jody Goldberg <jody@gnome.org>

	* configure.in : Post release bump

2007-07-24  Jody Goldberg <jody@gnome.org>

	* Release 1.7.11

2007-07-23  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (wbcg_set_transient) : renamed from
	  wbcg_set_transient_for and remove the old virtual wrapper.

	* icons/win32-gnumeric.ico : regenerate using icotool and the new
	  tango icons.  Fixes the background. [#305311]

2007-07-23  Morten Welinder  <terra@gnome.org>

	* configure.in (python): survive missing python stuff.

2007-07-22  Jody Goldberg <jody@gnome.org>

	* configure.in : Beef up the python test logic from the gimp and try
	  to make win32 work with it.

2007-07-18  Jody Goldberg <jody@gnome.org>

	* configure.in : bump the goffice req to svn trunk to get the new
	  function.
	* src/sheet-object-graph.c (sheet_object_graph_guru) : Use the new
	  gog_guru_get_help_button to solve [#394181] until we split the docs
	  between gnumeric and goffice.

2007-07-22  Jody Goldberg <jody@gnome.org>

	* src/sheet.c (sheet_move_range) : be more adaptive about how we
	  invalidate the region.  If things are just being shifted we can
	  pretend that we're moving whole cols/rows so that the relocation
	  code can use the magic heuristics to extend/shorten partial regions.
	[#439347]

2007-07-22  Morten Welinder  <terra@gnome.org>

	* src/wbcg-actions.c: Move sheet direction from main toolbar to
	Format->Sheet menu.

2007-07-22  Jody Goldberg <jody@gnome.org>

	* src/xml-sax-read.c (handle_delayed_names) : don't dup ids.

2007-07-22  Jody Goldberg <jody@gnome.org>

	Coverity
	* src/tools/goal-seek.c (goal_seek_bisection) : fix typo.

2007-07-22  Jody Goldberg  <jody@gnome.org>

	* src/sheet.c (PROP_CONVENTIONS) : new property.
	(PROP_USE_R1C1) : made this a convenience wrapper for
	(sheet_set_conventions) : rename.
	(sheet_get_conventions) : renamed from sheet_conventions.

	* src/workbook.c (RECALC_MODE) : new property.

	* src/xml-sax-read.c (gnm_xml_attr_int) : make more rigorous.
	(xml_sax_calculation) : add DateConvention.
	(xml_sax_old_dateconvention) : new.
	(xml_sax_sheet_start) : store the name of the expr conv.
	(xml_sax_sheet_name) : assigned the named expr conv.

	* src/xml-sax-write.c (xml_write_sheet) : Use an enum in place of a
	  bool to store R1C1, for future expandability
	(xml_write_calculation) : Store the DateConvention here, rather than
	  in a magic element missing from the schema.
	* src/xml-io.c (xml_sheet_read) : support new ExprConvention hook.
	(xml_workbook_read) : support DateConvention in Calculation.

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

	* src/xml-sax-read.c (xml_sax_repeat_top): new
	(xml_sax_repeat_left): new
	(gnumeric_1_0_dtd): hook up xml_sax_repeat_top and xml_sax_repeat_left

2007-07-21  Jody Goldberg <jody@gnome.org>

	* src/selection.c (sv_selection_walk_step) : Be smarter about choosing
	  a first col for tabs.  Going backwards can adjust the bounds.

	* src/gnm-pane.c (gnm_pane_key_mode_sheet) : invalidate the
	  'first_tab_col' so that that when Enter is switched from moving to
	  the right, to going up and down we do not jump back to the left as
	  if the previous movement had been a tab.

2007-07-19  Morten Welinder  <terra@gnome.org>

	* src/parser.y (yylex): Fix long/int mixup causing #458158 on x64.

2007-07-18  Jon K Hellan  <hellan@acm.org>

	* configure.in: Fix build

2007-07-17  Jody Goldberg <jody@gnome.org>

	* configure.in : Add an icons subdir to figures to facilitate the
	  creation chm files.  The stylesheets map 'warning' and the like to
	  figures/icons/warning.png, I do not see where.  The simple solution
	  is to dup the icons out of yelp, and into our tree with the correct
	  names and location.

2007-07-16  Jody Goldberg <jody@gnome.org>

	From Coverity.
	* src/xml-sax-read.c (xml_sax_hlink) : typo that would store the tip
	  as the target.
	* src/sheet.c (sheet_set_name) : Be extra anal about wb=NULL case.

2007-07-15  Jody Goldberg <jody@gnome.org>

	* configure.in : bump to libgda-3.1.x, and libgnomedb-3.0.x

2007-07-15  Jody Goldberg <jody@gnome.org>

	* src/workbook-view.c (wb_view_style_feedback) : We need to update the
	  validation combo even if the style is the same. [#453525]

2007-07-12  Jody Goldberg <jody@gnome.org>

	* src/gnumeric-gconf.c : split out each of the implementations into.
	* src/gnm-conf-gconf.c : here.
	* src/gnm-conf-win32.c : here.
	* src/gnm-conf-keyfile.c : and here.

	* schemas/gnumeric-general.schemas.in : Add enter_moves_dir
	* src/gnm-pane.c (gnm_pane_key_mode_sheet) : use it here.

2007-07-13  Jody Goldberg <jody@gnome.org>

	* gnumeric.xsd : update the schema with the ExprConventions and add
	  some defaults.

	* src/xml-sax-read.c (xml_sax_sheet_name) : handle the new
	  ExprConvention flags, just A1/R1C1 for now, but future proof it.
	* src/xml-sax-write.c (xml_write_sheet) : ditto.

	* src/sheet.c (sheet_set_conventions) : replaces sheet_set_use_r1c1.
	(gnm_sheet_set_property) : added 'conventions' and made use-r1c1 a
	  convenience flag.
	(gnm_sheet_get_property) : ditto.
	(gnm_sheet_class_init) : ditto.
	(sheet_dup) : use conventions rather than r1c1 flag.
	(gnm_sheet_init) : init the convs directly.
	(sheet_get_conventions) : renamed from sheet_conventions.

2007-07-13  Jody Goldberg <jody@gnome.org>

	* configure.in : remove GTK_DISABLE_DEPRECATED for now.  Gtk trunk has
	  deprecated GtkTooltips.

2007-07-12  Jody Goldberg <jody@gnome.org>

	* src/sheet-control-gui.c (scg_redraw_headers) : fix logic reversal
	  from the gnm-canvas/gnm-pane merging.

2007-07-12  Jody Goldberg <jody@gnome.org>

	* src/parse-util.c (gnm_conventions_new_full) : init input.range_ref
	  here so that all implemenations have something.  Fixes crash on oleo
	  import.
	(parse_util_init) : not here.

2007-07-09  Jean Brefort  <jean.brefort@normalesup.org>

	* Makefile.am: don't compile the component for now as it is
	unusable after gnome-print support removal.
	* configure.in: ditto.

2007-07-06  Jody Goldberg <jody@gnome.org>

	* configure.in : Provide a way to redirect the python headers for
	  cross compilation.

2007-07-02  Jody Goldberg <jody@gnome.org>

	* src/parse-util.c (std_output_string) : virtualize string escaping.
	* src/expr.c (do_expr_as_string) : use it here.

2007-07-02  Jody Goldberg <jody@gnome.org>

	* configure.in : avoid putting newlines at the end of python output.

2007-07-02  Jody Goldberg <jody@gnome.org>

	* configure.in : handle missing gconf m4 macros

2007-07-01  Jody Goldberg <jody@gnome.org>

	* src/workbook-view.c (wb_view_edit_line_set) : doh! order things
	  consistently.

2007-06-27  Jody Goldberg <jody@gnome.org>

	* src/gnm-pane.c (gnm_pane_dispose) : chain up properly to avoid
	  crashing on exit with canvas widgets.

2007-06-27  Jody Goldberg <jody@gnome.org>

	* src/print-info.c (print_info_load_defaults) : Do _not_ clear the
	  page breaks here, that wipes out any that already existed.
	(print_info_new) : do it here instead.

	* src/print-info.h : rename from v_pagebreak/h_pagebreak ->
	  pagebreak.{v,h}.  Remove first/last until we know what they do.

2007-06-27  Jody Goldberg <jody@gnome.org>

	* src/colrow.c (colrow_reset_defaults) : new utility routine for the
	  ODF importer to search for cols/rows that are effectively the same
	  as the defaults and to reset their default status.

	* src/colrow.h (colrow_free) : new, to help clarify the code.

	* src/sheet.c (sheet_col_destroy) : use colrow_free instead of a
	  direct call to g_free.
	(sheet_row_destroy) : ditto.

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

	* src/xml-sax-read.c (xml_sax_print_order): new
	(GsfXMLInNode): hook up xml_sax_print_order
	* src/print.c (compute_sheet_pages): add warning

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

	* src/gnumeric-gconf.c (gnm_gconf_set_printer_header): do not call
	  go_conf_set_str_list with null arguments

2007-06-19  Jody Goldberg <jody@gnome.org>

	* src/sheet.c (sheet_set_direction) : queue the respan _after_ we
	  toggle the direction otherwise the redraw might do a span calc based
	  on the old value.

	* src/print-info.c (gnm_page_breaks_dup) : handle NULL for the
	  sheet_dup case.

2007-06-18  Jody Goldberg <jody@gnome.org>

	* src/gnumeric-pane.c : Merge with
	* src/gnumeric-canvas.c : into
	* src/gnm-pane.c : this new amalgamated file.  The difference between
	  the old GnmCanvas and GnumericPane was arbitrary and more of a
	  result of history than design.  Their state was co-mingled and it
	  was long past time to cleanup the mess and merge them.

2007-06-18  Morten Welinder  <terra@gnome.org>

	* src/print-cell.c (print_cell_gtk): Tentatively fix crash.
	[#448864]

	* src/xml-sax-read.c (xml_sax_cell_content): Use gnm_cell_set_text
	only as a last resort.
	(struct XMLSaxParseState): Add convs member.
	(xml_sax_validation_expr_end, xml_sax_condition_expr_end,
	xml_cell_set_array_expr, xml_sax_cell_content,
	handle_delayed_names): Use conventions.
	(xml_sax_sheet_name): Handle forgotten "protected" attribute.
	(xml_sax_sheet_start, xml_sax_sheet_start, xml_sax_sheet_name):
	Handle R1C1.  Fixes #448714.

	* src/xml-sax-write.c (xml_write_sheet): Save R1C1 flag when set.
	(gnm_xml_io_conventions): Globalize and rename from
	xml_io_conventions.

2007-06-17  Jody Goldberg <jody@gnome.org>

	* src/xml-sax-read.c (gnm_xml_file_open): Init progress counter to
	  avoid use of uninitialized memory.

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

	* src/sheet-control-gui.c (scg_redraw_range): Restrict to visible
	pane area here.
	* src/sheet-view.c (sv_redraw_range): Not here.

2007-06-15  Jody Goldberg <jody@gnome.org>

	* src/print-info.c (print_info_free) : release the page breaks.
	(print_info_load_defaults) : init them.
	(print_info_dup) : dup them.
	(print_info_set_breaks) : new.
	(gnm_page_breaks_new) : new.
	(gnm_page_breaks_dup) : new.
	(gnm_page_breaks_free) : new.
	(gnm_page_breaks_append_break) : new.

	* src/print-info.h (GnmPageBreakType) : new.
	(GnmPageBreak) : new.

	* src/parse-util.c (gnm_expr_parse_str_simple) : rename arg to be more
	  consistent.

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

	* src/sheet-view.c (sv_redraw_range): Restrict to drawing to what
	is visible.  Fixes #445617.

	* src/sheet-control-gui.c (scg_recompute_visible_region): Renamed
	from scg_compute_visible_region.  All users changed.
	(scg_get_visible_region): New virtual.

2007-06-14  Jody Goldberg <jody@gnome.org>

	* src/item-edit.c (ie_layout) : Fix RTL mode and cleanup the handling
	  of merges and margins.
	(get_top_left) : We handle the +1 extension to get inclusion of the
	  bounds when drawing not when measuring.
	(item_edit_set_property) : Merges in RTL need special handling.

	* src/gnumeric-pane.c (gnm_pane_edit_start) : remove visibility check
	  on creation.  That is wrong in multiple ways that would seemingly
	  disable editing for no obvious reason.
	    - editing a merged cell with corner outside the visible range
	    - editing a position where the user had scrolled away from the
	      editpos

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

	* src/main-application.c (main): Prevent crash if we fail to load
	the workbook.

2007-06-10  Jody Goldberg <jody@gnome.org>

	* src/item-grid.c (item_grid_button_press) : Limit mouse button
	  selection capability in protected sheets.

	* src/selection.c (sheet_selection_is_allowed) : new.
	(walk_boundaries) : some initial work on walking only permissible
	  cells in a protected sheet.  There are still some performance issues
	  when wrapping.
	* src/selection.c (sv_selection_walk_step) : when protected, we can
	  wrap into other rows and columns.

2007-06-10  Jody Goldberg <jody@gnome.org>

	* src/print-info.c (pdf_write_workbook) : move here from sscovert.
	(print_init) : and register the saver here.

	* src/ssconvert.c (main) : moved registration from here.

2007-06-10  Jody Goldberg <jody@gnome.org>

	* src/workbook-view.c (wb_view_style_feedback) : fix placement when
	  applied to merged cells.

2007-06-10  Jody Goldberg <jody@gnome.org>

	* configure.in : bump the gsf req to get the OpenPkg code that just
	  moved there from our excel plugin.

2007-06-10  Jody Goldberg <jody@gnome.org>

	* src/sheet.c (gnm_sheet_set_property) : Support the XL style sheet
	  protection capabilities.
	(gnm_sheet_get_property) : ditto.
	(gnm_sheet_init) : ditto.
	(gnm_sheet_class_init) : ditto.
	(sheet_dup) : ditto.

	(sheet_col_set_default_size_pts) : add some validation just in case.

2007-06-08  Jody Goldberg <jody@gnome.org>

	* src/item-grid.c (item_grid_draw) : offset needs to know about RTL
	  when skipping a merged region. [#442463]
	(item_grid_draw_merged_range) : drawing diagonals needs to respect
	  RTL.  [442467]

2007-06-08  Jody Goldberg <jody@gnome.org>

	* src/item-cursor.c (item_cursor_reposition) : simplify slightly.
	(item_cursor_bound_set) : patch logic error.
	(cb_move_cursor) : now that we do not need to clip, handle the
	  make-visible here...
	(cb_autofill_scroll) : and here.
	(item_cursor_update) : remove the clip here. [#444610]

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

	* src/selection.c (cb_range_to_string): Use rangeref_as_string to
	get r1c1 right.  [#443832]

2007-06-03  Jean Brefort  <jean.brefort@normalesup.org>

	* src/collect.c: (gnm_slist_sort_merge), (gnm_strip_missing),
	(float_range_function2): replace union_of_int_sets by a more
	performant functon, and rename strip_missing.
	* src/collect.h: ditto.

2007-05-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print.c (print_page_cells): remove unused clipping
	(print_page_col_headers): fix rtl case
	(print_page_row_headers): fix rtl case
	(print_page): fix rtl case

2007-05-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print.c (print_titles): deleted
	(print_header_gtk): new
	(print_page_col_headers): new
	(print_page_row_headers): new
	(setup_scale): deleted
	(print_page): some cleanup
	(compute_scale_fit_to): some simplification
	  and handle header
	(compute_sheet_pages_across_then_down): handle headers
	(compute_sheet_pages): ditto

2007-05-25  Morten Welinder  <terra@gnome.org>

	* src/xml-io.c (xml_init): Install a mime type for the saver if
	goffice supports it.

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

	* src/item-bar.c (item_bar_calc_size): Tentative fix for Pango
	critical, #440514.

2007-05-21  Morten Welinder  <terra@gnome.org>

	* src/wbcg-actions.c (cb_file_quit): Call new dialog_quit.

	* src/gui-file.c (gui_file_save): Grab the size from a wbcg that
	refers to the right workbook.
	(gui_file_save_as): Ditto.  Also refer to the right wbcg when
	looking for saver type.

	* src/workbook-control-gui.c (wbcg_close_if_user_permits): Make
	static.
	(wbcg_show_save_dialog): Make static.
	(wbcg_find_for_workbook): New function.

2007-05-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xml-sax-read.c (xml_sax_print_titles): new
	(GsfXMLInNode): hook up xml_sax_print_titles

2007-05-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xml-sax-read.c (xml_sax_print_grid): new
	(GsfXMLInNode): hook up xml_sax_print_grid
	* style-border.c (style_border_set_gtk_dash): even for
	  GNM_STYLE_BORDER_NONE (gridline only) do we need to set the
	  line width.

2007-05-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-style.c (cb_style_extent): also adjust top left
	(sheet_style_get_extent): fix description

2007-05-17  Morten Welinder  <terra@gnome.org>

	* src/application.c (gnm_app_history_get_list): Take max-length
	argument to avoid potential stat-storm.  All callers changed.

	* src/wbcg-actions.c: Hook up FileHistoryFull.

2007-05-16  Morten Welinder  <terra@gnome.org>

	* src/main-application.c (main): Put files from the command line
	into the history.

	* src/application.c (gnm_app_create_opener_filter): Don't add
	mimes.  Avoid adding very generic suffixes.

	* src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): Show no more
	than 9 entries.

	* src/xml-io.c (xml_init): The sax importer is no longer
	experimental.

	* src/application.c (compare_mru): Sort by last-visited.

2007-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/xml-sax-read.c (xml_sax_print_vcenter): simplify
	(ml_sax_print_hcenter): simplify
	(xml_sax_monochrome): new
	(xml_sax_even_if_only_styles):
	(xml_sax_orientation): explicitly mention "landscape" but default
	  portrait
	(GsfXMLInNode): hook up xml_sax_monochrome and
	  xml_sax_even_if_only_styles
	* src/print.c (cp_gtk_page_setup): new
	(gnm_request_page_setup_cb): new
	(gnm_print_sheet) : set monochrome if required and hook up
	  gnm_request_page_setup_cb.

2007-05-15  Jean Brefort  <jean.brefort@normalesup.org>

	* configure.in: test for go_render_generall instead
	of go_render_numberl which is gone.

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

	* src/xml-sax-read.c (xml_sax_sheet_start): Load tab text colour
	too.  [#437743]

2007-05-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xml-sax-read.c (xml_sax_print_vcenter): new
	(xml_sax_print_hcenter): new
	(GsfXMLInNode): hook up above functions
	* print.c (print_page): center printout if requested

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

	* src/cell-draw.c (cell_finish_layout): Fix problem with
	non-expanded format fillers.

2007-05-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print.c (print_page): leave space for headers and footers
	(compute_sheet_pages_across_then_down): ditto

2007-05-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/xml-sax-read.c (xml_sax_print_margins): use
	  print_info_set_edge_to_*
	* src/gnumeric-gconf.h (gnm_gconf_set_print_tb_margins): new
	  arguments
	* src/gnumeric-gconf.c (gnm_gconf_set_print_tb_margins): new
	  individual arguments
	* src/xml-sax-write.c (xml_write_print_info): adjust
	  print_info_get_margins for new arguments
	* src/xml-io.c (xml_sax_print_margins): use
	  print_info_set_edge_to_*
	* src/print-info.h (PrintMargins): delete
	(PrintInformation): new fields
	(print_info_get_margins): new arguments
	(print_info_set_edge_to_above_footer): new
	(print_info_set_edge_to_below_header): new
	* src/print-info.c (print_info_get_margins): new arguments
	(print_info_set_edge_to_above_footer): new
	(print_info_set_edge_to_below_header): new
	(print_info_load_defaults): handle new fields
	(page_setup_get_paper): work around gtk bug 426416
	(print_info_set_page_setup): adjust for new arguments of
	  print_info_get_margins

2007-05-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* schemas/gnumeric-dialogs.schemas.in: new paper-orientation schema
	* src/gnumeric-gconf.c (gnm_conf_init_page_setup): initialize orientation
	(gnm_gconf_set_page_setup): save orientation
	* src/gnumeric-gconf-priv.h (PRINTSETUP_GCONF_PAPER_ORIENTATION): new

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

	* src/ssconvert.c (main): Install a PDF exporter.

	* src/print.c (gnm_print_sheet): Add parameter export_dst for pdf
	file generation.  All callers changed.

2007-05-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* schemas/gnumeric-dialogs.schemas.in: add new schemas for margins
	and paper
	* src/gnumeric-gconf-priv.h (PRINTSETUP_GCONF_MARGIN_GTK_TOP): new
	(PRINTSETUP_GCONF_MARGIN_GTK_BOTTOM): new
	(PRINTSETUP_GCONF_MARGIN_GTK_LEFT): new
	(PRINTSETUP_GCONF_MARGIN_GTK_RIGHT): new
	(PRINTSETUP_GCONF_PAPER): new
	* src/gnumeric-gconf.c (gnm_conf_init_page_setup): new
	(gnm_conf_init_print_settings): call gnm_conf_init_page_setup
	(gnm_gconf_set_page_setup): save page setup
	* src/print-info.h (page_setup_set_paper): new
	(print_info_set_paper_width_height): delete
	(page_setup_get_paper): new
	* src/print-info.c (page_setup_set_paper): new
	(print_info_set_paper_width_height): delete
	(page_setup_get_paper): new
	(print_info_set_paper): use page_setup_set_paper
	(print_info_get_paper): use page_setup_get_paper
	(print_info_set_page_setup): preserve margins

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

	* configure.in: Post-release bump.

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

	* Release 1.7.10

2007-05-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print-info.c (unit_name_to_unit): correct the sense of the tests.

2007-05-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* schemas/gnumeric-dialogs.schemas.in: add preferred-unit schema
	* src/xml-sax-read.c (xml_sax_print_margins_get_double): deleted
	(xml_sax_print_margins_unit): rewritten
	(xml_sax_print_margins): add arguments to xml_sax_print_margins_unit
	* src/gnumeric-gconf.c (gnm_gconf_init_printer_defaults): add preferred unit
	(gnm_gconf_set_print_tb_margins): add argument
	* src/gnumeric-gconf.h (gnm_gconf_set_print_tb_margins): add argument
	(gnm_app_prefs): add fields
	* src/xml-sax-write.c (xml_write_print_unit): rewrite to handle unit
	(xml_write_print_margin): delete
	* src/gnumeric-gconf-priv.h (PRINTSETUP_GCONF_PREFERRED_UNIT): new
	* src/xml-io.c (xml_node_get_print_unit): deleted
	(xml_node_get_print_margin): rewrite and replace xml_node_get_print_unit with
	xml_node_get_print_margin
	* src/print-info.c (unit_name_to_unit): new
	(unit_convert): deleted
	(unit_to_unit_name): new
	* src/print-info.h (unit_name_to_unit): new
	(unit_to_unit_name): new

2007-05-02  J.H.M. Dassen (Ray) <jdassen@debian.org>

	*  plugins/fn-tsa/Makefile.am: Do not needlessly try to link against
	libgsl.

2007-05-02  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in: Bumped goffice dependency to reflect that goffice trunk
	is needed for the new tsa plugin.

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

	* configure.in: add new tsa plugin.
	* plugins/Makefile.am: ditto.
	* plugins/fn-tsa/Makefile.am: ditto.
	* plugins/fn-tsa/functions.c: add two sheet functions:
	interpolation and periodogram
	* plugins/fn-tsa/plugin.xml.in: ditto.

2007-04-29  Jody Goldberg <jody@gnome.org>

	Begin generalizing the conventions to properly support ODF-1.2 output.
	s/GnmExprConventions/GnmConventions/
	s/gnm_expr_conventions_new_full/gnm_conventions_new_full/
	s/gnm_expr_conventions_new/gnm_conventions_new/
	s/gnm_expr_conventions_free/gnm_conventions_free/
	s/gnm_expr_conventions_default/gnm_conventions_default/
	s/gnm_expr_conventions_r1c1/gnm_conventions_xls_r1c1/

	* src/parse-util.c (cellref_as_string) : Take the new
	  'GnmConventionsOut' to combine the various args.
	(rangeref_as_string) : ditto.
	(gnm_1_0_rangeref_as_string) : ditto.
	(std_expr_name_handler) : ditto.

2007-04-27  Jody Goldberg <jody@gnome.org>

	Fixes #433907.
	* src/expr.c (reloc_range) : do not attempt to relocate a reference to
	  something not on the origin sheet.
	(reloc_normalize_cellref) : use the ParsePos (initialized from the
	  dep) to select the default sheet, not the origin_sheet.

2007-04-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_print_setup): print_info_dup might load the pi
	* src/xml-sax-read.c (xml_sax_orientation): use
	  print_info_set_paper_orientation
	* src/xml-sax-write.c (xml_write_print_info): use
	  print_info_get_paper_orientation
	* src/print.c (compute_sheet_pages_across_then_down): remove debug
	  spew
	* src/xml-io.c (xml_read_print_info): use
	  print_info_set_paper_orientation
	* src/print-info.c (print_info_set_paper_orientation): new
	(print_info_get_paper_orientation): new
	(print_info_get_page_setup): print-info is not constant, also verify
	  arguments
	(print_info_set_page_setup): verify arguments
	(print_info_get_paper_display_name): new
	* src/print-info.h (portrait_orientation): remove field
	(invert_orientation): remove field
	(print_info_set_paper_orientation): new
	(print_info_get_paper_orientation): new
	(print_info_get_page_setup): print-info is not constant
	(print_info_get_paper_display_name): new

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

	* configure.in: Post-release bump.

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

	* Release 1.7.9

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

	* src/workbook.c (workbook_update_history): New function,
	extracted from workbook_dispose.
	(workbook_dispose): Don't update file history here.

	* src/gui-file.c (gui_file_read, gui_file_save_as, gui_file_save):
	Call workbook_update_history on success.

	* src/ssindex.c (ssindex): Avoid updating the recect-files list.

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

	* src/print-info.c (print_info_get_paper): Fix return types.

	* src/commands.c (cmd_rename_sheet): Send errors to the command
	context [==gui], not just stderr.

2007-04-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print.c (print_page): handle scaling
	(compute_n_pages): new
	(compute_scale_fit_to): rewrite to approximate best scaling factor
	(compute_sheet_pages_add_sheet): avoid warning
	(compute_sheet_pages_across_then_down): handle scaling

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

	* src/sort.c (gnm_sort_contents): Set locale around sorting, if
	needed.
	* src/wbcg-actions.c (sort_by_rows): Set NULL locale.
	* configure.in: revert previous change.

2007-04-15  Christophe Merlet  <redfox@redfoxcenter.org>

	* configure.in: Added "oc" (Occitan) to ALL_LINGUAS.

2007-04-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* schemas/gnumeric-dialogs.schemas.in: fix schema for gtk-setting

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

	* src/gui-file.c (advanced_clicked): Labels were flipped.  [#428225]

2007-04-07  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* src/wbcg-actions.c (cb_help_docs): Use 'ghelp' rather than 'help'
	  as the URI scheme when calling yelp. The 'ghelp' URI scheme is
	  implemented directly in yelp, whereas 'help' causes yelp to search
	  for a libvfs-help.so helper module which doesn't exist on my system
	  anymore.

2007-04-06  Pema Geyleg  <pema.geyleg@gmail.com>

	* configure.in: Added 'dz' to ALL_LINGUAS.

2007-04-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print.c (PrintingInstance): add fields
	(SheetPrintInfo): new struct
	(printing_instance_delete): handle new fields
	(compute_sheet_pages_add_sheet): new
	(compute_pages): only set up the list of sheets to paginate
	(gnm_paginate_cb): new callback
	(gnm_begin_print_cb): don't paginate here
	(gnm_print_sheet): hook up gnm_paginate_cb callback

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

	* src/gnm-so-filled.c (gnm_so_filled_draw_cairo): initialize obj

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

	* src/xml-sax-write.c (xml_write_print_info): free paper name string
	* src/print-info.c (print_info_get_paper): create importable name for
	custom paper sizes.
	* src/print-info.h (print_info_get_paper): change return type

2007-04-04  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in: Bumped goffice dependency to reflect that goffice trunk
	is needed as building against goffice 0.3.7 now fails.

2007-04-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* schemas/gnumeric-dialogs.schemas.in: replace
	/schemas/apps/gnumeric/printsetup/printer-config with
	/schemas/apps/gnumeric/printsetup/gtk-setting
	* src/sheet.c (gnm_sheet_init): add new argument to
	print_info_new
	* src/gnumeric-gconf.c (gnm_conf_init_print_settings): add argument
	(gnm_gconf_init_printer_defaults): new
	(gnm_conf_init_extras): use gnm_gconf_init_printer_defaults
	(gnm_conf_init_essentials): move stuff to gnm_gconf_init_printer_defaults
	(gnm_gconf_set_page_setup): new
	(gnm_gconf_get_page_setup): new
	(gnm_gconf_get_print_settings): new
	(gnm_gconf_set_printer_config): deleted
	* src/gnumeric-gconf.h (gnm_gconf_init_printer_defaults): new
	(gnm_gconf_set_page_setup): new
	(gnm_gconf_get_page_setup): new
	* src/xml-sax-write.c (xml_write_print_info): use print_info_get_margins
	* src/gnumeric-gconf-priv.h (PRINTSETUP_GCONF_PRINTER_CONFIG): deleted
	* src/print.c (gnm_print_sheet): use gnm_gconf_[gs]et_print_settings
	* src/xml-io.c (xml_print_info_fix_margins): deleted
	(xml_read_print_margins): use print_info_set_margins
	* src/print-info.c (print_hf_free): It is now normal to be called with NULL.
	(print_info_free): drop unneeded items
	(print_info_dup): ditto
	(print_info_load_defaults): new
	(print_info_new): add argument and defer initialization
	(print_info_save): we may have to modify the pi by loading defaults
	(print_info_get_margins): use GtkPageSetup
	(print_info_set_margin_*): ditto
	(print_info_set_paper): ditto
	(print_info_set_margins): use gtk_page_setup_set_*
	(print_info_[sg]et_paper_width): deleted
	(print_info_[sg]et_paper_height): deleted
	(print_info_make_config): deleted
	(print_info_[gs]et_paper): use GtkPageSetup
	(print_info_set_paper_width_height): new stub
	(print_info_get_paper_width): new return type and use GtkPageSetup
	(print_info_get_paper_height): ditto
	* src/print-info.h (PrintMargins): move items to GtkPageSetup
	(_PrintInformation): drop unneeded items
	(print_info_new): add argument
	(print_info_load_defaults): new
	(print_info_make_config): deleted
	(print_info_load_config): deleted
	(print_info_get_paper_width): deleted
	(print_info_get_paper_height): deleted
	(print_info_set_paper_width_height): new
	(print_info_get_paper_width): change return type
	(print_info_get_paper_height): change return type


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

	* src/search.c (gnm_search_replace_cell): Normalize strings before
	matching.
	(gnm_search_replace_value): Ditto.
	(gnm_search_replace_comment): Ditto.

2007-04-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnumeric-gconf.c (gnm_gconf_set_print_settings): new
	(gnm_conf_init_print_settings): new
	(gnm_gconf_set_print_settings_cb): new
	(gnm_conf_init_extras): call gnm_conf_init_print_settings
	* src/gnumeric-gconf.h (gnm_gconf_set_print_settings): new
	(gnm_app_prefs): add print_settings field
	* src/gnumeric-gconf-priv.h (PRINTSETUP_GCONF_GTKSETTING):
	new key
	* src/print.c (gnm_print_sheet): save/restore printsettings

2007-03-29  Pema Geyleg <pema.geyleg@gmail.com>

	* configure.in: Added 'dz' to ALL_LINGUAS

2007-03-29  Jody Goldberg <jody@gnome.org>

	* src/sheet-style.c (sheet_style_set_col) : new.  placeholder to
	  simplify future extensions when cols/rows have styles.
	(sheet_style_set_row) : ditto.
	(sheet_style_apply_col) : ditto.
	(sheet_style_apply_row) : ditto.
	(sheet_style_apply_pos) : new convenience.

	* src/ranges.c (range_init_cols) : new.
	(range_init_rows) : new.

2007-03-29  Jody Goldberg <jody@gnome.org>

	* component/gnumeric.c (go_gnm_component_class_init) : the print
	  method is now gone.

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

	* src/number-match.c (set_money_format): New function to select an
	appropriate money format for a given number.  Fixes rest of
	#423603.

2007-03-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* delete the "print" field from all sheet objects. We
	are now using the draw_cairo method
	* src/print-cell.c (gnm_print_make_rect_path): delete
	(print_cell): delete
	(print_rectangle): delete
	(print_cell_background): delete
	(print_merged_range): delete
	(gnm_print_cell_range): delete
	* src/sheet-object.c (sheet_object_print): delete
	* src/print-cell.h (gnm_print_make_rect_path): delete
	(gnm_print_cell_range): delete
	* src/sheet-object.h (sheet_object_print): delete
	* src/sheet-object-cell-comment.c (cell_comment_print): delete
	* src/dialogs/dialog-printer-setup.c: comment out all currently
	  unused functions
	(PrinterSetupStateNew): rename to PrinterSetupState
	(printer_setup_state_new_new): rename to printer_setup_state_new
	* src/dialogs/dialogs.h (dialog_printer_setup): does not depend on
	gnomeprint
	* src/dialogs/Makefile.am: remove libgnomeprint condition
	* src/style-font.h: remove libgnomeprint include
	* src/xml-sax-read.c: comment out gnomeprint dependency
	* src/xml-sax-write.c: ditto
	* src/xml-io.c: ditto
	* src/gnumeric-gconf.c (gnm_conf_init_extras): remove libgnomeprint
	dependency
	* src/sheet-object-graph.c (gnm_sog_print): delete
	* src/pattern.c (gnumeric_background_set_pc): delete
	* src/pattern.h (gnumeric_background_set_pc): delete
	* src/gnm-so-line.c (gnm_so_line_print): delete
	* src/Makefile.am: remove libgnomeprint condition
	* src/sheet-filter.c: remove "print" field
	* src/validation.c: ditto
	* src/sheet-object-image.c (gnm_soi_print): delete
	* src/gnm-so-filled.c (make_rect): delete
	(make_ellipse): delete
	(gnm_so_filled_print): delete
	(set_color): delete
	* src/style-border.c (style_border_set_pc_dash): delete
	(style_border_set_pc): delete
	(print_hline): delete
	(print_vline): delete
	(gnm_style_borders_row_print): delete
	(gnm_style_border_print_diag): delete
	* src/style-border.h (style_border_set_pc_dash): delete
	(style_border_set_pc): delete
	(gnm_style_borders_row_print): delete
	(gnm_style_border_print_diag): delete
	* src/wbcg-actions.c: enable print commands
	* src/print-info.c: comment out libgnomeprint dependencies
	* src/print-info.h: ditto
	* src/wbc-gtk.c: remove print menu disabling
	* src/sheet-object-impl.h:  remove "print" field
	* src/gnm-so-polygon.c (gnm_so_polygon_print): delete
	* plugins/excel/ms-excel-read.c: comment out gnomeprint dependency
	* configure.in: remove libgnomeprint tests
	* component/gnumeric.c: comment out gnomeprint dependency

2007-03-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print.c: uncomment (#if 0 ... #endif)
	  currently unused code and gemove gnomeprint includes
	(sheet_print_selection): deleted
	(PrintingInstance): change wbcg to wbc
	(compute_sheet_pages): adjust for wbcg -> wbc change
	(gnm_print_sheet): ditto

2007-03-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print.c (PrintingInstance): add wbcg
	(compute_sheet_pages): handle selection & printarea
	(gnm_begin_print_cb): ditto
	(print_sheet): deleted
	* src/sheet.h (sheet_get_printarea): add arguments
	* src/sheet.c (sheet_get_printarea): add arguments and ignore
	  printarea if requested

2007-03-28  Jean Brefort  <jean.brefort@normalesup.org>

	* src/Makefile.am: removed regression.c
	* src/func-builtin.c: use new names for range functions.
	* src/rangefunc.c: changed names of functions, and use the versions in
	goffice when available.
	* src/rangefunc.h: ditto.
	* src/regression.h: ditto.
	* src/regression.c: removed obsolete.

2007-03-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print.h: add keys
	(PrintRange): add further options
	* src/print.c (PrintingInstance): add more fields
	(compute_sheet_pages): add selection and ignore_printarea args &
	  clean up
	(compute_pages): handle various print ranges
	(PrintDialogState): deleted
	(dialog_destroy): deleted
	(sheet_print_real): deleted
	(dialog_response): deleted
	(gnm_begin_print_cb): discover print range
	(widget_button_cb): new
	(gnm_create_widget_cb): new signal handler
	(gnm_custom_widget_apply_cb): new signal handler
	(gnm_print_sheet): prepare custom widget to handle print ranges

2007-03-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object.h (sheet_object_draw_cairo): add rtl argument
	* src/sheet-object.c (sheet_object_draw_cairo): add rtl argument
	* src/print.c (print_sheet_objects): clip to cell range and handle
	rtl sheets
	(print_page_cells): Rows are determining the height and cols the width!
	(gnm_print_sheet): enable progress reporting
	* component/gnumeric.c (go_gnm_component_draw): add rtl argument to
	  sheet_object_draw_cairo

2007-03-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/style-border.c (gnm_style_border_print_diag_gtk): remove
	  debug spew
	* src/print.c (print_sheet_objects): use gtkprint
	(print_page_cells): enable sheet object printing and prepare
	  clipping region
	(print_page): clipping should happen in print_page_cells

2007-03-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print-cell.c (print_cell_background_gtk): Enable diagonal
	  border
	(print_merged_range_gtk): handle borders
	(gnm_gtk_print_cell_range): ditto
	* src/style-border.h (gnm_style_borders_row_print_gtk): new
	(gnm_style_border_print_diag_gtk): new
	* src/style-border.c (gnm_style_borders_row_print_gtk): new
	(gnm_style_border_print_diag_gtk): new
	(style_border_set_gtk_dash): new
	(style_border_set_gtk): new
	(print_hline_gtk): new
	(print_vline_gtk): new

2007-03-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/pattern.h (gnumeric_background_set_gtk): new
	* src/pattern.c (gnumeric_background_set_gtk): new
	* src/print-cell.c (print_cell_gtk): fix vertical alignment
	(print_rectangle_gtk): new
	(print_cell_background_gtk): new
	(print_merged_range_gtk): new
	(gnm_gtk_print_cell_range): Enable merged and background printing.

2007-03-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print-cell.c (print_cell_gtk): set up clipping
	and some sort of rotated printing
	* src/print.c (print_page): prepare for clipping of whole
	page (currently disabled since it involves a heavy
	performance hit).

2007-03-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print-cell.c (print_cell_gtk): new
	(gnm_gtk_print_cell_range): new
	* src/print-cell.h (gnm_gtk_print_cell_range): new
	* src/print.c (PrintingInstance): new struct type
	(printing_instance_new) : new
	(pi_free): new
	(printing_instance_delete): new
	(print_page_cells): Switch to GtkPrintContext & Cairo
	(print_page): ditto
	(compute_sheet_pages): ditto
	(compute_pages): ditto
	(compute_group): drop PrintJobInfo
	(print_range_*_then_*): delete
	(compute_sheet_pages_add_range): new
	(compute_sheet_pages_across_then_down): new
	(print_page_repeated_rows): disable temporarily
	(print_page_repeated_cols): ditto
	(gnm_begin_print_cb): new
	(gnm_end_print_cb): new
	(gnm_draw_page_cb): new
	(gnm_print_sheet): use GtkPrintOperation
	* src/print-info.h (_PrintInformation): add page_setup
	(print_info_get_page_setup): new
	(print_info_set_page_setup): new
	* src/print-info.c (print_info_free): handle page_setup
	(print_info_new): ditto
	(print_info_dup): ditto
	(print_info_get_page_setup): new
	(print_info_set_page_setup): new
	* gnumeric.spec.in: require gtk 2.10
	* configure.in: require gtk 2.10

2007-03-16  Jean Brefort  <jean.brefort@normalesup.org>

	* src/collect.c: made some functions public:
	collect_floats_value_with_info, union_of_int_sets,
	and strip_missing.
	* src/collect.h: ditto.

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

	* src/application.c (gnm_app_history_get_list,
	gnm_app_history_add): Base on GtkRecentManager.  Fixes #115112.
	(gnm_app_create_opener_filter): New function.
	(gnm_app_history_add): Take extra mimetype argument.  All callers
	changed.
	(gnm_app_history_get_list): Ignore local files that no longer
	exist.

	* src/gui-file.c (gui_file_open): Use
	gnm_app_create_opener_filter.

	* src/gnumeric-gconf.c: Remove functions related to file history.

	* schemas/gnumeric-general.schemas.in: Remove entries related to
	file history.

	* configure.in: Require gtk+ 2.12.0

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

	* src/gnm-format.c (format_value_common): Ignore markup formats
	here.  Fixes #417632

	* src/gutils.c (cb_gnm_pango_attr_dump): Be smarter about enums.

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

	* src/mstyle.c (gnm_style_new_default): Use gnm_style_set_format,
	not gnm_style_set_format_text.
	(gnm_style_set_format_text): Change comments to make it clear that
	this takes an untranslated format string.

	* src/wbcg-actions.c (apply_number_format): Take a format, not a
	string.
	(apply_number_format): New function taking an actual format.
	(cb_format_as_general): Use go_format_general directly.
	(cb_format_as_date): Use go_format_default_date directly.  Fix
	swapped descriptors.
	(cb_format_as_time): Use go_format_default_time directly.  Fix
	swapped descriptors.
	(cb_format_as_number, cb_format_as_percentage,
	cb_format_as_scientific): Build a format here.
	(cb_format_as_currency, cb_format_as_accounting): Ditto.  This
	still relies on go_format_builtins, though.

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

	* src/sheet-view.c (sv_panes_insdel_colrow): Fix corrections for
	row deletions before the top-left frozen corner.  Fixes #308562.

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

	* src/sheet-autofill.c (afm_teach_cell): Use
	gnm_format_is_date_for_value correctly.  Fixes #414815.
	(afa_teach_cell): Fix tests for n >= 2.

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

	* src/number-match.c (format_match_decimal_number): Require three
	digits after the thousands separator.

2007-03-04  Jody Goldberg <jody@gnome.org>

	* src/func-builtin.c (gnumeric_table) : patch logic.

2007-03-04  Jody Goldberg <jody@gnome.org>

	* src/parse-util.c (gnm_expr_conventions_new_full) : Start
	  homogenizing the structure so that parsing and formating use shared
	  gunichar, rather than a semi-random collection of booleans on
	  import and char * on export.
	  - ::name_parser renamed ::input.name
	  - ::unknown_function_handler replaced by ::input.func which is
	      called for all functions not just unknown.
	  - ::function_rewriter_hash deleted.  This was not 64bit clean
	  - ::output_sheet_name_sep => a gunichar and renamed ::sheet_name_sep.
	  - ::cell_ref_handler => ::output.cell_ref
	  - ::range_ref_handler => ::output.range_ref
	  - ::sheet_name_quote => ::output.sheet_name_quote

	(cellref_as_string) : ditto.
	(std_expr_name_handler) : ditto.
	(std_func_map) : new.

	* src/xml-sax-write.c (xml_io_conventions) : adapt to changes.
	* src/xml-io.c (xml_io_conventions) : ditto.
	* src/value.c (value_get_as_gstring) : ditto.
	* src/expr.c (do_expr_as_string) : ditto.

	* src/parser.y : s/SEPARATOR/ARG_SEP/
	Remove the ARRAY_START_COMMA and ARRAY_START_BSLASH tokens
	Remove the duplicate comma/bslash productions for arrays.
	Use an 'in_array' flag in the state to allow the lexer to
	differentiate an ARG_SEP from an ARRAY_COL_SEP and an ARRAY_ROW_SEP.

	* src/sheet-object-graph.c (gnm_sog_get_object_target_list) : compiler
	  warnings.

	* src/func.c (gnm_func_placeholder_factory) : delete.

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

	* configure.in: Post-release bump.

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

	* Release 1.7.8

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

	* src/gui-file.c (gui_file_open): Tentatively hide format and
	character set selection behind an "Advanced" button to free up
	some screen real estate.

	* */*.c: Deal with goffice changes.

	* src/gnm-format.c (gnm_format_specialize): New function.
	(gnm_format_is_date_for_value): Base on gnm_format_specialize.

	* src/rendered-value.c (gnm_rendered_value_shutdown): Use slice
	allocator when available.

	* src/dependent.c (dependent_types_shutdown): Use slice allocator,
	when available, for some of the pools.

	* src/str.c (gnm_string_shutdown): Use the hash table to report
	leaked strings.  Use slice allocator when available.

	* src/value.c (value_shutdown): Use slice allocator when
	available.  Keep a running count of allocations and report leaks
	on shutdown.

	* src/commands.c (cmd_copyrel): Handle non-singleton areas.
	[#112847] Also switch to GOUndo.

	* */*.c: Use <stdio.h> only when needed.

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

	* src/workbook-edit.c (wbcg_edit_start): If formatting as date
	fails, revert to number.

	* src/gnm-format.c (hash_fill): Clear the string.

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

	* src/parse-util.c (cellref_r1c1_get): Allow lowercase "r" and
	"c".  Do not allow a reference to be immediately followed by a
	letter.
	(r1c1_rangeref_parse): Do not allow a reference to be immediately
	followed by a letter.  Fixes #410609.

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

	* src/workbook-control-gui.c (wbcg_sheet_add): When the first
	sheet is attached, make sure to update rtl, zoom, etc.  Fixes
	#410365 and #410371.

	* src/sheet.c (sheet_expr_conventions): New function.

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

	* Release 1.7.7

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

	* src/sheet-view.c (sheet_view_new): Add handler for r1c1 changes.
	(sv_real_dispose): Remove handler.
	(sv_sheet_r1c1_changed): New function.

	* src/workbook-view.c (wb_view_selection_desc): Use
	parsepos_as_string to get R1C1 right.  Fixes #407247.

	* src/parse-util.c (cell_name): Use R1C1 notation as appropriate.
	(parsepos_as_string): New function.

	* src/wbcg-actions.c (cb_edit_search_replace_query): Use cell_name,
	not cellpos_as_string.
	* src/sheet.c (cb_cell_pool_leak): Ditto.

	* src/workbook-control.c (wb_control_parse_and_jump): Resolve
	relative references.  Fixes #407274.

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

	* src/stf-parse.c (stf_parse_csv_cell): Don't drop whitespace that
	happens to be separators.
	(stf_parse_csv_line): Trim fields as requested.

	* src/dependent.c (workbook_recalc): For now, any recalc needs to
	lead to a redraw.  This is highly suboptimal, but will have to do
	for now.

2007-01-29  Jody Goldberg <jody@gnome.org>

	* src/sheet-object-widget.c (sheet_widget_list_base_get_result_dep) : new.
	(sheet_widget_list_base_get_content_dep) : new.

2007-01-29  Jody Goldberg <jody@gnome.org>

	* src/sheet-filter.c : improve some docs

2007-01-24  Morten Welinder  <terra@gnome.org>

	*/*.c: Include new go-locale.h as needed.

	* src/numbers.h (gnm_render_number): Remove.

2007-01-22  Morten Welinder  <terra@gnome.org>

	* src/number-match.c (format_match): Don't compare a pointer to
	GO_FORMAT_GENERAL, even if the latter is zero.
	*/*.c: Deal with GOFormat now being opaque.

	* libspreadsheet-1.7.pc.in (GOffice_plugins_dir): Fix undefined
	variables.  [#399550]
	Eliminate EXTRA_LIBS and EXTRA_INCLUDES now in goffice.
	Fix goffice require.

2007-01-19  Jody Goldberg <jody@gnome.org>

	* src/sheet-filter.h : Add some new condition types to facilitate ODF
	  import.

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

	* src/dependent.c (workbook_recalc): Reinstate a version of
	redraw-after-recalc.  I don't like it, but the alternative is to
	ask for redraw on a per-cell basis.

2007-01-18  Morten Welinder <terra@gnome.org>

	* */*.c: clean up interface between xmlChar and char.

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

	* src/xml-sax-read.c (xml_sax_condition) : use gnm_style_new rather
	  than gnm_style_new_default.  We only want to fill in the required
	  fields, not all of them.
	* src/xml-io.c (xml_read_style) : fix the original here by adding an
	  'leave_empty' argument that can force the use of style_new.

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

	* src/cell-draw.c (cell_draw): Render as necessary.

	* src/graph.c (gnm_go_data_preferred_fmt): Handle the case of a
	missing expression in the dep.

	* src/xml-sax-read.c (xml_sax_condition): Merge
	xml_sax_style_condition_style_start into here.
	(xml_sax_condition_end): Merge xml_sax_style_condition_style_end
	into here.  Rearrange parser to use recursive entry.
	(xml_sax_object_start): Update progress here.
	(xml_sax_object_end): Not here.  Object isn't ready yet.

	* src/gui-util.c (gnm_pixbuf_tile): Round sizes up to 1 pixel, if
	needed.

	* src/xml-sax-read.c (gnm_xml_file_open): Clear state->cond.
	(xml_sax_style_condition_style_start,
	xml_sax_style_condition_style_end): New functions.
	Fixes part of #397679.

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

	* src/Makefile.am (gnumeric_LDADD): Don't add in popt since we do
	not use it directly anymore.  Fixes #396329.

2007-01-10  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-read.c (maybe_convert): Always be quiet if no
	conversion actually takes place, e.g., if everything is plain
	ASCII.

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

	* */*.c: No need to reset errno before go_strtod and gnm_strto.

	* src/xml-sax-read.c (xml_sax_double): Don't use g_strtod.  We do
	not need or want dual-locale semantics.
	(gnm_xml_attr_double): Ditto.

	* src/sheet.c (sheet_range_bounding_box): Respan as needed.
	Fixes #393359.

	* src/item-grid.c (item_grid_draw): Handle respans outside the
	loop, not inside.

	* src/dependent.c (gnm_cell_eval_content): Optimize the
	value-didn't-change case.
	(workbook_recalc): Don't force full-sheet redraws here.

	* src/xml-sax-read.c (gnm_xml_file_open): Initialize
	seen_cell_contents.

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

	* src/numbers.h (gnm_strto): Map this to go_strtod or go_strtold.
	Fixes #393347.

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

	* src/wbc-gtk.c (cb_font_size_changed): Kill a few conversions.

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

	* src/gnm-format.c (gnm_format_is_date_for_value): New function.
	* src/sheet-autofill.c (afm_teach_cell): Use
	gnm_format_is_date_for_value.

	* src/stf-export.c (try_auto_date): Use
	gnm_format_is_date_for_value.

	* src/auto-format.c (is_date): Use go_format_is_date.

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

	* src/xml-sax-read.c (xml_sax_cell_content): Handle v7 contents.
	Fixes #392054.
	(gnm_xml_file_open): Set up progress feedback.  Fixes #392546.
	(maybe_update_progress): New function.
	(xml_sax_style_region_end): Call maybe_update_progress.
	(xml_sax_cell_content): Ditto.

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

	* src/main-application.c (main): Call g_thread_init. Fixes #392050.
	* src/ssindex.c (main): Ditto.
	* src/ssconvert.c (main): Ditto.  Also increase stack
	size, if needed.

	* src/xml-sax-read.c (xml_sax_sheet_name): Handle missing sheet
	index better.  [#392054]

2006-12-29  Morten Welinder  <terra@gnome.org>

	* src/parse-util.c (gnm_expr_conventions_new_full): Theoretical
	leak plug.

	* src/xml-sax-read.c (xml_sax_named_expr_end): Delay all names.
	(handle_delayed_names): New function.
	(gnm_xml_file_open): Actually handle delayed names.  What a
	concept!

	* src/parser.y (parser_simple_val_or_name): Add support for
	disallowing the use of undefined names.

	* src/xml-sax-read.c (xml_sax_print_margins_unit): Even if we
	don't have gnome-print, avoid throwing an unknown-attribute error.

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

	* src/sheet-object-graph.c (gnm_sog_foreach_dep): New function.

	* src/sheet-object-widget.c (sheet_widget_adjustment_foreach_dep,
	sheet_widget_checkbox_foreach_dep,
	sheet_widget_radio_button_foreach_dep,
	sheet_widget_list_base_foreach_dep): New functions.

	* src/sheet-object.c (sheet_object_invalidate_sheet): Reimplement
	in terms of sheet_object_foreach_dep.
	(sheet_object_foreach_dep): New function.
	(sheet_objects_dup): Fixup references to source sheet. Fixes
	#158825.

	* src/sheet.c (sheet_dup_names): Properly relocate expressions to
	the new sheet.  Copy permanent names too, as long as they are
	editable.
	(cb_sheet_cell_copy): Relocate expressions from source to target
	sheet.

	* src/expr.c (gnm_expr_top_relocate_sheet): New convenience
	function.

2006-12-28  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

	* src/pixmaps/expr-entry.png: convert to 16x16 image.
	* src/widgets/gnumeric-expr-entry.c (gee_set_property): request a menu
	sized icon instead of icon size.

2006-12-27  Morten Welinder  <terra@gnome.org>

	* src/expr-name.c (gnm_named_expr_collection_lookup): Make public.

	* src/sheet.c (sheet_dup_names): First cut at this.

2006-12-26  Morten Welinder  <terra@gnome.org>

	* src/gnm-format.c (format_value_common): Use long double version
	of go_format_value_gstring as appropriate.

2006-12-24  Jody Goldberg <jody@gnome.org>

	* src/io-context-gtk.c (cb_realize) : request no decoration for the
	  splash.
	(icg_processing_file) : do not push the splash to the top for every
	  file.  It's damn irritating.

	* src/GNOME_Gnumeric-gtk.xml.in : Hook up the DataTable dialog
	  and re-order Text-To-Columns.

	* src/sheet-object-widget.c (cb_collect) : handle reference to blank
	  cells.

	* src/gnm-so-filled.c (gnm_so_filled_user_config) : give labels their
	  own title.

2006-12-21  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=388505
	* src/sheet.c (cb_outline_level) : fix signature from 2006-06-25
	  breakage.

2006-12-20  Morten Welinder  <terra@gnome.org>

	* src/gnm-format.c (format_value_common): Do colours right.

2006-12-19  Jody Goldberg <jody@gnome.org>

	* src/sheet-object.h (SheetObjectAnchor::types) : simplfy to remove
	  the vector 'type' the offsets are now always as percentages of cell
	  size relative to the cell_bound.  The parent, GODrawingAnchor will
	  eventually have the absolute positions, and the sheet object itself
	  will specify how which set of coords in normative.

2006-12-18  Jody Goldberg <jody@gnome.org>

	* src/format-template.c (xml_read_format_template_members) : revert
	  inadvertent renaming of the xml element names.
	(format_template_new_from_file) : ditto.
	(xml_write_format_template_members) : ditto.

2006-12-18  Jody Goldberg <jody@gnome.org>

	* src/func-builtin.c (gnumeric_table) : patch leak.

2006-12-18  Jody Goldberg <jody@gnome.org>

	* src/gnm-format.c (format_value_common) : minor patch to keep text in
	  black until it's clear where to get it from.

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

	* src/gnm-format.c: Don't include goffice's format-impl.h,
	(format_value_common): New function, mostly
	extracted from gnm_format_layout, but using
	go_format_value_gstring.
	(find_entry, gnm_style_format_condition): Remove.
	(hash_fill): Generalize to handle layouts and strings alike.
	(format_value_gstring): Simplify using format_value_common.

	* src/workbook-edit.c: Don't include goffice's format-impl.h,

2006-12-18  Jody Goldberg <jody@gnome.org>

	* configure.in : Post release bump

2006-12-17  Jody Goldberg <jody@gnome.org>

	* Release 1.7.6

2006-12-17  Morten Welinder  <terra@gnome.org>

	* src/gnm-format.c (format_value_gstring): Don't pay attention to
	need_abs here.  That breaks DOLLAR, somehow.

2006-12-17  Jody Goldberg <jody@gnome.org>

	* src/sheet-object-widget.c (sheet_widget_list_base_set_selection) :
	  if the selection is greater than the number of elements select the
	  last item.

2006-12-17  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=135966
	* src/gnumeric-pane.c (gnm_pane_widget_register) : Callers can call
	  gnm_pane_object_register themselves, but we need to interpose an
	  event handler for all child widgets so that right click can always
	  select the object.
	* src/sheet-object-widget.c (sheet_object_widget_new_view) : Call
	  gnm_pane_object_register directly.

2006-12-17  Jody Goldberg <jody@gnome.org>

	* src/sheet-object-widget.c (cb_combo_model_changed) : set text column
	  here.
	(sheet_widget_combo_create_widget) : accept loading with no model.

2006-12-17  Jody Goldberg <jody@gnome.org>

	* src/item-cursor.c (item_cursor_draw) : don't draw an autofill handle
	  for hidden cursors. [#365960]

2006-12-16  Jody Goldberg <jody@gnome.org>

	* src/sheet-filter.h : add GNM_FILTER_OP_BOTTOM_MASK, and
	  GNM_FILTER_OP_PERCENT_MASK.

	* src/xml-sax-read.c (xml_sax_filter_condition) : make bucket count a
	  float.
	* src/xml-sax-write.c (xml_write_filter_field) : ditto.
	* src/xml-io.c (xml_read_filter_field) : ditto.
	* src/sheet-filter.c (gnm_filter_condition_new_bucket) : ditto.
	* gnumeric.xsd : ditto.

2006-12-16  Jody Goldberg <jody@gnome.org>

	* src/sheet-object-widget.c : implement combos and lists.

2006-12-15  Morten Welinder  <terra@gnome.org>

	* src/rendered-value.c (gnm_rendered_value_new): Improve handling
	of invalid dates.
	* src/cell-draw.c (cell_calc_layout): Ditto.

2006-12-14  Morten Welinder  <terra@gnome.org>

	* src/test-format.c: Remove.

	* src/rendered-value.c (gnm_rendered_value_new): If we get an
	error, force a variable field.  This handles #### for negative
	dates.

	* src/gnm-format.c (format_value_gstring): Return error code.
	Handle errors from number formatting.
	(gnm_format_layout): Ditto.

2006-12-12  Morten Welinder  <terra@gnome.org>

	* src/ssindex.c (main): Don't print debug stuff on stdout.  That's
	where our output is supposed to go.

	* configure.in (set_more_warnings): Turn on ssindex by default.
	SuSE ships it and uses it, so we might as well start testing it
	more.

2006-12-11  Morten Welinder  <terra@gnome.org>

	* src/sheet-object-widget.c (sheet_widget_button_set_label,
	sheet_widget_checkbox_set_label,
	sheet_widget_radio_button_set_label): Use go_str_compare and
	handle overlapping strings.

2006-12-11  Morten Welinder  <terra@gnome.org>

	* src/sheet-object-widget.c (cb_adjustment_value_changed): Make
	action undoable.
	(sheet_widget_adjustment_init_full): Don't set signal handler here
	-- we need one signal per widget so we can figure out the invoking
	wbc.
	(sheet_widget_scrollbar_create_widget,
	sheet_widget_slider_create_widget,
	sheet_widget_spinbutton_create_widget): Set signal hanlder here.
	(cb_adjustment_widget_value_changed): Renamed from
	cb_adjustment_value_changed and changed to take a widget
	parameter.  Add undo support.
	(widget_wbc): New function.
	(cb_checkbox_toggled): Get the wbc from the widget.

2006-12-10  Morten Welinder  <terra@gnome.org>

	* src/clipboard.c (cb_clipboard_copy_range_undo): Take a command
	context as argument instead of faking it.

	* src/commands.c (cmd_so_set_value_undo): Supply the command
	context to the undo operation.

2006-12-09  Morten Welinder  <terra@gnome.org>

	* src/sheet-object-widget.c (cb_checkbox_toggled): Make action
	undoable.

	* src/commands.c (cmd_so_set_value): New function.

	* src/clipboard.c (clipboard_copy_range_undo): New function.

2006-12-09  Jody Goldberg <jody@gnome.org>

	* src/sheet-object-widget.c : Add sax parsers.

	* src/xml-sax-read.c : s/gsf_state/xin/g to be consistent.
	(gnm_xml_file_open) : set the unknown handler.
	(xml_sax_unknown) : unknown nodes under Object are object types.
	(xml_sax_object_start) : split out into ..
	(xml_sax_read_obj) : here.  Add a kludge to clean up the state->so
	  even when called from the unknown handler.

	* src/sheet-object-cell-comment.c (cell_comment_prep_sax_parser) :
	  return TRUE for the updated interface.

	* src/gnm-so-filled.c (sof_sax_style) : new.
	(gnm_so_filled_prep_sax_parser) : new.
	(gnm_so_filled_class_init) : hook up the new function.
	* src/gnm-so-line.c (sol_sax_style) : new.
	(gnm_so_line_prep_sax_parser) : new.
	(gnm_so_line_class_init) : hook up the new function.

	* configure.in : bump goffice req to get the new GogStyle sax parser
	  organization.

	* src/xml-sax-read.c (xml_sax_version) : be more discerning.

2006-12-07  Jody Goldberg <jody@gnome.org>

	* src/xml-io-version.h : time to modernize a bit.  tack on some new
	  versions.

	* src/xml-sax-read.c : gnumeric_1_0_dtd Use GSF_XML_NO_CONTENT and
	  friends.
	(xml_sax_version) : new.
	(xml_sax_filter_condition) : The DOM filter has been swapping Value
	  and ValueType.  The SAX exported copied the code.  The importer
	  needs to use the incorrect layout to handle existing files.
	* src/xml-sax-write.c (xml_write_filter_expr) : warn about the the
	  swapping of Value and ValueType.
	* gnumeric.xsd : comment on the swapping.

2006-12-07  Christian Neumair  <chris@gnome-de.org>

	* src/widgets/gnumeric-expr-entry.c (cb_icon_clicked):
	Don't g_assert, always assume that
	gtk_container_class_list_child_properties returns a non-NULL value.

2006-12-05 Joseph Pingenot <gnumerichacker@digitasaru.net>

	* src/tools/analysis-{tools,histogram}.[ch]: split out all histogram
	stuff in preparation for larger work with histograms.  Nothing else
	should have changed at this point.

	* src/tools/Makefile.am: Added new files.

	* src/dialogs/dialog-analysis-tools.h: Added header include for
	analysis-histogram.h so that it compiles.

	* tools/check-files: complain if a filename line contains
	leading/trailing whitespace, and ignore the whitespace.

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

	* src/xml-sax-read.c (gnm_xml_file_open): Do as little as possible
	while in C locale.  Assign a default saver so the save button
	works right.

	* src/sheet-object-cell-comment.c (cell_comment_prep_sax_parser):
	Read the comment text(!) and author.
	(cell_comment_class_init): Hook up cell_comment_prep_sax_parser.
	(comment_view_set_bounds): Do not scale triangle size.  Flip
	triangle in rtl.

	* src/workbook-control-gui.c (wbcg_view_changed): Change back to
	using a workbook as data argument.  Keep the old view in a weak
	pointer.  Fixes #382643 (caused by the view disappearing and
	killing the signal handler with it).

2006-12-04  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump

2006-12-04  Jody Goldberg <jody@gnome.org>

	* Release 1.7.5

2006-12-04  Jody Goldberg <jody@gnome.org>

	* src/sheet-filter.c (gnm_filter_combo_apply) : make public and init
	  target_sheet in the expr case too.
	(gnm_filter_set_condition) : revert the earlier change from apply ->
	  target_sheet.  We do not need that flexibility here.
	* src/widgets/gnm-filter-combo-foo-view.c (fcombo_fill_model) : Create
	  a temporary sheet and apply the filter to that so that we can list
	  only the elements filtered by other fields.

2006-12-02  Jody Goldberg <jody@gnome.org>

	* src/expr.c (gnm_expr_top_relocate) : don't init rinfo::from_inside
	  for INVALIDATE_SHEET case, it's unnecesasry and the inputs are
	  undefined.

	* src/gnumeric-canvas.h : Remove scaling from GNUMERIC_CANVAS_FACTOR_X
	  that was breaking text display in RTL.  We need a gtk patch for that
	  to work.

2006-12-02  Jody Goldberg <jody@gnome.org>

	* src/sheet.c (sheet_dup_filters) : new.
	(sheet_dup) : called from here.
	* src/sheet-filter.c (gnm_filter_condition_dup) : new.
	(gnm_filter_dup) : new.
	(filter_field_apply) : take target_sheet to allow filtering a
	  different sheet using the src data.
	(gnm_filter_get_condition) : replace 'apply' boolean with
	  'target_sheet'.
	(gnm_filter_combo_foo_view_new) : move this internal and use
	  gnm_cell_combo_foo_view_new.
	(gnm_filter_add_field) : use offset to replace the effect of
	  SO_ANCHOR_PERCENTAGE_FROM_COLROW_END.

	* src/validation.c (gnm_validation_combo_foo_view_new) : move this
	  internal and use gnm_cell_combo_foo_view_new.

	* src/sheet-view.c (sv_update) : Use wb_view_selection_desc instead of
	  putting a subset of the logic here.

	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : Add a hook to
	  popdown validate from list, or autofilter combos.

	* src/sheet-object.h : remove SO_ANCHOR_PERCENTAGE_FROM_COLROW_END.
	* src/sheet-object.c (sheet_object_draw_cairo) : ditto.
	* component/gnumeric.c (go_gnm_component_print) : ditto.
	* src/sheet-object-cell-comment.c (cell_comment_set_cell) : use offset
	  to replace the effect of SO_ANCHOR_PERCENTAGE_FROM_COLROW_END.
	* src/sheet-control-gui.c (calc_obj_place) : FROM_COLROW_END is gone.
	(cell_offset_calc_pixel) : ditto.

	* src/ranges.c (range_init_cellpos) : take only 1 cellpos and use for
	  both ends.  All callers changed.

2006-12-02  Jody Goldberg <jody@gnome.org>

	* gnumeric.xsd : Make schema validate by
	    - adding Attributes.
	    - Add Autofilters.
	    - Add Input Messages

	* src/xml-io.c (xml_init) : Make the sax importer the default.
	(xml_read_colrow_info) : update the max_outline_level.
	* src/xml-sax-read.c (xml_sax_colrow) : ditto. [#380015]
	(gnm_xml_file_open) : init State::filter
	(content_ns) : add schema namespace.
	(xml_sax_filter_end) : new.
	(xml_sax_filter_start) : new.
	(xml_sax_filter_condition) : new.
	(xml_sax_filter_operator) : new.
	(xml_sax_input_msg) : sync with logic in the DOM importer and do
	  not generate an input msg if both title and msg are missing.

2006-11-30  Morten Welinder  <terra@gnome.org>

	* src/clipboard.c (cellregion_get_content): Prevent critical.

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

	* src/ssconvert.c (convert): Call goal seek if requestion (for
	testing purposes).

	* src/clipboard.c (cellregion_to_string): Fix critical.

2006-11-27  Morten Welinder  <terra@gnome.org>

	* Catch up with goffice renamings.

2006-11-27  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in: Bumped goffice dependency to reflect that goffice HEAD
	is needed as building against goffice 0.3.3 now fails.

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

	* src/dependent.c (gnm_dep_set_expr_undo_new,
	gnm_dep_unlink_undo_new): New functions.
	(dep_hash_destroy, invalidate_name, handle_referencing_names,
	handle_outgoing_reference, tweak_3ds): Drop destroy argument.  All
	callers changed.
	(dependents_invalidate_sheets): Make static.
	(dependents_revive_sheet): Use go_undo_undo.

	* src/sheet.h: Make ::revive a GOUndoGroup *.

	* src/expr-name.c (expr_name_set_expr_undo_new): New function.

2006-11-25  Jody Goldberg <jody@gnome.org>

	* src/clipboard.c (clipboard_paste_region) : don't warn when pasting
	  a cellregion with no cells which can easily happen on undo, where
	  the old content of a region was empty.  Problem originated in 2006-11-11
	  move from lists to a hash.
	(cellregion_cmd_size) : ditto.

2006-11-25  Jody Goldberg <jody@gnome.org>

	* src/sheet-filter.c (gnm_filter_combo_class_init) : adjust to
	  rename of gnm_filter_combo_foo_view_new.
	* src/validation.c (gnm_validation_combo_class_init) : adjust to
	  rename of gnm_validation_combo_foo_view_new.

2006-11-25  Jody Goldberg <jody@gnome.org>

	* src/value-sheet.c (value_area_foreach) : init ep in the cellrange
	  case, and region in both cases.

2006-11-25  Jody Goldberg <jody@gnome.org>

	* src/style-conditions.c (gnm_style_conditions_eval) : tidy up a bit.

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

	* src/ssconvert.c (convert): Avoid updating the recect-files list.

2006-11-24  Jody Goldberg <jody@gnome.org>

	* src/Makefile.am : add validation-combo.h

2006-11-24  Jody Goldberg <jody@gnome.org>

	* src/mstyle.c (gnm_style_get_validation) : constify the result.  We
	  should not modify it while it's part of a style.

	* src/sheet-control-gui.c (cb_collect_objects_to_commit) : handle
	  no-view case.
	* src/gnumeric-pane.c (gnm_pane_display_obj_size_tip) : ditto.

	* src/sheet-object.c (sheet_object_clear_sheet) : Handle
	  so::sheet == NULL (eg when data validation combo is cleared from
	  wbv::finalize after content_destroy clears the sheet list)
	  Drop the return flag, nothing was using.

	* src/validation.c (gnm_validation_combo_new) : new.
	(gnm_validation_combo_class_init) : new.
	(gnm_validation_combo_finalize) : new.
	(gnm_validation_combo_init) : new.
	(validation_ref) : allow the reffing of const objects.
	(validation_unref) : ditto, this should really be split into a const
	  and non-const version.  We can do that for all unref routines.

	* src/value.h : create new struct GnmValueIter.
	* src/value.c (gnm_value_get_type) : Make GnmValue a glib boxed type.
	* src/value-sheet.c (value_area_foreach) : rework to use GnmValueIter.
	  All callers changed.

	* src/workbook-view.h : s/::current_format/::current_style/
	  and make it const.  We have a ref to it, so it's not going away
	  _but_ we should never change it.
	  Add validation_combo.  For the sheet object corresponding to an
	  in cell data validation combo.

	* src/workbook-view.c (wb_view_style_feedback) : renamed from
	  wb_view_format_feedback all callers changed.  Add a creation
	  and removal of data validation in cell combo.
	(wb_view_finalize) : clear the validation combo if it exists.
	(workbook_view_new) : init the combo.

2006-11-24  Jody Goldberg <jody@gnome.org>

	* tools/xmlunzip : Add the 'macro enabled' formats from office12

2006-11-23  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-write.c (xml_write_styles): Sort style regions so
	hash order does not matter.
	(xml_write_named_expressions): Sort names to hash order does not
	matter.

	* src/expr-name.c (gnm_named_expr_collection_list): New function.

2006-11-22  Jon K Hellan  <hellan@acm.org>

	* src/gnumeric-gconf.c (gnm_gconf_set_gui_zoom): Fix typo that
	broke the default zoom preference. #378043.

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

	* src/value.c (value_parse_boolean): Add a few "+" to tell the
	checker that it is ok to mix -1 and TRUE/FALSE.

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

	* src/gnumeric-gconf.c (gnm_conf_shutdown): Plug leaks.

2006-11-20  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump

2006-11-20  Jody Goldberg <jody@gnome.org>

	* Release 1.7.4

2006-11-20  Jody Goldberg <jody@gnome.org>

	* src/wbc-gtk.c (wbc_gtk_setup_pixmaps) : move the splash out of here.
	* src/io-context-gtk.c (icg_show_gui) : and into here.

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

	* src/ssconvert.c (ssconvert_options): Add new --recalc option.
	Add internal --export-range option.
	(convert): Recalc if requested.  Setup range if requested.
	Fix error handling.

	* src/stf-export.c (stf_export_sheet): Code to handle internal
	range specification.

2006-11-19  Jody Goldberg <jody@gnome.org>

	* src/func.c (gnm_func_load_if_stub) : make this inline.
	(function_call_with_exprs) : load stub _after_ we get the function def
	  Fixes crash on calling any vararg function.

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

	* configure.in: Post-release bump.

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

	* Release 1.7.3

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

	* src/sheet-object.c (sheet_object_class_init): Objects class are
	not interactive by default.

	* src/sheet-object-widget.c (SOW_MAKE_TYPE): Widgets classes are
	interactive.

	* src/gnumeric-pane.c (cb_sheet_object_canvas_event): All mouse
	buttons select non-interactive objects.  Fixes #376866.

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

	* src/func.c (function_def_get_arg_name): Avoid allocating like
	nuts.  Prepare for the day when format_get_arg_sep might return
	non-ASCII.

2006-11-18  Djihed Afifi <djihed@gmail.com>

	* configure.in: Added Arabic Translation.

2006-11-17  Morten Welinder  <terra@gnome.org>

	* src/func.c (gnm_func_load_if_stub): New function.

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

	* src/func.c (function_call_with_exprs): Drop the argc and argv
	arguments.  They now follow from the eval info.  All callers
	changed.

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

	* src/sheet.c (sheet_cell_set_text): Use gnm_cell_get_format so
	current format gets handled properly even if it derives from the
	value.

	* src/workbook-edit.c (wbcg_edit_finish): Use gnm_cell_get_format
	here too.

	* src/number-match.c (format_match_datetime): Properly handle
	"2005/12" and "12/2005".  (Year got set to current year.)
	Add new presume_date argument and do not allow "1-10" and "1.10"
	unless that new argument is true.

2006-11-15  Jody Goldberg <jody@gnome.org>

	Fix check buttons.
	* src/gnumeric-pane.c (cb_sheet_object_widget_canvas_event) : do not
	  bring up an editor on double click for widgets.  Simple clicks are
	  too easy to confuse.  Use right click only.
	(cb_sheet_object_canvas_event) : Return FALSE on enter to allow
	  checkbox handlers to set things up.
	(cb_sheet_object_canvas_event) : Only change selection on right-button
	  press.

2006-11-12  Jody Goldberg <jody@gnome.org>

	* src/clipboard.c (cellregion_to_string) : support only exporting
	  visible content.

2006-11-11  Jody Goldberg <jody@gnome.org>

	* src/stf-parse.c (stf_parse_region) : adjust to signature change.
	* src/xml-io.c (xml_read_clipboard_cell) : ditto.
	* src/xml-sax-write.c (cb_xml_write_cell_region_cells) : adapt to move
	  from list to hash of cells.

	* src/clipboard.c (cb_paste_cell) : new. split from ...
	(clipboard_paste_region) : here.  For the move from a list of cells to
	  a hash table.
	(gnm_cell_copy_new) : insert the copy in here rather than forcing
	  callers to handle it.
	(cb_clipboard_prepend_cell) :
	(clipboard_copy_range) : store the col/row states too.  Not used yet.
	(cellregion_new) : col/row states and cells in a hash.
	(cellregion_unref) : free the col/row states if they exist.
	(cellregion_get_content) : new.
	(cb_invalidate_cellcopy) : split from ...
	(cellregion_invalidate_sheet) : here.
	(cellregion_to_string) : move here from gui-clipboard and use the new
	  hash based layout to avoid the intermediate matrix allocation.
	(gnm_cell_copy_free) : tidy up and name this.
	(gnm_cell_copy_new) : assign the copy to a region on creation.

	* src/colrow.c : Make ColRowState and ColRowRLEState public for use in
	  the clipboard.

2006-11-11  Jody Goldberg <jody@gnome.org>

	* src/application.c : Move the icons from here.
	* src/wbc-gtk.c (wbc_gtk_setup_icons) : to here.
	(wbc_gtk_setup_pixmaps) : here.
	(wbc_gtk_class_init) : and here.

2006-11-14  Morten Welinder  <terra@gnome.org>

	* src/sheet-control-gui.c (scg_wbcg): Rename from scg_get_wbcg.
	(scg_wbc, scg_sheet, scg_view): New functions.  Use a few hundred
	places to avoid casts.
	(scg_class_init): Install ->mode_edit handler(!)

2006-11-13  Morten Welinder  <terra@gnome.org>

	* src/workbook-control-gui.c (wbcg_autosave_cancel): Make static.
	(wbcg_autosave_activate, wbcg_set_autosave_time,
	wbcg_set_property, wbcg_get_property): New functions.
	(wbcg_autosave_set): Remove.
	(wbcg_finalize): Cancel autosave timer.
	(workbook_control_gui_class_init): Install autosave-time and
	autosave-prompt properties.

	* src/workbook-control-gui-priv.h (WorkbookControlGUI): Remove
	redundant autosave member.  Change autosave_minutes to
	autosave_time and make it seconds-based.

	* src/workbook.c (workbook_dispose): Use
	wb_view_detach_from_workbook.
	(workbook_detach_view, workbook_attach_view): Don't set wbv->wb
	here.  Set in caller.

	* src/workbook-view.c (workbook_view_class_init): Install new
	property: auto-expr-text.
	(wb_view_get_property, wb_view_set_property,
	wb_view_auto_expr_text): Handle auto-expr-text.
	(wb_view_detach_from_workbook): New function.
	(wb_view_finalize): Use wb_view_detach_from_workbook.

	* src/workbook-control-priv.h (WorkbookControlClass): Remove
	auto_expr_value member.

	* src/workbook-control-gui.c (wbcg_auto_expr_text_changed): New
	function hooked up to WorkbookView::auto-expr-text.
	(wbcg_auto_expr_value): Removed.

2006-11-12  Morten Welinder  <terra@gnome.org>

	* src/workbook-control-gui.c (cb_auto_expr_changed): Control
	auto-expression via wbv properties.
	(cb_auto_expr_precision_toggled): Ditto.

	* src/workbook-view.h (WorkbookView): Replace auto_expr with more
	sane auto_expr_func member.

	* src/workbook-view.c (wb_view_auto_expr_recalc): Remove
	always-TRUE second argument.  All callers changed.  Adjust to
	WorkbookView changes.
	(wb_view_auto_expr): Remove.
	(wb_view_auto_expr_precision): Make static.
	(workbook_view_class_init): Install properties for
	auto-expressions.

2006-11-12  Jean Brefort  <jean.brefort@normalesup.org>

	* src/application.c: (gnm_app_history_add): return if max length is 0
	(avoids a critical).
	* src/gnm-graph-window.c: (gnm_graph_window_set_graph): set horizontal
	and vertical resolutions.

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

	* src/workbook-view.c (wb_view_format_feedback): Drop always-TRUE
	second argument.  All callers changed.

	* */*.[ch]: Grand rename for cell identifiers and a few more.

2006-11-11  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (cb_scroll_wheel) : renamed from
	  wbcg_scroll_wheel_support_cb and make static.

2006-11-11  Jody Goldberg <jody@gnome.org>

	* src/GNOME_Gnumeric-gtk.xml.in : Remove inc/dec indent from the menu.
	  They do not belong there.  Remove them from the accel list too, gtk
	  silently invalidates accels for Tab.  Handle them manually.
	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : here.  Use the
	  new functions from ...
	* src/workbook-cmd-format.c (workbook_cmd_inc_indent) : here.  That
	  are transfered from ...
	* src/wbcg-actions.c : here.

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

	* gnumeric.desktop.in: Set component to General.  Bug-buddy
	insists on that, even if I don't agree.  Fixes #348829.

	* src/style-conditions.c (gnm_style_conditions_eval): Fix
	pointer-int screwup.

2006-11-08  Jody Goldberg <jody@gnome.org>

	* src/wbcg-actions.c  : Add new accelerators.
	    <control><alt>Tab : inc indent
	    <control><alt><shift>Tab : dec indent.
	    <shift><alt>Right : group
	    <shift><alt>Left : ungroup

	* src/GNOME_Gnumeric-gtk.xml.in : Add explicit accelerator entries for
	  the inc/dec indent because they are not in the menu by default, so
	  their accels are not enabled.

	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : don't eat
	  Alt-left/right.  We want those for accelerators.

2006-11-08  Jody Goldberg <jody@gnome.org>

	* src/gutils.c (gnm_push_C_locale) : new utility to set the C locale
	(gnm_pop_C_locale) : and restore it.  Useful for persistence to avoid
	  problems with decimal points.
	* src/xml-io.c (xml_cellregion_read) : Use it here.
	(xml_workbook_read) : and here.
	* src/xml-sax-read.c (gnm_xml_file_open) : ditto.
	* src/xml-sax-write.c (gnm_xml_file_save) : ditto.
	(gnm_cellregion_to_xml) : ditto.

	* src/sheet-object-graph.c (gnm_sog_write_object) : do not change the
	  locale here.
	* src/sheet-object.c (sheet_object_write_object) : that logic belongs
	  here.  Use the new push/pop C_locale routines.

2006-11-08  Eduardo Lima <eduardo.lima@indt.org.br>

	* configure.in: Make print support optional. #331948
	* plugins/excel/excel-xml-read.c: Ditto.
	* plugins/excel/ms-excel-read.c: Ditto.
	* plugins/openoffice/openoffice-write.c: Ditto.
	* src/Makefile.am: Ditto.
	* src/gnm-so-filled.c: Ditto.
	* src/gnm-so-line.c: Ditto.
	* src/gnm-so-polygon.c: Ditto.
	* src/gnumeric-gconf.c: Ditto.
	* src/gnumeric-gconf.h: Ditto.
	* src/pattern.c: Ditto.
	* src/pattern.h: Ditto.
	* src/print-info.c: Ditto.
	* src/print-info.h: Ditto.
	* src/sheet-object-cell-comment.c: Ditto.
	* src/sheet-object-graph.c: Ditto.
	* src/sheet-object-image.c: Ditto.
	* src/sheet-object-impl.h: Ditto.
	* src/sheet-object.c: Ditto.
	* src/sheet-object.h: Ditto.
	* src/style-border.c: Ditto.
	* src/style-border.h: Ditto.
	* src/style-font.h: Ditto.
	* src/wbc-gtk.c: Ditto.
	* src/wbcg-actions.c: Ditto.
	* src/workbook-control-gui.c: Ditto.
	* src/xml-io.c: Ditto.
	* src/xml-sax-read.c: Ditto.
	* src/xml-sax-write.c: Ditto.
	* src/dialogs/Makefile.am: Ditto.
	* src/dialogs/dialogs.h: Ditto.

2006-11-07  Jody Goldberg <jody@gnome.org>

	* src/application.c : Add a brush from the gimp for use in format
	  pasting.

2006-10-30  Jody Goldberg <jody@gnome.org>

	* src/wbcg-actions.c (auto_sum) :  <Alt>= is the accelerator.

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

	* src/commands.c (cmd_paste_copy_impl): Paste objects on
	non-initial redos.  Paste the proper set of objects.  Fixes
	#308300.

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

	* src/commands.c (cmd_paste_copy_impl): Keep track of new objects
	created and undo as needed.  Fixes part of #308300.

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

	* */*.c: Avoid checked g_free and g_strdup.  They handle NULL just
	fine.  Fixes #369661.

2006-11-01  Jon K Hellan  <hellan@acm.org>

	* src/workbook-control-gui.c (show_gui): Fix initial sizing. Fixes
	#368825.

2006-10-31  Morten Welinder  <terra@gnome.org>

	* src/workbook-control-gui.c (cb_editline_focus_in): Restore entry
	to normal state.  Fixes #367870.

2006-10-31  Jon K Hellan  <hellan@acm.org>

	* src/sheet-control-gui.c (scg_drag_data_received): Don't output
	warning if UTF8_STRING drag is received.

	* src/gnumeric-pane.c (cb_pane_drag_leave): Just return, no
	critical, when drag source widget is something other than GnmCanvas.

	* src/application.c (gnm_app_workbook_get_by_name,
	gnm_app_workbook_get_by_uri): Check for NULL URI. Fixes crash part
	of #367870.

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

	* src/workbook-edit.c (cb_entry_delete_text): Handle the no-scg
	case.
	(wbcg_edit_finish): Ditto.  Fixes #366570.

	Fixes for #366477:

	* src/workbook-view.c (wb_view_sheet_focus): Set
	current_sheet_view when we set current_sheet.

	* src/sheet-view.c (sv_sheet_visibility_changed): New function.
	(sv_real_dispose): Disconnect sv_sheet_visibility_changed.
	(sheet_view_new): Connect sv_sheet_visibility_changed.

	* src/workbook-view.c (wb_view_sheet_add): Fix order and use
	wb_view_sheet_focus.

2006-10-28  Jon K Hellan  <hellan@acm.org>

	* src/workbook-control-gui.c (wbcg_show_save_dialog): Escape URI
	so that g_markup can do the right thing.
	(wbcg_close_control): Regenerate window list. Fixes #366335.

2006-10-24  Jody Goldberg <jody@gnome.org>

	* src/value.c (value_is_zero) : new.

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

	* src/gui-util.c (gnm_dialog_setup_destroy_handlers): New function
	for handling issues like 364291.

	* src/workbook-control-gui.c (wbcg_get_scg): Fix sheet removal
	problem.  Fixes #364865.

	* src/sheet-autofill.c (sheet_autofill_dir): Copy the style, don't
	just ref it, before sending it to sheet_style_set_pos.

2006-10-24  Jon K Hellan  <hellan@acm.org>

	* src/style-border.c (style_border_fetch): Return empty border for
	invalid border types. Fixes #364658.

2006-10-24  Jody Goldberg <jody@gnome.org>

	* src/expr.c (reloc_range) : Special case deleting cols/rows.
	  Trunate rather than invalidate  if only the bottom/right range
	  is being removed.  Top/Left case is already handled by the inversion
	  avoidance.

	* src/sheet.c (sheet_delete_cols) : translate only columns when
	  invalidating otherwise the relocation code does not shorten ranges.
	(sheet_insert_rows) : ditto.

2006-10-24  Jody Goldberg <jody@gnome.org>

	* src/func.c (gnm_func_group_fetch_with_translation) : warning
	  suppression.

2006-10-24  Jody Goldberg <jody@gnome.org>

	* src/expr.c (relocate_cellref) : delete and take a different range
	  based approach.
	(cellref_shift) : delete.
	(invalidate_sheet_cellrange) : split out from the old
	  relocate_cellrange.
	(relocate_range) : new code to relocate a range (do not handle abs/rel
	  here).  If the entire range is enclosed then move it, otherwise
	  extend any of the sides that are enclosed but do not allow
	  inversion.  eg relocating the bottom above the top.
	(reloc_normalize_cellref) : new code to map from abs/rel cellref to
	  straight cellpos.  Take into account the 'check_rels' flag for use
	  with names that disables relocation of relative references (Not used
	  yet).
	(reloc_restore_cellref) : reverse the process in
	  reloc_normalize_cellref and do bounds checking.
	(relocate_cellrange) : rewrite, much simpler conceptually than the old
	  code.  Rather than handling abs/rel and in/out as part of the
	  process always do the conversions then generate a result if
	  something changed.  This code also handles full col/row refs better.
	(gnm_expr_relocate) : merge the ignore_rel flag into a new wrapper
	  'RelocInfoInternal'
	(gnm_expr_top_relocate) : check 'from_inside' here rather than for
	  every ref and use the new internal Reloc struct to pass the extra
	  information.

	* src/ranges.c (range_make_full) : new.

2006-10-24  Joseph Pingenot <trelane@digitasaru.net>

	* src/style-conditions.c (gnm_style_conditions_eval) :  Add in
	  additional string and error conditional operators.

2006-10-23  Jon K Hellan  <hellan@acm.org>

	* src/xml-sax-read.c (xml_sax_wb_view): Check that "SelectedTab"
	exists. Fixes #312010.

	* src/xml-io.c (xml_workbook_read): Ditto.

2006-10-22  Morten Welinder  <terra@gnome.org>

	* src/search.c (search_collect_cells_cb): Adapt to change in
	CellIterFunc type.  Fixes #364085.

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

	* src/workbook-control.c (wb_control_parse_and_jump): If the range
	does not have a sheet, use current.  Fixes #363977.

2006-10-20  Morten Welinder  <terra@gnome.org>

	* src/workbook-control-gui.c (wbcg_get_scg): When we are focusing
	a new sheet it might not have a page yet.
	(wbcg_sheet_focus): Handle NULL sheet properly.

	* src/workbook.c (workbook_focus_other_sheet): Set focus even if
	that is NULL.

	* src/expr-name.c (cb_check_name): Survive a name without any
	expression.  That can happen in connection with sheet undo/redo.

2006-10-20  Jon K Hellan  <hellan@acm.org>

	* src/sheet-view.c: Add preconditions

2006-10-19  Jon K Hellan  <hellan@acm.org>

	* src/workbook-control-gui.c (cb_sheet_label_button_press): Only
	enable context menu when label is editable, which it is when we're
	not editing a cell. Fixes #363261.

2006-10-18  Morten Welinder  <terra@gnome.org>

	* src/stf-parse.c (stf_parse_next_token, comp_term): Remove.
	(stf_parse_csv_cell): Make sane.  Fixes #359269.

2006-10-18  Jon K Hellan  <hellan@acm.org>

	* src/gui-clipboard.c (cellregion_to_string): Brown paper bag -
	would try to allocate negative memory. Fixes #362993.

2006-10-17  Jon K Hellan  <hellan@acm.org>

	* src/gui-clipboard.c (x_claim_clipboard): Really fix #308569.

2006-10-17  Jody Goldberg <jody@gnome.org>

	* configure.in : Post release bump

2006-10-17  Jody Goldberg <jody@gnome.org>

	* Release 1.7.2

2006-10-16  Morten Welinder  <terra@gnome.org>

	* src/workbook-control-gui.c (cb_workbook_debug_info): Use
	workbook_share_expressions.

	* src/workbook.c (workbook_share_expressions): New function.

	* src/workbook-view.c (wb_view_new_from_input): Share expressions
	after load.

2006-10-16  Jody Goldberg <jody@gnome.org>

	* src/expr.c (relocate_cellrange) : Check for inversion from the
	  destination position. (rinfo->pos.eval + offset).
	  Fixes 350222.

2006-10-16  Jody Goldberg <jody@gnome.org>

	* src/expr.c : Fixes #361074
	(bin_array_iter_a) : split out of the old bin_array_op, and handle the
	  more complex iteration cases of different shaped arguments.  See
	  samples/array.xls for details.
	(bin_array_iter_b) : split from bin_array_op and handle the simple
	  case of f(scalar,array).
	(gnm_expr_eval) : adjust to new binary array iterator functions.

2006-10-16  Jon K Hellan  <hellan@acm.org>

	* src/main-application.c (main): Increase stack limit.

2006-10-15  Jody Goldberg <jody@gnome.org>

	* src/preview-grid.c (pg_fetch_cell) : renamed from pg_construct_cell.
	  Now that we have a sheet to store things in the life cycle gets
	  simpler.
	(preview_grid_draw) : no need to destroy things so quickly now.
	(pg_destruct_cell) : delete.

2006-10-15  Jody Goldberg <jody@gnome.org>

	* src/func.c (function_call_with_exprs) : I don't have a concrete
	  example of where this would matter, but it seems like a better
	  choice.  Iterating for every array function seems over the top.

2006-10-15  Jody Goldberg <jody@gnome.org>

	* src/xml-sax-write.c (xml_write_cell_and_position) : minor cosmetc
	  fix to export Row before Col to make the result more readable.

2006-10-15  Jon K Hellan  <hellan@acm.org>

	* src/gui-clipboard.c (cellregion_to_string): Limit to non-empty
	part of sheet.
	(x_store_clipboard_if_needed): Call whenever workbook with
	clipboard sheet is closed,

2006-10-14  Morten Welinder  <terra@gnome.org>

	* src/workbook.c (workbook_sheet_delete): Actually clear clipboard
	references as the docs claim.  Fixes #323762.

	* src/sheet-object.c (sheet_object_invalidate_sheet): New
	function.

	* src/clipboard.c (cellregion_invalidate_sheet): Invalidate the
	sheet in sheet objects too.

2006-10-13  Jody Goldberg <jody@gnome.org>

	* po/POTFILES.in : translate the Hildon file (no actual text right now)
	* po-functions/POTFILES.skip : There is no function text in the hildon
	  file.

2006-10-13  Jody Goldberg <jody@gnome.org>

	* src/style-border.c (print_vline) : Respect RTL when rounding to
	  pixel bounds. [#317662]
	(style_borders_row_print) : and here.

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

	* src/xml-sax-write.c (cb_write_cell, xml_write_cells): Only last
	change.  The explicit ordering was useful.

	* src/expr.c (gnm_expr_hash): Renamed from ets_hash and adapted to
	traverse the entire tree.
	(gnm_expr_top_hash): New function.
	(gnm_expr_sharer_new): Use gnm_expr_top_hash, not ets_hash.
	(gnm_expr_sharer_share): Re-implement sharing.
	(gnm_expr_top_equal): If we have different hash values,
	short-circuit as false.

2006-10-11  Valek Filippov  <frob@df.ru>

	* schemas/gnumeric-general.schemas.in: 	Extend comment about 'Transition Keys' with Jody's explanation.
	* schemas/gnumeric-dialogs.schemas.in:  Fixed typppo.

2006-10-10  Morten Welinder  <terra@gnome.org>

	* src/application.c (gnm_app_clipboard_invalidate_sheet): New
	function.
	* src/clipboard.c (cellregion_invalidate_sheet): New function.
	* src/sheet.c (sheet_destroy): Use
	gnm_app_clipboard_invalidate_sheet.  Fixes #323811 in a brutal
	way.
	(sheet_destroy): Make static.

2006-10-10  Jon K Hellan  <hellan@acm.org>

	* src/gui-clipboard.c (x_claim_clipboard): Don't declare text or
	html formats on clipboard for sheet objects. Fixes #308569.

	* src/workbook-control-gui.c (wbcg_finalize,
	wbcg_close_if_user_permits):  Move call of
	x_store_clipboard_if_needed from finalize to
	close_if_user_permits. This works around some lifecycle
	issues. Fixes #321714, #342580.

	* src/gui-clipboard.[ch] (x_store_clipboard_if_needed):
	Make it take a workbook, not a wbcg. Should now be explicitly
	called before workbook object is destroyed.

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

	* src/wbc-gtk.c (cb_add_menus_toolbars): Fix hiding/unhiding of
	toolbars broken by 2006-08-09 commit.

	* src/clipboard.c (paste_cell): Transpose array formulas.
	[#349288].  Make sure we do not end up sharing corners in the
	non-transposed case.

	* src/expr.c (gnm_expr_top_transpose): New function.

2006-10-08  Morten Welinder  <terra@gnome.org>

	* src/xml-io.c (xml_read_clipboard_cell): Make sure the value gets
	set to a non-NULL value.  Don't try to free a NULL value.

	* src/cell.c (cell_set_expr_and_value): Set CELL_HAS_NEW_EXPR just
	like cell_set_expr_internal.  Fixes #360672.

2006-10-08  Jon K Hellan  <hellan@acm.org>

	* src/gui-file.c (gui_file_open, gui_file_save_as): Explicitly
	show the file format box, because go_gtk_file_sel_dialog no longer
	calls gtk_wiget_show_all.

	* src/gui-clipboard.c (x_clipboard_get_cb): Ignore SAVE_TARGETS.

2006-10-06  Jon K Hellan  <hellan@acm.org>

	* src/gui-clipboard.c (x_store_clipboard_if_needed): Only store if
	we own selection.

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

	* src/sheet.c (cb_max_cell_height): Optimize the non-string case.
	Fixes #359392.
	* src/mstyle.c (gnm_style_get_pango_height): New function.

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

	* src/preview-grid.c (pg_destruct_cell): Destroy cell properly.
	(pg_construct_cell): Construct it properly.
	(preview_grid_init): Create proper sheet object.

	* src/dependent.c (handle_outgoing_references): Handle sheet
	without workbook.

2006-10-04  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gui-clipboard.c: (x_claim_clipboard): fixed one more detail.

2006-10-03  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gui-clipboard.c: (x_claim_clipboard): check for imageable and
	exportable indepentently.

2006-10-03  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump

2006-10-02  Jody Goldberg <jody@gnome.org>

	* Release 1.7.1

2006-10-02  Jody Goldberg <jody@gnome.org>

	* src/func.c (function_call_with_exprs) : Iterate when we are in an
	  array, not when non-scalars are permitted.
	  Fix typo.
	(function_iterate_argument_values) : permit non-scalars for args that
	  are function calls.

2006-10-01  Jean Brefort  <jean.brefort@normalesup.org>

	* src/sheet-object-graph.c: (gnm_sog_get_object_target_list):
	do not add image targets from there.

2006-09-29  Jody Goldberg <jody@gnome.org>

	* component/gnumeric.c : add an include to suppress a warning.

2006-09-28  Morten Welinder  <terra@gnome.org>

	* src/clipboard.c, src/clipboard.h: undo partial list->hash
	change.

2006-09-24  Jean Brefort  <jean.brefort@normalesup.org>

	* src/sheet-object-graph.c: removed unused and deprecated header
	(gog-renderer-svg.h).

2006-09-23  Jody Goldberg <jody@gnome.org>

	* configure.in : bump gsf req to 1.14.2 for some of xml fixes.

2006-09-17  Jody Goldberg <jody@gnome.org>

	* src/application.c (gnumeric_application_setup_icons) : Add DataSlice
	  icon.

2006-09-17  Jody Goldberg <jody@gnome.org>

	* src/sheet-control-gui.c (scg_select_all) : do not move the edit
	  position.

2006-09-16  Jody Goldberg <jody@gnome.org>

	* configure.in : bump the libgda version dep.
	  We now use the fully GValue based api.

2006-09-15  Morten Welinder  <terra@gnome.org>

	* src/gnm-format.c (find_entry): Make sure floating point values,
	notably negative ones, get the right format.  #356140.

2006-09-10  Jean Brefort  <jean.brefort@normalesup.org>

	* component/gnumeric.c: (go_plugin_init): add a call to
	go_components_set_mime_suffix.

2006-09-08  Eduardo Lima <eduardo.lima@indt.org.br>

	* src/gui-file.c (gui_file_save_as): Added file type combo box to file
	chooser dialog for Maemo.
	(gui_file_open): ditto.

2006-09-02  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

	* src/sheet-control-gui.c (cb_select_all_btn_expose): small display
	fix.

2006-09-02  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

	Update of column/row header look and fixes for rtl mode.

	* src/gnumeric-canvas.c (gnm_canvas_find_col): use new
	gnm_canvas_x_w2c function.
	(gnm_canvas_compute_visible_region): use gnm_canvas_x_w2c instead of
	removed gnm_simple_canvas_x_w2c.
	(gnm_canvas_redraw_range): ditto.
	(gnm_canvas_window_to_coord): last pixel is allocation.width - 1.
	* src/gnumeric-canvas.h (gnm_foo_canvas_x_w2c): new.
	(gnm_canvas_x_w2c): new.
	* src/gnumeric-simple-canvas.c (gnm_simple_canvas_x_w2c): removed.
	* src/item-bar.c (ib_draw_cell): change bar item look to somehting
	less bulky.
	(item_bar_draw): ditto.
	* src/item-cursor.c (item_cursor_update): use of gnm_foo_canvas_x_w2c
	instead of gnm_simple_canvas_x_w2c.
	* src/item-edit.c (ie_layout): ditto.
	* src/sheet-control-gui.c (scg_redraw_headers): ditto.
	(scg_resize): fix for foo_canvas_set_scroll_region in rtl mode. When
	setting a canvas scroll region to [x0 .. x1[ , pixel x1 is not displayed.
	That's why we set scroll region to [-FACTOR + 1 .. +1[ in rtl mode,
	because we want x(ltr) = - x(rtl).
	(cb_select_all): removed.
	(cb_select_all_btn_expose): select all button is converted to a
	GtkDrawingArea, so we provide a custom rendering method here, in sync
	with item-bar.c.
	(cb_select_all_btn_event): new.
	(bar_set_left_col): use of calc_left_row_position.
	(gnm_canvas_set_top_row): ditto.
	(gnm_canvas_set_top_left): ditto.
	(resize_pane_pos): fix for rtl mode.
	(sheet_control_gui_new): select all button is converted to a
	GtkDrawingArea.
	(scg_scale_changed): update frozen pane handle position.

2006-08-23  Christian Neumair  <chris@gnome-de.org>

	* src/widgets/gnumeric-expr-entry.c: (cb_icon_clicked),
	(gee_set_property): Allow to toggle window size when clicking
	expression entry in dialogs.

2006-08-19  Jody Goldberg <jody@gnome.org>

	* src/gnm-format.c (find_entry) : re-fix 142474 do not use the last
	  element as a catch all.  If nothing matches use General.

	* src/wbcg-actions.c (actions) : Add EditSelectAllXL with accelerator
	  ctrl-a for backwards, and ms compat.
	* src/GNOME_Gnumeric-gtk.xml.in : add it to the accelerator list.

2006-08-11  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

	Fix for #342582.

	* src/gnumeric-pane.c (cb_pane_drag_motion): update cursor wrt
	control key state of source_widget window.
	(gnm_pane_object_start_resize): don't duplicate sheet object here.
	* src/sheet-control-gui.c (scg_drag_receive_same_process): duplicate
	sheet object when dropping with control key pressed.

2006-08-17  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

	* src/wbc-gtk.c (wbc_gtk_set_action_label): don't display "Nothing"
	when suffix == NULL, just prefix.

2006-08-09  Eduardo Lima  <eduardo.lima@indt.org.br>

	Port to Maemo/Hildon 2.0 (Nokia 770 OS2006).

	* configure.in: Clean up Maemo/Hildon configuration.

	* src/Makefile.am: Added $(HILDON_CFLAGS) and $(HILDON_LIBS) vars.

	* src/HILDON_Gnumeric-gtk.xml.in: Merged with GNOME_Gnumeric-gtk.xml.in.

	* src/widgets/gnumeric-expr-entry.c (gee_init): Set property "autocap"
	of the entry to FALSE if defined HILDON.

	* src/workbook-control-gui-priv.h: Using the new HildonProgram/Window
	API instead of the deprecated HildonApp/Appview.

	* src/workbook-control-gui.c: Clean up. Using the new
	HildonProgram/Window API instead of the deprecated HildonApp/Appview.

	* src/wbcg-actions.c: Clean up. Using the new HildonProgram/Window
	API instead of the deprecated HildonApp/Appview.

	(cb_edit_undo_last): New. Added in place of cb_edit_undo for action
	"UndoLast".
	(cb_edit_redo_last): New. Added in place of cb_edit_redo for action
	"RedoLast".

	* src/wbc-gtk.c: Clean up. Using the new HildonProgram/Window API
	instead of the deprecated HildonApp/Appview.

	* src/main-application.c: Changed gnumeric version in call to
	osso_initialize() if defined HILDON.

	* src/gui-file.c: Clean up.

	* src/item-grid.c: Clean up.

2006-08-04  Morten Welinder  <terra@gnome.org>

	* src/clipboard.c (paste_cell): Old cell_relocate linked the dep
	for us.  Thus we now need to ask cell_set_expr_and_value to do that.
	Note: now all callers to cell_set_expr_and_value has TRUE as last
	argument.

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

	* src/sheet.c (sheet_cells): Actually respect "comments" argument.

	* src/commands.c (cmd_paste_copy_impl): Add () to clarify.

	* src/sheet.c (re_render_formulas): Use sheet_cell_foreach, not
	SHEET_FOREACH_DEPENDENT.
	(sheet_set_hide_zeros): Use sheet_cell_foreach, not
	sheet_foreach_cell_in_range.
	(cb_rerender_zeroes): Adapt to sheet_set_hide_zeros change.
	(sheet_cells): Use sheet_cell_foreach, not
	sheet_foreach_cell_in_range.

	* src/workbook-control-gui.c (cb_workbook_debug_info): Use
	sheet_cell_foreach, not sheet_foreach_cell_in_range.

	* src/xml-sax-write.c (xml_write_cells): Use sheet_cell_foreach,
	not sheet_foreach_cell_in_range.

	* src/dependent.c (dependent_eval): Make this static.  Move
	dependent_needs_recalc check to caller.  Change to void result.

	* src/validation.c (validation_eval): Use cell_eval, not
	dependent_eval.

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

	* src/sheet.c (sheet_new_with_type): specify sheet for Print_Area
	  range

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

	* src/gui-clipboard.c (cellregion_to_string): Allocate only 1 byte
	per cell, not 20.  Allocate further 20 bytes per non-blank cell.
	Fixes #348922.

2006-07-31  Morten Welinder  <terra@gnome.org>

	* src/style.c (gnm_pango_context_get): Avoid leaking font maps in
	the no-screen case.

	* src/workbook-control-gui.c (wbcg_sheet_order_changed): Fix
	methodology and thus probably #349255.

2006-07-25  Jody Goldberg <jody@gnome.org>

	* src/cell.c (cell_relocate) : merge into clipboard.
	* src/ranges.c (range_parse) : renamed from parse_range and the
	  original unused range_parse was deleted.

	* src/sheet.c (sheet_range_trim) : renamed from range_trim.  It makes
	  more sense here.
	(sheet_range_has_heading) : renamed from range_has_header.

2006-07-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_paste_copy_impl): don't forget comments
	(cmd_paste_copy): use undo_range_name rather than range_as_string
	  to use sheet name according to preferences

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

	* src/application.c (gnm_app_workbook_get_by_name): Handle empty
	name.  Fixes #347916.

2006-07-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_unmerge_cells_undo): make sure we are moving the
	  comment back into place #347536
	(cmd_unmerge_cells_redo): don't leave the comments behind #347536
	(cmd_merge_cells_undo): also put the comments back #347536

2006-07-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet.c (sheet_get_comment): If the position is in a
	  merged region we have to search for comments in the whole
	  region.

2006-07-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_define_name): handle _ in names used in
	  descriptor text

2006-07-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/GNOME_Gnumeric-gtk.xml.in: add print area commands to File
	  menu
	* src/commands.c (cmd_define_name): add optional descriptor argument
	* src/commands.h (cmd_define_name): ditto
	* src/sheet.c (sheet_get_nominal_printarea): new
	(-sheet_get_printarea): use sheet_get_nominal_printarea
	* src/sheet.h (sheet_get_nominal_printarea): new
	* src/wbcg-actions.c (cb_file_print_area_set): new
	(cb_file_print_area_show): new
	(cb_file_print_area_sclear): new
	* src/workbook-control.c (wb_control_parse_and_jump): add argument
	  to call of cmd_define_name

2006-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnumeric-gconf.c (go_conf_set_double): use real_key when
	  writing the value #346433

2006-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/expr-name.c (expr_name_perm_add)): accept expressions rather
	  than just strings
	* src/expr-name.h (expr_name_perm_add): ditto
	* src/print.c (compute_pages): use new sheet_get_printarea
	(print_sheet): ditto
	* src/sheet.c (sheet_get_printarea): new
	(sheet_new_with_type): create "Print_Area" permanent name
	* src/sheet.h (sheet_get_printarea): new

2006-06-30  Jody Goldberg <jody@gnome.org>

	* src/position.c (parse_pos_init_dep) : init the col/row too for
	  cells.  Fixes relocation.

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

	* src/sheet-autofill.c (afm_compute): Fix hanlding of decresing
	month sequences.  Fixes #346028.

2006-06-28  Jody Goldberg <jody@gnome.org>

	* src/xml-io.c (xml_init) : down grade priority and rename the DOM
	  exporter.  We default to SAX now.
	(xml_read_colrow_info) : fix import.
	* src/gnm-plugin.c (gnm_plugin_loader_module_func_exec_action) : do
	  not crash if there is no handler.

2006-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/dependent.c (MICRO_HASH_hash): extinguish warning #346045

2006-06-29  Ivan, Wong Yat Cheung <ivanwong@gnome.org>

	* plugins/excel/ms-excel-read.c (excel_read_LABEL): use opcode instead
	  of esheet_ver to determine the offset and bit count of LABEl text
	  length.

2006-06-27  Jody Goldberg <jody@gnome.org>

	* src/colrow.c (colrow_foreach) : really fix it.

2006-06-26  Jody Goldberg <jody@gnome.org>

	* src/colrow.c (colrow_foreach) : Fix last nights breakage.
	* component/gnumeric.c (cell_render_cairo) : make this compile again.

2006-06-25  Jody Goldberg <jody@gnome.org>

	* gnumeric.xsd : update a bit.
	* ColRowInfo::pos : removed.
	* ColRowInfo::margin_a	: removed.
	* ColRowInfo::margin_b	: removed.
	* GnmCell::col_info	: removed.
	* GnmValueErr::src	: removed.

	* src/colrow.c (colrow_foreach) : Pass a new type 'GnmColRowIter' to
	  the handler to provide a position and an info ptr.  All callers
	  changed.

	* src/sheet.c
	(sheet_col_size_fit_pixels) : use the constant margins
	(sheet_row_size_fit_pixels) : ditto and and add +1 for
	  the grid line (why was this different from col_size_fit_pixels).
	* src/dialogs/dialog-row-height.c (dialog_row_height) : row margin is
	  constant now.
	* src/dialogs/dialog-col-width.c (dialog_col_width) : ditto.

	* src/cell-draw.c (cell_calc_layout) : no need for ri, the margins are
	  constant.
	(cell_draw) : row margin is now constant too.
	(cell_finish_layout) : document height better and make the row
	  margins constant.

	* src/cellspan.c (row_calc_spans) : Take the position as an argument
	  now that ColRowInfo::pos is gone.  All callers changed.

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

	* src/sheet.c (sheet_set_name): update the Sheet_Title name
	(sheet_new_with_type): Create Sheet_Title permanent name
	* src/expr-name.h (GnmNamedExpr): add is_permanent and is_editable
	  fields
	(expr_name_perm_add): new
	* src/expr-name.c (expr_name_new): initialize new fields
	(expr_name_add): avoid conflicts when permanent names are (re)loaded
	  from files.
	(expr_name_perm_add): new

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

	* src/gnm-plugin.c (plugin_service_function_group_get_description):
	  Fix ngettext call #345027
	(plugin_service_ui_get_description): ditto

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

	* src/stf-parse.c (stf_parse_options_guess): Explicitly try a
	comma.  And don't crash if we fail to guess a separator.  Fixes
	#345477.

2006-06-16  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* samples/chart-stripe-tests.gnumeric: new.

2006-06-11  Jody Goldberg <jody@gnome.org>

	* src/cell-draw.c (cell_calc_layout) : Take the width as an argument
	  rather than calculating it here.
	(cell_draw) : width must be specified now.  No more magic < 0 implies
	  cur col width.  Width convention changed to include margins.

	* src/search.c (search_collect_cells) :  adjust to sheet_cells
	  signature change.

	* src/expr.h (GnmExprRelocateInfo) : convert pos from an EvalPos to a
	  ParsePos.  One day the distinction will go away, but for now
	  relocations do not need to know which dependent is being evaluated.
	* src/dependent.c (dependents_relocate) : adjust to that change.
	* src/sheet-autofill.c (afc_set_cell_hint) : ditto.

	* src/colrow.h (GNM_COL_MARGIN) : define.  Margins are going away, why
	  waste space and time looking up values that were constant.

	* src/cell.h : remove GnmCell::col_info.
	(cell_is_linked) : delete.  it was only used internally this model is
	  targeted for removal when cells move into the quadtree.

	* src/gnumeric.h : Change CellIterFunc signature to take a GnmCellIter
	  in place of all the distinct arguments.
	* src/auto-format.c (cb_af_suggest) : Adjust to signature change.
	* src/clipboard.c (cb_clipboard_prepend_cell) : ditto.
	* src/colrow.c (cb_clear_variable_width_content) : ditto.
	* src/func.c (cb_iterate_cellrange) : ditto.
	* src/graph.c (cb_assign_val) : ditto.
	(cb_assign_matrix_val) : ditto.
	* src/print.c (cb_range_empty) : ditto.
	* src/ranges.c (cb_find_extents) : ditto.
	* src/sheet-filter.c (cb_collect_unique) : ditto.
	(cb_filter_expr) : ditto.
	(cb_filter_non_blanks) : ditto.
	(cb_filter_blanks) : ditto.
	(cb_filter_find_items) : ditto.
	(cb_hide_unwanted_items) : ditto.
	(cb_filter_find_percentage) : ditto.
	(cb_hide_unwanted_percentage) : ditto.
	* src/sheet-view.c (cb_fail_if_not_selected) : ditto.

2006-06-09  Jody Goldberg <jody@gnome.org>

	* src/sheet-view.h (SheetView) : Add ::first_col_tab
	  to track the first column a user used Tab to move out of.
	* src/sheet-view.c (sv_set_edit_pos) : reset ::first_tab_col to -1.
	* src/selection.c (sv_selection_walk_step) : When moving vertically in
	  a singleton (hitting Enter) check to see if the previous movements
	  where done with Tab, and jump back to that column.  For horizontal
	  movement (hitting Tab) store the col or restore the previous
	  ::first_tab_col. #88167

2006-05-31  Jody Goldberg <jody@gnome.org>

	* component/gnumeric.c (cell_render_cairo) : Just look up the
	  col_info/row_info directly for now.  It's less efficient than using
	  GnmCell::col_info, but that is going away and this renderer will be
	  rewritten to use GnmRenderedRegion when it is done.

2006-05-31  Jody Goldberg <jody@gnome.org>

	* src/parser.y (gnm_expr_parse_str) : fix docs.  Add new behavior.
	  if conv is NULL use the conv from @pp::sheet

	* src/parse-util.c (parse_text_value_or_expr) : Use the current
	  ExprConv associated with the ParsePosition's sheet, not
	  gnumeric_default (fixes R1C1).
	(gnm_expr_parse_str_simple) : ditto.
	* src/ranges.c (global_range_list_parse) : ditto.
	* src/value.c (value_new_cellrange_str) : ditto.
	* src/workbook-edit.c (wbcg_edit_finish) : ditto.
	* src/widgets/gnumeric-expr-entry.c (gnm_expr_entry_parse) : ditto.

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

	* src/cell.c (cell_dup): Remove.

2006-05-26  Jean Brefort  <jean.brefort@normalesup.org>

	* samples/chart-tests.gnumeric: added new stepped plots samples.

2006-05-25  Morten Welinder  <terra@gnome.org>

	* src/workbook-control-gui.c (wbcg_create_edit_area): Add tooltip
	for the debug button so we don't get a critical.

	* src/str.c (gnm_string_dump): New function for debugging.

	* src/dependent.c: Use new "compact set" implementation for the
	micro hash.  Use alternative (and very efficient) storage methods
	for 1-element sets and for {2,3}-element sets.
	(micro_hash_insert): When resizing, make sure the hash table end
	up somewhat dense.  (Since we are using a pool allocator for
	cells, the entries are extremely well distributed in the hash
	table.)

2006-05-25  Jean Brefort  <jean.brefort@normalesup.org>

	* samples/chart-tests.gnumeric: added series lines samples for
	bars and columns.

2006-05-25  Jean Brefort  <jean.brefort@normalesup.org>

	* component/gnumeric.c: (go_gnm_component_set_data),
	(go_gnm_component_draw): use GOImage for the cairo <-> pixbuf conversion.
	* src/application.c: replaced gi18n.h by gi18n-lib.h.
	* src/clipboard.c: ditto.
	* src/cmd-edit.c: ditto.
	* src/command-context-stderr.c: ditto.
	* src/command-context.c: ditto.
	* src/commands.c: ditto.
	* src/consolidate.c: ditto.
	* src/expr-name.c: ditto.
	* src/expr.c: ditto.
	* src/file-autoft.c: ditto.
	* src/format-template.c: ditto.
	* src/func-builtin.c: ditto.
	* src/func.c: ditto.
	* src/gnm-format.c: ditto.
	* src/gnm-graph-window.c: ditto.
	* src/gnm-plugin.c: ditto.
	* src/gnm-so-filled.c: (gnm_so_filled_draw_cairo): fixed a memory leak and
	the gi18n change.
	* src/gnm-so-line.c: replaced gi18n.h by gi18n-lib.h.
	* src/gnm-so-polygon.c: (gnm_so_polygon_draw_cairo),
	(gnm_so_polygon_class_init): new draw cairo function (not implemented)
	and ditto.
	* src/gnumeric-canvas.c: replaced gi18n.h by gi18n-lib.h.
	* src/gnumeric-pane.c: ditto.
	* src/gui-clipboard.c: ditto.
	* src/gui-file.c: ditto.
	* src/gui-util.c: ditto.
	* src/gutils.c: ditto.
	* src/history.c: ditto.
	* src/hlink.c: ditto.
	* src/input-msg.c: ditto.
	* src/item-bar.c: ditto.
	* src/item-cursor.c: ditto.
	* src/item-edit.c: ditto.
	* src/libgnumeric.c: ditto.
	* src/mathfunc.c: ditto.
	* src/number-match.c: ditto.
	* src/parser.y: ditto.
	* src/pivottable.c: ditto.
	* src/print-info.c: ditto.
	* src/print.c: ditto.
	* src/ranges.c: ditto.
	* src/search.c: ditto.
	* src/selection.c: ditto.
	* src/session.c: ditto.
	* src/sheet-autofill.c: ditto.
	* src/sheet-control-gui.c: ditto.
	* src/sheet-filter.c: ditto.
	* src/sheet-merge.c: ditto.
	* src/sheet-object-graph.c: ditto.
	* src/sheet-object-image.c: ditto.
	* src/sheet-object-widget.c: ditto.
	* src/sheet-object.c: ditto.
	* src/sheet-style.c: ditto.
	* src/sheet-view.c: ditto.
	* src/sheet.c: ditto.
	* src/stf-export.c: ditto.
	* src/stf-parse.c: ditto.
	* src/stf.c: ditto.
	* src/style.c: ditto.
	* src/validation.c: ditto.
	* src/value-sheet.c: ditto.
	* src/value.c: ditto.
	* src/wbc-gtk.c: ditto and set translation domain for actions.
	* src/wbcg-actions.c: replaced gi18n.h by gi18n-lib.h.
	* src/widgets/gnm-dao.c: ditto.
	* src/widgets/gnumeric-expr-entry.c: ditto.
	* src/widgets/gnumeric-lazy-list.c: ditto.
	* src/widgets/widget-font-selector.c: ditto.
	* src/workbook-cmd-format.c: ditto.
	* src/workbook-control-gui.c: ditto.
	* src/workbook-control.c: ditto.
	* src/workbook-edit.c: ditto.
	* src/workbook-view.c: ditto.
	* src/workbook.c: ditto.
	* src/xml-io.c: ditto.
	* src/xml-sax-read.c: ditto.

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

	* src/workbook-edit.c (wbcg_edit_start): Handle scientific as
	other number formats.

2005-05-22  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* src/gui-clipboard.c (image_write): set a resolution, which will be
	used when pasting graph from gnumeric in raster format.

2006-05-18  Morten Welinder  <terra@gnome.org>

	* src/workbook-control-gui.c (cb_share_a_cell): Reinstate code.

	* src/expr.c (gnm_expr_sharer_new): Renamed from
	expr_tree_sharer_new.  Class renamed from ExprTreeSharer to
	GnmExprSharer.
	(gnm_expr_sharer_destroy): Renamed from expr_tree_sharer_destroy.
	(gnm_expr_sharer_share): Renamed form expr_tree_sharer_share and
	changed to use GnmExprTop.

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

	* src/gnm-graph-window.c: Handle missing GTK_STOCK_FULLSCREEN and
	GTK_STOCK_LEAVE_FULLSCREEN.

2006-05-14  Jean Brefort  <jean.brefort@normalesup.org>

	* component/gnumeric.c: (cairo_to_pixbuf): fixed and renamed,
	(go_gnm_component_set_data): use current selection as displayed area,
	(cell_render): set colors in the correct (RGB) order,
	(go_gnm_component_draw): skip hidden rows and columns,
	(go_gnm_component_print): print sheet objects,
	(go_gnm_component_init): updated,
	(go_gnm_component_class_init): removed unused properties.
	* src/gnm-so-filled.c: (gnm_so_filled_draw_cairo): don't use cairo if
	GOFFICE_WITH_CAIRO is not defined.
	* src/gnm-so-line.c: (gnm_so_line_print): use correct color,
	(gnm_so_line_draw_cairo): implemented,
	(gnm_so_line_class_init): add draw_cairo.
	* src/sheet-object-graph.c: (gnm_sog_draw_cairo): implemented,
	(gnm_sog_class_init): add draw_cairo.
	* src/sheet-object.c: (sheet_object_draw_cairo): don't use cairo if
	GOFFICE_WITH_CAIRO is not defined.

2006-05-13  Jean Brefort  <jean.brefort@normalesup.org>

	* src/expr.c: (ets_hash): use G_POINTER_TO_UINT instead of a cast
	(fixes a warning for 64 bits processors).

2006-05-13  Jody Goldberg <jody@gnome.org>

	* component/gnumeric.c : patch some warnings and make some comments.

	* src/gnumeric-pane.c (display_object_menu) : Use the new
	  sheet_object_populate_menu and clarify that so and event can be
	  NULL.
	(cb_pane_popup_menu) : if objects are selected use
	  display_object_menu.

	* src/sheet-object.c (sheet_object_populate_menu) : new and public.
	(sheet_object_populate_menu_real) : renamed from sheet_object_populate_menu
	  and make smarter to be able to handle so == NULL.

	* src/gnumeric-canvas.c (gnm_canvas_class_init) : delete some unused
	  variables.

	* src/clipboard.c (clipboard_copy_obj) : tidy up a bit, and prepare to
	  clean out the odd GObject data usage.

	* src/sheet-control-gui.c (scg_object_coords_to_anchor) : set the
	  direction.

	* src/wbcg-actions.c (permanent_actions) : Make Save and Save-As
	  permanent so that the user can always save.

	* src/xml-sax-write.c (gnm_xml_file_save) : accept saving to unnamed
	  files.

2006-05-12  Jean Brefort  <jean.brefort@normalesup.org>

	* component/gnumeric.c: (go_gnm_component_print): implemented.

2006-05-12  Jean Brefort  <jean.brefort@normalesup.org>

	* Makefile.am: add component directory.
	* component/Gnumeric-embed.xml.in: add a goffice component.
	* component/Makefile.am: ditto.
	* component/gnumeric.c: ditto.
	* component/plugin.xml.in: ditto.
	* configure.in: add support for the component.
	* src/gnm-plugin.c: make GnmPluginLoaderModule public.
	* src/gnm-so-filled.c: (gnm_so_filled_draw_cairo),
	(gnm_so_filled_class_init): render using cairo.
	* src/sheet-object-impl.h: add a draw_cairo method.
	* src/sheet-object.c: (sheet_object_draw_cairo): implement the
	new functionality.
	* src/sheet-object.h: ditto.
	* src/wbc-gtk.c: (wbc_gtk_init): add support for customized ui.

2006-05-11  Christian Neumair  <chris@gnome-de.org>

	* src/Makefile.am:
	* src/gnm-graph-window.c:
	* src/gnm-graph-window.h:
	* src/sheet-object-graph.c:
	Add graph window for displaying graph in separate windows, add
	action to graph context menu.

2006-05-10  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in: Bumped goffice dependency to reflect that goffice HEAD
	is needed as building against goffice 0.3.0 now fails.

2006-05-09  Jody Goldberg <jody@gnome.org>

	* src/workbook-view.c (wbv_save_to_output) : new function broken out
	  of wbv_save_to_uri for convenience.  This API will change.

	* src/sheet.c
	(sheet_insert_cols) : make reloc_storage arg optionally NULL.
	(sheet_delete_cols) : ditto.
	(sheet_insert_rows) : ditto.
	(sheet_delete_rows) : ditto.

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

	* src/style.c (style_font_new_simple): Copy font description
	early.  We aren't supposed to touch the result of
	pango_context_get_font_description!
	(gnm_font_metrics_new, gnm_font_metrics_free): Moved to goffice.

	* src/style-font.h: Add GOFont and GOFontMetrics members.  Remove
	PangoFontDescription member.

2006-05-08  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump

2006-05-08  Jody Goldberg <jody@gnome.org>

	* Release 1.7.0

2006-05-07  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in: Ensure pkg-config is recent enough to support private
	libraries.
	* libspreadsheet-1.7.pc.in: libart-2.0 is not being exposed by
	libspreadsheet's headers; mark it as private.

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

	* src/commands.c (cmd_autofill_redo): Fit columns.

2006-05-06  Jody Goldberg <jody@gnome.org>

	* libspreadsheet-1.7.pc.in : new.
	* configure.in : Add it.
	* src/Makefile.am : install headers.  When we move to subversion we
	  can move the path around a bit, with cvs too much surgery would be
	  required.

2006-05-05  Jody Goldberg <jody@gnome.org>

	* src/dependent.h : s/DependentClass/GnmDependentClass/ to be
	  consistent.

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

	* src/item-cursor.c (item_cursor_selection_event): Add help
	messages explaining what is going on.
	(cb_autofill_scroll): Fix hint for inverse autofill.

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

	* src/commands.c (cmd_autofill_redo): Improve selection.

	* src/sheet-autofill.c (sheet_autofill_hint): New function.
	(sheet_autofill_internal): Split out from sheet_autofill.
	(afm_teach_cell): Deduce dateconv here instead of as an init
	paramter.
	(afa_teach_cell): Deduce dateconv here.
	(afa_set_cell): Set format correctly.

	* src/item-cursor.c (cb_autofill_scroll): Display autofill hint.
	(item_cursor_selection_event): Store button state.
	(item_cursor_autofill_event): Use CONTROL state as-of when we
	started the drag, not when we ended it.

	* src/cell-draw.c (cell_finish_layout): Add parameter to allow
	inhibiting numerical overflow.  All callers changed.

2006-05-02  Morten Welinder  <terra@gnome.org>

	* src/sheet.c (cb_max_cell_width, cb_max_cell_height): Call
	cell_finish_layout.  Fixes #67351.

	* src/cell-draw.c (cell_finish_layout): Split out...
	* src/print-cell.c (print_cell): ...here.

	* src/rendered-value.c (rendered_value_new): Wrap texts only.

	* src/main-application.c (main): Gracefully handle missing
	AttachConsole.  #332975.  Modeled after patch by Harun Vos.

	* src/workbook.c (workbook_dispose): Remove debug code that no
	longer does anything but cause criticals.

2006-04-30  Jody Goldberg <jody@gnome.org>

	* src/Makefile.am : remove unused code associated with bonobo.  People
	  can pull it from cvs archives if desired.
		: bonobo-io.c
		: bonobo-io.h
		: sheet-object-bonobo.c
		: sheet-object-bonobo.h
		: sheet-object-container.c
		: sheet-object-container.h
		: sheet-object-item.c
		: sheet-object-item.h

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

	* src/print-cell.c (print_cell): Always call the display logic for
	the cells as that can change the layouts.  (And do it right while
	we're at it.)

	* src/rendered-value.c (rendered_value_new): Expand
	rendered_value_render and setup the layout fully before rendering.
	Fix latent allocation problem.  Fix border case of filling strings
	that have number formats.

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

	* src/wbcg-actions.c: Put a decent status bar message for full
	screen mode.

2006-04-30  Jody Goldberg <jody@gnome.org>

	* src/mstyle.c (gnm_style_is_complete) : implement.

	* src/sheet-style.c (sheet_style_get) : returns a const to make it
	  clear not to touch the result.
	* src/workbook-view.c (wb_view_format_feedback) : update.
	* src/workbook-edit.c (wbcg_edit_finish) : update.

	* src/cell.c (cell_dup) : renamed from cell_copy to be more consistent
	  about naming, and mark as deprecated.

2006-04-29  Jody Goldberg <jody@gnome.org>

	* src/workbook-view.c (wb_view_get_index_in_wb) : new for xlsx export.

	* src/selection.h (sv_selection_foreach) : renamed from
	  selection_foreach_range.  All callers changed.
	* src/selection.c (sv_selection_add_full) : renamed from
	  sv_selection_add_range to be clearer.
	(sv_selection_add_range) : new utility that takes a ... GnmRange.

	* src/sheet-view.h : SheetView::selections make this a GSList, no need
	  for a GList.  This makes the api more homogeneous.

	* src/cell.c (cell_get_style) : constify the result and rename from
	  cell_get_mstyle.

	* src/ranges.c (range_as_string) : renamed from range_name.  All
	  callers fixed.

	* src/style-conditions.c (gnm_style_conditions_eval) : tack on hooks
	  for some of the new condition types in office 12.

2006-04-27  Morten Welinder  <terra@gnome.org>

	* src/commands.c (cmd_clone_sheet): Remove.

	* src/wbcg-actions.c (cb_edit_duplicate_sheet): Remove.

	* src/workbook-control-gui.c (wbcg_clone_sheet): New function,
	based on cmd_reorganize_sheets.
	(sheet_action_clone_sheet): Just call wbcg_clone_sheet.

	* src/workbook-edit.c (wbcg_edit_start): Issue a warning if the
	cell has text format, but contains anything but a string.

	* src/wbc-gtk.c (wbc_gtk_init_zoom): Add stock_id.  Not a perfect
	match, but close enough.

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

	* src/style.c (gnm_font_metrics_new, gnm_font_metrics_free,
	gnm_font_metrics_unit): New font metrics setup.

	* src/sheet.c (sheet_col_get_distance_pixels): New function.

	* src/cell.c (cell_get_render_color, cell_get_entered_text,
	cell_rendered_height, cell_rendered_width, cell_rendered_offset):
	Moved from src/rendered-value.c.

	* src/gnm-format.c (gnm_format_layout, gnm_format_general): New
	functions.
	(format_value_gstring): Use gnm_format_general.

	* src/rendered-value.c (rendered_value_render): Calculate column
	widths in pixels and use gnm_format_layout to get accurate
	rendering.  Take layout instead of string.
	(rendered_value_new): Set attributes before the call to
	rendered_value_render.

	* src/hlink.c (gnm_hlink_cur_wb_activate): Prevent a critical.
	#339793.

2006-04-25  Morten Welinder  <terra@gnome.org>

	* src/mstyle.c (gnm_style_get_font): Don't ref the font.  All
	callers changed.

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

	* */*.c: Avoid lots of includes of <gnm-format.h>

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

	* src/commands.c (cmd_reorganize_sheets): Rename from
	cmd_reorganize_sheets2.  Take extra argument optionally specifying
	the front sheet before the action.
	(cmd_reorganize_sheets_undo, cmd_reorganize_sheets_redo): Raise
	relevant sheet.  Fixes #154705.

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

	* src/stf-parse.c (stf_parse_options_guess): If we guessed a space
	separator that implies we want initial separators ignored.
	Further, space implies tab.
	(stf_parse_options_csv_set_trim_seps): New function.
	(stf_parse_csv_line): Ignore initial separators if asked to.
	Fixes #339297.

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

	* src/stf-parse.c (stf_parse_options_guess): When we guess a space
	as separators, make two count as one.  Fixes #332997.

	* src/wbc-gtk.c (wbc_gtk_init_zoom, wbc_gtk_init_font_size,
	wbc_gtk_init_font_name): Add tooltip.  Together with goffice patch,
	this fixes #339122.

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

	* src/commands.c (cmd_paste_copy_impl, cmd_autofill_undo,
	cmd_copyrel_undo, cmd_text_to_columns_impl, cmd_paste_cut_redo,
	cmd_paste_cut_undo): Simplify using select_range.
	(cmd_set_text_undo, cmd_set_text_redo): Call select_range.
	(cmd_clear_undo): Simplify using select_selection.
	(cmd_clear_redo, cmd_format_redo, cmd_format_undo): Call
	select_selection.
	(select_range, select_selection): New functions.

2005-04-19  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* src/gui-clipboard.c (image_write): sheet_object_write_image takes an
	extra parameter for export resolution.
	* src/sheet-control-gui.c (scg_drag_send_image): ditto.
	* src/sheet-object-image.c (gnm_soi_write_image): ditto.
	* src/sheet-object-impl.h: ditto.
	* src/sheet-object.c (sheet_object_write_image): ditto.
	* src/sheet-object-graph.c (gnm_sog_write_image): ditto.
	(sog_cb_save_as): ditto. Get resolution from gui_get_image_save_info.

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

	* src/sheet.c (sheet_apply_style): Don't re-fit heights here.
	Don't redraw twice.
	(sheet_apply_border): Don't redraw twice.
	(cb_max_cell_height): Drop cheap hack that didn't work on
	multi-line text.

	* src/commands.c (cmd_format_undo): Undo in reverse order of redo.
	(cmd_format_redo): Use colrow_autofit.

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

	* src/commands.c (cmd_set_text_redo): Autofit row heights for
	string constants.

	* src/sheet.c (sheet_col_size_fit_pixels): Add extra argument to
	control whether to ignore strings.  All callers changed.
	(sheet_row_size_fit_pixels): Similarly.

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

	* src/commands.c (cmd_set_text_redo): Autofit column based on
	cell's width.

	* src/sheet.c (sheet_col_size_fit_pixels): Take two extra
	arguments specifying the row interval to look at.  All callers
	changed.
	(sheet_row_size_fit_pixels): Similarly.

	* src/colrow.c (colrow_autofit): New primitive to autofit columns
	or rows based on the size of a range.
	(rows_height_update): This is now a special case of
	colrow_autofit.

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

	* src/workbook-view.c (wb_view_save_as, wb_view_save,
	wb_view_sendto): Hold a ref to the workbook while the save is in
	progress.  Makes #338847 go away, even if the underlying cause has
	not been fixed.

	* src/wbc-gtk.c (cb_regenerate_window_menu): Safely handle a
	control that no longer has a view (and thus a workbook).

	* src/workbook-control.c (wb_control_get_workbook): Handle NULL
	view.
	* src/workbook-control-gui.c (wbcg_view_changed): Simplify after
	above change.

2006-04-16  Jody Goldberg <jody@gnome.org>

	* gnumeric.desktop.in : Add mimetype for MS Office 12.
	* po/POTFILES.in : add xlsx-read.c

2006-04-16  Jon K Hellan  <hellan@acm.org>

	* src/stf-export.c: Include locale.h to make it build again.

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

	* src/workbook-control.c (workbook_control_class_init): Add a
	"view" property.

	* src/workbook-view.c (wb_view_attach_control,
	wb_view_detach_control): Use g_object_set instead of poking
	directly into wbc->wb_view.  That's cleaner and will fire the
	notify signals.

	* src/workbook-control-gui.c (wbcg_view_changed): Install and
	disconnect workbook signals here.  Watch changes to "view" (which
	implies changes to underlying workbook) and reconnect signals.
	(wbcg_create): Call wbcg_view_changed to update title and watch
	for changes.

	* src/stf-export.c (gnm_stf_export_class_init): New "locale"
	property.
	(stf_export): Switch locale during actual export.

2006-04-15  Jody Goldberg <jody@gnome.org>

	* plugins/fn-info/functions.c : Add HALIGN_DISTRIBUTED and resync a
	  few cases.
	* plugins/html/latex.c (latex2e_write_multicolumn_cell) : ditto.
	* plugins/html/roff.c (roff_file_save) : ditto.
	* plugins/plan-perfect/pln.c (pln_get_style) : ditto.
	* src/cellspan.c (cell_calc_span) : ditto.
	* src/rendered-value.c (rendered_value_new) : ditto.
	* src/dialogs/cell-format.glade : ditto.
	* src/dialogs/dialog-cell-format.c : ditto.
	* plugins/html/html.c (write_cell) : add HALIGN_DISTRIBUTED and fix
	  VALIGN_DISTRIBUTED.
	* src/cell-draw.c (cell_calc_layout) : ditto.
	* src/item-edit.c (get_top_left) : ditto.

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

	* src/gnm-style-impl.h (GnmStyle): Rename content_locked to
	contents_locked and content_hidden to contents_hidden.  All users
	changed.

	* src/clipboard.h (GnmCellRegion): Rename content to contents and
	not_as_content to not_as_contents.  All users changed.

	* src/mstyle.c (gnm_style_get_contents_locked,
	gnm_style_get_contents_hidden, gnm_style_set_contents_locked,
	gnm_style_set_contents_hidden): Renamed from _content_.
	All callers changed.

	* src/clipboard.c (cellregion_cmd_size): New function.

	* src/commands.c (cmd_sort_undo): Do this by pasting old contents.
	Fixes #161890.

	* src/sheet-autofill.c (sheet_autofill_dir): Add support for
	quarters.  Fixes #61650.
	(auto_filler_list): Number is fixed-width.

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

	* src/expr.c (bin_arith): Don't look closely if the result is an
	int because it no longer matters.

	* src/number-match.c (format_match_decimal_number): Fix FMR.
	(format_match_simple): Don't do the integer dance.  (And don't do
	it with two left feet either.)

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

	* src/number-match.c (format_match): When we currently have a date
	format, don't try to match a time.  This has the effect of not
	having "2005" interpreted as about 8 O'clock.
	(format_match_datetime): Handle 2005/5 and 5/2005 too.

2006-04-07  Morten Welinder  <terra@gnome.org>

	* src/test-harness.c (main): Don't use value_get_as_int.

	* src/workbook-edit.c (wbcg_edit_start): Standardize formats for
	time and date entry too.

	* src/rendered-value.c (rendered_value_render): Do not convert to
	unicode minus if the format is date.

	* src/expr-name.c (expr_name_set_expr): Queue deps for recalc.
	Fixes rest of #312610.

	* src/workbook-edit.c (wbcg_edit_start): Reformat numbers as
	general for editing so we don't hide decimals.  Kill extra spaces
	for fraction formats.  Improve cursor positioning for percentages.

	* src/commands.c (cmd_remove_name): New function.

2006-04-06  Jody Goldberg <jody@gnome.org>

	* src/sheet-control-gui.c (scg_image_create) : dragging in a new image
	  should not resize existing objects being edited, drag back to
	  sheet_mode before creation.

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

	* src/gui-util.c (gnumeric_keyed_dialog): Guess alternative button
	order.

2006-04-06  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=314866
	* src/sheet-control-gui.c (scg_drag_receive_same_process) : store the
	  current position as the original before we commit.
	* src/gnumeric-pane.c (cb_pane_drag_end) : restore the ctrl points to
	  the 'original' position in case the drag was canceled.  Hence the
	  magic in scg_drag_receive_same_process.
	  (cb_pane_drag_leave) :

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

	* src/rendered-value.c (rendered_value_render): Resolve formats
	the same way as cell_get_format.

2006-04-05  Jody Goldberg <jody@gnome.org>

	* src/wbcg-actions.c : Use shift/ctrl space for select col/row/all
	  even though this is just for show.  The accels are handled
	  in gnumeric-canvas.
	* src/gnumeric-canvas.c (gnm_canvas_key_press) : re-organize to
	  clarify when to handle things.
	(gnm_canvas_colrow_key_press) : new.

2006-04-05  Jody Goldberg <jody@gnome.org>

	* src/wbcg-actions.c (cb_help_docs) : Use 'yelp help:gnumeric'
	* gnumeric.desktop.in (DocPath) : add an entry so that things show up
	  in yelp (at least for suse 10.1)

2006-04-01  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=336212
	* src/func.c (function_iterate_argument_values) : This is ugly but it
	  seems to do the right thing.  We can not just assume that args to
	  vararg functions should be evaluated as non-scalars.  It is more
	  subtle.  Simple range_refs (direct or via a name) are non-scalar,
	  but general expressions that use a range (A1:A10=3) evaluate
	  depending on the top level mode, and honor implicit
	  intersecion/iteration.

	* src/position.h : Replace the cols/rows elemnts of GnmEvalPos with a
	  GnmExprArrayCorner pointer.  This allows us to differentiate normal
	  evaluation and singleton arrays.  As a side benefit it uses less
	  memory no 32bit architecture which is important as long as we still
	  use recusion for the recalc queue.

	* src/position.c (eval_pos_init) : adjust to GnmEvalPos change.
	(eval_pos_init_pos) : ditto.
	(eval_pos_init_dep) : ditto.
	(eval_pos_init_cell) : ditto.
	(eval_pos_init_sheet) : ditto.
	* src/expr.c (gnm_expr_eval) : ditto.
	* src/func-builtin.c (gnumeric_table_link) : ditto.
	(gnumeric_table) : ditto.
	* src/dependent.c (link_expr_dep) : ditto.
	* plugins/fn-lookup/functions.c (gnumeric_row) : ditto.
	(gnumeric_col) : ditto.

2006-04-01  Jody Goldberg <jody@gnome.org>

	* src/xml-sax-write.c : Add include to suppress warning.

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

	* src/search.c (gnm_search_replace_cell): Only force strings to
	remain as strings if asked to.
	(gnm_search_replace_class_init): New property
	replace-keep-strings.

	* src/commands.c (cmd_search_replace_do_cell): Fix error
	expression handling to go through expressions.
	(cmd_search_replace_do_cell): Plug leak in make-string case.

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

	* src/xml-io.c (xml_cellregion_read): Switch to C locale while
	parsing.  Fixes #337215.

	* src/parser.y (array_exp): Handle explicit "+" sign.

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

	* */*.c: Get rid of VALUE_INTEGER.  It was a nice idea, but
	getting the semantics right meant doing everything twice, in code
	as well as at runtime.  Note, that the magic enum value (30) is
	still understood by value_new_from_string so we can still read old
	xml files.

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

	* src/mathfunc.c (gcd): Remove.
	* src/sheet-view.c (sv_get_control): Remove.
	* src/stf-parse.c (stf_parse_options_remove_line_terminator): Remove.
	* src/value.c (value_new_error_RECALC, value_array_resize): Remove.

	* src/workbook-view.c (wb_view_sheet_remove): Remove.
	* src/ranges.c (range_adjacent, range_merge, range_is_infinite,
	gnm_sheet_range_dup): Remove.
	* src/sheet-control-gui.c (scg_toplevel): Remove.

	* src/print-info.c (hf_formats_base_num): Make static.
	* src/number-match.c (datetime_locale): Make static.

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

	* */*.c: Use VALUE_IS_STRING, VALUE_IS_ERROR, VALUE_IS_BOOLEAN,
	and VALUE_IS_EMPTY when appropriate.

	* */*.c: Reduce the use of VALUE_INTEGER.
	* parser.y: Fix parser crash for ={-#N/A}.

	* src/expr.c (negate_value): Simplify.
	(bin_arith): Simplify and handler overflow better.

	* src/cell.c (cell_is_zero): Simplify.

	* src/gui-util.c (entry_to_int): Accept floating point values as
	long as they hold integers of the right magnitude.

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

	* src/expr.c (gnm_expr_top_get_array_corner,
	gnm_expr_top_is_array_elem): New functions.

2006-03-29  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* src/libgnumeric.c (gnm_common_init, gnm_shutdown),
	src/number-match-test.c (main): Dropped calls to format_match_init and
	format_match_finish.

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

	* src/number-match.c (format_match_finish, format_match_init):
	Remove.

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

	* src/sheet-autofill.c (sheet_autofill_dir): Reimplement sanely.
	(autofill_shutdown): New function.

	* src/libgnumeric.c (gnm_shutdown): Hook up autofill_shutdown.

	* src/number-match.c (datetime_locale_setup): Use
	go_date_month_name.

	* src/sheet.c (cb_cell_is_array): Redo in terms of cell_is_array.
	(cb_sheet_cell_copy): Simplify using cell_is_array_corner.

2006-03-28  Eduardo Lima <eduardo.lima@indt.org.br>

	* src/gui-file.c (gui_wb_view_show) : Fixed compile error if defined
	USE_HILDON. Added some comments.
	* src/wbgc-actions.c (cb_file_new) : Fixed compile error if defined
	USE_HILDON. Added some comments. Code cleanup.

2006-03-27  Jody Goldberg <jody@gnome.org>

	* src/value-sheet.c (value_area_get_x_y) : document that this does a
	  cell_eval for range constants.

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

	* src/expr.c (gnm_expr_top_new_array_corner,
	gnm_expr_top_new_array_elem): New function.
	(gnm_expr_new_array_corner, gnm_expr_new_array_elem): Make static.
	All callers changed to _top_ versions.

2006-03-24  Jody Goldberg <jody@gnome.org>

	* src/wbcg-actions.c (cb_auto_filter) : adding an autofilter dirties
	  the workbook.

	* src/gui-util.c
	* src/sheet-object-widget.c
	* src/workbook-control-gui.c
	* src/dialogs/dialog-autoformat.c
	* src/dialogs/dialog-stf-preview.c : use g_object_ref_sink if it is
	  available.

	* src/gnm-so-polygon.c (gnm_so_polygon_set_property) : minor safety
	  check.

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

	* src/gnm-datetime.c (datetime_value_to_g): Check validity of
	date.

2006-03-22  Jody Goldberg <jody@gnome.org>

	* src/graph.c (gnm_go_data_vector_get_value) : handle blanks without
	  an error.

2006-03-16  Jody Goldberg <jody@gnome.org>

	* Makefile.am : Drop the .server, .keys, and .mime files as obsolete.

2006-03-14  Jody Goldberg <jody@gnome.org>

	* src/sheet.c (sheet_dup) : dup the properties too.

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

	* src/validation.c (validation_eval): Clean this up.  Handle
	errors, strings and booleans better.

	* src/sheet-filter.c (filter_expr_eval): Fix last fix.

	* src/validation.c (cb_validate_custom): Use value_compare, not
	value_equal.  Fixes #114086 and makes string match caseless too.

	* src/workbook-control-gui.c (edit_area_button): Set tooltips
	here.
	(wbcg_create_edit_area): Make the line that contains the edit area
	a gtktoolbar so it themes like one.

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

	* src/parse-util.c (wb_rel_uri): New function to produce relative
	URIs for inter-workbook references.

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

	* src/value.c (value_diff): Merge integer and floating-point cases
	thus fixing an overflow.

2006-03-18  Jody Goldberg <jody@gnome.org>

	* src/graph.c (gnm_go_data_vector_get_value) : init valid to false
	  in case value_coerce_to_number fails and does not set it.

	* src/gnumeric-pane.c (cb_sheet_object_view_destroyed) : handle life
	  cycle change.

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

	* src/gnumeric-pane.c (cb_sheet_object_view_destroyed): Fix crash
	exposed by foocanvas fixes.  [#335052]

	* src/mathfunc.c (combin, permut): Changed parameter types to
	gnm_float.

	* src/parse-util.c (wbref_parse): Take reference wb in case a URI
	is relative.  All callers changed.

	* src/application.c (cb_workbook_uri): Renamed from
	cb_workbook_name.
	(gnm_app_workbook_get_by_uri): Renamed from
	gnm_app_workbook_get_by_name.
	(gnm_app_workbook_get_by_name): New function that tries URI,
	absolute filename, and relative URI.

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

	* src/application.c (gnm_app_workbook_get_by_index,
	gnm_app_workbook_get_by_name): s/close/closure/.  (The former is
	reserved by libc.)
	(cb_workbook_index): Actually set a result.

	* src/item-edit.c (item_edit_dispose): Rename from
	item_edit_finalize and hook up as such.  Otherwise it may not get
	run.
	* src/item-bar.c (item_bar_dispose): Ditto.

	* src/preview-grid.c (preview_grid_dispose): Rename from
	preview_grid_destroy and hook up as such.

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

	* src/style-border.h (STYLE_BORDER_LOCATION_TO_STYLE_ELEMENT): New
	translation macro that produces a value of the right type.

	* src/wbc-gtk.c (cb_border_activated): Use STYLE_BORDER_LEFT, not
	MSTYLE_BORDER_LEFT, for argument to style_border_get_orientation!
	Ditto for _RIGHT.

	* src/cell.c (cell_copy): Silence a "sparse" warning.

	* src/wbcg-actions.c (wbcg_set_selection_valign): Compare valign
	with the result of gnm_style_get_align_v, not
	gnm_style_get_align_h.

	* src/cell.h (cell_eval): Fix "sparse" warning and add "do { }
	while(0)" wrapper.

	* src/auto-format.c (do_af_suggest): Don't compare value types
	against GNM_EXPR_OP_ARRAY_CORNER and GNM_EXPR_OP_ARRAY_ELEM.

	* src/gnm-style-impl.h (GnmStyle): The v_align is not of type
	GnmHAlign. Really.

	* src/xml-sax-read.c (xml_sax_object_start): Use NULL, not FALSE.
	* src/xml-io.c (xml_read_sheet_object): Ditto.
	* src/expr.c (gnm_expr_top_is_err): Ditto.

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

	* src/collect.c (float_range_function2): When things are being
	stripped away, adjust the number of data pairs.  Fixes #334591.

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

	* src/expr.c (gnm_expr_rewrite): Use gnm_expr_new_funcallv and
	gnm_expr_new_setv.
	(gnm_expr_new_funcallv, gnm_expr_new_setv): New functions.
	(gnm_expr_free): Renamed from gnm_expr_unref.  Always to deep
	free.  All callers changed.
	(gnm_expr_copy): Deep copy.

	* src/clipboard.c (paste_cell_with_operation): Build a regular
	expressions.  No hacks.

	* src/collect.c (collect_floats): When collecting info, walk over
	blanks too.

	* src/expr.c (gnm_expr_top_unwrap): Remove.  All callers changed.

	* src/preview-grid.c (preview_grid_destroy): Renamed from
	preview_grid_finalize and hooked up as destroy handler.  This
	breaks ref cycles and thus plugs leaks.

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

	* src/xml-io.c (xml_sheet_read): Handle "protected" attribute.
	* src/xml-sax-read.c (xml_sax_sheet_start): Ditto.
	* src/xml-sax-write.c (xml_write_sheet): Ditto.
	Patch from Klokan Petr Pridal.  [#334257]

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

	* src/xml-sax-write.c (xml_write_cell_and_position): Wow.  Botched
	every single expression and every single value.

2006-03-10  Jody Goldberg <jody@gnome.org>

	* src/workbook-view.c (wb_view_sendto) : minor warning suppression.

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

	* src/expr.h (GnmExprTop): New type for top-level expressions.
	* src/clipboard.h (GnmCellCopy): Use a top-level expression here.
	Rename it to "texpr" to make sure we catch all users.  All users
	changed.
	* src/dependent.h (GnmDependent): Ditto.
	* src/expr-name.h (GnmNamedExpr): Ditto.
	* src/style-conditions.h (GnmStyleCond): Ditto.
	* src/validation.h (GnmValidation): Ditto.

	* src/expr.c (gnm_expr_top_new, gnm_expr_top_new_constant,
	gnm_expr_top_ref, gnm_expr_top_unref, gnm_expr_top_unwrap,
	gnm_expr_top_is_shared, gnm_expr_top_is_err,
	gnm_expr_top_is_rangeref, gnm_expr_top_get_constant,
	gnm_expr_top_contains_subtotal, gnm_expr_top_referenced_sheets,
	gnm_expr_top_first_funcall, gnm_expr_top_get_boundingbox,
	gnm_expr_top_rewrite, gnm_expr_top_get_ranges, gnm_expr_top_equal,
	gnm_expr_top_as_string, gnm_expr_top_as_gstring,
	gnm_expr_top_eval, gnm_expr_top_get_ranges): New functions.  Many
	non-top versions made static.
	(gnm_expr_copy): New function replacing gnm_expr_ref.  (Still
	simply refs, but not for long.)

	*/*.c: Massive changes adapting to the above.

	* src/rendered-value.c (rendered_value_recontext): Make sure
	wrap_text is only cleared when we clear the layout's width.
	Fixes #334144.

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

	* src/sheet-filter.c (filter_expr_eval): Take GnmCell instead of
	its value for target.  Use formatted value in !src case.
	(filter_expr_init): String EQ and NE should not coerce to number.
	(collect_unique_elements): Limit menu text length.  Change hash
	key to formatted value instead of value.  Store formatted value,
	not GnmValue, in model.
	All this fixes #333809.

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

	* src/collect.c (callback_function_collect): Rename COLLECT_DATES
	flags to COLLECT_COERCE_STRINGS and make it make all kinds of
	strings.  All callers changed.

	* configure.in (ALL_LINGUAS): Undo last change -- it breaks the
	build.  "id" can go back when there is a po-functions translation
	too.
	(CFLAGS): Drop -Wmissing-format-attribute.

2006-03-06  Ahmad Riza H Nst  <rizahnst@eriagempita.co.id>

	* po/id.po: Added Indonesian translation, done by Imam Musthaqim <imam@infoflow.co.id>
	* configure.in: Added "id" (Indonesian) to the ALL_LINGUAS line.

2006-03-03  Eduardo Lima  <eduardo.lima@indt.org.br>

	* src/dialogs/dialog-doc-metadata.c: Code reformulation.
	* src/dialogs/doc-meta-data.glade: Adjusted some properties.
	* src/dialogs/help.h: defined GNUMERIC_HELP_LINK_METADATA.

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

	* src/workbook-control-gui.c (wbcg_sheet_focus): Update menu
	feedback here for the case where a pristine workbook is replaced.

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

	* src/print-cell.c (print_cell): Fix zoom issue #332932.

2006-02-27  Morten Welinder  <terra@gnome.org>

	* src/expr.c (do_gnm_expr_unref): Plug leaks.

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

	* src/workbook-control-gui.c (wbcg_create): Attach to notify::uri
	and notify::dirty in order to control window title.

	* src/workbook-control.c (wb_control_update_title): Remove.

	* src/workbook-control-priv.h (WorkbookControl): Remove
	"set_title" member.

	* src/commands.c (GnmCommand): Add "workbook_modified_before_do"
	member.
	(command_undo): If !workbook_modified_before_do, mark the workbook
	not modified after undo.
	(command_push_undo, command_redo): Setup
	workbook_modified_before_do.

	* src/workbook-priv.h: Add "pristine" member.

	* src/sheet.h (Sheet): Remove "modified" and "pristine" members.

	* src/sheet.c (sheet_mark_dirty): Renamed from sheet_set_dirty.
	Always mark dirty, so kill last argument.  All callers changed.

	* src/workbook.c (workbook_get_property, workbook_set_property):
	New functions.
	(workbook_class_init): Install workbook_get_property and
	workbook_set_property.  Install new properties "uri" and "dirty".
	Remove FILENAME_CHANGED signal and fix callers to use notify::uri.
	(workbook_sheet_add): Drop dirty argument.  Adding a sheet always
	dirties the workbook.  All callers changed.
	(workbook_mark_not_modified): New function.
	(workbook_set_dirty, workbook_is_dirty): Maintain a simply
	"modified" flag.
	(workbook_is_pristine): Maintain a simple workbook-level
	"pristine" flag.
	(workbook_set_placeholder, workbook_is_placeholder): Remove.
	(workbook_new_with_sheets): After adding sheets, mark workbook not
	modified and pristine.
	(workbook_sheet_attach_at_pos): Mark workbook dirty.
	(workbook_sheet_delete): Except during workbook destruction, mark
	workbook dirty.

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

	* src/workbook-control-gui.c (wbcg_sheet_remove): Simplify.
	(wbcg_get_scg): Rename from wbcg_sheet_to_page_index and changed
	to return the scg only.  Make static.  All callers changed.

	* src/workbook.c (workbook_sheet_remove_controls): Renamed from
	workbook_sheet_hide_controls.
	(cb_sheet_visibility_change): Remove.  The workbook doesn't care
	about sheet visibility.

	* src/workbook-control-gui.c (wbcg_sheet_add): Set
	SHEET_CONTROL_GUI here.  Do everything here for invisible sheets
	too, but hide the table widget.  Attach signals for visibility
	[new] and sheet tabs here, not in wbcg_sheet_focus.
	(disconnect_sheet_signals): Take an extra argument to control
	whether to clear all signals or just those for the active sheet.
	All callers changed.
	(cb_sheet_label_button_press): Use the scg for data and simplify.
	(wbcg_sheet_remove_all): Disconnect signals for all sheets.  Use
	gtk_widget_destroy to get rid of the page.
	(wbcg_page_index_to_sheet): Remove.  Expand left-over bits to
	callers.
	(wbcg_sheet_to_page_index): Simplify now that sheets are 1-1 with
	tabs.

	* src/sheet-control-gui.c (sheet_control_gui_new): Don't set
	SHEET_CONTROL_KEY here.

	* src/workbook-control-gui.c (SHEET_CONTROL_KEY): Move to here.
	* src/sheet-control-gui.h (SHEET_CONTROL_KEY): From here.

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

	* src/workbook-edit.c (wbcg_edit_start): Go to the end of the
	text.  Fixes #319311.

	* src/workbook-control-gui.c (edit_area_button): Use tool buttons,
	not plain buttons.  Fixes #331916.

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

	* src/expr.c (gnm_expr_new_set): Don't unref the args, just free
	the list.

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

	* src/func.h (GnmFuncNodes) Switch to argc/argv mode.  All, and I
	mean all, users changed.

	* src/collect.c (float_range_function, string_range_function):
	Switch to argc/argv mode.  All callers changed.
	* src/func.c (function_iterate_argument_values): Ditto.

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

	* src/expr.c (gnm_expr_new_funcall1, gnm_expr_new_funcall2,
	gnm_expr_new_funcall3): New functions.

	* src/parser.y (build_logical): Use gnm_expr_new_funcall2.
	(build_not): Use gnm_expr_new_funcall1.

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

	* src/expr-impl.h (GnmExprFunction, GnmExprSet): Replace
	expression list by argc/argv members.  All users fixed.

	* src/func.c (function_call_with_exprs): Renamed from
	function_call_with_list and changed to argc/argv input.  All
	callers changed.

	* src/auto-format.c (do_af_suggest_list): Changed to argc/argv
	input.  All callers changed.

	* src/expr.c (gnm_expr_list_equal, gnm_expr_list_eq): Remove.

	* src/mstyle.c (gnm_style_dump): Dump non-localized format.

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

	* src/wbc-gtk.c (toolbar_context_menu): Add an entry to hide the
	toolbar.

	* src/gnumeric-gconf.c (gnm_gconf_get_toolbar_position,
	gnm_gconf_set_toolbar_position): New functions.

	* src/wbc-gtk.c (cb_add_menus_toolbars): Load initial toolbar
	positions from gconf.
	(set_toolbar_position): Store toolbar positions in gconf.

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

	* src/wbc-gtk.c (wbc_gtk_init): Initialize three toolbar zones.
	(cb_add_menus_toolbars): Attach context menus to the toolbars and
	their handlebox.
	(set_toolbar_position, cb_set_toolbar_position,
	toolbar_context_menu, cb_toolbar_button_press,
	cb_handlebox_button_press): New functions implementing the toolbar
	context menu.
	(create_undo_redo): Create actions for vertical mode too.
	(toolbar_context_menu): Present a different menu when detached.

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

	* src/wbc-gtk.c (wbc_gtk_init_font_name): Set a stock id to avoid
	critical on very narrow windows.
	(wbc_gtk_init_font_size): Ditto, but throw in a label also.

2006-02-15  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (wbc_gtk_init): Update undo/redo labels here
	before checking for duplicate keys.  This avoid #324692.

	* src/ssconvert.c (main): Don't compare argv with 3.  Really.

	* src/workbook-edit.c (wbcg_edit_start): Don't compare gboolean
	and pointers.

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

	* src/number-match.c (format_match_time): Handle hhmmss.sss,
	hhmmss, hhmm, mmss, and mmss.ss.  (All with no separators.)
	(handle_year): Map missing year to current year.
	(format_match_datetime): Handle yearless dates.  Handle
	20041224:121213.

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

	* src/number-match.c (format_match_datetime): Loosen the separator
	requirements when alphabetic month is being used.  Fixes #56168.

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

	* src/number-match.c (format_match_simple): Don't bother parsing
	as int first.
	(format_match): Redo.  No longer uses canned formats.

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

	* src/mathfunc.c (random_binomial): Make trial argument a
	gnm_float for increased range.
	(random_negbinom, random_hypergeometric): Similarly.

2006-02-05  Morten Welinder  <terra@gnome.org>

	* src/ssconvert.c (main): Convert to GOption.
	* src/ssindex.c (main): Convert to GOption.

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

	* src/gutils.c (gutils_init): Solver messages have no business
	here.
	* src/solver.h (SOLVER_MAX_TIME_ERR): Define here.

	* src/main-application.c (gnumeric_arg_parse): Plug leak.

2006-02-03  Eduardo Lima  <eduardo.lima@indt.org.br>

	* src/main-application.c (gnumeric_arg_parse): Call gnome_vfs_init()
	if defined USE_HILDON.
	(main): Call osso_initialize() and osso_deinitialize()
	* src/wbcg-actions.c (actions):
	Inserted macros for "ViewFullScreen", "ViewZoomIn" and "ViewZoomOut"
	accelerators.
	* src/HILDON_Gnumeric-gtk.xml.in: Removed File->Print.
	Removed View->Zoom.
	Inserted View->Zoom In.
	Inserted View->Zoom Out.

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

	* src/main-application.c (gnumeric_arg_parse): Switch to GOption
	infrastructure.

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

	* src/parse-util.c (std_sheet_name_quote, std_name_parser): New
	functions.
	(gnm_expr_conventions_new): Hook these up.

	* src/parser.y (yylex): Use convs->name_parser.

	* src/parse-util.h (GnmExprConventions): Replace
	unquoted_ascii_name_chars member by sheet_name_quote and
	name_parser members.
	(gnm_expr_conv_is_unquoted_char): Remove.

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

	* src/parse-util.c (sheetref_parse): Underscore is a letter for
	this purpose.

2006-01-27  Andreas J. Guelzow <aguelzow@taliesin.ca>

	http://bugzilla.gnome.org/show_bug.cgi?id=327278
	* src/gnumeric-gconf-priv.h (GNM_CONF_SORT_DEFAULT_HAS_HEADER): new
	* src/gnumeric-gconf.c (gnm_gconf_set_sort_has_header): new
	(gnm_conf_init_extras): initialize prefs.sort_default_has_header
	* src/gnumeric-gconf.h (gnm_gconf_set_sort_has_header): new
	(GnmAppPrefs): add sort_default_has_header field
	* src/wbcg-actions.c (sort_by_rows): skip header if the preferences
	  indicate that
	* schemas/gnumeric-general.schemas.in: add sort/default/has-header
	  schema

2006-01-24  Morten Welinder  <terra@gnome.org>

	* src/item-cursor.c (item_cursor_draw): Revert previous change.
	It breaks my system by making the dragging-the-little-square
	operation blind.

2006-01-24  Morten Welinder  <terra@gnome.org>

	* src/gnm-datetime.c (datetime_value_to_seconds): Kill.

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

	* src/expr.c (expr_init): Create two pools: one for small and one
	for large nodes.

	* src/expr-impl.h (GnmExpr): Merge oper and ref_count fields into
	one oper_and_refcount field.  Define accessors GNM_EXPR_GET_OPER
	and GNM_EXPR_GET_REFCOUNT.  All users changed.

2006-01-22  Jody Goldberg <jody@gnome.org>

	* src/expr-impl.h : arrays cannot be larger than 2^32 even on 64 bit
	  architectures.

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

	* src/parse-util.h (struct _GnmExprConventions): Replace
	ignore_spaces by new intersection_char member.  All users fixed.

	* src/parser.y (yylex): Handle RANGE_INTERSECTION as symbolic
	token by translating space or whatever to that.

	* src/parse-util.c (gnm_expr_conventions_new): Default
	intersection char is space.

	* src/expr.c (do_expr_as_string): Append the right intersection
	operator.

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

	* gnumeric.desktop.in (Categories): Add Math, Science, GNOME, GTK.

2006-01-21  Jody Goldberg <jody@gnome.org>

	* src/auto-format.c (do_af_suggest) : handle new GNM_EXPR_OP_ARRAY
	  mechanisms.
	* src/clipboard.c (cb_clipboard_prepend_cell) : ditto.
	* src/cmd-edit.c (sv_select_cur_array) : ditto.
	* src/dependent.c (link_expr_dep) : ditto.
	(unlink_expr_dep) : ditto.
	* src/expr-name.c (expr_name_check_for_loop) : ditto.
	* src/expr.c (gnm_expr_new_array_corner) : new,
	(gnm_expr_new_array_elem) : new.
	(gnm_expr_new_array) : delete.
	(do_gnm_expr_unref) : handle new mechanism.
	(gnm_expr_eval) : ditto.
	(gnm_expr_equal) : ditto.
	(do_expr_as_string) : ditto.
	(gnm_expr_rewrite) : ditto.
	(gnm_expr_first_func) : ditto.
	(do_referenced_sheets) : ditto.
	(gnm_expr_containts_subtotal) : ditto.
	(gnm_expr_get_boundingbox) : ditto.
	(gnm_expr_is_rangeref) : ditto.
	(ets_hash) : ditto.
	(expr_tree_sharer_share) : ditto.
	(gnm_expr_is_array) : delete.
	(array_elem_get_corner) : new.

	* src/cell.c (cell_is_array) : ditto.
	(cell_array_bound) : new.
	(cell_is_array_corner) : new.
	(cell_is_nonsingleton_array) : renamed from cell_is_partial_array.
	(cell_has_comment) : delete.

	* src/sheet.c (sheet_get_comment) : renamed from cell_has_comment_pos

2006-01-21  Jody Goldberg <jody@gnome.org>

	* configure.in : adjust to new goffice versioning

2006-01-19  Ivan, Wong Yat Cheung  <ivanwong@gnome.org>

	* src/Makefile.am: Build as non-console Win32 application by default.

	* src/main-application.c (main): Attach to an existing console (only
	if there is one)

	* src/item-cursor.c (item_cursor_draw): Use GDK_XOR which is more
	common than GDK_EQUIV for drawing item cursor. Fixes #314210.

2006-01-13  Morten Welinder  <terra@gnome.org>

	* src/stf-parse.c (stf_parse_general): Drop maxline argument.  All
	callers changed.

	* src/commands.c (cmd_text_to_columns): Plug leaks.

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

	* src/commands.c (cmd_search_replace_update_after_action): Add wbc
	argument and pass it on to update_after_action.  All callers
	changed.
	(cmd_search_replace_do): Add wbc argument and pass it on to
	cmd_search_replace_update_after_action.  All callers changed.

2006-01-02  Stepan Kasal  <kasal@ucw.cz>

	* schemas/gnumeric-dialogs.schemas.in (unfocused): Fix a typo
	  in the description.

2005-12-28  Jody Goldberg <jody@gnome.org>

	* src/workbook.c : Move to GsfDocMetaData

	* src/commands.c (cmd_change_meta_data*) : re-work for new metadata
	  structure.

	* src/Makefile.am : remove the defunct summary.[ch]

	* src/GNOME_Gnumeric-gtk.xml.in : enable the new dialog in place of
	  the old one.
	* src/wbcg-actions.c : ditto.

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

	* src/workbook.c (workbook_cells): Remove the variables orphaned by
	the previous Stepan's change.

2005-12-22  Stepan Kasal  <kasal@ucw.cz>

	* src/sheet-filter.c (cell_value_cmp): Fix "const" warning.

	* src/workbook.c (workbook_cells): Use WORKBOOK_FOREACH_SHEET, not
	workbook_sheets.

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

	* src/func.c (function_call_with_list): Eliminate 'B'.  It was
	identical to 'E'.
	(function_def_get_arg_type_string): Ditto.

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

	* src/parser.y (build_set): Make this function unregister argument
	on success like all the other build_* functions.  Fix caller to
	not leak in error case.  Fixes #301127.

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

	* src/xml-io.c (xml_read_scenarios): Plug leak.

	* src/xml-sax-write.c (xml_write_scenarios): Add missing
	gsf_xml_out_end_element corrupting files.

2005-12-12  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* src/sheet-object-graph.c (sog_gsf_gdk_pixbuf_save): removed.
	(gnm_sog_write_image): use gog_graph_export_image API.
	(sog_cb_save_as): use gog_graph_get_supported_image_formats API.
	Format is an enum now.
	* src/sheet-object-image.c (soi_get_image_fmt): removed. It's in
	goffice now.
	(soi_free_image_fmt): removed.
	(gnm_soi_write_image): use go_image_get_formats_with_pixbuf_saver API.

2005-12-12  Morten Welinder  <terra@gnome.org>

	* src/xml-io.c (xml_node_get_value): Add protections against file
	corruption.  Fixes crash from #323888.

2005-12-11  Jon K Hellan  <hellan@acm.org>

	* src/gui-clipboard.[ch] (x_store_clipboard_if_needed): New
	function. Hand clipboard off to clipboard manager if this is the
	last remaining wbcg.

	* src/gui-clipboard.c (table_cellregion_write): Replace wbc
	parameter with a command context.
	(image_write, graph_write): Remove sheet parameter.
	(x_clipboard_get_cb): We're no longer passed a wbcg. Instead,
	create a temporary command context. Test output from
	gnm_cellregion_to_xml before using. Use workbook_date_conv from
	workbook of clipboard's origin_sheet.
	(x_clipboard_clear_cb): Simplify.
	(x_claim_clipboard): Register x_clipboard_clear_cb only for
	CLIPBOARD, not for PRIMARY. Call gtk_clipboard_set_can_store,
	indicating that we can hand clipboard off to clipboard manager
	when exiting.

	* src/workbook-control-gui.c (wbcg_finalize): Call
	x_store_clipboard_if_needed.

2005-12-09  Morten Welinder  <terra@gnome.org>

	* templates/english/loan.gnumeric: Replace BOLT.  (Boring Old Loan
	Template.)  Supplied by Philo Vivero.  #317201.

2005-12-08  Jody Goldberg <jody@gnome.org>

	* src/parse-util.c (gnm_expr_conventions_new) : assign a std set of
	  ascii characters that do not require quoting.
	(gnm_expr_conv_quote) : renamed from

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

	* src/func.c (function_def_get_arg_type_string): Note, that 'B'
	accepts errors too.
	(function_call_with_list): Fix last fix.

	* src/parse-util.c (sheetref_parse): Handle sheet names starting
	with digits.

	* src/sheet.c (sheet_name_quote): Simplify and handle non-initial
	dot.

2005-11-30  Morten Welinder  <terra@gnome.org>

	* src/func.c (function_call_with_list): Fix handling of strings
	for 'b' argument types.  We only want TRUE/FALSE, not dates and
	numbers in strings.

	* src/commands.c (cmd_set_text): Plug leak.

	* src/value.c (value_new_from_string): Factor out boolean parsing
	into value_parse_boolean.
	(value_get_as_bool): Use value_parse_boolean.  This changes
	semantics so that only "TRUE" and "FALSE" (ignoring case) are valid
	values.

2005-12-01 Eduardo Lima <eduardo.lima@indt.org.br>

	* wbcg-actions.c (cb_view_zoom_in): Changed name to cb_view_zoom_out.
	(cb_view_zoom_out): Changed name to cb_view_zoom_in.

2005-11-30 Eduardo Lima <eduardo.lima@indt.org.br>

	* src/workbook-control-gui.c (wbcg_finalize:1665): Fixed compile
	error in Maemo Platform.

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

	* src/sheet-filter.c (cb_collect_unique): Map value to cells.
	(cb_hash_range): Renamed from cb_copy_hash_to_array.  Changed to
	collect values (i.e., cells) , not keys (i.e., values).
	(collect_unique_elements): Format values for display.  Fixes
	#322392.

2005-11-18  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* src/gnumeric-pane.c (cb_control_point_event): begin drag mode even
	for created object.

2005-11-18  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* src/sheet-object-graph.c (gnm_sog_write_image): don't use pixbuf
	directly, but use helpers function from goffice/graph/gog-renderer.c,
	in order to ease testing of goffice cairo renderer.
	(sheet_object_graph_set_gog): ditto.

2005-11-15  Stepan Kasal  <kasal@ucw.cz>

	* README: Fix the goffice requirement.
	* src/application.c (gnm_app_workbook_list_add): Fix the comment.

2005-11-14  Jody Goldberg <jody@gnome.org>

	* configure.in : Post BRANCH bump
	  re-enable the disable_deprecated flags

2005-11-14  Jody Goldberg <jody@gnome.org>

	* Release 1.6.1