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
|
2012-06-12 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in, NEWS:
=== Version 0.1.18 ===
2012-06-12 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-city.txt:
* data/tdict-common.txt:
* data/tdict-lang-ethnic.txt:
* data/tdict-proper.txt: Add words.
2012-06-11 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std.txt: Remove some prefix-words as found during
working on thailatex hyphenation.
2012-06-10 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-common.txt:
* data/tdict-proper.txt:
* data/tdict-city.txt:
* data/tdict-ict.txt: Add words.
2012-06-08 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Belated post-release version suffix added.
2012-06-08 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-city.txt:
* data/tdict-common.txt:
* data/tdict-ict.txt:
* data/tdict-proper.txt:
* data/tdict-spell.txt: Add words.
2012-03-07 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std-compound.txt, data/tdict-std.txt: Fix typos.
2012-02-24 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-common.txt: Add words.
2012-02-21 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in, NEWS:
=== Version 0.1.17 ===
2012-02-21 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Bump library revision, due to code change.
2012-02-21 Theppitak Karoonboonyanan <thep@linux.thai.net>
* tests/test_thbrk.c, tests/test_thwbrk.c: Add acronym to the tests.
2012-02-21 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-history.txt:
* data/tdict-proper.txt:
* data/tdict-city.txt:
* data/tdict-spell.txt:
* data/tdict-ict.txt:
* data/tdict-common.txt: Add words.
2012-02-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (th_brk): Do not break last Thai chunk with
dictionary if it's acronym.
2012-02-14 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-history.txt:
* data/tdict-spell.txt:
* data/tdict-common.txt: Add words.
* data/tdict-geo.txt: Fix typo.
2012-02-08 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-history.txt:
* data/tdict-proper.txt:
* data/tdict-city.txt:
* data/tdict-science.txt:
* data/tdict-geo.txt:
* data/tdict-ict.txt:
* data/tdict-spell.txt:
* data/tdict-district.txt:
* data/tdict-common.txt: Add words.
2012-02-07 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (th_brk): Handle Thai acronyms by detecting
groups of <= 3 Thai characters + '.'. Thanks John Tapsell for
the report and initial patch.
2012-02-07 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thrend/thrend.c (th_render_cell_): Reformat source a little bit.
2012-01-18 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-proper.txt:
* data/tdict-city.txt:
* data/tdict-science.txt:
* data/tdict-ict.txt:
* data/tdict-common.txt: Add words.
* data/tdic-proper.txt, data/tdict-history.txt: Move "ศรีวิชัย" to
-history.
2012-01-18 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Post-release version suffix added.
2011-11-05 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in, NEWS:
=== Version 0.1.16 ===
2011-11-05 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in:
- Remove remaining '$Id'.
- Remove unnecessary AC_SUBST(VERSION).
2011-11-05 Theppitak Karoonboonyanan <thep@linux.thai.net>
* -TODO: Removed, the plan is obsolete.
2011-11-05 Theppitak Karoonboonyanan <thep@linux.thai.net>
* README: Update project URL & e-mail.
* configure.in: Use googlegroups as bug report address.
2011-11-05 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Add bug report address.
2011-11-05 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-history.txt:
* data/tdict-proper.txt:
* data/tdict-spell.txt:
* data/tdict-common.txt: Add words.
* data/tdict-country.txt: Use more popular short name for Saudi Arabia.
2011-10-25 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-common.txt, data/tdict-city.txt: "ไดฟุกุ" is city name.
2011-10-25 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-science.txt:
* data/tdict-common.txt: Add words.
2011-09-03 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-proper.txt:
* data/tdict-common.txt: Add words.
* data/tdict-std.txt: Remove "มาย" which is rare but can potentially
cause ambiguity (e.g. "มายกร่าง"). A valid compound, "เมามาย" is
already in tdict-std-compound.txt.
2011-07-19 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-proper.txt:
* data/tdict-science.txt:
* data/tdict-geo.txt:
* data/tdict-ict.txt:
* data/tdict-common.txt: Add words.
* data/tdict-std-compound.txt: Remove loose compound.
* data/tdict-std.txt:
- Remove rare words which potentially cause ambiguities.
- Remove a duplicated entry.
2011-06-08 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-proper.txt:
* data/tdict-city.txt:
* data/tdict-science.txt:
* data/tdict-geo.txt:
* data/tdict-ict.txt:
* data/tdict-spell.txt:
* data/tdict-common.txt:
* data/tdict-lang-ethnic.txt: Add words.
2011-06-08 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Post-release version suffix added.
2011-03-24 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in, NEWS:
=== Version 0.1.15 ===
2011-03-24 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-history.txt:
* data/tdict-proper.txt:
* data/tdict-city.txt:
* data/tdict-science.txt:
* data/tdict-spell.txt:
* data/tdict-district.txt:
* data/tdict-common.txt: Add words.
2011-03-22 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-proper.txt:
* data/tdict-science.txt:
* data/tdict-spell.txt:
* data/tdict-district.txt:
* data/tdict-common.txt: Add words.
2011-03-22 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-history.txt:
* data/tdict-proper.txt:
* data/tdict-district.txt:
Move 2 names from proper, district to history.
* data/tdict-proper.txt:
* data/tdict-city.txt:
* data/tdict-district.txt:
* data/tdict-common.txt: Add words.
2011-03-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-district.txt:
* data/tdict-history.txt:
Move "หริภุญชัย" from district to history list.
* data/tdict-city.txt:
Change "ฟูกุโอกะ" to "ฟูกูโอกะ", which is statistically more popular.
* data/tdict-history.txt:
* data/tdict-proper.txt:
* data/tdict-city.txt:
* data/tdict-science.txt:
* data/tdict-geo.txt:
* data/tdict-spell.txt:
* data/tdict-common.txt:
Add words.
2011-03-15 Theppitak Karoonboonyanan <thep@linux.thai.net>
Split historical names out of tdict-city.txt and tdict-district.txt.
* data/Makefile.am:
* +data/tdict-history.txt:
* data/tdict-city.txt:
* data/tdict-district.txt:
Split historical names into tdict-history.txt.
* data/tdict-city.txt:
* data/tdict-geo.txt:
* data/tdict-lang-ethnic.txt:
Move 2 names from tdict-city.txt to tdict-geo.txt and
tdict-lang-ethnic.txt.
2011-03-15 Theppitak Karoonboonyanan <thep@linux.thai.net>
Split tdict-country.txt and tdict-city.txt out of tdict-geo.txt
and let tdict-geo.txt keeps only geographical names.
* data/Makefile.am:
* +data/tdict-country.txt:
* +data/tdict-city.txt:
* data/tdict-geo.txt:
- Split country names into tdict-country.txt
- Split city names into tdict-city.txt
* data/tdict-geo.txt:
* data/tdict-lang-ethnic.txt:
- Split language/etchnic names into tdict-lang-ethnic.txt
2011-03-15 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-proper.txt:
* data/tdict-common.txt:
* data/tdict-geo.txt: Add words.
2011-03-14 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-spell.txt:
* data/tdict-proper.txt:
* data/tdict-common.txt:
* data/tdict-geo.txt: Add words.
2011-03-09 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-ict.txt:
* data/tdict-district.txt:
* data/tdict-common.txt:
* data/tdict-science.txt: Add words.
2010-12-27 Theppitak Karoonboonyanan <thep@linux.thai.net>
Adjust dictionary, as per Widhaya's feedback:
http://groups.google.com/group/thai-linux-foss-devel/browse_thread/
thread/986f74d786c9bace
* data/tdict-std-compound.txt:
* data/tdict-std-common.txt:
- Remove some compounds that may cause potential ambiguities.
* data/tdict-spell.txt:
* data/tdict-common.txt:
- Add words.
2010-12-23 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-{common,geo}.txt: Add words.
2010-05-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-{district,common,science}.txt: Add words.
2010-03-14 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Post-release version suffix added.
Turn off manpages generation
* doc/Doxyfile.in: Turn GENERATE_MAN off.
* doc/Makefile.am: Remove man targets.
2010-02-28 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Bump library revision.
* configure.in, NEWS:
=== Version 0.1.14 ===
2010-02-28 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-{ict,proper,common}.txt: Add words.
2010-02-28 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thcoll/cweight.c (char_weight_tbl_): Replace TIS-620 characters
in comments with character names.
* src/thctype/thctype.c (_th_ctype_tbl, _th_chlevel_tbl): Remove
non-TIS-620 characters from comments. Convert source to UTF-8.
2010-02-27 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (brk_get_dict): Limit path[] scope.
2010-02-27 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (brk_get_dict): Print some warning when
dictionary opening fails.
2010-02-27 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (brk_get_dict): Do not try to open dictionary
again if once tried. Multiple failing trials degraded performance.
2010-02-25 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/*.h, src/*.c, src/*/*.c: Add my e-mail address to
license header as the contact address.
* src/thctype/wtt.c,
* src/thctype/thctype.c,
* src/thcoll/cweight.h,
* src/thcoll/cweight.c,
* src/thwctype/thwctype.c:
Add editor modeline.
2010-02-24 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thinp/thinp.c,
* src/thrend/thrend.c,
* src/thcoll/thcoll.c,
* src/thcoll/cweight.c,
* src/thwstr/thwstr.c,
* src/thwchar/thwchar.c,
* src/thwbrk/thwbrk.c,
* src/thstr/thstr.c,
* src/thcell/thcell.c:
Reformat source. Add editor modeline.
2010-02-24 Theppitak Karoonboonyanan <thep@linux.thai.net>
* tests/thsort.c: Yet another GPL header leftover removal.
Update my e-mail address.
2010-02-24 Theppitak Karoonboonyanan <thep@linux.thai.net>
Replace <thai/tis.h> with a rewritten one, so we can enforce the
license.
* include/thai/tis.h:
Rewritten based on Unicode names, with TIS_ prefix.
* src/thinp/thinp.c (corrections, th_validate),
* src/thrend/thrend.c (shiftdown_tone_ad, shiftdownleft_tone_ad,
shiftleft_tone_ad, shiftdown_bv_bd, tailcutcons, th_render_cell_,
th_render_cell_tis),
* src/thbrk/brk-maximal.c (th_brkpos_hints),
* src/thcell/thcell.c (th_next_cell, th_prev_cell),
* tests/test_thcell.c (test_ans_nodecomp_am, test_ans_decomp_am):
Update character names to the new TIS_* ones.
2010-02-24 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/*.h, src/*.c, src/*/*.c,
* Makefile.am, include/Makefile.am, include/thai/Makefile.am,
* src/Makefile.am, src/*/Makefile.am,
* tests/*.c, tests/*.sh,
* tests/Makefile.am,
* data/Makefile.am,
* man/template.3, man/man3/*.3,
* man/Makefile.am, man/man3/Makefile.am:
Remove CVS $Id in all files.
* src/thctype/wtt.c: Fix file name in comment.
2010-02-24 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/*.h, src/*.c, src/*/*.c: Add license header to every
source file.
2010-02-23 Theppitak Karoonboonyanan <thep@linux.thai.net>
* doc/Makefile.am: The added *.c dependencies must be from src/*/*.c,
not include/thai/*.c. Silly copy-and-paste error.
2010-02-23 Theppitak Karoonboonyanan <thep@linux.thai.net>
* doc/Makefile.am: Add *.c to doxygen.stamp dependency, as the doc
comments have been moved there.
2010-02-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (brk_root_pool): Fail if brk_get_dict()
returns NULL.
2010-02-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-{ict,proper,common,science}.txt: Add words.
2010-01-30 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thcoll/cweight.c, src/thcoll/cweight.h, src/thcoll/thcoll.c:
Remove GPL header left over. The library is LGPL.
2010-01-25 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/brk-maximal.c (brk_root_pool): Fail if brk_pool_node_new()
returns NULL.
* src/brk-maximal.c (brk_maximal_do_impl): Fail if best_brk_new()
returns NULL.
2010-01-25 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Post-release version suffix added.
2010-01-15 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Bump library revision.
* configure.in, NEWS:
=== Version 0.1.13 ===
2010-01-15 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Add 'AC_CONFIG_MACRO_DIR([m4])' for the new libtool.
2010-01-15 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thwchar/thwchar.c (th_tis2uni_line, th_uni2tis_line):
Fix type of 'result' argument to match that in header file, so
doxygen recognizes and generates doc for it.
2010-01-15 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-{proper,common}.txt: Add words.
2010-01-14 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/thctype.h, src/thctype/thctype.c: Replace non-portable
isascii() with most-significant bit check.
2010-01-14 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-{common,geo}.txt: Add words.
2010-01-14 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/thailib.h, src/libthai.c: Move more doc comments.
2010-01-09 Theppitak Karoonboonyanan <thep@linux.thai.net>
Move documentation from *.h to *.c, so libthai developers have the doc
at hand. Users can still read the doxygen-generated doc BTW.
* include/thai/*.h, src/*/*.c: Move doc comments from *.h to *.c.
* doc/Doxyfile.in: Set INPUT to @top_srcdir@.
2010-01-08 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-{proper,common,geo}.txt: Add words.
2010-01-08 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (brk_shot_init):
Return failure/success status.
* src/thbrk/brk-maximal.c (brk_pool_node_new):
Check & handle return code from brk_shot_init().
2010-01-08 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thwbrk/thwbrk.c (th_wbrk, th_wbrk_line):
Rewritten, for harmony with the rests of the source, plus potential
integer overflow vulnerability removed.
2010-01-08 Theppitak Karoonboonyanan <thep@linux.thai.net>
Fix potential integer overflow vulnerabilities.
Thanks Tim Starling <tstarling@wikimedia.org> for pointing out.
* src/thbrk/thbrk.c (th_brk_line): Return zero if malloc size overflows
or malloc fails.
* src/thbrk/brk-maximal.c (best_brk_new): Return NULL if malloc size
overflows.
2009-08-22 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Post-release version suffix added.
* data/tdict-std-compound.txt: Remove loose compounds.
* data/tdict-{ict,district,proper,common,science,lang-ethnic,geo}.txt:
Add words.
2009-06-18 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Bump library revision.
* configure.in, NEWS:
=== Version 0.1.12 ===
2009-06-18 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std-compound.txt: Remove loose compounds.
2009-06-18 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std-compound.txt: Remove loose compounds.
* data/tdict-{ict,district,proper,common,science,geo}.txt: Add words.
2009-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (brk_maximal_do_impl, best_brk_contest):
Back out weighted scoring for solution contest, as it sometimes tries
too hard to minimize word count, even though another solution with more
known words can match more text and results in smaller unknown zone.
Accidental words problem, which this scheme tried to address, has
already been alleviated with increased recovery threshold.
2009-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (brk_maximal_do_impl): Add break pos at
string end and let it enter the contest, instead of backing it out by
moving back str_pos as done in previous commit. That commit just
missed the point. Doing the right thing also guarantees consistency
with the case when some text of valid words is appended to the string.
2009-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (brk_maximal_do_impl): Set str_pos for cases
that fail at string end back to the last progress position, to prevent
it from wrongly winning the contest over some good candidates.
2009-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/tkbrk/brk-maximal.c (RECOVERED_WORDS): Increase recovery
threshold, 2 is too few and can trigger wrong recovery position too
easily.
2009-06-15 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/Makefile.am, +data/tdict-lang-ethnic.txt: Add a new category.
* data/tdict-{common,geo}.txt, data/tdict-lang-ethnic.txt:
Move some words to the new category.
* data/tdict-{lang-ethnic,ict,spell,proper,common,science,geo}.txt:
Add words.
* data/tdict-std.txt: Remove a duplicated compound.
2009-06-13 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (best_brk_contest): Compare penalties with
'<=' like in previous code, instead of '<', to retain longest-matching
effect in case of equal scores.
2009-06-10 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std-compound.txt: Remove loose compounds.
* data/tdict-{common,proper}.txt: Move a proper noun to tdict-proper.
* data/tdict-{ict,spell,district,proper,common,science,geo}.txt:
Add words.
2009-06-10 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (brk_maximal_do_impl, best_brk_contest):
Use weighted scoring, rather than parameters prioritization, to choose
better solution.
2009-06-10 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (brk_maximal_do_impl): When recovering from
error, try to recover from the position next to the last break,
rather than right at the crash position. We care the input string,
not what it's being partially matched against.
2009-06-10 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (brk_recover): When checking a character in
text, brk pos returned from brk_recover_try() are relative to
'text + p', not 'text'.
2009-06-10 Theppitak Karoonboonyanan <thep@linux.thai.net>
Split normal word break and recovery routines apart.
* src/thbrk/brk-maximal.c (brk_maximal_do_impl, +brk_recover_try):
- Split brk_maximal_do_impl() into itself with (do_recover == 1) and
brk_recover_try() with (do_recover == 0), for logic simplification.
- Strip unnecessary tasks like best break contests and penalties from
brk_recover_try(). All it needs is existence of a solution,
regardless of its quality.
- Use memcpy() to copy brk pos arrays instead of for loop.
* src/thbrk/brk-maximal.c (brk_maximal_do, brk_recover):
- Adjust calls to brk_maximal_do_impl() and brk_recover_try()
according to the changed prototypes.
2009-06-10 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (brk_maximal_do_impl): Add one missing change
for last commit.
2009-06-10 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (brk_maximal_do_impl): Update 'shot' after
'node' is changed, instead of referencing through the possibly new
'node' value, for code readability.
2009-06-10 Theppitak Karoonboonyanan <thep@linux.thai.net>
Beautify code.
* src/thbrk/brk-maximal.c (th_brkpos_hints): Adjust indents.
* src/thbrk/brk-maximal.c (brk_recover): Adjust brackets.
2009-06-10 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (th_brkpos_hints): Add check for cases like
'เฉพาะ'.
2009-06-07 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Remove obsolete Win32 checking stuffs.
2009-06-07 Theppitak Karoonboonyanan <thep@linux.thai.net>
Add symbol versioning.
* configure.in: Check for -version-script support in linker.
* +src/libthai.map: Add symbol map.
* src/Makefile.am:
- Conditionally supply -version-script, if supported, or
-export-symbols otherwise, to linker.
- Conditionally specify libthai.map or libthai.def as libthai.la
dependency, according to corresponding linker option applied.
- Include libthai.map in EXTRA_DISTS.
2009-06-05 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (th_brkpos_hints):
Fix comment style to C, not C++.
2009-06-05 Theppitak Karoonboonyanan <thep@linux.thai.net>
Fix wrong case of syllable like 'ช็อก'.
* src/thbrk/brk-maximal.c (th_brkpos_hints):
- The case of SARA E/AE with next third character as MAITAIKHU should
not apply when the MAITAIKHU is followed by O ANG or WO WAEN.
That's a signature of new syllable, such as 'ช็อก'.
- Add the case of syllable like 'ช็อก' or 'ช็วก'.
2009-06-05 Theppitak Karoonboonyanan <thep@linux.thai.net>
Refactor so brk hints is prepared only once per brk_maximal_do() call.
* src/thbrk/brk-maximal.c (brk_maximal_do, +brk_maximal_do_impl):
Split implementation code into _impl() function, and let the
original brk_maximal_do() be a wrapper doing necessary preparations.
* src/thbrk/brk-maximal.c (brk_recover):
Call brk_maximal_do_impl() instead of brk_maximal_do(), passing the
appropriate brk hints subarray to it.
* src/thbrk/brk-maximal.{c,h} (brk_maximal_do):
* src/thbrk/thbrk.c (th_brk):
Drop the do_recover arg from brk_maximal_do(), as it's now a wrapper
which can seed initial condition for the mutual recursion.
* src/thbrk/brk-maximal.c (th_brkpos_hints): Add prototype.
2009-06-04 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (th_isleadable -> th_brkpos_hints):
- Turn simple leadable check into a pre-processed break position
hinting. Instead of doing the complicated checks on every loop,
now the clients just check the prepared boolean array.
- Add more complicated cases, such as Thai composite vowels.
* src/thbrk/brk-maximal.c (brk_recover):
- Change prototype to accept brk pos hints, so it doesn't need to be
recalculated.
- Drop additional checks of preceeding ldvowel, as it's already
covered by the brk pos hints.
* src/thbrk/brk-maximal.c (brk_maximal_do):
- Pre-calculate brk pos hints on entry, and free it on exit.
- Check the hints instead of calling the obsolete th_isleadable().
- Pass the hints to brk_recover().
2009-06-03 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-{ict,proper,common,science,geo}.txt: Add words.
2009-05-27 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-{std-compound,common}.txt: Remove some loose compounds.
* data/tdict-common.txt: Reorder some words.
* data/tdict-{ict,proper,common,science,geo}.txt: Add words.
2009-05-24 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/Makefile.am: Refactor and add sublibs to libthai.la dependencies,
so the final library gets rebuilt when its sub-libraries are changed.
2009-05-22 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (th_isleadable): Consonant following
MAITAIKHU is not always unleadable, such as after "ก็". So, drop the
case.
2009-05-18 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (th_isleadable): Also check for certain
vowels like MAITAIKHU, MAIHUNAKAT, SARA UEE in previous cell for
non-leadable consonants.
* src/thbrk/brk-maximal.c (brk_maximal_do, brk_recover): Adjust
th_isleadable() calls according to prototype change.
2009-05-16 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (th_isleadable): Prohibit consonants with
THANTHAKHAT from being leadable.
* src/thbrk/brk-maximal.c (brk_maximal_do, brk_recover): Adjust
th_isleadable() calls according to prototype change.
2009-05-15 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-{ict,proper,common,science,geo}.txt: Add words.
2009-05-13 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/Makefile.am, data/tdict-*.txt: Convert wordlists from TIS-620
to UTF-8, for easy management with modern tools.
2009-05-13 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std-compound.txt: Remove some loose compounds.
* data/tdict-{ict,spell,district,proper,common,science,geo}.txt:
Add words.
2009-05-07 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-{ict,district,proper,common,science,geo}.txt: Add words.
* data/tdict-proper.txt: Sort some words properly.
2009-04-29 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-{ict,proper,common,science,geo}.txt: Add words.
2009-04-22 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Post-release version prefix added.
* data/tdict-{ict,district,proper,common,geo}.txt: Add words.
* data/tdict-{common,collection}.txt: Move some collection of words
to appropriate category.
2009-04-06 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Bump library revision.
* configure.in, NEWS:
=== Version 0.1.11 ===
2009-04-05 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-{ict,district,proper,common,science,geo}.txt: Add words.
2009-03-31 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Post-release version suffix added.
* libthai.pc.in: Require datrie-0.2 privately, to avoid exposing it
unnecessarily to applications. This had even caused upgrading problem
when libdatrie with different soname versions are loaded
simultaneously, one from the application, and the other from libthai.
And with libdatrie poor symbols handling, this had caused name clash.
Thanks Loic Minier for pointing out the cause.
2009-03-30 Theppitak Karoonboonyanan <thep@linux.thai.net>
* libthai.pc.in: Requires datrie-0.2 instead of datrie.
* configure.in: Bump library revision.
* configure.in, NEWS:
=== Version 0.1.10 ===
2009-03-30 Theppitak Karoonboonyanan <thep@linux.thai.net>
* tdict-{common,district,ict,proper}.txt: Add words.
* tdict-std.txt: Remove 2 potentially ambiguous words.
2009-03-30 Theppitak Karoonboonyanan <thep@linux.thai.net>
* tdict-{district,proper,common,geo}.txt: Add words.
* tdict-collection.txt: Add another variant of "x" transcription.
2009-03-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std-compound.txt: Removed potentially ambiguous word.
* data/tdict-{ict,district,science}.txt: Add words.
2009-03-12 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-{common,geo,ict,spell}.txt: Add words. Move word from
-common to -spell as appropriate.
2009-01-21 Theppitak Karoonboonyanan <thep@linux.thai.net>
First SVN commit.
* data/tdict-{common,geo}.txt: Add words.
2009-01-08 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-common.txt, data/tdict-proper.txt:
Move more proper nouns from tdict-common.
* data/tdict-{collection,common,district,geo,ict,proper,science,
spell}.txt: Add words.
2008-12-28 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (brk_get_dict):
Move comment to proper place.
2008-12-28 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (brk_get_dict):
Adjust code so that brk_dict is not checked twice for normal cases.
2008-12-28 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (brk_maxmimal_do):
Call trie_state_is_single() instead of trie_state_is_leaf() when a
state is known to be terminal, eliminating redundant check.
(Requires libdatrie >= 0.1.99.2+cvs20081228)
2008-12-27 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c
(brk_shot_init, brk_shot_reuse, best_brk_contest):
Use memcpy() to copy arrays, rather than iteration via array index.
Yet another minor performance improvement.
* src/thbrk/brk-maximal.c (brk_shot_reuse):
Re-allocate 'brk_pos' array only when growing, and never bother
shrinking it.
2008-12-26 Theppitak Karoonboonyanan <thep@linux.thai.net>
Reuse break pool nodes more deeply, improving performance a little bit.
(Requires libdatrie >= 0.1.99.2+cvs20081226)
* src/thbrk/brk-maximal.c
(brk_shot_copy -> brk_shot_init, +brk_shot_reuse):
Split brk_shot_copy() into brk_shot_init() and brk_shot_reuse().
The former is for newly created nodes, while the latter is for
reusing old nodes, with memory reallocation minimized.
* src/thbrk/brk-maximal.c (brk_pool_node_new):
Separately call brk_shot_init() and brk_shot_reuse() per case.
* src/thbrk/brk-maximal.c (brk_pool_free):
Do not destruct BrkShot member. Keep it for further reuses.
* src/thbrk/brk-maximal.c (brk_pool_allocator_clear):
..And actually destruct it here.
* src/thbrk/brk-maximal.c (brk_root_pool):
Save one malloc() call for temporary 'root_shot'.
2008-12-26 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/brk-maximal.c (brk_pool_get_node, brk_maximal_do):
Get rid of unused arg 's' for brk_pool_get_node().
2008-12-26 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-ict.txt: Add words.
2008-12-23 Theppitak Karoonboonyanan <thep@linux.thai.net>
Add housekeeping routine to clean up dictionary.
* src/Makefile.am, src/dummy.c -> libthai.c, src/libthai.def:
Add destructor function in .fini section, to be called on library
unload.
* src/thbrk/Makefile.am, +src/thbrk/thbrk-private.h, src/thbrk/thbrk.c
(thbrk_on_unload):
Add on-unload function for thbrk module.
* src/thbrk/brk-maximal.h, src/thbrk/brk-maximal.c
(brk_get_dict, brk_maximal_on_unload):
- Move 'brk_dict' static var from function to file scope
- Add on-unload function to clean up dictionary
2008-12-23 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/brk-maximal.c (brk_maximal_do): Adjust if-block a little bit.
2008-12-23 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-{geo,ict}.txt: Add words.
2008-12-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/Makefile.am, +data/tdict-proper.txt, data/tdict-common.txt:
Split proper nouns from tdict-common.txt into a new list.
* data/tdict-{common,proper}.txt: Add words
2008-12-16 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/Makefile.am: No need to install 'thbrk.abm' any more.
2008-12-15 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-{common,geo,ict}.txt: Add words.
2008-12-15 Theppitak Karoonboonyanan <thep@linux.thai.net>
Switch to libdatrie 0.2. (Requires libdatrie >= 0.1.99.2)
* configure.in:
- Check for 'trietool-0.2' binary instead of 'trietool'
- Check for 'datrie-0.2' pkg-config instead of 'datrie'
* src/thbrk/brk-maximal.c:
- Replace 'SBTrie' with 'Trie'
- Replace 'SBTrieState' with 'TrieState'
- Replace 'sb_trie_*' function calls with corresponding 'trie_*'
- For 'sb_trie_state_walk()', also convert TIS-620 char to UCS-4
before actually walking
- For 'sb_trie_open()', replace with 'trie_new_from_file()', plus
dir + path combined
* data/Makefile.am:
- Replace '*.br' and '*.tl' targets with '*.tri'
- Add '-e tis-620' command-line argument to trietool
* data/Makefile.am, data/thbrk.sbm -> data/thbrk.abm:
- Replace 'thbrk.sbm' (TIS-620) with 'thbrk.abm' (Unicode)
* tests/Makefile.am:
- Add 'libthwchar.la' where 'libthbrk.la' is used, as th_tis2uni()
is required there
2008-06-24 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in, Makefile.am: Add --disable-dict option to prevent
dictionary data generation.
2007-10-18 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/thctype.h:
* src/thcell/thcell.c:
* src/thcoll/cweight.c:
* src/thcoll/cweight.h:
* src/thcoll/thcoll.c:
* src/thctype/thctype.c:
* src/thctype/wtt.c:
* src/thinp/thinp.c:
* src/thrend/thrend.c:
* src/thstr/thstr.c:
* src/thwchar/thwchar.c:
* src/thwstr/thwstr.c: Update my e-mail address.
2007-10-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/libthai.def: List only symbols in plain format, for Mac build.
Thanks Vee Satayamas for the report.
* src/Makefile.am: Add libthai.def as libthai_la_DEPENDENCIES.
2007-08-28 Theppitak Karoonboonyanan <thep@linux.thai.net>
* NEWS:
=== Version 0.1.9 ===
2007-08-28 Theppitak Karoonboonyanan <thep@linux.thai.net>
* tests/test_thbrk.c (main), tests/test_thwbrk.c (main): Update check
values, according to the new compound words support.
2007-08-28 Theppitak Karoonboonyanan <thep@linux.thai.net>
* doc/Doxyfile.in: Update for doxygen 1.5.3.
2007-08-22 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std[-compound].txt: Remove rare words. Rearrange and add
compounds. (O Ang - Ho Nokhuk)
* data/tdict-{common,spell}.txt: Add words.
2007-08-15 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std[-compound].txt: Remove rare words. Rearrange and add
compounds. (Ho Hip)
* data/tdict-{common,geo}.txt: Add words.
2007-08-07 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std[-compound].txt: Remove rare words. Rearrange and add
compounds. (So Sua)
* data/tdict-{common,district,geo,spell}.txt: Add words.
2007-07-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std[-compound].txt: Remove rare words. Rearrange and add
compounds. (Wo Waen - So Rusi)
* data/tdict-{common,ict,scicence,spell}.txt: Add words.
2007-07-12 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std[-compound].txt: Remove rare words. Rearrange and add
compounds. (Ro Rua - Lu)
* data/tdict-{common,science}.txt: Add words.
* data/tdict-district.txt: Move non-province names to the bottom, so
they are separated from provinces. Add two more names.
2007-07-09 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std[-compound].txt: Remove rare words. Rearrange and add
compounds. (Mo Ma - Yo Yak)
* data/tdict-{common,geo,ict,science,spell}.txt: Add words.
2007-07-06 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std[-compound].txt: Remove rare words. Rearrange and add
compounds. (Pho Phan - Pho Samphao)
* data/tdict-{common,spell,ict}.txt: Add words.
2007-06-30 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std[-compound].txt: Remove rare words. Rearrange and add
compounds. (Tho Thahan - Fo Fa)
* data/tdict-{common,spell}.txt: Add words.
2007-06-25 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std[-compound].txt: Remove more rare words. Move some
compound words from -std to -std-compound. Add some missing entries
found. (Restarted from Ko Kai - Tho Thung. We need more space to
continue adding compounds from last commit.)
* data/tdict-{common,ict}.txt: Add words.
2007-06-21 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std[-compound].txt: Add more compound words. Move some
compound words from -std to -std-compound. Remove some rare entries,
to make room for more entries. (~80% done)
* data/tdict-{common,ict}.txt: Add words.
2007-06-18 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/Makefile.am, +data/tdict-std-compound.txt, data/tdict-std.txt:
Split compound words into a new file. Selectively add compound words.
(Half done.)
* data/tdict-{common,ict,science,spell}.txt: Add words.
2007-06-12 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (th_brk): Don't break between CR and LF.
Remove last break if at string end.
* tests/test_th[w]brk.c (main): Update test values.
2007-06-11 Theppitak Karoonboonyanan <thep@linux.thai.net>
Redesign itemization code for th_brk(), aiming at Unicode UAX #14
compatiblity.
* src/thbrk/Makefile.am, +src/thbrk/brk-ctype.{c,h}: Add character
classification table, as well as operation table for breaking between
all class combinations.
* src/thbrk/thbrk.c (th_brk): Rewrite the itemization code, based on
the break class table.
* tests/test_th[w]brk.c (main): Update test values.
2007-06-08 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Post-release version bump.
* data/tdict-{std,common}.txt: Add words.
2007-03-03 Theppitak Karoonboonyanan <thep@linux.thai.net>
* NEWS: Updated.
=== Version 0.1.8 ===
2007-03-03 Theppitak Karoonboonyanan <thep@linux.thai.net>
* tests/test_thbrk.c (main), tests/test_thwbrk.c (main): Fix word
break check values, as white space handling has now been changed.
2007-03-03 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Add AC_LIBTOOL_WIN32_DLL as required for Win32.
* src/Makefile.am (libthai_la_LDFLAGS): Always pass -no-undefined to
enforce all resolved symbols. Thanks Loïc Minier.
2007-03-03 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/Makefile.am (EXTRA_DIST, libthai_la_LDFLAGS), +src/libthai.def:
Add -export-symbols flag to limit exported symbols. Thanks Loïc Minier
for suggestion.
* src/thwstr/thwstr.c (th_wthaichunk): Declare the non-extern func as
static.
2007-03-02 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-common.txt: Added words.
2007-02-04 Theppitak Karoonboonyanan <thep@linux.thai.net>
Yet another fix to white space bug in th_brk(), as spotted by
Suppachoke Santiwitchaya. This is just temporary fix for use while the
planned redesign does not happen.
* src/thbrk/thbrk.c (th_brk): Allow break between Thai punct and white
space.
* src/thbrk/thbrk.c (is_breakable): Allow break between punct and
white space. Remove rule that inhibited break between space and
MAIYAMOK. It was not sufficient anyway, as the space before MAIYAMOK
was still wrapped.
* ChangeLog: Fix wrong date in previous commit.
2007-02-02 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (is_breakable): Allow break before white space.
This fixes wrong treatment of whitespace in HTML in mozlibthai
component, which caused glitches in webpages.
2007-01-13 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-{common,geo,std}.txt: Added words.
2006-10-14 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Post-release version bump.
2006-10-14 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog: Converted to UTF-8.
* NEWS: Updated.
=== Version 0.1.7 ===
2006-10-14 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/Makefile.am: Specify LC_ALL=C to make sure 'sort' always works.
2006-10-14 Theppitak Karoonboonyanan <thep@linux.thai.net>
Fix 'make distcheck', plus a little enhancement on dict location.
* src/thbrk/brk-maximal.c (brk_get_dict): Try openning dict at
$LIBTHAI_DICTDIR environment before the default location.
* tests/Makefile.am, +tests/test-thbrk.sh, +tests/test-thwbrk.sh:
Added wrapper scripts to call test_th[w]brk programs with
LIBTHAI_DICTDIR set to trie in build tree.
* data/Makefile.am (EXTRA_DIST): Do not ship the auto-generated
tdict.txt in source.
2006-10-14 Theppitak Karoonboonyanan <thep@linux.thai.net>
* tests/test_thbrk.c (main), tests/test_thwbrk.c (main): Rearrange
source. Remove some unnecessary variables. Adjust style. Fix warnings.
2006-10-13 Theppitak Karoonboonyanan <thep@linux.thai.net>
* tests/test_thbrk.c (main), tests/test_thwbrk.c (main): Fix checking
value for the length of the output from th_[w]brk_line() tests.
2006-10-11 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std.txt: Added some compound words.
* data/tdict-{common,ict}.txt: Added words.
2006-10-01 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std.txt: Added some compound words.
* data/tdict-{common,ict}.txt: Added words.
2006-09-19 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/Makefile.am (libthbrk_la_SOURCES), src/thbrk/thbrk.c,
+src/thbrk/brk-maximal.{h,c}: Split low-level mechanisms to
brk-maximal module.
* -src/thbrk/cttex.c, -src/thbrk/dict2state.c: Removed unused files.
2006-09-19 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std.txt: Removed rare word (ยาจนก) which potentially
causes wierd ambiguity. Added some more compound words.
* data/tdict-{common,ict,spell}.txt: Added words.
2006-09-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
* TODO: Updated plan. Cleared what have been done.
2006-09-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std.txt: Removed rare words (มาระ, มาริ) which
potentially cause weird ambiguities. Added some more compound words.
* data/tdict-{common,geo}.txt: Added words.
2006-09-15 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std.txt: Added some compound words.
* data/tdict-{common,district,geo,ict,spell}.txt: Added words.
2006-09-12 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std.txt: Removed rare word (มมาก) which potentially
causes ambiguity. Moved entry (มาย) into its compound forms, as it
alone can cause ambiguity. Added some more compound words.
* data/tdict-{common,geo,ict,spell}.txt: Added words.
2006-09-11 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (brk_do): Used is_breakable() to determine
breakability at the end of Thai chunk, instead of hard-coded
condition.
* src/thbrk/thbrk.c (is_breakable): Added condition for Thai chunk
ending. Also added condition so text is not breakable right after
period, comma and semicolon.
* data/tdict-std.txt: Broke "{เมทิล|เอทิล}แอลกอฮอล์" into two words.
* data/tdict-{common,geo,science,spell}.txt: Added words.
2006-09-11 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (is_breakable): Added non-breakable cases:
space + Mai Yamok; * + {right parenthesis|Khomut|...}.
2006-09-11 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (th_brk, is_breakable): Do not break after certain
punctuations like left quote, left parenthesis, etc., also covering
Paiyan Yai sequence.
* data/tdict-common.txt: Removed Paiyan Yai. Added some more words.
2006-09-11 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std.txt: Removed rare word (ทิวสะ) that caused weird
ambiguities. Added some compound words.
* data/tdict-{common,geo,ict,spell}.txt: Added words.
2006-09-07 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-{std,common,district,geo,ict,science,spell}.txt:
Added words.
2006-09-06 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/tdict-std.txt: Removed two rare words (การก, ผลอ) that caused
weird ambiguities. Added some compound words.
* data/tdict-{common,district,geo,ict,science}.txt: Added words.
2006-09-05 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (brk_recover): Guarded against accessing beyond
string end.
* data/tdict-{std,common,geo,ict}.txt: Added more entries.
2006-09-03 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (brk_do): Adjusted condition in previous change a
little bit.
2006-09-03 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (brk_do): (Optimization) In recovery mode, stop
immediately when first solution is found.
2006-09-02 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (brk_recover, brk_do): (Optimization) Remembered
previous recovery result for reuse, cutting off a few repeated
recoveries at the same position.
* data/tdict-{std,common}.txt: Added entries.
2006-09-01 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (best_brk_contest): Adjusted condition so that
equally scored solution that comes later overrides previous one.
Longest matching is preferred as a result for such situation.
* data/tdict-std.txt: Added three more words.
2006-09-01 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (th_isleadable): RU and LU are also leadable.
And don't bother checking for Thai digits. They are never passed.
* src/thbrk/thbrk.c (brk_do): Fixed wrong choosing of nodes with error
at end of string. Added penalty for such cases, and made sure the
break position is not marked.
* data/tdict-{std,science,ict,common}.txt: Added & removed entries.
2006-09-01 Theppitak Karoonboonyanan <thep@linux.thai.net>
* data/Makefile.am, +data/tdict-collection.txt, data/tdict-common.txt:
Split collection sets into tdict-collection.
* data/Makefile.am, +data/tdict-spell.txt, data/tdict-std.txt:
Split common typos or variations into tdict-spell.
* data/tdict-{std,common,ict,district,geo,science}.txt: Moved more
words out of tdict-std. Removed more redundant entries. Fixed typos.
Added more words.
2006-09-01 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/Makefile.am (dictdatadir): Added variable missed during
the tdict split.
* data/tdict-{std,ict,common}.txt: Moved some words out of tdict-std.
Removed duplicated and redundant entries. Added some more words.
2006-08-31 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in, Makefile.am, src/thbrk/Makefile.am, +data/Makefile.am,
src/thbrk/tdict.sbm -> data/tdict.sbm,
src/thbrk/tdict.txt ->
data/tdict-{common,district,geo,ict,science,std}.txt: Moved tdict
generation from source to data directory.
2006-08-31 Theppitak Karoonboonyanan <thep@linux.thai.net>
=== merged from datrie_wbrk-branch into HEAD ===
2006-08-30 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (brk_do): (Optimization) Unified the recovered
node immediately. Chance is that it gets superseded, rather than
picked up in later loop. Rearranged code to eliminate source
duplications.
2006-08-30 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (brk_do): (Optimization) When unifying converted
nodes, clear all matches rather than just the first.
2006-08-30 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (brk_do): (Optimization) When successfully
recovered, stop walking immediately, increasing chance to be
superseded earlier by better candidate. Also removed unnecessary check
for str_pos < len, because it's guaranteed by brk_recover() when return
value is not -1.
2006-08-29 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (+brk_pool_allocator_use,
brk_pool_allocator_clear): Guarded the free list with ref count, for
thread safety.
* src/thbrk/thbrk.c (th_brk): Requested to use the break pool
allocator at the beginning.
2006-08-29 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (brk_pool_node_new, brk_pool_free_node):
~(Optimization) Kept freed BrkPool nodes for reuse in next allocation,
reducing calls to malloc().
* src/thbrk/thbrk.c (+brk_pool_allocator_clear, th_brk): Cleared the
free list when work is done.
2006-08-29 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (brk_do): Calculated penalty for unrecoverable
string with (len - recent break), not (strlen(s) - recent break).
2006-08-29 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in (LT_REVISION): Incremented library revision.
* src/thbrk/thbrk.c (brk_do): (Optimization) Do not contest best break
when trie walking crashes in recover mode. It won't win recovery
criterion anyway. Also got rid of one inner loop condition.
2006-08-29 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (brk_recover): Do not try to recover after a
leading vowel.
2006-08-26 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (th_brk): Tokenized mixed Thai-English text and
called brk_do() chunk by chunk.
* src/thbrk/thbrk.c (brk_do, brk_recover): Accepted string and length
rather than null-terminated string, to support chunk-wise breaking.
2006-08-26 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (brk_pool_delete): Adjusted code, for tiny
performance improvement, esp. when deleting first node.
2006-08-25 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/tdict.txt: Manually revised word list. Removed some
archaic or obsolete words. Added some new terms.
2006-08-24 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c: s/penulty/penalty/. :-P
2006-08-24 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/thbrk.c (brk_do): Calculated penalty more accurately by
measuring distance from recent break pos, rather than the crash pos.
Also added penalty on recovery failure.
* src/thbrk/thbrk.c (best_brk_contest): Fixed boolean expression by
adding parentheses.
2006-08-23 Theppitak Karoonboonyanan <thep@linux.thai.net>
* libthai.pc.in: Added datrie to Requires.
* src/thbrk/Makefile.am: Removed old dict before rebuilding.
* src/thbrk/thbrk.c (th_brk_line): Added implementation.
* src/thbrk/thbrk.c (brk_do): Be satisfied with terminal state only if
the following character can begin a word.
* src/thbrk/thbrk.c (BrkShot, BestBrk, brk_root_pool, brk_do,
brk_shot_copy, best_brk_new, best_brk_contest): Added penulty
on crash recovery, and considered it when contesting shots. This can
prevent long crash shots from showing up as maximally matched.
2006-08-22 Theppitak Karoonboonyanan <thep@linux.thai.net>
=== begin of datrie_wbrk-branch ===
* configure.in, src/thbrk/Makefile.am, src/thbrk/thbrk.c,
+src/thbrk/thbrk.sbm: Replaced old thbrk from cttex with my new
version written from scratch.
2006-08-22 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Post-release version bump.
2006-08-05 Theppitak Karoonboonyanan <thep@linux.thai.net>
* NEWS, configure.in:
Version 0.1.6.
2006-08-05 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Update library version info, according to recent API
additions.
2006-08-02 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Disable debug by default.
2006-08-02 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Enable doxygen by default.
* configure.in, doc/Makefile.am: Use htmldocdir variable instead of
pkgdocdir/docdir. Let default behavior install html under html/ subdir.
* configure.in, Makefile.am: Exclude man/ subdir, and use
doxygen-generated man pages instead.
* doc/Doxyfile.in: Disable SHOW_INCLUDE_FILES, as showing include
files included from the documented file just confuses readers in the
man pages.
2006-08-02 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/thctype.h, man/man3/thctype.3: Clarify character level
2 and 3 in the document.
2006-08-02 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thinp/thinp.c: Use WTTOp enum instead of int, as per recent
change in wtt.h
2006-08-01 Theppitak Karoonboonyanan <thep@linux.thai.net>
* doc/Makefile.am: Rearrange the man pages.
2006-08-01 Theppitak Karoonboonyanan <thep@linux.thai.net>
* doc/Makefile.am, doc/Doxyfile.in: Generate man links and selectively
install man pages.
2006-08-01 Theppitak Karoonboonyanan <thep@linux.thai.net>
* doc/Makefile.am: Use html.stamp target to prevent unneccessary
generation of document.
2006-08-01 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/thctype.h: Fix HTML errors in documentation comments.
* include/thai/thctype.h, man/man3/thctype.3: Fix typo.
* include/thai/thrend.h: Fix errors in doxygen tags in comments.
2006-08-01 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/wtt.h, src/thctype/wtt.c: Add documentation from wtt.3.
Use enum instead of #define.
* man/man3/wtt.c: Revised.
2006-08-01 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/thctype.h: Add documentation taken from thctype.3.
* man/man3/thctype.3: Revised.
* doc/Doxyfile.in: Append "include" to STRIP_FROM_PATH.
2006-07-31 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thailib.h: Add main page using content from libthai.3.
* man/man3/libthai.3: Fix typos.
2006-07-31 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/{thbrk,thcoll}.h: Fix typos in comments.
* include/thai/{thwbrk,thwchar,thwcoll,thwctype,thwstr}.h:
Edit comments for documentation.
* include/thai/thwctype.h, src/thwctype/thwctype.c: Add missing
functions corresponding to thctype: th_wcisthdiac,
th_wcistaillesscons, th_wcisovershootcons, th_wcisundershootcons,
th_wcisundersplitcons.
2006-07-31 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in, Makefile.am, +doc/, +doc/Doxyfile.in,
+doc/Makefile.am: Add document generation with doxygen.
* include/thai/{thailib,thbrk,thcell,thcoll,thctype,thinp,thrend,
thstr}.h: Edit comments for documentation.
2006-07-03 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thcoll/cweight.c (th_char_weight_()): Remove unnecessary check
of c's range that always yields true.
* src/thwchar/thwchar.c (uni2thai_ext_()): Fix loop condition that
always yielded true due to range of data type.
2006-07-03 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thinp/thinp.c, src/thrend/thrend.c: Add missing <string.h>.
2006-05-04 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in, src/Makefile.am: Add check and condition for Win32
build with cygwin/mingw.
2006-03-13 Theppitak Karoonboonyanan <thep@linux.thai.net>
* NEWS, configure.in:
Version 0.1.5.
2006-03-13 Theppitak Karoonboonyanan <thep@linux.thai.net>
* tests/test_thwbrk.c: Allocate more buffer for th_brk_line() output,
fixing bogus bug that blocks the test.
2006-03-13 Theppitak Karoonboonyanan <thep@linux.thai.net>
* tests/test_thwbrk.c: Print out the strings in problem when the
result from th_brk_line() and th_wbrk_line() do not match.
2006-03-13 Theppitak Karoonboonyanan <thep@linux.thai.net>
* tests/test_thcell.c: Fix bug in test_th_prev_cell() due to wrong
variable referencing.
2006-02-18 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/tkbrk/Makefile.am: Remove map.c from cttex sources, to fix
compiling bug caused by building map.o with and without libtool.
2006-02-18 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in, src/Makefile.am: Add -version-info into LDFLAGS.
We start maintaining library version info from now on.
2005-10-28 Theppitak Karoonboonyanan <thep@linux.thai.net>
* COPYING: Update FSF address.
2005-10-09 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in:
Formatted configure options help strings with AC_HELP_STRING().
Used --disable/--enable help style rather than --enable with default
yes or no.
2005-03-15 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thrend/thrend.c:
Add Mac PUAs for baseless Tho Than and Yo Ying, as well as lowered
version of lower marks.
* tests/test_thrend.c:
Update tester accodingly.
2005-03-02 Pattara Kiatisevi <ott@linux.thai.net>
* src/thbrk/:
Debug information (default commented out)
Some new words added to tdict.txt
2005-01-13 Pattara Kiatisevi <ott@linux.thai.net>
* src/thbrk/thbrk.c:
A space is considered and returned as a breakable point
2004-10-16 Theppitak Karoonboonyanan <thep@linux.thai.net>
* NEWS, configure.in:
Version 0.1.4.
2004-10-13 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thstr/thstr.c (th_normalize):
Handle char of "Level 3".
* src/thinp/thinp.c (th_validate):
Handle correction of char of "Level 3".
2004-10-13 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thcell/thcell.c (th_next_cell):
Check for acell.hilo before placing repeated SARA AM into the same
cell.
* tests/test_thcell.c:
Add test case for repeated SARA AM.
2004-10-12 Theppitak Karoonboonyanan <thep@linux.thai.net>
* tests/test_thctype.c (test_bool_funcs):
Rewrite if-do-while loops with clearer while loops. Get rid of warning
of range checking.
* tests/test_thbrk.c, tests/test_thwbrk.c, test_thwchar.c:
Add missing string.h includes.
2004-10-12 Theppitak Karoonboonyanan <thep@linux.thai.net>
Handle the case of NIKHAHIT and MAITAIKHU, which can be in either
above or top level. This behavior is defined as "level 3" in
th_chlevel() returning value.
* src/thcell/thcell.c (th_next_cell, th_prev_cell):
Conditionally place character of weight 3 at above or top level.
* src/thctype/thctype.h (th_chlevel):
Document the "level 3".
* src/thctype/thctype.c (_th_chlevel_tbl):
Change levels of NIKHAHIT and MAITAIKHU to 3.
* tests/test_thcell.c, tests/test_thrend.c:
Add the test cases of NIKHAHIT and MAITAIKHU at top level.
2004-05-15 Pattara Kiatisevi <ott@linux.thai.net>
* set the mode of cttex to firstmode=1 (we want it fast)
2004-04-08 Theppitak Karoonboonyanan <thep@linux.thai.net>
* AUTHORS:
Update e-mail addresses.
2004-02-22 Theppitak Karoonboonyanan <thep@linux.thai.net>
* tests/test_thrend.c:
Update check values as per new blank base glyph.
* NEWS, configure.in:
Version 0.1.3
2004-01-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/thrend.h, src/thrend/thrend.c:
Use TH_BLANK_BASE_GLYPH as a base for floating upper/lower vowels.
2003-09-10 Theppitak Karoonboonyanan <thep@linux.thai.net>
*** Stop using CVS-generated ChangeLog, as it's hard to read ***
* include/thai/Makefile.am:
List the missing thwstr.h.
* man/man3/Makefile.am:
Add EXTRA_DIST to include missing man pages.
* man/template.3, man/man3/*.3:
Change my e-mail address.
* tests/test-thcoll.sh:
Also remove out.txt, to pass 'make distcheck'.
* TODO:
Add TODO about normalization rules.
* NEWS, configure.in:
Version 0.1.2.
2003-03-23 Sunday 20:26 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.55), src/thctype/wtt.c (1.3): Fix TACio_op_[] data
for (FV1,NON) and (FV1,LV).
2003-03-23 Sunday 20:23 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.54), include/thai/thcell.h (1.6),
src/thcell/thcell.c (1.7): Add th_cell_init() function.
2003-02-02 Sunday 15:45 Pattara Kiatisevi <ott@linux.thai.net>
* debian/: ex.package.doc-base (1.2), files (1.2),
libthai0.postinst.debhelper (1.2), libthai0.postrm.debhelper (1.2),
libthai0.substvars (1.2): -some more bullshits
2003-02-02 Sunday 15:44 Pattara Kiatisevi <ott@linux.thai.net>
* debian/: conffiles.ex (1.2), cron.d.ex (1.2), emacsen-install.ex
(1.2), emacsen-remove.ex (1.2), emacsen-startup.ex (1.2), init.d.ex
(1.2), manpage.1.ex (1.2), manpage.sgml.ex (1.2), menu.ex (1.2),
postinst.ex (1.2), postrm.ex (1.2), preinst.ex (1.2), prerm.ex
(1.2), shlibs.local.ex (1.2), watch.ex (1.2): -remove these
bullshits
2003-02-02 Sunday 15:35 Pattara Kiatisevi <ott@linux.thai.net>
* debian/: README.Debian (1.1), changelog (1.1), conffiles.ex
(1.1), control (1.1), copyright (1.1), cron.d.ex (1.1), dirs (1.1),
docs (1.1), emacsen-install.ex (1.1), emacsen-remove.ex (1.1),
emacsen-startup.ex (1.1), ex.package.doc-base (1.1), files (1.1),
init.d.ex (1.1), libthai-dev.dirs (1.1), libthai-dev.files (1.1),
libthai0.dirs (1.1), libthai0.files (1.1),
libthai0.postinst.debhelper (1.1), libthai0.postrm.debhelper (1.1),
libthai0.substvars (1.1), manpage.1.ex (1.1), manpage.sgml.ex
(1.1), menu.ex (1.1), postinst.ex (1.1), postrm.ex (1.1),
preinst.ex (1.1), prerm.ex (1.1), rules (1.1), shlibs.local.ex
(1.1), watch.ex (1.1): -let's debianize it
2002-09-20 Friday 21:40 Theppitak Karoonboonyanan <thep@linux.thai.net>
* libthai.pc.in (1.2): Fix Cflags to not descend to thai/ subdir in
include path
2001-10-03 Wednesday 21:52 poonlap
* man/man3/libthai.3 (1.1): Main manpage.
2001-09-30 Sunday 21:03 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.53), configure.in (1.18), include/thai/thwstr.h
(1.2), src/Makefile.am (1.13), src/thwstr/.cvsignore (1.1),
src/thwstr/Makefile.am (1.1), src/thwstr/thwstr.c (1.1): Add a
quick-and-dirty implementation of thwstr.
2001-09-30 Sunday 18:48 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.52), tests/test_thwchar.c (1.4): Add tests for
uni<->win/mac conversion. Use stderr in output messages.
2001-09-25 Tuesday 19:26 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.51), Makefile.am (1.4), configure.in (1.17),
man/.cvsignore (1.1), man/Makefile.am (1.1), man/man3/.cvsignore
(1.1), man/man3/Makefile.am (1.1): Add Makefiles for man pages.
2001-09-22 Saturday 15:19 poonlap
* src/Makefile.am (1.12): Thwbrk is not listed in the
library(typo-error), fixed.
2001-09-17 Monday 08:53 Theppitak Karoonboonyanan <thep@linux.thai.net>
* AUTHORS (1.4), ChangeLog (1.50), include/thai/thwinp.h (1.4): Add
K.Poonlap to AUTHORS. Rename thwciscompose() to thwcisaccept().
2001-09-16 Sunday 21:59 poonlap
* man/: template.3 (1.1), man3/thctype.3 (1.1), man3/wtt.3 (1.1):
Create first man pages for thctype.3, wtt.3 Also template.3
2001-09-14 Friday 21:36 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.48), configure.in (1.16), include/thai/thwctype.h
(1.3), src/Makefile.am (1.11), src/thwctype/.cvsignore (1.1),
src/thwctype/Makefile.am (1.1), ChangeLog (1.49),
src/thwctype/thwctype.c (1.1): Add a quick implementation of
thwctype.
2001-09-14 Friday 21:07 Theppitak Karoonboonyanan <thep@linux.thai.net>
* tests/: test_thbrk.c (1.5), test_thcell.c (1.5): Fix warning.
2001-09-14 Friday 21:05 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.47), src/thwchar/Makefile.am (1.3),
src/thwchar/hashtbl.c (1.2), src/thwchar/hashtbl.h (1.2),
src/thwchar/thwchar.c (1.7): Remove hashing. Use simple linear
search, to get rid of memory leak.
2001-09-14 Friday 20:48 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.46), include/thai/thwchar.h (1.8),
src/thwchar/thwchar.c (1.6): Use lazy creation for hash tables.
2001-09-14 Friday 00:54 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.45), include/thai/thwchar.h (1.7),
src/thwchar/Makefile.am (1.2), src/thwchar/hashtbl.c (1.1),
src/thwchar/hashtbl.h (1.1), src/thwchar/thwchar.c (1.5): Implement
uni2winthai(), uni2macthai() with hash table added in hashtbl.[ch].
2001-08-22 Wednesday 11:41 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.44), include/thai/wtt.h (1.2), src/thcell/thcell.c
(1.6), src/thctype/wtt.c (1.2), src/thinp/thinp.c (1.8),
src/thrend/thrend.c (1.10), src/thstr/thstr.c (1.3),
src/thwchar/thwchar.c (1.4): Add comments. Check naming convention.
Refine coding style.
2001-08-14 Tuesday 13:18 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.43), NEWS (1.5) (utags: r0_1_1): Release Version
0.1.1.
2001-08-14 Tuesday 13:16 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.42): Prepare to release Version 0.1.1.
2001-08-14 Tuesday 13:14 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.ac (1.3): Remove configure.ac.
2001-08-14 Tuesday 13:11 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in (1.15), include/thai/thctype.h (1.8), src/dummy.c
(1.2), src/thbrk/dict2state.c (1.3), src/thcoll/cweight.c (1.3),
src/thcoll/cweight.h (1.3), src/thinp/thinp.c (1.7),
src/thstr/thstr.c (1.2) (utags: r0_1_1): Require autoconf 2.50. Add
--enable-ansi and --enable-debug flags. Turn on all warnings. Fix
warnings.
2001-08-13 Monday 13:07 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.41), NEWS (1.4), README (1.6, r0_1_1), TODO (1.2,
r0_1_1), configure.ac (1.2), configure.in (1.14): Version 0.1.1
2001-08-10 Friday 18:09 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.40), src/thrend/thrend.c (1.9, r0_1_1): Merge
special case of NIKHAHIT with tone/ad in general.
2001-08-10 Friday 18:07 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.39), include/thai/thrend.h (1.8, r0_1_1),
src/thrend/thrend.c (1.8), tests/Makefile.am (1.10, r0_1_1),
tests/test_thrend.c (1.1, r0_1_1): Add test suite for thrend. Fix
bugs in thrend: th_chlevel() typo; treat NIKHAHIT and MAITAIKHU
with shift_left_tone_ad() in th_render_cell(); also shift top-level
character left when collapsed with NIKHAHIT split from SARA_AM.
2001-08-10 Friday 15:25 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.38), include/thai/thcell.h (1.5, r0_1_1),
src/thcell/thcell.c (1.5, r0_1_1): Allow null pointer to struct
thcell_t to be passed in th_next_cell() and th_prev_cell(), where
no cell data will be written back.
2001-08-09 Thursday 20:33 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.37), tests/test_thcell.c (1.4, r0_1_1),
tests/test_thstr.c (1.3, r0_1_1): Add header comments.
2001-08-09 Thursday 20:27 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.35), tests/Makefile.am (1.9), ChangeLog (1.36),
tests/test_thinp.c (1.1, r0_1_1): Add thinp test suite.
2001-08-09 Thursday 18:52 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.34), include/thai/thcell.h (1.4),
src/thcell/thcell.c (1.4), src/thrend/thrend.c (1.7),
tests/test_thcell.c (1.3): Change return types and arguments of
thcell functions to reduce information redundancy.
2001-08-09 Thursday 18:13 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.33), tests/test_thcell.c (1.2): Add
test_th_make_cells().
2001-08-09 Thursday 17:55 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.32), tests/Makefile.am (1.8), tests/test_thcell.c
(1.1): Add thcell test suite.
2001-08-09 Thursday 00:57 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.31), include/thai/thcell.h (1.3),
include/thai/thinp.h (1.8, r0_1_1), include/thai/thrend.h (1.7),
src/thcell/thcell.c (1.3), src/thinp/thinp.c (1.6),
src/thrend/thrend.c (1.6): Rename struct thcell to struct thcell_t,
for naming consistency.
2001-08-09 Thursday 00:52 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.30), include/thai/thinp.h (1.7), src/thinp/thinp.c
(1.5): Change th_validate() to use a cell as context. Define struct
thinpconv_t for describing input buffer conversion.
2001-08-08 Wednesday 20:58 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.29), include/thai/thcell.h (1.2),
src/thcell/thcell.c (1.2): Add th_prev_cell().
2001-08-08 Wednesday 19:49 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.28), autogen.sh (1.4, r0_1_1), configure.ac (1.1):
Add result checking in autogen.sh. Add configure.ac for autoconf
2.50+.
2001-08-08 Wednesday 19:39 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.27), configure.in (1.13), include/thai/Makefile.am
(1.5, r0_1_1), include/thai/thcell.h (1.1), include/thai/thrend.h
(1.6), src/Makefile.am (1.10, r0_1_1), src/thcell/.cvsignore (1.1,
r0_1_1), src/thcell/Makefile.am (1.1, r0_1_1), src/thcell/thcell.c
(1.1), src/thrend/thrend.c (1.5): Split thcell functions into a
separate module.
2001-08-08 Wednesday 11:45 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.26), src/thrend/thrend.c (1.4): Add guards for cells
without base or hilo char.
2001-08-07 Tuesday 19:43 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.25), src/thinp/thinp.c (1.4): Remove uncommon
predefined sequence correction.
2001-08-07 Tuesday 19:40 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.24), include/thai/thrend.h (1.5), include/thai/tis.h
(1.2, r0_1_1), src/thrend/thrend.c (1.3): Fix NULL redefinition in
tis.h. Change rendering function API to return total glyphs.
Implement Win/Mac shaping. Implement string rendering functions.
2001-08-07 Tuesday 17:29 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.23), include/thai/thrend.h (1.4),
src/thrend/thrend.c (1.2): Treat SARA_AM cases. Add is_decomp_am
argument to determine its appearance. Redefine WTT "cell" for
decomposed SARA_AM case. Add code for plain TIS rendering with
SARA_AM concerned.
2001-08-07 Tuesday 16:12 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.22), include/thai/thctype.h (1.7),
src/thctype/thctype.c (1.7, r0_1_1), tests/test_thctype.c (1.2,
r0_1_1): Add consonant shapes classification in thctype, for the
use of elegant renderers.
2001-08-06 Monday 21:08 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.21), configure.in (1.12), include/thai/thrend.h
(1.3), src/Makefile.am (1.9), src/thinp/thinp.c (1.3),
src/thrend/.cvsignore (1.1, r0_1_1), src/thrend/Makefile.am (1.1,
r0_1_1), src/thrend/thrend.c (1.1): Add partial implementation for
thrend (cell clustering). Change cell definition (WTT hilo byte
encoding is too complicated). Use menomic TIS character names in
thinp.c.
2001-08-05 Sunday 19:42 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.20), include/thai/thinp.h (1.6), src/thinp/thinp.c
(1.2): Change th_validate() to take more context. Define conversion
mechanism more deliberately. Implement th_validate().
2001-08-04 Saturday 23:04 Pattara Kiatisevi <ott@linux.thai.net>
* ChangeLog (1.19, r0_1_0): -before release 0.1.0
2001-08-04 Saturday 22:46 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/thailib.h (1.5, r0_1_1, r0_1_0): Resolve conflict.
2001-08-04 Saturday 22:32 Pattara Kiatisevi <ott@linux.thai.net>
* include/thai/thailib.h (1.4): -sunCC prefers ((thchar_t) ~0) than
~((thchar_t) 0) (from P'Thep)
2001-08-04 Saturday 22:26 Pattara Kiatisevi <ott@linux.thai.net>
* src/thwbrk/thwbrk.c (1.5), tests/test_thbrk.c (1.4) (utags:
r0_1_1, r0_1_0): -casting
2001-08-04 Saturday 22:11 Pattara Kiatisevi <ott@linux.thai.net>
* tests/test_thwbrk.c (1.3, r0_1_1, r0_1_0): -casting
2001-08-04 Saturday 22:08 Pattara Kiatisevi <ott@linux.thai.net>
* tests/test_thwchar.c (1.3, r0_1_1, r0_1_0): -change comments to
C-style
2001-08-04 Saturday 21:59 Pattara Kiatisevi <ott@linux.thai.net>
* src/thbrk/thbrk.c (1.8, r0_1_1, r0_1_0): -fix missing casting
between char * and unsigned char *
2001-08-04 Saturday 21:58 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/thwchar.h (1.6, r0_1_1, r0_1_0): Remove duplicated
macro THCHAR_ERR (already defined in thailib.h)
2001-08-04 Saturday 21:45 Pattara Kiatisevi <ott@linux.thai.net>
* src/: thbrk/thbrk.c (1.7), thwbrk/thwbrk.c (1.4): -change
comments to C-style :(
2001-08-04 Saturday 21:40 Pattara Kiatisevi <ott@linux.thai.net>
* tests/test_thbrk.c (1.3): -change comments to C-style :(
2001-08-04 Saturday 21:24 Theppitak Karoonboonyanan <thep@linux.thai.net>
* tests/test_thstr.c (1.2, r0_1_0): Fix signed/unsigned char
warning.
2001-08-04 Saturday 20:57 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thctype/thctype.c (1.6, r0_1_0): Remove weird characters.
2001-08-04 Saturday 20:41 Pattara Kiatisevi <ott@linux.thai.net>
* ChangeLog (1.18): -hmm, do I always need to commit this
ChangeLog?
2001-08-04 Saturday 20:35 Pattara Kiatisevi <ott@linux.thai.net>
* tests/test_thwchar.c (1.2): -remove wprintf, useless
2001-08-04 Saturday 20:29 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.17), NEWS (1.3, r0_1_0): More detailed info in NEWS.
2001-08-04 Saturday 20:16 Pattara Kiatisevi <ott@linux.thai.net>
* NEWS (1.2), README (1.5, r0_1_0): -move release information to
NEWS
2001-08-04 Saturday 20:11 Pattara Kiatisevi <ott@linux.thai.net>
* README (1.4): -more info in RELEASE INFORMATION
2001-08-04 Saturday 20:07 Pattara Kiatisevi <ott@linux.thai.net>
* README (1.3), AUTHORS (1.3, r0_1_1, r0_1_0): -more descriptive
2001-08-04 Saturday 20:04 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in (1.11), include/thai/Makefile.am (1.4),
include/thai/thinp.h (1.5), include/thai/wtt.h (1.1, r0_1_1),
src/Makefile.am (1.8), src/thctype/Makefile.am (1.2, r0_1_1),
src/thctype/wtt.c (1.1, r0_1_1), src/thinp/.cvsignore (1.1,
r0_1_1), src/thinp/Makefile.am (1.1, r0_1_1), src/thinp/thinp.c
(1.1) (utags: r0_1_0): Add WTT 2.0 tables. Partially implement
thinp.
2001-08-04 Saturday 18:08 Theppitak Karoonboonyanan <thep@linux.thai.net>
* AUTHORS (1.2), ChangeLog (1.16), README (1.2), TODO (1.1,
r0_1_0), configure.in (1.10): Release first version 0.1.0
2001-08-03 Friday 18:20 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.15), src/thbrk/Makefile.am (1.7, r0_1_1, r0_1_0),
src/thbrk/cttex.c (1.3, r0_1_1, r0_1_0), src/thbrk/thbrk.c (1.6),
tests/Makefile.am (1.7, r0_1_0): Make thbrk and cttex use thstr
instead of fixline() and adj(). Fix a memory leak.
2001-08-03 Friday 17:51 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.14), configure.in (1.9), include/thai/Makefile.am
(1.3), include/thai/thstr.h (1.1, r0_1_1, r0_1_0),
include/thai/thwstr.h (1.1, r0_1_1, r0_1_0), src/Makefile.am (1.7),
src/thctype/thctype.c (1.5), src/thstr/.cvsignore (1.1, r0_1_1,
r0_1_0), src/thstr/Makefile.am (1.1, r0_1_1, r0_1_0),
src/thstr/thstr.c (1.1, r0_1_0), tests/.cvsignore (1.5, r0_1_1,
r0_1_0), tests/Makefile.am (1.6), tests/test_thstr.c (1.1): Add
thstr, thwstr API set. Add th_normalize() implementation (extracted
from cttex). Fix level table for top characters in thctype.
2001-08-01 Wednesday 20:13 Pattara Kiatisevi <ott@linux.thai.net>
* src/thwbrk/thwbrk.c (1.3): -new implementation, not convert
cutCode to tis620 back and forth
2001-08-01 Wednesday 05:21 Pattara Kiatisevi <ott@linux.thai.net>
* tests/test_thbrk.c (1.2): -cosmetic on error messages
2001-08-01 Wednesday 05:20 Pattara Kiatisevi <ott@linux.thai.net>
* src/thbrk/thbrk.c (1.5): -fix const casting problem
2001-07-31 Tuesday 22:03 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.13), src/thwbrk/thwbrk.c (1.2), tests/test_thwbrk.c
(1.2): Fix changes affected by the revised thwchar.
2001-07-31 Tuesday 22:01 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thwchar/thwchar.c (1.3, r0_1_1, r0_1_0): Revise thwchar.
2001-07-31 Tuesday 20:51 Theppitak Karoonboonyanan <thep@linux.thai.net>
* tests/test_thctype.c (1.1, r0_1_0): Add test_thctype.c to
repository.
2001-07-31 Tuesday 20:50 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.12), tests/.cvsignore (1.4): Add .cvsignore entries
in tests/.
2001-07-31 Tuesday 20:47 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/thctype.h (1.6, r0_1_0), src/thctype/thctype.c
(1.4), tests/Makefile.am (1.5): Add test program for thctype. Fix
many bugs in thctype.
2001-07-31 Tuesday 18:14 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.11), include/thai/thctype.h (1.5),
src/thcoll/thcoll.c (1.3, r0_1_1, r0_1_0), src/thctype/thctype.c
(1.3): Refine thctype interface & implementation (remove win/mac
checking, add combining char checking, fix vowel class bitmasks).
Make thcoll use thctype.
2001-07-30 Monday 18:43 Pattara Kiatisevi <ott@linux.thai.net>
* src/thwbrk/.cvsignore (1.1, r0_1_1, r0_1_0): -.cvsignore
2001-07-30 Monday 18:42 Pattara Kiatisevi <ott@linux.thai.net>
* configure.in (1.8): -add thwbrk
2001-07-30 Monday 18:41 Pattara Kiatisevi <ott@linux.thai.net>
* tests/: Makefile.am (1.4), test_thwbrk.c (1.1), test_thwchar.c
(1.1): -test drivers for thwbrk and thwchar
2001-07-30 Monday 18:40 Pattara Kiatisevi <ott@linux.thai.net>
* src/thwbrk/: Makefile.am (1.1, r0_1_1, r0_1_0), thwbrk.c (1.1):
-thwbrk implementation
2001-07-30 Monday 18:38 Pattara Kiatisevi <ott@linux.thai.net>
* src/: Makefile.am (1.6), thwchar/thwchar.c (1.2): -thwchar
uni2tis620-0 implementation
2001-07-30 Monday 18:37 Pattara Kiatisevi <ott@linux.thai.net>
* include/thai/: thbrk.h (1.4, r0_1_1, r0_1_0), thwbrk.h (1.3,
r0_1_1, r0_1_0), thwchar.h (1.5): -add new interfaces and
descriptions.
2001-07-27 Friday 17:43 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in (1.7), include/thai/thwchar.h (1.4), src/Makefile.am
(1.5), src/thwchar/.cvsignore (1.1, r0_1_1, r0_1_0),
src/thwchar/Makefile.am (1.1, r0_1_1, r0_1_0),
src/thwchar/thwchar.c (1.1): Add half-implementation of thwchar.
2001-07-27 Friday 17:17 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.10), src/thbrk/.cvsignore (1.4, r0_1_1, r0_1_0),
tests/.cvsignore (1.3): Update .cvsignore's in accordance with
test_thbrk
2001-07-27 Friday 17:12 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thbrk/Makefile.am (1.6), src/thbrk/test_thbrk.c (1.5),
tests/Makefile.am (1.3), tests/test_thbrk.c (1.1): Move test_thbrk
to tests/.
2001-07-25 Wednesday 09:11 Theppitak Karoonboonyanan <thep@linux.thai.net>
* .cvsignore (1.3, r0_1_1, r0_1_0), ChangeLog (1.9),
include/.cvsignore (1.2, r0_1_1, r0_1_0), include/thai/.cvsignore
(1.2, r0_1_1, r0_1_0), src/.cvsignore (1.2, r0_1_1, r0_1_0),
src/thbrk/.cvsignore (1.3), src/thcoll/.cvsignore (1.2, r0_1_1,
r0_1_0), src/thctype/.cvsignore (1.2, r0_1_1, r0_1_0),
tests/.cvsignore (1.2): List more auto-generated files to
.cvsignore's.
2001-07-25 Wednesday 04:31 Pattara Kiatisevi <ott@linux.thai.net>
* include/thai/thbrk.h (1.3), src/thbrk/test_thbrk.c (1.4),
src/thbrk/thbrk.c (1.4): -modified the th_brk_line to accept
cutCode as char* instead of int. -modified according to the
changed interface the test program.
2001-07-24 Tuesday 21:23 Theppitak Karoonboonyanan <thep@linux.thai.net>
* Makefile.am (1.3, r0_1_1, r0_1_0), configure.in (1.6),
libthai.pc.in (1.1, r0_1_1, r0_1_0): Add pkg-config metadata.
2001-07-24 Tuesday 20:14 Theppitak Karoonboonyanan <thep@linux.thai.net>
* autogen.sh (1.3, r0_1_0): Remove ineffective warning message
about 'configure'.
2001-07-24 Tuesday 20:00 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/.cvsignore (1.1), include/thai/.cvsignore (1.1),
src/.cvsignore (1.1), src/thbrk/.cvsignore (1.2),
src/thcoll/.cvsignore (1.1), src/thctype/.cvsignore (1.1),
tests/.cvsignore (1.1): Add .cvsignore to subdirs.
2001-07-24 Tuesday 19:51 Theppitak Karoonboonyanan <thep@linux.thai.net>
* COPYING (1.3, r0_1_1, r0_1_0), src/thbrk/Makefile (1.3): Change
license to LGPL. Remove excessive Makefile.
2001-07-24 Tuesday 19:49 Theppitak Karoonboonyanan <thep@linux.thai.net>
* autogen.sh (1.2), configure.in (1.5), src/thbrk/Makefile (1.2):
Remove 'configure' invoking from autogen.sh, output some message.
2001-07-24 Tuesday 19:41 Theppitak Karoonboonyanan <thep@linux.thai.net>
* .cvsignore (1.2), COPYING (1.2), ChangeLog (1.8), INSTALL (1.2),
Makefile.in (1.7), aclocal.m4 (1.3), config.guess (1.2), config.sub
(1.2), configure (1.4), install-sh (1.2), ltmain.sh (1.2), missing
(1.2), mkinstalldirs (1.2), include/Makefile.in (1.6),
include/thai/Makefile.in (1.6), src/Makefile.in (1.6),
src/thbrk/Makefile.in (1.6), src/thcoll/Makefile.in (1.6),
src/thctype/Makefile.in (1.5), tests/Makefile.in (1.6): Remove
autotool-generated files.
2001-07-24 Tuesday 19:31 Theppitak Karoonboonyanan <thep@linux.thai.net>
* .cvsignore (1.1), Makefile.in (1.6), autogen.sh (1.1),
include/Makefile.in (1.5), include/thai/Makefile.in (1.5),
src/Makefile.in (1.5), src/thbrk/Makefile.in (1.5),
src/thcoll/Makefile.in (1.5), src/thctype/Makefile.in (1.4),
tests/Makefile.in (1.5): Add .cvsignore and autogen.sh
2001-07-23 Monday 04:44 Pattara Kiatisevi <ott@linux.thai.net>
* src/thbrk/Makefile.am (1.5): -changed to use dynamic link instead
of static for test_thwbk
2001-07-23 Monday 04:32 Pattara Kiatisevi <ott@linux.thai.net>
* src/thbrk/: test_thbrk.c (1.3), thbrk.c (1.3): -fix the segfault
in char* stuff
2001-07-23 Monday 04:30 Pattara Kiatisevi <ott@linux.thai.net>
* src/thbrk/.cvsignore (1.1): -testing
2001-07-19 Thursday 06:43 Pattara Kiatisevi <ott@linux.thai.net>
* src/thbrk/test_thbrk.c (1.2): -change to be non-interactive
unless "-i" option is specified. -still segfault, not yet finished
2001-07-17 Tuesday 12:23 Chanop Silpa-Anan <chanop@linux.thai.net>
* ChangeLog (1.7): latest updated
2001-07-17 Tuesday 12:20 Chanop Silpa-Anan <chanop@linux.thai.net>
* src/thbrk/: Makefile.am (1.4), Makefile.in (1.4): merge map.c and
map.h into one target, save typo error
2001-07-17 Tuesday 12:00 Chanop Silpa-Anan <chanop@linux.thai.net>
* src/thbrk/: Makefile.am (1.3), Makefile.in (1.3), map.c (1.2),
map.h (1.2): Dynamically generate map.c and map.h in a build
directory. Remove map.c and map.h from the repository.
2001-07-17 Tuesday 10:54 Theppitak Karoonboonyanan <thep@linux.thai.net>
* Makefile.in (1.5), include/Makefile.in (1.4),
include/thai/Makefile.in (1.4), src/Makefile.in (1.4),
src/thbrk/Makefile.am (1.2), src/thbrk/Makefile.in (1.2),
src/thcoll/Makefile.in (1.4), src/thctype/Makefile.in (1.3),
tests/Makefile.in (1.4): Fix dependencies for test_thbrk, so map.c
won't always be rebuilt.
2001-07-17 Tuesday 05:30 Pattara Kiatisevi <ott@linux.thai.net>
* ChangeLog (1.6): -ChangeLog is now automatically generated by
manually run ../bin/cvs2cl.pl :)
2001-07-17 Tuesday 05:27 Pattara Kiatisevi <ott@linux.thai.net>
* ChangeLog (1.5): -add cvs2cl.pl
2001-07-16 Monday 17:54 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.4), Makefile.in (1.4), aclocal.m4 (1.2), configure
(1.3), configure.in (1.4), include/Makefile.in (1.3),
include/thai/Makefile.in (1.3), src/Makefile.am (1.4),
src/Makefile.in (1.3), src/thbrk/Makefile.am (1.1),
src/thbrk/Makefile.in (1.1), src/thbrk/Makefile.ott (1.1, r0_1_1,
r0_1_0), src/thbrk/cttex.c (1.2), src/thbrk/dict2state.c (1.2,
r0_1_0), src/thbrk/map.c (1.1), src/thbrk/map.h (1.1),
src/thbrk/thbrk.c (1.2), src/thcoll/Makefile.in (1.3),
src/thctype/Makefile.in (1.2), tests/Makefile.in (1.3): Add
automake files for building thbrk.
2001-07-15 Sunday 23:35 Pattara Kiatisevi <ott@linux.thai.net>
* include/thai/thbrk.h (1.2): -add th_brk_line interface
2001-07-15 Sunday 23:31 Pattara Kiatisevi <ott@linux.thai.net>
* src/thbrk/: Makefile (1.1), README.TXT (1.1, r0_1_1, r0_1_0),
cttex.c (1.1), dict2state.c (1.1), tdict.txt (1.1, r0_1_1, r0_1_0),
test_thbrk.c (1.1), thbrk.c (1.1): -first version. -wrapper for
P'Hui's cttex.
2001-07-09 Monday 21:54 Pattara Kiatisevi <ott@linux.thai.net>
* src/thbrk/tdict-preparation/: Makefile (1.1), README.TXT (1.1),
dictsort (1.1), dictsort.c (1.1), tdict.local (1.1),
tdict.nonsorted (1.1), tdict.org (1.1), tdict.txt (1.1),
nectec/adjv.txt (1.1), nectec/archaic.txt (1.1), nectec/conj.txt
(1.1), nectec/exclam.txt (1.1), nectec/formal.txt (1.1),
nectec/idiom.txt (1.1), nectec/local.txt (1.1), nectec/nibat.txt
(1.1), nectec/nouns.txt (1.1), nectec/obsolete.txt (1.1),
nectec/poem.txt (1.1), nectec/prefix.txt (1.1), nectec/prep.txt
(1.1), nectec/pron.txt (1.1), nectec/raja.txt (1.1),
nectec/riheads.txt (1.1), nectec/riheads_org.txt (1.1),
nectec/riwords.txt (1.1), nectec/riwords_org.txt (1.1),
nectec/slang.txt (1.1), nectec/suffix.txt (1.1), nectec/verb.txt
(1.1) (utags: r0_1_1, r0_1_0): -tdict.txt preparation part from
cttex with some modifications
2001-06-15 Friday 19:01 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.3), Makefile.in (1.3), include/thai/thctype.h (1.4),
src/thctype/thctype.c (1.2): Add th_isdiac() API. Add function body
for thctype functions.
2001-06-14 Thursday 10:29 Theppitak Karoonboonyanan <thep@linux.thai.net>
* ChangeLog (1.2): Add ChangeLog item.
2001-06-13 Wednesday 22:35 Theppitak Karoonboonyanan <thep@linux.thai.net>
* Makefile.in (1.2), configure (1.2), configure.in (1.3),
include/Makefile.in (1.2), include/thai/Makefile.in (1.2),
include/thai/thctype.h (1.3), src/Makefile.am (1.3),
src/Makefile.in (1.2), src/blank.c (1.2), src/dummy.c (1.1,
r0_1_0), src/thcoll/Makefile.in (1.2), src/thctype/Makefile.am
(1.1), src/thctype/Makefile.in (1.1), src/thctype/thctype.c (1.1),
tests/Makefile.in (1.2): Add thctype implementation (first draft,
so dirty)
2001-06-12 Tuesday 20:18 Theppitak Karoonboonyanan <thep@linux.thai.net>
* Makefile.am (1.2), configure.in (1.2), include/Makefile.am (1.2,
r0_1_1, r0_1_0), include/thai/Makefile.am (1.2), src/Makefile.am
(1.2), src/thcoll/Makefile.am (1.2, r0_1_1, r0_1_0),
tests/Makefile.am (1.2): Add $Id: ChangeLog,v 1.171 2009-01-08 14:58:07 thep Exp $
2001-06-12 Tuesday 20:14 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/thcoll/cweight.c (1.2, r0_1_0), src/thcoll/cweight.h (1.2,
r0_1_0), src/thcoll/thcoll.c (1.2), tests/test-thcoll.sh (1.2,
r0_1_1, r0_1_0), tests/thsort.c (1.2, r0_1_1, r0_1_0): Add $Id: ChangeLog,v 1.171 2009-01-08 14:58:07 thep Exp $
2001-06-12 Tuesday 20:12 Theppitak Karoonboonyanan <thep@linux.thai.net>
* AUTHORS (1.1), COPYING (1.1), ChangeLog (1.1), INSTALL (1.1),
Makefile.am (1.1), Makefile.in (1.1), NEWS (1.1), README (1.1),
aclocal.m4 (1.1), config.guess (1.1), config.sub (1.1), configure
(1.1), configure.in (1.1), install-sh (1.1), ltmain.sh (1.1),
missing (1.1), mkinstalldirs (1.1), include/Makefile.am (1.1),
include/Makefile.in (1.1), include/thai/Makefile.am (1.1),
include/thai/Makefile.in (1.1), src/Makefile.am (1.1),
src/Makefile.in (1.1), src/blank.c (1.1), src/cweight.c (1.2),
src/cweight.h (1.2), src/thcoll.c (1.2), src/thcoll/Makefile.am
(1.1), src/thcoll/Makefile.in (1.1), src/thcoll/cweight.c (1.1),
src/thcoll/cweight.h (1.1), src/thcoll/thcoll.c (1.1),
tests/Makefile.am (1.1), tests/Makefile.in (1.1), tests/sorted.txt
(1.1, r0_1_1, r0_1_0), tests/test-thcoll.sh (1.1): add building
system
2001-06-11 Monday 21:16 Theppitak Karoonboonyanan <thep@linux.thai.net>
* src/cweight.c (1.1), src/cweight.h (1.1), src/thcoll.c (1.1),
tests/sorttest.txt (1.1, r0_1_1, r0_1_0), tests/thsort.c (1.1): add
a draft thcoll implementation
2001-05-18 Friday 11:51 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/: thailib.h (1.3), thcoll.h (1.3, r0_1_1, r0_1_0),
thinp.h (1.4), thwcoll.h (1.3, r0_1_1, r0_1_0), thwinp.h (1.3,
r0_1_1, r0_1_0): size_t definition in <thai/thailib.h>, strict_t to
thstrict_t in <thai/thinp.h>
2001-05-18 Friday 01:15 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/thinp.h (1.3): Change the spec (comment) of
th_validate()
2001-05-18 Friday 01:07 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/thwchar.h (1.3): fix arg & return types of uni2*
2001-05-18 Friday 01:04 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/thbrk.h (1.1): use thbrk.h for 8-bit code, to
prevent confusion
2001-05-18 Friday 00:58 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/: thailib.h (1.2), thcoll.h (1.2), thctype.h (1.2),
thinp.h (1.2), thrend.h (1.2, r0_1_0), thwbrk.h (1.2), thwchar.h
(1.2), thwcoll.h (1.2), thwctype.h (1.2, r0_1_1, r0_1_0), thwinp.h
(1.2), thwrend.h (1.2, r0_1_1, r0_1_0): Add comments. Fix many
declarations. Add thglyph_t.
2001-05-17 Thursday 23:12 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/: thailib.h (1.1.1.1), thcoll.h (1.1.1.1), thctype.h
(1.1.1.1), thinp.h (1.1.1.1), thrend.h (1.1.1.1), thwbrk.h
(1.1.1.1), thwchar.h (1.1.1.1), thwcoll.h (1.1.1.1), thwctype.h
(1.1.1.1), thwinp.h (1.1.1.1), thwrend.h (1.1.1.1), tis.h (1.1.1.1,
r0_1_0) (utags: libthai_0_1): first draft API
2001-05-17 Thursday 23:12 Theppitak Karoonboonyanan <thep@linux.thai.net>
* include/thai/: thailib.h (1.1), thcoll.h (1.1), thctype.h (1.1),
thinp.h (1.1), thrend.h (1.1), thwbrk.h (1.1), thwchar.h (1.1),
thwcoll.h (1.1), thwctype.h (1.1), thwinp.h (1.1), thwrend.h (1.1),
tis.h (1.1): Initial revision
|