aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * proc.c (method_inspect): preserve encoding of the method name.matz2007-12-252-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/from.rb: follow Ruby 1.9 libraries.naruse2007-12-252-73/+92
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (BASERUBY): delayed error until BASERUBY is used.nobu2007-12-252-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/README: removed obsoleted files: dbmtest.rb,matz2007-12-256-90/+5
| | | | | | getopts.test, mrshtest.rb, regx.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Import the FasterCSV source as the new CSV class.jeg22007-12-2513-0/+3946
| | | | | | | * test/csv/*: Added all applicable tests from FasterCSV. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (ruby_description): fixed type.nobu2007-12-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (report_bug): uses ruby_description.nobu2007-12-252-4/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): fix stack consistency error.ko12007-12-253-1/+31
| | | | | | | | | a patch from Yusuke ENDOH <mame AT tsg.ne.jp> [ruby-dev:32720] * bootstraptest/test_syntax.rb: add 2 tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c, vm_core.h: comment out unused fields.ko12007-12-253-9/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c: check frame is FINAL when creating env.ko12007-12-253-1/+53
| | | | | | | | | [ruby-core:14395] * bootstraptest/test_block.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Enable RDoc debugging only with $DEBUG_RDOCdrbrain2007-12-255-28/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb, test/csv/test_csv.rb: Removed in preparation for FasterCSVjeg22007-12-243-2727/+7
| | | | | | | | code import. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix some test failures in RubyGems.drbrain2007-12-243-3/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_knownbug.rb, test_literal.rb: move fixed test.ko12007-12-243-6/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/biorhythm.rb: follow Ruby 1.9 libraries.gotoyuzo2007-12-242-75/+44
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c: add dummy toplevel frame.ko12007-12-242-20/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix uninitialized variable warning in Net::HTTPdrbrain2007-12-243-15/+9
| | | | | | | | Remove unused method in IRB::OutputMethod. [ruby-talk:284582] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a ML ref.ko12007-12-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile): clear local table if node == 0.ko12007-12-243-3/+18
| | | | | | | | | a patch from Yusuke ENDOH <mame AT tsg.ne.jp> * vm.c: clear VM stack. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_id2str): fill klass of returned string as rb_cString.akr2007-12-242-4/+19
| | | | | | | | | some strings are allocated before rb_cString is created. This prevents a "called on terminated object" error by ObjectSpace.each_object(Module) {|m| p m.name }. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2007-12-241-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): fix stack consistency bug.ko12007-12-243-1/+15
| | | | | | | | a patch from Yusuke ENDOH <mame AT tsg.ne.jp> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update Proc#lambda? doc.akr2007-12-241-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot: must create configure and lex.c.eban2007-12-242-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_s_pipe): now takes up to two arguments. allow itsmatz2007-12-242-22/+92
| | | | | | | | | | external/internal encoding by Encoding objects. * io.c (rb_io_set_encoding): new method to set encoding of the IO. * io.c (argf_set_encoding): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): use NUM2LONG instead of NUM2INT.usa2007-12-244-8/+17
| | | | | | | | | | | * numeric.c (fix_lshift, fix_aref): use SIZEOF_LONG instead of SIZEOF_VALUE. * bignum.c (big2ulong, rb_big_aref): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/element.rb (REXML::Elements#each): yield in eachgotoyuzo2007-12-242-2/+7
| | | | | | | should be called with one parameter. [ruby-dev:32708] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): add a "pop" insn after breakko12007-12-244-9/+29
| | | | | | | | | | to fix stack consistency error. [ruby-core:14385] * bootstraptest/test_syntax.rb: add tests for above. * bootstraptest/test_knownbug.rb: remove fixed bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * id.c (Init_id): remove several unused symbols. [ruby-core:14362]matz2007-12-245-11/+8
| | | | | | | * compile.c (iseq_specialized_instruction): do not use VM_CALL_SEND_BANG flag any longer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rdoc.rb (parse_files): interpret coding cookie.akr2007-12-242-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (method_name): preserve Symbol's encoding.matz2007-12-248-13/+17
| | | | | | * numeric.c (fix_id2name): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h (rb_enc_left_char_head): new utility macro.matz2007-12-246-35/+80
| | | | | | | | | | | | | * include/ruby/encoding.h (rb_enc_right_char_head): ditto. * io.c (appendline): does multibyte RS search in the function. * io.c (prepare_getline_args): RS may be nil. * io.c (rb_io_getc): should process character based on external encoding, when transcoding required. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* avoid keyword itself.akr2007-12-241-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/output-method.rb: translate a comment to English toakr2007-12-242-5/+10
| | | | | | | avoid mix of EUC-JP comment and UTF-8 $Date$. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservley/cgihandler.rbgotoyuzo2007-12-242-1/+6
| | | | | | | (WEBrick::HTTPServlet::CGIHandler#do_GET): m17nized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for [ruby-core:14385] reported by Frederick Cheung.akr2007-12-241-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::escape): m17nized.akr2007-12-242-10/+19
| | | | | | | | | (CGI::unescape): ditto. (CGI::escapeHTML): ditto. (CGI::unescapeHTML): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/logger/test_logger.rb: Module#constants returns an array of Symbols.gotoyuzo2007-12-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode_data_japanese.c (select_iso_2022_mode): '\e' is not valid.usa2007-12-242-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/diagram.rb (RDoc::Diagram#initialize): use fileuitlsgotoyuzo2007-12-242-1/+6
| | | | | | | instead of ftools. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mon Dec 24 23:04:57 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>nahi2007-12-2410-352/+20
| | | | | | | | | | | | | | | | * lib/ftools.rb: removed obsoleted lib. use fileutils instead (by eban). * lib/rdoc/rdoc.rb, lib/rdoc/generators/*, lib/rake.rb: let it use fileutils instead of ftools. * lib/shell/command-processor.rb: removed unused references to ftools. * lib/parsedate.rb: removed. see [ruby-core:12535], [ruby-dev:31969]. * lib/README: updated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (OpenURI::Buffer): use Meta ===. [ruby-core:14295]akr2007-12-242-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * changed constant name: Struct::MyStruct -> Struct::MyJsonStructnahi2007-12-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transocode.c: register_functional_transcoder() added.naruse2007-12-244-19/+322
| | | | | | | | | | | | | (init_transcoder_table(: register ISO-2022-JP. (str_transcode): add preprocessor and postprocessor. * transcode_data_japanese.c: add ISO-2022-JP support. * transcode_data.h: moved transcoder and transcoding difinition from transcode.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2007-12-241-0/+37
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/io/nonblock/test_flush.rb: fix test for 1.9.ko12007-12-242-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rinda/test_rinda.rb: revert last commit because this test seemsko12007-12-242-0/+14
| | | | | | | | to have timing problem to halt all tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rinda/test_rinda.rb: enable rinda test.ko12007-12-242-9/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: fix rdoc install dir.ko12007-12-242-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for non-ascii method name.akr2007-12-241-0/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e