akr
e14c9923b4
* ext/openssl: avoid cyclic require.
...
* ext/openssl/lib/openssl/ssl-internal.rb: renamed from ssl.rb
* ext/openssl/lib/openssl/x509-internal.rb: renamed from x509.rb.
* lib/net/imap.rb: require openssl, instead of openssl/ssl.
* lib/net/pop.rb: require openssl, instead of openssl/ssl.
[ruby-dev:38018]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 16:09:44 +00:00
shugo
3f59f0e06c
* lib/net/imap.rb: validate data before sending to a server.
...
[ruby-core:20320]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 05:14:26 +00:00
shugo
bb9435a75c
* lib/net/imap.rb (hmac_md5): should use String#ord to get ascii
...
code from the one-character string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 03:12:30 +00:00
matz
85bae86cb6
* lib/optparse/version.rb: remove variable shadowing to stop
...
warning. [ruby-core:20612]
* lib/irb/completion.rb, lib/net/imap.rb, lib/prime.rb,
lib/rinda/ring.rb, lib/racc/parser.rb,
lib/shell/command-processor.rb, lib/yaml/yamlnode.rb: ditto.
* lib/racc/parser.rb: remove space before parentheses.
* lib/shell/command-processor.rb, lib/shell/process-controller.rb:
use parentheses around arguments.
* lib/irb/ext/change-ws.rb, lib/rexml/validation/relaxng.rb,
lib/yaml/baseemitter.rb: indentation fix.
* lib/matrix.rb: small cosmetic change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-18 07:54:50 +00:00
kazu
2d302dfd40
* lib/webrick/server.rb (WEBrick::GenericServer#shutdown):
...
rescue Errno::ENOTCONN and close. [ruby-dev:35896]
* test/openssl/test_ssl.rb (OpenSSL#start_server): ditto.
[ruby-dev:35897]
* lib/net/imap.rb (Net::IMAP#disconnect): ditto. [ruby-dev:35898]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-22 11:12:06 +00:00
shugo
49f7b3e8d1
* lib/net/imap.rb (disconnect): do not refer SSL::SSLSocket for
...
environments without OpenSSL. fixed [ruby-dev:35755].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-05 07:24:48 +00:00
matz
e6c1752137
* lib/rdoc.rb: massive spelling correction patch from Evan Farrar
...
<evanfarrar at gmail.com> in [ruby-doc:1382] applied.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-04 09:37:38 +00:00
shugo
79fdbe0519
* lib/net/imap.rb: do not use Thread#raise. [ruby-dev:34739]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-21 17:47:33 +00:00
naruse
40d8d38909
* ext/json/lib/json/pure/generator.rb,
...
ext/json/lib/json/pure/parser.rb, ext/openssl/lib/openssl/x509.rb,
ext/win32ole/sample/olegen.rb, lib/date/format.rb, lib/irb/context.rb,
lib/irb/workspace.rb, lib/net/http.rb, lib/net/imap.rb,
lib/rdoc/generator.rb, lib/rdoc/markup/to_html.rb,
lib/rdoc/markup/to_latex.rb, lib/rdoc/parsers/parse_c.rb,
lib/rdoc/ri/formatter.rb, lib/rexml/parsers/baseparser.rb,
lib/rexml/quickpath.rb, lib/rexml/text.rb, lib/rss/parser.rb,
lib/uri/common.rb, lib/uri/generic.rb, lib/webrick/httpresponse.rb,
lib/webrick/httpservlet/filehandler.rb, lib/yaml/baseemitter.rb,
lib/yaml/encoding.rb: performance tuning arround String#gsub.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-12 06:18:06 +00:00
gotoyuzo
40aa32a0d7
* ext/openssl/lib/net/ssl.rb (OpenSSL::SSL::SSLContext.build): removed.
...
* 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
2007-12-22 08:31:53 +00:00
shugo
e875cfa1fe
* lib/net/imap.rb (encode_utf7): accept UTF-8 strings.
...
* 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
2007-12-22 08:00:04 +00:00
shugo
3ee72c86ef
* lib/net/imap.rb: fixed RDoc markups.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 07:29:01 +00:00
shugo
482690cdf8
* lib/net/imap.rb (initialize): fixed documentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 06:05:14 +00:00
shugo
ad89f7e6d2
* lib/net/imap.rb (initialize): accept service name. changed
...
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
2007-12-21 06:34:03 +00:00
akr
4cf437519f
* regerror.c, string.c, io.c, lib/getoptlong.rb, lib/net/imap.rb,
...
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
2007-12-21 02:31:11 +00:00
ko1
5c04ed459b
* lib/net/imap.rb (initialize): the second argument is an option
...
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
2007-12-20 10:41:50 +00:00
matz
1eee78b876
* eval.c (rb_f_send): allow send/__send__ to call methods of all
...
visibility again. we no longer provide __send, __send!.
* eval.c (rb_invoke_method): new method to honor private
visibility. if it's invoked in a function call style, it calls
private methods as well (previous 1.9 send behavior).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-04 20:36:20 +00:00
gotoyuzo
3ecc791ddc
* lib/net/imap.rb, lib/net/smtp.rb, lib/net/pop.rb: hostname should
...
be verified against server's indentity as persented in the server's
certificate. [ruby-dev:31960]
* ext/openssl/lib/net/telnets.rb, ext/openssl/lib/net/ftptls.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-08 11:14:41 +00:00
matz
4e183b11ac
* test/ruby/test_dir.rb (TestDir::setup): ?c now makes a string.
...
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::initialize):
initialize @workdir to stop warning.
* lib/drb/drb.rb (DRb::DRbServer::InvokeMethod::perform_without_block):
replace funcall by send!. other files in the distribution as well.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-24 09:57:53 +00:00
shugo
426fcba891
* lib/net/imap.rb (ResponseParser#next_token): fixed
...
error message.
* lib/net/imap.rb (ResponseParser#parse_error): fixed
the condition not to refer @token.symbol unexpectedly.
Thanks, Dick Monahan.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-30 04:39:07 +00:00
shugo
6df7c0c721
* lib/net/imap.rb (disconnect): call shutdown for
...
SSLSocket. Thanks, Technorama Ltd.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-09 00:28:35 +00:00
shugo
ffdb9dc6bd
* lib/net/imap.rb: accept NOMODSEQ. [ruby-core:9002]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-04 04:13:34 +00:00
shugo
92d28f6b8f
* lib/net/imap.rb: allow extra spaces in responses.
...
Thanks, Tom Soderlund.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-20 00:45:08 +00:00
nobu
0cfe16bc21
* ext/tk/lib/tk/font.rb, ext/tk/lib/tkextlib/ICONS/icons.rb,
...
ext/tk/sample/tkextlib/treectrl/demo.rb, lib/net/imap.rb,
lib/rss/parser.rb, test/rss/test_content.rb,
test/rss/test_dublincore.rb, test/rss/test_syndication.rb,
test/rss/test_trackback.rb, test/ruby/test_eval.rb,
test/socket/test_socket.rb, test/socket/test_udp.rb:
Object#fcall was renamed as Object#funcall.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22 04:48:34 +00:00
shugo
aa6393778a
* lib/net/imap.rb: supported DIGEST-MD5. Thanks, Mathieu Arnold.
...
* lib/net/imap.rb: use fcall instead of send. Thanks, Satoru
Takabayashi.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-16 23:05:13 +00:00
shugo
51e25545ae
* lib/net/imap.rb (starttls): supported the STARTTLS command.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-11 14:26:27 +00:00
shugo
ec2e637cb4
* lib/net/imap.rb (initialize): handle certs correctly. Thanks,
...
NABEYA Kenichi.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-22 16:55:31 +00:00
shugo
90ad5e3699
* lib/net/imap.rb (decode_utf7): use pack("U*") to encode UTF-8.
...
* lib/net/imap.rb (encode_utf7): use unpack("U*") to decode UTF-8.
* test/net/imap/test_imap.rb: added tests for Net::IMAP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-21 08:15:56 +00:00
shugo
d3125e3e43
* lib/net/imap.rb (u8tou16): fixed typo. fixed: [ruby-lis:40546]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-21 05:02:16 +00:00
shugo
4394e19fdd
* lib/net/imap.rb (Net::IMAP::PlainAuthenticator): added a new class
...
to support the PLAIN authentication mechanism. Thanks, Benjamin
Stiglitz.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-26 07:26:15 +00:00
shugo
6e8ae612ba
* lib/net/imap.rb (TEXT_REGEXP): allow 8-bit characters for the german
...
version of Microsoft Exchange Server.
* lib/net/imap.rb (RTEXT_REGEXP): ditto.
* lib/net/imap.rb (CTEXT_REGEXP): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-03 12:21:35 +00:00
shugo
26b9cd878a
* lib/net/imap.rb (disconnected?): new method.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-22 23:52:11 +00:00
shugo
73e0d386b8
* lib/net/imap.rb (receive_responses): return if a LOGOUT response
...
received.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-17 17:35:53 +00:00
shugo
b9db231cbd
* lib/net/imap.rb (send_string_data): wait command continuation
...
requests before sending octet data of literals.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-17 15:06:17 +00:00
shugo
77574f0fa2
* lib/net/imap.rb: added new option --ssl.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-23 08:38:15 +00:00
gsinclair
d9c41de9cc
* lib/net/ftp.rb: ported documentation improvement from 1.8 branch
...
* lib/net/imap.rb: ditto
* lib/net/pop.rb: ditto
* lib/net/smtp.rb: ditto
* lib/net/telnet.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-09 14:42:43 +00:00
matz
1b0f90ca33
* parse.y (string_content): turn off NODE_NEWLINE flag to avoid
...
unnecessary line trace for inlined expression.
(ruby-bugs PR#1320)
* numeric.c (flo_to_s): tweak output string based to preserve
decimal point and to remove trailing zeros. [ruby-talk:97891]
* string.c (rb_str_index_m): use unsigned comparison for T_FIXNUM
search. [ruby-talk:97342]
* hash.c (rb_hash_equal): returns true if two hashes have same set
of key-value set. [ruby-talk:97559]
* hash.c (rb_hash_eql): returns true if two hashes are equal and
have same default values.
* string.c (rb_str_equal): always returns true or false, never
returns nil. [ruby-dev:23404]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-07 08:44:24 +00:00
shugo
7cb6dfb8fc
* lib/net/imap.rb (string): accept NIL.
...
* lib/net/imap.rb (body_type_basic): allow body-fields omissions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-06 02:47:37 +00:00
nobu
92f0be2037
* dln.c, io.c, pack.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb,
...
lib/date.rb, 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/pop.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: svn+ssh://ci.ruby-lang.org/ruby/trunk@6178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-18 23:19:47 +00:00
matz
919f456de8
* exception message clean-up by Ian Macdonald <ian@caliban.org>.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-29 07:54:38 +00:00
shugo
edddc36970
* lib/net/imap.rb (BEG_REGEXP): allow 8-bit characters in quoted strings for Novell GroupWise Internet Agent.
...
* lib/net/imap.rb (DATA_REGEXP): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-22 14:01:15 +00:00
shugo
a2f60e923e
* lib/net/imap.rb (envelope): allow NIL.
...
* lib/net/imap.rb (body): ditto.
* lib/net/imap.rb (number): ditto.
* lib/net/imap.rb (ensure_nz_number): show a detailed error
message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 09:01:23 +00:00
shugo
e34f7ef3cc
* lib/net/imap.rb (authenticate): remove "\n" from base64 encoded
...
strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 04:44:25 +00:00
gsinclair
50ca9237b3
* lib/net/http.rb: cosmetic improvements to documentation
...
* lib/net/imap.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-31 13:04:25 +00:00
gsinclair
f3f7c40c49
Small changes to documentation; mainly hiding things from RDoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-21 09:07:57 +00:00
gsinclair
e6c23c67e9
RDoc updated by William Webber
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-05 14:48:33 +00:00
shugo
594eb2e0fe
* lib/net/imap.rb (receive_responses): raise exception to
...
client_thread. Thanks to William Webber.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-04 01:02:16 +00:00
shugo
79c0605534
* lib/net/imap.rb: convert RD to RDoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-04 00:46:06 +00:00
matz
590a37880c
* eval.c (proc_alloc): re-unification of Block and Proc. Block
...
class is no longer available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-16 07:14:50 +00:00
matz
c5fc4bca6d
* eval.c (rb_call_super): inheritance line adjustment moved from
...
rb_call(). [ruby-core:01113]
* eval.c (rb_eval): use rb_call_super() to follow DRY principle.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-03 09:40:21 +00:00