summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-29* ext/io/wait/wait.c (io_nread): returns number of bytes availablematz
for read. response to feature request #936 in [ruby-core:20917]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-29* ext/io/wait/wait.c (io_ready_p): updated to follow RDoc.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-29* ext/socket/socket.c (s_recvfrom_nonblock): revert r21162.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-29* ext/socket/socket.c (s_recvfrom_nonblock): fixed awesome typo.matz
sorry. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-29* vm.c (vm_set_eval_stack, vm_set_main_stack, vm_set_top_stack):ko1
check stack overflow. [ruby-dev:37646] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-29* ext/socket/socket.c (s_recvfrom_nonblock): default maxlen to bematz
65536. suggested by akr in [ruby-core:20918]. response to feature request #936 in [ruby-core:20917]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-29merges r21134 from ruby_1_9_1 into trunk.yugui
* test/rubygems/test_gem_command.rb (test_add_option_overlapping_common_and_local_options): follows r21066. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-29* Makefile.in (ext-clean): ext-clean always fails.yugui
* ext/dl/ripper/extconf.rb: adds y.output into the clean list. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-29* thread.c (rb_mutex_trylock): return false if Mutex ownedko1
by current thread. [ruby-core:20943] * thread.c (rb_mutex_lock): check dead lock (recursive lock) here. * test/ruby/test_thread.rb: add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-29revert previous changes.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-29* file.c (rb_get_path): move encoding conversion of file pathnaruse
from rb_scan_open_args. * io.c (rb_scan_open_args): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28* cont.c: small RDoc fix mentioned from <radek.bulat at gmail.com>matz
in [ruby-core:20921]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28add ML index ([ruby-dev:37634]).ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28* ruby.c (process_options): set th->base_block only whileko1
it is needed. * ruby.c (require_libraries): clear th->base_block before require libraries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28* 2008-12-29svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28add a test for OpenSSL::SSL::SSLSocket#read_nonblock.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28* ChangeLog: adds the author name of a patch.yugui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28* test/ext/dl/test_base.rb : add BSD's case.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28* ext/dl/lib/dl/import.rb (DL::Importer#sizeof): followsyugui
a feature change in 1.9. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28* ext/dl/lib/dl/import.rb (DL::Importer#extern): adds filename andyugui
line number to module_eval'ing for readability of backtrace. (DL::Importer#bind): ditto. * ext/dl/lib/dl/struct.rb (DL::CStructBuilder#create): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28* win32/Makefile.sub (config.h): do not use snprintf/vsnprintf innobu
msvcrt. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28* test/ruby/test_sprintf.rb (test_invalid): suppress warning.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28* sprintf.c: not force to override snprintf/vsnprintf.nobu
[ruby-core:20824] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28* test/rubygems/test_ext_configure_builder.rb (test_self_build_fail):naruse
Extends pattern for FreeBSD's error message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28 * commit ChangeLogtakano32
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28Sun Dec 28 17:10:13 2008 TAKANO Mitsuhiro (takano32) <tak@no32.tk>takano32
* ext/dl/test/test_dl2.rb: modify strncpy, strcpy, qsort, types. Bug #633 [ruby-core:19289] * ext/dl/test/test_base.rb: /lib/libc.so is x86_64 binary in x86_64 architecture. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28 * ext/dl/test/test_base.rb: use libc.dylib when the platform is darwin.takano32
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28* thread.c (mutex_free, mutex_unlock): add qualifiers.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28* thread.c (mutex_free): GC thread (main thread) has failed to unlockmame
a mutex that is locked by another thread, which makes the mutex dangling in keeping_mutexes and causes [BUG] or stuck finally. Now unlocking is performed as locking thread. * thread.c (mutex_unlock, rb_mutex_unlock, rb_mutex_unlock_all): mutex_unlock receives a thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27Imported minitest 1.3.1 r4505.ryan
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27* 2008-12-28svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27* runruby.rb: refactored to modify ENV as once.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27* test/rdoc/test_rdoc_info_formatting.rb (setup, teadown): usesnobu
mktmpdir and removes it alfter the test. * test/cgi/test_cgi_session.rb (setup, teadown): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27 * ext/dl/test/test_base.rb: use lib64 when the architecture is x86_64.takano32
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27 * win32/win32.c (rb_w32_argv_size): if an argument is empty, it's sizeusa
is 2, not 0, because it will be converted to "". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27* add Doxyfile to svn:ignore.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27* process.c (after_exec): needs to reset before restart timernobu
thread. * thread.c (thread_start_func_2): stops timer thread if forked in the new thread. [ruby-core:19385] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27* thread.c (rb_thread_atfork, rb_thread_atfork_before_exec): DRY.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27* vm_eval.c (rb_f_loop): return enumerator if no block given.matz
[ruby-list:45747] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27* .gdbinit (dummy_gdb_enums.special_consts): forces to load debugnobu
info on Mac OS X. * .gdbinit (rp): added T_ZOMBIE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27* eval.c (rb_frame_callee, rb_frame_caller): rb_frame_callee()ko1
should return method id on current frame. add rb_frame_caller() to get method id on parent frame. Bug #884 [ruby-dev:37446] * eval.c (rb_f_method_name): use rb_frame_caller() instead of rb_frame_callee(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27* transcode.c (make_econv_exception): show source and destinationakr
encoding. [ruby-dev:37285] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27* vm_insnhelper.c (vm_yield_with_cfunc): rename parameter nameko1
"blockptr" to "blockargptr". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27* common.mk (revision.h): ignores failure of file2lastrev.yugui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27* ruby.c (process_options): fix to untouch th->mild_compile_error.ko1
[ruby-dev:37621], [ruby-dev:37620] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27* iseq.h, iseq.c (rb_iseq_new_main): add a type ISEQ_TYPE_MAIN.ko1
[ruby-dev:37619] * compile.c (rb_dvar_defined, ruby_iseq_compile): ditto. * iseq.c (iseq_data_to_ary, iseq_load): ditto. * compile.c (iseq_compile_each): fix to check ip->compile_data. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27* lib/open-uri.rb (OpenURI.redirectable?): permit https redirection.akr
patch from Roman Shterenzon. [ruby-core:20485] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27* eval.c (get_errinfo): return th->errinfo valueko1
if normal errinfo place (dynamic local viriable) is not found. fixes Bug #732 [ruby-dev:37046]. * bootstraptest/test_proc.rb: add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27man/irb.1: adds -v, -h, -E and -U.yugui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27* vm_insnhelper.c (vm_call_method, vm_call_cfunc): use original id instead ofko1
calling id when NODE_CFUNC or NODE_BMETHOD. fixes Bug #632 [ruby-core:19282]. * vm_eval.c (vm_call0, vm_call_super): ditto. * vm_method.c (rb_add_method, rb_alias): store original id in nd_file field of NODE_METHOD. * test/stringio/test_stringio.rb: add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e