-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
1875 lines (1515 loc) · 66.3 KB
/
ChangeLog
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
2004-05-21 AIDA Shinra <[email protected]>
* Canna 3.7p3 release.
* configure.ac: bump to 3.7p3
* canna/patchlevel.h: ditto
* CHANGES.jp: updated
2004-05-21 AIDA Shinra <[email protected]>
* confwrapper: "." bashism. Many shells don't searches the current
directory.
* Imakefile: $(CC) -> env $(CC) in case $(CC) is
"LD_LIBRARY_PATH=/usr/X11R6/lib cc".
* canuum/Imakefile: ditto
2004-05-19 AIDA Shinra <[email protected]>
* Canna 3.7p2 release.
* configure.ac: bump to 3.7p2
* canna/patchlevel.h: ditto
2004-05-05 AIDA Shinra <[email protected]>
* CHANGES.jp: fix a typo
2004-05-05 AIDA Shinra <[email protected]>
* COPYRIGHT: added
* CHANGES.jp: updated for 3.7p2
* RKCCONF.jp: warn about future change
2004-05-05 AIDA Shinra <[email protected]>
* Merge Pubdic+-fix01 to make the license of pubdic more clear.
* dic/ideo/pubdic/pod.c: Remove #ifndef POD_WCHAR part.
Make casts more proper. Add 'vu' conversion though it is not needed
for now.
* dic/ideo/pubdic/COPYRIGHT: added
* dic/ideo/pubdic/VERSION: added
2004-04-27 AIDA Shinra <[email protected]>
* VENDOR_DEFINES which comes from X.Org's imake contains single
quotes.
* confwrapper: generate cwenv.sh first and then run configure
* Imakefile: ditto
* canuum/Imakefile: ditto
* confwrapper.sub: removed
* Canna.conf.dist: DLLs need INSTBINFLAGS instead of INSTLIBFLAGS
2004-04-27 AIDA Shinra <[email protected]>
* When delay-connect is t and KC_FINALIZE is used uilib gets into
inconsistent state.
* lib/canna/commondata.c(mountnottry): added
* lib/canna/globnames: added mountnottry
* lib/canna/henkan.c(KanjiInit): mountnottry is now global symbol
(KanjiFin): clear some variables
2004-04-27 AIDA Shinra <[email protected]>
* Merge trivial fixes (uilib, doc)
* lib/canna/obind.c(owcLookupKanji2): buffer_return is not char *
but wchar_t *.
(cannawc32): use canna_uint32_t
(cannawc16): use canna_uint16_t
* lib/canna/RKroma.c(RkMapPhonogram): KPDIC&&PTDIC -> KPDIC||PTDIC
* [Canna-dev 297]: sentou 1moji sentaku bug
* lib/canna/henkan.c(TbChooseChar): last character's attribute needs
SENTOU flag
* [Canna-dev 290]: Documents
* doc/man/guide/tex/func.tex: Now renbun-continue is t by default.
* dic/ideo/grammar/gram.code: correct a comment
* [Canna-dev 291]: Protocol definition is inconsistent with
implementation.
* doc/intern/protocol.tex: corrected
* [Canna:05898]: canna-parse is broken
* lib/canna/lisp.c(Lread): stop fclose(NULL)
2004-04-27 AIDA Shinra <[email protected]>
* Merge trivial fixes (canuum, RKC and server)
* canuum/canuum.jmn: Description about -[SJUsju] options were
misleading or wrong.
* canuum/jhlp.c(chld_handler): cygwin has union wait but WIF*() macros
do not work if union wait is given
* canuum/termcap.c(sr_set): check %p though it exists only in terminfo
* lib/RKC/conf.c(read_pipe_with_errors): bug fix in no_exitstatus
case (thanks to nanashi san)
(Lexer_next): an extra memchr() caused a crash
* lib/RKC/convert.c(RkcSendERequest): When communication fails, set
errno to EPIPE and close the socket in any case.
* lib/RKC/wconvert.c(RkcSendWRequest): ditto
* server/misc.c(mysignal): added to prevent syscalls from restarting
* server/Imakefile: SIGNAL_DEFINES
* server/comm.c(ClientBuf): count temporary failures and close
connection if too many errors happen
(ClientBuf_recv): save errno before Dmsg
(ClientBuf_send): ditto
(EventMgr_run): ditto
2004-01-02 AIDA Shinra <[email protected]>
* Canna 3.7p1 release.
* CHANGES.jp: updated
* canna/patchlevel.h: bump to 3.7p1
2003-12-29 AIDA Shinra <[email protected]>
* Canna.conf.dist(sharedLibExtension): HPArchitecture is also defined
on Linux with hppa. Make sure the system is really HP-UX.
([Canna-dev 280])
* confwrapper: CC="$ccadd $CC" is foolish ([Canna-dev 281])
2003-12-28 AIDA Shinra <[email protected]>
* Canna.conf.dist(SHLIBLDFLAGS): Assign "-G -z text" on SVR4
because Solaris appends "-M mapfile" and therefore we need to
generate mapfile.
* server/wconvert.c(ExtensionVector): remove "static"
* CHANGES.jp: make mention of glibc
2003-12-28 AIDA Shinra <[email protected]>
* Sync with HEAD. All changes were fixes of bugs or portability
problems, therefore I merged all of them.
* CHANGES.jp: forgot IPv6 feature
* Canna.conf.dist(CppSedMagic): Remove #pragma inserted by the
default gcc-3.3 that ships with MacOS X 10.3. Recent snapshot
of XFree86 specifies /usr/bin/cpp3 as CppCmd so we don't need
redefine CppSedMagic.
* Imakefile: Use confwrapper. #undef malloc in cannaconf.h.
Fix OS2Architecture.
* configure.ac: add proper arguments of AC_INIT and RCSID
* confwrapper: added to remove something like ` ` in CPPFLAGS
and others
* confwrapper.sub: ditto
* mkrelease.sh: always use autoconf 2.59
* canuum/Imakefile: use confwrapper
* dic/ideo/pubdic/Imakefile: link libRKindep
* lib/RKC/conf.c(Lexer_next): skip #pragma
(host_str_defaults): put a dummy member
(top_num_defaults): ditto
* lib/RKindep/cfuncs.c: #ifndef HAVE_MALLOC -> #if !HAVE_MALLOC
* lib/RKindep/cfuncs.h: Newer autoconf defines HAVE_MALLOC to 0 but
older undefines it. Accept both.
* server/convert.c: Forward declaration of file scope array is not
confirm to the standard. Fixed. Added some #ifdef USE_EUC_PROTOCOL.
* server/wconvert.c: ditto
2003-12-13 AIDA Shinra <[email protected]>
* CHANGES.jp: modify description of old "security bug"
2003-12-12 AIDA Shinra <[email protected]>
* Canna 3.7 release.
* CHANGES.jp: updated
* canna/patchlevel.h: bump to 3.7
2003-12-12 AIDA Shinra <[email protected]>
* dic/ideo/*: Sync with DIC_WORK branch.
2003-12-07 AIDA Shinra <[email protected]>
* canna/widedef.h: MacOS X 10.3 support
* canna/jrkanji.h: define CANNA_JR_BEEP_FUNC_DECLARED
2003-10-12 AIDA Shinra <[email protected]>
* Imakefile: s/CANNA_PURE_CFLAGS/PURE_CFLAGS/
* configure.ac: check inet_aton
* server/misc.c(GetAddrListFromName): use inet_addr if inet_aton is
not available
* canuum/configure.ac: pass PURE_CFLAGS to configure
* canuum/header.c: specify argument types of code_trans to distinguish
int and size_t
* canuum/sdefine.h: declare msg_get to distinguish int and size_t
* canuum/termio.c(set_scroll_region): pass exactly 10 arguments to
tparm (as XSI Curses standard notes)
(throw_cur_raw): ditto
2003-10-10 AIDA Shinra <[email protected]>
* cmd/ctow/ctow.c: s/close/fclose/
2003-10-10 AIDA Shinra <[email protected]>
* Some minor cleanups (especially printf format problems and unused
variables)
* cmd/cannacheck/main.c: cleanuped
* cmd/cannastat/cannastat.c: cleanuped
* cmd/catdic/rutil.c: cleanuped
* cmd/chkconc/chkconc.c: cleanuped
* cmd/crfreq/crfreq.c: cleanuped
* cmd/crxdic/crxdic.c: cleanuped
* cmd/cshost/cshost.c: cleanuped
* cmd/ctow/ctow.c: cleanuped
* cmd/dicar/dicar.c: cleanuped
* cmd/dpxdic/dpxdic.c: cleanuped
* cmd/kpdic/kpdic.c: cleanuped
* cmd/mergewd/mergewd.c: cleanuped
* cmd/splitwd/splitwd.c: cleanuped
* cmd/wtoc/wtoc.c: cleanuped, s/close/fclose/
* server/comm.c: cleanuped
* lib/RK/RKintern.h: declare ustoeuc
2003-10-10 AIDA Shinra <[email protected]>
* configure.ac: check arpa/inet.h
* canna/net.h: include <arpa/inet.h> if exists
* server/misc.c(DetachTTY): use HAVE_*
2003-10-05 AIDA Shinra <[email protected]>
* canna/jrkanji.h: declare jrBeepFunc only if CANNA_NEW_WCHAR_AWARE is
defined
* lib/RKC/confP.h(Lexer): turn typeof(lineno) to unsigned int
* lib/RKC/conf.c(Lexer_next): ditto
(Lexer_error): ditto
2003-10-02 AIDA Shinra <[email protected]>
* Set nonblocking mode properly.
* server/comm.c(set_nonblock): added
(EventMgr_accept): invoke set_nonblock
(open_unix_socket): ditto
(open_inet_socket): invoke set_nonblock. handle failure in listen() properly.
(open_inet6_socket): ditto
(ClientBuf_send): check EAGAIN and EWOULDBLOCK
(ClientBuf_recv): ditto
2003-10-02 AIDA Shinra <[email protected]>
* canna/sysdep.h: fallback to sys/types.h if neither inttypes.h nor
stdint.h are found
* configure.ac: better checking of int32_t and in_addr_t (for Cygwin)
* cmd/canlisp/canlisp.c: define CANNA_NEW_WCHAR_AWARE
* cmd/catdic/RKdelline.c: ditto
* cmd/catdic/Imakefile: cannakill was bad link ([Canna-dev 257])
* Canna.conf.dist(LDOPTIONS): remove -l$(libCannaDir)
([Canna-dev 258])
2003-09-30 AIDA Shinra <[email protected]>
* CHANGES.jp: add some items
2003-09-30 AIDA Shinra <[email protected]>
* [Canna-dev 254]
* lib/RKC/conf.c(host_num_defaults): change default value of
CONF_SERVER_TIMEOUT to 1500ms
* RKCCONF.jp: updated due to avobe change
* Imakefile: ifdef UseInet6 -> if UseInet6
2003-09-27 AIDA Shinra <[email protected]>
* dic/ideo/*: Sync with DIC_WORK branch. See dic/ideo/ChangeLog for
details.
* canna/patchlevel.h: bump to 3.7beta1
2003-09-26 AIDA Shinra <[email protected]>
* Update documents for 3.7 beta release.
* CHANGES.jp: truncated
* OCHANGES.jp: moved everything here from CHANGES.jp
* INSTALL: Updated. Removed description about ancient systems.
* INSTALL.jp: ditto
* README.jp: cannuum is now secure.
* misc/initfiles/sample.canna: describe :katakana
* misc/initfiles/verbose.canna: ditto
* misc/initfiles/unix.canna: describe and enable :katakana
2003-09-25 AIDA Shinra <[email protected]>
* Type of CRC is canna_uint32_t.
* lib/RKindep/cksum.h: use canna_uint32_t
* lib/RKindep/cksum.c: ditto
* cmd/crxdic/crxdic.c: ditto
2003-09-25 AIDA Shinra <[email protected]>
* Fix renbun-continue problem.
* lib/canna/commondata.c(InitCannaConfig): turn default value of
renbun-continue to t
* lib/canna/henkan.c(TanKakuteiYomiInsert): handle renbun-continue
properly
* misc/initfiles/verbose.canna: updated
2003-09-25 AIDA Shinra <[email protected]>
* canna/ccompat.h: avoid isolated semicolon in global scope
* cmd/cannastat/cannastat.c: add RCSID
* cmd/crrdic/*: removed because crrdic is obsoleted by kpdic
2003-09-25 AIDA Shinra <[email protected]>
* canna/jrkanji.h: Add declaration of jrBeepFunc. Remove exp() macro.
* lib/canna/canna.h: exp() macro is moved here
2003-09-25 AIDA Shinra <[email protected]>
* lib/RKC/conf.c(Parser_stmt): "foo" "bar" are converted to "foobar"
(syn_host): ditto
(Parser_getstr): added
* lib/RKC/confP.h: updated
2003-09-25 AIDA Shinra <[email protected]>
* Build cleanup and an experimental rule to build shared library.
* We no longer support EUC protocol.
* Canna.conf.dist: Lots of new macros. Especially make variables
"supportOldWchar" and "inet6Definition" are replaced with cpp macros
"SupportOldWchar" and "UseInet6".
* Imakefile: change the method to create cannaconf.h
* dic/ideo/pubdic/Imakefile: use ProgramTargetName rhan #if
* server/Imakefile: ditto
* cmd/cmd.tmpl: ditto
* cmd/catdic/Imakefile: ditto
* cmd/mkbindic/Imakefile: remove -Ui386
* cmd/mkromdic/Imakefile: remove -Ui386
* lib/RKindep/Imakefile: place all:: target first
2003-09-25 AIDA Shinra <[email protected]>
* lib/RKC/rkc.c(RkcConnectIrohaServer): invoke rkc_configure()
2003-09-24 AIDA Shinra <[email protected]>
* Now canna works on 64bit Solaris. I believe canna also works in
other 64bit environments with minor changes.
* configure.ac: check in_addr_t and socklen_t
* canna/net.h: Define canna_in_addr_t and canna_socklen_t here.
For this include "ccompat.h" first and place an include guard.
* cmd/cannastat/cannastat.c: remove verbose include
* cmd/crfreq/crfreq.c: fix type of header size
* lib/RK/RKintern.h(HD_TAGSIZ): correct definition
* lib/RK/ngram.c(RkKxGram): typeof(ng_neg) is canna_uint32_t
(RkReadGram): ditto
(RkCheckNegGram): ditto
* lib/RKC/wconvert.c(connect_unix): correct length of sockaddr
(connect_inet, INET6): type of port
(connect_inet, !INET6): type of hostinetaddr. use h_addr_list
if available.
* lib/RKindep/file.c(RkiConnect): type of 5th argument of getsockopt
* lib/canna/lisp.c(patom): cast properly due to varargs
* server/comm.c(open_inet_socket): use socklen_t
* server/main.c(process_request): forgot to pass first argument to
Dmsg
* server/wconvert.c(ExtensionRequest): static
2003-09-23 AIDA Shinra <[email protected]>
* cmd/cannastat/cannastat.c: cast time_t properly for printf
2003-09-23 AIDA Shinra <[email protected]>
* Fix RKC ABI problem.
RkcGetServerFD and RkcConnectIrohaServer were renamed by
sglobal.h, but their renamed names changed every time globnames
changed.
Now we export these functions in original names and renamed names
in 3.5/3.6. Cannastat and cshost in 3.5/3.6 work fine with new
3.7devel3 library, but these commands in older 3.7 fail to work.
For change of native ABI we bump patchlevel and minor version of
shared libraries.
* lib/RKC/rkc.c(G070_RkcGetServerFD): add for 3.5/3.6 compatibility
(G069_RkcConnectIrohaSrever): ditto
* cmd/cannastat/cannastat.c: don't include sglobal.h
* cmd/cshost/cshost.c: ditto
* canna/patchlevel.h: bump to 3.7devel3
* Canna.conf.dist(cannaDsoRev): bump to 1.2
2003-09-23 AIDA Shinra <[email protected]>
* More portable cshost. Ver.1 server support is removed.
* cmd/cshost/cshost.c(CannaDispControlList): rewrite
(IrohaDispControlList): removed
2003-09-23 AIDA Shinra <[email protected]>
* server/comm.h(EventMgr_run): make sure to send all of reply after
KillServer request.
2003-09-23 AIDA Shinra <[email protected]>
* Fully rewrite cannastat.
* New cannastat is more portable to 64bit environments.
* Implement strict error check.
* canna/rkcapi.h: new APIs
* cmd/cannastat/cannastat.c: rewrite
* lib/RKC/convert.c(ReadServer): export as RkcRecvEReply
(WriteServer): export as RkcSendERequest
* lib/RKC/wconvert.c(ReadServer): export as RkcRecvWReply
(WriteServer): export as RkcSendWRequest
* server/IR.h: move many definitions to server.h
* server/server.h: move many definitions from IR.h
2003-09-22 AIDA Shinra <[email protected]>
* Fix IR_STAT and IR_STAT2 and inhibit other protocols before IR_INIT.
* server/convert.c(SendTypeE5Reply): change first argument
(ir_initialize): make sure to close connection in error case
(ir_server_stat2): change first argument
(ir_server_stat): ditto
(ir_nosession): added
(parse_euc_request): s/request/xrequest/
(Vector): reject IR_STAT and IR_STAT2 when session is up
* server/main.c(process_request): perform dispatch via ir_nosession
2003-09-22 AIDA Shinra <[email protected]>
* server/misc.c(get_all_other_clients): correct syntax error
2003-09-21 AIDA Shinra <[email protected]>
* ServerNG: 50% scratched reimplementation of cannaserver.
* Now cannaserver does not use bitmap of sockets to manage clients.
This makes it far easy to port cannaserver to 64bit environments.
* Now cannaserver performs fully multiplexed I/O. Especially
we are free from hangs waiting for response from dead client.
* Intitialization, termination and error handling is much more
clean.
* All code derived from X server retired.
* All functions have prototypes.
* configure.ac: check syslog(), vsyslog() and time_t.
* canna/protodefs.h: simplify !EXTENSION case
* lib/RKindep/file.h(RKI_FD_SETSIZE): added
* server/IR.h: Now contains only minimum definitions for use
in cannastat and cshost.
* server/server.h: place prototype declarations here
* server/WaitFor.c: Removed.
* server/connectoin.c: Removed. Some code are moved into comm.c
and session.c.
* server/convert.c: Reduce use of ClientRec by some formal changes.
* server/wconvert.c: ditto
* server/comm.c: added
* server/session.c: added
* server/util.c: add const qualifier, replace int to size_t
2003-09-21 AIDA Shinra <[email protected]>
* lib/RK/RK.h: Fix 7th arguemnt's type of RkwGetSimpleKanji.
Declare RkwStoreRange.
* lib/RK/bun.c(RkwGetSimpleKanji): fix 7th arguemnt's type
* lib/RKC/rkc.c(RkwGetSimpleKanji): ditto
* lib/canna/engine.c(RkwGetSimpleKanji): ditto
2003-09-21 AIDA Shinra <[email protected]>
* lib/canna/kctrl.c(KC_initialize): fix condition
* cmd/cannacheck/main.c: remove "delay-connect" desc
2003-09-21 AIDA Shinra <[email protected]>
* lib/canna/kctrl.c(KC_initialize): s/chkverbose/ckverbose/
2003-09-21 AIDA Shinra <[email protected]>
* configure.ac: add spaces at the top of lines of AC_CHECK_FUNCS
2003-09-21 AIDA Shinra <[email protected]>
* lib/canna/kctrl.c(KC_initialize): ignore delay-connect in verbose
mode for cannacheck.
2003-09-18 AIDA Shinra <[email protected]>
* cmd/dpxdic/dpxdic.c(getdic): 300702L format dictionary
2003-09-18 AIDA Shinra <[email protected]>
* Cleanup includes and definitions in RKC and server.
* canna/protodefs.h(MIN): removed
* RKindep/ecfuncs.h(RKI_MIN): added
(RKI_MAX): added
* lib/RKC/*: cleaned up
* server/*: cleaned up
* server/server.h: added
2003-09-17 AIDA Shinra <[email protected]>
* Get rid of BIGPOINTER switch and replace to canna_intptr_t.
* configure.ac: test sizeof(void *)
* canna/sysdep.h: add canna_intptr_t and fix typo in canna_uint32_t
definition.
* Canna.conf.dist: remove pointerIntegerDef and wcharDefinition
* ccustom/Imakefile: ditto
* cmd/cmd.tmpl: ditto
* ccustom/lisp.h: use canna_intptr_t instead of POINTERINT
* cmd/cannacheck/main.c: ditto
* lib/canna/canna.h: define POINTERINT to canna_intptr_t
* lib/canna/lisp.c: replace unsigned POINTERINT to canna_uintptr_t
* lib/canna/lisp.h: use SIZEOF_VOID_P instead of BIGPOINTER switch
2003-09-17 AIDA Shinra <[email protected]>
* Remove most code for Windows port. It is generally ad hoc and making
difficult to maintain related code. In addition working Canna for
Windows requires additional proprietary code. Even if we ported
Canna to non-UNIX system again, the implementation would be far
from Canna for Windows anyway.
* lib/canna/*: New compile time switches "USE_MALLOC_FOR_BIG_ARRAY"
and "CODED_MESSAGE" are introduced. Some part of Windows code
is left and can be enabled by turning these switches on.
2003-09-17 AIDA Shinra <[email protected]>
* add sysdep.h and pubconf.h for canna_intXX_t.
* configure.ac: create pubconf.h
* Imakefile: create, link, and install pubconf.h
* canna/sysdep.h: added
* canna/ccompat.h: include "canna/sysdep.h"
* canna/Imakefile: link and install sysdep.h
* canna/jrkanji.h: include <canna/sysdep.h> and use canna_uintXX_t
* lib/RK/RK.h: ditto
* lib/RKC/rkcw.h: use canna_uintXX_t to define cannawc
* canna/protodefs.h: use canna_uint16_t to define Ushort
* server/IR.h(LENTODATA): use canna_uintXX_t
(DATATOLEN): ditto
2003-09-17 AIDA Shinra <[email protected]>
* [Canna-dev 245]: new key symbols and others (by Ikumi san)
* doc/man/guide/tex/custom.tex: remove server-timeout
* dic/phono/tut.kpdef(tgu): tai->kuma (Reported by KIHARA Hideto san)
* canuum/canna.c(convert_getterm): use new key symbols
2003-09-17 AIDA Shinra <[email protected]>
* doc/misc/wchar.tex: removed obsolete document
* doc/misc/.cvsignore: removed
* doc/Imakefile: no need to put symlink to canna.sty in doc/misc
* [Canna-dev 127]: canlisp manual
* doc/lisp/canlisp.tex: Updated. Old Kon san's mail address was
removed.
2003-09-16 AIDA Shinra <[email protected]>
* lib/RKC/convert.c(ReadServer): continue in EINTR case
(WriteServer): select()
* lib/RKC/wconvert.c(READIT): continue in EINTR case
(WriteServer): select()
2003-09-15 AIDA Shinra <[email protected]>
* canuum/README.jp: Sync with release branch.
Update libspt download page.
2003-09-15 AIDA Shinra <[email protected]>
* CHANGES.jp: sync with release branch
* INSTALL: ditto
* INSTALL.jp: ditto
* canuum/canna.c(init_uum): remove nonsensical "< 0"
* server/server.jmn(SYNOPSIS): add -inet6
2003-09-15 AIDA Shinra <[email protected]>
* cmd/cannacheck/main.c: server name mignt be NULL if delay-connect
option is set
2003-09-15 AIDA Shinra <[email protected]>
* misc/.cvsignore: add manual.sed
* misc/initfiles/verose.canna(server-timeout): removed
2003-09-12 AIDA Shinra <[email protected]>
* [Canna-dev 241]: bug report from Chinen san
* lib/RK/fq.c(readNV): bad pointer
2003-09-09 Toru TAKAMIZU <[email protected]>
* misc/initfiles/unix.canna: fix a typo ([Canna-dev 216]).
* misc/initfiles/verbose.canna: (setq inhibit-hankaku-kana nil)
([Canna-dev 216])
* document patch from Ikumi-san ([Canna-dev 216]). The document
is now compliant with LaTeX2e, while the old one depends on
LaTeX. Note that LaTeX 2.09 cannot typeset the document after
this change. The patch also includes a lot of misc fixes. The
following files are modified.
- doc/man/guide/tex/custom.tex
- doc/man/guide/tex/kanacode.tex
- doc/man/guide/tex/Imakefile
- doc/man/guide/tex/library.tex
- doc/man/guide/tex/server.tex
- doc/man/guide/tex/customex.tex
- doc/man/guide/tex/canna-dist.tex
- doc/man/guide/tex/commands.tex
- doc/man/guide/tex/konna.tex
- doc/man/guide/tex/jinput.tex
- doc/man/guide/tex/keymap.tex
- doc/man/guide/tex/func.tex
- doc/man/guide/tex/customfn.tex
- doc/README.jp
- doc/canna.sty
2003-09-08 AIDA Shinra <[email protected]>
* lib/RKC/conf.c(read_pipe_with_errors): prevent hang when my zombie
process disappeared by client's wait()
2003-09-08 AIDA Shinra <[email protected]>
* [Canna-dev 239]: build error and error handling for rkc.conf
* lib/RKC/conf.c(config_path): better error messages
* lib/canna/Imakefile(clean): fix NARROW
2003-09-07 AIDA Shinra <[email protected]>
* lib/RK/ngram.c(RkReadGram): fix grammar offset calculation,
reduce gcc's warning
(RkCopyWrec): initialize a variable
* lib/RK/util.c(_RkReadHeader): fix copy size
(_RkCreateHeader): another fix of position calculation
2003-09-06 AIDA Shinra <[email protected]>
* lib/RKC/conf.c: cast 0xdeadbeef to int
(config_path): avoid PATH_MAX; now return a pointer allocated via
malloc()
(rkc_configure): change error handling for above change
* lib/RKC/confP.h: cast 0xdeadbeef to int
* lib/RKindep/strops.exp: add three entries
* lib/RKindep/strops.h(RKI_STRBUF_ADDCH): added
* lib/RKindep/strops.c(RkiStrbuf_add): added
(RkiStrbuf_addmem): added
(RkiStrbuf_addch): added
* Canna.conf.dist(CANNA_DEFINES): added for __EXTENSIONS__ on sun
* Imakefile(DEFINES): added for CANNA_DEFINES
* cmd/cmd.tmpl(DEFINES): add CANNA_DEFINES
* lib/RK/RKintern.h: fix RK_ASSERT
* lib/RK/util.c(_Rkpanic): s/fprintf/vfprintf/
(_RkCreateHeader): fix datasz calculation
* lib/RKC/Imakefile: merge RKC16/Imakefile
* lib/RKC16/Imakefile: merge into RKC/Imakefile and include it
* lib/canna/Imakefile: merge canna16/Imakefile
* lib/canna16/Imakefile: merge into canna/Imakefile and include it
2003-09-06 AIDA Shinra <[email protected]>
* lib/canna/Imakefile(RKINDEPSRCS): fix typo
* server/misc.c(EarlyInit): -l <num> was not working
2003-09-06 AIDA Shinra <[email protected]>
* [Canna-dev 231]: cpdic failure and cpp's stderr
* lib/RKC/wconvert.c(SendType21Request): fix request size
* lib/RKC/Imakefile: add strops.[co]
* lib/RKC16/Imakefile: ditto
* lib/canna/Imakefile: ditto
* lib/canna16/Imakefile: ditto
* lib/RKC/conf.c(read_pipe_with_errors): added
(rkc_configure): use read_pipe_with_errors() instead of popen()
(Lexer_new): receive complete input instead of FILE *
* lib/RKC/confP.h(Lexer): remove rdbuf, curr and rdend is now const
char *
* lib/RKindep/strops.c: added
* lib/RKindep/strops.exp: added
* lib/RKindep/strops.h: added
2003-09-04 AIDA Shinra <[email protected]>
* dic/ideo/words/Imakefile: fix DIC_3_6_COMPAT
* dic/ideo/grammer/Imakefile: ditto
2003-09-04 AIDA Shinra <[email protected]>
* [Canna-dev 226][Canna-dev 227]: isnumber
* lib/RKC/conf.c(Lexer_next): s/isnumber/isdigit/
2003-09-04 Toru TAKAMIZU <[email protected]>
* cmd/cannacheck/ccheck.man: remove a blank line
2003-08-31 AIDA Shinra <[email protected]>
* doc/intern/dic.txt: fix spelling
2003-08-31 AIDA Shinra <[email protected]>
* [Canna-dev 220]: tango touroku problem
* lib/canna/uldefine.c(dicTourokuControl): set tblflag
2003-08-24 AIDA Shinra <[email protected]>
* doc/intern/dic.txt: previous commit was insufficient
* Canna.conf.dist(DIC_3_6_COMPAT): new cpp option
* dic/ideo/words/Imakefile: support DIC_3_6_COMPAT
* dic/ideo/grammer/Imakefile: ditto
* cmd/mkbindic/mkbindic.cpp: support -c option
* cmd/mkbindic/mkbindic.man: updated
* cmd/mkbindic/mkbindic.jmn: updated
2003-08-24 AIDA Shinra <[email protected]>
* New dictionary header. The new format is incompatible with former
format, therefore some compatibility feature are introduced.
Crxdic has "3.6-compatible" mode. Crfreq generates old .cld if
.cbd is old format. Server can mount both old and new dictionaries.
These stuff will be removed someday.
* canna/patchlevel.h: bump to 3.7devel2
* lib/RK/RKintern.h: include <unistd.h> and <fcntl.h>
(HD_*): reorder and change to enum
(HD_VERSION): new macro
(HD_TAG_*): moved into util.c
(struct ND): new member "version"
* lib/RK/ngram.c(RkReadGram): New argument "gramsz". Size check is
performed by "gramsz".
(RkOpenGram): Deal with new grammer data storage.
* lib/RK/permdic.c(openDF): Deal with new grammer data storage.
remove "WIN" code.
* lib/RK/util.c(HD_*): moved from RKintern.h
(read_tags): added
(_RkReadHeader): rewritten to handle new format
(_RkCreateHeader): ditto
* cmd/crfreq/crfreq.c(main): s/RK_MAX_HDRSIZ/RK_OLD_MAX_HDRSIZ.
Deal with new grammer data storage.
* cmd/crxdic/crxdic.c(struct dictionary): new members "gram{data,sz}"
(parse_arg): -c and -g option
(STrdup): check memory allocation error
(setHeader): removed
(makeHeader): rewritten
(write_file): write grammer data here instead of "cat" in Makefile
(main): store grammer in memory
* cmd/dpxdic/dpxdic.c(main): catch RkReadGram API change up
* dic/ideo/grammer/Imakefile: don't create fuzokugo.cld.
include cnj.bits to fuzokugo.cbd by "crxdig -g" instead of "cat".
* dic/ideo/words/dics.dir: remove fuzokugo.cld
* doc/intern/dic.txt: updated
2003-08-17 AIDA Shinra <[email protected]>
* doc/intern/dic.txt: documentation of binary dictionary format
2003-08-16 AIDA Shinra <[email protected]>
* Binary dictionary was not created properly. It caused wrong
learning sometimes.
* cmd/crxdic/crxdic.c(getp): returned number was not prime
(fil_ltab): "csn" record in link table was wrong
2003-08-16 AIDA Shinra <[email protected]>
* cmd/crxdic/crxdic.c: Improve boundary and internal sanity checks.
Some of error exit() are replaced to assert().
(fil_dic): remove pg arg
* lib/RK/RKintern.h(RK_ASSERT): added
* lib/RK/ngram.c(wstowrec): Fix wrong boundary check. Some of error
return are replaced to RK_ASSERT().
(RkParseWrec): Remove workaround for above wrong boundary check.
And improvements of sanity checks.
(RkParseOWrec): ditto
* lib/RK/util.c(_Rkpanic): use vfprintf
(RkAssertFail): added
* lib/RKC/convert.c(ServerTimeout): fix declaration
* lib/RKC/wconvert.c(ServerTimeout): define externally
* lib/canna/globnames: add ServerTimeout again
* server/misc.c(EarlyInit): fix -d handling
(BecomeDaemon): ditto
2003-08-08 AIDA Shinra <[email protected]>
* Preprocess rkc.conf by cpp.
* Canna.conf.dist(RKC_DEFINES): add -DCPP
* RKCCONF.jp: updated
* lib/RKC/conf.c(rkc_configure): popen cpp
(Lexer_new): initialize linetop flag
(Lexer_next): read "# line" generated by preprocessors
* lib/RKC/confP.h(Lexer): new member "linetop"
2003-08-07 AIDA Shinra <[email protected]>
* lib/RKC/conf.c(Parser_eval): disallow EOF in expressions
2003-08-07 AIDA Shinra <[email protected]>
* Implement C-like expressions evaluator for rkc.conf.
* RKCCONF.jp: updated
* lib/RKC/conf.c(match_operator1): added
(match_operator2): added
(Lexer_next): process operators, add postfix_op flag
(op_dump): added for debug
(Token_dump): add TOK_SEMICOLON and TOK_OPERATOR
(Parser_next): pass postfix_op flag to Lexer_next(), dump token
if CONF_LEXER_DEBUG is defined
(Parser_next_postfixop): added
(Parser_stmt): evaluate expressions
(Parser_eval_error): added
(Parser_eval): added
(calc_*): added
(top_statements): turn to static
(host_statements): turn to static
(RkcConfMgr_find): fix logic
* lib/RKC/confP.h(CONF_LEXER_DEBUG): add debug flag
(CONF_EVAL_DEBUG): add debug flag
(TokenType): add TOK_OPERATOR
(Operator): added
(TokenVal): new member "opval" to store an operator
(Parser): new member "exprval"
2003-08-05 AIDA Shinra <[email protected]>
* Implement RKC configuration infrastracture.
* RKCCONF.jp: new documentation
* configure.ac: check strlcpy()
* canna/rkcapi.h(INT_HEADER): added
* canna/Imakefile: add rkcapi.h
* canna/symbolname.h: remove "server-timeout"
* lib/RK/RK.h(RkwSetTimeout,RkwGetTimeout): removed
* lib/RKC/Imakefile: add conf.c, conf.h and confP.h
create symbolic link to rkcapi.h in $(CANNAROOT)/includes.
* lib/RKC/conf.c: added configurator implementation
* lib/RKC/conf.h: added
* lib/RKC/confP.h: added
* lib/RKC/rkc.c(ServerTimeout): move into wconvert.c
(config_error_handler): added
(RkwInitialize): remove CANNA_TIMEOUT feature.
invoke config_error_handler. invoke rkc_configure/rkc_config_fin.
(RkwFinalize): invoke rkc_config_fin.
(RkcListenConfigErrors): added
(RkwGetTimeout): removed
(RkwSetTimeout): removed
* lib/RKC/rkc.h: include "rkcapi.h"
* lib/RKC/wconvert.c(ServerTimeout): moved from rkc.c
(rkc_build_cannaserver_list): check "cannahost" in rkc.conf.
(rkc_Connect_Iroha_Server): set ServerTimeout here
* lib/RKC16/Imakefile: add conf.c, conf.h and confP.h
* lib/RKindep/Imakefile: add ecfuncs.h
* lib/RKindep/cfuncs.c(RkiAltStrlcpy): added
(RkiAltStrlcat): added
* lib/RKindep/ecfuncs.exp: added for RkiAltStrl{cat,cpy}
* lib/RKindep/ecfuncs.h: added for strlcpy and strlcat
* lib/RKindep/file.c(RkiGetLine): added
(RkiReadWholeFile): added
* lib/RKindep/file.exp: added RkiGetLine and RkiReadWholeFile
* lib/RKindep/file.h: ditto
* lib/canna/Imakefile(RKCSRCS): add conf.c
(RKCOBJS): add conf.o
* lib/canna16/Imakefile: ditto
* lib/canna/globnames: add config related functions and remove
ServerTimeout.
* lib/canna/henkan.c(warnRKCErrors): added
(KanjiInit): report RKC config errors if you are in verbose mode
* lib/canna/lisp.c(VServTimeout): removed
2003-08-02 AIDA Shinra <[email protected]>
* fix chkconc build.
* lib/RK/RKintern.h(struct RkGramIterator): added
(RkNextGram): added
* lib/RK/ngram.c(RkFirstGram): added
(RkEndGram): added
* cmd/chkconc: use RkGramIterator
2003-08-01 AIDA Shinra <[email protected]>
* lib/RK/permdic.c(_Rkpopen): fix copy and paste error
2003-08-01 AIDA Shinra <[email protected]>
* Change internal representation of conjunctions. Conjunction
matrix is packed per rows and referred by binary search.
It can also hold some flags. This is first step to increase
maximum number of hinshi.
* lib/RK/RKintern.h(RkKxDic): move RkKxDic to ngram.c.
(TestGram): replaced to RkTestGram()
(struct nword): remove nw_rcvec
* lib/RK/ngram.c(RkKxGram): added and new records
(gram_fill_conjcells): added
(RkGetGramSize): #ifdef unused
(RkTestGram): added to replace TestGram() macro
(RkCheckNegGram): moved from nword.c and compute rcvec here
* lib/RK/nword.c(checkNeg): renamed to RkCheckNegGram and moved
into ngram.c
(concWord): use RkCheckNegGram and remove unused variable
(parseWord): use RkTestGram
* lib/RK/bun.c(nword2str): use RkGetGramName instead of direct
access to nw_strtab
2003-07-31 AIDA Shinra <[email protected]>
* [Canna-dev 218]: Ftte
Lower priority of 1 letter word + Ftte. Just a first step.
* lib/RK/RKintern.h(RkGram): add P_Ftte
(nword): move nw_count outside #ifdef LOGIC_HACK
(NW_LOWPRI): move outside #ifdef LOGIC_HACK
* lib/RK/context.c(_RkInitialize): get P_Ftte
* lib/RK/permdic.c(_Rkpopen): ditto
* lib/RK/nword.c: move some LOGIC_HACK code outside #ifdefs.
better to remove !LOGIC_HACK code?
(concWord): NW_LOWPRI to Ftte
(compword): place NW_LOWPRI words after all !NW_LOWPRI word.
2003-07-06 AIDA Shinra <[email protected]>
* [Canna-dev 213]: Ikumi-san: key mappings and misc/canna removal
* lib/canna/lisp.c(keywordtable): add some key symbols
(LdefXKeysym): removed because nobody use and don't work and
considered harmful
* canna/symbolname.h(S_defXKeysym): removed
* lib/canna/alphamap.h: delete extra space
* lib/canna/emptymap.h: delete extra space
* misc/canna: removed because we have rc.canna
2003-07-06 Toru TAKAMIZU <[email protected]>
* [Canna-dev 190]: Ikumi-san: documentations improved.
- Canna.conf.dist: correct some wording
- INSTALL: explanation about automatic startup now makes the
reader refer to the sample script rather than shows an
example that assumes a certain directory layout etc.
- INSTALL.jp: ditto
2003-07-03 AIDA Shinra <[email protected]>
* [Canna-dev 212]: KC_DO behaviour
* lib/canna/kctrl.c(KC_do): return number of commited characters for
consistency with EUC API
2003-06-29 AIDA Shinra <[email protected]>
* lib/RKindep/cksum.c(RkiCksumCRCAdd): char -> unsigned char
* cmd/crxdic/crxdic.c(makeHeader): dic->hdr is empty and useless here.
use dic->Dir->buf instead.
2003-06-29 AIDA Shinra <[email protected]>
* Several fixes related to romaji-kana conversion.
* cmd/dpromdic/dpromdic.c(printch): escape cpp-unsafe characters
* cmd/kpdic/kpdic.c(getWORD): Interpret "\xXX" format. "n\x27" was
"nx27" for 9 years!
(main): correct size header of PTDIC
* cmd/mkromdic/mkromdic.cpp: expand CPP macro
* lib/RK/RK.h: add RX_PTDIC
* lib/canna/RKroma.c: make PTDIC format work
(readHeader): added
(RkwOpenRoma): move header operations to readHeader
2003-06-23 AIDA Shinra <[email protected]>
* lib/RKC/rkc.c(uinfo): change to static to prevent a conflict with
uilib's uinfo
* lib/RKindep/Imakefile: don't use .SUFFIXES::, which conflicts with
all other .SUFFIXES:.
* lib/canna/uldefine.c(uuT2TangoEveryTimeCatch): also set SENTOU flag
to submitted string in romajiBuffer.
* Canna.conf.dist(cannaDsoRev): add Darwin dylib
* canna/widedef.h: add Darwin wchar
2003-05-28 AIDA Shinra <[email protected]>
* server/main.c(main): initialize first and fork last
* server/misc.c(BecomeDaemon): move init code to EarlyInit
* server/misc.c(EarlyInit): added
2003-05-28 AIDA Shinra <[email protected]>
* server/main.c(main): fork later
* server/misc.c(BecomeDaemon): _exit() instead of exit()
2003-04-06 AIDA Shinra <[email protected]>
* Merge stat patch by Fujieda-san and Kanou san. (default off)
* lib/RK/Imakefile: add /* -RK_LOG */
* lib/RK/RKintern.h: apply stat patch.
* lib/RK/bun.c: ditto
2003-04-05 AIDA Shinra <[email protected]>
* server/misc.c(GetAddrListFromName): resolve INET4 and INET6
independently.
2003-03-30 AIDA Shinra <[email protected]>
* server/connection.c(GetConnectionInfo): revert the way to
descriminate UNIX socket.
* server/main.c(NextAvailableClient): don't close socket here
2003-03-29 AIDA Shinra <[email protected]>
* lib/RKindep/file.h: include <sys/time.h> family for struct timeval.
2003-03-29 AIDA Shinra <[email protected]>
* Implement demand connection and timeout for client.
* lib/RKindep/file.c: added
* lib/RKindep/file.h: typedef rki_fd_set, RKI_FD_SET(), RkiConnect
* lib/RKindep/Imakefile: compile file.c
* lib/RKindep/file.exp: add RkiConnect
* configure.ac: check FD_ISSET and fd_set
* canna/symbolname.h: add "delay-connect", "server-timeout"
* lib/RK/RK.h: add RkwSetTimeout, RkwGetTimeout
* lib/RKC/Imakefile: include RKindep/file.c
* lib/RKC16/Imakefile: ditto
* lib/canna/Imakefile: ditto
* lib/canna16/Imakefile: ditto