kosaki
4ad2d02a49
* cont.c (FIBER_MACHINE_STACK_ALLOCATION_SIZE): Fiber stack size
...
don't need to keep multiple number of sizeof(VALUE).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 04:09:00 +00:00
nobu
b43b6cf71f
* common.mk (sudo-precheck): true command is not standard on
...
Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 02:39:15 +00:00
nobu
4837d6d5b5
* ext/-test-/string/enc_associate.c: needs ruby/encoding.h for
...
rb_to_encoding(). fixed #4993 .
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 02:08:29 +00:00
kosaki
affa47ae4d
* thread_pthread.c (gvl_destroy): fix cond_t leak.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 01:40:54 +00:00
drbrain
50b64ee7de
* gc.c: Improve documentation
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 00:18:39 +00:00
svn
ba64040e9a
* 2011-07-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-07 15:23:47 +00:00
kazu
f90739e22b
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-07 15:23:39 +00:00
nari
17bb77fd77
* gc.c: change water_mark value value that may call
...
gc_mark(lev <= GC_LEVEL_MAX) in gc_mark().
In ruby_stack_check(), water_mark is a value that may call some
C function. Fixes Bug #3781
* configure.in: define GC_MARK_STACKFRAME_WORD that approximate
size of gc_mark() and gc_mark_children() stackframes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-07 14:59:09 +00:00
kosaki
68a0d412dd
add a comment why FreeBSD can't use MAP_STACK.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-07 09:09:44 +00:00
usa
1a1c95404f
* test/testunit/test_parallel.rb (TestParallelWorker#teardown): wait
...
the child process even if the communition pipe is broken.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-07 08:56:12 +00:00
nobu
cfa0035962
* encoding.c (rb_enc_set_index, rb_enc_associate_index): should
...
check if frozen.
* parse.y (rb_intern3), ruby.c (process_options, ruby_script):
defer freezing after associating encodings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-07 06:44:46 +00:00
nobu
f4ca906d5c
* ext/-test-/string/modify.c: split from init.c.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-07 06:40:33 +00:00
naruse
136c117fc1
* numeric.c (rb_num2ull): use own switch sentense.
...
Current implementation can't convert 18446744073709551615.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-07 06:23:40 +00:00
naruse
a259db72b7
* cont.c (FIBER_STACK_FLAGS): workaround fix for r32420 on FreeBSD.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 21:57:16 +00:00
drbrain
1744815935
Hide bmlog files from subversion
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 21:50:58 +00:00
drbrain
789b288d10
* benchmark/driver.rb: Add difference column to report that averages
...
across all runs of a benchmark. [Ruby 1.9 - Feature #4982 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 21:47:56 +00:00
drbrain
0e7da28c98
* lib/rubygems.rb: Reduce requires to improve make benchmark
.
...
[#4962 ]
* lib/rubygems/specification.rb: Delay initialization of rubygems
until require is called.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 21:19:59 +00:00
nobu
c1d84bfcdb
* parse.y (arg): rescue_mod is in inverse order from other
...
modifiers. patched by michael.j.edgar AT dartmouth.edu at
[ruby-core:36248]. fixed #4716 .
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 19:31:33 +00:00
usa
ca252765bc
* ChangeLog: typos.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 16:12:51 +00:00
usa
b76263fa09
* win32/win32.c (kill): check the process exited or not before
...
teminationg it. [Bug #4943 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 15:43:38 +00:00
svn
1fc2d3e4a9
* 2011-07-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 15:39:32 +00:00
matz
aab018f8fe
* parse.y (opt_call_args): allow trailing comma after assoc
...
argument e.g. 'foo(bar:1,)'. fixed #3456
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 15:39:27 +00:00
sorah
2ab094ba4d
* test/cgi/test_cgi_header.rb(test_cgi_header_nph): Validate date in
...
"Date:" header
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 13:13:09 +00:00
kosaki
0242fe816c
* cont.c (fiber_machine_stack_alloc): cleanup pointer arithmetic.
...
"size/sizeof(VALUE)" is ugly and easy confusing.
* cont.c (fiber_initialize_machine_stack_context): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 12:31:53 +00:00
kosaki
032e56fbd6
* cont.c (fiber_machine_stack_alloc): fix mprotect misuse. A stack
...
guard page should have PROT_NONE.
* cont.c (fiber_initialize_machine_stack_context):
th->machine_stack_maxsize shouldn't be included guard pages size.
[Bug #4983 ][ruby-dev:44043]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 12:29:09 +00:00
kosaki
c454ee6c9f
* cont.c (fiber_machine_stack_alloc): use MAP_STACK if it's provided.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 12:24:25 +00:00
kosaki
302fcb568d
* cont.c (fiber_machine_stack_alloc): use MAP_FAILED instead of -1.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 12:22:56 +00:00
kosaki
a737fc8ace
* cont.c (fiber_machine_stack_alloc): remove unnecessary cast.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 12:21:50 +00:00
sorah
5738ab331e
* test/cgi/test_cgi_header.rb(test_cgi_header_nph): Adding space after
...
comma.
* test/cgi/test_cgi_header.rb(test_cgi_header_nph): Remove variable
`now`. Suppress warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 09:12:33 +00:00
svn
eb983e86e7
* 2011-07-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 05:54:06 +00:00
sorah
453726f26a
* test/cgi/test_cgi_header.rb(test_cgi_header_nph): Fix bug depends to
...
time. The test fails if time past 1 second in line 136-145
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 05:54:01 +00:00
drbrain
43dc0d4080
Hide fasta and wc files generated by running benchmarks
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-05 22:59:27 +00:00
naruse
c973097468
Remove debug print of r32410.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-05 10:09:04 +00:00
nobu
2ac460af94
* parse.y (parser_here_document): should dispatch heredoc_end
...
scanner event on an empty here document. fixed Bug#4543.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-05 06:28:07 +00:00
mame
eb78d224e3
* addr2line.c: fix r32407 to check HAVE_ALLOCA_H.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-05 05:08:23 +00:00
naruse
8fb2058d82
* lib/webrick/httpauth/digestauth.rb (_authenticate):
...
Literal texts in HTTP ABNF is case-insensitive (RFC2616 2.1),
and a ample implementation in RFC2617 also ignores the case
of algorithms. So now this ignores those cases.
[ruby-dev:43965] [Feature #4936 ]
* lib/webrick/httpauth/digestauth.rb (initialize):
Because of above, opera_hack is useless and removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-05 05:06:05 +00:00
mame
fed26e916b
* thread_pthread.c (native_sleep): cut the waiting time up to
...
100,000,000 because Solaris cond_timedwait() return EINVAL if an
argument is greater than current_time + 100,000,000. This is
considered as a kind of spurious wakeup. The caller to native_sleep
should care about spurious wakeup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-04 16:32:21 +00:00
mame
d6a5698d8a
* cont.c: disable FIBER_USE_NATIVE on Solaris because resuming any
...
Fiber caused SEGV. I haven't follow up the issue deeply, but it
works when disabling the feature.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-04 16:32:12 +00:00
mame
a5305216bb
* addr2line.c: include <alloca.h> to fix a build issue on Solaris.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-04 16:32:05 +00:00
nagachika
917df93b0d
* ChangeLog: fix typos.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-04 16:14:02 +00:00
svn
f413992431
* 2011-07-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-04 15:55:10 +00:00
nagachika
ea8b916307
* ext/coverage/coverage.c: resurrect r32071 + add GC guard for
...
rb_coverages. [ruby-core:37352] [Bug #4927 ]
[ruby-core:36539] [Feature #4796 ]
* test/coverage/test_coverage.rb resurrect r32071.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-04 15:55:06 +00:00
kosaki
e6d42f34e2
* thread_pthread.c (get_stack): For NetBSD/FreeBSD, use
...
pthread_attr_getstack() if possible. and, remove an assumption
of stack growing direction.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-04 13:27:31 +00:00
kosaki
1e8adda1fc
comment fix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-04 12:58:07 +00:00
mame
74454f5796
* ext/coverage/coverage.c: revert r32071. The commit caused SEGV on
...
some minor nonfree OS. I have no means of debugging the bug. My
personal opinion is that such OS should be unsupported unless there
is an active maintainer. [ruby-core:37352]
* test/coverage/test_coverage.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-04 12:21:02 +00:00
mrkn
276033220d
* NEWS: The incompatibility of Rexml introduced at r29646 is reverted at r31008.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-04 10:22:44 +00:00
nobu
49c0b143e4
* insns.def: written in Shift_JIS.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-04 06:52:39 +00:00
nobu
6dad6f5c4c
* thread_pthread.c (thread_start_func_1): suppress an unused variable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-04 06:52:35 +00:00
nobu
cc30e40319
* remove garbages.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-04 06:49:53 +00:00
nobu
d55560d551
* NEWS (rexml) encoding methods return encoding names as strings again since r31008.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-04 06:49:15 +00:00