kazu
906aaa9c00
fix a typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-11 13:59:45 +00:00
nobu
e77a9ad446
* lib/mkmf.rb (find_executable0): should exclude directories.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-11 09:42:46 +00:00
nobu
23f2460e82
* test/misc/test_ruby_mode.rb (TestRubyMode): try to run emacs if
...
runnable, and get rid of --quick for older versions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-11 09:33:56 +00:00
kosaki
bd90dc80f2
* process.c (proc_getmaxgroups, proc_setmaxgroups): Process#maxgroups
...
and Process#maxgroups= now raise NotImplementedError if the
platform don't support supplementary groups concept.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-10 16:54:02 +00:00
svn
2ff3ec5dbe
* 2011-03-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-10 16:26:05 +00:00
kosaki
4a8cf2d92d
* process.c (get_sc_ngroups_max): return -1 if platform don't
...
support NGROUPS_MAX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-10 16:26:01 +00:00
akr
d49f0d9576
* ext/openssl/ossl_ssl.h: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-10 13:28:58 +00:00
naruse
f1b2fb6706
* parse.y (parser_encode_length): add exception as UTF8-MAC for
...
magic comment's emacs newline specifier
patched by James M. Lawrence [ruby-core:35476] fixes #4489
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-10 13:07:03 +00:00
naruse
eb778a7b6b
* parse.y (parser_encode_length): fix typo: the length of
...
"-dos" and "-mac" is not 5 but 4.
patched by James M. Lawrence [ruby-core:35476] fixes #4489
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-10 08:07:56 +00:00
naruse
2fc47aa06b
Fix wrong (and duplicated) test name.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-10 02:15:25 +00:00
usa
a9a0b5dfee
* test/ruby/test_require.rb: setting too long string to ENV causes
...
Errno::EINVAL on Windows. long path name errors may causes over
about 1024 bytes, then limit it about 4000 bytes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-10 01:55:30 +00:00
naruse
9e53a0b142
* lib/test/unit.rb (Test::Unit::Runner::Worker#read): fix for the case
...
when IO#read or IO#gets returns nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-10 01:35:56 +00:00
ryan
6e5f49770c
Import rubygems 1.6.2 (release candidate @ 2026fbb5)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-09 22:32:29 +00:00
akr
08c07a215d
* ext/openssl/ossl_ssl.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-09 18:01:11 +00:00
svn
af1460d670
* 2011-03-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-09 15:03:58 +00:00
nagachika
292d9610f5
* test/ruby/test_io_m17n.rb (test_io_new_enc): "sjis" is now an alias
...
of Windows-31J.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-09 15:03:54 +00:00
nagachika
6afaff752b
* .gitignore: ignore exts.mk
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-09 14:07:11 +00:00
nobu
862048e28d
* misc/ruby-mode.el (ruby-parse-partial): fix indent after aref.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-09 14:06:15 +00:00
tenderlove
4df71924e4
* ext/psych/lib/psych/visitors/yaml_tree.rb: Rescue exceptions when
...
people implement the method method. Thanks Lin Jen-Shin.
[ruby-core:35255]
* test/psych/visitors/test_yaml_tree.rb: test for implementation of
method method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-09 03:51:39 +00:00
naruse
095b279464
[ruby-dev:43027] fixes #4280
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-09 02:59:04 +00:00
naruse
89c0d70e42
* enc/shift_jis.c: Change SJIS as an alias of Windows-31J.
...
* 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-09 02:54:40 +00:00
nobu
d9e5dd3b0f
* ext/extmk.rb: nmake substitutes all occurences in macro.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08 15:45:33 +00:00
nobu
c74a962aab
* ext/extmk.rb: workaround for nmake.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08 15:15:55 +00:00
kosaki
776156243c
* process.c (proc_setgroups): cleanup.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08 14:52:05 +00:00
nobu
1f9ee467c8
* test/misc/test_ruby_mode.rb: test for ruby-mode.el.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08 14:40:33 +00:00
nobu
6917c26a7a
* process.c (get_sc_ngroups_max): fix indent.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08 14:40:03 +00:00
kosaki
d558bb59c8
* process.c (get_sc_ngroups_max): try to use NGROUPS_MAX at first if
...
_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 14:29:22 +00:00
nobu
9652eae6e7
* misc/ruby-electric.el: remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08 14:12:48 +00:00
nobu
6b0dc7fd81
* misc/ruby-mode.el (ruby-parse-partial): fix for array in block.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08 14:10:19 +00:00
akr
a190741da4
* ext/openssl/ossl_rand.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08 12:45:20 +00:00
usa
45f59656ae
* hash.c (ruby_setenv): MSDN says that Windows XP or earlier limits
...
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 07:52:19 +00:00
usa
d504a2458c
* test/rubygems/test_gem_spec_fetcher.rb
...
(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 06:59:51 +00:00
nobu
85df40e9ab
* misc/ruby-mode.el (ruby-deep-indent-paren-p, ruby-calculate-indent):
...
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-08 03:30:23 +00:00
kazu
bc650f27b4
fix typos and remove trailing spaces
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08 01:41:05 +00:00
nobu
acd036bcdc
* common.mk (configure-ext, build-ext), ext/extmk.rb (extmake):
...
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 00:33:05 +00:00
nobu
15f0e53a06
* process.c (proc_setgroups): use getgrnam() if getgrnam_r() is
...
not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08 00:25:40 +00:00
nobu
487185de67
* process.c: RARRAY_LEN() returns long int.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08 00:08:16 +00:00
nobu
108eb9c68c
* configure.in (RUBY_REPLACE_TYPE): enclose in quotes for multiple
...
type names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08 00:07:19 +00:00
naruse
c57118f757
* process.c (get_sc_ngroups_max): define to wrap sysconf(3).
...
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 16:44:36 +00:00
naruse
436d5dc6eb
* gc.c (rb_objspace): an initializer must be a constant.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07 16:17:27 +00:00
naruse
fe8e2dd1e1
* process.c (maxgroups): cast because sysconf(3)'s return value is long.
...
* 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 16:13:57 +00:00
svn
30c06ec68a
* 2011-03-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07 15:03:22 +00:00
akr
37e159f547
* ext/openssl/ossl_pkey_rsa.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07 15:03:18 +00:00
sorah
e267617f3e
* lib/pstore.rb: Delete variable @transaction and fix #4474 . Patch by
...
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-07 14:03:41 +00:00
kosaki
52b40be04b
small cleanup.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07 12:54:27 +00:00
kosaki
19a127d0cb
* process.c (proc_setgroups): replace getgrnam() with getgrnam_r()
...
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 12:35:45 +00:00
kosaki
1a8ee910f3
* process.c (proc_getmaxgroups, proc_setmaxgroups): refrect
...
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-07 11:58:12 +00:00
matz
1df42597d1
cancel subversion backfire. sorry
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07 08:44:45 +00:00
svn
fc634cc092
* 2011-03-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07 08:39:45 +00:00
matz
eb807d42ec
* gc.c (rb_gc_set_params): allow GC parameter configuration by
...
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 08:39:39 +00:00