1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
akr 7ff702406a * include/ruby/intern.h (rb_uv_to_utf8): declared.
* re.c (rb_reg_preprocess): new function for dynamic regexp with
  \u{} such as Regexp.new("\\u{6666}").
  (rb_reg_prepare_re): preprocess regexp for recompiling.
  (read_escaped_byte): new function.
  (unescape_escaped_nonascii): new function.
  (append_utf8): new function.
  (unescape_unicode_list): new function.
  (unescape_unicode_bmp): new function.
  (unescape_nonascii): new function.
  (rb_reg_initialize): preprocess regexp.

* pack.c (rb_uv_to_utf8): renamed from uv_to_utf8.

* parse.y (STR_NEW3): take func instead of has8 and hasmb.
  (parser_str_new): use default coderange mechanism except for regexp.
  (parser_tokadd_utf8): copy regexp source as-is.
  (parser_read_escape): UTF-8 stuff removed.
  (parser_tokadd_escape): has8bit and hasmb removed.
  (parser_tokadd_string): fix 8-bit single byte character with \u.
  (parser_parse_string): has8bit and hasmb removed.
  (parser_here_document): has8bit and hasmb removed.
  (parser_yylex): call parser_tokadd_utf8 instead of read_escape for
  UTF-8 character.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-01 16:56:19 +00:00
..
csv
dbm forgot to modify TestDBM2 and TestGDBM2. 2007-10-24 06:29:59 +00:00
digest * test/digest/test_digest_hmac.rb: added. 2006-10-25 08:16:48 +00:00
drb * lib/drb/extserv.rb (initialize, stop_service): synchronize with 2007-11-26 14:24:29 +00:00
erb * Merge YARV 2006-12-31 15:02:22 +00:00
fileutils * test/fileutils/fileasserts.rb (assert_equal_timestamp): new assert 2007-11-21 07:40:36 +00:00
gdbm forgot to modify TestDBM2 and TestGDBM2. 2007-10-24 06:29:59 +00:00
io/nonblock use ML ref. for assertion message. 2007-11-18 07:18:56 +00:00
json * lib/json.rb, lib/json/add/{core.rb, rails.rb}, 2007-11-30 12:08:46 +00:00
logger
monitor * lib/thread.rb (ConditionVariable#broadcast): use Mutex 2007-02-24 07:01:18 +00:00
net * test/net/http/test_https_proxy.rb 2007-11-14 07:17:18 +00:00
nkf
openssl * ext/openssl/{extconf.rb,ossl_ssl_session.c}: 2007-06-18 08:56:21 +00:00
optparse * test/optparse/test_getopts.rb: changed the class name of test case 2006-10-03 23:53:24 +00:00
ostruct
pathname fix test. 2007-11-13 14:59:02 +00:00
rdoc/parsers Merge RDoc updates from matzruby 11502, 11503, 11504 2007-01-07 03:33:19 +00:00
readline * test/readline/test_readline.rb (TestReadline::replace_stdio): 2005-09-22 08:33:05 +00:00
rinda * Merge YARV 2006-12-31 15:02:22 +00:00
ripper * parse.y (parser_yylex): should clear parser->tokp as well. 2007-11-19 07:10:09 +00:00
rss * eval.c (rb_f_send): allow send/__send__ to call methods of all 2007-11-04 20:36:20 +00:00
ruby * include/ruby/intern.h (rb_uv_to_utf8): declared. 2007-12-01 16:56:19 +00:00
rubygems Import fast-loading gem_prelude.rb from RubyGems. 2007-11-25 03:26:36 +00:00
scanf refine previous change. 2007-09-28 18:22:23 +00:00
sdbm use Dir.mktmpdir. 2007-10-24 06:20:31 +00:00
soap * mkconfig.rb: generate RbConfig instead of Config. 2006-02-20 08:34:53 +00:00
socket use ML ref. for assertion message. 2007-11-18 07:18:56 +00:00
stringio use ML ref. for assertion message. 2007-11-18 07:18:56 +00:00
strscan * test/socket/test_socket.rb: update not to use 1.8 assignment to 2007-11-14 07:03:39 +00:00
testunit * test/testunit/collector/test_dir.rb: Fixed test/unit tests that 2007-03-20 23:29:49 +00:00
uri use ML ref. for assertion message. 2007-11-18 07:18:56 +00:00
webrick * lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): Symbol should 2006-11-02 00:21:28 +00:00
win32ole * ext/win32ole/win32ole.c (foletype_s_ole_classes, 2007-10-13 12:40:24 +00:00
wsdl * test/wsdl/document/echo.rb: removed. 2006-08-25 11:38:34 +00:00
xmlrpc * test/fileutils/test_fileutils.rb (check_singleton): fix to use 2007-02-14 16:53:00 +00:00
xsd
yaml * bootstraptest/test_knownbug.rb: move fixed bugs. 2007-12-01 05:43:06 +00:00
zlib use ML ref. for assertion message. 2007-11-18 07:18:56 +00:00
inlinetest.rb * Merge YARV 2006-12-31 15:02:22 +00:00
runner.rb
test_generator.rb
test_ipaddr.rb
test_pp.rb
test_prettyprint.rb
test_set.rb
test_shellwords.rb * misc/ruby-mode.el (ruby-expr-beg): support $! at the end of 2005-11-30 04:50:04 +00:00
test_time.rb
test_tsort.rb