aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* * ext/bigdecimal/bigdecimal.c (GetVpValue): support conversion fromnobu2009-09-211-0/+4
| | | | | | | Rational. [ruby-core:25697] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (proc_binding): allow proc from method. [ruby-core:25589]nobu2009-09-211-0/+1
| | | | | | | * vm.c (collect_local_variables_in_env): block iseq can be NULL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/lib/bigdecimal/math.rb (sin, cos, atan, exp, log):nobu2009-09-201-0/+77
| | | | | | | | improved precision and performance. based on a patch from Makoto Yamashita in [ruby-core:25600] and [ruby-core:25602]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (GlobPathValue), file.c (rb_get_path_check): path namesnobu2009-09-192-0/+19
| | | | | | | must be ASCII compatible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object0): entry regexp object before its encodingnobu2009-09-181-0/+8
| | | | | | | name. [ruby-core:25625] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each), parse.y (stmt, arg): arg_concat()nobu2009-09-181-0/+8
| | | | | | | on op_asgn was inversed. [ruby-core:25629] [Bug #2050] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb: fixed indent by splitting methods.nobu2009-09-181-55/+75
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb: add a test for [ruby-dev:39345]kazu2009-09-171-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_thread.rb (TestThread#test_recursive): removematz2009-09-161-9/+0
| | | | | | implementation dependent test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_exec_recursive_outer, rb_exec_recursive): Added method to ↵marcandre2009-09-152-1/+15
| | | | | | | | | | | | | | | | | | short-circuit to the outermost level in case of recursion * test/ruby/test_thread.rb (test_recursive_outer): Test for above * hash.c (rb_hash_hash): Return a sensible hash for in case of recursion [ruby-core:24648] * range.c (rb_range_hash): ditto * struct.c (rb_struct_hash): ditto * array.c (rb_array_hash): ditto * test/ruby/test_array.rb (test_hash2): test for above git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use rb_isspace for ASCII-incompatible strings.naruse2009-09-151-0/+5
| | | | | | | | | * string.c (rb_str_split_m): use rb_isspace when the string may be ASCII-incompatible. (rb_str_lstrip_bang): ditto. (rb_str_rstrip_bang): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_lstrip_bang): use ascii_isspace(). [ruby-dev:39322]matz2009-09-141-2/+0
| | | | | | | | * string.c (rb_str_rstrip_bang): ditto. * string.c (rb_str_split_m): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove temporally files explicitly.akr2009-09-131-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make tempfile prefix more descriptive.akr2009-09-131-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb (test_rlimit_value): rlim_max may benobu2009-09-131-4/+4
| | | | | | | higher than rlim_cur. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (OpenURI::Meta#content_type_parse): strip quotes.akr2009-09-131-15/+112
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test: use require_relative.naruse2009-09-127-35/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extra commas removed.akr2009-09-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test read_timeout.akr2009-09-121-0/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (URI::FTP#buffer_open): fix the %2F handling.akr2009-09-121-0/+59
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_require.rb (test_relative): test without currentnobu2009-09-121-0/+6
| | | | | | | directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test invalid redirect location.akr2009-09-121-0/+29
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix tests.akr2009-09-121-28/+61
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_alias): hooks are called from rb_add_method_def.nobu2009-09-121-1/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_add_method, rb_add_method_me): call method addednobu2009-09-121-0/+19
| | | | | | | hook after definition. [ruby-core:25536] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test ftp over http proxy.akr2009-09-121-0/+55
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (URI::FTP#buffer_open): use the port specified inakr2009-09-121-0/+39
| | | | | | | the URI. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test CA certs dir.akr2009-09-121-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test proxy log.akr2009-09-122-6/+44
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add https test.akr2009-09-122-0/+276
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refined.akr2009-09-121-7/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* more tests.akr2009-09-121-0/+54
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* more tests.akr2009-09-111-8/+173
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils: use require_relative to require fileasserts.naruse2009-09-112-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* renamed.akr2009-09-101-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests for open-uri.akr2009-09-101-0/+151
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl: use require_relative to require test_base.rb.akr2009-09-106-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_cptr.rb (test_free=): test SEGV at first.akr2009-09-101-0/+15
| | | | | | | [ruby-dev:39269] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (assert_normal_exit): Don't useakr2009-09-101-7/+6
| | | | | | | AssertionMessage. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils::Entry_#copy_file): open the sourcenobu2009-09-091-0/+5
| | | | | | | file first to ensure it can be copied. [ruby-core:25498] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_dl2.rb (test_call_double, test_sin): fixed argumentnobu2009-09-091-6/+7
| | | | | | | order. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_require.rb (test_relative): tests for require_relative.nobu2009-09-091-1/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * load.c (rb_feature_provided): fixed for autoloading extensionnobu2009-09-091-0/+12
| | | | | | | library without suffix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_{cfunc,ptr}.rb: added tests from Aaron Patterson.nobu2009-09-072-0/+77
| | | | | | | see [ruby-dev:39249]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_tell): adjustment for ungotten data.nobu2009-09-071-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): op_asgn to aref should return rhs.nobu2009-09-051-0/+25
| | | | | | | [ruby-core:25387] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): &&= and ||= should return rhs.nobu2009-09-051-2/+8
| | | | | | | [ruby-dev:39163] (#1996), [ruby-core:25143] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): &&= and ||= should return rhs.nobu2009-09-051-17/+38
| | | | | | | [ruby-dev:39163] (#1996), [ruby-core:25143] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (update_char_offset): position should be long.nobu2009-09-041-0/+8
| | | | | | | | | | * re.c (match_hash, match_equal): new methods. [ruby-core:24748] * re.c (reg_match_pos, rb_reg_eqq, rb_reg_s_quote): get rid of use VALUE as int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (test_binmode_after_closed): test for [ruby-core:25363].nobu2009-09-041-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e