drbrain
09b830c4b2
* lib/webrick/utils.rb: Document WEBrick::Utils. Patch by Olivier
...
Brisse. [Ruby 1.9 - Bug #4819 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16 05:55:31 +00:00
drbrain
35bb53430c
* lib/webrick/httpservlet/erbhandler.rb: Allow the ERB document to
...
alter the content-type of the response. [Ruby 1.9 - Bug #4685 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16 05:37:31 +00:00
drbrain
dbf9baeddf
* lib/timeout.rb: Clarify timeout duration types. Patch by Alf Mikula.
...
[Ruby 1.9 - Bug #4791 ]
* lib/net/http.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16 05:24:12 +00:00
drbrain
b7528b5edb
* lib/rdoc.rb: Import RDoc 3.7 release candidate
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16 04:59:24 +00:00
shugo
97ac172d58
* lib/net/imap.rb (search_response): parses SEARCH responses from
...
the Yahoo IMAP server correctly. patched by Mark Nadig. [Bug #4509 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16 02:41:03 +00:00
nobu
685444569c
* fix for build on solaris 10.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16 00:12:55 +00:00
nobu
ef38cb7a05
* enc/depend: show srcdir.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16 00:10:10 +00:00
nobu
bc46dfd281
* test/io/console/test_io_console.rb (TestIO_Console#test_sync):
...
fix for daemon process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16 00:08:56 +00:00
sorah
ea11cf5d7f
* test/testunit/test_parallel.rb(test_ignore_tzero): Test for r32109.
...
* test/testunit/tests_for_parallel/test_third.rb: Use another way to
detect that test is running on worker. This fixes sometimes
TestParallel failing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-15 23:06:00 +00:00
sorah
6e125382d7
* lib/test/unit.rb(Test::Unit::Runner#_run_parallel): Ignore -j0
...
because it makes blocking forever by IO.select.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-15 22:27:11 +00:00
usa
72e8077957
* test/testunit/test_parallel.rb (TestParallel::TestParallelWorker#
...
setup): now can run on Windows, probably.
* test/testunit/test_parallel.rb (TestParallel::TestParalle#setup):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-15 18:09:47 +00:00
usa
a8bdd28d10
* thread.c (do_select): Windows: no need to poll if select(2) is
...
cancelable.
* thread_win32.c (native_fd_select): new function to make select(2)
cancelable.
* thread_win32.c (rb_w32_check_interrupt): new function for checking
interrupt.
* win32/win32.c (rb_w32_select_with_thread): new function. cancelable
select(2).
* win32/win32.c (rb_w32_select): use above function internally.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-15 18:04:13 +00:00
svn
3eb1b472e2
* 2011-06-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-15 16:04:35 +00:00
emboss
24acc9017a
* test/openssl/test_config.rb: Commit missing file
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-15 16:04:32 +00:00
kazu
e33efe60a9
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-15 14:45:09 +00:00
kosaki
8923ba1ec9
* gc.c: fix a regression by r31690 on AIX because AIX malloc
...
return NULL if it's passed 0. But some caller don't expect it.
patch by Yutaka Kanemoto.
(vm_malloc_prepare): return calculated size.
(vm_xmalloc): use above result.
(vm_xcalloc): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-15 14:35:46 +00:00
kosaki
2ebd80d115
* thread.c: remove BLOCKING_REGION_CORE() macro. It's no longer used
...
since r32021.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-15 14:13:01 +00:00
emboss
16cac0b722
* Fixed typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-15 12:04:15 +00:00
emboss
562e35bce5
* test/openssl/tesst_config.rb: execute based on the existence of the
...
OpenSSL module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-15 12:03:22 +00:00
akr
19853fc49b
* test/ruby/test_io.rb (test_copy_stream_socket): wait a child process
...
before SIGUSR1 handler is removed.
* test/pathname/test_pathname.rb (define_assertion): use line number
for test method names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-15 03:36:57 +00:00
naruse
071b8d76f0
Run tests only for emacs 23+.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-15 03:28:47 +00:00
naruse
c75c838e16
* file.c (rb_stat_rdev): use DEVT2NUM.
...
* file.c (rb_stat_rdev_major): ditto.
* file.c (rb_stat_rdev_minor): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-15 01:58:13 +00:00
nagai
dfcc89576d
* ext/tk/tcltklib.c (lib_eventloop_core): revert the last change (it's
...
the part for ruby_1_8), and use rb_thread_check_ints() when RUBY_VM
is defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 20:20:59 +00:00
ko1
ef3fb5d1e8
* benchmark/bm_vm3_thread_*.rb: renamed bm_vm3_thread_*.rb to
...
benchmark/bm_vm_thread_*.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 19:45:08 +00:00
kosaki
c1bbb616d8
* benchmark/bm_vm4_thread_pass.rb: rename bm_vm4* to
...
bm_vm_thread_*. suggested by ko1.
* benchmark/bm_vm4_pipe.rb: ditto.
* benchmark/bm_vm4_alive_check1.rb: ditto.
* benchmark/bm_vm4_pass_flood.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 19:30:12 +00:00
kosaki
7f6e8625bb
* benchmark/bm_vm4_pass_flood.rb: new benchmark for GVL fairness.
...
* benchmark/bm_vm4_alive_check1.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 18:54:30 +00:00
kosaki
556cd0de07
add changelog explanation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 16:36:40 +00:00
kosaki
82e6d95edc
* thread_pthread.c (gvl_yield): fix live lock issue on 1-2 cpus
...
system. It's additional fix for r32021.
* thread_pthread.c (gvl_init): add switch_wait_cond.
* thread_pthread.h (typedef struct rb_global_vm_lock_struct): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 16:31:23 +00:00
svn
2e248ad5aa
* 2011-06-15
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 15:49:16 +00:00
naruse
179ab89278
Skip test_sync when there is no tty or something.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 15:49:12 +00:00
akr
7d6fe4e604
* bootstraptest/runner.rb (show_progress): refine verbose mode.
...
(exec_test): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 14:17:42 +00:00
akr
92c0438049
* bootstraptest/runner.rb (show_progress): extracted from assert_check.
...
(assert_check): use show_progress.
(assert_normal_exit): ditto.
(assert_finish): ditto.
(flunk): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 14:07:02 +00:00
tadf
614ec73fc8
* test/date/test_*.rb: added tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 13:52:25 +00:00
tadf
f2dbf38606
* ext/date/date_core.c: renamed some functions.
...
* ext/date/date_core.c: modified doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 13:11:01 +00:00
nagachika
300c837d5f
* ChangeLog: add ML and ticket link. [ruby-dev:43680] [Bug #4855 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 13:00:53 +00:00
nagachika
3ec2b843c8
* cont.c (cont_save_thread): add new utility function.
...
rb_context_t::saved_thread.machine_stack_start and
machine_stack_end should be cleared immediately after a snapshot of
current thread is stored to saved_thread.
this change aims to get rid of unnecessary GC mark at machine stack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 12:57:50 +00:00
akr
68c3b15398
fix typos.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 10:54:34 +00:00
akr
cb728a297b
* test/ruby/test_autoload.rb: remove temporary directory.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 10:51:25 +00:00
nobu
8fc86b0d34
* common.mk (sudo-precheck): authenticate at first to sudo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 04:09:43 +00:00
nobu
7905fc1e54
* test/io/console/test_io_console.rb (TestIO_Console#test_noctty):
...
split for each platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 04:07:03 +00:00
nari
b6135f1cd7
* gc.c (rb_gc_set_params): call initial_expand_heap if
...
initial_heap_min_slots is set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 02:13:52 +00:00
nari
8c79b8b6b8
* gc.c: use size_t.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 02:13:51 +00:00
naruse
bfa6c6b41b
Clear error messages before process and get errors. [ruby-dev:43791] [Bug #4879 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 01:38:56 +00:00
naruse
5174425678
Copy YAML::Store to Syck::Store to keep it from yamler.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 01:06:41 +00:00
naruse
cedc12ce9c
Explictly specify syck.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 00:48:19 +00:00
nobu
d4eae546c8
* test/io/console/test_io_console.rb (TestIO_Console#test_noctty):
...
fix for Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13 17:23:18 +00:00
mame
1d147fb24c
* test/coverage/test_coverage.rb: add a test for restart. a patch
...
from Xavier Shay. [ruby-core:36745]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13 16:12:52 +00:00
mame
7023a64d80
* ext/coverage/coverage.c: make it restartable. [ruby-core:36539]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13 16:06:26 +00:00
svn
8dddc12ad7
* 2011-06-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13 15:06:34 +00:00
kosaki
afd1a64cd6
* thread.c (rb_thread_schedule_rec): call gvl_yield() unconditionally.
...
* thread_pthread.c: remove HAVE_GVL_YIELD macro.
* thread_win32.c (gvl_yield): new. this fallback logic was moved from
rb_thread_schedule_rec().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13 15:06:30 +00:00