aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/-test-/string/modify.c: split from init.c.nobu2011-07-072-8/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (rb_num2ull): use own switch sentense.naruse2011-07-072-2/+40
| | | | | | Current implementation can't convert 18446744073709551615. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (FIBER_STACK_FLAGS): workaround fix for r32420 on FreeBSD.naruse2011-07-062-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Hide bmlog files from subversiondrbrain2011-07-060-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/driver.rb: Add difference column to report that averagesdrbrain2011-07-062-1/+25
| | | | | | | 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
* * lib/rubygems.rb: Reduce requires to improve `make benchmark`.drbrain2011-07-063-5/+13
| | | | | | | | | [#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
* * parse.y (arg): rescue_mod is in inverse order from othernobu2011-07-063-3/+13
| | | | | | | 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
* * ChangeLog: typos.usa2011-07-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (kill): check the process exited or not beforeusa2011-07-062-4/+34
| | | | | | | teminationg it. [Bug #4943] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-07-07svn2011-07-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (opt_call_args): allow trailing comma after assocmatz2011-07-062-0/+13
| | | | | | 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
* * test/cgi/test_cgi_header.rb(test_cgi_header_nph): Validate date insorah2011-07-062-1/+10
| | | | | | "Date:" header git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (fiber_machine_stack_alloc): cleanup pointer arithmetic.kosaki2011-07-062-6/+12
| | | | | | | | | "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
* * cont.c (fiber_machine_stack_alloc): fix mprotect misuse. A stackkosaki2011-07-062-3/+14
| | | | | | | | | | | 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
* * cont.c (fiber_machine_stack_alloc): use MAP_STACK if it's provided.kosaki2011-07-062-1/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (fiber_machine_stack_alloc): use MAP_FAILED instead of -1.kosaki2011-07-062-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (fiber_machine_stack_alloc): remove unnecessary cast.kosaki2011-07-062-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/cgi/test_cgi_header.rb(test_cgi_header_nph): Adding space aftersorah2011-07-062-4/+11
| | | | | | | | | 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-06svn2011-07-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/cgi/test_cgi_header.rb(test_cgi_header_nph): Fix bug depends tosorah2011-07-062-1/+11
| | | | | | 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
* Hide fasta and wc files generated by running benchmarksdrbrain2011-07-050-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove debug print of r32410.naruse2011-07-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_here_document): should dispatch heredoc_endnobu2011-07-053-6/+30
| | | | | | 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
* * addr2line.c: fix r32407 to check HAVE_ALLOCA_H.mame2011-07-052-1/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpauth/digestauth.rb (_authenticate):naruse2011-07-053-5/+98
| | | | | | | | | | | | 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
* * thread_pthread.c (native_sleep): cut the waiting time up tomame2011-07-042-0/+21
| | | | | | | | | 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
* * cont.c: disable FIBER_USE_NATIVE on Solaris because resuming anymame2011-07-042-1/+7
| | | | | | | 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
* * addr2line.c: include <alloca.h> to fix a build issue on Solaris.mame2011-07-042-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix typos.nagachika2011-07-041-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-07-05svn2011-07-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/coverage/coverage.c: resurrect r32071 + add GC guard fornagachika2011-07-043-9/+51
| | | | | | | | | 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
* * thread_pthread.c (get_stack): For NetBSD/FreeBSD, usekosaki2011-07-042-1/+12
| | | | | | | | | 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
* comment fix.kosaki2011-07-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/coverage/coverage.c: revert r32071. The commit caused SEGV onmame2011-07-043-42/+18
| | | | | | | | | | 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
* * NEWS: The incompatibility of Rexml introduced at r29646 is reverted at r31008.mrkn2011-07-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def: written in Shift_JIS.nobu2011-07-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (thread_start_func_1): suppress an unused variable.nobu2011-07-041-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove garbages.nobu2011-07-041-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS (rexml) encoding methods return encoding names as strings again since ↵nobu2011-07-041-5/+1
| | | | | | r31008. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (get_stack): the return address of get_stacknaruse2011-07-032-3/+14
| | | | | | must be the highest address of the current thread's stack. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h, thread_pthread.c (rb_reserved_fd_p,ko12011-07-035-0/+41
| | | | | | | | | | | | | | | | | | | | RB_RESERVED_FD_P): added. This C API is to limit to access fds which are used by RubyVM internal. In this version of CRuby, return 1 if fd is communication pipe. If your application needs to close all file descriptors to preent resource leak, skip internal fds using this C API. We also define a macro RB_RESERVED_FD_P(fd). So you can write #ifndef RB_RESERVED_FD_P #define RB_RESERVED_FD_P(fd) 0 #endif for Ruby 1.9.2 or previous version to write compatible extensions. See [ruby-core:37727] * thread_win32.c (rb_reserved_fd_p): added (return 0 for any fds). * io.c (rb_io_initialize): raise ArgumentError if given fd is reserved by Ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-07-04svn2011-07-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add NEWS for O_DIRECTkosaki2011-07-031-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): suppresses outputs from extconf.rb.yugui2011-07-032-2/+21
| | | | | | (extmake) warns a failure in extconf.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_reject_bang): should not remove elements which arenobu2011-07-033-23/+20
| | | | | | | not yielded. [Bug #2545] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix typo.nobu2011-07-031-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (get_stack): pthread_attr_getstack() doesn'tkosaki2011-07-022-8/+23
| | | | | | | | | | | | | return stack start addres, but stack base address. Thus, we need to add stack size for getting stack start address. And, we don't have to decrease guard size twice. * thread_pthread.c (thread_start_func_1): don't use inaccurate stack start guess if native_thread_init_stack() can be used. [Bug #1813] [ruby-core:24540] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-07-03svn2011-07-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (get_stack): add to a care of gurad page on Mackosaki2011-07-023-11/+36
| | | | | | | | | | | | | OS X. [Bug #1813] [ruby-core:24540] * signal.c (ruby_signal): SIGBUS use alternative stack too. * signal.c (sigbus): On Mac, thread stack overflow makes SIGBUS instead of SIGSEGV. thus, added stackoverflow check. * signal.c (default_handler): get rid of compilation warning. * signal.c (Init_signal): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: Fix revision number at which Kernel#respond_to? change ismrkn2011-07-021-1/+1
| | | | | | | | reverted. It is reverted at the revision 28564 according to [ruby-dev:41837]. The wrong revision number is also refered in commit logs at the revision 32363 and the revision 32359. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e