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 e0f8351d55 merge revision(s) 34236: [Backport #5890]
* 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/branches/ruby_1_9_3@34501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-08 22:34:12 +00:00
..
trans * enc/trans/ibm737-tbl.rb: greek code page. fixes #4738 2011-05-19 15:58:09 +00:00
unicode * tool/enc-unicode.rb, 2010-11-08 05:32:45 +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 merge revision(s) 34236: [Backport #5890] 2012-02-08 22:34:12 +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 * enc/Makefile.in (ECHO1): Same as the recent fix in common.mk. 2011-07-31 13:59:04 +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 merge revision(s) 34236: [Backport #5890] 2012-02-08 22:34:12 +00:00
unicode.c * remove trailing spaces. 2011-05-15 11:55:52 +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 * enc/utf_7.h: add dummy encoding UTF-7 and its alias CP65000. 2008-01-28 08:57:40 +00:00
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