From 55a9410a62269ca714e764b859f5452342eaed5a Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 1 Dec 2007 16:56:19 +0000 Subject: * 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: http://svn.ruby-lang.org/repos/ruby/trunk@14072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 84f9c1e43..cce0ff4cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,31 @@ +Sun Dec 2 01:39:51 2007 Tanaka Akira + + * 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. + Wed Dec 2 01:00:07 2007 James Edward Gray II * lib/xmlrpc/server.rb (XMLRPC::Server#server): Improve signal handling so -- cgit