nobu
3e4b129b56
properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 17:06:22 +00:00
nobu
d968f62558
* NEWS: added Etc::{Passwd,Group}.each.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 16:59:06 +00:00
akr
9bd0ecd917
add comments for rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 16:29:43 +00:00
akr
0b058a1c2a
forgot to modify.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 16:17:03 +00:00
akr
e14c9923b4
* ext/openssl: avoid cyclic require.
...
* ext/openssl/lib/openssl/ssl-internal.rb: renamed from ssl.rb
* ext/openssl/lib/openssl/x509-internal.rb: renamed from x509.rb.
* lib/net/imap.rb: require openssl, instead of openssl/ssl.
* lib/net/pop.rb: require openssl, instead of openssl/ssl.
[ruby-dev:38018]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 16:09:44 +00:00
nobu
47d55a02a3
* ext/etc/etc.c (Etc::Passwd.each, Etc::Group.each): new methods.
...
[ruby-dev:37999]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 15:55:49 +00:00
akr
28cf7a6d6f
* ext/socket/ancdata.c (bsock_sendmsg_internal): make the padding
...
removing only on NetBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 14:26:34 +00:00
akr
536adb5d7c
care EWOULDBLOCK of accept_nonblock.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 11:05:35 +00:00
akr
2f8b471b89
fix an error message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 10:43:55 +00:00
akr
3d39a9a070
* ext/socket/ancdata.c (bsock_sendmsg_internal): should not remove the
...
last padding of control messages, basically.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 10:40:20 +00:00
nobu
0958624759
* test/ostruct/test_ostruct.rb (test_frozen): added assertions.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 09:57:12 +00:00
nobu
62dd7a00fc
* string.c (rb_str_shared_replace): no need for
...
str_make_independent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 03:50:59 +00:00
ko1
c9e4dc308f
* compile.c: fix to add "ensure" codes across "while" clause
...
before "return" expression. [ruby-dev:37967]
* bootstraptest/test_flow.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-16 20:54:58 +00:00
svn
cd2434deb6
* 2009-02-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-16 16:55:38 +00:00
akr
d9bb9b3255
* ext/socket/mkconstants.rb: generate rb_define_const directly for
...
rdoc.
* ext/.document: add socket/constdefs.c.
* ext/socket/constants.c (sock_define_const): removed.
(sock_define_uconst): ditto.
(rb_mSockConst): new static variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-16 16:55:33 +00:00
akr
835fa875cc
mention OpenBSD version.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-16 14:36:28 +00:00
akr
351f54de45
* ext/socket/ancdata.c (bsock_sendmsg_internal) [OpenBSD]: don't remove
...
the last padding to prevent sendmsg failure in test_udp_server in
test/socket/test_socket.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-16 14:34:01 +00:00
azav
112b228273
* symbian/setup: Update Symbian config to match recent changes in missing/alloca.c
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-16 13:01:52 +00:00
azav
1b85104996
* symbian/setup: Update Symbian config to match recent changes in missing/alloca.c
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-16 12:55:49 +00:00
knu
f5ca95ee10
* class.c (rb_scan_args), README.EXT, README.EXT.ja: Add support
...
for specifying the number of the trailing mandatory arguments.
Update the documents accordingly. [ruby-dev:37995]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-16 08:04:56 +00:00
nobu
1e5de389da
* debug.c (set_debug_option): added rtc_error option.
...
* win32/Makefile.sub (CRTDEFFLAGS): separated from DEFS.
* win32/win32.c (rtc_error_handler): ignores RTC errors unless
rtc_error debug option is given.
* win32/win32.c (rb_w32_sysinit): suppress useless CRT assertions.
[ruby-core:22116]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-16 07:46:24 +00:00
knu
2b206be6ac
Improve documentation of rb_scan_args().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-16 05:54:17 +00:00
nobu
2a3d58d692
* complex.c (f_signbit): fixed indentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15 17:39:38 +00:00
nobu
82fa04e212
* win32/win32.c (_CrtDbgReportW): prevent from false positive
...
assertions in msvcrtd. [ruby-core:22116]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15 16:18:01 +00:00
nobu
a4eb339564
* lib/ostruct.rb (OpenStruct#new_ostruct_member): checks if frozen.
...
[ruby-talk:328195], [ruby-core:22142]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15 12:43:46 +00:00
nobu
8fc45476eb
* lib/test/unit/assertions.rb (Test::Unit::Assertions): aliases
...
assert_not_ methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15 12:22:50 +00:00
akr
1f125adde0
updated.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15 10:03:02 +00:00
akr
57394f1484
mention SecureRandom.urlsafe_base64.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15 09:42:00 +00:00
akr
357f66670c
* lib/securerandom.rb (SecureRandom.urlsafe_base64): new method.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15 07:58:31 +00:00
akr
d40578e438
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15 07:18:14 +00:00
akr
e279c5d6e5
* hash.c (hash_i): use Murmurhash.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15 05:59:03 +00:00
akr
08638ed7b8
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15 05:19:39 +00:00
nobu
b955b34d5f
* variable.c (rb_define_hooked_variable): suppress false assertion
...
with VC9. [ruby-core:22115]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15 02:45:31 +00:00
akr
29f73c43a5
* test/test_pp.rb: extract from lib/pp.rb.
...
* test/test_prettyprint.rb: extract from lib/prettyprint.rb.
* test/test_tsort.rb: extract from lib/tsort.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 23:36:45 +00:00
akr
a2f28cb6f5
add timeout.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 22:30:56 +00:00
akr
183582ab29
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 22:04:21 +00:00
akr
1b4c1f715e
* lib/time.rb (Time.parse): raise ArgumentError if Date._parse don't
...
extract date information. [ruby-core:20912]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 22:03:28 +00:00
mame
e722ad99d5
* string.c (rb_hash_uint32, rb_hash_uint, rb_hash_start, rb_hash_end),
...
include/ruby/intern.h: add Murmurhash API. [ruby-dev:37784]
* complex.c (nucomp_hash), array.c (rb_ary_hash), time.c (time_hash),
string.c (rb_str_hsah), object.c (rb_obj_hash), range.c
(range_hash), struct.c (rb_struct_hash), hash.c (rb_any_hash),
rational.c (nurat_hash): use Murmurhash. [ruby-dev:37784]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 19:55:34 +00:00
mame
a48f90b05b
* hash.c (rb_hash): always return a fixnum value because a return
...
value of rb_hash may be used as a hash value itself and bignums have
no unique VALUE.
* test/ruby/test_hash.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 18:53:40 +00:00
nobu
766df600db
* array.c (rb_ary_uniq_bang, rb_ary_uniq): unique by the result of
...
given block. [ruby-dev:37998]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 15:45:43 +00:00
nobu
e1646e639a
* array.c (ary_resize_capa): should not overwrite outside embedded
...
array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 15:39:46 +00:00
akr
a8167d58b9
remove Id keyword.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 12:14:38 +00:00
akr
f343c9d3b7
remove Id keyword.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 12:00:54 +00:00
akr
5b512b7fa9
* test/test_time.rb: extracted from lib/time.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 11:19:52 +00:00
akr
9ddde2773f
add timeout.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 11:06:23 +00:00
akr
23843e8b3c
* lib/pathname.rb: obsolete methods removed.
...
[ruby-core:21564]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 10:21:15 +00:00
takano32
53bea54768
* iseq.c: remove nil parameter from Proc#parameters
...
after rest appeared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 04:15:32 +00:00
naruse
28eb7acf2c
* string.c (rb_external_str_new_with_enc): change evaluatioin order
...
for speed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-13 22:31:46 +00:00
akr
9d37857e2b
* ext/socket/sockport.h (SET_SA_LEN): cast to void for supressing a
...
warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-13 17:21:53 +00:00
svn
6c4d5d1c0d
* 2009-02-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-13 17:11:35 +00:00