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 041e829127 * include/ruby/encoding.h (rb_isascii): defined.
(rb_isalnum): ditto.
  (rb_isalpha): ditto.
  (rb_isblank): ditto.
  (rb_iscntrl): ditto.
  (rb_isdigit): ditto.
  (rb_isgraph): ditto.
  (rb_islower): ditto.
  (rb_isprint): ditto.
  (rb_ispunct): ditto.
  (rb_isspace): ditto.
  (rb_isupper): ditto.
  (rb_isxdigit): ditto.
  (rb_tolower): ditto.
  (rb_toupper): ditto.

* include/ruby/st.h (st_strcasecmp): declared.
  (st_strncasecmp): ditto.

* st.c (type_strcasehash): use st_strcasecmp instead of strcasecmp.
  (st_strcasecmp): defined.
  (st_strncasecmp): ditto.

* include/ruby/ruby.h: include include/ruby/encoding.h.
  (ISASCII): use rb_isascii.
  (ISPRINT): use rb_isprint.
  (ISSPACE): use rb_isspace.
  (ISUPPER): use rb_isupper.
  (ISLOWER): use rb_islower.
  (ISALNUM): use rb_isalnum.
  (ISALPHA): use rb_isalpha.
  (ISDIGIT): use rb_isdigit.
  (ISXDIGIT): use rb_isxdigit.
  (TOUPPER): defined.
  (TOLOWER): ditto.
  (STRCASECMP): ditto.
  (STRNCASECMP): ditto.

* dir.c, encoding.c, file.c, hash.c, process.c, ruby.c, time.c,
  transcode.c, ext/readline/readline.c: use locale insensitive
  functions.  [ruby-core:14662]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-01 12:24:04 +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_isascii): defined. 2008-01-01 12:24:04 +00:00
intern.h * vm.c (rb_frame_method_id_and_class): new function to get the 2007-12-25 08:49:09 +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 * configure.in: check struct timespec, clock_gettime, utimensat, 2007-11-19 09:09:38 +00:00
node.h * parse.y (expr): redefinable not (!) operator. 2007-12-09 16:39:49 +00:00
oniguruma.h * include/ruby/oniguruma.h (ONIGENC_CONSTRUCT_MBCLEN_NEEDMORE): 2007-12-11 00:41:56 +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/encoding.h (rb_isascii): defined. 2008-01-01 12:24:04 +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 * include/ruby/win32.h win32/win32.c (rb_w32_pipe_exec): use dual fd 2007-11-20 04:04:51 +00:00