1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
matz a25fbe3b3e * encoding.c: provide basic features for M17N.
* parse.y: encoding aware parsing.

* parse.y (pragma_encoding): encoding specification pragma.

* parse.y (rb_intern3): encoding specified symbols.

* string.c (rb_str_length): length based on characters.  
  for older behavior, bytesize method added.

* string.c (rb_str_index_m): index based on characters.  rindex as
  well.

* string.c (succ_char): encoding aware succeeding string.

* string.c (rb_str_reverse): reverse based on characters.

* string.c (rb_str_inspect): encoding aware string description.

* string.c (rb_str_upcase_bang): encoding aware case conversion.
  downcase, capitalize, swapcase as well.

* string.c (rb_str_tr_bang): tr based on characters.  delete,
  squeeze, tr_s, count as well.

* string.c (rb_str_split_m): split based on characters.

* string.c (rb_str_each_line): encoding aware each_line.

* string.c (rb_str_each_char): added.  iteration based on
  characters.

* string.c (rb_str_strip_bang): encoding aware whitespace
  stripping.  lstrip, rstrip as well.

* string.c (rb_str_justify): encoding aware justifying (ljust,
  rjust, center).

* string.c (str_encoding): get encoding attribute from a string. 

* re.c (rb_reg_initialize): encoding aware regular expression

* sprintf.c (rb_str_format): formatting (i.e. length count) based
  on characters.

* io.c (rb_io_getc): getc to return one-character string.
  for older behavior, getbyte method added.

* ext/stringio/stringio.c (strio_getc): ditto.

* io.c (rb_io_ungetc): allow pushing arbitrary string at the
  current reading point.

* ext/stringio/stringio.c (strio_ungetc): ditto.

* ext/strscan/strscan.c: encoding support.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-25 03:29:39 +00:00
..
bigdecimal * include/ruby: moved public headers. 2007-06-10 03:06:15 +00:00
continuation * cont.c: separate Continuation and Fiber from core. 2007-08-25 02:03:44 +00:00
curses * regparse.c, etc.: K&R to ANSI code cleanup patch from Stefan 2007-03-19 03:58:57 +00:00
dbm * ext/dbm/extconf.rb: allow multiple candidates for dbm-type. 2006-09-16 07:14:37 +00:00
digest * ext/digest/lib/digest.rb (Digest::self.const_missing): avoid 2007-07-28 00:44:08 +00:00
dl * ext/dl/cptr.c (rb_dlptr_s_to_ptr): no longer check 2007-08-08 10:20:08 +00:00
etc * regparse.c, etc.: K&R to ANSI code cleanup patch from Stefan 2007-03-19 03:58:57 +00:00
fcntl add extconf.h to .cvsignore. 2006-06-24 01:15:08 +00:00
fiber * cont.c: separate Continuation and Fiber from core. 2007-08-25 02:03:44 +00:00
gdbm * parse.y (parser_warning, parser_warn): some error message may 2006-10-14 14:33:10 +00:00
iconv * include/ruby: moved public headers. 2007-06-10 03:06:15 +00:00
io/wait * file.c, gc.c, io.c, ruby.h, rubyio.h, win32/win32.h (rb_io_t): 2007-02-24 10:30:50 +00:00
json/ext * configure.in (aix): enable shared by default. 2007-08-16 07:46:11 +00:00
nkf * ext/nkf/nkf-utf8/nkf.c (kanji_convert): Fix guess fallback. 2007-06-05 05:11:04 +00:00
openssl * ext/openssl/ossl_config.c (ossl_config_set_section): do not 2007-07-20 06:22:54 +00:00
probeprofiler * blockinlining.c: remove "yarv" prefix. 2007-07-12 04:25:46 +00:00
pty * ext/pty/pty.c (establishShell): handshaking before close slave 2007-08-07 05:58:41 +00:00
racc/cparse * include/ruby: moved public headers. 2007-06-10 03:06:15 +00:00
readline * include/ruby: moved public headers. 2007-06-10 03:06:15 +00:00
ripper * parse.y (keyword_to_name): constified. 2007-07-06 05:57:14 +00:00
sdbm * ext/dl/cfunc.c (rb_dlcfunc_call): adjust format. [ruby-dev:31222] 2007-07-15 13:24:39 +00:00
socket * encoding.c: provide basic features for M17N. 2007-08-25 03:29:39 +00:00
stringio * encoding.c: provide basic features for M17N. 2007-08-25 03:29:39 +00:00
strscan * encoding.c: provide basic features for M17N. 2007-08-25 03:29:39 +00:00
syck * encoding.c: provide basic features for M17N. 2007-08-25 03:29:39 +00:00
syslog * include/ruby: moved public headers. 2007-06-10 03:06:15 +00:00
tk * encoding.c: provide basic features for M17N. 2007-08-25 03:29:39 +00:00
Win32API * file.c (rb_file_s_rename): deleted code to get rid of a bug of 2007-07-22 05:33:54 +00:00
win32ole * ext/win32ole/win32ole.c (reg_get_value): use RegQueryValueEx instead 2007-08-23 11:14:03 +00:00
zlib * ext/zlib/zlib.c (gzfile_s_open): use FilePathValue to support 2007-06-08 07:33:59 +00:00
.cvsignore
.document Add digest.c 2006-08-28 02:32:47 +00:00
extmk.rb * ext/extmk.rb (extmake): save all CONFIG values. 2007-08-03 02:05:57 +00:00
purelib.rb * ext/purelib.rb: commit miss. 2007-05-22 21:09:22 +00:00
Setup * sprintf.c (rb_str_format): allow %c to print one character 2006-06-09 21:20:17 +00:00
Setup.atheos * ext/Setup*: remove tcltklib. 2005-01-26 05:15:02 +00:00
Setup.dj * ext/Setup*: remove tcltklib. 2005-01-26 05:15:02 +00:00
Setup.emx * ext/Setup*: remove tcltklib. 2005-01-26 05:15:02 +00:00
Setup.nt * ext/Setup*: remove tcltklib. 2005-01-26 05:15:02 +00:00
Setup.x68 * ext/Setup*: remove tcltklib. 2005-01-26 05:15:02 +00:00