OSDN Git Service

nkf/nkf.git
15 years agoUse nkf_state->nfc_buf.
NARUSE, Yui [Tue, 6 Jan 2009 01:03:51 +0000 (10:03 +0900)]
Use nkf_state->nfc_buf.

15 years agoUse nkf_isblank and nkf_isspace.
NARUSE, Yui [Tue, 6 Jan 2009 00:42:46 +0000 (09:42 +0900)]
Use nkf_isblank and nkf_isspace.

15 years agoMove mimeout_state.state to nkf_state->mimeout_state.
NARUSE, Yui [Tue, 6 Jan 2009 00:22:25 +0000 (09:22 +0900)]
Move mimeout_state.state to nkf_state->mimeout_state.

15 years agoIntroduce nkf_state.
NARUSE, Yui [Mon, 5 Jan 2009 11:22:17 +0000 (20:22 +0900)]
Introduce nkf_state.

* std_gc_buf: use nkf_state->std_gc_buf.

* broken_buf: use nkf_state->broken_buf.

15 years agoChange to MIT License.
NARUSE, Yui [Mon, 5 Jan 2009 03:23:20 +0000 (12:23 +0900)]
Change to MIT License.

15 years ago* add -pedantic.
NARUSE, Yui [Mon, 5 Jan 2009 01:44:06 +0000 (10:44 +0900)]
* add -pedantic.

15 years ago* rename nkf_ary to nkf_buf_t.
NARUSE, Yui [Mon, 5 Jan 2009 01:41:50 +0000 (10:41 +0900)]
* rename nkf_ary to nkf_buf_t.

15 years ago* rename nkf_malloc to nkf_xmalloc.
NARUSE, Yui [Sun, 4 Jan 2009 05:48:26 +0000 (14:48 +0900)]
* rename nkf_malloc to nkf_xmalloc.

15 years agoIgnore generated files.
NARUSE, Yui [Thu, 25 Dec 2008 01:57:59 +0000 (10:57 +0900)]
Ignore generated files.

15 years agoWorkarround fix for a long boundary of MIME encode.
NARUSE, Yui [Thu, 25 Dec 2008 01:53:20 +0000 (10:53 +0900)]
Workarround fix for a long boundary of MIME encode.

15 years agoUpdate documents.
NARUSE, Yui [Thu, 25 Dec 2008 01:50:41 +0000 (10:50 +0900)]
Update documents.

15 years agoFix previous test.
NARUSE, Yui [Wed, 19 Nov 2008 06:43:19 +0000 (06:43 +0000)]
Fix previous test.

15 years agoAdd test for guess UTF8_STR_OF_JIS_SECOND_LEVEL_KANJI.
NARUSE, Yui [Wed, 19 Nov 2008 06:40:32 +0000 (06:40 +0000)]
Add test for guess UTF8_STR_OF_JIS_SECOND_LEVEL_KANJI.
patched by kyowa_t at kakaku.com [ruby-list:45633]

15 years ago* update documents.
NARUSE, Yui [Mon, 10 Nov 2008 09:22:20 +0000 (09:22 +0000)]
* update documents.

15 years ago* Fix memory leak.
NARUSE, Yui [Mon, 10 Nov 2008 08:09:22 +0000 (08:09 +0000)]
* Fix memory leak.

15 years ago* use nkf_malloc.
NARUSE, Yui [Mon, 10 Nov 2008 06:10:04 +0000 (06:10 +0000)]
* use nkf_malloc.

15 years ago* refix previous change.
NARUSE, Yui [Mon, 10 Nov 2008 05:34:04 +0000 (05:34 +0000)]
* refix previous change.

15 years ago* Fix: nkc for UTF8-MAC.
NARUSE, Yui [Mon, 10 Nov 2008 03:28:52 +0000 (03:28 +0000)]
* Fix: nkc for UTF8-MAC.

15 years ago* update release date.
NARUSE, Yui [Fri, 7 Nov 2008 11:43:43 +0000 (11:43 +0000)]
* update release date.

15 years agoPatch by sava. [nkf-patch#13930]
NARUSE, Yui [Fri, 7 Nov 2008 11:37:21 +0000 (11:37 +0000)]
Patch by sava. [nkf-patch#13930]
* replace int type with nkf_char.
* remove duplicate NKF_INT32_C.
* use APIs for getting locales on OS/2.
* nkf_default_encoding returns UTF-8 if no locale encoding.
* definitions for (Open) Watcom.
* add DEFAULT_CODE_WINDOWS_31J.
* pointers can't be negative.

15 years ago* nkf.c (kanji_convert): output unicode chars. [ruby-dev:36957]
NARUSE, Yui [Tue, 28 Oct 2008 23:26:31 +0000 (23:26 +0000)]
* nkf.c (kanji_convert): output unicode chars. [ruby-dev:36957]

15 years ago* nkf.c (numchar_getc): increase buffer size.
NARUSE, Yui [Tue, 28 Oct 2008 22:42:25 +0000 (22:42 +0000)]
* nkf.c (numchar_getc): increase buffer size.
  reported and patched at [ruby-dev:36957] by mame.

15 years ago* Fix: NkfConvert isn't reentrant. patched by VA007219.
NARUSE, Yui [Sat, 25 Oct 2008 15:28:08 +0000 (15:28 +0000)]
* Fix: NkfConvert isn't reentrant. patched by VA007219.

15 years ago* update nkf32.dll.
NARUSE, Yui [Thu, 23 Oct 2008 03:27:57 +0000 (03:27 +0000)]
* update nkf32.dll.

15 years ago* update date.
NARUSE, Yui [Sun, 19 Oct 2008 18:33:43 +0000 (18:33 +0000)]
* update date.

15 years ago* fix locale charset on Windows.
NARUSE, Yui [Sun, 19 Oct 2008 18:32:59 +0000 (18:32 +0000)]
* fix locale charset on Windows.

15 years ago* merge constify by nobu.
NARUSE, Yui [Sat, 4 Oct 2008 19:15:10 +0000 (19:15 +0000)]
* merge constify by nobu.

15 years ago* fix memory violation. mentioned by mame [ruby-dev:36373]
NARUSE, Yui [Fri, 19 Sep 2008 03:40:48 +0000 (03:40 +0000)]
* fix memory violation. mentioned by mame [ruby-dev:36373]

15 years ago* fix Input UTF-16LE.
NARUSE, Yui [Tue, 8 Jul 2008 18:34:08 +0000 (18:34 +0000)]
* fix Input UTF-16LE.

15 years ago* fix nkf_enc_find_index.
NARUSE, Yui [Thu, 22 May 2008 05:41:06 +0000 (05:41 +0000)]
* fix nkf_enc_find_index.

16 years ago* cosmetic changes.
NARUSE, Yui [Fri, 8 Feb 2008 21:08:50 +0000 (21:08 +0000)]
* cosmetic changes.

16 years ago* support ISO-8859-1 in ISO-2022-JP-2.
NARUSE, Yui [Fri, 8 Feb 2008 20:37:12 +0000 (20:37 +0000)]
* support ISO-8859-1 in ISO-2022-JP-2.

16 years ago* add csISO2022JP
NARUSE, Yui [Fri, 8 Feb 2008 04:59:13 +0000 (04:59 +0000)]
* add csISO2022JP

16 years ago* Add support for JIS X0213:2004
NARUSE, Yui [Fri, 8 Feb 2008 04:25:29 +0000 (04:25 +0000)]
* Add support for JIS X0213:2004

16 years ago* fix: U+00D8 - U+00DF assumed as unpaired surrogate.
NARUSE, Yui [Thu, 7 Feb 2008 07:14:13 +0000 (07:14 +0000)]
* fix: U+00D8 - U+00DF assumed as unpaired surrogate.

16 years ago* large refactoring.
NARUSE, Yui [Thu, 7 Feb 2008 05:46:39 +0000 (05:46 +0000)]
* large refactoring.

16 years ago* change return value for libraries.
NARUSE, Yui [Fri, 1 Feb 2008 21:03:28 +0000 (21:03 +0000)]
* change return value for libraries.

16 years ago* refine source code.
NARUSE, Yui [Fri, 1 Feb 2008 18:07:56 +0000 (18:07 +0000)]
* refine source code.

16 years ago* change order of definitions.
NARUSE, Yui [Thu, 24 Jan 2008 09:18:53 +0000 (09:18 +0000)]
* change order of definitions.

16 years ago* change order of definitions.
NARUSE, Yui [Thu, 24 Jan 2008 08:24:30 +0000 (08:24 +0000)]
* change order of definitions.

16 years ago* add preparative code for iconv support.
NARUSE, Yui [Wed, 23 Jan 2008 18:21:39 +0000 (18:21 +0000)]
* add preparative code for iconv support.

16 years ago* add nkf32.h
NARUSE, Yui [Wed, 23 Jan 2008 18:12:17 +0000 (18:12 +0000)]
* add nkf32.h

16 years ago* refine file structure.
NARUSE, Yui [Wed, 23 Jan 2008 18:10:25 +0000 (18:10 +0000)]
* refine file structure.

16 years ago* refactoring arround set_{in,out}_encoding.
NARUSE, Yui [Tue, 22 Jan 2008 09:30:05 +0000 (09:30 +0000)]
* refactoring arround set_{in,out}_encoding.

16 years ago* refactoring.
NARUSE, Yui [Tue, 22 Jan 2008 08:05:37 +0000 (08:05 +0000)]
* refactoring.

16 years ago* canonical name of ASCII is US-ASCII.
NARUSE, Yui [Fri, 11 Jan 2008 09:45:06 +0000 (09:45 +0000)]
* canonical name of ASCII is US-ASCII.

* encodings begin with x-* are also accept.

16 years ago* -s is now alias of Windows-31J.
NARUSE, Yui [Tue, 1 Jan 2008 23:21:20 +0000 (23:21 +0000)]
* -s is now alias of Windows-31J.

* restructuring.

16 years ago* Fix: core dumped when invalid output encoding was given.
NARUSE, Yui [Sun, 23 Dec 2007 18:25:35 +0000 (18:25 +0000)]
* Fix: core dumped when invalid output encoding was given.

16 years ago* fix some errors.
NARUSE, Yui [Sun, 23 Dec 2007 17:12:27 +0000 (17:12 +0000)]
* fix some errors.

16 years ago* fix some errors.
NARUSE, Yui [Sun, 23 Dec 2007 16:55:20 +0000 (16:55 +0000)]
* fix some errors.

16 years ago* define HELP_OUTPUT and help and version messages are now output to stdout.
NARUSE, Yui [Sun, 23 Dec 2007 16:25:47 +0000 (16:25 +0000)]
* define HELP_OUTPUT and help and version messages are now output to stdout.
  [nkf-forum#34150]

16 years ago* refactoring encodings.
NARUSE, Yui [Sat, 22 Dec 2007 17:07:23 +0000 (17:07 +0000)]
* refactoring encodings.

16 years ago* support encoding "SJIS".
NARUSE, Yui [Wed, 19 Dec 2007 17:57:58 +0000 (17:57 +0000)]
* support encoding "SJIS".

16 years ago* input/output encoding refactoring. (for Ruby M17N)
NARUSE, Yui [Wed, 19 Dec 2007 13:18:39 +0000 (13:18 +0000)]
* input/output encoding refactoring. (for Ruby M17N)

16 years ago* use constant COPY_RIGHT.
NARUSE, Yui [Wed, 19 Dec 2007 03:24:15 +0000 (03:24 +0000)]
* use constant COPY_RIGHT.

16 years ago* constant DEFAULT_NEWLINE added.
NARUSE, Yui [Wed, 19 Dec 2007 03:20:16 +0000 (03:20 +0000)]
* constant DEFAULT_NEWLINE added.

16 years ago* nkf.c(show_configuration): fix indent.
NARUSE, Yui [Tue, 18 Dec 2007 12:04:10 +0000 (12:04 +0000)]
* nkf.c(show_configuration): fix indent.
  http://pc11.2ch.net/test/read.cgi/unix/1005206241/208

16 years ago* Fix help message.
NARUSE, Yui [Fri, 7 Dec 2007 05:23:55 +0000 (05:23 +0000)]
* Fix help message.

16 years ago* little fix.
NARUSE, Yui [Fri, 7 Dec 2007 05:13:58 +0000 (05:13 +0000)]
* little fix.

16 years ago* X0201_DEFAULT gives whether JIS X 0201 Katakana will be converted or not.
NARUSE, Yui [Sat, 1 Dec 2007 00:59:05 +0000 (00:59 +0000)]
* X0201_DEFAULT gives whether JIS X 0201 Katakana will be converted or not.

16 years ago* s/nextline/newline/g.
NARUSE, Yui [Sun, 18 Nov 2007 21:05:18 +0000 (21:05 +0000)]
* s/nextline/newline/g.
* define MIME_DECODE_DEFAULT.

16 years ago* Fix: mime encode document.
NARUSE, Yui [Tue, 6 Nov 2007 21:12:09 +0000 (21:12 +0000)]
* Fix: mime encode document.

16 years ago* Fix: mime_encode test.
NARUSE, Yui [Tue, 6 Nov 2007 21:10:48 +0000 (21:10 +0000)]
* Fix: mime_encode test.

16 years ago* nkf_noescape_mime(): Add '(' and ')'.
NARUSE, Yui [Tue, 6 Nov 2007 21:09:44 +0000 (21:09 +0000)]
* nkf_noescape_mime(): Add '(' and ')'.
* more fixes arround mime encode.

16 years ago* More improvement for mime encode.
NARUSE, Yui [Sat, 3 Nov 2007 17:02:49 +0000 (17:02 +0000)]
* More improvement for mime encode.

16 years ago* Support RFC3548 (Base 64 Encoding with URL and Filename Safe Alphabet).
NARUSE, Yui [Sat, 3 Nov 2007 07:13:21 +0000 (07:13 +0000)]
* Support RFC3548 (Base 64 Encoding with URL and Filename Safe Alphabet).

16 years ago* Remove itoh4().
NARUSE, Yui [Sat, 3 Nov 2007 06:40:15 +0000 (06:40 +0000)]
* Remove itoh4().

16 years ago* Fix: wordwrap for mime encode. [nkf-bugs#11329]
NARUSE, Yui [Sat, 3 Nov 2007 05:17:35 +0000 (05:17 +0000)]
* Fix: wordwrap for mime encode. [nkf-bugs#11329]

16 years ago* Add -g=0, -g=1, --guess=0, --guess=1.
NARUSE, Yui [Thu, 11 Oct 2007 04:35:39 +0000 (04:35 +0000)]
* Add -g=0, -g=1, --guess=0, --guess=1.

* Remove next line information from --guess output.

* Fix test for next line.

16 years ago* Ignore options when they were given with guess option.
NARUSE, Yui [Fri, 5 Oct 2007 19:57:50 +0000 (19:57 +0000)]
* Ignore options when they were given with guess option.

* Show "+" after encoding when input includes extended characters.

16 years ago* Fixed test for -Z4.
NARUSE, Yui [Fri, 5 Oct 2007 13:48:25 +0000 (13:48 +0000)]
* Fixed test for -Z4.

16 years ago* Fixed input_nextline is int.
NARUSE, Yui [Tue, 2 Oct 2007 17:41:03 +0000 (17:41 +0000)]
* Fixed input_nextline is int.

16 years ago* Revert default C Compiler.
NARUSE, Yui [Tue, 2 Oct 2007 17:38:24 +0000 (17:38 +0000)]
* Revert default C Compiler.

16 years ago* Fixed guess next line when multiple file input. [Nkf-dev 46]
NARUSE, Yui [Tue, 2 Oct 2007 17:37:46 +0000 (17:37 +0000)]
* Fixed guess next line when multiple file input. [Nkf-dev 46]

16 years ago* Remove variable is_inputcode_mixed.
NARUSE, Yui [Tue, 2 Oct 2007 06:52:14 +0000 (06:52 +0000)]
* Remove variable is_inputcode_mixed.

16 years ago* Add tests for Next line convertion.
NARUSE, Yui [Tue, 2 Oct 2007 06:39:39 +0000 (06:39 +0000)]
* Add tests for Next line convertion.

16 years ago* Add command_tests().
NARUSE, Yui [Tue, 2 Oct 2007 06:39:08 +0000 (06:39 +0000)]
* Add command_tests().

16 years ago* Fixed: Guess Next line broken. [Nkf-dev 44]
NARUSE, Yui [Tue, 2 Oct 2007 04:55:25 +0000 (04:55 +0000)]
* Fixed: Guess Next line broken. [Nkf-dev 44]
  reported by Motoyuki Kasahara.

* Add tests for Guess Next line.

16 years ago* Remove extra space.
NARUSE, Yui [Mon, 1 Oct 2007 23:29:21 +0000 (23:29 +0000)]
* Remove extra space.
* Move Acknowledge.

16 years ago* Remove variable is_incputcode_set.
NARUSE, Yui [Mon, 1 Oct 2007 23:18:43 +0000 (23:18 +0000)]
* Remove variable is_incputcode_set.

16 years ago* Rename cr_conv to nl_conv, o_crconv to o_nlconv, crmode_f to nlmode_f,
NARUSE, Yui [Mon, 1 Oct 2007 21:37:58 +0000 (21:37 +0000)]
* Rename cr_conv to nl_conv, o_crconv to o_nlconv, crmode_f to nlmode_f,
  Constant NL to LF.

16 years ago* Fix: CRLF
NARUSE, Yui [Wed, 19 Sep 2007 22:06:23 +0000 (22:06 +0000)]
* Fix: CRLF

16 years ago* Fix: Some characters are confused with Halfwidth Voice Mark.
NARUSE, Yui [Wed, 19 Sep 2007 22:03:15 +0000 (22:03 +0000)]
* Fix: Some characters are confused with Halfwidth Voice Mark.
  [forum#32394]

16 years ago* some code maintenance.
NARUSE, Yui [Wed, 19 Sep 2007 20:51:55 +0000 (20:51 +0000)]
* some code maintenance.

16 years ago* Add characters to -Z4.
NARUSE, Yui [Wed, 12 Sep 2007 13:56:53 +0000 (13:56 +0000)]
* Add characters to -Z4.

* Add test for -Z4.

16 years ago* Add option -Z4: Convert JIS X 0208 Katakana to JIS X 0201 Katakana.
NARUSE, Yui [Fri, 31 Aug 2007 23:06:08 +0000 (23:06 +0000)]
* Add option -Z4: Convert JIS X 0208 Katakana to JIS X 0201 Katakana.

16 years ago* ReFix: forum15899.
NARUSE, Yui [Thu, 30 Aug 2007 15:02:28 +0000 (15:02 +0000)]
* ReFix: forum15899.

* Fix: Spaces aren't preserved. [nkf-bugs#10904]

16 years ago* Fix: mime encode extra NL + SPACE.
NARUSE, Yui [Thu, 23 Aug 2007 06:37:35 +0000 (06:37 +0000)]
* Fix: mime encode extra NL + SPACE.

16 years ago* Fix typo: "Endien" -> "Endian" [ nkf-Bugs-10833 ]
NARUSE, Yui [Fri, 10 Aug 2007 00:07:09 +0000 (00:07 +0000)]
* Fix typo: "Endien" -> "Endian" [ nkf-Bugs-10833 ]

16 years ago* Update documents [ nkf-Patches-10818 ]
NARUSE, Yui [Wed, 8 Aug 2007 00:55:19 +0000 (00:55 +0000)]
* Update documents [ nkf-Patches-10818 ]

* -E no longer accepts JIS text. [ nkf-Bugs-10820 ]

16 years ago* SetNkfOption(LPCSTR optStr) -> SetNkfOption(LPSTR optStr)
NARUSE, Yui [Wed, 25 Jul 2007 19:13:07 +0000 (19:13 +0000)]
* SetNkfOption(LPCSTR optStr) -> SetNkfOption(LPSTR optStr)

16 years ago* Remove copying exe and dll other folder.
NARUSE, Yui [Wed, 25 Jul 2007 19:12:37 +0000 (19:12 +0000)]
* Remove copying exe and dll other folder.

* Fix: /LD not needed

16 years ago* Fix comments.
NARUSE, Yui [Wed, 25 Jul 2007 00:12:44 +0000 (00:12 +0000)]
* Fix comments.

16 years ago* Fix versions.
NARUSE, Yui [Wed, 25 Jul 2007 00:12:30 +0000 (00:12 +0000)]
* Fix versions.

16 years ago* Update version.
NARUSE, Yui [Fri, 20 Jul 2007 05:17:08 +0000 (05:17 +0000)]
* Update version.

16 years ago* Fix: -L* doesn't work.
NARUSE, Yui [Fri, 20 Jul 2007 05:08:29 +0000 (05:08 +0000)]
* Fix: -L* doesn't work.

16 years ago* Fix: nkf32.dll can't build.
NARUSE, Yui [Thu, 19 Jul 2007 10:10:03 +0000 (10:10 +0000)]
* Fix: nkf32.dll can't build.

16 years ago* Fix: nkf32.dll can't build
NARUSE, Yui [Thu, 19 Jul 2007 10:05:34 +0000 (10:05 +0000)]
* Fix: nkf32.dll can't build

16 years ago* Update Copyright. v2_0_8
NARUSE, Yui [Mon, 9 Jul 2007 18:11:57 +0000 (18:11 +0000)]
* Update Copyright.

16 years ago* nkf.c(kanji_convert): Fix guess fallback.
NARUSE, Yui [Tue, 5 Jun 2007 08:58:17 +0000 (08:58 +0000)]
* nkf.c(kanji_convert): Fix guess fallback.