usa
82041cfdec
* ext/socket/mkconstants.rb: define IPV6_* constants only when INET6
...
is defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-22 10:32:51 +00:00
usa
52d3e529ab
* ext/socket/extconf.rb: ipv6 support is disabled by default on mswin.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-22 10:24:37 +00:00
usa
ce1ef5b604
* ext/socket/ipsocket.c (init_inetsock_internal): drop IPv6 addresses
...
if INET6 is not defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-22 08:42:12 +00:00
usa
6b7603194d
* ext/socket/extconf.rb: enable ipv6 support for win32.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-22 08:30:41 +00:00
yugui
e1f50e2564
* hash.c (Hash::[]): rdoc. patch by Marc-Andre Lafortune.
...
#1385 .
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-22 07:46:37 +00:00
usa
681dce6bfe
* win32/win32.c (WSABUF): get rid of compile error on VC9 and mingw.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-22 01:01:27 +00:00
nobu
2e4ad56fc2
* test/ruby/test_rand.rb (test_big_seed): tests also instance methods.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 23:38:23 +00:00
keiju
5ab016489c
* lib/irb.rb: forget svn commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 17:35:24 +00:00
matz
300d60a8e4
* bootstraptest/test_io.rb: block write may block for long time.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 16:36:41 +00:00
svn
09d18a1a8f
* 2009-07-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 15:40:05 +00:00
keiju
24a510a11e
* lib/irb.rb, lib/irb/init.rb, lib/irb/ext/save-history.rb: add
...
IRB::irb_at_exit. no use finalizer saving history. [ruby-dev-38563]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 15:39:51 +00:00
mame
4516f623b8
* random.c (rand_init): array length of random seed was broken, which
...
causes memory error with srand(2**1000000-1).
* test/ruby/test_rand.c: test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 14:51:17 +00:00
keiju
7203e59f27
* lib/irb/cmd/help.rb: fixed irb's "help" command. [ruby-core:22310].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 12:41:01 +00:00
keiju
623cfccb6f
* lib/tracer.rb: no show lines unkonwn line number. [ruby-core:22096],
...
no trace display c-call and c-return as default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 11:45:24 +00:00
suke
904abb1d9b
* ext/win32ole/win32ole.c (vtdate2rbtime): VT_DATE variant object
...
is converted to Time object now.
* test/win32ole/test_win32ole_variant.rb (test_s_new_with_nil,
test_conversion_time2date, test_conversion_str2date,
test_conversion_vt_date, test_set_value): ditto.
* ext/win32ole/win32ole.c (rbtime2vtdate): refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 07:27:08 +00:00
nobu
4ec8dc6d61
* lib/tracer.rb: toplevel caller exists now. [ruby-core:24454]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 07:08:02 +00:00
usa
9dd0d27156
* win32/win32.[ch] (recvmsg, sendmsg): new functions to support recvmsg/
...
sendmsg like UNIX. these functions are experimental and not tested
well. bug reports are welcome.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 04:38:20 +00:00
usa
3f0308dbf1
* win32/Makefile.sub (TEST_RUNNABLE): follow r24209.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 04:35:56 +00:00
nobu
9009b471da
* gc.c (rb_gc_enable, rb_gc_disable): should return Qtrue/Qfalse.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 03:45:37 +00:00
nobu
ea850e3030
* variable.c (rb_generic_ivar_memsize): should not remove generic
...
instance variable table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 03:38:17 +00:00
naruse
c38487d063
* io.c (rb_f_open): add rdoc about specifying ext_enc as *-bom.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-20 11:37:26 +00:00
nobu
5a392c71db
* compile.c (compile_dstr_fragments): reduced needless literal.
...
* parse.y (xstring, regexp, dsym, literal_concat, evstr2dstr):
literal at the top of dstr is no longer needed if it is empty,
since concatstrings and toregexp always create new strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-20 10:01:05 +00:00
wanabe
abc20ed0f4
* lib/matrix.rb (Matrix#rank): revert a part of r20859 to avoid
...
infinite loop. [Bug #1020 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-20 03:53:19 +00:00
akr
aea1193a96
updated.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-20 03:29:22 +00:00
nobu
ce34147cf4
* configure.in, Makefile.in (TEST_RUNNABLE): tests are not
...
runnable if cross-compiling.
* common.mk (btest*, test*): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-20 02:13:00 +00:00
svn
1a36dbe3ba
* 2009-07-20
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-20 01:57:43 +00:00
akr
5453433223
* ext/socket/lib/socket.rb (Addrinfo#family_addrinfo): fix a typo in
...
error message. patch by Nobuhiro IMAI. [ruby-dev:38828]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-20 01:57:32 +00:00
tadf
bb45f1b2b8
* rational.c (float_to_r): an improvement.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-19 13:25:05 +00:00
tadf
a7290749a5
* complex.c (make_patterns): do not use \d.
...
* rational.c (make_patterns): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-19 11:43:23 +00:00
akr
666049981f
Use UDP for sendmsg/recvmsg tests.
...
sendmsg/recvmsg doesn't work with SOCK_STREAM on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-19 08:53:11 +00:00
nobu
2737b90e36
* io.c (io_read): should taint the result. [ruby-dev:38826]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-19 08:32:44 +00:00
nobu
33fc55acef
* vm_method.c (me_opts): fixed optimized method aliasing.
...
[ruby-dev:38824]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-19 02:00:27 +00:00
akr
3d57dfa01b
* ext/socket/lib/socket.rb (Socket.accept_loop): rescue
...
IO::WaitReadable instead of Errno::EWOULDBLOCK.
(Socket.udp_server_loop_on): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-19 01:56:50 +00:00
usa
828d7a368a
* test_socket.rb (test_udp_server): cannot check the existance of sendmsg by
...
respond_to?.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-19 00:48:40 +00:00
svn
1e18f3a857
* 2009-07-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-18 15:01:00 +00:00
naruse
acbb181219
use rb_enc_get to get the encoding of a Regexp object.
...
* re.c (reg_enc_error): use rb_enc_get to get the encoding of
a Regexp object. REGEXP(re)->ptr->enc is the encoding of the
regexp engin for patterns and target strings.
[ruby-core:23208]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-18 15:00:50 +00:00
nobu
33151fcfe4
* string.c (rb_str_hash_cmp): got rid of overflow.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-18 08:43:30 +00:00
nobu
e07cb859cc
* suppressed shorten-64-to-32 warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-18 08:05:32 +00:00
nobu
0f6d9dfc96
* array.c: suppressed shorten-64-to-32 warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-18 07:22:42 +00:00
nobu
b3b7cd5f0e
* include/ruby/defines.h (TRUE, FALSE): for internal use.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-18 07:03:15 +00:00
usa
4c7c46b6af
* random.c: workaround for VC++ 6.0.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-18 02:40:31 +00:00
nobu
f3d022543e
* random.c (rb_random_{int32,real,bytes,int}): added functions for
...
extension libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-18 00:16:25 +00:00
nobu
8195282dfc
* random.c (fill_random_seed): needs wincrypt.h.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-18 00:10:46 +00:00
nobu
b12c5a85b4
* random.c (fill_random_seed): use cryptographic service on Windows.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-18 00:07:07 +00:00
nagai
924e2fcefa
* ext/tk/lib/tk.rb: fail to create a widget object for an unknown wiget path.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-17 22:57:10 +00:00
akr
bdfe1c7f8e
fix skip condition.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-17 22:28:28 +00:00
nagai
556232734e
* ext/tk/lib/tk.rb,ext/tk/lib/tk/grid.rb: Bug fix on grid_slaves().
...
Extend usage pattern of grid_column()/grid_row().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-17 22:09:14 +00:00
usa
436b2f887a
* include/ruby/win32.h: include winsock headers in extern "C++" for
...
C++ extension libraries.
* include/ruby/missing.h (vsnprintf): workaround for VC++.
[ruby-core:23096]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-17 21:33:05 +00:00
svn
7d7ca2d9ec
* 2009-07-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-17 15:26:40 +00:00
yugui
37859b5227
* ext/readline/readline.c (Init_readline): rl_catch_signals does
...
not exist on some platform like Mac OS X 10.5.
* ext/readline/extconf.rb: checks existance of rl_catch_signals.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-17 15:26:30 +00:00