tenderlove
4395758903
* ext/zlib/zlib.c: added Zlib.crc32_combine and Zlib.adler32_combine
...
* test/zlib/test_zlib.rb: corresponding tests [ruby-core:27551]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-19 00:06:04 +00:00
mame
77f3fc3054
* test/ruby/test_array.rb: add some tests (for coverage).
...
* test/ruby/test_bignum.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-18 17:03:16 +00:00
mame
34b93543fc
* test/ruby/test_bignum.rb: some coerce definitions (for test) was
...
wrong.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-18 17:00:55 +00:00
mame
7f418222b1
* bignum.c (bigsub_int): remove nonsense loop.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-18 16:55:15 +00:00
svn
98fb593998
* 2010-01-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-18 16:43:33 +00:00
mame
6b438bee04
* parse.y (top_compstmt, top_stmts, top_stmt): prohibit BEGIN {} in
...
non-toplevel scope. [ruby-core:21657]
* test/ruby/test_beginendblock.rb (test_begininclass): add a test for
above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-18 16:43:29 +00:00
nobu
f00951bb25
* lib/webrick/httpservlet/filehandler.rb (make_partial_content):
...
add bytes-unit. [ruby-dev:40030]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-18 08:16:07 +00:00
nobu
9c54d38d60
* test/webrick/test_cgi.rb: require util.rb first to override the
...
executable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-18 07:50:08 +00:00
nobu
67244d1a70
* lib/net/http.rb (Net::HTTPHeader#{content_range,range_length}):
...
use inclusive range same as the header representation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-18 06:49:46 +00:00
naruse
5ed5439af4
Add call-seq for Net::HTTP.start.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-18 06:32:14 +00:00
svn
5b92feaa93
* 2010-01-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-17 19:12:14 +00:00
knu
d8f265b332
* ext/digest/digest.c (rb_digest_instance_hexdigest_bang): Fix
...
rdoc.
* ext/digest/lib/digest.rb (Digest::Class.base64digest)
(Digest::Instance#base64digest{,!}): New methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-17 19:12:10 +00:00
knu
7bfdad3b62
* ext/digest/digest.c (rb_digest_instance_digest)
...
(rb_digest_instance_hexdigest): Save a method call of reset()
for a disposable clone.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-17 13:57:17 +00:00
nobu
441619b73c
* math.c (domain_check): check errno first.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-17 10:24:27 +00:00
nobu
12278f0b70
* lib/webrick/https.rb (parse_uri, meta_vars): suppress warnings.
...
* lib/webrick/ssl.rb (listen): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-17 05:31:52 +00:00
nobu
9b58e8454a
* ext/iconv/iconv.c (rb_str_derive): use long.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-17 05:24:36 +00:00
nobu
bb6e6903ca
* ext/iconv/iconv.c (iconv_convert): suppress a warning.
...
* lib/mkmf.rb (check_signedness): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-17 05:23:25 +00:00
nobu
37db97c0e1
* lib/mkmf.rb (have_header, create_header): use String#tr_cpp.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-17 05:18:03 +00:00
naruse
8eacd6d930
Add *.o
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-16 16:53:22 +00:00
svn
b18927745a
* 2010-01-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-16 16:53:20 +00:00
naruse
8a73c0ec5f
Fix test when default_external is US-ASCII.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-16 16:53:17 +00:00
nobu
41d8e49dc5
* numeric.c (flo_hash, int_chr): fixed type.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-14 04:07:00 +00:00
nobu
441dbecf43
* string.c (rb_str_concat): fixed range check for Fixnum, and
...
added checks for integer overflow and invalid char code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-14 03:50:39 +00:00
naruse
b3d8a4060c
* string.c (rb_str_concat): raise RangeError when the argument is
...
negative value. [ruby-core:27583]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-14 00:39:40 +00:00
akr
4bf4ddb693
* time.c (time_to_r): convert to rational if internal representation
...
is not rational.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-13 23:51:16 +00:00
akr
49ab7b4238
update rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-13 19:49:39 +00:00
akr
d5a96ece85
* time.c (time_mdump): use nano_num and nano_den instead of subnano to
...
avoid Rational class in marshaled data which prevent unmarshal by
Ruby 1.8.
(time_mload): use nano_num and nano_den.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-13 19:04:17 +00:00
svn
17f04eb438
* 2010-01-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-13 17:00:49 +00:00
akr
55a4c972df
add tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-13 17:00:48 +00:00
akr
aac3a6bd97
fix typos.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-13 11:23:04 +00:00
naruse
cce8e77760
Add news.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-13 06:26:11 +00:00
marcandre
fb2941a4ec
* object.c (rb_class_initialize): Make sure BasicObject doesn't get initialized twice [ruby-core:27577]
...
* class.c (rb_class_init_copy): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-13 02:57:48 +00:00
usa
187a32495b
* ChangeLog: small typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-13 02:54:05 +00:00
nobu
93fb4aaed9
* ChangeLog: added reporter's name.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-13 02:38:07 +00:00
nobu
23a4f81625
* configure.in: check for if struct timezone is defined.
...
* missing.h (struct timezone): define if not defined.
* win32/win32.h (struct timezone): defined in the newer w32api.
[ruby-core:27515]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12 21:54:47 +00:00
svn
12d782749f
* 2010-01-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12 15:35:11 +00:00
naruse
19f6839c0c
* lib/shell/command-processor.rb: fix typo by Sho Hashimoto.
...
reported and patched at [ruby-dev:40058] [Bug #2599 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12 15:35:08 +00:00
kou
06dfb68d54
* lib/rss/maker/base.rb, test/rss/test_maker_0.9.rb:
...
accept any time format in maker. [ruby-core:26923]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12 14:52:11 +00:00
akr
f6f3d1bc0e
* string.c (rb_str_set_len): call rb_str_modify.
...
* file.c (realpath_rec): don't call rb_str_modify before
rb_str_set_len.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12 12:56:15 +00:00
akr
d60d63ef80
* file.c (realpath_internal): call rb_secure.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12 11:47:03 +00:00
nobu
3b42acc8c1
* lib/net/http.rb (Net::HTTP.start): options may not be given.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12 07:48:48 +00:00
nobu
0d354933c5
* ext/readline/readline.c (readline_readline): check if instream
...
is closed instead of fd 0.
* ext/readline/readline.c (Init_readline): use STDIN for input.
http://d.hatena.ne.jp/codnote/20100111/1263174134
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12 07:48:06 +00:00
nobu
8f3f9d715f
* test/ruby/envutil.rb (EnvUtil#rubybin): fake also rbconfig.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12 07:41:40 +00:00
wanabe
a6b81a6b6e
* test/ruby/test_process.rb (test_execopts_env): MANDATORY_ENVS might
...
not be a part of ENV. e.g. TMPDIR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12 07:12:12 +00:00
naruse
b5227ae183
* lib/net/http.rb (Net::HTTP#start): add hash argument to
...
set ssl related options. when use_ssl is set default value
of verify_mode is OpenSSL::SSL::VERIFY_PEER. [ruby-dev:40003]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12 05:56:28 +00:00
usa
4301bbbe0f
* win32/win32.c (init_env): use _wputenv() instead of
...
SetEnvironmentVariableW() because latter doesn't set msvcrt's environ
work area, of course.
[Bug #2552 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12 05:54:47 +00:00
usa
37ce3f6e0d
* file.c (realpath_rec): trace symbolic link only when supporting
...
readline().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12 04:35:53 +00:00
nobu
33ede4d01c
* misc/ruby-mode.el (ruby-here-doc-beg-match): fix for here-doc
...
which ends with an underscore.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12 03:49:42 +00:00
usa
ca52e3be5c
* hash.c: need to include errno.h for EINVAL.
...
* hash.c (ruby_setenv): fixed typo. see [ruby-dev:40026]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12 01:00:34 +00:00
akr
8001de1434
add ML ref.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12 00:59:27 +00:00