summaryrefslogtreecommitdiff
path: root/test/ruby
AgeCommit message (Collapse)Author
2005-10-30* test/ruby/test_float.rb (test_precision): test by assert_in_delta.ocean
[ruby-dev:27575] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22* ext/tk/lib/tk/font.rb, ext/tk/lib/tkextlib/ICONS/icons.rb,nobu
ext/tk/sample/tkextlib/treectrl/demo.rb, lib/net/imap.rb, lib/rss/parser.rb, test/rss/test_content.rb, test/rss/test_dublincore.rb, test/rss/test_syndication.rb, test/rss/test_trackback.rb, test/ruby/test_eval.rb, test/socket/test_socket.rb, test/socket/test_udp.rb: Object#fcall was renamed as Object#funcall. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22* object.c (sym_inspect), parse.y (parser_yylex, rb_symname_p): checknobu
if valid as a symbol name more strictly. [ruby-dev:27478] * test/ruby/test_symbol.rb: tests for [ruby-core:03573]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-08* lib/scanf.rb (Scanf::FormatSpecifier#letter, #width): use matchednobu
substring directly. * ext/nkf/lib/kconv.rb (Kconv.conv): get rid of nil.to_a. * test/ruby/test_assignment.rb, test/ruby/test_iterator.rb: followed change of sample/test.rb. * test/net/http/test_http.rb: removed superfluous splatting stars. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-22* test/ruby/test_file.rb: check File#chown(nil,nil). [ruby-dev:27140]aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-17* test/ruby/test_readpartial.rb (test_open_pipe, test_with_stdio):ocean
these tests are working now, so turned on. (windows) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-15* test/ruby/test_signal.rb (test_exit_action): skip the test usingusa
fork on fork-less platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-12* lib/ostruct.rb (new_ostruct_member): Object#send no longer callnobu
private methods. [ruby-dev:27044] * test/rss/test_dublincore.rb, test/rss/test_trackback.rb, test/ruby/test_eval.rb, test/socket/test_socket.rb: ditto. * test/ruby/test_lambda (test_call_with_block): lambda makes new scope for formal block parameter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-17* test/ruby/test_iterator.rb (test_block_passing): more tests.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-10* test/ruby/test_iterator.rb (test_block_passing): yield in methodnobu
argument behaves differently. [ruby-dev:26274] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-08* parse.y (f_block_arg), eval.c (rb_yield_0): deal with dynamicnobu
variable lambda arguments. [ruby-core:05540] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-08* test/ruby/test_fnmatch.rb: separated from test_file.rb.ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-08 * test/ruby/test_method.rb: added. [ruby-dev:26761]nahi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-07 * test/ruby/test_super.rb: added optional arg tests. [ruby-dev:26743]nahi
the tests expects 1.8 behavior at this time. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-05add exclude_end? method to DuckRange.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-04add a test for duck-type range.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-07-14* test/ruby/test_env.rb (setup, teardown): do not depend on the behavior ↵nobu
setting nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-07-03avoid some race conditionakr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-30add a test for [ruby-dev:26383].akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-05kill a process spawned by test_exit_action.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03add a test for [ruby-dev:26128].akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-01* struct.c: accessing >10 member caused segmentation fault. [ruby-dev:26247]aamine
* test/ruby/test_struct.rb: test it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13* test/ruby/test_array.rb: add test for find_all. (based on Daniel Berger's ↵ocean
patch) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12add tests for reading an extended fileakr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-07* eval.c (rb_call0): "return" event hook should be always executedshugo
if event_hooks is set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-06* test/ruby/test_env.rb (test_key): should test ENV.key instead ofocean
ENV.index. [ruby-dev:25994] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-23* parse.y (primary): fix lineno of rescue and ensure.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-22* test/ruby/test_settracefunc.rb (test_event): added tests forshugo
"class" and "end" and "raise". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-16* test/ruby/test_settracefunc.rb: added test for c-return.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-06duplicate tests removed.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-05* ext/openssl/ossl_ssl.c (ossl_start_ssl): should wait for thatgotoyuzo
the underlying IO become readable or writable if the error was SSL_ERROR_WANT_READ or SSL_ERROR_WANT_WRITE. [ruby-dev:25795] * ext/openssl/ossl_ssl.c (ossl_ssl_read, ossl_ssl_write): ditto. * ext/openssl/lib/openssl/buffering.rb (Buffering#consume_rbuf): pointless eof flag resetting is deleted. (Buffering#read): should return an empty string if the specified size is zero. (Buffering#readpartial): new method. (Buffering#readline): fix typo. (Buffering#getc): return the first character of string correctly. (Buffering#readchar): fix typo. (Buffering#eof?): should read again it the input buffer is empty. (Buffering#do_write): should rescue Errno::EAGAIN. (Buffering#puts): use "\n" as the output field separator. * ext/openssl/extconf.rb: get rid of GNUmakefile generation. * text/openssl/test_pair.rb: test for IO like methods. * test/ruby/ut_eof.rb: test about empty file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-04* array.c: replace rb_protect_inspect() and rb_inspecting_p() bymatz
rb_exec_recursive() in eval.c. * eval.c (rb_exec_recursive): new function. * array.c (rb_ary_join): use rb_exec_recursive(). * array.c (rb_ary_inspect, rb_ary_hash): ditto. * file.c (rb_file_join): ditto. * hash.c (rb_hash_inspect, rb_hash_to_s, rb_hash_hash): ditto. * io.c (rb_io_puts): ditto. * object.c (rb_obj_inspect): ditto * struct.c (rb_struct_inspect): ditto. * lib/set.rb (SortedSet::setup): a hack to shut up warning. [ruby-talk:132866] * lib/time.rb (Time::strptime): add new function. inspired by [ruby-talk:132815]. * lib/parsedate.rb (ParseDate::strptime): ditto. * regparse.c: move st_*_strend() functions from st.c. fixed some potential memory leaks. * exception error messages updated. [ruby-core:04497] * ext/socket/socket.c (Init_socket): add bunch of Socket constants. Patch from Sam Roberts <sroberts@uniserve.com>. [ruby-core:04409] * array.c (rb_ary_s_create): no need for negative argc check. [ruby-core:04463] * array.c (rb_ary_unshift_m): ditto. * lib/xmlrpc/parser.rb (XMLRPC::FaultException): make it subclass of StandardError class, not Exception class. [ruby-core:04429] * parse.y (fcall_gen): lvar(arg) will be evaluated as lvar.call(arg) when lvar is a defined local variable. [new] * object.c (rb_class_initialize): call inherited method before calling initializing block. * eval.c (rb_thread_start_1): initialize newly pushed frame. * lib/open3.rb (Open3::popen3): $? should not be EXIT_FAILURE. fixed: [ruby-core:04444] * eval.c (is_defined): NODE_IASGN is an assignment. * ext/readline/readline.c (Readline.readline): use rl_outstream and rl_instream. [ruby-dev:25699] * ext/etc/etc.c (Init_etc): sGroup needs HAVE_ST_GR_PASSWD check [ruby-dev:25675] * misc/ruby-mode.el: [ruby-core:04415] * lib/rdoc/generators/html_generator.rb: [ruby-core:04412] * lib/rdoc/generators/ri_generator.rb: ditto. * struct.c (make_struct): fixed: [ruby-core:04402] * ext/curses/curses.c (window_color_set): [ruby-core:04393] * ext/socket/socket.c (Init_socket): SO_REUSEPORT added. [ruby-talk:130092] * object.c: [ruby-doc:818] * parse.y (open_args): fix too verbose warnings for the space before argument parentheses. [ruby-dev:25492] * parse.y (parser_yylex): ditto. * parse.y (parser_yylex): the first expression in the parentheses should not be a command. [ruby-dev:25492] * lib/irb/context.rb (IRB::Context::initialize): [ruby-core:04330] * object.c (Init_Object): remove Object#type. [ruby-core:04335] * st.c (st_foreach): report success/failure by return value. [ruby-Bugs-1396] * parse.y: forgot to initialize parser struct. [ruby-dev:25492] * parse.y (parser_yylex): no tLABEL on EXPR_BEG. [ruby-talk:127711] * document updates - [ruby-core:04296], [ruby-core:04301], [ruby-core:04302], [ruby-core:04307] * dir.c (rb_push_glob): should work for NUL delimited patterns. * dir.c (rb_glob2): should aware of offset in the pattern. * string.c (rb_str_new4): should propagate taintedness. * env.h: rename member names in struct FRAME; last_func -> callee, orig_func -> this_func, last_class -> this_class. * struct.c (rb_struct_set): use original method name, not callee name, to retrieve member slot. [ruby-core:04268] * time.c (time_strftime): protect from format modification from GC finalizers. * object.c (Init_Object): remove rb_obj_id_obsolete() * eval.c (rb_mod_define_method): incomplete subclass check. [ruby-dev:25464] * gc.c (rb_data_object_alloc): klass may be NULL. [ruby-list:40498] * bignum.c (rb_big_rand): should return positive random number. [ruby-dev:25401] * bignum.c (rb_big_rand): do not use rb_big_modulo to generate random bignums. [ruby-dev:25396] * variable.c (rb_autoload): [ruby-dev:25373] * eval.c (svalue_to_avalue): [ruby-dev:25366] * string.c (rb_str_justify): [ruby-dev:25367] * io.c (rb_f_select): [ruby-dev:25312] * ext/socket/socket.c (sock_s_getservbyport): [ruby-talk:124072] * struct.c (make_struct): [ruby-dev:25249] * dir.c (dir_open_dir): new function. [ruby-dev:25242] * io.c (rb_f_open): add type check for return value from to_open. * lib/pstore.rb (PStore#transaction): Use the empty content when a file is not found. [ruby-dev:24561] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-07add test_rand_0x100000000.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-08update readpartial document.akr
don't try read timeout on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-04* random.c (init_by_array): imported from mt19937ar-cok.tgz.akr
(genrand_int32): ditto. (genrand_real): replaced with genrand_res53 in mt19937ar-cok. (rand_init): support bignum for longer seed. (random_seed): generate longer seed. (make_mask): new function. (limited_rand): ditto. (limited_big_rand): ditto. (rb_f_rand): call limited_rand and limited_big_rand. [ruby-dev:25403] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-12* test/ruby/test_super.rb (TestSuper#test_define_method): now methodsnobu
from procs can call super. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-08* parse.y (string_content): get rid of segfault at empty evstr.nobu
fixed: [ruby-dev:25113] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-07* test/io/nonblock/test_flush.rb (TestIONonblock#test_flush): writenobu
operation ignores EAGAIN. * test/ruby/test_super.rb (TestSuper#test_define_method): test for super from proc. [ruby-core:03856] * test/socket/test_tcp.rb (TestTCPSocket#test_recvfrom): make execution order more precise. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-06* rubyio.h, intern.h, io.c, file.c, process.c, ext/socket/socket.c,akr
ext/pty/pty.c, ext/io/wait/wait.c, ext/openssl/ossl_ssl.c: Use own buffering mechanism instead of stdio. * io.c, ext/stringio/stringio.c, test/ruby/ut_eof.rb: EOF flag removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29* object.c (convert_type): [ruby-core:03845]matz
* eval.c (rb_funcall_rescue): new function. * object.c (rb_Array): avoid using rb_respond_to(). * object.c (rb_Integer): ditto. * eval.c (get_backtrace): no conversion for nil. * parse.y (reduce_nodes): empty body should return nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-28* regparse.c, test/ruby/test_regexp.rb: fixed problem with UTF-8 characters ↵ksaito
that have U+00FE or invalid characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-28* regexec.c, test/ruby/test_regexp.rb: fixed segmentation falut ↵ksaito
([ruby-dev:24887]). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20* test/ruby/test_io.rb (test_gets_rs): add more tests.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-18* string.c (str_gsub): internal buffer should not be listed bymatz
ObjectSpace.each_object(). [ruby-dev:24919] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-18* parse.y (f_rest_arg): store rest args into invisible local variabenobu
in order to get rid of SEGV at ZSUPER. [ruby-dev:24913] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-17Wed Nov 17 23:47:30 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>nahi
* test/ruby/test_settracefunc.rb: added. [ruby-dev:24884] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-11* test/ruby/test_file.rb (test_truncate_wbuf): we want to testusa
only File#truncate, not behavior of seek(2). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29add a test for a problem of [ruby-talk:116455]akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29add test for [ruby-dev:24643].akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-09add test for [ruby-dev:24460]akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e