aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * thread.c (cmp_tv, subtract_tv): no longer used on Win32.nobu2011-07-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (rb_bug): get rid of segfault after all threadsnobu2011-07-082-1/+13
| | | | | | | disposed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl.h: include openssl/e_os2.h before checking theusa2011-07-082-0/+6
| | | | | | | defition of OPENSSL_SYS_WIN32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (wunlink): reverted a part of r32426. it was mistakenlyusa2011-07-082-6/+6
| | | | | | | mixed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: can't subtract void *.nari2011-07-082-5/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): define GC_MARK_STACKFRAME_WORD.usa2011-07-082-0/+7
| | | | | | | | fixed build problem of r32438. the value (30) is temporary value. maybe it's enough by 20~24 according to my observation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for [ruby-dev:44049].kosaki2011-07-081-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_mutex_unlock_all): folded intokosaki2011-07-082-29/+25
| | | | | | | | | rb_threadptr_unlock_all_locking_mutexes. * thread.c (rb_threadptr_unlock_all_locking_mutexes) ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_unlock_all_locking_mutexes): rename tokosaki2011-07-084-3/+17
| | | | | | | | | | | | | rb_threadptr_unlock_all_locking_mutexes and remove static. * vm_core.h: add rb_threadptr_unlock_all_locking_mutexes declaration. * thread.c (thread_start_func_2): adjust the above rename. * eval.c (ruby_cleanup): call rb_threadptr_unlock_all_locking_mutexes again after finalizer. [Bug #4988] [ruby-dev:44049] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (FIBER_MACHINE_STACK_ALLOCATION_SIZE): Fiber stack sizekosaki2011-07-082-2/+7
| | | | | | | | 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
* * common.mk (sudo-precheck): true command is not standard onnobu2011-07-083-1/+7
| | | | | | Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/-test-/string/enc_associate.c: needs ruby/encoding.h fornobu2011-07-081-0/+1
| | | | | | rb_to_encoding(). fixed #4993. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (gvl_destroy): fix cond_t leak.kosaki2011-07-082-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: Improve documentationdrbrain2011-07-082-25/+56
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-07-08svn2011-07-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2011-07-071-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: change water_mark value value that may callnari2011-07-073-8/+76
| | | | | | | | | | | 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
* add a comment why FreeBSD can't use MAP_STACK.kosaki2011-07-071-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/testunit/test_parallel.rb (TestParallelWorker#teardown): waitusa2011-07-072-2/+10
| | | | | | | 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
* * encoding.c (rb_enc_set_index, rb_enc_associate_index): shouldnobu2011-07-076-7/+49
| | | | | | | | 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
* * 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