ruby--ruby/ext
akr f1b7e60cb9 * encoding.c (rb_enc_mbclen): make it never fail.
(rb_enc_nth): don't check the return value of rb_enc_mbclen.
  (rb_enc_strlen): ditto.
  (rb_enc_precise_mbclen): return needmore(1) if e <= p.
  (rb_enc_get_ascii): new function for extracting ASCII character.

* include/ruby/encoding.h (rb_enc_get_ascii): declared.

* include/ruby/regex.h (ismbchar): removed.

* re.c (rb_reg_expr_str): use rb_enc_get_ascii.
  (unescape_escaped_nonascii): use rb_enc_precise_mbclen to determine
  the termination of escaped non-ASCII character.
  (unescape_nonascii): use rb_enc_precise_mbclen.
  (rb_reg_quote): use rb_enc_get_ascii.
  (rb_reg_regsub): use rb_enc_get_ascii.

* string.c (rb_str_reverse) don't check the return value of
  rb_enc_mbclen.
  (rb_str_split_m): don't call rb_enc_mbclen with e <= p.

* parse.y (is_identchar): use ISASCII.
  (parser_ismbchar): removed.
  (parser_precise_mbclen): new macro.
  (parser_isascii): new macro.
  (parser_tokadd_mbchar): use parser_precise_mbclen to check invalid
  character precisely.
  (parser_tokadd_string): use parser_isascii.
  (parser_yylex): ditto.
  (is_special_global_name): don't call is_identchar with e <= p.
  (rb_enc_symname_p): ditto.

  [ruby-dev:32455]

* ext/tk/sample/tkextlib/vu/canvSticker2.rb: remove coding cookie
  because the encoding is not UTF-8.  [ruby-dev:32475]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-08 02:50:43 +00:00
..
bigdecimal
continuation * cont.c: separate Continuation and Fiber from core. 2007-08-25 02:03:44 +00:00
curses * ext/curses/extconf.rb: check macro if cannot find func. 2007-11-15 10:50:34 +00:00
dbm
digest * include/ruby/intern.h: export rb_ivar_foreach. 2007-09-28 06:21:46 +00:00
dl * ext/Win32API/*: removed or moved to ext/dl/win32. 2007-12-03 02:53:13 +00:00
etc * ext/etc/etc.c (etc_getlogin): update documentation to note 2007-08-27 10:15:18 +00:00
fcntl
fiber * ext/fiber/fiber.c: modify prototype declaration. 2007-09-27 06:45:03 +00:00
gdbm
iconv * ext/iconv/iconv.c (iconv_s_list): support NetBSD/Citrus iconv. 2007-12-05 16:04:12 +00:00
io/wait
json * lib/json.rb, lib/json/*: moved to ext/json/lib. 2007-12-04 08:09:44 +00:00
nkf * ext/nkf/lib/kconv.rb (tojis, tosjis, toeuc, toutf8): 2007-12-04 09:06:41 +00:00
openssl * ext/openssl/lib/net/ftptls.rb, ext/openssl/lib/net/telnets.rb: 2007-12-07 11:35:13 +00:00
probeprofiler
pty
racc/cparse
readline
ripper * parse.y (parser_yylex): should clear parser->tokp as well. 2007-11-19 07:10:09 +00:00
sdbm
socket rescue Errno::EWOULDBLOCK as well as Errno::EAGAIN in sample code in rdoc. 2007-10-23 07:40:56 +00:00
stringio * ext/stringio/stringio.c (strio_init): separate from strio_initialize 2007-09-21 20:19:51 +00:00
strscan * ext/strscan/strscan.c (strscan_initialize, strscan_getch): use the 2007-09-24 08:56:24 +00:00
syck * ext/syck/rubyext.c (rb_syck_mktime): avoid segmentation fault. 2007-11-30 10:42:40 +00:00
syslog
tk * encoding.c (rb_enc_mbclen): make it never fail. 2007-12-08 02:50:43 +00:00
win32ole ext/win32ole/win32ole.c (ole_invoke): bug fix. [ruby-talk:279100] 2007-11-17 15:04:55 +00:00
zlib
.cvsignore
.document
Setup
Setup.atheos
Setup.dj
Setup.emx
Setup.nt
Setup.x68
extmk.rb * ext/extmk.rb (extract_makefile): use dldflags instead of DLDFLAGS to 2007-11-28 05:43:17 +00:00
purelib.rb