aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* * lib/csv.rb: Import the FasterCSV source as the new CSV class.jeg22007-12-251-0/+1892
| | | | | | | * 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
* Enable RDoc debugging only with $DEBUG_RDOCdrbrain2007-12-254-24/+24
| | | | 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-241-972/+0
| | | | | | | | 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-241-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix uninitialized variable warning in Net::HTTPdrbrain2007-12-242-15/+1
| | | | | | | | 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
* * lib/rexml/element.rb (REXML::Elements#each): yield in eachgotoyuzo2007-12-241-1/+1
| | | | | | | 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
* * lib/rdoc/rdoc.rb (parse_files): interpret coding cookie.akr2007-12-241-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/output-method.rb: translate a comment to English toakr2007-12-241-5/+5
| | | | | | | 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-241-1/+1
| | | | | | | (WEBrick::HTTPServlet::CGIHandler#do_GET): m17nized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::escape): m17nized.akr2007-12-241-10/+12
| | | | | | | | | (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
* * lib/rdoc/diagram.rb (RDoc::Diagram#initialize): use fileuitlsgotoyuzo2007-12-241-1/+1
| | | | | | | 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-249-352/+7
| | | | | | | | | | | | | | | | * 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-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mon Dec 24 17:20:34 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>nahi2007-12-243-276/+0
| | | | | | | | * lib/{mailread.rb,getopts.rb,parsearg.rb}: removed. see [ruby-core:12535], [ruby-dev:31969]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mon Dec 24 17:06:37 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>nahi2007-12-24121-18405/+0
| | | | | | | | * {lib,test}/{soap,wsdl,xsd}: removed soap4r along to the discussion at ruby-core and ruby-dev. see [ruby-core:12535], [ruby-dev:31969]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, configure.in, lib/mkmf.rb, */Makefile.sub: specifynobu2007-12-241-3/+6
| | | | | | | | | | | | | | compiled output file name explicitly. * enc/Makefile.in, enc/depend: now makes compiler to put generated files under directories corresnponding to the each source. enc/trans supported. * enc/make_encmake.rb: evaluates depend file before Makefile.in so that the former can influence to CONFIG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix formatting of multiple pathsdrbrain2007-12-241-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix display of GEMDIRS, make command command examples match ri's name.drbrain2007-12-242-19/+42
| | | | | | | | Only allow latest ri dirs in ri output. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix Regexp warnings in lib/uri. Patch #16524 by Kornelius Kalnbach.drbrain2007-12-242-19/+18
| | | | | | | [ruby-core:14302] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb (Time.httpdate): fix 2 digits year for 20xx.akr2007-12-231-1/+10
| | | | | | | reported by Tadayoshi Funaba. [ruby-dev:32687] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix method redefined warning in open-uri.rb. [ruby-core:14304].drbrain2007-12-231-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix version checkdrbrain2007-12-231-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb (Time.httpdate): use Time.utc forakr2007-12-231-1/+1
| | | | | | | "day-of-week, dd-mon-yy HH::MM:SS GMT" format. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix 1.9 warnings in RDocdrbrain2007-12-235-11/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix warnings in RubyGemsdrbrain2007-12-233-4/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($extmk): fixed broken condition.usa2007-12-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($extmk): fixed broken condition.usa2007-12-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/net/ssl.rb (OpenSSL::SSL::SSLContext.build): removed.gotoyuzo2007-12-223-6/+9
| | | | | | | | | | | | | * ext/openssl/lib/net/ssl.rb (OpenSSL::SSL::SSLContext#set_params): new method to set suitable SSL parameters. * lib/net/pop.rb, lib/net/http.rb, lib/net/imap.rb, test/openssl/test_ssl.rb: follow above change. * test/net/http/test_https.rb: refine error case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (encode_utf7): accept UTF-8 strings.shugo2007-12-221-3/+3
| | | | | | | * lib/net/imap.rb (decode_utf7): return UTF-8 strings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: fixed RDoc markups.shugo2007-12-221-8/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($extmk): set true only when under ext/ or tool/.usa2007-12-221-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (initialize): fixed documentation.shugo2007-12-221-11/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb (enable_ssl): use OpenSSL::SSL::SSLContext.buildshugo2007-12-221-50/+55
| | | | | | | | instead of SSLContext.new (default verify mode is now OpenSSL::SSL::VERIFY_PEER). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb: shouldn't freeze nil. [ruby-dev:32677]tadf2007-12-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/insns2vm.rb: moved from lib/vm/instruction.rb.ko12007-12-221-1381/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (depend_rules): suffixes list broken. fixed.usa2007-12-211-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to RubyGems 1.0.1, r1581drbrain2007-12-213-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (initialize): accept service name. changedshugo2007-12-211-9/+7
| | | | | | | the defalut value of the old style +verify+ argument to true. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/runit, lib/rubyunit.rb, test/testunit/runit: removed.akr2007-12-218-265/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added Rake 0.8.0jim2007-12-2112-0/+2986
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regerror.c, string.c, io.c, lib/getoptlong.rb, lib/net/imap.rb,akr2007-12-212-2/+2
| | | | | | | | | | | compile.c, sprintf.c, parse.y, ext/win32ole/win32ole.c, ext/tk/sample/demos-en/entry3.rb, ext/tk/lib/tcltk.rb, ext/openssl/ossl_bn.c, numeric.c, vm.c, benchmark/bm_so_meteor_contest.rb, bignum.c, ruby.c: don't "illegal" for non law violation context. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTP#connect): usegotoyuzo2007-12-202-48/+16
| | | | | | | | | | | | OpenSSL::SSL::SSLContext.build instead of SSLContext.new (default verify mode is now OpenSSL::SSL::VERIFY_PEER). * lib/net/https.rb: SSL parameters are defined by attr_accessor. * test/net/http/test_https.rb: add test for HTTPS features. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (initialize): the second argument is an optionko12007-12-201-21/+74
| | | | | | | hash now. use SSLContext.build to specify SSL parameters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RubyGems 1.0.0, r1575drbrain2007-12-2025-462/+427
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): remove "retry" in block.ko12007-12-191-2/+0
| | | | | | | | | | | | | | | | | ("iter{retry}" cause syntax error) Currently, "begin; ...; rescue; iter{retry}; end" cause syntax error too. * bootstraptest/test_jump.rb: ditto. * lib/drb/invokemethod.rb: ditto. * sample/drb/darrayc.rb: ditto. * sample/test.rb: ditto. * test/drb/drbtest.rb: ditto. * test/ruby/test_iterator.rb: ditto. * sample/test.rb: add a 'test' directory on the SYSTEM test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/server.rb (WEBrick::GenericServer#accept_client): gotoyuzo2007-12-182-4/+7
| | | | | | | | | | | | | | should rescue Errno::EINVAL from TCPServer#accept. this exception might occur if the server socket is not in ready to listen. * lib/webrick/server.rb (WEBrick::GenericServer#accept_client): don't call TCPServer#close if the :ShutdownSocketWithoutClose is set. * lib/webrick/config.rb (WEBrick::Config::General): add new parameter :ShutdownSocketWithoutClose. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/parser.rb, lib/rss/atom.rb, lib/rss/rss.rb,gotoyuzo2007-12-184-7/+4
| | | | | | | | | | | test/rss/rss-assertions.rb, test/rss/test_atom.rb: use pack/unpack("m") instead of base64 library. * lib/webrick/httpproxy.rb: use delete("\n") instead of chomp/chop because the result of pack("m") might be multi-line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't call private fail anymore.drbrain2007-12-181-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ping.rb, lib/readbytes.rb: removedmatz2007-12-173-108/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/Env.rb, lib/base64.rb, lib/importenv.rb, lib/eregex.rb: removed.matz2007-12-175-228/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e