aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/matrix (minor): Also handle negative arguments like Array#[]marcandre2009-10-241-5/+18
| | | | | | cf [ruby-core:23598] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_class_new): move class check to rb_check_inheritable().matz2009-10-233-5/+11
| | | | | | | * class.c (rb_check_inheritable): should not allow subclass of class Class. [ruby-core:26225] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ext/dl/handle.c (rb_dlhandle_initialize) added rb_secure(2)tenderlove2009-10-233-1/+29
| | | | | | | [ruby-core:25762] * ext/dl/dl.c (rb_dl_dlopen) removed rb_secure(2) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-10-24svn2009-10-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_cntl): update max file descriptor by the result ofakr2009-10-232-0/+8
| | | | | | | fcntl(F_DUPFD). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo.akr2009-10-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (target, target_alias): replace with real cpu.nobu2009-10-233-5/+16
| | | | | | | * mkconfig.rb: build* are not needed in rbconfig.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (warnflags): use -Wextra only whennobu2009-10-232-11/+26
| | | | | | | -Wno-missing-field-initializers is available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (optflags): removed -fomit-frame-pointer by default.nobu2009-10-232-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname::SAME_PATHS): FNM_SYSCASE is alwaysnobu2009-10-232-1/+6
| | | | | | | non-nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.c (ruby_initial_load_paths): moved terminating semicolon.nobu2009-10-221-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, Makefile.in, win32/Makefile.sub (XRUBY): runnablenobu2009-10-225-1/+17
| | | | | | | | | ruby without current libraries. * common.mk (rdoc): use XRUBY. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (warnflags): use -Wextra instead of -Wall.nobu2009-10-224-6/+13
| | | | | | | * gc.c (mark_current_machine_context): get rid of warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_obj_basic_to_s_p): typo. Please become familiar withusa2009-10-222-1/+6
| | | | | | | | the ANSI style. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (assert_in_out_err): test_stdout andakr2009-10-223-3/+11
| | | | | | | | | | test_stderr should be an array. * test/ruby/test_rubyoptions.rb (test_notfound): test_stdin of assert_in_out_err should be a string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils#fu_get_uid, fu_get_gid): Do notknu2009-10-222-8/+19
| | | | | | | | convert an integer back and forth. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (arg_prepend): removed. a patch from Mikhail T. innobu2009-10-222-1/+5
| | | | | | | [ruby-core:26217]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-10-22svn2009-10-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_obj_inspect): print instance variables only whenmatz2009-10-213-2/+23
| | | | | | | | Object#to_s is not overridden. [ruby-core:24425] * class.c (rb_obj_basic_to_s_p): new function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_obj_inspect): fixed rdoc about the case that to_snobu2009-10-212-3/+7
| | | | | | | is called. [ruby-core:24425] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/scanf/test_scanfio.rb (TestScanfIO): needs to inheritnobu2009-10-211-3/+4
| | | | | | | | | | TestCase. * test/scanf/test_scanfio.rb (TestScanfIO#test_io): fixed a typo. close test data file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/{marshaltestlib,test_marshal}.rb: suppressed warnings.nobu2009-10-212-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/logger/test_logger.rb (TestLogDevice#test_write): checknobu2009-10-202-0/+11
| | | | | | | also error message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb (transpose, inspect): Bug fixmarcandre2009-10-201-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb (empty): Improved rdocmarcandre2009-10-201-2/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: Added summary of r25412, cf [ruby-core:23598]marcandre2009-10-201-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use Array#permutation for permutation tests.naruse2009-10-201-21/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * added monitor.rb test. see #2240 the bug on ruby_1_8.nahi2009-10-201-0/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpauth/digestauth.rb: typo in exception message fixed.nahi2009-10-202-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-10-21svn2009-10-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: imported upstream version (logger/1.2.7) see #2238.nahi2009-10-203-55/+205
| | | | | | | | | | * do not raise an exception even if log writing failed. * do not raise ShiftingError if an aged file already exists. (no ShiftingError will be raised from 1.2.7, just warn() instead) * test/logger/test_logger.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Bug fix. See detail [ruby-core:23598].keiju2009-10-202-96/+123
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_symbol, r_symreal): fixed the order of symbol andnobu2009-10-202-2/+10
| | | | | | | | its encoding modifier, in order to make the dump readable from 1.8. [ruby-dev:39515] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h (finite, scalb): inline'ed non-standardusa2009-10-202-9/+18
| | | | | | | identifier macros. [ruby-core:2234] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (ripper_intern): enable literal optimization.nobu2009-10-202-8/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ripper/test_*.rb: fixed indent.nobu2009-10-204-31/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (method_call): dispatch symbols. a patch from Andy Keep innobu2009-10-203-9/+26
| | | | | | | [ruby-core:26169]. [ruby-core:26165] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (mlhs_basic): fixed handling splat in middle of mlhs. anobu2009-10-203-22/+46
| | | | | | | patch from Andy Keep in [ruby-core:26163] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-10-20svn2009-10-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_here_document): dispatch delayed heredocnobu2009-10-205-26/+74
| | | | | | | contents. based on a patch from Andy Keep in [ruby-core:24855]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .gdbinit (rb_method_entry): search method entry by class and id.nobu2009-10-192-1/+65
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (enc/unicode/name2ctype.h): no need to createusa2009-10-192-1/+6
| | | | | | | | directory if it already exists. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .gdbinit (rb_ps): dump all threads and their callstacks. basednobu2009-10-192-0/+43
| | | | | | | on [ruby-core:26155] by Joshua ben Jore <twists AT gmail.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (prepare_iseq_build, rb_iseq_build_for_ruby2cext):nobu2009-10-193-1/+12
| | | | | | | untrust mark array. [ruby-core:26137] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-10-19svn2009-10-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/element.rb (text=): false should be converted to string.marcandre2009-10-182-1/+6
| | | | | | A patch by Teruo Oshida [ruby-dev:38351] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb: do not require lib/delta.rb.tadf2009-10-183-8/+38
| | | | | | | | * lib/date/delta.rb: follows the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Retry until the signal is trapped.naruse2009-10-181-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (is_special_global_name): add boundary check.akr2009-10-182-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (ruby_init_loadpath_safe): should not dup tmp string. anobu2009-10-182-7/+9
| | | | | | | patch from neomjp neomjp in [ruby-core:24251]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e