summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* * string.c (rb_str_justify): fixed the case a fill size is anobu2009-12-091-0/+7
| | | | | | | multiple of the length of the padding. [ruby-dev:39856] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: update to 1.3.5.nobu2009-12-0815-66/+133
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ripper/test_parser_events.rb: more tests.nobu2009-12-085-101/+560
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2009-12-071-0/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): reverted r26007. [ruby-dev:39845]nobu2009-12-072-3/+18
| | | | | | | * test/test_delegate.rb (test_marshal): moved from test_marshal.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_callback.rb testing callback removaltenderlove2009-12-072-0/+23
| | | | | | * test/dl/test_func.rb testing function names, to_i git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): dump instance variables when usingnobu2009-12-051-0/+20
| | | | | | | | | marshal_dump. [ruby-core:24211] * variable.c (rb_ivar_count): added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cptr.c (to_int): DL::CPtr supports to_inttenderlove2009-12-041-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (k_def): adjust the location of method definition to thenobu2009-12-041-3/+4
| | | | | | | line of def. [Bug #2427] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fixed tests.shugo2009-12-041-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (ungetc): RDoc updated. trunk allowsnahi2009-12-041-1/+1
| | | | | | | pushing back behind the beginning of the pseudo stream. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_callback.rb (**): using DL::Function to test callbackstenderlove2009-12-041-3/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (compile_cpath, iseq_compile_each): revertedshugo2009-12-032-4/+31
| | | | | | | | | | | | | | constant/class variable lookup in instance_eval etc. to the behavior of 1.8. * eval.c (rb_mod_nesting): ditto. * insns.def (putspecialobject, defineclass): ditto. * node.h (NODE_FL_CREF_PUSHED_BY_EVAL): ditto. * vm_core.h (VM_SPECIAL_OBJECT_CONST_BASE): ditto. * vm_eval.c (yield_under, eval_under): ditto. * vm_insnhelper.c (vm_cref_push, vm_get_const_base, vm_get_ev_const, vm_get_cvar_base): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/gb18030-tbl.rb: Fix omission of C1 region in code tableduerst2009-12-031-2/+8
| | | | | | | | | | (from Tatsuya Mizuno) * test/ruby/test_transcode.rb: Added test for converting full range of Unicode codepoints from/to GB18030 (from Tatsuya Mizuno) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_callback.rb (**): testing return values of dl callbackstenderlove2009-12-031-0/+23
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/digest/test_digest_extend.rb: added tests for digest framework.nahi2009-12-011-2/+80
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Adding tests for YAML typestenderlove2009-11-303-0/+113
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_yylex): suppress an extra error message afternobu2009-11-301-0/+10
| | | | | | | | numeric literal without digits. based on a patch from ujihisa . in [ruby-dev:39811]. [ruby-dev:39798] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/formatters/default.rb (write_attribute): fix antenderlove2009-11-281-0/+19
| | | | | | | exception when printing a document when duplicate namespaced attributes exist. Thanks, Alexey Froloff [ruby-core:2389] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_complex.rb (@unify): fix the detection if mathyugui2009-11-262-2/+4
| | | | | | | | | loaded. This makes test_complex.rb work fine with the previous commit. * test/ruby/test_rational.rb (@unify): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_mathn.rb (TestMathn): new test case.yugui2009-11-261-0/+10
| | | | | | test for r25067. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_config.rb (OpenSSL::TestConfig): new test case.yugui2009-11-261-0/+15
| | | | | | test for r25017. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_range.rb (TestRange#test_comparison_when_recursive):yugui2009-11-262-0/+64
| | | | | | | | | test for r25010. * test/ruby/test_struct.rb (TestStruct#test_comparison_when_recursive): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/base.rb: use $INCFLAGS to add -I option. [Bug#2387]nobu2009-11-261-2/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/digest/test_digest_extend.rb: Added tests for current digestnahi2009-11-251-0/+67
| | | | | | | framework. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (EnvUtil.invoke_ruby): raise Timeout::Errorakr2009-11-241-1/+1
| | | | | | | instead of flunk. reported by Yusuke Endoh. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c: %Y format a year with 4 digits at least.akr2009-11-241-0/+9
| | | | | | | | * lib/time.rb: format a year with 4 digits at least. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/newline.trans (fun_so_universal_newline): generate \nakr2009-11-222-4/+16
| | | | | | | | after \r\n detection instead of just after \r. [ruby-list:45988] [ruby-core:25881] [ruby-core:26788] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (marshal_dump): use normal object as the buffer sonobu2009-11-211-0/+10
| | | | | | | that no hidden object is exposed to ruby-level. [ruby-dev:39744] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (read_all): fix: false negative invalid byte seequencenaruse2009-11-211-0/+6
| | | | | | | on reading from pipes. [ruby-dev:39743] fix: assigin the variable 'pos' as relative value from recent pos. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* move Test::Unit::Assertions#invoke_ruby to EnvUtil.invoke_ruby.akr2009-11-191-54/+53
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (flag_list): untaint strings to intern in the safeshugo2009-11-191-0/+54
| | | | | | | | level 1. * lib/net/imap.rb (max_flag_count=): new methods to set the max number of flags interned to symbols. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test.akr2009-11-181-0/+31
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (enc_set_default_encoding): reset filesytemnaruse2009-11-181-0/+10
| | | | | | | | | | | | | encoding because on resetting default_external because Unix's filesystem encoding depends on default_external. * encoding.c (enc_set_filesystem_encoding): added. * ruby.c (process_options): don't call rb_filesystem_encoding because filesystem encoding is reset when default_external is reset. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot to add test_undef.rb in the previous revision.shugo2009-11-181-0/+37
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_utf8_nth): fixed overrun. [ruby-core:26787]nobu2009-11-171-0/+5
| | | | | | | ?\012 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_m17n.rb: get rid of empty string interpolationsnobu2009-11-171-43/+43
| | | | | | | confusing ruby-mode.el. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_alias): should raise TypeError if klass is nil.shugo2009-11-171-0/+8
| | | | | | | | | 1.instance_eval { alias to_string to_s } causes SEGV before this fix. * test/ruby/test_alias.rb (test_special_const_alias): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* unused argument removed.akr2009-11-171-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/big5.c, enc/trans/big5.trans, enc/trans/big5-uao-tbl.rb,duerst2009-11-171-1/+6
| | | | | | | | test/ruby/test-transcode.rb: Added Encoding 'Big5-UAO' and transcoding for it (from Tatsuya Mizuno) (see Bug #1784) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ksvndifftest/date/test_date_parse.rb: use UTF-8 literals.nobu2009-11-171-5/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Adding yaml tests [ruby-core:26732]tenderlove2009-11-167-0/+231
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2009-11-162-84/+152
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_call_method): protected singleton methods ofshugo2009-11-161-0/+24
| | | | | | | | | | an object should not be able to called from other instances of the class of the object. [ruby-core:26761] * vm_eval.c (rb_method_call_status): ditto. * test/ruby/test_module.rb (test_protected_singleton_method): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix previous change.akr2009-11-151-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2009-11-151-1/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2009-11-151-0/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tests refined.akr2009-11-152-9/+36
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2009-11-152-22/+83
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimalCmp): Fix comparisons [ruby-core:26646]marcandre2009-11-141-3/+14
| | | | | | * test/bigdecimal/test_bigdecimal.rb (class): Fix and improve tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e