summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2006-09-08* lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookies): newgotoyuzo
method to parse multiple cookies per Set-Cookie header. Thanks to Aaron Patterson <aaron_patterson at speakeasy.net>. [ruby-core:08802] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-07* lib/optparse.rb: suppress `assigning void value' warning.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-07* array.c (Init_Array): #to_s to be an alias to #inspect.matz
[EXPERIMENTAL] [ruby-dev:29520] * hash.c (Init_Hash): ditto. * lib/mkmf.rb (create_makefile): replace "print array" by "print *array". * mkconfig.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-04updated based on date2 3.9.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-04* lib/cgi.rb (CGI::out): specify -x option for nkf.matz
* lib/cgi.rb (CGI::out): should not convert utf-8 implicitly using NKF. it is too Japanese centric. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-03* lib/mkmf.rb: get rid of nil.to_s.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-02 * lib/soap/generator.rb (SOAP::SOAPGenerator#encode_tag): do not dumpnahi
XML attribute which value is nil. value "" and nil both were dumped as 'attr="value"'. [ruby-dev:29395] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-02 * lib/csv.rb (CSV::IOReader#initialize): use String#[](pos, len)nahi
instead of String#[](idx) to check utf BOM. follows String#[](idx) behavior change of 1.9. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-01* lib/irb/ruby-lex.rb (RubyLex::getc): should not push nil intomatz
reading buffer (@readed). reported in <http://jarp.does.notwork.org/diary/200608c.html#200608311>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-31* lib/mkmf.rb (configuration): follow nil.to_s.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-31* ext/Win32API/Win32API.c (Win32API_initialize): use RSTRING_PTR andusa
RSTRING_LEN. * ext/tk/stubs.c, ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c: ditto. * ext/win32ole/win32ole.c (ole_val2olevariantdata): ditto. * lib/mkmf.rb (create_makefile): follow nil.to_s. * win32/resource.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-30* object.c (rb_Integer): Integer(nil) should raise TypeError.matz
[ruby-talk:210205] * object.c (nil_to_s): no longer returns empty string but "nil". [ruby-talk:210205] * lib/mkmf.rb: avoid COMMON_HEADERS being nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-30* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::handle_method):matz
rdoc documents C module methods as instance methods. a patch in [ruby-core:08536]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-27Include attributiondrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-25updated based on date2 3.8.2.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-22* lib/rexml/source.rb (REXML::IOSource#initialize): encoding have tonobu
be set with the accessor. fixed: [ruby-list:42737] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-22* lib/net/smtp.rb: parameter `to_addrs' might be an Array, .flatten is ↵aamine
required. [ruby-dev:29316] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-17* lib/cgi.rb (CGI::out): specify -m0 to disable MIME decode. amatz
patch from Fujioka <fuj at rabbix.jp>. [ruby-dev:29284] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-17* lib/mkmf.rb: added rdoc by Daniel Berger. [ruby-core:08177]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-15* lib/net/smtp.rb: support SMTP/SSL. Thanks Kazuhiro NISHIYAMA.aamine
* lib/net/smtp.rb: new method SMTP.use_ssl? * lib/net/smtp.rb: new method SMTP.enable_ssl. * lib/net/smtp.rb: new method SMTP.disable_ssl. * lib/net/smtp.rb: new method SMTP.default_ssl_port. * lib/net/smtp.rb: new method SMTP.default_tls_port. * lib/net/smtp.rb: now SMTP#enable_tls accepts a SSLContext object, instead of a verity and cert. [FEATURE CHANGE] * lib/net/smtp.rb: new method SMTP.ssl_context. * lib/net/smtp.rb: new method SMTP.default_ssl_context. * lib/net/smtp.rb: export SMTP.authenticate. * lib/net/smtp.rb: export SMTP.auth_plain. * lib/net/smtp.rb: export SMTP.auth_login. * lib/net/smtp.rb: export SMTP.auth_cram_md5. * lib/net/smtp.rb: export SMTP.starttls. * lib/net/smtp.rb: export SMTP.helo. * lib/net/smtp.rb: export SMTP.ehlo. * lib/net/smtp.rb: export SMTP.mailfrom. * lib/net/smtp.rb: export SMTP.rcptto. * lib/net/smtp.rb: export SMTP.rcptto_list. * lib/net/smtp.rb: export SMTP.data. * lib/net/smtp.rb: export SMTP.quit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-11Make RDoc ignore C function prototypes by Tilman Sauerbeck [ruby-core:8574].drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-11Replace nodoc with stopdoc so Module methods get documented.drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-09* lib/net/smtp.rb (Net::SMTP::auth_cram_md5): use ord to retrievematz
bytes from strings. a patch from WATANABE Tetsuya <Tetsuya.WATANABE at nifty.com>. [ruby-dev:29240] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-08* lib/irb/extend-command.rb (IRB::ExtendCommandBundle): pacifymatz
RDoc. a patch from Eric Hodel <drbrain at segment7.net>. [ruby-core:08522] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-08* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder::get_string):matz
affected by str[0] returns 1 char string. [ruby-dev:29223] * lib/resolv.rb (Resolv::DNS::Message::MessageDecoder::get_labels): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-07reverttadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-07* lib/date/format.rb: specify maximum number of digits to parsematz
"200608007". %Y(4), %y(2), %m(2), %d(2). [ruby-core:8484] [experimental] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-06%[EO]U didn't denote %U.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-05"%\n" means "\n".tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04Remove tabs from Finalizer RDocdrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04RDoc for #run= and #run?drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04Move Example so RDoc picks it up.drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04Include more documentation.drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04Leave HTML escaped for HtmlFormatter.drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04Don't document test or sample directories.drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04Close the socket on SSLError. [ruby-core:7198]drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04Documentation cleanup.drbrain
Includes patches by Hugh Sasse: * ping.rb * weakref.rb * mailread.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 * lib/irb/{init.rb,ruby-lex.rb,slex.rb}: can't input '\c' forkeiju
[ruby-core: 7122]. and support for ruby1.8.X git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04* lib/date/format.rb (__strptime, strftime): allow multi-line patternsnobu
in Date#strftime the same as Time#strftime accepts. fixed: [ruby-core:08466] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-31* lib/logger.rb: improves the amount of documentation that Rdocmatz
picks up when processing logger.rb by moving the require statement back before the comment block. a patch from Hugh Sasse <hgs at dmu.ac.uk>. [ruby-core:08422] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-31* lib/webrick/httprequest.rb (WEBrick::HTTPReuqest#parse_uri): improvegotoyuzo
for the value of IPv6 address in the Host: header field. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-30* lib/cgi/session.rb, lib/cgi/session/pstore.rb: suppress warnings.nobu
fixed: [ruby-talk:204896] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-26small document fixaamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-26* lib/net/http.rb (Net::HTTP#post, request_post, request): should set ↵aamine
Content-Type: x-www-form-urlencoded by default. * lib/net/http.rb (Net::HTTPHeader#content_type): should return nil when there's no Content-Type. * lib/net/http.rb (Net::HTTPHeader#sub_type): should return nil when there's no sub Content-Type (e.g. "Content-Type: text"). * lib/net/http.rb (Net::HTTPHeader#type_params): wrongly failed when there's no Content-Type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-26* eval.c (Init_eval): rename #invoke_method andmatz
#invoke_functional_method to __send and __send! respectively. * eval.c (remove_method): prohibit removing __send and __send!. * eval.c (rb_undef): prohibit undef'ing __send and __send!. * eval.c (rb_eval): prohibit redefining __send and __send!. * lib/delegate.rb (Delegator): preserve __send. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-26* lib/cgi.rb (CGI::QueryExtension::read_multipart): checkmatz
multipart boundary end. a patch from Fujioka <fuj at rabbix.jp> [ruby-dev:28470] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-25* lib/mkmf.rb (configuration): typo.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-21* ext/extmk.rb, lib/mkmf.rb (with_destdir): remove drive letter beforenobu
prepending destdir on DOSISH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-20* eval.c (rb_call): try local method look-up first for fcall, thenmatz
normal method look-up. [ruby-talk:202564] * eval.c (rb_get_method_body): save local method cache separately. * eval.c (search_method): export info whether method is local or not. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-20* object.c (rb_mod_attr): make Module#attr to be an alias tomatz
attr_reader. [RCR#331] * ruby.h: export classes/modules to implement sandbox. [ruby-core:08283] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e