-
Notifications
You must be signed in to change notification settings - Fork 91
/
ChangeLog-svn
2816 lines (1970 loc) · 77.9 KB
/
ChangeLog-svn
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
2011-02-27 Jim Huang <[email protected]>
* configure.ac: Bump version to 0.3.3
* NEWS: ditto.
2011-02-20 Jim Huang <[email protected]>
* configure.ac,
src/tools/Makefile.am: Fix tools to run on the host system during
cross-compile.
Patched by Zach Kuznia <[email protected]>
Review URL: http://codereview.chromium.org/2640005
2011-02-20 Jim Huang <[email protected]>
* src/chewingio.c: Add inclusion for aux function.
* test/testchewing.c (get_keystroke),
test/simulate.c (fake_getchar) (fini_sim): Fix compilation warnings by
clang.
2011-02-20 Jim Huang <[email protected]>
* data/tsi.src: Merged with libchewing-data.
* data/svnrev: Bump merged rev to r455
* NEWS: Ditto
2011-02-20 Jim Huang <[email protected]>
* scripts/gendiff-from-libchewingdata.sh: Explicit use 'bash'
2010-11-15 Jim Huang <[email protected]>
* test/simulate.c (init_sim),
test/simulate.sh: Support randomize testing key sequence.
* test/Makefile.am: clean materials.txt-random
2010-11-13 Jim Huang <[email protected]>
* src/choice.c (SetAvailInfo): Refactored for parameter passing.
(ChoiceFirstAvail): Ditto.
2010-11-13 Jim Huang <[email protected]>
* scripts/remove-autotool.sh: Remove include/config.h.in
2010-11-13 Jim Huang <[email protected]>
* src/chewingio.c (chooseCandidate): New helper function.
(chewing_handle_Space) (chewing_handle_Down): Revise phrase choice
from rearward logic.
* src/choice.c (SeekPhraseHead): New helper function.
(SetAvailInfo) (ChoiceFirstAvail): Ditto.
Patched by Ding-Yi Chen <[email protected]>
2010-11-13 Jim Huang <[email protected]>
* data/tsi.src: Add some entries to work around improper '不' cases.
* test/materials.txt: Update test cases.
2010-11-10 Jim Huang <[email protected]>
* include/internal/chewing-private.h (wch_t): Ensure this structure is
aligned.
Patched by Ding-Yi Chen <[email protected]>
https://bugzilla.redhat.com/show_bug.cgi?id=625980
2010-11-09 Jim Huang <[email protected]>
* src/common/key2pho.c,
src/common/chewing-utf8-util.c,
src/hanyupinyin.c,
src/char.c,
src/tools/sort_dic.c,
src/chewingutil.c,
src/zuin.c: Fix compilation warning with gcc-4.5
2010-11-09 Jim Huang <[email protected]>
* src/chewingutil.c (EasySymbolInput),
include/internal/chewingutil.h: Shrink parameter.
* src/chewingio.c (chewing_handle_Default): Ditto.
2010-11-08 Jim Huang <[email protected]>
* src/chewingutil.c (HaninSymbolInput): Refactoring. Simplify
prototype.
(OpenSymbolChoice): Ditto.
include/internal/chewingutil.h: Ditto.
* src/chewingio.c (chewing_handle_Default) (chewing_handle_CtrlNum):
Changed accordinly.
2010-11-08 Jim Huang <[email protected]>
* src/chewingio.c (addTerminateService),
src/private.h: Add typedef to simplify prototype.
2010-11-08 Jim Huang <[email protected]>
* src/chewingutil.c (SymbolChoice): Fix unexpected candidate disorder
when doing symbol choice.
* src/hash.c (isValidChineseString): Avoid dangling pointer.
2010-11-08 Jim Huang <[email protected]>
* src/common/key2pho.c (key_str),
src/chewingio.c (qkey),
src/zuin.c (IsDvorakHsuPhoEndKey) (IsET26PhoEndKey) (HsuPhoInput):
DvorakHsu tone mark should be same with Hsu's mark after conversion.
* src/choice.c (ChoiceInfoAppendChi): New helper function.
(SetChoiceInfo): Issue 10. Fix the handling of phonetic symbols in
Hsu and Dvorak Hsu keyboard. Refactoring.
(ChoiceFirstAvail) (ChoicePrevAvail) (ChoiceNextAvail): Refactoring.
Patched by Ding-Yi Chen <[email protected]>
* include/internal/choice-private.h: Ditto.
2010-11-08 Jim Huang <[email protected]>
* src/tools/sort_word.c (Output): Fix file descriptor leak
2010-11-08 Jim Huang <[email protected]>
* configure.ac: Properly add LIBTOOL_EXPORT_OPTIONS
patched by openSUSE.
2010-11-08 Jim Huang <[email protected]>
* scripts/gendiff-from-libchewingdata.sh: Don't gendiff if given
svnrev <= original svnrev.
2010-11-08 Jim Huang <[email protected]>
* data/phone.cin,
data/tsi.src: Merged with libchewing-data.
Changes:
- Remove incomplete lines to avoid tool from crashing
- Eliminate incorrect single character mapping
* data/svnrev: Bump merged rev to r454
* NEWS: Ditto
2010-11-08 Jim Huang <[email protected]>
* scripts/gendiff-from-libchewingdata.sh: Use LABEL instead of file
name during patch generation.
2010-11-08 Jim Huang <[email protected]>
* data/svnrev: New file. Store the SVN revision number of last merge.
* data/NOTE: After merging changing from libchewing-data project,
please do update Subversion revision number in file "data/svnrev".
* scripts/gendiff-from-libchewingdata.sh: New file. Used for
generting the diff files from libchewingdata between certain svnver
and last merge one.
2010-11-07 Jim Huang <[email protected]>
* src/porting_layer/include/sys/plat_win32.h: Renamed
to src/porting_layer/include/sys/plat_windows.h
Platform transition from 'win32' to 'windows' for generic
win32, win64, and (possibly) wince support.
* src/porting_layer/src/plat_mmap_win32.c: Ditto.
Rename to src/porting_layer/src/plat_mmap_windows.c
* src/porting_layer/include/plat_types.h,
src/porting_layer/src/Makefile.am,
configure.ac: Changed accordingly.
2010-11-07 Jim Huang <[email protected]>
* darwin/: Removed since ports maintainer would take care.
2010-11-07 Jim Huang <[email protected]>
* src/tree.c (InitTree): Validate tree_size in binary data.
2010-08-26 Jim Huang <[email protected]>
* src/hanyupinyin.c (InitHanyuPinYin): Ensure the explicit return
value when initialization process is done.
2010-08-26 Jim Huang <[email protected]>
* src/choice.c: Fix implicit declaration of function 'ChoiceEndChoice'
2009-10-01 Kuang-che Wu <[email protected]>
* src/mod_aux.c (chewing_zuin_String): issue 352, zuin_count should
return the number of zhuyin symbols. Thank dingyichen's report and fix.
2009-02-01 Kuang-che Wu <[email protected]>
* scripts/gen-tabe-diff.sh, scripts/tsi-chewing.diff,
scripts/cvsup-tsi-src.sh: Removed.
2009-01-29 Jim Huang <[email protected]>
* python/chewing.py: Added cand_String, zuin_String and aux_String for
convenience.
Revised the removal of handle_Default.argtypes because handle_Default
accepts (void *, int) instead of (void *, char).
Patched by Ding-Yi Chen <[email protected]>.
2009-01-24 Kuang-che Wu <[email protected]>
* src/tree.c (TreeFindPhrase): Fix memory access violation, the case
of leaf node (index value -1) was not handled.
2008-12-08 Kuang-che Wu <[email protected]>
* test/randkeystroke.c: Fix random key range, avoid genetate chr(0)
incorrectly. Provide random seed argument. Fix vim mode line.
2008-12-04 Kuang-che Wu <[email protected]>
* src/private.h: Fix compile error if --enable-debug
2008-12-01 Kanru Chen <[email protected]>
* configure.ac: Bump version to 0.3.2 .
* TODO: Add new entry.
* NEWS: Update.
2008-12-01 Jim Huang <[email protected]>
* src/tree.c: Fix build due to previous changes.
2008-12-01 Kanru Chen <[email protected]>
* include/global.h,
include/internal/tree-private.h (IS_USER_PHRASE) (IS_DICT_PHRASE): Hide
internal macro.
2008-12-01 Jim Huang <[email protected]>
* src/hash.c (TerminateHash): Release internal memory allocations.
`make -C test vcheck` dumps reasonable results:
==30989== LEAK SUMMARY:
==30989== definitely lost: 0 bytes in 0 blocks.
==30989== possibly lost: 0 bytes in 0 blocks.
==30989== still reachable: 8,570 bytes in 582 blocks.
2008-12-01 Jim Huang <[email protected]>
* test/gen_keystroke.c (main),
test/testchewing.c (main): Use refined chewing_delete() with IM
context instead of chewing_free.
2008-12-01 Jim Huang <[email protected]>
* Doxyfile.in: To improve API documentation, enable the following
options:
- INLINE_SOURCES
- HAVE_DOT
- CALL_GRAPH
2008-12-01 Jim Huang <[email protected]>
* include/chewingio.h,
include/mod_aux.h,
include/global.h,
include/chewing.h,
include/internal/chewing-utf8-util.h,
src/mod_aux.c: Improve Doxygen-friendly text.
Take care about @param[in] and @param[out] and name group.
2008-12-01 Jim Huang <[email protected]>
* include/global.h,
include/internal/chewing-private.h,
include/internal/chewing-utf8-util.h,
src/hanyupinyin.c,
src/chewingio.c,
src/chewingutil.c,
src/hash.c: Remove the inclusion of header <stdlib.h> and <stdio.h> in
Chewing API headers. Place them in implementation C source files
instead.
2008-11-30 Jim Huang <[email protected]>
* include/chewingio.h,
include/global.h,
include/chewing.h: Improve Doxygen-friendly text.
2008-11-30 Jim Huang <[email protected]>
* Doxyfile.in: Update with doxygen 1.5.7.1 -u. Switch lang to
English.
* include/chewing.h: Initially documented for high level descriptions.
2008-11-30 Jim Huang <[email protected]>
* test/Makefile.am: Launch valgrind via libtool. Avoid linkage
problems.
2008-11-30 Jim Huang <[email protected]>
* include/zuin.h: Removed. We only need high level definitions so
far.
* include/internal/zuin-private.h: Merged the defintions orginally in
file include/zuin.h.
* include/chewing.h,
src/chewingio.c,
src/tools/sort_word.c,
src/chewingutil.c,
src/zuin.c,
Makefile.am: Ditto.
2008-11-30 Jim Huang <[email protected]>
* Doxyfile.in: Ignore src/ directory since we refine APIs in headers.
2008-11-30 Jim Huang <[email protected]>
* include/chewingio.h,
include/mod_aux.h,
include/global.h,
include/chewing.h,
include/zuin.h: Make Doxygen-friendly.
2008-11-27 Kanru Chen <[email protected]>
* include/chewingio.h,
src/chewingio.c (chewing_get_KBString): New API for retrieving kbtype in
string format.
2008-11-27 Kanru Chen <[email protected]>
* src/chewingio.c (chewing_get_KBType): Check kbtype's validity.
2008-11-23 Jim Huang <[email protected]>
* include/chewingio.h,
src/chewingio.c (chewing_get_phoneSeq) (chewing_get_phoneSeqLen):
Globally defined. No more Win32 specific. Considering the usage of
chewing-utils, the two APIs are useful.
2008-11-23 Jim Huang <[email protected]>
* src/hash.c (TerminateHash): New terminating service function
to free allocated hash entries.
(PhoneSeqTheSame): Avoid invalid memory access.
(InitHash): Hook TerminateHash and prepare hash list entry.
NOTE: there are still several memleaks. Use "make -C test vcheck" to
digg.
2008-11-22 Kanru Chen <[email protected]>
* configure.ac: Bump version to 0.3.1.901 .
2008-11-22 Kanru Chen <[email protected]>
* include/chewingio.h,
src/chewingio.c (chewing_free) (chewing_delete): Renamed.
(chewing_free): Used to free memory allocated by chewing.
(chewing_get_phoneSeq) (chewing_get_phoneSeqLen):
Win32 needs this two function.
* src/hash.c (HashItem2Binary) (_load_hash_file): Exported for
internal use.
2008-11-19 Kanru Chen <[email protected]>
* src/char.c,
src/dict.c: mmap use original file size.
2008-11-19 Kanru Chen <[email protected]>
* src/mod_aux.c: Only return by argument if the pointer is not NULL.
2008-11-16 Jim Huang <[email protected]>
* include/global.h (struct ChewingConfigData)
include/chewingio.h: Added bPhraseChoiceRearward.
* src/chewingio.c (chewing_Configure)
(chewing_set_phraseChoiceRearward) (chewing_get_phraseChoiceRearward):
Ditto
* src/choice.c (ChoiceFirstAvail): bPhraseChoiceRearward indicates the
behavior for phrase choice to be rearward or not.
* test/gen_keystroke.c (main): Initialize configurations with
chewing_set_autoShiftCur and chewing_set_phraseChoiceRearward.
2008-11-14 Kanru Chen <[email protected]>
* src/private.h: Add STATIC_ASSERT macro.
* include/internal/zuin-private.h,
include/zuin.h,
src/tools/sort_word.c: Convert KB_* macros to enum.
* include/internal/chewing-private.h,
include/mod_aux.h,
src/chewingio.c,
src/mod_aux.c: New APIs to enumerate supported keyboard types.
2008-11-14 Kanru Chen <[email protected]>
* include/global.h,
include/internal/chewing-private.h: Move bAutoShiftCur and
bEasySymbolInput from ChewingData to ChewingConfigData.
* include/chewingio.h,
src/chewingio.c,
src/chewingutil.c: Add set/get function of bAutoShiftCur and
bEasySymbolInput attribute.
2008-11-14 Kanru Chen <[email protected]>
* NEWS: Update.
2008-11-08 Kanru Chen <[email protected]>
* src/char.c,
src/dict.c: Don't do void pointer arithmetic.
2008-11-03 Kanru Chen <[email protected]>
* src/choice.c (ChoiceFirstAvail): Catch the zero phrase case.
2008-10-28 Kanru Chen <[email protected]>
* src/chewingutil.c (AutoLearnPhrase): Fix the last phrase is new phrase
case.
2008-10-28 Kanru Chen <[email protected]>
* src/chewingutil.c (ChewingIsBreakPoint) (AutoLearnPhrase): Add
experimental auto new phrase learning based on heuristic rules mentioned
in "port bimsphone algorithm to libchewing".
2008-10-26 Kanru Chen <[email protected]>
* include/internal/chewing-utf8-util.h,
src/common/chewing-utf8-util.c (ueStrNBytes): New helper function.
* src/chewingio.c,
src/tree.c: Don't ignore length parameter when comparing two strings.
2008-10-26 Kanru Chen <[email protected]>
* src/chewingio.c,
src/chewingutil.c,
src/choice.c,
src/tree.c,
src/userphrase.c: Fix improper use of MAX_UTF8_SIZE. This is a serious
bug that can lead to wrong phrasing result.
2008-10-25 Kanru Chen <[email protected]>
* src/tree.c (FindInterval): Cleanup duplicated codes.
2008-10-25 Kanru Chen <[email protected]>
* src/chewingio.c: Check memory allocation before using it.
2008-10-25 Kanru Chen <[email protected]>
* include/internal/chewingutil.h (CountSymbols) (PhoneSeqCursor): New
function for calculating phone cursor position.
* include/internal/char-private.h,
src/chewingio.c,
src/chewingutil.c,
src/choice.c: Remove cursor field, replaced by PhoneSeqCursor function.
* src/choice.c (ChoiceFirstAvail): Use preferInterval instead of
phrOut.dispInterval to calculate phrase position.
* test/gen_keystroke.c: Show all interval.
2008-10-24 Jim Huang <[email protected]>
* README: Update integration status and descriptions.
Put the logo generated by figlet.
2008-10-23 Jim Huang <[email protected]>
* src/common/key2pho.c (zhuin_tab) (zhuin_tab_num),
src/chewingutil.c (SetUpdatePhraseMsg) (SpecialSymbolInput)
(symbol_buf): Added human readable comments around the HEX values.
The reason why we convert string literal to hex representation is for
the sake of portability, that avoids some buggy or faulty environment
like Microsoft VC9 to misinterpret the string.
2008-10-23 Kanru Chen <[email protected]>
* Makefile.am: We no longer ship hanyupinyin.h, so remove it.
2008-10-22 Kanru Chen <[email protected]>
* src/common/key2pho.c,
src/chewingutil.c: Convert string literal to hex representation for
maximum portability.
2008-10-22 Kanru Chen <[email protected]>
* src/chewingio.c (chewing_handle_Esc): Remove the hack of
SemiSymbolInput since SemiSymbolInput no longer exists.
2008-10-22 Kanru Chen <[email protected]>
* src/char.c,
src/chewingutil.c,
src/dict.c,
src/tree.c: Use PATH_MAX.
2008-10-22 Kanru Chen <[email protected]>
* include/internal/hanyupinyin-private.h,
src/chewingio.c,
src/hanyupinyin.c: Use consistent API to load hanyupinyin table.
* include/hanyupinyin.h: Removed.
* include/chewing.h,
src/zuin.c: Fix including.
* src/porting_layer/include/sys/plat_posix.h,
src/porting_layer/include/sys/plat_win32.h: Add PATH_MAX definition.
2008-10-22 Jim Huang <[email protected]>
* src/chewingio.c (chewing_Init): Touch bTerminateCompleted after
initialization.
* src/private.h (TerminateServicesNUM): Fix limit of terminating
service number since new services are added.
* test/simulate.c (FILE *fp): Properly init to NULL.
2008-10-21 Jim Huang <[email protected]>
* test/simulate.c: New file. Rewrite bacth simulating script in C to
gain more features such as high-lighting difference and statistics.
The reference output:
[ Report ]
Checks: 385 words, Failures: 34 words
Ratio: 91.17%
* test/simulate.sh: Wrapper to executable "simulate".
* test/testchewing.c
(commit_string) (main): Used in simulate.c file.
(compare_per_run): New function. Simply compare two UTF-8 character
between expected and committed string.
* test/Makefile.am: Added "simulate" program.
2008-10-20 Jim Huang <[email protected]>
* src/tree.c (internal_release_Phrase) (FindInterval): Use distinct
enumeration for used phrase type instead of numbers.
2008-10-20 Kanru Chen <[email protected]>
* python/chewing.py,
python/test.py: Add initial python binding code.
2008-10-20 Jim Huang <[email protected]>
* test/materials.txt: Added test cases from academic papers and
discussions.
2008-10-19 Kanru Chen <[email protected]>
* src/hanyupinyin.c,
src/mod_aux.c,
src/tools/maketree.c,
src/tools/sort_word.c,
src/tree.c,
test/gen_keystroke.c,
test/testchewing.c: Misc. cleanup.
2008-10-19 Kanru Chen <[email protected]>
* src/tree.c: Combine mmseg and chewing algorithm into score based
algorithm.
2008-10-19 Jim Huang <[email protected]>
* test/materials.txt: Imported some test cases from rt.openfoundry.org
2008-10-19 Jim Huang <[email protected]>
* test/debug-chewing-shell.sh: New script to automake the actions to
debug genkeystroke via gdb.
* test/README: Mentioned debug-chewing-shell.sh
2008-10-19 Jim Huang <[email protected]>
* test/simulate.sh,
test/materials.txt: New batch simulating script. It makes use of
program "testchewing" from test suite and compare with the expected
string correspondingly defined in file materials.txt. The reference
output:
[Committed] 就平常交鋼琴
[Expected] 就平常教鋼琴
* test/README: Mentioned simulate.sh
* test/Makefile.am: Default test data should point to
$(top_srcdir)/test instead of $(top_builddir)/test.
2008-10-19 Jim Huang <[email protected]>
* src/tree.c (InitTree),
src/char.c (InitChar),
src/dict.c (InitDict): Properly initialize plat_mmap instances and
verify them by plat_mmap_is_valid().
* src/porting_layer/src/plat_mmap_posix.c (plat_mmap_is_valid): Fix
faulty implementation on verifying file descriptor.
2008-10-18 Jim Huang <[email protected]>
* test/README: Mentioned randkeystroke as the stress test for
libchewing robustness.
2008-10-18 Jim Huang <[email protected]>
* src/tree.c (struct smart_com) (rule_largest_sum)
(rule_largest_avgwordlen) (rule_smallest_lenvariance)
(rule_largest_freqsum) (filter_by_rule) (add_comb)
(DetermineFirstTsi): New functions. Implemented the algorithm used
in bimsphone, which is based on mmseg:
http://technology.chtsai.org/mmseg/
This work was done by Kuang-che Wu <[email protected]>.
* src/tree.c (Phrasing): Switching to mmseg based algorithm when all
phrases in interval exist and number of phonetic sequence > 3.
NOTE: we will need to improve test suite to check the performance and
accuracy.
2008-10-18 Jim Huang <[email protected]>
* test/README: Added the information about debugging genkeystroke.
The way to debug genkeystroke via gdb is a bit tricky since it uses
ncurses library. We use two X terminals to do this.
2008-10-18 Jim Huang <[email protected]>
* data/tsi.src: Merged with libchewing-data project.
Last change: r342 | sky008888 | 2008-07-04 23:09:07 +0800
* data/phone.cin: Cherry pick from libchewing-data.
* data/phone.cin-CNS11643-complete.patch: Split the phone-word pair
that CJKUnifont doesn't display from data/phone.cin .
2008-10-16 Jim Huang <[email protected]>
* include/global.h,
configure.ac: Disable GCC visibility support on gcc 3.x .
Although there are several gcc patches included in some gcc 3
distributions, they are somehow buggy until gcc4 finally releases.
Also, visibility is enabled on gcc4 by default.
2008-10-15 Kanru Chen <[email protected]>
* src/char.c,
src/tools/sort_word.c: Enable us_freq.dat binary format.
2008-10-15 Kanru Chen <[email protected]>
* data/Makefile.am,
include/internal/global-private.h,
src/char.c,
src/tools/Makefile.am,
src/tools/dat2bin.c,
src/tools/maketree.c,
src/tools/sort_dic.c,
src/tools/sort_word.c,
test/Makefile.am: Generate binary data in place.
2008-10-15 Kanru Chen <[email protected]>
* src/dict.c (TerminateDict) (InitDict) (Str2Phrase): Rewrite dict
binary data manipulation by using mmap.
2008-10-15 Jim Huang <[email protected]>
* src/tree.c (OutputRecordStr): clean up dead code.
* src/chewingio.c,
src/zuin.c,
src/choice.c: Proper inclusion.
* src/dict.c (fgettab): Conditional build.
2008-10-15 Jim Huang <[email protected]>
* include/internal/hash-private.h,
include/internal/tree-private.h,
src/tree.c,
src/hash.c,
src/chewingio.c (chewing_Init): Consistent naming for internal APIs.
Rename from ReadHash to InitHash. Rename from ReadTree to InitTree.
2008-10-15 Jim Huang <[email protected]>
* src/tree.c (TerminateTree) (ReadTree),
src/char.c (TerminateChar) (InitChar),
src/dict.c (TerminateDict) (InitDict): Rewrite binary data
manipulation by using mmap (memory mapped, provided by porting_layer).
Expected to dramatically reduce loading time.
2008-10-14 Kanru Chen <[email protected]>
* src/dict.c,
src/tools/sort_dic.c: Make sort_dic produce binary data.
2008-10-14 Jim Huang <[email protected]>
* test/Makefile.am: Quiet copy default test data.
* src/tree.c (ShowList),
src/chewingutil.c (ShowChewingData): Debug output tweaking.
* src/chewingutil.c (CallPhrasing): Dump chewing data internals when
debug mode.
2008-10-14 Jim Huang <[email protected]>
* src/choice.c,
src/tree.c: Move the declaration of [TreeType] tree from ... to ...
2008-10-14 Jim Huang <[email protected]>
* src/hash.c (formatstring): Removed since it does nothing readable.
(HashModify): Simplified hash output text.
2008-10-14 Jim Huang <[email protected]>
* configure.ac: Refactor enabling rules.
2008-10-14 Kanru Chen <[email protected]>
* test/Makefile.am,
test/randkeystroke.c: Add randkeystroke test program.
2008-10-14 Kanru Chen <[email protected]>
* include/mod_aux.h (chewing_cursor_Current): Correct return type.
* test/gen_keystroke.c: Add back cursor position.
2008-10-14 Kanru Chen <[email protected]>
* include/global.h,
include/internal/chewing-private.h: Expose InternalType.
* include/mod_aux.h,
src/mod_aux.c (chewing_interval_Enumerate) (chewing_interval_hasNext)
(chewing_interval_Get): New API to enumerate intervals.
* test/gen_keystroke.c: Use new API to display intervals.
2008-10-14 Kanru Chen <[email protected]>
* src/mod_aux.c (cand_no_max): Remove unnecessary static variable.
* include/internal/chewing-private.h,
src/tree.c (PhraseIntervalType): Move from ... to ...
* include/global.h,
include/internal/tree-private.h (ReadTree): Ditto.
* include/hanyupinyin.h,
include/internal/hanyupinyin-private.h,
src/hanyupinyin.c: Hide private structure.
2008-10-13 Kanru Chen <[email protected]>
* test/gen_keystroke.c (set_cursor): Removed.
2008-10-12 Jim Huang <[email protected]>
* include/global.h: Added macro UNUSED = __attribute__((unused)).
* include/internal/chewingutil.h: Removed static functions.
* src/tree.c (ReadTree): Added terminating service: TerminateTree.
* src/hanyupinyin.c (chewing_set_PinYinMethod): Confirming vaild
PinYin method type.
(HanyuPinYinToZuin): Eliminate compiler warning.
* src/chewingio.c (chewing_Configure)
(chewing_set_selKey) (chewing_handle_Up) (chewing_handle_ShiftSpac):
Mark UNUSED parameters.
* src/tools/dat2bin.c (main): Properly initialize TreeType.
* src/chewingutil.c (HaninSymbolInput) (_Inner_InternalSpecialSymbol)
(EasySymbolInput): Mark UNUSED parameters.
(FindSymbolKey) (TerminateSymbolTable) (TerminateEasySymbolTable):
Eliminate compiler warning.
* src/hash.c (HashItem2String): Conditional build with ENABLE_DEBUG.
(HashItem2Binary) (ReadHashItem_bin) (migrate_hash_to_bin): Eliminate
compiler warning.
* src/tools/sort_word.c,
src/tools/sort_dic.c,
src/userphrase.c,
src/chewingutil.c,
src/zuin.c: Proper inclusion for internal headers.
* configure.ac: Refactor --enable-debug detection.
2008-10-11 Jim Huang <[email protected]>
* include/global.h,
include/internal/global-private.h: Move filename definitions to the
later. Not necessary to expose chewing data filename information.
* src/tree.c,
src/char.c,
src/tools/sort_word.c,
src/tools/sort_dic.c,
src/tools/maketree.c,
src/chewingutil.c,
src/dict.c: Ditto. Proper inclusion.
* Makefile.am: Remove internal headers.
2008-10-11 Jim Huang <[email protected]>
* src/tree.c (ReadTree),
src/char.c (InitChar),
src/dict.c (InitDict),
src/tools/Makefile.am,
data/Makefile.am,
configure.ac: Enable binary data representation. Default: enabled.
2008-10-10 Kanru Chen <[email protected]>
* include/chewingio.h,
include/global.h,
src/chewingio.c: Add public interfaces to set/get configs.
2008-10-09 Kanru Chen <[email protected]>
* configure.ac: Add gcc visibility support.
* include/char.h,
include/chewing-utf8-util.h,
include/chewing.h,
include/dict.h,
include/global.h,
include/hash.h,
include/mod_aux.h,
include/userphrase.h,
include/zuin.h: Remove internal interfaces.
* include/internal/char-private.h,
include/internal/chewing-private.h,
include/internal/chewing-utf8-util.h,
include/internal/chewingutil.h,
include/internal/choice-private.h,
include/internal/dict-private.h,
include/internal/hash-private.h,
include/internal/key2pho-private.h,
include/internal/tree-private.h,
include/internal/userphrase-private.h,
include/internal/zuin-private.h: Put internal interfaces here.
* src/Makefile.am,
src/char.c,
src/chewingio.c,
src/chewingutil.c,
src/chewingutil.h,
src/choice.c,
src/common/Makefile.am,
src/common/key2pho.c,
src/dict.c,
src/hash.c,
src/mod_aux.c,
src/porting_layer/src/Makefile.am,
src/tools/Makefile.am,
src/tools/sort_word.c,
src/tree.c,
src/userphrase.c,
src/zuin.c,
test/Makefile.am,
test/gen_keystroke.c: Adjust including path.
2008-10-01 Kanru Chen <[email protected]>
* configure.ac:
Migrate check module to use pkg-config.
Bump version to 0.3.1
* chewing.pc.in: Add --datarootdir.
2008-09-23 Kanru Chen <[email protected]>
* configure.ac: Change ABI version to 3.1.0
libchewing 0.3 stands for development branch. We intend to break
API/ABI at the stage. As the result, there would not be major version
change in library.
* NEWS: Updated.
2008-09-20 Kanru Chen <[email protected]>
* configure.ac: Bump version to 0.3.0.902
2008-09-20 Kanru Chen <[email protected]>
* configure.ac: Bump ABI version to 4.0.0
2008-07-07 Kanru Chen <[email protected]>
* test/gen_keystroke.c: Fix choice buffer output.
* src/mod_aux.c (chewing_cand_String): Kill memory leak.
2008-07-04 Kanru Chen <[email protected]>
* include/global.h,
include/zuin.h,
src/chewingio.c,
src/common/key2pho.c,
src/zuin.c: Apply DACHEN_CP26 patch, thanks Paul Liu.
2008-04-28 Caius Chance <[email protected]>
* src/chewingio.c:
Refactorized chewing_get_ChiEngMode( ChewingContext *ctx ).
2008-04-02 Jeff Chen <[email protected]>
* src/chewingio.c,
src/chewingutil.c,
src/chewingutil.h: SemiSymbolInput() is useless.
2008-03-30 Jeff Chen <[email protected]>
* src/zuin.c:
Type symbols easily for PinYin input.
2008-02-11 Jeff Chen <[email protected]>
* src/choice.c:
Behaivor changed: Doing select at the end of edit buffer works on the
last phrase (interval).
2008-02-08 Jim Huang <[email protected]>
* configure.ac: Make use of AC_CONFIG_AUX_DIR.
* autotools: New directory containing files generated by autotools.
* scripts/remove-autotool.sh: Likewise.
2008-02-07 Jim Huang <[email protected]>
* include/chewingio.h,
include/global.h,
src/chewingio.c,
src/hash.c,
src/choice.c,
src/porting_layer/include/plat_mmap.h,
src/porting_layer/src/plat_mmap_win32.c,
src/porting_layer/src/plat_mmap_posix.c: Update copyright date.
2008-02-07 Jim Huang <[email protected]>
* data/tsi.src: Sync with libchewingdata project.
* test/Makefile.am: Added uhash.dat in CLEANFILES.
2008-02-05 Jeff Chen <[email protected]>
* src/chewingio.c
(chewing_handle_Default) (chewing_handle_CtrlNum):
When users cancel symbol table by "ESC" key, it causes system to step
into wrong state.
Openning symbol table needs to invoke semi-symbol input.