canna****@lists*****
canna****@lists*****
2003年 8月 24日 (日) 17:33:18 JST
Date: Sunday August 24, 2003 @ 17:33 Author: aida_s Update of /cvsroot/canna/canna/doc/intern In directory sf-cvs:/tmp/cvs-serv9813/doc/intern Modified Files: dic.txt Log Message: 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 =================================================================== File: no file dic.txt Status: Needs Checkout Working revision: 1.2 Sun Aug 24 08:33:18 2003 Repository revision: 1.2 /cvsroot/canna/canna/doc/intern/dic.txt,v Existing Tags: No Tags Exist