Commit graph

7022 commits

Author SHA1 Message Date
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
eban
56aee6eed8 * 2005-01-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-29 05:17:16 +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
eban
250ba3b62d * 2005-01-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-28 10:04:28 +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
eban
50bfc59cd7 * 2005-01-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-26 15:17:57 +00:00
aamine
2a2b9a1381 * test/fileutils/test_fileutils.rb (setup): support BSD-style directory group inheritance. (backport from HEAD, rev 1.32)
* test/fileutils/fileasserts.rb (assert_same_entry): show entry difference. (backport from HEAD, rev 1.4)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-26 15:16:09 +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
usa
ed602ba8ba * 2005-01-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-26 01:53:38 +00:00
usa
bf748365c7 * win32/win32.c (flock_winnt, flock_win95): unlock file even if
LOCK_NB is specified. (backported from CVS HEAD)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-26 01:53:02 +00:00
usa
8452085ea9 * ruby.c (proc_options): correct -T option in RUBYOPT. (backported
from CVS HEAD)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-25 08:12:37 +00:00
nagai
1d95c9a093 * ext/tk/sample/vu/vu_demo.rb: rename from vu.rb; avoid the bug on
Windows version of Tcl/Tk. The trouble based on the bug occurs when
  the script name (without extension) is a same name as a Tcl/Tk's
  library file name (without extension) required in the script.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-25 05:42:49 +00:00
ocean
5a44f3a0f6 2005-01-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-25 05:29:30 +00:00
nagai
4f7d0eaaf3 * ext/tcltklib/tcltklib.c: fix SEGV bug; trouble on canceling remained
after scripts [ruby-dev:25479]: NULL current namespce when deleting
  Tk interpreter [ruby-talk:126225]
* ext/tcltklib/extconf.rb: bug fix; TCL_ENABLE_THREAD flag is inverted
  [ruby-talk:126360]
* ext/tcltklib/extconf.rb: add yet another native-thread check
* ext/tk/tkutil.c: fix SEGV bug; NULL string pointer when finalize
  Ruby interpreter
* ext/tk/lib/multi-tk.rb: avoid warning for deleted safeTk ip frame
* ext/tk/lib/tk/bindtag.rb: bug fix; new method of named bindtag
  doesn't return the created object [ruby-dev:25479]
* ext/tk/lib/tk/menu.rb: bug on treating arguments [ruby-dev:25479]
* ext/tk/lib/tk.rb: bug fix; cannot accept a callback ID string for
  a command argument [ruby-dev:25479]
* ext/tk/lib/multi-tk.rb: ditto
* ext/tk/lib/tk/*.rb: ditto
* ext/tk/lib/tkextlib/*.rb: ditto
* ext/tk/sample/demos-jp/anilabel.rb: new demo script
* ext/tk/sample/demos-en/anilabel.rb: ditto
* ext/tk/sample/tkHTML/ss.rb: local variable scope bug fix
  [ruby-dev:25479]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-25 05:09:22 +00:00
akr
131824065d fix some documents.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-25 04:03:02 +00:00
akr
9ceeedb874 fix IO#read docment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-24 11:43:12 +00:00
naruse
5aff9f3b3a * ext/nkf/lib/kconv.rb (guess_old): not use NKF.guess_old but NKF.guess1. fixed: [ruby-dev:25491]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-24 07:00:53 +00:00
eban
48b68b28b1 * 2005-01-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-24 06:52:55 +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
eban
83b531e3ea * 2005-01-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-23 04:33:14 +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
gotoyuzo
4c3e68b167 * ext/openssl/ossl_ocsp.c (ossl_ocspreq_to_der): should call
GetOCSPReq at first.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-22 20:28:02 +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
eban
2113357ba3 * 2005-01-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-21 15:20:32 +00:00
matz
85b6a42fbe * ext/stringio/stringio.c (strio_set_pos): clear EOF flag.
[ruby-talk:127511]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-21 15:08:27 +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
e694a576d2 * ChangeLog: fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-21 08:25:44 +00:00
shugo
7a6f03ff9d file test_imap.rb was added on branch ruby_1_8 on 2006-11-04 13:03:20 +0000
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-21 08:15:57 +00:00
(no author)
c67a8bba3f 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@7801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-21 08:15:57 +00:00
matz
b90b86cab5 * dir.c (rb_push_glob): should work for NUL delimited patterns.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-21 08:01:20 +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
e056e74e64 * rubyio.h (rb_eof_error): should mark as NORETURN. (backported
from CVS HEAD)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-21 00:31:16 +00:00
eban
cc2bf84ff5 * 2005-01-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-20 15:42:44 +00:00
ocean
2f34a02e9c * ext/syck/rubyext.c (syck_parser_bufsize_set): avoid VC++ warning
"local variable 'size' used without having been initialized".


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-20 15:39:22 +00:00
usa
96bcddcd36 * 2005-01-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-20 10:07:22 +00:00
usa
b95e5aefda * ext/extmk.rb (extmake): shoudn't set $extflags on mswin32.
* win32/Makefile.sub (LIBRUBY_SO): should use $DLDOBJS instead of
  $EXTOBJS.
  fixed: [ruby-core:04290] (backported from CVS HEAD)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-20 10:07:02 +00:00
matz
dcd87b140c * string.c (rb_str_new4): should propagate taintedness.
* struct.c (rb_struct_set): use original method name, not callee
  name, to retrieve member slot.  [ruby-core:04268]

* time.c (time_strftime): protect from format modification from GC
  finalizers.

* gc.c (rb_data_object_alloc): klass may be NULL.
  [ruby-list:40498]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-20 09:34:36 +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
eban
d15392668f * 2005-01-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-18 16:32:19 +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
eban
2523523ee0 * 2005-01-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-18 06:25:29 +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
(no author)
9f1945ac53 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@7783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-18 06:03:43 +00:00
nobu
ee61635f5a * configure.in (aix): fix typo. [ruby-talk:126401]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-17 14:34:09 +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
a5f31f5643 * ChangeLog: typo fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-16 15:26:16 +00:00
eban
85f230a3b4 * 2005-01-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-16 15:12:19 +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