summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2009-12-06* lib/bigdecimal.rb: fix comparison operators [ruby-core:26646]marcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-04* marshal.c (marshal_load): should set taintness. [ruby-dev:39723]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-03 * test/stringio/test_stringio.rb: use 1.8 methods for easier backport.nahi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-03 * test/stringio/test_stringio.rb: imported tests from trunk. it has 2 nahi
failures which can be fixed by backporting r17739 from trunk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-02* eval.c (proc_invoke): unbound block created by define_methodnobu
cannot call super. [ruby-core:26984] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-01 * test/digest/test_digest_extend.rb: added tests for digest framework.nahi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-25 * test/digest/test_digest_extend.rb: Added tests for current digest nahi
framework. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-25* test/ruby/test_array.rb (TestArray#test_splat): Add tests for aknu
recently introduced bug in array splatting. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-23* eval.c (rb_method_missing): adjusted format and argument number.nobu
* eval.c (rb_call): fixed for super in cached method. [ruby-dev:39757] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-19* lib/net/imap.rb (flag_list): untaint strings to intern in the safeshugo
level 1. * lib/net/imap.rb (max_flag_count=): new methods to set the max number of flags interned to symbols. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-08* eval.c (method_inspect, method_name, mnew): Bug fix whenmarcandre
method created from an alias. Based on a patch by Peter Vanbroekhoven [ruby-core:22040] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-06* eval.c (call_trace_func): remove the trace hook if any exceptionnobu
raised. [ruby-list:46515] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-06* test/ruby/test_settracefunc.rb: skip thread events.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-05Merged r22308. [ruby-dev:39637]naruse
* hash.c (rb_hash): always return a fixnum value because a return value of rb_hash may be used as a hash value itself and bignums have no unique VALUE. * test/ruby/test_hash.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-05* gc.c (rb_obj_id): a Fixnum which is beyond signed longnaruse
was converted to a Bignum in calculating its hash. [ruby-dev:39637] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-05* parse.y (args): use splat_array.naruse
fix: when *foo doesn't splat. [ruby-list:46517] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-30 * lib/net/http.rb (Net::HTTPResponse#each_response_header):nahi
accept multiline message header of HTTP response. see #1796. cf. RFC 2616 '4.2 Message Header'. * test/net/http/test_httpresponse.rb: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-27* string.c (rb_str_inspect): get rid of adding garbage to shortnobu
UTF-8 string. [ruby-dev:39550] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-26* io.c (io_fwrite): adjust stdio file position after direct write onnobu
BSDish platforms. [ruby-core:26300] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-20 * lib/monitor.rb (MonitorMixin.mon_release): ensure the schedulednahi
thread to be alive when a thread is releasing a monitor. #2240 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-16* test/ruby/test_{queue,thread}.rb: backported from trunk.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-16* eval.c (rb_clear_cache_for_undef): clear entries for inheritednobu
methods. [ruby-core:26074] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-16* test/ruby/test_object.rb: backported from trunk.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-16* test/ruby/test_array.rb: suppress warnings.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-16* test/ruby/envutil.rb: get rid of double loading.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-15* ext/iconv/iconv.c (iconv_create): cannot retry with given block.nobu
[ruby-dev:39487] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-15* test/iconv/test_option.rb: removed particular implementationnobu
specific tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-04* marshal.c (struct {dump,load}_arg): manage with dfree, insteadnobu
of using local variable which may be moved by context switch. [ruby-dev:39425] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16* eval.c (rb_thread_start_timer): start to catch SIGVTALRM togethernobu
with timer thread. [ruby-core:25606] * eval.c (rb_thread_atfork): stop timer thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13remove temporally files explicitly.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13make tempfile prefix more descriptive.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-04* io.c (rb_io_binmode): check if closed regardless platforms.nobu
[ruby-core:25363] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-30* gc.c (gc_sweep): makes new room if object space is full ofnobu
finalized objects and has no free objects. [ruby-dev:39201] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-24* lib/rss/maker/base.rb, test/rss/test_maker_2.0.rb: fix a bugkou
that RSS Maker doesn't accept 'false' as guid's isPermaLink. Reported by Joe Holt. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-26* io.c (argf_eof): go to the next file if called after ARGF.closenobu
or ARGF.skip. [ruby-core:24561] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-26* test/ruby/test_argf.rb: partially backported from the trunk.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-24* lib/time.rb, test/test_time.rb: Move test code to a separateknu
file to save memory and compile time. [Bug #1812] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-01* test/ruby/test_proc.rb (test_return_from_proc): test for [ruby-core:24097].nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-27Merge r24865:23867 from trunk.kou
* NEWS, lib/rss/maker/base.rb, test/rss/test_maker_2.0.rb: add item.guid.permanent_link? and item.guid.permanent_link=. * NEWS: rss: 0.2.5 -> 0.2.7. * lib/rss/rss.rb, test/rss/test_version.rb: 0.2.6 -> 0.2.7. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-11* ext/bigdecimal/bigdecimal.c (VpCtoV): big number should resultmatz
to infinite. backported from 1.9. * ext/bigdecimal/bigdecimal.c (VpIsRoundMode): rounding mode condition check updated. backported from 1.9. * ext/bigdecimal/bigdecimal.c (VpPower): should handle NaN and Inf. backported from 1.9. * ext/bigdecimal/bigdecimal.c (BigDecimal_DoDivmod): divmod should raise ZeroDivisionError. backported from 1.9. * ext/bigdecimal/bigdecimal.c (BigDecimal_mode): should check exception for VP_EXCEPTION_UNDERFLOW and VP_EXCEPTION_ZERODIVIDE. backported from 1.9. * ext/bigdecimal/bigdecimal.c (VpException): ditto. * ext/bigdecimal/bigdecimal.h (VP_EXCEPTION_ZERODIVIDE): new error code. backported from 1.9. * ext/bigdecimal/bigdecimal.c (BigDecimal_div2, BigDecimal_round, BigDecimal_truncate, BigDecimal_floor, BigDecimal_ceil): eagerly convert bigdecimal to integer. backported from 1.9. * ext/bigdecimal/bigdecimal.c (VpMult): free internal Real. backported from 1.9. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-16merge r23451.kou
* lib/rss/parser.rb, test/test_parser_1.0.rb: fix foaf:Image element causes parse error even if ignore_unknown_element mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-16merge r23450.kou
* lib/rss/maker.rb, lib/rss/maker/0.9.rb, test/test_maker_*.rb: add RSS::Maker.supported? git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-16merge r23449, r23453.kou
* lib/rss/content/*, lib/rss/dublincore/*: fix circular require. * test/test_maker_atom_feed.rb, test/test_maker_atom_entry.rb: suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-16merge r23448.kou
* lib/rss/maker/feed.rb, test/test_maker_atom_feed.rb: remove needless codes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-16merge r23446.kou
* lib/rss/maker/feed.rb, test/test_maker_atom_entry.rb, test/test_maker_atom_feed.rb: fix duplicated dc:date. Reported by Kazuhiro NISHIYAMA. Thanks!!! [ruby-list:46014] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-16merge r23445.kou
* lib/rss/maker/base.rb, lib/rss/maker/1.0.rb, lib/rss/maker/feed.rb, test/rss/test_maker_1.0.rb, test/rss/test_maker_atom_feed.rb: RSS 1.0 and Atom feed maker treat maker.channel.language as maker.channel.dc_language. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-16merge r23442.kou
* lib/rss/rss.rb, test/rss/test_version.rb (RSS::VERSION): 0.2.5 -> 0.2.6. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-15* eval.c (rb_thread_join), ext/thread/thread.c (wake_one): adjustsnobu
targets of rest waiting threads to join. [ruby-core:23457] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-15* test/thread/test_thread.rb: changed indent level to 2.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-28test/test_timeout.rb: backported from 1.9.kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e