aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Imported minitest 4.7.4 (r8483)ryan2013-05-0212-487/+886
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* process.c: fix failed status with spawnvnobu2013-05-021-4/+0
| | | | | | | | | | * process.c (proc_spawn_cmd_internal, proc_spawn_sh): spawn() with P_NOWAIT returns process ID, so it must not be set as a status. * process.c (rb_spawn_process): set failed status on error on platforms using spawnv not only on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (poll_child_status): constified.usa2013-05-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb (TestProcess#test_no_curdir): maybe nowusa2013-05-024-7/+11
| | | | | | | | | | we can test it. * test/ruby/test_thread.rb (TestThread#test_thread_timer_and_interrupt): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (poll_child_status): [experimental] set the cause ofusa2013-05-022-1/+38
| | | | | | | a child's death to status if its exitcode seems to be an error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-05-02svn2013-05-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: nodoc EngineManager, add History doc #8344zzak2013-05-022-5/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (localtime_with_gmtoff_zone): musl libc may return NULL forakr2013-05-012-1/+9
| | | | | | | | tm_zone. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (Enumerable#chunk): fix grammar of error messageeregon2013-05-012-2/+7
| | | | | | for symbols beginning with an underscore [Bug #8351] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* curses/extconf.rb: simplifynobu2013-05-012-12/+16
| | | | | | | * ext/curses/extconf.rb (curses_version): try once for each tests, a function or a variable. fallback to variable for old SVR4. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extmk.rb: always dynamic non-install extensionsnobu2013-05-012-2/+17
| | | | | | | * ext/extmk.rb (extmake): extensions not to be installed should not make static libraries, but make dynamic libraries always. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ancdata.c: suppress warningsnobu2013-05-011-10/+12
| | | | | | | | | * ext/socket/ancdata.c (bsock_sendmsg_internal): suppress warnings on platforms where msghdr does not have msg_control. * ext/socket/ancdata.c (bsock_recvmsg_internal): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake/version.rb: Fix RDoc warning with :include: [Bug #8347]zzak2013-05-012-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* process.c: rb_daemon should not raisenobu2013-05-011-16/+9
| | | | | | | * process.c (rb_daemon): should not raise exceptions, since proc_daemon() will deal with errors. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.bat: remove stale messagenobu2013-05-011-1/+0
| | | | | | | * win32/configure.bat (help): remove stale message. win95 support had been thrown away long ago. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c: use predefined IDsnobu2013-05-013-4/+8
| | | | | | | | * eval.c (frame_func_id): use predefined IDs. * vm.c (rb_vm_control_frame_id_and_class): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-05-01svn2013-05-011-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: use predefined IDsnobu2013-05-014-6/+18
| | | | | | | | | * defs/id.def (predefined): add "idProc". * proc.c (mnew, mproc, mlambda): use predefined IDs. * vm.c (Init_VM): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/benchmark.rb: Update Benchmark results on newer CPUzzak2013-04-302-40/+42
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: frozen core methodsnobu2013-04-304-3/+22
| | | | | | | | | * proc.c (mproc, mlambda): use frozen core methods instead of plain global methods, so that methods cannot be overridden. [ruby-core:54687] [Bug #8345] * vm.c (Init_VM): define proc and lambda on the frozen core object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-04-30svn2013-04-301-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* intern.h: rb_block_lambdanobu2013-04-302-1/+6
| | | | | | | * include/ruby/intern.h (rb_block_lambda): add declaration instead of deprecated rb_f_lambda. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: remove unnecessary static functionnobu2013-04-301-15/+9
| | | | | | | * proc.c (proc_lambda): remove and use rb_block_lambda directly instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/MANUAL_tcltklib.ja, ext/tk/old-README.tcltklib.ja: rename from *.jp ↵nagai2013-04-292-0/+0
| | | | | | to *.ja git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add comments.akr2013-04-291-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (VM_EP_LEP): simplify infinite loop.nobu2013-04-291-4/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-04-291-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.h: Bionic libc doesn't have locale.naruse2013-04-292-1/+7
| | | | | | [Feature #8338] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/MANUAL_tcltklib.jp: rename from ext/tk/MANUAL_tcltklib.eucj ↵nagai2013-04-292-0/+0
| | | | | | | | | [ruby-trunk - Bug #8084] * ext/tk/old-README.tcltklib.jp: rename from ext/tk/old-README.tcltklib.eucj git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ossl_bn.c: reduce alloca/mallocnobu2013-04-282-9/+18
| | | | | | | | | * ext/openssl/ossl_bn.c (ossl_bn_initialize): no need of alloca for small fixed size array. * ext/openssl/ossl_bn.c (ossl_bn_initialize): check overflow first, and use alloca for small size input. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-04-29svn2013-04-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: Clarify documentation about YAML being always Psych.eregon2013-04-282-22/+16
| | | | | | Give a tip about using Syck. See #8344. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: Use another trick to define the YAML module.eregon2013-04-282-2/+9
| | | | | | https://twitter.com/n0kada/status/328342207511801856 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb: Update PP module overview by @geopetzzak2013-04-282-13/+30
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ossl_bn.c: fix ossl_bn_initialize bug with integershirosaki2013-04-282-2/+10
| | | | | | | | * ext/openssl/ossl_bn.c (ossl_bn_initialize): fix buffer overflow on x64 Windows and memory leak when initializing with integer. [ruby-core:54615] [Bug #8337] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_io_console.rb: investigate hang-upnobu2013-04-281-5/+13
| | | | | | | * test/io/console/test_io_console.rb (TestIO_Console#test_noctty): grab error outputs and stop the loop upto 3 seconds. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* README.EXT: update notenobu2013-04-283-4/+18
| | | | | | | * README.EXT: correct method name to be used. [Bug #7982] * README.EXT.ja: add notes too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c: With feedback from Steve Klabnik, reverted a change tozzak2013-04-282-8/+13
| | | | | | | #untrusted? and #tainted?. Also adjusted grammar for $SAFE levels git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: Disable setting YAML const twice [ruby-core:54642]zzak2013-04-282-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c: Documentation for taint and trust [Bug #8162]zzak2013-04-282-8/+43
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: Copy note from r40505 for rb_sprintf() [Bug #7982]zzak2013-04-282-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c: Update Curses::Window example for nicer outputzzak2013-04-272-3/+12
| | | | | | | Patch by Michal Suchanek [Bug #8121] [ruby-core:53520] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: Update note from r40504, by Jeremy Evans [Bug #7982]zzak2013-04-272-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: Add note to warn use of %i in Exceptions [Bug #7982]zzak2013-04-272-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Fix a typo. Should check endgrent() instead ofakr2013-04-272-3/+8
| | | | | | | endgrnam(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-04-28svn2013-04-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (obj2gid): Don't call endgrnam() if not exist.akr2013-04-273-3/+11
| | | | | | | | | | Bionic (Android's libc) don't have endgrnam(). * configure.in: Check endgrnam function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: add security warning to YAML documentationcharliesome2013-04-272-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: Documentation for YAML module [Bug #8213]zzak2013-04-272-1/+28
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION.akr2013-04-272-0/+7
| | | | | | | | | This fixes a compilation failure while cross-compiling for Tensilica Xtensa Processor. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e