aboutsummaryrefslogtreecommitdiffstats
path: root/ext/nkf
Commit message (Collapse)AuthorAgeFilesLines
* Tue Feb 06 22:06:45 2007 NARUSE, Yui <naruse@ruby-lang.org>naruse2007-02-062-348/+755
| | | | | | | | | | | | | | | * ext/nkf/nkf-utf8/{nkf.c,utf8tbl.c}: imported nkf 2007-01-28. * Fixed: can't decode MIME encode JIS string. * Fixed: Fullwitdh-halfwidth conversion. * Support DoCoMo's and Softbank's EMOJI * Support CP932, CP5022x, eucJP-ms UDC * Support UTF-32 encoding * Support beyond BMP [ruby-dev:29700] [ruby-dev:29922] [ruby-dev:30144] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): fix regexp for euc-jpnaruse2006-09-061-3/+3
| | | | | | | | | [ruby-dev:29344] * ext/nkf/lib/kconv.rb (Kconv::toeuc): remove -m0 [ruby-dev:29505] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mon Jun 19 23:40:59 2006 NARUSE, Yui <naruse@ruby-lang.org>naruse2006-06-194-800/+744
| | | | | | | | | | * ext/nkf/lib/kconv.rb: remove default -m0 and fix document. * ext/nkf/nkf-8/{nkf.c, config.h, utf8tbl.c, utf8tbl.h}: imported nkf 2.0.7. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2006-06-191-0/+34
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c (nkf_each_char_to_hex, encode_fallback_subchar,usa2006-03-291-3/+3
| | | | | | | e2w_conv): support C90 compiler. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/{nkf.c, utf8tbl.c, config.h}: imported nkf 2.0.6.naruse2006-03-275-3515/+7615
| | | | | | | | | | | | | | | * Add --ic / --oc option and mapping tables. * Add fallback option. * Add --no-best-fit-chars option. * Fix some bugs. * ext/nkf/nkf.c (nkf_split_options): added for parse option string. * ext/nkf/lib/kconv.rb (Kconv.to*): add -m0. Note that Kconv.to* still imply -X. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf.c ext/nkf/lib/kconv.rb: Add rdoc.naruse2006-02-232-121/+564
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Removed (Obsolete by test/nkf)naruse2006-02-231-864/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: follow nkf 2.0.5naruse2005-05-121-11/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.66naruse2005-03-071-8/+19
| | | | | | | fixed: [ruby-dev:25828] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.63naruse2005-03-031-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.62naruse2005-03-031-147/+511
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/lib/kconv.rb (guess_old): not use NKF.guess_old but NKF.guess1. ↵naruse2005-01-241-1/+1
| | | | | | fixed: [ruby-dev:25491] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c (reinit): should initialize all staticnobu2004-12-281-3/+7
| | | | | | | variables. fixed: [ruby-list:40445] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): second byte is up tonobu2004-12-281-4/+6
| | | | | | | | | | 0xfe. * ext/nkf/lib/kconv.rb (Kconv#kconv): should handle UTF8 and UTF16 properly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * original nkf2 revision 1.47naruse2004-12-031-20/+30
| | | | | | | | | | | * option --cp932inv turns on by default * new option --cp932: turns on all CP932 compatibility * changed option --no-cp932: turns off all CP932 compatibility git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/nkf/test.rb(mime_out2): add --no-cp932naruse2004-12-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf.c: add constant NKF::VERSIONnaruse2004-12-031-10/+13
| | | | | | | * ext/nkf/nkf.c(guess): this becomes an alias of guess2 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * original revision 1.7naruse2004-11-201-0/+60
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add and change mime encode/decode testsnaruse2004-11-191-144/+302
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * original nkf.c rev:1.40naruse2004-11-191-168/+515
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * follow nkf 2.0.4naruse2004-11-035-2048/+780
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST, ext/**/MANIFEST: removed.eban2004-11-011-7/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2004-11-013-0/+9425
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf.c (rb_nkf_putchar): should use rb_str_resize() to justnobu2003-08-231-1/+1
| | | | | | | resize a string, rb_str_cat() disallows NULL. [ruby-dev:21237] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: modify program_prefix only if specifiedeban2002-09-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | --program-prefix. * configure.in: don't generate ext/extmk.rb. * Makefile.in: execute directly $(srcdir)/ext/extmk.rb. remove -Cext option, "Dir::chdir 'ext'" in ext/extmk.rb. * {win32,bccwin32}/Makefile.sub: ditto. * instruby.rb: ditto. * ext/extmk.rb: renamed from ext/extmk.rb.in. * lib/mkmf.rb (module Logging): create log files (mkmf.log) in each extension module directories. * ext/extmk.rb: ditto. * lib/mkmf.rb (macro_defined?): new method. * ext/.cvsignore: remove extmk.rb. * ext/*/.cvsignore: add "*.def". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Win32API/Win32API.c (Win32API_Call): RSTRING()->ptr may benobu2002-08-301-0/+1
| | | | | | | | | | | | | | | | | NULL. * ext/nkf/nkf.c (rb_nkf_guess): ditto. * ext/readline/readline.c (readline_s_set_completion_append_character): ditto. * ext/socket/socket.c (sock_s_getaddrinfo, sock_s_getnameinfo): ditto. * ext/tcltklib/tcltklib.c (ip_toUTF8, ip_fromUTF8): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Make cvs ignore mkmf.log.knu2002-03-041-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c (NUM_FAILURE_ITEMS): was confusing NUM_REG_ITEMS andmatz2001-07-181-0/+1
| | | | | | | | | | | | | | | | | | NUM_NONREG_ITEMS, which have happened to be same value. * class.c (rb_class_new): subclass check moved to this function. * class.c (rb_class_boot): check less version of rb_class_new(). * eval.c (proc_invoke): should preserve iter status for embedded frame in the block. * file.c (rb_file_s_expand_path): may overrun buffer on stack. * string.c (rb_str_insert): forgot to call rb_str_modify(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot some checkins.matz2001-05-061-9/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add .cvsignore's.knu2001-01-091-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 19991029matz1999-10-291-0/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* marshal load GC protectmatz1999-10-201-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 19991018matz1999-10-182-18/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 19991004matz1999-10-042-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove marshal/gtk/kconvmatz1999-08-137-0/+2491
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e