1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/enc
naruse 800f04c6a5 * numeric.c (rb_enc_uint_char): raise RangeError when added codepoint
is invalid. [Feature #5855] [Bug #5863] [Bug #5864]

* string.c (rb_str_concat): ditto.

* string.c (rb_str_concat): set encoding as ASCII-8BIT when the string
  is US-ASCII and the argument is an integer greater than 127.

* regenc.c (onigenc_mb2_code_to_mbclen): rearrange error code.

* enc/euc_jp.c (code_to_mbclen): ditto.

* enc/shift_jis.c (code_to_mbclen): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-08 20:42:45 +00:00
..
trans * enc/trans/iso-8859-16-tbl.rb: add ISO-8859-16 converter. 2011-12-09 10:27:37 +00:00
unicode * Makefile.in (enc/unicode/name2ctype.h): remove duplicated 2011-11-19 19:01:49 +00:00
ascii.c * enc/ascii.c: ISO C does not allow extra ';' outside of a 2008-07-01 08:39:10 +00:00
big5.c * remove trailing spaces. 2011-05-15 11:55:52 +00:00
cp949.c * remove trailing spaces. 2011-05-15 11:55:52 +00:00
depend * enc/depend: show srcdir. 2011-06-16 00:10:10 +00:00
emacs_mule.c * remove trailing spaces. 2011-05-15 11:55:52 +00:00
encdb.c * enc/encdb.c: parenthesize macro arguments. 2011-02-01 11:47:01 +00:00
euc_jp.c * numeric.c (rb_enc_uint_char): raise RangeError when added codepoint 2012-01-08 20:42:45 +00:00
euc_kr.c * remove trailing spaces. 2011-05-15 11:55:52 +00:00
euc_tw.c * remove trailing spaces. 2011-05-15 11:55:52 +00:00
gb2312.c forgot to commit 2008-07-01 09:50:30 +00:00
gb18030.c * remove trailing spaces. 2011-05-15 11:55:52 +00:00
gbk.c * remove trailing spaces. 2011-05-15 11:55:52 +00:00
iso_2022_jp.h * enc/iso_2022_jp.h: add CP50220. 2010-05-17 06:28:16 +00:00
iso_8859_1.c * enc/{emacs_mule,euc_jp}.c (code_to_mbc): suppress warnings. 2011-01-05 20:16:32 +00:00
iso_8859_2.c * enc/{emacs_mule,euc_jp}.c (code_to_mbc): suppress warnings. 2011-01-05 20:16:32 +00:00
iso_8859_3.c forgot to commit 2008-07-01 09:50:30 +00:00
iso_8859_4.c forgot to commit 2008-07-01 09:50:30 +00:00
iso_8859_5.c * include/ruby/oniguruma.h: updated to follow Oniguruma 5.9.2. 2010-03-01 21:54:59 +00:00
iso_8859_6.c forgot to commit 2008-07-01 09:50:30 +00:00
iso_8859_7.c forgot to commit 2008-07-01 09:50:30 +00:00
iso_8859_8.c forgot to commit 2008-07-01 09:50:30 +00:00
iso_8859_9.c forgot to commit 2008-07-01 09:50:30 +00:00
iso_8859_10.c forgot to commit 2008-07-01 09:50:30 +00:00
iso_8859_11.c forgot to commit 2008-07-01 09:50:30 +00:00
iso_8859_13.c forgot to commit 2008-07-01 09:50:30 +00:00
iso_8859_14.c forgot to commit 2008-07-01 09:50:30 +00:00
iso_8859_15.c forgot to commit 2008-07-01 09:50:30 +00:00
iso_8859_16.c forgot to commit 2008-07-01 09:50:30 +00:00
koi8_r.c * include/ruby/oniguruma.h: updated to follow Oniguruma 5.9.2. 2010-03-01 21:54:59 +00:00
koi8_u.c * include/ruby/oniguruma.h: updated to follow Oniguruma 5.9.2. 2010-03-01 21:54:59 +00:00
make_encmake.rb * win32/Makefile.sub (MAKEDIRS): should not include silent flag. 2010-11-17 09:38:38 +00:00
Makefile.in Forward-ports r32780 from branches/ruby_1_9_3 to trunk. 2011-07-31 14:17:42 +00:00
prelude.rb * ruby.c (process_options), enc/prelude.rb: encdb and transdb are 2009-06-22 05:41:51 +00:00
shift_jis.c * numeric.c (rb_enc_uint_char): raise RangeError when added codepoint 2012-01-08 20:42:45 +00:00
unicode.c * enc/unicode.c (PROPERTY_NAME_MAX_SIZE): +1. 2011-11-20 13:44:11 +00:00
us_ascii.c * enc/us_ascii.c (us_ascii_mbc_enc_len): made static. a patch by 2008-10-24 19:00:35 +00:00
utf_7.h
utf_8.c * remove trailing spaces. 2011-05-15 11:55:52 +00:00
utf_16_32.h * enc/utf_16_32.h: add UTF-16 and UTF-32 as a dummy encoding. 2010-11-23 16:42:47 +00:00
utf_16be.c * enc/utf_16{be,le}.c (utf16{be,le}_mbc_to_code): simplified. 2010-04-01 05:30:25 +00:00
utf_16le.c * enc/utf_16le.c: surpress warning: shorten-64-to-32. 2011-03-21 21:23:42 +00:00
utf_32be.c * enc/shift_jis.c (code_to_mbc): cast as int from the subtraction of pointers. 2011-02-03 07:37:25 +00:00
utf_32le.c * enc/shift_jis.c (code_to_mbc): cast as int from the subtraction of pointers. 2011-02-03 07:37:25 +00:00
windows_1251.c forgot to commit 2008-07-01 09:50:30 +00:00
x_emoji.h * enc/x_emoji.h: renamed from enc/x-emoji.c. 2010-03-10 03:12:17 +00:00