summaryrefslogtreecommitdiff
path: root/test/ruby
AgeCommit message (Collapse)Author
2009-10-23* class.c (rb_class_new): move class check to rb_check_inheritable().matz
* class.c (rb_check_inheritable): should not allow subclass of class Class. [ruby-core:26225] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-22* test/ruby/envutil.rb (assert_in_out_err): test_stdout andakr
test_stderr should be an array. * test/ruby/test_rubyoptions.rb (test_notfound): test_stdin of assert_in_out_err should be a string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-21* test/ruby/{marshaltestlib,test_marshal}.rb: suppressed warnings.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-19* iseq.c (prepare_iseq_build, rb_iseq_build_for_ruby2cext):nobu
untrust mark array. [ruby-core:26137] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-18Retry until the signal is trapped.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-17* marshal.c (id2encidx): register encoding name.nobu
(r_object0): register object before encoding name. [ruby-core:24882] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-16* test/ruby/test_thread.rb (test_status_and_stop_p): reduce the risknobu
of race condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-16* test/ruby/test_object.rb (test_respond_to_missing):nobu
respond_to_missing? should accept two arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-16* test/ruby/test_object.rb (test_remove_method): test for Bug#2202.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-15* io.c (io_encoding_set): get rid of parsing non-ascii string, andnobu
refine messages for invalid name encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-15* io.c (io_reopen): unread current buffer before telling thenobu
position, for the case of reopening same file. [ruby-dev:39479] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-14* ruby.c (process_options): script name should not be shown in annobu
error message before loaded. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-12* test/ruby/test_regexp.rb (TestRegexp#test_parse_kg): suppressnobu
warnings while tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-11* marshal.c (has_encoding): added for check the regexpnaruse
is dumped by 1.8 or 1.9. * marshal.c (r_object0): use has_encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-08* tool/enc-unicode.rb: parse range notation of UnicodeData.txt.naruse
* enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt, enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src: follow above change. [ruby-dev:39444] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25260 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/trunk@25230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-04add assertion message.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-03* vm_method.c (rb_add_method_def): no redefinition warning onnobu
undef. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-03* object.c (rb_f_integer): now Integer() takes optional basematz
argument. base will be ignored for non string values. suggested by Sam Carr at RubyFoo Lounge at London. * test/ruby/test_integer.rb (TestInteger#test_Integer): test updated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-02* enum.c (enum_slice_before): take a pattern if no block given.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-30* vm_method.c (rb_add_method_def): show the location wherenobu
overwritten method was defined. [ruby-dev:39400] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29Escape as \x{XXXX} other than Unicode chars.naruse
* string.c (rb_str_inspect): escape as \x{XXXX} when the encoding is other than Unicode. [ruby-dev:39388] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29* test/ruby/test_class.rb (test_method_redefinition): commit miss.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29* test/ruby/test_{class,module}.rb (test_method_redefinition): includenobu
warned line number. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29* test/ruby/test_{class,module}.rb (test_method_redefinition): refined.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29* test/ruby/test_module.rb: suppress warnings.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29* vm_method.c (rb_add_method_def): nothing to do if old method hadnobu
same definition. [ruby-dev:39397] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29* test/ruby/test_class.rb (test_module_function): tests for warnings.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29Refine tests arround String#inspect.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29* string.c (rb_str_inspect): dump as \uXXXX when thenaruse
string is in Unicode. [ruby-dev:39388] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-28git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25129 ↵matz
b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-25* proc.c (missing_wrap): reverted.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-25* proc.c (mnew): fix for instance method of Module, BasicObjectnobu
and subclass of a class which overrides respond_to_missing?. based on a patch from Nikolai Lugovoi <nlugovoi AT gmail.com> in [ruby-core:25748]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-24* proc.c (mnew): generate method object that wraps method_missing,matz
when #respond_to_missing? is defined. * test/ruby/test_object.rb (test_respond_to_missing): add test suites for #respond_to_missing? changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-23* parse.y (assign_in_cond): also should warn assignment to dvar innobu
conditional. [ruby-dev:39363] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-23* string.c (rb_str_upto): keep first width. [ruby-dev:39361]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-22* enum.c (enum_chunk): new method Enumerable#chunk.akr
* enum.c (enum_slice_before): new method Enumerable#slice_before. [ruby-dev:38392] [ruby-dev:39240] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-21* proc.c (proc_binding): allow proc from method. [ruby-core:25589]nobu
* 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
2009-09-19* dir.c (GlobPathValue), file.c (rb_get_path_check): path namesnobu
must be ASCII compatible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18* marshal.c (r_object0): entry regexp object before its encodingnobu
name. [ruby-core:25625] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18* compile.c (iseq_compile_each), parse.y (stmt, arg): arg_concat()nobu
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
2009-09-16* test/ruby/test_thread.rb (TestThread#test_recursive): removematz
implementation dependent test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-15* thread.c (rb_exec_recursive_outer, rb_exec_recursive): Added method to ↵marcandre
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
2009-09-15Use rb_isspace for ASCII-incompatible strings.naruse
* 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
2009-09-14* string.c (rb_str_lstrip_bang): use ascii_isspace(). [ruby-dev:39322]matz
* 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
2009-09-13remove temporally files explicitly.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13make tempfile prefix more descriptive.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13* test/ruby/test_process.rb (test_rlimit_value): rlim_max may benobu
higher than rlim_cur. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12* test/ruby/test_require.rb (test_relative): test without currentnobu
directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12* vm_method.c (rb_alias): hooks are called from rb_add_method_def.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e