1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

20 commits

Author SHA1 Message Date
nobu
7dbb035ba8 * ext/nkf/nkf-utf8/nkf.c (numchar_getc): get rid of buffer
overflow.  [ruby-dev:40606]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-13 02:06:35 +00:00
naruse
ef1e9185f4 * ext/nkf/nkf-utf8/nkf.c (h_conv): can't guess UTF-8 input in
conversion. [ruby-list:45609]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-07 16:54:25 +00:00
nobu
99bcfc9cce * ext/nkf/nkf-utf8/nkf.c (options): operators without any effect.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@18184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-23 08:51:20 +00:00
nobu
cbf2c76c4f * ext/nkf/nkf-utf8/nkf.c (struct input_code.name, input_codename),
(options): constified.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@18174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-22 19:17:45 +00:00
matz
0343a11d1a revert error check-in in r11777
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-19 08:29:08 +00:00
matz
45d282aeb0 * ext/socket/socket.c (unix_peeraddr): wrong syscall name in error
message for #peeraddr. a patch from Sam Roberts
  <sroberts at uniserve.com>.  [ruby-core:10366]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-19 08:16:34 +00:00
naruse
b2515d3003 Tue Feb 06 22:06:45 2007 NARUSE, Yui <naruse@ruby-lang.org>
* 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
2007-02-06 13:35:50 +00:00
naruse
f36b7d8fd5 Mon Jun 19 23:40:59 2006 NARUSE, Yui <naruse@ruby-lang.org>
* 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
2006-06-19 14:52:56 +00:00
(no author)
23f1f6b62d This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-19 14:52:56 +00:00
usa
0d64a44875 * ext/nkf/nkf-utf8/nkf.c (nkf_each_char_to_hex, encode_fallback_subchar,
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
2006-03-29 01:12:22 +00:00
naruse
bb1e80fd4e * ext/nkf/nkf-utf8/{nkf.c, utf8tbl.c, config.h}: imported nkf 2.0.6.
* 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
2006-03-27 13:28:15 +00:00
naruse
ca73fd9f7f * ext/nkf/nkf-utf8/nkf.c: follow nkf 2.0.5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12 07:39:34 +00:00
naruse
3f860f4c90 * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.66
fixed: [ruby-dev:25828]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-07 16:29:50 +00:00
naruse
464b65b8ea * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.63
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-03 22:12:03 +00:00
naruse
be8c5a34b5 * ext/nkf/nkf-utf8/nkf.c: follow nkf 1.62
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-03 14:50:01 +00:00
nobu
785569e800 * ext/nkf/nkf-utf8/nkf.c (reinit): should initialize all static
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
2004-12-28 06:42:33 +00:00
naruse
5016ca1a3d * original nkf2 revision 1.47
* 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
2004-12-03 18:04:38 +00:00
naruse
ee44b3a1fc * original revision 1.7
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 04:26:03 +00:00
naruse
02f6ed66b7 * original nkf.c rev:1.40
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19 20:52:01 +00:00
(no author)
8b33686b91 This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-01 08:21:06 +00:00