tadf
7e10b0c4de
"%\n" means "\n".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-05 04:55:00 +00:00
drbrain
6ffe2a4dbf
Remove tabs from Finalizer RDoc
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 21:47:55 +00:00
drbrain
8bd9d238b7
RDoc for #run= and #run?
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 21:00:31 +00:00
drbrain
e2c017a8ce
Move Example so RDoc picks it up.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 20:39:28 +00:00
drbrain
54441753a4
Include more documentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 19:12:47 +00:00
drbrain
75a60a8174
Leave HTML escaped for HtmlFormatter.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 19:07:41 +00:00
drbrain
2311929dd1
Don't document test or sample directories.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 18:12:07 +00:00
drbrain
050f637941
Close the socket on SSLError. [ruby-core:7198]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 18:10:34 +00:00
drbrain
52c034aecb
Documentation cleanup.
...
Includes patches by Hugh Sasse:
* ping.rb
* weakref.rb
* mailread.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 18:05:50 +00:00
keiju
c5f550c069
* lib/irb/{init.rb,ruby-lex.rb,slex.rb}: can't input '\c' for
...
[ruby-core: 7122]. and support for ruby1.8.X
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 10:06:17 +00:00
nobu
d040c69a58
* lib/date/format.rb (__strptime, strftime): allow multi-line patterns
...
in Date#strftime the same as Time#strftime accepts.
fixed: [ruby-core:08466]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 05:02:54 +00:00
matz
4c86e4a580
* lib/logger.rb: improves the amount of documentation that Rdoc
...
picks up when processing logger.rb by moving the require
statement back before the comment block. a patch from Hugh
Sasse <hgs at dmu.ac.uk>. [ruby-core:08422]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-31 06:31:38 +00:00
gotoyuzo
ddc38a6abb
* lib/webrick/httprequest.rb (WEBrick::HTTPReuqest#parse_uri): improve
...
for the value of IPv6 address in the Host: header field.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-31 04:39:45 +00:00
nobu
d28d1a2e0a
* lib/cgi/session.rb, lib/cgi/session/pstore.rb: suppress warnings.
...
fixed: [ruby-talk:204896]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-30 14:06:50 +00:00
aamine
1c499989ee
small document fix
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-26 13:27:18 +00:00
aamine
e1173b2c78
* lib/net/http.rb (Net::HTTP#post, request_post, request): should set Content-Type: x-www-form-urlencoded by default.
...
* lib/net/http.rb (Net::HTTPHeader#content_type): should return nil when there's no Content-Type.
* lib/net/http.rb (Net::HTTPHeader#sub_type): should return nil when there's no sub Content-Type (e.g. "Content-Type: text").
* lib/net/http.rb (Net::HTTPHeader#type_params): wrongly failed when there's no Content-Type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-26 13:00:26 +00:00
matz
c0a8089044
* eval.c (Init_eval): rename #invoke_method and
...
#invoke_functional_method to __send and __send! respectively.
* eval.c (remove_method): prohibit removing __send and __send!.
* eval.c (rb_undef): prohibit undef'ing __send and __send!.
* eval.c (rb_eval): prohibit redefining __send and __send!.
* lib/delegate.rb (Delegator): preserve __send.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-26 09:40:05 +00:00
matz
b8034ca54f
* lib/cgi.rb (CGI::QueryExtension::read_multipart): check
...
multipart boundary end. a patch from Fujioka <fuj at rabbix.jp>
[ruby-dev:28470]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-26 07:09:32 +00:00
usa
c0eb19d91a
* lib/mkmf.rb (configuration): typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-25 05:50:45 +00:00
nobu
53f6b89e7e
* ext/extmk.rb, lib/mkmf.rb (with_destdir): remove drive letter before
...
prepending destdir on DOSISH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-21 03:12:45 +00:00
matz
58f09b0916
* eval.c (rb_call): try local method look-up first for fcall, then
...
normal method look-up. [ruby-talk:202564]
* eval.c (rb_get_method_body): save local method cache separately.
* eval.c (search_method): export info whether method is local or
not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-20 19:20:31 +00:00
matz
c09cea5e1b
* object.c (rb_mod_attr): make Module#attr to be an alias to
...
attr_reader. [RCR#331]
* ruby.h: export classes/modules to implement sandbox.
[ruby-core:08283]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-20 17:36:36 +00:00
keiju
3cd703f160
* lib/irb/completion.rb: support for completion of numeric
...
number. [ruby-dev: 29038]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-19 14:18:20 +00:00
ryan
491d4412a8
patch was misapplied. fixed. sorry
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-18 18:28:16 +00:00
matz
e7d8263f77
* lib/webrick/httpserver.rb (WEBrick::HTTPServer::unmount): remove
...
inpect argument from sprintf. [ruby-dev:29039]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-18 05:08:37 +00:00
drbrain
575f1320d4
RD to RDoc conversion by Hugh Sasse.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 18:22:16 +00:00
drbrain
58f761cf82
Add monitor.rb
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-13 19:00:52 +00:00
matz
1378251dc1
* lib/monitor.rb: document patch from Hugh Sasse <hgs at dmu.ac.uk>.
...
[ruby-core:08205]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-13 17:33:04 +00:00
matz
4bacdc1e46
* bignum.c (bignorm): sizeof(long) may be smaller than
...
sizeof(VALUE). [ruby-dev:29013]
* ruby.h (FIXNUM_MAX): fixnum may be bigger than long.
* ruby.h (SIGNED_VALUE): signed integer of size of VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-11 05:00:02 +00:00
nobu
624ae68379
* lib/mkmf.rb (create_makefile): prevent substitution of macro
...
definition. fixed: http://www.yotabanana.com/lab/20060624.html#p02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-09 09:07:42 +00:00
nobu
c27f8d5b3a
* lib/mkmf.rb (try_constant): fix for value 1 at cross compiling.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-09 09:05:47 +00:00
ryan
2bf2f48a0b
cached rdoc diagrams, private rdoc comments, minor clarifications in debug.rb and pp.rb
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-08 23:17:53 +00:00
ryan
8e1789ded7
Massive rdoc for fortran overhaul from Yasuhiro Morikawa
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-08 22:25:45 +00:00
akr
e6948e5334
update doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-08 08:57:05 +00:00
nobu
0fbcc455bd
* string.c (rb_str_ord): extract lower byte. fixed: [ruby-dev:28980]
...
* lib/jcode.rb (String#succ!): fix for 1.9. fixed: [ruby-dev:28979]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-07 08:49:34 +00:00
aamine
69aeed5065
* ext/racc/cparse/cparse.c: sync with original code, rev 1.8.
...
* ext/racc/cparse/cparse.c: should mark CparseParams objects.
* lib/racc/parser.rb: sync with original code, rev 1.8.
* lib/racc/parser.rb: update coding style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-06 12:50:51 +00:00
tadf
9cd3e4c11c
cancelled r1.25
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-02 14:32:49 +00:00
gotoyuzo
02c8eb1ba8
* lib/webrick/httputils.rb (WEBrick::HTTPUtils._escape): should
...
use String#ord to get ascii code from the one-character string.
[ruby-dev:28901]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-30 10:46:40 +00:00
drbrain
0c11152794
Add optparse.rb to .document.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-28 22:27:20 +00:00
drbrain
1210bc255c
RDoc patch by Robin Stocker <robin@nibor.org>
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-28 21:56:01 +00:00
drbrain
90952d32f8
Add --system, --site, --home and --gems to limit ri search path.
...
Allow --doc-dir to be specified mulitple times.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-26 18:10:30 +00:00
akr
a1dc1d6a8c
* ruby.h, lib/drb/drb.rb, lib/drb/invokemethod.rb: remove Values class.
...
[ruby-dev:28805]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-23 14:39:01 +00:00
matz
dd01cf9869
* lib/net/http.rb (Net::HTTPResponse): duplicated error 501;
...
HTTPInternalServerError should be error 500. [ruby-core:08037]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-23 01:52:11 +00:00
tadf
274ae70db2
fixed an issue about mathn.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-21 12:23:58 +00:00
matz
7dd70df4b0
* lib/pp.rb (PP::PPMethods::seplist): should have preserved
...
original reference to the array. [ruby-dev:28747]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-21 08:20:12 +00:00
matz
2ca2a4a43b
* parse.y (block_param): do not use multiple assignment for a sole
...
block parameter. [ruby-dev:28710]
* eval.c (rb_yield_0): pass a raw yielded value to a sole block
parameter if a value is passed by yield.
* eval.c (proc_invoke): args may not be an array.
* eval.c (rb_proc_yield): pass original value without wrapping
it in an array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-21 08:08:36 +00:00
matz
7b5d9d7086
* parse.y (method_call): remove (fn)(args) style lambda
...
invocation, add fn.(args) instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-21 05:13:48 +00:00
nobu
8446b6c59b
* ext/extmk.rb (parse_args): provisional catch-up for the recent changes.
...
* lib/optparse.rb (OptionParser::List#summarize, OptionParser#order!): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-20 14:28:49 +00:00
drbrain
905cd041c9
RDoc from Hugh Sasse [ruby-core:8012]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-19 22:07:42 +00:00
matz
e3cd29bc63
* ext/socket/socket.c (unix_sysaccept): typo fixed.
...
* ext/socket/socket.c (sock_connect): remove an unused local
variable tmpaddr.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-19 07:14:28 +00:00