ttate
c2e1ef22b9
if dlload fail to load a library, it should raise an error.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-08 14:38:02 +00:00
matz
8d5e6a0fc6
* array.c (rb_ary_nitems): add the block feature to Array#nitems.
...
suggested by Bertram Scharpf <lists@bertram-scharpf.de> in
[ruby-talk:134083].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-08 03:30:56 +00:00
matz
5ef43814a8
* bignum.c (get2comp): revert all prior changes, and calculate
...
proper 2's complement for negative numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-08 02:16:35 +00:00
nobu
17920c7a9e
* enum.c (enum_min_by, enum_max_by): return nil if no iteration.
...
fixed: [ruby-dev:26245]
* eval.c (rb_need_block): ensure a block is given.
* eval.c (backtrace): skip successive frames sharing same node.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07 23:33:51 +00:00
matz
db128e1b31
* bignum.c (bignorm): fixed a bug in normalizing negative numbers
...
reported from Honda Hiroki <hhonda@ipflex.com>. normalizing
should not trim preceding zeros from negative numbers.
* ext/socket/socket.c (ruby_getaddrinfo__aix): merged a patch from
KUBO Takehiro <kubo@jiubao.org> to support AIX. [ruby-list:40832]
* lib/yaml/rubytypes.rb (Array::to_yaml): merged a patch from
Tilman Sauerbeck <tilman@code-monkey.de>. [ruby-core:05055]
* lib/yaml/rubytypes.rb (Hash::to_yaml): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07 16:33:01 +00:00
eban
3ec9537664
* 2005-06-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07 15:08:31 +00:00
matz
39b30616a5
* ext/curses/curses.c (curses_insertln): merged a patch from
...
TAKAHASHI Tamotsu <ttakah@lapis.plala.or.jp>. [ruby-ext:02305]
* lib/irb/init.rb (IRB::IRB.rc_file_generators): more flexible
IRB.rc_file_generators. [ruby-core:05163]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07 15:02:32 +00:00
matz
a6e6bb626c
* lib/thread.rb: RDoc documentation from Eric Hodel
...
<drbrain@segment7.net> added. [ruby-core:05148]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07 09:41:17 +00:00
nobu
f36783751b
* lib/mkmf.rb (create_makefile): add .SUFFIXES from depend file.
...
fixed: [ruby-dev:26294]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07 09:30:35 +00:00
ocean
15dfe8eee6
* ext/tk/sample/tkextlib/tile/themes/kroc.{rb,tcl}: also support tile 0.4.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07 09:04:18 +00:00
nobu
1049fd5f64
* ChangeLog: fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07 08:54:18 +00:00
matz
a99cc44c8d
* parse.y (parser_yylex): small error fixed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07 08:35:04 +00:00
matz
549c345cef
* parse.y (parser_yylex): allow ';;' to be block terminator in
...
place of 'end'. [highly experimental]
* misc/ruby-mode.el (ruby-block-end-re): allow ';;' for a negative
indent trigger. [highly experimental]
* parse.y (parser_yylex): "respond_to?:foo" should be interpreted
as "respond_to? :foo" at the command level. [ruby-talk:144303]
* sprintf.c (rb_f_sprintf): raise exception on debug mode (-d),
not verbose mode (-w/-w). [ruby-core:05123]
* sprintf.c (rb_f_sprintf): warn always on verbose mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07 08:22:42 +00:00
ocean
7eef190796
* sample/tkextlib/tile/themes/kroc.{rb,tcl}: support tile 0.5 or later.
...
("pixmap" element constructor replaced by "image")
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07 05:11:55 +00:00
akr
261f8e0f73
skip test if openssl is not available.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07 02:49:16 +00:00
eban
b12b406e98
* 2005-06-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07 01:37:24 +00:00
nagai
78e266c241
* ext/tk/lib/multi-tk.rb: slave-ip fails to call procedures
...
delegated by master-ip.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07 01:33:12 +00:00
usa
0e7ab28c36
* ext/ripper/depend: add .y to .SUFFIXES for nmake.
...
fixed: [ruby-dev:26294]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-06 07:37:07 +00:00
eban
99645d57db
* 2005-06-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-06 04:54:00 +00:00
ocean
d993088277
* ext/tk/lib/tk/console.rb: create console when required
...
* ext/tk/sample/tkextlib/tile/demo.rb: create Console (commit miss?)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-06 04:47:43 +00:00
eban
aa91b7bd5d
* 2005-06-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-05 14:07:21 +00:00
nagai
80eef0fd3b
* ext/tk/lib/tk/console.rb: create console when required
...
* ext/tk/sample/tkextlib/tile/demo.rb: fix TypeError & create Console
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-05 14:03:41 +00:00
akr
8507219097
kill a process spawned by test_exit_action.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-05 07:04:06 +00:00
akr
73c5a99b50
* signal.c (ruby_signal): don't set SA_RESTART.
...
[ruby-dev:26276]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-05 01:26:01 +00:00
akr
cd8d93d0cd
* test/dbm/test_dbm.rb: merged from ext/dbm/testdbm.rb.
...
* test/gdbm/test_gdbm.rb: merged from ext/gdbm/testgdbm.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-04 05:59:16 +00:00
akr
f27ff52d1e
add a test for file descriptor passing.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-04 02:40:40 +00:00
akr
8a85b8bef1
fix another IPv6 issue.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 20:40:39 +00:00
akr
a1782f4e6a
avoid IPv6 issue.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 18:03:52 +00:00
akr
0ad0462183
add ML number.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 17:14:06 +00:00
akr
ea0a08fddd
set verify_mode to avoid a warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 16:49:56 +00:00
akr
49f4ef7d03
* test/sdbm/test_sdbm.rb: renamed from ext/sdbm/testsdbm.rb with
...
modification to use test/unit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 16:43:39 +00:00
eban
6c4d802e14
* 2005-06-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 16:17:17 +00:00
akr
f7298a29ea
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 16:11:40 +00:00
akr
5794d80d53
add a test for [ruby-dev:26128].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 14:39:15 +00:00
nobu
c9d126aec9
* intern.h (rb_fdset_t): deal with fd bit sets over FD_SETSIZE.
...
fixed: [ruby-dev:26187]
* eval.c (rb_fd_init, rb_fd_term, rb_fd_zero, rb_fd_set, rb_fd_clr,
rb_fd_isset, rb_fd_copy): ditto.
* io.c (rb_io_wait_readable, rb_io_wait_writable, rb_f_select): ditto.
* ext/io/wait/wait.c (io_wait): ditto.
* ext/socket/socket.c (wait_connectable, unix_recv_io): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 14:23:17 +00:00
eban
f0ede6b31c
* 2005-06-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 05:19:49 +00:00
nagai
dc5a620aa0
* ext/tk/lib/multi-tk.rb: fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 05:08:40 +00:00
nobu
d2a81a3aa3
* parse.y: pragma support on ripper. [ruby-dev:26266]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-02 14:43:10 +00:00
matz
34adacb036
* parse.y (method_call): new experiment: "(expr)(args...)" to
...
invoke "expr.call(args...)". [EXPERIMENTAL]
* parse.y (command): revert implicit "call" for local variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-02 07:26:10 +00:00
eban
f2469dc78a
* 2005-06-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-01 15:11:04 +00:00
aamine
3aa5496c98
* struct.c: accessing >10 member caused segmentation fault. [ruby-dev:26247]
...
* test/ruby/test_struct.rb: test it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-01 15:03:09 +00:00
eban
a9543d64f1
* 2005-06-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-01 03:13:54 +00:00
ocean
ec98300405
* bcc32/Makefile.sub: can use single quote character in DESTDIR.
...
[ruby-dev:26205]
* bcc32/Makefile.sub: Dir.glob in 1.9 doesn't treat \ as path separator.
[ruby-dev:26254]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-01 02:35:35 +00:00
eban
fe473adee7
* 2005-05-31
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-31 06:56:41 +00:00
gotoyuzo
3894044308
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should
...
break the loop if the socket reached to EOF. [ruby-talk:142285]
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): send response
without reading the whole request body if keep-alive is diabled.
[experimental]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-31 06:53:58 +00:00
eban
6622dfe58f
* 2005-05-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-30 14:59:30 +00:00
nagai
bd47024ab6
* ext/tk/lib/macpkg.rb: add PACKAGE_NAME information of Tcl/Tk Extension.
...
* ext/tk/lib/tk/msgcat.rb: ditto.
* ext/tk/lib/tk/winpkg.rb: ditto.
* ext/tk/lib/tkextlib/*: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-30 14:53:52 +00:00
eban
99cdce85f2
* 2005-05-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-29 05:17:10 +00:00
akr
89d21d118d
add a test for [ruby-dev:26127].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-29 04:55:56 +00:00
gotoyuzo
1e0f2f7ca8
* test/openssl/test_x509store.rb: add test for expired CRL
...
and refine some assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-28 07:41:36 +00:00