summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2010-02-19Use only object_id to test living threads.naruse
Previous test depends on timing like: <"[#<Thread:0x000008013413a0 run>, #<Thread:0x00000801341418 run>, #<Thread:0x00000801364940 run>]"> expected but was <"[#<Thread:0x000008013413a0 run>, #<Thread:0x00000801341418 sleep>, #<Thread:0x00000801364940 run>]">. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-18* pack.c (pack_unpack): call PACK_ITEM_ADJUST for 'Q'.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-17* io.c (io_fread, io_getpartial, io_read, io_sysread): by using lock,mame
prohibit modification of buffer string during read (which had caused EFAULT or SEGV). [ruby-dev:40437] * test/ruby/test_io.rb: rewrite tests for the old behavior. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-17add a test.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-17* regcomp.c (setup_tree, onig_compile): optimize .* at last bymame
converting into (?>.*), which does not backtrack. [ruby-core:27791] * test/ruby/test_regexp.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-17* test/dl/test_method.rb: sinf(3) is in libm.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-16* test/dl/test_{base,handle}.rb: use more verbose assertions.nobu
* test/dl/test_import.rb (DL::LIBC::BoundQsortCallback): renamed to get rid of overwriting warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-16* ext/dl/method.c: Adding DL::Method as a superclass for DL::Functiontenderlove
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-15* time.c (time_add): propagate fixed time offset.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-15fix previous commit.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-15More generic regular exression for test.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-14avoid method redefinition.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-14add a test.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-13add a test.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-12fix a test for Debian GNU/Linux squeeze (armel)akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-11* marshal.c (r_object0): read sequentially since marshal sourcenobu
may not be possible to rewind. [ruby-dev:40386] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-10* array.c (rb_ary_push_m, rb_ary_unshift_m, rb_ary_aset),nobu
(rb_ary_insert, rb_ary_replace, rb_ary_concat), (rb_ary_uniq_bang, rb_ary_flatten_bang): check if frozen after wrong number of arguments but before TypeError. [ruby-core:28140] * hash.c (rb_hash_replace): ditto. * string.c (rb_str_replace): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-08* object.c (rb_obj_clone): call initialize_clone hook method tomatz
call initialize_copy. * object.c (rb_obj_dup): call initialize_dup hook. * lib/delegate.rb (Delegator#initialize_clone): use new hook to implement deep copy. [ruby-dev:40242] * lib/delegate.rb (Delegator#initialize_dup): ditto. * test/test_delegate.rb (TestDelegateClass#test_copy_frozen): add a test to ensure #clone copies frozen status. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-07* test/dl/test_handle.rb (test_NEXT): fix for BSD.naruse
Linux and Darwin's RTLD_NEXT searchs second occurrence of the function. But FreeBSD and NetBSD's RTLD_NEXT searchs in libraries loaded after dl. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06* class.c (rb_class_init_copy): raise a TypeError if the argument isshugo
BasicObject. [ruby-core:27060] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06test/net/imap/test_imap_response_parser.rb: fixed test_resp_text_code.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06* test/net/imap/test_imap_response_parser.rb (test_resp_text_code): added a testshugo
for [ruby-core:27913]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06* lib/net/imap.rb (receive_responses): does not hang when an unexpected BYEshugo
response received. fixed [ruby-core:27944]. Thanks, Bob Potter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06* test/net/imap/test_imap.rb (test_exception_during_idle): use timeout.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06* lib/monitor.rb (wait): supported timeout.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06fix a test.akr
OpenSolaris cannot remove the current directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06* test/test_delegate.rb (TestDelegateClass::IV#initialize): shouldnobu
set delegation target. * test/test_delegate.rb (TestDelegateClass#test_copy_frozen): clone of frozen delegator also should be frozen. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-05* lib/delegate.rb (Delegator): include copy of Kernel.nobu
[ruby-dev:40314] * lib/delegate.rb (Delegator#{dup,clone}): class of copy should be Delegator. [ruby-dev:40313] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-04* lib/yaml/rubytypes.rb: Struct members are emitted without a leadingtenderlove
colon. Thanks Yusuke Endoh! [ruby-core:28052] * test/yaml/test_struct.rb: fixed tests to go with Struct changes * test/yaml/test_yaml.rb: fixed tests to go with Struct changes git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-03* lib/delegate.rb (Delegator): now inherits BasicObject.nobu
[ruby-dev:39154], [Bug #2679], [ruby-dev:40242] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-03* time.c (time_mdump, time_mload): dump/load utc_offset.nobu
[ruby-dev:40063] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-03* enumerator.c: move implementation of each_slice, each_cons,matz
each_with_object to enum.c. * enum.c (each_slice_i): convert multiple values from yield into an array. * enum.c (each_cons_i): ditto. * enum.c (each_with_object_i): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-03Wed Feb 3 10:12:09 2010 Aaron Patterson <tenderlove@ruby-lang.org>tenderlove
* ext/dl/function.c: DL::Function now uses libffi * ext/dl/cfunc.c (rb_dl_set_last_error): set to non static so errors can be exposed. * ext/dl/closure.c: DL::Closure will now be used in place of ext/dl/callback/*. * ext/dl/dl.c: legacy callbacks removed in favor of libffi * ext/dl/dl_converions.(c,h): used for converting ruby types to FFI types. * ext/dl/callback/*: replaced by libffi callbacks. * ext/dl/lib/dl/callback.rb: Converting internal callbacks to use DL::Closure * ext/dl/lib/dl/closure.rb: Ruby parts of the new DL::Closure object * ext/dl/lib/dl/import.rb: More conversion to use DL::Closure object * ext/dl/lib/dl/value.rb (ruby2ffi): adding private method for DL::CPtr to ffi value conversion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-02use require_relative.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-02* enum.c (enum_each_entry): new method #each_entry to pack valuesmatz
from yield into an array. * lib/set.rb (Set#merge): use Enumerable#each_entry to implement Set compatible to 1.8 behavior. [ruby-core:27985] * lib/set.rb: replace is_a?(Enumerable) with respond_to?(:each) for duck typing. * lib/set.rb (SortedSet#add): typo fixed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-31* test/ruby/test_dir.rb: use string instead of symbol as file name.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-31* A bug fix for deleting blank Table rows from Andy Hartford.jeg2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-29suppress a warning.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-29* configure.in, win32/Makefile.sub (EXECUTABLE_EXTS): should benobu
space-separated. [ruby-core:27912] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27* test/matrix/test_matrix.rb, test/matrix/test_vector.rb: add somemame
tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27* vm_dump.c (bugreport_backtrace): trivial change.kazu
* vm_dump.c (rb_vm_bugreport): uninitialized local variable i. * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_segv_test): follow above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27* test/ruby/test_exception.rbkazu
(TestException#test_thread_signal_location): change test method name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27suppress warnings.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26suppress warnings.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26* ext/bigdecimal/bigdecimal.c (VpCtoV): BigDecimal("0E200000000000")mame
was Infinity, not 0. * test/bigdecimal/test_bigdecimal.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26* ext/socket/extconf.rb: suppress a warning.akr
* ext/extmk.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26don't gnerate core file.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25supress warnings.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25* lib/matrix.rb: suppress warnings.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25* test/ruby/envutil.rb: use method_defined? instead ofmame
instance_methods.include?. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e