summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-03-07* gc.c (rb_objspace): an initializer must be a constant.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07* process.c (maxgroups): cast because sysconf(3)'s return value is long.naruse
* process.c (proc_setmaxgroups): ditto. * process.c (proc_setgroups): cast because RARRAY_LEN() is long. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07* 2011-03-08svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07* ext/openssl/ossl_pkey_rsa.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07* lib/pstore.rb: Delete variable @transaction and fix #4474. Patch bysorah
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
2011-03-07small cleanup.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07* process.c (proc_setgroups): replace getgrnam() with getgrnam_r()kosaki
because getgrnam() isn't thread safe. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07* process.c (proc_getmaxgroups, proc_setmaxgroups): refrectkosaki
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
2011-03-07cancel subversion backfire. sorrymatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07* 2011-03-07svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07* gc.c (rb_gc_set_params): allow GC parameter configuration bymatz
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
2011-03-07 * test/testunit/test_parallel.rbnagachika
(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
2011-03-07* process.c: NUM2RLIM is defined but no getrlimit and setrlimit onnobu
mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07* string.c (tr_trans): suppress signedness/unsignedness warnings.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-06* ext/date/date_core.c (DateTimeData): should not use bare 'long long'nobu
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
2011-03-06fix of ext/date/date_core.nobu
* 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-06* 2011-03-07svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-06* process.c (proc_getgroups): get rid of maxgroups dependency.kosaki
ngroups can be calculated dynamically. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-06* configure.in: rlim_t use standard RUBY_REPLACE_TYPE mechanism.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-06* process.c (proc_setmaxgroups): added negative value check.kosaki
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
2011-03-06* process.c (maxgroups, proc_setmaxgroups): increase max groupskosaki
limitation up to 65536. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-06* ext/openssl/ossl_pkey_ec.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-06* sample/list.rb (MyElem#initialize): initialize @headkosaki
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
2011-03-05* class.c: fix camelCase to snake_case in documentation code examples.naruse
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-05* 2011-03-06svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-05* io.c (io_cntl): use rb_thread_io_blocking_region() insteadkosaki
rb_thread_blocking_region(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-05 * include/ruby/intern.h: fix a typo of prototype declaration.nagachika
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
2011-03-05* test/ruby/test_io.rb (TestIO#test_fcntl_lock): small clean up.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-04* 2011-03-05svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-04* io.c (io_cntl, nogvl_io_cntl): IO.fcntl() and IO.ioctl()kosaki
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
2011-03-04 * .gitignore: ignore ext/date and ext/-test-/*/*.nagachika
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-04 * test/testunit/test_parallel.rbnagachika
(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
2011-03-04* io.c (io_cntl): change 'cmd' type to int. ioctl and fcntl need tokosaki
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
2011-03-04* configure.in: save warnflags. the patch is created by Eric Wong.kosaki
[Bug #4465] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-03* ext/openssl/ossl_pkey_dsa.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-03* 2011-03-04svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-03* golf_prelude.rb (Symbol#call): new method.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-03* process.c (check_exec_redirect_fd, check_exec_redirect): raiseusa
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
2011-03-03* test/ruby/test_process.rb (test_execopts_redirect): redirecting fdusa
>= 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
2011-03-03* string.c (rb_str_slice_bang): raise error when the string is frozen.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-03incompatibility arround REXML is reverted in r31008. ref #3990naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-03* strftime.c (STRFTIME): return 0 and ERANGE when precision is toonaruse
large. [ruby-dev:43284] fixes #4456 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-02* addr2line.c (uleb128): cast the value to unsigned long.naruse
* 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-02* 2011-03-03svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-02* lib/rexml/encoding.rb (REXML::Encoding#encoding=): store @encodingnaruse
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
2011-03-02* string.c (str_byte_substr): return nil for negative length.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-02* ext/openssl/ossl_pkey_dh.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-02* lib/test/unit/parallel.rb: Fix name from `inclement_io` tosorah
`increment_io`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-02* string.c (rb_str_slice_bang): move treatments which is only needednaruse
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-02* 2011-03-02svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e