You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
(58) |
May
(28) |
Jun
(308) |
Jul
(11) |
Aug
(1) |
Sep
|
Oct
(3) |
Nov
(4) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(4) |
Feb
(8) |
Mar
(3) |
Apr
(3) |
May
(8) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2009 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <ma...@us...> - 2007-04-12 08:53:15
|
Revision: 1187 http://tomoe.svn.sourceforge.net/tomoe/?rev=1187&view=rev Author: makeinu Date: 2007-04-12 01:53:15 -0700 (Thu, 12 Apr 2007) Log Message: ----------- Moved from sci...@sf.... Added Paths: ----------- scim-tomoe/ scim-tomoe/ABOUT-NLS scim-tomoe/AUTHORS scim-tomoe/COPYING scim-tomoe/ChangeLog scim-tomoe/INSTALL scim-tomoe/Makefile.am scim-tomoe/NEWS scim-tomoe/README scim-tomoe/TODO scim-tomoe/bootstrap scim-tomoe/configure.ac scim-tomoe/data/ scim-tomoe/data/Makefile.am scim-tomoe/data/scim-tomoe.png scim-tomoe/intl/ scim-tomoe/intl/ChangeLog scim-tomoe/intl/Makefile.in scim-tomoe/intl/VERSION scim-tomoe/intl/bindtextdom.c scim-tomoe/intl/config.charset scim-tomoe/intl/dcgettext.c scim-tomoe/intl/dcigettext.c scim-tomoe/intl/dcngettext.c scim-tomoe/intl/dgettext.c scim-tomoe/intl/dngettext.c scim-tomoe/intl/eval-plural.h scim-tomoe/intl/explodename.c scim-tomoe/intl/finddomain.c scim-tomoe/intl/gettext.c scim-tomoe/intl/gettextP.h scim-tomoe/intl/gmo.h scim-tomoe/intl/hash-string.h scim-tomoe/intl/intl-compat.c scim-tomoe/intl/l10nflist.c scim-tomoe/intl/libgnuintl.h.in scim-tomoe/intl/loadinfo.h scim-tomoe/intl/loadmsgcat.c scim-tomoe/intl/localcharset.c scim-tomoe/intl/localcharset.h scim-tomoe/intl/locale.alias scim-tomoe/intl/localealias.c scim-tomoe/intl/localename.c scim-tomoe/intl/log.c scim-tomoe/intl/ngettext.c scim-tomoe/intl/os2compat.c scim-tomoe/intl/os2compat.h scim-tomoe/intl/osdep.c scim-tomoe/intl/plural-exp.c scim-tomoe/intl/plural-exp.h scim-tomoe/intl/plural.c scim-tomoe/intl/plural.y scim-tomoe/intl/printf-args.c scim-tomoe/intl/printf-args.h scim-tomoe/intl/printf-parse.c scim-tomoe/intl/printf-parse.h scim-tomoe/intl/printf.c scim-tomoe/intl/ref-add.sin scim-tomoe/intl/ref-del.sin scim-tomoe/intl/relocatable.c scim-tomoe/intl/relocatable.h scim-tomoe/intl/textdomain.c scim-tomoe/intl/vasnprintf.c scim-tomoe/intl/vasnprintf.h scim-tomoe/intl/vasnwprintf.h scim-tomoe/intl/wprintf-parse.h scim-tomoe/intl/xsize.h scim-tomoe/m4/ scim-tomoe/m4/ChangeLog scim-tomoe/m4/Makefile.am scim-tomoe/m4/codeset.m4 scim-tomoe/m4/gettext.m4 scim-tomoe/m4/glibc21.m4 scim-tomoe/m4/iconv.m4 scim-tomoe/m4/intdiv0.m4 scim-tomoe/m4/intmax.m4 scim-tomoe/m4/inttypes-pri.m4 scim-tomoe/m4/inttypes.m4 scim-tomoe/m4/inttypes_h.m4 scim-tomoe/m4/isc-posix.m4 scim-tomoe/m4/lcmessage.m4 scim-tomoe/m4/lib-ld.m4 scim-tomoe/m4/lib-link.m4 scim-tomoe/m4/lib-prefix.m4 scim-tomoe/m4/longdouble.m4 scim-tomoe/m4/longlong.m4 scim-tomoe/m4/nls.m4 scim-tomoe/m4/po.m4 scim-tomoe/m4/printf-posix.m4 scim-tomoe/m4/progtest.m4 scim-tomoe/m4/signed.m4 scim-tomoe/m4/size_max.m4 scim-tomoe/m4/stdint_h.m4 scim-tomoe/m4/uintmax_t.m4 scim-tomoe/m4/ulonglong.m4 scim-tomoe/m4/wchar_t.m4 scim-tomoe/m4/wint_t.m4 scim-tomoe/m4/xsize.m4 scim-tomoe/po/ scim-tomoe/po/ChangeLog scim-tomoe/po/Makefile.in.in scim-tomoe/po/Makevars scim-tomoe/po/Makevars.template scim-tomoe/po/POTFILES.in scim-tomoe/po/Rules-quot scim-tomoe/po/boldquot.sed scim-tomoe/po/en...@bo... scim-tomoe/po/en...@qu... scim-tomoe/po/insert-header.sin scim-tomoe/po/ja.po scim-tomoe/po/quot.sed scim-tomoe/po/remove-potcdate.sin scim-tomoe/po/scim-tomoe.pot scim-tomoe/src/ scim-tomoe/src/.deps/ scim-tomoe/src/Makefile.am scim-tomoe/src/intl.h scim-tomoe/src/scim-tomoe.in scim-tomoe/src/scim_tomoe.cpp scim-tomoe/src/scim_tomoe_prefs.h scim-tomoe/src/scim_tomoe_prefs_widget.cpp scim-tomoe/src/scim_tomoe_prefs_widget.h Added: scim-tomoe/ABOUT-NLS =================================================================== --- scim-tomoe/ABOUT-NLS (rev 0) +++ scim-tomoe/ABOUT-NLS 2007-04-12 08:53:15 UTC (rev 1187) @@ -0,0 +1,769 @@ +Notes on the Free Translation Project +************************************* + +Free software is going international! The Free Translation Project is +a way to get maintainers of free software, translators, and users all +together, so that free software will gradually become able to speak many +languages. A few packages already provide translations for their +messages. + + If you found this `ABOUT-NLS' file inside a distribution, you may +assume that the distributed package does use GNU `gettext' internally, +itself available at your nearest GNU archive site. But you do _not_ +need to install GNU `gettext' prior to configuring, installing or using +this package with messages translated. + + Installers will find here some useful hints. These notes also +explain how users should proceed for getting the programs to use the +available translations. They tell how people wanting to contribute and +work on translations can contact the appropriate team. + + When reporting bugs in the `intl/' directory or bugs which may be +related to internationalization, you should tell about the version of +`gettext' which is used. The information can be found in the +`intl/VERSION' file, in internationalized packages. + +Quick configuration advice +========================== + +If you want to exploit the full power of internationalization, you +should configure it using + + ./configure --with-included-gettext + +to force usage of internationalizing routines provided within this +package, despite the existence of internationalizing capabilities in the +operating system where this package is being installed. So far, only +the `gettext' implementation in the GNU C library version 2 provides as +many features (such as locale alias, message inheritance, automatic +charset conversion or plural form handling) as the implementation here. +It is also not possible to offer this additional functionality on top +of a `catgets' implementation. Future versions of GNU `gettext' will +very likely convey even more functionality. So it might be a good idea +to change to GNU `gettext' as soon as possible. + + So you need _not_ provide this option if you are using GNU libc 2 or +you have installed a recent copy of the GNU gettext package with the +included `libintl'. + +INSTALL Matters +=============== + +Some packages are "localizable" when properly installed; the programs +they contain can be made to speak your own native language. Most such +packages use GNU `gettext'. Other packages have their own ways to +internationalization, predating GNU `gettext'. + + By default, this package will be installed to allow translation of +messages. It will automatically detect whether the system already +provides the GNU `gettext' functions. If not, the included GNU +`gettext' library will be used. This library is wholly contained +within this package, usually in the `intl/' subdirectory, so prior +installation of the GNU `gettext' package is _not_ required. +Installers may use special options at configuration time for changing +the default behaviour. The commands: + + ./configure --with-included-gettext + ./configure --disable-nls + +will, respectively, bypass any pre-existing `gettext' to use the +internationalizing routines provided within this package, or else, +_totally_ disable translation of messages. + + When you already have GNU `gettext' installed on your system and run +configure without an option for your new package, `configure' will +probably detect the previously built and installed `libintl.a' file and +will decide to use this. This might not be desirable. You should use +the more recent version of the GNU `gettext' library. I.e. if the file +`intl/VERSION' shows that the library which comes with this package is +more recent, you should use + + ./configure --with-included-gettext + +to prevent auto-detection. + + The configuration process will not test for the `catgets' function +and therefore it will not be used. The reason is that even an +emulation of `gettext' on top of `catgets' could not provide all the +extensions of the GNU `gettext' library. + + Internationalized packages usually have many `po/LL.po' files, where +LL gives an ISO 639 two-letter code identifying the language. Unless +translations have been forbidden at `configure' time by using the +`--disable-nls' switch, all available translations are installed +together with the package. However, the environment variable `LINGUAS' +may be set, prior to configuration, to limit the installed set. +`LINGUAS' should then contain a space separated list of two-letter +codes, stating which languages are allowed. + +Using This Package +================== + +As a user, if your language has been installed for this package, you +only have to set the `LANG' environment variable to the appropriate +`LL_CC' combination. Here `LL' is an ISO 639 two-letter language code, +and `CC' is an ISO 3166 two-letter country code. For example, let's +suppose that you speak German and live in Germany. At the shell +prompt, merely execute `setenv LANG de_DE' (in `csh'), +`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). +This can be done from your `.login' or `.profile' file, once and for +all. + + You might think that the country code specification is redundant. +But in fact, some languages have dialects in different countries. For +example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The +country code serves to distinguish the dialects. + + The locale naming convention of `LL_CC', with `LL' denoting the +language and `CC' denoting the country, is the one use on systems based +on GNU libc. On other systems, some variations of this scheme are +used, such as `LL' or `LL_CC.ENCODING'. You can get the list of +locales supported by your system for your country by running the command +`locale -a | grep '^LL''. + + Not all programs have translations for all languages. By default, an +English message is shown in place of a nonexistent translation. If you +understand other languages, you can set up a priority list of languages. +This is done through a different environment variable, called +`LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' +for the purpose of message handling, but you still need to have `LANG' +set to the primary language; this is required by other parts of the +system libraries. For example, some Swedish users who would rather +read translations in German than English for when Swedish is not +available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. + + Special advice for Norwegian users: The language code for Norwegian +bokma*l changed from `no' to `nb' recently (in 2003). During the +transition period, while some message catalogs for this language are +installed under `nb' and some older ones under `no', it's recommended +for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and +older translations are used. + + In the `LANGUAGE' environment variable, but not in the `LANG' +environment variable, `LL_CC' combinations can be abbreviated as `LL' +to denote the language's main dialect. For example, `de' is equivalent +to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' +(Portuguese as spoken in Portugal) in this context. + +Translating Teams +================= + +For the Free Translation Project to be a success, we need interested +people who like their own language and write it well, and who are also +able to synergize with other translators speaking the same language. +Each translation team has its own mailing list. The up-to-date list of +teams can be found at the Free Translation Project's homepage, +`http://www.iro.umontreal.ca/contrib/po/HTML/', in the "National teams" +area. + + If you'd like to volunteer to _work_ at translating messages, you +should become a member of the translating team for your own language. +The subscribing address is _not_ the same as the list itself, it has +`-request' appended. For example, speakers of Swedish can send a +message to `sv-...@li...', having this message body: + + subscribe + + Keep in mind that team members are expected to participate +_actively_ in translations, or at solving translational difficulties, +rather than merely lurking around. If your team does not exist yet and +you want to start one, or if you are unsure about what to do or how to +get started, please write to `tra...@ir...' to reach the +coordinator for all translator teams. + + The English team is special. It works at improving and uniformizing +the terminology in use. Proven linguistic skill are praised more than +programming skill, here. + +Available Packages +================== + +Languages are not equally supported in all packages. The following +matrix shows the current state of internationalization, as of January +2004. The matrix shows, in regard of each package, for which languages +PO files have been submitted to translation coordination, with a +translation percentage of at least 50%. + + Ready PO files af am ar az be bg bs ca cs da de el en en_GB eo es + +----------------------------------------------------+ + a2ps | [] [] [] [] | + aegis | () | + ant-phone | () | + anubis | | + ap-utils | | + aspell | [] | + bash | [] [] [] [] | + batchelor | | + bfd | [] [] | + binutils | [] [] | + bison | [] [] [] | + bluez-pin | [] [] [] | + clisp | | + clisp | [] [] [] | + console-tools | [] [] | + coreutils | [] [] [] [] | + cpio | [] [] [] | + darkstat | [] () [] | + diffutils | [] [] [] [] [] [] [] | + e2fsprogs | [] [] [] | + enscript | [] [] [] [] | + error | [] [] [] [] [] | + fetchmail | [] () [] [] [] [] | + fileutils | [] [] [] | + findutils | [] [] [] [] [] [] [] | + flex | [] [] [] [] | + fslint | | + gas | [] | + gawk | [] [] [] [] | + gbiff | [] | + gcal | [] | + gcc | [] [] | + gettext | [] [] [] [] [] | + gettext-examples | [] [] [] [] | + gettext-runtime | [] [] [] [] [] | + gettext-tools | [] [] [] | + gimp-print | [] [] [] [] [] | + gliv | | + glunarclock | [] [] | + gnubiff | [] | + gnucash | [] () [] [] | + gnucash-glossary | [] () [] | + gnupg | [] () [] [] [] [] | + gpe-aerial | [] | + gpe-beam | [] [] | + gpe-calendar | [] [] | + gpe-clock | [] [] | + gpe-conf | [] [] | + gpe-contacts | [] [] | + gpe-edit | [] | + gpe-go | [] | + gpe-login | [] [] | + gpe-ownerinfo | [] [] | + gpe-sketchbook | [] [] | + gpe-su | [] [] | + gpe-taskmanager | [] [] | + gpe-timesheet | [] | + gpe-today | [] [] | + gpe-todo | [] [] | + gphoto2 | [] [] [] [] | + gprof | [] [] [] | + gpsdrive | () () () | + gramadoir | [] | + grep | [] [] [] [] [] [] | + gretl | [] | + gtick | [] () | + hello | [] [] [] [] [] [] | + id-utils | [] [] | + indent | [] [] [] [] | + iso_3166 | [] [] [] [] [] [] [] [] [] [] | + iso_3166_1 | [] [] [] [] [] [] | + iso_3166_2 | | + iso_3166_3 | [] | + iso_4217 | [] [] [] [] | + iso_639 | | + jpilot | [] [] [] | + jtag | | + jwhois | [] | + kbd | [] [] [] [] [] | + latrine | () | + ld | [] [] | + libc | [] [] [] [] [] [] | + libgpewidget | [] [] | + libiconv | [] [] [] [] [] | + lifelines | [] () | + lilypond | [] | + lingoteach | | + lingoteach_lessons | () () | + lynx | [] [] [] [] | + m4 | [] [] [] [] | + mailutils | [] [] | + make | [] [] [] | + man-db | [] () [] [] () | + minicom | [] [] [] | + mysecretdiary | [] [] [] | + nano | [] () [] [] [] | + nano_1_0 | [] () [] [] [] | + opcodes | [] | + parted | [] [] [] [] [] | + ptx | [] [] [] [] [] | + python | | + radius | [] | + recode | [] [] [] [] [] [] [] | + rpm | [] [] | + screem | | + scrollkeeper | [] [] [] [] [] [] | + sed | [] [] [] [] [] [] | + sh-utils | [] [] [] | + shared-mime-info | | + sharutils | [] [] [] [] [] [] | + silky | () | + skencil | [] () [] | + sketch | [] () [] | + soundtracker | [] [] [] | + sp | [] | + tar | [] [] [] [] | + texinfo | [] [] [] | + textutils | [] [] [] [] | + tin | () () | + tp-robot | | + tuxpaint | [] [] [] [] [] [] [] | + unicode-han-tra... | | + unicode-transla... | | + util-linux | [] [] [] [] [] | + vorbis-tools | [] [] [] [] | + wastesedge | () | + wdiff | [] [] [] [] | + wget | [] [] [] [] [] [] | + xchat | [] [] [] [] | + xfree86_xkb_xml | [] [] | + xpad | [] | + +----------------------------------------------------+ + af am ar az be bg bs ca cs da de el en en_GB eo es + 4 0 0 1 9 4 1 40 41 60 78 17 1 5 13 68 + + et eu fa fi fr ga gl he hr hu id is it ja ko lg + +-------------------------------------------------+ + a2ps | [] [] [] () () | + aegis | | + ant-phone | [] | + anubis | [] | + ap-utils | [] | + aspell | [] [] | + bash | [] [] | + batchelor | [] [] | + bfd | [] | + binutils | [] [] | + bison | [] [] [] [] | + bluez-pin | [] [] [] [] [] | + clisp | | + clisp | [] | + console-tools | | + coreutils | [] [] [] [] [] [] | + cpio | [] [] [] [] | + darkstat | () [] [] [] | + diffutils | [] [] [] [] [] [] [] | + e2fsprogs | | + enscript | [] [] | + error | [] [] [] [] | + fetchmail | [] | + fileutils | [] [] [] [] [] [] | + findutils | [] [] [] [] [] [] [] [] [] [] [] | + flex | [] [] [] | + fslint | [] | + gas | [] | + gawk | [] [] [] | + gbiff | [] | + gcal | [] | + gcc | [] | + gettext | [] [] [] | + gettext-examples | [] [] | + gettext-runtime | [] [] [] [] [] | + gettext-tools | [] [] [] | + gimp-print | [] [] | + gliv | () | + glunarclock | [] [] [] [] | + gnubiff | [] | + gnucash | () [] | + gnucash-glossary | [] | + gnupg | [] [] [] [] [] [] [] | + gpe-aerial | [] | + gpe-beam | [] | + gpe-calendar | [] [] [] | + gpe-clock | [] | + gpe-conf | [] | + gpe-contacts | [] [] | + gpe-edit | [] [] | + gpe-go | [] | + gpe-login | [] [] | + gpe-ownerinfo | [] [] [] | + gpe-sketchbook | [] | + gpe-su | [] | + gpe-taskmanager | [] | + gpe-timesheet | [] [] [] | + gpe-today | [] [] | + gpe-todo | [] [] | + gphoto2 | [] [] [] | + gprof | [] [] | + gpsdrive | () () () | + gramadoir | [] [] | + grep | [] [] [] [] [] [] [] [] [] [] [] | + gretl | [] [] | + gtick | [] [] [] | + hello | [] [] [] [] [] [] [] [] [] [] [] [] [] | + id-utils | [] [] [] [] | + indent | [] [] [] [] [] [] [] [] [] | + iso_3166 | [] [] [] [] [] [] [] | + iso_3166_1 | [] [] [] [] [] | + iso_3166_2 | | + iso_3166_3 | | + iso_4217 | [] [] [] [] [] [] | + iso_639 | | + jpilot | [] () | + jtag | [] | + jwhois | [] [] [] [] | + kbd | [] | + latrine | [] | + ld | [] | + libc | [] [] [] [] [] [] | + libgpewidget | [] [] [] [] | + libiconv | [] [] [] [] [] [] [] [] [] | + lifelines | () | + lilypond | [] | + lingoteach | [] [] | + lingoteach_lessons | | + lynx | [] [] [] [] | + m4 | [] [] [] [] | + mailutils | | + make | [] [] [] [] [] [] | + man-db | () () | + minicom | [] [] [] [] | + mysecretdiary | [] [] | + nano | [] [] [] [] | + nano_1_0 | [] [] [] [] | + opcodes | [] | + parted | [] [] [] | + ptx | [] [] [] [] [] [] [] | + python | | + radius | [] | + recode | [] [] [] [] [] [] | + rpm | [] [] | + screem | | + scrollkeeper | [] | + sed | [] [] [] [] [] [] [] [] [] | + sh-utils | [] [] [] [] [] [] [] | + shared-mime-info | [] [] [] | + sharutils | [] [] [] [] [] | + silky | () [] () () | + skencil | [] | + sketch | [] | + soundtracker | [] [] | + sp | [] () | + tar | [] [] [] [] [] [] [] [] [] | + texinfo | [] [] [] [] | + textutils | [] [] [] [] [] [] | + tin | [] () | + tp-robot | [] | + tuxpaint | [] [] [] [] [] [] [] [] [] | + unicode-han-tra... | | + unicode-transla... | [] [] | + util-linux | [] [] [] [] () [] | + vorbis-tools | [] | + wastesedge | () | + wdiff | [] [] [] [] [] [] | + wget | [] [] [] [] [] [] [] | + xchat | [] [] [] | + xfree86_xkb_xml | [] [] | + xpad | [] [] | + +-------------------------------------------------+ + et eu fa fi fr ga gl he hr hu id is it ja ko lg + 22 2 1 26 106 28 24 8 10 41 33 1 26 33 12 0 + + lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru + +-----------------------------------------------------+ + a2ps | [] [] () () [] [] [] | + aegis | () () () | + ant-phone | [] [] | + anubis | [] [] [] [] [] [] | + ap-utils | [] () [] | + aspell | [] | + bash | [] [] [] | + batchelor | [] | + bfd | [] | + binutils | [] | + bison | [] [] [] [] [] | + bluez-pin | [] [] [] | + clisp | | + clisp | [] | + console-tools | [] | + coreutils | [] [] | + cpio | [] [] [] [] [] | + darkstat | [] [] [] [] | + diffutils | [] [] [] [] [] [] | + e2fsprogs | [] | + enscript | [] [] [] [] | + error | [] [] [] | + fetchmail | [] [] () [] | + fileutils | [] [] [] | + findutils | [] [] [] [] [] | + flex | [] [] [] [] | + fslint | [] [] | + gas | | + gawk | [] [] [] | + gbiff | [] [] | + gcal | | + gcc | | + gettext | [] [] [] | + gettext-examples | [] [] [] | + gettext-runtime | [] [] [] [] | + gettext-tools | [] [] | + gimp-print | [] | + gliv | [] [] [] | + glunarclock | [] [] [] [] | + gnubiff | [] | + gnucash | [] [] () [] | + gnucash-glossary | [] [] | + gnupg | [] | + gpe-aerial | [] [] [] [] | + gpe-beam | [] [] [] [] | + gpe-calendar | [] [] [] [] | + gpe-clock | [] [] [] [] | + gpe-conf | [] [] [] [] | + gpe-contacts | [] [] [] [] | + gpe-edit | [] [] [] [] | + gpe-go | [] [] [] | + gpe-login | [] [] [] [] | + gpe-ownerinfo | [] [] [] [] | + gpe-sketchbook | [] [] [] [] | + gpe-su | [] [] [] [] | + gpe-taskmanager | [] [] [] [] | + gpe-timesheet | [] [] [] [] | + gpe-today | [] [] [] [] | + gpe-todo | [] [] [] [] | + gphoto2 | [] | + gprof | [] [] | + gpsdrive | () () [] | + gramadoir | () [] | + grep | [] [] [] [] [] | + gretl | | + gtick | [] [] [] | + hello | [] [] [] [] [] [] [] [] [] [] | + id-utils | [] [] [] [] | + indent | [] [] [] [] | + iso_3166 | [] [] [] | + iso_3166_1 | [] [] | + iso_3166_2 | | + iso_3166_3 | [] | + iso_4217 | [] [] [] [] [] [] [] [] | + iso_639 | [] | + jpilot | () () | + jtag | | + jwhois | [] [] [] [] () | + kbd | [] [] [] | + latrine | [] | + ld | | + libc | [] [] [] [] | + libgpewidget | [] [] [] | + libiconv | [] [] [] [] [] | + lifelines | | + lilypond | | + lingoteach | | + lingoteach_lessons | | + lynx | [] [] [] | + m4 | [] [] [] [] [] | + mailutils | [] [] [] | + make | [] [] [] [] | + man-db | [] | + minicom | [] [] [] [] | + mysecretdiary | [] [] [] | + nano | [] [] [] [] [] | + nano_1_0 | [] [] [] [] [] [] | + opcodes | [] [] | + parted | [] [] [] [] | + ptx | [] [] [] [] [] [] [] [] | + python | | + radius | [] [] | + recode | [] [] [] [] | + rpm | [] [] [] | + screem | | + scrollkeeper | [] [] [] [] [] | + sed | [] [] [] | + sh-utils | [] [] | + shared-mime-info | [] [] | + sharutils | [] [] | + silky | () | + skencil | [] [] | + sketch | [] [] | + soundtracker | | + sp | | + tar | [] [] [] [] [] [] | + texinfo | [] [] [] [] | + textutils | [] [] | + tin | | + tp-robot | [] | + tuxpaint | [] [] [] [] [] [] [] [] | + unicode-han-tra... | | + unicode-transla... | | + util-linux | [] [] [] | + vorbis-tools | [] [] [] | + wastesedge | | + wdiff | [] [] [] [] [] | + wget | [] [] [] | + xchat | [] [] [] | + xfree86_xkb_xml | [] [] | + xpad | [] [] | + +-----------------------------------------------------+ + lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru + 1 2 0 3 12 0 10 69 6 7 1 40 26 36 76 63 + + sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu + +-----------------------------------------------------+ + a2ps | [] [] [] [] | 16 + aegis | | 0 + ant-phone | | 3 + anubis | [] [] | 9 + ap-utils | () | 3 + aspell | | 4 + bash | | 9 + batchelor | | 3 + bfd | [] [] | 6 + binutils | [] [] [] | 8 + bison | [] [] | 14 + bluez-pin | [] [] [] | 14 + clisp | | 0 + clisp | | 5 + console-tools | | 3 + coreutils | [] [] [] [] | 16 + cpio | [] [] | 14 + darkstat | [] [] [] () () | 12 + diffutils | [] [] [] | 23 + e2fsprogs | [] [] | 6 + enscript | [] [] | 12 + error | [] [] [] | 15 + fetchmail | [] [] | 11 + fileutils | [] [] [] [] [] | 17 + findutils | [] [] [] [] [] [] | 29 + flex | [] [] | 13 + fslint | | 3 + gas | [] | 3 + gawk | [] [] | 12 + gbiff | | 4 + gcal | [] [] | 4 + gcc | [] | 4 + gettext | [] [] [] [] [] | 16 + gettext-examples | [] [] [] [] [] | 14 + gettext-runtime | [] [] [] [] [] [] [] [] | 22 + gettext-tools | [] [] [] [] [] [] | 14 + gimp-print | [] [] | 10 + gliv | | 3 + glunarclock | [] [] [] | 13 + gnubiff | | 3 + gnucash | [] [] | 9 + gnucash-glossary | [] [] [] | 8 + gnupg | [] [] [] [] | 17 + gpe-aerial | [] | 7 + gpe-beam | [] | 8 + gpe-calendar | [] [] [] [] | 13 + gpe-clock | [] [] [] | 10 + gpe-conf | [] [] | 9 + gpe-contacts | [] [] [] | 11 + gpe-edit | [] [] [] [] [] | 12 + gpe-go | | 5 + gpe-login | [] [] [] [] [] | 13 + gpe-ownerinfo | [] [] [] [] | 13 + gpe-sketchbook | [] [] | 9 + gpe-su | [] [] [] | 10 + gpe-taskmanager | [] [] [] | 10 + gpe-timesheet | [] [] [] [] | 12 + gpe-today | [] [] [] [] [] | 13 + gpe-todo | [] [] [] [] | 12 + gphoto2 | [] [] [] | 11 + gprof | [] [] | 9 + gpsdrive | [] [] | 3 + gramadoir | [] | 5 + grep | [] [] [] [] | 26 + gretl | | 3 + gtick | | 7 + hello | [] [] [] [] [] | 34 + id-utils | [] [] | 12 + indent | [] [] [] [] | 21 + iso_3166 | [] [] [] [] [] [] [] | 27 + iso_3166_1 | [] [] [] | 16 + iso_3166_2 | | 0 + iso_3166_3 | | 2 + iso_4217 | [] [] [] [] [] [] | 24 + iso_639 | | 1 + jpilot | [] [] [] [] [] | 9 + jtag | [] | 2 + jwhois | () [] [] | 11 + kbd | [] [] | 11 + latrine | | 2 + ld | [] [] | 5 + libc | [] [] [] [] | 20 + libgpewidget | [] [] [] [] | 13 + libiconv | [] [] [] [] [] [] [] [] | 27 + lifelines | [] | 2 + lilypond | [] | 3 + lingoteach | | 2 + lingoteach_lessons | () | 0 + lynx | [] [] [] | 14 + m4 | [] [] | 15 + mailutils | | 5 + make | [] [] [] | 16 + man-db | [] | 5 + minicom | | 11 + mysecretdiary | [] [] | 10 + nano | [] [] [] [] | 17 + nano_1_0 | [] [] [] | 17 + opcodes | [] [] | 6 + parted | [] [] [] | 15 + ptx | [] [] | 22 + python | | 0 + radius | | 4 + recode | [] [] [] | 20 + rpm | [] [] | 9 + screem | [] [] | 2 + scrollkeeper | [] [] [] | 15 + sed | [] [] [] [] [] [] | 24 + sh-utils | [] [] | 14 + shared-mime-info | [] [] | 7 + sharutils | [] [] [] [] | 17 + silky | () | 3 + skencil | [] | 6 + sketch | [] | 6 + soundtracker | [] [] | 7 + sp | [] | 3 + tar | [] [] [] [] [] | 24 + texinfo | [] [] [] | 14 + textutils | [] [] [] [] | 16 + tin | | 1 + tp-robot | | 2 + tuxpaint | [] [] [] [] [] | 29 + unicode-han-tra... | | 0 + unicode-transla... | | 2 + util-linux | [] [] | 15 + vorbis-tools | | 8 + wastesedge | | 0 + wdiff | [] [] [] | 18 + wget | [] [] [] [] [] [] [] [] | 24 + xchat | [] [] [] [] [] | 15 + xfree86_xkb_xml | [] [] [] [] [] | 11 + xpad | | 5 + +-----------------------------------------------------+ + 63 teams sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu + 131 domains 47 19 28 83 0 0 59 13 1 1 11 0 22 22 0 1373 + + Some counters in the preceding matrix are higher than the number of +visible blocks let us expect. This is because a few extra PO files are +used for implementing regional variants of languages, or language +dialects. + + For a PO file in the matrix above to be effective, the package to +which it applies should also have been internationalized and +distributed as such by its maintainer. There might be an observable +lag between the mere existence a PO file and its wide availability in a +distribution. + + If January 2004 seems to be old, you may fetch a more recent copy of +this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date +matrix with full percentage details can be found at +`http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'. + +Using `gettext' in new packages +=============================== + +If you are writing a freely available program and want to +internationalize it you are welcome to use GNU `gettext' in your +package. Of course you have to respect the GNU Library General Public +License which covers the use of the GNU `gettext' library. This means +in particular that even non-free programs can use `libintl' as a shared +library, whereas only free software can use `libintl' as a static +library or use modified versions of `libintl'. + + Once the sources are changed appropriately and the setup can handle +the use of `gettext' the only thing missing are the translations. The +Free Translation Project is also available for packages which are not +developed inside the GNU project. Therefore the information given above +applies also for every other Free Software Project. Contact +`tra...@ir...' to make the `.pot' files available to +the translation teams. + Added: scim-tomoe/AUTHORS =================================================================== --- scim-tomoe/AUTHORS (rev 0) +++ scim-tomoe/AUTHORS 2007-04-12 08:53:15 UTC (rev 1187) @@ -0,0 +1,2 @@ +Hiroyuki Ikezoe <poi...@ik...> +Takuro Ashie <as...@ho...> Added: scim-tomoe/COPYING =================================================================== --- scim-tomoe/COPYING (rev 0) +++ scim-tomoe/COPYING 2007-04-12 08:53:15 UTC (rev 1187) @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to den... [truncated message content] |
From: <hu...@us...> - 2007-04-12 06:42:20
|
Revision: 1186 http://tomoe.svn.sourceforge.net/tomoe/?rev=1186&view=rev Author: huzheng Date: 2007-04-11 23:42:21 -0700 (Wed, 11 Apr 2007) Log Message: ----------- add stroke-editor tool Added Paths: ----------- tools/stroke-editor/ tools/stroke-editor/AUTHORS tools/stroke-editor/COPYING tools/stroke-editor/ChangeLog tools/stroke-editor/Makefile tools/stroke-editor/README tools/stroke-editor/Usage tools/stroke-editor/data/ tools/stroke-editor/data/dict.dtd tools/stroke-editor/data/gb2312-hanzi.utf tools/stroke-editor/data/handwriting-ja.xml tools/stroke-editor/data/handwriting-wqytest.xml tools/stroke-editor/src/ tools/stroke-editor/src/canvas.py tools/stroke-editor/src/clipboard.py tools/stroke-editor/src/configfile.py tools/stroke-editor/src/importutf.py tools/stroke-editor/src/main.py tools/stroke-editor/src/net/ tools/stroke-editor/src/net/__init__.py tools/stroke-editor/src/net/client.py tools/stroke-editor/src/net/db.py tools/stroke-editor/src/net/server.py tools/stroke-editor/src/openxml.py tools/stroke-editor/src/savexml.py tools/stroke-editor/src/workview.py tools/stroke-editor/stroke-editor tools/stroke-editor/ui/ tools/stroke-editor/ui/workview.glade tools/stroke-editor/utils/ tools/stroke-editor/utils/gen-codefiles.py tools/stroke-editor/utils/gen-db.sh tools/stroke-editor/utils/utf2sql.py tools/stroke-editor/utils/xmlvalid.sh Added: tools/stroke-editor/AUTHORS =================================================================== --- tools/stroke-editor/AUTHORS (rev 0) +++ tools/stroke-editor/AUTHORS 2007-04-12 06:42:21 UTC (rev 1186) @@ -0,0 +1,2 @@ +Hu Zheng <zh...@re...> +Huang Peng <ph...@re...> Added: tools/stroke-editor/COPYING =================================================================== --- tools/stroke-editor/COPYING (rev 0) +++ tools/stroke-editor/COPYING 2007-04-12 06:42:21 UTC (rev 1186) @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. Added: tools/stroke-editor/ChangeLog =================================================================== --- tools/stroke-editor/ChangeLog (rev 0) +++ tools/stroke-editor/ChangeLog 2007-04-12 06:42:21 UTC (rev 1186) @@ -0,0 +1,5 @@ +2007.4.12 +Get the 1.0 version. Add into tomoe project. + +2007.3.26 +Start the development. Added: tools/stroke-editor/Makefile =================================================================== --- tools/stroke-editor/Makefile (rev 0) +++ tools/stroke-editor/Makefile 2007-04-12 06:42:21 UTC (rev 1186) @@ -0,0 +1,31 @@ +DB=data/gb2312.db +PORT=1980 + +all: run-editor + +help: + @echo " make Run the editor." + @echo " make help Show this message." + @echo " make backup-db Backup data/*.db to repos." + @echo " make update-db Update data/*.db from repos." + @echo " make clean Clean all temporary files." + @echo " make run-server [DB=data/gb2312.db] [PORT=1980]" + +run-editor: + @echo "Run stroke-editor" + @python src/main.py + +run-server: + @echo "Run server port=$(PORT) database=$(DB)" + @python src/net/server.py -p $(PORT) -d $(DB) + +backup-db: + @echo "Backup data/*.db to repos" + @svn ci -m 'backup db' data/*.db + +update-db: + @echo "Update data/*.db from repos" + @svn update data/ +clean: + @echo "Clean all temporary files" + find -name '*.pyc' -or -name '*~' | xargs rm -rf Added: tools/stroke-editor/README =================================================================== --- tools/stroke-editor/README (rev 0) +++ tools/stroke-editor/README 2007-04-12 06:42:21 UTC (rev 1186) @@ -0,0 +1,6 @@ +Stroke Editor is a tool for the Tomoe project. + +Read "Usage" file, and you can try: +make help + +http://tomoe.sourceforge.net Added: tools/stroke-editor/Usage =================================================================== --- tools/stroke-editor/Usage (rev 0) +++ tools/stroke-editor/Usage 2007-04-12 06:42:21 UTC (rev 1186) @@ -0,0 +1,10 @@ +To create a tomoe stroke xml data file, you can create a .utf list file first. +See utils/gen-codefiles.py which generate gb2312-hanzi.utf file. +Then File->Import list file. + +After each character is drawn, you can save it as the xml file. +You can split the .utf file and import them separately, then contact the .xml files by a text editor. + +You can try the server mode too. Run utils/gen-db.sh to generate the .db file, then "make run-server". Now you can run stroke editor in another computer, just click the "Connect" button. + +Any question, you can contact the authors for help. Added: tools/stroke-editor/data/dict.dtd =================================================================== --- tools/stroke-editor/data/dict.dtd (rev 0) +++ tools/stroke-editor/data/dict.dtd 2007-04-12 06:42:21 UTC (rev 1186) @@ -0,0 +1,24 @@ +<!ELEMENT dictionary (character*)> +<!ATTLIST dictionary + name CDATA #IMPLIED + > +<!ELEMENT character (utf8, variant?, number-of-strokes?, strokes?, + readings?, radicals?, meta?)*> +<!ELEMENT utf8 (#PCDATA)> +<!ELEMENT variant (#PCDATA)> +<!ELEMENT number-of-strokes (#PCDATA)> +<!ELEMENT strokes (stroke*)> +<!ELEMENT stroke (point*)> +<!ELEMENT point EMPTY> +<!ATTLIST point + x CDATA #REQUIRED + y CDATA #REQUIRED + > +<!ELEMENT readings (reading*)> +<!ELEMENT reading (#PCDATA)> +<!ATTLIST reading + type CDATA #IMPLIED + > +<!ELEMENT radicals (radical*)> +<!ELEMENT radical (#PCDATA)> +<!ELEMENT meta ANY> Added: tools/stroke-editor/data/gb2312-hanzi.utf =================================================================== (Binary files differ) Property changes on: tools/stroke-editor/data/gb2312-hanzi.utf ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: tools/stroke-editor/data/handwriting-ja.xml =================================================================== --- tools/stroke-editor/data/handwriting-ja.xml (rev 0) +++ tools/stroke-editor/data/handwriting-ja.xml 2007-04-12 06:42:21 UTC (rev 1186) @@ -0,0 +1,152656 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE dictionary SYSTEM "dict.dtd"> +<dictionary name="Tomoe Handwriting Dictionary"> + <character> + <utf8>あ</utf8> + <strokes> + <stroke> + <point x="180" y="193"/> + <point x="830" y="226"/> + </stroke> + <stroke> + <point x="490" y="33"/> + <point x="483" y="670"/> + <point x="606" y="840"/> + </stroke> + <stroke> + <point x="746" y="343"/> + <point x="496" y="766"/> + <point x="273" y="800"/> + <point x="176" y="680"/> + <point x="286" y="496"/> + <point x="606" y="463"/> + <point x="800" y="573"/> + <point x="826" y="746"/> + <point x="760" y="833"/> + </stroke> + </strokes> + </character> + <character> + <utf8>い</utf8> + <strokes> + <stroke> + <point x="186" y="210"/> + <point x="143" y="710"/> + <point x="223" y="863"/> + <point x="313" y="810"/> + </stroke> + <stroke> + <point x="710" y="220"/> + <point x="770" y="570"/> + <point x="693" y="723"/> + </stroke> + </strokes> + </character> + <character> + <utf8>う</utf8> + <strokes> + <stroke> + <point x="340" y="116"/> + <point x="623" y="150"/> + </stroke> + <stroke> + <point x="243" y="403"/> + <point x="556" y="350"/> + <point x="686" y="463"/> + <point x="660" y="703"/> + <point x="450" y="916"/> + </stroke> + </strokes> + </character> + <character> + <utf8>え</utf8> + <strokes> + <stroke> + <point x="466" y="63"/> + <point x="540" y="126"/> + </stroke> + <stroke> + <point x="206" y="350"/> + <point x="693" y="333"/> + <point x="170" y="876"/> + <point x="426" y="683"/> + <point x="626" y="893"/> + <point x="866" y="840"/> + </stroke> + </strokes> + </character> + <character> + <utf8>お</utf8> + <strokes> + <stroke> + <point x="213" y="313"/> + <point x="800" y="326"/> + </stroke> + <stroke> + <point x="493" y="116"/> + <point x="530" y="430"/> + <point x="466" y="663"/> + <point x="350" y="823"/> + <point x="213" y="760"/> + <point x="336" y="536"/> + <point x="640" y="536"/> + <point x="740" y="743"/> + <point x="630" y="856"/> + </stroke> + <stroke> + <point x="743" y="163"/> + <point x="843" y="296"/> + </stroke> + </strokes> + </character> + <character> + <utf8>か</utf8> + <strokes> + <stroke> + <point x="166" y="343"/> + <point x="456" y="330"/> + <point x="590" y="463"/> + <point x="576" y="726"/> + <point x="463" y="853"/> + <point x="416" y="810"/> + </stroke> + <stroke> + <point x="506" y="123"/> + <point x="240" y="600"/> + </stroke> + <stroke> + <point x="720" y="263"/> + <point x="833" y="533"/> + </stroke> + </strokes> + </character> + <character> + <utf8>き</utf8> + <strokes> + <stroke> + <point x="256" y="260"/> + <point x="683" y="266"/> + </stroke> + <stroke> + <point x="300" y="500"/> + <point x="736" y="526"/> + </stroke> + <stroke> + <point x="430" y="90"/> + <point x="513" y="623"/> + </stroke> + <stroke> + <point x="270" y="683"/> + <point x="346" y="823"/> + <point x="533" y="890"/> + </stroke> + </strokes> + </character> + <character> + <utf8>く</utf8> + <strokes> + <stroke> + <point x="636" y="143"/> + <point x="233" y="560"/> + <point x="633" y="896"/> + </stroke> + </strokes> + </character> + <character> + <utf8>け</utf8> + <strokes> + <stroke> + <point x="220" y="186"/> + <point x="153" y="836"/> + <point x="330" y="836"/> + </stroke> + <stroke> + <point x="510" y="363"/> + <point x="990" y="326"/> + </stroke> + <stroke> + <point x="726" y="90"/> + <point x="760" y="486"/> + <point x="596" y="836"/> + </stroke> + </strokes> + </character> + <character> + <utf8>こ</utf8> + <strokes> + <stroke> + <point x="186" y="276"/> + <point x="626" y="223"/> + <point x="773" y="273"/> + <point x="750" y="360"/> + </stroke> + <stroke> + <point x="236" y="760"/> + <point x="436" y="836"/> + <point x="773" y="763"/> + </stroke> + </strokes> + </character> + <character> + <utf8>さ</utf8> + <strokes> + <stroke> + <point x="223" y="296"/> + <point x="846" y="270"/> + </stroke> + <stroke> + <point x="490" y="123"/> + <point x="606" y="546"/> + </stroke> + <stroke> + <point x="293" y="556"/> + <point x="410" y="730"/> + <point x="593" y="813"/> + </stroke> + </strokes> + </character> + <character> + <utf8>し</utf8> + <strokes> + <stroke> + <point x="266" y="120"/> + <point x="283" y="756"/> + <point x="610" y="873"/> + <point x="760" y="693"/> + </stroke> + </strokes> + </character> + <character> + <utf8>す</utf8> + <strokes> + <stroke> + <point x="193" y="330"/> + <point x="780" y="306"/> + </stroke> + <stroke> + <point x="536" y="123"/> + <point x="583" y="426"/> + <point x="500" y="623"/> + <point x="426" y="643"/> + <point x="386" y="513"/> + <point x="490" y="456"/> + <point x="540" y="560"/> + <point x="410" y="883"/> + </stroke> + </strokes> + </character> + <character> + <utf8>せ</utf8> + <strokes> + <stroke> + <point x="116" y="380"/> + <point x="850" y="323"/> + </stroke> + <stroke> + <point x="713" y="153"/> + <point x="650" y="490"/> + </stroke> + <stroke> + <point x="390" y="140"/> + <point x="293" y="340"/> + <point x="320" y="663"/> + <point x="443" y="750"/> + <point x="743" y="770"/> + </stroke> + </strokes> + </character> + <character> + <utf8>そ</utf8> + <strokes> + <stroke> + <point x="293" y="150"/> + <point x="623" y="180"/> + <point x="153" y="480"/> + <point x="796" y="430"/> + <point x="533" y="640"/> + <point x="563" y="906"/> + </stroke> + </strokes> + </character> + <character> + <utf8>そ</utf8> + <strokes> + <stroke> + <point x="220" y="103"/> + <point x="450" y="236"/> + </stroke> + <stroke> + <point x="743" y="120"/> + <point x="306" y="293"/> + <point x="220" y="430"/> + <point x="243" y="513"/> + <point x="766" y="526"/> + <point x="513" y="546"/> + <point x="430" y="646"/> + <point x="486" y="820"/> + <point x="686" y="896"/> + </stroke> + </strokes> + </character> + <character> + <utf8>た</utf8> + <strokes> + <stroke> + <point x="180" y="316"/> + <point x="450" y="280"/> + </stroke> + <stroke> + <point x="343" y="100"/> + <point x="300" y="503"/> + <point x="160" y="850"/> + </stroke> + <stroke> + <point x="480" y="503"/> + <point x="593" y="443"/> + <point x="750" y="486"/> + </stroke> + <stroke> + <point x="486" y="730"/> + <point x="760" y="773"/> + </stroke> + </strokes> + </character> + <character> + <utf8>ち</utf8> + <strokes> + <stroke> + <point x="210" y="336"/> + <point x="730" y="250"/> + </stroke> + <stroke> + <point x="500" y="80"/> + <point x="336" y="580"/> + <point x="593" y="486"/> + <point x="703" y="716"/> + <point x="610" y="873"/> + <point x="403" y="873"/> + </stroke> + </strokes> + </character> + <character> + <utf8>つ</utf8> + <strokes> + <stroke> + <point x="180" y="493"/> + <point x="510" y="336"/> + <point x="750" y="360"/> + <point x="786" y="550"/> + <point x="593" y="700"/> + </stroke> + </strokes> + </character> + <character> + <utf8>て</utf8> + <strokes> + <stroke> + <point x="203" y="316"/> + <point x="753" y="253"/> + <point x="486" y="493"/> + <point x="493" y="750"/> + <point x="650" y="873"/> + </stroke> + </strokes> + </character> + <character> + <utf8>と</utf8> + <strokes> + <stroke> + <point x="243" y="273"/> + <point x="393" y="450"/> + </stroke> + <stroke> + <point x="700" y="253"/> + <point x="343" y="486"/> + <point x="280" y="716"/> + <point x="393" y="866"/> + <point x="710" y="880"/> + </stroke> + </strokes> + </character> + <character> + <utf8>な</utf8> + <strokes> + <stroke> + <point x="123" y="380"/> + <point x="523" y="293"/> + </stroke> + <stroke> + <point x="360" y="86"/> + <point x="123" y="603"/> + </stroke> + <stroke> + <point x="643" y="193"/> + <point x="853" y="453"/> + </stroke> + <stroke> + <point x="493" y="473"/> + <point x="486" y="810"/> + <point x="400" y="880"/> + <point x="273" y="843"/> + <point x="266" y="736"/> + <point x="360" y="716"/> + <point x="780" y="873"/> + </stroke> + </strokes> + </character> + <character> + <utf8>に</utf8> + <strokes> + <stroke> + <point x="223" y="250"/> + <point x="216" y="836"/> + <point x="303" y="766"/> + </stroke> + <stroke> + <point x="516" y="353"/> + <point x="743" y="380"/> + </stroke> + <stroke> + <point x="530" y="730"/> + <point x="616" y="786"/> + <point x="810" y="750"/> + </stroke> + </strokes> + </character> + <character> + <utf8>ぬ</utf8> + <strokes> + <stroke> + <point x="286" y="186"/> + <point x="323" y="510"/> + <point x="473" y="810"/> + </stroke> + <stroke> + <point x="610" y="236"/> + <point x="393" y="723"/> + <point x="280" y="803"/> + <point x="203" y="766"/> + <point x="260" y="510"/> + <point x="523" y="386"/> + <point x="703" y="486"/> + <point x="750" y="610"/> + <point x="710" y="743"/> + <point x="566" y="743"/> + <point x="636" y="643"/> + <point x="830" y="830"/> + </stroke> + </strokes> + </character> + <character> + <utf8>ね</utf8> + <strokes> + <stroke> + <point x="250" y="86"/> + <point x="250" y="893"/> + </stroke> + <stroke> + <point x="130" y="303"/> + <point x="316" y="216"/> + <point x="30" y="810"/> + <point x="286" y="453"/> + <point x="593" y="260"/> + <point x="743" y="353"/> + <point x="716" y="643"/> + <point x="566" y="800"/> + <point x="430" y="743"/> + <point x="453" y="610"/> + <point x="580" y="586"/> + <point x="816" y="800"/> + </stroke> + </strokes> + </character> + <character> + <utf8>旧「ね」</utf8> + <strokes> + <stroke> + <point x="280" y="173"/> + <point x="253" y="910"/> + </stroke> + <stroke> + <point x="200" y="303"/> + <point x="350" y="253"/> + <point x="150" y="786"/> + <point x="393" y="353"/> + <point x="600" y="260"/> + <point x="723" y="386"/> + <point x="750" y="580"/> + <point x="643" y="786"/> + <point x="220" y="750"/> + <point x="653" y="653"/> + <point x="836" y="836"/> + </stroke> + </strokes> + </character> + <character> + <utf8>の</utf8> + <strokes> + <stroke> + <point x="503" y="410"/> + <point x="393" y="850"/> + <point x="266" y="760"/> + <point x="323" y="403"/> + <point x="653" y="280"/> + <point x="816" y="550"/> + <point x="686" y="850"/> + </stroke> + </strokes> + </character> + <character> + <utf8>は</utf8> + <strokes> + <stroke> + <point x="203" y="250"/> + <point x="210" y="893"/> + </stroke> + <stroke> + <point x="453" y="450"/> + <point x="750" y="380"/> + </stroke> + <stroke> + <point x="566" y="216"/> + <point x="566" y="700"/> + <point x="493" y="823"/> + <point x="403" y="773"/> + <point x="416" y="686"/> + <point x="536" y="680"/> + <point x="773" y="823"/> + </stroke> + </strokes> + </character> + <character> + <utf8>ひ</utf8> + <strokes> + <stroke> + <point x="130" y="473"/> + <point x="403" y="293"/> + <point x="323" y="636"/> + <point x="436" y="893"/> + <point x="650" y="803"/> + <point x="750" y="400"/> + <point x="886" y="493"/> + </stroke> + </strokes> + </character> + <character> + <utf8>ふ</utf8> + <strokes> + <stroke> + <point x="473" y="186"/> + <point x="643" y="293"/> + </stroke> + <stroke> + <point x="460" y="410"/> + <point x="653" y="593"/> + <point x="623" y="766"/> + <point x="500" y="866"/> + </stroke> + <stroke> + <point x="336" y="636"/> + <point x="200" y="836"/> + </stroke> + <stroke> + <point x="793" y="636"/> + <point x="936" y="836"/> + </stroke> + </strokes> + </character> + <character> + <utf8>へ</utf8> + <strokes> + <stroke> + <point x="173" y="686"/> + <point x="380" y="343"/> + <point x="853" y="703"/> + </stroke> + </strokes> + </character> + <character> + <utf8>ほ</utf8> + <strokes> + <stroke> + <point x="230" y="236"/> + <point x="230" y="773"/> + <point x="336" y="716"/> + </stroke> + <stroke> + <point x="523" y="280"/> + <point x="753" y="230"/> + </stroke> + <stroke> + <point x="480" y="473"/> + <point x="800" y="430"/> + </stroke> + <stroke> + <point x="643" y="293"/> + <point x="630" y="700"/> + <point x="580" y="760"/> + <point x="510" y="686"/> + <point x="586" y="600"/> + <point x="843" y="750"/> + </stroke> + </strokes> + </character> + <character> + <utf8>ま</utf8> + <strokes> + <stroke> + <point x="303" y="260"/> + <point x="703" y="216"/> + </stroke> + <stroke> + <point x="293" y="430"/> + <point x="680" y="410"/> + </stroke> + <stroke> + <point x="486" y="80"/> + <point x="460" y="680"/> + <point x="343" y="803"/> + <point x="216" y="750"/> + <point x="243" y="666"/> + <point x="416" y="643"/> + <point x="673" y="760"/> + </stroke> + </strokes> + </character> + <character> + <utf8>み</utf8> + <strokes> + <stroke> + <point x="216" y="300"/> + <point x="366" y="303"/> + <point x="430" y="466"/> + <point x="393" y="700"/> + <point x="236" y="766"/> + <point x="210" y="623"/> + <point x="330" y="536"/> + <point x="823" y="493"/> + </stroke> + <stroke> + <point x="653" y="253"/> + <point x="653" y="723"/> + </stroke> + </strokes> + </character> + <character> + <utf8>む</utf8> + <strokes> + <stroke> + <point x="180" y="336"/> + <point x="450" y="280"/> + </stroke> + <stroke> + <point x="350" y="153"/> + <point x="336" y="530"/> + <point x="293" y="573"/> + <point x="243" y="486"/> + <point x="353" y="410"/> + <point x="373" y="760"/> + <point x="616" y="850"/> + <point x="786" y="803"/> + <point x="793" y="730"/> + </stroke> + <stroke> + <point x="730" y="323"/> + <point x="816" y="493"/> + </stroke> + </strokes> + </character> + <character> + <utf8>め</utf8> + <strokes> + <stroke> + <point x="336" y="216"/> + <point x="400" y="623"/> + <point x="510" y="810"/> + </stroke> + <stroke> + <point x="603" y="186"/> + <point x="453" y="750"/> + <point x="330" y="810"/> + <point x="216" y="703"/> + <point x="250" y="553"/> + <point x="586" y="386"/> + <point x="800" y="503"/> + <point x="743" y="793"/> + </stroke> + </strokes> + </character> + <character> + <utf8>も</utf8> + <strokes> + <stroke> + <point x="243" y="316"/> + <point x="723" y="293"/> + </stroke> + <stroke> + <point x="260" y="530"/> + <point x="753" y="493"/> + </stroke> + <stroke> + <point x="536" y="100"/> + <point x="453" y="530"/> + <point x="493" y="760"/> + <point x="716" y="880"/> + <point x="836" y="750"/> + </stroke> + </strokes> + </character> + <character> + <utf8>や</utf8> + <strokes> + <stroke> + <point x="223" y="443"/> + <point x="416" y="303"/> + <point x="700" y="280"/> + <point x="793" y="403"/> + <point x="666" y="550"/> + </stroke> + <stroke> + <point x="816" y="123"/> + <point x="700" y="250"/> + </stroke> + <stroke> + <point x="353" y="100"/> + <point x="543" y="823"/> + </stroke> + </strokes> + </character> + <character> + <utf8>ゆ</utf8> + <strokes> + <stroke> + <point x="243" y="260"/> + <point x="230" y="786"/> + <point x="273" y="536"/> + <point x="416" y="336"/> + <point x="653" y="280"/> + <point x="800" y="403"/> + <point x="716" y="636"/> + <point x="436" y="666"/> + </stroke> + <stroke> + <point x="536" y="166"/> + <point x="603" y="530"/> + <point x="500" y="873"/> + </stroke> + </strokes> + </character> + <character> + <utf8>よ</utf8> + <strokes> + <stroke> + <point x="530" y="303"/> + <point x="730" y="280"/> + </stroke> + <stroke> + <point x="480" y="130"/> + <point x="473" y="666"/> + <point x="400" y="830"/> + <point x="310" y="810"/> + <point x="280" y="686"/> + <point x="360" y="610"/> + <point x="636" y="666"/> + <point x="800" y="786"/> + </stroke> + </strokes> + </character> + <character> + <utf8>ら</utf8> + <strokes> + <stroke> + <point x="450" y="80"/> + <point x="623" y="210"/> + </stroke> + <stroke> + <point x="436" y="260"/> + <point x="423" y="553"/> + <point x="636" y="553"/> + <point x="703" y="700"/> + <point x="543" y="850"/> + <point x="423" y="810"/> + </stroke> + </strokes> + </character> + <character> + <utf8>り</utf8> + <strokes> + <stroke> + <point x="330" y="210"/> + <point x="316" y="553"/> + <point x="436" y="550"/> + </stroke> + <stroke> + <point x="673" y="186"/> + <point x="693" y="593"/> + <point x="560" y="910"/> + </stroke> + </strokes> + </character> + <character> + <utf8>る</utf8> + <strokes> + <stroke> + <point x="330" y="193"/> + <point x="653" y="143"/> + <point x="253" y="636"/> + <point x="400" y="460"/> + <point x="580" y="423"/> + <point x="743" y="580"/> + <point x="723" y="730"/> + <point x="603" y="873"/> + <point x="430" y="786"/> + <point x="473" y="686"/> + <point x="566" y="680"/> + <point x="660" y="793"/> + </stroke> + </strokes> + </character> + <character> + <utf8>れ</utf8> + <strokes> + <stroke> + <point x="323" y="150"/> + <point x="280" y="880"/> + </stroke> + <stroke> + <point x="216" y="366"/> + <point x="423" y="293"/> + <point x="173" y="810"/> + <point x="666" y="253"/> + <point x="603" y="680"/> + <point x="653" y="786"/> + <point x="836" y="766"/> + </stroke> + </strokes> + </character> + <character> + <utf8>ろ</utf8> + <strokes> + <stroke> + <point x="303" y="230"/> + <point x="686" y="143"/> + <point x="230" y="593"/> + <point x="423" y="443"/> + <point x="653" y="473"/> + <point x="736" y="600"/> + <point x="723" y="760"/> + <point x="493" y="853"/> + </stroke> + </strokes> + </character> + <character> + <utf8>わ</utf8> + <strokes> + <stroke> + <point x="293" y="130"/> + <point x="293" y="810"/> + </stroke> + <stroke> + <point x="203" y="323"/> + <point x="393" y="260"/> + <point x="200" y="750"/> + <point x="523" y="293"/> + <point x="800" y="280"/> + <point x="836" y="643"/> + <point x="636" y="750"/> + </stroke> + </strokes> + </character> + <character> + <utf8>を</utf8> + <strokes> + <stroke> + <point x="266" y="300"/> + <point x="736" y="210"/> + </stroke> + <stroke> + <point x="500" y="100"/> + <point x="393" y="473"/> + <point x="500" y="450"/> + <point x="600" y="550"/> + <point x="566" y="760"/> + </stroke> + <stroke> + <point x="710" y="473"/> + <point x="473" y="553"/> + <point x="386" y="773"/> + <point x="480" y="910"/> + <point x="723" y="910"/> + </stroke> + </strokes> + </character> + <character> + <utf8>ん</utf8> + <strokes> + <stroke> + <point x="653" y="123"/> + <point x="173" y="836"/> + <point x="450" y="486"/> + <point x="600" y="850"/> + <point x="750" y="850"/> + <point x="843" y="750"/> + </stroke> + </strokes> + </character> + <character> + <utf8>0</utf8> + <strokes> + <stroke> + <point x="536" y="170"/> + <point x="363" y="263"/> + <point x="283" y="486"/> + <point x="330" y="873"/> + <point x="533" y="936"/> + <point x="740" y="793"/> + <point x="763" y="476"/> + <point x="523" y="173"/> + </stroke> + </strokes> + </character> + <character> + <utf8>1</utf8> + <strokes> + <stroke> + <point x="536" y="150"/> + <point x="436" y="880"/> + </stroke> + </strokes> + </character> + <character> + <utf8>2</utf8> + <strokes> + <stroke> + <point x="286" y="300"/> + <point x="366" y="206"/> + <point x="546" y="233"/> + <point x="606" y="440"/> + <point x="260" y="833"/> + <point x="690" y="853"/> + </stroke> + </strokes> + </character> + <character> + <utf8>3</utf8> + <strokes> + <stroke> + <point x="333" y="206"/> + <point x="533" y="183"/> + <point x="603" y="383"/> + <point x="406" y="470"/> + <point x="530" y="490"/> + <point x="613" y="626"/> + <point x="443" y="800"/> + <point x="333" y="710"/> + </stroke> + </strokes> + </character> + <character> + <utf8>4</utf8> + <strokes> + <stroke> + <point x="520" y="146"/> + <point x="176" y="553"/> + <point x="806" y="606"/> + </stroke> + <stroke> + <point x="563" y="200"/> + <point x="463" y="823"/> + </stroke> + </strokes> + </character> + <character> + <utf8>5</utf8> + <strokes> + <stroke> + <point x="353" y="130"/> + <point x="213" y="546"/> + <point x="460" y="530"/> + <point x="566" y="750"/> + <point x="416" y="846"/> + <point x="246" y="800"/> + </stroke> + <stroke> + <point x="373" y="176"/> + <point x="660" y="220"/> + </stroke> + </strokes> + </character> + <character> + <utf8>6</utf8> + <strokes> + <stroke> + <point x="723" y="173"/> + <point x="556" y="230"/> + <point x="340" y="550"/> + <point x="396" y="823"/> + <point x="636" y="766"/> + <point x="620" y="523"/> + <point x="386" y="533"/> + </stroke> + </strokes> + </character> + <character> + <utf8>7</utf8> + <strokes> + <stroke> + <point x="276" y="213"/> + <point x="710" y="250"/> + <point x="583" y="390"/> + <point x="443" y="850"/> + </stroke> + </strokes> + </character> + <character> + <utf8>8</utf8> + <strokes> + <stroke> + <point x="676" y="313"/> + <point x="503" y="180"/> + <point x="353" y="310"/> + <point x="373" y="440"/> + <point x="606" y="663"/> + <point x="640" y="833"/> + <point x="420" y="900"/> + <point x="296" y="726"/> + <point x="673" y="316"/> + </stroke> + </strokes> + </character> + <character> + <utf8>9</utf8> + <strokes> + <stroke> + <point x="650" y="236"/> + <point x="426" y="116"/> + <point x="286" y="286"/> + <point x="303" y="400"/> + <point x="456" y="440"/> + <point x="650" y="273"/> + <point x="463" y="860"/> + </stroke> + </strokes> + </character> + <character> + <utf8>日</utf8> + <strokes> + <stroke> + <point x="213" y="203"/> + <point x="166" y="856"/> + </stroke> + <stroke> + <point x="270" y="170"/> + <point x="833" y="216"/> + <point x="726" y="910"/> + </stroke> + <stroke> + <point x="250" y="560"/> + <point x="760" y="553"/> + </stroke> + <stroke> + <point x="213" y="886"/> + <point x="726" y="926"/> + </stroke> + </strokes> + </character> + <character> + <utf8>月</utf8> + <strokes> + <stroke> + <point x="233" y="163"/> + <point x="176" y="656"/> + <point x="50" y="880"/> + </stroke> + <stroke> + <point x="306" y="150"/> + <point x="776" y="166"/> + <point x="706" y="880"/> + <point x="563" y="806"/> + </stroke> + <stroke> + <point x="306" y="356"/> + <point x="673" y="386"/> + </stroke> + <stroke> + <point x="313" y="603"/> + <point x="660" y="613"/> + </stroke> + </strokes> + </character> + <character> + <utf8>火</utf8> + <strokes> + <stroke> + <point x="183" y="186"/> + <point x="276" y="366"/> + </stroke> + <stroke> + <point x="810" y="180"/> + <point x="690" y="366"/> + </stroke> + <stroke> + <point x="506" y="96"/> + <point x="433" y="523"/> + <point x="120" y="840"/> + </stroke> + <stroke> + <point x="480" y="550"/> + <point x="576" y="726"/> + <point x="786" y="823"/> + </stroke> + </strokes> + </character> + <character> + <utf8>水</utf8> + <strokes> + <stroke> + <point x="486" y="116"/> + <point x="496" y="903"/> + <point x="403" y="846"/> + </stroke> + <stroke> + <point x="93" y="433"/> + <point x="363" y="436"/> + <point x="316" y="586"/> + <point x="136" y="686"/> + </stroke> + <stroke> + <point x="903" y="200"/> + <point x="606" y="443"/> + </stroke> + <stroke> + <point x="530" y="450"/> + <point x="833" y="773"/> + </stroke> + </strokes> + </character> + <character> + <utf8>木</utf8> + <strokes> + <stroke> + <point x="210" y="350"/> + <point x="863" y="360"/> + </stroke> + <stroke> + <point x="490" y="70"/> + <point x="476" y="906"/> + </stroke> + <stroke> + <point x="500" y="360"/> + <point x="343" y="640"/> + <point x="126" y="750"/> + </stroke> + <stroke> + <point x="523" y="373"/> + <point x="850" y="776"/> + </stroke> + </strokes> + </character> + <character> + <utf8>金</utf8> + <strokes> + <stroke> + <point x="513" y="123"/> + <point x="103" y="316"/> + </stroke> + <stroke> + <point x="526" y="130"/> + <point x="873" y="380"/> + </stroke> + <stroke> + <point x="376" y="323"/> + <point x="610" y="306"/> + </stroke> + <stroke> + <point x="233" y="490"/> + <point x="746" y="496"/> + </stroke> + <stroke> + <point x="500" y="340"/> + <point x="483" y="846"/> + </stroke> + <stroke> + <point x="213" y="686"/> + <point x="273" y="766"/> + </stroke> + <stroke> + <point x="770" y="656"/> + <point x="656" y="766"/> + </stroke> + <stroke> + <point x="120" y="893"/> + <point x="980" y="886"/> + </stroke> + </strokes> + </character> + <character> + <utf8>土</utf8> + <strokes> + <stroke> + <point x="243" y="363"/> + <point x="770" y="383"/> + </stroke> + <stroke> + <point x="510" y="123"/> + <point x="470" y="810"/> + </stroke> + <stroke> + <point x="63" y="836"/> + <point x="950" y="866"/> + </stroke> + </strokes> + </character> + <character> + <utf8>田</utf8> + <strokes> + <stroke> + <point x="150" y="200"/> + <point x="143" y="860"/> + </stroke> + <stroke> + <point x="210" y="186"/> + <point x="846" y="240"/> + <point x="840" y="843"/> + </stroke> + <stroke> + <point x="546" y="243"/> + <point x="493" y="816"/> + </stroke> + <stroke> + <point x="220" y="503"/> + <point x="810" y="556"/> + </stroke> + <stroke> + <point x="176" y="866"/> + <point x="830" y="876"/> + </stroke> + </strokes> + </character> + <character> + <utf8>手</utf8> + <strokes> + <stroke> + <point x="570" y="73"/> + <point x="346" y="180"/> + </stroke> + <stroke> + <point x="223" y="333"/> + <point x="746" y="340"/> + </stroke> + <stroke> + <point x="106" y="573"/> + <point x="870" y="540"/> + </stroke> + <stroke> + <point x="506" y="196"/> + <point x="476" y="770"/> + <point x="350" y="733"/> + </stroke> + </strokes> + </character> + <character> + <utf8>書</utf8> + <strokes> + <stroke> + <point x="326" y="203"/> + <point x="620" y="246"/> + <point x="603" y="426"/> + </stroke> + <stroke> + <point x="146" y="330"/> + <point x="786" y="350"/> + </stroke> + <stroke> + <point x="346" y="426"/> + <point x="630" y="433"/> + </stroke> + <stroke> + <point x="500" y="126"/> + <point x="486" y="603"/> + </stroke> + <stroke> + <point x="430" y="550"/> + <point x="553" y="540"/> + </stroke> + <stroke> + <point x="123" y="656"/> + <point x="853" y="640"/> + </stroke> + <stroke> + <point x="260" y="736"/> + <point x="270" y="910"/> + </stroke> + <stroke> + <point x="296" y="740"/> + <point x="703" y="700"/> + <point x="700" y="890"/> + </stroke> + <stroke> + <point x="326" y="840"/> + <point x="646" y="826"/> + </stroke> + <stroke> + <point x="310" y="933"/> + <point x="673" y="920"/> + </stroke> + </strokes> + </character> + <character> + <utf8>オ</utf8> + <strokes> + <stroke> + <point x="146" y="273"/> + <point x="900" y="273"/> + </stroke> + <stroke> + <point x="653" y="50"/> + <point x="586" y="910"/> + <point x="510" y="840"/> + </stroke> + <stroke> + <point x="626" y="280"/> + <point x="463" y="513"/> + <point x="176" y="680"/> + </stroke> + </strokes> + </character> + <character> + <utf8>ン</utf8> + <strokes> + <stroke> + <point x="250" y="290"/> + <point x="430" y="473"/> + </stroke> + <stroke> + <point x="216" y="830"/> + <point x="546" y="776"/> + <point x="900" y="370"/> + </stroke> + </strokes> + </character> + <character> + <utf8>ラ</utf8> + <strokes> + <stroke> + <point x="316" y="150"/> + <point x="746" y="153"/> + </stroke> + <stroke> + <point x="213" y="346"/> + <point x="826" y="340"/> + <point x="726" y="656"/> + <point x="456" y="936"/> + </stroke> + </strokes> + </character> + <character> + <utf8>イ</utf8> + <strokes> + <stroke> + <point x="766" y="106"/> + <point x="413" y="406"/> + <point x="173" y="480"/> + </stroke> + <stroke> + <point x="513" y="380"/> + <point x="466" y="853"/> + </stroke> + </strokes> + </character> + <character> + <utf8>文</utf8> + <strokes> + <stroke> + <point x="490" y="80"/> + <point x="496" y="183"/> + </stroke> + <stroke> + <point x="100" y="266"/> + <point x="930" y="253"/> + </stroke> + <stroke> + <point x="730" y="306"/> + <point x="533" y="660"/> + <point x="106" y="863"/> + </stroke> + <stroke> + <point x="316" y="316"/> + <point x="466" y="680"/> + <point x="853" y="836"/> + </stroke> + </strokes> + </character> + <character> + <utf8>字</utf8> + <strokes> + <stroke> + <point x="516" y="80"/> + <point x="500" y="186"/> + </stroke> + <stroke> + <point x="93" y="246"/> + <point x="96" y="356"/> + </stroke> + <stroke> + <point x="153" y="213"/> + <point x="893" y="260"/> + <point x="830" y="390"/> + </stroke> + <stroke> + <point x="353" y="366"/> + <point x="626" y="363"/> + <point x="443" y="556"/> + <point x="493" y="870"/> + <point x="450" y="950"/> + <point x="390" y="900"/> + </stroke> + <stroke> + <point x="90" y="740"/> + <point x="870" y="780"/> + </stroke> + </strokes> + </character> + <character> + <utf8>認</utf8> + <strokes> + <stroke> + <point x="163" y="90"/> + <point x="233" y="163"/> + </stroke> + <stroke> + <point x="43" y="230"/> + <point x="373" y="226"/> + </stroke> + <stroke> + <point x="170" y="336"/> + <point x="296" y="343"/> + </stroke> + <stroke> + <point x="163" y="466"/> + <point x="296" y="483"/> + </stroke> + <stroke> + <point x="100" y="680"/> + <point x="100" y="856"/> + </stroke> + <stroke> + <point x="150" y="653"/> + <point x="376" y="660"/> + <point x="346" y="863"/> + </stroke> + <stroke> + <point x="136"... [truncated message content] |
From: <kt...@us...> - 2007-04-12 06:27:55
|
Revision: 1185 http://tomoe.svn.sourceforge.net/tomoe/?rev=1185&view=rev Author: ktou Date: 2007-04-11 23:27:57 -0700 (Wed, 11 Apr 2007) Log Message: ----------- * ext/ruby/tomoe-rb-recognizer.c, ext/ruby/rbtomoe.h: implemented Tomoe::Recognizer#language. * ext/ruby/tomoe-rb-config.c, ext/ruby/rbtomoe.h: implemented Tomoe::Config.new and Tomoe::Config#languages. * test/config_spec.rb: added tests for TomoeConfig related language configuration. Modified Paths: -------------- tomoe/trunk/ChangeLog tomoe/trunk/ext/ruby/rbtomoe.h tomoe/trunk/ext/ruby/tomoe-rb-config.c tomoe/trunk/ext/ruby/tomoe-rb-recognizer.c Added Paths: ----------- tomoe/trunk/test/config_spec.rb Modified: tomoe/trunk/ChangeLog =================================================================== --- tomoe/trunk/ChangeLog 2007-04-12 06:09:04 UTC (rev 1184) +++ tomoe/trunk/ChangeLog 2007-04-12 06:27:57 UTC (rev 1185) @@ -1,5 +1,14 @@ 2007-04-12 Kouhei Sutou <ko...@co...> + * ext/ruby/tomoe-rb-recognizer.c, ext/ruby/rbtomoe.h: implemented + Tomoe::Recognizer#language. + + * ext/ruby/tomoe-rb-config.c, ext/ruby/rbtomoe.h: implemented + Tomoe::Config.new and Tomoe::Config#languages. + + * test/config_spec.rb: added tests for TomoeConfig related language + configuration. + * lib/tomoe-config.c (tomoe_config_load): used [config] group for language and languages configuration instead of [global] group. Modified: tomoe/trunk/ext/ruby/rbtomoe.h =================================================================== --- tomoe/trunk/ext/ruby/rbtomoe.h 2007-04-12 06:09:04 UTC (rev 1184) +++ tomoe/trunk/ext/ruby/rbtomoe.h 2007-04-12 06:27:57 UTC (rev 1185) @@ -17,6 +17,8 @@ #define RVAL2TRDG(obj) (TOMOE_READING(RVAL2GOBJ(obj))) #define RVAL2TCHR(obj) (TOMOE_CHAR(RVAL2GOBJ(obj))) #define RVAL2TCND(obj) (TOMOE_CANDIDATE(RVAL2GOBJ(obj))) +#define RVAL2TREC(obj) (TOMOE_RECOGNIZER(RVAL2GOBJ(obj))) +#define RVAL2TCFG(obj) (TOMOE_CONFIG(RVAL2GOBJ(obj))) #define RVAL2TRT(obj) (RVAL2GENUM(obj, TOMOE_TYPE_READING_TYPE)) Modified: tomoe/trunk/ext/ruby/tomoe-rb-config.c =================================================================== --- tomoe/trunk/ext/ruby/tomoe-rb-config.c 2007-04-12 06:09:04 UTC (rev 1184) +++ tomoe/trunk/ext/ruby/tomoe-rb-config.c 2007-04-12 06:27:57 UTC (rev 1185) @@ -1,10 +1,45 @@ #include "tomoe-rb.h" +#define _SELF(obj) RVAL2TCFG(obj) + +static VALUE +tc_initialize(VALUE self, VALUE file_name) +{ + TomoeConfig *config; + + config = tomoe_config_new(StringValueCStr(file_name)); + G_INITIALIZE(self, config); + + return Qnil; +} + +static VALUE +tc_languages(VALUE self) +{ + VALUE rb_languages = Qnil; + const gchar *const *languages; + + languages = tomoe_config_get_languages(_SELF(self)); + if (languages) { + rb_languages = rb_ary_new(); + while (*languages) { + rb_ary_push(rb_languages, rb_str_new2(*languages)); + languages++; + } + } + + return rb_languages; +} + void _tomoe_rb_init_tomoe_config(VALUE mTomoe) { VALUE cTomoeConfig; cTomoeConfig = G_DEF_CLASS(TOMOE_TYPE_CONFIG, "Config", mTomoe); + + rb_define_method(cTomoeConfig, "initialize", tc_initialize, 1); + + rb_define_method(cTomoeConfig, "languages", tc_languages, 0); } Modified: tomoe/trunk/ext/ruby/tomoe-rb-recognizer.c =================================================================== --- tomoe/trunk/ext/ruby/tomoe-rb-recognizer.c 2007-04-12 06:09:04 UTC (rev 1184) +++ tomoe/trunk/ext/ruby/tomoe-rb-recognizer.c 2007-04-12 06:27:57 UTC (rev 1185) @@ -1,5 +1,7 @@ #include "tomoe-rb.h" +#define _SELF(obj) RVAL2TREC(obj) + #define RECOGNIZER_PREFIX "Recognizer" static VALUE mTomoe; @@ -35,6 +37,18 @@ return Qnil; } +static VALUE +tr_language(VALUE self) +{ + const gchar *language; + + language = tomoe_recognizer_get_language(_SELF(self)); + if (language) + return rb_str_new2(language); + else + return Qnil; +} + void _tomoe_rb_init_tomoe_recognizer(VALUE _mTomoe) { @@ -45,4 +59,6 @@ rb_define_singleton_method(cTomoeRecognizer, "load", tr_s_load, 1); rb_define_singleton_method(cTomoeRecognizer, "unload", tr_s_unload, 0); + + rb_define_method(cTomoeRecognizer, "language", tr_language, 0); } Added: tomoe/trunk/test/config_spec.rb =================================================================== --- tomoe/trunk/test/config_spec.rb (rev 0) +++ tomoe/trunk/test/config_spec.rb 2007-04-12 06:27:57 UTC (rev 1185) @@ -0,0 +1,46 @@ +require 'tomoe-spec-utils' + +context "Tomoe::Config" do + def config_file(contents) + config_file = Tempfile.new("tomoe-context") + config_file.open + config_file.puts(contents) + config_file.close + config_file + end + + specify "Get language" do + file = config_file(<<-EOC) +[config] +language = ja +EOC + config = Tomoe::Config.new(file.path) + config.languages.should == ['ja'] + end + + specify "Get languages" do + file = config_file(<<-EOC) +[config] +languages = ja +EOC + config = Tomoe::Config.new(file.path) + config.languages.should == ['ja'] + + file = config_file(<<-EOC) +[config] +languages = ja;en;fr +EOC + config = Tomoe::Config.new(file.path) + config.languages.should == ['ja', 'en', 'fr'] + end + + specify "both language and languages are specified" do + file = config_file(<<-EOC) +[config] +language = ja +languages = en;ja;fr +EOC + config = Tomoe::Config.new(file.path) + config.languages.should == ['ja'] + end +end This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kt...@us...> - 2007-04-12 06:09:03
|
Revision: 1184 http://tomoe.svn.sourceforge.net/tomoe/?rev=1184&view=rev Author: ktou Date: 2007-04-11 23:09:04 -0700 (Wed, 11 Apr 2007) Log Message: ----------- * lib/tomoe-config.c (tomoe_config_load): used [config] group for language and languages configuration instead of [global] group. Modified Paths: -------------- tomoe/trunk/ChangeLog tomoe/trunk/lib/tomoe-config.c Modified: tomoe/trunk/ChangeLog =================================================================== --- tomoe/trunk/ChangeLog 2007-04-12 05:37:20 UTC (rev 1183) +++ tomoe/trunk/ChangeLog 2007-04-12 06:09:04 UTC (rev 1184) @@ -1,5 +1,8 @@ 2007-04-12 Kouhei Sutou <ko...@co...> + * lib/tomoe-config.c (tomoe_config_load): used [config] group for + language and languages configuration instead of [global] group. + * lib/tomoe-context.c (tomoe_context_search_by_strokes): supported language related recognizer loading. Modified: tomoe/trunk/lib/tomoe-config.c =================================================================== --- tomoe/trunk/lib/tomoe-config.c 2007-04-12 05:37:20 UTC (rev 1183) +++ tomoe/trunk/lib/tomoe-config.c 2007-04-12 06:09:04 UTC (rev 1184) @@ -252,7 +252,7 @@ if (priv->languages) g_strfreev (priv->languages); language = _tomoe_config_key_file_get_string (key_file, - "global", "language", + "config", "language", NULL); if (language) { priv->languages = g_new0(gchar *, 2); @@ -260,7 +260,7 @@ } else { priv->languages = _tomoe_config_key_file_get_string_list (key_file, - "global", "languages", + "config", "languages", NULL); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kt...@us...> - 2007-04-12 05:37:20
|
Revision: 1183 http://tomoe.svn.sourceforge.net/tomoe/?rev=1183&view=rev Author: ktou Date: 2007-04-11 22:37:20 -0700 (Wed, 11 Apr 2007) Log Message: ----------- * lib/tomoe-context.c (tomoe_context_search_by_strokes): supported language related recognizer loading. Modified Paths: -------------- tomoe/trunk/ChangeLog tomoe/trunk/lib/tomoe-context.c Modified: tomoe/trunk/ChangeLog =================================================================== --- tomoe/trunk/ChangeLog 2007-04-12 05:36:17 UTC (rev 1182) +++ tomoe/trunk/ChangeLog 2007-04-12 05:37:20 UTC (rev 1183) @@ -1,5 +1,8 @@ 2007-04-12 Kouhei Sutou <ko...@co...> + * lib/tomoe-context.c (tomoe_context_search_by_strokes): supported + language related recognizer loading. + * lib/tomoe-config.[ch]: supported "[global]/language" property and "[global]/languages" property. "[global]/language" is just for convenience. Modified: tomoe/trunk/lib/tomoe-context.c =================================================================== --- tomoe/trunk/lib/tomoe-context.c 2007-04-12 05:36:17 UTC (rev 1182) +++ tomoe/trunk/lib/tomoe-context.c 2007-04-12 05:37:20 UTC (rev 1183) @@ -51,6 +51,7 @@ TomoeShelf *shelf; TomoeRecognizer *recognizer; TomoeDict *user_dict; + gchar **languages; }; G_DEFINE_TYPE (TomoeContext, tomoe_context, G_TYPE_OBJECT) @@ -97,6 +98,7 @@ priv->shelf = NULL; priv->recognizer = NULL; priv->user_dict = NULL; + priv->languages = g_strdupv ((gchar **)g_get_language_names ()); } /** @@ -168,10 +170,13 @@ g_object_unref (priv->recognizer); if (priv->user_dict) g_object_unref (priv->user_dict); + if (priv->languages) + g_strfreev (priv->languages); priv->shelf = NULL; priv->recognizer = NULL; priv->user_dict = NULL; + priv->languages = NULL; G_OBJECT_CLASS (tomoe_context_parent_class)->dispose (object); } @@ -270,10 +275,18 @@ if (priv->shelf) g_object_unref (priv->shelf); - priv->shelf = tomoe_config_make_shelf (cfg); + priv->shelf = tomoe_config_make_shelf (cfg, NULL); + + if (priv->user_dict) + g_object_unref (priv->user_dict); priv->user_dict = ensure_user_dict (priv->shelf, tomoe_config_get_user_dict_name (cfg)); + g_strfreev (priv->languages); + priv->languages = g_strdupv ((gchar **)tomoe_config_get_languages (cfg)); + if (!priv->languages) + priv->languages = g_strdupv ((gchar **)g_get_language_names ()); + g_object_unref (cfg); } @@ -297,12 +310,32 @@ priv = TOMOE_CONTEXT_GET_PRIVATE (context); if (!priv->recognizer) { - priv->recognizer = tomoe_recognizer_new ("simple", NULL); + gchar **languages; + + languages = priv->languages; + while (*languages && priv->recognizer == NULL) { + priv->recognizer = tomoe_recognizer_new ("simple", + "language", *languages, + NULL); + languages++; + + if (!priv->recognizer) + continue; + + if (!tomoe_recognizer_is_available (priv->recognizer)) { + g_object_unref (priv->recognizer); + priv->recognizer = NULL; + } + } + + if (!priv->recognizer) + priv->recognizer = tomoe_recognizer_new ("simple", NULL); g_return_val_if_fail (TOMOE_IS_RECOGNIZER (priv->recognizer), matched); } - matched = g_list_sort (tomoe_recognizer_search (priv->recognizer, input), - _candidate_compare_func); + if (tomoe_recognizer_is_available (priv->recognizer)) + matched = g_list_sort (tomoe_recognizer_search (priv->recognizer, input), + _candidate_compare_func); return matched; } @@ -355,7 +388,7 @@ priv = TOMOE_CONTEXT_GET_PRIVATE (context); if (!priv->user_dict) { - g_warning ("user dictionary doesn't exist"); + g_warning (_("user dictionary doesn't exist")); return FALSE; } @@ -371,7 +404,7 @@ priv = TOMOE_CONTEXT_GET_PRIVATE (context); if (!priv->user_dict) { - g_warning ("user dictionary doesn't exist"); + g_warning (_("user dictionary doesn't exist")); return FALSE; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kt...@us...> - 2007-04-12 05:36:16
|
Revision: 1182 http://tomoe.svn.sourceforge.net/tomoe/?rev=1182&view=rev Author: ktou Date: 2007-04-11 22:36:17 -0700 (Wed, 11 Apr 2007) Log Message: ----------- * lib/tomoe-config.[ch]: supported "[global]/language" property and "[global]/languages" property. "[global]/language" is just for convenience. Modified Paths: -------------- tomoe/trunk/ChangeLog tomoe/trunk/lib/tomoe-config.c tomoe/trunk/lib/tomoe-config.h Modified: tomoe/trunk/ChangeLog =================================================================== --- tomoe/trunk/ChangeLog 2007-04-12 05:32:21 UTC (rev 1181) +++ tomoe/trunk/ChangeLog 2007-04-12 05:36:17 UTC (rev 1182) @@ -1,5 +1,9 @@ 2007-04-12 Kouhei Sutou <ko...@co...> + * lib/tomoe-config.[ch]: supported "[global]/language" property + and "[global]/languages" property. "[global]/language" is just for + convenience. + * module/recognizer/tomoe-recognizer-simple.c: - supported tomoe_recognizer_is_available() interface. - supported language related XML DB filename change. Modified: tomoe/trunk/lib/tomoe-config.c =================================================================== --- tomoe/trunk/lib/tomoe-config.c 2007-04-12 05:32:21 UTC (rev 1181) +++ tomoe/trunk/lib/tomoe-config.c 2007-04-12 05:36:17 UTC (rev 1182) @@ -46,6 +46,7 @@ gchar *filename; gchar *user_dict_name; GKeyFile *key_file; + gchar **languages; }; enum @@ -80,6 +81,10 @@ const gchar *group, const gchar *key, const gchar *default_value); +static gchar **_tomoe_config_key_file_get_string_list(GKeyFile *key_file, + const gchar *group, + const gchar *key, + gchar **default_value); static gint _tomoe_config_key_file_get_integer (GKeyFile *key_file, const gchar *group, const gchar *key, @@ -120,6 +125,7 @@ priv->filename = NULL; priv->user_dict_name = NULL; priv->key_file = NULL; + priv->languages = NULL; } TomoeConfig * @@ -153,10 +159,13 @@ g_free (priv->user_dict_name); if (priv->key_file) g_key_file_free (priv->key_file); + if (priv->languages) + g_strfreev (priv->languages); priv->filename = NULL; priv->user_dict_name = NULL; priv->key_file = NULL; + priv->languages = NULL; if (G_OBJECT_CLASS (tomoe_config_parent_class)->dispose) G_OBJECT_CLASS (tomoe_config_parent_class)->dispose (object); @@ -172,6 +181,8 @@ switch (prop_id) { case PROP_FILENAME: + if (priv->filename) + g_free (priv->filename); priv->filename = g_value_dup_string (value); break; @@ -207,6 +218,7 @@ GError *error = NULL; TomoeConfigPrivate *priv; const gchar *config_file; + gchar *language; g_return_if_fail (config); @@ -230,10 +242,27 @@ priv->key_file = key_file; + if (priv->user_dict_name) + g_free (priv->user_dict_name); priv->user_dict_name = _tomoe_config_key_file_get_string (key_file, "config", "user-dictionary", DEFAULT_USER_DICT_NAME); + + if (priv->languages) + g_strfreev (priv->languages); + language = _tomoe_config_key_file_get_string (key_file, + "global", "language", + NULL); + if (language) { + priv->languages = g_new0(gchar *, 2); + priv->languages[0] = language; + } else { + priv->languages = + _tomoe_config_key_file_get_string_list (key_file, + "global", "languages", + NULL); + } } static void @@ -285,7 +314,7 @@ } TomoeShelf * -tomoe_config_make_shelf (TomoeConfig *config) +tomoe_config_make_shelf (TomoeConfig *config, const gchar *language) { TomoeConfigPrivate *priv; TomoeShelf *shelf; @@ -339,6 +368,18 @@ return shelf; } +const gchar *const * +tomoe_config_get_languages (TomoeConfig *config) +{ + TomoeConfigPrivate *priv; + + g_return_val_if_fail (TOMOE_IS_CONFIG (config), NULL); + + priv = TOMOE_CONFIG_GET_PRIVATE (config); + return (const gchar *const *)(priv->languages); +} + + static gboolean _tomoe_config_key_file_get_boolean (GKeyFile *key_file, const gchar *group, @@ -390,6 +431,33 @@ return result; } +static gchar ** +_tomoe_config_key_file_get_string_list (GKeyFile *key_file, + const gchar *group, + const gchar *key, + gchar **default_value) +{ + gchar **result = NULL; + gsize length = 0; + GError *error = NULL; + + result = g_key_file_get_string_list (key_file, group, key, &length, &error); + if (error) { + switch (error->code) { + case G_KEY_FILE_ERROR_NOT_FOUND: + g_error_free (error); + break; + case G_KEY_FILE_ERROR_INVALID_VALUE: + TOMOE_HANDLE_ERROR (error); + break; + } + if (default_value) + result = g_strdupv (default_value); + } + + return result; +} + static gint _tomoe_config_key_file_get_integer (GKeyFile *key_file, const gchar *group, Modified: tomoe/trunk/lib/tomoe-config.h =================================================================== --- tomoe/trunk/lib/tomoe-config.h 2007-04-12 05:32:21 UTC (rev 1181) +++ tomoe/trunk/lib/tomoe-config.h 2007-04-12 05:36:17 UTC (rev 1182) @@ -1,6 +1,7 @@ /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * Copyright (C) 2006 Juernjakob Harder <jue...@gm...> + * Copyright (C) 2007 Kouhei Sutou <ko...@co...> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -51,10 +52,12 @@ GType tomoe_config_get_type (void) G_GNUC_CONST; -TomoeConfig *tomoe_config_new (const char *config_file); -const gchar *tomoe_config_get_filename (TomoeConfig *config); -const gchar *tomoe_config_get_user_dict_name (TomoeConfig *config); -TomoeShelf *tomoe_config_make_shelf (TomoeConfig *config); +TomoeConfig *tomoe_config_new (const gchar *config_file); +const gchar *tomoe_config_get_filename (TomoeConfig *config); +const gchar *tomoe_config_get_user_dict_name (TomoeConfig *config); +TomoeShelf *tomoe_config_make_shelf (TomoeConfig *config, + const gchar *language); +const gchar *const *tomoe_config_get_languages (TomoeConfig *config); G_END_DECLS This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kt...@us...> - 2007-04-12 05:32:21
|
Revision: 1181 http://tomoe.svn.sourceforge.net/tomoe/?rev=1181&view=rev Author: ktou Date: 2007-04-11 22:32:21 -0700 (Wed, 11 Apr 2007) Log Message: ----------- * module/recognizer/tomoe-recognizer-simple.c: - supported tomoe_recognizer_is_available() interface. - supported language related XML DB filename change. * lib/tomoe-recognizer.[ch]: (tomoe_recognizer_is_available, tomoe_recognizer_get_language): added. Modified Paths: -------------- tomoe/trunk/ChangeLog tomoe/trunk/lib/tomoe-recognizer.c tomoe/trunk/lib/tomoe-recognizer.h tomoe/trunk/module/recognizer/tomoe-recognizer-simple.c Modified: tomoe/trunk/ChangeLog =================================================================== --- tomoe/trunk/ChangeLog 2007-04-12 05:26:57 UTC (rev 1180) +++ tomoe/trunk/ChangeLog 2007-04-12 05:32:21 UTC (rev 1181) @@ -1,5 +1,12 @@ 2007-04-12 Kouhei Sutou <ko...@co...> + * module/recognizer/tomoe-recognizer-simple.c: + - supported tomoe_recognizer_is_available() interface. + - supported language related XML DB filename change. + + * lib/tomoe-recognizer.[ch]: (tomoe_recognizer_is_available, + tomoe_recognizer_get_language): added. + * module/dict/tomoe-dict-xml.c (is_available): improved check. (tomoe_dict_xml_save): saved only modified. Modified: tomoe/trunk/lib/tomoe-recognizer.c =================================================================== --- tomoe/trunk/lib/tomoe-recognizer.c 2007-04-12 05:26:57 UTC (rev 1180) +++ tomoe/trunk/lib/tomoe-recognizer.c 2007-04-12 05:32:21 UTC (rev 1181) @@ -1,7 +1,7 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* - * Copyright (C) 2006 Kouhei Sutou <ko...@co...> + * Copyright (C) 2006-2007 Kouhei Sutou <ko...@co...> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -22,6 +22,7 @@ */ #include <stdlib.h> +#include <glib/gi18n.h> #include "tomoe-module.h" #include "tomoe-recognizer.h" @@ -60,19 +61,125 @@ return tomoe_module_collect_log_domains (recognizers); } + +#define TOMOE_RECOGNIZER_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), TOMOE_TYPE_RECOGNIZER, TomoeRecognizerPrivate)) + +typedef struct _TomoeRecognizerPrivate TomoeRecognizerPrivate; +struct _TomoeRecognizerPrivate +{ + gchar *language; +}; + +enum { + PROP_0, + PROP_LANGUAGE +}; + G_DEFINE_ABSTRACT_TYPE (TomoeRecognizer, tomoe_recognizer, G_TYPE_OBJECT) +static void dispose (GObject *object); +static void set_property (GObject *object, + guint prop_id, + const GValue *value, + GParamSpec *pspec); +static void get_property (GObject *object, + guint prop_id, + GValue *value, + GParamSpec *pspec); + static void tomoe_recognizer_class_init (TomoeRecognizerClass *klass) { + GObjectClass *gobject_class; + + gobject_class = G_OBJECT_CLASS (klass); + gobject_class->dispose = dispose; + gobject_class->set_property = set_property; + gobject_class->get_property = get_property; + klass->search = NULL; + klass->is_available = NULL; + + g_object_class_install_property ( + gobject_class, + PROP_LANGUAGE, + g_param_spec_string ( + "language", + _("Language"), + _("The language of the recognizer"), + NULL, + G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); + + g_type_class_add_private (gobject_class, sizeof (TomoeRecognizerPrivate)); } static void tomoe_recognizer_init (TomoeRecognizer *recognizer) { + TomoeRecognizerPrivate *priv = TOMOE_RECOGNIZER_GET_PRIVATE (recognizer); + + priv->language = NULL; } +static void +dispose (GObject *object) +{ + TomoeRecognizerPrivate *priv = TOMOE_RECOGNIZER_GET_PRIVATE (object); + + if (priv->language) + g_free (priv->language); + + priv->language = NULL; + + G_OBJECT_CLASS (tomoe_recognizer_parent_class)->dispose (object); +} + +static void +set_property (GObject *object, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + TomoeRecognizer *recognizer; + TomoeRecognizerPrivate *priv; + + recognizer = TOMOE_RECOGNIZER(object); + priv = TOMOE_RECOGNIZER_GET_PRIVATE (recognizer); + + switch (prop_id) { + case PROP_LANGUAGE: + if (priv->language) + g_free(priv->language); + priv->language = g_value_dup_string (value); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); + break; + } +} + +static void +get_property (GObject *object, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + TomoeRecognizer *recognizer; + TomoeRecognizerPrivate *priv; + + recognizer = TOMOE_RECOGNIZER (object); + priv = TOMOE_RECOGNIZER_GET_PRIVATE (recognizer); + + switch (prop_id) { + case PROP_LANGUAGE: + g_value_set_string (value, priv->language); + break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec); + break; + } +} + /** * tomoe_recognizer_new: * @name: The name of recognizer type. @@ -122,6 +229,42 @@ return NULL; } +/** + * tomoe_recognizer_get_lanaugage: + * @recognizer: a TomoeRecognizer object. + * + * Return value: A language used by the recognizer or %NULL. The + * value should not free. + */ +const gchar * +tomoe_recognizer_get_language (TomoeRecognizer *recognizer) +{ + g_return_val_if_fail (TOMOE_IS_RECOGNIZER (recognizer), NULL); + + return TOMOE_RECOGNIZER_GET_PRIVATE (recognizer)->language; +} + +/** + * tomoe_recognizer_is_available: + * @recognizer: a TomoeRecognizer object. + * + * Return value: %TRUE if the recognizer is available, + * %FALSE otherwise. + */ +gboolean +tomoe_recognizer_is_available (TomoeRecognizer *recognizer) +{ + TomoeRecognizerClass *klass; + + g_return_val_if_fail (TOMOE_IS_RECOGNIZER (recognizer), FALSE); + + klass = TOMOE_RECOGNIZER_GET_CLASS (recognizer); + if (klass->is_available) + return klass->is_available (recognizer); + else + return FALSE; +} + /* vi:ts=4:nowrap:ai:expandtab */ Modified: tomoe/trunk/lib/tomoe-recognizer.h =================================================================== --- tomoe/trunk/lib/tomoe-recognizer.h 2007-04-12 05:26:57 UTC (rev 1180) +++ tomoe/trunk/lib/tomoe-recognizer.h 2007-04-12 05:32:21 UTC (rev 1181) @@ -1,6 +1,6 @@ /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* - * Copyright (C) 2006 Kouhei Sutou <ko...@co...> + * Copyright (C) 2006-2007 Kouhei Sutou <ko...@co...> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -49,8 +49,9 @@ { GObjectClass parent_class; - GList *(*search) (TomoeRecognizer *recognizer, - TomoeWriting *input); + GList *(*search) (TomoeRecognizer *recognizer, + TomoeWriting *input); + gboolean (*is_available) (TomoeRecognizer *recognizer); }; GType tomoe_recognizer_get_type (void) G_GNUC_CONST; @@ -68,6 +69,10 @@ GList *tomoe_recognizer_search (TomoeRecognizer *recognizer, TomoeWriting *input); +const gchar *tomoe_recognizer_get_language (TomoeRecognizer *recognizer); + +gboolean tomoe_recognizer_is_available (TomoeRecognizer *recognizer); + G_END_DECLS #endif /* __TOMOE_RECOGNIZER_H__ */ Modified: tomoe/trunk/module/recognizer/tomoe-recognizer-simple.c =================================================================== --- tomoe/trunk/module/recognizer/tomoe-recognizer-simple.c 2007-04-12 05:26:57 UTC (rev 1180) +++ tomoe/trunk/module/recognizer/tomoe-recognizer-simple.c 2007-04-12 05:32:21 UTC (rev 1181) @@ -23,6 +23,8 @@ #include <stdlib.h> #include <gmodule.h> +#include <glib/gi18n.h> + #include <tomoe-module-impl.h> #include <tomoe-recognizer.h> #include "tomoe-recognizer-simple-logic.h" @@ -70,6 +72,7 @@ GParamSpec *pspec); static GList *search (TomoeRecognizer *recognizer, TomoeWriting *input); +static gboolean is_available (TomoeRecognizer *recognizer); static void class_init (TomoeRecognizerSimpleClass *klass) @@ -87,14 +90,15 @@ recognizer_class = TOMOE_RECOGNIZER_CLASS (klass); recognizer_class->search = search; + recognizer_class->is_available = is_available; g_object_class_install_property ( gobject_class, PROP_DICTIONARY, g_param_spec_object ( "dictionary", - "Dictionary", - "The dictionary of the recognizer", + _("Dictionary"), + _("The dictionary of the recognizer"), TOMOE_TYPE_DICT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); } @@ -172,20 +176,29 @@ recognizer = TOMOE_RECOGNIZER_SIMPLE (object); if (!recognizer->dict) { - gchar *filename = g_build_filename (RECOGNIZER_DATADIR, - "handwriting.xml", - NULL); - recognizer->dict = - tomoe_dict_new ("xml", - "filename", filename, - NULL); + const gchar *language; + gchar *dict_name; + gchar *filename; + + language = tomoe_recognizer_get_language (TOMOE_RECOGNIZER (object)); + if (language) + dict_name = g_strconcat ("handwriting-", language, ".xml", NULL); + else + dict_name = g_strdup ("handwriting.xml"); + + filename = g_build_filename (RECOGNIZER_DATADIR, dict_name, NULL); + recognizer->dict = tomoe_dict_new ("xml", + "filename", filename, + NULL); + if (recognizer->dict && !tomoe_dict_is_available (recognizer->dict)) { + g_object_unref (recognizer->dict); + recognizer->dict = NULL; + } + + g_free(dict_name); g_free(filename); } - if (!recognizer->dict) { - g_warning ("dictionary isn't set for TomoeRecognizerSimple."); - } - return object; } @@ -256,6 +269,15 @@ input); } +static gboolean +is_available (TomoeRecognizer *_recognizer) +{ + TomoeRecognizerSimple *recognizer; + + recognizer = TOMOE_RECOGNIZER_SIMPLE (_recognizer); + return recognizer->dict != NULL; +} + /* vi:ts=4:nowrap:ai:expandtab */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kt...@us...> - 2007-04-12 05:26:55
|
Revision: 1180 http://tomoe.svn.sourceforge.net/tomoe/?rev=1180&view=rev Author: ktou Date: 2007-04-11 22:26:57 -0700 (Wed, 11 Apr 2007) Log Message: ----------- * module/dict/tomoe-dict-xml.c (is_available): improved check. (tomoe_dict_xml_save): saved only modified. Modified Paths: -------------- tomoe/trunk/ChangeLog tomoe/trunk/module/dict/tomoe-dict-xml.c Modified: tomoe/trunk/ChangeLog =================================================================== --- tomoe/trunk/ChangeLog 2007-04-12 05:09:35 UTC (rev 1179) +++ tomoe/trunk/ChangeLog 2007-04-12 05:26:57 UTC (rev 1180) @@ -1,5 +1,13 @@ 2007-04-12 Kouhei Sutou <ko...@co...> + * module/dict/tomoe-dict-xml.c + (is_available): improved check. + (tomoe_dict_xml_save): saved only modified. + + * lib/tomoe-dict.[ch] (tomoe_dict_is_available): added. + * module/dict/tomoe-dict-*.c: implemented tomoe_dict_is_available + interface. + * module/dict/tomoe-dict-xml.c (tomoe_dict_xml_save): checked filename is available. Modified: tomoe/trunk/module/dict/tomoe-dict-xml.c =================================================================== --- tomoe/trunk/module/dict/tomoe-dict-xml.c 2007-04-12 05:09:35 UTC (rev 1179) +++ tomoe/trunk/module/dict/tomoe-dict-xml.c 2007-04-12 05:26:57 UTC (rev 1180) @@ -145,7 +145,7 @@ "editable", "Editable", "Editable flag", - TRUE, + FALSE, G_PARAM_READWRITE)); } @@ -360,12 +360,7 @@ g_return_val_if_fail (TOMOE_IS_DICT_XML (dict), FALSE); - if (dict->editable && dict->modified) { - dict->modified = FALSE; - return tomoe_dict_xml_save (dict); - } else { - return TRUE; - } + return tomoe_dict_xml_save (dict); } static gboolean @@ -385,10 +380,14 @@ g_return_val_if_fail (TOMOE_IS_DICT_XML (dict), FALSE); - if (!dict->editable) - return TRUE; + if (dict->editable && !dict->filename) + return FALSE; - return dict->filename != NULL; + if (!dict->editable && dict->filename && + !g_file_test (dict->filename, G_FILE_TEST_EXISTS)) + return FALSE; + + return TRUE; } static gchar * @@ -432,9 +431,13 @@ guint i; g_return_val_if_fail (TOMOE_IS_DICT_XML (dict), FALSE); + if (!dict->editable) return FALSE; + g_return_val_if_fail (dict->filename, FALSE); + if (!dict->modified) return TRUE; + xml = g_string_new ( "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n" "<!DOCTYPE dictionary SYSTEM \"" DATADIR "/dict.dtd\">\n"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kt...@us...> - 2007-04-12 05:09:41
|
Revision: 1179 http://tomoe.svn.sourceforge.net/tomoe/?rev=1179&view=rev Author: ktou Date: 2007-04-11 22:09:35 -0700 (Wed, 11 Apr 2007) Log Message: ----------- * lib/tomoe-dict.[ch] (tomoe_dict_is_available): added. * module/dict/tomoe-dict-*.c: implemented tomoe_dict_is_available interface. Modified Paths: -------------- tomoe/trunk/lib/tomoe-dict.c tomoe/trunk/lib/tomoe-dict.h tomoe/trunk/module/dict/tomoe-dict-est.c tomoe/trunk/module/dict/tomoe-dict-mysql.c tomoe/trunk/module/dict/tomoe-dict-svn.c tomoe/trunk/module/dict/tomoe-dict-unihan.c tomoe/trunk/module/dict/tomoe-dict-xml.c Modified: tomoe/trunk/lib/tomoe-dict.c =================================================================== --- tomoe/trunk/lib/tomoe-dict.c 2007-04-12 04:52:00 UTC (rev 1178) +++ tomoe/trunk/lib/tomoe-dict.c 2007-04-12 05:09:35 UTC (rev 1179) @@ -68,6 +68,7 @@ klass->search = NULL; klass->flush = NULL; klass->is_editable = NULL; + klass->is_available = NULL; klass->get_available_private_utf8 = NULL; } @@ -259,6 +260,20 @@ return FALSE; } +gboolean +tomoe_dict_is_available (TomoeDict *dict) +{ + TomoeDictClass *klass; + + g_return_val_if_fail (TOMOE_IS_DICT (dict), FALSE); + + klass = TOMOE_DICT_GET_CLASS (dict); + if (klass->is_available) + return klass->is_available (dict); + else + return FALSE; +} + gchar * tomoe_dict_get_available_private_utf8 (TomoeDict *dict) { Modified: tomoe/trunk/lib/tomoe-dict.h =================================================================== --- tomoe/trunk/lib/tomoe-dict.h 2007-04-12 04:52:00 UTC (rev 1178) +++ tomoe/trunk/lib/tomoe-dict.h 2007-04-12 05:09:35 UTC (rev 1179) @@ -64,6 +64,7 @@ TomoeQuery *query); gboolean (*flush) (TomoeDict *dict); gboolean (*is_editable) (TomoeDict *dict); + gboolean (*is_available) (TomoeDict *dict); gchar *(*get_available_private_utf8) (TomoeDict *dict); }; @@ -98,6 +99,7 @@ gboolean tomoe_dict_is_editable (TomoeDict *dict); +gboolean tomoe_dict_is_available (TomoeDict *dict); gchar *tomoe_dict_get_available_private_utf8 (TomoeDict *dict); Modified: tomoe/trunk/module/dict/tomoe-dict-est.c =================================================================== --- tomoe/trunk/module/dict/tomoe-dict-est.c 2007-04-12 04:52:00 UTC (rev 1178) +++ tomoe/trunk/module/dict/tomoe-dict-est.c 2007-04-12 05:09:35 UTC (rev 1179) @@ -100,6 +100,7 @@ TomoeQuery *query); static gboolean flush (TomoeDict *dict); static gboolean is_editable (TomoeDict *dict); +static gboolean is_available (TomoeDict *dict); static gchar *get_available_private_utf8 (TomoeDict *dict); static gboolean tomoe_dict_est_open (TomoeDictEst *dict); static gboolean tomoe_dict_est_close (TomoeDictEst *dict); @@ -127,6 +128,7 @@ dict_class->search = search; dict_class->flush = flush; dict_class->is_editable = is_editable; + dict_class->is_available = is_available; dict_class->get_available_private_utf8 = get_available_private_utf8; g_object_class_install_property ( @@ -630,6 +632,16 @@ return dict->editable; } +static gboolean +is_available (TomoeDict *_dict) +{ + TomoeDictEst *dict = TOMOE_DICT_EST (_dict); + + g_return_val_if_fail (TOMOE_IS_DICT_EST (dict), FALSE); + + return dict->db != NULL; +} + static gchar * get_available_private_utf8 (TomoeDict *_dict) { Modified: tomoe/trunk/module/dict/tomoe-dict-mysql.c =================================================================== --- tomoe/trunk/module/dict/tomoe-dict-mysql.c 2007-04-12 04:52:00 UTC (rev 1178) +++ tomoe/trunk/module/dict/tomoe-dict-mysql.c 2007-04-12 05:09:35 UTC (rev 1179) @@ -115,6 +115,7 @@ TomoeQuery *query); static gboolean flush (TomoeDict *dict); static gboolean is_editable (TomoeDict *dict); +static gboolean is_available (TomoeDict *dict); static gchar *get_available_private_utf8 (TomoeDict *dict); static gboolean tomoe_dict_mysql_connect (TomoeDictMySQL *dict); static gboolean tomoe_dict_mysql_close (TomoeDictMySQL *dict); @@ -142,6 +143,7 @@ dict_class->search = search; dict_class->flush = flush; dict_class->is_editable = is_editable; + dict_class->is_available = is_available; dict_class->get_available_private_utf8 = get_available_private_utf8; g_object_class_install_property ( @@ -1069,6 +1071,16 @@ return dict->editable; } +static gboolean +is_available (TomoeDict *_dict) +{ + TomoeDictMySQL *dict = TOMOE_DICT_MYSQL (_dict); + + g_return_val_if_fail (TOMOE_IS_DICT_MYSQL (dict), FALSE); + + return dict->mysql != NULL; +} + static gchar * get_available_private_utf8 (TomoeDict *_dict) { Modified: tomoe/trunk/module/dict/tomoe-dict-svn.c =================================================================== --- tomoe/trunk/module/dict/tomoe-dict-svn.c 2007-04-12 04:52:00 UTC (rev 1178) +++ tomoe/trunk/module/dict/tomoe-dict-svn.c 2007-04-12 05:09:35 UTC (rev 1179) @@ -97,6 +97,7 @@ TomoeQuery *query); static gboolean flush (TomoeDict *dict); static gboolean is_editable (TomoeDict *dict); +static gboolean is_available (TomoeDict *dict); static gchar *get_available_private_utf8 (TomoeDict *dict); static gboolean tomoe_dict_svn_update (TomoeDictSvn *dict, @@ -126,6 +127,7 @@ dict_class->search = search; dict_class->flush = flush; dict_class->is_editable = is_editable; + dict_class->is_available = is_available; dict_class->get_available_private_utf8 = get_available_private_utf8; g_object_class_install_property ( @@ -300,12 +302,12 @@ dict = TOMOE_DICT_SVN (object); - if (dict->working_copy && - g_file_test (dict->working_copy, G_FILE_TEST_EXISTS)) - flush (TOMOE_DICT (object)); + if (dict->working_copy) { + if (g_file_test (dict->working_copy, G_FILE_TEST_EXISTS)) + flush (TOMOE_DICT (object)); + g_free (dict->working_copy); + } - if (dict->working_copy) - g_free (dict->working_copy); if (dict->sub_dict) g_object_unref (dict->sub_dict); if (dict->pool) @@ -409,6 +411,23 @@ return tomoe_dict_is_editable (dict->sub_dict); } +static gboolean +is_available (TomoeDict *_dict) +{ + TomoeDictSvn *dict = TOMOE_DICT_SVN (_dict); + + g_return_val_if_fail (TOMOE_IS_DICT_SVN (dict), FALSE); + g_return_val_if_fail (TOMOE_IS_DICT (dict->sub_dict), FALSE); + + if (!dict->working_copy) + return FALSE; + + if (!g_file_test (dict->working_copy, G_FILE_TEST_EXISTS)) + return FALSE; + + return tomoe_dict_is_available (dict->sub_dict); +} + static gchar * get_available_private_utf8 (TomoeDict *_dict) { Modified: tomoe/trunk/module/dict/tomoe-dict-unihan.c =================================================================== --- tomoe/trunk/module/dict/tomoe-dict-unihan.c 2007-04-12 04:52:00 UTC (rev 1178) +++ tomoe/trunk/module/dict/tomoe-dict-unihan.c 2007-04-12 05:09:35 UTC (rev 1179) @@ -88,6 +88,7 @@ TomoeQuery *query); static gboolean flush (TomoeDict *dict); static gboolean is_editable (TomoeDict *dict); +static gboolean is_available (TomoeDict *dict); static gchar *get_available_private_utf8 (TomoeDict *dict); static void @@ -112,6 +113,7 @@ dict_class->search = search; dict_class->flush = flush; dict_class->is_editable = is_editable; + dict_class->is_available = is_available; dict_class->get_available_private_utf8 = get_available_private_utf8; g_object_class_install_property ( @@ -308,6 +310,12 @@ return FALSE; } +static gboolean +is_available (TomoeDict *_dict) +{ + return TRUE; +} + static gchar * get_available_private_utf8 (TomoeDict *_dict) { Modified: tomoe/trunk/module/dict/tomoe-dict-xml.c =================================================================== --- tomoe/trunk/module/dict/tomoe-dict-xml.c 2007-04-12 04:52:00 UTC (rev 1178) +++ tomoe/trunk/module/dict/tomoe-dict-xml.c 2007-04-12 05:09:35 UTC (rev 1179) @@ -97,6 +97,7 @@ TomoeQuery *query); static gboolean flush (TomoeDict *dict); static gboolean is_editable (TomoeDict *dict); +static gboolean is_available (TomoeDict *dict); static gchar *get_available_private_utf8 (TomoeDict *dict); static gboolean tomoe_dict_xml_load (TomoeDictXML *dict); static gboolean tomoe_dict_xml_save (TomoeDictXML *dict); @@ -124,6 +125,7 @@ dict_class->search = search; dict_class->flush = flush; dict_class->is_editable = is_editable; + dict_class->is_available = is_available; dict_class->get_available_private_utf8 = get_available_private_utf8; @@ -376,6 +378,19 @@ return dict->editable; } +static gboolean +is_available (TomoeDict *_dict) +{ + TomoeDictXML *dict = TOMOE_DICT_XML (_dict); + + g_return_val_if_fail (TOMOE_IS_DICT_XML (dict), FALSE); + + if (!dict->editable) + return TRUE; + + return dict->filename != NULL; +} + static gchar * get_available_private_utf8 (TomoeDict *_dict) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kt...@us...> - 2007-04-12 04:52:21
|
Revision: 1178 http://tomoe.svn.sourceforge.net/tomoe/?rev=1178&view=rev Author: ktou Date: 2007-04-11 21:52:00 -0700 (Wed, 11 Apr 2007) Log Message: ----------- * module/dict/tomoe-dict-xml.c (tomoe_dict_xml_save): checked filename is available. Modified Paths: -------------- tomoe/trunk/ChangeLog tomoe/trunk/module/dict/tomoe-dict-xml.c Modified: tomoe/trunk/ChangeLog =================================================================== --- tomoe/trunk/ChangeLog 2007-04-12 02:07:01 UTC (rev 1177) +++ tomoe/trunk/ChangeLog 2007-04-12 04:52:00 UTC (rev 1178) @@ -1,3 +1,8 @@ +2007-04-12 Kouhei Sutou <ko...@co...> + + * module/dict/tomoe-dict-xml.c (tomoe_dict_xml_save): checked + filename is available. + 2007-04-11 Kouhei Sutou <ko...@co...> * autogen.sh, configure.ac, po/: supported intltoolize and Modified: tomoe/trunk/module/dict/tomoe-dict-xml.c =================================================================== --- tomoe/trunk/module/dict/tomoe-dict-xml.c 2007-04-12 02:07:01 UTC (rev 1177) +++ tomoe/trunk/module/dict/tomoe-dict-xml.c 2007-04-12 04:52:00 UTC (rev 1178) @@ -416,8 +416,9 @@ gboolean success; guint i; - g_return_val_if_fail (TOMOE_IS_DICT (dict), FALSE); + g_return_val_if_fail (TOMOE_IS_DICT_XML (dict), FALSE); if (!dict->editable) return FALSE; + g_return_val_if_fail (dict->filename, FALSE); xml = g_string_new ( "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hu...@us...> - 2007-04-12 02:07:03
|
Revision: 1177 http://tomoe.svn.sourceforge.net/tomoe/?rev=1177&view=rev Author: huzheng Date: 2007-04-11 19:07:01 -0700 (Wed, 11 Apr 2007) Log Message: ----------- add wqy2xml tool Added Paths: ----------- tools/ tools/wqy2xml/ tools/wqy2xml/AUTHORS tools/wqy2xml/COPYING tools/wqy2xml/ChangeLog tools/wqy2xml/INSTALL tools/wqy2xml/Makefile.am tools/wqy2xml/NEWS tools/wqy2xml/README tools/wqy2xml/autogen.sh tools/wqy2xml/configure.ac tools/wqy2xml/src/ tools/wqy2xml/src/Makefile.am tools/wqy2xml/src/data/ tools/wqy2xml/src/data/4E0B.dat tools/wqy2xml/src/data/4F07.dat tools/wqy2xml/src/data/4F0B.dat tools/wqy2xml/src/data/4F15.dat tools/wqy2xml/src/data/5204.dat tools/wqy2xml/src/data/5303.dat tools/wqy2xml/src/data/5305.dat tools/wqy2xml/src/data/540B.dat tools/wqy2xml/src/data/5500.dat tools/wqy2xml/src/data/550E.dat tools/wqy2xml/src/data/5612.dat tools/wqy2xml/src/data/5613.dat tools/wqy2xml/src/data/5615.dat tools/wqy2xml/src/data/5701.dat tools/wqy2xml/src/data/5709.dat tools/wqy2xml/src/data/5713.dat tools/wqy2xml/src/data/5715.dat tools/wqy2xml/src/data/5910.dat tools/wqy2xml/src/data/5915.dat tools/wqy2xml/src/data/5A06.dat tools/wqy2xml/src/data/5C04.dat tools/wqy2xml/src/data/5C0D.dat tools/wqy2xml/src/data/5E0C.dat tools/wqy2xml/src/data/5F13.dat tools/wqy2xml/src/data/5F14.dat tools/wqy2xml/src/data/6011.dat tools/wqy2xml/src/data/6212.dat tools/wqy2xml/src/data/6303.dat tools/wqy2xml/src/data/6308.dat tools/wqy2xml/src/data/640D.dat tools/wqy2xml/src/data/680E.dat tools/wqy2xml/src/data/6905.dat tools/wqy2xml/src/data/6909.dat tools/wqy2xml/src/data/6C12.dat tools/wqy2xml/src/data/6D02.dat tools/wqy2xml/src/data/6D10.dat tools/wqy2xml/src/data/6E01.dat tools/wqy2xml/src/data/7001.dat tools/wqy2xml/src/data/700C.dat tools/wqy2xml/src/data/7010.dat tools/wqy2xml/src/data/7015.dat tools/wqy2xml/src/data/7202.dat tools/wqy2xml/src/data/7215.dat tools/wqy2xml/src/data/7501.dat tools/wqy2xml/src/data/7612.dat tools/wqy2xml/src/data/7702.dat tools/wqy2xml/src/data/7705.dat tools/wqy2xml/src/data/7806.dat tools/wqy2xml/src/data/7807.dat tools/wqy2xml/src/data/780C.dat tools/wqy2xml/src/data/790A.dat tools/wqy2xml/src/data/7B0F.dat tools/wqy2xml/src/data/7B13.dat tools/wqy2xml/src/data/7D00.dat tools/wqy2xml/src/data/7D02.dat tools/wqy2xml/src/data/7D06.dat tools/wqy2xml/src/data/7D0B.dat tools/wqy2xml/src/data/7D12.dat tools/wqy2xml/src/data/7F13.dat tools/wqy2xml/src/data/8005.dat tools/wqy2xml/src/data/8007.dat tools/wqy2xml/src/data/8009.dat tools/wqy2xml/src/data/8013.dat tools/wqy2xml/src/data/810E.dat tools/wqy2xml/src/data/8116.dat tools/wqy2xml/src/data/8200.dat tools/wqy2xml/src/data/830B.dat tools/wqy2xml/src/data/8413.dat tools/wqy2xml/src/data/8515.dat tools/wqy2xml/src/data/8609.dat tools/wqy2xml/src/data/8802.dat tools/wqy2xml/src/data/8C0B.dat tools/wqy2xml/src/data/8C0F.dat tools/wqy2xml/src/data/8D14.dat tools/wqy2xml/src/data/8E10.dat tools/wqy2xml/src/data/8F02.dat tools/wqy2xml/src/data/8F07.dat tools/wqy2xml/src/data/9005.dat tools/wqy2xml/src/data/900C.dat tools/wqy2xml/src/data/9106.dat tools/wqy2xml/src/data/9316.dat tools/wqy2xml/src/data/9601.dat tools/wqy2xml/src/data/9606.dat tools/wqy2xml/src/data/9609.dat tools/wqy2xml/src/data/970A.dat tools/wqy2xml/src/data/9807.dat tools/wqy2xml/src/data/980E.dat tools/wqy2xml/src/data/9813.dat tools/wqy2xml/src/data/9A14.dat tools/wqy2xml/src/data/9D04.dat tools/wqy2xml/src/data/9D14.dat tools/wqy2xml/src/data/9E09.dat tools/wqy2xml/src/data/9E0C.dat tools/wqy2xml/src/data/9E0F.dat tools/wqy2xml/src/data/9F02.dat tools/wqy2xml/src/data/Makefile.am tools/wqy2xml/src/wqy2xml.cpp Added: tools/wqy2xml/AUTHORS =================================================================== --- tools/wqy2xml/AUTHORS (rev 0) +++ tools/wqy2xml/AUTHORS 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1 @@ +Hu Zheng <huz...@16...> http://forlinux.yeah.net Added: tools/wqy2xml/COPYING =================================================================== --- tools/wqy2xml/COPYING (rev 0) +++ tools/wqy2xml/COPYING 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. Added: tools/wqy2xml/ChangeLog =================================================================== Added: tools/wqy2xml/INSTALL =================================================================== --- tools/wqy2xml/INSTALL (rev 0) +++ tools/wqy2xml/INSTALL 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,236 @@ +Installation Instructions +************************* + +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free +Software Foundation, Inc. + +This file is free documentation; the Free Software Foundation gives +unlimited permission to copy, distribute and modify it. + +Basic Installation +================== + +These are generic installation instructions. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, and a +file `config.log' containing compiler output (useful mainly for +debugging `configure'). + + It can also use an optional file (typically called `config.cache' +and enabled with `--cache-file=config.cache' or simply `-C') that saves +the results of its tests to speed up reconfiguring. (Caching is +disabled by default to prevent problems with accidental use of stale +cache files.) + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If you are using the cache, and at +some point `config.cache' contains results you don't want to keep, you +may remove or edit it. + + The file `configure.ac' (or `configure.in') is used to create +`configure' by a program called `autoconf'. You only need +`configure.ac' if you want to change it or regenerate `configure' using +a newer version of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. If you're + using `csh' on an old version of System V, you might need to type + `sh ./configure' instead to prevent `csh' from trying to execute + `configure' itself. + + Running `configure' takes awhile. While running, it prints some + messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + +Compilers and Options +===================== + +Some systems require unusual options for compilation or linking that the +`configure' script does not know about. Run `./configure --help' for +details on some of the pertinent environment variables. + + You can give `configure' initial values for configuration parameters +by setting variables in the command line or in the environment. Here +is an example: + + ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix + + *Note Defining Variables::, for more details. + +Compiling For Multiple Architectures +==================================== + +You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you must use a version of `make' that +supports the `VPATH' variable, such as GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + If you have to use a `make' that does not support the `VPATH' +variable, you have to compile the package for one architecture at a +time in the source code directory. After you have installed the +package for one architecture, use `make distclean' before reconfiguring +for another architecture. + +Installation Names +================== + +By default, `make install' installs the package's commands under +`/usr/local/bin', include files under `/usr/local/include', etc. You +can specify an installation prefix other than `/usr/local' by giving +`configure' the option `--prefix=PREFIX'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +pass the option `--exec-prefix=PREFIX' to `configure', the package uses +PREFIX as the prefix for installing programs and libraries. +Documentation and other data files still use the regular prefix. + + In addition, if you use an unusual directory layout you can give +options like `--bindir=DIR' to specify different values for particular +kinds of files. Run `configure --help' for a list of the directories +you can set and what kinds of files go in them. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + +Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Specifying the System Type +========================== + +There may be some features `configure' cannot figure out automatically, +but needs to determine by the type of machine the package will run on. +Usually, assuming the package is built to be run on the _same_ +architectures, `configure' can figure that out, but if it prints a +message saying it cannot guess the machine type, give it the +`--build=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name which has the form: + + CPU-COMPANY-SYSTEM + +where SYSTEM can have one of these forms: + + OS KERNEL-OS + + See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the machine type. + + If you are _building_ compiler tools for cross-compiling, you should +use the option `--target=TYPE' to select the type of system they will +produce code for. + + If you want to _use_ a cross compiler, that generates code for a +platform different from the build platform, you should specify the +"host" platform (i.e., that on which the generated programs will +eventually be run) with `--host=TYPE'. + +Sharing Defaults +================ + +If you want to set default values for `configure' scripts to share, you +can create a site shell script called `config.site' that gives default +values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Defining Variables +================== + +Variables not defined in a site shell script can be set in the +environment passed to `configure'. However, some packages may run +configure again during the build, and the customized values of these +variables may be lost. In order to avoid this problem, you should set +them in the `configure' command line, using `VAR=value'. For example: + + ./configure CC=/usr/local2/bin/gcc + +causes the specified `gcc' to be used as the C compiler (unless it is +overridden in the site shell script). Here is a another example: + + /bin/bash ./configure CONFIG_SHELL=/bin/bash + +Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent +configuration-related scripts to be executed by `/bin/bash'. + +`configure' Invocation +====================== + +`configure' recognizes the following options to control how it operates. + +`--help' +`-h' + Print a summary of the options to `configure', and exit. + +`--version' +`-V' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`--cache-file=FILE' + Enable the cache: use and save the results of the tests in FILE, + traditionally `config.cache'. FILE defaults to `/dev/null' to + disable caching. + +`--config-cache' +`-C' + Alias for `--cache-file=config.cache'. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. To + suppress all normal output, redirect it to `/dev/null' (any error + messages will still be shown). + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`configure' also accepts some other, not widely useful, options. Run +`configure --help' for more details. + Added: tools/wqy2xml/Makefile.am =================================================================== --- tools/wqy2xml/Makefile.am (rev 0) +++ tools/wqy2xml/Makefile.am 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,3 @@ +SUBDIRS = src + +EXTRA_DIST = autogen.sh Added: tools/wqy2xml/NEWS =================================================================== Added: tools/wqy2xml/README =================================================================== Added: tools/wqy2xml/autogen.sh =================================================================== --- tools/wqy2xml/autogen.sh (rev 0) +++ tools/wqy2xml/autogen.sh 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,37 @@ +#!/bin/sh + +(libtoolize --version) < /dev/null > /dev/null 2>&1 || { + echo; + echo "You must have libtool installed to compile wqy2xml"; + echo; + exit; +} + +(automake --version) < /dev/null > /dev/null 2>&1 || { + echo; + echo "You must have automake installed to compile wqy2xml"; + echo; + exit; +} + +(autoconf --version) < /dev/null > /dev/null 2>&1 || { + echo; + echo "You must have autoconf installed to compile wqy2xml"; + echo; + exit; +} + +echo "Generating configuration files for wqy2xml, please wait...." +echo; + +echo "Running aclocal...." +aclocal || exit; +echo "Running autoheader...." +autoheader || exit; +echo "Running automake --add-missing --copy...." +automake --add-missing --copy; +echo "Running autoconf ...." +autoconf || exit; +echo "Running automake ...." +automake || exit; +./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man $@ Property changes on: tools/wqy2xml/autogen.sh ___________________________________________________________________ Name: svn:executable + * Added: tools/wqy2xml/configure.ac =================================================================== --- tools/wqy2xml/configure.ac (rev 0) +++ tools/wqy2xml/configure.ac 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,34 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT(wqy2xml, 1.0, http://www.wqy.org) +AC_CONFIG_SRCDIR([src/wqy2xml.cpp]) +AM_INIT_AUTOMAKE([dist-bzip2]) +AC_CONFIG_HEADER([config.h]) + +# Checks for programs. +AC_PROG_CXX + +# Checks for libraries. + +# Checks for header files. + +# Checks for typedefs, structures, and compiler characteristics. +AC_C_CONST + +# Checks for library functions. +DEP_MODULES="glib-2.0 >= 2.6" +PKG_CHECK_MODULES(WQY2XML, $DEP_MODULES) +WQY2XML_CFLAGS="-Wall $WQY2XML_CFLAGS" + +AC_CONFIG_FILES([Makefile + src/Makefile + src/data/Makefile]) +AC_OUTPUT + +echo " + +Type \"make\" to compile wqy2xml. + +" Added: tools/wqy2xml/src/Makefile.am =================================================================== --- tools/wqy2xml/src/Makefile.am (rev 0) +++ tools/wqy2xml/src/Makefile.am 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,9 @@ +SUBDIRS = data + +noinst_PROGRAMS = wqy2xml + +INCLUDES = $(WQY2XML_CFLAGS) + +wqy2xml_LDFLAGS = +wqy2xml_LDADD = $(WQY2XML_LIBS) +wqy2xml_SOURCES = wqy2xml.cpp Added: tools/wqy2xml/src/data/4E0B.dat =================================================================== --- tools/wqy2xml/src/data/4E0B.dat (rev 0) +++ tools/wqy2xml/src/data/4E0B.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,10 @@ +<-- +%IP:71.192.98.42. +%UNICODE: 4E0B +%VERSION: 1.113 +%DATE: 6/17/2006 6:02:42 PM +%CREATOR: fa...@gm... +H,0.0073;0.1182,0.9745;00.1182 +S,00.4655;0.1182,0.4655;00.9909 +D,0.5000;0.3582,0.7182;0.4691,0.8273;0.5855 +--> Added: tools/wqy2xml/src/data/4F07.dat =================================================================== --- tools/wqy2xml/src/data/4F07.dat (rev 0) +++ tools/wqy2xml/src/data/4F07.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,13 @@ +<-- +%IP:71.192.98.42. +%UNICODE: 4F07 +%VERSION: 1.113 +%DATE: 8/13/2006 5:29:46 PM +%CREATOR: fa...@gm... +WP,0.2788;0.0308,0.1596;0.3077,0.0096;0.5000 +S,0.1596;0.3192,0.1596;00.9923 +SP,0.5096;0.0250,0.5096;00.2635,0.4442;0.3885,0.3308;0.4788 +HZW,00.5077;0.0750,0.7558;00.0750,0.7558;00.3250,0.8000;0.3692,0.9654;00.3692 +HP,0.4096;0.4846,0.8212;00.4846,0.6154;0.8365,0.3019;0.9885 +N,00.4750;0.4827,00.6500;0.7731,0.9173;0.9288 +--> Added: tools/wqy2xml/src/data/4F0B.dat =================================================================== --- tools/wqy2xml/src/data/4F0B.dat (rev 0) +++ tools/wqy2xml/src/data/4F0B.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,12 @@ +<-- +%IP:24.61.5.77. +%UNICODE: 4F0B +%VERSION: 1.111 +%DATE: 9/12/2005 12:56:25 AM +%CREATOR: fa...@gm... +WP,0.2751;0.0266,0.1670;0.2979,0.0019;0.4934 +S,0.1632;0.2922,0.1575;0.9962 +HZZP,0.3245;0.0930,0.8065;0.0835,0.7116;0.3890,0.8748;0.3852,0.7306;0.7514,0.3795;0.9943 +SP,0.4896;0.0873,0.4744;0.4402,0.3909;0.7552,0.2277;0.9772 +N,0.5180;0.3397,0.7002;0.7362,0.9715;0.9241 +--> Added: tools/wqy2xml/src/data/4F15.dat =================================================================== --- tools/wqy2xml/src/data/4F15.dat (rev 0) +++ tools/wqy2xml/src/data/4F15.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,20 @@ +%UNICODE: 4F15 +%VERSION: 1.111 +%DATE: 8/20/2005 1:03:42 AM +%CREATOR: fa...@gm... +P,0.2765;0.0287,0.1724;0.2819,0.0054;0.4955 +S,0.1903;0.2406,0.1849;0.9928 +H,0.3519;0.2388,0.9246;0.2388 +H,0.3268;0.4650,0.9767;0.4614 +SP,0.6463;0.0126,0.6338;0.5350,0.4686;0.8384,0.2316;0.9892 +N,0.6697;0.4955,0.8115;0.7989,0.9731;0.9354 +%UNICODE: 4F15 +%VERSION: 1.111 +%DATE: 8/20/2005 1:03:42 AM +%CREATOR: fa...@gm... +P,0.2765;0.0287,0.1724;0.2819,0.0054;0.4955 +S,0.1903;0.2406,0.1849;0.9928 +H,0.3519;0.2388,0.9246;0.2388 +H,0.3268;0.4650,0.9767;0.4614 +SP,0.6463;0.0126,0.6338;0.5350,0.4686;0.8384,0.2316;0.9892 +N,0.6697;0.4955,0.8115;0.7989,0.9731;0.9354 Added: tools/wqy2xml/src/data/5204.dat =================================================================== --- tools/wqy2xml/src/data/5204.dat (rev 0) +++ tools/wqy2xml/src/data/5204.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,10 @@ +<-- +%IP:66.31.52.112. +%UNICODE: 5204 +%VERSION: 1.112 +%DATE: 2/9/2006 1:30:03 AM +%CREATOR: fa...@gm... +HZG,0.1070;0.0837,0.7651;0.0791,0.7326;0.8372,0.6395;0.9512,0.4581;0.9163 +SP,0.4419;0.0884,0.4419;0.3744,0.2698;0.8000,0.0186;0.9977 +N,0.1558;0.2837,0.4953;0.6442,0.9233;0.8744 +--> Added: tools/wqy2xml/src/data/5303.dat =================================================================== --- tools/wqy2xml/src/data/5303.dat (rev 0) +++ tools/wqy2xml/src/data/5303.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,12 @@ +<-- +%IP:66.31.52.112. +%UNICODE: 5303 +%VERSION: 1.113 +%DATE: 5/6/2006 2:56:54 PM +%CREATOR: fa...@gm... +P,0.2764;0.0273,0.2018;0.2309,0.0291;0.4182 +HZG,00.2273;0.1564,0.9073;00.1564,0.9073;00.8145,0.8182;0.9545,0.6273;0.9109 +SP,0.5127;0.2782,0.5127;00.4345,0.4345;0.5927,0.3036;0.7218 +D,0.5236;0.4745,0.6400;0.5891,0.7200;0.6964 +SZ,0.2091;0.4055,0.2091;00.8073,0.7891;00.8073 +--> Added: tools/wqy2xml/src/data/5305.dat =================================================================== --- tools/wqy2xml/src/data/5305.dat (rev 0) +++ tools/wqy2xml/src/data/5305.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,12 @@ +<-- +%IP:71.192.98.42. +%UNICODE: 5305 +%VERSION: 1.113 +%DATE: 8/6/2006 6:34:27 PM +%CREATOR: fa...@gm... +P,0.3346;0.0288,0.2038;0.3231,0.0250;0.5404 +HZG,00.2519;0.2135,0.8135;00.2135,0.8135;00.6769,0.7500;0.7269,0.6558;0.6885 +HZ,0.2173;0.3865,0.5538;00.3865,0.5538;00.6615 +H,0.2154;0.6096,00.5519;00.6115 +SWG,0.2173;0.3538,0.2173;00.9058,0.2712;0.9500,0.9212;00.9481,0.9212;0.6923 +--> Added: tools/wqy2xml/src/data/540B.dat =================================================================== --- tools/wqy2xml/src/data/540B.dat (rev 0) +++ tools/wqy2xml/src/data/540B.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,13 @@ +<-- +%IP:71.192.98.42. +%UNICODE: 540B +%VERSION: 1.113 +%DATE: 8/18/2006 10:32:19 PM +%CREATOR: fa...@gm... +S,0.0673;0.1382,0.0673;00.7964 +HZ,00.0673;0.1836,0.2909;00.1836,0.2909;00.7636 +H,00.0655;0.6818,00.2873;0.6818 +H,0.3764;00.2618,0.9909;00.2636 +SG,0.7855;0.0109,0.7855;00.8745,0.7364;0.9491,0.5582;0.9036 +D,0.4600;0.3836,0.5618;0.5000,0.6164;0.5927 +--> Added: tools/wqy2xml/src/data/5500.dat =================================================================== --- tools/wqy2xml/src/data/5500.dat (rev 0) +++ tools/wqy2xml/src/data/5500.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,17 @@ +<-- +%IP:71.192.98.42. +%UNICODE: 5500 +%VERSION: 1.113 +%DATE: 8/10/2006 2:08:39 AM +%CREATOR: fa...@gm... +S,0.0654;0.1346,0.0654;00.7596 +HZ,00.0654;0.1712,0.2673;00.1712,0.2673;00.7615 +H,00.0654;0.6788,00.2635;00.6788 +P,0.8577;0.0269,0.6346;0.0827,0.4288;0.1096 +H,0.3462;0.2365,0.9885;00.2365 +S,00.6519;0.0769,0.6519;00.5404 +P,00.6481;0.2500,0.5038;0.4308,0.3442;0.5115 +D,0.6827;0.2731,0.8538;0.3635,0.9692;0.4769 +HZZZG,0.3942;0.5712,0.8096;00.5712,0.7500;0.7154,0.9231;00.7154,0.9231;00.8308,0.8135;0.9481,0.6462;0.9096 +SP,00.5635;0.5712,0.5635;00.6962,0.4365;0.8981,0.2577;0.9962 +--> Added: tools/wqy2xml/src/data/550E.dat =================================================================== --- tools/wqy2xml/src/data/550E.dat (rev 0) +++ tools/wqy2xml/src/data/550E.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,17 @@ +<-- +%IP:24.61.5.77. +%UNICODE: 550E +%VERSION: 1.111 +%DATE: 9/7/2005 12:42:02 AM +%CREATOR: fa...@gm... +S,0.0363;0.1511,0.0306;0.7973 +HZ,0.0382;0.1874,0.2141;0.1836,0.2084;0.7725 +H,0.0344;0.6883,0.2141;0.6864 +P,0.6233;0.0516,0.5124;0.0975,0.3270;0.1396 +H,0.3021;0.3365,0.6922;0.3327 +S,0.5163;0.0880,0.5105;0.9962 +WP,0.4837;0.3862,0.4015;0.6482,0.2811;0.8489 +D,0.5315;0.4398,0.6233;0.5335,0.6673;0.5985 +S,0.7629;0.1568,0.7533;0.7438 +SG,0.9484;0.0153,0.9312;0.8910,0.8910;0.9426,0.7228;0.9140 +--> Added: tools/wqy2xml/src/data/5612.dat =================================================================== --- tools/wqy2xml/src/data/5612.dat (rev 0) +++ tools/wqy2xml/src/data/5612.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,18 @@ +%UNICODE: 5612 +%VERSION: 1.111 +%DATE: 8/24/2005 1:31:40 AM +%CREATOR: fa...@gm... +S,0.0721;0.1556,0.0626;0.7951 +HZ,0.0721;0.1841,0.2448;0.1765,0.2372;0.7780 +H,0.0588;0.6888,0.2353;0.6888 +H,0.3510;0.1366,0.6243;0.1328 +H,0.3795;0.2638,0.6281;0.2600 +H,0.3454;0.4118,0.6262;0.4118 +S,0.5180;0.0000,0.5104;0.5256 +H,0.6812;0.1423,0.9734;0.1385 +H,0.7040;0.2638,0.9507;0.2619 +H,0.6755;0.4156,0.9696;0.4213 +S,0.8178;0.0038,0.8140;0.5237 +HZ,0.3567;0.5863,0.9412;0.5806,0.9507;0.9791 +H,0.3662;0.7590,0.9431;0.7571 +H,0.3416;0.9564,0.9488;0.9526 Added: tools/wqy2xml/src/data/5613.dat =================================================================== --- tools/wqy2xml/src/data/5613.dat (rev 0) +++ tools/wqy2xml/src/data/5613.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,21 @@ +<-- +%IP:71.192.98.42. +%UNICODE: 5613 +%VERSION: 1.113 +%DATE: 6/16/2006 2:15:41 PM +%CREATOR: fa...@gm... +S,0.0473;0.1491,0.0473;00.7945 +HZ,00.0455;0.1764,0.2782;00.1764,0.2782;00.7400 +H,00.0473;0.6891,00.2764;00.6891 +S,0.3836;0.0491,0.3836;00.9909 +HZ,00.3818;0.0836,0.9418;00.0836,0.9418;00.9927 +H,0.4236;0.2818,0.8982;00.2818 +S,0.4909;0.3727,0.4909;00.6436 +HZ,00.4891;0.4036,0.6055;00.4036,0.6055;00.6164 +H,00.4891;0.5855,00.6036;00.5855 +T,0.4436;0.7982,0.6473;0.7036 +XG,0.7000;0.1000,0.7291;0.6145,0.8673;0.8545,0.8673;00.6855 +WP,0.8309;0.4109,0.7455;0.7218,0.5927;0.8927 +D,0.7782;0.1491,0.8255;0.1836,0.8727;0.2364 +H,00.3800;0.9418,00.9400;00.9436 +--> Added: tools/wqy2xml/src/data/5615.dat =================================================================== --- tools/wqy2xml/src/data/5615.dat (rev 0) +++ tools/wqy2xml/src/data/5615.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,21 @@ +<-- +%IP:71.192.98.42. +%UNICODE: 5615 +%VERSION: 1.113 +%DATE: 7/17/2006 8:07:14 PM +%CREATOR: fa...@gm... +S,0.0611;0.1548,0.0611;00.7821 +HZ,00.0591;0.1894,0.2383;00.1894,0.2383;00.7495 +H,00.0611;0.6823,00.2383;00.6843 +H,0.3340;0.0835,0.9572;00.0835 +S,00.6660;0.0815,0.6660;00.3564 +H,00.6660;0.2220,0.8961;00.2220 +S,0.4705;0.1711,0.4705;00.3523 +H,0.3116;0.3646,0.9776;00.3646 +SZZG,00.4990;0.3646,0.4481;0.6130,0.9328;00.6130,0.9328;00.8045,0.8167;0.9430,0.6578;0.9084 +H,00.4766;0.4827,0.9084;00.4827 +D,0.3849;0.7271,0.3625;0.8248,0.2974;0.9043 +D,0.4766;0.7210,0.5336;0.7902,0.5682;0.8554 +D,0.5927;0.7006,0.6701;0.7699,0.7047;0.8248 +D,0.7291;0.6782,0.7841;0.7332,0.8228;0.7984 +--> Added: tools/wqy2xml/src/data/5701.dat =================================================================== --- tools/wqy2xml/src/data/5701.dat (rev 0) +++ tools/wqy2xml/src/data/5701.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,14 @@ +%UNICODE: 5701 +%VERSION: 1.111 +%DATE: 8/22/2005 11:09:10 PM +%CREATOR: fa...@gm... +S,0.0930;0.0323,0.0911;0.9981 +HZ,0.0949;0.0892,0.8824;0.0816,0.8805;0.9981 +D,0.4080;0.1537,0.4839;0.2087,0.5085;0.2789 +H,0.1822;0.2865,0.7989;0.2846 +H,0.2770;0.4118,0.7021;0.4099 +H,0.2789;0.5408,0.6983;0.5370 +S,0.3093;0.6319,0.3112;0.8729 +HZ,0.3093;0.6641,0.6660;0.6641,0.6660;0.8710 +H,0.3055;0.8121,0.6603;0.8121 +H,0.0892;0.9393,0.8880;0.9374 Added: tools/wqy2xml/src/data/5709.dat =================================================================== --- tools/wqy2xml/src/data/5709.dat (rev 0) +++ tools/wqy2xml/src/data/5709.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,33 @@ +<-- +%IP:24.61.5.77. +%UNICODE: 5709 +%VERSION: 1.111 +%DATE: 8/17/2005 8:27:02 PM +%CREATOR: fa...@gm... +S,0.1347;0.0626,0.1290;0.9962 +HZ,0.1290;0.0949,0.8843;0.0949,0.8805;0.9962 +H,0.2562;0.2600,0.7704;0.2581 +S,0.4915;0.1290,0.4896;0.3833 +H,0.2106;0.3890,0.8083;0.3852 +D,0.3169;0.3947,0.3757;0.4668,0.4004;0.5199 +P,0.6167;0.4269,0.5750;0.4896,0.5256;0.5389 +H,0.2486;0.5522,0.7875;0.5503 +H,0.2106;0.7002,0.8065;0.6964 +S,0.4858;0.5503,0.4877;0.8691 +H,0.1309;0.9108,0.8824;0.9013 +--> +%UNICODE: 5709 +%VERSION: 1.111 +%DATE: 8/17/2005 8:27:02 PM +%CREATOR: fa...@gm... +S,0.1347;0.0626,0.1290;0.9962 +HZ,0.1290;0.0949,0.8843;0.0949,0.8805;0.9962 +H,0.2562;0.2600,0.7704;0.2581 +S,0.4915;0.1290,0.4896;0.3833 +H,0.2106;0.3890,0.8083;0.3852 +D,0.3169;0.3947,0.3757;0.4668,0.4004;0.5199 +P,0.6167;0.4269,0.5750;0.4896,0.5256;0.5389 +H,0.2486;0.5522,0.7875;0.5503 +H,0.2106;0.7002,0.8065;0.6964 +S,0.4858;0.5503,0.4877;0.8691 +H,0.1309;0.9108,0.8824;0.9013 Added: tools/wqy2xml/src/data/5713.dat =================================================================== --- tools/wqy2xml/src/data/5713.dat (rev 0) +++ tools/wqy2xml/src/data/5713.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,39 @@ +<-- +%IP:71.192.98.42. +%UNICODE: 5713 +%VERSION: 1.113 +%DATE: 6/15/2006 10:34:02 PM +%CREATOR: fa...@gm... +S,0.0618;0.0273,0.0618;00.9927 +HZ,00.0600;0.0564,0.9164;00.0564,0.9164;00.9945 +S,0.3073;0.1236,0.3073;00.3182 +HZ,00.3073;0.1509,0.6873;00.1509,0.6873;00.3236 +H,00.3073;0.2818,00.6855;00.2818 +S,0.2655;0.3764,0.2655;00.7582 +HZ,00.2655;0.4073,0.7382;00.4073,0.7382;00.7382 +H,00.2655;0.5091,00.7364;00.5091 +H,00.2655;0.6091,00.7364;00.6091 +H,00.2655;0.7127,00.7382;00.7127 +P,0.3782;0.7582,0.2709;0.8400,0.1236;0.8945 +D,0.6018;0.7509,0.7218;0.8127,0.8218;0.8945 +--> +<-- +%IP:71.192.98.42. +%UNICODE: 5713 +%VERSION: 1.113 +%DATE: 6/15/2006 10:34:12 PM +%CREATOR: fa...@gm... +S,0.0618;0.0273,0.0618;00.9927 +HZ,00.0600;0.0564,0.9164;00.0564,0.9164;00.9945 +S,0.3073;0.1236,0.3073;00.3182 +HZ,00.3073;0.1509,0.6873;00.1509,0.6873;00.3236 +H,00.3073;0.2818,00.6855;00.2818 +S,0.2655;0.3764,0.2655;00.7582 +HZ,00.2655;0.4073,0.7382;00.4073,0.7382;00.7382 +H,00.2655;0.5091,00.7364;00.5091 +H,00.2655;0.6091,00.7364;00.6091 +H,00.2655;0.7127,00.7382;00.7127 +P,0.3782;0.7582,0.2709;0.8400,0.1236;0.8945 +D,0.6018;0.7509,0.7218;0.8127,0.8218;0.8945 +H,00.0600;0.9400,00.9145;00.9400 +--> Added: tools/wqy2xml/src/data/5715.dat =================================================================== --- tools/wqy2xml/src/data/5715.dat (rev 0) +++ tools/wqy2xml/src/data/5715.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,20 @@ +<-- +%IP:24.61.5.77. +%UNICODE: 5715 +%VERSION: 1.111 +%DATE: 9/20/2005 12:42:11 AM +%CREATOR: fa...@gm... +S,0.0911;0.0304,0.0759;0.9962 +HZ,0.0949;0.0645,0.9146;0.0569,0.9146;0.9981 +HZ,0.2600;0.1841,0.6907;0.1841,0.6888;0.3700 +H,0.1556;0.2638,0.8444;0.2657 +H,0.2543;0.3397,0.6869;0.3378 +H,0.2030;0.4326,0.7685;0.4364 +H,0.1499;0.5389,0.8501;0.5370 +S,0.4972;0.0987,0.4896;0.5389 +S,0.2827;0.6034,0.2770;0.8710 +HZ,0.2808;0.6357,0.7135;0.6319,0.7097;0.8729 +H,0.2789;0.7362,0.7135;0.7362 +H,0.2770;0.8368,0.7116;0.8368 +H,0.0854;0.9374,0.9089;0.9336 +--> Added: tools/wqy2xml/src/data/5910.dat =================================================================== --- tools/wqy2xml/src/data/5910.dat (rev 0) +++ tools/wqy2xml/src/data/5910.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,21 @@ +<-- +%IP:66.31.52.112. +%UNICODE: 5910 +%VERSION: 1.111 +%DATE: 11/5/2005 10:29:30 PM +%CREATOR: fa...@gm... +P,0.3303;0.0287,0.2262;0.1454,0.0987;0.2496 +HG,0.2837;0.0862,0.6894;0.0916,0.5943;0.1849 +S,0.2101;0.1813,0.2065;0.3770 +HZ,0.2065;0.1831,0.8115;0.1831,0.8097;0.3752 +P,0.4865;0.1957,0.4093;0.2890,0.2801;0.3411 +D,0.5027;0.2585,0.6032;0.2890,0.6948;0.3447 +S,0.2657;0.4039,0.2585;0.6481 +HZ,0.2639;0.4111,0.7594;0.4129,0.7648;0.6463 +H,0.2621;0.4865,0.7648;0.4901 +H,0.2585;0.5655,0.7612;0.5619 +H,0.2585;0.6355,0.7630;0.6355 +P,0.3052;0.6643,0.2226;0.7846,0.1005;0.8618 +HP,0.2747;0.7361,0.7253;0.7271,0.4273;0.9138,0.0790;0.9928 +N,0.3232;0.7522,0.5332;0.8959,0.8582;0.9731 +--> Added: tools/wqy2xml/src/data/5915.dat =================================================================== --- tools/wqy2xml/src/data/5915.dat (rev 0) +++ tools/wqy2xml/src/data/5915.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,10 @@ +<-- +%IP:24.61.5.77. +%UNICODE: 5915 +%VERSION: 1.111 +%DATE: 8/4/2005 1:14:34 AM +%CREATOR: fa...@gm... +WP,0.4560;0.0395,0.3142;0.3842,0.0700;0.6822 +HP,0.3770;0.2388,0.8312;0.2352,0.5709;0.7163,0.0036;0.9892 +D,0.3393;0.3824,0.4811;0.4919,0.5404;0.6050 +--> Added: tools/wqy2xml/src/data/5A06.dat =================================================================== --- tools/wqy2xml/src/data/5A06.dat (rev 0) +++ tools/wqy2xml/src/data/5A06.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,16 @@ +<-- +%IP:129.170.29.165. +%UNICODE: 5A06 +%VERSION: 1.111 +%DATE: 8/13/2005 12:51:57 AM +%CREATOR: fa...@gm... +PD,0.1917;0.0455,0.1271;0.4175,0.0588;0.6698,0.2163;0.7495,0.3378;0.8710 +WP,0.3093;0.3036,0.2372;0.7002,0.0038;0.9753 +H,0.0038;0.3036,0.3700;0.3055 +H,0.3776;0.2410,0.9564;0.1935 +XG,0.5294;0.0228,0.6471;0.3852,0.9317;0.5009,0.9507;0.3321 +P,0.8311;0.2827,0.6091;0.4288,0.3643;0.5370 +H,0.3169;0.6395,0.8899;0.6357 +WP,0.5066;0.6357,0.4231;0.8899,0.1708;0.9886 +SWG,0.6793;0.6414,0.6831;0.9013,0.7192;0.9450,0.9412;0.9203,0.9279;0.7097 +--> Added: tools/wqy2xml/src/data/5C04.dat =================================================================== --- tools/wqy2xml/src/data/5C04.dat (rev 0) +++ tools/wqy2xml/src/data/5C04.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,17 @@ +<-- +%IP:66.31.52.112. +%UNICODE: 5C04 +%VERSION: 1.113 +%DATE: 5/6/2006 4:11:00 PM +%CREATOR: fa...@gm... +P,0.3000;0.0236,0.2709;0.0873,0.2345;0.1473 +S,0.1545;0.1218,0.1545;00.6073 +HZG,00.1527;0.1527,0.4255;00.1527,0.4255;00.9200,0.3673;0.9709,0.2527;0.9200 +H,00.1527;0.2945,00.4255;00.2945 +H,00.1527;0.4618,00.4236;00.4618 +H,0.0073;0.6127,00.4255;00.6127 +WP,00.2855;0.6109,0.1909;0.8164,0.0000;0.9709 +H,0.4873;0.3200,0.9927;00.3200 +SG,0.7745;0.0200,0.7745;00.9073,0.7255;0.9600,0.6182;0.9236 +D,0.4818;0.4236,0.5836;0.5400,0.6309;0.6400 +--> Added: tools/wqy2xml/src/data/5C0D.dat =================================================================== --- tools/wqy2xml/src/data/5C0D.dat (rev 0) +++ tools/wqy2xml/src/data/5C0D.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,42 @@ +<-- +%IP:24.61.5.77. +%UNICODE: 5C0D +%VERSION: 1.111 +%DATE: 9/7/2005 1:04:55 AM +%CREATOR: fa...@gm... +S,0.2084;0.0057,0.1989;0.2887 +S,0.3442;0.0038,0.3289;0.2887 +D,0.0344;0.1052,0.1033;0.1759,0.1396;0.2467 +P,0.4723;0.0994,0.4283;0.1740,0.3843;0.2467 +H,0.0249;0.2906,0.5468;0.2849 +D,0.0822;0.3308,0.1702;0.3958,0.2180;0.4704 +P,0.4226;0.3231,0.3671;0.4092,0.3040;0.5010 +H,0.0287;0.5105,0.5182;0.5105 +H,0.0688;0.6922,0.4971;0.6864 +S,0.2639;0.5124,0.2581;0.8834 +T,0.0746;0.9446,0.4933;0.8260 +H,0.5526;0.3136,0.9962;0.3136 +SG,0.8203;0.0096,0.8088;0.8815,0.7629;0.9388,0.6080;0.9140 +D,0.5717;0.4551,0.6577;0.5488,0.7208;0.6539 +--> +<-- +%IP:24.61.5.77. +%UNICODE: 5C0D +%VERSION: 1.111 +%DATE: 9/7/2005 1:05:17 AM +%CREATOR: fa...@gm... +S,0.2084;0.0057,0.1989;0.2887 +S,0.3442;0.0038,0.3289;0.2887 +D,0.0344;0.1052,0.1033;0.1759,0.1396;0.2467 +P,0.4723;0.0994,0.4283;0.1740,0.3843;0.2467 +H,0.0249;0.2906,0.5468;0.2849 +D,0.0822;0.3308,0.1702;0.3958,0.2180;0.4704 +P,0.4226;0.3231,0.3671;0.4092,0.3040;0.5010 +H,0.0287;0.5105,0.5182;0.5105 +H,0.0688;0.6922,0.4971;0.6864 +S,0.2639;0.5124,0.2581;0.8834 +T,0.0746;0.9446,0.4933;0.8260 +H,0.5526;0.3136,0.9962;0.3136 +SG,0.8203;0.0096,0.8088;0.8815,0.7629;0.9388,0.6080;0.9140 +D,0.5717;0.4551,0.6577;0.5488,0.7208;0.6539 +--> Added: tools/wqy2xml/src/data/5E0C.dat =================================================================== --- tools/wqy2xml/src/data/5E0C.dat (rev 0) +++ tools/wqy2xml/src/data/5E0C.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,14 @@ +<-- +%IP:24.61.5.77. +%UNICODE: 5E0C +%VERSION: 1.111 +%DATE: 8/17/2005 7:29:09 PM +%CREATOR: fa...@gm... +WP,0.7419;0.0285,0.4250;0.2144,0.0266;0.3472 +D,0.1879;0.0949,0.5579;0.1651,0.8102;0.3131 +H,0.0057;0.4269,0.9943;0.4250 +WP,0.4592;0.3169,0.2846;0.5769,0.0228;0.8121 +S,0.2846;0.6034,0.2732;0.9564 +HZG,0.2846;0.6167,0.7799;0.6186,0.7780;0.8843,0.7249;0.9260,0.6243;0.8861 +S,0.5332;0.5009,0.5256;0.9962 +--> Added: tools/wqy2xml/src/data/5F13.dat =================================================================== --- tools/wqy2xml/src/data/5F13.dat (rev 0) +++ tools/wqy2xml/src/data/5F13.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,10 @@ +<-- +%IP:24.61.5.77. +%UNICODE: 5F13 +%VERSION: 1.111 +%DATE: 8/3/2005 12:09:12 AM +%CREATOR: fa...@gm... +HZ,0.1041;0.0916,0.7199;0.0934,0.7199;0.3896 +H,0.1975;0.3214,0.7163;0.3196 +SZZG,0.1993;0.2944,0.1670;0.5512,0.7935;0.5530,0.7343;0.7792,0.5835;0.9479,0.4596;0.9013 +--> Added: tools/wqy2xml/src/data/5F14.dat =================================================================== --- tools/wqy2xml/src/data/5F14.dat (rev 0) +++ tools/wqy2xml/src/data/5F14.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,11 @@ +<-- +%IP:24.61.5.77. +%UNICODE: 5F14 +%VERSION: 1.111 +%DATE: 7/31/2005 11:04:03 AM +%CREATOR: fa...@gm... +HZ,0.0790;0.0862,0.8510;0.0862,0.8366;0.3950 +H,0.1311;0.3411,0.8456;0.3411 +SZZG,0.1239;0.3088,0.0987;0.5637,0.9443;0.5566,0.9336;0.7343,0.8366;0.8402,0.6553;0.8097 +S,0.4865;0.0862,0.4794;0.9964 +--> Added: tools/wqy2xml/src/data/6011.dat =================================================================== --- tools/wqy2xml/src/data/6011.dat (rev 0) +++ tools/wqy2xml/src/data/6011.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,15 @@ +<-- +%IP:71.192.98.42. +%UNICODE: 6011 +%VERSION: 1.113 +%DATE: 8/1/2006 11:02:49 PM +%CREATOR: fa...@gm... +D,0.0788;0.2481,0.0481;0.3904,0.0096;0.4904 +S,0.1712;0.0115,0.1712;00.9865 +D,0.2058;0.2365,0.2769;0.3250,0.3115;0.4077 +D,0.4077;0.1212,0.5000;0.2327,0.5442;0.3231 +P,0.9038;0.1250,0.8288;0.2404,0.7615;0.3269 +H,0.3827;0.4115,0.9250;00.4115 +H,0.3308;0.6404,0.9808;00.6404 +S,0.6635;0.0096,0.6635;00.9942 +--> Added: tools/wqy2xml/src/data/6212.dat =================================================================== --- tools/wqy2xml/src/data/6212.dat (rev 0) +++ tools/wqy2xml/src/data/6212.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,14 @@ +<-- +%IP:24.61.5.77. +%UNICODE: 6212 +%VERSION: 1.111 +%DATE: 8/2/2005 11:18:51 PM +%CREATOR: fa...@gm... +H,0.0018;0.2352,0.9767;0.2388 +H,0.0251;0.5368,0.5548;0.5314 +SP,0.2047;0.3124,0.2011;0.6786,0.1346;0.8420,0.0072;0.9928 +S,0.3950;0.3160,0.3842;0.8905 +XG,0.6158;0.0323,0.6912;0.7199,0.9551;0.9569,0.9497;0.7074 +WP,0.8348;0.4022,0.6409;0.7738,0.3375;0.9874 +D,0.7343;0.0233,0.8169;0.0987,0.8528;0.1472 +--> Added: tools/wqy2xml/src/data/6303.dat =================================================================== --- tools/wqy2xml/src/data/6303.dat (rev 0) +++ tools/wqy2xml/src/data/6303.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,16 @@ +<-- +%IP:66.31.52.112. +%UNICODE: 6303 +%VERSION: 1.112 +%DATE: 12/25/2005 10:03:51 PM +%CREATOR: fa...@gm... +H,0.0269;0.2621,0.3447;0.2603 +SG,0.2029;0.0287,0.1867;0.9210,0.1508;0.9497,0.0197;0.9084 +T,0.0197;0.6194,0.3465;0.4524 +H,0.3788;0.0808,0.9731;0.0808 +PT,0.6302;0.0934,0.5260;0.2873,0.4237;0.4434,0.6427;0.4111,0.9192;0.3842 +D,0.7864;0.2334,0.8923;0.3268,0.9408;0.4614 +H,0.4309;0.6553,0.9461;0.6553 +S,0.6966;0.4470,0.6894;0.9336 +H,0.3519;0.9390,0.9928;0.9408 +--> Added: tools/wqy2xml/src/data/6308.dat =================================================================== --- tools/wqy2xml/src/data/6308.dat (rev 0) +++ tools/wqy2xml/src/data/6308.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,17 @@ +<-- +%IP:24.61.5.77. +%UNICODE: 6308 +%VERSION: 1.111 +%DATE: 7/30/2005 1:24:06 AM +%CREATOR: fa...@gm... +H,0.0431;0.1364,0.5404;0.1364 +H,0.0826;0.2621,0.5153;0.2567 +H,0.0215;0.3878,0.5368;0.3878 +S,0.2837;0.0269,0.2783;0.5189 +HZG,0.5440;0.1203,0.9156;0.1149,0.9066;0.3734,0.8276;0.4327,0.7145;0.4057 +WP,0.7181;0.1239,0.6517;0.3268,0.4614;0.4973 +P,0.7522;0.5027,0.4794;0.5530,0.1041;0.5781 +H,0.1508;0.6804,0.8528;0.6786 +H,0.0431;0.7864,0.9785;0.7810 +SG,0.5117;0.5530,0.5117;0.9282,0.4506;0.9569,0.3124;0.9264 +--> Added: tools/wqy2xml/src/data/640D.dat =================================================================== --- tools/wqy2xml/src/data/640D.dat (rev 0) +++ tools/wqy2xml/src/data/640D.dat 2007-04-12 02:07:01 UTC (rev 1177) @@ -0,0 +1,20 @@ +<-- +%IP:71.192.98.42. +%UNICODE: 640D +%VERSION: 1.113 +%DATE: 7/7/2006 8:29:51 PM +%CREATOR: fa...@gm... +H,0.0073;0.2618,0.3545;00.2618 +SG,0.1891;0.0200,0.1891;00.8745,0.1636;0.9436,0.0291;0.9073 +T,0.0345;0.6164,0.3418;0.4545 +S,0.4582;0.0364,0.4582;00.3091 +HZ,00.4582;0.0745,0.8618;00.0745,0.8618;00.2873 +H,00.4582;0.2564,00.8600;00.2582 +S,0.4400;0.3564,0.4400;00.8145 +HZ,00.4382;0.3818,0.8855;00.3818,0.8855;00.7909 +H,00.4382;0.5073,00.8855;00.5091 +H,00.4382;0.6345,00.8836;00.6345 +H,00.4382;0.7600,00.8836;00.7600 +P,0.5364;0.8145,0.4400;0.9091,0.2855;0.9927 +D,0.7564;0.8055,0.9055;0.8982,0.9782;0.9764 +--> Added: tools/wqy2xml/src/data/680E.dat =================================================================== --- tools/wqy2xml/src/data/680E.dat (rev 0) +++ tools/wqy2xml/src/data/680E.dat 2007-04-12 02:07:01 UTC (rev 1177) @@... [truncated message content] |
From: <kt...@us...> - 2007-04-12 01:38:28
|
Revision: 1176 http://tomoe.svn.sourceforge.net/tomoe/?rev=1176&view=rev Author: ktou Date: 2007-04-11 18:38:28 -0700 (Wed, 11 Apr 2007) Log Message: ----------- removed .cvsignore. Removed Paths: ------------- tomoe/trunk/.cvsignore tomoe/trunk/benchmark/.cvsignore tomoe/trunk/data/.cvsignore tomoe/trunk/db/.cvsignore tomoe/trunk/db/lib/.cvsignore tomoe/trunk/db/migrate/.cvsignore tomoe/trunk/doc/.cvsignore tomoe/trunk/doc/reference/.cvsignore tomoe/trunk/ext/.cvsignore tomoe/trunk/ext/ruby/.cvsignore tomoe/trunk/lib/.cvsignore tomoe/trunk/module/.cvsignore tomoe/trunk/module/dict/.cvsignore tomoe/trunk/module/recognizer/.cvsignore tomoe/trunk/spec/.cvsignore tomoe/trunk/spec/miracle-linux/.cvsignore tomoe/trunk/spec/turbo-linux/.cvsignore tomoe/trunk/src/.cvsignore tomoe/trunk/test/.cvsignore tomoe/trunk/test/data/.cvsignore Deleted: tomoe/trunk/.cvsignore =================================================================== --- tomoe/trunk/.cvsignore 2007-04-11 09:16:39 UTC (rev 1175) +++ tomoe/trunk/.cvsignore 2007-04-12 01:38:28 UTC (rev 1176) @@ -1,32 +0,0 @@ -aclocal.m4 -autom4te.cache -config.guess -config.h -config.h.in -config.log -config.status -config.sub -configure -depcomp -compile -install-sh -intltool-extract -intltool-extract.in -intltool-merge -intltool-merge.in -intltool-update -intltool-update.in -libtool -ltmain.sh -Makefile -Makefile.in -missing -mkinstalldirs -stamp-h -stamp-h* -tomoe.pc -*.bak -*~ -*.log -*.rej -*.orig Deleted: tomoe/trunk/benchmark/.cvsignore =================================================================== --- tomoe/trunk/benchmark/.cvsignore 2007-04-11 09:16:39 UTC (rev 1175) +++ tomoe/trunk/benchmark/.cvsignore 2007-04-12 01:38:28 UTC (rev 1176) @@ -1,2 +0,0 @@ -Makefile -Makefile.in Deleted: tomoe/trunk/data/.cvsignore =================================================================== --- tomoe/trunk/data/.cvsignore 2007-04-11 09:16:39 UTC (rev 1175) +++ tomoe/trunk/data/.cvsignore 2007-04-12 01:38:28 UTC (rev 1176) @@ -1,3 +0,0 @@ -Makefile -Makefile.in -kanjidic2.xml Deleted: tomoe/trunk/db/.cvsignore =================================================================== --- tomoe/trunk/db/.cvsignore 2007-04-11 09:16:39 UTC (rev 1175) +++ tomoe/trunk/db/.cvsignore 2007-04-12 01:38:28 UTC (rev 1176) @@ -1,3 +0,0 @@ -Makefile -Makefile.in -config.yml Deleted: tomoe/trunk/db/lib/.cvsignore =================================================================== --- tomoe/trunk/db/lib/.cvsignore 2007-04-11 09:16:39 UTC (rev 1175) +++ tomoe/trunk/db/lib/.cvsignore 2007-04-12 01:38:28 UTC (rev 1176) @@ -1,3 +0,0 @@ -Makefile -Makefile.in -config.yml Deleted: tomoe/trunk/db/migrate/.cvsignore =================================================================== --- tomoe/trunk/db/migrate/.cvsignore 2007-04-11 09:16:39 UTC (rev 1175) +++ tomoe/trunk/db/migrate/.cvsignore 2007-04-12 01:38:28 UTC (rev 1176) @@ -1,3 +0,0 @@ -Makefile -Makefile.in -config.yml Deleted: tomoe/trunk/doc/.cvsignore =================================================================== --- tomoe/trunk/doc/.cvsignore 2007-04-11 09:16:39 UTC (rev 1175) +++ tomoe/trunk/doc/.cvsignore 2007-04-12 01:38:28 UTC (rev 1176) @@ -1,10 +0,0 @@ -Makefile -Makefile.in -doxygen.conf -html -*.bak -*~ -*.log -*.rej -*.orig -*.stamp Deleted: tomoe/trunk/doc/reference/.cvsignore =================================================================== --- tomoe/trunk/doc/reference/.cvsignore 2007-04-11 09:16:39 UTC (rev 1175) +++ tomoe/trunk/doc/reference/.cvsignore 2007-04-12 01:38:28 UTC (rev 1176) @@ -1,21 +0,0 @@ -Makefile -Makefile.in -doxygen.conf -html -xml -tomoe-decl-list.txt -tomoe-decl.txt -tomoe-undocumented.txt -tomoe-unused.txt -tomoe.args -tomoe.hierarchy -tomoe.interfaces -tomoe.prerequisites -tomoe.signals -version.xml -*.bak -*~ -*.log -*.rej -*.orig -*.stamp Deleted: tomoe/trunk/ext/.cvsignore =================================================================== --- tomoe/trunk/ext/.cvsignore 2007-04-11 09:16:39 UTC (rev 1175) +++ tomoe/trunk/ext/.cvsignore 2007-04-12 01:38:28 UTC (rev 1176) @@ -1,2 +0,0 @@ -Makefile -Makefile.in Deleted: tomoe/trunk/ext/ruby/.cvsignore =================================================================== --- tomoe/trunk/ext/ruby/.cvsignore 2007-04-11 09:16:39 UTC (rev 1175) +++ tomoe/trunk/ext/ruby/.cvsignore 2007-04-12 01:38:28 UTC (rev 1176) @@ -1,7 +0,0 @@ -.deps -.libs -Makefile -Makefile.in -*.lo -*.la - Deleted: tomoe/trunk/lib/.cvsignore =================================================================== --- tomoe/trunk/lib/.cvsignore 2007-04-11 09:16:39 UTC (rev 1175) +++ tomoe/trunk/lib/.cvsignore 2007-04-12 01:38:28 UTC (rev 1176) @@ -1,15 +0,0 @@ -Makefile -Makefile.in -.deps -.libs -*.o -*.lo -*.la -*.bak -*~ -*.rej -*.orig -stamp-tomoe-enum-types-h -stamp-tomoe-enum-types-c -tomoe-enum-types.h -tomoe-enum-types.c Deleted: tomoe/trunk/module/.cvsignore =================================================================== --- tomoe/trunk/module/.cvsignore 2007-04-11 09:16:39 UTC (rev 1175) +++ tomoe/trunk/module/.cvsignore 2007-04-12 01:38:28 UTC (rev 1176) @@ -1,3 +0,0 @@ -Makefile -Makefile.in - Deleted: tomoe/trunk/module/dict/.cvsignore =================================================================== --- tomoe/trunk/module/dict/.cvsignore 2007-04-11 09:16:39 UTC (rev 1175) +++ tomoe/trunk/module/dict/.cvsignore 2007-04-12 01:38:28 UTC (rev 1176) @@ -1,11 +0,0 @@ -.deps -.libs -Makefile -Makefile.in -*.lo -*.la -tomoe-unihan-data.h -Unihan.stamp -Unihan.txt -Unihan.txt.cache -Unihan.zip Deleted: tomoe/trunk/module/recognizer/.cvsignore =================================================================== --- tomoe/trunk/module/recognizer/.cvsignore 2007-04-11 09:16:39 UTC (rev 1175) +++ tomoe/trunk/module/recognizer/.cvsignore 2007-04-12 01:38:28 UTC (rev 1176) @@ -1,6 +0,0 @@ -.deps -.libs -Makefile -Makefile.in -*.lo -*.la Deleted: tomoe/trunk/spec/.cvsignore =================================================================== --- tomoe/trunk/spec/.cvsignore 2007-04-11 09:16:39 UTC (rev 1175) +++ tomoe/trunk/spec/.cvsignore 2007-04-12 01:38:28 UTC (rev 1176) @@ -1,2 +0,0 @@ -Makefile -Makefile.in Deleted: tomoe/trunk/spec/miracle-linux/.cvsignore =================================================================== --- tomoe/trunk/spec/miracle-linux/.cvsignore 2007-04-11 09:16:39 UTC (rev 1175) +++ tomoe/trunk/spec/miracle-linux/.cvsignore 2007-04-12 01:38:28 UTC (rev 1176) @@ -1,3 +0,0 @@ -Makefile -Makefile.in -tomoe.spec Deleted: tomoe/trunk/spec/turbo-linux/.cvsignore =================================================================== --- tomoe/trunk/spec/turbo-linux/.cvsignore 2007-04-11 09:16:39 UTC (rev 1175) +++ tomoe/trunk/spec/turbo-linux/.cvsignore 2007-04-12 01:38:28 UTC (rev 1176) @@ -1,3 +0,0 @@ -Makefile -Makefile.in -tomoe.spec Deleted: tomoe/trunk/src/.cvsignore =================================================================== --- tomoe/trunk/src/.cvsignore 2007-04-11 09:16:39 UTC (rev 1175) +++ tomoe/trunk/src/.cvsignore 2007-04-12 01:38:28 UTC (rev 1176) @@ -1,13 +0,0 @@ -Makefile -Makefile.in -.deps -.libs -*.o -*.lo -*.la -*.bak -*~ -*.rej -*.orig -tomoe -tomoe1 Deleted: tomoe/trunk/test/.cvsignore =================================================================== --- tomoe/trunk/test/.cvsignore 2007-04-11 09:16:39 UTC (rev 1175) +++ tomoe/trunk/test/.cvsignore 2007-04-12 01:38:28 UTC (rev 1176) @@ -1,12 +0,0 @@ -Makefile -Makefile.in -.deps -.libs -*.o -*.lo -*.la -*.bak -*~ -*.rej -*.orig -testtomoe Deleted: tomoe/trunk/test/data/.cvsignore =================================================================== --- tomoe/trunk/test/data/.cvsignore 2007-04-11 09:16:39 UTC (rev 1175) +++ tomoe/trunk/test/data/.cvsignore 2007-04-12 01:38:28 UTC (rev 1176) @@ -1,2 +0,0 @@ -Makefile -Makefile.in This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2007-04-11 09:16:43
|
Revision: 1175 http://tomoe.svn.sourceforge.net/tomoe/?rev=1175&view=rev Author: makeinu Date: 2007-04-11 02:16:39 -0700 (Wed, 11 Apr 2007) Log Message: ----------- Removed Paths: ------------- scim-tomoe/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kt...@us...> - 2007-04-11 03:40:52
|
Revision: 1168 http://tomoe.svn.sourceforge.net/tomoe/?rev=1168&view=rev Author: ktou Date: 2007-04-10 20:40:53 -0700 (Tue, 10 Apr 2007) Log Message: ----------- * autogen.sh, configure.ac, po/: supported intltoolize and glib-gettextize. Modified Paths: -------------- tomoe/trunk/ChangeLog tomoe/trunk/Makefile.am tomoe/trunk/autogen.sh tomoe/trunk/configure.ac tomoe/trunk/lib/tomoe-config.c Added Paths: ----------- tomoe/trunk/po/ tomoe/trunk/po/LINGUAS tomoe/trunk/po/POTFILES.in tomoe/trunk/po/ja.po Modified: tomoe/trunk/ChangeLog =================================================================== --- tomoe/trunk/ChangeLog 2007-04-11 03:02:22 UTC (rev 1167) +++ tomoe/trunk/ChangeLog 2007-04-11 03:40:53 UTC (rev 1168) @@ -1,9 +1,13 @@ 2007-04-11 Kouhei Sutou <ko...@co...> + * autogen.sh, configure.ac, po/: supported intltoolize and + glib-gettextize. + * configure.ac: - use AS_HELP_STRING. - removed needless codes. - moved Subversion related codes to ... + * macros/svn.m4: ... here. * autogen.sh, Makefile.am (ACLOCAL_AMFLAGS): added macros/ Modified: tomoe/trunk/Makefile.am =================================================================== --- tomoe/trunk/Makefile.am 2007-04-11 03:02:22 UTC (rev 1167) +++ tomoe/trunk/Makefile.am 2007-04-11 03:40:53 UTC (rev 1168) @@ -20,7 +20,7 @@ ACLOCAL_AMFLAGS = -I macros -SUBDIRS = lib ext module data db test benchmark doc spec +SUBDIRS = po lib ext module data db test benchmark doc spec EXTRA_DIST = autogen.sh tomoe.pc Modified: tomoe/trunk/autogen.sh =================================================================== --- tomoe/trunk/autogen.sh 2007-04-11 03:02:22 UTC (rev 1167) +++ tomoe/trunk/autogen.sh 2007-04-11 03:40:53 UTC (rev 1168) @@ -3,9 +3,20 @@ srcdir=`dirname $0` test -z "$srcdir" && srcdir=. -libtoolize --copy --force \ - && gtkdocize \ - && aclocal -I macros \ - && autoheader \ - && automake --add-missing --foreign --copy \ - && autoconf +run() +{ + $@ + if test $? -ne 0; then + echo "Failed $@" + exit 1 + fi +} + +run libtoolize --copy --force +run glib-gettextize --force --copy +run intltoolize --force --copy --automake +run gtkdocize --copy +run aclocal -I macros +run autoheader +run automake --add-missing --foreign --copy +run autoconf Modified: tomoe/trunk/configure.ac =================================================================== --- tomoe/trunk/configure.ac 2007-04-11 03:02:22 UTC (rev 1167) +++ tomoe/trunk/configure.ac 2007-04-11 03:40:53 UTC (rev 1168) @@ -87,6 +87,23 @@ GTK_DOC_CHECK([1.4]) dnl ************************************************************** +dnl Check for gettext. +dnl ************************************************************** + +IT_PROG_INTLTOOL([0.35.0]) + +AM_GLIB_GNU_GETTEXT +dnl should run after AM_GLIB_GNU_GETTEXT +AC_CONFIG_COMMANDS([modify-itlocaledir], [ +sed \ + -i'' \ + -e "s/^itlocaledir = /itlocaledir = \$(datadir)\/locale\n#itlocaledir = /" \ + po/Makefile +]) +GETTEXT_PACKAGE=tomoe +AC_SUBST(GETTEXT_PACKAGE) + +dnl ************************************************************** dnl Checks for xsltproc dnl ************************************************************** @@ -250,6 +267,7 @@ AC_CONFIG_FILES([ Makefile +po/Makefile.in lib/Makefile module/Makefile module/dict/Makefile Modified: tomoe/trunk/lib/tomoe-config.c =================================================================== --- tomoe/trunk/lib/tomoe-config.c 2007-04-11 03:02:22 UTC (rev 1167) +++ tomoe/trunk/lib/tomoe-config.c 2007-04-11 03:40:53 UTC (rev 1168) @@ -105,7 +105,7 @@ PROP_FILENAME, g_param_spec_string ("filename", N_("Filename"), - N_("The Filename for storing user settings"), + N_("The filename for storing user settings"), NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); Property changes on: tomoe/trunk/po ___________________________________________________________________ Name: svn:ignore + Makefile.in.in *.pot *.gmo *. *.in Makefile POTFILES stamp-it Added: tomoe/trunk/po/LINGUAS =================================================================== --- tomoe/trunk/po/LINGUAS (rev 0) +++ tomoe/trunk/po/LINGUAS 2007-04-11 03:40:53 UTC (rev 1168) @@ -0,0 +1,2 @@ +# please keep this list sorted alphabetically +ja Added: tomoe/trunk/po/POTFILES.in =================================================================== --- tomoe/trunk/po/POTFILES.in (rev 0) +++ tomoe/trunk/po/POTFILES.in 2007-04-11 03:40:53 UTC (rev 1168) @@ -0,0 +1,15 @@ +lib/glib-utils.c +lib/tomoe-candidate.c +lib/tomoe-char.c +lib/tomoe-config.c +lib/tomoe-context.c +lib/tomoe-dict.c +lib/tomoe-enum-types.c +lib/tomoe-module.c +lib/tomoe-query.c +lib/tomoe-reading.c +lib/tomoe-recognizer.c +lib/tomoe-shelf.c +lib/tomoe-writing.c +lib/tomoe-xml-parser.c +lib/tomoe.c Added: tomoe/trunk/po/ja.po =================================================================== --- tomoe/trunk/po/ja.po (rev 0) +++ tomoe/trunk/po/ja.po 2007-04-11 03:40:53 UTC (rev 1168) @@ -0,0 +1,97 @@ +# Tomoe's ja.po. +# Copyright (C) 2007 Tomoe project. +# This file is distributed under the same license as the Tomoe package. +# Kouhei Sutou <ko...@co...>, 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: Tomoe HEAD\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-04-11 12:37+0900\n" +"PO-Revision-Date: 2007-04-11 12:37+0900\n" +"Last-Translator: Kouhei Sutou <ko...@co...>\n" +"Language-Team: Tomoe project\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: ../lib/tomoe-char.c:82 ../lib/tomoe-query.c:84 +msgid "UTF8" +msgstr "" + +#: ../lib/tomoe-char.c:83 +msgid "UTF8 encoding of the character." +msgstr "文字のUTF-8符号化" + +#: ../lib/tomoe-char.c:89 +msgid "Number of strokes" +msgstr "画数" + +#: ../lib/tomoe-char.c:90 +msgid "Number of strokes of the character." +msgstr "文字の画数" + +#: ../lib/tomoe-char.c:96 ../lib/tomoe-query.c:107 +msgid "Writing" +msgstr "書き方" + +#: ../lib/tomoe-char.c:97 +msgid "Writing of the character." +msgstr "文字の書き方" + +#: ../lib/tomoe-char.c:103 +msgid "Variant" +msgstr "異体字" + +#: ../lib/tomoe-char.c:104 +msgid "Variant of the character." +msgstr "文字の異体字" + +#: ../lib/tomoe-config.c:107 +msgid "Filename" +msgstr "ファイル名" + +#: ../lib/tomoe-config.c:108 +msgid "The filename for storing user settings" +msgstr "ユーザ設定を保存するファイル名" + +#: ../lib/tomoe-query.c:85 +msgid "UTF8 encoding of searched character." +msgstr "検索する文字のUTF8符号化" + +#: ../lib/tomoe-query.c:91 +msgid "Minimum number of strokes" +msgstr "最小画数" + +#: ../lib/tomoe-query.c:92 +msgid "Minimum number of strokes of searched character." +msgstr "検索する文字の最小画数" + +#: ../lib/tomoe-query.c:99 +msgid "Maximum number of strokes" +msgstr "最大画数" + +#: ../lib/tomoe-query.c:100 +msgid "Maximum number of strokes of searched character." +msgstr "検索する文字の最大画数" + +#: ../lib/tomoe-query.c:108 +msgid "Writing of searched character." +msgstr "検索文字の書き方" + +#: ../lib/tomoe-reading.c:74 +msgid "Type" +msgstr "種類" + +#: ../lib/tomoe-reading.c:75 +msgid "A type of the reading." +msgstr "読み方の種類" + +#: ../lib/tomoe-reading.c:83 +msgid "Reading" +msgstr "読み方" + +#: ../lib/tomoe-reading.c:84 +msgid "Reading of the reading." +msgstr "読み方の読み" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kt...@us...> - 2007-04-11 03:03:00
|
Revision: 1167 http://tomoe.svn.sourceforge.net/tomoe/?rev=1167&view=rev Author: ktou Date: 2007-04-10 20:02:22 -0700 (Tue, 10 Apr 2007) Log Message: ----------- * configure.ac: moved Subversion related codes to ... * macros/svn.m4: ... here. Modified Paths: -------------- tomoe/trunk/ChangeLog tomoe/trunk/configure.ac Added Paths: ----------- tomoe/trunk/macros/svn.m4 Modified: tomoe/trunk/ChangeLog =================================================================== --- tomoe/trunk/ChangeLog 2007-04-11 02:59:29 UTC (rev 1166) +++ tomoe/trunk/ChangeLog 2007-04-11 03:02:22 UTC (rev 1167) @@ -3,6 +3,8 @@ * configure.ac: - use AS_HELP_STRING. - removed needless codes. + - moved Subversion related codes to ... + * macros/svn.m4: ... here. * autogen.sh, Makefile.am (ACLOCAL_AMFLAGS): added macros/ sub-directory. Modified: tomoe/trunk/configure.ac =================================================================== --- tomoe/trunk/configure.ac 2007-04-11 02:59:29 UTC (rev 1166) +++ tomoe/trunk/configure.ac 2007-04-11 03:02:22 UTC (rev 1167) @@ -201,59 +201,8 @@ dnl Configure for Subverion dictionary. dnl ************************************************************** -PKG_CHECK_MODULES(APR, apr-1, [use_svn=yes], [use_svn=no]) +SVN_CHECK() -svn_includes="/usr/local/include /usr/include" -AC_ARG_WITH(svn-include, - AS_HELP_STRING([--with-svn-include=DIR], - [Use the given path to the subversion headers.]), - [if test "$withval" != "yes" -a "$withval" != ""; then - svn_includes=$withval - fi]) -AC_MSG_CHECKING([for Subversion headers]) -svn_include="" -for value in $svn_includes ; do - if test -f $value/subversion-1/svn_types.h ; then - svn_include=$value - break - fi -done -if test "x$svn_include" != "x" ; then - AC_MSG_RESULT([$svn_include]) -else - AC_MSG_RESULT([not found]) - use_svn="no" -fi -SVN_CFLAGS="\$(APR_CFLAGS) -I$svn_include/subversion-1" - -svn_libs="/usr/local/lib /usr/lib" -AC_ARG_WITH(svn-lib, - AS_HELP_STRING([--with-svn-lib=DIR], - [Use the given path to the subversion libraries.]), - [if test "$withval" != "yes" -a "$withval" != ""; then - SVN_LIBS=$withval - fi]) -AC_MSG_CHECKING([for Subversion libraries]) -svn_lib="" -for value in $svn_libs ; do - if ls $value/libsvn_client-1.* >/dev/null 2>&1; then - svn_lib=$value - break - fi -done -if test "x$svn_lib" != "x" ; then - AC_MSG_RESULT([$svn_lib]) -else - AC_MSG_RESULT([not found]) - use_svn="no" -fi -SVN_LIBS="\$(APR_LIBS) -L$svn_lib -lsvn_client-1 -lsvn_subr-1" - -AC_SUBST(SVN_CFLAGS) -AC_SUBST(SVN_LIBS) - -AM_CONDITIONAL([WITH_SVN], [test "$use_svn" = "yes"]) - dnl ************************************************************** dnl Configure for MySQL dictionary. dnl ************************************************************** Added: tomoe/trunk/macros/svn.m4 =================================================================== --- tomoe/trunk/macros/svn.m4 (rev 0) +++ tomoe/trunk/macros/svn.m4 2007-04-11 03:02:22 UTC (rev 1167) @@ -0,0 +1,56 @@ +# -*- autoconf -*- +AC_DEFUN([SVN_CHECK], +[ +PKG_CHECK_MODULES(APR, apr-1, [use_svn=yes], [use_svn=no]) + +svn_includes="/usr/local/include /usr/include" +AC_ARG_WITH(svn-include, + AS_HELP_STRING([--with-svn-include=DIR], + [Use the given path to the subversion headers.]), + [if test "$withval" != "yes" -a "$withval" != ""; then + svn_includes=$withval + fi]) +AC_MSG_CHECKING([for Subversion headers]) +svn_include="" +for value in $svn_includes ; do + if test -f $value/subversion-1/svn_types.h ; then + svn_include=$value + break + fi +done +if test "x$svn_include" != "x" ; then + AC_MSG_RESULT([$svn_include]) +else + AC_MSG_RESULT([not found]) + use_svn="no" +fi +SVN_CFLAGS="\$(APR_CFLAGS) -I$svn_include/subversion-1" + +svn_libs="/usr/local/lib /usr/lib" +AC_ARG_WITH(svn-lib, + AS_HELP_STRING([--with-svn-lib=DIR], + [Use the given path to the subversion libraries.]), + [if test "$withval" != "yes" -a "$withval" != ""; then + SVN_LIBS=$withval + fi]) +AC_MSG_CHECKING([for Subversion libraries]) +svn_lib="" +for value in $svn_libs ; do + if ls $value/libsvn_client-1.* >/dev/null 2>&1; then + svn_lib=$value + break + fi +done +if test "x$svn_lib" != "x" ; then + AC_MSG_RESULT([$svn_lib]) +else + AC_MSG_RESULT([not found]) + use_svn="no" +fi +SVN_LIBS="\$(APR_LIBS) -L$svn_lib -lsvn_client-1 -lsvn_subr-1" + +AC_SUBST(SVN_CFLAGS) +AC_SUBST(SVN_LIBS) + +AM_CONDITIONAL([WITH_SVN], [test "$use_svn" = "yes"]) +]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kt...@us...> - 2007-04-11 02:59:29
|
Revision: 1166 http://tomoe.svn.sourceforge.net/tomoe/?rev=1166&view=rev Author: ktou Date: 2007-04-10 19:59:29 -0700 (Tue, 10 Apr 2007) Log Message: ----------- * configure.ac: removed needless codes. Modified Paths: -------------- tomoe/trunk/ChangeLog tomoe/trunk/configure.ac Modified: tomoe/trunk/ChangeLog =================================================================== --- tomoe/trunk/ChangeLog 2007-04-11 02:51:00 UTC (rev 1165) +++ tomoe/trunk/ChangeLog 2007-04-11 02:59:29 UTC (rev 1166) @@ -1,6 +1,8 @@ 2007-04-11 Kouhei Sutou <ko...@co...> - * configure.ac: use AS_HELP_STRING. + * configure.ac: + - use AS_HELP_STRING. + - removed needless codes. * autogen.sh, Makefile.am (ACLOCAL_AMFLAGS): added macros/ sub-directory. Modified: tomoe/trunk/configure.ac =================================================================== --- tomoe/trunk/configure.ac 2007-04-11 02:51:00 UTC (rev 1165) +++ tomoe/trunk/configure.ac 2007-04-11 02:59:29 UTC (rev 1166) @@ -27,7 +27,6 @@ dnl ************************************************************** dnl Checks for programs. dnl ************************************************************** -AC_PROG_CXX AC_PROG_CC AC_PROG_CPP AC_PROG_INSTALL @@ -141,14 +140,6 @@ AM_CONDITIONAL([WITH_EST], [test "$est_exists" = "yes"]) dnl ************************************************************** -dnl Check for neon. -dnl ************************************************************** - -neon_exists=no -PKG_CHECK_MODULES(NEON, neon, [neon_exists=yes], [neon_exists=no]) -AM_CONDITIONAL([WITH_NEON], [test "$neon_exists" = "yes"]) - -dnl ************************************************************** dnl Configure for configuration. dnl ************************************************************** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kt...@us...> - 2007-04-11 02:51:02
|
Revision: 1165 http://tomoe.svn.sourceforge.net/tomoe/?rev=1165&view=rev Author: ktou Date: 2007-04-10 19:51:00 -0700 (Tue, 10 Apr 2007) Log Message: ----------- * configure.ac: use AS_HELP_STRING. Modified Paths: -------------- tomoe/trunk/ChangeLog tomoe/trunk/configure.ac tomoe/trunk/macros/ruby.m4 Modified: tomoe/trunk/ChangeLog =================================================================== --- tomoe/trunk/ChangeLog 2007-04-11 02:22:26 UTC (rev 1164) +++ tomoe/trunk/ChangeLog 2007-04-11 02:51:00 UTC (rev 1165) @@ -1,5 +1,7 @@ 2007-04-11 Kouhei Sutou <ko...@co...> + * configure.ac: use AS_HELP_STRING. + * autogen.sh, Makefile.am (ACLOCAL_AMFLAGS): added macros/ sub-directory. Modified: tomoe/trunk/configure.ac =================================================================== --- tomoe/trunk/configure.ac 2007-04-11 02:22:26 UTC (rev 1164) +++ tomoe/trunk/configure.ac 2007-04-11 02:51:00 UTC (rev 1165) @@ -198,7 +198,8 @@ use_unihan=yes AC_ARG_ENABLE(unihan, - [ --disable-unihan disable Unihan detabase], + AS_HELP_STRING([--disable-unihan], + [disable Unihan detabase]), [use_unihan=$enableval], [use_unihan=$enableval]) AM_CONDITIONAL([WITH_UNIHAN], [test "$use_unihan" = "yes"]) @@ -213,7 +214,8 @@ svn_includes="/usr/local/include /usr/include" AC_ARG_WITH(svn-include, - [ --with-svn-include=DIR Use the given path to the subversion headers.], + AS_HELP_STRING([--with-svn-include=DIR], + [Use the given path to the subversion headers.]), [if test "$withval" != "yes" -a "$withval" != ""; then svn_includes=$withval fi]) @@ -235,7 +237,8 @@ svn_libs="/usr/local/lib /usr/lib" AC_ARG_WITH(svn-lib, - [ --with-svn-lib=DIR Use the given path to the subversion libraries.], + AS_HELP_STRING([--with-svn-lib=DIR], + [Use the given path to the subversion libraries.]), [if test "$withval" != "yes" -a "$withval" != ""; then SVN_LIBS=$withval fi]) @@ -280,8 +283,9 @@ dnl ************************************************************** dnl Configure for Ruby dictionary. dnl ************************************************************** -AC_ARG_ENABLE(dict_ruby, [ --enable-dict-ruby - Enable Ruby based dictionary module]) +AC_ARG_ENABLE(dict_ruby, + AS_HELP_STRING([--enable-dict-ruby], + [Enable Ruby based dictionary module])) AM_CONDITIONAL(ENABLE_DICT_RUBY, [test x"$enable_dict_ruby" = "xyes" -a \ x"$ruby_available" = "xyes"]) Modified: tomoe/trunk/macros/ruby.m4 =================================================================== --- tomoe/trunk/macros/ruby.m4 2007-04-11 02:22:26 UTC (rev 1164) +++ tomoe/trunk/macros/ruby.m4 2007-04-11 02:51:00 UTC (rev 1165) @@ -1,3 +1,4 @@ +# -*- autoconf -*- AC_DEFUN([RUBY_CHECK], [ ruby_required_headers=$1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2007-04-11 02:22:25
|
Revision: 1164 http://tomoe.svn.sourceforge.net/tomoe/?rev=1164&view=rev Author: makeinu Date: 2007-04-10 19:22:26 -0700 (Tue, 10 Apr 2007) Log Message: ----------- Commit mail test with diffs. Modified Paths: -------------- uim-tomoe-gtk/trunk/NEWS Modified: uim-tomoe-gtk/trunk/NEWS =================================================================== --- uim-tomoe-gtk/trunk/NEWS 2007-04-11 02:11:37 UTC (rev 1163) +++ uim-tomoe-gtk/trunk/NEWS 2007-04-11 02:22:26 UTC (rev 1164) @@ -1,3 +1,2 @@ Overview of Changes from uim-tomoe-gtk-0.5.0 to uim-tomoe-gtk-0.?.? =================================================================== -* hoge This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kt...@us...> - 2007-04-11 02:11:36
|
Revision: 1163 http://tomoe.svn.sourceforge.net/tomoe/?rev=1163&view=rev Author: ktou Date: 2007-04-10 19:11:37 -0700 (Tue, 10 Apr 2007) Log Message: ----------- * autogen.sh, Makefile.am (ACLOCAL_AMFLAGS): added macros/ sub-directory. * configure.ac: moved Ruby related codes to ... * macros/ruby.m4: ... here. Modified Paths: -------------- tomoe/trunk/ChangeLog tomoe/trunk/Makefile.am tomoe/trunk/autogen.sh tomoe/trunk/configure.ac Added Paths: ----------- tomoe/trunk/macros/ tomoe/trunk/macros/ruby.m4 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kt...@us...> - 2007-04-11 01:44:33
|
Revision: 1162 http://tomoe.svn.sourceforge.net/tomoe/?rev=1162&view=rev Author: ktou Date: 2007-04-10 18:44:32 -0700 (Tue, 10 Apr 2007) Log Message: ----------- * gtk-doc.make: added svn:ignore. Property Changed: ---------------- tomoe/trunk/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kt...@us...> - 2007-04-11 01:43:47
|
Revision: 1161 http://tomoe.svn.sourceforge.net/tomoe/?rev=1161&view=rev Author: ktou Date: 2007-04-10 18:43:46 -0700 (Tue, 10 Apr 2007) Log Message: ----------- * configure.ac: renamed from configure.in. Modified Paths: -------------- tomoe/trunk/ChangeLog Added Paths: ----------- tomoe/trunk/configure.ac Removed Paths: ------------- tomoe/trunk/configure.in This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ma...@us...> - 2007-04-11 01:34:13
|
Revision: 1160 http://tomoe.svn.sourceforge.net/tomoe/?rev=1160&view=rev Author: makeinu Date: 2007-04-10 18:34:13 -0700 (Tue, 10 Apr 2007) Log Message: ----------- Commit mail test. Modified Paths: -------------- uim-tomoe-gtk/trunk/NEWS This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |