Commit graph

1799 commits

Author SHA1 Message Date
akr
494449fdf9 document updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-08 03:06:37 +00:00
matz
46c954bfda * lib/cgi.rb (CGI::Cookie): [ruby-talk:130040]
* object.c: [ruby-doc:818]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-08 00:51:16 +00:00
akr
f287cc6723 * lib/resolv.rb (Resolv::DNS::Name#subdomain_of?): new method.
(Resolv::DNS::Name#inspect): ditto.
  Suggested by Sam Roberts.  [ruby-talk:129086]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-07 15:24:09 +00:00
usa
370647ac58 * instruby.rb, rubytest.rb (srcdir): no longer embed srcdir into
rbconfig.rb. (backported from CVS HEAD)

* ext/socket/extconf.rb (sockaddr_storage): winsock2.h have the
  definition of struct sockaddr_storage, but socket.c doesn't
  include it because this version of ruby still has binary level
  compatibility with winsock1.

* lib/mkmf.rb (create_makefile): should support header files in
  depend file.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06 17:03:35 +00:00
nobu
68056ad3ad * lib/mkmf.rb (create_makefile): fix unbalanced parens.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06 16:22:12 +00:00
nobu
251d1d8bde * ext/socket/extconf.rb: check if getaddrinfo() works fine only when
wide-getaddrinfo option is not given.  fixed: [ruby-dev:25422]

* lib/mkmf.rb ($extmk): check if under ext directory.

* lib/mkmf.rb (Logging.postpone): allow recursive operation.

* lib/mkmf.rb (try_constant): make sure if really a constant, reduce
  the number of times of compile.

* lib/mkmf.rb (have_macro, have_var, byte_order): new functions.

* lib/mkmf.rb (find_library): allow directory list with separators.

* lib/mkmf.rb (arg_config): manage provided configuration options.

* lib/mkmf.rb (dir_config): accept arrays of directory names as
  default values.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06 14:50:49 +00:00
tadf
00456175be synchronized with date2 3.6.3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06 05:16:02 +00:00
akr
c6c24fa392 * lib/resolv.rb (Resolv::DNS::Resource::TXT): multiple strings was not
handled.
  (Resolv::DNS::Resource::TXT#strings): new method to return all
  strings.
  (Resolv::DNS::Message::MessageEncoder#put_string_list): new method.
  (Resolv::DNS::Message::MessageDecoder#get_string_list): ditto.
  based on [ruby-talk:129732] by Sam Roberts.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-05 18:31:20 +00:00
akr
d8bc405e15 comment refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-05 14:13:47 +00:00
(no author)
73c9ac28d4 This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-03 15:31:58 +00:00
kou
ca1f8939da * lib/rss: supported Image module.
http://web.resource.org/rss/1.0/modules/image/


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-03 15:31:57 +00:00
kou
4af65e86a8 * lib/rss/rss.rb (RSS::Element#convert): added.
* lib/rss/rss.rb: convert -> need_convert.
* lib/rss/1.0.rb: ditto.
* lib/rss/0.9.rb: ditto.
* lib/rss/2.0.rb: ditto.
* lib/rss/trackback.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-02 13:04:32 +00:00
seki
296f79bef5 (DRb::DRbObject#respond_to?): check marshal_dump and _dump
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-01 13:47:50 +00:00
akr
6cb5382aaa example modified a bit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-29 05:22:35 +00:00
akr
a9adbc260e * lib/resolv.rb (Resolv::DNS::Resource::IN::SRV): Added RFC2782 SRV
resource record for specifying location of services.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-29 05:14:11 +00:00
akr
d3bcd3cf02 * lib/resolv.rb (Resolv::DNS::Config.parse_resolv_conf):
parse options line for ndots option.
  (Resolv::Hosts#lazy_initialize): return self.
  (Resolv::DNS#lazy_initialize): ditto.
  (Resolv::DNS::Config#lazy_initialize): ditto.
  Suggested by Sam Roberts.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-28 08:18:59 +00:00
aamine
7f8ca715f7 * lib/net/protocol.rb (WriteAdapter#puts): should append \n, not prepend. [ruby-talk:128302] (backport from HEAD, rev 1.75)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-26 14:09:44 +00:00
matz
2ef0c6a109 * document updates - [ruby-core:04296], [ruby-core:04301],
[ruby-core:04302], [ruby-core:04307]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-24 06:45:50 +00:00
nahi
9e56da885c * lib/soap/wsdlDriver.rb: from 1.5.3-ruby1.8.2, operation which has
capitalized name (such as KeywordSearchRequest in AWS) is defined as
          a method having uncapitalized name. (converted with
          GenSupport.safemethodname to handle operation name 'foo-bar').  it
          introduced serious incompatibility; in the past, it was defined as a
          capitalized.

          define capitalized method as well under that circumstance.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-23 03:42:36 +00:00
seki
9738827dcb (accept) rescue SSLError. [druby-ja:110]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-22 14:10:36 +00:00
seki
00847a2d85 fail if UNIXFileOwner is set. [druby-ja:111]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-22 13:37:37 +00:00
akr
19c8f9cea5 * lib/resolv.rb (Resolv::DNS::Config.resolv): don't raise ResolvError.
reported by Sam Roberts.  [ruby-talk:127133]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-21 11:11:44 +00:00
shugo
13db60aad3 * lib/net/imap.rb (u8tou16): fixed typo. fixed: [ruby-lis:40546]
(backported from CVS HEAD)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-21 05:05:01 +00:00
usa
3f89d1660a * lib/ipaddr.rb (test_s_new): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-19 09:14:42 +00:00
usa
418ea6a442 * lib/ipaddr.rb (to_s, test_to_s): too many colons with some cases.
(backported from CVS HEAD)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-19 09:08:39 +00:00
akr
eecf2867e1 * lib/resolv.rb (Resolv::DNS::Config.parse_resolv_conf): ignore
domain and search directive without an argument.
  reported by Sam Roberts.  [ruby-talk:126781]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-18 16:29:23 +00:00
gotoyuzo
fb18f0d973 * lib/webrick/ssl.rb (WEBrick::Config::SSL): the default value
of :SSLEnable is false.

* lib/webrick/server.rb (WEBrick::Daemon.start): prepared stdio
  don't allow changing its mode.

* lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service):
  should delete trailing LF from the result of pack("m*").

* lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_connect):
  - should delete trailing LF from the result of pack("m*").
  - clear Request-Line not to send the response by HTTPServer#run.

* lib/webrick/httputils (WEBrick::HTTPUtils.parse_qvalues):
  refine regexp (and change the name of a local variable).

* lib/webrick/httputils.rb (WEBrick::HTTPUtils#escape_path): add
  new method to escape URI path component.

* lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line): should
  escape SCRIPT_NAME and PATH_INFO before being parsed as a URI.

* test/webrick/*, sample/webrick/httpproxy.rb: add new file.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-18 06:03:43 +00:00
nobu
dc4d23a7e5 * ext/readline/readline.c: suppress warnings.
* lib/irb/extend-command.rb (IRB::ContextExtender.def_extend_command):
  ditto.

* lib/irb/ext/history.rb (IRB::Context::set_last_value): ditto.

* lib/irb/ext/history.rb (IRB::Context::eval_history): ditto.

* lib/irb/locale.rb (IRB::Locale::real_load): ditto.

* lib/irb/slex.rb (SLex::Node::create_subnode): remove garbage.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-16 22:09:29 +00:00
eban
67c135a503 * lib/uri/common.rb (PORT): typo fix. fiex: [ruby-core:04256]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-16 15:12:02 +00:00
kou
d53a016dbc * lib/rss/rss.rb (RSS::VERSION): 0.1.2 -> 0.1.3.
* lib/rss/rss.rb: accept inheritance. [ruby-talk:126104]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-15 04:38:29 +00:00
aamine
8f1c58dda3 * lib/fileutils.rb (copy_entry): could not copy symbolic link. [ruby-talk:125733]
* lib/fileutils.rb (copy_stream): use read/write instead of sysread/syswrite.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-10 18:28:32 +00:00
why
36fc61901d * lib/yaml.rb: Kernel#y requires an argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-07 19:38:21 +00:00
akr
ca5d48768f * lib/time.rb: recognize +00:00 and GMT as a localtime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-06 04:48:31 +00:00
dave
556a2682d1 Allow for colons in DOS file names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-05 23:02:50 +00:00
gotoyuzo
54980ce497 * lib/webrick/httpauth/htpasswd.rb (WEBrick::Htpasswd#reload):
raise NotImplementedError if password is encrypted by digest
  algorithms. This patch is contributed by sheepman. [ruby-list:40467]

* lib/webrick/httpauth/digestauth.rb
  (WEBrick::HTTPAuth::DigestAuth#_authenticate): fix digest calculation.
  This patch is contributed by sheepman. [ruby-list:40482]

* lib/webrick/{httpauth.rb,httpauth/basicauth.rb,httpproxy.rb}: use
  pack/unpack-template char "m" instead of lib/base64.rb to do base64
  encoding/decoding. fixed: [ruby-dev:25336]

* test/webrick/test_httpauth.rb: new file.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-02 22:50:01 +00:00
dave
2814dbe601 Fix problem in ri formatting if heading contains markup
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-31 05:22:05 +00:00
dave
9aa36880e1 Update kilmer template to use sections
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-29 02:16:33 +00:00
aamine
225a5f5282 * lib/fileutils.rb (mv): should raise error when moving a directory to the (empty) directory. [ruby-talk:124368] (backport from HEAD 1.48)
* lib/fileutils.rb (mv): wrongly did not overwrite file on Win32 platforms. (backport from HEAD 1.48)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-27 06:22:14 +00:00
aamine
ae434c6035 * lib/fileutils.rb (mkdir, mkdir_p): should ensure directory permission. (backportted from HEAD, 1.47)
* lib/fileutils.rb (traverse, remove_dir): untaint trasted objects. (backportted from HEAD, 1.46)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-24 19:24:35 +00:00
matz
a63326b345 * lib/cgi/session.rb: [ruby-list:40444]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-22 08:06:12 +00:00
nahi
3edeb852fe * lib/soap/*, test/soap/*, sample/soap/authheader/*: eval cleanup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 15:08:56 +00:00
nahi
e8ed175fe0 * added files:
* lib/soap/mapping/wsdl*.rb
          * lib/wsdl/soap/element.rb
          * lib/wsdl/xmlSchema/simpleContent.rb

        * modified files:
          * lib/soap/*
          * lib/wsdl/*
          * lib/xsd/*
          * test/soap/*
          * test/wsdl/*
          * test/xsd/*
          * sample/soap/*
          * sample/sdl/*

        * summary
          * imported from the soap4r repository.  Version: 1.5.3-ruby1.8.2

          * added several XSD basetype support: nonPositiveInteger,
            negativeInteger, nonNegativeInteger, unsignedLong, unsignedInt,
            unsignedShort, unsignedByte, positiveInteger

          * HTTP client connection/send/receive timeout support.

          * HTTP client/server gzipped content encoding support.

          * improved WSDL schema definition support; still is far from
            complete, but is making step by step improovement.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-20 14:41:10 +00:00
(no author)
330a8e51c5 This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-20 14:41:10 +00:00
nobu
fbd922da76 * lib/cgi/session.rb (CGI::Session#initialize): empty session id was
used if request had no session key.  fixed: [ruby-core:03981]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-19 18:31:04 +00:00
kou
8aeb8712f8 * lib/rexml/encodings/SHIFT-JIS.rb: backported from CVS HEAD.
* lib/rexml/encodings/SHIFT_JIS.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-19 15:31:17 +00:00
nobu
32ea57aa2b * lib/test/unit.rb: use standalone runner for -e.
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner#options): accept
  multiple -p and -x options.

* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#recursive_collect):
  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-19 02:01:59 +00:00
nahi
0a51f8636c * I confirmed that its length. :-)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-18 07:19:46 +00:00
nahi
b1dd44e2f3 * lib/webrick/httpauth.rb,
lib/webrick/httpauth/{basicauth.rb,digestauth.rb}: use
          pack/unpack-template char "m" instead of lib/base64.rb to do base64
          encoding/decoding.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-18 06:17:33 +00:00
matz
125514995c * dir.c (dir_open_dir): new function. [ruby-dev:25242]
* hash.c (Init_Hash): remove custom "hash" and "eql?".

* lib/set.rb (Set::eql): wrong definition.  [ruby-dev:25207]

* object.c (rb_obj_id_obsolete): warn always.

* eval.c (rb_enable_super): ditto.

* lib/set.rb (Set#==): [ruby-dev:25206]

* lib/pstore.rb (PStore#transaction): Use the empty content when a
  file is not found.  [ruby-dev:24561]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-18 02:07:31 +00:00
nobu
ac619b9205 * lib/cgi/session.rb (CGI::Session#initialize): control adding
session_id hidden fields.  fixed: [ruby-talk:123850]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-17 04:34:39 +00:00