aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * cont.c, vm_core.h, eval.c: because rb_protect must not be jumped bymame2010-01-254-0/+24
| | | | | | | | callcc, revert r26407. And rename trap_tag to protect_tag and change exception message (across trap -> across stack rewinding barrier). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (do_select): wrong conditions. [ruby-core:27753]usa2010-01-252-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb: use method_defined? instead ofmame2010-01-252-1/+6
| | | | | | instance_methods.include?. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (rb_cont_call, cont_restore_1): remove trap_tag check becausemame2010-01-254-17/+7
| | | | | | | | it seems not to make sense. [ruby-dev:40121] * vm_core.h, eval.c (rb_protect): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb: fix the check if instance method `ruby' ismame2010-01-252-1/+6
| | | | | | defined or not. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rubyoptions.rb (test_segv_test): add a test formame2010-01-252-0/+26
| | | | | | bugreport trace dumper. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (be_chown, be_fchown, eaccess): suppressed warnings.nobu2010-01-251-7/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_ARCHLIB): moved to version.c.nobu2010-01-251-7/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (pty_check): needs WNOHANG to poll, return $?, andnobu2010-01-252-3/+8
| | | | | | | call raise_from_check() with pid_t. [ruby-dev:40141] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.c (RUBY_LIB, RUBY_*_LIB): moved from configures.nobu2010-01-258-30/+36
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby.h: removed duplication, added the macro for version.h.nobu2010-01-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (USE_SIGALTSTACK): only when SA_SIGINFO also isnobu2010-01-252-4/+10
| | | | | | | available. see [ruby-core:27768]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c, file.c, io.c, signal.c: add __HAIKU__.naruse2010-01-255-10/+15
| | | | | | patched by Alexander von Gluck [ruby-core:27767] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (domain_check): ignore errno if y is inf.naruse2010-01-252-1/+12
| | | | | | | | r26335 is because NetBSD 5.0's asin and acos returns 0.0 with errno EDOM. But it breaks Linux whose gamma returns inf with errno ERANGE on. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_inspect): suppress a warning.nobu2010-01-252-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c, vm.c, vm_eval.c, vm_insnhelper.c: fix issues aboutko12010-01-246-39/+120
| | | | | | | | | | | return and c-return trace. This issue skips (c-)return event with global jump such as break or return. This fix make vm invoke hooks at stack rewind timing. fix [ruby-core:27606] [Bug #2610]. * test/ruby/test_settracefunc.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2010-01-241-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_inspect): increment by rb_enc_mbminlen(enc) forakr2010-01-242-4/+10
| | | | | | | broken byte sequence. [ruby-core:27748] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_enc_strlen_cr): increment by rb_enc_mbminlen(enc) forakr2010-01-242-1/+9
| | | | | | | broken byte sequence. [ruby-core:27748] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_s_glob): get rid of comment starter.nobu2010-01-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_start_func_2): unlock all locking mutexesnobu2010-01-234-7/+43
| | | | | | | | | | | | | | before clean up. [ruby-core:26877] * thread.c (rb_thread_atfork): no other threads to be joined. * vm_core.h (rb_thread_lock_unlock, rb_thread_lock_destroy): new functions. * vm.c (ruby_vm_destruct): unlock and destroy global VM lock. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/lib/win32ole.rb: eol-style.nobu2010-01-230-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser/ruby.rb: fix typo.naruse2010-01-232-2/+7
| | | | | | patched by Hal Brodigan [ruby-core:21536] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-01-24svn2010-01-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/markup/to_html_crossref.rb: fix failure of the test.naruse2010-01-232-1/+6
| | | | | | [ruby-core:20564] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_s_glob): add rdoc by Roger Pack. [ruby-core:27669]naruse2010-01-232-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/generator/html.rb (RDoc::Generator::HTML#gen_into):naruse2010-01-232-0/+10
| | | | | | | make the rdoc(generating html) run faster and use less memory. patch by Tetsu Soh [ruby-core:27656] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: add WIN32OLE.ole_initialize,suke2010-01-233-1/+74
| | | | | | | | | | | WIN32OLE.ole_uninitialize to use in win32ole.rb. You must not use thease methods. * ext/win32ole/lib/win32ole.rb: add win32ole.rb re-define Thread#initialize (fix ruby-core:27634) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/coverage.rb: preserve exit status.mame2010-01-222-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_dir.rb: get rid of debug print.mame2010-01-223-9/+9
| | | | | | * test/ruby/test_module.rb: fixed to make test-all work. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-01-23svn2010-01-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_array.rb: add a test for Array#rotate, rotate!.mame2010-01-2213-5/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/ruby/test_dir.rb, test/ruby/test_fnmatch.rb: add some tests (for coverage of dir.c). * test/ruby/test_enum.rb: add a test for Enumerable#minmax. * test/ruby/test_enumerator.rb: add some tests for Enumerator#inspect, Enumerator::Generator and Yielder. * test/ruby/test_env.rb: add a test for ENV#index. * test/ruby/test_exception.rb: add some tests (for coverage of error.c). * test/ruby/test_hash.rb: add a test for recursive check. * test/ruby/test_integer.rb: add a test for number of argument of Integer. * test/ruby/test_method.rb: add a test for define_method. * test/ruby/test_module.rb: add a test for constant of included module. * test/ruby/test_proc.rb: add a test for parameters with cfunc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_regexp.rb, test/ruby/test_symbol.rb,mame2010-01-224-0/+19
| | | | | | | test/ruby/test_variable.rb: add some tests (for coverage of compile.c). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_mload): add submicro into vtm.subsecx. [ruby-dev:40133] akr2010-01-223-0/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (rdoc): needs encodings and exts.nobu2010-01-222-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add missing comma.naruse2010-01-222-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_bignum.rb, test/ruby/test_class.rb,mame2010-01-217-0/+38
| | | | | | | | test/ruby/test_defined.rb, test/ruby/test_hash.rb, test/ruby/test_primitive.rb, test/ruby/test_variable.rb: add some tests (for coverage). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-01-22svn2010-01-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_require.rb (test_define_class): expect TypeErrormame2010-01-212-1/+6
| | | | | | instead of NameError. [ruby-core:27504] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: some tidy.shyouhei2010-01-212-127/+47
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_rotate): new methods, Array#rotate! andnobu2010-01-214-8/+163
| | | | | | | Array#rotate. [ruby-dev:17194] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_reverse_m): copy directly.nobu2010-01-212-4/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: use AS_CASE instead of when, to get rid ofnobu2010-01-212-504/+445
| | | | | | | an unintentional substitution. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (iseq_s_disasm): check for proc first. based on thenobu2010-01-203-6/+11
| | | | | | | patch by Roger Pack in [ruby-core:27626]. [ruby-core:27227] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-01-20svn2010-01-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (compile.$(OBJEXT)): dependencies lacking.shyouhei2010-01-204-6/+16
| | | | | | | | | * vm_method.c (rb_add_method_cfunc): invalid initializer for C89 * compile.c (iseq_insns_unification): int might be smaller than int* git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::Config.default_config_hash): return annobu2010-01-192-2/+5
| | | | | | | empty hash when resolv.conf is not available. [ruby-core:27620] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS::Config#lazy_initialize): fixed thenobu2010-01-192-1/+6
| | | | | | | defaults of nameserver and port. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (clean-ext): allow glob patterns.nobu2010-01-193-29/+32
| | | | | | | * ext/extmk.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: commit miss.usa2010-01-191-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e