drbrain
47eea50002
Make RDoc accessible. Update constant value information.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-31 21:27:31 +00:00
drbrain
4e6f681b40
Allow RDoc comment to give friendly value for rb_define_const.
...
Patch by Daniel Berger <djberg96 at gmail.com>, [ruby-patches-7499].
Fix whitespace handling in constant comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-31 21:13:27 +00:00
ko1
a3e1b1ce7e
* Merge YARV
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-31 15:02:22 +00:00
tadf
dcf4a0a1f6
removed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-30 15:49:29 +00:00
tadf
7290b6925c
updated based on date2 4.0.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-30 15:27:01 +00:00
matz
703532aa1c
* lib/cgi.rb (CGI::Cookie::initialize): use Array() again.
...
[ruby-core:09781]
* object.c (rb_Array): returns 1-element array if the argument
does not have to_ary nor to_a.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-28 06:34:02 +00:00
matz
3d519d2d60
* lib/cgi.rb (CGI::Cookie::initialize): option["value"] may or may
...
not be string. [ruby-core:09750]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-21 16:36:31 +00:00
matz
51172af82b
* lib/cgi.rb (CGI::Cookie::initialize): Array(string) no longer
...
works. [ruby-core:09738]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-17 23:37:49 +00:00
nobu
d63cf3fa2a
* lib/mkmf.rb (create_makefile): remove static library before update,
...
to get rid of sludge of Borland tlib.exe.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-14 15:20:14 +00:00
matz
c89e82837f
* lib/irb/locale.rb (IRB::Locale::puts): typo fixed. a patch from
...
NAKAMURA Usaku <usa@ruby-lang.org>. [ruby-dev:30012]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-14 09:27:36 +00:00
nobu
aea5a17fc4
* lib/optparse.rb (Switch#parse_arg, Switch#conv_arg): splat failures.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-12 14:34:26 +00:00
matz
6a37ae2f9d
* lib/irb/locale.rb (IRB::Locale::search_file): ues File.exist?
...
instead of File.exists?. [ruby-dev:30000]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-09 02:26:19 +00:00
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
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
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
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
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
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
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
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
knu
12f9e1b64d
* lib/set.rb (Set#^): Fix XOR operation against a container that
...
holds duplicate values. [issue: #6444 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-02 05:45:12 +00:00
matz
84e2f5268a
* lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): Symbol should
...
come earlier than String.
* lib/soap/mapping/rubytypeFactory.rb (RubytypeFactory::obj2soap):
ditto.
* lib/set.rb (TC_Set::test_s_new): strings are no longer
Enumerable
* lib/soap/property.rb (Property::load): ditto.
* lib/webrick/httputils.rb (WEBrick::HTTPUtils::parse_header): ditto.
* lib/soap/mimemessage.rb (MIMEMessage::Headers::parse): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-02 00:21:28 +00:00
matz
0f519375ab
* time.c (time_dup): duplicate the class of original time.
...
[ruby-core:09357]
* lib/time.rb (Time::make_time, Time::rfc2822, Time::httpdate):
should respect subclasses. [ruby-core:09357]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-31 08:08:46 +00:00
tadf
a95d67ebf7
updated based on date2 3.9.6.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-24 23:04:52 +00:00
eban
03f19e27ed
* lib/mkmf.rb: fixed the bug of handling COMMON_MACROS.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-20 02:33:49 +00:00
aamine
2f32af52c4
* lib/erb.rb: String#each was removed, use #each_line instead.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-17 13:03:24 +00:00
matz
58c0100a77
* array.c (rb_ary_unshift_m): a bug in lfree shift length
...
calculation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-16 14:35:51 +00:00
nobu
499d04674c
* lib/test/unit/collector/dir.rb (Collector::Dir#collect): append base
...
directory but not prepend.
* lib/test/unit/collector/dir.rb (Collector::Dir#collect_file): do not
join with dot. fixed: [ruby-core:09179]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-14 16:04:16 +00:00
tadf
c454e4ee04
updated based on date2 3.9.5.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-13 13:51:43 +00:00
nobu
272560359a
* lib/test/unit/collector/dir.rb (Collector::Dir#collect): prepend
...
base directory to load path.
* lib/test/unit/collector/dir.rb (Collector::Dir#collect_file): should
use the given File-like interface, but not File directly.
* test/testunit/collector/test_dir.rb (TestDir::FileSystem): implement
File-like methods correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-12 17:31:15 +00:00
matz
d947750eb0
* lib/date.rb (Date::self.complete_hash): need to check if g is
...
nil before dereference. [ruby-core:09116]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-12 16:51:14 +00:00
matz
f8a90f1c0c
* ext/tk/tkutil/tkutil.c (cbsubst_table_setup): need to handle new
...
character literal (1 char string).
* lib/mkmf.rb: shut up some warnings from tk's extconf.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-12 09:28:28 +00:00
matz
bb9f40a725
* lib/parsedate.rb: documentation patch from Konrad Meyer
...
<konrad.meyer@gmail.com>. [ruby-doc:1238]
* lib/open3.rb, lib/ping.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-09 14:49:49 +00:00
nobu
88d6c083ea
* ext/extmk.rb, lib/fileutils.rb, lib/mkmf.rb, lib/optparse.rb,
...
lib/shellwords.rb: get rid of shadowing outer local variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-09 14:41:24 +00:00
matz
c009be97e8
* lib/rexml/encoding.rb (REXML::Encoding::check_encoding): spaces
...
are allowed around equal sign. [ruby-core:09032]
* lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-09 14:00:59 +00:00
tadf
616044e47e
use __send! instead of funcall.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-09 13:44:26 +00:00
matz
c4e5ec23d3
* parse.y (block_param): restrict block parameters to be local
...
variables only.
* test/ruby/test_iterator.rb (TestIterator::test_nested_iterator):
update test suite to conform the last change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-03 15:59:45 +00:00
nobu
27841c008e
* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):
...
load expanded path. fixed: [ruby-dev:29621]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-02 14:48:44 +00:00
nobu
7d054f8913
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::COLLECTORS):
...
base directory should be lower precedence. fixed: [ruby-dev:29622]
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner#options): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-02 13:29:07 +00:00
nobu
5cfcbb2aca
* common.mk (test-all): separate directory where running test cases
...
from source tree.
* lib/test/unit/autorunner.rb (options): added --basedir, --workdir
and --load-path options.
* lib/test/unit/collector/dir.rb (recursive_collect, collect_file):
base directory support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-01 16:25:37 +00:00
nobu
eba3d4587f
* lib/optparse.rb (OptionParser#make_switch): pass arguments directly.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-01 14:13:16 +00:00
tadf
41b80c47d0
updated based on date2 3.9.4.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-30 06:13:17 +00:00
eban
cab3b4e92f
* jcode.rb (succ!): call original succ! if $KCODE == 'n'.
...
fixed: [ruby-talk:216845]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-29 03:31:01 +00:00
nobu
5f1caf89e4
* lib/mkmf.rb (try_func): revert fallback checking undeclared function.
...
fixed: [ruby-core:08949]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-29 02:44:37 +00:00
nobu
60a289741c
* lib/optparse.rb (OptionParser::Switch#conv_arg): unsplat by
...
Proc#call if no conversion is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-29 00:57:47 +00:00
nobu
05c1ab35fc
* lib/optparse.rb (parse_in_order): splat arguments to callback block.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-29 00:30:49 +00:00
usa
406479b3b5
* lib/tmpdir.rb: use return value of getdir.call for length.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-28 11:54:37 +00:00
matz
02a8f15c9b
* lib/cgi.rb (CGI::TagMaker::nOE_element_def): replace to_s by
...
join. some other methods as well. [ruby-dev:29613]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-27 08:37:48 +00:00
nobu
4f6f0b1066
* lib/mkmf.rb (try_func): check function pointer first and macro next.
...
* lib/mkmf.rb (have_type): simplified with typedef and sizeof.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-26 16:05:52 +00:00
nobu
f3846ac51b
* lib/optparse.rb (OptionParser#parse_in_order): wrong splat for
...
callbacks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-26 15:49:44 +00:00