aboutsummaryrefslogtreecommitdiffstats
path: root/ext/nkf
Commit message (Collapse)AuthorAgeFilesLines
* * ext/nkf/nkf-utf8/{nkf.c,utf8tbl.c,config.h}:naruse2005-07-213-788/+815
| | | | | | | | import 1.76 [ruby-dev:26592] nkf constification git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: import nkf.c 1.73naruse2005-07-171-12/+29
| | | | | | | fix: TestKconv 1F git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/lib/kconv.rb: fix typo.naruse2005-07-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/{nkf.c,utf8tbl.c,config.h}:naruse2005-07-054-19/+1111
| | | | | | | | | imported nkf.c 1.70 (support UTF-8-MAC) * ext/nkf/lib/kconv.rb: add :utf8mac and :internalunicode git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/lib/kconv.rb: add Kconv::VERSIONnaruse2005-06-273-53/+40
| | | | | | | | | * ext/nkf/lib/kconv.rb (conv): can process arrayed options * ext/nkf/nkf-utf8/nkf.c: imported Revision 1.69 * ext/nkf/nkf-utf8/utf8tbl.c: imported Revision 1.9 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/lib/kconv.rb: remove constantsnaruse2005-06-251-65/+202
| | | | | | | | | | | | Iconv_Shift_JIS, Uconv_EUC_JP, Iconv_UTF8 * ext/nkf/lib/kconv.rb: add module functions to Kconv conv, {eucjp, shiftjis, utf8}?, guess_as_symbol * ext/nkf/lib/kconv.rb: add instance methods to String conv, {eucjp, shiftjis, utf8}? * ext/nkf/lib/kconv.rb: add aliases Kconv.to_* and String#to_* git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8660 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/trunk@8440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.66naruse2005-03-071-1/+2
| | | | | | | fixed: [ruby-dev:25828] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.65naruse2005-03-051-7/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8077 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/trunk@8063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.62naruse2005-03-031-137/+236
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * follow original utf8tbl.c,v 1.8naruse2005-02-021-2240/+4213
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * follow original config.h,v 1.7naruse2005-02-021-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: follow nkf.c,v 1.57naruse2005-02-021-48/+313
| | | | | | | | support JISX0212 fixed: [Ruby-dev:25617] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/lib/kconv.rb (guess_old): not use NKF.guess_oldnaruse2005-01-241-1/+1
| | | | | | | but NKF.guess1. fixed: [ruby-dev:25491] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7816 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/trunk@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/trunk@7672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * original nkf2 revision 1.47naruse2004-12-011-20/+30
| | | | | | | | | * mime encode/decode are improved * --cp932inv turns on as default * add long name option --cp932 which turns on all CP932 option git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add constant NKF::VERSIONnaruse2004-12-011-4/+4
| | | | | | | * NKF.guess becomes an alias of NKF.guess2 (based on nkf2) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add --no-cp932naruse2004-12-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * follow original nkf.c 1.40.(improve mime encode/decode support)naruse2004-11-192-82/+412
| | | | | | | * add test for mime encode/decode git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove dump listnaruse2004-11-091-2/+2
| | | | | | | * remove CR git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * nkf_test.pl rev:1.7naruse2004-11-091-135/+246
| | | | | | | * fix bug: mime tests fail git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * fix bug arround parse optionsnaruse2004-11-091-9/+12
| | | | | | | * add versioning constants git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * nkf.c rev:1.38naruse2004-11-091-86/+98
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* follow CVS Head of original nkf.naruse2004-11-052-19/+131
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST, ext/**/MANIFEST: removed.eban2004-11-011-9/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: add "\075?UTF-8?Q?" for Gmail.eban2004-10-311-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* obsoleted by nkf-utf8/nkf.c.naruse2004-10-291-1900/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* from nkf 2.0.4naruse2004-10-293-0/+9424
| | | | | | | http://sourceforge.jp/projects/nkf/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* follow to nkf 2.0.4naruse2004-10-294-148/+782
| | | | | | | | | | | | | | | :new constants NKF::VERSION NKF::ASCII NKF::UTF8 NKF::UTF16 NKF::UTF32 :new methods NFK.guess1 (guess) NKF.guess2 (from nkf2) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* follow to nkf 2.0.4naruse2004-10-291-1/+1
| | | | | | | | | | | | | | | :new constants NKF::VERSION NKF::ASCII NKF::UTF8 NKF::UTF16 NKF::UTF32 :new metHods NFK.guess1 (guess) NKF.guess2 (from nkf2) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7131 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