aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * configure.in (uncommon.mk): ignores failures at loading.nobu2008-10-173-3/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (str_transcode0): String#encode without argument nowmatz2008-10-172-16/+24
| | | | | | | | | behave as if :undef => :replace, :invalid => :replace specified. * transcode.c (rb_econv_prepare_opts): should preserve options in any case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rubygems/gemutilities.rb (RubyGemTestCase#build_rake_in):nobu2008-10-172-0/+8
| | | | | | | get rid of interference with other tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (init_sock): sockets should be binmode.shugo2008-10-173-3/+26
| | | | | | | * test/socket/test_tcp.rb (test_encoding): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/insns2vm.rb: remove -Kn option in shebang line because it'susa2008-10-172-1/+6
| | | | | | | | inconsistent with -Ks commandline option in common.mk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Removed manage_gems call in the rake gempackagetaskjim2008-10-161-6/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_initialize_m): changed the message to clarify thematz2008-10-162-1/+6
| | | | | | third option argument is now ignored. [ruby-dev:36753] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .gdbinit (rp): REGEXP handling fixed.matz2008-10-164-5/+25
| | | | | | | | | | * string.c (rb_str_rindex_m): need not to call rb_enc_check on regexp. * re.c (unescape_escaped_nonascii): try ASCII-8BIT encoding for broken strings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): no warning when default_external alreadymatz2008-10-163-3/+12
| | | | | | | | | set by -E. * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_rubyopt): put -K after -E to set script encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (transcode_restartable0): in_pos and out_pos never beakr2008-10-162-13/+5
| | | | | | | NULL, now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: sort the order of executing tests.mame2008-10-162-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add an assertion.akr2008-10-161-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_binmode): reset encoding conversion.akr2008-10-163-6/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-10-17svn2008-10-161-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_getc, rb_io_fread, rb_io_fwrite, rb_read_pending):mame2008-10-163-49/+5
| | | | | | | remove deprecated functions which do not work. [ruby-dev:36697] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (TESTS): removed to re-enable test for minitest.akr2008-10-162-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_set_sequence): fix memory leak.mame2008-10-162-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (assert_equal): avoid incompatible characterakr2008-10-162-0/+15
| | | | | | | encodings error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (assert_equal): failure message changed.akr2008-10-162-1/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit: removed test/unit.akr2008-10-1625-3597/+138
| | | | | | | | | | | | * lib/test/unit.rb: new compatibility layer using minitest. * bin/testrb: use above. * test/runner.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, enc/depend (enc, trans): targets for sources.nobu2008-10-163-3/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (lib): installs all files other than README etc.nobu2008-10-161-7/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-10-16svn2008-10-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_transcode.rb (TestTranscode#test_errors):matz2008-10-152-2/+5
| | | | | | String#encode now works without any argument. [ruby-dev:36740] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (DelegateClass): restored 1.8 behavior formatz2008-10-152-78/+75
| | | | | | DelegateClass as well. [ruby-dev:36739] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: add ML ref.usa2008-10-151-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (RESIZE_CAPA): check whether len is longer than capacity.usa2008-10-152-1/+8
| | | | | | | | * array.c (rb_ary_compact_bang): resize ary before changing capacity. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2008-10-151-15/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.h (RUBY_DESCRIPTION): remove unnecessary space.usa2008-10-152-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (process_options): -U should be allowed in RUBYOPTmatz2008-10-152-1/+6
| | | | | | environment variable. [ruby-dev:36720] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Disable minitest autorunner and run manually in order to get test/unit ↵ryan2008-10-151-1/+11
| | | | | | fork/signal tests to not trigger minitest multiple times git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-10-15svn2008-10-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Pulled minitest r4373ryan2008-10-151-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (Delegator): simplified and restored 1.8matz2008-10-142-13/+6
| | | | | | behavior. [ruby-dev:35986] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for %B.akr2008-10-141-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (str_transcode0): should not raise error whenmatz2008-10-142-1/+6
| | | | | | default_internal is not set. [ruby-core:19309] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (TESTS): skips minitest by default, since it interferesnobu2008-10-142-0/+6
| | | | | | | with test/unit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (load_conv_function51932): checksuke2008-10-143-14/+36
| | | | | | | | | having IMultiLanguage2 or IMultiLanguage. [ruby-dev:36716] * ext/win32ole/extconf.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (Init_IO): $FILENAME and $* must be read-only. [ruby-dev:36698]nobu2008-10-144-25/+55
| | | | | | | | | * variable.c (*_getter, *_setter, *_marker): made public. * include/ruby/ruby.h (rb_gvar_*_{getter,setter,marker}): declared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/single_byte.trans (transcode_tblgen_singlebyte): renamedakr2008-10-142-11/+10
| | | | | | | | from transcode_tblgen_windows. (transcode_tblgen_iso8859): use transcode_tblgen_singlebyte. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): -U can be followed by other options.nobu2008-10-142-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/single_byte.trans: added windows-1252duerst2008-10-145-0/+176
| | | | | | | | | | | | | * enc/trans/windows-1252-tbl.rb: new file (contributed by Yoshihiro Kambayashi) * tool/transcode-tblgen.rb: listed windows-1252 as '1byte' * test/ruby/test_transcode.rb: added test_windows_1252 (contributed by Yoshihiro Kambayashi) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_variable.rb (TestVariable#test_variable): addkazu2008-10-142-0/+6
| | | | | | | a test of [ruby-dev:36698]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb: check for invalid APOP timestamp. (CVE-2007-1558)kazu2008-10-143-1/+140
| | | | | | | | | [ruby-dev:36631] * test/net/pop/test_pop.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (set_internal_encoding_once): check double contradictedmatz2008-10-142-5/+45
| | | | | | | | specification of the encoding from command line. * ruby.c (set_external_encoding_once): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-10-14svn2008-10-141-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_yylex): allow reserved word to be keyword argument.matz2008-10-142-10/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (token_info_pop): show source filename. [ruby-dev:36710]naruse2008-10-132-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (rb_econv_init_by_convpath): suppressed warnings.nobu2008-10-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (m_sqrt): unused.nobu2008-10-131-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e