summaryrefslogtreecommitdiffstats
path: root/lib/net
Commit message (Collapse)AuthorAgeFilesLines
* * lib/net/imap.rb (TEXT_REGEXP): allow 8-bit characters for the germanshugo2004-10-031-3/+3
| | | | | | | | | version of Microsoft Exchange Server. * lib/net/imap.rb (RTEXT_REGEXP): ditto. * lib/net/imap.rb (CTEXT_REGEXP): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/protocol.rb (rbuf_fill): OpenSSL::SSLSocket has its own buffer, ↵aamine2004-08-181-6/+5
| | | | | | select(2) might not work. [ruby-dev:24072] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (disconnected?): new method. (backported from HEAD)shugo2004-07-231-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (receive_responses): return if a logout responseshugo2004-07-171-1307/+1355
| | | | | | | | | received. (backported from head) * lib/net/imap.rb (send_string_data): wait command continuation requests before sending octet data of literals. (backported from head) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (MDTM_REGEXP): fix for demon's ftp server.shugo2004-06-221-1/+1
| | | | | | | Thanks, Rutger Nijlunsing. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/telnet.rb (Net::Telnet::login): "options" can specifyakira2004-05-131-4/+8
| | | | | | | regexps for login prompt and/or password prompt. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb: improved documentationgsinclair2004-05-095-418/+507
| | | | | | | | | | * lib/net/imap.rb: ditto * lib/net/pop.rb: ditto * lib/net/smtp.rb: ditto * lib/net/telnet.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (string): accept NIL.shugo2004-05-061-8/+27
| | | | | | | * lib/net/imap.rb (body_type_basic): allow body-fields omissions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c, io.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb, lib/date.rb,nobu2004-04-184-8/+8
| | | | | | | | | | | | | lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb, lib/matrix.rb, lib/monitor.rb, lib/set.rb, lib/thwait.rb, lib/timeout.rb, lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb, lib/net/ftp.rb, lib/net/http.rb, lib/net/imap.rb, lib/net/telnet.rb, lib/racc/parser.rb, lib/rinda/rinda.rb, lib/rinda/tuplespace.rb, lib/shell/command-processor.rb, lib/soap/rpc/soaplet.rb, lib/test/unit/testcase.rb, lib/test/unit/testsuite.rb: typo fix. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: should not overwrite HTTP request header. [ruby-list:39543]aamine2004-04-131-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (top_include): include in the wrapped load is done formatz2004-04-054-10/+10
| | | | | | | | | | | | | | | | | | the wrapper, not for a singleton class for wrapped main. [ruby-dev:23305] * bignum.c (rb_big_eq): use temporary double variable to save the result (internal float register may be bigger than 64 bits, for example, 80 bits on x86). [ruby-dev:23311] * eval.c (block_pass): should generate unique identifier of the pushing block. [ruby-talk:96363] * ext/socket/socket.c (make_hostent): fix memory leak, based on the patch from HORIKAWA Hisashi <vzw00011@nifty.ne.jp>. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb (auth): failed when account/password include "%". ↵aamine2004-03-281-2/+2
| | | | | | [ruby-talk:95933] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (canonical_each): fix merge miss.usa2004-02-021-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: merged coding style changes from HEAD.gsinclair2004-02-011-98/+89
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: rearranged documentation for RDoc's sake.gsinclair2004-02-011-4/+4
| | | | | | | | * lib/matrix.rb: improved documentation. * lib/net/http.rb: slight documentation formatting improvement. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (BEG_REGEXP): allow 8-bit characters in quoted strings for ↵shugo2004-01-221-2/+2
| | | | | | | | | Novell GroupWise Internet Agent. * lib/net/imap.rb (DATA_REGEXP): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * merged from HEAD.shugo2004-01-211-32/+52
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (authenticate): remove "\n" from base64 encodedshugo2003-12-241-1/+1
| | | | | | | strings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Document Class and Dirdave2003-12-191-9/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: update hyperlink to the Japanese document.aamine2003-12-041-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: wrote the warning about HTTP_PROXY environment variable.aamine2003-12-021-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (to_ary): print more friendly warning message.aamine2003-11-191-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/protocol.rb: logging response body. [experimental] [ruby-list:38800]aamine2003-11-161-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (set_debug_output): last commit was wrong.aamine2003-11-161-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (set_debug_output): warn if method is called after #start. ↵aamine2003-11-161-0/+1
| | | | | | [ruby-dev:38798] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* consistent parentheses in assignment RHS.matz2003-10-161-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (finish): revert to 1.93.aamine2003-09-293-9/+34
| | | | | | | | | | | | * lib/net/pop.rb (finish): revert to 1.60. * lib/net/smtp.rb (finish): revert to 1.67. * lib/net/http.rb (do_start): ensure to close socket if failed to start session. * lib/net/pop.rb (do_start): ditto. * lib/net/smtp.rb (do_start): ditto. * lib/net/smtp.rb: SMTP#started? wrongly returned false always. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (finish): does not raise IOError even if !started?, to ↵aamine2003-09-293-12/+5
| | | | | | | | | | allow duplicated #finish call. * lib/net/pop.rb (finish): ditto. * lib/net/smtp.rb (finish): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: cosmetic improvements to documentationgsinclair2003-08-312-316/+318
| | | | | | | * lib/net/imap.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb (check_response): AUTH CRAM-MD5 returns 334 response. ↵aamine2003-08-271-1/+1
| | | | | | [ruby-list:38279] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Small documentation update, including source attribution.gsinclair2003-08-211-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Small changes to documentation; mainly hiding things from RDoc.gsinclair2003-08-215-21/+43
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RD -> RDoc by William Webbergsinclair2003-08-111-248/+381
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RD -> RDoc by William Webbergsinclair2003-08-061-326/+302
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: update document.aamine2003-08-053-69/+80
| | | | | | | | * lib/net/pop.rb: ditto. * lib/net/protocol.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RDoc updated by William Webbergsinclair2003-08-051-135/+204
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RDoc comments provided by William Webber <wew@williamwebber.com>gsinclair2003-08-051-467/+405
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (receive_responses): raise exception toshugo2003-08-041-17/+33
| | | | | | | client_thread. Thanks to William Webber. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: convert RD to RDoc.shugo2003-08-041-812/+871
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb: respond_to? needs 2nd argument. [ruby-talk:77796]aamine2003-08-021-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: refine document.aamine2003-08-011-118/+174
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: convert RD to RDoc. Thanks William Webber. [ruby-doc:456]aamine2003-08-011-591/+566
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (return_code): obsolete.shugo2003-07-301-26/+28
| | | | | | | | | * lib/net/ftp.rb (last_response_code): new method. lastresp is now alias to last_response_code. * lib/net/ftp.rb (last_response): new method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (get): fix wrong argument name. Thanks to Williamshugo2003-07-301-3/+3
| | | | | | | Webber. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Small documentation correction.gsinclair2003-07-291-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb (send0): do taint check only when $SAFE > 0aamine2003-07-291-3/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb: unify coding style.aamine2003-07-292-4/+4
| | | | | | | * lib/net/http.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb (Net::SMTP::send0): add taint check.matz2003-07-291-0/+4
| | | | | | | | | * ruby.h (LLONG_MIN): wrong value. * io.c (rb_f_getc): $stdin may not be IO. [ruby-dev:20973] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_chomp_bang): defer rb_str_modify() to actualmatz2003-07-271-1/+1
| | | | | | | | | | | | | modify point. other methods, replace, tr, delete, squeeze, lstrip, and rstrip as well. * string.c (rb_str_rstrip_bang): remove trailing '\0' at the end of string. * string.c (rb_str_lstrip_bang): do not strip '\0' from the left. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_match2): add warning to "~string".matz2003-07-191-1/+13
| | | | | | | | | | [ruby-list:37751] * lib/net/ftp.rb (Net::FTP::open): takes block. suggested by Gavin Sinclair in [ruby-core:01237]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e