aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * test/openssl/test_ocsp.rbemboss2011-07-023-2/+9
| | | | | | | | | * test/openssl/test_x509_cert.rb: Perform SHA-256 tests only if supported by the available OpenSSL version. Versions < 0.9.8 don't support it. [ruby-core:37724] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: remove a Kernel#respond_to? from the incompatibiliesmarcandre2011-07-011-3/+1
| | | | | | because it has been reverted at revision 41837 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/matrix/test_matrix.rb: remove obsolete test [ruby-core:37714]marcandre2011-07-011-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_reject_bang, rb_ary_delete_if): rejectednobu2011-07-013-20/+64
| | | | | | | elements should be removed. fixed [Bug #2545] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: remove a description of Kernel#respond_to? because it hasmrkn2011-07-012-1/+5
| | | | | | been reverted at revision 41837. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-07-02svn2011-07-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: describe a change of multiplication of Bignum.mrkn2011-07-012-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/bm_app_erb.rb: increase loop count. too shortkosaki2011-07-0142-44/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mesurement time makes less accuracy. * benchmark/bm_app_factorial.rb: ditto. * benchmark/bm_app_mandelbrot.rb: ditto. * benchmark/bm_app_strconcat.rb: ditto. * benchmark/bm_io_file_create.rb: ditto. * benchmark/bm_io_file_read.rb: ditto. * benchmark/bm_io_file_write.rb: ditto. * benchmark/bm_so_concatenate.rb: ditto. * benchmark/bm_so_lists.rb: ditto. * benchmark/bm_so_matrix.rb: ditto. * benchmark/bm_so_random.rb: ditto. * benchmark/bm_so_sieve.rb: ditto. * benchmark/bm_vm_thread_mutex1.rb: ditto. * benchmark/bm_vm_thread_mutex2.rb: ditto. * benchmark/bm_vm_thread_mutex3.rb: ditto. * benchmark/bm_vm1_block.rb: cleanup. * benchmark/bm_vm1_const.rb: cleanup. * benchmark/bm_vm1_ensure.rb: cleanup. * benchmark/bm_vm1_ivar.rb: cleanup. * benchmark/bm_vm1_length.rb: cleanup. * benchmark/bm_vm1_neq.rb: cleanup. * benchmark/bm_vm1_not.rb: cleanup. * benchmark/bm_vm1_rescue.rb: cleanup. * benchmark/bm_vm1_simplereturn.rb: cleanup. * benchmark/bm_vm1_swap.rb: cleanup. * benchmark/bm_vm2_array.rb: cleanup. * benchmark/bm_vm2_case.rb: cleanup. * benchmark/bm_vm2_defined_method.rb: cleanup. * benchmark/bm_vm2_eval.rb: cleanup. * benchmark/bm_vm2_method.rb: cleanup. * benchmark/bm_vm2_mutex.rb: cleanup. * benchmark/bm_vm2_poly_method.rb: cleanup. * benchmark/bm_vm2_poly_method_ov.rb: cleanup. * benchmark/bm_vm2_proc.rb: cleanup. * benchmark/bm_vm2_regexp.rb: cleanup. * benchmark/bm_vm2_send.rb: cleanup. * benchmark/bm_vm2_super.rb: cleanup. * benchmark/bm_vm2_unif1.rb: cleanup. * benchmark/bm_vm2_zsuper.rb: cleanup. * benchmark/bm_vm_thread_alive_check1.rb: cleanup. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * fix typos.nobu2011-07-011-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: typomarcandre2011-07-011-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix: Add LUP decompositionmarcandre2011-07-014-0/+243
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Allow non integer exponents for Matrix#**marcandre2011-07-013-3/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix: Add Eigenvalue Decompositionmarcandre2011-07-014-0/+916
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix: Add Matrix#roundmarcandre2011-07-013-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (tr_trans): free heap ptr when the str is not embeded.naruse2011-07-012-0/+8
| | | | | | patched by Eric Wong. [Bug #4956] [ruby-core:37708] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (do_select): fix memory leak.kosaki2011-07-012-0/+13
| | | | | | | | Patch by Eric Wong. Thank you! [Bug #4953] [ruby-core:37702] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_getivar): check vm state versionko12011-06-302-2/+14
| | | | | | | | | | to invalidate inline chache (ivar index). fixes Bug #4926. * vm_insnhelper.c (vm_setivar): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c, thread_pthread.c (WRITE_CONST): suppress warningsnobu2011-06-303-7/+14
| | | | | | `ignoring return value'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_threadptr_check_signal): only wake up main thread.ko12011-06-305-22/+58
| | | | | | | | | | | | | | | | | * thread.c (rb_threadptr_execute_interrupts_common): check signal deliverly if it is main thread. fixes [ruby-dev:44005] [Ruby 1.9 - Bug #4950] * bootstraptest/test_fork.rb: add a test for above. * signal.c (rb_get_next_signal): skip if signal_buff is empty. (check signal_buff.size first) * vm_core.h: remove unused variable rb_thread_t::exec_signal. * thread.c (rb_thread_check_trap_pending): check rb_signal_buff_size() because rb_thread_t::exec_signal is no longer available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sytle fixes.nobu2011-06-308-19/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* reedited previous committadf2011-06-301-8/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (Init_class_hierarchy): should name BasicObjectmatz2011-06-303-1/+10
| | | | | | | | | explicitly. * variable.c (rb_const_defined_0): should not check for superclasses as const_get. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typotadf2011-06-301-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e