aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 2011-03-08svn2011-03-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkey_rsa.c: parenthesize macro arguments.akr2011-03-072-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pstore.rb: Delete variable @transaction and fix #4474. Patch bysorah2011-03-073-17/+39
| | | | | | | | Masaki Matsushita (Glass_saga). * test/test_pstore.rb(test_thread_safe): Add test for #4474. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* small cleanup.kosaki2011-03-071-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_setgroups): replace getgrnam() with getgrnam_r()kosaki2011-03-072-5/+21
| | | | | | | | because getgrnam() isn't thread safe. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_getmaxgroups, proc_setmaxgroups): refrectkosaki2011-03-072-6/+26
| | | | | | | | platform maxgroups limitation by default instead hardcoded 65536. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* cancel subversion backfire. sorrymatz2011-03-0763-711/+1828
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-03-07svn2011-03-071-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_gc_set_params): allow GC parameter configuration bymatz2011-03-0767-1842/+770
| | | | | | | environment variables. based on a patch from funny-falcon at https://gist.github.com/856296, but honors safe level. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/testunit/test_parallel.rbnagachika2011-03-071-1/+0
| | | | | | | (test_should_run_all_without_any_leaks): accomplish r31023. [ruby-dev:43300] [Bug #4466] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c: NUM2RLIM is defined but no getrlimit and setrlimit onnobu2011-03-072-6/+11
| | | | | | mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (tr_trans): suppress signedness/unsignedness warnings.nobu2011-03-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c (DateTimeData): should not use bare 'long long'nobu2011-03-061-0/+8
| | | | | | | | and 'long double', which are not defined by C89. * ext/date/date_core.c (dt_lite_plus): get rid of overflow at casting down double to integer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix of ext/date/date_core.nobu2011-03-062-29/+17
| | | | | | | | | | * ext/date/date_core.c (DateTimeData): should not use bare 'long long' and 'long double', which are not defined by C89. * ext/date/date_core.c (dt_lite_plus): get rid of overflow at casting down double to integer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-03-07svn2011-03-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_getgroups): get rid of maxgroups dependency.kosaki2011-03-062-2/+11
| | | | | | | | ngroups can be calculated dynamically. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: rlim_t use standard RUBY_REPLACE_TYPE mechanism.kosaki2011-03-063-28/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_setmaxgroups): added negative value check.kosaki2011-03-062-1/+10
| | | | | | | | | This was suggested by Daniel Berger. Thanks Daniel! [ruby-core:35426][Bug#4467] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (maxgroups, proc_setmaxgroups): increase max groupskosaki2011-03-062-3/+29
| | | | | | | | limitation up to 65536. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkey_ec.c: parenthesize macro arguments.akr2011-03-062-22/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/list.rb (MyElem#initialize): initialize @headkosaki2011-03-062-0/+9
| | | | | | | | | | | explicitely. Otherwise -W2 option makes following warning. "warning: instance variable @head not initialized". This issue was founded by Andrew Grimm. Thanks Andrew! [ruby-core:35435][Bug#4471] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c: fix camelCase to snake_case in documentation code examples.naruse2011-03-057-27/+43
| | | | | | | | | | | | | | | | patched by Andrew Grimm. fixes Bug #4469 * marshal.c: ditto. * proc.c: ditto. * sample/biorhythm.rb: ditto. * vm_eval.c: ditto. * vm_method.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-03-06svn2011-03-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_cntl): use rb_thread_io_blocking_region() insteadkosaki2011-03-052-1/+6
| | | | | | | | rb_thread_blocking_region(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h: fix a typo of prototype declaration.nagachika2011-03-052-1/+6
| | | | | | rb_mutex_try_lock -> rb_mutex_trylock [ruby-dev:43213] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (TestIO#test_fcntl_lock): small clean up.kosaki2011-03-052-28/+31
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-03-05svn2011-03-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_cntl, nogvl_io_cntl): IO.fcntl() and IO.ioctl()kosaki2011-03-043-13/+75
| | | | | | | | | | | | release GVL during calling kernel interface. Suggested by Eric Wong. [ruby-core:35417][Bug #4463] * test/ruby/test_io.rb (TestIO#test_fcntl_lock): add new test for IO.fcntl(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .gitignore: ignore ext/date and ext/-test-/*/*.nagachika2011-03-041-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/testunit/test_parallel.rbnagachika2011-03-042-0/+7
| | | | | | | (test_should_run_all_without_any_leaks): consider that the order of testcase could change. [ruby-dev:43300] [Bug #4466] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_cntl): change 'cmd' type to int. ioctl and fcntl need tokosaki2011-03-042-3/+9
| | | | | | | | | be passed int. * io.c (rb_io_ctl): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: save warnflags. the patch is created by Eric Wong.kosaki2011-03-042-0/+6
| | | | | | | | [Bug #4465] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkey_dsa.c: parenthesize macro arguments.akr2011-03-032-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-03-04svn2011-03-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * golf_prelude.rb (Symbol#call): new method.nobu2011-03-031-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (check_exec_redirect_fd, check_exec_redirect): raiseusa2011-03-033-7/+21
| | | | | | | | | | | ArgumentError if fd >= 3 on Windows because the feature is not supported. * test/ruby/test_process.rb (test_execopts_redirect): remove meaningless argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb (test_execopts_redirect): redirecting fdusa2011-03-032-6/+16
| | | | | | | | >= 3 is not supported on Windows, so should not specify such options when calling spawn or others. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_slice_bang): raise error when the string is frozen.naruse2011-03-032-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* incompatibility arround REXML is reverted in r31008. ref #3990naruse2011-03-031-5/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (STRFTIME): return 0 and ERANGE when precision is toonaruse2011-03-032-0/+9
| | | | | | large. [ruby-dev:43284] fixes #4456 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * addr2line.c (uleb128): cast the value to unsigned long.naruse2011-03-022-1/+13
| | | | | | * addr2line.c (fill_lines): print error when lseek fails. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-03-03svn2011-03-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/encoding.rb (REXML::Encoding#encoding=): store @encodingnaruse2011-03-0211-147/+114
| | | | | | | | | | | | | | | | | a String which means the name of the encoding. this partially revert r29646. * lib/rexml/document.rb: follow above. * lib/rexml/output.rb: ditto. * lib/rexml/parsers/baseparser.rb: ditto. * lib/rexml/source.rb: ditto. * lib/rexml/xmldecl.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_byte_substr): return nil for negative length.nobu2011-03-023-27/+34
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkey_dh.c: parenthesize macro arguments.akr2011-03-022-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/parallel.rb: Fix name from `inclement_io` tosorah2011-03-022-4/+9
| | | | | | `increment_io`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_slice_bang): move treatments which is only needednaruse2011-03-022-4/+9
| | | | | | when the result is not nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-03-02svn2011-03-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/testunit/test_parallel.rb(TestParallel#spawn_runner):sorah2011-03-023-5/+8
| | | | | | | | Fix outputing empty line in running test. * test/testunit/tests_for_parallel/test_third.rb: Remove `sleep` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkey.h: parenthesize macro arguments.akr2011-03-012-8/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e