aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * ext/win32ole/win32ole.c (load_conv_function51932): supportsuke2008-10-133-22/+23
| | | | | | | | | CP51932 on cygwin and mingw32. thanks to arton. * test/win32ole/test_win32ole.rb (test_cp51932): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): add -U command line option to specifymatz2008-10-122-0/+9
| | | | | | utf-8 as default_internal. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-10-13svn2008-10-121-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (str_transcode0): String#encode() with no encodingmatz2008-10-122-4/+21
| | | | | | | specified transcode the string into Encoding.default_internal. inspired by [ruby-core:19298]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (set_ole_codepage, ole_cp2encoding,suke2008-10-123-33/+162
| | | | | | | | | ole_wc2mb, ole_vstr2wc, ole_mb2wc): support CP51932 (only mswin32). * test/win32ole/test_win32ole.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c, vm_insnhelper.h (ruby_vm_redefined_flag): apply optimizationko12008-10-123-24/+32
| | | | | | | | patch proposed by Paul Brannan. [ruby-core:19171] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): fixed indent.nobu2008-10-121-101/+101
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (rb_strftime): suppressed warnings on cygwin.nobu2008-10-123-17/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2008-10-111-0/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_prepare): use utf-8 encoding directly.nobu2008-10-112-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2008-10-111-2/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (CLEANINGS): uses escaped form tabs to preventing thenobu2008-10-112-9/+14
| | | | | | | confusion. [ruby-talk:317345] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake.rb (Rake::Application#standard_exception_handling): removednobu2008-10-102-4/+10
| | | | | | | | unnecessary SystemExit, and exits with false instead of system dependent value. [ruby-talk:317330] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.nobu2008-10-101-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: optimize 'for' statement when one variable given.ko12008-10-104-7/+29
| | | | | | | | | * benchmark/bm_loop_for.rb: added. * benchmark/bm_loop_times.rb: modified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-10-11svn2008-10-101-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv/csv.rb: Added support for Encoding::default_internal.jeg22008-10-1012-179/+184
| | | | | | | | * lib/csv/csv.rb: Switched to new Hash syntax. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.akr2008-10-101-9/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (comment_at_top): needed for ripper too.nobu2008-10-102-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby.h: updated macros for headers. [ruby-core:19275]nobu2008-10-102-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (magic_comment_encoding): warns when ignored.nobu2008-10-102-9/+37
| | | | | | | | | | * parse.y (parser_magic_comment): replaces '-' with '_'. * parse.y (parser_yylex): allows magic comments indented and the second line or later. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.nobu2008-10-100-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/ext/parser/parser.c (JSON_parse_string):naruse2008-10-102-1/+8
| | | | | | associate encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Updated changelog for test/unit / minitest switchryan2008-10-101-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed missing test/unit.rb, bad svn merge. Rolled back test/runner.rbryan2008-10-102-43/+281
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* removed miniunit's testsryan2008-10-103-1094/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added minitest 1.3.0ryan2008-10-106-0/+1686
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Restored test/unitryan2008-10-1021-0/+3307
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Removing miniunitryan2008-10-108-771/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): check if codepoint for %c is valid.nobu2008-10-092-1/+6
| | | | | | | [ruby-dev:36691] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (enc_names): minor improvement.nobu2008-10-092-8/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (ParseError.filter_backtrace): removes internalnobu2008-10-092-12/+21
| | | | | | | backtrace. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-10-10svn2008-10-091-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e