OSDN Git Service

nkf/nkf.git
10 years agoAllow output MIME encoded Unicode characters. [nkf-forum#46987]
NARUSE Yui [Thu, 19 Nov 2009 22:33:40 +0000 (07:33 +0900)]
Allow output MIME encoded Unicode characters. [nkf-forum#46987]

10 years agoFix: MIME encode ISO-2022-JP after US-ASCII is broken. [ruby-dev:39722]
NARUSE Yui [Thu, 19 Nov 2009 11:50:14 +0000 (20:50 +0900)]
Fix: MIME encode ISO-2022-JP after US-ASCII is broken. [ruby-dev:39722]

10 years agoRelease 2.1.0. v2_1_0
NARUSE Yui [Tue, 17 Nov 2009 00:31:43 +0000 (09:31 +0900)]
Release 2.1.0.

10 years agoFix: CRLF & Q-encode & softwrap breaks result.
NARUSE Yui [Wed, 21 Oct 2009 11:27:34 +0000 (20:27 +0900)]
Fix: CRLF & Q-encode & softwrap breaks result.

Reported and patched by efialtes.
http://sourceforge.jp/ticket/browse.php?group_id=248&tid=19254

10 years agoFix: CP932 doesn't imply -x.
NARUSE Yui [Thu, 3 Sep 2009 16:35:51 +0000 (01:35 +0900)]
Fix: CP932 doesn't imply -x.

http://pc12.2ch.net/test/read.cgi/unix/1005206241/244

10 years agoFix Makefile: PHONY install and add recursive mkdir. [#45482]
NARUSE Yui [Fri, 21 Aug 2009 12:45:10 +0000 (21:45 +0900)]
Fix Makefile: PHONY install and add recursive mkdir. [#45482]

10 years agoOutput \e in SJIS and UTF-8. [ruby-dev:39120]
NARUSE Yui [Thu, 20 Aug 2009 23:46:26 +0000 (08:46 +0900)]
Output \e in SJIS and UTF-8. [ruby-dev:39120]

10 years agoFix: -Zx always implies -Z0. [nkf-forum:45244]
NARUSE Yui [Mon, 3 Aug 2009 18:05:57 +0000 (03:05 +0900)]
Fix: -Zx always implies -Z0. [nkf-forum:45244]

10 years agoFix typo: hirakana.
NARUSE Yui [Fri, 26 Jun 2009 08:17:38 +0000 (17:17 +0900)]
Fix typo: hirakana.

http://sourceforge.jp/forum/message.php?msg_id=44580

10 years agocp932inv_f is FALSE if output is ISO-2022-JP.
NARUSE Yui [Mon, 22 Jun 2009 20:32:56 +0000 (05:32 +0900)]
cp932inv_f is FALSE if output is ISO-2022-JP.

10 years agoSupport JIS X 0201 Katakana in 8bit JIS.
NARUSE Yui [Fri, 29 May 2009 17:30:33 +0000 (02:30 +0900)]
Support JIS X 0201 Katakana in 8bit JIS.

10 years agoChange default compile option to -g -O2.
NARUSE Yui [Fri, 29 May 2009 16:36:40 +0000 (01:36 +0900)]
Change default compile option to -g -O2.

10 years agoAdd test for 4byte UTF-8.
NARUSE, Yui [Sun, 26 Apr 2009 10:35:02 +0000 (19:35 +0900)]
Add test for 4byte UTF-8.

10 years agoFix: guess encoding of 4bytes UTF-8 is broken. [nkf-forum#43436]
NARUSE, Yui [Sun, 26 Apr 2009 10:28:49 +0000 (19:28 +0900)]
Fix: guess encoding of 4bytes UTF-8 is broken. [nkf-forum#43436]

10 years agoFix: Unicode scalar value to UTF-8 is broken on beyond the BMP.
NARUSE, Yui [Sun, 26 Apr 2009 09:20:20 +0000 (18:20 +0900)]
Fix: Unicode scalar value to UTF-8 is broken on beyond the BMP.

[nkf-forum#43436]

11 years agoFix typo. [ruby-core:23170]
NARUSE, Yui [Thu, 9 Apr 2009 06:30:11 +0000 (15:30 +0900)]
Fix typo. [ruby-core:23170]

11 years agoAdd tests for UTF.
NARUSE, Yui [Sat, 21 Feb 2009 06:51:20 +0000 (15:51 +0900)]
Add tests for UTF.

11 years agoFix: doesn't put BOM on UTF-32.
NARUSE, Yui [Sat, 21 Feb 2009 06:50:53 +0000 (15:50 +0900)]
Fix: doesn't put BOM on UTF-32.

11 years agoFix: can't guess UTF-16 and UTF-32.
NARUSE, Yui [Sat, 21 Feb 2009 06:12:55 +0000 (15:12 +0900)]
Fix: can't guess UTF-16 and UTF-32.

http://pc11.2ch.net/test/read.cgi/unix/1005206241/240

11 years agoFix: -Z1 and -Z2 doesn't include -Z0. [nkf-forum#41992]
NARUSE, Yui [Thu, 19 Feb 2009 21:21:01 +0000 (06:21 +0900)]
Fix: -Z1 and -Z2 doesn't include -Z0. [nkf-forum#41992]

11 years agoIncrement version number.
NARUSE, Yui [Sun, 1 Feb 2009 11:50:41 +0000 (20:50 +0900)]
Increment version number.

11 years agoFix typo.
NARUSE, Yui [Sun, 1 Feb 2009 11:48:29 +0000 (20:48 +0900)]
Fix typo.

11 years agoFix: build failure of nkf32.dll. [#41578] [#41580]
NARUSE, Yui [Sun, 1 Feb 2009 11:43:05 +0000 (20:43 +0900)]
Fix: build failure of nkf32.dll. [#41578] [#41580]

11 years agoAdd NKF.mod files.
NARUSE, Yui [Wed, 21 Jan 2009 18:34:09 +0000 (03:34 +0900)]
Add NKF.mod files.

11 years agoFix: can't run test.
NARUSE, Yui [Wed, 21 Jan 2009 18:33:41 +0000 (03:33 +0900)]
Fix: can't run test.

11 years agoFix: redefinition of macro SP (workarround).
NARUSE, Yui [Wed, 21 Jan 2009 18:32:33 +0000 (03:32 +0900)]
Fix: redefinition of macro SP (workarround).

11 years agoNKF.xs must follow nkf.c doesn't have WISH_TRUE AND NO_X0201.
NARUSE, Yui [Wed, 21 Jan 2009 15:40:49 +0000 (00:40 +0900)]
NKF.xs must follow nkf.c doesn't have WISH_TRUE AND NO_X0201.

fixed by obache [sf.jp#14731]

11 years agoUpdate --help. v2_0_9
NARUSE, Yui [Tue, 20 Jan 2009 08:34:56 +0000 (17:34 +0900)]
Update --help.

11 years agoAdd target install.
NARUSE, Yui [Tue, 20 Jan 2009 04:36:40 +0000 (13:36 +0900)]
Add target install.

11 years agoUpdate documents.
NARUSE, Yui [Tue, 20 Jan 2009 04:36:20 +0000 (13:36 +0900)]
Update documents.

11 years agoImported following change from ruby.
NARUSE, Yui [Tue, 20 Jan 2009 01:23:05 +0000 (10:23 +0900)]
Imported following change from ruby.

r21679 | usa | 2009-01-20 09:27:17 +0900 (Tue, 20 Jan 2009) | 5 lines

        * ext/nkf/nkf-utf8/nkf.c (nkf_buf_push): maybe a bug.

        * ext/nkf/nkf-utf8/nkf.c (options): no need to support help
          option.

11 years agoRelease 2.0.9.
NARUSE, Yui [Mon, 19 Jan 2009 18:49:11 +0000 (03:49 +0900)]
Release 2.0.9.

11 years agoUpdate document.
NARUSE, Yui [Mon, 19 Jan 2009 12:42:01 +0000 (21:42 +0900)]
Update document.

11 years agoEdit help message.
NARUSE, Yui [Mon, 19 Jan 2009 12:35:03 +0000 (21:35 +0900)]
Edit help message.

11 years agoUpdate document and help.
NARUSE, Yui [Mon, 19 Jan 2009 07:36:39 +0000 (16:36 +0900)]
Update document and help.

11 years ago-s means Shift_JIS not Windows-31J. (revert to 2.0.8)
NARUSE, Yui [Mon, 19 Jan 2009 02:22:03 +0000 (11:22 +0900)]
-s means Shift_JIS not Windows-31J. (revert to 2.0.8)

11 years agoChange to zlib license.
NARUSE, Yui [Mon, 19 Jan 2009 02:20:16 +0000 (11:20 +0900)]
Change to zlib license.

11 years agoAdd *.swp.
NARUSE, Yui [Tue, 6 Jan 2009 01:09:01 +0000 (10:09 +0900)]
Add *.swp.

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

11 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.

11 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.

11 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.

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

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

11 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.

11 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.

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

11 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.

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

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

11 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]

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

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

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

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

11 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.

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

11 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.

11 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]

11 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.

11 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.

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

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

11 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.

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

11 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]

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

11 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.

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

12 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.

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

12 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

12 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.

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

12 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.

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

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

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

12 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.

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

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

12 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.

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

12 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.

12 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.

12 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.

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

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

12 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]

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

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

12 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)

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

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

12 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

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

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

12 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.

12 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.

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