summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * re.c (rb_reg_search): iterate onig_match for reverse mode.akr2008-01-032-8/+27
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32.h: only VC6 needs extern "C++" for math.h. [ruby-talk:285660]nobu2008-01-032-8/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/oniguruma.h: Oniguruma 1.9.1 merged.matz2008-01-0323-652/+872
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_ungetc): move data in buffer if it is required to store theakr2008-01-032-1/+12
| | | | | | | argument. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for getc with stateful conversion.akr2008-01-031-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (st_strcasecmp): declared for STRCASECMP.akr2008-01-032-7/+14
| | | | | | | (st_strncasecmp): declared for STRNCASECMP. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_jump.c (rb_f_catch): Resotre cfp if catched thrown object.ko12008-01-032-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added known bug from ruby-core:14537ryan2008-01-031-0/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_eval.rb, test_knownbug.rb: move a fixed test.ko12008-01-033-9/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c: (rb_tolower, rb_toupper): body was exchanged.akr2008-01-032-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regenc.h (onigenc_ascii_is_code_ctype): put back.akr2008-01-033-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_isalnum): defined.akr2008-01-035-121/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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/ruby.h: don't include include/ruby/encoding.h. (rb_isascii): defined. (rb_isalnum): declared. (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. (ISASCII): simplified. (ISPRINT): ditto. (ISSPACE): ditto. (ISUPPER): ditto. (ISLOWER): ditto. (ISALNUM): ditto. (ISALPHA): ditto. (ISDIGIT): ditto. (ISXDIGIT): ditto. (TOUPPER): ditto. (TOLOWER): ditto. * include/ruby/encoding.h (rb_isascii): removed. (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. * common.mk: dependency updated. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h (rb_isascii): simplified.akr2008-01-035-14/+35
| | | | | | | | | | | | | | | | | | | | | (rb_isalnum): call onigenc_ascii_is_code_ctype without indirect call. (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. * include/ruby/oniguruma.h (onigenc_ascii_is_code_ctype): declaration moved from regenc.h. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_magic_comment): use STRNCASECMP.akr2008-01-032-2/+7
| | | | | | | (set_file_encoding): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* downcase MUL_OVERFLOW. it is a local variable.akr2008-01-031-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update dependency for alloca.o and dmydln.o.akr2008-01-031-3/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update golf dependency.akr2008-01-031-3/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c: don't mention an obsolete library, ParseDate.akr2008-01-032-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (fptr_finalize): clear errno first. [ruby-talk:284492]nobu2008-01-032-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-01-03usa2008-01-031-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/us_ascii.c: add us_ascii_ prefix for functions to easeakr2008-01-0211-96/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | setting breakpoint when debugging. * enc/euc_jp.c: add eucjp_ prefix. * enc/sjis.c: add sjis_ prefix. * enc/iso_8859_1.c: add iso_8859_1_ prefix. * enc/iso_8859_2.c: add iso_8859_2_ prefix. * enc/iso_8859_3.c: add iso_8859_3_ prefix. * enc/iso_8859_4.c: add iso_8859_4_ prefix. * enc/iso_8859_5.c: add iso_8859_5_ prefix. * enc/iso_8859_6.c: add iso_8859_6_ prefix. * enc/iso_8859_7.c: add iso_8859_7_ prefix. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (conv_digit): use ISDIGIT, ISLOWER and ISUPPER.akr2008-01-022-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtoul): "0x", "+" and "-" is not a valid integer.akr2008-01-022-2/+13
| | | | | | | | end of integer should be just after "0", the beginning, the beginning respectively. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* don't need to include ruby/util.h.akr2008-01-021-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* describe about OS.akr2008-01-021-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use signed char explicitly for table in scan_digits.akr2008-01-021-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtoul): locale independent strtoul is implemented toakr2008-01-0211-211/+142
| | | | | | | | | | | | | | | | | | | | | | | | avoid "i".to_i(36) cause 0 under tr_TR locale. This is newly implemented, not a copy of missing/strtoul.c. * include/ruby/ruby.h (ruby_strtoul): declared. (STRTOUL): defined to use ruby_strtoul. * bignum.c, pack.c, ext/socket/socket.c: use STRTOUL. * configure.in (strtoul): don't check. * missing/strtoul.c: removed. * include/ruby/missing.h (strtoul): removed. * common.mk (strtoul.o): removed. * LEGAL (missing/strtoul.c): removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/missing.h (strcasecmp): removed.akr2008-01-022-9/+4
| | | | | | | (strncasecmp): removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (strcasecmp.o): removed.akr2008-01-022-2/+5
| | | | | | | (strncasecmp.o): removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/strcasecmp.c: removed. Ruby don't use locale dependentakr2008-01-025-37/+12
| | | | | | | | | | | | | strcasecmp. * missing/strncasecmp.c: ditto. * configure.in: don't check strcasecmp and strncasecmp. * LEGAL: missing/strcasecmp.c and missing/strncasecmp.c removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-01-02usa2008-01-021-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use hard tab.tadf2008-01-022-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/time.rb: use Process.times instead of Time.times.tadf2008-01-022-6/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* removed an entry.tadf2008-01-021-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/goodfriday.rb: examples for date are enough. retired.tadf2008-01-022-48/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/cal.rb: just updated with the newest version.tadf2008-01-022-24/+28
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread_pthread.c -> thread_$(THREAD_MODEL).c.akr2008-01-011-91/+52
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/depend: dependency updated.akr2008-01-012-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/{nkf.c, utf8tbl.c}: Update nkf.naruse2008-01-016-867/+801
| | | | | | | | | | | * ext/nkf/nkf.c: fix documents. * ext/nkf/lib/kconv.rb: fix documents. (Kconv.is*): use valid_encoding?. (Kconv.isjis): defined. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread_pthread.h -> thread_$(THREAD_MODEL).h.akr2008-01-011-18/+18
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: dependency updated.akr2008-01-012-169/+278
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* abolish warnings by previous change.akr2008-01-011-15/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h (rb_isascii): defined.akr2008-01-0114-39/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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: http://svn.ruby-lang.org/repos/ruby/trunk@14829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_mode_enc): encoding spec is not allowed in binary mode.nobu2008-01-012-0/+8
| | | | | | | [ruby-dev:32913] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test: "y".count("a\\-z") should be 0.akr2008-01-011-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml: 1.9 patch from Sam Ruby mentioned in his blog:matz2008-01-0116-67/+91
| | | | | | | <http://intertwingly.net/blog/2007/12/31/Porting-REXML-to-Ruby-1-9> [ruby-core:14639] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_substr): offset movement bug. a patch frommatz2008-01-012-2/+8
| | | | | | | Vincent Isambart <vincent.isambart at gmail.com> in [ruby-core:14647]. [ruby-core:14644] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_knownbug.rb: more portable waymatz2007-12-311-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_knownbug.rb: shut up syntax errormatz2007-12-311-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_to_encoding): raises for non-nil, non-encoding,nobu2007-12-312-3/+5
| | | | | | | non-string object. [ruby-core:14634] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e