summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-03-09 [ruby-dev:43027] fixes #4280naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-09* enc/shift_jis.c: Change SJIS as an alias of Windows-31J.naruse
* enc/shift_jis.c: Add PCK as an alias of Windows-31J. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08* ext/extmk.rb: nmake substitutes all occurences in macro.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08* ext/extmk.rb: workaround for nmake.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08* process.c (proc_setgroups): cleanup.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08* test/misc/test_ruby_mode.rb: test for ruby-mode.el.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08* process.c (get_sc_ngroups_max): fix indent.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08* process.c (get_sc_ngroups_max): try to use NGROUPS_MAX at first ifkosaki
_SC_NGROUP_MAX is not defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08* misc/ruby-electric.el: remove trailing spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08* misc/ruby-mode.el (ruby-parse-partial): fix for array in block.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08* ext/openssl/ossl_rand.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08* hash.c (ruby_setenv): MSDN says that Windows XP or earlier limitsusa
the total size of environment block to 5,120 chars. and on such OS, putenv() causes SEGV. So, ruby should limit the size of an environment variable to 5,120 bytes for workaround. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08* test/rubygems/test_gem_spec_fetcher.rbusa
(TestGemSpecFetcher#test_cache_dir_escapes_windows_paths): cache_dir may have driveletter and `:' for base of cache_dir itself, so need to skip it for checking. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08* misc/ruby-mode.el (ruby-deep-indent-paren-p, ruby-calculate-indent):nobu
do not apply deep-indent inside parens at the beginning of expressions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08fix typos and remove trailing spaceskazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08* common.mk (configure-ext, build-ext), ext/extmk.rb (extmake):nobu
support paralell-make under ext. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08* process.c (proc_setgroups): use getgrnam() if getgrnam_r() isnobu
not available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08* process.c: RARRAY_LEN() returns long int.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08* configure.in (RUBY_REPLACE_TYPE): enclose in quotes for multiplenobu
type names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07* process.c (get_sc_ngroups_max): define to wrap sysconf(3).naruse
this also supports Windows which doesn't have sysconf(3). * process.c (maxgroups): use get_sc_ngroups_max. * process.c (proc_setmaxgroups): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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