Develop and Download Open Source Software

Browse CVS Repository

Contents of /canna/canna/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.212 - (show annotations) (download)
Sat Apr 5 17:29:57 2008 UTC (16 years ago) by aida_s
Branch: MAIN
CVS Tags: HEAD
Changes since 1.211: +4 -1 lines
* lib/RKindep/cfuncs.c(RkiAltStrlcat): bugfix

1 2008-04-06 AIDA Shinra <shinra@j10n.org>
2 * lib/RKindep/cfuncs.c(RkiAltStrlcat): bugfix
3
4 2008-04-06 AIDA Shinra <shinra@j10n.org>
5 * [Canna-dev 363]: old style sort options is no longer available
6 * Don't use the sort command. Implement necessary features into
7 the mergeword and the pod. The forsort is no longer used but
8 still installed for the backward compatibility.
9 * cmd/mergewd/mergewd.c: Reimplemented from scratch.
10 New option "-s": sort the input before the merge.
11 * cmd/mkbindic/mkbindic.cpp: mergeword -s instead of forsort and sort
12 * dic/ideo/grammar/Imakefile: ditto
13 * dic/ideo/pubdic/pod.c: New sort options.
14 New option "-P": sort by yomi and freq stably
15 New option "-S": don't sort; output order is the same to the input
16 * dic/ideo/words/Imakefile: remove forsort, which is just a garbage
17 * dic/phono/Imakefile: ditto
18 * lib/RK/RKintern.h(euctous): declare here
19 * misc/zipcode/Imakefile: mergeword -s and pod -P instead of forsort
20 and sort.
21 (distclean): new target
22
23 2007-08-08 AIDA Shinra <shinra@j10n.org>
24 * [Canna-dev 360]: romaji-yuusen bug
25 * Multiple bugfixes around kana input
26 * lib/canna/RKkana.c(RkwMapPhonogram): Don't pass non-ASCII characters
27 to RkMapPhonogram as the 6th arg.
28 * lib/canna/RKroma.c (RkMapPhonogram): Handle sokuon in old dic case
29 as romaji-yuusen feature expects.
30 (RkMapRoma): Tweak for consistency with RkMapPhonogram's change.
31 * lib/canna/empty.c(EmptySelfInsert): Prevent crash in kana input.
32 * lib/canna/multi.c(_DoFuncSequence): Convert kana key to wchar.
33 * lib/canna/romaji.c(YomiInsert): Allow only ASCII and kana keys to be
34 FunctionalInsert'ed.
35 (makePhonoOnBuffer): Change the 3rd arg to wchar_t.
36 (Yomisearchfunc): Try romaji-yuusen feature only for suitable keys
37 for romaji-kana conversion.
38
39 2006-04-02 AIDA Shinra <shinra@j10n.org>
40 * [Canna-dev 359]: Solaris + gcc
41 * canna/ccompat.h: On sun gcc uses vendor's as rather than gas.
42 * Canna.conf.dist: Set LD_RUN_PATH on Sun even if ModernElfLink == NO.
43 * ChangeLog(2005-01-01): remove a duplicate
44
45 2006-03-31 AIDA Shinra <shinra@j10n.org>
46 * lib/RK/ncache.c(hash): consider negative pointer
47 * lib/canna/keydef.c(createHashKey): ditto
48
49 2005-05-30 AIDA Shinra <shinra@j10n.org>
50 * ChangeLog(previous commit): gram.goto was changed
51
52 2005-05-30 AIDA Shinra <shinra@j10n.org>
53 * canna/widedef.h: MacOS X 10.4 support
54 * server/util.c: The unused part was enabled by mistake. Disable it.
55 * dic/ideo/grammar/gram.goto: descrease the priority of "-ka-kara-na"
56
57 2005-04-01 AIDA Shinra <shinra@j10n.org>
58 * dic/ideo/*: Sync with DIC_WORK branch.
59
60 2005-03-11 AIDA Shinra <shinra@j10n.org>
61
62 * lib/RK/bun.c(RkwQueryDic): fixed a bug in the implementation of an
63 unused protocol.
64
65 2005-03-11 AIDA Shinra <shinra@j10n.org>
66
67 * #KX, #SX and #ZX was not correctly defined. A cancel in grammatical
68 questions caused a wrong definition.
69 * lib/canna/ulhinshi.c(uuTHinshi2YesCatch): handle errors in
70 grammatical questions
71 (uuTHinshi2NoCatch): ditto
72 (uuTHinshi1YesCatch): ditto
73 (uuTHinshi1NoCatch): ditto
74 (dicTourokuHinshiDelivery): no need to invoke clearYomi() here
75 (makeHinshi): keep katsuyou flag correct
76 (tourokuNo): fix #KX, #SX and #ZX handlings
77 (tangoTouroku): trim last two characters from #KX, #SX and #ZX
78
79 2005-01-04 AIDA Shinra <shinra@j10n.org>
80
81 * doc/lisp/canlisp.tex: style fix
82
83 2005-01-01 AIDA Shinra <shinra@j10n.org>
84
85 * New canlisp feature: (load "nonexistent-file" t) returns no error.
86 * lib/canna/lisp.c(Lload): If a non-nil value is given as the second
87 arg of "load", no error is raised even if a nonexistent file were
88 loaded. If the second arg is omitted, nil is assumed.
89 * doc/lisp/canlisp.tex: describe the feature
90
91 2004-11-21 AIDA Shinra <shinra@j10n.org>
92
93 * New CRC calculator was buggy.
94 * lib/RKindep/mkcrctab.c: create correct CRC table
95 * lib/RKindep/crctab.c: newly generated
96
97 2004-11-21 AIDA Shinra <shinra@j10n.org>
98
99 * [Canna-dev 326]: toorudearou
100 * dic/ideo/grammar/gram.code: make "dearou" synonymous with "darou"
101
102 2004-11-18 AIDA Shinra <shinra@j10n.org>
103
104 * [Canna-dev 323]: shiranasasugiru
105 * dic/ideo/grammar/gram.goto: new conjunction: nai+ sugiru
106
107 2004-09-30 AIDA Shinra <shinra@j10n.org>
108
109 * [Canna-dev 320]: multi.c patch
110 * lib/canna/multic: End, Zenkaku/Hankaku key
111
112 2004-09-30 AIDA Shinra <shinra@j10n.org>
113
114 * [Canna-dev 319]: Imakefile bug & #CN -> #CNS/#KK
115 * dic/ideo/words/Imakefile: TAB -> space
116 * dic/ideo/words/zipcode.t: #CN -> #CNS
117 * dic/ideo/words/jigyosyo.t: #CN -> #KK
118 * misc/zipcode/ken_all2canna.pl: #CN -> #CNS
119 * misc/zipcode/jigyosyo2canna.pl: #CN -> #KK
120 * canna/patchlevel.h: bump to 3.8devel2
121
122 2004-08-06 AIDA Shinra <shinra@j10n.org>
123
124 * Introduce new zipcode dictionary made by Nakai san.
125 * dic/ideo/words/zipcode.t: added
126 * dic/ideo/words/jigyosyo.t: added
127 * dic/ideo/words/yubin.t: removed
128 * dic/ideo/words/dics.dir: added zipcode entries
129 * dic/ideo/words/obsolete.dir: ditto
130 * dic/ideo/words/Imakefile: create zipcode.cbd
131 * misc/zipcode/*: added
132 * COPYRIGHT: updated. zipcode.t and jigyosyo.t are in public domain.
133 misc/zipcode/* are under GPL.
134 * cmd/mergewd/mergewd.c: False "too long line" message was printed.
135 Fixed.
136
137 2004-05-21 AIDA Shinra <shinra@j10n.org>
138
139 * confwrapper: "." bashism. Many shells don't searches the current
140 directory.
141 * Imakefile: $(CC) -> env $(CC) in case $(CC) is
142 "LD_LIBRARY_PATH=/usr/X11R6/lib cc".
143 * canuum/Imakefile: ditto
144
145 2004-05-05 AIDA Shinra <shinra@j10n.org>
146
147 * lib/RK/RKintern.h: use mmap
148 * lib/RK/context.c: include <sys/stat.h> for mkdir(2)
149
150 2004-05-05 AIDA Shinra <shinra@j10n.org>
151
152 * COPYRIGHT: added
153 * RKCCONF.jp: warn about future change
154
155 2004-05-04 AIDA Shinra <shinra@j10n.org>
156
157 * Merge Pubdic+-fix01 to make the license of pubdic more clear.
158 * dic/ideo/pubdic/pod.c: Remove #ifndef POD_WCHAR part.
159 Make casts more proper. Add 'vu' conversion though it is not needed
160 for now.
161 * dic/ideo/pubdic/COPYRIGHT: added
162 * dic/ideo/pubdic/VERSION: added
163
164 2004-05-03 AIDA Shinra <shinra@j10n.org>
165
166 * Reimplement CRC calculator to avoid old BSD license.
167 * lib/RKindep/cksum.c: reimplemented everything from FreeBSD
168 * lib/RKindep/crctab.c: added
169 * lib/RKindep/mkcrctab.c: added (but not compiled)
170 * lib/RKindep/Imakefile: mkcrctab rule
171
172 2004-04-26 AIDA Shinra <shinra@j10n.org>
173
174 * Make it easy to share canuum code with original uum.
175 * canuum/commonhd.h: don't simply remove #include
176 * canuum/sdefine.h: ditto
177 * canuum/sheader.h: ditto
178 * canuum/configure.in(--with-term-libs): don't touch LIBS. support
179 cross compilation.
180 * canuum/jhlp.c: don't simply remove #include
181 (chld_handler): use _POSIX_VERSION to determine if we use union wait
182 (throughlike): remove an unused functoin
183 * canuum/termcap.c(sr_set): check %p though it exists only in terminfo
184
185 2004-04-25 AIDA Shinra <shinra@j10n.org>
186
187 * canuum/README.jp: updated
188 * canuum/canuum.jmn: Description about -[SJUsju] options were
189 misleading or wrong.
190
191 2004-04-25 AIDA Shinra <shinra@j10n.org>
192
193 * canuum/*: imported uum from FreeWnn (CVS HEAD, 2004-04-25)
194 * canuum/acconfig.h: removed because we use autoconf 2.59 now
195 * canuum/configure.in: autoconf 2.59
196 * canuum/jhlp.c: wnn_fd_set -> fd_set, WNN_FD_* -> FD_*
197 * mkrelease.sh: use autoconf 2.59 for canuum
198
199 2004-04-13 AIDA Shinra <shinra@j10n.org>
200
201 * lib/RKC/conf.c(Lexer_next): an extra memchr() caused a crash
202 * canuum/jhlp.c(chld_handler): cygwin has union wait but WIF*() macros
203 do not work if union wait is given
204
205 2004-04-10 AIDA Shinra <shinra@j10n.org>
206
207 * [Canna-dev 297]: romaji-yuusen & canna-do-function
208 * lib/canna/romaji.c(Yomisearchfunc): override keymap only when no
209 function is specified (i.e. not KC_DO, multisequence, ...)
210
211 2004-04-10 AIDA Shinra <shinra@j10n.org>
212
213 * [Canna-dev 297]: sentou 1moji sentaku bug
214 * lib/canna/henkan.c(TbChooseChar): last character's attribute needs
215 SENTOU flag
216
217 2004-04-09 AIDA Shinra <shinra@j10n.org>
218
219 * confwrapper.sub: forgot to remove
220
221 2004-04-09 AIDA Shinra <shinra@j10n.org>
222
223 * VENDOR_DEFINES which comes from X.Org's imake contains single
224 quotes.
225 * confwrapper: generate cwenv.sh first and then run configure
226 * Imakefile: ditto
227 * canuum/Imakefile: ditto
228 * Canna.conf.dist: DLLs need INSTBINFLAGS instead of INSTLIBFLAGS
229
230 2004-04-08 AIDA Shinra <shinra@j10n.org>
231
232 * server/misc.c(mysignal): added to prevent syscalls from restarting
233 * server/Imakefile: SIGNAL_DEFINES
234 * server/comm.c(ClientBuf): count temporary failures and close
235 connection if too many errors happen
236 (ClientBuf_recv): save errno before Dmsg
237 (ClientBuf_send): ditto
238 (EventMgr_run): ditto
239
240 2004-03-30 AIDA Shinra <shinra@j10n.org>
241
242 * lib/canna/obind.c(owcLookupKanji2): buffer_return is not char *
243 but wchar_t *.
244 (cannawc32): use canna_uint32_t
245 (cannawc16): use canna_uint16_t
246
247 2004-03-20 AIDA Shinra <shinra@j10n.org>
248
249 * lib/RKC/conf.c(read_pipe_with_errors): bug fix in no_exitstatus
250 case (thanks to nanashi san)
251
252
253 2004-03-15 AIDA Shinra <shinra@j10n.org>
254
255 * When delay-connect is t and KC_FINALIZE is used uilib gets into
256 inconsistent state.
257 * lib/canna/commondata.c(mountnottry): added
258 * lib/canna/globnamed: added mountnottry
259 * lib/canna/henkan.c(KanjiInit): mountnottry is now global symbol
260 (KanjiFin): clear some variables
261
262 2004-03-15 AIDA Shinra <shinra@j10n.org>
263
264 * lib/canna/RKroma.c(RkMapPhonogram): KPDIC&&PTDIC -> KPDIC||PTDIC
265 * [Canna-dev 290]: Documents
266 * doc/man/guide/tex/func.tex: Now renbun-continue is t by default.
267 * dic/ideo/grammar/gram.code: correct a comment
268 * [Canna-dev 291]: Protocol definition is inconsistent with
269 implementation.
270 * doc/intern/protocol.tex: corrected
271 * [Canna:05898]: canna-parse is broken
272 * lib/canna/lisp.c(Lread): stop fclose(NULL)
273
274 2004-03-15 AIDA Shinra <shinra@j10n.org>
275
276 * [Canna-dev 291]: Return from temporary mode after quit.
277 * lib/canna/chikuji.c(ChikujiYomiDeletePrevious): restoreFlags()
278 (ChikjiMuhenkan): ditto
279 * lib/canna/empty.c(EmptyQuit): ditto
280 * lib/canna/romaji.c(YomiExit): ditto
281 (YomiQuit): ditto
282 (exitSupkey): ditto
283
284 2004-03-15 AIDA Shinra <shinra@j10n.org>
285
286 * [Canna-dev 292]: Problems when handling "bbb..."
287 * lib/canna/romaji.c(clearYomiContext): Clear yc->n_susp_chars.
288 (KanaDeletePrevious): Tweak break-into-roman behaviour.
289 Properly change rCurs and rStartp after deleting first kana.
290 Change behaviour after deleting all unconverted romaji.
291 (YomiDeleteNext): debug_yomi
292
293 2004-01-29 AIDA Shinra <shinra@j10n.org>
294
295 * lib/RKC/convert.c(RkcSendERequest): When communication fails, set
296 errno to EPIPE and close the socket in any case.
297 * lib/RKC/wconvert.c(RkcSendWRequest): ditto
298
299 2003-12-29 AIDA Shinra <shinra@j10n.org>
300
301 * Canna.conf.dist(sharedLibExtension): HPArchitecture is also defined
302 on Linux with hppa. Make sure the system is really HP-UX.
303 ([Canna-dev 280])
304 * confwrapper: CC="$ccadd $CC" is foolish ([Canna-dev 281])
305
306 2003-12-28 AIDA Shinra <shinra@j10n.org>
307
308 * Canna.conf.dist(SHLIBLDFLAGS): Assign "-G -z text" on SVR4
309 because Solaris appends "-M mapfile" and therefore we need to
310 generate mapfile.
311 * server/wconvert.c(ExtensionVector): remove "static"
312 * CHANGES.jp: make mention of glibc
313
314 2003-12-28 AIDA Shinra <shinra@j10n.org>
315
316 * mkrelease.sh: always use autoconf 2.59
317 * configure.ac: add proper arguments of AC_INIT and RCSID
318 * ChangeLog: correct previous commit date
319
320 2003-12-28 AIDA Shinra <shinra@j10n.org>
321
322 * confwrapper: Use var=`xx "yy"` instead of "`xx "yy"`". This IS
323 more portable and does what we want.
324 * Imakefile: fix comment in accanna.h
325
326 2003-12-25 AIDA Shinra <shinra@j10n.org>
327
328 * Imakefile: previous change was incomplete
329 * lib/RKindep/cfuncs.c: #ifndef HAVE_MALLOC -> #if !HAVE_MALLOC
330 * confwrapper: correct a harmless typo
331 * confwrapper.sub: avoid echo here
332
333 2003-12-25 AIDA Shinra <shinra@j10n.org>
334
335 * CHANGES.jp: forgot IPv6 feature
336
337 2003-12-25 AIDA Shinra <shinra@j10n.org>
338
339 * lib/RKindep/cfuncs.h: Newer autoconf defines HAVE_MALLOC to 0 but
340 older undefines it. Accept both.
341
342 2003-12-25 AIDA Shinra <shinra@j10n.org>
343
344 * Canna.conf.dist(CppSedMagic): Guard the use of XF86_VERSION_NUMERIC.
345 * confwrapper: Don't use shell function because AIX's /bin/sh
346 does not support it.
347 * confwrapper.sub: added
348 * Imakefile: Follow confwrapper's change.
349 #undef malloc in cannaconf.h.
350 fix OS2Architecture.
351 * canuum/Imakefile: Follow confwrapper's change.
352
353 2003-12-21 AIDA Shinra <shinra@j10n.org>
354
355 * Canna.conf.dist(CppSedMagic): Remove #pragma inserted by the
356 default gcc-3.3 that ships with MacOS X 10.3. Recent snapshot
357 of XFree86 specifies /usr/bin/cpp3 as CppCmd so we don't need
358 redefine CppSedMagic.
359
360 2003-12-20 AIDA Shinra <shinra@j10n.org>
361
362 * [Canna-dev 272] compile error on AIX
363 * confwrapper: added
364 * Imakefile: use confwrapper
365 * canuum/Imakefile: ditto
366 * lib/RKC/conf.c(Lexer_next): skip #pragma
367 (host_str_defaults): put a dummy member
368 (top_num_defaults): ditto
369 * server/convert.c: Forward declaration of file scope array is not
370 confirm to the standard. Fixed. Added some #ifdef USE_EUC_PROTOCOL.
371 * server/wconvert.c: ditto
372 * dic/ideo/pubdic/Imakefile: link libRKindep
373
374 2003-12-13 AIDA Shinra <shinra@j10n.org>
375
376 * CHANGES.jp: modify description of old "security bug"
377
378 2003-12-12 AIDA Shinra <shinra@j10n.org>
379
380 * CHANGES.jp: updated
381 * canna/patchlevel.h: bump to 3.8devel1
382
383 2003-12-12 AIDA Shinra <shinra@j10n.org>
384
385 * dic/ideo/*: Sync with DIC_WORK branch.
386
387 2003-12-07 AIDA Shinra <shinra@j10n.org>
388
389 * canna/widedef.h: MacOS X 10.3 support
390 * canna/jrkanji.h: define CANNA_JR_BEEP_FUNC_DECLARED
391
392 2003-10-12 AIDA Shinra <shinra@j10n.org>
393
394 * Imakefile: s/CANNA_PURE_CFLAGS/PURE_CFLAGS/
395 * configure.ac: check inet_aton
396 * server/misc.c(GetAddrListFromName): use inet_addr if inet_aton is
397 not available
398 * canuum/configure.ac: pass PURE_CFLAGS to configure
399 * canuum/header.c: specify argument types of code_trans to distinguish
400 int and size_t
401 * canuum/sdefine.h: declare msg_get to distinguish int and size_t
402 * canuum/termio.c(set_scroll_region): pass exactly 10 arguments to
403 tparm (as XSI Curses standard notes)
404 (throw_cur_raw): ditto
405
406 2003-10-10 AIDA Shinra <shinra@j10n.org>
407
408 * cmd/ctow/ctow.c: s/close/fclose/
409
410 2003-10-10 AIDA Shinra <shinra@j10n.org>
411
412 * Some minor cleanups (especially printf format problems and unused
413 variables)
414 * cmd/cannacheck/main.c: cleanuped
415 * cmd/cannastat/cannastat.c: cleanuped
416 * cmd/catdic/rutil.c: cleanuped
417 * cmd/chkconc/chkconc.c: cleanuped
418 * cmd/crfreq/crfreq.c: cleanuped
419 * cmd/crxdic/crxdic.c: cleanuped
420 * cmd/cshost/cshost.c: cleanuped
421 * cmd/ctow/ctow.c: cleanuped
422 * cmd/dicar/dicar.c: cleanuped
423 * cmd/dpxdic/dpxdic.c: cleanuped
424 * cmd/kpdic/kpdic.c: cleanuped
425 * cmd/mergewd/mergewd.c: cleanuped
426 * cmd/splitwd/splitwd.c: cleanuped
427 * cmd/wtoc/wtoc.c: cleanuped, s/close/fclose/
428 * server/comm.c: cleanuped
429 * lib/RK/RKintern.h: declare ustoeuc
430
431 2003-10-09 AIDA Shinra <shinra@j10n.org>
432
433 * configure.ac: check arpa/inet.h
434 * canna/net.h: include <arpa/inet.h> if exists
435 * server/misc.c(DetachTTY): use HAVE_*
436
437 2003-10-05 AIDA Shinra <shinra@j10n.org>
438
439 * canna/jrkanji.h: declare jrBeepFunc only if CANNA_NEW_WCHAR_AWARE is
440 defined
441 * lib/RKC/confP.h(Lexer): turn typeof(lineno) to unsigned int
442 * lib/RKC/conf.c(Lexer_next): ditto
443 (Lexer_error): ditto
444
445 2003-10-02 AIDA Shinra <shinra@j10n.org>
446
447 * Set nonblocking mode properly.
448 * server/comm.c(set_nonblock): added
449 (EventMgr_accept): invoke set_nonblock
450 (open_unix_socket): ditto
451 (open_inet_socket): invoke set_nonblock. handle failure in listen() properly.
452 (open_inet6_socket): ditto
453 (ClientBuf_send): check EAGAIN and EWOULDBLOCK
454 (ClientBuf_recv): ditto
455
456 2003-10-02 AIDA Shinra <shinra@j10n.org>
457
458 * canna/sysdep.h: fallback to sys/types.h if neither inttypes.h nor
459 stdint.h are found
460 * configure.ac: better checking of int32_t and in_addr_t (for Cygwin)
461 * cmd/canlisp/canlisp.c: define CANNA_NEW_WCHAR_AWARE
462 * cmd/catdic/RKdelline.c: ditto
463 * cmd/catdic/Imakefile: cannakill was bad link ([Canna-dev 257])
464 * Canna.conf.dist(LDOPTIONS): remove -l$(libCannaDir)
465 ([Canna-dev 258])
466
467 2003-09-30 AIDA Shinra <shinra@j10n.org>
468
469 * CHANGES.jp: add some items
470
471 2003-09-30 AIDA Shinra <shinra@j10n.org>
472
473 * [Canna-dev 254]
474 * lib/RKC/conf.c(host_num_defaults): change default value of
475 CONF_SERVER_TIMEOUT to 1500ms
476 * RKCCONF.jp: updated due to avobe change
477 * Imakefile: ifdef UseInet6 -> if UseInet6
478
479 2003-09-27 AIDA Shinra <shinra@j10n.org>
480
481 * dic/ideo/*: Sync with DIC_WORK branch. See dic/ideo/ChangeLog for
482 details.
483 * canna/patchlevel.h: bump to 3.7beta1
484
485 2003-09-26 AIDA Shinra <shinra@j10n.org>
486
487 * Update documents for 3.7 beta release.
488 * CHANGES.jp: truncated
489 * OCHANGES.jp: moved everything here from CHANGES.jp
490 * INSTALL: Updated. Removed description about ancient systems.
491 * INSTALL.jp: ditto
492 * README.jp: cannuum is now secure.
493 * misc/initfiles/sample.canna: describe :katakana
494 * misc/initfiles/verbose.canna: ditto
495 * misc/initfiles/unix.canna: describe and enable :katakana
496
497 2003-09-25 AIDA Shinra <shinra@j10n.org>
498
499 * Type of CRC is canna_uint32_t.
500 * lib/RKindep/cksum.h: use canna_uint32_t
501 * lib/RKindep/cksum.c: ditto
502 * cmd/crxdic/crxdic.c: ditto
503
504 2003-09-25 AIDA Shinra <shinra@j10n.org>
505
506 * Fix renbun-continue problem.
507 * lib/canna/commondata.c(InitCannaConfig): turn default value of
508 renbun-continue to t
509 * lib/canna/henkan.c(TanKakuteiYomiInsert): handle renbun-continue
510 properly
511 * misc/initfiles/verbose.canna: updated
512
513 2003-09-25 AIDA Shinra <shinra@j10n.org>
514
515 * canna/ccompat.h: avoid isolated semicolon in global scope
516 * cmd/cannastat/cannastat.c: add RCSID
517 * cmd/crrdic/*: removed because crrdic is obsoleted by kpdic
518
519 2003-09-25 AIDA Shinra <shinra@j10n.org>
520
521 * canna/jrkanji.h: Add declaration of jrBeepFunc. Remove exp() macro.
522 * lib/canna/canna.h: exp() macro is moved here
523
524 2003-09-25 AIDA Shinra <shinra@j10n.org>
525
526 * lib/RKC/conf.c(Parser_stmt): "foo" "bar" are converted to "foobar"
527 (syn_host): ditto
528 (Parser_getstr): added
529 * lib/RKC/confP.h: updated
530
531 2003-09-25 AIDA Shinra <shinra@j10n.org>
532
533 * Build cleanup and an experimental rule to build shared library.
534 * We no longer support EUC protocol.
535 * Canna.conf.dist: Lots of new macros. Especially make variables
536 "supportOldWchar" and "inet6Definition" are replaced with cpp macros
537 "SupportOldWchar" and "UseInet6".
538 * Imakefile: change the method to create cannaconf.h
539 * dic/ideo/pubdic/Imakefile: use ProgramTargetName rhan #if
540 * server/Imakefile: ditto
541 * cmd/cmd.tmpl: ditto
542 * cmd/catdic/Imakefile: ditto
543 * cmd/mkbindic/Imakefile: remove -Ui386
544 * cmd/mkromdic/Imakefile: remove -Ui386
545 * lib/RKindep/Imakefile: place all:: target first
546
547 2003-09-25 AIDA Shinra <shinra@j10n.org>
548
549 * lib/RKC/rkc.c(RkcConnectIrohaServer): invoke rkc_configure()
550
551 2003-09-24 AIDA Shinra <shinra@j10n.org>
552
553 * Now canna works on 64bit Solaris. I believe canna also works in
554 other 64bit environments with minor changes.
555 * configure.ac: check in_addr_t and socklen_t
556 * canna/net.h: Define canna_in_addr_t and canna_socklen_t here.
557 For this include "ccompat.h" first and place an include guard.
558 * cmd/cannastat/cannastat.c: remove verbose include
559 * cmd/crfreq/crfreq.c: fix type of header size
560 * lib/RK/RKintern.h(HD_TAGSIZ): correct definition
561 * lib/RK/ngram.c(RkKxGram): typeof(ng_neg) is canna_uint32_t
562 (RkReadGram): ditto
563 (RkCheckNegGram): ditto
564 * lib/RKC/wconvert.c(connect_unix): correct length of sockaddr
565 (connect_inet, INET6): type of port
566 (connect_inet, !INET6): type of hostinetaddr. use h_addr_list
567 if available.
568 * lib/RKindep/file.c(RkiConnect): type of 5th argument of getsockopt
569 * lib/canna/lisp.c(patom): cast properly due to varargs
570 * server/comm.c(open_inet_socket): use socklen_t
571 * server/main.c(process_request): forgot to pass first argument to
572 Dmsg
573 * server/wconvert.c(ExtensionRequest): static
574
575 2003-09-23 AIDA Shinra <shinra@j10n.org>
576
577 * cmd/cannastat/cannastat.c: cast time_t properly for printf
578
579 2003-09-23 AIDA Shinra <shinra@j10n.org>
580
581 * Fix RKC ABI problem.
582 RkcGetServerFD and RkcConnectIrohaServer were renamed by
583 sglobal.h, but their renamed names changed every time globnames
584 changed.
585 Now we export these functions in original names and renamed names
586 in 3.5/3.6. Cannastat and cshost in 3.5/3.6 work fine with new
587 3.7devel3 library, but these commands in older 3.7 fail to work.
588 For change of native ABI we bump patchlevel and minor version of
589 shared libraries.
590 * lib/RKC/rkc.c(G070_RkcGetServerFD): add for 3.5/3.6 compatibility
591 (G069_RkcConnectIrohaSrever): ditto
592 * cmd/cannastat/cannastat.c: don't include sglobal.h
593 * cmd/cshost/cshost.c: ditto
594 * canna/patchlevel.h: bump to 3.7devel3
595 * Canna.conf.dist(cannaDsoRev): bump to 1.2
596
597 2003-09-23 AIDA Shinra <shinra@j10n.org>
598
599 * More portable cshost. Ver.1 server support is removed.
600 * cmd/cshost/cshost.c(CannaDispControlList): rewrite
601 (IrohaDispControlList): removed
602
603 2003-09-23 AIDA Shinra <shinra@j10n.org>
604
605 * server/comm.h(EventMgr_run): make sure to send all of reply after
606 KillServer request.
607
608 2003-09-23 AIDA Shinra <shinra@j10n.org>
609
610 * Fully rewrite cannastat.
611 * New cannastat is more portable to 64bit environments.
612 * Implement strict error check.
613 * canna/rkcapi.h: new APIs
614 * cmd/cannastat/cannastat.c: rewrite
615 * lib/RKC/convert.c(ReadServer): export as RkcRecvEReply
616 (WriteServer): export as RkcSendERequest
617 * lib/RKC/wconvert.c(ReadServer): export as RkcRecvWReply
618 (WriteServer): export as RkcSendWRequest
619 * server/IR.h: move many definitions to server.h
620 * server/server.h: move many definitions from IR.h
621
622 2003-09-22 AIDA Shinra <shinra@j10n.org>
623
624 * Fix IR_STAT and IR_STAT2 and inhibit other protocols before IR_INIT.
625 * server/convert.c(SendTypeE5Reply): change first argument
626 (ir_initialize): make sure to close connection in error case
627 (ir_server_stat2): change first argument
628 (ir_server_stat): ditto
629 (ir_nosession): added
630 (parse_euc_request): s/request/xrequest/
631 (Vector): reject IR_STAT and IR_STAT2 when session is up
632 * server/main.c(process_request): perform dispatch via ir_nosession
633
634 2003-09-22 AIDA Shinra <shinra@j10n.org>
635
636 * server/misc.c(get_all_other_clients): correct syntax error
637
638 2003-09-21 AIDA Shinra <shinra@j10n.org>
639
640 * ServerNG: 50% scratched reimplementation of cannaserver.
641 * Now cannaserver does not use bitmap of sockets to manage clients.
642 This makes it far easy to port cannaserver to 64bit environments.
643 * Now cannaserver performs fully multiplexed I/O. Especially
644 we are free from hangs waiting for response from dead client.
645 * Intitialization, termination and error handling is much more
646 clean.
647 * All code derived from X server retired.
648 * All functions have prototypes.
649 * configure.ac: check syslog(), vsyslog() and time_t.
650 * canna/protodefs.h: simplify !EXTENSION case
651 * lib/RKindep/file.h(RKI_FD_SETSIZE): added
652 * server/IR.h: Now contains only minimum definitions for use
653 in cannastat and cshost.
654 * server/server.h: place prototype declarations here
655 * server/WaitFor.c: Removed.
656 * server/connectoin.c: Removed. Some code are moved into comm.c
657 and session.c.
658 * server/convert.c: Reduce use of ClientRec by some formal changes.
659 * server/wconvert.c: ditto
660 * server/comm.c: added
661 * server/session.c: added
662 * server/util.c: add const qualifier, replace int to size_t
663
664 2003-09-21 AIDA Shinra <shinra@j10n.org>
665
666 * lib/RK/RK.h: Fix 7th arguemnt's type of RkwGetSimpleKanji.
667 Declare RkwStoreRange.
668 * lib/RK/bun.c(RkwGetSimpleKanji): fix 7th arguemnt's type
669 * lib/RKC/rkc.c(RkwGetSimpleKanji): ditto
670 * lib/canna/engine.c(RkwGetSimpleKanji): ditto
671
672 2003-09-21 AIDA Shinra <shinra@j10n.org>
673
674 * lib/canna/kctrl.c(KC_initialize): fix condition
675 * cmd/cannacheck/main.c: remove "delay-connect" desc
676
677 2003-09-21 AIDA Shinra <shinra@j10n.org>
678
679 * lib/canna/kctrl.c(KC_initialize): s/chkverbose/ckverbose/
680
681 2003-09-21 AIDA Shinra <shinra@j10n.org>
682
683 * configure.ac: add spaces at the top of lines of AC_CHECK_FUNCS
684
685 2003-09-21 AIDA Shinra <shinra@j10n.org>
686
687 * lib/canna/kctrl.c(KC_initialize): ignore delay-connect in verbose
688 mode for cannacheck.
689
690 2003-09-18 AIDA Shinra <shinra@j10n.org>
691
692 * cmd/dpxdic/dpxdic.c(getdic): 300702L format dictionary
693
694 2003-09-18 AIDA Shinra <shinra@j10n.org>
695
696 * Cleanup includes and definitions in RKC and server.
697 * canna/protodefs.h(MIN): removed
698 * RKindep/ecfuncs.h(RKI_MIN): added
699 (RKI_MAX): added
700 * lib/RKC/*: cleaned up
701 * server/*: cleaned up
702 * server/server.h: added
703
704 2003-09-17 AIDA Shinra <shinra@j10n.org>
705
706 * Get rid of BIGPOINTER switch and replace to canna_intptr_t.
707 * configure.ac: test sizeof(void *)
708 * canna/sysdep.h: add canna_intptr_t and fix typo in canna_uint32_t
709 definition.
710 * Canna.conf.dist: remove pointerIntegerDef and wcharDefinition
711 * ccustom/Imakefile: ditto
712 * cmd/cmd.tmpl: ditto
713 * ccustom/lisp.h: use canna_intptr_t instead of POINTERINT
714 * cmd/cannacheck/main.c: ditto
715 * lib/canna/canna.h: define POINTERINT to canna_intptr_t
716 * lib/canna/lisp.c: replace unsigned POINTERINT to canna_uintptr_t
717 * lib/canna/lisp.h: use SIZEOF_VOID_P instead of BIGPOINTER switch
718
719 2003-09-17 AIDA Shinra <shinra@j10n.org>
720
721 * Remove most code for Windows port. It is generally ad hoc and making
722 difficult to maintain related code. In addition working Canna for
723 Windows requires additional proprietary code. Even if we ported
724 Canna to non-UNIX system again, the implementation would be far
725 from Canna for Windows anyway.
726 * lib/canna/*: New compile time switches "USE_MALLOC_FOR_BIG_ARRAY"
727 and "CODED_MESSAGE" are introduced. Some part of Windows code
728 is left and can be enabled by turning these switches on.
729
730 2003-09-17 AIDA Shinra <shinra@j10n.org>
731
732 * add sysdep.h and pubconf.h for canna_intXX_t.
733 * configure.ac: create pubconf.h
734 * Imakefile: create, link, and install pubconf.h
735 * canna/sysdep.h: added
736 * canna/ccompat.h: include "canna/sysdep.h"
737 * canna/Imakefile: link and install sysdep.h
738 * canna/jrkanji.h: include <canna/sysdep.h> and use canna_uintXX_t
739 * lib/RK/RK.h: ditto
740 * lib/RKC/rkcw.h: use canna_uintXX_t to define cannawc
741 * canna/protodefs.h: use canna_uint16_t to define Ushort
742 * server/IR.h(LENTODATA): use canna_uintXX_t
743 (DATATOLEN): ditto
744
745 2003-09-17 AIDA Shinra <shinra@j10n.org>
746
747 * [Canna-dev 245]: new key symbols and others (by Ikumi san)
748 * doc/man/guide/tex/custom.tex: remove server-timeout
749 * dic/phono/tut.kpdef(tgu): tai->kuma (Reported by KIHARA Hideto san)
750 * canuum/canna.c(convert_getterm): use new key symbols
751
752 2003-09-17 AIDA Shinra <shinra@j10n.org>
753
754 * doc/misc/wchar.tex: removed obsolete document
755 * doc/misc/.cvsignore: removed
756 * doc/Imakefile: no need to put symlink to canna.sty in doc/misc
757 * [Canna-dev 127]: canlisp manual
758 * doc/lisp/canlisp.tex: Updated. Old Kon san's mail address was
759 removed.
760
761 2003-09-16 AIDA Shinra <shinra@j10n.org>
762
763 * lib/RKC/convert.c(ReadServer): continue in EINTR case
764 (WriteServer): select()
765 * lib/RKC/wconvert.c(READIT): continue in EINTR case
766 (WriteServer): select()
767
768 2003-09-15 AIDA Shinra <shinra@j10n.org>
769
770 * canuum/README.jp: Sync with release branch.
771 Update libspt download page.
772
773 2003-09-15 AIDA Shinra <shinra@j10n.org>
774
775 * CHANGES.jp: sync with release branch
776 * INSTALL: ditto
777 * INSTALL.jp: ditto
778 * canuum/canna.c(init_uum): remove nonsensical "< 0"
779 * server/server.jmn(SYNOPSIS): add -inet6
780
781 2003-09-15 AIDA Shinra <shinra@j10n.org>
782
783 * cmd/cannacheck/main.c: server name mignt be NULL if delay-connect
784 option is set
785
786 2003-09-15 AIDA Shinra <shinra@j10n.org>
787
788 * misc/.cvsignore: add manual.sed
789 * misc/initfiles/verose.canna(server-timeout): removed
790
791 2003-09-12 AIDA Shinra <shinra@j10n.org>
792
793 * [Canna-dev 241]: bug report from Chinen san
794 * lib/RK/fq.c(readNV): bad pointer
795
796 2003-09-09 Toru TAKAMIZU <ttaka@earth.email.ne.jp>
797
798 * misc/initfiles/unix.canna: fix a typo ([Canna-dev 216]).
799 * misc/initfiles/verbose.canna: (setq inhibit-hankaku-kana nil)
800 ([Canna-dev 216])
801 * document patch from Ikumi-san ([Canna-dev 216]). The document
802 is now compliant with LaTeX2e, while the old one depends on
803 LaTeX. Note that LaTeX 2.09 cannot typeset the document after
804 this change. The patch also includes a lot of misc fixes. The
805 following files are modified.
806 - doc/man/guide/tex/custom.tex
807 - doc/man/guide/tex/kanacode.tex
808 - doc/man/guide/tex/Imakefile
809 - doc/man/guide/tex/library.tex
810 - doc/man/guide/tex/server.tex
811 - doc/man/guide/tex/customex.tex
812 - doc/man/guide/tex/canna-dist.tex
813 - doc/man/guide/tex/commands.tex
814 - doc/man/guide/tex/konna.tex
815 - doc/man/guide/tex/jinput.tex
816 - doc/man/guide/tex/keymap.tex
817 - doc/man/guide/tex/func.tex
818 - doc/man/guide/tex/customfn.tex
819 - doc/README.jp
820 - doc/canna.sty
821
822 2003-09-08 AIDA Shinra <shinra@j10n.org>
823
824 * lib/RKC/conf.c(read_pipe_with_errors): prevent hang when my zombie
825 process disappeared by client's wait()
826
827 2003-09-08 AIDA Shinra <shinra@j10n.org>
828
829 * [Canna-dev 239]: build error and error handling for rkc.conf
830 * lib/RKC/conf.c(config_path): better error messages
831 * lib/canna/Imakefile(clean): fix NARROW
832
833 2003-09-07 AIDA Shinra <shinra@j10n.org>
834
835 * lib/RK/ngram.c(RkReadGram): fix grammar offset calculation,
836 reduce gcc's warning
837 (RkCopyWrec): initialize a variable
838 * lib/RK/util.c(_RkReadHeader): fix copy size
839 (_RkCreateHeader): another fix of position calculation
840
841 2003-09-06 AIDA Shinra <shinra@j10n.org>
842
843 * lib/RKC/conf.c: cast 0xdeadbeef to int
844 (config_path): avoid PATH_MAX; now return a pointer allocated via
845 malloc()
846 (rkc_configure): change error handling for above change
847 * lib/RKC/confP.h: cast 0xdeadbeef to int
848 * lib/RKindep/strops.exp: add three entries
849 * lib/RKindep/strops.h(RKI_STRBUF_ADDCH): added
850 * lib/RKindep/strops.c(RkiStrbuf_add): added
851 (RkiStrbuf_addmem): added
852 (RkiStrbuf_addch): added
853 * Canna.conf.dist(CANNA_DEFINES): added for __EXTENSIONS__ on sun
854 * Imakefile(DEFINES): added for CANNA_DEFINES
855 * cmd/cmd.tmpl(DEFINES): add CANNA_DEFINES
856 * lib/RK/RKintern.h: fix RK_ASSERT
857 * lib/RK/util.c(_Rkpanic): s/fprintf/vfprintf/
858 (_RkCreateHeader): fix datasz calculation
859 * lib/RKC/Imakefile: merge RKC16/Imakefile
860 * lib/RKC16/Imakefile: merge into RKC/Imakefile and include it
861 * lib/canna/Imakefile: merge canna16/Imakefile
862 * lib/canna16/Imakefile: merge into canna/Imakefile and include it
863
864 2003-09-06 AIDA Shinra <shinra@j10n.org>
865
866 * lib/canna/Imakefile(RKINDEPSRCS): fix typo
867 * server/misc.c(EarlyInit): -l <num> was not working
868
869 2003-09-06 AIDA Shinra <shinra@j10n.org>
870
871 * [Canna-dev 231]: cpdic failure and cpp's stderr
872 * lib/RKC/wconvert.c(SendType21Request): fix request size
873 * lib/RKC/Imakefile: add strops.[co]
874 * lib/RKC16/Imakefile: ditto
875 * lib/canna/Imakefile: ditto
876 * lib/canna16/Imakefile: ditto
877 * lib/RKC/conf.c(read_pipe_with_errors): added
878 (rkc_configure): use read_pipe_with_errors() instead of popen()
879 (Lexer_new): receive complete input instead of FILE *
880 * lib/RKC/confP.h(Lexer): remove rdbuf, curr and rdend is now const
881 char *
882 * lib/RKindep/strops.c: added
883 * lib/RKindep/strops.exp: added
884 * lib/RKindep/strops.h: added
885
886 2003-09-04 AIDA Shinra <shinra@j10n.org>
887
888 * dic/ideo/words/Imakefile: fix DIC_3_6_COMPAT
889 * dic/ideo/grammer/Imakefile: ditto
890
891 2003-09-04 AIDA Shinra <shinra@j10n.org>
892
893 * [Canna-dev 226][Canna-dev 227]: isnumber
894 * lib/RKC/conf.c(Lexer_next): s/isnumber/isdigit/
895
896 2003-09-04 Toru TAKAMIZU <ttaka@earth.email.ne.jp>
897
898 * cmd/cannacheck/ccheck.man: remove a blank line
899
900 2003-08-31 AIDA Shinra <shinra@j10n.org>
901
902 * doc/intern/dic.txt: fix spelling
903
904 2003-08-31 AIDA Shinra <shinra@j10n.org>
905
906 * [Canna-dev 220]: tango touroku problem
907 * lib/canna/uldefine.c(dicTourokuControl): set tblflag
908
909 2003-08-24 AIDA Shinra <shinra@j10n.org>
910
911 * doc/intern/dic.txt: previous commit was insufficient
912 * Canna.conf.dist(DIC_3_6_COMPAT): new cpp option
913 * dic/ideo/words/Imakefile: support DIC_3_6_COMPAT
914 * dic/ideo/grammer/Imakefile: ditto
915 * cmd/mkbindic/mkbindic.cpp: support -c option
916 * cmd/mkbindic/mkbindic.man: updated
917 * cmd/mkbindic/mkbindic.jmn: updated
918
919 2003-08-24 AIDA Shinra <shinra@j10n.org>
920
921 * New dictionary header. The new format is incompatible with former
922 format, therefore some compatibility feature are introduced.
923 Crxdic has "3.6-compatible" mode. Crfreq generates old .cld if
924 .cbd is old format. Server can mount both old and new dictionaries.
925 These stuff will be removed someday.
926 * canna/patchlevel.h: bump to 3.7devel2
927 * lib/RK/RKintern.h: include <unistd.h> and <fcntl.h>
928 (HD_*): reorder and change to enum
929 (HD_VERSION): new macro
930 (HD_TAG_*): moved into util.c
931 (struct ND): new member "version"
932 * lib/RK/ngram.c(RkReadGram): New argument "gramsz". Size check is
933 performed by "gramsz".
934 (RkOpenGram): Deal with new grammer data storage.
935 * lib/RK/permdic.c(openDF): Deal with new grammer data storage.
936 remove "WIN" code.
937 * lib/RK/util.c(HD_*): moved from RKintern.h
938 (read_tags): added
939 (_RkReadHeader): rewritten to handle new format
940 (_RkCreateHeader): ditto
941 * cmd/crfreq/crfreq.c(main): s/RK_MAX_HDRSIZ/RK_OLD_MAX_HDRSIZ.
942 Deal with new grammer data storage.
943 * cmd/crxdic/crxdic.c(struct dictionary): new members "gram{data,sz}"
944 (parse_arg): -c and -g option
945 (STrdup): check memory allocation error
946 (setHeader): removed
947 (makeHeader): rewritten
948 (write_file): write grammer data here instead of "cat" in Makefile
949 (main): store grammer in memory
950 * cmd/dpxdic/dpxdic.c(main): catch RkReadGram API change up
951 * dic/ideo/grammer/Imakefile: don't create fuzokugo.cld.
952 include cnj.bits to fuzokugo.cbd by "crxdig -g" instead of "cat".
953 * dic/ideo/words/dics.dir: remove fuzokugo.cld
954 * doc/intern/dic.txt: updated
955
956 2003-08-17 AIDA Shinra <shinra@j10n.org>
957
958 * doc/intern/dic.txt: documentation of binary dictionary format
959
960 2003-08-16 AIDA Shinra <shinra@j10n.org>
961
962 * Binary dictionary was not created properly. It caused wrong
963 learning sometimes.
964 * cmd/crxdic/crxdic.c(getp): returned number was not prime
965 (fil_ltab): "csn" record in link table was wrong
966
967 2003-08-16 AIDA Shinra <shinra@j10n.org>
968
969 * cmd/crxdic/crxdic.c: Improve boundary and internal sanity checks.
970 Some of error exit() are replaced to assert().
971 (fil_dic): remove pg arg
972 * lib/RK/RKintern.h(RK_ASSERT): added
973 * lib/RK/ngram.c(wstowrec): Fix wrong boundary check. Some of error
974 return are replaced to RK_ASSERT().
975 (RkParseWrec): Remove workaround for above wrong boundary check.
976 And improvements of sanity checks.
977 (RkParseOWrec): ditto
978 * lib/RK/util.c(_Rkpanic): use vfprintf
979 (RkAssertFail): added
980 * lib/RKC/convert.c(ServerTimeout): fix declaration
981 * lib/RKC/wconvert.c(ServerTimeout): define externally
982 * lib/canna/globnames: add ServerTimeout again
983 * server/misc.c(EarlyInit): fix -d handling
984 (BecomeDaemon): ditto
985
986 2003-08-08 AIDA Shinra <shinra@j10n.org>
987
988 * Preprocess rkc.conf by cpp.
989 * Canna.conf.dist(RKC_DEFINES): add -DCPP
990 * RKCCONF.jp: updated
991 * lib/RKC/conf.c(rkc_configure): popen cpp
992 (Lexer_new): initialize linetop flag
993 (Lexer_next): read "# line" generated by preprocessors
994 * lib/RKC/confP.h(Lexer): new member "linetop"
995
996 2003-08-07 AIDA Shinra <shinra@j10n.org>
997
998 * lib/RKC/conf.c(Parser_eval): disallow EOF in expressions
999
1000 2003-08-07 AIDA Shinra <shinra@j10n.org>
1001
1002 * Implement C-like expressions evaluator for rkc.conf.
1003 * RKCCONF.jp: updated
1004 * lib/RKC/conf.c(match_operator1): added
1005 (match_operator2): added
1006 (Lexer_next): process operators, add postfix_op flag
1007 (op_dump): added for debug
1008 (Token_dump): add TOK_SEMICOLON and TOK_OPERATOR
1009 (Parser_next): pass postfix_op flag to Lexer_next(), dump token
1010 if CONF_LEXER_DEBUG is defined
1011 (Parser_next_postfixop): added
1012 (Parser_stmt): evaluate expressions
1013 (Parser_eval_error): added
1014 (Parser_eval): added
1015 (calc_*): added
1016 (top_statements): turn to static
1017 (host_statements): turn to static
1018 (RkcConfMgr_find): fix logic
1019 * lib/RKC/confP.h(CONF_LEXER_DEBUG): add debug flag
1020 (CONF_EVAL_DEBUG): add debug flag
1021 (TokenType): add TOK_OPERATOR
1022 (Operator): added
1023 (TokenVal): new member "opval" to store an operator
1024 (Parser): new member "exprval"
1025
1026 2003-08-05 AIDA Shinra <shinra@j10n.org>
1027
1028 * Implement RKC configuration infrastracture.
1029 * RKCCONF.jp: new documentation
1030 * configure.ac: check strlcpy()
1031 * canna/rkcapi.h(INT_HEADER): added
1032 * canna/Imakefile: add rkcapi.h
1033 * canna/symbolname.h: remove "server-timeout"
1034 * lib/RK/RK.h(RkwSetTimeout,RkwGetTimeout): removed
1035 * lib/RKC/Imakefile: add conf.c, conf.h and confP.h
1036 create symbolic link to rkcapi.h in $(CANNAROOT)/includes.
1037 * lib/RKC/conf.c: added configurator implementation
1038 * lib/RKC/conf.h: added
1039 * lib/RKC/confP.h: added
1040 * lib/RKC/rkc.c(ServerTimeout): move into wconvert.c
1041 (config_error_handler): added
1042 (RkwInitialize): remove CANNA_TIMEOUT feature.
1043 invoke config_error_handler. invoke rkc_configure/rkc_config_fin.
1044 (RkwFinalize): invoke rkc_config_fin.
1045 (RkcListenConfigErrors): added
1046 (RkwGetTimeout): removed
1047 (RkwSetTimeout): removed
1048 * lib/RKC/rkc.h: include "rkcapi.h"
1049 * lib/RKC/wconvert.c(ServerTimeout): moved from rkc.c
1050 (rkc_build_cannaserver_list): check "cannahost" in rkc.conf.
1051 (rkc_Connect_Iroha_Server): set ServerTimeout here
1052 * lib/RKC16/Imakefile: add conf.c, conf.h and confP.h
1053 * lib/RKindep/Imakefile: add ecfuncs.h
1054 * lib/RKindep/cfuncs.c(RkiAltStrlcpy): added
1055 (RkiAltStrlcat): added
1056 * lib/RKindep/ecfuncs.exp: added for RkiAltStrl{cat,cpy}
1057 * lib/RKindep/ecfuncs.h: added for strlcpy and strlcat
1058 * lib/RKindep/file.c(RkiGetLine): added
1059 (RkiReadWholeFile): added
1060 * lib/RKindep/file.exp: added RkiGetLine and RkiReadWholeFile
1061 * lib/RKindep/file.h: ditto
1062 * lib/canna/Imakefile(RKCSRCS): add conf.c
1063 (RKCOBJS): add conf.o
1064 * lib/canna16/Imakefile: ditto
1065 * lib/canna/globnames: add config related functions and remove
1066 ServerTimeout.
1067 * lib/canna/henkan.c(warnRKCErrors): added
1068 (KanjiInit): report RKC config errors if you are in verbose mode
1069 * lib/canna/lisp.c(VServTimeout): removed
1070
1071 2003-08-02 AIDA Shinra <shinra@j10n.org>
1072
1073 * fix chkconc build.
1074 * lib/RK/RKintern.h(struct RkGramIterator): added
1075 (RkNextGram): added
1076 * lib/RK/ngram.c(RkFirstGram): added
1077 (RkEndGram): added
1078 * cmd/chkconc: use RkGramIterator
1079
1080 2003-08-01 AIDA Shinra <shinra@j10n.org>
1081
1082 * lib/RK/permdic.c(_Rkpopen): fix copy and paste error
1083
1084 2003-08-01 AIDA Shinra <shinra@j10n.org>
1085
1086 * Change internal representation of conjunctions. Conjunction
1087 matrix is packed per rows and referred by binary search.
1088 It can also hold some flags. This is first step to increase
1089 maximum number of hinshi.
1090 * lib/RK/RKintern.h(RkKxDic): move RkKxDic to ngram.c.
1091 (TestGram): replaced to RkTestGram()
1092 (struct nword): remove nw_rcvec
1093 * lib/RK/ngram.c(RkKxGram): added and new records
1094 (gram_fill_conjcells): added
1095 (RkGetGramSize): #ifdef unused
1096 (RkTestGram): added to replace TestGram() macro
1097 (RkCheckNegGram): moved from nword.c and compute rcvec here
1098 * lib/RK/nword.c(checkNeg): renamed to RkCheckNegGram and moved
1099 into ngram.c
1100 (concWord): use RkCheckNegGram and remove unused variable
1101 (parseWord): use RkTestGram
1102 * lib/RK/bun.c(nword2str): use RkGetGramName instead of direct
1103 access to nw_strtab
1104
1105 2003-07-31 AIDA Shinra <shinra@j10n.org>
1106
1107 * [Canna-dev 218]: Ftte
1108 Lower priority of 1 letter word + Ftte. Just a first step.
1109 * lib/RK/RKintern.h(RkGram): add P_Ftte
1110 (nword): move nw_count outside #ifdef LOGIC_HACK
1111 (NW_LOWPRI): move outside #ifdef LOGIC_HACK
1112 * lib/RK/context.c(_RkInitialize): get P_Ftte
1113 * lib/RK/permdic.c(_Rkpopen): ditto
1114 * lib/RK/nword.c: move some LOGIC_HACK code outside #ifdefs.
1115 better to remove !LOGIC_HACK code?
1116 (concWord): NW_LOWPRI to Ftte
1117 (compword): place NW_LOWPRI words after all !NW_LOWPRI word.
1118
1119 2003-07-06 AIDA Shinra <shinra@j10n.org>
1120
1121 * [Canna-dev 213]: Ikumi-san: key mappings and misc/canna removal
1122 * lib/canna/lisp.c(keywordtable): add some key symbols
1123 (LdefXKeysym): removed because nobody use and don't work and
1124 considered harmful
1125 * canna/symbolname.h(S_defXKeysym): removed
1126 * lib/canna/alphamap.h: delete extra space
1127 * lib/canna/emptymap.h: delete extra space
1128 * misc/canna: removed because we have rc.canna
1129
1130 2003-07-06 Toru TAKAMIZU <ttaka@earth.email.ne.jp>
1131
1132 * [Canna-dev 190]: Ikumi-san: documentations improved.
1133 - Canna.conf.dist: correct some wording
1134 - INSTALL: explanation about automatic startup now makes the
1135 reader refer to the sample script rather than shows an
1136 example that assumes a certain directory layout etc.
1137 - INSTALL.jp: ditto
1138
1139 2003-07-03 AIDA Shinra <shinra@j10n.org>
1140
1141 * [Canna-dev 212]: KC_DO behaviour
1142 * lib/canna/kctrl.c(KC_do): return number of commited characters for
1143 consistency with EUC API
1144
1145 2003-06-29 AIDA Shinra <shinra@j10n.org>
1146
1147 * lib/RKindep/cksum.c(RkiCksumCRCAdd): char -> unsigned char
1148 * cmd/crxdic/crxdic.c(makeHeader): dic->hdr is empty and useless here.
1149 use dic->Dir->buf instead.
1150
1151 2003-06-29 AIDA Shinra <shinra@j10n.org>
1152
1153 * Several fixes related to romaji-kana conversion.
1154 * cmd/dpromdic/dpromdic.c(printch): escape cpp-unsafe characters
1155 * cmd/kpdic/kpdic.c(getWORD): Interpret "\xXX" format. "n\x27" was
1156 "nx27" for 9 years!
1157 (main): correct size header of PTDIC
1158 * cmd/mkromdic/mkromdic.cpp: expand CPP macro
1159 * lib/RK/RK.h: add RX_PTDIC
1160 * lib/canna/RKroma.c: make PTDIC format work
1161 (readHeader): added
1162 (RkwOpenRoma): move header operations to readHeader
1163
1164 2003-06-23 AIDA Shinra <shinra@j10n.org>
1165
1166 * lib/RKC/rkc.c(uinfo): change to static to prevent a conflict with
1167 uilib's uinfo
1168 * lib/RKindep/Imakefile: don't use .SUFFIXES::, which conflicts with
1169 all other .SUFFIXES:.
1170 * lib/canna/uldefine.c(uuT2TangoEveryTimeCatch): also set SENTOU flag
1171 to submitted string in romajiBuffer.
1172 * Canna.conf.dist(cannaDsoRev): add Darwin dylib
1173 * canna/widedef.h: add Darwin wchar
1174
1175 2003-05-28 AIDA Shinra <shinra@j10n.org>
1176
1177 * server/main.c(main): initialize first and fork last
1178 * server/misc.c(BecomeDaemon): move init code to EarlyInit
1179 * server/misc.c(EarlyInit): added
1180
1181 2003-05-28 AIDA Shinra <shinra@j10n.org>
1182
1183 * server/main.c(main): fork later
1184 * server/misc.c(BecomeDaemon): _exit() instead of exit()
1185
1186 2003-04-06 AIDA Shinra <shinra@j10n.org>
1187
1188 * Merge stat patch by Fujieda-san and Kanou san. (default off)
1189 * lib/RK/Imakefile: add /* -RK_LOG */
1190 * lib/RK/RKintern.h: apply stat patch.
1191 * lib/RK/bun.c: ditto
1192
1193 2003-04-05 AIDA Shinra <shinra@j10n.org>
1194
1195 * server/misc.c(GetAddrListFromName): resolve INET4 and INET6
1196 independently.
1197
1198 2003-03-30 AIDA Shinra <shinra@j10n.org>
1199
1200 * server/connection.c(GetConnectionInfo): revert the way to
1201 descriminate UNIX socket.
1202 * server/main.c(NextAvailableClient): don't close socket here
1203
1204 2003-03-29 AIDA Shinra <shinra@j10n.org>
1205
1206 * lib/RKindep/file.h: include <sys/time.h> family for struct timeval.
1207
1208 2003-03-29 AIDA Shinra <shinra@j10n.org>
1209
1210 * Implement demand connection and timeout for client.
1211 * lib/RKindep/file.c: added
1212 * lib/RKindep/file.h: typedef rki_fd_set, RKI_FD_SET(), RkiConnect
1213 * lib/RKindep/Imakefile: compile file.c
1214 * lib/RKindep/file.exp: add RkiConnect
1215 * configure.ac: check FD_ISSET and fd_set
1216 * canna/symbolname.h: add "delay-connect", "server-timeout"
1217 * lib/RK/RK.h: add RkwSetTimeout, RkwGetTimeout
1218 * lib/RKC/Imakefile: include RKindep/file.c
1219 * lib/RKC16/Imakefile: ditto
1220 * lib/canna/Imakefile: ditto
1221 * lib/canna16/Imakefile: ditto
1222 * lib/RKC/convert.c(ReadServer): select()
1223 * lib/RKC/wconvert.c(ReadServer): select()
1224 (try_connect): added
1225 (connect_inet): use try_connect
1226 * lib/RKC/rkc.c(RkwInitialize): check CANNA_TIMEOUT env
1227 (RkwGetTimeout): added
1228 (RkwSetTimeout): added
1229 * lib/canna/canna.h(CannaConfig): add DelayConnect
1230 * lib/canna/commondata.c(standalone): removed
1231 (DelayConnect): added
1232 * lib/canna/globnames: add ServerTimeout (in libRKC)
1233 * lib/canna/kctrl.c(KC_initialize): KanjiInit only if DelayConnect,
1234 remove standalone flag
1235 * lib/canna/lisp.c(VServTimeout): added
1236 (VDelayConnect): added
1237 * lib/canna/util.c(KanjiInitError): remove standalone flag
1238 * misc/initfiles/unix.canna: (setq delay-connect t)
1239 * misc/initfiles/verbose.canna: delay-connect, server-timeout
1240
1241 2003-03-26 AIDA Shinra <shinra@j10n.org>
1242
1243 * reimplement INET6 and ACL.
1244 * configure.ac: check struct hostent.h_addr_list;
1245 * lib/RKC/wconvert.c: allow scoped address
1246 * server/IR.h: change address structures and change macros.
1247 * server/connection.c: separate INET socket and INET6 socket.
1248 (GetConnectionInfo): use getnameinfo.
1249 * server/convert.c: reject IPv4 mapped address.
1250 * server/main.c: GetConnectionInfo error check.
1251 * server/misc.c: add new address handling.
1252 (ACLCheckHostName): removed
1253 (IR_Are_Addr_Equal): removed
1254 (GetAddressFromName): removed
1255 (AddrAreEqual): added
1256 (GetAddrListFromName): added
1257 (SearchAddrList): added
1258 (FreeAddrList): added
1259 (CreateAccessControlList): don't treat kernel hostname specially.
1260 allow scoped address.
1261 allow duplicate addresses.
1262 (CheckAccessControlList): don't treat kernel hostname specially.
1263 * server/wconvert.c(irw_killserver): cleanup
1264
1265 2003-03-24 AIDA Shinra <shinra@j10n.org>
1266
1267 * Inhibit direct configure invocation.
1268 * Imakefile: set IN_MAKE=yes
1269 * configure.ac: test $IN_MAKE
1270 * canuum/Imakefile: set IN_MAKE=yes
1271 * canuum/configure.in: test $IN_MAKE
1272
1273 2003-03-24 AIDA Shinra <shinra@j10n.org>
1274
1275 * RKindep cleanup.
1276 * Imakefile: mkdir ./include/RKindep
1277 * canna/ccompat.h: include "RKindep/cfuncs.h" instead of RKindep.h
1278 * cmd/chkconc/chkconc.c: include "RKindep/file.h"
1279 * cmd/crxgram/crxgram.c: ditto
1280 * cmd/dicar/dicar.c: ditto
1281 * cmd/dpxdic/dpxdic.c: ditto
1282 * cmd/crxdic/crxdic.c: include "RKindep/file.h",
1283 move cksum.h into RKindep/
1284 * lib/RKindep/.cvsignore: RKIsubst.h -> *.sub
1285 * lib/RKindep/cksum.h: ditto
1286 * lib/RKindep/Imakefile: RKIsubst -> *.sub, separate RKindep.h
1287 * lib/RKindep/basename.c: include "RKindep/file.h"
1288 * lib/RKindep/cksum.c: move "RKindep/cksum.h" into RKindep/
1289 * lib/RKindep/exports: removed and separated to *.exp
1290 * lib/RKindep/RKindep.h: removed
1291 * lib/RKindep/cfuncs.h: added
1292 * lib/RKindep/file.h: added
1293 * lib/RKindep/cfuncs.exp: added
1294 * lib/RKindep/file.exp: added
1295 * lib/RKindep/cksum.exp: added
1296
1297 2003-03-19 AIDA Shinra <shinra@j10n.org>
1298
1299 * Check cbd/cld consistency by CRC instead of *.cbd age.
1300 * lib/RKindep/cksum.c: added
1301 * lib/RKindep/cksum.h: added
1302 * lib/RKindep/exports: add RkiCksum* APIs
1303 * lib/RKindep/Makefile: add cksum.[ch]
1304 * lib/RK/RKintern.h: add #CRC tag
1305 * lib/RK/permdic.c: ditto
1306 * lib/RK/util.c: add #CRC tag, remove essential_tag[] (unused)
1307 * lib/RK/fq.c: compare CRC
1308 * cmd/crxdic/crxdic.c: calculate CRC and store in #CRC tag
1309
1310 2003-03-10 AIDA Shinra <shinra@j10n.org>
1311
1312 * [Canna-dev 182]: DicDir (by Takamizu san)
1313 * Canna.conf.dist(ConvertPathName): add @(DicDir)
1314
1315 2003-03-05 AIDA Shinra <shinra@j10n.org>
1316
1317 * [Canna-dev 185]: misc patch by Ikumi san
1318 * cmd/mkbindic/Imakefile: quote CPP
1319 * cmd/mkromdic/Imakefile: dittto
1320 * dic/phono/kana.kpdef: use \xnn escape seq
1321 * dic/phono/newjis.kpdef: ditto
1322 * lib/canna/RkPhono.jmn: remove dup file
1323 * misc/Imakefile: create rc.canna, don't install [rc]Makefile
1324 * misc/cMakefile: removed
1325 * misc/rMakefile: reomved
1326 * misc/rc.canna-dist: new script source
1327
1328 2003-02-04 AIDA Shinra <aida-s@jcom.home.ne.jp>
1329
1330 * server/server.man: misc improvements (by Takamizu san)
1331 * server/server.jmn: ditto
1332
1333 2003-02-04 AIDA Shinra <aida-s@jcom.home.ne.jp>
1334
1335 * separate default.canna and verbose.canna. (proposed by
1336 TAMUKI san, Plamo maintainer)
1337 * misc/default.ca: place it again
1338 * misc/initfiles/default.ca: rename to verbose.canna
1339 * misc/initfiles/verbose.canna: renamed from default.ca and slightly
1340 modified
1341
1342 2003-02-04 AIDA Shinra <aida-s@jcom.home.ne.jp>
1343
1344 * lib/canna/romaji.c(doKakutei): save d->current_mode for
1345 bubun-kakutei
1346
1347 2003-02-03 AIDA Shinra <aida-s@jcom.home.ne.jp>
1348
1349 * lib/canna/ebind.c(EUCListCallback): check items == NULL case
1350 * lib/RKC/wconvert.c: make "extension" protocol sensical
1351 * server/IRwproto.h: ditto
1352 * server/wconvert.c: ditto
1353 * server/main.c(Dispatch): output extension name to debug log
1354 * server/wconvert.c(ReadWideRequestFromClient): ditto
1355 * server/convert.c(ReadRequestFromClient): ditto
1356 * server/misc.c(BecomeDaemon): if both -d and -l is given output
1357 messages over the given priority to stdout.
1358 * canna/patchlevel.h: rename to 3.7devel1
1359
1360 2003-02-02 AIDA Shinra <aida-s@jcom.home.ne.jp>
1361
1362 * configure.ac: check sys/select.h
1363 * server/connectoin.c: HAVE_SYS_SELECT_H instead of AIXV3
1364 * server/WaitFor.c: ditto
1365 * canna/protodef.h: correct ifdef around typedef Ushort and BYTE
1366 * canna/ccompat.h(RCSID): forgot to define to empty for lint
1367 * canuum/commonhd.h: don't need to include "cannaconf.h"
1368
1369 2003-02-02 AIDA Shinra <aida-s@jcom.home.ne.jp>
1370
1371 * canna/ccompat.h: const hack is done in accanna.h
1372 (WARN_REFERENCES): only use on ELF platform
1373 (RCSID): __attribute((__unused__)) instead of .ident
1374 * cmd/canlisp/canlisp.c: include "ccompat.h"
1375 * cmd/forcpp/forcpp.c: ditto
1376 * cmd/forsort/forsort.c: ditto
1377 * cmd/catdic/can.c: define CANNA_NEW_WCHAR_AWARE
1378 * cmd/catdic/rutic.c: ditto
1379 * cmd/dpromdic/dpromdic.c: include "ccompat.h" and define
1380 CANNA_NEW_WCHAR_AWARE
1381 * cmd/wtoc/wtoc.c: include "ccompat.h"
1382 (salloc): don't declare malloc() here
1383 * lib/canna/obind.c(owcListCallback): check items == NULL case
1384
1385 2003-02-02 AIDA Shinra <aida-s@jcom.home.ne.jp>
1386
1387 * [Canna-dev 164] [Canna-dev 169]: doc and Imakefile patches by
1388 Takamizu san.
1389 * server/server.jmn: more clear and accurate desc
1390 * server/server.man: ditto
1391 * cmd/catdic/Imakefile: install chmoddic.1
1392
1393 2003-01-25 AIDA Shinra <aida-s@jcom.home.ne.jp>
1394
1395 * oops, I forgot to add configure.ac and cmd/cmd.tmpl.
1396
1397 2003-01-25 AIDA Shinra <aida-s@jcom.home.ne.jp>
1398
1399 * autoconfize, cmd/*/Imakefile cleanup and add libRKindep
1400 * Canna.conf.dist: define some make variables
1401 (MakeCannaConfigH): include accanna.h from cannaconf.h
1402 * Imakefile: invoke configure to create accanna.h
1403 (distclean): remove files created by configure
1404 * mkrelease.sh: generate configure and accanna.h.in
1405 * configure.ac: added
1406 * .cvsignore: add generated files by autoconf
1407 * canna/ccompat.h: move HAVE_* to accanna.h.
1408 include RKindep.h and define compatibility macros.
1409 modify some macros.
1410 (RCSID): new macro
1411 * canuum/Imakefile: rename ConfigureEnv and ConfigureArgs to
1412 distinguish toplevel configure and canuum configure
1413 * canuum/canna.c: don't include "ccompat.h"
1414 * cmd/cmd.tmpl: added
1415 * cmd/*/Imakefile: cleanup using cmd.tmpl
1416 * cmd/chkconc/chkconc.c: use RkiBasename() instead of basename()
1417 * cmd/crxdic/crxdic.c: ditto
1418 * cmd/crxgram/crxgram.c: ditto
1419 * cmd/dicar/dicar.c: ditto
1420 * cmd/dpxdic/dpxdic.c: ditto
1421 * lib/Imakefile: add libRKindep
1422 * lib/RKC/Imakefile: join cfuncs.c in libRKindep
1423 * lib/RKC16/Imakefile: ditto
1424 * lib/canna/Imakefile: ditto
1425 * lib/canna16/Imakefile: ditto
1426 * lib/RK/RKintern.h: define HAVE_RENAME in accanna.h
1427 * server/Imakefile: cleanup
1428 * lib/RKindep/Imakefile: added
1429 * lib/RKindep/cfuncs.c: added
1430 * lib/RKindep/basename.c: added
1431 * lib/RKindep/RKindep.h: added
1432 * lib/RKindep/exports: added
1433 * lib/RKindep/.cvsignore: added
1434
1435 2003-01-25 AIDA Shinra <aida-s@jcom.home.ne.jp>
1436
1437 * Canna.conf.dist: MANSUFF(X (thanks to nanashi san)
1438 * mkrelease.sh: remove autom4te.cache
1439
1440 2003-01-24 AIDA Shinra <aida-s@jcom.home.ne.jp>
1441
1442 * canuum/configure.in: check union wait
1443 * canuum/jhlp.c(chld_handler): HAVE_UNION_WAIT
1444 * canuum/termio.c(openTermData): don't invoke reset_shell_mode()
1445
1446 2003-01-24 AIDA Shinra <aida-s@jcom.home.ne.jp>
1447
1448 * canuum/jhlp.c(open_ttyp): I_PUSH
1449 * canuum/commonhd.h: fix typo (s/CONFIG_TEMRIO/CONFIG_TERMINFO)
1450
1451 2003-01-21 AIDA Shinra <aida-s@jcom.home.ne.jp>
1452
1453 * [Canna-dev 153]: sample file problems (Thanks to Ikumi san)
1454 * misc/initfiles/Imakefile: install default.canna to cannaLibDir
1455 * misc/initfiles/default.ca: fix typo, 3.5 options
1456 * misc/initfiles/sample.canna: ditto
1457 * misc/initfiles/unix.canna: ditto
1458
1459 2003-01-18 AIDA Shinra <aida-s@jcom.home.ne.jp>
1460
1461 * lib/canna/obind.c(owcListCallback): correct owbuf size
1462
1463 2003-01-18 AIDA Shinra <aida-s@jcom.home.ne.jp>
1464
1465 * Implement KC_SETLISTCALLBACK for EUC and old wchar_t. (dirty)
1466 * canna/jrkanji.h(jrEUCListCallbackStruct): added
1467 (CANNA_EUC_LISTCALLBACK): added to inform this API
1468 * lib/canna/canna.h(uiContext): add elistcb
1469 * lib/canna/ebind.c(EUCListCallback): added
1470 (XKanjiControl2): map KC_SETLISTCALLBACK
1471 * lib/canna/obind.c(owcListCallback): added
1472 (owcKanjiControl2): map KC_SETLISTCALLBACK
1473 * lib/canna/globnames: add EUCListCallback and owcListCallback
1474 * lib/canna/kctrl.c(KC_setListCallback): set d->elistcb
1475
1476 2003-01-17 AIDA Shinra <aida-s@jcom.home.ne.jp>
1477
1478 * lib/canna/romaji.c(YomiKakutei): Oops, I left debug fprintf.
1479
1480 2003-01-17 AIDA Shinra <aida-s@jcom.home.ne.jp>
1481
1482 * lib/canna/henkan.c(TanPrintBunpou): correctly handle guidline clear
1483 flags (Thanks to Ikumi san)
1484 (TanPrintTime): ditto
1485 (tanbunToYomiAll): avoid dereference of tan after tanbunCommitYomi
1486 * lib/canna/romaji.c(howFarToGoBackward): character-based-move was
1487 broken. Don't stop at HENKANSUMI && !SENTOU char. Instead we set
1488 SENTOU flag in tango-touroku time.
1489 (howFarToGoForward): ditto
1490 * lib/canna/uldefine.c(uuT2TangoEveryTimeCatch): SENTOU flag on.
1491 Now we can handle cursor in tango-touroku really properly.
1492
1493 2003-01-15 AIDA Shinra <aida-s@jcom.home.ne.jp>
1494
1495 * dic/ideo/pubdic/k.p(kabun): T35 -> T15 (Bugs #773)
1496
1497 2003-01-15 AIDA Shinra <aida-s@jcom.home.ne.jp>
1498
1499 * lib/canna/uldelete.c: delete words in group dictionaries (Thanks to
1500 Ikumi san)
1501 * cmd/crfreq/crfreq.c: avoid crash when filename and dicname are not
1502 specified
1503 * [Canna-dev 143]: misc fixes (Thanks to Toru TAKAMIZU san)
1504 * ChangeLog(previous commit): s/TEMPDIR/TMPDIR/
1505 * INSTALL: remove canvert
1506 * INSTALL.jp: ditto
1507 * cmd/dpbindic/dpbindic.man: reformat
1508 * cmd/dpbindic/dpbindic.jmn: remove canvert(1) from .SH
1509 * cmd/mkbindic/mkbindic.cpp: use .fq suffix if "-name foo.d" is
1510 specified
1511 * cmd/mkbindic/mkbindic.jmn: new filename, remove canvert(1)
1512 * cmd/mkbindic/mkbindic.man: ditto, update examples, add $TMPDIR desc
1513 * cmd/ctow/ctow.c: s/itow/ctow/ in comments, s/speach/speech/
1514 * cmd/splitwd/splitwd.man: s/itow/ctow/
1515 * lib/canna/parse.c: undef OBSOLETE_RCFILE
1516
1517 2003-01-13 AIDA Shinra <aida-s@jcom.home.ne.jp>
1518
1519 * cmd/dicar/dicar.man: correct typo(Thanks to NAKAMURA Takeshi san)
1520 * cmd/mkbindic/mkbindic.cpp: change cpp check method, $TMPDIR (Thanks
1521 to takasan san)
1522 * Canna.conf.dist(MakeCannaConfigH): suppress echo
1523 * misc/default.ca: already moved into initfiles; removed
1524 * misc/Imakefile: remove default.ca
1525 * misc/initfiles/default.ca: append old default.ca contents and
1526 "nami" "nakaten" symbol defs as comment.
1527 * misc/initfiles/unix.ca: add "nami" symbol
1528
1529 2003-01-13 AIDA Shinra <aida-s@jcom.home.ne.jp>
1530
1531 * wchar_t fix final step: now our cannawc does not need wchar_t hack.
1532 * Canna.conf.dist(supportOldWchar): added
1533 * canna/jrkanji.h: check CANNA_NEW_WCHAR_AWARE
1534 * canna/widedef.h: don't define cannawc here
1535 * canuum/canna.c: use new wide character
1536 * cmd/cannacheck/main.c: don't include "widedef.h". instead
1537 <canna/RK.h> is needed.
1538 (CANNA_NEW_WCHAR_AWARE): define
1539 * canna/ccompat.h(WARN_REFERENCES): added (copied from FreeBSD)
1540 * lib/RK/RK.h: demand CANNA_NEW_WCHAR_AWARE
1541 * lib/RK/RKintern.h(CANNA_NEW_WCHAR_AWARE): define
1542 (cannawc): typedef to Wchar here
1543 * lib/RKC/rkc.c(RkwInitialize): rkcWCinit is removed
1544 * lib/RKC/rkcw.h(cannawc): typedef here
1545 * lib/RKC/wutil.c: replace rkcWCinit and wchar_type to #ifdef
1546 * lib/RKC16/Imakefile(DEFINES): undef WCHAR16, define CANNA_WCHAR16
1547 * lib/canna/Imakefile: add obind.[co]
1548 * lib/canna/obind.c: added
1549 * lib/canna/canna.h: don't include "widedef.h" here
1550 (CANNA_NEW_WCHAR_AWARE): define
1551 * lib/canna/engine.c: use CANNA_WCHAR16
1552 * lib/canna/globnames: add context_table
1553 * lib/canna/kctrl.c(KC_initialize): WCinit is removed
1554 (context_table): change to global
1555 * lib/canna/util.c: replace WCinit and wchar_type to #ifdef
1556 * lib/canna/lisp.c: ditto (WIN_CANLISP)
1557 * lib/canna16/Imakefile: add obind.[co]
1558 (DEFINES): undef WCHAR16, define CANNA_WCHAR16
1559
1560 2003-01-10 AIDA Shinra <aida-s@jcom.home.ne.jp>
1561
1562 * we no longer need JAPANESE_LOCALE
1563 * Canna.conf.dist: remove JapaneseLocale and JAPANESE_LOCALE
1564 * canuum/jhlp.c: don't use LANG
1565 * canuum/wnn_config.h: remove JAPANESE_LOCALE
1566
1567 2003-01-10 AIDA Shinra <aida-s@jcom.home.ne.jp>
1568
1569 * sample/*: sample.c is a worst sample. It's hard to make cope with
1570 new wide character. Remove them.
1571
1572 2003-01-10 AIDA Shinra <aida-s@jcom.home.ne.jp>
1573
1574 * wchar_t fix step 3: add cannawc hook (no API/ABI changes for now)
1575 * canna/jrkanji.h: use cannawc instead of wchar_t
1576 * canna/widedef.h: ditto
1577 * lib/RK/RK.h: ditto
1578 * lib/RKC/*: replace wchar_t to cannawc by macro carefully
1579 * lib/canna/*: ditto
1580 * server/IR.h: typedef Ushort cannawc; remove alternative prototypes
1581 * server/util.c: don't include widedef.h
1582 (wchar2ushort32): removed (unused function)
1583 (ushort2wchar32): removed (unused function)
1584
1585 2003-01-06 AIDA Shinra <aida-s@jcom.home.ne.jp>
1586
1587 * completely remove libc's mbstowcs
1588 * lib/RKC/rkcw.h: remove JAPANESE_LOCALE
1589 * lib/RKC/wutil.c: remove HAVE_WCHAR_OPERATION
1590 * lib/canna/canna.h: remove JAPANESE_LOCALE
1591 * sample/sample.c: distinguish X/libc wchar_t and canna wchar
1592 (main): always invoke setlocale()
1593 (euc): removed; always behaves as euc==1
1594 (proc_keypress): always behaves as euc==1
1595 (proc_ctl_keypress): remove HAVE_WCHAR_OPERATION
1596 (checkOptions): -euc option is not needed
1597 (checkGLineWidth): convert X/libc wchar to canna wchar
1598 (WCinit): remove HAVE_WCHAR_OPERATION
1599 (mywcstombs): added
1600 (mymbstowcs): added
1601
1602 2003-01-06 AIDA Shinra <aida-s@jcom.home.ne.jp>
1603
1604 * wchar_t fix step 2: remove libc's mbstowcs()
1605 * Canna.conf(wcharDefinition): empty
1606 (Wlib): removed
1607 * canna/widedef.h: remove HAVE_WCHAR_OPERATION
1608 * lib/canna/canna.h: ditto
1609 * lib/canna/commondata.c(locale_insufficient): removed
1610 * lib/canna/globnames: remove locale_insufficient
1611 * lib/canna/jrbind.c(XwcLookupKanji2): remove if(locale_insufficient)
1612 * lib/canna/util.c(WCinit): remove HAVE_WCHAR_OPERATION case
1613 (CNvW2E): ditto
1614 (CANNA_mbstowcs): always compiled
1615 (CANNA_wcstombs): always compiled
1616 * lib/canna/lisp.c(WCinit): remove HAVE_WCHAR_OPERATION case although
1617 it is Windows only code
1618
1619 2003-01-06 AIDA Shinra <aida-s@jcom.home.ne.jp>
1620
1621 * canuum/uumimport.sh: don't use -ko; it is needless because FreeWnn
1622 files are checkouted with -kv. now RCSID is expanded correctly.
1623 * canuum/* (FreeWnn files): cvs admin -kkv
1624
1625 2003-01-06 AIDA Shinra <aida-s@jcom.home.ne.jp>
1626
1627 * Imakefile(instmost): added
1628
1629 2003-01-06 AIDA Shinra <aida-s@jcom.home.ne.jp>
1630
1631 * canuum/Imakefile(ConfigureEnv): fix quote
1632 * canuum/commonhd.h: redefine TERMCAP/TERMINFO here according to
1633 CONFIG_TERMIO here
1634 * canuum/configure.in: check killpg, getpgid, getpgrp
1635 * canuum/jhlp.c(chld_handler): use KILLPG macro
1636 (do_end): ditto
1637 (setsize): ditto
1638 * canuum/wnn_os.h: move TERMCAP/TERMINFO redefinition to commonhd.h
1639 (KILLPG): new macro
1640 (GETPGID): new macro
1641 (GETMYPGRP): new macro
1642
1643 2003-01-05 AIDA Shinra <aida-s@jcom.home.ne.jp>
1644
1645 * lib/RK/bun.c(RkStoreYomi): allow yomi == NULL && len == 0
1646
1647 2003-01-05 AIDA Shinra <aida-s@jcom.home.ne.jp>
1648
1649 * [Canna-dev 119] chikuji input was broken
1650 * lib/RKC/wconvert.c(SendType11Request): stop buffer overrun
1651 * server/wconvert.c(irw_store_yomi): len = ushortstrlen() unless
1652 req->yomi == NULL
1653 (irw_store_range): ditto
1654 (ProcWideReq11): allow empty string that is not null terminated
1655
1656 2003-01-04 AIDA Shinra <aida-s@jcom.home.ne.jp>
1657
1658 * canuum/*: add RCSID
1659 * canuum/jhlp.c: remove code commented out
1660 * canuum/ttyfdslot.c: removed
1661 * canuum/sheader.h: remove ttyfdslot(), setutmp(), saveutmp() and
1662 resetutmp()
1663 * canuum/freewnn-uum.files: remove ttyfdslot.c and setutmp.c
1664
1665 2003-01-04 AIDA Shinra <aida-s@jcom.home.ne.jp>
1666
1667 * Get pty with libspt:
1668 http://members.jcom.home.ne.jp/aida-s/libspt/
1669 * canuum/Imakefile: link libspt
1670 (INSTUGIDFLAGS): don't need any privilege.
1671 * canuum/jhlp.c(main): remove utmp logging without libspt completely.
1672 (SysV j_term_save): remove meaningless cfset[io]speed.
1673 (chld_handler): spt_utmp_set_exit()
1674 (ptyfd, ttypfd): -1 init
1675 (exec_cmd): use libspt, fix USE_LINUX_TERM, remove old utmp code.
1676 (open_pty): use libspt
1677 (do_end): libspt related cleanup, remove old utmp code, comment out
1678 needless TIOCSSIZE.
1679 (ptyname): don't compile when libspt is used.
1680 * canuum/setutmp.c: removed because libspt does this
1681
1682 2002-12-28 AIDA Shinra <aida-s@jcom.home.ne.jp>
1683
1684 * cmd/Imakefile(SUBDIRS): add chkconc
1685 * server/IR.h: define _WCHAR_t again after include "canna/RK.h"
1686 * canna/widedef.h: FreeBSD 5.x and OpenBSD
1687
1688 2002-12-28 AIDA Shinra <aida-s@jcom.home.ne.jp>
1689
1690 * [canna-dev 97] [canna-dev 106] [canna-dev 107]
1691 New direcroty hierarchy.
1692 * Canna.conf.dist: new directory hierarchy if !ObsoleteInstallDir
1693 (MakeCannaConfigH for !EMX): preserve old cannaconf.h if unchanged
1694 * cmd/catdic/Imakefil: cannakill in cannaSrvDir if !ObsoleteInstallDir
1695
1696 2002-12-28 AIDA Shinra <aida-s@jcom.home.ne.jp>
1697
1698 * cleanuped tty handling of canuum and TERMCAP/TERMINFO detection.
1699 * canuum/.cvsignore: add config.h.in
1700 * canuum/Imakefile(TERMCAP_LIB): added
1701 (distclean): delete config.cache and config.status
1702 (reconfig): added
1703 * canuum/canna.c: don't include <sgtty.h>, <curses.h>, <term.h>
1704 directly. latter 2 are included from "wnn_os.h".
1705 * canuum/config.h.in: remove from CVS. instead generate by
1706 mkrelease.sh.
1707 * canuum/acconfig.h: added (ported from FreeWnn)
1708 (HAVE_TERMINFO): added
1709 * mkrelease.sh: generate canuum/config.h.in using autoheader2.5
1710 * configure.in: Do not set CDEBUGFLAGS/CCOPTIONS when CANNA.
1711 Do not use AC_SEARCH_LIBS to detect terminal library.
1712 Check termcap.h, sgtty.h, sys/termio.h and termios.h.
1713 Choose appropreate terminal library. (ported from vim6.1)
1714 Check setsid, dup2.
1715 * canuum/freewnn-uum.files: remove config.h.in and add acconfig.h
1716 * canuum/jhlp.c: move #include <curses.h> and <term.h> to wnn_os.h.
1717 include termios.h or termio.h or sgtty.h appropreately.
1718 (USE_LINUX_TERM): Added new macro. If you define it, old linux
1719 specific terminal handling code is used instead of new POSIX based
1720 one. I don't know why such a special code was needed, but leave it
1721 just in case.
1722 (ttyfd): initialize before open_pty()
1723 (j_term_save): added. POSIX termios ready.
1724 (j_term_restore): ditto
1725 (j_term_p_init): ditto
1726 (j_term_init): now POSIX termios ready
1727 (open_ttyp): move some code to j_term_*.
1728 (open_pty): ditto
1729 (do_end): move cleanup code to j_term_restore.
1730 (change_size): change #ifdefs
1731 (exec_cmd): Add new code to use POSIX setsid(). If it is not
1732 available or USE_LINUX_TERM is specified, old code is used.
1733 * canuum/termcap.c: Move #include <curses.h>, <ncurses.h> and
1734 <term.h> to "wnn_os.h".
1735 * termio.h: ditto
1736 * wnn_os.h: Use configure result instead of old TERMCAP/TERMINFO
1737 definitions when CONFIG_TERMINFO is defined. In this case
1738 include <curses.h>, <ncurses.h>, <term.h> and/or <termcap.h>
1739 appropreately.
1740
1741 2002-12-22 AIDA Shinra <aida-s@jcom.home.ne.jp>
1742
1743 * lib/canna/henkan.c(doTanBubunMuhenkan): correctly calculate first
1744 bunsetsu to convert to yomiContext.
1745
1746 2002-12-22 AIDA Shinra <aida-s@jcom.home.ne.jp>
1747
1748 * add .cvsignore to all directories.
1749
1750 2002-12-22 AIDA Shinra <aida-s@jcom.home.ne.jp>
1751
1752 * ChangeLog(previous commit): avoid keyword substitution
1753
1754 2002-12-22 AIDA Shinra <aida-s@jcom.home.ne.jp>
1755
1756 * canuum/canuum.man: added (but no complete)
1757 * canuum/README.copyright: s/Canuum.files/freewnn-uum.files/g
1758 * canuum/checkout.sh: cleanup, add RCSID
1759 * canuum/uumimport.sh: cleanup, add RCSID
1760
1761 2002-12-22 AIDA Shinra <aida-s@jcom.home.ne.jp>
1762
1763 * canuum/Bring.sh: remove obsolete files
1764 * canuum/Canuum.patch: ditto
1765 * canuum/Uum.files: ditto
1766 * canuum/configure.in: do not use canuum.tmpl
1767
1768 2002-12-21 AIDA Shinra <aida-s@jcom.home.ne.jp>
1769
1770 * canuum/*: imported uum from FreeWnn and canuumized.
1771 * mkrelease.sh: invoke autoconf
1772
1773 2002-12-21 AIDA Shinra <aida-s@jcom.home.ne.jp>
1774
1775 * lib/canna/ebind.c(XLookupKanji2): cast to unsigned char first
1776
1777 2002-12-18 AIDA Shinra <aida-s@jcom.home.ne.jp>
1778
1779 * ChangeLog(2002-11-09 first commit): correct filename
1780
1781 2002-12-18 AIDA Shinra <aida-s@jcom.home.ne.jp>
1782
1783 * Prevent wrong learning. It had occured in two situations:
1784 1. bubun kakutei at bunsetsus (probably) except in jishu-henkan mode
1785 2. bubun muhenkan
1786 In both cases, all bunsetsus had been learned.
1787 This commit is only a quick hack. tanbunContext should be removed
1788 and new protocol should be added in future.
1789 * lib/canna/henkan.c(tanbunToYomiAll): added
1790 (doTanConvertTb): use tanbunToYomiAll
1791 (doTanBubunMuhenkan): ditto
1792 (tanbunToYomi,tanbunCommitYomi): added
1793 (tanbunUnconvert): separated into tanbunToYomi and tanbunCommitYomi
1794 (TbBubunMuhenkan): use tanbunToYomi and tanbunCommitYomi
1795 (doYomiHenkan): added yc arg, new comment
1796 (tanbunHenkan): removed because enterTanHenkanMode no longer calls
1797 (enterTanHenkanMode): more strict error handling
1798 * lib/canna/romaji.c(TbBubunKakutei): commented out (already unused)
1799
1800 2002-12-16 AIDA Shinra <aida-s@jcom.home.ne.jp>
1801
1802 * lib/RK/Imakefile: RkMountD -> RkMountDic
1803
1804 2002-12-16 AIDA Shinra <aida-s@jcom.home.ne.jp>
1805
1806 [Canna:05811] [Canna:05812] autodef was broken
1807 * lib/canna/lisp.c(Lusedic): handle ":katakana",":hiragana"
1808 * lib/canna/romaji.c(doKakutei): define proper word
1809
1810 2002-12-12 AIDA Shinra <aida-s@jcom.home.ne.jp>
1811
1812 * lib/canna/romaji.c(howFarToGoBackward): Stop at HENKANSUMI char.
1813 Otherwise we cannot edit the words in tango-touroku if
1814 character-based-move is true.
1815 (howFarToGoForward): ditto
1816
1817 2002-12-12 AIDA Shinra <aida-s@jcom.home.ne.jp>
1818
1819 * server/convert.c:
1820 if CANNA_LIGHT -> ifdef (thanks to Ayamura KIKUCHI san)
1821 * lib/RKC/rkcw.h: ditto
1822 * lib/RKC/convert.c: ditto
1823 * ChangeLog: correct previous commit date
1824
1825 2002-12-12 AIDA Shinra <aida-s@jcom.home.ne.jp>
1826
1827 * CHANGES.jp: more desc about one-letter word hack
1828 * cmd/mkbindic/mkbindic.cpp: use only yomi as sort key
1829
1830 2002-12-02 AIDA Shinra <aida-s@jcom.home.ne.jp>
1831
1832 * server/wconvert.c: CANNA-2002-1 security fix.
1833 * server/convert.c: ditto
1834 * server/util.c(ushortmemchr): added
1835
1836 2002-11-09 AIDA Shinra <aida-s@jcom.home.ne.jp>
1837
1838 * cmd/catdic/Imakefile: remove wrong DESTDIR (thanks to SUZUKI san)
1839
1840 2002-11-09 AIDA Shinra <aida-s@jcom.home.ne.jp>
1841
1842 * dic/ideo/grammar/Imakefile: add DESTDIR (thanks to SUZUKI san)
1843 * INSTALL.jp: s/lockfile/socket/g
1844 * INSTALL: ditto
1845
1846 Corrected in 2002-12-18: s/words/grammar/
1847
1848 2002-11-07 AIDA Shinra <aida-s@jcom.home.ne.jp>
1849
1850 * server/util.c(ushort2euc): reverted previous wrong SS3 fix.
1851 (euc2ushort): should be here.
1852 * canna/patchlevel.h: bump to 4.0-devel.
1853 * Canna.conf: CannaDsoRev is now 1.1 in all platforms.
1854
1855 2002-11-07 AIDA Shinra <aida-s@jcom.home.ne.jp>
1856
1857 * ChangeLog: correct date
1858 * [canna-dev 50] [canna-dev 85]:
1859 patch by ikumi-san. dic fixes.
1860 * dic/ideo/a.p: correct kanjis
1861 * dic/ideo/k.p: correct kanjis
1862 * dic/ideo/s.p: correct kanjis
1863 * dic/ideo/t.p: correct kanjis
1864 * dic/ideo/h.p: correct kanjis
1865 * dic/ideo/m.p: correct kanjis
1866 * dic/ideo/y.p: correct kanjis
1867 * dic/ideo/p.p: correct kanjis
1868 * dic/ideo/w.p: correct kanjis
1869
1870 2002-11-07 AIDA Shinra <aida-s@jcom.home.ne.jp>
1871
1872 * ChangeLog: unified format
1873 * server/misc.c(BecomeDaemon): hook SIGTERM before fork
1874 (Reset): only raise a flag and return
1875 (CheckSignal): added
1876 * server/wconvert.c(ReadWideRequestFromClient): check signal
1877 (WriteClient): ditto
1878 * server/convert.c(ReadRequestFromClient): ditto
1879 (WriteClient): ditto
1880 (ir_error): ditto
1881 * server/WaitFor.c: ditto
1882
1883 Corrected on 2002-11-07: not 2002-11-05
1884
1885 2002-11-05 AIDA Shinra <aida-s@jcom.home.ne.jp>
1886
1887 * dic/ideo/pubdic/a.p(abushiga): magbushiga
1888 * dic/ideo/pubdic/m.p(mabushiga): added
1889
1890 2002-11-05 AIDA Shinra <aida-s@jcom.home.ne.jp>
1891
1892 * [canna-dev 50] [canna-dev 58] [canna-dev 75]:
1893 patch by Ikumi-san. currently dic errors are not checked except
1894 ones of a.p, so fix only them.
1895 * cmd/catdic/Imakefile: add chmoddic, DESTDIR
1896 * dic/ideo/words/Imakefile: fix text dic permission, add DESTDIR
1897 * lib/RK/Imakefile: s/RkRgnBun/RkBgnBun/
1898 * server/util.c: SS3 conversion was wring.
1899 * dic/ideo/pubdic/a.p(adabana): fix kanji
1900 (atsureki): fix kanji
1901 (ankou): only two letter "ankou" is allowed.
1902
1903 2002-11-05 AIDA Shinra <aida-s@jcom.home.ne.jp>
1904
1905 * ChangeLog: fix my mail address
1906 * Canna.conf.dist(inet6Definition): added
1907 (CANNASERVER_DEFINES, RKC_DEFINES): add inet6Definition
1908 * lib/RKC/wconvert.c(connect_inet): create inet6 socket
1909 (rkc_Connect_Iroha_Server): IPv6 [x::y] address expression support
1910 * server/IR.h: add some in6_addr support
1911 * server/connection.c(open_inet_socket): create inet6 socket
1912 Dmsg was wrong, htons() was not needed(!INET6 only)
1913 (CreateWellKnownSockets): call open_inet_socket when UseInet6
1914 (GetConnectionInfo): support IPv6 address
1915 * server/convert.c(ir_initialize): IPv4 address check
1916 * server/misc.c: use IR_ARE_ADDR_EQUAL, Address
1917 (IR_No_Address, IR_Unix_Address): added
1918 (UseInet6): added
1919 (USAGE): add -inet6 desc
1920 (BecomeDaemon): initialize IR_No_Address if needed, check -inet6
1921 (GetAddressFromName): added
1922 (IR_Are_Addr_Equal): added
1923 (CreateAccessControlList): IPv6 [x::y] address expression support
1924 * server/server.man: add -inet6 desc
1925 * server/server.jmn: ditto
1926 * server/wconvert.c(irw_killserver): check IPv6 case
1927
1928 2002-10-24 AIDA Shinra <aida-s@jcom.home.ne.jp>
1929
1930 * server/server.jmn: remove premountdics desc
1931 * server/server.man: ditto
1932 * INSTALL(Acknowledgements): changed to "see README.ja."
1933
1934 2002-10-24 AIDA Shinra <aida-s@jcom.home.ne.jp>
1935
1936 * server/server.man: fix SYNOPSIS (Thanks to Hane san)
1937 * dic/ideo/words/dics.dir: add fuzokugo.cld
1938
1939 2002-10-23 AIDA Shinra <aida-s@jcom.home.ne.jp>
1940
1941 * INSTALL.jp: updated
1942 * INSTALL: ditto
1943
1944 2002-10-23 AIDA Shinra <aida-s@jcom.home.ne.jp>
1945
1946 * canna/patchlevel.h: bump to 3.6
1947 * CHANGES.jp: add 3.6 desc
1948 * README.jp: updated
1949 * README: updated (acknowledgement is not yet done)
1950
1951 2002-10-23 AIDA Shinra <aida-s@jcom.home.ne.jp>
1952
1953 * Canna.conf.dist: Added warning not to change -DCANNA_WCHAR.
1954 * cmd/mkbindic/mkbindic.cpp: pass -div 512 to crfreq.
1955 * ChangeLog (2002-10-20 first commit): corrected patch file name.
1956
1957 2002-10-22 AIDA Shinra <aida-s@jcom.home.ne.jp>
1958
1959 * dic/ideo/pubdic/h.p (ha, hi, himatsu, funman): corrected spells.
1960 * dic/ideo/pubdic/n.p (noukousoku): ditto
1961 * dic/ideo/pubdic/t.p (toraware,dorojiai): ditto
1962 * README, README.jp: add copyright notice
1963 * server/server.man: add -u, -inet desc
1964 remove obsolete lockfile description and describe socket.
1965 * server/server.jmn: ditto
1966 * cmd/catdic/cannakill.man: ditto
1967 * cmd/catdic/cannakill.jmn: ditto
1968 * Canna.conf.dist (ConvertPathName): added UnixSockDir,
1969 UnixSockName, and AccessFile.
1970
1971 2002-10-21 AIDA Shinra <aida-s@jcom.home.ne.jp>
1972
1973 * server/misc.c (CreateAccessControlList): remove needless init.
1974 (from Debian)
1975 * cmd/crxgram/crxgram.c (basename): avoid conflicting with glibc.
1976 (from Debian)
1977 * dic/ideo/pubdic/a.p (enzui): well-known pubdic error
1978 * dic/ideo/pubdic/k.p (kotsuzui): ditto
1979 * lib/RK/nword.c (evalSplit): one-letter word hack (from Debian)
1980 * lib/canna/romaji.c: default romkana dic (from Debian)
1981 (DEFAULT_ROMKANA_TABLE): always use ".cbp"
1982 (OpenRoma): try topdir/ after topdir/dic/user and topdir/dic
1983 * misc/Imakefile: exclude engineSwitch related files (from Debian)
1984 * Canna.conf.dist: install both Japanese and English manuals
1985 (JMNLOCLALE): added
1986 (installManPageLong): install Japanese man page
1987 (installLibManPageLong): ditto
1988 (installLibManAliases): ditto, use symlink instead of .so
1989 * Canna.conf.dist (MakeDirectoriesLong): add semicolon (from Debian)
1990
1991 2002-10-21 AIDA Shinra <aida-s@jcom.home.ne.jp>
1992
1993 * lib/RK/dd.c (DDchmod): wrong buffer size (ported from Debian)
1994 * server/misc.c (SetDicHome): fixed buffer overflow found by
1995 Shadow Penguin. (ported from Debian)
1996 * server/misc.c: added -u and -inet options (ported from Debian)
1997 add #include <pwd.h>, <sys/types.h>
1998 (userID, UseInet): added
1999 (Usage): add -u, -inet
2000 (BecomeDaemon): check -u, -inet
2001 * server/connection.c: -inet option (ported From Debian)
2002 add extern int UseInet
2003 (CreateWellKnownSockets): check UseInet
2004 * server/Imakefile: We have -u option, no need to setuid.
2005
2006 2002-10-20 AIDA Shinra <aida-s@jcom.home.ne.jp>
2007
2008 * Imakefile: do not ignore errors when making all.
2009 * canna/ccompat.h: added
2010 * canna/Imakefile (OSDEP_HEADER): added ccompat.h
2011 * server/IR.h: use ccompat.h
2012 * lib/RK/RKintern.h: ditto
2013 * lib/RKC/rkc.h: ditto
2014 * lib/RKC/rkcw.h: ditto
2015 * lib/canna/canna.h: ditto
2016 * ccustom/canna.h: ditto
2017 * ccustom/ccustom.c: ditto
2018 * cmd/cannacheck/main.c: ditto
2019 * cmd/catdic/RKdelline.c: ditto
2020 * cmd/catdic/can.c: ditto
2021 * cmd/catdic/rutil.c: ditto
2022 * cmd/chkconc/chkconc.c: ditto
2023 * cmd/crrdic/crrdic.c: ditto
2024 * cmd/crxdic/crxdic.c: ditto
2025 * cmd/crxgram/crxgram.c: ditto
2026 * cmd/ctow/ctow.c: ditto
2027 * cmd/dpxdic/dpxdic.c: ditto
2028 * cmd/kpdic/kpdic.c: ditto
2029 * cmd/splitwd/kpdic.c: ditto
2030 * canuum/canna.c: ditto
2031 * dic/ideo/public/pod.c: ditto
2032 * lib/RK/bun.c: remove what is done in ccompat.h
2033 * lib/RK/context.c: ditto
2034 * lib/RK/dd.c: ditto
2035 * lib/RK/dic.c: ditto
2036 * lib/RK/fq.c: ditto
2037 * lib/RK/ngram.c: ditto
2038 * lib/RK/permdic.c: ditto
2039 * lib/RK/tempdic.c: ditto
2040 * lib/RK/util.c: ditto
2041 * lib/RKC/convert.c: ditto
2042 * lib/RKC/rkc.c: ditto
2043 * lib/RKC/wconvert.c: ditto
2044 * lib/RKC/wutil.c: ditto
2045 * lib/canna/RKroma.c: ditto
2046 * lib/canna/engine.c: ditto
2047 * ccustom/lisp.c: ditto
2048 * ccustom/util.c: ditto
2049 * doc/man/guide/tex/cannaindex.c: use ccompat.h
2050 stop using strdup.
2051 * cmd/crxgram/Imakefile (INCLUDES): added $(CANNAROOT)/include
2052 * cmd/ctow/Imakefile (INCLUDES): ditto
2053 * cmd/kpdic/Imakefile (INCLUDES): ditto
2054 * cmd/splitwd/Imakefile (INCLUDES): ditto
2055 * dic/ideo/pubdic/Imakefile (INCLUDES): ditto
2056 * lib/RK/RK.h: support prototype when __cplusplus.
2057
2058 2002-10-20 AIDA Shinra <aida-s@jcom.home.ne.jp>
2059
2060 * ChangeLog: added
2061 * mkrelease.sh: added
2062 * cmd/chkconc/Imakefile: add .exe suffix on __CYGWIN32__.
2063 * Canna.conf: renamed to Canna.conf.dist.
2064 Canna.conf is now created by mkrelease.sh.
2065 * Canna.conf.dist: renamed from Canna.conf.
2066 added DLL stuff for cygwin.
2067 use UNIX rules instead of EMX rules(no UNIX socket, no subshell).
2068 (cannaPrefix, cannaExecPrefix): added
2069 (InstallAsUser): added
2070 (UnixSockDir, UnixSockName): added
2071 (AccessFile): added
2072 * lib/RKC/rkcw.h: use UNIX socket in cygwin.
2073 * server/Imakefile: added ConnectionFlags to DEFINES.
2074 * canna/protodef.h: allow to configure UNIX socket dir.
2075 (IR_UNIX_DIR): moved to cannaconf.h.
2076 (IR_UNIX_PATH): use IR_UNIX_DIR, IR_UNIX_SOCKNAME defined in cannaconf.h.
2077 * Imakefile: added includes:: dependency. (for XFree86 4.2.0 imake)
2078 * lib/canna/Imakefile: ditto
2079 * server/util.c: remove #include "net.h"
2080 * server/misc.c: add #ifdef ACCESS_FILE
2081
2082 2002-10-20 AIDA Shinra <aida-s@jcom.home.ne.jp>
2083
2084 * Applied Fujieda-san's patches:
2085 http://www.jaist.ac.jp/~fujieda/canna/Canna35b2-unoff1.patch.gz,
2086 http://www.jaist.ac.jp/~fujieda/canna/Canna35b2-unoff2.patch.gz,
2087 http://www.jaist.ac.jp/~fujieda/canna/Canna35b2-hack1.patch.gz,
2088 http://www.jaist.ac.jp/~fujieda/cygwin/Canna35b2-cygwin.patch.gz
2089
2090 Corrected on 2002-10-23: not -cygwin.patch.gz, but -cygwin.patch.bz2.
2091
2092 2002-10-19 AIDA Shinra <aida-s@jcom.home.ne.jp>
2093
2094 * Virgin import of Canna3.5b2.
2095
2096 $Id: ChangeLog,v 1.211 2008/04/05 17:25:45 aida_s Exp $

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26