File: ChangeLog

package info (click to toggle)
lyx 1.1.6fix4-2
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 26,136 kB
  • ctags: 13,679
  • sloc: cpp: 93,591; sh: 9,563; ansic: 8,253; perl: 3,489; makefile: 1,332; tcl: 163; sed: 150; python: 112; yacc: 38
file content (14346 lines) | stat: -rw-r--r-- 479,849 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>

	* src/version.h: set version to 1.1.6fix4

2002-01-08  Jos Matos  <jamatos@fep.up.pt>

	* src/tabular.C (DocBook): makes colspec sgml conformant.

2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>

	* lib/doc/LaTeXConfig.lyx.in: add entry for cv class

2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>

	* NEWS: update for 1.1.6fix4.

	* lib/bind/fi_menus.bind: update from Pauli Virtanen.

2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>

	* src/CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language 
	when inserting error insets.
	* src/buffer.C (parseSingleLyXformat2Token): Ditto.

2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>

	* src/text2.C (TextHandleUndo): remove previous leak fix, as it
	may not be as safe as I thought.

2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>

	* src/FontLoader.C (getFontinfo): only use symbol fonts with encoding
	-adobe-fontspecific. At least Mandrake and Redhat have a symbol
	font in urw-fonts package which is marked as -urw-fontspecific and
	does not work (incidentally, changing the encoding in the
	fonts.dir of this package to -adobe-fontspecific fixes the
	problem).

	* src/text2.C (TextHandleUndo): fix memory leak where undo
	information was never released.

2001-11-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/examples/de_splash.lyx: update from Hartmut Haase.

2001-11-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/examples/Math_macros.lyx:
	* lib/examples/fr_Macros_Math.lyx: removed, since this information
	is in the UserGuide.

2001-11-29 Ben Stanley <bds02@uow.edu.au>

	* src/LaTeX.C
	* src/LaTeX.h Fixed bug in LaTeX class where it would not
	re-run latex if no depfiles were changed, but the .dvi was removed.

2001-11-28  John Levon  <moz@compsoc.man.ac.uk>

	* README: fix ghostscript comment

2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/CREDITS: add Ben Stanley

2001-11-27  Ben Stanley  <bds02@uow.edu.au>

	* src/tabular.C (Latex): correct line count when writing latex.

2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>

	* src/paragraph.C (SimpleTeXSpecialChars): Call to textrow.start
        after a multi-line inset.

2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>

	* src/buffer.C (parseSingleLyXformat2Token): Insert an error inset
	when encountering an unknown token.
	(readLyXformat2): Show an error message if there were unknown tokens.

2001-02-21  Dekel Tsur  <dekelts@tau.ac.il>

	* src/frontends/xforms/FormDocument.C (checkMarginValues):
 	Activate "use geometry" button if using custom paper size/margin.

2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>

	* lib/configure.m4: Add a check for dvipdfm

2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>

	* src/buffer.C:
	* src/tex-strings.C: Add support for ae fonts

2001-11-23  Panayotis "PAP" Papasotiriou  <papasot@physics.upatras.gr>

	* lib/templates/kluwer.lyx: 
	* lib/layouts/kluwer.layout: new textclass for journals edited by
	Kluwer.  

	* lib/doc/LaTeXConfig.lyx.in: update

2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/text2.C (RemoveRow): 
	* src/text.C (SetHeightOfRow): remove bogus call to GetRow.

2001-10-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/examples/it_splash.lyx: update from Claudio Coco

2001-10-22  Adrien Rebollo <adrien.rebollo@gmx.fr>

	* lib/kbd/iso8859-1.cdef: overhaul
	* lib/kbd/iso8859-3.cdef:
	* lib/kbd/iso8859-4.cdef:
	* lib/kbd/iso8859-15.cdef: new files
	* src/lyxrc.C (set_font_norm_type): recognizes latin3, 4 and 9
	* src/lyxrc.h: added ISO_8859_3, ISO_8859_4 and ISO_8859_15
	* src/paragraph.C (SimpleTeXSpecialChars): protects math-only
	characters in latin9 too
	* src/frontends/xforms/FormDocument.C (build): added latin3, latin4
	and latin9 options
	* src/insets/insetquotes.C (DispString): beautifying single and
	double quotes in latin1, 3, 4 and 9
    
2001-10-19  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C (SetFont): fixed problem of marking
	document "changed" when only changing the font of an empty
	paragraph.

2001-10-17  Kayvan A. Sylvan  <kayvan@sylvan.com>

	* development/lyx.spec.in: overhaul

2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/text2.C (fixCursorAfterDelete): new method. Fixes the parameters
	of a cursor (row, etc.) after a character has been deleted
	(DeleteEmptyParagraphMechanism): call the method above on _all_
	cursors held by the LyXText when a double space has been
	detected/deleted.

2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/languages: change default encoding for estonian to latin1

2001-10-01  Garst R. Reese  <reese@isn.net>

	* lib/tex/hollywood.cls:
	* lib/layouts/hollywood.layout:
	* lib/examples/script_form.lyx:
	* lib/templates/hollywood.lyx: updated hollywood class and support
	files. 

2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>

	* src/paragraph.C (asString): Do not ignore newline/hfill chars when
 	copying to the clipboard.

2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/CREDITS: add Michael Schmitt.

2001-09-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/layouts/heb-article.layout: fix labelfont of Proof layout

2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/insets/insetquotes.C (InsetQuotes): when trying to decide
	the side of the quote, choose `left' only after a space or '('

2001-09-11  Dekel Tsur  <dekelts@tau.ac.il>

	* src/buffer.C (SimpleLinuxDocOnePar): Remove extra character
	after an inset.

2001-09-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/examples/da_splash.lyx: new translation from Claus Hindsgaul

	* lib/layouts/cv.layout: add ObsoletedBy version of SubSection

2001-09-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/kbd/koi8-r.kmap: update from Vitaly Lipatov

	* src/tabular.C (l_getline): actually fix reading of tables in
	MS-DOS format

	* lib/layouts/entcs.layout: renamed from encts.layout (stupid typo!);
	restrict font size to `11pt'

	* lib/layouts/cv.layout: rename SubSection layout to Subsection

2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/mathed/formula.C (LocalDispatch): fix insertion of Upsilon

	* src/mathed/symbol_def.h (LM_Upsilon): change character for Upsilon

	* src/mathed/formula.C (LocalDispatch): fix insertion of \Upsilon

	* config/lyxinclude.m4 (LYX_CXX_GLOBAL_CSTD): the test only makes
	sense if we support namespaces (fixes gcc 2.8.1 compile problems)

2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/bufferlist.C (loadLyXFile): add .lyx to file name if
	necessary. 

2001-08-31  Juergen Vigna  <jug@sad.it>

	* src/lyx_gui.C (create_forms): fixed crash if banner-file was
	not found.

2001-07-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/version.h (LYX_VERSION): resetting version to 1.1.6cvs

2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/version.h (LYX_RELEASE): LyX 1.1.6fix3 released.

	* sigc++/Makefile.am (EXTRA_DIST): make sure BUILT_SOURCES is in
	the distribution

	* lib/examples/fr_splash.lyx: update from Afrien Rebollo

2001-07-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* NEWS: update for 1.1.6fix* series

2001-07-19  Dekel Tsur  <dekelts@tau.ac.il>

	* src/insets/figinset.C (RegisterFigure): Print debug message only when
	current_view is available.

2001-07-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* config/lyxinclude.m4 (LYX_PATH_XFORMS): do not warn against
	xforms 0.89.5

2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>

	* src/buffer.C (readLyXformat2): Add filename to the error dialog

	* lib/encodings: Change latex encoding 'unknown' to 'latin1'

2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>

	* src/buffer.C (parseSingleLyXformat2Token): Generate error insets
	for unknown layouts.

2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>

	* src/buffer.C (readLyXformat2): Generate an error dialog if there are
	unknown layouts.

2001-07-06  Dekel Tsur  <dekelts@tau.ac.il>

	* lib/layouts/IEEEtran.layout: Add qed box at the end of proof.

	* lib/templates/IEEEtran.lyx: Use footnote instead of ERT in the
	  author paragraph.

2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/kbsequence.C (getiso): handle latin[23489] characters.

	* INSTALL: 
	* config/lyxinclude.m4 (LYX_PATH_XFORMS): do not warn against
	xforms 0.89.6

2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>

	* LaTeX.C (scanLogFile): Parse rerun messages from latex packages.

2001-07-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/examples/hu_splash.lyx: new file from Lszl Zrubecz.

2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/paragraph.C (TeXFootnote): fix spacing in LaTeX output of
	footnotes 

2001-06-29  John Levon  <moz@compsoc.man.ac.uk>

	* INSTALL: change RedHat stuff to insist on updating gcc
 
2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/layouts/extletter.layout: 
	* lib/layouts/extreport.layout: 
	* lib/layouts/extbook.layout: 
	* lib/layouts/extarticle.layout: new files from Herbert Voss. 

	* lib/bind/menus.bind: fix M-s bindings to use LyX names for fonts and
	not GUI names.

	* lib/examples/nl_MathLabeling.lyx: 
	* lib/examples/nl_multicol.lyx: new translations from Tino meinen.

2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/insets/insettabular.C (getMaxWidth): do the speedup in a
	different way, remove dead code

	* src/tabular.C (GetCellInset): store the last cell checked (gotten)

	* src/tabular.h: new member cur_cell, used to cache cell values.

2001-06-24  The LyX Project  <jug@sad.it>

	* src/lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
	of compare_no_case

	* src/support/lstrings.C (compare_ascii_no_case): version of
	compare_no_case which only considers case of ascii characters

	* src/support/lyxstring.C (replace): a new version of replace(),
	to help with compatibility with <sstream> in gcc 2.95.3.

2001-06-24  The LyX Project  <Asger>

	* src/insets/insettabular.C (getMaxWidth): We cache a mapping from
	inset to cell in order to speed this method up.

2001-06-23  The LyX Project  <jug@sad.it>

	* lib/templates/dinbrief.lyx: remove obsolete \cursor statement

2001-06-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/tex/cv.cls:
	* lib/layouts/cv.layout:
	* lib/examples/cv.lyx: added class cv (version 1.5)

2001-06-18  Andre Poenitz <poenitz@HTWM.De>

	* src/mathed/math_parser.C (mathed_parse): fix bug in reading of
	array alignment parameters.

2001-05-30  Lars Gullik Bjnnes  <larsbj@birdstep.com>

	* acconfig.h: add entry for HAVE_DECL_ISTREAMBUF_ITERATOR.

2001-06-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/Makefile.am (dist-hook): get documentation from BRANCH_1_1_6
	in lyxdoc/.

2001-06-08  Yves Bastide  <stid@acm.org>

	* src/support/lyxstring.C: 
	* src/mathed/math_write.C:
	* src/mathed/math_hash.C:
	* src/support/syscontr.C:
	* src/support/syscall.C:
	* src/support/lstrings.C:
	* src/support/LSubstring.C:
	* src/mathed/math_symbols.C:
	* src/mathed/math_parser.C:
	* src/mathed/math_panel.C:
	* src/mathed/math_iter.C:
	* src/mathed/formula.C:
	* src/insets/insetgraphics.C:
	* src/frontends/xforms/FormPrint.C:
	* src/tabular.C:
	* src/tabular-old.C:
	* src/spellchecker.C:
	* src/lyxserver.C:
	* src/lyxfont.C:
	* src/lyx_gui_misc.C:
	* src/buffer.C:
	* src/FontInfo.C: added necessary using directives

	* src/mathed/array.h: include <cstring>, not <string.h>
	(LyxArrayBase::Init):
	(LyxArrayBase::Resize):
	(LyxArrayBase::LyxArrayBase):
	(LyxArrayBase::operator=):
	(LyxArrayBase::Move):
	(LyxArrayBase::Merge):
	(LyxArrayBase::MergeF):
	(LyxArrayBase::Copy): added necessary using directives
	
	* src/insets/figinset.C: added necessary using directives
	(runqueue): removed a spurious ::

	* src/font.h (lyxfont::width(char const * s, LyXFont const & f)):
	commented out

	* src/support/lstrings.h (compare): use CXX_GLOBAL_CSTD

2001-06-13  Juergen Vigna  <jug@sad.it>

	* src/tabular.C (ReadNew): fixed reading of files with trailing CR.

2001-06-12  Peter Suetterlin  <P.Suetterlin@astro.uu.nl>

	* lib/examples/aa_head.lyx:
	* lib/examples/aa_paper.lyx: removed

	* lib/doc/LaTeXConfig.lyx.in:
	* lib/examples/aa_sample.lyx:
	* lib/layouts/aa.layout:
	* lib/layouts/aapaper.inc:
	* lib/layouts/aapaper.layout:
	* lib/templates/aa.lyx: aa.layout is for the new version of the
	A&A document class, while aapaper.layout is for the older (and
	slightly incompatible) version.

2001-02-20  Lars Gullik Bjnnes  <larsbj@trylle.birdstep.com>

        * src/vc-backend.C (revert): implement for CVS
        (getLog): implement for CVS

2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/doc/LaTeXConfig.lyx.in: 
	* lib/layouts/encts.layout: new textclass, from Reuben Thomas

	* lib/CREDITS: add Zvezdan Petkovic and Reuben Thomas

2001-06-06  Juergen Vigna  <jug@sad.it>

	* src/paragraph.C (BreakParagraph): Setting of the inset_owner
	variable if this paragraph is inside an Inset, otherwise some
	operations may not work as expected after the break of the paragraph.

2001-05-30  Lars Gullik Bjnnes  <larsbj@birdstep.com>

	* configure.in:
	* src/support/lyxsum.C (sum): use istreambuf_iterator when
	available. 

2001-05-29  Lars Gullik Bjnnes  <larsbj@birdstep.com>

	* src/support/lyxsum.C (sum): don't use sstream anymore, use
	istream_iterator directly instead.

2001-05-23  Angus Leeming <a.leeming@ic.ac.uk>

	* src/frontends/xforms/FormInset.C (createInset): fixed bug
	in activating ButtonController.

2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* kbsequence.C (parse): de-uglify a bit the parsing code, which
	relied on 0 terminated strings and other horrors. 

	* src/lyx_main.C (defaultKeyBindings): add bindings for the
	cursor-related KP_ keys.

	* src/insets/insetexternal.C (Read): the reading of external
	insets now checks for \end_inset and removes it form the input
	stream.

	* src/lyx_main.C (defaultKeyBindings): change default binding of
	KP_Enter. 

	* lib/bind/xemacs.bind: add ~S to a binding using asciitilde

2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>

	* src/LaTeX.C (deplog): Make sure that the main .tex file is in the
	dependancy file

2001-05-23  Angus Leeming <a.leeming@ic.ac.uk>

	* src/frontends/xforms/FormCitation.C:
	* src/frontends/xforms/forms/form_citation.fd:
	tweaks to activate Ok,Apply buttons when text is entered.
	Removed natbib cruft as it's now in a branch and was deactivated
	anyway. 

2001-05-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/ui/default.ui: fix Insert>File>Ascii entries.

2001-05-22  Peter Suetterlin  <P.Suetterlin@astro.uu.nl>

	* lib/templates/aa.lyx: rename from aapaper.lyx

	* lib/layouts/aa.layout: rename from aapaper.layout

	* lib/examples/aa_head.lyx:
	* lib/examples/aa_head.lyx: update

2001-05-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/version.h (LYX_VERSION): revert to 1.1.6cvs

2001-05-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/version.h (LYX_RELEASE): LyX 1.1.6fix2 released

	* lib/languages: change GUI name of portugues and brazil.

2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/kbmap.C (findbinding): clean it up and finally get it to work
	correctly.

2001-05-15  Juergen Vigna  <jug@sad.it>

	* src/tabular.C (TeXCellPreamble): fixed the left border problem for
	multicolumn cells.

2001-05-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/LaTeXLog.C: add "using" directive

2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>

	* src/lyxrc.C: Add language_command_local, language_use_babel and
 	language_global_options.

	* src/lyxfont.C (latexWriteStartChanges): Use language_command_local.

	* src/buffer.C (makeLaTeXFile): Use language_use_babel and 
	language_global_options.

2001-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/examples/de_splash.lyx: update from Pit Suetterlin

	* lib/bind/fi_menus.bind: update from Pauli Virtanen

2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/LaTeX.C (deplog): correct the syntax of regex reg1

	* src/Lsstream.h: include LString.h before the sstream headers to
	fix problem with gcc 2.95.3 and lyxstring

2000-04-19  Allan Rae  <rae@lyx.org>

	* sigc++/: updated to libsigc++-1.0.3.  This should hopefully fix some
	compiler compatability problems.

	* development/tools/makeLyXsigc.sh: squeezed most local changes in
	sigc++/ into the script with the exception of the outlining of
	inline functions.  These have been lost until someone has the time
	or desire to do them.

2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/examples/eu_splash.lyx: update from Dooteo

	* src/insets/insetquotes.C (Latex): improve the guard against
	unwanted !` and ?` ligatures. This should really be done in
	another place (to catch all this ligatures at low-level).

2001-04-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/layouts/revtex4.layout: make sure the PACS, keywords and
	preprint come before \maketitle.

2001-04-17  Allan Rae  <rae@lyx.org>

	* src/frontends/xforms/FormRef.C: 
	* src/graphics/GraphicsCache.C: 
	* src/graphics/GraphicsCacheItem_pimpl.C: 
	* src/graphics/XPM_Renderer.C: 
	* src/insets/figinset.C:
	* src/insets/insettabular.C:
	* src/mathed/formula.C: 
	* src/mathed/math_parser.C: 
	* src/support/tempname.C:
	* src/lyxfunc.C:
	* src/spellchecker.C: #warning triggers an error on Sun CC 6.0 as
	an unrecognised preprocessor directive.  So ensure they're wrapped.
	Sun CC won't compile sigc++ though so this is only a partial
	workaround for problems with this compiler series.  If users install
	sigc++ as a package then they can compile with the system library and
	the rest of the source should work..

2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>

	* src/exporter.C (Export): Give an error message when path to file 
	contains spaces.

2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>

        * src/LaTeX.C (deplog): Always check that foundfile exists.

2001-04-03 Kayvan Sylvan <kayvan@sylvan.com>

	* development/lyx.spec.in: fix handling of reLyX with RPM
	relocation. 

2001-03-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/examples/fr_AlignementDecimal.lyx:
	* lib/examples/fr_Macros_Math.lyx:
	* lib/examples/fr_MultiColonnes.lyx: new files from Adrien Rebollo.

2001-03-26  Dekel Tsur  <dekelts@tau.ac.il>

	* src/insets/figinset.C (GetPSSizes): fix figure previewing when
	the suffix has been removed from the filename.

2001-03-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/Liason.C (printBuffer): do not forget file name
	when printing with empty print_spool_command.

2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>

	* src/frontends/xforms/FormCitation.C (apply): Do not put space
 	between multiple keys.

2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxfont.C (update): don't honor toggleall for font size.

2001-03-06  Chanop Silpa-Anan  <chanop@debian.org>

	* lib/encodings:
	* lib/languages: add preliminary Thai support

	* lib/kbd/tis620-0.cdef: dummy cdef file

2001-03-06  Zvezdan Petkovic  <zvezdan@cs.wm.edu>

	* lib/encodings: add support for iso8859-5 and cp1251.

	* lib/languages: add serbian and serbocroatian.

	* lib/kbd/serbian.kmap:
	* lib/kbd/serbocroatian.kmap: new files.

2001-03-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* config/lyxinclude.m4 (LYX_PROG_CXX): add support for gcc 3.0.

2001-03-05  Adrien Rebollo  <Adrien.Rebollo@wanadoo.fr>

	* lib/examples/fr_*: renamed french example files in french.

2001-03-02  John Levon  <moz@compsoc.man.ac.uk>

	* INSTALL:
	* configure.in:
	* lib/reLyX/configure.in:
	* config/lyxinclude.m4: --with-version-suffix

	* config/kde.m4: remove cruft

	* lib/Makefile.am:
	* lib/reLyX/Makefile.am: fix make uninstall

2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/templates/g-brief-de.lyx: fix typo.

	* src/support/filetools.C (CreateTmpDir): change umask to 0700.

2001-03-01  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C (SetFont): don't call Undo on a simple
	setfont without selection (as it is done in LyXText).

2001-02-11  Jos Matos  <jamatos@fep.up.pt>

	* buffer.C (makeDocBookFile): command styles now have a parameter as
	"title" by default. support for CDATA sections.

	* lib/layouts/db_lyxmacros.inc
	* lib/layouts/db_stdclass.inc
	* lib/layouts/db_stdlayouts.inc
	* lib/layouts/db_stdlists.inc
	* lib/layouts/db_stdsections.inc
	* lib/layouts/db_stdstarsections.inc
	* lib/layouts/db_stdstruct.inc
	* lib/layouts/db_stdtitle.inc: new files with modular support
	for docbook.

	* lib/layouts/docbook-chapter.layout
	* lib/layouts/docbook-section.layout: new files, useful for
	document inclusion.
	
	* lib/layouts/docbook.layout
	* lib/layouts/docbook-book.layout: updated to use the modular support.

2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>

	* src/text2.C (SetCurrentFont): Disable number property at boundary.

2001-02-23  Juergen Vigna  <jug@sad.it>

	* src/tabular.C (AppendColumn): fixed initialitation of column_struct.
	(AppendRow): fixed initialitation of row_struct.

2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>

	* src/insets/insettext.C (LocalDispatch): Restore the language
 	if the inset becomes empty.

	* src/text.C (PrepareToPrint): Fix for RTL text in tabulars.

	* src/paragraph.C (GetUChar): New method.
	(String):  Use GetUChar.

	* src/buffer.C (asciiParagraph): Use GetUChar.

2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>

	* LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
	all the citation/databases/styles in the auxilary file. 
	(run): Rerun latex if there was a babel language error.
	
2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>

	* src/text.C (GetVisibleRow): Fix selection drawing for RTL text
	in tables.

	* src/insets/insettext.C (moveRightIntern): Update the selection
 	cursor.
	(moveLeftIntern): Ditto.

2001-02-08  Dekel Tsur  <dekelts@tau.ac.il>
	
	* src/insets/insettext.C (LocalDispatch): Update selection cursor
 	when moving cursor to the right.
	(moveRightIntern): Call to CursorRight with 2 argument equal to false.
	(moveLeftIntern): Ditto.

2001-02-07  John Levon  <moz@compsoc.man.ac.uk>

	* LaTeXLog.C: fix reading of latex log file when
	  tmpdir option is off (slightly adapted by JMarc)

2001-02-08  John Levon  <moz@compsoc.man.ac.uk>

	* INSTALL: mention RH7.0 workaround with kde f.e.

2001-02-08  Jos Matos  <jamatos@fep.up.pt>

	* src/buffer.C (makeDocBookFile): honor the language of the
	document. 

2001-02-07  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* sigc++/configure.in (AC_ARG_ENABLE(threads)): disable threads by
	default.

2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>

	* src/lyxrc.C (read): Update converters data-structures.

2001-02-06  albert chin  <china@thewrittenword.com>

	* acconfig.h:
	* configure.in: check declarations of snprintf and vsnprintf.

	* src/support/snprintf.h: 
	* src/support/fmt.C: use HAVE_DECL_SNPRINTF
	
2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* INSTALL: update description of command line to use with compaq
	cxx. 

2001-02-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/Variables.C (set): renamed from isset(), because this clashes
	with some HP-UX macros (grr).

	* lib/kbd/thai-kedmanee.kmap: new Thai keymap, contributed by
	Chanop Silpa-Anan. 

2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>

	* src/mathed/math_symbols.C (math_insert_greek): Move cursor right
 	when unlocking the math inset.

2001-02-02  John Levon  <moz@compsoc.man.ac.uk>

	* lib/Makefile.am: fix permissions on configure and
	  configure.cmd (from Albert Chin)

	* lib/CREDITS: add Albert Chin

2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>

	* src/text.C (Backspace): Preserve the font when changing newline char
	with a space.
	(BreakParagraph): If the cursor is before a space, delete the space.

	* src/lyx_cb.C (QuitLyX): Do not save files when running with no gui.

2001-02-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/version.h (LYX_VERSION): reset version to 1.1.6cvs

2001-01-31  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* release 1.1.6fix1. 
	
	* src/version.h: set version to 1.1.6fix1
	
2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>

	* src/insets/insetbib.C (InsetBibKey): Better computation of
	default key.
	(getScreenLabel) Show both the key and the label.
	(getBibLabel): New method.
	(callback): Force a redraw if the inset have been changed.

	* src/paragraph.C (GetPositionOfInset): Handle bibkey.

2001-01-30  John Levon  <moz@compsoc.man.ac.uk>

	* INSTALL: mention build problem with older xforms

2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/examples/fr_MathLabeling.lyx: 
	* lib/examples/fr_Minipage.lyx: 
	* lib/examples/fr_TableExamples.lyx: new translations from Adrien
	Rebollo. 

2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>

	* src/converter.C (dvipdfm_options): New method.

2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>

	* src/mathed/math_parser.C (LexGetArg): Fix crash when loading
	corrupt files.

	* src/mathed/formula.C (LocalDispatch): Before inserting a label
	in an eqnarray, move the cursor to the top level.

	* src/mathed/math_iter.C (getLabel): Test if crow == 0.

2001-01-26  Volodymyr M . Lisivka  <lvm_ukr@yahoo.com>

	* lib/kbd/koi8-u.kmap: new file.

	* lib/encodings: add koi-8u encoding.

	* lib/languages: update ukrainian entry

2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/CREDITS: update Tino Meinen address.

2001-01-25  Dekel Tsur  <dekelts@tau.ac.il>

	* src/insets/insetbib.C (bibitemWidest): Use lyxfont::width instead of
 	par->bibkey->width. This fixes the crashes when running without
	gui or when having included documents.

2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/examples/fr_ItemizeBullets.lyx: new translation.

	* lib/examples/fr_splash.lyx: 
	* lib/examples/fr_exemple_lyxifie.lyx: 
	* lib/examples/fr_exemple_brut.lyx: updated.

	* lib/bind/cua.bind: change C-k from font-noun to
	line-delete-forward. 

	* INSTALL (Problems): update description of the "missing linux
	kernel sources" problem.

	* src/frontends/xforms/FormPreferences.C (GetFrom): fix crash when
	there is no format defined. 
	(GetTo): ditto.

2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>

	* src/support/lstrings.C (strip): Add a fix for compilers with broken
	string::find_last_not_of.

	* src/support/filetools.C (AddPath): Simplify by using strip and
 	frontStrip.

2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>

	* src/MenuBackend.C (expand): Fix the sorting of the formats.

2001-01-24  John Levon  <moz@compsoc.man.ac.uk>

	* configure.in: working support for --with-lyx-suffix

	* INSTALL: describe --with-lyx-suffix

	* lib/Makefile.am: make configure and configure.cmd installed
	  by hand, to avoid name changes when --with-lyx-suffix
	  is used.

	* lib/configure:
	* lib/configure.m4: support --with-lyx-suffix for the lyxrc.defaults
	  reLyX and noweb2lyx scripts

	* lib/reLyX/configure.in: support --with-lyx-suffix

	* src/lyx_main.C: tiny error message fix

2001-01-23  Angus Leeming  <a.leeming@ic.ac.uk>

	* FormPreferences.C (LoadBrowserLyX): convert unsigned short to
	unsigned char correctly and so fix 2 bugs loading/changing colors.

2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
	calling fl_initialize(). This fixes the problem with ',' as
	decimal separator in text files.

2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>

	* src/trans.C (process): Fix the keymap bug.

2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* config/lyxinclude.m4 (LYX_PROG_CXX): do not use -fno-rtti with
	gcc 2.95.3. 

	* src/texrow.C (increasePos): change to error messages into debug
	messages.

	* lib/images/banner.xpm: revert to the cucumberless banner.

2001-01-21  Dekel Tsur  <dekelts@tau.ac.il>

	* src/frontends/xforms/FormRef.C (update): Do not update
 	dialog_->{ref,name,type} if inset_ == 0.
	Deactivate the type button when buffer is LinuxDoc/Docbook
	(build): Uncomment calls to addReadOnly().
	(updateBrowser) Do not disable the update button when there are no 
	keys.
 	
2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>

	* lib/languages: Add extra_options field. It is used to fix the ~n
 	problem with Spanish.

	* src/language.C (latex_options_): New field.

	* src/LaTeXFeatures.C (getMacros): Add language macros.

	* src/buffer.C (makeLaTeXFile): Small fix.

2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT

2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>

	* src/frontends/xforms/FormRef.C (input): Fix the behavior of goto 
	reference button.

	* src/text.C (IsBoundary): Remove the error message

	* src/WorkArea.C (work_area_handler): Decrease keyboard purge 
	threshold.

	* src/lyxrc.C (setDefaults): Correct initialization value for
 	font_norm_type.

2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>

	* src/paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
	alignment commands (when needed).

	* src/text.C (InsertChar): Add ':' to number separator chars.
	Use contains instead of strchr.

	* src/mathed/math_draw.C (Metrics): Use the correct GetString.

2001-01-11  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* release 1.1.6. tagged as lyx-1_1_6 in CVS (in branch
	BRANCH_1_1_6)
	
	* src/version.h: set version to 1.1.6

	* config/lyxinclude.m4 (LYX_USE_FRONTEND): mark as experimental 

2001-01-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/buffer.C (getTocList): make the method const, so that
	InsetTOC::Ascii compiles.

	* src/insets/insettoc.C (Ascii): return 0

2001-01-11  Dekel Tsur  <dekelts@tau.ac.il>

	* src/insets/insettoc.C (Ascii): New method.

	* src/lyx_main.C (init) Set first_start to false when running
	without a GUI.

2000-12-19  Dekel Tsur  <dekelts@tau.ac.il>

	* src/paragraph.C (TeXOnePar,SimpleTeXOnePar) Fix problem with
	aligned paragraphs.

2001-01-11  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/buffer.C (writeFile): add missing ' ' after lyxformat.

	* src/buffer.h: change format to int, and change name to file_format

	* src/buffer.C: change LYX_FORMAT to int, and bump version number
	to 218.
	(readLyXformat2): handle it
	handle it
	(readFile): handle it
	(writeFile): handle it

2001-01-10  Dekel Tsur  <dekelts@tau.ac.il>

	* src/insets/insettext.C (LocalDispatch): Add handling of 
	LFUN_BREAKPARAGRAPHKEEPLAYOUT.

2001-01-10  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/tabular.C (Write): write lowercase identifiers
	(Read): read lowercase identifiers

2001-01-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/support/lyxstring.C (rfind): better fix (from Dekel).

	* src/tabular.h: add a couple std:: qualifiers.

2001-01-10  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/lyxstring.C (rfind): also test the first char in the
	string and be sure that t >= 0.

2001-01-09  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/tabular.C (ReadNew): new method
	(Read): changed to call ReadNew or ReadOld depending on the
	tabular version found.

	* src/tabular-old.C: new file with the support functions and the
	ReadOld method.
	(ReadOld): new method

	* src/frontends/xforms/FormDocument.C (CheckChoiceClass): make tc
	unsigned to remove a signed/usigned warning.

	* src/tabular.C (tostr): new spesializations, replaces type2string
	(Write): use the new spesializations

2001-01-09  Juergen Vigna  <jug@sad.it>

	* src/tabular.C (OldFormatRead): convert the footer/header information
	to the right row.
	(getTokenValue): chaned this functions again.
	(string2type): added a bunch of this functions per type.
	(Write): use type2string and write columns first.
	(type2string): added a bunch of this functions per type.
	(TeXBottomHLine): 
	(TeXTopHLine): check row parameter.

2001-01-08  Dekel Tsur  <dekelts@tau.ac.il>

	* src/tabular.C (getTokenValue): Fix crash with malformed files.
	(Read): Read the rotate attribute.

2001-01-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/xforms/FormDocument.C (CheckChoiceClass): fix
	class switching; do not do anything if class has not been changed.

2001-01-07  Dekel Tsur  <dekelts@tau.ac.il>

	* lib/build-listerrors: Exit if literate-article doesn't appear in
	textclass.lst

2001-01-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/combox.h (getline): small fix for sun CC 6.0
	* src/combox.C (input_cb): ditto.
	* src/spellchecker.C (sigchldhandler): ditto.

	* src/lyx_main.C (init): do not query for creation of user
	directory when running without a GUI.

2001-01-08  Dekel Tsur  <dekelts@tau.ac.il>

	* src/mathed/formula.C (LocalDispatch): Toggle font properties. 

2001-01-07  Dekel Tsur  <dekelts@tau.ac.il>

	* BufferView2.C (open_new_inset): Added 2nd argument.
	(getParentText, getParentLanguage): New methods.

	* src/lyxfunc.C (Dispatch): Fixed handling of LFUN_LEFT and
 	LFUN_INSET_TABULAR for RTL text.

	* src/tabular.C (Latex): Put \R{} around RTL cells.

	* src/text2.C (InsertInset): Change cursor position for highly
	editable insets.

	* src/frontends/xforms/FormTabularCreate.C (apply): Create the
	tabular inset by calling to LyXFunc::Dispatch(LFUN_INSET_TABULAR,...)

	* src/insets/insettabular.C (LocalDispatch): When dispatching
	LFUN_TAB/LFUN_SHIFT_TAB, if the insettext of the old cell was
	locked, then the insettext of the new cell will be locked. 
 	(moveLeft, moveRight): Fixed for RTL tabulars.
 	(moveNextCell, movePrevCell): Ditto.
	(isRightToLeft): New method.

	* src/insets/insettext.C (LocalDispatch): Fixed handling of
	non-dispatched function in the locking inset.
	(Edit): If the inset is empty set the language of the current font
 	to the language to the surronding text (this code was moved from
	LocalDispatch to allow the user to change the languaeg before 
	inserting text).
	(moveRight, moveLeft): Fixed for RTL text.
	(checkAndActivateInset): Fixed.
	
	* src/tabular.C (OldFormatRead): Use ALL_INHERIT font as the base font.

2001-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/xforms/Toolbar_pimpl.C (BubbleTimerCB): translate
	the tooltip.
	(set): ditto.

	* src/spellchecker.C (sigchldhandler): add an #ifndef USE_PSPELL
	around some ispell code.

	* src/lyxcursor.[Ch]: add proper constructor, to avoid tons of
	Unitialized Memory Read in purify.

	* lib/examples/nl_splash.lyx: update from Tino Meinen.

2001-01-04  Dekel Tsur  <dekelts@tau.ac.il>

	* src/frontends/xforms/FormDocument.C (FormDocument::build):
	Disable class_->choice_doc_class and language_->choice_language to
	allow using the class/language combox with keyboard.

2001-01-08  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/snprintf.c (va_copy): only define va_copy if undefined

2001-01-06  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyxvc.C (showLog): give the tempfile a mask

	* src/lyx_cb.C (AutoSave): five tempfile a mask, enter the failed
	branch on !rename

	* src/support/filetools.C (IsDirWriteable): give the tempfile a
	mask and unlink the tempfile after use.

2001-01-04  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (resetPos): an extra scroll, but we
	really should redo all this scrolling code!
	(TabularFeatures): unlock the_locking_inset before add/del rows/colums.

	* src/text.C (GetVisibleRow): check that y/h values are good otherwise
	change them.

	* src/insets/insettabular.C (LocalDispatch): fixes to PASTESELECTION.
	(pasteSelection): pay attention to multicolumn cells.
	(calculate_dimensions_of_cells): forgot to reset maxAsc/Desc.

2001-01-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/mathed/math_panel.C (deco_cb): check the decoration index is
	valid. 

	* src/frontends/xforms/FormPreferences.C (feedback): apply
	formatting to the translated string, not to the original one.
	(printWarning): ditto.

	* src/gettext.C (_): translate empty string with empty string.

	* src/frontends/xforms/FormCopyright.C (build): use _() instead of
	N_(). 

	* NEWS: small update

	* UPGRADING: mention that tabular format has been changed.

2001-01-03  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (InsetButtonPress): look for button==2
	and do Clipboard Paste!

	* src/insets/insettext.C (SetText): added function.

	* src/insets/insettabular.C (LocalDispatch): Fixed LFUN_PASTE and
	new LFUN_PASTESELECTION.

	* src/insets/insettext.C (draw): don't clear if top_x changes.

	* src/insets/insettabular.C (draw): clear only if the inset didn't
	change in the draw routine.

	* src/insets/insettext.C (width): make the width dependant on the
	textWidth too.

	* src/text.C (draw): comment out the UpdateInset call.

	* src/screen.C (DrawOneRow):
	(DrawFromTo): check for bv->text->status not text->status.

	* src/insets/insettabular.C (calculate_dimensions_of_cells): calculate
	dimensions of ascent-descent for the whole row.

	* src/insets/insettext.C (draw): check also for need_update == INIT.

2001-01-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* Makefile.am (EXTRA_DIST): add autogen.sh

2001-01-03  Miyata Shigeru  <miyata@kusm.kyoto-u.ac.jp>

	* development/OS2/quick_fix.patch: 
	* lib/configure.cmd: update OS/2 support files.

2001-01-02  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (pasteSelection): rewritten correctly.

	* src/tabular.C (TeXTopHLine): 
	(TeXBottomHLine): fixed Lars new code.

	* src/insets/insettext.C (LocalDispatch): added support for math_greek.

	* src/mathed/math_symbols.C (math_insert_greek): removed current_view
	from this function and added a BufferView * parameter.

	* src/mathed/math_symbols.C (math_insert_symbol): ditto

2000-12-31  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/version.h: set to pre3

2000-12-31  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/Makefile.am (lyx_SOURCES): added Floating.C

	* src/Floating.h: moved all the inlines to Floating.C

	* src/Floating.C: new file

2000-12-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/xforms/FormPreferences.C (feedback): fix
	description of RC_PRINTCOPIESFLAG and RC_PRINTCOLLCOPIESFLAG.

2000-12-29  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/FileInfo.h: move unistd.h to after sys/types.h and
	sys/stat.h. 

	* src/support/FileInfo.C: don't include sys/types. and sys/stat.h

	* src/mathed/math_inset.h: move LString.h to be included first

	* src/insets/insetfloat.C: adjust for change in private variable names

	* src/frontends/xforms/xform_helpers.h : don't include config.h

	* src/frontends/xforms/xform_helpers.C: adjust the order of
	includes, some whitespace changes.

	* src/trans.C (Load): constify filename and res

	* src/text2.C (SetCounter): call Floating::name() 

	* src/screen.C: change to not use owner from WorkArea, but from
	text instead.

	* src/lyxfunc.C: adjust because of changes in Intl.

	* src/intl.h: make trans a object instead of pointer, inlucd
	trans_mgr.h in this file.
	(getTrans): return a reference to TransManager

	* src/intl.C: don't include trans_mgr.h here
	modify calls to trans to work on object instead of on pointer

	* src/WorkArea.h: add using for Signal1
	comment out forward decl of BufferView.
	add signal scrollCB
	remove class variable owner_ and getter method for this.

	* src/WorkArea.C: don't include BufferView.h
	(WorkArea): change to not take a BufferView.h, use signals
	instead.
	(scroll_cb): emit signal

	* src/LaTeXFeatures.C: include Floatlist.h
	(getPackages): only load float.sty when needed
	(getMacros): prepare for outputting the correct code to preamble.

	* src/Floating.h: make all variables private + rename to var_.
	(Floating): default ctor
	(Floating): complex ctor to set a complete Floating
	(type): getter
	(placement): getter
	(name): getter
	(builtin): getter

	* src/FloatList.C (FloatList): use Floating's constructor
	(begin): new method
	(end): ditto
	(newFloat): call type()
	(defaultPlacement): call placement()
	(operator): new operator

	* src/BufferView_pimpl.C (Pimpl): modify call to WorkArea
	(scrollUp): call pimpl's scrollCB
	(scrollDown): ditto
	(pasteClipboard): constify clip

	* src/BufferView2.C (insertLyXFile): constify fname, fi and c.
	(insertErrors): constify desctext, errortext, msgtxt and errorrow
	(open_new_inset): delete some commented code.

	* src/BufferView.[Ch] (enterView): comment out
	(leaveView): ditto
	(scrollCB): ditto
	(workAreaMotionNotify): ditto
	(workAreaButtonPress): ditto
	(doubleClick): ditto
	(tripleClick): ditto
	(workAreaButtonRelease): ditto
	(workAreaExpose): ditto

	* config/lyxinclude.m4 (cross_compiling): small stuff to be able
	to compile with cvs gcc (2.97).

2000-12-28  Dekel Tsur  <dekelts@tau.ac.il>

	* lib/ui/default.ui: menu structure cleanup.

	* lib/languages: add description of entries.

2000-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/insets/ExternalTemplate.C (readTemplates): change debug
	messages a bit.
	(readTemplate): use lyxlex.printError to report read errors.
	(readFormat): ditto.

	* src/insets/insetexternal.C (Read): suppress debug message when
	not needed.

2000-12-21  Dekel Tsur  <dekelts@tau.ac.il>

	* src/insets/insetinclude.C (Ascii): New method. Currently
	supports only verbatim input.

2000-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/bind/fi_menus.bind: update from Pauli Virtanen.

2000-12-22  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (InsetButtonPress): do nothing if we
	have a selection and button == 3.
	(UpdateLocal): if what == INIT clear selection if existent!
	(InsetButtonPress): don't activate the cell inset on button==3
	(Edit): ditto
	(LocalDispatch): move curor up/down if exiting an inset which this
	keys.

2000-12-20  Juergen Vigna  <jug@sad.it>

	* src/mathed/formula.C (LocalDispatch): return UNDISPATCHED when
	calling for the math-panel (do not unlock the math-inset if locked)!

	* src/text.C (GetVisibleRow): fixed drawing of depth lines inside
	text-insets (with x-offset).

	* src/tabular.C (TeXCellPreamble): fixed wrong output of special
	alignment of multicolumn-cells.

2000-12-19  Juergen Vigna  <jug@sad.it>

	* src/lyxfunc.C (Dispatch): 
	* src/bufferview_funcs.C (changeDepth): implemented DEPTH functions
	for insettext.

2000-12-19  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/WorkArea.C (work_area_handler): simplify the key/keysym
	handling for XForms 0.89, this might have rendered some cases
	unusable. I have at least deadkeys, accent-xxx and KP_x working.
	Please report proplems. 

	* src/lyxfunc.C (processKeySym): make the self-insert handling
	work as it should

2000-12-18  Baruch Even  <baruch.even@writeme.com>

	* src/LaTeX.C (deplog): fix spelling errors
	* src/text2.C (CutSelection): ditto
	* src/lyxfunc.C (Dispatch): ditto

2000-12-18  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* lib/layouts/stdlayouts.inc: only allow align Center for Caption

	* src/mathed/math_inset.C (MathMatrixInset): initialize v_align
	and h_align in default init.
	adjust calls to MathedRowSt

	* src/mathed/math_iter.C: adjust calls to MathedRowSt
	* src/mathed/math_iter.h (getAD): ditto

	* src/mathed/math_defs.h (class MathedRowSt): remove friends, add
	methods setBaseline, ascent, descent
	(class MathMatrixInset): remove method GetAlign, change h_align
	from char* to string

	* src/lyxfunc.C (processKeySym): discover the correct argument if
	the action is LFUN_SELFINSERT

2000-12-18  Dekel Tsur  <dekelts@tau.ac.il>

	* src/mathed/math_cursor.C (Interpret) Suppress a debug message
	in normal run.

2000-12-17  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/copy.C: don't include filetools.h

	* lib/images: revert to old banner, drop the cucumber.
	
2000-12-12  Dekel Tsur  <dekelts@tau.ac.il>

	* src/converter.C (Formats::View): Change the current directory to
	the directory of the file.
                                                                           
2000-12-17  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/kbsequence.C (addkey): also clear sequence and modifiers if
	length == 0

	* src/BufferView2.C (theLockingInset): return 0 if text is 0

2000-12-17  Dekel Tsur  <dekelts@tau.ac.il>

	* Many files: Fix RTL support for insettext.

2000-12-11  John Levon  <moz@compsoc.man.ac.uk>

	* README: add mention of broken ghostscript versions, remove
	reference to non-existent BUGS file

2000-12-13  Angus Leeming <a.leeming@ic.ac.uk>

	* src/support/lstrings.C (compare_no_case): small fix. When passed
	length, should use it in the size comparison.

2000-12-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/insets/insetexternal.C (getScreenLabel): Return a default
	value if the template label is empty.

	* src/lyxlookup.C: do not condition on FL_REVISION.

	* forms/sp_form.fd:
	* src/sp_form.C: fix the font size of some text entries

	* src/frontends/xforms/Menubar_pimpl.C (add_toc): honor separator
	after TOC when there is no TOC. 

	* src/lyxrc.C (readBindFileIfNeeded): new method. Reads the main
	bind file if it has not been done yet.
	(read): remove local bindFile variable. Try to fix the handling of
	RC_BIND and RC_BINDFILE.

	* src/lyx_main.C (init): use readBindFileIfNeeded().

	* lib/languages: Change description of german to "German (new
	spelling)".

2000-12-07  Angus Leeming <a.leeming@ic.ac.uk>

	* src/frontends/xforms/FormInset.C (createInset): activate "Ok",
	"Apply" buttons if arg is non-zero.

	* src/lyxfunc.C (Dispatch): enable citation to be inserted without
	launching the popup if sufficient info is passed to
	LFUN_CITATION_CREATE.

2000-11-23  Dekel Tsur  <dekelts@tau.ac.il>

	* src/lyx_cb.C (MenuInsertLabel): Compute a default value for new
 	labels (disabled in 1.1.6).

	* src/lyxrc.[Ch]: New variable label_init_length

	* mathed/formula.C (LocalDispatch): Preserve the label when
	changing from display math to eqnarray (however, the label
	do not appear at the first line, as one might expects, but at the
	second line).
	(LocalDispatch): When inserting a label to a formula which already 
	have a label, the old label is used as default value.
	Also, if the label is changed, then all references to the label
 	are changed.

	* src/mathed/math_iter.C (setLabel): Allow to set the label
	even if it is empty. This is needed to allow deletion of a label
	in an eqnarray.

	* src/BufferView2.C (ChangeRefsIfUnique): New method. Changes the
	refernces only if the old label appears once in the document.

2000-12-07  Angus Leeming <a.leeming@ic.ac.uk>

	* lib/languages: added ngerman. Patch courtesy of Andreas Gehlert
	<gehlert@Rcs1.urz.tu-dresden.de>

	* src/frontends/xforms/FormBase.C: comment out debug.h

	* src/frontends/xforms/FormGraphics.[Ch] (browseFile): removed. Reuse
	code in xform_helpers instead.
	(d-tor): comment out "delete dialog;" and so prevent a crash on exit.

	* src/frontends/xforms/FormPreferences.C: use AddName() in more places.
	Use N_(), rather than _() when creating strings to pass to browseFile()
	because browseFile calls gettext() itself now.

	* src/frontends/xforms/xform_helpers.C (browseFile): call gettext() and
	display the filename correctly.

2000-12-09  Dekel Tsur  <dekelts@tau.ac.il>

	* src/converter.C (Move): New method. Used to move file or files
	from temp dir to the output dir. (this fixes the bug that
	exporting linuxdoc/docbook document to html would not move all
	html file from temp directory).

	* src/support/filetools.C (DirList): Fixed.

	* src/lstrings.C (prefixIs): Fixed (how nobody noticed it before??).

2000-12-08  Dekel Tsur  <dekelts@tau.ac.il>

	* src/converter.C (Add): Remove $$i when setting latex_command.

	* src/text.C (IsBoundary): Return false when pos = 0.
	
2000-12-08  Dekel Tsur  <dekelts@tau.ac.il>

	* lib/kbd/hebrew.kmap: Add Hebrew points (nikud).

2000-12-07  Angus Leeming <a.leeming@ic.ac.uk>

	* src/frontends/xforms/FormDocument.C (checkMarginValues): you don't
	need to empty the fields to turn off use of the geometry package!

2000-12-07  Angus Leeming <a.leeming@ic.ac.uk>

	* src/lyxparagraph.h, src/paragraph.C (CopyIntoMinibuffer): pass a
	(Buffer const &), not a (BufferParams const &) and so fix a crash
	caused by using current_view before it had been initialised. Not
	the best way to do this, but much easier than changing
	Inset::Clone(Buffer const &) to Inset::Clone().

	* src/CutAndPaste.C:
	* src/tabular.C: changed call to CopyIntoMinibuffer().

2000-12-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/ui/default.ui: put TOC at the beginning of the TOC menu.

	* src/lyxfunc.C (getStatus): disable insertion of floats in a
	tabular. 

2000-12-06  Angus Leeming <a.leeming@ic.ac.uk>

	* src/frontends/xforms/FormPreferences.C (ScreenFonts::build):
	changed filter for screen fonts input filter from int to float

	* src/frontends/xforms/input_validators.c: removed.
	* src/frontends/xforms/input_validators.C: new file. Can now call C++
	functions from within the filter functions.

	* src/frontends/xforms/input_validators.[Ch]
	(fl_unsigned_float_filter): new filter function.

	* src/frontends/xforms/forms/fdfixc.sed: I defy gettext to get
	confused now! And if you think I'm going to do this in
	./forms/fdfix.sh with its "sed -e" declarations, then think again!
                          
2000-12-06  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/buffer.C (asciiParagraph): small NEW_INSETS fix from Levon

	* src/WorkArea.C (work_area_handler): don't handle button requests
	if xbutton.button == 0

2000-12-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/layouts/lyxmacros.inc: do not use \verbatim@font in lyxcode.
	It creates a lot of interesting problems.

2000-12-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/xforms/Menubar_pimpl.C (openByName): check that
	the menu exists in the current menubar before opening it.

	* src/MenuBackend.C (hasSubmenu): new method. 

	* src/frontends/xforms/Menubar_pimpl.C: fix problem with bogus
	action value by offsetting actions by a large constant (so that
	bogs choice result will be less than this constant).

	* lib/bind/fi_menus.bind: more cleanup to menus.
	* lib/bind/sciword.bind: ditto.
	* lib/bind/xemacs.bind: ditto.
	* lib/bind/emacs.bind: ditto.
	* lib/bind/pt_menus.bind: ditto.
	* lib/bind/hu_menus.bind: ditto.

	* src/gettext.h (locale_init): set locale LC_NUMERIC to "C".

	* INSTALL: update PROBLEMS section.

	* src/lyxlookup.h: remove condition on xforms version, since we
	should not include it if not appropriate.

2000-12-05  John Levon  <moz@compsoc.man.ac.uk>

	* src/LColor.C: "latex text" -> "latex inset" (from
	Angus Leeming)

	* src/lyxrc.C: "it's" -> "its" (from Angus Leeming)

	* src/frontends/kde/FormTabularCreate.C:
	* src/frontends/kde/citationdlg.C:
	* src/frontends/kde/copyrightdlg.C:
	* src/frontends/kde/paradlg.C:
	* src/frontends/kde/paraextradlg.C:
	* src/frontends/kde/parageneraldlg.C:
	* src/frontends/kde/printdlg.C:
	* src/frontends/kde/refdlg.C:
	* src/frontends/kde/tabcreatedlg.C:
	* src/frontends/kde/tocdlg.C:
	* src/frontends/kde/urldlg.C: add necessary headers
	(from Angus Leeming)

	* src/frontends/kde/dlg/emptytable.C:
	* src/frontends/kde/dlg/tabstack.C: ctors shouldn't have
	default parameters (from Angus Leeming)
		
	* src/frontends/kde/dlg/moc/.cvsignore:
	* src/frontends/kde/dlg/.cvsignore:
	* src/frontends/kde/moc/.cvsignore: fix the library name
	(from Angus Leeming)

	* src/frontends/kde/paradlg.C:
	* src/frontends/kde/parageneraldlg.C:
	* src/frontends/kde/dlg/para.dlg:
	* src/frontends/kde/dlg/paradlgdata.C: added accelerators

	* src/frontends/kde/dlg/README: clarified qtarch version

	* src/frontends/kde/dlg/Makefile.am: removed the
	dlg rules as they created spontaneous rebuilds
	(not a good idea as it requires qtarch)

2000-12-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* config/lyxinclude.m4 (LYX_PATH_XFORMS): display also the
	fixlevel along with xforms version.

	* src/WorkArea.C (work_area_handler): use stuff in lyxlookup.h when
	xforms version is strictly less than 0.89.5.
	* src/lyx_gui.C (LyXGUI): ditto.
	* src/LyXView.C (show): ditto.

2000-12-02  Dekel Tsur  <dekelts@tau.ac.il>

	* src/BufferView_pimpl.C (workAreaMotionNotify): Fixed mouse
	movement in inset in RTL text.
	(checkInsetHit): Fixed mouse movement in scrolled inset in RTL text.
	(workAreaButtonRelease): Do not open a float when there is a selection.

	* src/insets/insettext.C (cx): Fixed for insets in RTL text.

	* src/spellchecker.C (RunSpellChecker): Open all floats before
 	spellchecking.

	* src/text.C (InsertChar): Consider "," as a part of a number
	(for LTR numbers in RTL text code).
	(IsBoundary): Fixed (and simplified).
	(InsertChar): Recalculate cursor boundary.
	(Backspace): Ditto.

2000-12-04  John Levon  <moz@compsoc.man.ac.uk>

	* src/spellchecker.C: fix figures with pspell enabled

	* src/insets/figinset.C: workaround for gs hang xforms bug

2000-12-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/bind/??_menus.bind: comment out the entries corresponding to
	real menus. They should be eventually removed, but I'll let the
	language maintainers do that.

2000-12-04  John Levon  <moz@compsoc.man.ac.uk>

	* src/frontends/kde/parageneraldlg.C:
	* src/frontends/kde/parageneraldlg.h: don't use
	a derived class for SpaceAbove/Below

	* src/frontends/kde/dlg/README: add some info

	* src/frontends/kde/dlg/*: update data files, update
	dialog files.

	* src/frontends/kde/dlg/moc/Makefile.am: add
	${FRONTEND_INCLUDES}

2000-12-04  John Levon  <moz@compsoc.man.ac.uk>

	* configure.in: add new KDE Makefiles
	* src/vspace.h: return GlueLength not a normal one
	* src/support/lstrings.h:
	* src/support/lstrings.C: add isStrUnsignedInt(),
	strToUnsignedInt()

	* src/frontends/kde/*: big reorganisation, update
	FormParagraph, add FormTabCreate

2000-12-04  Angus Leeming <a.leeming@ic.ac.uk>

	* lib/ui/default.ui: small grammatical change.

	* src/frontends/xforms/xform_macros.h: removed.

	* src/frontends/xforms/FormBase.C:
	* src/frontends/xforms/FormPreferences.C:
	* src/frontends/xforms/Makefile.am: changes associated with removing
	xform_macros.h. Should make Lars' debugging a little easier.

	* src/frontends/xforms/FormPreferences.C:
	* src/frontends/xforms/FormPreferences.h:
	* src/frontends/xforms/forms/form_preferences.fd (Colors tab): no
	longer use X11 color name database. HSV and RGB dials/sliders.
	Please let this be the end of this!

2000-11-30  Dekel Tsur  <dekelts@tau.ac.il>

	* Several files: Allow compilation when the compiler doesn't
	support namespaces.

2000-11-30  Angus Leeming <a.leeming@ic.ac.uk>

	* lyx.man:
	* src/lyx_main.C (commandLineHelp, easyParse): documented remaining
	command line options.

2000-11-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/xforms/Menubar_pimpl.C (makeMenubar): use
	FL_MENU_BUTTON for items in menu bar. Not sure what difference it
	makes, anyway.

2000-11-29  Angus Leeming <a.leeming@ic.ac.uk>

	* src/frontends/xforms/FormRef.C (updateBrowser):
	* src/frontends/xforms/forms/form_ref.fd: try clicking on
	different insets with the sort key active. Now apply this patch!

2000-11-29  John Levon  <moz@compsoc.man.ac.uk>

	* src/frontends/xforms/FormPrint.C: set to valid()
	when we update from the passed parameters.

2000-11-29  Angus Leeming <a.leeming@ic.ac.uk>

	* src/LColor.C (getFromGUIName): internationalise the comparison.

	* src/lyx_gui_misc.h (LyXBell): turn off that BLOODY bell until it's a
	FormPreferences choice.

	* src/frontends/xforms/FormPreferences.C: some additional Color safety.
	Should be redundant.

2000-11-29  John Levon  <moz@compsoc.man.ac.uk>

	* src/lyxrc.C: more detail for the printer program config
	dialog.

	* src/LColor.C: ert->latex text. LColor needs a big revamp
	but will have to wait till after 1.1.6

	* src/buffer.C: bring up a dialog if we load a document
	with an un-installed text class, rather than just complain
	on the console.
                        
2000-11-29  Angus Leeming <a.leeming@ic.ac.uk>

	* src/combox.[Ch] )(add, Show): workaround xforms bug when Show()ing
	the browser form for a combox in a tabbed folder. Bug fix courtesy of
	Steve Lamont <spl@ncmir.ucsd.edu>.

	* src/frontends/xforms/FormDocument.C (build):
	* src/frontends/xforms/FormPreferences.C (Language::build):
	pass tabfolders to Combox::add() in order to use this work around.

	* src/frontends/xforms/FormCitation.C (connect): remove max size
	limitation.
	(update): sort list of bibliography keys.

	* src/frontends/xforms/FormRef.[Ch] (connect, showBrowser, hideBrowser,
	setSize): removed.
	No max size limitation. Same popup for new and existing insets. Fixes
	bugs reported by Rob Lahaye.
	
	* src/frontends/xforms/FormCitation.C (c-tor):
	* src/frontends/xforms/FormCopyright.C (c-tor):
	* src/frontends/xforms/FormError.C (c-tor):
	* src/frontends/xforms/FormGraphics.C (c-tor):
	* src/frontends/xforms/FormIndex.C (c-tor):
	* src/frontends/xforms/FormRef.C (c-tor):
	* src/frontends/xforms/FormToc.C (c-tor):
	* src/frontends/xforms/FormUrl.C (c-tor):
	use correct policy for ButtonController.

	* src/frontends/xforms/FormPreferences.[Ch]: cleaned up a little more.

	* src/frontends/xforms/Menubar_pimpl.C (create_submenu): modified lyxerr
	call a little.

	* src/frontends/xforms/forms/form_citation.fd: some resizing changes.

	* src/frontends/xforms/forms/form_ref.fd: new Restore, Apply buutons.
	Some resizing changes.

2000-11-28  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* configure.in: fix typo

	* lib/languages: add ukraninian and change no to no_NO

	* src/lyxfont.[Ch] (setGUISize): comment out setGUISize

	* src/bufferview_funcs.C (FontSize): use setLyXSize

2000-11-24  Kayvan A. Sylvan <kayvan@sylvan.com>

	* acconfig.h, configure.in, config/lyxinclude.m4: Added autoconf tests
	to check for systems where mkstemp() is available but not declared
	in headers. The new autoconf macro lyx_CHECK_DECL can be used
	to check for declarations in headers.
                 
2000-11-23  Angus Leeming <a.leeming@ic.ac.uk>

	* forms/bibforms.fd: tiny fix to get it to run with fdesign.

	* forms/makefile: added bibforms.fd, include_form.fd.
	Removed lyx_sendfax.fd.

	* src/LaTeXLog.C (ShowLatexLog):
	* src/LyXAction.C (init):
	* src/bufferparams.C (readLanguage): altered messages as suggested by
	John Levon.

	* src/LyXView.C (c-tor): connected RedrawAllBufferRelatedDialogs() to
	Dialogs::redrawGUI.

	* src/credits.C: made fd_form_credits non-static, so that it can be
	redrawn should the xforms colors be re-mapped.
	* src/spellchecker.C ditto fd_form_spell_options.

	* src/filedlg.[Ch] (redraw):
	* src/intl.[Ch] (redraw):
	* src/lyxfr0.[Ch] (redraw):
	* src/insets/figinset.[Ch] (redraw):
	* src/insets/insetexternal.[Ch] (redraw):
	new methods, connected to Dialogs::redrawGUI.

	* src/lyx_gui_misc.[Ch] (RedrawAllBufferRelatedDialogs): new function
	to be connected to Dialogs::redrawGUI.

	* src/frontends/xforms/FormCitation.C (build):
	* src/frontends/xforms/FormCopyright.C (build):
	* src/frontends/xforms/FormError.C (build):
	* src/frontends/xforms/FormGraphics.C (build):
	* src/frontends/xforms/FormIndex.C (build):
	* src/frontends/xforms/FormTabularCreate.[Ch] (update):
	* src/frontends/xforms/FormToc.C (build):
	* src/frontends/xforms/FormUrl.C (build):
	use the ButtonController correctly.

	* src/frontends/xforms/FormCopyright.C (build):
	* src/frontends/xforms/forms/form_copyright.fd: moved the text out of
	the .fd file and into build().

	* src/frontends/xforms/FormPreferences.C: tiny clean-up.

	* src/frontends/xforms/FormToc.[Ch]: Don't use apply(). Use input().

	* src/frontends/xforms/forms/form_citation.fd:
	* src/frontends/xforms/forms/form_copyright.fd:
	* src/frontends/xforms/forms/form_error.fd:
	* src/frontends/xforms/forms/form_graphics.fd:
	* src/frontends/xforms/forms/form_index.fd:
	* src/frontends/xforms/forms/form_toc.fd:
	* src/frontends/xforms/forms/form_url.fd:
	renamed some of the objects. Named others explicitly for the first time.
	Added Restore and Apply buttons where appropriate.

	* src/insets/Makefile.am: removed form_graphics.[Ch] as they are not
	used.

2000-11-22  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/version.h: try the pre2 again

2000-11-22  Angus Leeming <a.leeming@ic.ac.uk>

	* src/frontends/kde/Dialogs.C: added signal Dialogs::redrawGUI.

	* src/frontends/kde/FormParagraph.C: added using directive.

	* src/frontends/kde/paradlg.C: added config.h and using directive.

	* src/frontends/kde/paradlg.h: added std::qualifier.

	* src/frontends/kde/Makefile.am: added Color.lo to libkde_la_OBJADD.

2000-11-22  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* configure.in (AC_OUTPUT): don't output src/xtl/Makefile

	* src/lyx_sendfax.[Ch]  src/lyx_sendfax_main.C: delete files

2000-11-22  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/version.h: set back to 1.1.6cvs

2000-11-22  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/version.h: set to 1.1.6pre2

2000-11-20  Marko Vendelin <markov@ioc.ee>

	* src/frontends/gnome/Dialogs.C: added signal Dialogs::redrawGUI

	* src/frontends/gnome/Makefile.am: updated list of XForms object files
              
2000-11-21  Angus Leeming <a.leeming@ic.ac.uk>

	* src/LColor.C (init):
	* src/lyxrc.C (getDescription): changed some comments as suggested by
	John Levon.

	* src/frontends/xforms/FormBase.[Ch]: modified to connect and
	disconnect the redrawGUI signal in best-practice fashion.

	* src/frontends/xforms/FormPreferences.[Ch]: renamed usage_tab_ as
	long_opts_tab to reflect the change in name of this tabfolder, as
	suggested by John Levon.
	(connect, disconnect): new methods. Don't do much at present other than
	ensuring that we can't resize the dialog. This just makes xforms go
	crazy.
	(lots of methods in Colors): made void rather than bool. The idea is
	to have an isOk() function that keeps track of whether any input is
	genuinely invalid and should therefore block Save, Apply.
	Easier to manipulate the counters rapidly.
	(Colors::InputBrowserLyX, Colors::Modify): rewritten so that Amir's
	compiler will like this code. Much cleaner way of doing things.

	* src/frontends/xforms/forms/fdfix.sh: a little speed up fix.

	* src/frontends/xforms/forms/form_preferences.fd: used normal counters
	rather than simple counters, following suggestion by John Levon.

	* src/frontends/xforms/forms/form_print.fd: used labelframe rather
	than engraved frame + text.

	* src/frontends/xforms/forms/makefile: removed spurious command.

2000-11-17  Angus Leeming <a.leeming@ic.ac.uk>

	* src/LColor.C (c-tor): fixed a couple of items in the ColorEntry
	array. 
	* src/LyXAction.C (init): LFUN_SET_COLOR now has the attrib
	ReadOnly|NoBuffer.

	* src/frontends/xforms/Color.C: (HSVColor c-tor): another bug fix.

	* src/frontends/xforms/FormPreferences.C: re-formatted so that I can
	see what Lars has changed and what is just white space!
	Now used X directly to ascertain the RGB color associated with the
	color name.
	Replaced the RGB sliders with HSV equivalent. Should be more intuitive
	to use.
	Added some sort capability.
	The X11 color name database input is only displayed if the database
	isn't found in the standard place.
	Got rid of struct compare_converter; it wasn't used.
	Probably some other stuff that I've forgotten.

	* src/frontends/xforms/FormPreferences.h: changed the names of some
	methods in the Colors struct. Added a couple of structs to help sort
	colors by name and by RGBColor.

	* src/frontends/xforms/xform_helpers.[Ch]: moved the ReadableDir etc
	functions into a new class RWInfo.

	* src/frontends/xforms/forms/form_citation.fd: Added some shortcuts.
	The dialog is now almost navigable using the keyboard. Unfortunately,
	the cursor has to be inside a browser for it to be activated. There is
	no visual feedback for the key shortcuts to the arrow keys (use
	Alt-appropriate arrow key, Alt-x).

	* src/frontends/xforms/forms/form_preferences.fd: hacked the Colors tab
	around a lot.

	* src/support/filetools.[Ch]: moved out ReadableFile etc and into
	xform_helpers.[Ch]. See above.

2000-11-17  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* config/lyxinclude.m4 (LYX_PROG_CXX): please somebody

	* src/screen.C (setCursorColor): new method. Sets the color of the
	cursor. 
	(ShowManualCursor): call it.
	Constify some local variables.

	* src/LColor.[Ch] (LColor): add entry for cursor
	* lib/configure(.m4) (word_to_latex_command): add quotes, removes
	a warning.

2000-11-19  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (draw): fixed text border redraw problem.
	(calculate_dimensions_of_cells): try to boost up when inserting chars.

2000-11-15  Rob Lahaye  <lahaye@postech.edu>

	* lib/ui/default.ui: OptItem used for Fax entry

2000-11-17  Matej Cepl  <cepl@bigfoot.com>

	* lib/kbd/czech.kmap: add apostroph mark to the Czech keyboard.

2000-11-15  John Levon  <moz@compsoc.man.ac.uk>

	* src/vspace.C (nextToken): fix so it can handle length phrases like
		"10mm+-20mm", "40inplus16mmminus10cm" etc.

2000-11-17  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/frontends/xforms/FormPreferences.C: constify several variables
	(BrowserLyX): rewrite to not need the choice variable
	(Modify): rewrite to not need the choide variable
	(compare_converter): make operator const

	* src/lyxrc.C (output): be a bit nicer og os usage, and try to
	correct the writing of \set_color
	(getDescription): return a const string

	* src/kbsequence.[Ch] (addkey): remove dead code

	* src/Painter.C (text): remove some commented code

2000-11-15  Angus Leeming <a.leeming@ic.ac.uk>

	* src/ColorHandler.[Ch]: removed some header files from .h file.
	Included LColor.h in .C file.

	* src/LColor.[Ch]: made class copyable so that I could create a
	system_lcolor instance.

	* src/Painter.h: removed LColor.h.

	* src/lyx_gui.C (create_forms): used AddName.

	* src/lyx_main.C (init): copied lcolor to system_lcolr prior to reading
	of user preferences/lyxrc file.

	* src/lyxrc.C (output): output changes to lcolor.

	* src/frontends/xforms/Color.[Ch]: Changed X11Color to a new struct,
	NamedColor.
	Moved class xformColor to files xform_helpers.[Ch]. These files,
	Color.[Ch], could now be moved into src if they would be useful to
	other GUIs.

	* src/frontends/xforms/xform_helpers.[Ch]: moved class XformColor here.
	Also moved FormPreferences::browseFile here as it can be used by any
	xform dialog with a "Browse" button. FormGraphics is a perfect example.

	* src/support/filetools.[Ch] (WriteableDir, ReadableDir, WriteableFile,
	ReadableFile): changed the FormPreferences methods a little and moved
	them here as they'll be useful elsewhere also.

	* src/frontends/xforms/FormPreferences.h: a bit more cleaning up.
	Removed some header files and used forward declarations instead.
	Better commenting.
	Removed some methods as they'll be useful elsewhere (see above).

	* src/frontends/xforms/FormPreferences.C: a bit more cleaning up.
	Can also now modify the LyX LColors. However, for reasons that I don't
	yet understand, it appears that we can use
	LyXFunc::Dispatch(LFUN_SET_COLOR, arg) only when we have a buffer
	present. The problem appears to lie in ColorHandler, because I can
	change the color using LColor.SetColor(). Similarly, when reading in a
	preferences file with some set_color instances, I'll get a warning
	like: Color sea green is undefined or may not be redefined 
	Bad lyxrc set_color for sea green

	Once the buffer is loaded, however, I can happily change to this color.

	Finally, it appears that I have to set the color of "inset frame"
	explicitly, or it oscillates from "black" to "indian red" with each
	successive "Apply".
                                           
2000-11-15  Angus Leeming <a.leeming@ic.ac.uk>

	* ANNOUNCE: corrected a spelling mistake.
	
	* src/tabular.C (OldFormatRead): variable "h" was set but never used.
	Removed.

2000-11-15  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/kbsequence.C (addkey): use a vector as per Andre Poenitz patch.

	* lib/Makefile.am (dist-hook): also delete doc/.cvsignore from
	distdir. 

	* src/support/lyxfunctional.h: make back_insert_fun_iterator(s)
	match the requirements from the standard better. This is required
	to work with gnu libstdc++-v3

	* src/frontends/xforms/FormPreferences.C: add explict pair
	arguments to browse calls. include support/lyxmanip.h remvoe
	extern fmt. whitespace changes. reorder variables in
	FormPreferences.h, to match initalizaton order.

	* several files: constify more local variables.
	
	* src/buffer.C: remove some commented functions.

	* src/DepTable.C (remove_files_with_extension): temporary
	work around for gcc 2.97 
	* src/filedlg.C (find): ditto
	* src/Variables.C (set): ditto
	* src/LyXAction.C (searchActionArg): ditto
	(retrieveActionArg): ditto

	* configure.in: check for mktemp too

	* UPGRADING: prepare for 1.1.6

	* Makefile.am (lgbtags): add backup tags for when etags are
	different than usual.

	* ANNOUNCE: prepare for 1.1.6

	* src/support/tempname.C (make_tempfile): new function, wrapper
	around mkstemp and mktemp. Only mkstemp has been tested.
	(tempName): call it.
	
2000-11-14  Rob Lahaye  <lahaye@postech.edu>
	
	* default.ui: capitalized some menu items to improve shortcuts.

2000-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/xforms/FormPreferences.C (ok): use AddName().

	* src/frontends/xforms/Dialogs.C: add "using" directive.

2000-11-13  Angus Leeming <a.leeming@ic.ac.uk>

	* src/filedlg.C (Select): highlight suggested file in browser, if
	it is present.

	* src/frontends/xforms/FormPreferences.[Ch]: re-written so that
	each tab folder is encapsulated in its own class.
	The Language keymaps are now chosen using a text input and a
	browser button, rather than a Combox.
	All the browser buttons are now functional, although LyXFileDlg
	still needs to be modified to make it straighhtforward to return a
	directory if that is what is desired.

	* src/frontends/xforms/forms/form_preferences.fd: use text input
	and browse button to input the Language keymaps. Add a few
	callbacks for the browse buttons.

2000-11-14  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/tempname.C (tempName): small changes to make it
	safer. remove the '.' before XXXXXX

	* src/support/filetools.C (TmpFileName): remove func 
	(GetCWD): ditto
	
	* src/frontends/xforms/FormRef.C (FormRef): explicit call the bp
	* src/frontends/xforms/FormUrl.C (FormUrl): ditto
	* src/frontends/xforms/FormTabularCreate.C (FormTabularCreate): ditto
	* src/frontends/xforms/FormTabular.C (FormTabular): ditto

	* src/frontends/xforms/FormInset.h (FormInset): remove default for bp
	(FormCommand): ditto
	
	* src/frontends/xforms/FormGraphics.C (FormGraphics): explicit
	call the bp

	* src/frontends/xforms/FormError.C (FormError): use IgnorantPolicy
	for bp (this fixes a reproducible hard crash)

	* src/frontends/xforms/FormCopyright.C (FormCopyright): explicit
	call the bp

	* src/frontends/xforms/FormBase.h: make bp_ private
	(FormBaseBI): remove default for bp
	(FormBaseBD): ditto
	
	* src/frontends/xforms/Dialogs.C (Dialogs): use the old method it
	is safe enough.

	* src/frontends/xforms/Color.C (RGBColor): made several vars
	const, changed initialization of j to allow it to be const
	(HSVColor): similar

	* several files: added const to local variables.
	
	* src/lyx_cb.C: removed several function prototypes and moved them
	to lyx_cb.h
	(MenuWrite):
	(MenuWriteAs):
	(UpdateLayoutPreamble): 
	(MenuLayoutSave): 
	(MenuInsertLabel): add BufferView as arguemnt
	(LayoutsCB): make tmp const

	* src/layout_forms.h: regenerated

	* src/debug.C: add Debug::FILES
	(showLevel) (showTags): translate the desc

	* src/debug.h: add FILES as debug target

	* src/bufferlist.C: use current_view as an interim measure becuase
	of added arguments to MenuWrite and MenuWriteAs

	* forms/layout_forms.h.patch: make the patch more correct and more appalyable

	* config/lyxinclude.m4 (LYX_STD_COUNT): change test to not involve
	string. 
	(LYX_PROG_CXX): change 2.97 rules to include the -f.. that
	libstdc++ is compiled with.

2000-11-13  Jos Ablio Matos <jamatos@fep.up.pt>
	
	* lib/layouts/docbook-book.layout
	* lib/layouts/docbook.layout
	* lib/layouts/linuxdoc.layout: No need for "dummy" paragraphs, now
	those paragraphs are expresse as SGML comments <!-- -->.

	* src/LaTeXFeatures.h
	* src/LaTeXFeatures.C (getIncludedFiles): takes a filename as 
	parameter, this allows to express all the include files as relative
	paths to the master buffer. The verbatim insert works as the other
	include file modes.

	* src/buffer.C (sgmlOpenTag) (sgmlCloseTag): don't write if latexname
	is a SGML comment.
	(MakeLinuxdocFile) (MakeDocBookFile): included files are relative 
	to master path.
	(MakeDocBookFile): top_element is always written. Some clean up, as
	sgmlOpenTag() and sgmlCloseTag() take care of the SGML comment case.

	* src/insets/insetinclude.C (Linuxdoc): Added verbatim file fix.
	(DocBook) added close tag to inlinegraphics trick for verbatim. Now
	a reference is written instead of the name.
	(Validate): use the relative path for the filename.

	* src/insets/insetlabel.C (DocBook): write end tag, for XML
	compatibility. 

	* src/support/filetools.h
	* src/support/filetools.C (IsSGMLFilename): added.
	(BasePath): added.

2000-11-13  Miyata Shigeru  <miyata@kusm.kyoto-u.ac.jp>

	* development/OS2/quick_fix.patch: 
	* lib/configure.cmd: 
	* README.OS2: quick update to the OS/2 port.

2000-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/converter.C: add "using" directive.

	* src/frontends/xforms/FormPreferences.C: add "using" directive.
	(compare_converter): add "int" as return type.

	* src/frontends/xforms/Color.C: comment out FL_LIGHTER_COL1 here
	too. 

2000-11-11  Angus Leeming <a.leeming@ic.ac.uk>

	* src/lyx_gui.C (create_forms): map the xform colours, should a
	mapping exist. Ie, call XformColor::read().

	* src/frontends/xforms/Color.[Ch] renamed struct RGB as RGBColor
	and struct HSV as HSVColor.	
	(XformColor::read, XformColor::write) : new methods that
	input/output any changes to the cform GUI colors.

	* src/frontends/xforms/Dialogs.C: FORMS_H_LOCATION no longer
	included.

	* src/frontends/xforms/FormPreferences.C Lots of little changes
	associated with the changed name of the RGB and HSV structs. Can
	now save changes to xforms GUI to file. Commented out
	FL_LIGHTER_COL1 to allow compilation with xforms 0.88. It isn't
	used currently anyway.

2000-11-11  Dekel Tsur  <dekelts@tau.ac.il>

	* src/converter.C: A lot of changes:
	- It is no longer possible to choose between two or more ways to 
	export to some format (the new code uses only the shortest path).
	However, it is still possible to choose between pdflatex/ps2pdf
	for  creating a PDF file, by defining two PDF formats: pdf & pdf2.
	- Added several methods that makes  the FormPreferences code simpler.
	- Changed the tokens $$FName and $$OutName to $$i and $$o.

	* src/exporter.C (Export): lyxrc.use_pdf is set before
	makeLaTeXFile is called. This works but not very nice.

	* src/frontends/xforms/FormPreferences.C: The formats/converters
	tabs are now fully functional.

	* src/buffer.C (getTocList): Add numbers to the captions. 

	* lib/lyxrc.example: Removed fax section

	* src/support/rename.C (rename): Delete the old file if lyx::copy
	is called.

2000-11-13  Rob Lahaye <lahaye@postech.edu>

	* lib/ui/default.ui: minor polishing.

2000-11-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/xforms/Color.C: include <algorithm> and <cmath>
	headers. 

	* lib/Makefile.am (DOCINST): do not install everything in the
	documentation directory.

2000-11-10  John Levon  <moz@compsoc.man.ac.uk>

	* src/bufferlist.C (newFile): set the filename to the constructed
	newfileXX.lyx

	* src/lyx_cb.C (MenuWriteAs): if a buffer is "unnamed", pass the
	constructed "newfileXX.lyx" name to the dialog

	* src/frontends/DialogBase.h: make update() non-abstract so
	KDE doesn't need to implement two update methods for every form

	* src/frontends/kde/Makefile.am: add missing xforms objects
	to compile again

	* src/frontends/kde/Dialogs.C: Add FormTabularCreate dialog

2000-11-09  Angus Leeming <a.leeming@ic.ac.uk>

	* src/frontends/xforms/Color.[Ch]: new files, defining the color
	structs RGB and HSV. May not be the best place for these files.
	Perhaps move them into src ?

	* src/frontends/xforms/Makefile.am: added new files.

	* src/frontends/xforms/forms/form_preferences.fd:
	* src/frontends/xforms/FormPreferences.[Ch]: bowed to reality and
	replaced all instances of "colour" with "color"!

	* src/frontends/xforms/forms/form_preferences.fd: modified Colors tab
	slightly yet again.

	* src/frontends/xforms/FormPreferences.[Ch]: functioning Colors
	tab. Can now alter the colors of the xform's GUI on the fly. With
	the aid of a single static Signal (see below), can "Apply" these
	changes to all currently open dialogs. (Well, to all of the NEW
	dialogs and to LyXView. The OLD dialogs are not yet redrawn.) ALL
	subsequently opened dialogs will, of course, also have the new
	color scheme. Cannot yet save (or load) the choices to file, so
	they are lost when exiting LyX.
	
	* src/frontends/Dialogs.h:
	* src/frontends/xforms/Dialogs.C (redrawGUI): new static Signal.
	Used to trigger a redraw of any dialogs connected to it because,
	for example, the GUI colours have been re-mapped.

	* src/frontends/xforms/FormBase.[Ch]:
	* src/frontends/xforms/FormDocument.[Ch]:
	* src/frontends/xforms/FormParagraph.[Ch]:
	* src/frontends/xforms/FormPreferences.[Ch]:
	* src/frontends/xforms/FormTabular.[Ch]: (redraw): new virtual
	method, to be connected to Dialogs::redrawGUI. Method must be
	virtual, because dialogs with tabbed folders need to redraw the
	forms of each tab folder.

	* src/LyXView.C (d-tor):
	* src/frontends/xforms/FormBase.C (d-tor): connected
	Dialogs::redrawGUI signal to redraw().

	* src/frontends/xforms/FormBase.C (~FormBaseBI, ~FormBaseBD):
	removed Assert, because it is identical to that in FormBase.

2000-11-10  Rob Lahaye <lahaye@postech.edu>

	* lib/ui/default.ui: minor polishing.

2000-11-10  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C (resizeLyXText): check !cache[bv]
	(deleteLyXText): ditto

	* src/insets/insettabular.C (InsetButtonPress): don't clear the
	selection on mouse-button-3.

	* src/insets/insettabular.h: new function clearSelection(), use this
	functions inside insettabular.C.

	* src/insets/insettabular.C (TabularFeatures): clear the selection
	on remove_row/column.

	* src/insets/inset.C (scroll): fixed some scroll stuff.

	* src/insets/insettabular.C (draw): fixed another minor draw problem.

2000-11-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/CREDITS: add Yves Bastide

2000-11-03  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>

	* config/lyxinclude.m4 (LYX_CXX_GLOBAL_CSTD): new function to
	check whether C library functions are in the global namespace.

	* configure.in: calls it.

	* src/support/lstrings.C: #ifndef CXX_GLOBAL_CSTD instead of
	#ifndef __GLIBCPP__.

2000-11-08  Dekel Tsur  <dekelts@tau.ac.il>

	* src/frontends/xforms/FormPreferences.C (updateLanguage): Check
	iterators to prevent crash.

2000-11-08  Angus Leeming <a.leeming@ic.ac.uk>

	* src/converter.h (getprettyname, getFromToPrettyname): new methods.

	* src/frontends/xforms/xform_macros.h (C_PREPOSTHANDLER): new macro
	shortcut for xforms CB to the preemptive or post-handler function.

	* src/frontends/xforms/forms/form_preferences.fd (form_preferences):
	removed the HIDDEN_TIMER as it's no longer used.
	Various other small changes.

	* src/frontends/xforms/FormPreferences.[Ch]: removed timer. Use a
	preemptive handler to obtain feedback, rather than the post-handler.
	(ColoursLoadBrowser): find "black" and "white" based on RGB values
	rather than name.
	Formats tab is now complete. Converters tab is nearly so.

2000-11-09  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C (~InsetText): 
	(clear): 
	(Read): 
	(SetParagraphData): set cache.second to 0 after deleting it!
	(getLyXText): check if cache.second is not 0 if finding it.

2000-11-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/xforms/FormPreferences.C (ColoursLoadBrowser): use
	lyxlex to parse the rgb.txt file.

	* src/lyxlex.[Ch]:
	* src/lyxlex_pimpl.[Ch]: implement setCommentChar method, to
	replace the default '#' comment character.
	
	* src/support/tempname.C: add "using" directive
	* src/frontends/ButtonPolicies.C: ditto.

	* src/support/filetools.C (DirList): add an explicit cast to avoid
	a compile error (probably not the right fix)

2000-11-08  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/filetools.C (DirList): implement using system functions

	* src/support/tempname.C: new file

	* src/support/Makefile.am (libsupport_la_SOURCES): add tempname.C

	* src/insets/insetexternal.C (InsetExternal): use lyx::tempName

	* src/graphics/GraphicsCacheItem_pimpl.C (renderXPM): use
	lyx::tempName 

	* src/frontends/xforms/ButtonController.C: new file

	* src/os2_defines.h: remove getcwd define

	* src/lyxvc.C: include support/lyxlib.h
	(showLog): use lyx::tempName

	* src/lyx_cb.C: comment out includes that we don't need
	(AutoSave): use lyx::tempName

	* src/filedlg.C: include support/lyxlib.h
	(Reread): use lyx::getcwd

	* src/converter.C: include support/filetools.h
	(add_options): change to static inline, make tail const
	(Add): make old_viewer const
	(GetAllFormats): make it a const method, use const_iterator
	(enable): make static inline
	(SplitFormat): make using_format const

	* src/LaTeX.C (run): use lyx::getcwd

	* configure.in: check for mkstemp as well 

2000-11-07  Angus Leeming <a.leeming@ic.ac.uk>

	* src/converter.[Ch] (GetAllCommands): new method.

	* src/support/filetools.[Ch] (DirList): new method.

	* src/frontends/xforms/FormPreferences.C: started (just!) adding
	functionality to the converters tab.
	The formats tab is now nearly complete.
	The kbmap choices in Languages tab now display the contents of
	system_lyxdir/kbd/*.kmap in readable form.

	* src/frontends/xforms/FormPreferences.h: made struct RGB private.
	Moved some variables into the class.

	* src/frontends/xforms/forms/form_preferences.fd: Revert colour of
	inactive tab folder to FL_COL1. Haven't yet worked out how to change
	colour of active folder to lighter grey instead. Any takers?
	(form_colours): added an "Apply" button.
	(form_converters): added a "Flags" input field.
	(form_formats): added a "Shortcut" input field. Note that we can't use
	names such as "input_shortcut" as this buggers up the sed script stuff.

2000-11-07  Angus Leeming <a.leeming@ic.ac.uk>

	* src/LaTeXLog.C:
	* src/LyXSendto.C:
	* src/credits.C:
	* src/filedlg.C:
	* src/intl.C:
	* src/lyx_cb.C:
	* src/lyx_sendfax_main.C:
	* src/lyxfr0.C:
	* src/lyxvc.C:
	* src/spellchecker.C:
	* src/insets/figinset.C:
	* src/insets/insetbib.C:
	* src/insets/insetexternal.C:
	* src/insets/insetinclude.C:
	* src/insets/insetinfo.C:
	* src/mathed/math_panel.C:
	use FL_PLACE_MOUSE | FL_FREE_SIZE, FL_TRANSIENT in fl_show_form(), so
	all "daughter" dialogs now have identical "feel".
                                
2000-11-07  Angus Leeming <a.leeming@ic.ac.uk>

	* src/lyx_gui_misc.[Ch] (IgnoreCloseBoxCB): removed as it's no longer
	used (and was only used in one place prior to this patch. Incorrectly!)

	* src/frontends/xforms/FormDocument.C: changed some instances of
	FL_RETURN_ALWAYS to FL_RETURN_CHANGED as I think that this makes more
	sense. Also added fl_set_input_return() for class_->input_doc_extra and
	for options_->input_float_placement. This fixes a bug reported by
	Rob Lahaye.

	* src/frontends/xforms/FormGraphics.[Ch] (free): removed. Placed
	functionality into d-tor.

	* src/frontends/xforms/input_validators.c (fl_lowercase_filter): allow
	input of numerals also.

	* src/insets/insetinclude.C (Edit): use CancelCloseBoxCB in
	fl_set_form_atclose(). Can now close dialog from window manager,
	fixing a bug reported by Rob Lahaye.

2000-11-06  Angus Leeming <a.leeming@ic.ac.uk>

	* src/frontends/xforms/forms/form_preferences.fd: Inactive tab folders
	are no longer dark. Haven't yet worked out how to lighten the colour of
	the active tabfolder. Any ideas anybody?
	Adjusted Colours tab a little.
	Added Shortcut field to converters tab. Note that we can't create an
	fdesign label like "input_shortcut" as this buggers up the sed-script
	stuff.

	* src/frontends/xforms/FormPreferences.[Ch]:
	(feedback): fixed crash due to to ob=0.
	(LanguagesXXX): the kbmap choices now contain the files
	sytem_lyxdir/kbd/*.kmap. I think that these choices should eventually
	be replaced by an input with a file browse button, but since the browse
	buttons don'y yet work, this'll do for the moment.
	(FormatsXXX): think that this is now nearly fully functional.
	Some points/questions though:
	1. Does "Apply" remove formats if no longer present?
	2. I think that the browser should list the GUI names rather than the
	   format names.
	3. Must ensure that we can't delete Formats used by an existing
	   Converter.

	* src/support/filetools.[Ch] (DirList): new function. Not at all sure
	if this is the best way to do this.
                                                       
2000-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/reLyX/acinclude.m4 (RELYX_CHECK_ERRORS): remove useless message.

	* lib/configure.m4 (latex_to_html_command): avoid spaces around =
	for variable assignment.

2000-11-07 Rob Lahaye <lahaye@postech.edu>

	* src/lib/ui/default.ui: added sub/superscripts to menu as
	Insert->Special characters  and  cleaned-up the file a bit

2000-11-07  Allan Rae  <rae@lyx.org>

	* src/frontends/xforms/FormPreferences.C (feedback): make sure
	ob isn't 0 before using it.  See comments in function.

	* src/frontends/xforms/forms/fdfixc.sed: tiny spacing fix.

	* src/frontends/xforms/form_*.C: regenerated

2000-11-07  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/LaTeX.C (deplog): change reg1 to handle (/.../.../fil.sty)

	* config/lyxinclude.m4 (LYX_PROG_CXX): remove -fno-rtti when
	compiling with gcc-2.96

2000-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/support/lyxstring.C: add a couple "using" directives.

	* src/frontends/xforms/FormPreferences.C (ColoursLoadBrowser): add
	a .c_str() here too for good measure.
	* src/Spacing.C (set): ditto.
	* src/lyxfunc.C (Dispatch): ditto.

	* src/insets/insettabular.C (copySelection): change .str() to
	.str().c_str() to fix problems with lyxstring.
	* src/support/filetools.C (GetFileContents): ditto.
	* src/buffer.C (asciiParagraph): ditto.
	* src/paragraph.C (String): ditto.

	* lib/bind/fi_menus.bind: change symbol-insert to math-insert.
	* lib/bind/sciword.bind: ditto.

	* src/LyXAction.C (init): remove "symbol-insert" function, which
	shared LFUN_INSERT_MATH with "math-insert".

	* lib/configure.m4: == is not a valid operator for command test.

	* src/lyxrc.C: add using directive.

	* src/converter.h: add std:: qualifier.

2000-11-03   Dekel Tsur  <dekelts@tau.ac.il>

	* src/converter.[Ch] and other files: Change the Format class to a
	real class, and create two instances: formats and system_format.

	* src/lyxrc.C (output): Output the difference between formats and
 	system_formats.

	* src/frontends/xforms/FormPreferences.C (input): Simplify.
	(buildFormats): Insert formats into browser.
	(inputFormats): Made the browser and add button functional.
	(applyFormats): Update formats from format_vec.

	* src/converter.C: Changed all (*it). to it->
	(Format::dummy): New method.
	(Format::importer): New format flag.
	(Formats::GetAllFormats): New method.
	(Formats::Add): Delete format from the map if prettyname is empty.
	(Converter::Convert): Print an error message if moving the file fails.
	(Converter::GetReachableTo): New method

	* src/MenuBackend.[Ch]: Add support for importformats tag.

	* src/support/rename.C (rename): Call to lyx::copy if ::rename fails. 

	* lib/configure.m4: Add word->tex and ps->fax converters.

	* lib/ui/default.ui: Use ImportFormats on file->import menu.
	Return fax to file menu.

	* NEWS: Updated.

2000-11-04  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/frontends/xforms/FormPreferences.h (operator=): move out of RGB
	(operator!): ditto

	* src/frontends/xforms/FormPreferences.C (WriteableFile): simplify
	the use of FileInfo

	* src/lyxfunc.C (processKeyEvent): removed

	* src/bufferlist.C (emergencyWrite): removed the out commented
	emergency write code.

	* src/Makefile.am (lyx_main.o): add dep for commandtags.h

	* src/LyXView.[Ch]: remove the outcommented raw_callback code

	* many files: change formatting to be a bit more uniform for
	if,while,for,switch statements, remove some parantesis not needed.
	

2000-11-03  John Levon  <moz@compsoc.man.ac.uk>

	* config/kde.m4: make config more robust when KDEDIR is set
	
2000-11-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/xforms/Toolbar_pimpl.C: do not crash if mathed has
	not returned a pixmap for "math-insert".

	* src/LyXAction.C (init): sort the entries a bit.

2000-11-03  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.h: added fixed number to update codes so
	that update is only in one direction.

	* src/insets/insettabular.C (UpdateLocal): modified a bit don't think
	it matters.

	* src/insets/insettext.C (InsetButtonPress): set the_locking_inset
	before call to edit because of redraw.

	* src/insets/insetcollapsable.C (draw): fixed clearing too much.

2000-11-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/ui/default.ui: Populate "edit_float" menu

	* src/lyxfunc.C (Dispatch): implement LFUN_FLOATSOPERATE.

	* src/LyXAction.C (init): add new entry LFUN_FLOATSOPERATE, name
	"floats-operate". The name is ugly (and the func also), but this
	is just a band-aid until we switch to new insets.

2000-11-03  Rob Lahaye  <lahaye@postech.edu>

	* lib/ui/default.ui: update again the menu layout (fix some
	shortcuts). 

2000-11-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/MenuBackend.h (fulllabel): new method.

	* src/MenuBackend.C (checkShortcuts): new method. Checks whether
	the menu shortcuts of a menu are unique and whether they
	correspond to a letter of the label.
	(expand): call checkShortcuts when debugging.

2000-11-03  Andre Poenitz  <poenitz@HTWM.De>

	* src/insets/insettext.C (InsetButtonPress): shut off warning. 

2000-11-02  Lior Silberman  <lior@Princeton.EDU>

	* lib/examples/*.lyx : '\language default' => '\language english'
	
	* lib/examples/it_splash.lyx : except where it should be italian

	* lib/templates/*.lyx : the same

	* doc/*.lyx* : the same

2000-11-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/bind/menus.bind: remove the Layout menu entries, which I
	somehow forgot earlier.

2000-11-03  Rob Lahaye  <lahaye@postech.edu>

	* lib/ui/old-default.ui: keep the old one here for reference (to
	be deleted later).

	* lib/ui/default.ui: update the menu layout

2000-11-02  Angus Leeming <a.leeming@ic.ac.uk>

	* src/frontends/xforms/FormCitation.C: made use of ButtonController.
	Can now Apply to different insets without closing the dialog.

	* src/frontends/xforms/FormPreferences.C: new Colour and Format tabs.
	Can't actually DO anything with them yet, but I'd like a little
	feedback.

	* src/frontends/xforms/input_validators.[ch]
	(fl_lowercase_filter): new. 

2000-10-27   Dekel Tsur  <dekelts@tau.ac.il>

	* src/mathed/formulamacro.h (LyxCode) Return MATHMACRO_CODE instead
	of MATH_CODE. This fixes a bug with math-macros in RTL text.

	* src/text.C (PrepareToPrint): Show math-macros block aligned.

2000-11-02  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C (LocalDispatch): return a DISPATCHED_NOUPDATE
	on char insertion as it has already be updated by bv->updateInset().

	* src/insets/insettabular.C (UpdateInsetInInset): update the inset
	if an inset inside was updated.

	* lib/configure.cmd: commented out fax-search code 

2000-11-01  Yves Bastide  <stid@acm.org>

	* src/tabular.C (OldFormatRead): set tabular language to the
	document's one.

2000-11-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/reLyX/MakePreamble.pm (translate_preamble): fix reading of
	class names with non-letter characters (from Yves Bastide).

	* lib/ui/default.ui: change Item to OptItem in import menu.
	Comment out fax stuff.

	* lib/configure.m4: comment out fax-related stuff.

2000-10-31  Angus Leeming <a.leeming@ic.ac.uk>

	* src/frontends/xforms/xform_helpers.[Ch]: new files. Repository for
	useful xforms helper functions. At present contains only formatted().
	Input a string and it returns it with line breaks so that in fits
	inside the label.

	* src/frontends/xforms/Makefile.am: add new files.

	* src/lyxrc.[Ch] (getDescription): new name for getFeedback.
	* src/lyxrc.C (getDescription): Removed '\n's from strings. Corrected
	punctuation.

	* src/frontends/xforms/FormPreferences.[Ch]:
	* src/frontends/xforms/forms/form_preferences.fd: No new functionality
	but lots of little clean ups. Removed enum State. Make use of
	formatted(). Constify lots of methods. Perhaps best of all: removed
	requirement for that horrible reinterpret_cast from pointer to long in
	feedbackPost().

2000-11-02  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyxlookup.C: include FORMS_H_LOCATION to get at FL_REVISION,
	conditionalize build on xforms < 0.89

	* src/lyx_gui.C (LyXGUI): only close lyxlookup if not xforms 0.89

	* src/lyxfunc.C (getStatus): commenout LFUN_FAX

	* src/LyXAction.C (init): comment out fax

	* src/lyxrc.h: comment out the fax enums
	comment out the fax variables

	* src/commandtags.h: comment out LFUN_FAX

	* src/lyxrc.C: disable fax variables.
	(read): disable parsing of fax variables
	(output): disable writing of fax variables
	(getFeedback): now description for fax variables

	* src/lyxfunc.C: comment out MenuFax
	(Dispatch): disable LFUN_FAX

	* src/lyx_cb.C (MenuFax): comment out

	* src/WorkArea.C: add <cctype>
	(work_area_handler): better key handling, should be ok now.
	for accented chars + etc

	* src/Makefile.am (lyx_SOURCES): remove lyx_sendfax.C
	lyx_sendfax.h and lyx_sendfax_man.C

	* src/LyXView.C: don't include lyxlookup.h when using xforms 0.89
	(show): don't call InitLyXLookup when using xforms 0.89

2000-11-01  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/trans.C (AddDeadkey): better fix, the other one could crash...

	* src/support/filetools.C (GetFileContents): close to dummy change

2000-10-31  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/trans.C (AddDeadkey): workaround stupid compilers.

2000-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/xforms/FormDocument.C (class_update): fix setting
	of two-sided document.

2000-10-31  Juergen Vigna  <jug@sad.it>

	* src/WorkArea.C (work_area_handler): honor xforms 0.88 defines.

	* src/insets/insettabular.C (ActivateCellInset): passed the wrong
	xposition to the Edit call.

2000-10-31  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/trans.C (AddDeadkey): cast explicitly to char.

2000-10-30  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/tabular.C (AsciiBottomHLine): simplify?
	(AsciiTopHLine): simplify?
	(print_n_chars): simplify
	(DocBook): remove most of the << endl; we should flush the stream
	as seldom as possible.
	(Latex): ditto
	(TeXBottomHLine): ditto
	(TeXTopHLine): ditto
	(Write): formatting
	(write_attribute): try a templified version.
	(set_row_column_number_info): lesson scope of variables

	* src/support/lstrings.h (tostr): new specialization of tostr

	* src/trans.C (AddDeadkey): slightly cleaner fix.

2000-10-28  Dekel Tsur  <dekelts@tau.ac.il>

	* src/frontends/xforms/Menubar_pimpl.C (add_toc): Replace '%' by
	'%%' in Toc menu labels.
	(add_toc2): ditto

	* src/insets/insetlatexaccent.C (draw): Correct rendering when
	font_norm is iso10646-1.

	* src/font.C (ascent): Fixed for 16bit fonts
	(descent,lbearing,rbearing): ditto

2000-10-30  Angus Leeming <a.leeming@ic.ac.uk>

	* src/lyxrc.C.[Ch]: moved LyXRCTags into public part of header file.
	(getFeedback): new static method.

	* src/frontends/xforms/FormPreferences.[Ch]: one or two new inputs.
	Now use combox rather than choice to display languages.
	Feedback is now output using a new timer callback mechanism, identical
	to that in Toolbar_pimpl. Individual messages obtained from lyxrc.

2000-10-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/minibuffer.C: fix for older compilers

2000-10-30  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C (InsertInset): fixed this as the cursor
	has to be Left of the inset otherwise LyXText won't find it!

	* src/BufferView2.C (open_new_inset): delete the inset if it can
	not be inserted.

2000-10-30  Rob Lahaye  <lahaye@postech.edu>

	* lyx.man: fix typo.

2000-10-29  Marko Vendelin <markov@ioc.ee>
	* src/frontends/gnome/FormCitation.C
	* src/frontends/gnome/FormCitation.h
	* src/frontends/gnome/FormCopyright.C
	* src/frontends/gnome/FormCopyright.h
	* src/frontends/gnome/FormError.C
	* src/frontends/gnome/FormError.h
	* src/frontends/gnome/FormIndex.C
	* src/frontends/gnome/FormIndex.h
	* src/frontends/gnome/FormPrint.C
	* src/frontends/gnome/FormPrint.h
	* src/frontends/gnome/FormRef.C
	* src/frontends/gnome/FormRef.h
	* src/frontends/gnome/FormToc.C
	* src/frontends/gnome/FormToc.h
	* src/frontends/gnome/FormUrl.C
	* src/frontends/gnome/FormUrl.h
	* src/frontends/gnome/Menubar_pimpl.C
	* src/frontends/gnome/mainapp.C
	* src/frontends/gnome/mainapp.h
	* src/frontends/gnome/pixbutton.h: replacing NULL with 0 and
	changing update() to updateSlot() where appropriate

2000-10-27  Angus Leeming <a.leeming@ic.ac.uk>

	* src/frontends/xforms/FormPreferences.[Ch]:
	* src/frontends/xforms/forms/form_preferences.fd: added a Languagues
	tab.

2000-10-28  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (draw): fixed drawing bug.

	* src/insets/insettext.C (clear): 
	(Read): 
	(SetParagraphData): clearing the TEXT buffers when deleting the
	paragraphs used by it.

	* src/BufferView_pimpl.C (cursorNext): fixed PageDown problem.

	* src/trans.C (AddDeadkey): fixed bug in inizializing keymap array.

2000-10-27  Juergen Vigna  <jug@sad.it>

	* src/tabular.C (~LyXTabular): removed not needed anymore.

	* src/tabular.h: changed rowofcell and columnofcell to vector<int>
	(from Andre).

2000-10-27  Angus Leeming <a.leeming@ic.ac.uk>

	* src/frontends/Dialogs.h: remove hideTabular signal as it is no
	longer used.

	* src/frontends/xforms/FormRef.[Ch]: fix bug when setting the min
	size. 

	* src/frontends/xforms/FormPreferences.[Ch]:
	* src/frontends/xforms/forms/form_preferences.fd: lots and lots!
	Reorganised as modules based on tabs. Much easier to follow the
	flow and to add new tabs. Added warning and feedback messages.
	Added new tabs.

2000-10-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/tabular.h (DocBook): add std:: qualifier.

2000-10-26  Jos Ablio Matos <jamatos@fep.up.pt>

	* src/buffer.h (SimpleDocBookOnePar): becomes public and const.
	* src/buffer.C (SimpleDocBookOnePar): this method goes const.

	* insettabular.h
	* insettabular.C (DocBook): uses the tabular methods to export
	docbook

	* src/insets/insettext.h
	* src/insets/insettext.C (DocBook): Implemented export for docbooc.

2000-10-26  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/frontends/ButtonPolicies.h (operator<<): reinsert for State
	and SMInput

	* src/lyxfunc.C (MenuNew): lessen the scope of fname
	moved misplaced AllowInput two lines up.

	* src/buffer.C (readFile): compare float with float, not with int

2000-10-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/minibuffer.C: add "using SigC::slot" statement.

2000-10-25  Angus Leeming <a.leeming@ic.ac.uk>

	* src/frontends/xforms/forms/README: updated section about make.

	* src/frontends/xforms/forms/form_*.fd: lots and lots of shortcuts.
	Tidied some forms up, made two of form_tabular's tabs more
	self-consistent, fixed Jean-Marc's size problem in form_preferences,
	fixed translation problem with "Column".
	
2000-10-25  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/minibuffer.h: use Timeout instead of the xforms timer
	object. 
	(setTimer) rewrite for the Timeout, change to unsigned arg
	(set): change to unsigned timer arg
	(TimerCB): remove

	* src/minibuffer.C (TimerCB): removed func 
	(C_MiniBuffer_TimerCB): removed func 
	(C_MiniBuffer_ExecutingCB): rewrite to not depend on TimerCB
	(peek_event): use a switch statement
	(add): don't use fl_add_timer.
	(Set): rewrite to use the Timeout
	(Init): ditto

	* src/Timeout.[Ch] (setType): return a Timeout &
	(setTimeout): ditto, change to unsigned arg for timeout

2000-10-25  Dekel Tsur  <dekelts@tau.ac.il>

	* src/mathed/formula.C (mathed_string_width): Use string instead
	of a constant size char array.

2000-10-25  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/frontends/ButtonPolicies.h: remove the LOstream and remove
	the two recently added operator<< for SMInput and State.

	* src/frontends/ButtonPolicies.C (PreferencesPolicy): cast
	SMI_TOTAL to int.
	(OkCancelPolicy): ditto
	(OkCancelReadOnlyPolicy): ditto
	(NoRepeatedApplyReadOnlyPolicy): ditto
	(OkApplyCancelReadOnlyPolicy): ditto
	(OkApplyCancelPolicy): ditto
	(NoRepeatedApplyPolicy): ditto

2000-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/ButtonPolicies.h: include "support/LOstream.h" and
	add the usual std:: qualifiers.

2000-10-25  Juergen Vigna  <jug@sad.it>

	* src/screen.C (ShowManualCursor): fixed another uint -> int problem.

2000-10-25  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/filetools.C (MakeRelPath): change some types to
	string::size_type 

	* src/frontends/ButtonPolicies.h (operator<<): new operator for
	ButtonPolicy::SMInput and ButtonPolicy::State.

	* src/FontLoader.C (reset): small cleanup
	(unload): small cleanup

	* src/FontInfo.C (getFontname): initialize error to 10000.0

2000-10-24  Angus Leeming <a.leeming@ic.ac.uk>
	
	* src/frontends/xforms/FormPreferences.[Ch]:
	* src/frontends/xforms/forms/form_preferences.fd: added spell checker,
	TeX encoding and default paper size sections.
	
2000-10-24  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/frontends/xforms/FormTabularCreate.C: add missing #pragma
	implementation 

	* src/frontends/xforms/FormError.C (disconnect): use erase() to
	make the message_ empty.
	(FormError): don't initialize message_ in initializer list.

2000-10-24  Angus Leeming <a.leeming@ic.ac.uk>
	
	* src/frontends/xforms/FormInset.[Ch]: Aieeeeee! Ok, I'm an idiot. 
	
2000-10-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/kbd/latvian.kmap: new file from Janne Pnkl (epa@iki.fi)

2000-10-24  John Levon  <moz@compsoc.man.ac.uk>

	* src/frontends/kde/*data.[Ch]: _("") is not
	allowed

2000-10-24  Angus Leeming <a.leeming@ic.ac.uk>

	* src/buffer.C: removed redundant using directive.

	* src/frontends/DialogBase.h: revert to original definition of
	update(). 
	
	* src/frontends/xforms/Dialogs.C (c-tor): splitting the tabular
	stuff into two classes, one for each dialog, requires a new
	element in the dialogs vector, FormTabularCreate.

	* src/frontends/xforms/FormXXX.[Ch] (update): revert to original
	definition.

	* src/frontends/xforms/FormBase.[Ch] (FormBaseBD::updateSlot): new
	method. Continues Allan's idea, but means that derived classes
	don't need to worry about "update or hide?".

	* src/frontends/xforms/FormError.C (showInset): add connection
	again ;-) 

	* src/frontends/xforms/FormTabular.[Ch]: split into two classes,
	one for each dialog. FormTabular now contains main tabular dialog
	only.

	* src/frontends/xforms/FormTabularCreate.[Ch]:
	* src/frontends/xforms/forms/form_tabular_create.fd: the create
	dialog. 

	* src/frontends/xforms/FormGraphics.[Ch]:
	* src/frontends/xforms/forms/form_graphics.fd
	* src/frontends/xforms/FormTabular.[Ch]:
	* src/frontends/xforms/forms/form_tabular.fd: made daughter
	classes of FormInset.

	* src/frontends/xforms/forms/fdfix.sh: small fix. Can now create
	class names properly. Eg, form_my_new_dialog -> FormMyNewDialog.

	* src/frontends/xforms/Makefile.am:
	* src/frontends/xforms/forms/makefile: added new files.

	* src/insets/insettabular.[Ch]: removed (Dialogs *) member
	variable. added Signal0 hide signal, in keeping with other GUI-I
	insets.

	* src/support/lstrings.h: removed redundant std:: qualifier as
	it's already declared in Lsstream.h.

2000-10-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/insets/figinset.C (GhostscriptMsg): use DisplayString() to
	open a new display.
	(runqueue): ditto.

2000-10-24  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/tabular.C (Ascii): minimize scope of cell.

	* src/BufferView2.C (nextWord): return string() instead of 0;

2000-10-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/converter.h: add a std:: qualifier

2000-10-21  Dekel Tsur  <dekelts@tau.ac.il>

	* src/importer.[Ch]: New files. Used for importing files into LyX.

	* src/lyxfunc.C (doImport): Use the new Importer class.

	* src/converter.h: Add shortcut member to the Format class.
	Used for holding the menu shortcut.

	* src/converter.C and other files: Made a distinction between
	format name and format extension. New formats can be defined using
	the \format lyxrc tag.
	Added two new converter flags: latex and disable.

2000-10-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/support/lyxlib.h: unify namespace/struct implementation.
	Remove extra declarations.
	
	* src/support/chdir.C (chdir): remove version taking char const *
	argument. 
	* src/support/rename.C: ditto.
	* src/support/lyxsum.C: ditto.

2000-10-19  Angus Leeming <a.leeming@ic.ac.uk>

	* src/frontends/xforms/FormBase.[Ch]:
	* src/frontends/xforms/FormXXX.[Ch] where XXX is a FormBase daughter:
	read the xforms manual to discover that fl_set_form_minsize()/maxsize()
	work only for the next call to fl_show_form(). The correct place to set
	them, therefore is in connect() immediately BEFORE fl_show_form(). Now
	done. FormBase also stores minw_, minh_ itself. All dialogs derived
	from FormBase have the minimum size set; no more stupid crashes with
	tabbed folders etc.

2000-10-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/ui/default.ui: fix shortcut for Insert->Include File.

2000-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/CREDITS: add Andre' Poenitz and Kornelia Pietsch

	* src/support/lyxlib.h: changed second argument of mkdir to
	unsigned long int (unsigned int would probably have been enough,
	but...). Removed <sys/types.h> header.
	* src/support/mkdir.C (mkdir): ditto.

	* NEWS: update.

2000-10-19  Juergen Vigna  <jug@sad.it>

	* src/lyxfunc.C (MenuNew): small fix (form John)

	* src/screen.C (Update): removed unneeded code.

	* src/tabular.C (Ascii): refixed int != uint bug!

	* src/support/lyxlib.h: added sys/types.h include for now permits
	compiling, but I don't like this!

2000-10-18  Juergen Vigna  <jug@sad.it>

	* src/text2.C (ClearSelection): if we clear the selection we need
	more refresh so set the status apropriately

	* src/insets/insettext.C (draw): hopefully finally fixed draw
	problems!

2000-10-12  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C (draw): another small fix and make a block
	so that variables are localized.

2000-10-18  Angus Leeming <a.leeming@ic.ac.uk>

	* src/support/lstrings.C (lowercase, uppercase):
	use explicit casts to remove compiler warnings.

	* src/support/LRegex.C (Impl):
	* src/support/StrPool.C (add):
	* src/support/filetools.C (MakeAbsPath, NormalizePath, MakeRelPath)
	(AddPath, MakeDisplayPath):
	* src/support/lstrings.C (prefixIs, subst):
	use correct type to remove compiler warnings.

	* src/support/lstrings.[Ch] (countChar): returns string::size_type.

	* src/support/lyxlib.h:
	* src/support/mkdir.C (mkdir): change parameter to mode_t for
	portability and to remove compiler warning with DEC cxx.

	* src/support/FileInfo.[Ch] (flagRWX): ditto.

2000-10-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/minibuffer.C (peek_event): retun 1 when there has been a
	mouseclick in the minibuffer.

	* NEWS: updated.

2000-10-17  John Levon  <moz@compsoc.man.ac.uk>

	* src/frontends/xforms/FormParagraph.C: more space above/below
	fixes

2000-10-17  Dekel Tsur  <dekelts@tau.ac.il>

	* src/lyxfunc.C (Dispatch): Call to showState() after insertion of 
	a char only if real_current_font was changed.

2000-10-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* NEWS: update somewhat for 1.1.6

	* lib/ui/default.ui: clean up.

2000-10-17  Angus Leeming <a.leeming@ic.ac.uk>

	* lib/CREDITS: clean up

2000-10-16  Angus Leeming <a.leeming@ic.ac.uk>

	* src/combox.[Ch] (select): changed argument back to int
	* src/combox.C (peek_event): removed num_bytes as it is declared but
	never referenced.

	* src/frontends/xforms/FormDocument.C (class_apply, bullets_apply):
	modified calls to Combox::select() to remove warnings about type
	conversion.

	* src/insets/insetbutton.C (width): explicit cast to remove warning
	about type conversion.

	* src/insets/insetcite.C (getScreenLabel): use string::size_type not
	size_t.

	* src/insets/insettabular.[Ch]: variables inset_pos, sel_pos_start and
	sel_pos_end, refering to cursor position are changed to
	LyXParagraph::size_type.

	* src/insets/insettext.h (cpos): returns LyXParagraph::size_type,
	consistent with LyXCursor::pos().
	(inset_pos): changed to LyXParagraph::size_type for same reason.

	* src/insets/insettext.C (resizeLyXText): changed some temporary
	variables refing to cursor position to LyXParagraph::size_type.

2000-10-16  John Levon  <moz@compsoc.man.ac.uk>

	* src/frontends/kde/<various>: The Great Renaming,
	add FormParagraph

2000-10-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/support/Makefile.am (EXTRA_DIST): re-fix.

2000-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/mathed/math_macro.C (MathMacroTemplate): initialize args to
	0 when there are no arguments.

2000-10-16  Angus Leeming <a.leeming@ic.ac.uk>

	* src/insets/insetbib.C: re-introduce current_view as a temporary fix
	to segfaults when pressing Ok in InsetBibtex dialog.

2000-10-16  Angus Leeming <a.leeming@ic.ac.uk>

	* forms/layout_forms.fd:
	* src/layout_forms.C (create_form_form_character): small change to use
	labelframe rather than engraved frame + text

	* src/lyx_gui.C (create_forms): initialise choice_language with some
	arbitrary value to prevent segfault when dialog is shown.

2000-10-16  Baruch Even  <baruch.even@writeme.com>

	* src/converter.C (runLaTeX, scanLog): Added a warning when there
	is no resulting file. This pertains only to LaTeX output.

2000-10-14  Dekel Tsur  <dekelts@tau.ac.il>

	* src/text.C (Backspace): Make sure that the row of the cursor is
	rebreaked.

	* src/lyxfunc.C (Dispatch): Call to showState() after insertion of 
	a char.

	* src/lyx_gui.C (init): Prevent a crash when only one font from 
	menu/popup fonts is not found.

	* lib/lyxrc.example: Add an example for binding a key for language 
	switching.

2000-10-15  Dekel Tsur  <dekelts@tau.ac.il>

	* src/converter.C (GetReachable): Changed the returned type to
	vector<FormatPair>
	(IsReachable): New method

	* src/MenuBackend.C (expand): Handle formats that appear more
	than once

2000-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/support/Makefile.am
	(libfrontendsupport_la_EXTRA_DIST): add LyXImage_X.[Ch] here and
	not in SOURCES.

	* lib/CREDITS: add Garst Reese.

	* src/support/snprintf.h: add extern "C" {} around the definitions.

	* src/cheaders/cstdarg: new header file, taken from GNU libstdc++.

2000-10-13  Angus Leeming <a.leeming@ic.ac.uk>

	* src/combox.[Ch]:
	* src/frontends/xforms/FormDocument.C:
	* src/frontends/xforms/Menubar_pimpl.C: small changes so that they
	compile without "conversion to integral type of smaller size"
	warnings.
	
2000-10-13  Dekel Tsur  <dekelts@tau.ac.il>

	* src/text.C (GetColumnNearX): Fixed disabled code.

2000-10-13  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* configure.in (CPPFLAGS): add snprintf and vsnprintf to
	AC_CHECK_FUNCS

	* src/support/snprintf.[ch]: new files

2000-10-13  John Levon  <moz@compsoc.man.ac.uk>

	* src/frontends/kde/formprintdialog.C: add
	file browser for selecting postscript output

	* src/frontends/kde/formprintdialogdata.C:
	* src/frontends/kde/formprintdialogdata.h: re-generate
	correctly

2000-10-13  John Levon  <moz@compsoc.man.ac.uk>

	* src/frontends/gnome/Makefile.am:
	* src/frontends/kde/Makefile.am:  FormCommand.C
	disappeared from xforms

	* src/frontends/kde/FormCitation.C:
	* src/frontends/kde/FormIndex.C: read-only
	correctness 

2000-10-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/support/lyxfunctional.h (void_class_fun_t): fix name of
	constructor. 

	* src/bufferlist.C: add using directive.

2000-10-13  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/lyxfunctional.h: version of class_fun for void
	returns added, const versions of back_inseter_fun and compare_fun
	added.	

2000-10-13  Angus Leeming <a.leeming@ic.ac.uk>

	* src/frontends/xforms/FormInset.C (showInset): fix typo.

2000-10-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* ChangeLog: cleanup.

	* lib/CREDITS: update to add all the contributors we've forgotten.
	I have obviously missed some, so tell me whether there were
	errors.

2000-10-13  Marko Vendelin <markov@ioc.ee>

	* src/frontends/gnome/FormCitation.C
	* src/frontends/gnome/FormCitation.h
	* src/frontends/gnome/FormError.C
	* src/frontends/gnome/FormIndex.C
	* src/frontends/gnome/FormRef.C
	* src/frontends/gnome/FormRef.h
	* src/frontends/gnome/FormUrl.C: hide dialogs on "update" signal

	* src/frontends/gnome/FormCitation.C
	* src/frontends/gnome/FormCopyright.C
	* src/frontends/gnome/FormError.C
	* src/frontends/gnome/FormIndex.C
	* src/frontends/gnome/FormRef.C
	* src/frontends/gnome/FormToc.C
	* src/frontends/gnome/FormUrl.C: replacing gettext N_() with _() where
	appropriate.
	
	* src/frontends/gnome/Menubar_pimpl.C
	* src/frontends/gnome/Menubar_pimpl.h: using new Menu::expand method to
	fill the menus.

2000-10-11  Baruch Even  <baruch.even@writeme.com>

	* src/minibuffer.h:
	* src/minibuffer.C: Changed the method ExecCommand to PrepareForCommand
	to convey its real action. 

	* src/minibuffer.C (peek_event): Added action when mouse clicks to
	clear the minibuffer and prepare to enter a command.

	* src/mathed/formula.C (LocalDispatch): Changed to conform with
	the rename from ExecCommand to PrepareForCommand.
	* src/lyxfunc.C (Dispatch): ditto.

2000-10-11  Baruch Even  <baruch.even@writeme.com>

	* src/buffer.C (writeFile): Added test for errors on writing, this
	catches all errors and not only file system full errors as intended.

2000-10-13  Dekel Tsur  <dekelts@tau.ac.il>

	* src/lyx_gui.C (create_forms): better fix for crash with
	translated interface.
	
2000-10-12  John Levon  <moz@compsoc.man.ac.uk>

	* src/frontends/kde/Makefile.am:
	* src/frontends/kde/FormCopyright.C:
	* src/frontends/kde/formcopyrightdialog.C:
	* src/frontends/kde/formcopyrightdialog.h:
	* src/frontends/kde/formcopyrightdialogdata.C:
	* src/frontends/kde/formcopyrightdialogdata.h:
	* src/frontends/kde/dlg/formcopyrightdialog.kdevdlg:
	* src/frontends/kde/dlg/formcopyrightdialog.dlg: convert
	copyright to use qtarch

2000-10-12  Dekel Tsur  <dekelts@tau.ac.il>

	* src/encoding.C (read): Fixed bug that caused an error message at 
	the end of the file.

	* po/Makefile.in.in: Fixed rule for ext_l10n.h

	* lib/lyxrc.example: Fixed hebrew example.

2000-10-13  Allan Rae <rae@lyx.org>

	* src/frontends/xforms/FormPreferences.C (input): reworking the
	checking 
	(build, update, apply): New inputs in various tabfolders

	* src/frontends/xforms/FormToc.C: use new button policy.
	* src/frontends/ButtonPolicies.h (class IgnorantPolicy): for
	dialogs that either can't use any existing policy or where it just
	doesn't care. 

	* src/frontends/xforms/FormTabular.h: removed copyright notice that
	said it was mine.

	* src/lyx_gui_misc.[Ch] (updateAllVisibleBufferRelatedDialogs):
	added a bool parameter which is ignored.

	* src/buffer.C (setReadonly):
	* src/BufferView_pimpl.C (buffer): 
	* src/frontends/kde/FormCopyright.h (update): 
	* src/frontends/kde/FormCitation.[Ch] (update): 
	* src/frontends/kde/FormIndex.[Ch] (update): 
	* src/frontends/kde/FormPrint.[Ch] (update): 
	* src/frontends/kde/FormRef.[Ch] (update): 
	* src/frontends/kde/FormToc.[Ch] (update): 
	* src/frontends/kde/FormUrl.[Ch] (update): 
	* src/frontends/gnome/FormCopyright.h (update): 
	* src/frontends/gnome/FormCitation.[Ch] (update): 
	* src/frontends/gnome/FormError.[Ch] (update): 
	* src/frontends/gnome/FormIndex.[Ch] (update): 
	* src/frontends/gnome/FormPrint.[Ch] (update): 
	* src/frontends/gnome/FormRef.h (update): 
	* src/frontends/gnome/FormToc.[Ch] (update): 
	* src/frontends/gnome/FormUrl.[Ch] (update): 
	* src/frontends/xforms/FormGraphics.[Ch] (update): reflect new changes
	to updateBufferDependent and DialogBase

	* src/frontends/xforms/FormCitation.[hC]: 
	* src/frontends/xforms/FormDocument.[hC]: also removed restore()
	* src/frontends/xforms/FormError.[Ch]: 
	* src/frontends/xforms/FormGraphics.[Ch]: 
	* src/frontends/xforms/FormIndex.[Ch]: 
	* src/frontends/xforms/FormParagraph.[Ch]: also added missing "virtual"s
	and fixed readOnly handling.
	* src/frontends/xforms/FormPrint.[Ch]: 
	* src/frontends/xforms/FormRef.[Ch]: 
	* src/frontends/xforms/FormTabular.[Ch]:
	* src/frontends/xforms/FormToc.[Ch]:
	* src/frontends/xforms/FormUrl.[Ch]: 
	* src/frontends/xforms/FormInset.[Ch]:
	* src/frontends/xforms/FormBase.[hC]: modifications to use the new
	form of updateBufferDependent.

	* src/frontends/xforms/FormBase.C (hide): only call disconnect()
	if form()->visible just in case someone does stuff to the form in a
	derived class.

	* src/frontends/DialogBase.h (enum): removed enum since we can now use
	the buttoncontroller for everything the enum used to be used for.
	(update) It would seem we need to force all dialogs to use a bool
	parameter or have two update functions.  I chose to go with one.
	I did try removing update() from here and FormBase and defining the
	appropriate update signatures in FormBaseB[DI] but then ran into the
	problem of the update() call in FormBase::show().  Whatever I did
	to get around that would require another function and that just
	got more confusing.  Hence the decision to make everyone have an
	update(bool). An alternative might have been to override show() in
	FormBaseB[DI] and that would allow the different and appropriate
	update signatures. 

	* src/frontends/Dialogs.h (updateBufferDependent): now takes a bool.
	true == buffer change occurred.  I decided against using a default
	template parameter since not all compilers support that at present.

2000-10-11  Angus Leeming <a.leeming@ic.ac.uk>

	* src/frontends/xforms/FormBase.[Ch] (FormBase) : made less of a "swiss
	army knife" by removing functionality.
	(clearStore): removed. All such housekeeping on hide()ing the dialog
	is to be carried out by overloaded disconnect() methods.
	(dialogIsOpen): removed. Relevant only to Inset dialogs anyway, but
	superceded by Baruch's neat test (FormGraphics) to update an existing
	dialog if a new signal is recieved rather than block all new signals
	until it is closed.
	(cba_, parent_, updateOrHide): removed to new FormInset class. Relevant
	only to Inset dialogs.
	(FormBaseBI, FormBaseBD): new classes derived from FormBase for
	"Buffer Independent" and "Buffer Dependent" dialogs respectively.

	* src/frontends/xforms/FormCommand.[Ch]: renamed as FormInset.[Ch]

	* src/frontends/xforms/FormInset.[Ch] (FormInset): New class, defined
	as a base class to all inset dialogs. Used solely to connect/disconnect
	the Inset::hide signal and to define what action to take on receipt of
	a UpdateBufferDependent signal.
	(FormCommand): now derived from FormInset.

	* src/frontends/xforms/FormCitation.[Ch] (clearStore): reworked as
	disconnect().

	* src/frontends/xforms/FormCopyright.[Ch]:
	* src/frontends/xforms/FormPreferences.[Ch]:
	now derived from FormBaseBI.

	* src/frontends/xforms/FormDocument.[Ch]:
	* src/frontends/xforms/FormParagraph.[Ch]:
	* src/frontends/xforms/FormPrint.[Ch]:
	now derived from FormBaseBD.

	* src/frontends/xforms/FormError.[Ch]: now derived from FormInset.

	* src/frontends/xforms/FormCitation.[Ch]:
	* src/frontends/xforms/FormError.[Ch]:
	* src/frontends/xforms/FormRef.[Ch]:
	* src/frontends/xforms/FormToc.[Ch]:
	(clearStore): reworked as disconnect().

	* src/frontends/xforms/Makefile.am: removed FormCommand.[Ch], adding
	FormInset.[Ch].

2000-10-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/converter.C (runLaTeX): constify buffer argument
	(scanLog): ditto.

	* src/frontends/support/Makefile.am (INCLUDES): fix.

	* src/buffer.h: add std:: qualifier
	* src/insets/figinset.C (addpidwait): ditto
	* src/MenuBackend.C: ditto
	* src/buffer.C: ditto
	* src/bufferlist.C: ditto
	* src/layout.C: ditto
	* src/lyxfunc.C: ditto

2000-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxtext.h (bidi_level): change return type to
	LyXParagraph::size_type. 

	* src/lyxparagraph.h: change size_type to
	TextContainer::difference_type. This should really be
	TextContainer::size_type, but we need currently to support signed
	values. 

2000-10-11  Marko Vendelin <markov@ioc.ee>
	* src/frontends/gnome/FormError.h
	* src/frontends/gnome/FormRef.C
	* src/frontends/gnome/FormRef.h
	* src/frontends/gnome/FormError.C
	* src/frontends/gnome/Makefile.am
	* src/frontends/gnome/pixbutton.h: FormError and FormRef are ported 
	to Gnome frontend. Both dialogs	use "action" area.

2000-10-12  Baruch Even  <baruch.even@writeme.com>

	* src/graphics/GraphicsCacheItem_pimpl.C:
	* src/graphics/Renderer.C:
	* src/graphics/XPM_Renderer.C: Corrected resolution of conflicts.
	It now compiles.

2000-10-12  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C (draw): fixed drawing bug (specifically
	visible when selecting).

	* development/Code_rules/Rules: fixed some typos.

2000-10-09  Baruch Even  <baruch.even@writeme.com>

	* src/filedlg.C (GroupCache::find): de-inlined the function, makes
	compiling on egcs 1.1.2 possible.
	
	* src/filedlg.C (comp_direntry::operator() ): ditto.

2000-08-31  Baruch Even  <baruch.even@writeme.com>

	* src/lyx_cb.[hC] (ShowMessage): Result of the const-ificiation of the 
	Buffer parameter.

	* src/frontends/xforms/FormGraphics.C: Changed the dialog to be
	transient it now only gets freed when the object is destructed.

2000-08-24  Baruch Even  <baruch.even@writeme.com>

	* src/frontends/FormGraphics.h:
	* src/frontends/FormGraphics.C: Changed to use ButtonController and
	ButtonPolicies.

2000-08-20  Baruch Even  <baruch.even@writeme.com>

	* src/insets/insetgraphics.C:
	(draw): Added messages to the drawn rectangle to report status.
	(updateInset): Disabled the use of the inline graphics,
	(draw): ditto.

2000-08-17  Baruch Even  <baruch.even@writeme.com>

	* src/frontends/support: Directory added for the support of GUII LyX.

	* src/frontends/support/LyXImage.h:	
	* src/frontends/support/LyXImage.C:  Base class for GUII holding of
	images.

	* src/frontends/support/LyXImage_X.h:
	* src/frontends/support/LyXImage_X.C: Implementation of the Xlib
	version of LyXImage, this uses the Xlib Pixmap.

	* src/PainterBase.h:
	* src/PainterBase.C:
	* src/Painter.h:
	* src/Painter.C: Added a new method image() to draw LyXImage-s, a GUII 
	replacement	to Pixmap.

	* src/insets/insetgraphics.h:
	* src/insets/insetgraphics.C:
	* src/graphics/GraphicsCacheItem.h:
	* src/graphics/GraphicsCacheItem.C:
	* src/graphics/GraphicsCacheItem_pimpl.h:
	* src/graphics/GraphicsCacheItem_pimpl.C: Changed to use LyXImage
	instead  of Pixmap.

	* src/graphics/GraphicsCacheItem.h:
	* src/graphics/GraphicsCacheItem.C: Added the Clone() method to create 
	another copy of the object.

	* src/insets/insetgraphics.C (Clone): Changed to create a second copy
	of cacheHandle, this fixed a bug that sent LyX crashing.

	* src/graphics/XPM_Renderer.h:
	* src/graphics/XPM_Renderer.C:
	* src/graphics/EPS_Renderer.h:
	* src/graphics/EPS_Renderer.C: Changed to Unix LF from DOS CRLF.

2000-10-12  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyxfunc.C (processKeySym): only handle the
	lockinginset/inset stuff if we have a buffer and text loaded...

	* lib/Makefile.am (EXTRA_DIST): add encodings and languages

2000-10-12  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/lyxfunctional.h: add operator= that takes a reference

	* src/lyxserver.C (mkfifo): make first arg const

	* src/layout.h: renamed name(...) to setName(...) to work around
	bugs in egcs.

	* src/buffer.C (setFileName): had to change name of function to
	work around bugs in egcs. (renamed from fileName) 

2000-10-11  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/translator.h: move helper template classes to
	lyxfunctional.h, include "support/lyxfunctional.h"

	* src/support/lyxmanip.h: add delaration of fmt

	* src/support/lyxfunctional.h: new file
	(class_fun_t): new template class
	(class_fun): helper template function
	(back_insert_fun_iterator): new template class
	(back_inserter_fun): helper template function
	(compare_memfun_t): new template class
	(compare_memfun): helper template function
	(equal_1st_in_pair): moved here from translator
	(equal_2nd_in_pair): moved here from translator

	* src/support/fmt.C: new file
	(fmt): new func, can be used for a printf substitute when still
	using iostreams ex. lyxerr << fmt("Hello %s", "Jrgen") << endl;

	* src/support/StrPool.C: add some comments

	* src/support/Makefile.am (libsupport_la_SOURCES): add fmt.C and
	lyxfunctional.h

	* src/insets/figinset.C (addpidwait): use std::copy with
	ostream_iterator to fill the pidwaitlist

	* src/graphics/XPM_Renderer.C (renderImage): use ScreenOfDisplay

	* src/frontends/xforms/Toolbar_pimpl.C (updateLayoutList): remove
	c_str() 

	* src/frontends/xforms/Menubar_pimpl.C: make several file scope
	variables static

	* src/frontends/xforms/FormParagraph.C (input): use lyx::atoi

	* src/frontends/xforms/FormDocument.C (build): remove c_str()
	(class_update): ditto
	(BulletPanel): ditto
	(CheckChoiceClass): move initialization of tc and tct

	* src/tabular.C: remove current_view
	(OldFormatRead): similar to right below [istream::ignore]

	* src/lyxlex_pimpl.C (next): add code for faster skipping of
	chars, unfortunately this is buggy on gcc 2.95.2, so currently
	unused [istream::ignore]

	* src/lyxfunc.C: include "support/lyxfunctional.h"
	(getInsetByCode): use std::find_if and compare_memfun

	* src/lyxfont.C (stateText): remove c_str()

	* src/lyx_main.C (setDebuggingLevel): make static
	(commandLineHelp): make static

	* src/lyx_gui_misc.C (getScreenDPI): use ScreenOfDisplay to get
	Screen* together with fl_get_display() and fl_screen

	* src/lyx_gui.C (LyXGUI): use ScreenOfDisplay to get Screen*
	togheter with fl_get_display() and fl_screen
	(create_forms): remove c_str()

	* src/layout.C: include "support/lyxfunctional.h"
	(hasLayout): use std::find_if and compare_memfun
	(GetLayout): use std::find_if and comapre_memfun
	(delete_layout): use std::remove_if and compare_memfun
	(NumberOfClass): use std:.find_if and compare_memfun

	* src/gettext.h: change for the new functions

	* src/gettext.C: new file, make _(char const * str) and _(string
	const & str) real functions.

	* src/font.C (width): rewrite slightly to avoid one extra variable

	* src/debug.C: initialize Debug::ANY here

	* src/commandtags.h: update number comments

	* src/combox.h (get): make const func
	(empty): make const
	(getline): make const

	* src/combox.C (input_cb): handle case where fl_get_input can
	return NULL

	* src/bufferlist.C: add <functional>, "support/lyxmanip.h",
	"support/lyxfunctional.h", remove current_view variable.
	(resize): use std::for_each with std::mem_fun
	(getFileNames): use std::copy with back_inserter_fun
	(getBuffer): change arg type to unsigned int
	(emergencyWriteAll): call emergencyWrite with std::for_each and
	class_fun.
	(emergencyWrite): new method, the for loop in emergencyWriteAll
	has been unrolled.
	(exists): use std::find_if with compare_memfun
	(getBuffer): use std::find_if and compare_memfun

	* src/buffer.h: add typedefs for iterator_category, value_type
	difference_type, pointer and reference for inset_iterator
	add postfix ++ for inset_iterator
	make inset_iterator::getPos() const

	* src/buffer.C: added support/lyxmanip.h
	(readFile): use lyxerr << fmt instead of printf
	(makeLaTeXFile): use std::copy to write out encodings

	* src/Painter.C (text): rewrite slightly to avoid extra font variable

	* src/MenuBackend.C (read): remove c_str(), as well as strdup and
	free and the char * temp.
	(hasMenu): use std::find_if and compare_memfun
	(getMenu): ditto

	* src/Makefile.am (lyx_SOURCES): added gettext.C

	* src/LyXAction.C (retrieveActionArg): clear the arg, use
	string::insert small change to avoid temporary

	* src/LColor.C (getGUIName): remove c_str()

	* several files: change all occurrences of fl_display to
	fl_get_display() 

	* config/lyxinclude.m4 (LYX_PROG_CXX): add a 2.97 clause so
	that -pedantic is not used for gcc 2.97 (cvs gcc)

	* boost/Makefile.am: begin slowly to prepare for a real boost lib

2000-10-11  Allan Rae  <rae@lyx.org>

	* src/frontends/xforms/FormPreferences.C (input): template path must be
	a readable directory.  It doesn't need to be writeable.
	(build, delete, update, apply): New inputs in the various tabfolders

	* src/frontends/xforms/forms/form_preferences.fd: 
	* src/frontends/xforms/FormPreferences.h: New tabfolder and added
	several new entries to existing folders.  Shuffled some existing stuff
	around. 

	* src/frontends/xforms/forms/form_print.fd: 
	* src/frontends/xforms/FormPrint.C (apply): rename unsorted to collated.
	Should probably rework PrinterParams as well.  Note that the switch to
	collated is effectively the same as !unsorted so changing PrinterParams
	will require a lot of fiddly changes to reverse the existing logic.

	* src/lyx_cb.C (TimerCB): cleaned up Angus's patch.

2000-10-10  Angus Leeming <a.leeming@ic.ac.uk>

	* src/lyx_cb.C (TimerCB): fix crash when fd_form_title doesn't exist.

2000-10-10  Allan Rae <rae@lyx.org>

	* src/lyxrc.[Ch]:
	* src/lyxfunc.C (Dispatch): 
	* src/lyx_gui.C: 
	* src/BufferView_pimpl.C (scrollCB): cursor_follows_scrollbar made a
	member of LyXRC

	* src/lyxrc.C (output): Only write the differences between system lyxrc
	and the users settings.

	* src/lyx_main.C:
	* src/lyxrc.[Ch]: commented out noncopyable so I can keep a
	system_lyxrc. 
	I'll rewrite this later, after 1.1.6 probably, to keep a single
	LyXRC but two instances of a LyXRCStruct.

2000-10-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/Makefile.am (pkgdata_DATA): add encoding and languages

	* src/tabular.h: add a few std:: qualifiers.

	* src/encoding.C: add using directive.
	* src/language.C: ditto.

	* src/insets/insetquotes.C (Validate): use languages->lang()
	instead of only language.

2000-10-07  Dekel Tsur  <dekelts@tau.ac.il>

	* lib/languages: New file.

	* lib/encodings: New file.

	* src/language.C (Languages): New class.
	(read): New method. Reads the languages from the 'languages' file.

	* src/encoding.C (Encodings): New class.
	(read): New method. Reads the encodings from the 'encodings' file.

	* src/lyx_main.C (init): Call to LyXSetStyle() after languages
	initialization.

	* src/bufferparams.h and a lot of files: Deleted the member language,
	and renamed language_info to language

	* src/buffer.C (makeLaTeXFile): Use babel() instead of lang()
	* src/lyxfont.C (latexWriteStartChanges): ditto.
	* src/paragraph.C (validate,TeXOnePar): ditto.
	
	* src/lyxfont.C (update): Restored deleted code.

	* src/frontends/xforms/FormDocument.C (build): Made the combox taller

2000-10-10  Angus Leeming <a.leeming@ic.ac.uk>

	* src/BufferView_pimpl.C (buffer): cleaned up a little.

	* src/insets/figinset.[Ch]:
	* src/insets/insetinclude.[Ch]:
	* src/insets/insetinclude.[Ch]:
	* src/insets/insetparent.[Ch]:
	* src/insets/insetref.[Ch]:
	* src/insets/insettabular.[Ch] (c-tor): Buffer passed as const &.

	* src/insets/*.[Ch]:
	* src/mathed/formula.[Ch]:
	* src/mathed/formulamacro.C (Clone): passed Buffer const &.

	* src/buffer.C (parseSingleLyXformat2Token, readInset):
	* src/lyx_cb.C (FigureApplyCB):
	* src/lyxfunc.C (getStatus, Dispatch):
	* src/frontends/xforms/FormTabular.C:  use modified c-tors to some
	insets.

	* src/lyxfunc.C (Dispatch): string "ref" not used. Removed.

	* src/converter.[Ch] (Formats::View):
	* src/lyx_cb.[Ch] (ShowMessage): constify Buffer * parameter.

	* src/paragraph.C (CopyIntoMinibuffer, Clone): Insets::Clone() passed
	*current_view->buffer(). This will change later, but this patch is way
	big enough already!

2000-10-09  Juergen Vigna  <jug@sad.it>

	* src/text.C (GetRow): small fix.

	* src/BufferView_pimpl.C (cursorPrevious): 
	(cursorNext): added LyXText parameter to function.

	* src/insets/insettabular.C (LocalDispatch): activate cell inset on
	keypress depending on cursor position.

2000-10-06  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (Ascii): finally call right ascii-function.
	(copySelection): redone this function and also copy ascii representa-
	tion to clipboard.

	* src/tabular.C (Ascii): 
	(AsciiPrintCell): 
	(AsciiBottomHLine): 
	(AsciiTopHLine): 
	(print_n_chars): new functions to realize the ascii export of tabulars.

2000-10-05  Juergen Vigna  <jug@sad.it>

	* src/lyx_gui_misc.C (updateAllVisibleBufferRelatedDialogs): small fix
	if we don't have a buffer.

2000-10-10  Allan Rae  <rae@lyx.org>

	* src/frontends/xforms/FormPreferences.[Ch] (hide): Fix the problem
	with closing dialog.  It seems that nested tabfolders require hiding
	of inner tabfolders before hiding the dialog itself.  Actually all I
	did was hide the active outer folder.

	* src/BufferView_pimpl.C (buffer): don't call updateBufferDependent
	unless there really is a buffer.  hideBufferDependent is called
	instead.

	* po/Makefile.in.in (POTFILES.in): one little tweak to ensure
	POTFILES.in stays in $(srcdir).

2000-10-09  Dekel Tsur  <dekelts@tau.ac.il>

	* lib/lyxrc.example: Few changes.

2000-10-05  Angus Leeming <a.leeming@ic.ac.uk>

	* src/BufferView_pimpl.C (buffer): only need one the
	updateBufferDependent signal to be emitted once! Moved to the end of
	the method to allow bv_->text to be updated first.

	* src/frontends/xforms/FormBase.[Ch]: replaced the two signals uSignal_
	and hSignal_ with Dialogs * and BufferDependency variables.
	New Buffer * parent_, initialised when the dialog is launched. Used to
	check whether to update() or hide() dialog in the new, private
	updateOrHide() method that is connected to the updateBufferDependent
	signal. Daughter classes dictate what to do using the
	ChangedBufferAction enum, passed to the c-tor.

	* src/frontends/xforms/FormCitation.C:
	* src/frontends/xforms/FormCommand.C:
	* src/frontends/xforms/FormCopyright.C:
	* src/frontends/xforms/FormDocument.C:
	* src/frontends/xforms/FormError.C:
	* src/frontends/xforms/FormIndex.C:
	* src/frontends/xforms/FormPreferences.C:
	* src/frontends/xforms/FormPrint.C:
	* src/frontends/xforms/FormRef.C:
	* src/frontends/xforms/FormToc.C:
	* src/frontends/xforms/FormUrl.C (c-tor): modified call to FormBase
	c-tor.

	* src/frontends/xforms/FormCommand.[Ch] (c-tor) passed a
	ChangedBufferAction enum.

	* src/frontends/xforms/FormParagraph.[Ch]
	* src/frontends/xforms/forms/form_paragraph.fd: now derived from
	FormBase.
	
2000-10-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/bind/cua.bind: fix a bit.
	* lib/bind/emacs.bind: ditto.

	* lib/bind/menus.bind: remove real menu entries from there.

	* src/spellchecker.C: make sure we only include strings.h when
	_AIX is defined.	

2000-10-05  Dekel Tsur  <dekelts@tau.ac.il>

	* src/frontends/xforms/Menubar_pimpl.C (get_new_submenu): New
	function. It enlarges the maximum number of pup when needed.
	(add_toc2): Open a new menu if maximum number of items per menu has 
	reached.
	
2000-10-05  John Levon  <moz@compsoc.man.ac.uk>

	* src/frontends/kde/FormPrint.C: fix error reporting

	* src/frontends/xforms/FormDocument.C: fix compiler
	warnings

	* lib/.cvsignore: add Literate.nw

2000-10-05  Dekel Tsur  <dekelts@tau.ac.il>

	* buffer.C
	* bufferview_funcs.[Ch]
	* lyxfont.[Ch]
	* text.C
	* text2.C: Add support for numbers in RTL text.

2000-10-06  Allan Rae  <rae@lyx.org>

	* po/Makefile.in.in (POTFILES.in, POTFILES): Fixed
	to be gettext.m4 friendly again.  ext_l10n.h is now
	generated into $top_srcdir instead of $top_builddir
	so that lyx.pot will be built correctly -- without
	duplicate parsing of ext_l10n.h.

2000-10-04  John Levon  <moz@compsoc.man.ac.uk>

	* src/frontends/kde/FormCitation.C: make the dialog
	behave more sensibly

2000-10-03  John Levon  <moz@compsoc.man.ac.uk>

	* config/kde.m4: fix consecutive ./configure runs,
	look for qtarch, fix library order

	* src/frontends/kde/Makefile.am: tidy up,
	add Print dialog, add .dlg dependencies

	* src/frontends/kde/FormPrint.C:
	* src/frontends/kde/FormPrint.h:
	* src/frontends/kde/formprintdialog.C:
	* src/frontends/kde/formprintdialog.h:
	* src/frontends/kde/formprintdialogdata.C:
	* src/frontends/kde/formprintdialogdata.h:
	* src/frontends/kde/dlg/formprintdialog.dlg: add
	print dialog

	* src/frontends/kde/dlg/README: Added explanatory readme
	
	* src/frontends/kde/dlg/checkinitorder.pl: small perl
	script to double-check qtarch's output

	* src/frontends/kde/formindexdialog.C:
	* src/frontends/kde/formindexdialogdata.C:
	* src/frontends/kde/formindexdialogdata.h:
	* src/frontends/kde/dlg/formindexdialog.dlg: update
	for qtarch, minor fixes

2000-10-05  Allan Rae  <rae@lyx.org>

	* src/BufferView_pimpl.C (buffer): don't hide all buffer dependent
	dialogs when switching buffers update them instead.  It's up to each
	dialog to decide if it should still be visible or not.
	update() should return a bool to control visiblity within show().
	Or perhaps better to set a member variable and use that to control
	visibility.

	* lib/build-listerrors: create an empty "listerrors" file just to stop
	make trying to regenerate it all the time if you don't have noweb
	installed.

	* .cvsignore: ignore distdir and dist.tar.gz using rule lyx-*

	* po/Makefile.in.in (ext_l10n.h): added a rule to build
	$(top_builddir)/src/ext_l10n.h.  The rule has to go here because po/
	is built before src/ and ext_l10n.h isn't actually needed to build lyx.
	(POTFILES.in): added a rule to build POTFILES.in.  It is also now safe
	to rebuild POTFILES.in with scrap *.[hC] files in xforms/forms/.

	* autogen.sh: po/POTFILES.in and src/ext_l10n.h now generated by make.

2000-10-04  Angus Leeming <a.leeming@ic.ac.uk>

	* src/BufferView_pimpl.C (buffer): emit hideBufferDependent when
	deleting buffer. Closes all buffer-dependent dialogs.

	* src/frontends/xforms/FormBase.[Ch] (input): modified to pass
	FL_OBJECT * also.
	* src/frontends/xforms/FormCitation.[Ch]:
	* src/frontends/xforms/FormPreferences.[Ch]:
	* src/frontends/xforms/FormPrint.[Ch]:
	* src/frontends/xforms/FormRef.[Ch]:
	* src/frontends/xforms/FormUrl.[Ch]: ditto

	* src/frontends/xforms/FormDocument.[Ch]:
	* src/frontends/xforms/forms/form_document.C.patch:
	* src/frontends/xforms/forms/form_document.fd: all input callbacks now
	pass through a single input() function.

2000-10-04  John Levon  <moz@compsoc.man.ac.uk>

	* lib/build-listerrors: return status as OK

2000-10-04  Dekel Tsur  <dekelts@tau.ac.il>

	* lib/lyxrc.example: Updated to new export code

2000-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/mathed/math_parser.C (LexInitCodes): set lexcode of "@" to
	LexAlpha. 

	* src/mathed/formula.C (LocalDispatch): add '@' as an LM_TC_VAR
	character. 

	* lib/layouts/amsart.layout: include lyxmacros.inc, so that
	LyX-Code is defined.
	* lib/layouts/amsbook.layout: ditto.

	* boost/Makefile.am: fix typo. 

	* src/frontends/xforms/Menubar_pimpl.C (create_submenu): use
	Menu::expand. 
	(add_lastfiles): removed.
	(add_documents): removed.
	(add_formats): removed.

	* src/frontends/Menubar.C: remove useless "using" directive.

	* src/MenuBackend.h: add a new MenuItem constructor.

	* src/MenuBackend.[Ch] (Menu::expand): new method. Used in the
	xforms frontend.

2000-10-04  Allan Rae  <rae@lyx.org>

	* lib/Makefile.am (listerrors):
	* lib/build-listerrors: make $builddir != $srcdir compiles work again.
	I haven't got notangle installed so Kayvan please test. The output
	should end up in $builddir.  This also allows people who don't have
	noweb installed to complete the make process without error.

	* src/frontends/xforms/FormCommand.[Ch] (showInset):
	* src/frontends/xforms/FormError.[Ch] (showInset): fix warnings found
	by JMarc's picky compiler.

2000-10-03  Lars Gullik Bjnnes  <larsbj@lyx.org>


	* src/insets/insettabular.C (setPos): change for loop to not use
	sequencing operator. Please check this Jrgen.

	* src/frontends/xforms/Menubar_pimpl.C (makeMenubar): use "c"
	instead of 'c'
	* src/insets/insetcite.C (getScreenLabel): ditto
	* src/support/filetools.C (QuoteName): ditto
	(ChangeExtension): ditto

	* src/BufferView_pimpl.C (scrollCB): make heigt int

	* src/BufferView2.C (insertInset): comment out unused arg

	* boost/Makefile.am (EXTRADIST): new variable

2000-10-03  Dekel Tsur  <dekelts@tau.ac.il>

	* src/exporter.C (IsExportable): Fixed
	
	* lib/configure.m4: Small fix

2000-10-03  Dekel Tsur  <dekelts@tau.ac.il>

	* src/insets/insetbutton.C (width): Changed to work with no GUI.
	* src/insets/insetbib.C (bibitemWidest): ditto.
	* src/lyx_gui_misc.C (AskQuestion,AskConfirmation,askForText): ditto.

2000-10-03  Juergen Vigna  <jug@sad.it>

	* src/BufferView2.C (theLockingInset): removed const because of
	Agnus's compile problems.

	* src/insets/insettext.C (LocalDispatch): set the language of the
	surronding paragraph on inserting the first character.

	* various files: changed use of BufferView::the_locking_inset.
	
	* src/BufferView2.C (theLockingInset): 
	(theLockingInset): new functions.

	* src/BufferView.h: removed the_locking_inset.

	* src/lyxtext.h: added the_locking_inset

	* src/BufferView_pimpl.C (checkInsetHit): y_tmp form uint to int.

	* src/insets/lyxinset.h: added bool to ShowInsetCursor definition.

2000-10-02  Angus Leeming <a.leeming@ic.ac.uk>

	* src/mathed/formula.C (IsMacro): declared but not referenced; removed.
	* src/mathed/math_cursor.C (IsAlpha): ditto.
	* src/mathed/math_inset.C (strnew): ditto.
	* src/mathed/math_iter.C: SizeFont declared but not referenced;removed.
	(IMetrics): cxp set but never used; removed.
	* src/insets/figinset.C (InitFigures): removed redundant for loop, now
	that the variable in question has been removed also!


	* src/insets/insetbib.[Ch]: remove need to store Buffer * owner by
	using the Buffer * passed to Latex(), using the BufferView * passed to
	bibitemMaxWidth() bibitemWidest() and by passing a Buffer* to getKeys()

	* src/insets/insetinclude.C: use the Buffer * passed to Latex(),
	Linuxdoc() and DocBook() rather than the stored Buffer * master.

	* src/lyxfunc.C (Dispatch): used new InsetBibtex c-tor
	* src/buffer.C (readInset): used new InsetBibtex c-tor
	* (getBibkeyList): used new InsetBibtex::getKeys

2000-10-01  Dekel Tsur  <dekelts@tau.ac.il>

	* lib/configure.m4
	* lib/build-listerrors
	* src/converter.C
	* src/exporter.C: Add literate programming support to the export code

	* src/buffer.C
	* src/lyx_cb.C: Remove old literate code.

	* src/lyxrc.[Ch]: Remove many obsolete (due to new export code)
	variables.

	* src/lyxfunc.C (getStatus): Use Exporter::IsExportable
	* src/converter.C (View, Convert): Use QuoteName.

	* src/insets/figinset.C (Preview): Use Formats::View.

	* lib/configure.m4: Add sgml->dvi converter to lyxrc.default
	
2000-10-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxfunc.C (Dispatch): move declaration of text variable at
	the top of the function, because compaq cxx complains that the
	"goto exit_with_message" when the function is disabled bypasses
	its initialization.
	(MenuNew): try a better fix for the generation of new file names.
	This time, I used AddName() instead of AddPath(), hoping Juergen
	will be happier :)

2000-10-03  Allan Rae  <rae@lyx.org>

	* src/frontends/xforms/forms/form_preferences.fd:
	* src/frontends/xforms/FormPreferences.[Ch]: redesign of dialog using
	nested tabfolders has begun.  The old "Miscellaneous" was renamed as
	"Look and Feel"->"General" but will need to be split up further into
	general output and general input tabs.  Current plan is for four outer
	tabfolders: "Look and Feel" for colours, bindings, fonts and other HCI
	stuff; "Inputs" for input and import configuration; "Outputs" for
	output and export configuration; and one more whatever is left over
	called "General".  The leftovers at present look like being which
	viewers to use, spellchecker, language support and might be better
	named "Support".  I've put "Paths" in "Inputs" for the moment as this
	seems reasonable for now at least.
	One problem remains: X error kills LyX when you close Preferences.

2000-10-02  Angus Leeming <a.leeming@ic.ac.uk>

	* src/frontends/xforms/FormBase.[Ch]: removed "meaningless" const.
	qualifier from form()
	* src/frontends/xforms/FormCitation.[Ch]:
	* src/frontends/xforms/FormCopyright.[Ch]:
	* src/frontends/xforms/FormDocument.[Ch]:
	* src/frontends/xforms/FormError.[Ch]:
	* src/frontends/xforms/FormIndex.[Ch]:
	* src/frontends/xforms/FormPreferences.[Ch]:
	* src/frontends/xforms/FormPrint.[Ch]:
	* src/frontends/xforms/FormRef.[Ch]:
	* src/frontends/xforms/FormToc.[Ch]:
	* src/frontends/xforms/FormUrl.[Ch]: ditto.

	* src/frontends/xforms/FormCitation.[Ch]:
	* src/frontends/xforms/FormIndex.[Ch]:
	* src/frontends/xforms/FormRef.[Ch]:
	* src/frontends/xforms/FormUrl.[Ch]: Renamed a few buttons, consistent
	with Allan's naming policy
	
	* src/frontends/xforms/FormCitation.C: some static casts to remove
	compiler warnings.

2000-10-02  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (LocalDispatch): fixed selection code,
	now you can type or do stuff inside the table-cell also when in dummy
	position, fixed visible cursor.

	* src/insets/insettext.C (Edit): fixing cursor-view position.

	* src/lyxfunc.C (Dispatch): use * text variable so that it can
	be used for equal functions in lyxfunc and insettext.

	* src/text.C (GetVisibleRow): fixed a small clear_area bug.

2000-10-02  John Levon  <moz@compsoc.man.ac.uk>

	* src/frontends/gnome/FormCitation.h:
	* src/frontends/gnome/FormCopyright.h:
	* src/frontends/gnome/FormIndex.h:
	* src/frontends/gnome/FormPrint.h:
	* src/frontends/gnome/FormToc.h:
	* src/frontends/gnome/FormUrl.h:
	* src/frontends/kde/FormCitation.h:
	* src/frontends/kde/FormCopyright.h:
	* src/frontends/kde/FormIndex.h:
	* src/frontends/kde/FormRef.h:
	* src/frontends/kde/FormToc.h:
	* src/frontends/kde/FormUrl.h: fix remaining users of
	support/utility.hpp 

2000-10-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/buffer.C (linuxDocHandleFootnote): remove const modifier
	from depth argument.
	(DocBookHandleCaption): ditto.
	(DocBookHandleFootnote): ditto.
	(SimpleDocBookOnePar): ditto.

	* src/frontends/xforms/FormDocument.h (form): remove extra
	FormDocument:: qualifier.

	* sigc++/macros/basic_signal.h.m4: remove erroneous virtual
	destructor. 
	* sigc++/handle.h: ditto.

	* src/lyx_gui_misc.C: add "using" directive.

	* src/cheaders/cstddef: new file, needed by the boost library (for
	compaq cxx).

2000-10-02  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C (SetFont): better support.

	* src/insets/insettabular.C (draw): fixed drawing of single cell.

	* src/screen.C (DrawOneRow): some uint refixes!

2000-10-02  Allan Rae  <rae@lyx.org>

	* boost/.cvsignore: ignore Makefile as well

	* src/lyxfunc.C (Dispatch): missing break; and moved the '}' for
	LFUN_UNKNOWN_ACTION: so it doesn't wrap around default:.

	* src/frontends/xforms/FormPreferences.[Ch] (restore): D'oh.
	Left this one out by accident.

	* src/frontends/xforms/FormBase.h (restore): default to calling
	update() since that will restore the original/currently-applied values.
	Any input() triggered error messages will require the derived classes
	to redefine restore().

	* src/frontends/xforms/FormDocument.C: initialize a few variables to
	avoid a segfault.  combo_doc_class is the main concern.

2000-10-01  Kayvan A. Sylvan  <kayvan@camel.internal.sylvan.com>

	* Simplify build-listerrors in view of GUI-less export ability!

2000-10-01  Dekel Tsur  <dekelts@tau.ac.il>

	* src/lyx_main.C (easyParse): Disable gui when exporting

	* src/insets/figinset.C: 
	* src/LaTeX.C
	* src/converter.C
	* src/lyx_gui_misc.C
	* src/tabular.C: Changes to allow no-gui.

2000-10-02  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/utility.hpp: removed file
	* src/support/block.h: removed file

	* src/support/Makefile.am (libsupport_la_SOURCES): remove block.h
	and utility.hpp

	* src/mathed/formula.C: add support/lyxlib.h
	* src/mathed/formulamacro.C: ditto

	* src/bufferparams.h: use boost/array.hpp instead of support/block.h
	* src/lyxparagraph.h: ditto

	* src/Makefile.am (BOOST_INCLUDES): the boost include dir
	* src/frontends/Makefile.am (INCLUDES): ditto
	* src/frontends/gnome/Makefile.am (BOOST_INCLUDES): ditto
	* src/frontends/kde/Makefile.am (BOOST_INCLUDES): ditto
	* src/frontends/xforms/Makefile.am (BOOST_INCLUDES): ditto
	* src/graphics/Makefile.am (BOOST_INCLUDES): ditto
	* src/insets/Makefile.am (BOOST_INCLUDES): ditto
	* src/mathed/Makefile.am (BOOST_INCLUDES): ditto

	* src/BufferView.h: use boost/utility.hpp
	* src/LColor.h: ditto
	* src/LaTeX.h: ditto
	* src/LyXAction.h: ditto
	* src/LyXView.h: ditto
	* src/bufferlist.h: ditto
	* src/lastfiles.h: ditto
	* src/layout.h: ditto
	* src/lyx_gui.h: ditto
	* src/lyx_main.h: ditto
	* src/lyxlex.h: ditto
	* src/lyxrc.h: ditto
	* src/frontends/ButtonPolicies.h: ditto
	* src/frontends/Dialogs.h: ditto
	* src/frontends/xforms/FormBase.h: ditto
	* src/frontends/xforms/FormGraphics.h: ditto
	* src/frontends/xforms/FormParagraph.h: ditto
	* src/frontends/xforms/FormTabular.h: ditto
	* src/graphics/GraphicsCache.h: ditto
	* src/graphics/Renderer.h: ditto
	* src/insets/ExternalTemplate.h: ditto
	* src/insets/insetcommand.h: ditto
	* src/support/path.h: ditto

	* config/lyxinclude.m4 (LYX_PROG_CXX): change clause for 2.96
	and introduce clause for 2.97.

	* boost/libs/README: new file

	* boost/boost/utility.hpp: new file

	* boost/boost/config.hpp: new file

	* boost/boost/array.hpp: new file

	* boost/Makefile.am: new file

	* boost/.cvsignore: new file

	* configure.in (AC_OUTPUT): add boost/Makefile

	* Makefile.am (SUBDIRS): add boost

2000-10-01  Dekel Tsur  <dekelts@tau.ac.il>

	* src/support/lstrings.C (suffixIs): Fixed.

2000-10-01  Allan Rae  <rae@lyx.org>

	* src/PrinterParams.h: moved things around to avoid the "can't
	inline call" warning.

	* src/frontends/xforms/RadioButtonGroup.h: turned a comment
	into doc++ documentation.

	* src/frontends/xforms/FormCommand.[Ch]: support button policy

	* src/frontends/xforms/FormRef.C: make use of button controller
	* src/frontends/xforms/FormDocument.[Ch]: convert to use FormBase
	cleaned up button controller usage.
	* src/frontends/xforms/FormPreferences.[Ch]: convert to use FormBase
	* src/frontends/xforms/FormPrint.[Ch]: convert to use FormBase and
	use the button controller

	* src/frontends/xforms/forms/*.fd: and associated generated files
	updated to reflect changes to FormBase.  Some other FormXxxx files
	also got minor updates to reflect changes to FormBase.

	* src/frontends/xforms/FormBase.[Ch]: (ok, cancel): new
	(hide): made virtual.
	(input): return a bool. true == valid input
	(RestoreCB, restore): new
	(CancelCB, OKCB): renamed from HideCB and ApplyHideCB.
	Changes to allow derived dialogs to use a ButtonController and
	make sense when doing so: OK button calls ok() and so on.

	* src/frontends/xforms/ButtonController.h (class ButtonController):
	Switch from template implementation to taking Policy parameter.
	Allows FormBase to provide a ButtonController for any dialog.

	* src/frontends/xforms/FormPrint.C (connect): setup sizing at show-time
	Probably should rename connect and disconnect.
	(apply): use the radio button groups
	(form): needed by FormBase
	(build): setup the radio button groups

2000-09-29  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* several files: type changes to reduce the number of warnings and
	to unify type hangling a bit. Still much to do. 

2000-09-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/images/*: rename a bunch of icons to match Dekel converter
	changes. 

	* src/buffer.h (SimpleLinuxDocOnePar): remove const qualifier to
	last parameter.

	* src/frontends/xforms/FormBase.C (disconnect): remove bogus test. 

	* sigc++/macros/basic_signal.h.m4: fix class Signal_ to have a
	virtual destructor
	* sigc++/handle.h: ditto for class Handle. 

2000-09-27  John Levon  <moz@compsoc.man.ac.uk>

	* config/kde.m4: make Qt fail immediately if Qt2 is picked up

2000-09-28  Dekel Tsur  <dekelts@tau.ac.il>

	* src/intl.C (InitKeyMapper): Correct the value of n due to the
	removal of the "default" language.

	* src/combox.h (getline): Check that sel > 0

2000-09-29  Jos Ablio Matos <jamatos@fep.up.pt>

	* lib/examples/docbook_example.lyx
	* lib/examples/docbook_article.lyx: file renamed to avoid confusion.

	* lib/layouts/docbook-book.layout: new docbook book layout.

	* lib/layouts/linuxdoc.layout: LatexName of Style SGML is now dummy.
	
	* lib/layouts/manpage.layout: Same as above. Style SubSection removed.

	* src/insets/figinset.C (DocBook):fixed small typo.

	* src/insets/insetinclude.C (DocBook): new export for verbatim type.

	* src/insets/insetinclude.h: string include_label doesn't need to be
	mutable.
	
2000-09-29  Allan Rae  <rae@lyx.org>

	* src/frontends/xforms/FormBase.[Ch] (connect, disconnect): new.
	Allow derived type to control connection and disconnection from signals
	of its choice if desired.

2000-09-28  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (update): fixed cursor setting when
	the_locking_inset changed.
	(draw): made this a bit cleaner.
	(InsetButtonPress): fixed!

	* various files: added LyXText Parameter to fitCursor call.
	
	* src/BufferView.C (fitCursor): added LyXText parameter.

	* src/insets/insettabular.C (draw): small draw fix.

	* src/tabular.C: right setting of left/right celllines.

	* src/tabular.[Ch]: fixed various types in funcions and structures. 
	* src/insets/insettabular.C: ditto
	* src/frontends/xforms/FormTabular.C: ditto

2000-09-28  Allan Rae  <rae@lyx.org>

	* src/paragraph.C (TeXOnePar): fixed output of '\n'.  The problem was
	that the #ifdef's had been applied to part of what should have been
	a complete condition.  It's possible there are other tests that
	were specific to tables that are also wrong now that InsetTabular is
	being used. Now we need to fix the output of '\n' after a table in a
	float for the same reason as the original condition:
	"don't insert this if we would be adding it before or after a table
	in a float.  This little trick is needed in order to allow use of
	tables in \subfigures or \subtables."
	Juergen can you check this?

2000-09-27  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/insets/insettext.C (Ascii): return numer of '\n' in the text
	output to the ostream.

	* several files: fixed types based on warnings from cxx 

2000-09-26  John Levon  <moz@compsoc.man.ac.uk>

	* src/frontends/kde/Makefile.am: fix rule for
	formindexdialogdata_moc.C

	* src/.cvsignore: add ext_l10n.h to ignore

	* acconfig.h: stop messing with __STRICT_ANSI__ 
	* config/gnome.m4: remove option to set -ansi
	* config/kde.m4: remove option to set -ansi
	* config/lyxinclude.m4: don't set -ansi 

2000-09-27  Juergen Vigna  <jug@sad.it>

	* various files: remove "default" language check.
	
	* src/insets/insetquotes.C: removed use of current_view.

	* src/lyxfunc.C (MenuNew): I don't know how put the AddPath here but
	the one should have red ears by now!

	* src/insets/insettext.C (LocalDispatch): fixed setting of same layouts
	in more then one paragraph. Fixed cursor-movement/selection.

	* src/frontends/xforms/FormParagraph.C: disable pagebreaks for
	paragraphs inside a text inset.

	* src/text.C (GetVisibleRow): paint top/bottom line only as wide as the
	text-inset if this owner is an inset.

2000-09-27  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/Bullet.h: changed type of font, character and size to int

	* src/buffer.C (asciiParagraph): remove actcell and fname1.

	* src/insets/inseturl.[Ch]: 
	* src/insets/insetref.[Ch]:
	* src/insets/insetlabel.[Ch]: add linelen to Ascii

2000-09-26  Angus Leeming <a.leeming@ic.ac.uk>

	* src/buffer.C (readFile): block-if statement rearranged to minimise
	bloat. Patch does not reverse Jean-Marc's change ;-)

	* src/frontends/xforms/FormBase.[Ch]: Renamed some of the callbacks.
	Class rewritten to store pointers to hide/update signals directly,
	rather than Dialogs *. Also defined an enum to ease use. All xforms
	forms can now be derived from this class.

	* src/frontends/xforms/FormCommand.[Ch]
	* src/frontends/xforms/FormCopyright.[Ch]: now derived from FormBase.

	* src/frontends/xforms/FormError.[Ch]: moved inclusion of inseterror.h
	out of header file.

	* src/frontends/xforms/forms/form_citation.fd
	* src/frontends/xforms/forms/form_copyright.fd
	* src/frontends/xforms/forms/form_error.fd
	* src/frontends/xforms/forms/form_index.fd
	* src/frontends/xforms/forms/form_ref.fd
	* src/frontends/xforms/forms/form_toc.fd
	* src/frontends/xforms/forms/form_url.fd: remamed callbacks

	* src/frontends/xforms/forms/makefile: small change to work with DEC sh.

	* src/insets/insetfoot.C: removed redundent using directive.

2000-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/layouts/siamltex.layout: new textclass for SIAM journals,
	from Kornelia Pietsch <pietsch@mathematik.tu-chemnitz.de>

	* src/frontends/xforms/Menubar_pimpl.C: menu buttons are now
	created in the constructors in different groups. Then set() just
	have to show the groups as needed. This fixes the redraw problems
	(and is how the old menu code worked).

	* src/support/lyxlib.h: declare the methods as static when we do
	not have namespaces.

2000-09-26  Juergen Vigna  <jug@sad.it>

	* src/buffer.C (asciiParagraph): new function.
	(writeFileAscii): new function with parameter ostream.
	(writeFileAscii): use now asciiParagraph.

	* various inset files: added the linelen parameter to the Ascii-func.
	
	* src/tabular.C (Write): fixed error in writing file introduced by
	the last changes from Lars.

	* lib/bind/menus.bind: removed not supported functions.

	* src/insets/insettext.C (Ascii): implemented this function.

	* src/insets/lyxinset.h (Ascii): added linelen parameter.

	* src/tabular.C (write_attribute[int,string,bool]): new functions.
	(Write): use of the write_attribute functions.

	* src/bufferlist.C (close): fixed reasking question!

2000-09-26  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/unlink.C src/support/remove.C src/support/mkdir.C:
	new files use the everwhere possible.
	
	* several files: 
	* src/form1.C src/form1.h src/layout_forms.C src/layout_forms.h
	src/log_form.C src/lyx.C:
	regenerated
	
	* src/buffer.C (runLaTeX): remove func
	
	* src/PaperLayout.C: removed file
	* src/ParagraphExtra.C: likewise
	* src/bullet_forms.C: likewise
	* src/bullet_forms.h: likewise
	* src/bullet_forms_cb.C: likewise
	
	* src/Makefile.am (lyx_SOURCES): remove PaperLayout.C,
	ParagraphExtra.C, bullet_forms.C, bullet_forms.h and
	bullet_forms_cb.C 

	* several files: remove all traces of the old fd_form_paragraph,
	and functions belonging to that.
	
	* several files: remove all traces of the old fd_form_document,
	and functions belonging to that.
	
	* several files: constify local variables were possible.
	
	* several files: remove all code that was dead when NEW_EXPORT was
	defined 
	
	* several files: removed string::c_str in as many places as
	possible.
	
	* forms/makefile (SRCS,OBJS,COBJS): removed bullet_forms.[fd,c,C]
	(e): be a bit more outspoken when patching
	(updatesrc): only move files if changed.

	* forms/layout_forms.h.patch: regenerated
	
	* forms/layout_forms.fd: remove form_document and form_paragraph
	and form_quotes and form_paper and form_table_options and
	form_paragraph_extra 

	* forms/form1.fd: remove form_table

	* forms/fdfix.sh: remove sed rules for fl_set_object_lcolor and
	the fdui->... rewrite. Update some comments to xforms 0.88

	* forms/bullet_forms.C.patch: removed file
	* forms/bullet_forms.fd: likewise
	* forms/bullet_forms.h.patch: likewise
	
	* development/Code_rules/Rules: added a section on switch
	statements. Updated some comment to xforms 0.88.

2000-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/buffer.C (readFile): make sure that the whole version number
	is read after \lyxformat (even when it contains a comma)

	* lib/ui/default.ui: change shortcut of math menu to M-a.

2000-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/vspace.C (nextToken): use isStrDbl() to check for proper
	double values.

	* src/LyXView.C (updateWindowTitle): show the full files name in
	window title, limited to 30 characters.

	* src/support/lyxstring.C (lyxstring): fix it correctly this time.
	When a number of characters has been given, we should not assume
	that the string is 0-terminated.

	* src/intl.C (InitKeyMapper): remove a bunch of string::c_str()
	calls (fixes some memory leaks)
	
	* src/intl.[Ch]: add a destructor for Intl, in order to delete the
	trans member on exit.

2000-09-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/converter.C (GetReachable): fix typo.

	* src/lyxlex.C (GetFloat): rewrite to use strToDbl() and
	understand ',' instead of '.'.
	(GetInteger): rewrite to use strToInt().

2000-09-26  Juergen Vigna  <jug@sad.it>

	* src/frontends/xforms/FormParagraph.C: fixed de/activation of fields,
	better visibility and error-message on wrong VSpace input.

	* src/language.C (initL): added english again.

2000-09-25  Juergen Vigna  <jug@sad.it>

	* src/frontends/kde/Dialogs.C (Dialogs): 
	* src/frontends/gnome/Dialogs.C (Dialogs): 
	* src/frontends/kde/Makefile.am: 
	* src/frontends/gnome/Makefile.am: added FormParagraph from xforms.

	* src/frontends/xforms/forms/makefile: added form_paragraph.fd.

	* src/frontends/xforms/Dialogs.C (Dialogs): added FormParagraph.

	* src/frontends/xforms/Makefile.am: added files for FormParagraph.

	* src/frontends/xforms/FormParagraph.C: 
	* src/frontends/xforms/FormParagraph.h:
	* src/frontends/xforms/form_paragraph.C:
	* src/frontends/xforms/form_paragraph.h:
	* src/frontends/xforms/forms/form_paragraph.fd: new files for the new
	paragraph layout.

	* src/lyxfunc.C (Dispatch): call the new layout paragraph.

	* src/tabular.C (OldFormatRead): forgot to delete the temporary
	Paragraph-Data after use.

	* src/insets/insettext.C (LocalDispatch): don't set the layout on
	non breakable paragraphs.

2000-09-25  Garst R. Reese <reese@isn.net>

	* src/language.C (initL): added missing language_country codes.

2000-09-25  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C (InsetText):
	(deleteLyXText): remove the not released LyXText structure!

2000-09-24  Marko Vendelin <markov@ioc.ee>

	* src/frontends/gnome/mainapp.C
	* src/frontends/gnome/mainapp.h: added support for keyboard 
	accelerators

	* src/frontends/gnome/FormCitation.C
	* src/frontends/gnome/FormCitation.h
	* src/frontends/gnome/Makefile.am
	* src/frontends/gnome/pixbutton.h: completed the rewrite of 
	FormCitation to use "action area" in mainapp window

	* src/frontends/gnome/Menubar_pimpl.C	
	* src/frontends/gnome/Menubar_pimpl.h: Gnome menu can handle
	large TOC.

2000-09-23  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/mathed/formula.C (MathFuncInset::Metrics): Use default 
	width/descent/ascent values if name is empty.
	(mathed_string_height): Use std::max.

2000-09-25  Allan Rae  <rae@lyx.org>

	* src/frontends/xforms/forms/form_preferences.fd: resize to stop
	segfault.  This will be completely redesigned soon.

	* sigc++: updated libsigc++.  Fixes struct timespec bug.

	* development/tools/makeLyXsigc.sh:  .cvsignore addition

2000-09-23  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* several files: removed almost all traces of the old table
	(tabular) code.

	* src/TableLayout.C: removed file
	
2000-09-22  Juergen Vigna  <jug@sad.it>

	* src/frontends/kde/Dialogs.C: added credits forms.

	* src/frontends/gnome/Makefile.am (libgnome_la_OBJADD): added forms.

	* src/frontends/gnome/Dialogs.C: added some forms.

	* src/spellchecker.C (init_spell_checker): set language in pspell code
	(RunSpellChecker): some modifications for setting language string.

	* src/language.[Ch]: added language_country code.

2000-09-21  Angus Leeming <a.leeming@ic.ac.uk>

	* src/frontends/Dialogs.h: added new signal showError.
	Rearranged existing signals in some sort of alphabetical order.

	* src/frontends/xforms/Makefile.am: added new files, FormBase.[Ch],
	FormError.[Ch], form_error.[Ch]
	* src/frontends/xforms/forms/makefile: added new file form_error.fd
	* src/frontends/xforms/Dialogs.C: added new xforms dialog FormError.

	* src/frontends/xforms/FormBase.[Ch]: new base class for xforms
	dialogs. I think that this can be used as the base to all these
	dialogs.

	* src/frontends/xforms/FormError.[Ch]
	* src/frontends/xforms/forms/form_error.fd: new files. Xforms
	implementation of InsetError dialog.
	
	* src/insets/inseterror.[Ch]: rendered GUI-independent.

	* src/frontends/kde/Dialogs.C: added new xforms dialog FormError.
	* src/frontends/kde/Makefile.am: ditto

2000-09-21  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/mathed/math_cursor.[Ch]: Removed class members macroln and
	macrobf. This fixes a bug of invisible text.

2000-09-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/doc/LaTeXConfig.lyx.in: updated.

	* src/language.C (initL): remove language "francais" and change a
	bit the names of the two other french variations.

	* src/support/lyxstring.C (lyxstring): do not apply strlen() on a
	string that may not be 0-terminated.

2000-09-20  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/Makefile.am (lyx_SOURCES): remove table.C and Table.h

2000-09-20  Marko Vendelin <markov@ioc.ee>

	* src/frontends/gnome/FormCitation.C
	* src/frontends/gnome/FormIndex.C
	* src/frontends/gnome/FormToc.C
	* src/frontends/gnome/FormUrl.C: cleanup the loops, reordering
	the variable initialization to shut up the warnings

2000-09-20  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/table.[Ch]: deleted files
	
	* src/lyxfunc.C (Dispatch): Don't pass 0 as argument to Dispatch
	second arg.

2000-09-18  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C (LocalDispatch): fixed Backspace/Delete
	problems with selection. Inserted new LFUN_PASTESELECTION.
	(InsetButtonPress): inserted handling of middle mouse-button paste.

	* src/spellchecker.C: changed word to word.c_str().

2000-09-16  Kayvan A. Sylvan  <kayvan@sylvan.com>

	* src/Makefile.am: Add sources to lyx_SOURCES so they will be
	  included in the ``make dist'' tarball.

2000-09-15  Juergen Vigna  <jug@sad.it>

	* src/CutAndPaste.C (cutSelection): small fix return the right
	end position after cut inside one paragraph only.

	* src/insets/insettext.C (resizeLyXText): only reset the cursor if
	we are locked as otherwise we don't have a valid cursor position!

	* src/insets/figinset.C (draw): small bugfix but why is this needed???

2000-09-19  Angus Leeming <a.leeming@ic.ac.uk>

	* src/frontends/kde/FormRef.C: added using directive.
	* src/frontends/kde/FormToc.C: ditto

	* src/frontends/kde/formtocdialog.h: changed endl to std::endl.

	* src/frontends/kde/FormRef.h: removed trailing comma from enums.

2000-09-19  Marko Vendelin <markov@ioc.ee>
	
	* src/frontends/gnome/Menubar_pimpl.C
	* src/frontends/gnome/Menubar_pimpl.h: Gnome menus show now
	Toc, ViewFormats, UpdateFormats, and ExportFormats.

	* src/frontends/gnome/mainapp.C
	* src/frontends/gnome/mainapp.h: support for menu update used 
	by Toc menu.

	* src/frontends/gnome/mainapp.C
	* src/frontends/gnome/mainapp.h: support for "action" area in the
	main window. This area is used by small simple dialogs, such as
	FormUrl.

	* src/frontends/gnome/FormIndex.C
	* src/frontends/gnome/FormIndex.h
	* src/frontends/gnome/FormUrl.C
	* src/frontends/gnome/FormUrl.h: rewrite to use main window action
	area

	* src/frontends/gnome/FormCitation.C
	* src/frontends/gnome/FormCitation.h: rewrite to use main window
	action area. Only "Insert new citation" is implemented.

2000-09-19  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/buffer.C (Dispatch): fix call to Dispatch
	* src/insets/insetref.C (Edit): likewise
	* src/insets/insetparent.C (Edit): likewise
	* src/insets/insetinclude.C (include_cb): likewise
	* src/frontends/xforms/FormUrl.C (apply): likewise
	* src/frontends/xforms/FormToc.C (apply): likewise
	* src/frontends/xforms/FormRef.C (apply): likewise
	* src/frontends/xforms/FormIndex.C (apply): likewise
	* src/frontends/xforms/FormCitation.C (apply): likewise
	* src/lyxserver.C (callback): likewise
	* src/lyxfunc.C (processKeySym): likewise
	(Dispatch): likewise
	(Dispatch): likewise
	* src/lyx_cb.C (LayoutsCB): likewise

	* Makefile.am (sourcedoc): small change

2000-09-18  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/main.C (main): Don't make an empty GUIRunTime object. all
	methods are static. constify a bit remove unneded using + headers.

	* src/tabular.C: some more const to local vars move some loop vars
	
	* src/spellchecker.C: added some c_str after some word for pspell

	* src/frontends/GUIRunTime.h: add new static method setDefaults
	* src/frontends/xforms/GUIRunTime.C (setDefaults): 
	* src/frontends/kde/GUIRunTime.C (setDefaults): 
	* src/frontends/gnome/GUIRunTime.C (setDefaults): new method

	* src/mathed/math_cursor.C (MacroModeClose): don't call SetName
	with strnew in arg, use correct emptystring when calling SetName.

	* several files: remove all commented code with relation to
	HAVE_SSTREAM beeing false. We now only support stringstream and
	not strstream. 

2000-09-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxfunc.C: construct correctly the automatic new file
	names. 

	* src/text2.C (IsStringInText): change type of variable i to shut
	off a warning.

	* src/support/sstream.h: do not use namespaces if the compiler
	does not support them.

2000-09-15  Marko Vendelin <markov@ioc.ee>
	* src/frontends/gnome/FormCitation.C
	* src/frontends/gnome/FormCitation.h
	* src/frontends/gnome/diainsertcitation_interface.c
	* src/frontends/gnome/dialogs/diainsertcitation.glade: adds
	regexp support to FormCitation [Gnome].

2000-09-15  John Levon  <moz@compsoc.man.ac.uk>

	* acconfig.h
	* configure.in: remove unused KDE/GTKGUI define

	* src/frontends/kde/FormRef.C
	* src/frontends/kde/FormRef.h
	* src/frontends/kde/formrefdialog.C
	* src/frontends/kde/formrefdialog.h: double click will
	go to reference, now it is possible to change a cross-ref
	after the fact

	* src/frontends/kde/FormToc.C
	* src/frontends/kde/FormToc.h
	* src/frontends/kde/formtocdialog.C
	* src/frontends/kde/formtocdialog.h: add a depth
	slider

	* src/frontends/kde/Makefile.am: add QtLyXView.h
	to the sources list

2000-09-15  Angus Leeming  <a.leeming@ic.ac.uk>

	* src/frontends/kde/FormCitation.h: added some using directives.

	* src/frontends/kde/FormToc.h: corrected definition of doTree.

	* src/frontends/kde/GUIRunTime.C (initApplication): use lyxerr not
	cerr. 

	* src/mathed/math_defs.h: redefine SetAlign to use string rather
	than char *.
	
2000-09-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/buffer.C (pop_tag): revert for the second time a change by
	Lars, who seems to really hate having non-local loop variables :)

	* src/Lsstream.h: add "using" statements.

	* src/support/copy.C (copy): add a bunch of std:: qualifiers
	* src/buffer.C (writeFile): ditto

2000-09-14  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/buffer.C (writeFile): try to fix the locale modified format
	number to always be as we want it.

	* src/WorkArea.C (work_area_handler): try to workaround the bugs
	in XForms 0.89. C-space is now working again.

	* src/Lsstream.h src/support/sstream.h: new files.

	* also commented out all cases where strstream were used.
	
	* src/Bullet.h (c_str): remove method.
	
	* remove all stuff that is irrelevant when NEW_MENUBAR is defined
	
	* a lot of files: get rid of "char const *" and "char *" is as
	many places as possible. We only want to use them in interaction
	with system of other libraries, not inside lyx.
	
	* a lot of files: return const object is not of pod type. This
	helps ensure that temporary objects is not modified. And fits well
	with "programming by contract".

	* configure.in: check for the locale header too 

	* Makefile.am (sourcedoc): new tag for generation of doc++
	documentation 

2000-09-14  Juergen Vigna  <jug@sad.it>

	* src/frontends/xforms/FormDocument.C (ComboInputCB): fixed the
	callback to check which combo called it and do the right action.

	* src/combox.C (combo_cb): added combo * to the callbacks.
	(Hide): moved call of callback after Ungrab of the pointer.

	* src/intl.h: removed LCombo2 function.

	* src/intl.C (LCombo): added Combox * to call and removed LCombo2
	function as this can now be handled in one function.

	* src/combox.h: added Combox * to callback prototype.

	* src/frontends/xforms/Toolbar_pimpl.C: 
	* src/lyx_cb.C (LayoutsCB): added Combox * to function call.

2000-09-14  Garst Reese  <reese@isn.net>

	* lib/tex/hollywood.cls changed length of parenthicals to 1.5in
	moved usepackage{xxx}'s to beginning of file. Changed left margin
	to 1.5in, right margin to 1in. Forced headrulewidth to 0, removed
	underlining from title. Thanks to John Culleton for useful suggestions.

2000-09-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxlex_pimpl.C (setFile): change error message to debug
	message. 

2000-09-13  Juergen Vigna  <jug@sad.it>

	* src/frontends/xforms/FormDocument.C: implemented choice_class
	as combox and give callback to combo_language so OK/Apply is activated
	on change.

	* src/bufferlist.C (newFile): small fix so already named files
	(via an open call) are not requested to be named again on the
	first save!

2000-09-13  John Levon  <moz@compsoc.man.ac.uk>

	* src/frontends/kde/Makefile.am
	* src/frontends/kde/FormRef.C
	* src/frontends/kde/FormRef.h
	* src/frontends/kde/formrefdialog.C
	* src/frontends/kde/formrefdialog.h: implement
	cross-ref dialog

2000-09-13  John Levon  <moz@compsoc.man.ac.uk>

	* src/frontends/kde/formtocdialog.C
	* src/frontends/kde/formtocdialog.h
	* src/frontends/kde/FormToc.C
	* src/frontends/kde/FormToc.h: change to make TOC hierarchical properly

2000-09-11  John Levon  <moz@compsoc.man.ac.uk>

	* src/frontends/kde/FormCitation.C: fix thinko
	where we didn't always display the reference text
	properly

	* src/frontends/kde/formurldialog.C
	* src/frontends/kde/formurldialog.h
	* src/frontends/kde/FormUrl.C
	* src/frontends/kde/FormUrl.h: minor cleanups

	* src/frontends/kde/QtLyXView: wrapper to avoid Qt namespace mangling

	* src/frontends/kde/Makefile.am
	* src/frontends/kde/FormToc.C
	* src/frontends/kde/FormToc.h
	* src/frontends/kde/FormCitation.C
	* src/frontends/kde/FormCitation.h
	* src/frontends/kde/FormIndex.C
	* src/frontends/kde/FormIndex.h
	* src/frontends/kde/formtocdialog.C
	* src/frontends/kde/formtocdialog.h
	* src/frontends/kde/formcitationdialog.C
	* src/frontends/kde/formcitationdialog.h
	* src/frontends/kde/formindexdialog.C
	* src/frontends/kde/formindexdialog.h: new Toc,Citation,Index dialogs

2000-09-12  Juergen Vigna  <jug@sad.it>

	* src/frontends/gnome/GUIRunTime.C (initApplication): make id + version
	static strings.

2000-09-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/xforms/GUIRunTime.C (initApplication): use lyxerr,
	not cerr.

2000-09-09  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/converter.C (Add, Convert): Added support for converter flags:
	needaux, resultdir, resultfile.
	(Convert): Added new parameter view_file.
	(dvips_options): Fixed letter paper option.

	* src/exporter.C (Export, BufferExtension): Added support for Docbook.
	(Export, GetExportableFormats, GetViewableFormats): Added support
	for Ascii.

	* src/lyx_main.C (LyX): Call to QuitLyX() to remove temporary
	directory!
	(easyParse): Fixed to work with new export code.
	
	* src/support/filetools.C (DeleteAllFilesInDir) Fixed to delete
	directories.

	* lyx-devel-export/lib/configure.m4: Changed flags of tth.

	* lib/bind/*.bind: Replaced
	buffer-view,buffer-view-ps,buffer-typeset,buffer-typeset-ps by
	buffer-view dvi,buffer-view ps,buffer-update dvi,buffer-update ps

2000-09-11  Juergen Vigna  <jug@sad.it>

	* src/lyx_gui.C (runTime): uses global guiruntime variable.

	* src/main.C (main): now GUII defines global guiruntime!

	* src/frontends/gnome/GUIRunTime.C (initApplication): 
	* src/frontends/kde/GUIRunTime.C (initApplication): 
	* src/frontends/xforms/GUIRunTime.C (initApplication): 
	* src/frontends/GUIRunTime.h: added new function initApplication.

	* src/spellchecker.C (sc_accept_word): change to add_to_session.

	* src/vspace.C (nextToken): fixed error with number 0cm as unvalid.

2000-09-08  Juergen Vigna  <jug@sad.it>

	* src/lyx_gui.C (create_forms): don't display the "default" entry as
	we have already "Reset".

	* src/language.C (initL): inserted "default" language and made this
	THE default language (and not american!)

	* src/paragraph.C: inserted handling of "default" language!

	* src/lyxfont.C: ditto

	* src/text.C: ditto

	* src/paragraph.C: output the \\par only if we have a following
	paragraph otherwise it's not needed.

2000-09-05  Juergen Vigna  <jug@sad.it>

	* config/pspell.m4: added entry to lyx-flags

	* src/spellchecker.C: modified version from Kevin for using pspell

2000-09-01  Marko Vendelin <markov@ioc.ee>
	* src/frontends/gnome/Makefile.am
	* src/frontends/gnome/FormCitation.C
	* src/frontends/gnome/FormCitation.h
	* src/frontends/gnome/diainsertcitation_callbacks.c
	* src/frontends/gnome/diainsertcitation_callbacks.h
	* src/frontends/gnome/diainsertcitation_interface.c
	* src/frontends/gnome/diainsertcitation_interface.h
	* src/frontends/gnome/dialogs/diainsertcitation.glade: Insert Citation 
	dialog for Gnome frontend

	* src/main.C: Gnome libraries require keeping application name
	and its version as strings

	* src/frontends/gnome/mainapp.C: Change the name of the main window
	from GnomeLyX to PACKAGE

2000-09-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/Liason.C: add "using: declaration.

2000-08-31  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/mathed/math_macro.C (Metrics): Set the size of the template

	* src/mathed/formulamacro.C (Latex): Fixed the returned value

2000-09-04  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/converter.C (add_options): New function.
	(SetViewer): Change $$FName into '$$FName'.
	(View): Add options when running xdvi
	(Add): Change $$FName into '$$FName'. Same for $$BaseName/$$OutName.
	(Convert): The 3rd parameter is now the desired filename. Converts
	calls to lyx::rename if necessary.
	Add options when running dvips.
	(dvi_papersize,dvips_options): New methods.

	* src/exporter.C (Export): Use getLatexName() instead of fileName().

	* src/frontends/Liason.C (printBuffer): Removed duplicate code by
	using a call to Converter::dvips_options.
	Fixed to work with nex export code.

	* src/support/copy.C
	* src/support/rename.C: New files

	* src/support/syscall.h
	* src/support/syscall.C: Added Starttype SystemDontWait.

	* lib/ui/default.ui: Changed to work with new export code

	* lib/configure.m4: Changed to work with new export code

	* src/encoding.C: Changed latex name for iso8859_7 encoding.

2000-09-04  Angus Leeming  <a.leeming@ic.ac.uk> +

	* src/frontends/xforms/Menubar_pimpl.C: added two using directives
	so that code compiles with DEC cxx.
	
	* src/frontends/xforms/FormCitation.C (setSize): code re-writtenn
	to work correctly! Also now supports the additional elements
	neeeded by natbib.
	
2000-09-01  Allan Rae  <rae@lyx.org>

	* src/frontends/ButtonPolicies.C: renamed all the references to
	PreferencesPolicy::{AllButtons,BOGUS} to be ButtonPolicy.

	* src/frontends/ButtonPolicies.h: rename AllButtons to ALL_BUTTONS
	since it's a const not a type.

	* src/frontends/xforms/ButtonController.h: cleanup before Lars does.

2000-08-31  Juergen Vigna  <jug@sad.it>

	* src/insets/figinset.C: Various changes to look if the filename has
	an extension and if not add it for inline previewing.

2000-08-31  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/frontends/ButtonPolicies.h: add a Button AllButtons.
	make buttonStatus and isReadOnly be const methods. (also reflect
	this in derived classes.)

	* src/frontends/ButtonPolicies.C: remove sum_ and bogus_
	(nextState): change to be static inline, pass the StateMachine as
	a const reference
	(PreferencesPolicy): remove casts
	(OkCancelPolicy): remvoe casts
	(OkCancelReadOnlyPolicy): remove casts
	(NoRepeatedApplyReadOnlyPolicy): remove casts
	(OkApplyCancelReadOnlyPolicy): remove casts
	(OkApplyCancelPolicy): remove casts
	(NoRepeatedApplyPolicy): remove casts

2000-08-31  Angus Leeming  <a.leeming@ic.ac.uk>

	* src/converter.C: added some using directives

	* src/frontends/ButtonPolicies.C: changes to overcome
	"need lvalue" error with DEC c++

	* src/frontends/xforms/FormDocument.C (c-tor): use C callback
	to WMHideCB for DEC c++

	* src/frontends/xforms/Menubar_pimpl.C: added using directive

	* src/frontends/xforms/forms/form_document.C.patch: use C callback
	to BulletBMTableCB for DEC c++

2000-08-31  Allan Rae  <rae@lyx.org>

	* src/lyx_gui.C (create_forms): build combo_language2 which is part of
	character dialog separately from old document dialogs combo_language.
	Stops a segfault.

2000-08-30  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/commandtags.h: Added LFUN_GOTO_PARAGRAPH.
	Removed LFUN_REF_CREATE.

	* src/MenuBackend.C: Added new tags: toc and references

	* src/frontends/xforms/Menubar_pimpl.C: Removed the use of StrPool
	(add_lastfiles, add_documents, add_formats): Removed the unused smn
	parameter.
	(add_toc, add_references): New methods.
	(create_submenu): Handle correctly the case when there is a
	seperator after optional menu items.

	* src/lyxfunc.C (getStatus): Handle LFUN_REF_BACK.
	(dispatch): Combined the code for LFUN_REF_CREATE and LFUN_REF_INSERT.
	(dispatch): New code for LFUN_GOTO_PARAGRAPH.

	* src/frontends/xforms/FormToc.C (apply): Use Dispatch.

2000-08-30  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/converter.[Ch]: New file for converting between different
	formats.
	
	* src/export.[Ch]: New file for exporting a LyX file to different
	formats.
	
	* src/lyx_cb.C:	Remove many functions when NEW_EXPORT is defined:
	MenuRunLaTeX, MakeLaTeXOutput, RunScript, CreatePostscript,
	PreviewPostscript, PreviewDVI, AskOverwrite, MenuMakeLaTeX,
	MenuMakeLinuxDoc, MenuMakeDocBook, MenuMakeHTML,
	MenuMakeHTML_LinuxDoc, MenuMakeHTML_DocBook, RunLinuxDoc,
	RunDocBook, MenuExport.
	
	* src/lyxfunc.C (Dispatch): Use the Exporter::Export and
	Exporter::Preview methods if NEW_EXPORT is defined.	
	
	* src/buffer.C (Dispatch): Use Exporter::Export.
	
	* src/lyxrc.C: Added new tags: \converter and \viewer.
	
	* src/commandtags.h
	* src/LyXAction.C: Define new lyx-function: buffer-update.
	Remove obsolete buffer-typeset,buffer-typeset-ps & buffer-view-ps
	when NEW_EXPORT is defined.
	
	* src/MenuBackend.C: Added new tags: updateformats and viewformats.
	
	* src/frontends/xforms/Menubar_pimpl.C (add_formats) New method.
	
	* lib/ui/default.ui: Added submenus "view" and "update" to the 
	"file" menu.
	
	* src/filetools.C (GetExtension): New function.
	
	* src/LaTeX.C (LaTeX): Add "-pdf" to depfile if pdflatex is used.

2000-08-29  Allan Rae  <rae@lyx.org>

	* lib/bind/xemacs.bind: update a binding due to Juergen's recent work

	* src/frontends/xforms/FormDocument.C (checkReadOnly): new function
	(EnableDocumentLayout): removed
	(DisableDocumentLayout): removed
	(build): make use of ButtonController's read-only handling to
	de/activate various objects. Replaces both of the above functions.

	* src/frontends/xforms/ButtonController.h (readWrite): was read_write
	(readOnly): was read_only
	(refresh): fixed dumb mistakes with read_only_ handling

	* src/frontends/xforms/forms/form_document.fd:
	* src/frontends/xforms/forms/form_tabular.fd: Use FL_FLAT_BOX for the
	tabbed dialogs so the tabs look more like tabs and so its easier to
	work out which is the current tab.

	* src/lyx_gui_misc.C (updateAllVisibleBufferRelatedDialogs): fix
	segfault with form_table

	* src/frontends/ButtonPolicies.C: All policies now support UNDO_ALL.

2000-08-28  Juergen Vigna  <jug@sad.it>

	* acconfig.h: added USE_PSPELL.

	* src/config.h.in: added USE_PSPELL.

	* autogen.sh: added pspell.m4

	* config/pspell.m4: new file.

	* src/spellchecker.C: implemented support for pspell libary.

2000-08-25  Juergen Vigna  <jug@sad.it>

	* src/LyXAction.C (init): renamed LFUN_TABLE to
	LFUN_DIALOG_TABULAR_INSERT and fixed all it's occurences.

	* src/lyxfunc.C (getStatus): fix for disabled Edit->Table entries.

	* src/lyxscreen.h: add force_clear variable and fuction to force
	a clear area when redrawing in LyXText.

	* src/text.C (GetVisibleRow): look if the screen forces a redraw.

2000-08-25  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* some whitespace and comment changes.
	
	* src/lyx_gui.C (LyXGUI): use C++ style casts instead of C ones.

	* src/buffer.C: up te LYX_FORMAT to 2.17

2000-08-23  Juergen Vigna  <jug@sad.it>

	* src/BufferView_pimpl.C (tripleClick): disable this when in a
	locking_inset.

	* src/insets/insettabular.C (pasteSelection): delete the insets
	LyXText as it is not valid anymore.
	(copySelection): new function.
	(pasteSelection): new function.
	(cutSelection): new function.
	(LocalDispatch): implemented cut/copy/paste of cell selections.

	* src/insets/insettext.C (resizeLyXText): don't need resize if I still
	don't have a LyXText.

	* src/LyXAction.C (init): a NEW_TABULAR define too much.

	* src/lyx_gui_misc.C (CloseAllBufferRelatedDialogs): another missing
	NEW_TABULAR define.

2000-08-22  Juergen Vigna  <jug@sad.it>

	* src/lyx_gui_misc.C (updateAllVisibleBufferRelatedDialogs): 
	ifdef form_table out if NEW_TABULAR.

2000-08-21  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (TabularFeatures): BoxType is enum now.
	(draw): fixed draw position so that the cursor is positioned in the
	right place.
	(InsetMotionNotify): hide/show cursor so the position is updated.
	(GENERAL): fixed cursor_pos to show only 0/1 (begin/end of cell),
	using cellstart() function where it should be used.

	* src/insets/insettext.C (draw): ditto.

	* src/tabular.C: fixed initialization of some missing variables and
	made BoxType into an enum.

2000-08-22  Marko Vendelin <markov@ioc.ee>
	* src/frontends/gnome/Menubar_pimpl.C: Mathces LyX action with Gnome 
	stock menu item using action numerical value, not its string
	representation.


2000-08-22  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/frontends/xforms/Makefile.am (libxforms_la_SOURCES): add
	GUIRunTime.C remove GUIRunTime_pimpl.[Ch]

	* src/frontends/xforms/GUIRunTime_pimpl.[Ch]: removed file

	* src/frontends/xforms/GUIRunTime.C: new file

	* src/frontends/kde/Makefile.am (libkde_la_SOURCES): add
	GUIRunTime.C and remove GUIRunTime_pimpl.[Ch]

	* src/frontends/kde/GUIRunTime_pimpl.[Ch]: removed file

	* src/frontends/kde/GUIRunTime.C: new file

	* src/frontends/gnome/Makefile.am (libgnome_la_SOURCES): add
	GUIRunTime.C and remove GUIRunTime_pimpl.[Ch]

	* src/frontends/gnome/GUIRunTime_pimpl.[Ch]: removed file

	* src/frontends/gnome/GUIRunTime.C: new file

	* src/frontends/Makefile.am (libfrontends_la_SOURCES): removed
	GUIRunTime.C 

	* src/frontends/GUIRunTime.h: removed constructor and destructor,
	small change to documetentation.

	* src/frontends/GUIRunTime.C: removed file

	* src/text2.C (MeltFootnoteEnvironment): add some NEW_TABULAR

	* src/lyxparagraph.h: enable NEW_TABULAR as default

	* src/lyxfunc.C (processKeySym): remove some commented code

	* src/lyx_gui_misc.C (updateAllVisibleBufferRelatedDialogs): add
	NEW_TABULAR around the fd_form_table_options.

	* src/lyx_gui.C (runTime): call the static member function as
	GUIRunTime::runTime().

2000-08-21  Allan Rae  <rae@lyx.org>

	* src/frontends/xforms/FormDocument.h: D'oh.  Forgot to change the
	policy here also.

2000-08-21  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/Spacing.C (writeEnvirBegin): Small fix when sstream not present

2000-08-21  Allan Rae  <rae@lyx.org>

	* src/frontends/xforms/ButtonController.h (setOK): renamed from setOk to
	keep Garst happy ;-)
	* src/frontends/xforms/FormPreferences.C (build): use setOK
	* src/frontends/xforms/FormDocument.C (build): use setOK
	(FormDocument): use the appropriate policy.

2000-08-21  Allan Rae  <rae@lyx.org>

	* src/frontends/xforms/ButtonController.h (class ButtonController): Allow
	automatic [de]activation of arbitrary objects when in a read-only state.

	* src/frontends/ButtonPolicies.h: More documentation
	(isReadOnly): added to support the above.

	* src/frontends/xforms/forms/form_preferences.fd: Changed Ok -> Save

2000-08-18  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (getStatus): changed to return func_status.

	* src/lyxfunc.C (getStatus): fixed TabularFeatures menu to always
	display toggle menu entries if they are.

	* src/lyx_cb.C: #ifdef'ed out layout stuff which is in the
	new document layout now.

	* src/lyxfunc.C: ditto

	* src/lyx_gui_misc.C: ditto

	* src/lyx_gui.C: ditto

	* lib/ui/default.ui: removed paper and quotes layout as they are now
	all in the document layout tabbed folder.

	* src/frontends/xforms/forms/form_document.fd: added Restore
	button and callbacks for all inputs for Allan's ButtonPolicy.

	* src/frontends/xforms/FormDocument.C (ChoiceClassCB): added.
	(CheckChoiceClass): added missing params setting on class change.
	(UpdateLayoutDocument): added for updating the layout on params.
	(build): forgot to RETURN_ALWAYS input_doc_spacing.
	(FormDocument): Implemented Allan's ButtonPolicy with the
	PreferencesPolicy.

2000-08-17  Allan Rae  <rae@lyx.org>

	* src/frontends/xforms/Dialogs.C (Dialogs): Make a temporary connection
	so we can at least see the credits again.

	* src/frontends/xforms/FormPreferences.C: Used the appropriate button
	controller calls for the appropriate callbacks.  Note that since Ok
	calls apply followed by cancel, and apply isn't a valid input for the
	APPLIED state, the bc_ calls have to be made in the static callback not
	within each of the real callbacks.

	* src/frontends/xforms/ButtonController.h (Ok): renamed from Okay()
	(setOk): renamed from setOkay()

2000-08-17  Juergen Vigna  <jug@sad.it>

	* src/frontends/gnome/Menubar_pimpl.C (openByName): put this function
	in the implementation part.
	(composeUIInfo): don't show optional menu-items.

	* src/lyxfunc.C (getStatus): use insets LyXText if the_locking_inset.

	* src/insets/insettext.C (UpdateLocal): call to LyXView::showState()

	* src/bufferview_funcs.C (CurrentState): fixed to show also the
	text-state when in a text-inset.

	* src/frontends/kde/GUIRunTime_pimpl.C: include xforms for now.

2000-08-17  Marko Vendelin <markov@ioc.ee>
	* src/frontends/gnome/FormIndex.C
	* src/frontends/gnome/FormIndex.h
	* src/frontends/gnome/FormToc.C
	* src/frontends/gnome/FormToc.h
	* src/frontends/gnome/dialogs
	* src/frontends/gnome/diatoc_callbacks.c
	* src/frontends/gnome/diatoc_callbacks.h
	* src/frontends/gnome/diainsertindex_callbacks.h
	* src/frontends/gnome/diainsertindex_callbacks.c
	* src/frontends/gnome/diainsertindex_interface.c
	* src/frontends/gnome/diainsertindex_interface.h
	* src/frontends/gnome/diatoc_interface.h
	* src/frontends/gnome/diatoc_interface.c
	* src/frontends/gnome/Makefile.am: Table of Contents and 
	Insert Index dialogs implementation for Gnome frontend

	* src/frontends/gnome/GUIRunTime_pimpl.C: fix some small bugs

	* src/frontends/gnome/Menubar_pimpl.C: remove historical comments

	* src/frontends/gnome/diainserturl_interface.c: make the dialog
	resizable

2000-08-17  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/frontends/xforms/GUIRunTime_pimpl.C: constructor and
	destructor. Don't definde if you don't need it
	(processEvents): made static, non-blocking events processing for
	xforms.
	(runTime): static method. event loop for xforms
	* similar as above for kde and gnome.
	
	* src/frontends/GUIRunTime.C (GUIRunTime): new Pimpl() is wrong
	new Pimpl is correct
	(runTime): new method calss the real frontends runtime func.

	* src/lyx_gui.C (runTime): change to use the GUIRunTime::runTime

2000-08-16  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyx_gui.C (create_forms): fix the "No change" gettext missing

2000-08-16  Juergen Vigna  <jug@sad.it>

	* src/lyx_gui.C (runTime): added GUII RunTime support.

	* src/frontends/Makefile.am: 
	* src/frontends/GUIRunTime.[Ch]:
	* src/frontends/xforms/GUIRunTime_pimpl.[Ch]:
	* src/frontends/kde/GUIRunTime_pimpl.[Ch]:
	* src/frontends/gnome/GUIRunTime_pimpl.[Ch]: added GUII runtime support

	* src/LyXAction.C (init): added dummy LFUN_INSERT_URL.

	* src/frontends/Makefile.am (INCLUDES): don't set the FRONTENDS include
	as this is already set in ${FRONTEND_INCLUDE} if needed.

	* configure.in (CPPFLAGS): setting the include dir for the frontend
	directory and don't set FRONTEND=xforms for now as this is executed
	always.

2000-08-16 John Levon (moz@compsoc.man.ac.uk)

	* src/frontends/kde/Makefile.am:
	* src/frontends/kde/FormUrl.C:
	* src/frontends/kde/FormUrl.h:
	* src/frontends/kde/formurldialog.h:
	* src/frontends/kde/formurldialog.C: Add KDE URL dialog

2000-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>

	* src/frontend/Makefile.am: Add gnome and kde to dist tar file.

2000-08-16  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/BufferView_pimpl.C (workAreaKeyPress): enable the
	processKeySym
	
2000-08-15  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/WorkArea.C (work_area_handler): more work to get te
	FL_KEYBOARD to work with xforms 0.88 too, please test.

	* src/BufferView_pimpl.C (workAreaKeyPress): add XForms 0.88 guard.

2000-08-15  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/frontends/ButtonPolicies.C: make gcc happy when compiling with
	-pedantic

2000-08-14  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/Timeout.h: remove Qt::emit hack.

	* several files: changes to allo doc++ compilation
	
	* src/lyxfunc.C (processKeySym): new method
	(processKeyEvent): comment out if FL_REVISION < 89

	* src/WorkArea.C: change some debugging levels.
	(WorkArea): set wantkey to FL_KEY_ALL
	(work_area_handler): enable the FL_KEYBOARD clause, this enables
	clearer code and the use of compose with XForms 0.89. Change to
	use signals instead of calling methods in bufferview directly.

	* src/Painter.C: change some debugging levels.

	* src/LyXView.C: don't setup of use the KeyPressMask_raw_callback
	if FL_REVISION < 89

	* src/BufferView_pimpl.C (Pimpl): Connect to the WorkArea signals.
	(workAreaKeyPress): new method

2000-08-14  Juergen Vigna  <jug@sad.it>

	* src/frontends/kde/Dialogs.C (Dialogs): added missing dialogs.

	* config/kde.m4: addes some features

	* src/frontends/kde/Makefile.am (libkde_la_OBJADD): modified to 
	include missing xforms dialogs.

	* src/Timeout.h: a hack to be able to compile with qt/kde.

	* sigc++/.cvsignore: added acinclude.m4

	* lib/.cvsignore: added listerros

	* src/frontends/Makefile.am: modified for now to ALWAYS compile the
	xforms tree as objects are needed for other frontends.

	* src/frontends/gnome/Makefile.am (libgnome_la_OBJADD): added for
	linking with not yet implemented xforms objects.

	* src/frontends/gnome/Dialogs.C (Dialogs): added FormDocument.

2000-08-14  Baruch Even  <baruch.even@writeme.com>

	* src/frontends/xforms/FormGraphics.h:
	* src/frontends/xforms/FormGraphics.C:
	* src/frontends/xforms/RadioButtonGroup.h:
	* src/frontends/xforms/RadioButtonGroup.C:
	* src/insets/insetgraphics.h:
	* src/insets/insetgraphics.C:
	* src/insets/insetgraphicsParams.h:
	* src/insets/insetgraphicsParams.C: Changed indentation to use tabs
	instead of spaces, and various other indentation issues to make the
	sources more consistent.

2000-08-14  Marko Vendelin <markov@ioc.ee>

	* src/frontends/gnome/dialogs/diaprint.glade
	* src/frontends/gnome/FormPrint.C
	* src/frontends/gnome/FormPrint.h
	* src/frontends/gnome/diaprint_callbacks.c
	* src/frontends/gnome/diaprint_callbacks.h
	* src/frontends/gnome/diaprint_interface.c
	* src/frontends/gnome/diaprint_interface.h: Print dialog Gnome 
	implementation
	
	* src/frontends/gnome/dialogs/diainserturl.glade
	* src/frontends/gnome/FormUrl.C
	* src/frontends/gnome/FormUrl.h
	* src/frontends/gnome/diainserturl_callbacks.c
	* src/frontends/gnome/diainserturl_callbacks.h
	* src/frontends/gnome/diainserturl_interface.c
	* src/frontends/gnome/diainserturl_interface.h: Insert Url dialog
	Gnome implementation

	* src/frontends/gnome/Dialogs.C
	* src/frontends/gnome/Makefile.am: added Print, Insert Url  and
	all other dialogs. Copy all unimplemented dialogs from Xforms
	frontend
	
	* src/frontends/gnome/support.c
	* src/frontends/gnome/support.h: support files generated by Glade

	* autogen.sh
	* configure.in
	* config/gnome.m4: Gnome configuration scripts

	* config/lyxinclude.m4: cleanup: frontend renamed from gtk to gnome in
	configure --help message

	* src/lyx_gui.C: Gnome/Gtk releases control in LyXGUI::runTime()
	only if there are no events pendling in Gnome/Gtk. This enhances
	the performance of menus.


2000-08-14  Allan Rae  <rae@lyx.org>

	* lib/Makefile.am: listerrors cleaning

	* lib/listerrors: removed -- generated file
	* acinclude.m4: ditto
	* sigc++/acinclude.m4: ditto

	* src/frontends/xforms/forms/form_citation.fd:
	* src/frontends/xforms/FormCitation.C (setSize): Made the form a more
	manageable size.

	* src/frontends/xforms/forms/makefile: I renamed the `install` target
	`updatesrc` and now we have a `test` target that does what `updatesrc`
	used to do. I didn't like having an install target that wasn't related
	to the dist.

	* src/frontends/xforms/Form*.[hC]: Removed the free() member functions
	on all except FormGraphics.  This may yet happen. Followed by a major
	cleanup including using FL_TRANSIENT for most of the dialogs.  More
	changes to come when the ButtonController below is introduced.

	* src/frontends/xforms/ButtonController.h: New file for managing up to
	four buttons on a dialog according to an externally defined policy.
	* src/frontends/xforms/Makefile.am: added above

	* src/frontends/ButtonPolicies.[hC]: New files full of policies for Ok,
	Apply and Cancel/Close buttons and everything in between and beyond.
	* src/frontends/Makefile.am: added above.

	* src/frontends/xforms/forms/form_preferences.fd:
	* src/frontends/xforms/FormPreferences.[hC]: Uses the ButtonController
	and removed variable 'status' as a result. Fixed the set_minsize thing.
	Use the new screen-font-update after checking screen fonts were changed
	Added a "Restore" button to restore the original lyxrc values while
	editing.  This restores everything not just the last input changed.
	That's still a tricky one.  As is the "LyX: this shouldn't happen..."

	* src/LyXAction.C: screen-font-update added for updating buffers after
	screen font settings have been changed.
	* src/commandtags.h: ditto
	* src/lyxfunc.C: ditto

	* forms/lyx.fd: removed screen fonts dialog.
	* src/lyx_gui.C: ditto
	* src/menus.[Ch]: ditto
	* src/lyx.[Ch]: ditto
	* src/lyx_cb.C: ditto + code from here moved to make
	screen-font-update. And people wonder why progress on GUII is
	slow.  Look at how scattered this stuff was!  It takes forever
	just find it all. 

	* forms/fdfix.sh: Fixup the spacing after commas.
	* forms/makefile: Remove date from generated files. Fewer clashes now.
	* forms/bullet_forms.C.patch: included someones handwritten changes

	* src/lyxrc.[Ch]: Added a commented out system_lyxrc.  Will use it RSN
	once I've discovered why LyXRC was made noncopyable.
	* src/lyx_main.C: ditto

2000-08-14  Angus Leeming  <a.leeming@ic.ac.uk>

	* src/frontends/xforms/forms/fdfix.sh:
	* src/frontends/xforms/forms/fdfixh.sed:
	* src/frontends/xforms/forms/fdfixc.sed: New file from Angus
	* src/frontends/xforms/Form*.[hC]:
	* src/frontends/xforms/form_*.[hC]: Massive rewrite of the generation
	scripts to rename all the "FL_OBJECT * form_xxxx" to "form" and to
	provide a destructor for the struct FD_form_xxxx. Another version of
	the set_[max|min]size workaround and a few other cleanups. Actually,
	Angus' patch from 20000809.

2000-08-13  Baruch Even  <baruch.even@writeme.com>

	* src/insets/insetgraphics.C (Clone): Added several fields that needed
	copying.

2000-08-11  Juergen Vigna  <jug@sad.it>

	* src/insets/insetgraphics.C (InsetGraphics): changing init
	order because of warnings.

	* src/frontends/xforms/forms/makefile: adding patching .C with
	.C.patch files.

	* src/frontends/xforms/forms/fdfix.sh: changing patching file .c
	from .C.patch to .c.patch

	* src/frontends/xforms/FormCommand.C (FormCommand): changing init
	order because of warning.

	* src/frontends/xforms/Dialogs.C (Dialogs): added FormDialog

	* src/frontends/Liason.C (setMinibuffer): new helper function

	* src/frontends/Dialogs.h (class Dialogs): inserting showLayoutDocument

	* src/lyxfunc.C (Dispatch): calling new Document-Layout

	* lib/ui/default.ui: commented out PaperLayout entry

	* src/frontends/xforms/form_document.[Ch]: new added files 
	
	* src/frontends/xforms/FormDocument.[Ch]: ditto

	* src/frontends/xforms/forms/form_document.fd: ditto

	* src/frontends/xforms/forms/form_document.C.patch: ditto

2000-08-10  Juergen Vigna  <jug@sad.it>

	* src/insets/insetgraphics.C (draw): fixed access to 0 cacheHandle.
	(InsetGraphics): initialized cacheHandle to 0.
	(draw): changed call to updateInset to status=CHANGE_IN_DRAW.

2000-08-10  Baruch Even  <baruch.even@writeme.com>

	* src/graphics/GraphicsCache.h:
	* src/graphics/GraphicsCache.C (addFile, removeFile): Changed to work 
	correctly as a cache.

	* src/graphics/GraphicsCacheItem.h:
	* src/graphics/GraphicsCacheItem.C: Changed to the pimpl idiom to allow
	reference counting.

	* src/graphics/GraphicsCacheItem_pimpl.h:
	* src/graphics/GraphicsCacheItem_pimpl.C: The implementation of the
	GraphicsCacheItem.

	* src/insets/insetgraphics.h: 
	* src/insets/insetgraphics.C: Changed from using a signal notification
	to polling when image is not loaded.

2000-08-10  Allan Rae  <rae@lyx.org>

	* development/tools/makeLyXsigc.sh: Updated to allow Signal3.  Note
	that there are two functions that have to been taken out of line by
	hand and aren't taken care of in the script.  (Just a reminder note)

	* sigc++/macros/*.h.m4: Updated as above.

2000-08-09  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C (draw): small fix for clearing rectangle.

	* src/insets/insettabular.C: make drawing of single cell smarter.

2000-08-09  Marko Vendelin <markov@ioc.ee>
	* src/frontends/gnome/Menubar_pimpl.C
	* src/frontends/gnome/Menubar_pimpl.h: Gnome frontend Menubar
	implementation: new files
	
	* src/frontends/gnome/mainapp.C
	* src/frontends/gnome/mainapp.h: Gnome main window (temporary
	implementation)

	* src/main.C: create Gnome main window

	* src/frontends/xforms/Menubar_pimpl.h
	* src/frontends/Menubar.C
	* src/frontends/Menubar.h: added method Menubar::update that calls 
	Menubar_pimpl::update and xforms/Menubar_pimpl::update (empty one)

	* src/LyXView.C: calls Menubar::update to update the state
	of menu items

	* src/frontends/gnome/Makefile.am: added new files
	
	* src/frontends/Makefile.am: added frontend compiler options

2000-08-08  Juergen Vigna  <jug@sad.it>

	* src/lyx_cb.C (AutoSave): autosave for unnamed files enabled!

	* src/bufferlist.C (close): 
	* src/bufferlist.C (QwriteAll): remove Autosave-files for Unnamed()
	documents if exiting without saving.

	* src/buffer.C (save): use removeAutosaveFile()

	* src/support/filetools.C (removeAutosaveFile): new function.

	* src/lyx_cb.C (MenuWrite): returns a bool now.
	(MenuWriteAs): check if file could really be saved and revert to the
	old name if not.
	(MenuWriteAs): removing old autosavefile if existant.

	* src/frontends/xforms/FormRef.h: puting FD_form_ref declaration
	before Goto toggle declaration, because of compiler warning.

	* src/frontends/xforms/FormRef.C: forgot include of <algorithm>

	* src/lyxfunc.C (MenuNew): small fix.

	* src/lyxrc.C (output): added RC_NEW_ASK_FILENAME tag.

	* src/bufferlist.C (newFile):
	* src/lyxfunc.C (MenuNew): use the new_ask_filename tag from lyxrc.

	* src/lyxrc.C: added new_ask_filename tag

2000-08-07  Angus Leeming  <a.leeming@ic.ac.uk>

	* src/lyx.fd: removed code pertaining to form_ref
	* src/lyx.[Ch]: ditto
	* src/lyx_cb.C: ditto
	* src/lyx_gui.C: ditto
	* src/lyx_gui_misc.C: ditto

	* src/BufferView_pimpl.C (restorePosition): update buffer only
	if file has changed

	* src/commandtags.h (LFUN_REFTOGGLE): removed
	(LFUN_INSERT_REF): renamed LFUN_REF_INSERT
	(LFUN_REFGOTO): renamed LFUN_REF_GOTO
	(LFUN_REFBACK): renamed LFUN_REF_BACK

	* src/LyXAction.C: removed code pertaining to LFUN_REFTOGGLE
	* src/menus.C: ditto
	* src/lyxfunc.C (Dispatch): ditto.
	InsertRef dialog is now GUI-independent.

	* src/texrow.C: added using std::endl;

	* src/insets/insetref.[Ch]: strip out large amounts of code.
	The inset is now a container and this functionality is now
	managed by a new FormRef dialog
	
	* src/frontends/Dialogs.h (showRef, createRef): new signals

	* src/frontends/xforms/FormIndex.[Ch],
	src/frontends/xforms/FormUrl.[Ch]: workaround an xforms bug
	when setting dialog's min/max size
	* src/frontends/xforms/FormIndex.[Ch]: ditto

	* src/frontends/xforms/FormRef.[Ch],
	src/frontends/xforms/forms/form_ref.fd: new xforms
	implementation of an InsetRef dialog

	* src/graphics/GraphicsCache.[Ch]: small changes to compile with
	DEC cxx

	* src/graphics/XPM_Renderer.C (isImageFormatOK):
	ios::nocreate is not part of the standard. Removed.

2000-08-07  Baruch Even  <baruch.even@writeme.com>

	* src/graphics/Renderer.h:
	* src/graphics/Renderer.C: Added base class for rendering of different
	image formats into Pixmaps.

	* src/graphics/XPM_Renderer.h:
	* src/graphics/XPM_Renderer.C: Taken from GraphicsCacheItem and placed
	in a different class.

	* src/graphics/GraphicsCacheItem.C: factored out the rendering in order to
	easily add support for other formats.

	* src/insets/figinset.C: plugged a leak of an X resource.

2000-08-07  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/CutAndPaste.[Ch]: make all metods static. 

	* development/Code_rules/Rules: more work, added section on
	Exceptions, and a References section.

	* a lot of header files: work to make doc++ able to generate the
	source documentation, some workarounds of doc++ problems. Doc++ is
	now able to generate the documentation.

2000-08-07  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (recomputeTextInsets): removed function

	* src/tabular.C (SetWidthOfMulticolCell): 
	(SetWidthOfCell): 
	(calculate_width_of_column_NMC): fixed return value so that it really
	only returns true if the column-width has changed (there where
	problems with muliticolumn-cells in this column).

2000-08-04  Juergen Vigna  <jug@sad.it>

	* src/BufferView_pimpl.C (checkInsetHit): changed so that it looks
	also on the scrollstatus of the inset.
	(workAreaMotionNotify): ditto.

	* src/texrow.C (getIdFromRow): fixed compile problem on egcs-1.1.2.

2000-08-01  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (resetPos): scroll tabular automatically.

	* src/commandtags.h: 
	* src/LyXAction.C (init): 
	* src/insets/inset.C (LocalDispatch): added support for
	LFUN_SCROLL_INSET.

	* src/insets/inset.C (scroll): new functions.

	* src/insets/insettext.C (removeNewlines): new function.
	(SetAutoBreakRows): removes forced newlines in the text of the
	paragraph if autoBreakRows is set to false.

	* src/tabular.C (Latex): generates a parbox around the cell contents
	if needed.

	* src/frontends/xforms/FormTabular.C (local_update): removed
	the radio_useparbox button.

	* src/tabular.C (UseParbox): new function

2000-08-06  Baruch Even  <baruch.even@writeme.com>

	* src/graphics/GraphicsCache.h:
	* src/graphics/GraphicsCache.C:
	* src/graphics/GraphicsCacheItem.h:
	* src/graphics/GraphicsCacheItem.C: Made them to actually do something
	usefull.

	* src/insets/insetgraphics.h:
	* src/insets/insetgraphics.C: Added the use of the GraphicsCache
	and the drawing of the inline image.

	* src/buffer.C: Fixed a bug where a loaded InsetGraphics would be
	loaded into the wrong position.

	* src/lyxfunc.C: When adding an InsetGraphics the edit dialog is now
	launched.

2000-08-05  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/translator.h: move all typedefs to public section

	* src/support/filetools.C (MakeLatexName): return string const
	(QuoteName): ditto
	(TmpFileName): ditto
	(FileOpenSearch): ditto
	(FileSearch): ditto
	(LibFileSearch): ditto
	(i18nLibFileSearch): ditto
	(GetEnv): ditto
	(GetEnvPath): ditto
	(CreateTmpDir): ditto
	(CreateBufferTmpDir): ditto
	(CreateLyXTmpDir): ditto
	(GetCWD): ditto
	(OnlyPath): ditto
	(MakeAbsPath): ditto
	(AddName): ditto
	(OnlyFilename): ditto
	(ExpandPath): ditto
	(NormalizePath): ditto
	(CleanupPath): ditto
	(GetFileContents): ditto
	(ReplaceEnvironmentPath): ditto
	(MakeRelPath): ditto
	(AddPath): ditto
	(ChangeExtension): ditto
	(MakeDisplayPath): ditto
	(do_popen): return cmdret const
	(findtexfile): return string const

	* src/support/DebugStream.h: add some /// to please doc++

	* src/frontends/DialogBase.h (endif): add some /// to please doc++

	* src/texrow.C (same_rownumber): functor to use with find_if
	(getIdFromRow): rewritten to use find_if and to not update the
	positions. return true if row is found
	(increasePos): new method, use to update positions

	* src/lyxlex_pimpl.h: make LyXLex::Pimpl noncopyable

	* src/lyxlex_pimpl.C (verifyTable): new method
	(pushTable): use it
	(Pimpl): use it
	(GetString): return string const
	(pushTable): rewrite to use std::stack
	(popTable): ditto
	(setFile): better check
	(setStream): ditto

	* src/lyxlex.h: make LyXLex noncopyable

	* src/lyxlex.C (text): return char const * const
	(GetString): return string const
	(getLongString): return string const

	* src/lyx_gui_misc.C (askForText): return pair<...> const

	* src/lastfiles.[Ch] (operator): return string const

	* src/buffer.C (parseSingleLyXformat2Token): pass string to
	istringstream not char const *. 
	move token.end() out of loop.
	(readFile): move initializaton of token

	* src/BufferView2.C (insertErrors): run texrow.increasePos if
	getIdFromRow is successful.

	* lib/bind/emacs.bind: don't include menus bind

	* development/Code_rules/Rules: the beginnings of making this
	better and covering more of the unwritten rules that we have.

	* development/Code_rules/Recommendations: a couple of wording
	changes. 

2000-08-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/support/strerror.c: remove C++ comment.

2000-08-04  Angus Leeming  <a.leeming@ic.ac.uk>

	* src/commandtags.h: LFUN_INDEX_CREATE_LAST reverts to
	LFUN_INDEX_INSERT_LAST

	* src/texrow.C (getIdFromRow): changed from const_iterator to
	iterator, allowing code to compile with DEC cxx

	* src/frontends/xforms/FormCitation.[Ch]: made vector<string>
	stores part of the class, as suggested by Allan. Will allow
	multiple LyXViews.
	(apply): test to apply uses InsetCommandParams operator!=

	* src/frontends/xforms/FormIndex.C: moved set_minsize into build
	(apply): test to apply uses InsetCommandParams operator!=

	* src/frontends/xforms/FormToc.[Ch]: made vector<string>
	stores part of the class.
	(update): removed limits on min/max size.

	* src/frontends/xforms/FormUrl.C: moved set_minsize into build
	(apply): test to apply uses InsetCommandParams operator!=

	* src/insets/insetcommand.[Ch] InsetCommand made noncopyable
	(Read, Write, scanCommand, getCommand): moved functionality
	into InsetCommandParams.
	(Clone): removed
	(getScreenLabel): made pure virtual
	new InsetCommandParams operators== and !=
	
	* src/insets/insetbib.[Ch] (InsetBibKey, InsetBibtex): new
	c-tors based on InsetCommandParams. Removed others.
	* src/insets/insetinclude.[Ch]: ditto
	* src/insets/insetlabel.[Ch]: ditto
	* src/insets/insetparent.[Ch]: ditto
	* src/insets/insetref.[Ch]: ditto. Also moved gotoLabel into .C
	
	* src/buffer.C (parseSingleLyXformat2Token, readInset): all
	insets derived from InsetCommand created using similar c-tors
	based on InsetCommandParams
	* src/lyx_cb.C (MenuInsertLabel, RefSelectCB): ditto
	* src/menus.C (ShowRefsMenu): ditto
	* src/paragraph.C (Clone): ditto
	* src/text2.C (SetCounter): ditto
	* src/lyxfunc.C (Dispatch) ditto
	Also recreated old InsetIndex behaviour exactly. Can now
	index-insert at the start of a paragraph and index-insert-last
	without launching the pop-up.

2000-08-03  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* lib/lyxrc.example: mark te pdf options as non functional.

	* src/support/lstrings.C (strToInt): move initalization of tmpstr
	(isStrDbl): move tmpstr.end() out of loop.
	(strToDbl): move intialization of tmpstr
	(lowercase): return string const and move tmp.end() out of loop.
	(uppercase): return string const and move tmp.edn() out of loop.
	(prefixIs): add assertion
	(suffixIs): ditto
	(contains): ditto
	(contains): ditto
	(contains): ditto
	(containsOnly): ditto
	(containsOnly): ditto
	(containsOnly): ditto
	(countChar): make last arg char not char const
	(token): return string const
	(subst): return string const, move tmp.end() out of loop.
	(subst): return string const, add assertion
	(strip): return string const
	(frontStrip): return string const, add assertion
	(frontStrip): return string const
	(split): ditto
	(split): ditto
	(rsplit): ditto

	* src/support/lstrings.C: add inclde "LAssert.h"
	(isStrInt): move tmpstr.end() out of loop.

	* src/frontends/xforms/Toolbar_pimpl.C (activate): move
	toollist.end() out of loop.
	(deactivate): move toollist.end() out of loop.
	(update): move toollist.end() out of loop.
	(updateLayoutList): move tc.end() out of loop.
	(add): move toollist.end() out of loop.

	* src/frontends/xforms/Menubar_pimpl.C (create_submenu): move
	md.end() out of loop.

	* src/texrow.h: make getIdFromRow const, make rowlist mutable.

	* src/texrow.C (getIdFromRow): make const, more rowlist.end() out
	of loop.

	* src/paragraph.C (Erase): move fontlist.end() out of loop.
	(Erase): move insetlist.end() out of loop.

	* src/lyx_sendfax_main.C: make show_logfile static and to take a
	ref to const string as first arg. Move initialization of some
	variables, whitespace changes.

	* src/kbmap.C (defkey): move table.end() out of loop.
	(kb_keymap): move table.end() out of loop.
	(findbinding): move table.end() out of loop.

	* src/MenuBackend.C (hasMenu): move end() out of loop.
	(getMenu): move end() out of loop.
	(getMenu): move menulist_.end() out of loop.

	* src/Makefile.am (#lyx_LDFLAGS): interesting option commented out.

	* src/LaTeXFeatures.C (getIncludedFiles): move IncludedFiles.end()
	out of loop.

	* src/LColor.C (getFromGUIName): move infotab.end() out of loop.
	(getFromLyXName): move infotab.end() out of loop.

	* config/lyxinclude.m4 (CXXFLAGS): change for 2.96 add
	-fvtable-thunks -ffunction-sections -fdata-sections 

2000-08-03  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/frontends/xforms/RadioButtonGroup.h: Changed <forms.h> to
	FORMS_H_LOCATION.

2000-08-03  Angus Leeming  <a.leeming@ic.ac.uk>

	* src/frontends/xforms/FormCommand.[Ch] (d-tor): removed

	* src/frontends/xforms/FormCitation.[Ch],
	src/frontends/xforms/FormIndex.[Ch],
	src/frontends/xforms/FormToc.[Ch],
	src/frontends/xforms/FormUrl.[Ch] (d-tors): call free()

2000-08-03  Angus Leeming  <a.leeming@ic.ac.uk>

	* src/commandtags.h: renamed, created some flags for citation
	and index

	* src/lyx_gui_misc.C: stripped out old FD_index_form code

	* src/lyxfunc.C (dispatch): use signals to insert index entry
	
	* src/frontends/Dialogs.h: new signal createIndex

	* src/frontends/xforms/FormCommand.[Ch],
	src/frontends/xforms/FormCitation.[Ch],
	src/frontends/xforms/FormToc.[Ch],
	src/frontends/xforms/FormUrl.[Ch]: clean up and comment better

	* src/insets/insetindex.[Ch]: GUI-independent

	* src/frontends/xforms/FormIndex.[Ch],
	* src/frontends/xforms/forms/form_index.fd: xforms implementation
	of the Index dialog
	
2000-08-01  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/mathed/math_write.C (MathDecorationInset::Write) Put \protect 
	before \overbrace, \underbrace, \overleftarrow, or \overrightarrow.
	
2000-08-02  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/insets/insetref.C (Latex): rewrite so that there is now
	question that a initialization is requested.

	* src/insets/insetcommand.h: reenable the hide signal

2000-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/xforms/Menubar_pimpl.C (create_submenu): try to
	fix handling of shortcuts (many bugs :)
	(add_lastfiles): ditto.

	* lib/ui/default.ui: fix a few shortcuts.

2000-07-27  Kayvan A. Sylvan  <kayvan@sylvan.com>

	* Makefile.am: Fix ``rpmdist'' target to return the exit
	status of the ``rpm'' command, instead of the last command in
	the chain (the ``rm lyx.xpm'' command, which always returns
	success).

2000-08-02  Allan Rae  <rae@lyx.org>

	* src/frontends/xforms/FormUrl.C (FormUrl): Initialise ALL variables.
	* src/frontends/xforms/FormCitation.C (FormCitation): ditto
	* src/frontends/xforms/FormToc.C (FormToc): ditto

	* src/frontends/xforms/Makefile.am: A few forgotten files

	* src/frontends/xforms/FormCommand.C (showInset): The rest of the
	Signals-not-copyable-problem Lars' started commenting out.

	* src/frontends/xforms/form_toc.[hC]: new files.  TOC crashes lyx.

2000-08-01  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/insets/insetcommand.h: Signals is not copyable so anoter
	scheme for automatic hiding of forms must be used.

	* src/frontends/xforms/FormCitation.h: don't inerit from
	noncopyable, FormCommand already does that.
	* src/frontends/xforms/FormToc.h: ditto
	* src/frontends/xforms/FormUrl.h: ditto

	* src/frontends/xforms/FormCitation.C: add include <algorithm>

2000-08-01  Angus Leeming  <a.leeming@ic.ac.uk>

	* src/insets/insetcommand.h (hide): new SigC::Signal0
	(d-tor) new virtual destructor emits hide signal

	* src/insets/insetcite.[Ch] (hide, d-tor, EditMessage): removed
	* src/insets/inseturl.[Ch]  (hide, d-tor): ditto

	* src/insets/insettoc.[Ch]: one inset now deals with TOC, LOA,
	LOF and LOT. Inset is now GUI-independent

	* src/insets/insetloa.[Ch]: redundant
	* src/insets/insetlof.[Ch]: ditto
	* src/insets/insetlot.[Ch]: ditto
	
	* src/frontends/xforms/forms/form_url.fd: tweaked!
	* src/frontends/xforms/forms/form_citation.fd: ditto

	* src/frontends/xforms/FormCommand.[Ch]: new base class to those
	dialogs dealing with InsetCommand insets

	* src/frontends/xforms/FormCitation.[Ch]: now makes use of
	FormCommand base class
	* src/frontends/xforms/FormUrl.[Ch]: ditto

	* src/frontends/xforms/forms/form_toc.fd: Xforms implementation
	of the TOC dialog
	* src/frontends/xforms/FormToc.[Ch]: ditto

	* src/frontends/Dialogs.h (showCitation, showTOC, showUrl): all
	passed a generic InsetCommand pointer
	* src/frontends/xforms/Dialogs.C (c-tor): create instance of FormToc

	* src/lyxfunc.C (Dispatch) : modified to accomodate new FormToc class
	and modified InsetTOC class
	* src/buffer.C: ditto

	* forms/lyx.fd: strip out old FD_form_toc code
	* src/lyx_gui_misc.C: ditto
	* src/lyx_gui.C: ditto
	* src/lyx_cb.C: ditto
	* src/lyx.[Ch]: ditto

2000-08-01  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/utility.hpp: tr -d '\r'

2000-08-01  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.h: removed initFeatures() as it's not needed.

	* src/commandtags.h: 
	* src/LyXAction.C (init): added LFUN_LAYOUT_TABULAR and
	LFUN_TABULAR_FEATURES.

	* src/lyxfunc.C (getStatus): implemented LFUN_TABULAR_FEATURES and
	LFUN_LAYOUT_TABULAR.

	* src/insets/insettabular.C (getStatus): implemented helper function.

	* lib/ui/default.ui: implemented edit-table-menu and layout-tabular.

2000-07-31  Juergen Vigna  <jug@sad.it>

	* src/text.C (draw): fixed screen update problem for text-insets.

	* src/text2.C (SetParagrpah): call an update of the inset-owner when
	something changed probably this has to be added in various other
	functions too.

	* src/insets/insettext.C (cy): fixed to give back the right cursor.y().

2000-07-31  Baruch Even <baruch.even@writeme.com>

	* src/frontends/xforms/RadioButtonGroup.C: Changed to use home-brew
	templates to satisfy compaq cxx.


2000-07-31  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/translator.h (equal_1st_in_pair::operator()): take
	const ref pair_type as arg. 
	(equal_2nd_in_pair::operator()): ditto
	(Translator::~Translator): remove empty d-tor.

	* src/graphics/GraphicsCache.C: move include config.h to top, also
	put initialization of GraphicsCache::singleton here.
	(~GraphicsCache): move here
	(addFile): take const ref as arg
	(removeFile): ditto

	* src/lyxlex_pimpl.C (setFile): comment in old behaviour

	* src/BufferView2.C (insertLyXFile): change te with/without header
	check slightly.

2000-07-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/xforms/FormGraphics.C (apply): add some
	static_cast. Not very nice, but required by compaq cxx.

	* src/frontends/xforms/RadioButtonGroup.h: include header
	<utility> instead of <pair.h>

	* src/insets/insetgraphicsParams.C: add using directive. 
	(readResize): change return type to void. 
	(readOrigin): ditto.

	* src/lyxfunc.C (getStatus): add missing break for build-program
	function; add test for Literate for export functions.

	* lib/ui/default.ui: fix Insert->TOC->TOC; comment out invalid
	entries in Options menu.

2000-07-31  Baruch Even <baruch.even@writeme.com>

	* src/frontends/xforms/Toolbar_pimpl.C (toolbarItem::operator=):
	protect against auto-allocation; release icon when needed.

2000-07-31  Matej Cepl <CeplM@seznam.cz>

	* lib/kbd/czech.kmap: new file. standard Czech keyboard as found
	on usual typewriter.

	* lib/kbd/czech-prg.kmap: simpler czech kmap (which was the
	earlier czech.kmap), useful only for programming.

2000-07-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/xforms/FormCitation.h: fix conditioning around
	#pragma. 

2000-07-31  Juergen Vigna  <jug@sad.it>

	* src/frontends/xforms/FormTabular.C (local_update): changed
	radio_linebreaks to radio_useparbox and added radio_useminipage.

	* src/tabular.C: made support for using minipages/parboxes.

	* src/bufferlist.C (QwriteAll): small fix for asking for save.

	* src/insets/insetgraphics.C (draw): just draw the inset so that the
	cursor is visible.
	(descent): so the cursor is in the middle.
	(width): bit smaller box.

	* src/insets/insetgraphics.h: added display() function.

2000-07-31  Baruch Even <baruch.even@writeme.com>

	* src/frontends/Dialogs.h: Added showGraphics signals.

	* src/frontends/xforms/forms/form_graphics.fd: Added file, the
	xforms form definition of the graphics dialog.

	* src/frontends/xforms/FormGraphics.h: 
	* src/frontends/xforms/FormGraphics.C: Added files, the
	GUIndependent code of InsetGraphics

	* src/insets/insetgraphics.h: 
	* src/insets/insetgraphics.C: Major writing to make it work.

	* src/insets/insetgraphicsParams.h:	
	* src/insets/insetgraphicsParams.C: Added files, parameter passing
	struct between InsetGraphics and GUI.

	* src/LaTeXFeatures.h:
	* src/LaTeXFeatures.C (c-tor, require, getPackages): Enabled
	support for graphicx package. 

	* src/buffer.C (parseSingleLyXformat2Token): Fixed read support
	for the graphics inset.

	* src/support/translator.h: Added file, used in
	InsetGraphicsParams. this is a template to translate between two
	types.

	* src/frontends/xforms/RadioButtonGroup.h: 
	* src/frontends/xforms/RadioButtonGroup.C: Added files, Comprise a
	way to easily control a radio button group.

2000-07-28  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (LocalDispatch): 
	(TabularFeatures): added support for lyx-functions of tabular features.
	(cellstart): refixed this function after someone wrongly changed it.

	* src/commandtags.h:
	* src/LyXAction.C (init): added support for tabular-features

2000-07-28  Allan Rae  <rae@lyx.org>

	* src/frontends/xforms/FormPreferences.C (build): Setup input return
	checking.  NOTE: It seems that pressing ESC to cancel the dialog also
	triggers the callback for input checking. As a result we sometimes get
	"LyX: This shouldn't happen..." printed to cerr.
	(input): Started using status variable since I only free() on 
	destruction.  Some input checking for paths and font sizes.

	* src/frontends/xforms/FormPreferences.h: Use status to control 
	activation of Ok and Apply

	* src/frontends/xforms/forms/form_preferences.fd: Setup input return
	callback.  Also resized to stop segfaults with 0.88.  The problem is
	that xforms-0.88 requires the folder to be wide enough to fit all the
	tabs.  If it isn't it causes all sorts of problems.

	* src/frontends/xforms/FormCopyright.[hC]: forward declare FD_form...

	* src/frontends/xforms/forms/README: Reflect reality.

	* src/frontends/xforms/forms/fdfix.sh: Clean up comments
	* src/frontends/xforms/forms/makefile: ditto.

	* src/commandtags.h: Get access to new Preferences dialog
	* src/LyXAction.C: ditto
	* src/lyxfunc.C: ditto
	* lib/ui/default.ui: ditto

2000-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/xforms/forms/makefile (.c.C): change call to fdfix.sh.

	* src/frontends/xforms/Makefile.am (libxforms_la_SOURCES): add a
	few files.

	* src/frontends/xforms/form_url.[Ch]: added.

2000-07-27  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/insets/insetbib.h: fixed bug in previous commit

	* src/frontends/xforms/FormUrl.h: ditto

	* src/frontends/xforms/FormPrint.h: ditto

	* src/frontends/xforms/FormPreferences.h: ditto

	* src/frontends/xforms/FormCopyright.h: ditto

	* src/frontends/xforms/FormCitation.C: ditto

	* src/frontends/Dialogs.h (class Dialogs): use noncopyable, remove
	private copyconstructor and private default contructor

	* src/support/Makefile.am: add utility.hpp

	* src/support/utility.hpp: new file from boost

	* src/insets/insetbib.h: set owner in clone

	* src/frontends/xforms/FormCitation.C: added missing include
	algorithm

	* src/insets/form_url.[Ch]: removed

2000-07-26  Kayvan A. Sylvan <kayvan@sylvan.com>

	* development/lyx.spec.in
	* Makefile.am: Fix buglet for LyX RPM generation resulting from
	file/directory re-organization.

2000-07-26  Angus Leeming  <a.leeming@ic.ac.uk>

	* src/insets/insetcommand.[Ch]: moved the string data and
	associated manipulation methods into a new stand-alone class
	InsetCommandParams. This class has two additional methods
	getAsString() and setFromString() allowing the contents to be
	moved around as a single string.
	(addContents) method removed.
	(setContents) method no longer virtual.

	* src/buffer.C (readInset): made use of new InsetCitation,
	InsetUrl constructors based on InsetCommandParams.

	* src/commandtags.h: add LFUN_INSERT_URL

	* src/lyxfunc.C (Dispatch): changed to accomadate GUI-
	independent InsetUrl and use InsetCommandParams to extract
	string info and create new Insets.

	* src/frontends/Dialogs.h: add signals showUrl, createUrl.

	* src/frontends/xforms/FormCitation.C (apply): uses 
	InsetCommandParams.

	* src/frontends/xforms/form_url.C
	* src/frontends/xforms/form_url.h
	* src/frontends/xforms/FormUrl.h
	* src/frontends/xforms/FormUrl.C
	* src/frontends/xforms/forms/form_url.fd: new files

	* src/insets/insetcite.[Ch]: removed unused constructors.

	* src/insets/insetinclude.[Ch]: no longer store filename

	* src/insets/inseturl.[Ch]: GUI-independent.

2000-07-26  Juergen Vigna  <jug@sad.it>
	* renamed frontend from gtk to gnome as it is that what is realized
	and did the necessary changes in the files.
	
2000-07-26  Marko Vendelin <markov@ioc.ee>
	* autogen.sh
	* configure.in: cleaning up gnome configuration scripts

2000-07-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/frontends/xforms/Menubar_pimpl.C (set): fix the disappearing
	shortcuts syndrom by redrawing them explicitely (a better solution
	would be appreciated).

	* src/lyxfunc.C (getStatus): fix crash when functions are disabled.

	* src/frontends/xforms/Menubar_pimpl.C (set): fix the shortcut of
	the button.

	* src/lyx_cb.C (MenuExport): change html export to do the right
	thing depending of the document type (instead of having
	html-linuxdoc and html-docbook).
	* src/lyxfunc.C (getStatus): update for html
	* lib/ui/default.ui: simplify due to the above change.
	* src/menus.C (ShowFileMenu): update too (in case we need it).

	* src/MenuBackend.C (read): if a menu is defined twice, add the
	new entries to the exiting one.

2000-07-26  Juergen Vigna  <jug@sad.it>

	* src/buffer.h: added functions setUnnamed(bool) and isUnnamed().

	* src/lyx_cb.C (MenuWriteAs): Changed to react right for unnamed docs
	and return a bool if it did actual save the file.
	(AutoSave): don't autosave a unnamed doc.

	* src/bufferlist.C (close) (QwriteAll) (emergencyWriteAll):
	check if this is an UNNAMED new file and react to it.
	(newFile): set buffer to unnamed and change to not mark a new
	buffer dirty if I didn't do anything with it.

	* src/lyxfunc.C (MenuNew): Changed to not ask for filename on new.

2000-07-26  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/frontends/Menubar.h: make "struct Pimpl;" public + the
	friend as per Angus's patch posted to lyx-devel.

	* src/ext_l10n.h: updated

	* src/frontends/xforms/Toolbar_pimpl.C (updateLayoutList): run
	gettext on the style string right before inserting them into the
	combox. 

	* autogen.sh: add code to extract style strings form layout files,
	not good enough yet. 

	* src/frontends/gtk/.cvsignore: add MAKEFILE

	* src/MenuBackend.C (read): run the label strings through gettext
	before storing them in the containers.

	* src/ext_l10n.h: new file 

	* autogen.sh : generate the ext_l10n.h file here

2000-07-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxrc.C (read): do not use LyXLex::lex() to parse set_color
	arguments. 

	* lib/ui/default.ui: fix a couple of typos.

	* config/gnome/gtk.m4: added (and added to the list of files in 
	autogen.sh).

	* src/insets/insetinclude.C (unique_id): fix when we are using
	lyxstring instead of basic_string<>. 
	* src/insets/insettext.C (LocalDispatch): ditto.
	* src/support/filetools.C: ditto.

	* lib/configure.m4: create the ui/ directory if necessary.

	* src/LyXView.[Ch] (updateToolbar): new method.

	* src/BufferView_pimpl.C (buffer): update the toolbar when
	opening/closing buffer.

2000-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/LyXAction.C (getActionName): enhance to return also the name
	and options of pseudo-actions.
	(init): New lyxfunc LFUN_MATH_PANEL=="math-panel".

	* lib/ui/default.ui: use OptItem in the vc submenu (intented just
	as an example of what is possible). Used in File->Build too (more
	useful) and in the import/export menus (to mimick the complicated
	handling of linuxdoc and friends). Try to update all the entries.

	* src/frontends/xforms/Menubar_pimpl.C (create_submenu): handle
	optional entries.

	* src/MenuBackend.C (read): Parse the new OptItem tag.

	* src/MenuBackend.h: Add a new optional_ data member (used if the
	entry should be omitted when the lyxfunc is disabled).

	* src/frontends/xforms/Menubar_pimpl.C (string_width): new
	function, used as a shortcut.
	(create_submenu): align correctly the shortcuts on the widest
	entry.
	
	* src/MenuBackend.h: MenuItem.label() only returns the label of
	the menu without shortcut; new method shortcut().
	
2000-07-14  Marko Vendelin <markov@ioc.ee>

	* src/frontends/gtk/Dialogs.C:
	* src/frontends/gtk/FormCopyright.C:
	* src/frontends/gtk/FormCopyright.h:
	* src/frontends/gtk/Makefile.am: added these source-files for the
	Gtk/Gnome support of the Copyright-Dialog.

	* src/main.C: added Gnome::Main initialization if using
	Gtk/Gnome frontend-GUI.

	* src/lyx_gui.C: added Gnome event loop if using Gtk/Gnome
	frontend-GUI.
	* config/gnome/aclocal-include.m4
	* config/gnome/compiler-flags.m4
	* config/gnome/curses.m4
	* config/gnome/gnome--.m4
	* config/gnome/gnome-bonobo-check.m4
	* config/gnome/gnome-common.m4
	* config/gnome/gnome-fileutils.m4
	* config/gnome/gnome-ghttp-check.m4
	* config/gnome/gnome-gnorba-check.m4
	* config/gnome/gnome-guile-checks.m4
	* config/gnome/gnome-libgtop-check.m4
	* config/gnome/gnome-objc-checks.m4
	* config/gnome/gnome-orbit-check.m4
	* config/gnome/gnome-print-check.m4
	* config/gnome/gnome-pthread-check.m4
	* config/gnome/gnome-support.m4
	* config/gnome/gnome-undelfs.m4
	* config/gnome/gnome-vfs.m4
	* config/gnome/gnome-x-checks.m4
	* config/gnome/gnome-xml-check.m4
	* config/gnome/gnome.m4
	* config/gnome/gperf-check.m4
	* config/gnome/gtk--.m4
	* config/gnome/linger.m4
	* config/gnome/need-declaration.m4: added configuration scripts
	for Gtk/Gnome frontend-GUI

	* configure.in: added support for the --with-frontend=gtk option

	* autogen.sh: added config/gnome/* to list of config-files

	* acconfig.h: added define for GTKGUI-support

	* config/lyxinclude.m4: added --with-frontend[=value] option value
	for Gtk/Gnome frontend-GUI support.

2000-07-25  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/lstrings.C (prefixIs): rewrite so that gcc bastring
	can be used.
	(suffixIs): ditto

	* src/paragraph.C (GetChar): remove non-const version

	* src/lyxlex_pimpl.C (compare_tags): rewritten to suit cvs gcc 2.96
	(search_kw): use it.

	* src/lyx_main.C (init): if "preferences" exist, read that instead
	of "lyxrc".
	(ReadRcFile): return bool if the file could be read ok.
	(ReadUIFile): add a check to see if lex file is set ok.

	* src/lyx_cb.C (InsertAsciiFile): rewrite a bit so that gcc
	bastring can be used instead of lyxstring (still uses the old code
	if std::string is good enough or if lyxstring is used.)

	* src/encoding.C: make the arrays static, move ininle functions
	here
	* src/encoding.h: from here.

	* src/buffer.C: have last_isnet_read as a file scope variable for now.
	(parseSingleLyXformat2Token): move inset parsing to separate method
	(readInset): new private method

	* src/Variables.h: remove virtual from get().

	* src/ToolbarDefaults.C: include lyxparagraph.h temporary to get
	access to NEW_INSETS and NEW_TABULAR

	* src/MenuBackend.h: remove superfluous forward declaration of
	MenuItem. Add documentations tags "///", remove empty MenuItem
	destructor, remove private default contructor.

	* src/MenuBackend.C (MenuItem): remove unneeded copy contructor 
	(add): return *this
	(read): more string mlabel and mname to where they are used
	(read): remove unused variables mlabel and mname
	(defaults): unconditional clear, make menusetup take advantage of
	add returning Menu &.

	* src/LyXView.h: define NEW_MENUBAR as default

	* src/LyXAction.C: include lyxparagraph.h temporary to get access
	to NEW_INSETS and NEW_TABULAR.
	(init): commetn out some funcs that is obsolete when NEW_INSETS is
	defined. Change some of the "xxxx-inset-insert" functions names to
	"xxxx-insert".

	* several files: more enahncements to NEW_INSETS and the resulting
	LyXParagraph code.
	
	* lib/lyxrc.example (\date_insert_format): move to misc section 

	* config/lyxinclude.m4 (LYX_CXX_STL_STRING): allow to use the gcc
	bastring and use AC_CACHE_CHECK. 
	(LYX_CXX_GOOD_STD_STRING): new check. Checks if the std::string of
	the system have the newest methods. uses AC_CACHE_CHECK 
	(LYX_CXX_MUTABLE): use AC_CACHE_CHECK 
	(LYX_CXX_PARTIAL): use AC_CACHE_CHECK 
	(LYX_CXX_NAMESPACES): use AC_CACHE_CHECK

	* configure.in: add LYX_CXX_GOOD_STD_STRING

	* acinclude.m4: recreated

2000-07-24  Amir Karger <karger@lyx.org>

	* README: add Hebrew, Arabic kmaps
	* ANNOUNCE: typo

2000-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/buffer.C (writeFileAscii): Define actcell as an int instead
	of int*.

2000-07-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* Lot of files: add pragma interface/implementation.
	
	* src/lyx_main.C (ReadUFile): new method. Read the UI file.

	* lib/ui/default.ui: new file (ans new directory). Contains the
	default menu and toolbar.

	* src/lyxrc.[Ch]: new variable ui_file. Move toolbardefaults to
	global space. Toolbars are now read (as menus) in ui files. 

	* src/debug.C: change Debug::TOOLBAR to Debug::GUI.

	* src/lyxfunc.C (getStatus): do not exit immediately if a command
	is disabled because the document is read-only. We want to have the
	toggle state of the function anyway.
	(getStatus): add code for LFUN_VC* functions (mimicking what is
	done in old-style menus)
	
	* src/lyxfunc.C (Dispatch): news functions LFUN_SWITCHBUFFER,
	LFUN_HELP_CREDITS, LFUN_HELP_VERSION, LFUN_HELP_OPEN.

	* src/LyXView.[Ch]: add code for the NEW_MENUBAR define.
	* src/BufferView_pimpl.C: ditto. 
	* src/lyxfunc.C: ditto. 	

	* src/LyXView.h: add a define NEW_MENUBAR (commented out by
	default). This replaces old-style menus by new ones.
	
	* src/MenuBackend.[Ch]: new classes MenuBackend, Menu and
	MenuItem. Contain the data structure of a menu.

	* src/insets/insettext.C: use LyXView::setLayout instead of
	accessing directly the toolbar combox.
	* src/lyxfunc.C (Dispatch): ditto.

	* src/LyXView.C (setLayout): new method, which just calls
	Toolbar::setLayout(). 
	(updateLayoutChoice): move part of this method in Toolbar.

	* src/toolbar.[Ch]: removed.
	
	* src/frontend/xforms/Toolbar_pimpl.[Ch]: new files. The xforms
	implementation the toolbar. 

	* src/frontend/Toolbar.[Ch]: new files. The abstract interface of
	the toolbar. It might make sense to merge it with ToolbarDefaults
	later. 
	(setLayout): new function. 
	(updateLayoutList): ditto.
	(openLayoutList): ditto.
	
	* src/frontend/xforms/Toolbar_pimpl.[Ch]: new files. Contain the
	xforms implementation of the toolbar.
	(get_toolbar_func): comment out, since I do not
	know what it is good for. 
	
	* src/ToolbarDefaults.h: Add the ItemType enum.

	* src/support/StrPool.[Ch]: new class. Acts as a reference holder
	for a list of allocated C strings. Used in Menubar xforms
	implementation to avoid memory leaks.

	* src/support/lstrings.[Ch] (uppercase): new version taking and
	returning a char.
	(lowercase): ditto.

	* lib/bind/xemacs.bind: remove bogus binding for lyx-quit.
	* lib/bind/emacs.bind: ditto.

2000-07-21  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/toolbar.h: include commandtags.h instead of lyxfunc.h,
	forward decl of LyXView.

	* src/toolbar.C (toolbarItem): moved from toolbar.h
	(toolbarItem::clean): ditto
	(toolbarItem::~toolbarItem): ditto
	(toolbarItem::operator): ditto

	* src/text2.C (SetLayout): commetn out USE_OLD_SETUP_LAYOUT stuff

	* src/paragraph.h: control the NEW_TABULAR define from here

	* src/buffer.C: remove define USE_PARSE_FUNCTION, change
	USE_TABULAR_INSETS to NEW_TABULAR

	* src/ToolbarDefaults.C: add include "lyxlex.h"

	* files using the old table/tabular: use NEW_TABULAR to control
	compilation of old tabular stuff. 

	* src/paragraph.C (SimpleTeXOnePar): NEW_INSETS:move some #ifdef
	to correct place.

	* src/buffer.C (parseSingleLyXformat2Token): NEW_INSETS:fix the
	planemet in reading of old style floats, fix the \end_deeper
	problem when reading old style floats. 

2000-07-20  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/paragraph.C (writeFile): NEW_INSETS: move a misplaced #endif

2000-07-20  Serge Winitzki <winitzki@erebus.phys.cwru.edu>

	* lib/bind/sciword.bind: updated.

2000-07-20  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/paragraph.C (writeFile): NEW_INSETS: possible fix to the
	layout write problem

2000-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/Makefile.am (INCLUDES): remove image directory from include
	path. 

	* src/bullet_forms.C (create_form_form_bullet): small cleanup.
	* src/bullet_forms_cb.C (BulletPanelCB): ditto.

	* src/LyXView.C (create_form_form_main): read the application icon
	from the disk.

	* lib/images/*.xpm: change the icons to use transparent color for
	background. 

	* src/toolbar.C (update): change the color of the button when it
	is toggled on.

2000-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxfunc.C (Dispatch): use LyXView::ShowState instead of
	setting explicitely the minibuffer.
	* src/BufferView_pimpl.C (workAreaButtonRelease): ditto.

	* src/LyXView.C (showState): new function. Shows font information
	in minibuffer and update toolbar state.
	(LyXView): call Toolbar::update after creating the
	view. 

	* src/toolbar.C: change toollist to be a vector instead of a
	linked list.
	(BubbleTimerCB): get help string directly from the callback
	argument of the corresponding icon (which is the action) 
	(set): remove unnecessary ugliness.
	(update): new function. update the icons (depressed, disabled)
	depending of the status of the corresponding action.
	
	* src/toolbar.h: remove help in toolbarItem

2000-07-19  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/Painter.C (text): Added code for using symbol glyphs from
	iso10646 fonts. Currently diabled.

	* src/encoding.C: Added new encodings: iso8859_3,iso8859_9 and
	symbol_encoding.

	* src/language.C (initL): Fixed encodings for esperanto,lsorbian,
	magyar,turkish and usorbian.

	* src/paragraph.C (isMultiLingual): Made more efficient.

	* src/mathed/formula.C (LocalDispatch): Fixed behavior of greek
	keyboard.

	* src/mathed/math_symbols.C (math_insert_greek): Changed to use
	LocalDispatch(..,LFUN_SELFINSERT,..) instead of math_insert_symbol().
	Also changed the prototype to "bool math_insert_greek(char)".

2000-07-19  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* lots of files: apply the NEW_INSETS on all code that will not be
	needed when we move to use the new insets. Enable the define in
	lyxparagrah.h to try it.
	
	* src/insets/insettabular.C (cellstart): change to be a static
	inline function
	(InsetTabular): initialize buffer in the initializer list.

2000-07-19  Angus Leeming  <a.leeming@ic.ac.uk>

	* src/frontends/xforms/FormPrint.[Ch] : moved #include
	form_print.h out of the header file. Replaced with forward
	declarations of the relevant struct.

	* src/frontends/xforms/FormPreferences.[Ch] : ditto for
	form_preferences.h.

	* src/commandtags.h: do not include "debug.h" which does not
	belong there. #include it in some other places because of this
	change. 

2000-07-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/insets/insetcaption.C: add a couple "using" directives.

	* src/toolbar.C (add): get the help text directly from lyxaction.
	(getPixmap): nuked.
	(setPixmap): new function. Loads from disk and sets a pixmap on a
	botton; the name of the pixmap file is derived from the command
	name. 

	* src/toolbar.h: remove members isBitmap and pixmap from
	toobarItem struct. 

	* lib/images/*.xbm *_bw.xpm: remove (not used any more).
	* lib/images/: move many files from images/banner.xpm.

	* src/lyx_gui.C (create_forms): read banner pixmap from file.

	* src/lyx_gui.C (create_forms): remove TWO_COLORS_ICONS support.
	* src/toolbar.C: ditto.
	* configure.in: ditto.
	* INSTALL: document. 

	* src/spellchecker.C (ShowSpellChecker): use CancelCloseCB when
	the spellchecker popup is closed from the WM.

2000-07-19  Juergen Vigna  <jug@sad.it>

	* src/insets/insetfloat.C (Write): small fix because we use the
	insetname for the type now!

2000-07-18  Angus Leeming  <a.leeming@ic.ac.uk>

	* src/frontends/xforms/forms/form_citation.fd: object sizes are
	now set here

	* src/frontends/Dialogs.h: removed hideCitation signal

	* src/insets/insetcite.h: added hide signal

	* src/insets/insetcite.C (~InsetCitation): emits new signal
	(getScreenLabel): "intelligent" label should now fit on the screen!

	* src/frontends/xforms/FormCitation.[Ch] (hideInset): removed

	* src/frontends/xforms/FormCitation.C (showInset): connects
	hide() to the inset's hide signal
	(show): modified to use fl_set_object_position rather than
	fl_set_object_geometry wherever possible
	
2000-07-18  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/insets/lyxinset.h: add caption code

	* src/insets/insetfloat.C (type): new method

	* src/insets/insetcaption.C (Write): new method
	(Read): new method
	(LyxCode): new method

	* src/text2.C (SetCounter): revert Jrgens code, but use his idea
	to get it right together with using the FloatList.

	* src/commandtags.h: add LFUN_INSET_CAPTION
	* src/lyxfunc.C (Dispatch): handle it

	* src/buffer.C (parseSingleLyXformat2Token): add code to read a
	caption inset.

	* src/Variables.[Ch]: make expand take a const reference, remove
	the destructor, some whitespace changes.

	* src/LyXAction.C (init): add caption-inset-insert

	* src/FloatList.C (FloatList): update the default floats a bit.

2000-07-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/Variables.[Ch]: new files. Intended to be used for language
	specific strings (like \chaptername) and filename substitution in
	commands. 

	* src/trans.C (AddDeadkey): replace keyword "all" with "native" in
	kmap files.
	* lib/kbd/american.kmap: update

	* src/trans_mgr.C (normalkey): do not test allowAccent anymore.

	* src/bufferparams.[Ch]: remove member allowAccents.

	* src/menus.C (ShowOptionsMenu): remove the LaTeX entry.

	* src/LaTeXLog.C: use the log_form.h header.
	* src/lyx_gui.C: ditto.
	* src/lyx_gui_misc.C: ditto.
	* src/lyxvc.h: ditto.

	* forms/log_form.fd: new file, created from latexoptions.fd. I
	kept the log popup and nuked the options form.

	* src/{la,}texoptions.[Ch]: removed.
	* src/lyx_cb.C (LaTeXOptions): ditto

	* src/lyx_gui.C (create_forms): do not handle the
	fd_latex_options form. 

2000-07-18  Juergen Vigna  <jug@sad.it>

	* src/insets/insetfloat.C (InsetFloat): use setInsetName to set the
	name of the inset so that it can be requested outside (text2.C).

	* src/text2.C (SetCounter): modified so it sees insetfloat for caption
	labels.

2000-07-17  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/mathed/formula.h (ConvertFont): constify

	* src/mathed/formula.C (Read): add warning if \end_inset is not
	found on expected place.

	* src/insets/lyxinset.h (ConvertFont): consify

	* src/insets/insetquotes.C (ConvertFont): constify
	* src/insets/insetquotes.h: ditto

	* src/insets/insetinfo.h: add labelfont

	* src/insets/insetinfo.C (InsetInfo): set the labelfont
	(ascent): use labelfont
	(descent): likewise
	(width): likewise
	(draw): likewise
	(Write): make .lyx file a bit nicer

	* src/insets/insetfloat.C (Write): simplify somewhat...
	(Read): add warning if arg is not found

	* src/insets/insetcollapsable.C: add using std::max
	(Read): move string token and add warning in arg is not found
	(draw): use std::max to get the right ty
	(getMaxWidth): simplify by using std::max

	* src/insets/insetsection.h: new file
	* src/insets/insetsection.C: new file
	* src/insets/insetcaption.h: new file
	* src/insets/insetcaption.C: new file

	* src/insets/inset.C (ConvertFont): constify signature

	* src/insets/Makefile.am (libinsets_la_SOURCES): add
	insetcaption.[Ch] and insetsection.[Ch]

	* src/layout.h: remove LABEL_FIRST_COUNTER from enum, change all
	uses to use LABEL_COUNTER_CHAPTER instead.
	* src/text2.C (SetCounter): here

	* src/counters.h: new file
	* src/counters.C: new file
	* src/Sectioning.h: new file
	* src/Sectioning.C: new file

	* src/Makefile.am (lyx_SOURCES): add Sectioning.[hC] and counters.[Ch]

2000-07-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/Makefile.am (listerrors): build-listerrors is in ${srcdir},
	not always in "."!

	* src/paragraph.[Ch] (SimpleTeXSpecialChars): fix the definition of
	the last argument.

2000-07-17  Juergen Vigna  <jug@sad.it>

	* src/tabular.C (Validate): check if array-package is needed.
	(SetVAlignment): added support for vertical alignment.
	(SetLTFoot): better support for longtable header/footers
	(Latex): modified to support added features.

	* src/LaTeXFeatures.[Ch]: added array-package.

2000-07-17  R. Lahaye  <lahaye@postech.ac.kr>

	* src/lyx_gui.C (LyXGUI): make sure that the height is large
	enough. 

2000-07-17  Kayvan Sylvan <ksylvan@synopsys.com>

	* configure.in: do not forget to put a space after -isystem.

2000-07-10  Dekel Tsur  <dekel@math.tau.ac.il>

	* lib/kbd/arabic.kmap: a few fixes.

2000-07-16  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* some whitespace chagnes to a number of files.
	
	* src/support/DebugStream.h: change to make it easier for
	doc++ to parse correctly.
	* src/support/lyxstring.h: ditto

	* src/mathed/math_utils.C (compara): change to have only one
	operator()
	(MathedLookupBOP): change because of the above.

	* src/mathed/math_delim.C (math_deco_compare): change to have only
	one operator()
	(search_deco): change becasue of the above.

	* src/insets/insettabular.C (DrawCellSelection): use std::swap
	instead of manually coded one.

	* src/insets/insetquotes.C (Read): read the \end_inset too

	* src/insets/insetlatex.h: remove file
	* src/insets/insetlatex.C: remove file
	
	* src/insets/insetindex.[Ch] (InsetPrintIndex): remove default
	constructor 
	(InsetPrintIndex): remove destructor

	* src/insets/insetinclude.h: remove default constructor

	* src/insets/insetfloat.C: work to make it work better

	* src/insets/inseterror.[Ch] (InsetError): remove default constructor

	* src/insets/insetcite.h (InsetCitation): remove default constructor

	* src/insets/insetbutton.[Ch] (InsetButton): remove default constructor

	* src/text.C (GetColumnNearX): comment out some currently unused code.

	* src/paragraph.C (writeFile): move some initializations closer to
	first use.
	(CutIntoMinibuffer): small change to use new matchIT operator
	(Erase): ditto
	(Erase): ditto
	(InsertChar): ditto
	(InsertInset): ditto
	(GetInset): ditto
	(GetInset): ditto
	(InsetIterator): ditto
	(Erase): small change to use new matchFT operator
	(InsertChar): ditto
	(GetFontSettings): ditto
	(HighestFontInRange): ditto
	(SetFont): ditto

	* src/lyxparagraph.h: some chars changed to value_type
	(matchIT): because of some stronger checking (perhaps too strong)
	in SGI STL, the two operator() unified to one.
	(matchFT): ditto

	* src/lyxfunc.C (Dispatch): code to insert InsetFloat improved

	* src/buffer.C (parseSingleLyXformat2Token): static string to hold
	the last inset read added
	(parseSingleLyXformat2Token): some more (future) compability code added
	(parseSingleLyXformat2Token): warning about solitary \end_inset added
	(parseSingleLyXformat2Token): set last_inset_read
	(parseSingleLyXformat2Token): more code to read new "Float" correctly
	(parseSingleLyXformat2Token): don't double intializw string next_token

	* src/TextCache.C (text_fits::operator()): add const's to the signature
	(has_buffer::operator()): ditto

	* src/Floating.h: add some comments on the class

	* src/FloatList.[Ch] (typeExist): new method
	(getType): ditto

	* src/BackStack.h: added default constructor, wanted by Gcc.

2000-07-14  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C (clear): fixed for multiple paragraps/layouts.

	* src/frontends/xforms/forms/form_tabular.fd: updated a bit.

	* src/insets/insettabular.C (resizeLyXText): need this to be able to
	do a redraw when the window is resized!
	(LocalDispatch): small fix so LFUN_TAB works only with locked_inset.

	* src/insets/insettext.C (resizeLyXText): added function to correctly
	being able to resize the LyXWindow.

	* src/table.C (Read): fixed read on DOS-lyx-file (lf-lr)

2000-07-13  Angus Leeming  <a.leeming@ic.ac.uk>

	* src/frontends/Dialogs.h (hideCitation) : new signal to prevent
	crashes when closing dialog to a deleted inset.

	* src/insets/insetcite.[Ch] (Edit) : the return of this former
	method! Now similar to other insets.

2000-07-13  Juergen Vigna  <jug@sad.it>

	* src/text.C (GetVisibleRow): fixed clearing of rows with insets!

	* lib/examples/Literate.lyx: small patch!

	* src/insets/insetbib.C (Read): added this function because of wrong
	Write (without [begin|end]_inset).

2000-07-11  Juergen Vigna  <jug@sad.it>

	* src/BufferView2.C (open_new_inset): changed to a bool returnvalue
	as the insertInset could not be good!

	* src/screen.C (ToggleSelection): fixed toggle selection bug as
	the bool param should not be last.

2000-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* sigc++/configure.in: fix bug in threading-related code (Yes, I
	did submit that to Karl).

	* configure.in: use -isystem instead of -I for X headers. This
	fixes a problem on solaris with a recent gcc; 
	put the front-end code after the X detection code;
	configure in sigc++ before lib/

	* src/lyx_main.C (commandLineHelp): remove -display from command
	line help.

2000-07-09  Kayvan A. Sylvan  <kayvan@sylvan.com>

	* lib/Makefile.am: added lib/build-listerrors to DIST tarfile.
	Also put in Makefile rules for building the ``listerrors''
	program for parsing errors from literate programs written in LyX.

	* lib/build-listerrors: Added small shell script as part of compile
	process. This builds a working ``listerrors'' binary if noweb is
	installed and either 1) the VNC X server is installed on the machine,
	or 2) the user is compiling from within a GUI. The existence of a GUI
	is necessary to use the ``lyx --export'' feature for now. This
	hack can be removed once ``lyx --export'' no longer requires a GUI to
	function.

2000-07-09  Bernard Michael Hurley <bernardh@westherts.ac.uk>

	* lib/examples/Literate.lyx, src/Literate.[Ch]: Error messages are
	now passed back correctly from gcc and placed "under" error
	buttons in a Literate LyX source.

2000-07-08  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/text.C (GetColumnNearX): Better behavior when a RTL
	paragraph is ended by LTR text.

	* src/text2.C (SetCurrentFont,CursorLeftIntern,CursorRightIntern):
	Ditto

2000-07-08  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/WorkArea.C  (request_clipboard_cb): Set clipboard_read to
	true when clipboard is empty.

2000-07-08  Dekel Tsur  <dekel@math.tau.ac.il>

	* text.C (Backspace): Prevent rebreaking of a row if it is the last
	row of the paragraph.
	(SetHeightOfRow): Call to PrepareToPrint with 7th argument = false 
	to prevent calculation of bidi tables

2000-07-07  Juergen Vigna  <jug@sad.it>

	* src/screen.C (ToggleSelection): added y_offset and x_offset
	parameters.

	* src/insets/insettext.C (InsetMotionNotify): fixed selection with
	mouse.

	* src/text.C (GetVisibleRow): fixed selection drawing in insets.

	* src/insets/insettext.C: fixed Layout-Display!

2000-07-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* configure.in: add check for strings.h header.

	* src/spellchecker.C: include <strings.h> in order to have a
	definition for bzero().

2000-07-07  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C (draw): set the status of the bv->text to
	CHANGED_IN_DRAW if top_x changed and so a reinit is necessary.

	* src/screen.C (DrawOneRow): 
	(DrawFromTo): redraw the actual row if something has changed in it
	while drawing.

	* src/text.C (draw): call an update of the toplevel-inset if something
	has changed inside while drawing.

	* src/lyxtext.h: added CHANGED_IN_DRAW status.

2000-07-06  Angus Leeming  <a.leeming@ic.ac.uk>

	* src/insets/insetbib.[Ch] (callback) new method, moving callback
	processing inside class.

	* src/insets/insetindex.[Ch] (callback) new method, moving callback
	processing inside class.

	* src/insets/insetindex.h new struct Holder, consistent with other
	insets.

	* src/insets/insetcite.[Ch] and elsewhere: stripped out xforms
	citation dialog from main code and placed it in src/frontends/xforms.
	Dialog launched through signals instead of callbacks
	
2000-07-06  R. Lahaye  <lahaye@postech.ac.kr>

	* lyx.man: update the options description.

2000-07-05  R. Lahaye  <lahaye@postech.ac.kr>

	* src/lyx_gui.C src/lyx_main.C: improve the -geometry support,
	handle neg values, set min width to 590, add doc about -display  

2000-07-05  Juergen Vigna  <jug@sad.it>

	* src/insets/lyxinset.h: changed Painter & in ascent(), descent()
	calls to BufferView *.

	* src/insets/insettext.C (checkAndActivateInset): small fix non
	HIGHLY_EDITABLE insets should not be entered by cursor-move-over!

	* src/insets/insetcommand.C (Read): Fixed as insets should read till
	their \end_inset token!

2000-07-04  edscott  <edscott@imp.mx>

	* src/lyxrc.C, src/lyxrc.h, src/BufferView_pimpl.C,
	lib/lyxrc.example: added option \wheel_jump

2000-07-04  R. Lahaye  <lahaye@postech.ac.kr>

	* src/lyx_gui.C src/lyx_main.C: add support for -geometry, and
	remove support for -width,-height,-xpos and -ypos.

2000-07-01  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/encoding.[Ch]: New files.

	* src/painter.C (text(int,int,XChar2b const *,...)): New method.
	(text): Call to the underline() method only when needed.

	* src/font.C (XTextWidth16,width(XChar2b const *,...)): New methods.

	* src/buffer.C (makeLaTeXFile): Compute automatically the input
	  encoding(s) for the document.

	* src/bufferparams.C (BufferParams): Changed default value of
	inputenc to "auto".

	* src/language.C (newLang): Removed.
	(items[]): Added encoding information for all defined languages.

	* src/lyx_gui.C (create_forms): Added "auto" option to the input
	encoding choice button.

	* src/lyxrc.h (font_norm_type): New member variable.
	(set_font_norm_type): New method.

	* src/paragraph.C (TeXOnePar): Put "\inputencoding{}" between
	paragraphs with different encodings.  

	* src/text.C (is_arabic, is_nikud, TransformChar): Moved to encoding.C
	(TransformChar): Changed to work correctly with Arabic points.
	(draw): Added support for drawing Arabic points.
	(draw): Removed code for drawing underbars (this is done by
	the Painter!)

	* src/support/textutils.h (IsPrintableNonspace): New function.

	* src/BufferView_pimpl.h: Added "using SigC::Object".
	* src/LyXView.h: ditto.

	* src/insets/insetinclude.h (include_label): Changed to mutable.

2000-07-04  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/mathed/math_iter.h: remove empty destructor

	* src/mathed/math_cursor.h: remove empty destructor

	* src/insets/lyxinset.h: add THEOREM_CODE

	* src/insets/insettheorem.[Ch]: new files 

	* src/insets/insetminipage.C: (InsertInset): remove

	* src/insets/insetmarginal.C: inherit from InsetFootLike instead
	of InsetCollapsable
	(InsertInset): remove

	* src/insets/insetlist.C: (InsertList): remove

	* src/insets/insetfootlike.[Ch]: new files 

	* src/insets/insetfoot.C: inherit from InsetFootLike instead of
	InsetCollapsable.
	(Write): remove
	(InsertInset): ditto

	* src/insets/insetert.C: remove include Painter.h, reindent
	(InsertInset): move to header

	* src/insets/insetcollapsable.h: remove explicit from default
	contructor, remove empty destructor, add InsertInset

	* src/insets/insetcollapsable.C (InsertInset): new func

	* src/insets/Makefile.am (libinsets_la_SOURCES): add new files

	* src/vspace.h: add explicit to constructor

	* src/paragraph.C (SimpleTeXSpecialChars): use \, instead of
	\textcompwordmark, please test this.

	* src/lyxrc.C: set ascii_linelen to 65 by default

	* src/lyxfunc.C (Dispatch): handle LFUN_INSET_THEOREM

	* src/commandtags.h: add LFUN_INSET_THEOREM

	* src/buffer.C (parseSingleLyXformat2Token): handle insettheorem
	(makeLinuxDocFile): remove _some_ of the nice logic
	(makeDocBookFile): ditto

	* src/Painter.[Ch]: (~Painter): removed

	* src/LyXAction.C (init): entry for insettheorem added

	* src/LaTeX.C: get rid of the all_files array, and the TEX_FILES
	enum
	(deplog): code to detect files generated by LaTeX, needs testing
	(deptex): removed

2000-07-03  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/FloatList.[Ch]: moved inlines out of line to FloatList.C

2000-07-02  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/LaTeX.C (deplog): Add a check for files that are going to be
	created by the first latex run, part of the project to remove the
	all_files array.

	* src/LaTeX.[Ch]: Patch from Baruch to add hebrew table of
	contents to the extension list.

2000-07-04  Juergen Vigna  <jug@sad.it>

	* src/text.C (NextBreakPoint): added support for needFullRow()

	* src/insets/lyxinset.h: added needFullRow()

	* src/insets/insetcollapsable.C: redone now this uses a text-inset
	and isn't one.

	* src/insets/insettext.C: lots of changes for update!

2000-07-03 Angus Leeming <a.leeming@ic.ac.uk>

	* src/LaTeXFeatures.h: add a missing std:: qualifier.

2000-07-02 Jos Ablio Matos <jamatos@fep.up.pt>

	*  src/insets/insetinclude.C (InsetInclude): fixed
	initialization of include_label.
	(unique_id): now returns a string.

2000-07-01 Jos Ablio Matos <jamatos@fep.up.pt>

	* src/LaTeXFeatures.h: new member IncludedFiles, for
	a map of key, included file name.

	* src/LaTeXFeatures.C (getIncludedFiles): returns a string
	with the included files for inclusion in SGML preamble,
	i. e., linuxdoc and docbook.

	* src/buffer.h:
	* src/buffer.C (makeLinuxDocFile): takes two new arguments,
	nice (is the generated linuxdoc code to be exported?), that
	allows to remove column, and only_body that will be true for
	slave documents. Insets are allowed inside SGML font type.
	New handling of the SGML preamble for included files.
	(makeDocBookFile): the same for docbook.

	* src/insets/insetinclude.h:
	* src/insets/insetinclude.C (Validate): keeps a list of included files.
	(Linuxdoc): 
	(DocBook): new export methods.

	* src/lyx_cb.C: adjust to the new calling sequence for makeLinuxDocFile
	and makeDocBookFile.

	* src/lyx_main.C (easyParse): accept linuxdoc and docbook as
	formats to export with command line argument -x.

2000-06-29  Juergen Vigna  <jug@sad.it>

	* src/mathed/formula.C (LocalDispatch): changed only-cursor-movements
	to return DISPATCHED_NOUPDATE so that a it does not redraw the inset!

	* src/text.C (GetVisibleRow): added 'bool cleared' parameter as the
	region could already been cleared by an inset!

2000-06-28  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/BufferView_pimpl.h: remove member variables lyx_focus and
	work_area_focus

	* src/BufferView_pimpl.C (Pimpl): delete init of work_area_focus
	and lyx_focus
	(cursorToggle): remove special handling of lyx focus.

2000-06-28  Juergen Vigna  <jug@sad.it>

	* src/text.C (GetVisibleRow): fixed clearing of text if rowHeight >
	insetHeight.

2000-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/insets/insetindex.C (Edit): add a callback when popup is
	closed by the WM.

	* src/insets/insettext.C (LocalDispatch): 
	* src/insets/insetmarginal.h: 
	* src/insets/insetlist.h: 
	* src/insets/insetfoot.h: 
	* src/insets/insetfloat.h: 
	* src/insets/insetert.h: add a missing std:: qualifier.

2000-06-28  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/lyxsum.C (sum): '\0' teminate file read when using
	strstream. 

	* src/insets/lyxinset.h: add FLOAT_CODE and MINIPAGE_CODE

	* src/insets/insettext.C (Read): remove tmptok unused variable
	(LocalDispatch): add not working LFUN_PARAGRAPH_SPACING
	(InsertInset): change for new InsetInset code

	* src/insets/insettext.h: add TEXT inline method

	* src/insets/insettext.C: remove TEXT macro

	* src/insets/insetmarginal.C (Write): new method
	(Latex): change output slightly

	* src/insets/insetfoot.C (Write): new method
	(Latex): change output slightly (don't use endl when no need)

	* src/insets/insetert.C (Write): new method

	* src/insets/insetcollapsable.h: make button_length, button_top_y
	and button_bottm_y protected.

	* src/insets/insetcollapsable.C (Write): simplify code by using
	tostr. Also do not output the float name, the children class
	should to that to get control over own arguments

	* src/insets/insetfloat.[Ch] src/insets/insetlist.[Ch]
	src/insets/insetminipage.[Ch]:
	new files

	* src/insets/Makefile.am (libinsets_la_SOURCES): add new files
	
	* src/lyxfunc.C (Dispatch): cases for new insets/commands

	* src/Makefile.am (lyx_SOURCES): add the new files

	* src/LyXAction.C (init): add LFUN_INSET_MARGINAL,
	LFUN_INSET_MINIPAGE, LFUN_INSET_FLOAT, LFUN_INSET_LIST
	* src/commandtags.h: ditto
	
	* src/LaTeXFeatures.h: add a std::set of used floattypes

	* src/LaTeXFeatures.C (getPackages): add basic support for float.sty

	* src/FloatList.[Ch] src/Floating.h: new files

	* src/CutAndPaste.C (SwitchLayoutsBetweenClasses): change call to
	InsertInset. 
	* src/lyx_cb.C (TableApplyCB): ditto
	* src/text.C: ditto
	* src/text2.C: ditto
	* src/buffer.C (SimpleLinuxDocOnePar): ditto
	(parseSingleLyXformat2Token): ditto + add code for
	backwards compability for old float styles + add code for new insets
	
	* src/lyxparagraph.[Ch] (InsertChar(size_type, char, LyXFont)): new
	method
	(InsertInset(size_type, Inset *, LyXFont)): new method
	(InsetChar(size_type, char)): changed to use the other InsetChar
	with a LyXFont(ALL_INHERIT).
	(InsetInset(size_type, Inset*)): changed to use InsetChar to
	insert the META_INSET.
	
	* sigc++/thread.cc (Privete<int>::operator int&): move definition
	out of line. 
	* sigc++/thread.h (Threads): from here

	* sigc++/scope.cc (ScopeIterator_::ScopeIterator_): move
	definition out of line
	* sigc++/scope.h: from here

2000-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxrc.C (read): make sure the .kmap files exist when a keymap
	is specified (adapted from a patch from edscott <edscott@imp.mx>).

	* Makefile.am (bindist): new target.

	* INSTALL: add instructions for doing a binary distribution.

	* development/tools/README.bin.example: update a bit. 

2000-06-26  Lior Silberman <slior@math.huji.ac.il>

	* src/lyxrc.C: 
	* lib/lyxrc.example: new lyxrc tag \set_color.

	* src/lyxfunc.C (Dispatch): 
	* src/commandtags.h: 
	* src/LyXAction.C: new lyxfunc "set-color".

	* src/LColor.[Ch] (setColor): new method to set colors from a lyxname
	and an x11name given as strings.

	* src/ColorHandler.[Ch] (updateColor): new method. Updates the GC
	cache when a color is changed.

2000-06-26  Juergen Vigna  <jug@sad.it>

	* src/lyxrow.C (width): added this functions and variable.

	* src/insets/insetcite.C (create_form_citation_form): some Gravity
	changes.

	* src/text.C (SetHeightOfRow): fixed calcualting of width.

2000-06-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* images/undo_bw.xpm: new icon.
	* images/redo_bw.xpm: ditto.

	* configure.in (INSTALL_SCRIPT): change value to
	${INSTALL} to avoid failures of install-script target.
	* lib/reLyX/configure.in (INSTALL_SCRIPT): ditto

	* src/BufferView.h: add a magic "friend" declaration to please
	compaq cxx.

2000-06-23  Angus Leeming <a.leeming@ic.ac.uk>

	* forms/cite.fd: modified to allow resizing without messing
	up the dialog.

	* src/insetcite.C: Uses code from cite.fd almost without
	tweaking. ;-)
	User can now resize dialog in the x-direction.
	Resizing the dialog in the y-direction is prevented, as the
	code does this intelligently already.

2000-06-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* INSTALL: remove obsolete entry in "problems" section.

	* lib/examples/sl_*.lyx: update of the slovenian examples.

	* src/support/FileInfo.[Ch] (getBlockSize): remove.

2000-06-23  Juergen Vigna  <jug@sad.it>

	* src/lyxtext.h: added a 'cleared' flag to draw() function.

	* src/buffer.C (resize): delete the LyXText of textinsets.

	* src/paragraph.C (SetInsetOwner): set the owner in the insets too.

	* src/insets/lyxinset.h: added another parameter 'cleared' to
	the draw() function.

	* src/lyxfunc.C (processKeyEvent): move cursor to the right of the
	unlocking inset in inset.

2000-06-22  Juergen Vigna  <jug@sad.it>

	* src/lyxscreen.h: added some y_offset/x_offset parameters for drawings
	of insets and moved first to LyXText.

	* src/mathed/formulamacro.[Ch]:
	* src/mathed/formula.[Ch]: changed prototype of draw() and GetCursorPos

2000-06-21  Juergen Vigna  <jug@sad.it>

	* src/text.C (GetVisibleRow): look if I should clear the area or not
	using Inset::doClearArea() function.

	* src/insets/lyxinset.h: added doClearArea() function and
	modified draw(Painter &, ...) to draw(BufferView *, ...)

	* src/text2.C (UpdateInset): return bool insted of int

2000-06-20  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/lyx_gui.C (create_forms): Add "Reset" option to the language 
	combox in the character popup

	* src/lyx_cb.C (UserFreeFont): Add argument to the method:
	BufferParams const & params

2000-06-20  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C (SetParagraphData): set insetowner on
	2- paragraphs.

2000-06-21  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/Timeout.[Ch]: Change to use signals instead of callbacks.
	* src/LyXView.h (struct FD_form_main): remove, LyXView inherits
	from SigC::Object
	(form_main_): remove
	
	* src/LyXView.C (LyXView_AutosaveTimerCB): remove 
	(create_form_form_main): remove FD_form_main stuff, connect to
	autosave_timeout signal

	* src/LyXView.[Ch] (getMainForm): remove 
	(UpdateTimerCB): remove
	* src/BufferView_pimpl.h: inherit from SigC::Object

	* src/BufferView_pimpl.C (Pimpl): connect to cursor_timeout with
	signal instead of callback

	* src/BufferView.[Ch] (cursorToggleCB): remove 

2000-06-20  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/BufferView_pimpl.C: changes because of the one below

	* src/screen.[Ch]: Made the lyxscreen take LyXText as argument
	instead of storing a pointer to a LyXText. 

	* src/buffer.[Ch]: apply Baruch's remove isdviclean patch. 

2000-06-10  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/lyxparagraph.h

	* src/paragraph.C: Changed fontlist to a sorted vector.

2000-06-19  Juergen Vigna  <jug@sad.it>

	* src/BufferView.h: added screen() function.

	* src/insets/insettext.C (LocalDispatch): some selection code
	fixed.

	* src/vspace.C (nextToken): use stringfunctions instead of sscanf.

	* src/insets/insettext.C (SetParagraphData):
	(Read): 
	(InsetText):  fixes for multiple paragraphs.

2000-06-17  Kayvan A. Sylvan  <kayvan@sylvan.com>

	* development/lyx.spec.in: Call configure with ``--without-warnings''
	to work around a bug with the Makefiles when doing ``make lyxrpm''.
	This should be fine, however, since we generally don't want to be
	verbose when making an RPM.
	
2000-06-16  Dekel Tsur  <dekel@math.tau.ac.il>

	* lib/scripts/fig2pstex.py: New file

2000-06-16  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (UpdateLocal): 
	* src/insets/insettext.C (UpdateLocal): fixed mark_dirty problem.
	(LocalDispatch): Changed all functions to use LyXText.

2000-06-15  Juergen Vigna  <jug@sad.it>

	* src/text.C (SetHeightOfRow): call inset::update before requesting
	any width/height.

	* src/insets/insettext.C (update): 
	* src/insets/insettabular.C (update): added implementation

	* src/insets/lyxinset.h: added update function

2000-06-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/text.C (SelectNextWord): protect against null pointers with
	old-style string streams. (fix from Paul Theo Gonciari
	<gptheo@yahoo.com>) 

	* src/cite.[Ch]: remove erroneous files.

	* lib/configure.m4: update the list of created directories.

	* src/lyxrow.C: include <config.h>
	* src/lyxcursor.C: ditto.

2000-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/examples/decimal.lyx: new example file from Mike.

	* src/insets/ExternalTemplate.C (readTemplates): Use LibFileSearch()
	to find template definitions (from Dekel)

	* src/frontends/.cvsignore: add a few things.

	* src/frontends/xforms/input_validators.[ch]: remove C++ comments.

	* src/Timeout.C (TimeOut): remove default argument.

	* src/LyXView.C (LyXView_AutosaveTimerCB): this should not have
	"C" linkage.

	* src/insets/ExternalTemplate.C: add a "using" directive.

	* src/lyx_main.h: remove the act_ struct, which seems unused
	anyway. 

2000-06-12  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* LyX Developers Meeting: All files changed, due to random C++ (by
	coincidence) code generator script.

	- external inset (cool!)
	- initial online editing of preferences
	- insettabular breaks insettext(s contents)
	- cleanup
	- some DocBook fixes
	- example files update
	- other cool stuff, create a diff and look for yourself.

2000-06-09  The Great LyX Application  <lyx@localhost.localdomain>

	* src/insets/insettext.C (computeTextRows): if the maxWidth is
	-1 this is a non-line-breaking textinset.

	* src/insets/insettabular.C (GetMaxWidthOfCell): returns now -1
	if there is no width set.

2000-06-10  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* Lots of files: Merged the dialogbase branch.

2000-06-09  Allan Rae  <rae@lyx.org>

	* src/xtl/, src/lyxfunc.[Ch], src/buffer.[Ch]:  Removed XTL and
	and the Dispatch methods that used it.

	* src/frontends/Liason.[Ch]: replaced with a Liason namespace for 
	access to functions formerly kept in Dispatch.

2000-05-19  Allan Rae  <rae@lyx.org>

	* src/PrinterParams.h, src/buffer.C, src/frontends/xforms/FormPrint.C:
	made to_page and count_copies integers again.  from_page remains a
	string however because I want to allow entry of a print range like
	"1,4,22-25" using this field.

	* src/LyXAction.C: added action info and commands for buffer-print-xtl
	and printer-params-get.  These aren't useful from the minibuffer but
	could be used by a script/LyXServer app provided it passes a suitable
	auto_mem_buffer.  I guess I should take a look at how the LyXServer
	works and make it support xtl buffers.

	* sigc++/: updated to libsigc++-1.0.1

	* src/xtl/: updated to xtl-1.3.pl.11

	* forms/makefile, forms/fdfix.sh, forms/layout_forms.fd: Made sure
	those changes done to the files in src/ are actually recreated when
	they  get regenerated. Please don't ever accept a patch that changes a
	dialog unless that patch includes the changes to the corresponding *.fd
	file.

	* src/lyx_cb.C, src/support/lstrings.[hC]: Moved Stephen Witt's
	stringOnlyContains, renamed it and generalised it.

	* lots-of-files: Rolled the "rae" branch over into the "dialogbase"
	branch.  Removed the remaining old form_print code.

2000-04-26  Allan Rae  <rae@lyx.org>

	* ChangeLog, development/tools/lxtl.sh: D'oh! Got caught in the same
	trap I was trying to fix with the ID: fields in src/xtl/  :-)

2000-04-25  Allan Rae  <rae@lyx.org>

	* src/xtl/: Updated to incorporate Angus's two patches as well as mine
	against a base of xtl-1.3.pl.4

	* development/tools/lxtl.sh: fixed a couple of silly typos and now
	filter the Id: entries so they still show the xtl version number
	they are based on.

	* src/support/lxtl.h: removed auto_mem_buffer which is now incorporated
	into the src/xtl code.  Patch still pending with Jos (XTL)

2000-04-24  Allan Rae  <rae@lyx.org>

	* src/lyxfunc.[Ch] (Dispatch): Use a mem buffer as a parameter. This is
	both more generic and much safer. Use the new template functions.
	* src/buffer.[Ch] (Dispatch): ditto.

	* src/frontends/xforms/FormPrint.C (update): Use new template functions
	and mem buffer more intelligently. Also a little general cleanup.
	(apply): ditto.

	* configure.in (AC_OUTPUT): Extra stuff for xtl that I forgot.
	* development/tools/lxtl.sh: Ditto.  Makefile.am + .cvsignore
	* src/xtl/Makefile.am: ditto.
	* src/xtl/.cvsignore: ditto.
	* src/Makefile.am: ditto.

	* src/PrinterParams.h: Removed the macros member functions. Added a
	testInvariant member function.  A bit of tidying up and commenting.
	Included Angus's idea for fixing operation with egcs-1.1.2.

	* src/support/lxtl.h: Many changes.  Added auto_mem_buffer -- a really
	cool expansion of XTL's mem_buffer to support automatic memory
	management within the buffer itself.  Removed the various macros and
	replaced them with template functions that use either auto_mem_buffer
	or mem_buffer depending on a #define.  The mem_buffer support will
	disappear as soon as the auto_mem_buffer is confirmed to be good on
	other platforms/compilers.  That is, it's there so you've got something
	to compare against.

	* src/xtl/objio.h: Changes to support auto_mem_buffer.  This has
	effectively forked XTL.  However I expect Jos will include my code
	into the next major release.  Also fixed a memory leak.
	* src/xtl/text.h: ditto.
	* src/xtl/xdr.h: ditto.
	* src/xtl/giop.h: ditto.

2000-04-16  Allan Rae  <rae@lyx.org>

	* acinclude.m4, sigc++/acinclude.m4:  Removed -- they're generated
	by autogen.sh and removed by maintainer-clean anyway.
	* .cvsignore, sigc++/.cvsignore:  Support the above.

	* sigc++/.cvsignore: Forgot that retbind.h was generated.

	* src/buffer.C (Dispatch): Couldn't print a single page. Fixed.

	* src/frontends/xforms/FormPrint.[Ch]: Switched to C callbacks using
	macros, renamed static callback-target member functions to suit new
	scheme and made them public.
	* src/frontends/xforms/forms/form_print.fd: ditto.
	* src/frontends/xforms/forms/form_copyright.fd: ditto.

	* src/support/lxtl.h: small cleanup to use typedef instead of #define
	for gui_format.

	* src/xtl/: New directory containing a minimal distribution of XTL.
	This is XTL-1.3.pl.4.

	* development/tools/lxtl.sh: A script to generate the above mini-dist.

2000-04-15  Allan Rae  <rae@lyx.org>

	* development/tools/makeLyXsigc.sh: Remove the library version numbers

	* sigc++/:  Updated to libsigc++-1.0.0

2000-04-14  Allan Rae  <rae@lyx.org>

	* src/frontends/xforms/xform_macros.h: Remove specific macros and just
	use the generic ones in future.  I'll modify my conversion script.

	* src/frontends/xforms/FormCopyright.C: Reverse the earlier change.

	* src/lyx_gui_misc.[Ch]: Removed references to form_print.
	(CloseAllBufferRelatedDialogs): Renamed.
	(updateAllVisibleBufferRelatedDialogs): ditto. Added LaTeXLog

	* src/frontends/xforms/FormCopyright.C: Use the specific macros instead
	of the generic ones.  These are the same ones my conversion script
	generates.

	* src/PrinterParams.h: Allow you to print a range of odd or even pages.
	* src/frontends/xforms/FormPrint.C (apply, update): ditto+small cleanup
	* src/buffer.C (Dispatch): ditto

	* src/LyXView.C (LyXView): Use new signals instead of old hard coded
	functions for updating and hiding buffer dependent dialogs.
	* src/BufferView.C (buffer): ditto
	* src/buffer.C (setReadonly): ditto
	* src/lyxfunc.C (CloseBuffer): ditto

	* src/buffer.h: Take setReadonly() out of line so I don't have to include
	Dialogs.h, and hence all the SigC stuff, into every file that includes
	buffer.h.  We also don't need to include lyx_gui_misc.h in everything.

	* src/BufferView2.C: reduce the number of headers included by buffer.h

2000-04-11  Allan Rae  <rae@lyx.org>

	* src/frontends/xforms/xform_macros.h:  A small collection of macros
	for building C callbacks.

	* src/frontends/xforms/Makefile.am: Added above file.

	* src/frontends/xforms/FormCopyright.[Ch]: Revised the C callback
	scheme again.  This time it should work for JMarc.  If this is
	successful I'll revise my conversion script to automate some of this.
	The static member functions in the class also have to be public for
	this scheme will work.  If the scheme works (it's almost identical to
	the way BufferView::cursorToggleCB is handled so it should work) then
	FormCopyright and FormPrint will be ready for inclusion into the main
	trunk immediately after 1.1.5 is released -- provided we're prepared
	for complaints about lame compilers not handling XTL.

	* src/support/lxtl.h: Switched to XDR_format instead of raw_format.

2000-04-07  Allan Rae  <rae@lyx.org>

	* config/lyxinclude.m4:  A bit more tidying up (Angus)

	* src/LString.h: JMarc's <string> header fix

	* src/PrinterParams.h: Used string for most data to remove some
	ugly code in the Print dialog and avoid even uglier code when 
	appending the ints to a string for output.

	* src/buffer.C (Dispatch): Added a couple of braces to fix an error
	and moved "default:" back to the end of switch statement.  Cleaned
	up the printing so it uses the right function calls and so the
	"print to file" option actually puts the file in the right directory.

	* src/frontends/xforms/Dialogs.C: Added FormPrint (Angus).

	* src/frontends/xforms/FormPrint.C (PrintInputCB): moved input checking
	and Ok+Apply button control into a separate method: input (Angus).
	(input) Cleaned it up and improved it to be very thorough now.
	(All CB) static_cast used instead of C style cast (Angus).  This will
	probably change again once we've worked out how to keep gcc-2.8.1 happy
	with real C callbacks.
	(update) add a few "default:" labels to switches. Egcs-1.1.2 seems to
	ignore some of the bool settings and has random numbers instead. Needs
	some more investigation.  Added other input length checks and checking
	of file and printer names.

	* src/frontends/xforms/FormPrint.h: Removed pragma statement so it
	would link (Angus).  Seems the old code doesn't compile with the pragma
	statement either.  Separated callback entries from internal methods.

	* src/lyxfunc.C (Dispatch): LFUN_MENUPRINT calls new dialog (Angus).

2000-03-17  Allan Rae  <rae@lyx.org>

	* src/lyxfunc.[Ch] (isAvailable): This is only temporary.  Do we really
	need it?  Maybe it could go in Dialogs instead?  I could make it a
	LFUN but you'd have to call Dispatch(int, int, char*) with dummy
	values to get the bool return value.
	(Dispatch): New overloaded method for xtl support.

	* src/frontends/xforms/FormCopyright.[Ch]: Modified to use a friendly
	extern "C" callback instead of static member functions.  Hopefully,
	JMarc will be able to compile this.  I haven't changed 
	forms/form_copyright.fd yet. Breaking one of my own rules already.

	* src/commandtags.h: New xtl-based LFUN's no description in LyXAction
	because they aren't useful from the minibuffer.  Maybe a LyXServer
	might want a help message though?

	* src/buffer.[Ch] (Dispatch): New overloaded method for xtl support.

	* config/lyxinclude.m4: Changes to g++ flags to suit compiling with
	xtl which needs both rtti and exceptions.

	* src/support/Makefile.am:
	* src/support/lxtl.h: New file.  Some helper macros for using XTL.

	* src/frontends/xforms/input_validators.[ch]: input filters and
	validators.  These conrol what keys are valid in input boxes.
	Use them and write some more.  Much better idea than waiting till
	after the user has pressed Ok to say that the input fields don't make
	sense.

	* src/frontends/xforms/Makefile.am:
	* src/frontends/xforms/forms/form_print.fd:
	* src/frontends/xforms/forms/makefile:
	* src/frontends/xforms/FormPrint.[Ch]: Ported previous print form to
	new scheme.  Still have to make sure I haven't missed anything from
	the current implementation.

	* src/Makefile.am, src/PrinterParams.h: New data store.

	* other files: Added a couple of copyright notices.

2000-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/insets/insetbib.h: move Holder struct in public space.

	* src/frontends/include/DialogBase.h: use SigC:: only when
	SIGC_CXX_NAMESPACES is defined.
	* src/frontends/include/Dialogs.h: ditto.

	* sigc++/Makefile.am (%.h): use the autodected GNU m4.

	* src/frontends/xforms/FormCopyright.[Ch]: do not
	mention SigC:: explicitely.

2000-03-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* config/lyxinclude.m4 (LYX_USE_FRONTEND): move the code which
	deals with testing KDE in main configure.in
	* configure.in: ditto.

2000-02-22  Allan Rae  <rae@lyx.org>

	* Lots of files: Merged from HEAD

	* All Makefile.am (ETAGS_ARGS): use parameter that is also compatible
	with the etags shipped with SuSE-6.3 (fancier than gnu-etags).

	* autogen.sh: Fix JMarcs complaints by building a sigc++/acinclude.m4

	* sigc++/: new minidist.

2000-02-14  Allan Rae  <rae@lyx.org>

	* development/tools/makeLyXsigc.sh:  Small fix for Makefile.am

2000-02-08  Juergen Vigna  <jug@sad.it>

	* src/frontends/kde/dlg/formcopyrightdialog.kdevdlg: the dialog data
	file for the buildin GUI builder of KDevelop of the copyright-dialog.

	* src/frontends/kde/lyxgui.kdevprj: I added this as I use KDevelop
	for this port and so it is much easier for other people to port
	dialogs in a common development environment.

	* src/frontends/kde/formcopyrightdialog_moc.C: needed MOC file for
	the QT/KDE implementation.

	* src/frontends/kde/Dialogs.C:
	* src/frontends/kde/FormCopyright.C:
	* src/frontends/kde/FormCopyright.h:
	* src/frontends/kde/Makefile.am:
	* src/frontends/kde/formcopyrightdialog.C:
	* src/frontends/kde/formcopyrightdialog.h:
	* src/frontends/kde/formcopyrightdialogdata.C: added this source-files
	for the kde support of the Copyright-Dialog.

	* src/frontends/Makefile.am (AUTOMAKE_OPTIONS): now uses @FRONTEND@
	subdir-substitution instead of hardcoded 'xforms' as we now have also
	the kde subdir.

	* src/frontends/include/DialogBase.h (Object): just commented the
	label after #endif (nasty warning and I don't like warnings ;)

	* src/main.C (main): added KApplication initialization if using
	KDE frontend-GUI.

	* src/lyx_gui.C (runTime): added support for multiple toolkit support.
	For now only the KDE event-loop is added if frontend==kde.

	* src/Makefile.am (lyx_DEPENDENCIES): added @FRONTEND_xxx@ support

	* configure.in: added support for the --with-frontend[=value] option

	* autogen.sh: added kde.m4 file to list of config-files

	* acconfig.h: added define for KDEGUI-support

	* config/kde.m4: added configuration functions for KDE-port

	* config/lyxinclude.m4: added --with-frontend[=value] option with
	support for xforms and KDE.

2000-02-08  Allan Rae <rae@lyx.org>

	* all Makefile.am:  Fixed up so the make targets dist, distclean, 
	install and uninstall all work even if builddir != srcdir.  Still
	have a new sigc++ minidist update to come.

	* config/lyxinclude.m4: Some more builddir!=srcdir fixes.

2000-02-01  Allan Rae <rae@lyx.org>

	* config/lyxinclude.m4, development/tools/makeLyXsigc.sh:
	Many mods to get builddir != srcdir working.
	
	* sigc++/: Upgraded to 0.8.7.  This includes many needed fixes both
	for building on NT and so we can do the builddir != srcdir stuff.

2000-01-30  Allan Rae <rae@lyx.org>

	* sigc++/doc/*: Selected documentation for the libsigc++ mini dist.
	This will stay in "rae" branch.  We probably don't really need it in
	the main trunk as anyone who wants to help programming it should get
	a full library installed also.  So they can check both included and
	system supplied library compilation.

	* sigc++/*, sigc++/macros/*, config/sigc++.m4, config/lyxinclude.m4:
	Added a 'mini' distribution of libsigc++.  If you feel the urge to 
	change something in these directories - Resist it.  If you can't 
	resist the urge then you should modify the following script and rebuild
	the dist.  LYX_WITH_SIGC in lyxinclude.m4 is the wrapper to make it
	all happen.  Still uses a hacked version of libsigc++'s configure.in.
	I'm quite happy with the results.  I'm not sure the extra work to turn
	the sigc++/configure.in into a few extra AC_DEFUNs in sigc++.m4 is
	worth the trouble and would probably lead to extra maintenance 
	headaches.
	I haven't tested the following important make targets: install, dist.
	Not ready for prime time but very close.  Maybe 1.1.5.

	* development/tools/makeLyXsigc.sh:  A shell script to automatically
	generate our mini-dist of libsigc++.  It can only be used with a CVS
	checkout of libsigc++ not a tarball distribution.  It's well commented.
	This will end up as part of the libsigc++ distribution so other apps
	can easily have an included mini-dist.  If someone makes mods to the
	sigc++ subpackage without modifying this script to generate those
	changes I'll be very upset!

	* src/frontends/:  Started the gui/system indep structure.

	* src/frontends/include/Dialogs.h: Dialog container. All the Signal<>s
	to access the gui-indep dialogs are in this class.  Much improved
	design compared to previous revision.  Lars,  please refrain from
	moving this header into src/ like you did with Popups.h last time.

	* src/frontends/include/DialogBase.h: Abstract base class for dialogs.

	* src/frontends/xforms/:  Started the gui-indep system with a single
	dialog: FormCopyright.  Initial testing of use of libsigc++ was very
	successful.

	* src/frontends/xforms/forms: Repository for the xforms .fd files.
	Here you'll find a very useful makefile and automated fdfix.sh that
	makes updating dailogs a no-brainer -- provided you follow the rules
	set out in the README.  I'm thinking about adding another script to
	automatically generate skeleton code for a new dialog given just the
	name of the dialog.

	* src/commandtags.h, src/lyxfunc.C, src/menus.C:
	* src/credits.{Ch}, src/credits_form.{Ch}, forms/credits_form.fd:
	Made FormCopyright gui-indep and added a lyxfunc to get to it.

2000-06-09  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/LSubstring.C (operator): simplify

	* src/lyxtext.h: removed bparams, use buffer_->params instead
	
	* src/lyxrow.h: make Row a real class, move all variables to
	private and use accessors.

	* src/lyxparagraph.h (getParLanguage):add BufferParamas as
	arguament.
	(isRightToLeftPar): ditto
	(ChangeLanguage): ditto
	(isMultiLingual): ditto
	(String): ditto
	(TeXOnePar): ditto
	(SimpleTeXOnePar): ditto
	(TeXEnvironment): ditto
	(GetEndLabel): ditto
	(SetLayout): ditto
	(SetOnlyLayout): ditto
	(BreakParagraph): ditto
	(BreakParagraphConservative): ditto
	(GetFontSettings): ditto
	(getFont): ditto
	(CopyIntoMinibuffer): ditto
	(CutIntoMinibuffer): ditto
	(PasteParagraph): ditto
	(SetPExtraType): ditto
	(UnsetPExtraType): ditto
	(DocBookContTableRows): ditto
	(SimpleDocBookOneTablePar): ditto
	(TeXDeeper): ditto
	(TeXFootnote): ditto
	(SimpleTeXOneTablePar): ditto
	(TeXContTableRows): ditto
	(SimpleTeXSpecialChars): ditto
	

	* src/lyxcursor.h: make LyXCursor a real class, move all variables
	to private and use accessors.

	* src/lyx_cb.C: remove char updatetimer, and all code that uses
	this, we did not use it anymore and has not been for ages. Just a
	waste of cpu cycles.

	* src/language.h: make Language a real class, move all variables
	to private and use accessors.

	* src/BufferView_pimpl.C (Pimpl): use new timer code.
	(create_view): remove
	(update): some changes for new timer
	(cursorToggle): use new timer
	(beforeChange): change for new timer

	* src/BufferView.h (cursorToggleCB): removed last paramter because
	of new timer code. 

	* src/BufferView.C (C_BufferView_CursorToggleCB): removed 
	(cursorToggleCB): change because of new timer code

	* lib/CREDITS: updated own mailaddress

2000-06-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/support/filetools.C (PutEnv): fix the code in case neither
	putenv() nor setenv() have been found.

	* INSTALL: mention the install-strip Makefile target.

	* src/LyXAction.C (init): make LFUN_BUILDPROG available in
	read-only documents.

2000-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/reLyX/configure.in (VERSION): avoid using a previously
	generated reLyX wrapper to find out $prefix.

	* lib/examples/eu_adibide_lyx-atua.lyx: 
	* lib/examples/eu_adibide_gordina.lyx: new examples for the Basque
	translation of the Tutorial (Dooteo)

2000-06-06  Angus Leeming <a.leeming@ic.ac.uk>

	* forms/cite.fd: new citation dialog

	* src/insetcite.[Ch]: the new citation dialog is moved into
	its own files.

	* src/insetbib.C: InsetBibtex::getKeys() uses STL containers
	(Dekel).

	* src/insets/insetcommand.h: data members made private. 

2000-06-06  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* LyX 1.1.5 released

2000-06-06  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/version.h (LYX_RELEASE): to 1.1.5

	* src/spellchecker.C (RunSpellChecker): return false if the
	spellchecker dies upon creation.

2000-06-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/reLyX/reLyXmain.pl, lib/reLyX/LastLyX.pm: fix suffix of file
	in \include{} (from Tomasz Motylewski <motyl@stan.chemie.unibas.ch>) 
	
	* NEWS: update.

	* lib/CREDITS: update entry for Martin Vermeer.

2000-06-06  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/text.C (draw): Draw foreign language bars at the bottom of
	the row instead of at the baseline.

	* lib/examples/Minipage.lyx: Use the new multi-lingual support.

2000-06-06  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* lib/bind/de_menus.bind: updated

2000-06-05  Dekel Tsur  <dekel@math.tau.ac.il>

	* forms/lyx.fd: Correct gravity for objects in form_toc and form_ref

2000-06-05  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/menus.C (Limit_string_length): New function
	(ShowTocMenu): Limit the number of items/length of items in the
	LOT/LOF/LOA menus.

	* src/paragraph.C (String): Correct result for a paragraph inside
	a footnote.

2000-06-05  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/bufferlist.C (close): test of buf->getuser() == NULL

2000-06-02  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/BufferView2.C (removeAutoInsets): Fix a bug: 
	Do not call to SetCursor when the paragraph is a closed footnote!

2000-06-01  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/insets/insetlabel.C (Edit): Mark buffer as dirty when a
	label is changed.

	* src/text.C (SetCursor): Made the computation of cursor_vpos safer.

2000-05-31 Dekel Tsur  <dekel@math.tau.ac.il>

	* forms/lyx.fd
	* src/lyx_cb.C (RefSelectCB): Added "Go Back" button in the insert
	reference popup, that activates the reference-back action

	* src/menus.C (ShowRefsMenu): Added "Go Back" menu item.

	* src/menus.C (Add_to_refs_menu): Limit the size of each item in
	the menus. Also fixed a bug.

	* src/lyx_cb.C (updateAllVisibleBufferRelatedPopups): Do not close 
	the math panels when switching buffers (unless new buffer is readonly).

	* src/BufferView.C (NoSavedPositions)
	* src/BufferView_pimpl.C (NoSavedPositions): New methods

2000-06-01  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyx_cb.C (MakeLaTeXOutput): we run MakeLaTeXOutput regard
	less of dvi dirty or not.

	* src/trans_mgr.[Ch] (insert): change first parameter to string
	const &.  

	* src/chset.[Ch] (encodeString): add const to first parameter

2000-05-31  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/lyxstring.C (begin): fix a "shared" string bug. use
	rep->get_own_copy()
	(end): ditto

	* src/LaTeX.C (deplog): better searching for dependency files in
	the latex log. Uses now regexps.

	* lib/layouts/stdlists.inc (lyxlist): fix the label to use \hfil
	instead of the box hack or \hfill. 

2000-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxfunc.C (doImportHelper): do not create the file before
	doing the actual import. 
	(doImportASCIIasLines): create a new file before doing the insert.
	(doImportASCIIasParagraphs): ditto.

	* lib/lyxrc.example: remove mention of non-existing commands

	* lyx.man: remove mention of color-related switches.

	* src/lyxrc.C: remove RC_SELECTIONCOLOR and RC_BACKGROUNDCOLOR. 

	* src/lyx_gui.C: remove all the color-related ressources, which
	are not used anymore.

	* src/lyx_gui_misc.C (WarnReadonly): use MakeDisplayPath on file
	name. 

2000-05-31 Dekel Tsur  <dekel@math.tau.ac.il>

	* src/lyxrc.C (read): Add a missing break in the switch

2000-05-30 Dekel Tsur  <dekel@math.tau.ac.il>

	* src/text2.C (InsertStringA): Fix a bug with insertion into table
	
	* src/trans_mgr.C (insertVerbatim): Do not use insetquote when the
	text is Hebrew.

2000-05-27  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/text.C (draw): draw bars under foreign language words.
	
	* src/LColor.[Ch]: add LColor::language

2000-05-27 Dekel Tsur  <dekel@math.tau.ac.il>

	* src/lyxcursor.h (boundary): New member variable

	* src/text.C (IsBoundary): New methods

	* src/text.C: Use the above for currect cursor movement when there
	is both RTL & LTR text.
	
	* src/text2.C: ditto
	
	* src/bufferview_funcs.C (ToggleAndShow): ditto

2000-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/text.C (DeleteLineForward): set selection to true to avoid
	that DeleteEmptyParagraphMechanism does some magic. This is how it
	is done in all other functions, and seems reasonable.
	(DeleteWordForward): do not jump over non-word stuff, since
	CursorRightOneWord() already does it.
	
	Remove the CHECK tag from DeleteLineForward, DeleteWordForward and
	DeleteWordBackward, since they seem safe to me (since selection is
	set to "true") DeleteEmptyParagraphMechanism does nothing.

2000-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyx_main.C (easyParse): simplify the code by factoring the
	part that removes parameters from the command line.
	(LyX): check wether wrong command line options have been given.

2000-05-29  Lior Silberman <slior@math.huji.ac.il>

	* src/lyx_main.C : add support for specifying user LyX
	directory via command line option -userdir.

2000-05-26 Dekel Tsur  <dekel@math.tau.ac.il>

	* src/menus.C (Add_to_toc_menu): Limit the number of popups, and
	the number of items per popup.
	(Add_to_refs_menu): Ditto.
	
2000-05-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxparagraph.h: renamed ClearParagraph() to
	StripLeadingSpaces() and moved it to paragraph.C. We pass the
	textclass as parameter, and do nothing if free_spacing is
	true. This fixes part of the line-delete-forward problems.

	* src/CutAndPaste.C (cutSelection): use StripLeadingSpaces.
	(pasteSelection): ditto.
	(SwitchLayoutsBetweenClasses): more translatable strings.

	* src/text2.C (CutSelection): use StripLeadingSpaces.
	(PasteSelection): ditto.
	(DeleteEmptyParagraphMechanism): ditto.

2000-05-26  Juergen Vigna  <jug@sad.it>

	* src/TabularLayout.C (TabularOptionsCB): removed delete-table as this
	is not needed in tabular insets.

	* src/insets/insettabular.C (TabularFeatures): added missing features.

	* src/tabular.C (DeleteColumn):
	(AppendColumn): 
	(AppendRow): implemented this functions
	(cellsturct::operator=): clone the inset too; 

2000-05-23  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (LocalDispatch): better selection support
	when having multicolumn-cells.

2000-05-26  Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>

	* lib/layouts/linuxdoc.layout: fix indentation of paragraphs.

2000-05-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/ColorHandler.C (getGCForeground): put more test into _()

	* lib/examples/eu_splash.lyx: new file (Basque translation) from
	Dooteo. 

	* config/lyxinclude.m4 (LYX_PROG_CXX): use ${CXX} and not g++ to
	get the version.

2000-05-25 Dekel Tsur  <dekel@math.tau.ac.il>

	* src/lyx_cb.C (RefUpdateCB): disable appropriate buttons when
	there are no labels, or when buffer is readonly.

	* src/menus.C (ShowRefsMenu) disable appropriate menu items when
	there are no labels, buffer is SGML, or when buffer is readonly.

2000-05-25  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/LColor.C (LColor): change a couple of grey40 to grey60
	(LColor): rewore initalization to make compiles go some magnitude
	faster.
	(getGUIName): don't use gettext until we need the string.

2000-05-09  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/Bullet.[Ch]: Fixed a small bug.

2000-05-21  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/paragraph.C (String): Several fixes/improvements

	* src/insets/insetbib.[Ch] (InsetCitation::Ascii) New method

2000-05-22  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/paragraph.C (String): give more correct output.

2000-05-20  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/lyxfont.C (stateText) Do not output the language if it is
	eqaul to the language of the document.

	* src/paragraph.C (TeXOnePar): Do not put language switch commands
	between two paragraphs with the same language.

	* src/paragraph.C (getParLanguage) Return a correct answer for an
	empty dummy paragraph.

	* src/menus.C (ShowTocMenu): Do not draw lines between LOF/LOT/LOA
	menus.

	* src/menus.C (ShowLayoutMenu) Add "Start of Appendix" item to the
	layout menu.

	* src/lyx_gui.C (init): Try to use helvetica (or fixed) fonts for
	the menus/popup, if requested fonts are unavailable.

2000-05-22  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (LocalDispatch): added some more cursor
	movement support (Up/Down/Tab/Shift-Tab).
	(LocalDispatch): added also preliminari cursor-selection.

	* src/LyXAction.C (init): added SHIFT-Tab as tab-backward.

	* src/paragraph.C (PasteParagraph): Hopefully now right!

2000-05-22  Garst R. Reese  <reese@isn.net>

	* layouts/hollywood.layout, broadway.layout : move Dialogue to top
	 of list, change all references to Environment to Command
	* tex/hollywood.cls : rewrite environments as commands, add 
	\uppercase to interiorshot and exteriorshot to force uppecase.
	* tex/broadway.cls : rewrite environments as commands. Tweak
	whitespace.

2000-05-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/menus.C (Add_to_toc_menu): fix the code which limits the
	size of items: use a constant intead of the hardcoded 40, and more
	importantly do not remove the %m and %x tags added at the end.
	(Add_to_refs_menu): use vector::size_type instead of
	unsigned int as basic types for the variables. _Please_ do not
	assume that size_t is equal to unsigned int. On an alpha, this is
	unsigned long, which is _not_ the same.

	* src/language.C (initL): remove language "hungarian", since it
	seems that "magyar" is better.

2000-05-22  Juergen Vigna  <jug@sad.it>

	* src/CutAndPaste.C: hopefully fixed memory the problem defenitively!

	* src/tabular.C (OldFormatRead): added \end_deeper to the end LyXTable
	end markers!

	* src/paragraph.C (PasteParagraph): Possibly a memory leak as
	next was deleted but not set to 0.

2000-05-21  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/language.C (initL): change the initialization of languages
	so that compiles goes _fast_.

	* src/menus.C (Add_to_toc_menu): limit the line length in TOC to
	40 chars.

	* src/lyxfunc.C (processKeyEvent): initalize keysym_return to 0.

2000-05-21  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* release 1.1.5pre3

2000-05-20  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/WorkArea.C (request_clipboard_cb): give "C" linkage.

2000-05-19  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/commandtags.h
	* src/LyXAction.C
	* src/lyxfunc.C (Dispatch): Added LFUN_LOFVIEW, LFUN_LOTVIEW
	and LFUN_LOAVIEW
	
	* src/insets/insetlo*.[Ch]: Made editable

2000-05-20  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/text2.C (SetSelection): call BufferView::stuffClipboard with
	the current selection.

	* src/BufferView_pimpl.C (stuffClipboard): new method

	* src/BufferView.C (stuffClipboard): new method

	* src/paragraph.C (String): new method

	* src/LColor.C (getFromLyXName): return LColor::inherit instead of
	LColor::ignore when lyxname is not found.

	* src/BufferView.C (pasteSelection): new method

	* src/BufferView_pimpl.C (pasteSelection): new method

	* src/lyxfunc.C (Dispatch): use the new clipboard functions.

	* src/WorkArea.C (request_clipboard_cb): new static function
	(getClipboard): new method
	(putClipboard): new method

2000-05-19  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* LyX 1.1.5pre2 released

2000-05-19  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/vspace.C (operator=): removed
	(operator=): removed

	* src/lyx_gui_misc.C (askForText): manually set the type in make_pair

	* src/layout.C (NumberOfClass): manually set the type in make_pair
	(NumberOfLayout): ditto

	* src/language.C: use the Language constructor for ignore_lang

	* src/language.h: add constructors to struct Language

	* src/BufferView_pimpl.C (scrollDown): change to pair<float, float>

	* src/text2.C (SetCursorIntern): comment out #warning

	* src/mathed/math_symbols.C (pixmapFromBitmapData): add const_cast

	* src/mathed/math_iter.h: initialize sx and sw to 0

2000-05-10  Dekel Tsur  <dekel@math.tau.ac.il>

	* forms/lyx.fd: Redesign of form_ref

	* src/LaTeXFeatures.[Ch]
	* src/buffer.C
	* src/lyx_cb.C
	* src/menus.C	
	* src/insets/insetref.[Ch]: Added support for varioref and prettyref.

	* src/buffer.h
	* src/lyxparagraph.h: Added new classes: LyXParagraph::inset_iterator
	and Buffer::inset_iterator.

	* src/menus.C: Added new menus: TOC and Refs.

	* src/insets/insetlabel.C (Edit) Made InsetLabel editable.

	* src/buffer.C (getTocList): New method.

	* src/BufferView2.C (ChangeRefs): New method.

	* src/buffer.C (getLabelList): New method. It replaces the old
	getReferenceList. The return type is vector<string> instead of 
	string.

	* src/insets/insetinclude.C (getLabelList): New method. Replaces
	the old getLabel() and GetNumberOfLabels() methods.
	* src/insets/insetlabel.C (getLabelList): ditto
	* src/mathed/formula.C (getLabelList): ditto
	
	* src/paragraph.C (String): New method.

	* src/lyx_cb.C (TocSelectCB,TocUpdateCB): Rewritten.
	Uses the new getTocList() method. 
	TocSelectCB() now calls to TocUpdateCB() before moving the cursor, 
	which automatically updates the contents of the browser.
	(RefUpdateCB): Use the new getLabelList method.

	* src/lyxfunc.C (Dispatch): Give an error if the label is not found.
	
	* src/BufferView2.C (gotoLabel) Use the new getLabelList method.

	* src/spellchecker.C: Added using std::reverse;

2000-05-19  Juergen Vigna  <jug@sad.it>

	* src/tabular.C (Validate): fixed/added validating of LaTeXFeatures.

	* src/insets/insettext.C (computeTextRows): small fix for display of
	1 character after a newline.

	* src/tabular.C (OldFormatRead): fixed the OldFormatRead with regard
	to cont-rows!

2000-05-18  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (TabularFeatures): fixed update of display
	when changing width of column.

	* src/tabular.C (set_row_column_number_info): setting of
	autobreak rows if necessary.

2000-05-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxvc.C (toggleReadOnly): use VCS::status() instead of stat()

	* src/vc-backend.*: renamed stat() to status() and vcstat to
	vcstatus. It happens that Tru64 Unix 5.0 has stat() as a macro and
	compilation broke. The new name seems more relevant, anyway.

2000-05-17  Juergen Vigna  <jug@sad.it>

	* src/BufferView2.C (removeAutoInsets): fixed use of AutoDeleteInsets
	which was wrong if the removing caused removing of rows!

	* src/lyxlex_pimpl.C (next, nextToken): insert support for pushToken.
	(pushToken): new function.

	* src/text2.C (CutSelection): fix problem discovered with purify

2000-05-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/debug.C (showTags): enlarge the first column, now that we
	have 6-digits debug codes.

	* lib/layouts/hollywood.layout:
	* lib/tex/hollywood.cls: 	
	* lib/tex/brodway.cls: 
	* lib/layouts/brodway.layout: more commands and fewer
	environments. Preambles moved in the .cls files. Broadway now has 
	more options on scene numbering and less whitespace (from Garst)

	* src/insets/insetbib.C (getKeys): make sure that we are in the
	document directory, in case the bib file is there.

	* src/insets/insetbib.C (Latex): revert bogus change.

2000-05-16  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (UnlockInsetInInset): Changes to update
	the TabularLayout on cursor move.

	* src/TabularLayout.C (TabularOptionsCB): Wrong call to MenuLayoutTable

	* src/insets/insettabular.C (Clone): Clone the LyXTabular for
	undo-handling.
	(getCellXPos): 
	(draw): fixed cursor position and drawing so that the cursor is
	visible when before the tabular-inset.

	* src/insets/insettext.C (init): drawLockedFrame was not initialized
	when creating from old insettext.

	* src/tabular.C (Clone): added Clone of text-inset for undo-handling.

2000-05-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/tex/hollywood.cls: better algorithm for page breaks (Garst)
	* lib/tex/brodway.cls: ditto 

	* lib/layouts/brodway.layout: change alignment of parenthical
	layout (Garst)
	
2000-05-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* config/lyxinclude.m4 (LYX_PATH_XFORMS): make it clear that only
	versions 0.88 and 0.89 are supported.

2000-05-15  Juergen Vigna  <jug@sad.it>

	* src/insets/insetcollapsable.C (draw): enhancements in drawing and
	width calculating.

	* src/insets/insettext.C (computeTextRows): redone completely this
	function in a much cleaner way, because of problems when having a
	fixed maxWidth.
	(draw): added a frame border when the inset is locked.
	(SetDrawLockedFrame): this sets if we draw the border or not.
	(SetFrameColor): this sets the frame color (default=insetframe).

	* src/insets/lyxinset.h: added x() and y() functions which return
	the top_x and top_baseline values. Added a GetFirstLockingInsetOfType
	function which is needed to see if we have a locking inset of some
	type in this inset (needed for now in insettabular).

	* src/vspace.C (inPixels): the same function also without a BufferView
	parameter as so it is easier to use it in some ocasions.

	* src/lyxfunc.C: changed all places where insertInset was used so
	that now if it couldn't be inserted it is deleted!

	* src/TabularLayout.C: 
	* src/TableLayout.C: added support for new tabular-inset!

	* src/BufferView2.C (insertInset): this now returns a bool if the
	inset was really inserted!!!

	* src/tabular.C (GetLastCellInRow): 
	(GetFirstCellInRow): new helper functions.
	(Latex): implemented for new tabular class.
	(TeXCellPostamble): 
	(TeXCellPreamble): 
	(TeXBottomHLine): 
	(TeXTopHLine): new Latex() helper functions.

2000-05-12  Juergen Vigna  <jug@sad.it>

	* src/mathed/formulamacro.C (Read): 
	* src/mathed/formula.C (Read): read also the \end_inset here!

2000-05-10  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/mathed/math_write.C (MathParInset::Write): Fixed a bug:
	crush when saving formulae with unbalanced parenthesis.

20000-05-11  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/layout.C: Add new keyword "endlabelstring" to layout file

	* src/text.C (GetVisibleRow): Draw endlabel string.

	* lib/layouts/broadway.layout
	* lib/layouts/hollywood.layout: Added endlabel for the
	Parenthetical layout.

	* lib/layouts/heb-article.layout: Do not use slanted font shape
	for Theorem like environments.

	* src/buffer.C (makeLaTeXFile): Always add "american" to 
	the UsedLanguages list if document language is RTL. 

2000-05-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* add addendum to README.OS2 and small patch (from SMiyata)

2000-05-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* many files: correct the calls to ChangeExtension().

	* src/support/filetools.C (ChangeExtension): remove the no_path
	argument, which does not belong there. Use OnlyFileName() instead.

	* src/insets/insetbib.C (Latex): use absolute paths for bibtex
	files when LaTeXing a non-nice latex file.

	* src/lyxlookup.C (isDeadEvent): use a switch statement instead of
	a chain of "if". Return false when deadkeys are not handled.
	
	* src/lyx_main.C (LyX): adapted the code for default bindings.

	* src/kbmap.C (defaultKeyBindings): new method. Performs the default
	bindings for basic functionality (except deadkeys).
	(deadKeyBindings): new method. Performs the bindings of deadkeys.

	* src/lyxrc.C (defaultKeyBindings): moved to lyx_main.C 
	several methods: handle override_x_deadkeys.

	* src/lyxrc.h: remove the "bindings" map, which did not make much
	sense anyway. New variable override_x_deadkeys, defaulting to "true".
	
2000-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxfont.C (stateText): use a saner method to determine
	whether the font is "default". Seems to fix the crash with DEC
	cxx. 

	* src/Bullet.[Ch] (Bullet): remove const on parameters.

2000-05-08  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (InsetButtonRelease): Now opens the
	TabularLayoutMenu with mouse-button-3
	(LocalDispatch): added LFUN_MENU_LAYOUT to open the Tabular-Layout.

	* src/TabularLayout.C: added this file for having a Layout for
	tabular-insets.

2000-05-05  Juergen Vigna  <jug@sad.it>

	* src/insets/insettabular.C (UpdateLocal): resetCursorPos when
	recalculating inset-widths.
	(TabularFeatures): activated this function so that I can change
	tabular-features via menu.

	* src/menus.C (ShowEditMenu): inserted support for insettabular so
	that I can test some functions with the Table menu.

2000-05-05  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyxfont.C (stateText): guard against stupid c++libs.

	* src/tabular.C: add using std::vector
	some whitespace changes, + removed som autogenerated code.

	* src/buffer.C (parseSingleLyXformat2Token): stupid bug.

2000-05-05  Juergen Vigna  <jug@sad.it>

	* src/tabular.[Ch]: now using std:vector instead of arrays for all the
	row, columns and cellstructures.

2000-05-05  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* lib/lyxrc.example: remove obsolete entries.

	* src/buffer.C (parseSingleLyXformat2Token): patch from dekel, fix
	reading of protected_separator for free_spacing.

2000-05-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/text.C (draw): do not display an exclamation mark in the
	margin for margin notes. This is confusing, ugly and
	uninformative. 

	* src/LaTeXFeatures.C (getPackages): load amssymb also when 'Use
	AMS math' is checked.

	* src/buffer.C (makeLaTeXFile): do not depend on the textclass
	name to see whether including the amsmath package is needed.

2000-05-05  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/paragraph.C (validate): Compute UsedLanguages correctly
	(don't insert the american language if it doesn't appear in the
	document)

	* src/paragraph.C (TeXOnePar,SimpleTeXOnePar,SimpleTeXSpecialChars)
	The argument of \thanks{} command is considered moving argument

	* src/paragraph.C (SimpleTeXOnePar): Put \protect before \\ if in
	moving argument.

2000-05-04  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/text.C (GetVisibleRow): Improved drawing of vertical lines
	for appendix/minipage/depth. The lines can be now both in the footnote 
	frame, and outside the frame.

	* src/text.C (SingleWidth,draw): Correct rendering of Hebrew vowels
	points ("nikud")

2000-05-05  Juergen Vigna  <jug@sad.it>

	* src/table.[Ch]: removed the inset and buffer stuff as this is now
	neede only in tabular.[Ch].

2000-05-05  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/insets/insetspecialchar.C (Read): allow command == '~' for
	PROTECTED_SEPARATOR 
	(Write): write '~' for PROTECTED_SEPARATOR

2000-05-04  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyxparagraph.h: add a friend struct matchIT after the struct
	InsetTable.

	* src/mathed/formula.C (drawStr): rename size to siz.

	* src/insets/figinset.C (RestoreForm): rename pflags to piflags,
	possibly fix a bug by not changing the pflags = flags to piflags =
	flags.

2000-05-05  Juergen Vigna  <jug@sad.it>

	* src/insets/insetbib.C: moved using directive

	* src/ImportNoweb.C: small fix for being able to compile (missing
	include cstdlib)

2000-05-04  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* config/lyxinclude.m4 (LYX_CXX_STL_STRING): change the test not
	to use clear, since we don't depend on this in the code. Add test
	for string::compare

2000-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* (various *.C files): add using std::foo directives to please dec
	cxx.

	* replace calls to string::clear() to string::erase() (Angus)

	* src/cheaders/cmath: modified to provide std::abs.

2000-05-04  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C: Prepared all for inserting of multiple
	paragraphs. Still display stuff to do (alignment and other things),
	but I would like to use LyXText to do this when we cleaned out the
	table-support stuff.

	* src/insets/insettabular.C: Changed lot of stuff and added lots
	of functionality still a lot to do.

	* src/tabular.C: Various functions changed name and moved to be
	const functions. Added new Read and Write functions and changed
	lots of things so it works good with tabular-insets (also removed
	some stuff which is not needed anymore * hacks *).

	* src/lyxcursor.h: added operators == and != which just look if
	par and pos are (not) equal.

	* src/buffer.C (latexParagraphs): inserted this function to latex
	all paragraphs form par to endpar as then I can use this too for
	text-insets.

	* src/text2.C (SetLayout): Changed this to use a cursor this is needed
	so that I can call this to from text insets with their own cursor.

	* src/buffer.C (makeLaTeXFile): added the output of one \n after the
	output off all paragraphs (because of the fix below)!

	* src/paragraph.C (TeXOnePar): removed output of \n when we are in
	the very last paragraph (this could be also the last paragraph of an
	inset!)

	* src/texrow.h: added rows() call which returns the count-variable.

2000-05-03  Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>

	* lib/lyxrc.example: fix examples for exporting SGML to HTML.

	* lib/configure.m4: better autodetection of DocBook tools.

2000-04-28  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyx_main.C (easyParse): use lyxerr instead of cerr.

	* src/lyx_cb.C: add using std::reverse;

	* src/LaTeX.C (run): on error always run deleteFilesOnError before
	returning.

	* src/LaTeX.[Ch] (deleteFilesOnError): new method. unlinks some
	selected files. Should fix repeated errors from generated files.

2000-04-27  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/lyx_cb.C (TocUpdateCB): Reverse strings for Hebrew paragraphs

	* src/spellchecker.C (RunSpellChecker): Reverse Hebrew strings in
	the spellchecker popup. 

	* lib/lyxrc.example:  Removed the \number_inset section

2000-04-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/insets/figinset.C (various): Use IsFileReadable() to make
	sure that the file actually exist. Relying on ghostscripts errors
	is a bad idea since they can lead to X server crashes.	

2000-04-27  Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>

	* intl/loadmsgcat.c (_nl_load_domain): pass O_BINARY as flag to
	open under CYGWIN 

	* lib/lyxrc.example: smallish typo in description of
	\view_dvi_paper_option 

2000-04-26  Andr Pnitz <poenitz@mathematik.tu-chemnitz.de>

	* src/lyxfunc.h:
	* src/lyxfunc.C: doImportHelper to factor out common code of the
	various import methods. New functions doImportASCIIasLines,
	doImportASCIIasParagraphs, doImportLaTeX, doImportNoWeb,
	doImportLinuxDoc  for the  format specific parts.

	* buffer.h:
	* buffer.C: Dispatch  returns now a bool to indicate success

	* lyx_gui.h:
	* lyx_gui.C: Add getLyXView() for member access

	* lyx_main.C: Change logic for batch commands: First try
	Buffer::Dispatch (possibly without GUI), if that fails, use
	LyXFunc::Dispatch

	* lyx_main.C: Add support for --import command line switch.
	Now 'lyx --import ascii file.txt' opens the GUI with file.txt loaded.
	Available Formats: Everything  accepted by 'buffer-import <format>'

2000-04-27  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyx_gui.C (create_forms): small oneliner from Garst to have
	unnumbered parts.

	* src/lyx_cb.C (ScreenApplyCB): clear the textcache so that the
	documents will be reformatted upon reentry.

2000-04-27  Juergen Vigna  <jug@sad.it>

	* src/CutAndPaste.C (pasteSelection): last paragraph was not returned
	correctly only last pos this was a bug.

2000-04-26  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* release of lyx-1.1.5pre1

2000-04-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/insets/insettabular.[Ch]: fix the Clone() declaration.

	* src/menus.C: revert the change of naming (Figure->Graphic...)
	from 2000-04-11. It was incomplete and bad.
	
	* src/LColor.[Ch]: add LColor::depthbar.
	* src/text.C (GetVisibleRow): use it.

	* README: update the languages list.

2000-04-25  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/text.C (GetVisibleRow): show the depth of paragraphs using
	vertical bars.

2000-04-26  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* README: remove sections that were just wrong.

	* src/text2.C (GetRowNearY): remove currentrow code

	* src/text.C (GetRow): remove currentrow code

	* src/screen.C (Update): rewritten a bit.
	(SmallUpdate): removed func

	* src/lyxtext.h (text_status): removed NEED_LITTLE_REFRESH, never
	used.
	(FullRebreak): return bool
	(currentrow): remove var
	(currentrow_y): ditto

	* src/lyxscreen.h (Draw): change arg to unsigned long
	(FitCursor): return bool
	(FitManualCursor): ditto
	(Smallpdate): remove func
	(first): change to unsigned long
	(DrawOneRow): change second arg to long (from long &)
	(screen_refresh_y): remove var
	(scree_refresh_row): ditto
	
	* src/lyxrow.h: change baseline to usigned int from unsigned
	short, this brings some implicit/unsigned issues out in the open.

	* src/lyxfunc.C (moveCursorUpdate): update(0) == update(-2) change
	accordingly.
	(Dispatch): don't call updateScrollbar after fitCursor. Use update
	instead of smallUpdate.

	* src/lyxcursor.h: change y to unsigned long

	* src/buffer.h: don't call updateScrollbar after fitcursor

	* src/buffer.C (parseSingleLyXformat2Token): move variables to
	where they are used. Removed "\\direction", this was not present
	in 1.1.4 and is already obsolete. Commented out some code that I
	believe to never be called.
	(runLiterate): don't call updateScrollbar after fitCursor
	(runLaTeX): ditto
	(buildProgram): ditto
	(runChktex): ditto

	* src/WorkArea.h (workWidth): change return val to unsigned
	(width): ditto
	(height): ditto
	(redraw): remove the button redraws
	(setScrollbarValue): change for scrollbar
	(getScrollbarValue): change for scrollbar
	(getScrollbarBounds): change for scrollbar

	* src/WorkArea.C (C_WorkArea_up_cb): removed func
	(C_WorkArea_down_cb): removed func
	(WorkArea): use fl_add_scrollbar instead of two buttons and a slider.
	(resize): change for scrollbar
	(setScrollbar): ditto
	(setScrollbarBounds): ditto
	(setScrollbarIncrements): ditto
	(up_cb): removed func
	(down_cb): removed func
	(scroll_cb): change for scrollbar
	(work_area_handler): ditto

	* src/BufferView_pimpl.C (fitCursor): only call updateScrollbar
	when FitCursor did something.
	(updateScrollbar): some unsigned changes
	(downCB): removed func
	(scrollUpOnePage): removed func
	(scrollDownOnePage): remvoed func
	(workAreaMotionNotify): don't call screen->FitCursor but use
	fitCursor instead. and bool return val
	(workAreaButtonPress): ditto
	(workAreaButtonRelease): some unsigned changes
	(checkInsetHit): ditto
	(workAreaExpose): ditto
	(update): parts rewritten, comments about the signed char arg added
	(smallUpdate): removed func
	(cursorPrevious): call needed updateScrollbar
	(cursorNext): ditto

	* src/BufferView2.C (allFloats): don't call updateScrollbar after
	fitCursor.

	* src/BufferView.[Ch] (upCB): removed func
	(downCB): removed func
	(smallUpdate): removed func

2000-04-25  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyxtext.h src/text.C src/text2.C: removed support for the
	currentrow, currentrow_y optimization. This did not help a lot and
	if we want to do this kind of optimization we should rather use
	cursor.row instead of the currentrow. 

	* src/buffer.C (parseSingleLyXformat2Token): fixed mistake in
	buffer spacing and klyx spacing support.

2000-04-25  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/spellchecker.C (RunSpellChecker): Speedup spellchecking by
	a factor of 50!

2000-04-26  Juergen Vigna  <jug@sad.it>

	* src/insets/figinset.C: fixes to Lars sstream changes!

2000-04-23  Dekel Tsur  <dekel@math.tau.ac.il>

	* A lot of files: Added Ascii(ostream &) methods to all inset
	classes. Used when exporting to ASCII.
	
	* src/buffer.C (writeFileAscii,RoffAsciiTable)
	* src/paragraph.C (RoffContTableRows): Use the Ascii() methods
	instead of Latex()

	* src/text2.C (ToggleFree): Disabled implicit word selection when
	there is a change in the language
	
	* src/insets/insetspecialchar.C (Linuxdoc,DocBook): Fixed a bug:
	no output was generated for end-of-sentence inset.
	
	* src/insets/lyxinset.h
	* src/buffer.C
	* src/lyxfunc.C
	* src/paragraph.C: Removed the insetnumber code

	* src/text.C (SelectWordWhenUnderCursor): Cleaned the code.

2000-04-22  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/buffer.C (parseSingleLyXformat2Token): remove no_isolatin1,
	no_babel and no_epsfig completely from the file.
	(parseSingleLyXformat2Token): add handling for per-paragraph
	spacing as written by klyx.

	* src/insets/figinset.C: applied patch by Andre. Made it work with
	ostringstream too.

2000-04-20  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C (cutSelection): 
	(copySelection): Fixed with selection from right to left.
	(draw): now the rows are not recalculated at every draw.
	(computeTextRows): for now reset the inset-owner here (this is
	important for an undo or copy where the inset-owner is not set
	automatically!)

	* src/BufferView_pimpl.C (workAreaMotionNotify): when passing the
	motion to the_locking_inset screen->first was forgotten, this was
	not important till we got multiline insets.

2000-04-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/mathed/formulamacro.C (Latex): remove CHECK comment, since
	code seems to be alright (it is code changed by Dekel, and the
	intent is indeed that all macros should be defined \protect'ed)

	* NEWS: a bit of reorganisation of the new user-visible features.

2000-04-19  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C (init): using a LyXCursor now for cursor
	position. Set the inset_owner of the used paragraph so that it knows
	that it is inside an inset. Fixed cursor handling with mouse and
	cursor keys. Fixed wrong timed inset redraws and lots of other changes
	and cleanups to make TextInsets work better.

	* src/insets/insettext.h: Using a LyXCursor now. Added a clear() call.
	Changed parameters of various functions and added LockInsetInInset().

	* src/insets/insettext.C: 

	* src/insets/insetcollapsable.h: 
	* src/insets/insetcollapsable.C: 
	* src/insets/insetfoot.h: 
	* src/insets/insetfoot.C: 
	* src/insets/insetert.h: 
	* src/insets/insetert.C: cleaned up the code so that it works now
	correctly with insettext.

	* src/insets/inset.C: 
	* src/insets/lyxinset.h: inserted inset_owner and some more changes so
	that insets in insets are supported right.

	* src/table.h: 
	* src/table.C: lots of changes for use with inset tabular (and cleanup)

	* src/paragraph.C: some small fixes

	* src/debug.h: inserted INSETS debug info

	* src/lyxfunc.C (Dispatch): added code for InsetTabular and some inset
	fixes (f.ex. calling LFUN_DOWN if exiting inset with LFUN_DOWN).

	* src/commandtags.h: 
	* src/LyXAction.C: insert code for InsetTabular.

	* src/BufferView_pimpl.C (workAreaMotionNotify): do return always if
	not Button1MotionMask.
	(workAreaButtonRelease): send always a InsetButtonRelease event to
	the_locking_inset.
	(checkInsetHit): some setCursor fixes (always with insets).

	* src/BufferView2.C (lockInset): returns a bool now and extended for
	locking insets inside insets.
	(showLockedInsetCursor): it is important to have the cursor always
	before the locked inset.
	(fitLockedInsetCursor): forgot adding of InsetInInsetY()-offset.

	* src/BufferView.h: made lockInset return a bool.

	* src/lyxtext.h: inserted function SetCursor(LyXCursor, ...).

	* src/text2.C (SetCursor): This now has a version with a LyXCursor
	that is used also internally but can be called as public to have back
	a cursor pos which is not set internally.
	(SetCursorIntern): Changed to use above function.

	* src/CutAndPaste.C (DeleteBuffer): forgot to inizialize textclass

2000-04-19  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* ANNOUNCE: 
	* INSTALL: 
	* UPGRADING: 
	* NEWS: updated for prerelease of 1.1.5. Please comment and send
	patches for things that should be in or should be changed.

	* src/* [insetfiles]: change "usigned char fragile" to bool
	fragile. There was only one point that could that be questioned
	and that is commented in formulamacro.C. Grep for "CHECK".
	
	* src/CutAndPaste.C (getBufferTextClass): unused func, removed.
	(DeleteBuffer): take it out of CutAndPaste and make it static.

2000-04-17  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/paragraph.C (TeXOnePar): use the new method in Spacing to
	output the spacing envir commands. Also the new commands used in
	the LaTeX output makes the result better.

	* src/Spacing.C (writeEnvirBegin): new method
	(writeEnvirEnd): new method

2000-04-18  Juergen Vigna  <jug@sad.it>

	* src/CutAndPaste.C: made textclass a static member of the class
	as otherwise it is not accesed right!!!

2000-04-17  Dekel Tsur  <dekel@math.tau.ac.il>

	* forms/layout_forms.fd
	* src/layout_forms.h
	* src/layout_forms.C (create_form_form_character)
	* src/lyx_cb.C (UserFreeFont)
	* src/lyx_gui.C (create_forms): Added GUI support for multi-lingual
	documents (in the layout->character popup).

2000-04-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/spellchecker.C (create_ispell_pipe): fix a bug where
	\spell_command was in fact not honored (from Kevin Atkinson).

	* src/lyx_gui.C (~LyXGUI): make sure lyxViews is deleted when
	quitting (Angus)

	* src/lyx_gui.h: make lyxViews private (Angus)

2000-04-15  Dekel Tsur  <dekel@math.tau.ac.il>

	* src/mathed/math_write.C
	(MathMatrixInset::Write) Put \protect before \begin{array} and
	\end{array} if fragile
	(MathParInset::Write): Put \protect before \\ if fragile

2000-04-15  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyx_gui.C (LyXGUI): initialize the LyXColorHandler. The
	initialization if the LyXColorHandler must be done after the
	connections to the XServer has been established.

	* src/insets/figinset.C (runqueue): change the grabing a bit. Also
	get the background pixel from the lyxColorhandler so that the
	figures are rendered with the correct background color.
	(NextToken): removed functions.
	(GetPSSizes): use ifs >> string instead of NextToken.

	* src/Painter.[Ch]: the color cache moved out of this file. 

	* src/ColorHandler.[Ch]: new files. Holds the gc cache for color
	and lines.  

2000-04-14  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/WorkArea.C (work_area_handler): call BufferView::enterView
	and Buffer::leaveView when FL_ENTER and FL_LEAVE.

	* src/BufferView.C (enterView): new func
	(leaveView): new func

	* src/BufferView_pimpl.C (enterView): new func, sets xterm cursor
	when approp.
	(leaveView): new func, undefines xterm cursor when approp.

	* src/bufferview_funcs.C: moved SetXCursor to BufferView_pimp.C
	(AllowInput): delete the Workarea cursor handling from this func.

	* src/Painter.C (underline): draw a slimer underline in most cases.

	* src/lyx_main.C (error_handler): use extern "C"

2000-04-12  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/insets/figinset.C (DocBook): small patch from Jose (jamatos)
	sent directly to me.

	* src/text2.C (DeleteEmptyParagraphMechanism): small patch posted
	to the list by Dekel.

	* src/lyxfunc.C (Dispatch): make PARAGRAPH_SPACING compile with
	strstream too.

	* src/bufferview_funcs.[Ch]: two new files, moved several of the
	methods from lyx_cb.here.

	* src/lyx_cb.C: in addition to the above; removed input_prohibited
	it was not used.

2000-04-11  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyx_cb.[Ch]: made several functions take a BufferView* arg
	instead of using current_view directly. 

	* src/lyxfunc.C (Dispatch): the paragraph-spacing implementation

	* src/LyXAction.C (init): add the paragraph-spacing command.

	* src/commandtags.h: add enum for LFUN_PARAGRAPH_SPACING

	* src/buffer.C (parseSingleLyXformat2Token): read the paragraph spacing

	* src/lyx_cb.C (CurrentState): output a string when the spacing is
	different from the documents.

	* src/text.C (SetHeightOfRow): take paragraph spacing into
	account, paragraph spacing takes precedence over buffer spacing
	(GetVisibleRow): ditto

	* src/paragraph.C (writeFile): output the spacing parameter too.
	(validate): set the correct features if spacing is used in the
	paragraph. 
	(Clear): set spacing to default
	(MakeSameLayout): spacing too
	(HasSameLayout): spacing too
	(SetLayout): spacing too
	(TeXOnePar): output the spacing commands

	* src/lyxparagraph.h: added a spacing variable for use with
	per-paragraph spacing.

	* src/Spacing.h: add a Default spacing and a method to check if
	the current spacing is default. also added an operator==

	* src/text2.C (DeleteEmptyParagraphMechanism): added a
	RedoParagraphs.

2000-04-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxserver.C (callback): fix dispatch of functions

	* src/insets/insetlatexaccent.C (checkContents): turn bogus
	printf() into lyxerr call. 

	* src/tex-strings.C (tex_fonts): add "pslatex" to the choice of
	fonts. 

	* src/menus.C (ShowInsertMenu): rename "Figure" to "Graphic",
	"Table" to "Table Box", "Float" to "Floating Material"; deletes
	the "Float" from each of the subitems.
	(ShowHelpMenu): add entry for "FAQ" and "TOC".

	* src/support/DebugStream.h: add an #ifdef to work around a gcc
	2.8.x compiler error. Yes, I know, gcc 2.8.1 is bad, but I
	documented the change so that the workaround can be nuked later.

	* src/lyx_gui_misc.C (getScreenDPI): new function. Code moved from 
	LyX::init().
	
	* src/lyxlex_pimpl.C (next): do not re-declare the default value
	of arguments.
	* src/buffer.C (getLatexName): ditto
	(setReadonly): ditto

2000-04-11  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/LaTeXFeatures.h: add a const reference to BufferParams, to
	avoid some uses of current_view. Added also a bufferParams()
	method to get at this.

	* src/lyxtext.h: changed params->buffer and paramters->bparams.

2000-04-10  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyxparagraph.[Ch]: removed
	operator<(LyXParagraph::InsetTable..., added a struct matchIT
	with operators used by lower_bound and
	upper_bound in InsetTable's
	Make struct InsetTable private again. Used matchpos.

2000-04-08  Dekel Tsur  <dekel@math.tau.ac.il>
	
	* src/lyx_cb.C (DocumentApplyCB): When changing the language of the
	document, the language of existing text is changed (unless the
	document is multi-lingual)

	* src/buffer.C (ChangeLanguage,isMultiLingual) New methods.

	* src/paragraph.C (ChangeLanguage,isMultiLingual) New methods.

	* A lot of files: A rewrite of the Right-to-Left support.
  
2000-04-10  Juergen Vigna  <jug@sad.it>

	* src/BufferView2.C (showLockedInsetCursor): small bugfix for
	misplaced cursor when inset in inset is locked.

	* src/insets/insettext.C (LocalDispatch): small fix so that a
	BREAKLINE is not inserted if we don't permit it with autBreakRows.

	* src/insets/insetfoot.C (GetDrawFont): implemented this as the
	footnote font should be decreased in size twice when displaying.

	* src/insets/insettext.C (GetDrawFont): inserted this function as
	the drawing-font may differ from the real paragraph font.

	* src/lyxfunc.C (processKeyEvent): fixed Esc-handling when unlocking
	insets (inset in inset!).

	* src/insets/insetfoot.C (InsertInsetAllowed): implemented the below
	function here because we don't want footnotes inside footnotes.

	* src/insets/insettext.C (InsetText): forgot to set autoBreakRows for
	Cloned insets.
	(init): now set the inset_owner in paragraph.C
	(LocalDispatch): added some resetPos() in the right position
	(cutSelection): 
	(copySelection): 
	(pasteSelection): changed to use the new CutAndPaste-Class.

	* src/insets/lyxinset.h: inserted new function InsertInsetAllowed
	which tells if it is allowed to insert another inset inside this one.

	* src/lyx_cb.C (DocumentApplyCB): Using CutAndPaste-Class for
	SwitchLayoutsBetweenClasses.

	* src/text2.C (InsertInset): checking of the new paragraph-function
	InsertInsetAllowed.
	(DeleteSimpleCutBuffer): removed (for now only with #ifdef) as this
	is not needed anymore here!
	(CutSelection): 
	(CopySelection): 
	(PasteSelection): redone (also with #ifdef) so that now this uses
	the CutAndPaste-Class.
	(SwitchLayoutsBetweenClasses): removed here and implemented in the
	CutAndPaste-Class.
	
	* src/CutAndPaste.[Ch]: added this for clean handling of CutAndPaste
	from/to text/insets.

	* src/paragraph.C (LyXParagraph): inserted new inset_owner pointer
	so that the paragraph knows if it is inside an (text)-inset.
	(InsertFromMinibuffer): changed return-value to bool as now it
	may happen that an inset is not inserted in the paragraph.
	(InsertInsetAllowed): this checks if it is allowed to insert an
	inset in this paragraph.
	(PasteParagraph): 
	(BreakParagraphConservative): 
	(BreakParagraph) : small change for the above change of the return
	value of InsertFromMinibuffer.

	* src/lyxparagraph.h: added inset_owner and the functions to handle
	this (SetInsetOwner(), InInset() and InsertInsetAllowed()).

2000-04-10  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/BufferView.[Ch], src/BufferView_pimpl.[Ch]: move more
	functions from BufferView to BufferView::Pimpl to ease maintence.
	
	* src/text2.C (DeleteEmptyParagraphMechanism): update the cursor
	correctly. Also use SetCursorIntern instead of SetCursor.

	* src/insets/insetinfo.C (draw): draw InsetInfo notes with the
	correct color.

2000-04-08  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/WorkArea.C (belowMouse): manually implement below mouse.

	* src/*: Add "explicit" on several constructors, I added probably
	some unneeded ones. A couple of changes to code because of this.

	* src/BufferView.[Ch]: Used the "pimpl" idiom to hide more of the
	implementation and private parts from the users of BufferView. Not
	quite finished.

	* src/lyxlex.[Ch]: Used the "pimpl" idiom to hide more of the
	implementation and private parts from the users of LyXLex. Not
	quite finished.

	* src/BufferView_pimpl.[Ch]: new files

	* src/lyxlex_pimpl.[Ch]: new files

	* src/LyXView.[Ch]: some inline functions move out-of-line

2000-04-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxparagraph.h: make struct InsetTable public.

	* src/support/lyxstring.h: change lyxstring::difference_type to be
	ptrdiff_t. Add std:: modifiers to streams.

	* src/font.C: include the <cctype> header, for islower() and
	isupper(). 

2000-04-03  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/font.[Ch]: new files. Contains the metric functions for
	fonts, takes a LyXFont as parameter. Better separation of concepts.
	
	* src/lyxfont.[Ch]: move the metric functions to font.[Ch] several
	changes because of this.

	* src/PainterBase.[Ch] (width): remove, use the ones in font.C instead

	* src/*: compile with -Winline and move functions that don't
	inline out of line.
	
	* src/lyx_cb.C (stringOnlyContains): use string::find_first_not_of
	instead of strspn.

2000-04-02  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/paragraph.C (GetLabelstring): renamed from GetLabestring.
	(various files changed because of this)

	* src/Painter.C (text): fixed the drawing of smallcaps.

	* src/lyxfont.[Ch] (drawText): removed unused member func.
	(drawString): ditto

	* src/*.C: added needed "using" statements and "std::" qualifiers. 

2000-03-31  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/*.h: removed all use of "using" from header files use
	qualifier std:: instead. 

2000-04-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/text.C (Backspace): some additional cleanups (we already
	know whether cursor.pos is 0 or not).

	* lib/reLyX/Makefile.am (DESTDIR): add an empty value (since
	automake does not provide one).

	* src/bmtable.h: replace C++ comments with C comments.

2000-04-02  Dekel Tsur <dekel@math.tau.ac.il>

	* src/screen.C (ShowCursor): Change the shape of the cursor if
	the current language is not equal to the language of the document.
	(If the cursor change its shape unexpectedly, then you've found a bug)

	* src/insets/insettext.C (LocalDispatch, UpdateLocal) Fixed some
	bugs [I hope...]

	* src/insets/insetnumber.[Ch]: New files.

	* src/LyXAction.C (init)
	* src/lyxfunc.C (dispatch): Add command number-inset-insert

	* lyxrc.example
	* src/lyxrc.C: Renamed command \auto_mathmode to \number_inset

	* src/lyxparagraph.h
	* src/paragraph.C: Changed insetlist to Vector<InsetTable>.
	(the vector is kept sorted).

	* src/text.C (GetVisibleRow): Draw selection correctly when there
	is both LTR and RTL text.

	* src/paragraph.C (Clone): Use the assignment operator for cloning,
	which is much faster.

	* src/text.C (GetVisibleRow and other): Do not draw the last space 
	in a row if the direction of the last letter is not equal to the
	direction of the paragraph.

	* src/lyxfont.C (latexWriteStartChanges):
	Check that font language is not equal to basefont language.
	(latexWriteEndChanges): ditto

	* src/lyx_cb.C (StyleReset): Don't change the language while using
	the font-default command.

	* src/paragraph.C (GetFirstFontSettings): Handle correctly an
	empty paragraph before a footnote.

	* src/insets/insetcommand.C (draw): Increase x correctly.

	* src/screen.C (ShowCursor): Change cursor shape if
	current language != document language.

	* src/lyxfunc.C (dispatch): Added calls to owner->view()->setState()

2000-03-31  Juergen Vigna  <jug@sad.it>

	* src/paragraph.C (GetInset): commented out text[pos] = ' '
	(Clone): changed mode how the paragraph-data is copied to the
	new clone-paragraph.

	* src/lyxfunc.C (Dispatch): fixed small problem when calling
	GetInset(pos) with no inset anymore there (in inset UNDO)

	* src/insets/insetcommand.C (draw): small fix as here x is
	incremented not as much as width() returns (2 before, 2 behind = 4)

2000-03-30  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C (InsetText): small fix in initialize
	widthOffset (should not be done in the init() function)

2000-03-29  Amir Karger <karger@lyx.org>

	* lib/examples/it_ItemizeBullets.lyx: translation by 
	Stefano Mastella

	* Implemented \textasciitilde and fixed a tiny bug in reLyX

2000-03-29  Juergen Vigna  <jug@sad.it>

	* src/insets/insetcollapsable.C (Clone): same as in InsetFoot

	* src/insets/insetfoot.C (Clone): small change as for the below
	new init function in the text-inset

	* src/insets/insettext.C (init): new function as I've seen that
	clone did not copy the Paragraph-Data!
	(LocalDispatch): Added code so that now we have some sort of Undo
	functionality (well actually we HAVE Undo ;)

	* src/text.C (Backspace): Small fix for the a | a Backspace problem

2000-03-24  Dekel Tsur <dekel@math.tau.ac.il>
	
	* src/paragraph.C (AutoDeleteInsets) Fixed a bug (wrong positions
	were erased)

2000-03-22  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/main.C: added a runtime check that verifies that the xforms
	header used when building LyX and the library used when running
	LyX match. Exit with a message if they don't match. This is a
	version number check only.

	* src/buffer.C (save): Don't allocate memory on the heap for
	struct utimbuf times.

	* *: some using changes, use iosfwd instead of the real headers.

	* src/lyxfont.C use char const * instead of string for the static
	strings. Rewrite some functions to use sstream.

2000-03-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/text.C (Backspace): hopefully fix the dreaded backaspace
	bug. 

2000-03-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/layouts/svjog.layout: new file, for Springer-Verlag Journal
	of Geodesy (from Martin Vermeer)

	* lib/layouts/svjour.inc: include file for the Springer svjour
	class. It can be used to support journals other than JoG.

	* lib/Makefile.am: use $(DESTDIR) make variable (from Arkadiusz
	Miskiewicz <misiek@pld.org.pl>)
	* lib/reLyX/Makefile.am: ditto.

2000-03-27  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C: added Cut/Copy/Paste inside insets,
	also some modifications with operations on selected text.

	* src/BufferView.C (checkInsetHit): Now hopefully fixed all the
	problems with clicking on insets (last famous words ;)

	* src/insets/insetcommand.C (draw): 
	(width): Changed to have a bit of space before and after the inset so
	that the blinking cursor can be seen (otherwise it was hidden)

2000-03-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* config/gettext.m4 (AM_WITH_NLS): fix a gettext bug where -lintl
	would not be added to the link list when an installed gettext (not
	part of libc) is found.

2000-03-24  Juergen Vigna  <jug@sad.it>

	* src/insets/insetcollapsable.C (Edit): 
	* src/mathed/formula.C (InsetButtonRelease): 
	(InsetButtonPress): fixed for new handling of ButtonPress/Release
	handling.

	* src/BufferView.C (workAreaButtonPress): 
	(workAreaButtonRelease): 
	(checkInsetHit): Finally fixed the clicking on insets be handled
	correctly!

	* src/insets/insetert.C (Edit): inserted this call so that ERT
	insets work always with LaTeX-font

2000-03-21  Kayvan A. Sylvan  <kayvan@camel.internal.sylvan.com>

	* src/lyx_main.C (easyParse): Removed misplaced gui=false which
	caused lyx to startup with no GUI in place, causing in a crash
	upon startup when called with arguments.

2000-03-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/FontLoader.C: better initialization of dummyXFontStruct.

2000-03-20 Jos Ablio Matos <jamatos@lyx.org>

	* src/lyxrc.[Ch] Removed \sgml_extra_options, added 6 other flags
	for linuxdoc and docbook import and export format options.

	* lib/lyxrc.example Example of default values for the previous flags.

	* src/lyx_cb.C Use those flags instead of the hardwired values for
	linuxdoc and docbook export.

	* src/lyxfunc.[Ch] Added HTML export for linuxdoc and docbook, added
	linuxdoc import.

	* src/menus.C Added menus entries for the new import/exports formats.
	
2000-03-09 Andr Pnitz <poenitz@mathematik.tu-chemnitz.de>

	* src/lyxrc.*: Added support for running without Gui 
	(\use_gui false)
	  
	* src/FontLoader.C: sensible defaults if no fonts are needed

	* src/lyx_cb.C: New function ShowMessage (writes either to the
	minibuffer or cout in case of no gui
	New function AskOverwrite for common stuff
	Consequently various changes to call these functions

	* src/lyx_main.C:  allow gui = false and handle lyxrc \use_gui false
	wild guess at sensible screen resolution when having no gui

	* src/lyxfont.C: no gui, no fonts... set some defaults

2000-03-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/LColor.C: made the command inset background a bit lighter.

2000-03-20  Hartmut Goebel <goebel@noris.net>

	* lib/layouts/stdstruct.inc: split into stdtitle.inc and
	stdstruct.inc. Koma-Script added some title elements which
	otherwise have been listed below "bibliography". This split allows
	adding title elements to where they belong.

	* lib/layouts/scrclass.inc: changed to include stdtitle.inc, then
	define the additional title elements and then include
	stdstruct.inc. 

	* many other layout files: changed to include stdtitle.inc just
	before stdstruct.inc.

2000-03-18 Dekel Tsur <dekel@math.tau.ac.il>

	* src/buffer.C: (save) Added the option to store all backup files
	in a single directory

	* src/lyxrc.[Ch]: Added variable \backupdir_path

	* lib/lyxrc.example: Added descriptions of recently added variables

	* src/insets/insetbib.[Ch]: Fixed few bugs (crash when editing a
	bibtex inset, not closing the bibtex popup when deleting the inset)

2000-03-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyx_cb.C: add a couple using directives.

2000-03-17 Jos Ablio Matos <jamatos@lyx.org>
	* src/lyx_cb.C (RunLinuxDoc) Removed the flag==-1 option for linuxdoc 
	import based on the filename.
	
	* src/bufferlist.C () Removed the call to RunLinuxDoc where a linuxdoc
	file would be imported at start, if the filename where of a sgml file.

	* src/support/filetools.C (IsSGMLfilename) Removed, no longer needed.
	
	* src/support/filetools.h (IsSGMLfilename) Removed, no longer needed.
	
2000-03-16 Dekel Tsur <dekel@math.tau.ac.il>
	* src/lyxfont.h Replaced the member variable bits.direction by the
	member variable lang. Made many changes in other files.
	This allows having a multi-lingual document

	* src/lyxfunc.C, src/lyx_cb.C Added a new command "language <l>"
	that change the current language to <l>.
	Removed the command "font-rtl"

	* src/buffer.C Changed LYX_FORMAT to 2.16 (as I changed the file
	format for Hebrew documents)

	* src/lyxrc.C, src/lyxfunc.C Added a new lyxrc command "auto_mathmode"
	When auto_mathmode is "true", pressing a digit key in normal mode 
	will cause entering into mathmode.
	If auto_mathmode is "rtl" then this behavior will be active only
	when writing right-to-left text.

	* src/text2.C (InsertStringA) The string is inserted using the
	current font.

	* src/paragraph.C (GetEndLabel) Gives a correct result for
	footnote paragraphs.

	* src/paragraph.C (PreviousBeforeFootnote) Fixed a small bug

2000-03-16  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/text.C (Backspace): move RemoveParagraph and RemoveRow in
	front of PasteParagraph. Never insert a ' '. This should at least
	fix some cause for the segfaults that we have been experiencing,
	it also fixes backspace behaviour slightly. (Phu!)

	* src/support/lstrings.C (compare_no_case): some change to make it
	compile with gcc 2.95.2 and stdlibc++-v3

	* src/text2.C (MeltFootnoteEnvironment): change type o
	first_footnote_par_is_not_empty to bool.

	* src/lyxparagraph.h: make text private. Changes in other files
	because of this.
	(fitToSize): new function
	(setContentsFromPar): new function
	(clearContents): new function
	(SetChar): new function

	* src/paragraph.C (readSimpleWholeFile): deleted.

	* src/lyx_cb.C (InsertAsciiFile): don't use a LyXParagraph to hold
	the file, just use a simple string instead. Also read the file in
	a more maintainable manner.

	* src/text2.C (InsertStringA): deleted.
	(InsertStringB): deleted.

2000-03-15  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/text2.C (DeleteEmptyParagraphMechanism): don't run,
	RedoParagraphs from the doublespace handling part, just set status
	to NEED_MORE_REFRESH. Also don't update cursor position (should be
	done, but perhaps not like this.)

2000-03-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/text2.C (InsertStringA): don't forget to insert a META_INSET
	character when inserting an inset.

2000-03-12  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/bufferparams.C (readLanguage): now takes "default" into
	consideration.

	* src/lyx_main.C (LyX): remove the setup of lyxrc. (new)
	also initialize the toplevel_keymap with the default bindings from
	lyxrc. 
	
	* src/buffer.C (Buffer): remove lyxrc from the parameters.

	* all files using lyxrc: have lyxrc as a real variable and not a
	pointer. remove all extern LyXRC * lyxrc. The equiv to this is
	done in lyxrc.h.
	
	* src/lyxrc.C: remove double call to defaultKeyBindings

	* src/toolbar.[Ch]: Let the ToolbarDefaults handle the reading of
	toolbar defauls using lyxlex. Remove enums, structs, functions
	related to this. 

	* src/lyxrc.h: use ToolbarDefaults instead of Toolbar for storing
	toolbar defaults. Also store default keybindings in a map.

	* src/ToolbarDefaults.[Ch]: New file. This class is used for
	storing the toolbar defaults without any xforms dependencies. 

	* src/insets/figinset.C: patch posted to list by Andre Poenitz
	applied. Changed to use iterators.

2000-03-11  Kayvan A. Sylvan  <kayvan@satyr.sylvan.com>

	* development/lyx.spec.in: Fix to ``unset LINGUAS'' line for
	systems that don't have LINGUAS set to begin with.

2000-03-10  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/text2.C (DeleteEmptyParagraphMechanism): small fix posted to
	the list by Dekel Tsur.

2000-03-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/insets/insetgraphics.C (GraphicxCB): declare with "C" linkage.
	* src/insets/form_graphics.C: ditto.

	* src/insets/inseturl.C (Latex): the free_spc argument is not used.

2000-03-10  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/bufferparams.C (readLanguage): use the new language map

	* src/intl.C (InitKeyMapper): use the new language map

	* src/lyx_gui.C (create_forms): use the new language map

	* src/language.[Ch]: New files. Used for holding the information
	about each language. Now! Use this new language map enhance it and
	make it really usable for our needs. 

2000-03-09 Dekel Tsur <dekel@math.tau.ac.il>
	
	* screen.C (ShowCursor): Removed duplicate code.
	(ShowManualCursor): Support for 3 cursor shapes: Bar (default),
	L (LTR text in RTL document), and reversed-L (RTL text in LTR document)
	
	* src/text.C (NextBreakPoint,Fill): Moved declaration of left_margin

	* src/lyxtext.h
	* src/text.C  Added TransformChar method. Used for rendering Arabic
	text correctly (change the glyphs of the letter according to the
	position in the word)

	* src/buffer.C
	* src/paragraph.C
	* src/lyxrc.h
	* src/lyxrc.C  Added lyxrc command {language_command_begin,
	language_command_end,language_command_ltr,language_command_rtl,
	language_package} which allows the use of either arabtex or Omega
	for Arabic

	* src/lyx_gui.C (init)
	* src/lyxrc.h
	* src/lyxrc.C Added lyxrc command screen_font_encoding_menu. Allows
	to use encoding for menu fonts which is different than the encoding
	for screen fonts

	* src/buffer.C (makeLaTeXFile): If params.language = "default",
	do not load the babel package.
	To write an English document with Hebrew/Arabic, change the document
	language to "english".

	* src/text2.C (SetCounter): Fixed appendix labels for Hebrew document
	(alphaCounter): changed to return char
	(loweralphaCounter, hebrewCounter, romanCounter): New functions

	* lib/lyxrc.example  Added examples for Hebrew/Arabic

	* src/layout.h
	* src/layout.C  Added layout command endlabeltype

	* src/paragraph.C Added GetEndLabel(),LastPhysicalPar() const

	* src/text.C (GetVisibleRow): Draw a box at the end of proof layout

2000-03-10  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/mathed/math_delim.C (search_deco): return a
	math_deco_struct* instead of index.

2000-03-09  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* All files with a USE_OSTREAM_ONLY within: removed all code that
	was unused when USE_OSTREAM_ONLY is defined.
	
	* src/support/lyxalgo.h (sorted): rewrote to use plain '<' instead
	of any less. Removed header and using.

	* src/text.C (GetVisibleRow): draw the string "Page Break
	(top/bottom)" on screen when drawing a pagebreak line.

2000-03-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/doc/LaTeXConfig.lyx.in: add description of textclass llncs.

	* src/mathed/math_macro.C (draw): do some cast magic.
	(Metrics): ditto.

	* src/mathed/math_defs.h: change byte* argument to byte const*.

	* src/mathed/formulamacro.[Ch]: add free_spc to Latex() method.

	* src/insets/insetfoot.[Ch]: Clone() always returns an Inset* (well I
	know it is right to return InsetFoot* too, but cxx does not like
	it...). 

	* src/insets/insetcollapsable.[Ch] (Clone): make const.

	* development/lyx.spec.in: unset LINGUAS to avoid i18n problems.

	* src/mathed/math_delim.C: change == to proper assignment.

2000-03-09  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C (setPos): fixed various cursor positioning
	problems (via mouse and cursor-keys)
	(LocalDispatch): added posibility to add a Ctrl-Enter inside a text
	inset (still a small display problem but it works ;)

	* src/insets/insetcollapsable.C (draw): added button_top_y and
	button_bottom_y to have correct values for clicking on the inset.

	* src/support/lyxalgo.h: commented out 'using std::less'

2000-03-08  Juergen Vigna  <jug@sad.it>

	* src/insets/insetcollapsable.C (InsetButtonRelease): Now a
	Button-Release event closes as it is alos the Release-Event
	which opens it.

	* src/lyxfunc.C (Dispatch): forgot a break in the LFUN_INSET_ERT

2000-03-07  Kayvan A. Sylvan  <kayvan@camel.internal.sylvan.com>

	* lib/layouts/literate-scrap.inc: Fixed initial comment. Now we
	can add multiple spaces in Scrap (literate programming) styles...
	which, by the way, is how I got hooked on LyX to begin with.

	* src/mathed/formula.C (Write): Added dummy variable to an
	inset::Latex() call.
	(Latex): Add free_spacing boolean to inset::Latex()

	* src/mathed/formula.h (Latex):	Added free_spacing boolean arg.
	
	* src/insets/lyxinset.h: Changed definition of the inset::Latex()
	virtual function to include the free_spacing boolean from
	the containing paragraph's style.

	* src/insets/inseturl.C, src/insets/inseturl.h (Latex):
	Added free_spacing boolean arg to match inset.h
	
	* src/insets/insettext.C, src/insets/insettext.h (Latex):
	Added free_spacing boolean arg to match inset.h
	
	* src/insets/insetspecialchar.C, src/insets/insetspecialchar.h (Latex):
	Added free_spacing boolean and made sure that if in a free_spacing
	paragraph, that we output normal space if there is a protected space.
 	
	* src/insets/insetref.C, src/insets/insetref.h (Latex):
	Added free_spacing boolean arg to match inset.h
	
	* src/insets/insetquotes.C, src/insets/insetquotes.h (Latex):
	Added free_spacing boolean arg to match inset.h
	
	* src/insets/insetparent.C, src/insets/insetparent.h (Latex):
	Added free_spacing boolean arg to match inset.h
	
	* src/insets/insetlatexaccent.C, src/insets/insetlatexaccent.h (Latex):
	Added free_spacing boolean arg to match inset.h
	
	* src/insets/insetlatex.C, src/insets/insetlatex.h (Latex):
	Added free_spacing boolean arg to match inset.h
	
	* src/insets/insetlabel.C, src/insets/insetlabel.h (Latex): Added
	free_spacing boolean arg to match inset.h 
	
	* src/insets/insetinfo.C, src/insets/insetinfo.h (Latex):
	Added free_spacing boolean arg to match inset.h
	
	* src/insets/insetinclude.C, src/insets/insetinclude.h (Latex):
	Added free_spacing boolean arg to match inset.h
	
	* src/insets/insetgraphics.C, src/insets/insetgraphics.h (Latex):
	Added free_spacing boolean arg to match inset.h
	
	* src/insets/inseterror.C, src/insets/inseterror.h (Latex):
	Added free_spacing boolean arg to match inset.h
	
	* src/insets/insetcommand.C, src/insets/insetcommand.h (Latex):
	Added free_spacing boolean arg to match inset.h
	
	* src/insets/insetbib.C, src/insets/insetbib.h (Latex): Added
	free_spacing boolean arg to match inset.h
	
	* src/insets/figinset.C, src/insets/figinset.h (Latex): Added
	free_spacing boolean arg to match inset.h
	
	* src/text2.C (DeleteEmptyParagraphMechanism): Fix this to
	ignore free_spacing paragraphs. The user's spaces are left
	alone. 
	
	* src/text.C (InsertChar): Fixed the free_spacing layout
	attribute behavior. Now, if free_spacing is set, you can
	add multiple spaces in a paragraph with impunity (and they
	get output verbatim).
	(SelectSelectedWord): Added dummy argument to inset::Latex()
	call.
	
	* src/paragraph.C (TeXOnePar): Added dummy args to inset::Latex(...)
	calls.
	
	* src/lyxfunc.C (Dispatch): Hard-spaces input in free_spacing
	paragraph layouts now only input a simple space instead.
	Special character insets don't make any sense in free-spacing
	paragraphs.
	
	* src/buffer.C (parseSingleLyXformat2Token): Code to convert
	hard-spaces in the *input* file to simple spaces if the layout
	is free-spacing. This converts old files which had to have
	hard-spaces in free-spacing layouts where a simple space was
	preferrable.
	(writeFileAscii): Added free_spacing check to pass to the newly
	reworked inset::Latex(...) methods. The inset::Latex() code
	ensures that hard-spaces in free-spacing paragraphs get output
	as spaces (rather than "~").
	
2000-03-09  Lars Gullik Bjnnes  <larsbj@lyx.org>
	
	* src/mathed/math_delim.C (draw): draw the empty placeholder
	delims with a onoffdash line.
	(struct math_deco_compare): struct that holds the "functors" used
	for the sort and the binary search in math_deco_table.
	(class init_deco_table): class used for initial sort of the
	math_deco_table. 
	(search_deco): use lower_bound to do a binary search in the
	math_deco_table.

2000-03-08  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyxrc.C: a small secret thingie...

	* src/lyxlex.C (printTable): changed to take a ostream as paramter
	and to not flush the stream as often as it used to.

	* src/support/lyxalgo.h: new file 
	(sorted): template function used for checking if a sequence is
	sorted or not. Two versions with and without user supplied
	compare. Uses same compare as std::sort.

	* src/lyxlex.C (LyXLex): check if the table is sorted, if not sort
	it and give warning on lyxerr.
	(pushTable): ditto
	(struct compare_tags): struct with function operators used for
	checking if sorted, sorting and lower_bound.
	(search_kw): use lower_bound instead of manually implemented
	binary search.

2000-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/insets/insetcollapsable.h: fix Clone() declaration.
	* src/insets/insetfoot.h: ditto.

	* src/insets/lyxinset.h: remove an extra comma at the end of enum.

2000-03-08  Juergen Vigna  <jug@sad.it>

	* src/insets/lyxinset.h: added owner call which tells us if
	this inset is inside another inset. Changed also the return-type
	of Editable to an enum so it tells clearer what the return-value is.

	* src/insets/insettext.C (computeTextRows): fixed computing of
	textinsets which split automatically on more rows.

	* src/insets/insetert.[Ch]: changed this to be of BaseType
	InsetCollapsable.

	* src/insets/insetfoot.[Ch]: added footnote inset

	* src/insets/insetcollapsable.[Ch]: added this BaseClass for
	collapsable insets (like footnote, ert, ...)

2000-03-08  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyxdraw.h: remvoe file

	* src/lyxdraw.C: remove file

	* src/insets/insettext.C: added <algorithm>.

2000-03-07  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/mathed/math_panel.C (delim_cb): case MM_OK use string stream
	(matrix_cb): case MM_OK use string stream

	* src/mathed/formula.C (LocalDispatch): case LFUN_SETXY use string
	stream.

	* src/mathed/math_macro.C (draw): use string stream
	(Metrics): use string stream

	* src/paragraph.C (TeXFootnote): for case LyXParagraph::FIG, write
	directly to the ostream.

	* src/vspace.C (asString): use string stream.
	(asString): use string stream
	(asLatexString): use string stream

	* src/lyx_cb.C (UpdateLayoutDocument): use string stream for
	setting Spacing::Other.

	* src/LaTeXFeatures.C (getPackages): use string stream instead of
	sprintf when creating the stretch vale.

	* src/text2.C (alphaCounter): changed to return a string and to
	not use a static variable internally. Also fixed a one-off bug.
	(SetCounter): changed the drawing of the labels to use string
	streams instead of sprintf.

	* src/support/lyxmanip.h: rewrite the newlineanDepth ostream
	manipulator to use a scheme that does not require library support.
	This is also the way it is done in the new GNU libstdc++. Should
	work with DEC cxx now. 

2000-03-06  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/mathed/math_inset.h (Write(ostream & os): add a space at the
	end. This fixes a bug. 

	* src/mathed (all files concerned with file writing): apply the
	USE_OSTREAM_ONLY changes to mathed too.
	
	* src/support/DebugStream.h: make the constructor explicit.

	* src/lyxfont.C (latexWriteStartChanges): small bug related to
	count and ostream squashed.

2000-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/support/Makefile.am (libsupport_la_SOURCES): add lyxmanip.h.

	* src/buffer.C (makeLaTeXFile): add a .c_str(), since
	ostringstream uses STL strings, and we might not.

	* src/insets/insetspecialchar.C: add using directive.
	* src/insets/insettext.C: ditto.

2000-03-06  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* lib/layouts/seminar.layout: feeble attempt at a layout for
	seminar.cls, far from completet and could really use some looking
	at from people used to write layout files.

	* src/support/lyxmanip.h (newlineAndDepth): ostream manipulator to
	use instead of the AddNewlineAndDepth funtion in lyx_cb.C. This is
	a lot nicer and works nicely with ostreams.

	* src/mathed/formula.C (draw): a slightly different solution that
	the one posted to the list, but I think this one works too. (font
	size wrong in headers.)

	* src/insets/insettext.C (computeTextRows): some fiddling on
	Jrgens turf, added some comments that he should read.

	* src/lyxrc.C: remove all traces of RC_NOMENUACCELERATORS, never
	used and it gave compiler warnings.
	RC_SHOW_BANNER + "\\show_banner" added, also to reading and
	writing of lyxrc.

	* src/lyx_gui.C (create_forms): do the right thing when
	show_banner is true/false.

	* src/lyx_cb.C (TimerCB): no need to close or do anything if
	show_banner is false.

	* most file writing files: Now use iostreams to do almost all of
	the writing. Also instead of passing string &, we now use
	stringstreams. mathed output is still not adapted to iostreams.
	This change can be turned off by commenting out all the occurences
	of the "#define USE_OSTREAM_ONLY 1" lines.
	
	* src/WorkArea.C (createPixmap): don't output debug messages.
	(WorkArea): don't output debug messages.

	* lib/lyxrc.example: added a comment about the new variable
	\show_banner 

	* development/Code_rules/Rules: Added some more commente about how
	to build class interfaces and on how better encapsulation can be
	achieved. 

2000-03-03  Juergen Vigna  <jug@sad.it>

	* src/insets/insetert.C (InsetERT): Now ERT-insets break row
	automatically with the width of the LyX-Window

	* src/insets/insettext.C (computeTextRows): fixed update bug in
	displaying text-insets (scrollvalues where not initialized!)

2000-03-02  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/mathed/math_utils.C (MathedLookupBOP): using only res->id ==
	id in the check of the result from lower_bound is not enough since
	lower_bound can return last too, and then res->id will not be a
	valid construct.

	*  all insets and some code that use them: I have conditionalized
	removed the Latex(string & out, ...) this means that only the
	Latex(ostream &, ...) will be used. This is a work in progress to
	move towards using streams for all output of files. 

	* src/text.C (GetColumnNearX): initialize LyXParagraph::size_type
	c to 0.

2000-03-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/mathed/math_utils.C (MathedLookupBOP): fix the search
	routine (this fixes bug where greek letters were surrounded by too
	much white space).

	* src/support/filetools.C (findtexfile): change a bit the search
	algorithm, to fix bug introduced in 1.1.4. Note that --format is
	no longer passed to kpsewhich, we may have to change that later.

	* config/lyxinclude.m4 (LYX_PROG_CXX): better version-dependent
	warning options to avoid problems with X header files (from Angus
	Leeming).
	* acinclude.m4: regenerated.

2000-03-02  Juergen Vigna  <jug@sad.it>

	* src/insets/insettext.C (WriteParagraphData): Using the
	par->writeFile() function for writing paragraph-data.
	(Read): Using buffer->parseSingleLyXformat2Token()-function
	for parsing paragraph data!

	* src/buffer.C (readLyXformat2): removed all parse data and using
	the new parseSingleLyXformat2Token()-function.
	(parseSingleLyXformat2Token): added this function to parse (read)
	lyx-file-format (this is called also from text-insets now!)

2000-03-01  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/paragraph.C (BeginningOfMainBody): initialize previous_char
	and temp.

	* src/lyxfunc.C (Dispatch(LFUN_MENUSEARCH)): Do the Search dialog
	directly instead of going through a func. One very bad thing: a
	static LyXFindReplace, but I don't know where to place it. 

	* src/lyxfr1.C (GetCurrentSelectionAsString): rewritten to use a
	string instead of char[]. Also changed to static.
	(GetSelectionOrWordAtCursor): changed to static inline
	(SetSelectionOverLenChars): ditto.

	* src/lyxfr0.[Ch] src/lyxfr1.[Ch]: rewrite to get rid of
	current_view and global variables. both classes has changed names
	and LyXFindReplace is not inherited from SearchForm.
	
	* src/lyx_gui_misc.C (CloseAllBufferRelatedPopups): remove the
	fl_form_search form.

	* src/lyx_gui.C (create_forms): removed the fl_form_search form.

2000-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/bind/*.bind: make sure 'buffer-previous' function is not
	bound (from Kayvan).

	* src/insets/Makefile.am (libinsets_la_SOURCES): add BoundingBox.h.

	* lib/layouts/stdletter.inc: fix line spacing in Send_To_Address.

2000-03-01  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* some things that I should comment but the local pub says head to
	swirly... 
	
	* comment out all code that belongs to the Roff code for Ascii
	export of tables. (this is unused)
	
	* src/LyXView.C: use correct type for global variable
	current_layout. (LyXTextClass::size_type)

	* some code to get the new insetgraphics closer to working I'd be
	grateful for any help.
	
	* src/BufferView2.C (insertInset): use the return type of
	NumberOfLayout properly. (also changes in other files)

	* src/insets/insetspecialchar.[Ch]: add the PROTECTED SEPARATOR to
	this as a test. I want to know what breaks because of this.

	* src/BufferView.[Ch] (tripleClick): name change from trippleClick.

2000-02-29  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* lib/layouts/stdlists.inc: changed the lyxlist latex definition
	to use a \makebox in the label, this allows proper justification
	with out using protected spaces or multiple hfills. Now it is
	"label" for left justified, "\hfill label\hfill" for center, and
	"\hfill label" for right justified. UserGuide.lyx sec. 3.3.6.5
	should be changed accordingly. 

2000-02-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxtext.h: change SetLayout() to take a
	LyXTextClass::size_type instead of a char (when there is more than
	127 layouts in a class); also change type of copylayouttype.
	* src/text2.C (SetLayout): ditto.
	* src/LyXView.C (updateLayoutChoice): ditto.

	* src/LaTeX.C (scanLogFile): errors where the line number was not
	given just after the '!'-line were ignored (from Dekel Tsur).

	* lib/lyxrc.example: fix description of \date_insert_format

	* lib/layouts/llncs.layout: new layout, contributed by Martin
	Vermeer. 

2000-02-25  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* config/lyxinclude.m4 (LYX_PROG_CXX): remove case support for gcc
	2.7.* and add case support for gcc 2.96*. Gcc 2.96 only exists in
	cvs at gcc.gnu.org (currently it fails with ICE on insetbib.C,
	insetindex.C, insetloa.C, insettext.C, filetools.C, BufferView.C,
	BufferView2.C, LyXView.C, buffer.C, lyx_cb.C, lyxfunc.C,
	paragraph.C, text.C, text2.C)

2000-02-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/insets/insettext.C (LocalDispatch): remove extra break
	statement. 

	* src/insets/insetert.[Ch] (Clone): change return value to Inset*
	* src/insets/insettext.[Ch] (Clone): change return value to Inset*

	* src/mathed/formulamacro.[Ch] (draw): add missing const qualifier
	* src/insets/insettext.[Ch] (GetCursorPos): ditto

	* src/insets/insetbib.h: move InsetBibkey::Holder and
	InsetCitation::Holder in public space.

2000-02-25  Lars Gullik Bjnnes <larsbj@lyx.org>

	* src/insets/insettext.h: small change to get the new files from
	Juergen to compile (use "string", not "class string").

	* src/insets/insettext.[Ch], src/insets/insertert.[Ch]: use string
	const & as parameter to LocalDispatch, use LyXFont const & as
	paramter to some other func. This also had impacto on lyxinsets.h
	and the two mathed insets.

2000-02-24  Juergen Vigna  <jug@sad.it>

	* src/buffer.C:
	* src/commandtags.h: 
	* src/LyXAction.C:
	* src/lyxfunc.C: added code for LFUN_INSET_ERT and LFUN_INSET_TEXT

	* src/BufferView.h
	* src/BufferView.C
	* src/BufferView2.C: added/updated code for various inset-functions

	* src/insets/insetert.[Ch]: added implementation of InsetERT

	* src/insets/insettext.[Ch]: added implementation of InsetText

	* src/insets/inset.C (Edit): added "unsigned int button" parameter
	(draw): added preliminary code for inset scrolling not finshed yet

	* src/insets/inset.C (LocalDispatch): changed arg parameter to string
	as it is in lyxfunc.C now

	* src/insets/lyxinset.h: Added functions for text-insets

2000-02-22  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyx_cb.C src/UpdateInset.[Ch]: move the updateinsetlist into
	BufferView and reimplement the list as a queue put inside its own
	class.

	* src/bufferlist.[Ch] (updateInset): remove func, not needed.

	* several files: use the new interface to the "updateinsetlist"
	
	* src/WorkArea.C (work_area_handler): call BufferView::doubleClick
	on doubleclick.
	(work_area_handler): call BufferView::trippleClick on trippleclick.

	* src/BufferView.C (doubleClick): new function, selects word on
	doubleclick. 
	(trippleClick): new function, selects line on trippleclick.

2000-02-22  Allan Rae  <rae@lyx.org>

	* lib/bind/xemacs.bind: buffer-previous not supported

2000-02-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/insets/insettoc.[Ch] (LinuxDoc, DocBook): mark the methods
	as const.

2000-02-20  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/bufferlist.C: get rid of current_view from this file

	* src/spellchecker.C: get rid of current_view from this file

	* src/vspace.C: get rid of current_view from this file
	(inPixels): added BufferView parameter for this func
	(asLatexCommand): added a BufferParams for this func

	* src/text.C src/text2.C: get rid of current_view from these
	files.
	
	* src/lyxfont.C (getFontDirection): move this function here from
	text.C
	
	* src/bufferparams.C (getDocumentDirection): move this function
	here from text.C

	* src/paragraph.C (getParDirection): move this function here from
	text.C 
	(getLetterDirection): ditto
	
2000-02-18  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* WorkArea, Painter, LyXScreen: Fixed the crash that occured on
	resize due to wrong pixmap beeing used. Also took the opurtunity
	to make the LyXScreen stateless on regard to WorkArea and some
	general cleanup in the same files.
	
2000-02-17  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/Makefile.am: add missing direction.h

	* src/PainterBase.h: made the width functions const.
	
	* lib/kbd/iso8859-1.cdef: fix a couple of entries and define some
	missing ones.
	
	* src/insets/insetcommand.C (draw): draw Editable as buttons.

	* src/insets/insetlatexaccent.C (draw): make the accents draw
	better, at present this will only work well with iso8859-1.
	
	* several files: remove the old drawing code, now we use the new
	painter only.

	* several files: remove support for mono_video, reverse_video and
	fast selection.

2000-02-17  Juergen Vigna  <jug@sad.it>

	* src/mathed/math_cursor.[Ch] (SelGetArea): Changed form int * to
	int ** as we have to return the pointer, otherwise we have only
	NULL pointers in the returning function.

2000-02-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/LaTeX.C (operator()): quote file name when running latex.

2000-02-15  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/toolbar.C (set): use fl_set_object_helper for the tooltop
	(bubble tip), this removes our special handling of this.

	* Remove all code that is unused now that we have the new
	workarea. (Code that are not active when NEW_WA is defined.)

	* Make the uses of XSync not conditionalized on define USE_XSYNC.
	
2000-02-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxfunc.C (Dispatch): fix LFUN_LAYOUT when giving a
	nonexisting layout; correctly redirect obsoleted layouts.

	* lib/lyxrc.example: document \view_dvi_paper_option

	* src/lyxrc.[Ch]: add support for the \view_dvi_paper_option
	variable. 

	* src/lyx_cb.C (RunScript): handle $$FName for command names. 
	(PreviewDVI): handle the view_dvi_paper_option variable.
	[Both from Roland Krause]

2000-02-14  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/Painter.C (text(int,int,char,LyXFont)): call text(int, int,
	char const *, int, LyXFont)
	(text(int, int, string, LyXFont)): ditto 

	* src/text.C (InsertCharInTable): attempt to fix the double-space
	feature in tables too.
	(BackspaceInTable): ditto.
	(GetVisibleRow): make bottom pagebreak line be a onoff line.

2000-02-11  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/text2.C (owner): only complain if owner_ is set and bv != 0

	* src/BufferView.C (resizeCurrentBuffer): set the owner of the
	newly found text in textcache to this.
	(buffer): set the owner of the text put into the textcache to 0

	* src/insets/figinset.C (draw): fixed the drawing of figures with
	the new Painter.

	* src/text.C src/mathed/math_cursor.C: nailed and fixed the
	drawing of mathframe, hfills, protected space, table lines. I have
	now no outstanding drawing problems with the new Painter code. 

2000-02-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/PainterBase.C (ellipse, circle): do not specify the default
	arguments. 

	* src/LColor.h: add using directive.

	* src/Painter.[Ch]: change return type of methods from Painter& to
	PainterBase&. Add a using directive.

	* src/WorkArea.C: wrap xforms callbacks in C functions
	C_WorkArea_xxx. 

	* lib/layouts/foils.layout: font fix and simplifications from Carl
	Ollivier-Gooch.

2000-02-10  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* a lot of files: The Painter, LColor and WorkArea from the old
	devel branch has been ported to lyx-devel. Some new files and a
	lot of #ifdeffed code. The new workarea is enabled by default, but
	if you want to test the new Painter and LColor you have to compile
	with USE_PAINTER defined (do this in config.h f.ex.) There are
	still some rought edges, and I'd like some help to clear those
	out. It looks stable (loads and displays the Userguide very well).
	

2000-02-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/buffer.C (pop_tag): revert to the previous implementation
	(use a global variable for both loops).

	* lib/kbd/iso8859-1.cdef: fix definition for \"{e}.

	* src/lyxrc.C (LyXRC): change slightly default date format.

	* src/paragraph.C (TeXOnePar): Generate a correct latex file when
	there is an English text with a footnote that starts with a Hebrew
	paragraph, or vice versa.
	(TeXFootnote): ditto.

	* src/text.C (LeftMargin): allow for negative values for
	parindent. Thanks to Philip Lehman <lehman@gmx.net> for testing
	this out.

	* src/lyx_gui.C (create_forms): add iso88595 as a possible choice
	for input encoding (cyrillic)

2000-02-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyx_gui.C (create_forms): make combo box taller (from Dekel
	Tsur). 

	* src/toolbar.C (set): ditto
	* src/insets/insetbib.C (create_form_citation_form): ditto

	* lib/CREDITS: added Dekel Tsur.

	* lib/kbd/hebrew.kmap, lib/kbd/null.kmap,
	lib/layouts/heb-article.layout, lib/layouts/heb-letter.layout: new
	hebrew supports files from Dekel Tsur.
	
	* lib/kbd/iso8859-8.cdef: new file, from Tzafrir Cohen
	<tzafrir@technion.ac.il> 

	* src/lyxrc.C: put \date_insert_format at the right place.

	* src/buffer.C (makeLaTeXFile): fix the handling of
	BufferParams::sides when writing out latex files.

	* src/BufferView2.C: add a "using" directive.

	* src/support/lyxsum.C (sum): when we use lyxstring,
	ostringstream::str needs an additional .c_str().

2000-02-07  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/filetools.C (ChangeExtension): patch from Etienne
	applied.

	* src/TextCache.C (show): remove const_cast and make second
	parameter non-const LyXText *.

	* src/TextCache.h: use non const LyXText in show.

	* src/paragraph.C (SimpleTeXSpecialChars): patch to make urls work
	with hebrew.

2000-02-04  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/lyxsum.C: rework to be more flexible.
	
	* several places: don't check if a pointer is 0 if you are going
	to delete it.

	* src/text.C: remove some dead code.

	* src/insets/figinset.C: remove some dead code
	
	* src/buffer.C: move the BufferView funcs to BufferView2.C
	remove all support for insetlatexdel
	remove support for oldpapersize stuff
	made some member funcs const

	* src/kbmap.C: use a std::list to store the bindings in.
	
	* src/BufferView2.C: new file

	* src/kbsequence.[Ch]: new files
	
	* src/LyXAction.C + others: remove all trace of buffer-previous
	
	* src/Bullet.[Ch]: moved ITEMIZE_DEFAULTS inside Bullet.C so that we
	only have one copy in the binary of this table.
	
	* hebrew patch: moved some functions from LyXText to more
	appropriate places. (LyXParagraph, BufferParams, LyXFont)
	
	* several files: remove support for XForms older than 0.88
	whitespace changes.
	remove some #if 0 #endif code
	
	* src/TextCache.[Ch]: new file. Holds the textcache.

	* src/BufferView.C: changes to use the new TextCache interface.
	(waitForX): remove the now unused code.
	
	* src/BackStack.h: remove some commented code

	* lib/bind/emacs.bind: remove binding for buffer-previous

2000-02-03  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* applied the hebrew patch.

	* src/lyxrow.h: make sure that all Row variables are initialized.

	* src/text2.C (TextHandleUndo): comment out a delete, this might
	introduce a memory leak, but should also help us to not try to
	read freed memory. We need to look at this one.

	* src/paragraph.C (SimpleDocBookOneTablePar): initialize column to 0
	(LyXParagraph): initalize footnotekind.

	* src/lyxrc.C (output): added case RC_DATE_INSERT_FORMAT. Jug
	forgot this when applying the patch. Please heed the warnings.

	* src/BufferView.C (buffer): a fix for the buffer-reload problem
	(aka. reformat problem)

	* src/bufferlist.C (exists): made const, and use const_iterator
	(isLoaded): new func.
	(release): use std::find to find the correct buffer.

	* src/bufferlist.h: made getState a const func.
	made empty a const func.
	made exists a const func.
	new func: isLoaded

2000-02-01  Juergen Vigna  <jug@sad.it>

	* src/lyxfunc.C lyxrc.C: changed from insert-date to date-insert

	* po/it.po: updated a bit the italian po file and also changed the
	'file nuovo' for newfile to 'filenuovo' without a space, this did
	annoy me a lot :)
	
	* src/lyxrc.C (LyXRC): added support for a default insert_date_format
	for the new insert_date command.

	* src/lyxfunc.C (Dispatch): added support for a insert_date function
	from jdblair, to insert a date into the current text conforming to
	a strftime format (for now only considering the locale-set and not
	the document-language).

2000-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxfont.C (textWidth): hopefully better fix for the Array
	Bounds Read error seen by purify. The problem was that islower is
	a macros which takes an unsigned char and uses it as an index for
	in array of characters properties (and is thus subject to the
	above error).
	(drawText): ditto.

	* src/lyx_cb.C (UpdateLayoutDocument): use a switch to set
	correctly the paper sides radio buttons.
	(UpdateDocumentButtons): ditto.

2000-01-27  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/kbmap.C (getsym + others): change to return unsigned int,
	returning a long can give problems on 64 bit systems. (I assume
	that int is 32bit on 64bit systems)

2000-01-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxfunc.C (processKeyEvent): fix a the buffer returned by
	LyXLookupString to be zero-terminated. Really fixes problems seen
	by purify, I think.

2000-01-27  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyxfunc.C (processKeyEvent): "fix" so that we never try to
	write a (char*)0 to the lyxerr stream.

	* src/lastfiles.C: move algorithm before the using statemets.

2000-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lastfiles.C: move using directives in global scope (egcs 1.x
	complains otherwise).
	* src/table.C: ditto

	* lib/reLyX/reLyX.in: use variable @LYX_DIR@ as built-in data
	directory. 

	* lib/reLyX/configure.in (LYX_DIR): re-introduce this variable
	that I removed earlier... It is really needed.

	* lib/examples/multicol.lyx: new file, splitted from Extended.lyx. 

2000-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* INSTALL: update xforms home page URL.

	* lib/configure.m4: fix a bug with unreadable layout files.

	* src/table.C (calculate_width_of_column): add "using std::max"
	directive. 

2000-01-25  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* several files: marked several lines with "DEL LINE", this is
	lines that can be deleted without changing anything.
	if (<ptr>) // DEL LINE  /* this line is _never_ needed. Delete
	                           checks this anyway */
	        delete <ptr>

	* src/insets/insetlatexaccent.C: Changed some debugs to Debug::KEY

	* src/DepTable.C (update): add a "+" at the end when the checksum
	is different. (debugging string only)

	* src/paragraph.C (ReturnNextInsetPointer): fix bug that caused
	the next inset to not be displayed. This should also fix the list
	of labels in the "Insert Crossreference" dialog.

2000-01-24  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/LSubstring.C (LSubstring): set pos to string::npos
	when regex was not found.

	* src/support/lstrings.C (lowercase): use handcoded transform always.
	(uppercase): ditto

	* src/text.C (Delete): fixed the crash. cursor.par->prev and
	old_cursor.par->prev could be 0.

	* several files: changed post inc/dec to pre inc/dec
	
	* src/lastfiles.C (writeFile): use ostream_iterator and copy to
	write the lastfiles to file.

	* src/BufferView.C (buffer): only show TextCache info when debugging
	(buffer): ditto
	(resizeCurrentBuffer): ditto
	(workAreaExpose): ditto

	* lib/kbd/iso8859-7.cdef: changed to new quoting scheme

	* lib/kbd/iso8859-2.cdef: changed to new quoting scheme

	* src/insets/insetlatexaccent.C (Draw): make the display of UMLAUT
	a bit better by removing the special case for \i and \j.

2000-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyx_main.C (easyParse): remove test for bad comand line
	options, since this broke all xforms-related parsing.

	* src/kbmap.C (getsym): set return type to unsigned long, as
	declared in header. On an alpha, long is _not_ the same as int.

	* src/support/LOstream.h: add a "using std::flush;"

	* src/insets/figinset.C: ditto.

2000-01-21  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/bufferlist.C (write): use blinding fast file copy instead of
	"a char at a time", now we are doing it the C++ way.

	* src/insets/figinset.C: get rid of struct pidwaitpit, use a
	std::list<int> instead.
	(addpidwait): reflect move to std::list<int>
	(sigchldchecker): ditto

	* src/bmtable.c (fl_set_bmtable_file): have arguments in the X r5
	version also. 

	* src/paragraph.C (FirstPhysicalPar): remove assert and comment
	that obviously was wrong...

	* src/lyxfont.C (textWidth): have c as char c[2] instead of char
	c, this avoids warnings with purify and islower.

	* src/insets/figinset.C: rename struct queue to struct
	queue_element and rewrite to use a std::queue. gsqueue is now a
	std::queue<queue_element>
	(runqueue): reflect move to std::queue
	(addwait): ditto

	* src/support/lstrings.h (tostr): specialize for bool, otherwise
	we would get "1" "0" instead of "true" "false. Also make the tostr
	functions inline.

2000-01-21  Juergen Vigna  <jug@sad.it>

	* src/buffer.C (writeFileAscii): Disabled code for special groff
	handling of tabulars till I fix this in table.C

2000-01-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/support/mkdir.C (mkdir): change second argument of mkdir to
	unsigned long int.
	* src/support/lyxlib.h: ditto.

2000-01-20  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/insets/insetlatexaccent.C (Draw): make accents on top of 'i'
	and 'j' look better. This might fix the "macron" bug that has been
	observed.

	* src/support/lstrings.[Ch] (tostr): reimplement all the tostr
	functions as one template function. Delete the old versions.

	* src/support/lyxsum.C: move using std::ifstream inside
	MODERN_STL_STREAMS

	* src/support/Makefile.am (libsupport_la_SOURCES): added mkdir.C
	and putenv.C

	* src/mathed/formulamacro.C: delete #include "bufferlist.h" never used

	* src/mathed/formula.C: delete #include "bufferlist.h" never used

	* src/insets/figinset.C (InitFigures): use new instead of malloc
	to allocate memory for figures and bitmaps.
	(DoneFigures): use delete[] instead of free to deallocate memory
	for figures and bitmaps.
	(runqueue): use new to allocate 
	(getfigdata): use new/delete[] instead of malloc/free
	(RegisterFigure): ditto

	* some files: moved some declarations closer to first use, small
	whitespace changes use preincrement instead of postincrement where
	it does not make a difference.
	
	* src/kbmap.[Ch]: delete code according to define NO_HASH, it is a
	step on the way to use stl::containers for key maps. 

	* src/bufferlist.h: add a typedef for const_iterator and const
	versions of begin and end.

	* src/bufferlist.[Ch]: change name of member variable _state to
	state_. (avoid reserved names)
	(makePup): removed
	(getFileNames): returns the filenames of the buffers in a vector.

	* configure.in (ALL_LINGUAS): added ro

	* src/support/putenv.C: new file

	* src/support/mkdir.C: new file

2000-01-20  Allan Rae <rae@lyx.org>

	* lib/layouts/IEEEtran.layout: Added several theorem environments

	* lib/templates/IEEEtran.lyx: Example theorem environments and a
	couple of minor additions.

	* lib/doc/LaTeXConfig.lyx.in:  Use URL insets for ftp sites 
	(except for those in footnotes of course)

2000-01-19  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyxlookup.C (CloseLyXLookup): set xic=0; after destruction. 

	* src/mathed/math_utils.C (MathedLookupBOP): rewrite to use
	std::sort and std::lower_bound instead of qsort and handwritten
	binarysearch.
	(struct compara): struct that holds the functors used by std::sort
	and std::lower_bound in MathedLookupBOP.

2000-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/support/LAssert.h: do not do partial specialization. We do
	not really need it.

	* src/support/lyxlib.h: note that lyx::getUserName() and
	lyx::date() are not in use right now. Should these be suppressed?

	* src/buffer.C (makeLaTeXFile): we do not need the user name here.
	(makeLinuxDocFile): do not put date and user name in linuxdoc
	headers. 

	* src/support/lyxlib.h (kill): change first argument to long int,
	since that's what solaris uses.

	* src/support/kill.C (kill): fix declaration to match prototype.

	* config/lyxinclude.m4 (LYX_CXX_NAMESPACES): fix the macro to
	actually check whether namespaces are supported. This is not what
	it used to do.

	* src/support/lyxsum.C: add a using directive.

2000-01-17  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/kill.C: if we have namespace support we don't have
	to include lyxlib.h.

	* src/support/lyxlib.h: use namespace lyx if supported.

2000-01-14  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/date.C: new file

	* src/support/chdir.C: new file

	* src/support/getUserName.C: new file

	* src/support/getcwd.C: new file

	* src/support/abort.C: new file

	* src/support/kill.C: new file

	* src/support/lyxlib.h: moved all the functions in this file
	insede struct lyx. Added also kill and abort to this struct. This
	is a way to avoid the "kill is not defined in <csignal>", we make
	C++ wrappers for functions that are not ANSI C or ANSI C++.

	* src/support/lyxsum.C (sum): use #ifdef MODERN_STL_STREAMS
	instead of #if __GLIBCPP__. Since lyxsum is now put inside struct
	lyx it has been renamed to sum.

2000-01-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/text.C: add using directives for std::min and std::max.

2000-01-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/texrow.C (getIdFromRow): actually return something useful in
	id and pos. Hopefully fixes the bug with positionning of errorbox
	insets. 

	* src/lyx_main.C (easyParse): output an error and exit if an
	incorrect command line option has been given.

	* src/spellchecker.C (ispell_check_word): document a memory leak.

	* src/bufferlist.C (write): fix mismatched allocation/deletion,
	where a "struct utimbuf" is allocated with "new" and deleted with
	"delete[]". 

2000-01-13  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/text2.C (CutSelection): don't delete double spaces.
	(PasteSelection): ditto
	(CopySelection): ditto
	
	* src/text.C (Backspace): don't delete double spaces.

	* src/lyxlex.C (next): fix a bug that were only present with
	conformant std::istream::get to read comment lines, use
	std::istream::getline instead. This seems to fix the problem.

2000-01-12  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/text2.C (DeleteEmptyParagraphMechanism): fix for the "not
	allowed to insert space before space" editing problem. Please read
	commends at the beginning of the function. Comments about usage
	are very welcome.

	* src/text.C (InsertChar): fix for the "not allowed to insert
	space before space" editing problem.

	* src/text2.C (DeleteEmptyParagraphMechanism): when
	IsEmptyTableRow can only return false this last "else if" will
	always be a no-op. Commented out.

	* src/text.C (RedoParagraph): As far as I can understand tmp
	cursor is not really needed.

	* src/lyxtext.[Ch] (IsEmptyTableCell): commented out. As used at
	present it could only return false anyway. 
	(several functions): Did something not so smart...added a const
	specifier on a lot of methods.
	
	* src/paragraph.C (BreakParagraph): removed the tmp->text.reserve
	and add a tmp->text.resize. The LyXParagraph constructor does the
	resize for us.
	(BreakParagraphConservative): ditto

	* src/support/path.h (Path): add a define so that the wrong usage
	"Path("/tmp") will be flagged as a compilation error:
	"`unnamed_Path' undeclared (first use this function)"

2000-01-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* config/lyxinclude.m4 (LYX_FUNC_PUTENV_ARGTYPE): fix the macro,
	which was bogus for several reasons.

	* src/LaTeX.C (scanAux): fix the regular expression used to scan
	.aux files. 
	(runBibTeX): ditto.

	* autogen.sh: do not use "type -path" (what's that anyway?).

	* src/support/filetools.C (findtexfile): remove extraneous space
	which caused a kpsewhich warning (at least with kpathsea version
	3.0). 

2000-01-11  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/mathed/Makefile.am (noinst_LTLIBRARIES): use .la

	* src/insets/Makefile.am (noinst_LTLIBRARIES): use .la

	* src/Makefile.am (lyx_DEPENDENCIES): switch back to .la libs

2000-01-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/paragraph.C (BreakParagraph): do not reserve space on text
	if we don't need to (otherwise, if pos_end < pos, we end up
	reserving huge amounts of memory due to bad unsigned karma).
	(BreakParagraphConservative): ditto, although I have not seen
	evidence the bug can happen here.

	* src/lyxparagraph.h: add a using std::list.

2000-01-11  Juergen Vigna  <jug@sad.it>

	* src/menus.C (MenuDocu): output an Alert if the documentation-file
	could not be found.

2000-01-11  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/vc-backend.C (doVCCommand): change to be static and take one
	more parameter: the path to chdir too be fore executing the command.
	(retrive): new function equiv to "co -r"

	* src/bufferlist.C (loadLyXFile): implement the missing parts if
	file_not_found_hook is true.

	* src/lyxvc.C (file_not_found_hook): implement file_not_found_hook.

	* src/support/filetools.C (IsFileWriteable): use FileInfo to check
	if a file is readwrite,readonly...anything else.

2000-01-10  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyx_cb.C (MakeLaTeXOutput): name change from MakeDVIOutput
	(CreatePostscript): name change from MenuRunDVIPS (or something)
	(PreviewPostscript): name change from MenuPreviewPS
	(PreviewDVI): name change from MenuPreviewDVI

	* lib/lyxrc.example: added \pdflatex_command, \pdf_mode,
	\view_pdf_command., \pdf_to_ps_command

	* lib/configure.m4: added search for PDF viewer, and search for
	PDF to PS converter. 
	(lyxrc.defaults output): add \pdflatex_command,
	\view_pdf_command and \pdf_to_ps_command.

	* src/lyx_cb.C (MenuPreviewDVI): renamed from MenuPreview.

	* src/bufferlist.C (write): we don't use blocksize for anything so
	I removed it.

2000-01-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/support/block.h: disable operator T* (), since it causes
	problems with both compilers I tried. See comments in the file.

	* lib/reLyX/configure.in: do not define LYX_DIR. support flag
	--with-lyxname. 

	* lib/reLyX/reLyX.in: change LYX_DIR to pkgdatadir; change env.
	variable LYX_DIR_10x to LYX_DIR_11x.

	* src/Makefile.am: replace variable LYX_DIR with pkgdatadir.

	* INSTALL: document --with-lyxname.
	* NEWS: ditto.

	* configure.in: new configure flag --with-lyxname which allows to
	choose the name under which lyx is installed. Default is "lyx", of
	course. It used to be possible to do this with --program-suffix,
	but the later has in fact a different meaning for autoconf.

	* src/support/lstrings.h (lstrchr): reformat a bit.

	* src/lyxlex.h: include LIstream.h, for Sun CC this time.
	* src/mathed/math_defs.h: ditto.

2000-01-09  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyxrc.[Ch]: New tag and variable "\make_backup". Defaults to
	true, decides if we create a backup file or not when saving. New
	tag and variable \pdf_mode, defaults to false. New tag and
	variable \pdflatex_command, defaults to pdflatex. New tag and
	variable \view_pdf_command, defaults to xpdf. New tag and variable
	\pdf_to_ps_command, defaults to pdf2ps.

2000-01-08  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/bufferlist.C (close): don't call insetUnlock if the buffer
	does not have a BufferView.
	(unlockInset): ditto + don't access the_locking_inset if the
	buffer does not have a BufferView.

	* src/LyXView.C (KeyPressMask_raw_callback): add a XSync in
	certain circumstances so that we don't continue a keyboard
	operation long after the key was released. Try f.ex. to load a
	large document, press PageDown for some seconds and then release
	it. Before this change the document would contine to scroll for
	some time, with this change it stops imidiatly.

	* src/support/block.h: don't allocate more space than needed. As
	long as we don't try to write to the arr[x] in a array_type arr[x]
	it is perfectly ok. (if you write to it you might segfault).
	added operator value_type*() so that is possible to pass the array
	to functions expecting a C-pointer.

	* lib/Makefile.am (dist-hook): don't fail completely if unable to
	cvs.

	* intl/*: updated to gettext 0.10.35, tried to add our own
	required modifications. Please verify.

	* po/*: updated to gettext 0.10.35, tried to add our own required
	modifications. Please verify.
	
	* src/support/lstrings.C (tostr): go at fixing the problem with
	cxx and stringstream. When stringstream is used return
	oss.str().c_str() so that problems with lyxstring and basic_string
	are avoided. Note that the best solution would be for cxx to use
	basic_string all the way, but it is not conformant yet. (it seems)

	* src/lyx_cb.C + other files: moved several global functions to
	class BufferView, some have been moved to BufferView.[Ch] others
	are still located in lyx_cb.C. Code changes because of this. (part
	of "get rid of current_view project".)

	* src/buffer.C + other files: moved several Buffer functions to
	class BufferView, the functions are still present in buffer.C.
	Code changes because of this.

	* config/lcmessage.m4: updated to most recent. used when creating
	acinclude.m4.

	* config/progtest.m4: updated to most recent. used when creating
	acinclude.m4.
	
	* config/gettext.m4: updated to most recent. applied patch for
	tmplinguas.

	* config/gettext.m4.patch: new file that shows what changes we
	have done to the local copy of gettext.m4.

	* config/libtool.m4: new file, used in creation of acinclude.m4

	* config/lyxinclude.m4: new file, this is the lyx created m4
	macros, used in making acinclude.m4.
	
	* autogen.sh: GNU m4 discovered as a separate task not as part of
	the lib/configure creation. 
	Generate acinlucde from files in config. Actually cat
	lyxinclude.m4, libtool.m4 and gettext.m4 together. This makes it
	easier to upgrade .m4 files that really are external.

	* src/Spacing.h: moved using std::istringstream to right after
	<sstream>. This should fix the problem seen with some compilers.

2000-01-06  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyx_cb.C: began some work to remove the dependency a lot of
	functions have on BufferView::text, even if not really needed.
	(GetCurrentTextClass): removed this func, it only hid the
	current_view. 

	* src/Makefile.am (lyx_DEPENDENCIES): use support/libsupport.la I
	forgot this in last commit.

	* src/Bullet.C (bulletEntry): use static char const *[] for the
	tables, becuase of this the return arg had to change to string.
	(bulletSize): ditto
	(~Bullet): removed unneeded destructor

	* src/BufferView.C (beforeChange): moved from lyx_cb.C
	(insetSleep): moved from Buffer
	(insetWakeup): moved from Buffer
	(insetUnlock): moved from Buffer

	* buffer.[Ch], BufferView.[Ch] + others: moved the_locking_inset
	from Buffer to BufferView.
	
	* acinclude.m4: include libtool.m4 from libtool 1.3.4.

	* config/ltmain.sh: updated to version 1.3.4 of libtool

	* config/ltconfig: updated to version 1.3.4 of libtool

2000-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>


	* src/buffer.C (pop_tag): fix a dubious for() loop initialization.
	Did I get that right?

	* src/lyxlex.h: add a "using" directive or two.
	* src/Spacing.h: ditto.
	* src/insets/figinset.C: ditto.
	* src/support/filetools.C: ditto.
	* src/support/lstrings.C: ditto.
	* src/BufferView.C: ditto.
	* src/bufferlist.C: ditto.
	* src/lyx_cb.C: ditto.
	* src/lyxlex.C: ditto.

	* NEWS: add some changes for 1.1.4.
	
2000-01-06  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/BufferView.C: first go at a TextCache to speed up switching
	between documents.

2000-01-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/examples/ItemizeBullets.lyx: update from Tino Meinen. 
	* lib/examples/nl_voorbeeld_ruw.lyx: ditto.
	* lib/examples/nl_voorbeeld_verlyxt.lyx: ditto.
	* lib/examples/nl_opsommingstekens.lyx: new translation from Tino
	Meinen.
	
	* src/mathed/math_defs.h (MathedRowSt): make sure that all
	members of the struct are correctly initialized to 0 (detected by
	purify) 
	* src/lyxrc.C (LyXRC): ditto for print_adapt_output.
	* src/insets/figinset.C (InsetFig): ditto for pswid and pshgh.

	* src/insets/figinset.C (sigchldchecker): use "delete" to free a
	pidwait, since it was allocated with "new". This was potentially
	very bad. Thanks to Michael Schmitt for running purify for us.


2000-01-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyx_gui_misc.C: add a 'using std::make_pair;' statement.

	* src/lyx_gui_misc.h: add a 'using std::pair;' statement.

1999-12-30  Allan Rae  <rae@lyx.org>

	* lib/templates/IEEEtran.lyx: minor change

	* src/lyxvc.C (registrer, checkIn), src/lyx_cb.C (MenuInsertLabel),
	src/mathed/formula.C (LocalDispatch): askForText changes

	* src/lyx_gui_misc.[Ch] (askForText): now returns a bool also so we 
	know when a user has cancelled input. Fixes annoying problems with
	inserting labels and version control.

1999-12-29  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/lstrings.C (tostr): rewritten to use strstream and
	stringstream

1999-12-28  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/filetools.C (IsFileWriteable): use fstream to check
	(IsDirWriteable): use fileinfo to check

	* src/support/filetools.h (FilePtr): whole class deleted

	* src/insets/figinset.C (GetPSSizes): rewritten to use ifstream.

	* src/lyxparagraph.h (readSimpleWholeFile): make arg istream

	* src/lyx_cb.C (InsertAsciiFile): use ifstream instead of FilePtr

	* src/bufferlist.C (write): use ifstream and ofstream instead of
	FILE*

	* src/Spacing.h: use istrstream instead of sscanf

	* src/mathed/math_defs.h: change first arg to istream from FILE*

	* src/buffer.C (insertLyXFile): use ifstream instead of FilePtr

	* src/mathed/math_parser.C: have yyis to be an istream 
	(LexGetArg): use istream (yyis)
	(yylex): ditto
	(mathed_parse): ditto
	(mathed_parser_file): first arg istream instead of FILE*, set yyis

	* src/mathed/formula.C (Read): rewritten to use istream

	* src/mathed/formulamacro.C (Read): rewritten to use istream

	* src/lyxlex.h (~LyXLex): deleted desturctor 
	(getStream): new function, returns an istream
	(getFile): deleted funtion
	(IsOK): return is.good();

	* src/lyxlex.C (LyXLex): delete file and owns_file
	(setFile): open an filebuf and assign that to a istream instead of
	using FILE*
	(setStream): new function, takes an istream as arg. 
	(setFile): deleted function
	(EatLine): rewritten us use istream instead of FILE*
	(next): ditto
	(nextToken): ditto

	* src/table.C (LyXTable): use istream instead of FILE*
	(Read): rewritten to take an istream instead of FILE*

1999-12-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/buffer.C (Dispatch): remove an extraneous break statement.

	* src/support/filetools.C (QuoteName): change to do simple
	'quoting'. More work is necessary. Also changed to do nothing
	under emx (needs fix too).
	(Putenv): Cast the argument of putenv() with PUTENV_TYPE_ARG.

	* acinclude.m4 (STL_STRING_FWD_H_LOCATION): add the comment for
	config.h.in to the AC_DEFINE_UNQUOTED() call.
	(LYX_FUNC_PUTENV_ARGTYPE): new macro. Checks whether putenv()
	needs char * as argument (because Solaris 7 declares it like
	that). 

	* acconfig.h: remove placeholder for STL_STRING_FWD_H_LOCATION;
	remove definition of BZERO.

1999-12-24  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/LRegex.C: include <regex.h> if HAVE_REGEX_H is
	defined, "lyxregex.h" if not.

	* src/support/Makefile.am (noinst_LTLIBRARIES): changed from
	pkglib_ to noinst_
	(REGEX): new variable that is set to regex.c lyxregex.h when
	AM_CONDITIONAL USE_REGEX is set.
	(libsupport_la_SOURCES): add $(REGEX)

	* src/mathed/Makefile.am (noinst_LTLIBRARIES): changed from
	pkglib_ to noinst_

	* src/insets/Makefile.am (noinst_LTLIBRARIES): changed from
	pkglib_ to noinst_

	* configure.in: add call to LYX_REGEX 

	* acinclude.m4 (LYX_REGEX): checks if we need to use the included
	regex or not. Uses a a AM_CONDITIONAL to decide what to compile. 

1999-12-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/bind/fi_menus.bind: new file, from
	pauli.virtanen@saunalahti.fi. 

	* src/buffer.C (getBibkeyList): pass the parameter delim to
	InsetInclude::getKeys and InsetBibtex::getKeys.

	* src/insets/insetinclude.[Ch] (getKeys): add parameter delim, which
	is passed to Buffer::getBibkeyList
	
	* src/insets/insetbib.[Ch] (getKeys): add parameter delim, and use it
	instead of the hardcoded comma.

	* src/insets/insetbib.C (getKeys): make sure that there are not
	leading blanks in bibtex keys. Normal latex does not care, but
	harvard.sty seems to dislike blanks at the beginning of citation
	keys. In particular, the retturn value of the function is

	* INSTALL: make it clear that libstdc++ is needed and that gcc
	2.7.x probably does not work.

	* src/support/filetools.C (findtexfile): make debug message go to
	the LATEX channel
	* src/insets/insetbib.C (getKeys): ditto

	* src/debug.C (showTags): make sure that the output is correctly
	aligned. 

	* configure.in: add a comment for TWO_COLOR_ICON define.

	* acconfig.h: remove all the entries that already defined in
	configure.in or acinclude.m4.

	* src/buffer.C (makeLaTeXFile): headers of latex file also changed
	to avoid user name, date and copyright.

1999-12-21  Juergen Vigna  <jug@sad.it>

	* src/table.C (Read): Now read bogus row format informations
		if the format is < 5 so that afterwards the table can
		be read by lyx but without any format-info. Fixed the
		crash we experienced when not doing this.

1999-12-21  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/text2.C (RedoHeightOfParagraph): rename arg cursor -> cur
	(RedoDrawingOfParagraph): ditto
	(RedoParagraphs): ditto
	(RemoveTableRow): ditto

	* src/text.C (Fill): rename arg paperwidth -> paper_width

	* src/buffer.C (insertLyXFile): rename var filename -> fname
	(writeFile): rename arg filename -> fname
	(writeFileAscii): ditto
	(makeLaTeXFile): ditto
	(makeLinuxDocFile): ditto
	(makeDocBookFile): ditto

	* src/LaTeX.C (runMakeIndex): change arg name from file -> f
	(runBibTeX): ditto

	* src/Makefile.am (lyx_SOURCES): add bmtable.c and remove bmtable.C

	* src/bmtable.h: add extern "C" on this file when __cplusplus is
	defined.

	* src/bmtable.c: new file, a C'ified copy of bmtable.C, this is
	compiled by a C compiler not C++. 

	* src/layout.h (LyXTextClass): added typedef for const_iterator
	(LyXTextClassList): added typedef for const_iterator + member
	functions begin and end.

	* src/LyXView.C (UpdateDocumentClassChoice): rewritten to use
	iterators to fill the choice_class.
	(updateLayoutChoice): rewritten to use iterators to fill the
	layoutlist in the toolbar.

	* src/BufferView.h (BufferView::work_area_width): removed unused
	variable. 

	* src/lyx_gui_misc.C (WarnReadonly): added string parameter 'file'

	* src/buffer.C (sgmlOpenTag): drop the use of the static space array
	(sgmlCloseTag): ditto

	* src/support/lstrings.h: return type of countChar changed to
	unsigned char.

	* src/support/lstrings.C (countChar): use HAVE_STD_COUNT to choose
	what version of this func to use. Also made to return unsigned int.

	* configure.in: call LYX_STD_COUNT 

	* acinclude.m4 (LYX_STD_COUNT): new function checks for a standard
	conforming std::count. 

1999-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/mathed/math_draw.C (Draw, Metrics): fix a bug where a prime
	and a subscript would give bad display (patch from Dekel Tsur
	<dekel@math.tau.ac.il>). 

	* src/insets/insetlatexaccent.h: make sure ACCENT_TYPES is public. 

	* src/spellchecker.C (create_ispell_pipe): use a const_cast to
	please sun CC.

	* src/chset.h: add a few 'using' directives

	* src/lyxfunc.C (Dispatch): check that LFUN_UNKNOWN_ACTION is not
	triggered when no buffer is active

	* src/layout.C: removed `break' after `return' in switch(), since
	it is unreachable.

	* src/lyx_main.C (init): make sure LyX can be ran in place even
	when libtool has done its magic with shared libraries. Fix the
	test for the case when the system directory has not been found.

	* src/lyx_cb.C (MenuMakeLaTeX): make sure to keep the full path
	name for the latex file.
	(MenuMakeHTML): ditto

	* src/buffer.h: add an optional boolean argument, which is passed
	to ChangeExtension.

1999-12-20  Allan Rae  <rae@lyx.org>

	* lib/templates/IEEEtran.lyx: small correction and update.

	* configure.in: Attempted to use LYX_PATH_HEADER

	* src/stl_string_fwd.h: Don't need HAVE_STL_STRING_FWD_H anymore

	* acconfig.h, acinclude.m4 (LYX_STL_STRING_FWD): totally revised after
	input from JMarc.  Now use preprocessor to find the header.
	Also stopped making HAVE_STL_STRING_FWD_H and extended the comments.
	(LYX_PATH_HEADER): My, so far, failed attempt to generalize
	LYX_STL_STRING_FWD.  See comments in file.	

1999-12-19  Asger Alstrup Nielsen  <alstrup@diku.dk>

	* The global MiniBuffer * minibuffer variable is dead.
	
	* The global FD_form_main * fd_form_main variable is dead.

1999-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/toolbar.C (set): condition #warning on WITH_WARNINGS

	* src/table.h: add the LOstream.h header
	* src/debug.h: ditto
	
	* src/LyXAction.h: change the explaination of the ReadOnly
	attribute: is indicates that the function _can_ be used.

	* src/LyXAction.C (init): find-replace _can_ be used in read-only
	mode. 

1999-12-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxfont.C (ascent): Make sure that char is _always_ used as
	unsigned. 
	(descent): ditto
	(lbearing): ditto
	(rbearing): ditto

	* src/paragraph.C (GetWord): assert on pos>=0
	(GetChar): ditto
	
	* src/support/lyxstring.C: condition the use of an invariant on
	ENABLE_ASSERTIONS 
	* src/support/lyxstring.h: ditto

	* src/Bullet.[Ch]: replace DEBUG_AS_DEFAULT by ENABLE_ASSERTIONS.
	Use LAssert.h instead of plain assert().

	* src/support/lstrings.h: add LAssert.h, in case it is needed.

	* src/lyxfunc.C: do not include LAssert.h, it is not used.
	* src/support/filetools.C: ditto

	* src/support/LAssert.h: make Assert a no-op if ENABLE_ASSERTIONS
	is not defined. 

	* INSTALL: document the new configure flags
	
	* configure.in: suppress --with-debug; add --enable-assertions

	* acinclude.m4: various changes in alignment of help strings.

1999-12-16  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/kbmap.C: commented out the use of the hash map in kb_map,
	beginning of movement to a stl::container. 

	* several files: removed code that was not in effect when
	MOVE_TEXT was defined.
	
	* lib/kbd/iso8859-1.cdef: removed bogus backslashes. Backslashes
	for escaping should not be used. We can discuss if the string
	should be enclosed in f.ex. [] instead of "".

	* src/trans_mgr.C (insert): use the new returned value from
	encodeString to get deadkeys and keymaps done correctly.

	* src/chset.C (encodeString): changed to return a pair, to tell
	what to use if we know the string.

	* src/lyxscreen.h (fillArc): new function.

	* src/FontInfo.C (resize): rewritten to use more std::string like
	structore, especially string::replace.

	* src/insets/insetlatexaccent.C (Draw): use fillArc for the
	approp. accents.

	* configure.in (chmod +x some scripts): remove config/gcc-hack 

1999-12-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/buffer.C (writeFile): change once again the top comment in a
	.lyx file to point to www.lyx.org and to use LYX_DOCVERSION
	instead of an hardcoded version number.
	(makeDocBookFile): ditto

	* src/version.h: add new define LYX_DOCVERSION

	* po/de.po: update from Pit Stterlin
	* lib/bind/de_menus.bind: ditto.
	
	* src/lyxfunc.C (Dispatch): call MenuExport()
	* src/buffer.C (Dispatch): ditto

	* src/lyx_cb.C (MenuMakeHTML): new function, moved from
	LyXFunc::Dispatch().
	(MenuExport): new function, moved from
	LyXFunc::Dispatch().

	* src/trans_mgr.C (insert): small cleanup
	* src/chset.C (loadFile): ditto

	* lib/kbd/iso8859-1.cdef: add missing backslashes

1999-12-15  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/insets/insetlatexaccent.C (Lbearing): new function, used to
	help with placing the manually drawn accents better.
	(Rbearing): ditto
	(Draw): x2 and hg changed to float to minimize rounding errors and
	help place the accents better.

	* src/lyxfont.C (ascent): fixed faulty static_cast, casting from
	unsigned short to char is just wrong...cast the char to unsigned
	char instead so that the two values can compare sanely. This
	should also make the display of insetlatexaccents better and
	perhaps also some other insets.
	(descent): ditto
	(lbearing): new function
	(rbearing): ditto

1999-12-15  Allan Rae  <rae@lyx.org>

	* src/stl_string_fwd.h, src/Makefile.am (lyx_SOURCES):  added new
	header that provides a wrapper around the very annoying SGI STL header
	of the same name.

	* src/support/lyxstring.C, src/LString.h:
	removed old SGI-STL-compatability attempts.

	* configure.in: Use LYX_STL_STRING_FWD.

	* acinclude.m4 (LYX_STL_STRING_FWD), acconfig.h: Test if 
	stl_string_fwd.h is around and try to determine it's location.
 	Major improvement over previous SGI STL 3.2 compatability.
	Three small problems remain with this function due to my zero
	knowledge of autoconf.  JMarc and lgb see the comments in the code.

1999-12-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/broken_const.h, config/hack-gcc, config/README: removed
	
	* configure.in: remove --with-gcc-hack option; do not call
	LYX_CXX_STL_STACK 

	* INSTALL: remove documentation of --with-broken-const and
	--with-gcc-hack
	
	* acconfig.h: remove all trace of BROKEN_CONST define

	* src/buffer.C (makeDocBookFile): update version number in output
	file. 
	(SimpleDocBookOnePar): fix an assert when trying to a character
	access beyond string length
	[Patch from Jose']

1999-12-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* po/de.po: fix the Export menu

	* lyx.man: update the description of -dbg

	* src/lyx_main.C (setDebuggingLevel): call Debug::showLevel()
	(commandLineHelp): updated
	(easyParse): show list of available debug levels if -dbg is passed
	without argument.

	* src/Makefile.am: add debug.C

	* src/debug.h: moved some code to debug.C

	* src/debug.C: new file. Contains code to set and show debug
	level. 

	* src/layout.C: remove 'break' after 'continue' in switch
	statements, since these cannot be reached.

1999-12-13  Allan Rae  <rae@lyx.org>

	* src/mathed/math_hash.C (math_hash): renamed from hash(), name clash.
	(in_word_set): hash() -> math_hash()

	* src/LString.h: Used USING_EXCEPTIONS in SGI STL-3.2 support 

	* acconfig.h: Added a test for whether we are using exceptions in the
	current compilation run. If so USING_EXCEPTIONS is defined.

	* config.in: Check for existance of stl_string_fwd.h
	* src/LString.h: If compiling --with-included-string and SGI's
	STL version 3.2 is present (see above test) we need to block their
	forward declaration of string and supply a __get_c_string().
	However, it turns out this is only necessary if compiling with
	exceptions enabled so I've a bit more to add yet.

	* src/insets/figinset.[Ch], src/insets/insetinclude.C,
	src/insets/insetloa.C, src/layout.h, src/lyxparagraph.h,
	src/support/LRegex.h, src/undo.h:
	Shuffle the order of the included files a little to ensure that
	LString.h gets included before anything that includes stl_string_fwd.h

	*  src/support/lyxstring.C: We need to #include LString.h instead of
	lyxstring.h to get the necessary definition of __get_c_string.
	(__get_c_string): New function.  This is defined static just like SGI's
	although why they need to do this I'm not sure.  Perhaps it should be
	in lstrings.C instead.

	* lib/templates/IEEEtran.lyx:  New template file.

1999-12-12  Lars Gullik Bjnnes  <larsbj@lyx.org>
	
	* Makefile.in.in (MKINSTALLDIRS): use $(srcdir)/@MKINSTALLDIRS@
	* intl/Makefile.in (MKINSTALLDIRS):  ditto

	* src/LyXAction.C (init): changed to hold the LFUN data in a
	automatic array in stead of in callso to newFunc, this speeds up
	compilation a lot. Also all the memory used by the array is
	returned when the init is completed.

	* a lot of files: compiled with -Wold-style-cast, changed most of
	the reported offenders to C++ style casts. Did not change the
	offenders in C files. 

	* src/trans.h (Match): change argument type to unsigned int.

	* src/support/DebugStream.C: fix some types on the streambufs so
	that it works on a conforming implementation.

1999-12-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/examples/example_{raw,lyxified}.lyx: fix embarassing sentence.

	* src/support/lyxstring.C: remove the inline added earlier since
	they cause a bunch of unsatisfied symbols when linking with dec
	cxx. Cxx likes to have the body of inlines at the place where they
	are declared.

	* src/trans.C (AddDeadkey): add an 'unsigned char' cast to avoid
	accessing negative bounds in array. This fixes the crash when
	inserting accented characters.
	* src/trans.h (Match): ditto

	* src/buffer.C (Dispatch): since this is a void, it should not try
	to return anything...

1999-12-10  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/buffer.h: removed the two friends from Buffer. Some changes
	because of this. Buffer::getFileName and Buffer::setFileName
	renamed to Buffer::fileName() and Buffer::fileName(...).

1999-12-09  Lars Gullik Bjnnes <larsbj@lyx.org>

	* buffer.[Ch], BufferView.[Ch] + other files: Moved Buffer::text
	and Buffer::update(short) to BufferView. This move is currently
	controlled by a define MOVE_TEXT, this will be removed when all
	shows to be ok. This move paves the way for better separation
	between buffer contents and buffer view. One side effect is that
	the BufferView needs a rebreak when swiching buffers, if we want
	to avoid this we can add a cache that holds pointers to LyXText's
	that is not currently in use. 

	* buffer.[Ch], lyx_main.C: small changes to the "-export" patch by
	Andr Pnitz. 

1999-11-18  Andr Pnitz <poenitz@mathematik.tu-chemnitz.de>

	* buffer.[Ch]: Dispatch() - new dispatcher on the buffer level

	* lyx_main.C: new command line option -x (or --execute) and
	  -e (or --export). Now direct conversion from .lyx to .tex
	  (.dvi, .ps, ...) is possible  ('lyx file.lyx --export latex')
	  Unfortunately, X is still needed and the GUI pops up during the
	  process...

1999-12-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/Spacing.C: add a using directive to bring stream stuff into
	normal namespace.
	* src/paragraph.C: ditto
	* src/buffer.C: ditto

	* NEWS: updated a bit the new features of 1.1.3 (took a few things
	from Lars' announcement).

	* lib/examples/nl_voorbeeld_{ruw,verlyxt}.lyx: new tutorial
	example files from Tino Meinen.
	
1999-12-06  Allan Rae  <rae@lyx.org>

	* src/LaTeX.C (runBibTeX): fix typo in accessing submatch pair.

1999-12-07  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/lyxstring.C: added a lot of inline for no good
	reason
	
	* src/lyxfont.[Ch]: removed latexWriteStartChanges, and
	latexWriteEndChanges, they were not used.
	
	* src/layout.h (operator<<): output operator for PageSides

	* src/mathed/math_iter.C (my_memcpy): slightly changed.

	* some example files: loaded in LyX 1.0.4 and saved again to update
	certain constructs (table format) 

	* a lot of files: did the change to use fstream/iostream for all
	writing of files. Done with a close look at Andre Poenitz's patch.

	* some files: whitespace changes.
	
1999-12-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/mathed/math_iter.C (my_memcpy): new function. Since the
	built-in memcpy() is broken on egcs and gcc 2.95 for alpha
	architecture, we provide our own. It is used unconditionnally, but
	I do not think this is a performance problem. Thanks to Angus
	Leeming <a.leeming@ic.ac.uk> for the code (and again to Michal
	Jaegermann <michal@ellpspace.math.ualberta.ca> for finding it the
	first time).
	(GetInset): use my_memcpy.
	(Insert): ditto
	(Copy): ditto

	* lib/chkconfig.ltx: some cleanup of the latex code. I am not sure
	it is easier to understand, but it uses less TeX-only constructs now.

	* acinclude.m4 (LYX_SEARCH_PROG): make it work when the PATH
	elements contain spaces

	* lib/configure: regenerated
	
	* lib/configure.m4 (SEARCH_PROG): make it work when the PATH
	elements contain spaces; display the list of programs that are
	tried.

	* autogen.sh: make sure lib/configure is executable

	* lib/examples/*: rename the tutorial examples to begin with the
	two-letters language code.

	* src/lyxfunc.C (getStatus): do not query current font if no
	buffer exists.

	* src/lyx_cb.C (RunScript): use QuoteName
	(MenuRunDvips): ditto
	(PrintApplyCB): ditto

	* src/support/filetools.[Ch] (QuoteName): new function. Add quotes
	around argument, so that it works well with the current shell.
	Does not work properly with OS/2 shells currently.

	* src/LaTeXLog.C (ShowLatexLog): use Buffer::getLatexName
	* src/LyXSendto.C (SendtoApplyCB): ditto
	* src/lyxfunc.C (Dispatch): ditto
	* src/buffer.C (runLaTeX): ditto
	(runLiterate): ditto
	(buildProgram): ditto
	(runChktex): ditto
	* src/lyx_cb.C (RunScript): ditto
	(MenuMakeLaTeX): ditto
	
	* src/buffer.h (getLatexName): new method 

	* src/support/filetools.C (MakeLatexName): renamed from SpaceLess

1999-12-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* images/sqrt.xpm: change name of the sqrt icon to sqrt_xpm.
	* src/mathed/math_panel.C (mathed_get_pixmap_from_icon): ditto
	(create_math_panel): ditto

	* src/lyxfunc.C (getStatus): re-activate the code which gets
	current font and cursor; add test for export to html.

	* src/lyxrc.C (read): remove unreachable break statements; add a
	few "using".

	* src/bmtable.C (fl_set_bmtable_data): add a const_cast.
	
1999-12-01  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/mathed/formula.C (LocalDispatch): fix small whitspace bug
	introduced by faulty regex.
	* src/buffer.C: ditto
	* src/lastfiles.C: ditto
	* src/paragraph.C: ditto
	* src/table.C: ditto
	* src/vspace.C: ditto
	* src/insets/figinset.C: ditto
	Note: most of these is absolutely harmless, except the one in
	src/mathed formula.C.

1999-11-30  Kayvan A. Sylvan  <kayvan@satyr.sylvan.com>

	* src/ImportNoweb.C (documentclass): fixed bounds for substr
	  operation, yielding correct results for the reLyX command.

1999-12-01  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/filetools.C (ExpandPath): removed an over eager
	Assert.
	(ReplaceEnvironmentPath): ditto

	* src/toolbar.C (BubbleTimerCB): use C++ style casts. This clearly
	shows that we are doing something fishy in our code...
	(BubblePost): ditto
	(ToolbarCB): ditto

	* src/lyxrc.C (read): use a double switch trick to get more help
	from the compiler. (the same trick is used in layout.C)
	(write): new function. opens a ofstream and pass that to output
	(output): new function, takes a ostream and writes the lyxrc
	elemts to it. uses a dummy switch to make sure no elements are
	forgotten. 

	* src/lyxlex.h: added a struct pushpophelper for use in functions
	with more than one exit point.

	* src/lyxlex.[Ch] (GetInteger): made it const
	(GetFloat): ditto
	(GetBool): ditto

	* src/lyxfunc.C (Dispatch): added case for LFUN_SAVEPREFERENCES

	* src/layout.[hC] : LayoutTags splitted into several enums, new
	methods created, better error handling cleaner use of lyxlex. Read
	the diff.

	* src/bmtable.[Ch]: change some member prototypes because of the
	image const changes. 

	* commandtags.h, src/LyXAction.C (init): new function:
	"preferences-save", saves the lyxrc entries into .lyx/preferences.
	This file is not read automatically but you can add \input
	preferences to your lyxrc if you want to. We need to discuss how
	to handle this. 

	* src/LaTeX.C (runBibTeX): use regex to match for the needed lines
	in .aux, also remove .bib and .bst files from dependencies when
	running bibtex.

	* src/BufferView.C, src/LyXView.C: add const_cast several places
	because of changes to images.

	* lib/images/*: same change as for images/*
	
	* lib/lyxrc.example: Default for accept_compound is false not no.

	* images/*: changed to be const, however I have som misgivings
	about this change so it might be changed back.

1999-11-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/configure, po/POTFILES.in: regenerated

	* autogen.sh: autogenerate lib/configure from lib/configure.m4

	* config/lib_configure.m4: removed
	
	* lib/configure.m4: new file (was config/lib_configure.m4)

	* configure.in: do not test for rtti, since we do not use it.
	
1999-11-26  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/lyxstring.C (lyxstring::Srep): Changed to use a
	doubling of allocated space scheme. This makes it faster for large
	strings end to use less memory for small strings. xtra rememoved. 

	* src/insets/figinset.C (waitalarm): commented out.
	(GhostscriptMsg): use static_cast
	(GhostscriptMsg): use new instead of malloc to allocate memory for
	cmap. also delete the memory after use.

	* src/lyx_cb.C (SetXtermCursor): made cursor_undefined a bool

	* src/LaTeX.C (scanAux): new method. Scans the .aux file and looks
	for changes in bibtex database or style.
	(runBibTeX): remove all .bib and .bst files from dep before we
	begin. 
	(run): use scanAuc in when dep file already exist.

	* src/DepTable.C (remove_files_with_extension): new method
	(exist): new method

	* src/DepTable.[Ch]: made many of the methods const. 

1999-11-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/bufferparams.C: make sure that the default textclass is
	"article". It used to be the first one by description order, but
	now the first one is "docbook".

	* src/lyx_main.C (setDebuggingLevel): change type of argument to
	string; call Debug::value.
	(easyParse): pass complete argument to setDebuggingLevel().

	* src/debug.h (value): fix the code that parses debug levels.

	* src/debug.h: add new debug type ACTION, reserved for LyXAction
	class.  

	* src/LyXAction.C: use Debug::ACTION as debug channel.

	* src/lyxlookup.C: make the debug statements go to Debug::KEY.

	* NEWS: updated for the future 1.1.3 release.

	* src/mathed/symbol_def.h: swap the definitions of \varepsilon and
	\epsilon. Now \epsilon shows as red text, and \varepsilon shows as
	it should. This is of course a controversial change (since many
	people will find that their lyx workscreen is suddenly full of
	red), but done for the sake of correctness.

	* src/mathed/formulamacro.h, src/mathed/math_macro.[Ch],
	  src/mathed/math_root.[Ch] (Clone): return a MathedInset*  

	* src/insets/inseterror.h, src/insets/inseturl.h,
	  src/insets/insetinfo.h, src/insets/figinset.h,
	  src/mathed/formulamacro.h, src/mathed/math_macro.h
	  (EditMessage): add a missing const and add _() to make sure that
	translation happens

	* src/ImportNoweb.C, src/LyXAction.h, src/insets/figinset.C,
	  src/insets/insetbib.C, src/support/filetools.C: add `using'
	directives for cxx.  

	* src/lyxfunc.C (Dispatch): make sure nothing bad happens when
	doing 'Insert index of last word' at the beginning of a paragraph.

1999-11-24  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* several files: white-space changes.

	* src/mathed/formula.C: removed IsAlpha and IsDigit

	* src/insets/insetbib.C (getKeys): use findtexfile to look for the
	.bib file. use a ifstream instead of FilePtr when parsing the .bib
	file for keys.

	* src/insets/figinset.C (GetPSSizes): don't break when
	"EndComments" is seen. But break when a boundingbox is read.

	* all classes inherited from Inset: return value of Clone
	changed back to Inset *.

	* all classes inherited form MathInset: return value of Clone
	changed back to MathedInset *.
	
	* src/insets/figinset.C (runqueue): use a ofstream to output the
	gs/ps file. Might need some setpresicion or setw. However I can
	see no problem with the current code.
	(runqueue): use sleep instead of the alarm/signal code. I just
	can't see the difference.

	* src/paragraph.C (LyXParagraph): reserve space in the new
	paragraph and resize the inserted paragraph to just fit.

	* src/lyxfunc.h (operator|=): added operator for func_status.

	* src/lyxfunc.C (MenuNew): use FileInfo instead of FilePtr to
	check for readable file.

	* src/lyx_cb.C (MenuMakeLaTeX): use FileInfo instead of FilePtr to
	check for readable file.
	(MenuMakeLinuxDoc): ditto
	(MenuMakeDocBook): ditto
	(MenuMakeAscii): ditto
	(InsertAsciiFile): split the test for openable and readable

	* src/bmtable.C (draw_bitmaptable): use
	fl_state[fl_get_vclass()].depth instead of DefualtScreen.

	* src/LaTeX.C, src/support/filetools.[Ch]: moved do_popen and
	findtexfile from LaTeX to filetools.
	
	* src/ImportNoweb.C (documentclass): rewrote to use ifstream
	instead of FilePtr. Needs to be verified by a literate user.

1999-11-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/mathed/formula.[Ch] (GetCursorPos): add a missing 'const'.
	(EditMessage): likewise.

	* src/paragraph.C (SimpleTeXSpecialChars): output ~ and ^
	respectively as \textasciitilde and \textasciicircum.

1999-11-22  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/lyxstring.h: made the methods that take iterators
	use const_iterator.

	* src/support/lstrings.C (countChar): use std::cound(itr, itr, val)
	(regexMatch): made is use the real regex class.

	* src/support/Makefile.am: changed to use libtool

	* src/support/.cvsignore: added *.lo, .libs and libsupport.la

	* src/mathed/math_defs.h: made the mathaligns be in a enum instead
	of defines.
	(MathIsInset ++): changed several macros to be inline functions
	instead. 

	* src/mathed/Makefile.am: changed to use libtool

	* src/mathed/.cvsignore: added *.lo, .libs and libmathed.la

	* src/insets/inset* : Clone changed to const and return type is
	the true insettype not just Inset*.
	
	* src/insets/Makefile.am: changed to use libtool

	* src/insets/.cvsignore: added *.lo, .libs and libinsets.la

	* src/undo.[Ch] : added empty() and changed some of the method
	names.
	
	* src/texrow.[Ch]: rewrote to store texrow's in a std::list.

	* src/lyxparagraph.h: use id() and id(...) instead of getID and
	setID use block<> for the bullets array, added const several places.

	* src/lyxfunc.C (getStatus): new function

	* src/lyxfunc.[Ch] : small changes to take advantage of the new
	LyXAction, added const to several funtions.

	* src/filedlg.[Ch]: rewrote to store userchache and groupchache in
	a std::map, and to store the dir items in a vector.

	* src/Makefile.am (lyx_DEPENDENCIES): changed to use libtool files
	as dependencies.

	* src/LyXView.[Ch] + other files : changed currentView to view.
	
	* src/LyXAction.[Ch] : ported from the old devel branch.
	
	* src/.cvsignore: added .libs and a.out

	* configure.in : changes to use libtool. 

	* acinclude.m4 : inserted libtool.m4

	* .cvsignore: added libtool

1999-11-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/Makefile.am (lyx_DEPENDENCIES): give the explicit object
	file name in insets and mathed directories (otherwise the
	dependency is not taken in account under cygwin).

	* src/text2.C (InsertString[AB]): make sure that we do not try to
	read characters past the string length.

1999-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/doc/LaTeXConfig.lyx.in, 
	  lib/chkconfig.ltx: remove the test for linuxdoc-sgml.sty.

	* src/buffer.C (writeFile): Do not add a comment on top of .lyx
	file saying who created them and when this heppened; this is
	useless and annoys tools like cvs.

	* lib/layouts/g-brief-{en,de}.layout,
	  lib/templates/g-brief-{en,de}.lyx: new versions of the textclass
	from Thomas Hartkens <thomas@hartkens.de>.

	* src/{insets,mathed}/Makefile.am: do not declare an empty
	LDFLAGS, so that it can be set at configure time (useful on Irix
	for -n32 flag).

	* lib/reLyX/configure.in: make sure that the prefix is set
	correctly in LYX_DIR.

1999-11-18  Andr Pnitz <poenitz@mathematik.tu-chemnitz.de>

	* src/commandtags.h: introduction of a new tag 'LFUN_SEQUENCE' to
	be used by 'command-sequence' this allows to bind a key to a
	sequence of LyX-commands
	(Example: 'command-sequence math-insert alpha; math-insert beta;")

	* src/LyXAction.C: add "command-sequence"

	* src/LyXFunction.C: handling of "command-sequence"

	* src/LyXFunction.[hC] changed LyXFunc::Dispatch(string const
	 &cmd, string const &arg) to LyXFunc::Dispatch(string const& s)

	* src/lyxserver.C, src/minibuffer.C: Use this new interface

1999-11-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/buffer.C (writeFile): Do not output a comment giving user
	and date at the beginning of a .lyx file. This is useless and
	annoys cvs anyway; update version number to 1.1.

	* src/Makefile.am (LYX_DIR): add this definition, so that a
	default path is hardcoded in LyX.

	* configure.in: Use LYX_GNU_GETTEXT.

	* acinclude.m4 (LYX_GNU_GETTEXT): new macro, essentially a copy of
	AM_GNU_GETTEXT with a bug fixed. 

	* src/lyx_cb.C (RunLinuxDoc): add a cast to please dec cxx.

	* src/chset.C: add "using std::ifstream;" to please dec cxx.

	* src/lyx_main.C (init), INSTALL.OS2: the environment variable
	which is used to point to LyX data is now LYX_DIR_11x.

	* lyx.man: convert to a unix text file; small updates.

1999-11-15  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/LSubstring.[Ch]: made the second arg of most of the
	constructors be a const reference. 

	* src/mathed/math_parser.C (LexInitCodes): small bug introduced by
	me fixed.

	* src/support/lyxstring.[Ch] (swap): added missing member function
	and specialization of swap(str, str); 

	* src/menus.C (ShowBufferMenu): to use the new BufferStorage

	* src/bufferlist.[Ch]: use the new BufferStorage class and remove all
	trace of the old one.

	* src/undo.[Ch]: made the undostack use std::list to store undo's in
	put the member definitions in undo.C.

	* src/lyxparagraph.h, src/paragraph.C + a lot of files: removed
	NEW_TEXT and have now only code that was included when this was
	defined. 

	* src/intl.C (LCombo): use static_cast
	(LCombo2): ditto
	(DispatchCallback): ditto

	* src/definitions.h: removed whole file
	
	* src/commandtags.h: comment out LFUN_INSERT_INSET_LATEX

	* src/chset.[Ch]: a lot rewritten, does not use lyxlex for cdef
	parsing and stores in a std:map. a regex defines the file format.
	removed unneeded members.

	* src/bufferparams.h: added several enums from definitions.h here.
	Removed unsused destructor. Changed some types to use proper enum
	types. use block to have the temp_bullets and user_defined_bullets
	and to make the whole class assignable.

	* src/bufferparams.C (Copy): removed this functions, use a default
	assignment instead. 

	* src/buffer.h: made isLatex, isLinuxDoc, isDocBook, isSGML and
	isLiterate const.

	* src/buffer.C (readLyXformat2): commend out all that have with
	oldpapersize to do. also comment out all that hve to do with
	insetlatex and insetlatexdel. 
	(setOldPaperStuff): commented out

	* src/Makefile.am (lyx_SOURCES): remove definitions.h, add undo.C

	* src/LyXAction.C: remove use of inset-latex-insert

	* src/mathed/math_panel.C (button_cb): use static_cast

	* src/insets/Makefile.am (insets_o_SOURCES): removed
	insetlatex.[Ch] 

	* src/support/lyxstring.C (helper): use the unsigned long
	specifier, UL, instead of a static_cast.

	* src/support/Makefile.am (libsupport_a_SOURCES): added block.h

	* src/support/block.h: new file. to be used as a c-style array in
	classes, so that the class can be assignable.

1999-11-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyx_gui_misc.C (askForText): when fl_show_input() returns
	NULL, make sure to return an empty string (it is not possible to
	set a string to NULL).

1999-11-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/support/LRegex.C: use regex_t instead of re_pattern_buffer.

	* src/support/lyxstring.C (helper): fix bogus cast in assertion.

	* src/{mathed,insets}/Makefile.am (CXXLINK): add $(LDFLAGS) to the
	link line, so that Irix users (for example) can set it explicitely to
	"-n32".
	
	* src/Makefile.am (lyx_LDADD): use LYX_LIB as a variable, so that
	it can be overidden at make time (static or dynamic link, for
	example).
	
	* src/vc-backend.C, src/LaTeXFeatures.h, 
	  src/support/LRegex.C, src/support/LRegex.h: add a few "using" 
	statements to bring templates to global namespace.

1999-11-10  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/lyxstring.C (operator[] const): make it standard
	conforming. 

	* src/minibuffer.C (Init): changed to reflect that more
	information is given from the lyxvc and need not be provided here.

	* src/lyxvc.[Ch]: rewrote to use the vc-backend.
	
	* src/Makefile.am (lyx_SOURCES): add vc-backend.[Ch]

	* src/LyXView.C (UpdateTimerCB): use static_cast
	(KeyPressMask_raw_callback): ditto

	* src/BufferView.[Ch]: name change _owner -> owner_ and _buffer ->
	buffer_, a lot of changes because of this. currentBuffer() ->
	buffer(), setBuffer(...) -> buffer(...), getOwner() -> owner(),
	also changes to other files because of this.

1999-11-09  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/vc-backend.[Ch]: new files. The backends for vc handling,
	have no support for RCS and partial support for CVS, will be
	improved later.
	
	* src/insets/ several files: changes because of function name
	changes in Bufferview and LyXView.
	
	* src/mathed/math_symbols.C (math_insert_symbol): use static_cast

	* src/support/LSubstring.[Ch]: new files. These implement a
	Substring that can be very convenient to use. i.e. is this
	possible:
	string a = "Mary had a little sheep";
	Substring(a, "sheep") = "lamb";
	a is now "Mary has a little lamb".

	* src/support/LRegex.[Ch]: a regex class that can be used to pick
	out patterns and subpatterns of strings. It is used by LSubstring
	and also by vc-backend.C
	
	* src/support/lyxstring.C: went over all the assertions used and
	tried to correct the wrong ones and flag which of them is required
	by the standard. some bugs found because of this. Also removed a
	couple of assertions.

	* src/support/Makefile.am (libsupport_a_SOURCES): added
	LSubstring.[Ch] and LRegex.[Ch]

	* src/support/FileInfo.h: have struct stat buf as an object and
	not a pointer to one, some changes because of this.

	* src/LaTeXFeatures.C (getTClassPreamble): also use the
	information in layout when adding the layouts preamble to the
	textclass preamble.

	* src/LaTeXFeatures.h: use a vector<bool> to store the layout
	usage in.

	* configure.in (CPPFLAGS): use AC_CHECK_FUNCS to check for XOpenIM
	because of bug in OS/2.

1999-11-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/layouts/lyxmacros.inc (lyxcode): set the font with
	\verbatim@font instead of \ttfamily, so that it can be redefined.

	* src/BackStack.h, src/DepTable.C, src/DepTable.h, src/LaTeX.C,
	  src/LaTeX.h, src/lastfiles.C, src/lastfiles.h, src/layout.C,
	  src/layout.h, src/text2.C: add 'using' directive to bring the
	STL templates we need from the std:: namespace to the global one.
	Needed by DEC cxx in strict ansi mode.

	* src/support/LIstream.h,src/support/LOstream.h,
	  src/support/lyxstring.h,src/table.h,
	  src/lyxlookup.h: do not include <config.h> in header
	files. This should be done in the .C files only.

	* development/lyx.spec.in: WHATSNEW has been renamed to NEWS
	(from Kayvan).
	

1999-11-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* config/lib_configure.m4,lib/configure,lib/lyxrc.example: update
	from Kayvan to fix the tth invokation.

	* development/lyx.spec.in: updates from Kayvan to reflect the
	changes of file names.

1999-11-05  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/text2.C (InsertStringB): use std::copy
	(InsertStringA): use std::copy

	* src/bufferlist.C: use a vector to store the buffers in. This is
	an internal change and should not affect any other thing.
	
	* src/BufferView.C (waitForX): use XSync instead of the lengthy
	stuff in waitForX.

	* src/text.C (Fill): fix potential bug, one off bug.

1999-11-04  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/Makefile.am (lyx_main.o): add more files it depends on.

	* src/lyx_cb.C (addNewlineAndDepth): parameters in wrong order.

	* src/support/lyxstring.C: use size_t for the reference count,
	size, reserved memory and xtra.
	(internal_compare): new private member function. Now the compare
	functions should work for std::strings that have embedded '\0'
	characters.
	(compare): all compare functions rewritten to use
	internal_compare.
	
1999-11-03  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/lyxstring.C (compare): pass c_str()
	(compare): pass c_str
	(compare): pass c_str

1999-11-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/support/DebugStream.C: <config.h> was not included correctly.

	* lib/configure: forgot to re-generate it :( I'll make this file
	auto generated soon.

1999-11-03  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* acinclude.m4 (cross_compiling): add -fpermissive when gcc 2.95.x
	is used.

	* src/support/lyxstring.C: some changes from length() to rep->sz.
	avoids a function call.

	* src/support/filetools.C (SpaceLess): yet another version of the
	algorithm...now per Jean-Marc's suggestions.

1999-11-02  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/layout.C (less_textclass_desc): functor for use in sorting
	of textclasses. 
	(LyXTextClass::Read): sort the textclasses after reading.
	
	* src/support/filetools.C (SpaceLess): new version of the
	SpaceLess functions. What problems does this one give? Please
	report.

	* images/banner_bw.xbm: made the arrays unsigned char *

1999-11-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/support/lyxstring.C (find): remove bogus assertion in the
	two versions of find where this has not been done yet.

	* src/support/lyxlib.h: add missing int return type to
	lyx::chdir(). 

	* src/menus.C (ShowFileMenu): disable exporting to html if no
	html export command is present.

	* config/lib_configure.m4: add a test for an HTML converter. The
	programs checked for are, in this order: tth, latex2html and
	hevea. 

	* lib/configure: generated from config/lib_configure.m4.

	* src/lyxfunc.C (Dispatch): update and improve the execution of an
	html converter. The parameters are now passed through $$FName and
	$$OutName, instead of standard input/output.

	* src/lyxrc.{C,h}: rename \tth_command to \html_command.

	* lib/lyxrc.example: update description of \html_command. 
	add "quotes" around \screen_font_xxx font setting examples to help
	people who use fonts with spaces in their names.

1999-11-02  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* Distribution files: updates for v1.1.2

	* src/support/lyxstring.C (find): remove bogus assert and return
	npos for the same condition.

1999-11-01  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* added patch for OS/2 from SMiyata.

1999-10-29  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/text2.C (CutSelection): make space_wrapped a bool
	(CutSelection): dont declare int i until we have to.
	(alphaCounter): return a char const *.

1999-10-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/support/syscall.C (Systemcalls::kill): 
	  src/support/filetools.C (PutEnv, PutEnvPath): 
	  src/lyx_cb.C (addNewlineAndDepth): 
	  src/FontInfo.C (FontInfo::resize): condition some #warning
	directives with WITH_WARNINGS.
	

1999-10-28  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/layout.[Ch] + several files: access to class variables
	limited and made accessor functions instead a lot of code changed
	becuase of this. Also instead of returning pointers often a const
	reference is returned instead.
	
	* src/form1.C (create_form_Figure): added a couple fo "no-c-format"

	* src/Makefile.am (dist-hook): added used to remove the CVS from
	cheaders upon creating a dist
	(EXTRA_DIST): added cheaders

	* src/support/lstrings.C (tostr(char)): fix it to handle param as
	a character not as a small integer. 

	* src/support/lyxstring.C (find): removed Assert and added i >=
	rep->sz to the first if.

1999-10-27  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/layout.[Ch] src/BufferView.C src/LaTeXFeatures.C
	src/LyXView.C src/buffer.C src/bufferparams.C
	src/lyx_cb.C src/lyxfunc.C src/paragraph.C src/text.C 
	src/text2.C src/insets/insetinclude.C:
	lyxlayout renamed to textclasslist.

	* src/layout.C: some lyxerr changes.

	* src/layout.[Ch] (LyXLayout::Read): changed second paramter to
	LyXTextClass. rewrote LT_COPYSTYLE, rewrote LT_OBSOLETEDBY
	(LyXLayoutList): removed all traces of this class.
	(LyXTextClass::Read): rewrote LT_STYLE
	(LyXTextClass::hasLayout): new function
	(LyXTextClass::GetLayout): rewritten to return an iterator + has
	both const and nonconst version.
	(LyXTextClass::delete_layout): new function.
	(LyXTextClassList::Style): bug fix. do the right thing if layout
	is to big.
	(LyXTextClassList::NumberOfLayout): new acces to layoutlist.
	(LyXTextClassList::NameOfLayout): ditto 
	(LyXTextClassList::Load): ditto

	* src/buffer.C (makeLaTeXFile): new access to layoutlist

	* src/LaTeXFeatures.C (getTClassPreamble): new access to layoutlist

	* src/LyXAction.C (LookupFunc): added a workaround for sun
	compiler, on the other hand...we don't know if the current code
	compiles on sun at all...

	* src/support/filetools.C (CleanupPath): subst fix

	* src/insets/insetbib.C (delDatabase): subst fix, this looks
	_really_ weird.

	* src/support/filetools.C (PutEnvPath): subst fix, how come nobody
	complained about this one?

	* src/insets/insetinclude.C (Latex): subst fix

	* src/insets/insetbib.C (getKeys): subst fix

	* src/LyXSendto.C (SendtoApplyCB): subst fix

	* src/lyx_main.C (init): subst fix

	* src/layout.C (Read): subst fix

	* src/lyx_sendfax_main.C (button_send): subst fix

	* src/buffer.C (RoffAsciiTable): subst fix

	* src/lyx_cb.C (MenuFax): subst fix
	(PrintApplyCB): subst fix

1999-10-26  Juergen Vigna  <jug@sad.it>

	* src/table.C (TexEndOfCell) + (DocBookEndOfCell): removed some #if 0

	(Read): Cleaned up this code so now we read only format vestion >= 5

1999-10-26  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/filetools.C (PutEnvPath): subst fix for EMX, how
	come nobody has complained about this one?

	* src/insets/insetinclude.C (Latex): subst fix

	* src/insets/insetbib.C (getKeys): subst fix

	* src/lyx_main.C (init): subst fix

	* src/layout.C (Read): subst fix

	* src/buffer.C (RoffAsciiTable): subst fix

	* src/lyx_cb.C (MenuFax): subst fix.

	* src/layout.[hC] + some other files: rewrote to use
	std::container to store textclasses and layouts in.
	Simplified, removed a lot of code. Make all classes
	assignable. Further simplifications and review of type
	use still to be one. 

	* src/menus.C (ShowFileMenu/ShowFileMenu2): Use the iterators from
	lastfiles to create the lastfiles partr of the menu.

	* src/lastfiles.[Ch]: rewritten to use deque to store the
	lastfiles in. Uses fstream for reading and writing. Simplifies
	code.

	* src/support/syscall.C: remove explicit cast.

	* src/BufferView.C (CursorToggleCB): removed code snippets that
	were commented out.
	use explicat C++ style casts instead of C style casts. also use
	u_vdata instea of passing pointers in longs.

	* src/PaperLayout.C: removed code snippets that were commented out.

	* src/lyx_gui_misc.C: removed code snippets that were commented out. 

	* src/lyx_main.C: removed code snippets that wer commented out.

	* src/paragraph.C: removed code snippets that were commented out.

	* src/lyxvc.C (logClose): use static_cast
	(logUpdate): ditto
	(viewLog): remove explicit cast to void*
	(showLog): removed old commented code

	* src/menus.C: use static_cast instead of C style casts. use
	u_vdata instead of u_ldata. remove explicit cast to (long) for
	pointers. Removed old code that was commented out.

	* src/insets/inset.C: removed old commented func

	* src/insets/insetref.C (InsetRef): removed old code that had been
	commented out for a long time.
	(Edit): ditto
	(escape): removed C style cast

	* src/insets/insetlatexaccent.C (Draw): removed old commented code

	* src/insets/insetlatex.C (Draw): removed old commented code
	(Read): rewritten to use string

	* src/insets/insetlabel.C (escape): removed C style cast

	* src/insets/insetindex.h: removed vdata and ldata from FD_index_form

	* src/insets/insetindex.C: use static_cast and u_vdata, removed
	old commented code.

	* src/insets/insetinclude.h: removed a couple of stupid bools

	* src/insets/insetinclude.C (include_cb): use static_cast and u_data.
	(Clone): remove C style cast
	(getKeys): changed list to lst because of std::list

	* src/insets/inseterror.C (Draw): removed som old commented code.

	* src/insets/insetcommand.C (Draw): removed some old commented code.

	* src/insets/insetbib.C (bibitem_cb): removed code that has been
	commented out forever.
	(bibitem_cb): use static_cast instead of C style cast
	use of vdata changed to u_vdata.

	* src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forward the data
	parameter.
	(CloseUrlCB): use static_cast instead of C style cast.
	(CloseUrlCB): added a fl_free form...it seemed to be missing.

	* src/insets/insetinfo.C (Edit): pass object in u_vdata instead
	(C_InsetInfo_CloseInfoCB): forward the ob parameter
	(CloseInfoCB): static_cast from ob->u_vdata instead.
	(Edit): removed bogus arg from fl_set_object_shortcut, set to 1
	instead. 

	* src/insets/inseterror.C (Edit): pass object in u_vdata instead
	(C_InsetError_CloseErrorCB): forward the ob parameter
	(CloseErrorCB): static_cast from ob->u_vdata instead.

	* src/vspace.h: include LString.h since we use string in this class.

	* src/vspace.C (lyx_advance): changed name from advance because of
	nameclash with stl. And since we cannot use namespaces yet...I
	used a lyx_ prefix instead. Expect this to change when we begin
	using namespaces.

	* src/BufferView.[Ch] (BufferView::~BufferView): removed 

	* src/BackStack.h: rewrote to use std::stack. made BackStackItem
	and removed now defunct constructor and deconstructor.

	* src/BufferView.h: have backstack as a object not as a pointer.
	removed initialization from constructor. added include for BackStack 

	* development/lyx.spec.in (%build): add CFLAGS also.

	* src/screen.C (drawFrame): removed another warning.

1999-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* renamed WHATSNEW to NEWS (usual GNU style), CHANGES to
	OLD-CHANGES (not used anymore) and modified INSTALL, INSTALL.OS2,
	README and ANNOUNCE a bit for the next release. More work is
	needed, of course.

	* src/paragraph.C (SimpleTeXBlanks): spaces are automatically made
	unbreakable if we are in freespacing mode (LyX-Code), but not in
	latex mode.

1999-10-25  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/BackStack.h: fixed initialization order in constructor

	* Makefile.am (MAINTAINERCLEANFILES): removed po/POTFILES.in

	* acinclude.m4 (VERSION): new rules for when a version is
	development, added also a variable for prerelease.
	(warnings): we set with_warnings=yes for prereleases
	(lyx_opt): prereleases compile with same optimization as development 
	(CXXFLAGS): only use pedantic if we are a development version 

	* src/BufferView.C (restorePosition): don't do anything if the
	backstack is empty.

	* src/BackStack.h: added member empty, use this to test if there
	is anything to pop...

1999-10-25  Juergen Vigna  <jug@sad.it>

	* forms/form1.fd +
	* forms/layout_forms.fd +
	* forms/latexoptions.fd +
	* lyx.fd: changed for various form resize issues

	* src/mathed/math_panel.C +
	* src/insets/inseterror.C +
	* src/insets/insetinfo.C +
	* src/insets/inseturl.C +
	* src/insets/inseturl.h +
	* src/LaTeXLog.C +
	* src/LyXSendto.C +
	* src/PaperLayout.C +
	* src/ParagraphExtra.C +
	* src/TableLayout.C +
	* src/form1.C +
	* src/layout_forms.C +
	* src/lyx.C +
	* src/lyx_cb.C +
	* src/lyx_gui.C +
	* src/lyxfr0.C +
	* src/lyxfunc.C +
	* src/lyxvc.C +
	* src/menus.C: fixed various resize issues. So now forms can be
	resized savely or not be resized at all.
	
	* forms/form_url.fd +
	* src/insets/form_url.[Ch]: added because it's cleaner and easier
	to modify IMO.

	* src/insets/Makefile.am: added files form_url.[Ch]
	
1999-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* INSTALL: it is now possible to compile LyX with digital C++ 6.1
	(and presumably 6.2).

	* src/{BufferView,LyXView,combox,filedlg,intl,lyxserver,lyxvc,
	menus,minibuffer,toolbar}.{C,h}: added C_xxx wrappers around
	remaining static member callbacks. 

	* src/lyxfunc.C (Dispatch): Use _() instead of N_() fot minibuffer
	messages. 

	* src/support/lyxstring.h: declare struct Srep as friend of
	lyxstring, since DEC cxx complains otherwise.

1999-10-24  Lars Gullik Bjnnes  <larsbj@lyx.org>

1999-10-24  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/LaTeX.C (run): made run_bibtex also depend on files with
	extension ".bst"
	(runBibTeX): added scans for "\\bibstyle", now also ".bst" files
	are put into the dependency file.

	* src/spellchecker.C (create_ispell_pipe): removed old #warning,
	the code has shown itself to work
	(create_ispell_pipe): removed another warning, added a comment
	instead. 

	* src/minibuffer.C (ExecutingCB): removed code that has been
	commented out a long time

	* src/lyxfunc.C (processKeyEvent): removed some very old commented
	out code + a warning.

	* src/support/lyxstring.h: comment out the three private
	operators, when compiling with string ansi conforming compilers
	they make problems.

	* src/mathed/math_symbols.C (AddBitmap): change 6th arg to be
	unsigned char *.
	(pixmapFromBitmapData): change type of bdata to be unsigned char *
	(pixmapFromBitmapData): add a reinterpret_cast in the call to
	XCreateImage

	* src/mathed/math_panel.h: change 6th arg to AddBitmap to be
	unsigned char *

	* src/mathed/math_panel.C (create_math_panel): remove explicit
	casts

	* src/bmtable.h: change last paramter to fl_set_bmtable_data to be
	unsigned char *.

	* src/bmtable.C (struct BMTABLE_SPEC): make bdata unsigned char *
	(draw_bitmaptable): add a reinterpret_cast to sp->bdata in the call
	to XCreatePixmapFromBitmapData
	(fl_set_bmtable_data): change the last argument to be unsigned
	char *
	(fl_set_bmtable_file): change bdata to unsinged char *, change bw
	and bh to be unsigned int, remove explicit casts in call to
	XReadBitmapFileData.

	* images/arrows.xbm: made the arrays unsigned char *
	* images/varsz.xbm: ditto
	* images/misc.xbm: ditto
	* images/greek.xbm: ditto
	* images/dots.xbm: ditto
	* images/brel.xbm: ditto
	* images/bop.xbm: ditto

	* Makefile.am (MAINTAINERCLEANFILES): added po/POTFILES.in

	* acinclude.m4 (LYX_GXX_STRENGHT_REDUCE): removed. 
	(LYX_PROG_CXX): added -pedantic to g++ compile options when
	with-warnings, removed the __STRING_ANSI__ hack, seems to not be
	needed. 
	(LYX_CXX_CHEADERS): added <clocale> to the test. 

1999-10-23  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/lyx_cb.C (addNewlineAndDepth): changed to use string::append.

	* src/support/lyxstring.C (append): fixed something that must be a
	bug, rep->assign was used instead of rep->append.

	* src/support/Makefile.am (libsupport_a_SOURCES): added LIstream.h
	and LOstream.h

	* src/lyxfunc.C (processKeyEvent): removed faulty line that made
	lyx insert double chars. Fix spotted by Kayvan.

1999-10-23  Asger Alstrup Nielsen  <alstrup@alstrup.galaxy.dk>

	* Fixed the tth support. I messed up with the Emacs patch apply feature
	and omitted the changes in lyxrc.C.

1999-10-22  Juergen Vigna  <jug@sad.it>

	* src/insets/figinset.C (CallbackFig): Just changed the defines a bit.

	* src/lyx_cb.C (MenuInsertRef) + 
	* src/lyx_gui.C (create_forms): Inserted fl_set_form_minsize so that
	the form cannot be resized under it limits (fixes a segfault)
	
	* src/lyx.C (create_form_form_ref) +
	* forms/lyx.fd: Changed Gravity on name input field so that it is
	resized correctly.

1999-10-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* configure.in: use LYX_CXX_STL_MODERN_STREAMS; check for headers
	<ostream> and <istream>.
	
	* acinclude.m4 (LYX_CXX_STL_MODERN_STREAMS): new test. Checks
	whether <fstream> provides the latest standard features, or if we
	have an oldstyle library (like in egcs).
	(LYX_CXX_STL_STRING): fix the test.

	* src/support/DebugStream.{C,h}: use L{I,O}stream.h and condition the
	code on MODERN_STL_STREAM.

	* src/support/lyxstring.h: use L{I,O}stream.h.

	* src/support/L{I,O}stream.h: new files, designed to setup
	correctly streams for our use
	  - includes the right header depending on STL capabilities
	  - puts std::ostream and std::endl (for LOStream.h) or
	  std::istream (LIStream.h) in toplevel namespace.

1999-10-22  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/LaTeX.C (run): added a check in 0 sumchange so that if it
	was a bib file that had been changed we ensure that bibtex is run.
	(runBibTeX): enhanced to extract the names of the bib files and
	getting their absolute path and enter them into the dep file.
	(findtexfile): static func that is used to look for tex-files,
	checks for absolute patchs and tries also with kpsewhich.
	Alternative ways of finding the correct files are wanted. Will
	probably be moved.
	(do_popen): function that runs a command using popen and returns
	the whole output of that command in a string. Should be moved to
	somewhere else.

	* src/DepTable.[Ch] (extchanged): new function that returns true if a
	file with extension ext has changed.

	* src/insets/figinset.C: added ifdef guards around the fl_free
	code that jug commented out. Now it is commented out when
	compiling with XForms == 0.89.

	* src/support/lyxstring.C: moved the definition of lyxstring::Srep
	to lyxstring.C, and only keep a forward declaration in
	lyxstring.h. Simplifies the header file a bit and should help a
	bit on compile time too. Also changes to Srep will not mandate a
	recompile of code just using string.
	(~lyxstring): definition moved here since it uses srep.
	(size): definition moved here since it uses srep.

	* src/support/lyxstring.h: removed a couple of "inline" that should
	not be there.

1999-10-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forgot to pass
	the 'ob' argument.

1999-10-21  Juergen Vigna  <jug@sad.it>

	* src/table.C (SetPWidth): Just a small fix so the alignment is not
	set to left if I just remove the width entry (or it is empty).

	* src/text2.C (SetCursorIntern): Fixed a bug calculating to use wrong
	paragraph when having dummy paragraphs.

1999-10-20  Juergen Vigna  <jug@sad.it>

	* src/insets/figinset.C: just commented some fl_free_form calls
	and added warnings so that this calls should be activated later
	again. This avoids for now a segfault, but we have a memory leak!

	* src/lyxfunc.C (processKeyEvent) (Dispatch): changed
	'const char * argument' to 'string argument', this should
	fix some Asserts() in lyxstring.C.

	* src/lyxfunc.h: Removed the function argAsString(const char *)
	as it is not used anymore.

1999-10-20  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/lyxstring.C (getline): reads now _all_ chars. uses
	get instead of >>

	* src/Literate.h: some funcs moved from public to private to make
	interface clearer. Unneeded args removed.

	* src/Literate.C (scanLiterateLogFile): rewritten to use iostream
	instead of lyxlex.
	(scanBuildLogFile): ditto

	* src/LaTeX.C (scanLogFile): merged LaTeX Error handling into
	normal TeX Error. Still room for improvement.

	* src/LaTeX.[Ch]: removed scanError. Wrong place and not needed.

	* src/buffer.C (insertErrors): changes to make the error
	desctription show properly.

	* src/LaTeX.C (deplog): removed the test for file in lyx doc dir.
	could never happen

	* src/support/lyxstring.C (helper): changed to use
	sizeof(object->rep->ref).
	(operator>>): changed to use a pointer instead.

	* src/support/lyxstring.h: changed const reference & to value_type
	const & lets see if that helps.

1999-10-19  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* Makefile.am (rpmdist): fixed to have non static package and
	verison.

	* src/support/lyxstring.C: removed the compilation guards

	* src/vspace.C (nextToken): use i + 1  instead of ++i. Maks things
	a bit clearer.

	* src/support/Makefile.am (LYXSTRING): bruker USE_LYXSTRING for
	conditional compile of lyxstring.Ch

	* acinclude.m4 (LYX_CXX_STL_STRING): new and improved, still a
	stupid check, but it is a lot better than the bastring hack. 
	(LYX_CXX_STL_STRING): bruker n AM_CONDITIONAL(USE_LYXSTRING  

	* several files: changed string::erase into string::clear. Not
	really needed.
	
	* src/chset.C (encodeString): use a char temporary instead

	* src/table.C (TexEndOfCell): added tostr around
	column_of_cell(fcell+i)+1 and around right_column_of_cell(fcell+i)+1
	(TexEndOfCell): ditto
	(TexEndOfCell): ditto
	(TexEndOfCell): ditto
	(DocBookEndOfCell): ditto
	(DocBookEndOfCell): ditto
	(DocBookEndOfCell): ditto
	(DocBookEndOfCell): ditto

	* src/paragraph.C (TeXEnvironment): added tostr around foot_count -1

	* src/lyxfr1.C (SearchReplaceAllCB): added tostr around replace_count

	* src/lyx_cb.C (MenuRunLaTeX): added tostr around ret
	(MenuBuildProg): added tostr around ret
	(MenuRunChktex): added tostr around ret
	(DocumentApplyCB): added tostr around ret

	* src/chset.C (encodeString): added tostr around t->ic

	* src/buffer.C (makeLaTeXFile): added tostr around secnumdepth
	(makeLaTeXFile): added tostr around tocdepth
	(makeLaTeXFile): added tostr around ftcound - 1

	* src/insets/insetbib.C (setCounter): added tostr around counter.

	* src/support/lyxstring.h: added an operator+=(int) to catch more
	mistakes. 

	* src/support/lyxstring.C (lyxstring): We DON'T allow NULL pointers.
	(lyxstring): We DON'T allow NULL pointers.

1999-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/mathed/math_macro.C (MathMacroArgument::Write,
	MathMacroTemplate::WriteDef): add tostr() around macro arg numbers
	when writing them out.

	* src/LString.C: remove, since it is not used anymore.
	
	* src/support/lyxstring.C: condition the content to
	USE_INCLUDED_STRING macro.

	* src/mathed/math_symbols.C, src/support/lstrings.C,
	src/support/lyxstring.C: add `using' directive to specify what
	we need in <algorithm>. I do not think that we need to
	conditionalize this, but any thought is appreciated.

	* many files: change all callback functions to "C" linkage
	functions to please strict C++ compilers like DEC cxx 6.1 in mode
	strict_ansi. Those who were static are now global. 
	    The case of callbacks which are static class members is
	trickier, since we have to make C wrappers around them (see
	InsetError, InsetInfo and InsetUrl). The same holds for friends. I
	did not finish this yet, since it defeats the purpose of
	encapsulation, and I am not sure what the best route is.

1999-10-19  Juergen Vigna  <jug@sad.it>

	* src/support/lyxstring.C (lyxstring): we permit to have a null
	pointer as assignment value and just don't assign it.

	* src/vspace.C (nextToken): corrected this function substituting
	find_first(_not)_of with find_last_of.

	* src/TableLayout.C (UpdateLayoutTable) (TableOptionsCB)
	(TableOptCloseCB) (TableSpeCloseCB):
	inserted fl_set_focus call for problem with fl_hide_form() in
	xforms-0.89.

1999-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyx_cb.C (LayoutsCB): fix bug where int was added to a
	string. 

1999-10-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses
	LyXLex::next() and not eatline() to get its argument.

1999-10-17  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/DepTable.[Ch]: rewritten to store the dependencies in a map
	instead, use fstreams for io of the depfile, removed unneeded
	functions and variables. 

	* src/LaTeX.[Ch] (class TeXErrors): rewrote to store the errors in a
	vector instead, removed all functions and variables that is not in
	use.

1999-10-16  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/buffer.C (insertErrors): use new interface to TeXError

	* Makefile.am (rpmdist): added a rpmdist target

	* lib/reLyX/Makefile.am: added RelyxFigure.pm and Verbatim.pm as
	per Kayvan's instructions.

1999-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/Makefile.am: add a definition for localedir, so that locales
	are found after installation (Kayvan)

1999-10-14  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* development/.cvsignore: new file.

1999-10-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* acinclude.m4 (LYX_CXX_CHEADERS): New macro. Checks whether the
	C++ compiler provides wrappers for C headers and use our alternate
	version otherwise.

	* configure.in: use LYX_CXX_CHEADERS.

	* src/cheader/: new directory, populated with cname headers from
	libstdc++-2.8.1. They are a bit old, but probably good enough for
	what we want (support compilers who lack them).
	
	* src/insets/Makefile.am, src/mathed/Makefile.am: remove src/support
	from includes. It turns out is was stupid.

1999-10-14  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* lib/Makefile.am (install-data-local): forgot a ';'
	(install-data-local): forgot a '\'
	(libinstalldirs): needed after all. reintroduced.

1999-10-13  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* configure.in (AC_OUTPUT): added lyx.spec

	* development/lyx.spec: removed file

	* development/lyx.spec.in: new file

	* po/*.po: merged with lyx.pot becuase of make distcheck
	
	* lib/Makefile.am (dist-hook): added dist-hook so that
	documentation files will be included when doing a make
	dist/distdir/distcheck. Requires cvs export -r HEAD lyxdoc to run.
	(pkgdata_SCRIPTS): added configure.cmd for now, we can use som
	conditional later.
	more: tried to make install do the right thing, exclude CVS dirs
	etc.

	* src/LaTeXLog.C (ShowLatexLog): reordered som statements so that
	Path would fit in more nicely.

	* all files that used to use pathstack: uses now Path instead.
	This change was a lot easier than expected.
	
	* src/support/path.h: new file

	* src/support/Makefile.am (libsupport_a_SOURCES): added path.h

	* src/Makefile.am (lyx_SOURCES): removed pathstack.[Ch]

	* src/support/lyxstring.C (getline): Default arg was given for
	para 3. removed.

	* Configure.cmd: removed file 

1999-10-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/support/DebugStream.[Ch]: remove the explicit std:: before
	streams classes and types, add the proper 'using' statements when
	MODERN_STL is defined.
	
	* src/debug.h: move the << operator definition after the inclusion
	of DebugStream.h

	* src/support/filetools.C: include "LAssert.h", which is needed
	later. 

	* src/insets/Makefile.am, src/mathed/Makefile.am: add src/support
	to includes. 

	* src/lyxfont.h, src/commandtags.h, src/mathed/math_defs.h:
	include "debug.h" to define a proper ostream.

1999-10-12  Asger Alstrup Nielsen  <alstrup@alstrup.galaxy.dk>

	* src/sys*: Cleaned up the Systemcall stuff a bit. Added "kill(int)"
	  method to the SystemCall class which can kill a process, but it's
	  not fully implemented yet.

	* src/*.C: Changed Systemcalls::Startscript() to startscript()

	* src/support/FileInfo.h: Better documentation	

	* src/lyxfunc.C: Added support for buffer-export html
	
	* src/menus.C: Added Export->As HTML...
	
	* lib/bind/*.bind: Added short-cut for buffer-export html

	* src/lyxrc.*: Added support for new \tth_command
	
	* lib/lyxrc.example: Added stuff for new \tth_command

1999-10-12  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* lib/Makefile.am (IMAGES): removed images/README
	(pkgdata_SCRIPTS): use this instead of bin_SCRIPTS to that it
	installes in correct place. Check permisions is installed
	correctly.

	* src/LaTeX.C: some no-op changes moved declaration of some
	variables around.

	* src/LaTeX.h (LATEX_H): changed include guard name

1999-10-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* lib/reLyX/Makefile.am: install noweb2lyx.

	* lib/Makefile.am: install configure. 

	* lib/reLyX/configure.in: declare a config aux dir; set package
	name to lyx (not sure what the best solution is); generate noweb2lyx.

	* lib/layouts/egs.layout: fix the bibliography layout.

1999-10-08  Jrgen Vigna <jug@sad.it>

	* src/support/filetools.C (FileOpenSearch): Fixed a bug where
	when in the PATH was something like /usr/bin;;/bin (note: the ;;)
	it returned without continuing to search the path.
	
1999-10-07  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/insets/insetquotes.C (Draw): Simplified a gread deal. This
	also fixes a bug. It is not allowed to do tricks with std::strings
	like: string a("hei"); &a[e]; this will not give what you
	think... Any reason for the complexity in this func?

1999-10-06  Asger Alstrup Nielsen  <alstrup@diku.dk>

	* Updated README and INSTALL a bit, mostly to check that my
	CVS rights are correctly set up.

1999-10-06  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/lyxstring.C (helper): removed bogus Assert. strlen
	does not allow '\0' chars but lyxstring and std::string does.

1999-10-05  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* autogen.sh (AUTOCONF): let the autogen script create the
	POTFILES.in file too. POTFILES.in should perhaps now not be
	included in the cvs module.

	* some more files changed to use C++ includes instead of C ones.

	* src/filedlg.C (Reread): fixed a bug wrt Time. It was appended
	not assigned.
	(Reread): added tostr to nlink. buggy output otherwise.
	(Reread): added a string() around szMode when assigning to Buffer,
	without this I got a log of garbled info strings.

	* acconfig.h: commented out the PTR_AS_INT macros. They should not
	be needed.

	* I have added several ostream & operator<<(ostream &, some_type)
	functions. This has been done to avoid casting and warnings when
	outputting enums to lyxerr. This as thus eliminated a lot of
	explicit casts and has made the code clearer. Among the enums
	affected: kb_action, InsetLatexAccent::ACCENT_TYPE, a couple of
	mathed enums, some font enum the Debug::type enum. 

	* src/support/lyxstring.h (clear): missing method. equivalent of
	erase(0, npos).

	* all files that contained "stderr": rewrote constructs that used
	stderr to use lyxerr instead. (except bmtable)

	* src/support/DebugStream.h (level): and the passed t with
	Debug::ANY to avoid spurious bits set.

	* src/debug.h (Debug::type value): made it accept strings of the
	type INFO,INIT,KEY.

	* configure.in (Check for programs): Added a check for kpsewhich,
	the latex generation will use this later to better the dicovery of
	all used files. 

	* src/BufferView.C (create_view): we don't need to cast this to
	(void*) that is done automatically.
	(WorkAreaButtonPress): removed some dead code.

1999-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/minibuffer.C (Init): make sure that the "Welcome to LyX!"
	is not overwritten when translated (David Sua'rez de Lis).

	* lib/CREDITS: Added David Sua'rez de Lis

	* lib/reLyX/configure.in: setup LYX_DIR correctly in reLyX.

	* src/bufferparams.C (BufferParams): default input encoding is now
	"latin1" 

	* acinclude.m4 (cross_compiling): comment out macro
	LYX_GXX_STRENGTH_REDUCE. 

	* acconfig.h: make sure that const is not defined (to empty) when
	we are compiling C++. Remove commented out code using SIZEOF_xx
	macros.
	
	* configure.in : move the test for const and inline as late as
	possible so that these C tests do not interefere with C++ ones.
	Remove the call to LYX_GXX_STRENGTH_REDUCE, since its usefulness
	has not been proven. 

1999-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* src/table.C (getDocBookAlign): remove bad default value for
	isColumn parameter.

	* src/menus.C (ShowFileMenu): add a missing tostr() for lastfiles
	shortcut. 
	(ShowFileMenu2): ditto.

	* lib/reLyX/.cvsignore: add configure and aclocal.m4 to the list
	of files to ignore.

1999-10-04  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* Most files: finished the change from the old error code to use
	DebugStream for all lyxerr debugging. Only minor changes remain
	(e.g. the setting of debug levels using strings instead of number) 

1999-10-02  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/layout.C (Add): Changed to use compare_no_case instead of
	strcasecmp.

	* src/FontInfo.C: changed loop variable type too string::size_type.

1999-10-01  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/Makefile.am: added -I${srcdir}/../ to INCLUDES and
	set ETAGS_ARGS to --c++ 

1999-09-30  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/table.C (DocBookEndOfCell): commented out two unused variables

	* src/paragraph.C: commented out four unused variables. 

	* src/lyx_cb.C (TocUpdateCB): moved variable i and added a new i
	insed a if clause with type string::size_type.

	* src/lyxfr1.C (IsSearchStringInText): changed iSrch from int to
	string::size_type.

	* src/lyxfunc.C (Dispatch): use string::size_type as loop variable.

	* src/lyx_cb.C (ReplaceWord): use string::size_type as loop
	variable, also changed loop to go from 0 to lenght + 1, instead of
	-1 to length. This should be correct.

	* src/LaTeX.C (scanError): use string::size_type as loop variable
	type.

	* src/BufferView.C (WorkAreaButtonPress): moved #if 0 up two lines
	(l.896) since y_tmp and row was not used anyway.

	* src/insets/insetref.C (escape): use string::size_type as loop
	variable type.

	* src/insets/insetquotes.C (Width): use string::size_type as loop
	variable type.
	(Draw): use string::size_type as loop variable type.

	* src/insets/insetlatexaccent.C (checkContents): use
	string::size_type as loop variable type.

	* src/insets/insetlabel.C (escape): use string::size_type as loop
	variable type.

	* src/insets/insetinfo.C: added an extern for current_view.

	* src/insets/insetcommand.C (scanCommand): use string::size_type
	as loop variable type.

	* most files: removed the RCS tags. With them we had to recompile
	a lot of files after a simple cvs commit. Also we have never used
	them for anything meaningful. 

	* most files: tags-query-replace NULL 0. As adviced several plases
	we now use "0" instead of "NULL" in our code. 

	* src/support/filetools.C (SpaceLess): use string::size_type as
	loop variable type.

1999-09-29  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/paragraph.C: fixed up some more string stuff.

1999-09-28  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* src/support/filetools.h: make modestr a std::string.

	* src/filetools.C (GetEnv): made ch really const.

	* src/lyxlib.h: removed the Maximum and Minimum inline functions,
	made code that used these use max/min from <algorithm> instead.

	* changed several c library include files to their equivalent c++
	library include files. All is not changed yet.

	* created a support subdir in src, put lyxstring and lstrings
	there + the extra files atexit, fileblock, strerror. Created
	Makefile.am. edited configure.in and src/Makefile.am to use this
	new subdir. More files moved to support.

	* imported som of the functions from repository lyx, filetools
	
	* ran tags-query-replace on LString -> string, corrected the bogus
	cases. Tried to make use of lstrings.[hC], debugged a lot. There
	is still some errors in there. This is errors where too much or
	too litle get deleted from strings (string::erase, string::substr,
	string::replace), there can also be some off by one errors, or
	just plain wrong use of functions from lstrings. Viewing of quotes
	is wrong. 

	* LyX is now running fairly well with string, but there are
	certainly some bugs yet (see above) also string is quite different
	from LString among others in that it does not allow null pointers
	passed in and will abort if it gets any.
	
	* Added the revtex4 files I forgot when setting up the repository.

1999-09-27  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* All over: Tried to clean everything up so that only the files
	  that we really need are included in the cvs repository.
	* Switched to use automake.
	* Generaton of reLyX is not perfect, LYX_DIR does not get substituted.
	* Install has not been checked.

1999-09-22  Lars Gullik Bjnnes  <larsbj@lyx.org>

	* po/pt.po: Three errors:
	       l.533 and l.538 format specification error
	       l. 402 duplicate entry, I just deleted it.