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
naruse
948f01a865
* thread_pthread.c (get_stack): the return address of get_stack
...
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
2011-07-03 22:16:02 +00:00
ko1
eb35bb0b35
* include/ruby/intern.h, thread_pthread.c (rb_reserved_fd_p,
...
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-03 21:56:59 +00:00
svn
4937a6dec4
* 2011-07-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-03 21:09:54 +00:00
kosaki
05117a4917
add NEWS for O_DIRECT
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-03 21:09:50 +00:00
yugui
3b63aee193
* ext/extmk.rb (extmake): suppresses outputs from extconf.rb.
...
(extmake) warns a failure in extconf.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-03 14:44:59 +00:00
nobu
6343e30c14
* array.c (ary_reject_bang): should not remove elements which are
...
not yielded. [Bug #2545 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-03 04:44:53 +00:00
nobu
b582f2a123
* ChangeLog: fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-03 01:07:12 +00:00
kosaki
70dd402cd8
* thread_pthread.c (get_stack): pthread_attr_getstack() doesn't
...
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-02 21:18:16 +00:00
svn
560c1aeba9
* 2011-07-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-02 19:59:14 +00:00
kosaki
5a73c71dcf
* thread_pthread.c (get_stack): add to a care of gurad page on Mac
...
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
2011-07-02 19:59:05 +00:00
mrkn
5a31811f41
* ChangeLog: Fix revision number at which Kernel#respond_to? change is
...
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
2011-07-02 01:02:39 +00:00
emboss
a5615faba1
* test/openssl/test_ocsp.rb
...
* 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
2011-07-02 00:03:29 +00:00
marcandre
5ce01ed12f
* NEWS: remove a Kernel#respond_to? from the incompatibilies
...
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
2011-07-01 22:27:48 +00:00
marcandre
d1999f393f
* test/matrix/test_matrix.rb: remove obsolete test [ruby-core:37714]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 22:25:32 +00:00
nobu
e7047b8a37
* array.c (rb_ary_reject_bang, rb_ary_delete_if): rejected
...
elements should be removed. fixed [Bug #2545 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 22:17:46 +00:00
mrkn
a943788fb7
* NEWS: remove a description of Kernel#respond_to? because it has
...
been reverted at revision 41837.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 16:59:58 +00:00
svn
a108a97f98
* 2011-07-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 16:00:49 +00:00
mrkn
2a1b73ee40
* NEWS: describe a change of multiplication of Bignum.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 16:00:45 +00:00
kosaki
f44446c45d
* benchmark/bm_app_erb.rb: increase loop count. too short
...
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
2011-07-01 10:39:12 +00:00
nobu
0fe64693a7
* fix typos.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 09:48:34 +00:00
marcandre
22412ceda4
* NEWS: typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 06:33:14 +00:00
marcandre
c8e2388257
* lib/matrix: Add LUP decomposition
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 06:23:12 +00:00
marcandre
59a3d59496
* lib/matrix.rb: Allow non integer exponents for Matrix#**
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 06:21:24 +00:00
marcandre
004c34f9de
* lib/matrix: Add Eigenvalue Decomposition
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 06:13:35 +00:00
marcandre
376b825127
* lib/matrix: Add Matrix#round
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 06:10:40 +00:00