summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-06-30* test/openssl/test_ssl.rb (start_server): shutdown TCPServer beforemame
close. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30add an assertion.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30* common.mk (RUBY_H_INCLUDES): common headers which are included withnobu
ruby.h together. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30* test/ruby/test_settracefunc.rb (test_raise): reveal an exceptionmame
hided by rescue modifier. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30* test/ruby/test_array.rb (test_aset): access with too big indexmame
raises not ArgumentError but IndexError now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30add a test for [ruby-dev:34619].akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30* lib/test/unit/collector/dir.rb (recursive_collect): r15662 reverted.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30* ext/stringio/stringio.c (strio_getline): fix for nil and "" asmame
separator. [ruby-dev:34591] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30* io.c (argf_each_line): pass args to each_line. [ruby-dev:34958]mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30* gc.c (chain_finalized_object): should not delete from finalizernobu
table until run. * gc.c (rb_gc_call_finalizer_at_exit): deferred_final_list may be empty first. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30* gc.c (gc_finalize_deferred): allow object allocation in finalizers.nobu
* gc.c (rb_gc_call_finalizer_at_exit): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30* ChangeLog: fixed format.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30 * gc.c (rb_newobj): prohibit call of rb_newobj() during gc whenusa
USE_VALUE_CACHE is not defined (normal case). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30* ext/syslog/syslog.c (syslog_write): syslog operations should bematz
protected from $SAFE level 4. a patch from Keita Yamaguchi <keita.yamaguchi at gmail.com>. * ext/syslog/syslog.c (mSyslog_close): ditto. * ext/syslog/syslog.c (mSyslog_set_mask): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-29* test/net/http/test_http.rb (_test_request__file): specify encodingmame
explicitly. * test/net/http/utils.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-29* encoding.c (rb_utf8_encindex): defined.naruse
* include/ruby/encoding.h (rb_utf8_encindex): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-29* vm.c, vm_core.h,vm_core.h, vm_dump.c, iseq.c: rename class nameko1
VM -> RubyVM, and rename rb_cVM -> rb_cRubyVM. "VM" is too short name for class. * test/ruby/test_method.rb, test/ruby/test_settracefunc.rb: ditto. * include/ruby/ruby.h: rb_cRubyVM, rb_cEnv, rb_cISeq should not be exposed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-29* process.c (Init_process): fix to avoid a warning.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-292008-06-30svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-29* test/ruby/test_parse.rb: remove tests for open_args.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-29* string.c (rb_str_format_m): make tmp volatile to avoid possible GCakr
problem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-29follow up the previous commit.kou
* lib/rss/parser.rb: merge documents from ruby_1_8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-29* lib/rss/parser.rb, lib/rss/utils.rb: merge documents from ruby_1_8.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-29* lib/rss/parser.rb (RSS::ListenerMixin#known_class): define tokou
work with ruby 1.8.x too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-29* lib/rss/maker/base.rb (RSS::Maker::RSSBase#to_feed): raisekou
exception not return nil if RSS::Maker.make can't get required information. * test/rss/rss-assertions.rb: follow the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-29* lib/rss/maker/base.rb (RSS::Maker::RSSBase#make): require block.kou
* test/rss/test_maker_{0.9,1.0,2.0}.rb: follow the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-29* lib/rss/maker/base.rb, lib/rss/maker/itunes.rb: don't usekou
instance_eval to initialize variables. (speed up) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-29* lib/rss/rss.rb, test/rss/test_version.rb (RSS::VERSION): 0.2.4 -> 0.2.5.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-29* dir.rb: fix resource leak.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-29* lib/tmpdir.rb (@@systmpdir): prior LOCAL_APPDATA if possible, andnobu
should be clean. based on a patch from arton <artonx AT yahoo.co.jp> at [ruby-dev:35269] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-28* ext/win32ole/win32ole.c (date2time_str): fix the overflow insuke
some situation. [ruby-bugs-20793] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-28fix typos.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-282008-06-29svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-28fix test_status_kill for coredump message in Process::Status#inspect.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-28* include/ruby/ruby.h (struct RRegexp): new field usecnt. replaceakr
str and len by src. * gc.c (gc_mark_children): mark src field of regexp. (obj_free): don't free str field. * re.c (REG_BUSY): removed. (rb_reg_initialize): prohibit re-initialize regexp. (rb_reg_search): use usecnt to prevent freeing regexp currently using. this prevents SEGV by: r = /\A((a.)*(a.)*)*b/ r =~ "ab" + "\xc2\xa1".force_encoding("euc-jp") t = Thread.new { r =~ "ab"*8 + "\xc2\xa1".force_encoding("utf-8")} sleep 0.2 r =~ "ab"*8 + "\xc2\xa1".force_encoding("euc-jp") git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-28* include/ruby/intern.h (rb_str_new2, rb_tainted_str_new2,nobu
rb_usascii_str_new2): use inline versions only for constant literals. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-28* include/ruby/intern.h (rb_str_new2, rb_tainted_str_new2,nobu
rb_usascii_str_new2): use inline versions for gcc 4 or lator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-28add a test for [ruby-dev:34958].akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-28* test/rubygems/test_gem.rb (test_self_path_APPLE_GEM_HOME): don't useakr
fixed /tmp/apple_gem_home directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-27* ext/win32ole/win32ole.c : check String encoding whensuke
converting String to VT_BSTR in OLE. * test/win32ole/test_win32ole.rb : ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-272008-06-28svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-27* time.c: fix rounding negative float.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-27fix the last entry.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-27* gc.c: __size__ removed. use the length of __members__ instead.akr
(num_members): new function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-27* test/inlinetest.rb (InlineTest.in_progname): workaround for frozennobu
$0. [ruby-dev:35261] * lib/test/unit/ui/console/testrunner.rb (TestRunner#finished): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-27* parse.y (primary): empty not should call '!' on nil.matz
cf [ruby-dev:35227] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-27* lib/erb.rb: adjust line number for magic comment.kazu
* test/erb/test_erb.rb: add tests for def_method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-27* vm.c (vm_eval_body): if thrown exception is frozen, reraise it tonobu
create a new instance. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-27* include/ruby/intern.h (rb_str_new2, rb_tainted_str_new2,nobu
rb_usascii_str_new2): use with-length versions with strlen to optimize strlen, if optimized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-27* include/ruby/intern.h (rb_str_new2, rb_tainted_str_new2,nobu
rb_usascii_str_new2): use with-length versions with strlen to optimize strlen. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e