Граф коммитов

8690 Коммитов

Автор SHA1 Сообщение Дата
usa f1b36f2997 * lib/optparse.rb: cannot put :nodoc: before method definition.
put after it.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-08 09:13:04 +00:00
usa 1636105e74 * bin/rdoc: ues File.exist? instead of File.exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-08 08:01:06 +00:00
matz 7c96418526 * object.c (Init_Object): new method Dir.exist?(path).
[ruby-core:09663]

* file.c (Init_File): remove File.exists?; use File.exist?
  instead.

* file.c: rename functions to test_* to rb_file_*_p.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-07 15:18:14 +00:00
matz dc859c017d * lib/weakref.rb (WeakRef::__setobj__): should support
marshaling.  [ruby-talk:228508]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-07 15:17:14 +00:00
matz e03d9621a6 2006-12-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-07 15:17:10 +00:00
nobu 4abaf3a579 * win32/win32.c (init_stdhandle): redirect unopened IOs to NUL.
[ruby-core:09572]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-06 14:58:46 +00:00
nobu 24f3250be1 * Makefile.in, common.mk (NULLCMD): moved for platforms that empty
command does not run.  fixed: [ruby-dev:29994]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-06 14:57:07 +00:00
nobu 4c35d6720f 2006-12-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-06 14:56:32 +00:00
eban ff48018c28 * configure.in (SITE_DIR): fixed to emtpy RUBY_SITE_LIB in config.h on
NetBSD.  fixed: [ruby-dev:29358]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-05 10:04:19 +00:00
matz bf74ef51a2 * lib/matrix.rb (Matrix::rank): use quo method to avoid integer
division problem.  [ruby-core:09644]

* lib/matrix.rb (Matrix::rank_e): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-05 09:59:45 +00:00
matz cd3a5e2bb2 * misc/ruby-mode.el (ruby-parse-partial): need to parse "/=" as
self assignment operator, not regex.  [ruby-talk:227324]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-05 09:56:18 +00:00
nobu 3acd34fd64 2006-12-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-04 15:19:36 +00:00
nobu f4aca06c84 * intern.h, object.c, variable.c (rb_mod_constants): added an optional
flag to search ancestors, which is defaulted to true, as well as
  const_defined? and const_get.  [ruby-dev:29989]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-04 15:19:33 +00:00
nobu 8d69c7f116 * instruby.rb (install_recursive): get rid of warning.
* lib/optparse.rb (CompletingHash#match): get rid of splat failure.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-04 14:49:47 +00:00
knu ce6af3e8a0 Do alias << update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-04 10:27:28 +00:00
matz 4df88e463d * ruby.h (OFFT2NUM): use LONG2NUM() if sizeof(long) equals to
sizeof(off_t).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-04 08:06:32 +00:00
shugo 6b279c3d09 * lib/cgi.rb (CGI::QueryExtension::read_multipart): should quote
boundary. JVN#84798830


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-03 23:35:45 +00:00
shugo 5ce38775ba 2006-12-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-03 23:35:32 +00:00
knu d65ee2e9f8 * ext/digest/lib/digest/hmac.rb: Fix problems with update
timing. [Reported by: oss-ruby@technorama.net]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-03 07:54:10 +00:00
knu 16df52eb40 2006-12-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-03 07:54:08 +00:00
knu bd2df89b14 * ext/digest/lib/digest/hmac.rb: Fix problems with update
timing. [Reported by: oss-ruby@technorama.net]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-03 07:36:06 +00:00
gotoyuzo b326623cef * lib/webrick/httputils.rb (WEBrick::HTTPUtils::FormData::<<):
HTTPUtils::parse_header() takes a string.  [ruby-dev:29931]

* lib/webrick/httputils.rb (WEBrick::HTTPUtils::parse_header):
  String does no longer have each method.

* lib/webrick/httputils.rb (WEBrick::HTTPUtils::parse_form_data):
  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-01 22:38:47 +00:00
gotoyuzo 38093bc129 * ext/openssl/ossl_ocsp.c: OpenSSL::OCSP::OSCPError should be
subclass of OpenSSL::OpenSSLError. [ruby-dev:29980]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-01 22:11:51 +00:00
gotoyuzo 542d9e97fc 2006-12-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-01 22:11:37 +00:00
nagai 938d00b54b * ext/tk/tcltklib.c: shouldn't run the killed thread at callback.
[ruby-talk: 227408]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-01 07:43:05 +00:00
nagai e546b71285 2006-12-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-01 07:41:55 +00:00
eban 3eb1250575 * 2006-11-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-26 09:57:00 +00:00
shyouhei b9d64f433b Sun Nov 26 16:36:46 2006 URABE Shyouhei <shyouhei@ruby-lang.org>
* version.h: addition of RUBY_PATCHLEVEL.
        * version.c: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-26 09:34:32 +00:00
matz 0d9c33d14b * object.c (rb_obj_tap): a new method. [ruby-talk:224013]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-22 08:37:12 +00:00
matz 5dd8f6e20c * file.c (test_grpowned, rb_stat_grpowned): should honor
supplementary group IDs.  [ruby-core:09546]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-22 08:37:11 +00:00
nagai c97ed5ef9a * ext/tk/extconf.rb: support --with-X11/--without-X11 option.
* ext/tk/README.tcltklib: add description about --with-X11-* option
  [ruby-talk:225166] and --with-X11/--without-X11 option.
* ext/tk/tkutil/extconf.rb: able to be called manually [ruby-talk:225950].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-22 07:06:11 +00:00
nagai 135a96accc 2006-11-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-22 07:06:07 +00:00
matz bd580c4855 * eval.c (formal_assign): need to pack rest arg information in
argc.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-07 09:38:12 +00:00
nagai ce99fd222e * ext/tk/lib/tkextlib/version.rb: forgot to commmit. sorry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-07 09:13:40 +00:00
nagai 32c61a1b59 * ext/tk/lib/tk/itemconfig.rb: minor bug fix.
* ext/tk/lib/tkextlib/tile/treeview.rb : ditto.
* ext/tk/lib/tkextlib/blt/table.rb: fix bugs which forbade use of
  '::blt::table' command. Now, probably, it'll works properly.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-07 09:11:38 +00:00
matz 6f1c934bc3 * class.c (rb_include_module): revert duplicate inclusion of
modules.  [ruby-dev:29793]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-07 08:56:18 +00:00
matz 568602aeea * eval.c (method_missing): update old argument adjustment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-07 08:51:15 +00:00
matz 84ad9c0a26 2006-11-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-07 07:46:00 +00:00
matz f54e979d36 * eval.c (when_check): need to splat for NODE_ARGSCAT as well.
[ruby-dev:29860]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-07 07:45:57 +00:00
matz 0ee03fefad * string.c (Init_String): remove duplicated definition of
Symbol#to_s.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-06 13:24:57 +00:00
matz 862e723d03 * eval.c (svalue_to_avalue): need to splat but no error.
* eval.c: new macros - YIELD_CALL, YIELD_VALUES.

* eval.c (rb_yield_values): specify YIELD_VALUES.

* eval.c (rb_yield_0): use new macros.

* eval.c (proc_invoke): slightly modified to separate YIELD_CALL
  and YIELD_VALUES from YIELD_ARY_ARGS.

* object.c (Init_Object): add nil.to_splat => [].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-06 10:27:59 +00:00
nagai 2ec88c167b * ext/tk/lib/tk/itemconfig.rb: bug fix on 'itemconfiginfo' method, and
modify to make it easy to override 'itemconfiginfo' method.
* ext/tk/lib/tkextlib/tile/treeview.rb : support Tile 0.7.8.
* ext/tk/lib/tkextlib/version.rb : [new] add Tk::Tkextlib_RELEASE_DATE
  to get the information from scripts.
* ext/tk/lib/tk.rb: load 'tkextlib/version.rb', and update RELEASE_DATE.
* ext/tk/lib/tkextlib/SUPPORT_STATUS: update.
* ext/tk/sample/editable_listbox.rb: [new] the listbox with editable
  items. It's one of the example about usage of Place geometry manager.
* ext/tk/sample/tktextio.rb: improve the functions of TkTextIO class.
  Those are required by 'irbtkw.rbw'.
* ext/tk/sample/irbtkw.rbw: [new] IRB on Ruby/Tk. It doesn't need any
  real console. IRB works on a text widget without I/O blocking. That
  is, thread switching on IRB will work properly, even if on Windows.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-06 06:56:37 +00:00
matz ced53248ff 2006-11-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-06 06:37:43 +00:00
matz 6d32246b31 * parse.y (arg_dup_check): vid may be nameless internal id.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-06 06:37:40 +00:00
tadf d304aa6382 updated based on date2 3.9.7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-05 10:55:20 +00:00
tadf c676ed3b4d 2006-11-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-05 10:55:07 +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 8625520d4c 2006-11-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-04 04:13:29 +00:00
matz 66b90161cf * ext/socket/socket.c (ruby_getnameinfo__aix): AF_INET6 workaround
for AIX.  a patch from Yutaka Kanemoto <kinpoco AT gmail.com>.
  [ruby-dev:29744]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-02 15:38:59 +00:00
matz 63c55ef265 2006-11-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-02 15:38:55 +00:00