aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* * thread.c: fix typos and documentationeregon2013-04-272-23/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sparc.c: Use __asm__ instead of asm for gcc.akr2013-04-272-1/+16
| | | | | | | | gcc doesn't provide asm keyword if -ansi option is given. http://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: Redundant test removed.akr2013-04-272-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb (test_recvmsg_with_msg_peek_creates_fds):akr2013-04-272-48/+54
| | | | | | | Extracted. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * internal.h (SIGNED_INTEGER_TYPE_P): New macro.akr2013-04-273-8/+25
| | | | | | | | | | | | | | | (SIGNED_INTEGER_MAX): Ditto. (SIGNED_INTEGER_MIN): Ditto. (UNSIGNED_INTEGER_MAX): Ditto. (TIMET_MAX): Use SIGNED_INTEGER_MAX and UNSIGNED_INTEGER_MAX. (TIMET_MIN): Use SIGNED_INTEGER_MIN. * thread.c (TIMEVAL_SEC_MAX): Use SIGNED_INTEGER_MAX. (TIMEVAL_SEC_MIN): Use SIGNED_INTEGER_MIN. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (TIMEVAL_SEC_MAX, TIMEVAL_SEC_MIN): Consider environments,akr2013-04-272-3/+19
| | | | | | | | sizeof(time_t) is smaller than sizeof(tv_sec), such as OpenBSD 5.2 (amd64). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_syntax.rb: split test_syntaxnobu2013-04-271-3/+9
| | | | | | | * test/ruby/test_syntax.rb (test_syntax): split to improve throuthput by reducing objects. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-04-27svn2013-04-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo (r40195, r40428)kazu2013-04-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e