aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * ChangeLog: fix a typo.nagachika2011-10-141-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (pty_check): should return nil until the childnobu2011-10-143-1/+38
| | | | | | terminates or stops. [ruby-dev:44600] [Bug #2642] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (rb_ary_reverse): export.nobu2011-10-142-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (fiber_store): balance braces.nobu2011-10-131-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-10-14svn2011-10-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * atomic.h (ATOMIC_INC, ATOMIC_DEC): return old values.nobu2011-10-133-3/+12
| | | | | | | | [ruby-dev:44596] [Bug #5439] * signal.c (ruby_atomic_exchange): no needs to define on the platforms where atomic.h is available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * atomic.h (ATOMIC_*): use atomic_ops(3C) when SunStudio on Solaris.ngoto2011-10-132-0/+15
| | | | | | | [ruby-dev:44596] [Bug #5439] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * atomic.h(ATOMIC_SET): add cast to void to prevent misuse.kosaki2011-10-132-2/+7
| | | | | | | | [ruby-dev:44596] [Bug #5439] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-10-13svn2011-10-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_gc_finalize_deferred, rb_objspace_call_finalizer):nobu2011-10-132-2/+8
| | | | | | | should use ATOMIC_EXCHANGE() to check the previous value. [ruby-dev:44596] [Bug #5439] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-10-12svn2011-10-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_ssl.rb: Move duplicated tests for SSL::Session to nahi2011-10-123-50/+42
| | | | | | | test_ssl_session.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_initialize): Improve explanation of Array.newdrbrain2011-10-102-42/+78
| | | | | | | | | | | parameters. Patch by Alvaro Pereyra Rabanal. [Ruby 1.9 - Bug #5425] * array.c (rb_ary_s_try_convert): Fix typo (try => tries) * array.c (rb_ary_rindex): Add spacing for block. * array.c (rb_ary_uniq_bang): Describe block * array.c (rb_ary_uniq): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: Add a description to Array, minor cleanups. Patch bydrbrain2011-10-102-16/+248
| | | | | | | Andrea Singh. [Ruby 1.9 - Bug #5412] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb: Move PP documentation to top of class PP. Patch bydrbrain2011-10-102-22/+26
| | | | | | | Sylvain Daubert. [Ruby 1.9 - Bug #5430] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/coverage/coverage.c (Init_coverage): Change list format anddrbrain2011-10-102-5/+13
| | | | | | | | describe Coverage.result output. Patch by Sylvain Daubert. [Ruby 1.9 - Bug #5428] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-10-11svn2011-10-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (Init_Object): Add reference to BasicObject, briefdrbrain2011-10-102-7/+25
| | | | | | | | | explanation of constant lookup. Based on patch by Alvaro Pereyra Rabanal. [Ruby 1.9 - Bug #5426] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-10-09svn2011-10-091-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/psych/test_yamldbm.rb: don't run test if the systemktsj2011-10-093-10/+25
| | | | | | | | don't support yaml/dbm. * test/syck/test_yamldbm.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (group_by): Improve group_by description. Patch by b t. [#5411]drbrain2011-10-072-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-10-08svn2011-10-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/shell.rb: Document some methods of Shell. Patch by Caroldrbrain2011-10-072-0/+29
| | | | | | | Nichols. [Ruby 1.9 - Bug #5417] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/-ext-/symbol/test_inadvertent_creation.rb (noninterned_name):nobu2011-10-071-2/+2
| | | | | | | sigil of global, instance and class variable names should be followed by non-numeric. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/-ext-/symbol/test_inadvertent_creation.rb: moved tests fromnobu2011-10-073-91/+125
| | | | | | test_module.rb and test_symbol.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb (assert_send, assert_not_send):nobu2011-10-072-2/+7
| | | | | | parenthesize non-empty arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-10-07svn2011-10-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: Use + for arguments described in documentation to allowdrbrain2011-10-062-96/+97
| | | | | | | | rdoc -C2 to work better. Remove <code> from method references to allow cross-references in HTML documentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2011-10-064-6/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* set properties.nobu2011-10-060-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (make_no_method_execption): extract fromnobu2011-10-068-22/+138
| | | | | | | | | | | raise_method_missing(). * vm_eval.c (send_internal): remove inadvertent symbol creation from public_send. based on a patch by Jeremy Evans <code AT jeremyevans.net> in [ruby-core:38576]. [Feature #5112] * vm_insnhelper.c (vm_call_method): remove inadvertent symbol creation from send and __send__, too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb: Clean up Time documentation. Patch by Jake Goulding.drbrain2011-10-062-58/+76
| | | | | | | [Ruby 1.9 - Bug #5416] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (group_by): Improve documentation based on patch by b t.drbrain2011-10-062-5/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c: Clean up wording in Enumerable documentation. Patch by b t.drbrain2011-10-062-19/+20
| | | | | | | [Ruby 1.9 - Bug #5411 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (Init_Time): Remove editorial comments from Timedrbrain2011-10-062-8/+12
| | | | | | | documentation, fix link. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (Init_Time): Improve Time documentation. Patch by Shanedrbrain2011-10-063-48/+206
| | | | | | | | | Emmons. [Ruby 1.9 - Bug #5404] * lib/time.rb: Improve time.rb documentation including Time.strptime. Patch by Shane Emmons. [Ruby 1.9 - Bug #5402] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c: Improve documentation of Random. Patch by Gregorydrbrain2011-10-052-72/+134
| | | | | | | Parkhurst. [Ruby 1.9 - Bug #5410] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix ML link.nagachika2011-10-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-10-06svn2011-10-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (cont_mark): mark original Thread object from saved_thread.nagachika2011-10-052-0/+6
| | | | | | [ruby-dev:44567] [Bug #5386] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r33407; half-baked patch.naruse2011-10-053-63/+4
| | | | | | "* numeric.c (ruby_float_step): improve floating point calculations." git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_call_cfunc): remove useless hack.naruse2011-10-052-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (ruby_float_step): improve floating point calculations.naruse2011-10-053-4/+63
| | | | | | | | | | | | | | [ruby-core:35753] [Bug #4576] * numeric.c (ruby_float_step): correct the error of floating point numbers on the excluding case. patched by Masahiro Tanaka [ruby-core:39608] * numeric.c (ruby_float_step): use the end value when the current value is greater than or equal to the end value. patched by Akira Tanaka [ruby-core:39612] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (Init_Hash): Improve Hash documentation. Patch by Alvarodrbrain2011-10-042-6/+67
| | | | | | | Pereyra Rabanal. [Ruby 1.9 - Bug #5405] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (Init_Random): Add a top-level comment for Random. Patchdrbrain2011-10-042-0/+12
| | | | | | | by Brett Bim. [Ruby 1.9 - Bug #5403] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/syntax_error.rb: Add file, line, offset, andtenderlove2011-10-044-6/+62
| | | | | | | | | message attributes during parse failure. * ext/psych/parser.c: Update parser to raise exception with correct values. * test/psych/test_exception.rb: corresponding tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/parser.c (parse): Use context_mark for indicating errortenderlove2011-10-042-2/+7
| | | | | | line and column. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-10-05svn2011-10-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/scalar_scanner.rb: use normal begin / rescuetenderlove2011-10-042-2/+14
| | | | | | | since postfix rescue cannot receive the exception class. Thanks nagachika! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (class_alloc): allocate extra memory after containingnobu2011-10-043-2/+10
| | | | | | | | object setup to get rid of rare-but-potential memory leak. * gc.c (gc_mark_children): skip marking extended members if ptr is NULL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e