summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-09* compile.c (iseq_compile_each), vm_insnhelper.c (vm_invoke_block,mame
vm_throw): allow "return" and "yield" even in singleton class definition. based on a patch from wanabe <s.wanabe AT gmail.com> for "return". [ruby-core:21379] [ruby-dev:40975] * insns.def (defineclass): ditto (straightforwardly push block ptr, instead of dfp ptr with special flag). * vm_core.h (RUBY_VM_CLASS_SPECIAL_P): ditto (no longer needed). * proc.c (proc_new): ditto (remove handling for special flag). * bootstraptest/test_jump.rb: add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09* cont.c (fiber_switch): raise FiberError when returning to deadmame
fiber. [ruby-dev:40833] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09* test/rubygems/mockgemui.rb (MockGemUi::TTY),nobu
test/rubygems/test_gem_stream_ui.rb (TestGemStreamUI::IsTty): need #noecho. * test/rubygems/test_gem_gemcutter_utilities.rb: need rubygems/command. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09* lib/thread.rb (ConditionVariable#wait): ensure to remove the currentmame
thread from waiters. [ruby-core:29835] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09update doc.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09* test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_gc):nobu
reduced heavy test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09* NEWS (io/console): added IO#echo?.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09* ext/io/console/console.c (console_set_raw): new method.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09* ext/io/console/console.c (ttymode): reverted previous commit.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09* include/ruby/ruby.h (RB_GC_GUARD_PTR): get rid of removal bynobu
optimization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09* proc.c (proc_dup): copy blockprocval. proc_dup is used bymame
define_method, which made blockprocval be GC'ed mistakenly. [ruby-core:30023] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09* test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_gc):nobu
fixed test subject. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09* cont.c (fiber_initialize_machine_stack_context): try to releasenobu
unnecessary fibers and retry to create. based on a patch from masaya tarui at [ruby-dev:41230]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09* test/dl/test_callback.rb: fixing valgrind errors. Ruby string may betenderlove
GC'd before the callback returns. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09* ext/json/generator/generator.c (fbuffer_inc_capa):naruse
fix tha use of REALLOC_N. [ruby-dev:41227] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09revert previous doc. change.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09* ext/json/{generator/generator.c,parser/parser.rl}: fixed indent.nobu
* ext/json/{generator,parser}/depend: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09* test/net/imap/test_imap.rb: use IPv4 forshugo
test_imaps_post_connection_check. [ruby-dev:41189] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08* lib/net/imap.rb (disconnect): terminates @receiver_thread even ifshugo
@sock.shutdown raises an exception. [ruby-dev:34881] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08* io.c (nogvl_copy_stream_sendfile): ISO C90 forbids mixed declarations and ↵kazu
code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08* ext/fiddle/lib/fiddle.rb: only require DL if it hasn't been requiredtenderlove
yet. [ruby-core:30095] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08* vm_insnhelper.c (vm_call_bmethod): removed unused variable.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08* cont.c (stackgrowdirection): removed duplicated code, usenobu
STACK_UPPER macro instead. * gc.h (STACK_DIR_UPPER): moved from thread_pthread.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08* test/dl/test_base.rb (libc_so, libm_so): supports solaris.yugui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08* spec/default.mspec (config): . is no longer in $:.yugui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08* thread.c (rb_thread_aset): fixed argument type.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08* NEWS (io/console): IO#noecho and IO#raw without block arenobu
obsolete already. [ruby-dev:41226] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08* ext/io/console/console.c (ttymode): save dupped file descriptorsnobu
and restore tty modes using them, so that original modes can be restored even if orignal fds are closed. [ruby-dev:41225] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08update doc.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08* error.c: RDoc for subclasses of Exception. [ruby-core:28394]marcandre
* cont.c: ditto * enumerator.c: ditto * io.c: ditto * math.c: ditto * numeric.c: ditto * proc.c: ditto * re.c: ditto * thread.c: ditto * transcode.c: ditto. Thanks to Run Paint for some of the documentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08* array.c (rb_ary_fetch, rb_ary_splice, rb_ary_store): Improve IndexErrormarcandre
messages [ruby-core:28394] * hash.c (rb_hash_fetch_m): Improve KeyError message git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08* lib/rubygems/user_interaction.rb (Gem::StreamUI#ask_for_password):nobu
use io/console. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08* ext/io/console: imported. [ruby-dev:40897]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08* ext/etc/etc.c (etc_systmpdir): moved from ext/tmpdir.nobu
* ext/etc/etc.c (etc_sysconfdir): added. * lib/rubygems/config_file.rb, lib/tmpdir.rb: use etc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08* ext/etc/etc.c: suppressed warnings.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08* ext/bigdecimal/bigdecimal.c (VpAlloc): ensure buf does not getnobu
collected. based on a patch masaya tarui at [ruby-dev:41213]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08* ext/socket/lib/socket.rb (BasicSocket#connect_address): MacOS X 10.6akr
returns "::ffff:a.b.c.d" for IPv4-mapped IPv6 address. [ruby-dev:41215] patch by Tomoyuki Chikanaga. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-07* 2010-05-08svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-07don't sleep indefinitely. collect the zombie.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-07* version.h: bump up to 1.9.3.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-07* properties.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-07Revert r26058 "* test/webrick/test_server.rb (test_daemon): simply use ↵naruse
fork's return" This must use pipe because the target for kill is not direct child. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-07* .gitignore: ignoring fiddle build filestenderlove
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-07* tool/rbinstall.rb (install-man): install mdocs directly withoutnobu
temporary files. [ruby-dev:41204] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-07* ext/tk/extconf.rb (get_tclConfig_dirs): glob with EXEEXT.nobu
* ext/tk/extconf.rb (search_tclConfig): fixed typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-06* ext/tk/extconf.rb: search directories on PATH, only if containingnagai
tclsh or wish command (probably right fix for [ruby-core:30010]). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-06* 2010-05-07svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-06* ext/bigdecimal/bigdecimal.c (VpCtoV): fix to check overflow.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-06* cont.c: define FIBER_USE_NATIVE only when _WIN32_WINNT >= 0x0400usa
on Windows because Fiber APIs are supported only such building (and running) environments. [ruby-dev:41192] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-06* test/openssl/test_ec.rb: added test_dsa_sign_asn1_FIPS186_3. dgst isnobu
truncated with ec_key.group.order.size after openssl 0.9.8m for FIPS 186-3 compliance. WARNING: ruby-openssl aims to wrap an OpenSSL so when you're using openssl 0.9.8l or earlier version, EC.dsa_sign_asn1 raises OpenSSL::PKey::ECError as before and EC.dsa_verify_asn1 just returns false when you pass dgst longer than expected (no truncation performed). * ext/openssl/ossl_pkey_ec.c: rdoc typo fixed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e