aboutsummaryrefslogtreecommitdiffstats
path: root/ext/nkf/nkf.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge changes between r11871 and r11907 from ruby_1_8.knu2007-02-271-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/{nkf.c, utf8tbl.c, config.h}: imported nkf 2.0.6.naruse2006-03-271-1/+51
| | | | | | | | | | | | | | | * 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-231-33/+345
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9990 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
* * follow nkf 2.0.4naruse2004-11-031-50/+141
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7186 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
* * 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
* * 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
* 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-181-17/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 19991004matz1999-10-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove marshal/gtk/kconvmatz1999-08-131-0/+206
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e