1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/include/ruby
akr 8987b97ca9 * include/ruby/encoding.h (rb_enc_str_buf_cat): declared.
* string.c (coderange_scan): extracted from rb_enc_str_coderange.
  (rb_enc_str_coderange): use coderange_scan.
  (rb_str_shared_replace): copy encoding and coderange.
  (rb_enc_str_buf_cat): new function for linear complexity string
  accumulation with encoding.
  (rb_str_sub_bang): don't conflict substituted part and replacement.
  (str_gsub): use rb_enc_str_buf_cat.
  (rb_str_clear): clear coderange.

* re.c (rb_reg_regsub): use rb_enc_str_buf_cat.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-06 09:25:09 +00:00
..
defines.h * common.mk (encs, ext/ripper/ripper.c): needs MFLAGS. 2007-12-22 06:14:50 +00:00
encoding.h * include/ruby/encoding.h (rb_enc_str_buf_cat): declared. 2008-01-06 09:25:09 +00:00
intern.h * include/ruby/intern.h, re.c (rb_reg_new): keep interface same as 2008-01-04 16:30:33 +00:00
io.h * io.c, io.h: temporary patch to partially implement transcode-on-read and transcode-on-write 2007-12-22 16:21:09 +00:00
missing.h * util.c (ruby_strtoul): locale independent strtoul is implemented to 2008-01-02 06:24:27 +00:00
node.h * parse.y (expr): redefinable not (!) operator. 2007-12-09 16:39:49 +00:00
oniguruma.h * include/ruby/oniguruma.h: Oniguruma 1.9.1 merged. 2008-01-03 15:55:04 +00:00
re.h * re.c (match_begin): should return offset by character. 2007-11-23 02:10:44 +00:00
regex.h * encoding.c (rb_enc_mbclen): make it never fail. 2007-12-08 02:50:43 +00:00
ruby.h * include/ruby/ruby.h (rb_intern): memorize interned ID for constant 2008-01-04 17:21:53 +00:00
signal.h * encoding.c: provide basic features for M17N. 2007-08-25 03:29:39 +00:00
st.h * include/ruby/encoding.h (rb_isascii): defined. 2008-01-01 12:24:04 +00:00
util.h * encoding.c: provide basic features for M17N. 2007-08-25 03:29:39 +00:00
win32.h * win32.h: only VC6 needs extern "C++" for math.h. [ruby-talk:285660] 2008-01-03 16:20:29 +00:00