summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * common.mk (srcs): removed ID_H_TARGET.nobu2008-10-195-41/+196
| | | | | | | | | * tool/generic_erb.rb: always overwrites if no if-change option. * template/id.h.tmpl: shows which token differs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/single_byte.trans: adding WINDOWS-wwww encodingsduerst2008-10-1911-0/+1265
| | | | | | | | | | | | | | (wwww = 874/1250/1251/1253/1254/1255/1256/1257) (contributed by Yoshihiro Kambayashi) * enc/trans/windows-wwww-tbl.rb: 8 new files (contributed by Yoshihiro Kambayashi) * test/ruby/test_transcode.rb: added test_windows_wwww (contributed by Yoshihiro Kambayashi) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb (log2,cbrt,frexp,ldexp,hypot,erf,erfc,gamma,lgamma):tadf2008-10-182-0/+15
| | | | | | | | should be also privided as module function. [ruby-dev:36787] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * keywords, lex.c.src, opt_insn_unif.def, opt_operand.def: moved rarely changedyugui2008-10-188-9/+21
| | | | | | | | | | | | | input files for code generators into defs/ directory. * Makefile.in (lex.c): followed keywords and lex.c.src. * common.mk (parser.o): followed keywords. (INSNS): followed opt_*.def * tools/instruction.rb: followed opt_*.def. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/csv/*: Renamed tc_* files to test_* to fit in within Ruby'sjeg22008-10-1812-10/+15
| | | | | | | | testing process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for {SimpleDelegator, DelegateClass}#class .xibbar2008-10-181-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-10-19svn2008-10-181-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (assert_nothing_thrown): don't intern.akr2008-10-182-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for encoding option.xibbar2008-10-181-0/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: moved entries back and corrected dateduerst2008-10-181-13/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (opt_block_arg): allow trailing comma after usualmatz2008-10-182-0/+9
| | | | | | arguments. not after block argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: move entries to proper place.matz2008-10-181-13/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (num_sadded): remove newly defined singleton methodmatz2008-10-182-1/+8
| | | | | | that should not exist after exception handling. [ruby-dev:36569] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_external_str_new): a new function to convert frommatz2008-10-186-22/+78
| | | | | | | | | | | | | | external encoding to internal encoding. if something went wrong, it returns a string with the external encoding. * string.c (rb_external_str_new_with_enc): same as above besides you can specify the source encoding. * ruby.c (ruby_set_argv): use rb_external_str_new() * ruby.c (set_arg0, ruby_script): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile#initialize): now Tempfile.new takesmatz2008-10-182-2/+17
| | | | | | keyword arguments to open(). [ruby-dev:36756] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_initialize_m): specify ARG_ENCODING_NONE instead ofmatz2008-10-183-2/+11
| | | | | | | | | ARG_ENCODING_FIXED for Regexp.new("", nil, "n"). [ruby-dev:36761] * test/ruby/test_regexp.rb (TestRegexp#test_initialize): test updated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb: added set_valid_byte_patternduerst2008-10-183-22/+26
| | | | | | | | | | to reduce coupling between table generation script and specific encodings. * enc/trans/single_byte.trans: using set_valid_byte_pattern git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c: in transcode_search_path, elimintated a warningduerst2008-10-182-5/+7
| | | | | | | on cygwin about pathlen potentially not being initialized git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2008-10-181-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (assert_nothing_thrown): implemented.akr2008-10-182-2/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: use added options for generic_erb.rb.eban2008-10-172-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-10-18svn2008-10-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: don't recycle shared-array while sort!.wanabe2008-10-172-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: recycle shared-array when it isn't referenced.wanabe2008-10-172-12/+84
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * id.h: reverted.nobu2008-10-173-36/+67
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ID_H_TARGET): phony target to update id.h.nobu2008-10-178-44/+141
| | | | | | | | | | | | * tool/ifchange, win32/ifchange.bat: --timestamp option added. * tool/generic_erb.rb: --timestamp, --output and --if-change options added. * template/id.h.tmpl: moved from id.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_resize_capa): renamed RESIZE_CAPA.yugui2008-10-172-11/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_sqrt_bigdecimal): matz2008-10-172-1/+11
| | | | | | | test updated. a patch from TAKANO Mitsuhiro <takano32 at jus.or.jp> in [ruby-dev:36736]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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