akr
|
bcf1e2ac12
|
add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-02-18 00:08:01 +00:00 |
|
akr
|
c2c32b50b1
|
add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-02-17 16:50:49 +00:00 |
|
akr
|
7eeba5f440
|
* encoding.c (rb_enc_compatible): empty strings are always compatible.
* string.c (rb_enc_cr_str_buf_cat): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-02-16 09:02:12 +00:00 |
|
akr
|
1df7138a0d
|
add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-01-30 16:42:15 +00:00 |
|
akr
|
84fe384383
|
* string.c (rb_str_succ): use wrapped character as a carry for
ASCII incompatible encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-01-30 05:29:37 +00:00 |
|
akr
|
44cfd58dc5
|
* enc/utf_16be.c (UTF16_IS_SURROGATE_FIRST): avoid branch.
(UTF16_IS_SURROGATE_SECOND): ditto.
(UTF16_IS_SURROGATE): defined.
(utf16be_mbc_enc_len): validation implemented.
* enc/utf_16le.c (UTF16_IS_SURROGATE_FIRST): avoid branch.
(UTF16_IS_SURROGATE_SECOND): ditto.
(UTF16_IS_SURROGATE): defined.
(utf16le_mbc_enc_len): validation implemented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-01-30 03:49:54 +00:00 |
|
akr
|
3970d67185
|
add a test for chomp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-01-26 21:23:59 +00:00 |
|
akr
|
b9c18bdcdd
|
* re.c (rb_reg_preprocess): force fixed encoding when ASCII
incompatible source string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-01-26 21:01:52 +00:00 |
|
akr
|
b45fa58f6d
|
add a test for Regexp.union.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-01-25 03:58:32 +00:00 |
|
akr
|
968e404220
|
* string.c (rb_enc_cr_str_buf_cat): ASCII incompatible encoding is
not compatible with any other encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-01-24 02:17:26 +00:00 |
|
akr
|
bbb7151467
|
add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-01-23 09:25:17 +00:00 |
|
akr
|
e3604a9e46
|
add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-01-23 08:14:30 +00:00 |
|
akr
|
562d6e8cd5
|
change class name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-01-23 07:59:56 +00:00 |
|
akr
|
f2d84ac87b
|
split UTF-16 tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2008-01-23 07:58:48 +00:00 |
|