summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * 2009-08-17svn2009-08-161-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/complex.rb, lib/rational.rb: added warning messages.tadf2009-08-164-3/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): should dispatch scan-event even when followsnobu2009-08-163-1/+10
| | | | | | | just after delayed-token. [ruby-dev:37855] [Bug #1071] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb: reverted.tadf2009-08-162-7/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb: suppressed a warning.naruse2009-08-163-9/+15
| | | | | | * lib/irb/ruby-lex.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rescue Encoding::ConverterNotFoundError.naruse2009-08-161-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Change magic comment to US-ASCII in order tonaruse2009-08-162-1/+6
| | | | | | make literals as US-ASCII. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c: commit miss again.nobu2009-08-161-23/+18
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c: commit miss.nobu2009-08-161-10/+19
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (parse_char_class, parse_exp, parse_branch),nobu2009-08-162-25/+41
| | | | | | | | (parse_subexp): fixed memory leak. a patch from Ralf Junker <ralfjunker AT gmx.de> at [ruby-core:24921]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (vm_backtrace_each, vm_backtrace_push),nobu2009-08-164-13/+20
| | | | | | | | vm_eval.c (print_backtrace), vm_dump.c (bugreport_backtrace): rb_backtrace_iter_func now takes VALUE as file and method names. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_dump.c (bugreport_backtrace): rb_backtrace_iter_func nownobu2009-08-162-2/+7
| | | | | | takes VALUE as file and method names. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (opt_eq_func): fix optimization bug. This issueko12009-08-152-23/+18
| | | | | | | | | was found out and debugged with Takuto Hayashi at Security and Programming camp 2009. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (add_ctype_to_cc_by_range): fix the firstnaruse2009-08-153-2/+15
| | | | | | | | | character bigger than sb_out was dropped. * test/ruby/test_regexp.rb (TestRegexp#test_posix_bracket): add tests for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-08-16svn2009-08-151-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* \d, \s and \w are now non Unicode class. [ruby-dev:39026]naruse2009-08-154-12/+80
| | | | | | | | | | | | | | | | | | | | * include/ruby/oniguruma.h (ONIGENC_CTYPE_SPECIAL_MASK): added. (ONIGENC_CTYPE_D): ditto. (ONIGENC_CTYPE_S): ditto. (ONIGENC_CTYPE_W): ditto. * regparse.c: \d, \s and \w are now non Unicode class. [ruby-dev:39026] (fetch_token_in_cc): use ONIGENC_CTYPE_[DSW] for \d/\s/\w. (fetch_token): ditto. (add_ctype_to_cc): add routines for ONIGENC_CTYPE_[DSW]. (parse_exp): ditto. * test/ruby/test_regexp.rb (TestRegexp#test_char_class): add tests for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-08-15svn2009-08-151-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (fname, string_dvar, sym, dsym, f_arglist): removednobu2009-08-152-13/+12
| | | | | | | duplications. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (rb_check_safe_str): deprecated.nobu2009-08-144-4/+11
| | | | | | | | * ext/openssl/ossl_x509store.c (ossl_x509store_add_{file,path}): replaced deprecated funtion. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_preprocess_dregexp): change Exception class tonaruse2009-08-143-8/+17
| | | | | | | | | | RegexpError. * test/ruby/test_m17n.rb (test_regexp_usascii): follow above. * test/ruby/test_m17n.rb (test_regexp_embed): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/Makefile.in (MKDIRS): revert r24525.naruse2009-08-142-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/lib/digest/hmac.rb (Digest::HMAC#initialize): fasternobu2009-08-142-5/+10
| | | | | | | code. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rubyhdrdir): fixed typo. [ruby-dev:39079]nobu2009-08-142-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/ChangeLog-1.8.0: add forgotten entry contributed bymatz2009-08-132-0/+10
| | | | | | TAKAHASHI Kaoru. [ruby-dev:39065] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-08-14svn2009-08-131-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (Delegator#method_missing): __FILE__ may containmatz2009-08-132-1/+6
| | | | | | multi-byte characters. a patch from Kenta Murata in [ruby-dev:39066]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (vm_exec): returning from lambda runs ensure section.wanabe2009-08-132-4/+22
| | | | | | | [Bug #1729] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_SIZEOF): set cross_compiling to yesnobu2009-08-132-4/+13
| | | | | | | only when AC_COMPUTE_INT, and inverted the arguments. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_SIZEOF): use AC_COMPUTE_INT instead ofnobu2009-08-132-3/+10
| | | | | | | | _AC_COMPUTE_INT_COMPILE with cross compiling, since its arguments have been changed at autoconf 2.64. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (opt_case_dispatch): suppressed a warning.nobu2009-08-133-2/+10
| | | | | | | * vm_insnhelper.c (opt_case_dispatch_i): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Oops, my finger slipped.knu2009-08-131-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, Makefile.in (MAKEDIRS): used MKDIR_P instead ofnobu2009-08-134-5/+13
| | | | | | | as_mkdir_p. [ruby-dev:39063] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge changes from ruby_1_8 except for the post-1.8.7 part.knu2009-08-131-2/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regenc.c (onigenc_strlen_null, onigenc_str_bytelen_null): fixednobu2009-08-132-2/+10
| | | | | | | | infinite loop for wide encodings. reported by Ralf Junker at [ruby-core:24892]. [ruby-core:24904] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-08-13svn2009-08-131-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert r24507. [ruby-dev:39073]matz2009-08-132-6/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: typo.usa2009-08-121-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: if ipv6 is enabled, the version of Windowsusa2009-08-122-0/+9
| | | | | | | | | most be XP or later. [ruby-core:24601] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (yes-test-knownbug): use RUNRUBY instead of MINIRUBY.usa2009-08-122-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_define_module_id_under): fix the name.naruse2009-08-122-2/+8
| | | | | | * class.c (rb_define_module_under): fix for prevvious changes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_marshal.rb (test_class_nonascii): test for non-ascii name ↵nobu2009-08-121-0/+6
| | | | | | class. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_define_class_id_under, rb_define_module_id_under):nobu2009-08-125-18/+46
| | | | | | | | | | | | new functions to define a nested class/module with non-ascii name. * struct.c (make_struct): use name with encoding. * struct.c (inspect_struct): ditto. [ruby-core:24849] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_struct.rb (test_inspect): use assert_match.nobu2009-08-121-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def, vm.c, vm_insnhelper.c, vm_insnhelper.h: checkko12009-08-128-4/+50
| | | | | | | | | | | | definition of (classes)#=== for case/when optimization. Fix Bug #1376 [ruby-core:23190]. * string.c (Init_String), bignum.c (Init_Bignum), numeric.c (Init_Numeric): define String#===, Symbol#===, Bignum#===, Fixnum#===, Float#=== as same as (classes)#==. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (readdir_internal): free old temporary filename.usa2009-08-122-2/+9
| | | | | | | | [ruby-core:24820] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_new_frozen): must not change encoding of frozennobu2009-08-123-3/+22
| | | | | | | shared string. [ruby-dev:39068] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rb_cv_broken_crypt): needs more checks.nobu2009-08-122-3/+20
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): should preserve format encodingmatz2009-08-112-5/+10
| | | | | | before raising CompatibilityError. [ruby-list:46274] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_compatible): If a string is empty andnaruse2009-08-113-2/+10
| | | | | | | other's encoding is US-ASCII, returns the empty string's encoding. [ruby-list:46274] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (is_data_encoding): fix condition.naruse2009-08-112-2/+8
| | | | | | * encoding.c (enc_capable): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e