summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2008-12-04 * test/ruby/test_complex.rb: added some tests.tadf
* test/ruby/test_rational.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04* lib/open3.rb (Open3.popen3): simplified.akr
(Open3.popen_run): extracted from Open3.popen3. (Open3.popen2): new method. (Open3.popen2e): new method. (Open3.pipeline_rw): new method. (Open3.pipeline_r): new method. (Open3.pipeline_w): new method. (Open3.pipeline_run): new private method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04* process.c (check_exec_fds): resolve cascaded child fd reference.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04* ext/openssl/ossl_ssl.c (ossl_ssl_read_nonblock):matz
OpenSSL::SSL::SSLSocket should implement read_nonblock. a patch from Aaron Patterson in [ruby-core:20277]. fix: #814 [ruby-core:20241] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03 * complex.c (nurat_{to_s,inspect}): provides better representationtadf
for in-finite imag part. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03* process.c (EXEC_OPTION_DUP2_CHILD): defined.akr
(check_exec_redirect_fd): check :in, :out and :err. (check_exec_redirect): check [:child, fd]. (check_exec_fds): validate EXEC_OPTION_DUP2_CHILD array. (run_exec_dup2_child): new function. (rb_run_exec_options): call run_exec_dup2_child. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03* process.c (check_exec_redirect): accept :in, :out, :err as redirectakr
target. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03revert.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02* test/ruby/test_rational.rb: add a test.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02* test/ruby/test_range.rb: add a test.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02* test/ruby/test_string.rb: add some tests.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02* lib/open3.rb (Open3.popen3): merge hash options if given. akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02* test/socket/test_tcp.rb (test_recvfrom): already can run on mswin32.usa
* test/socket/test_tcp.rb (test_recvfrom, test_encoding): use IP address instead of host name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02* test/socket/test_tcp.rb (test_recvfrom, test_encoding): shouldn't assumeusa
that th is not nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-01* cont.c (rb_fiber_start): calls with exact argument number.nobu
[ruby-core:20088] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-30* test/ruby/test_regexp.rb (TestRegexp#test_parse_curly_brace):yugui
now accepts quantifier on anchrs agian by r20391. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-28* iseq.c (simple_default_value): extracts simplest defaultnobu
argument value. * iseq.c (rb_iseq_parameters): returns parameter list. * proc.c (get_proc_iseq, get_method_iseq): handles ifunc and bmethod. * proc.c (rb_proc_parameters, rb_method_parameters): added Proc#parameters and Method#parameters. [ruby-core:19759] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-27* ext/bigdecimal/bigdecimal.c (BigDecimal_DoDivmod): bigdecimalmatz
division (including modulo) should raise ZeroDivisionError as integer division. [incompatible] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-27* numeric.c (flodivmod): floating point division should raisematz
ZeroDivisionError as integer division. [incompatible] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-26* ext/bigdecimal/bigdecimal.c (VpException): bigdecimal zeromatz
division should raise FloatDomainError if mode VP_EXCEPTION_ZERODIVIDE is set. [ruby-dev:37204] * ext/bigdecimal/bigdecimal.c (BigDecimal_mode): should handle VP_EXCEPTION_ZERODIVIDE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-25* ext/bigdecimal/bigdecimal.c (VpAlloc): avoid ALLOCA_N() to avoidmatz
segmentation fault caused by (insanely) long decimal values. [ruby-dev:37189] fix #794 * ext/bigdecimal/bigdecimal.c (BigDecimal_dump, BigDecimal_to_i, BigDecimal_to_f, BigDecimal_to_s, BigDecimal_split, BigDecimal_inspect): ditto. * ext/bigdecimal/bigdecimal.c (VpToString): small performance improvement. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24 * lib/date/format.rb (strftime): ignores '_' flag for %[LN].tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24* strftime.c (rb_strftime): The # flag should work with %a, %A, %b,shugo
%B, and %h. [ruby-dev:37162] * test/ruby/test_time.rb (test_strftime): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24* strftime.c (rb_strftime): A width specifier for %t and %n shouldshugo
work. [ruby-dev:37160] * test/ruby/test_time.rb (test_strftime): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24* strftime.c (rb_strftime): The precision of %0N should be 9.shugo
[ruby-dev:37156] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24* strftime.c (rb_strftime): The default precision should be 1, notshugo
0. [ruby-dev:37155] * test/ruby/test_time.rb (test_strftime): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24 * lib/date.rb (inspect): changed again.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-22* test/ruby/test_method.rb (TestMethod#test_default_accessibility):yugui
fixed a wrong expectation in the test case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-22merges r20309 from ruby_1_9_1 to trunk.yugui
* test/cgi/test_cgi_session.rb (setup, teardown): uses a temporary directory for testing session stores. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-22* test/ruby/test_method.rb (test_default_accessiblity): test case foryugui
[ruby-dev:37124]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-19* ext/syck/rubyext.c (rb_syck_mktime): return DateTime for a valuematz
out of range of Time. [ruby-core:19919] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18fixed fails occasionally [ruby-dev:37119]. thanks, shinichiro.h.seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18* lib/logger.rb (ProgName): fixed for svn, based on a patch fromnobu
Nobuhiro IMAI at [ruby-dev:37108]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11* lib/rubygems/timer.rb: removed svn:executable.yugui
* lib/rubygems/validator.rb: ditto * test/cgi/test_cgi_modruby.rb: ditto * test/cgi/test_cgi_multipart.rb: ditto * test/cgi/test_cgi_session.rb: ditto: ditto * test/cgi/testdata/file1.html: ditto * test/cgi/testdata/small.png: ditto * test/cgi/testdata/large.png: ditto * test/cgi/test_cgi_core.rb: ditto * test/cgi/test_cgi_header.rb: ditto * test/cgi/test_cgi_cookie.rb: ditto * test/cgi/test_cgi_tag_helper.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 * lib/date.rb (inspect): reverted the previous change.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11* test/ruby/test_transcode.rb: unnecessary setup methodduerst
(setup_really_needed?) removed git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11* enc/trans/single_byte.trans, macgreek-tbl.rb, macroman-tbl.rb,duerst
macromania-tbl.rb, macturkish-tbl.rb, macukraine-tbl.rb, ibm437-tbl.rb, ibm852-tbl.rb, ibm855-tbl.rb, ibm857-tbl.rb, ibm860-tbl.rb, ibm861-tbl.rb, ibm862-tbl.rb, ibm863-tbl.rb, ibm865-tbl.rb, ibm866-tbl.rb, ibm869-tbl.rb, ibm775-tbl.rb: new single-byte transcodings (from Yoshihiro Kambayashi) * test/ruby/test_transcode.rb: added tests for the above (from Yoshihiro Kambayashi) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-10trivial changes.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-10 * lib/date.rb (inspect): changed the format.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-10* test/sdbm/test_sdbm.rb (TestSDBM#test_index): Reflect the methodknu
name change from #index to #key and remove a duplicated test method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08fix test for 1.8xibbar
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08fix debug codexibbar
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08* lib/cgi/session.rb (FileStore): use marshalized data.xibbar
* test/cgi/session_dir: add a session directory in test. * test/cgi/test_cgi_session.rb: add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08* ext/gdbm/gdbm.c (fgdbm_index): make #index warn like Hash.matz
[ruby-dev:37039] * ext/sdbm/init.c (Init_sdbm): typo fixed. [ruby-dev:37039] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-07* ext/dbm/dbm.c (fdbm_index): make #index warn like Hash.matz
* ext/dbm/dbm.c (fdbm_key): new method. * ext/sdbm/init.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-06* lib/yaml/rubytypes.rb: support Rational and Complex as 1.8matz
does. a patch from Hiroshi Moriyama in [ruby-dev:36899]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-06* lib/rexml/entity.rb (unnormalized): do not callshugo
document.record_entity_expansion if document is nil. see <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502535>. Thanks, Naohisa Goto. * test/rexml/test_document.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-06* ext/win32ole/win32ole.c (fole_s_connect, fole_initialize,suke
folevariant_initialize): check argument type of WIN32OLE.connect, WIN32OLE.new, WIN32OLE_VARIANT.new. * test/win32ole/test_win32ole.rb (test_s_new_exc, test_s_connect_exc): ditto. * test/win32ole/test_win32ole_variant.rb (test_s_new_exc): ditto. * test/win32ole/test_win32ole_method.rb: add assertion of WIN32OLE_METHOD.new. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-03* test/zlib/test_zlib.rb(test_readchar): compare in same type.takano32
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-02* test/win32ole/test_win32ole_event.rb: rename test class.suke
* test/win32ole/test_win32ole_variant_outarg.rb: add in order to use ADO instead of Internet Explorer. remove test/win32ole/test_win32ole_variant_with_ie.rb. * test/win32ole/orig_data.csv: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e