Thu Jan 8 00:31:58 2009 Tanaka Akira <akr@fsij.org>
* lib/test/unit/assertions.rb (assert_no_match): don't count up as two
assertions.
Thu Jan 8 00:26:35 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c (addrinfo_getnameinfo): use NI_DGRAM if socktype
is SOCK_DGRAM.
Thu Jan 8 00:16:22 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c (host_str): add flags_ptr argument to specify
AI_NUMERICHOST if host is numeric form.
(port_str): add flags_ptr argument to specify AI_NUMERICSERV if port
is numeric form.
Wed Jan 7 22:24:12 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c (rb_cAddrInfo): new class AddrInfo.
(s_recvfrom): return AddrInfo as address.
(s_recvfrom_nonblock): ditto.
(sock_accept): ditto.
(sock_accept_nonblock): ditto.
(sock_sysaccept): ditto.
(bsock_send): accept AddrInfo as address argument.
(sock_connect): ditto.
(sock_connect_nonblock): ditto.
(sock_bind): ditto.
(sock_s_unpack_sockaddr_in): ditto.
(sock_s_unpack_sockaddr_un): ditto.
(bsock_local_address): new method BasicSocket#local_address.
(bsock_remote_address): new method BasicSocket#remote_address.
(addrinfo_initialize): new method AddrInfo#initialize.
(addrinfo_inspect): new method AddrInfo#inspect.
(addrinfo_afamily): new method AddrInfo#afamily.
(addrinfo_pfamily): new method AddrInfo#pfamily.
(addrinfo_socktype): new method AddrInfo#socktype.
(addrinfo_protocol): new method AddrInfo#protocol.
(addrinfo_to_sockaddr): new method AddrInfo#to_sockaddr.
(addrinfo_canonname): new method AddrInfo#canonname.
(addrinfo_ip_p): new method AddrInfo#ip?.
(addrinfo_ipv4_p): new method AddrInfo#ipv4?.
(addrinfo_ipv6_p): new method AddrInfo#ipv6?.
(addrinfo_unix_p): new method AddrInfo#unix?.
(addrinfo_getnameinfo): new method AddrInfo#getnameinfo.
(addrinfo_s_getaddrinfo): new method AddrInfo.getaddrinfo.
(addrinfo_s_tcp): new method AddrInfo.tcp.
(addrinfo_s_udp): new method AddrInfo.udp.
(addrinfo_s_unix): new method AddrInfo.unix.
(Init_socket): define new class and methods.
(sock_getaddrinfo): apply socktype hack regardless of ai_flags.
(addrinfo_new): defined.
(get_afamily): ditto.
(fd_socket_addrinfo): ditto.
(io_socket_addrinfo): ditto.
(SockAddrStringValue): ditto.
(SockAddrStringValuePtr): ditto.
(sockaddr_string_value): ditto.
(sockaddr_string_value_ptr): ditto.
(rb_addrinfo_t): ditto.
(addrinfo_mark): ditto.
(addrinfo_free): ditto.
(addrinfo_s_allocate): ditto.
(IS_ADDRINFO): ditto.
(check_addrinfo): ditto.
(get_addrinfo): ditto.
(alloc_addrinfo): ditto.
(init_addrinfo): ditto.
(addrinfo_new): ditto.
(call_getaddrinfo): ditto.
(init_addrinfo_getaddrinfo): ditto.
(make_inspectname): ditto.
(addrinfo_firstonly_new): ditto.
(addrinfo_list_new): ditto.
(init_unix_addrinfo): ditto.
(ai_get_afamily): ditto.
* ext/socket/mkconstants.rb: generate intern_protocol_family,
intern_socktype and intern_ipproto.
[ruby-dev:37692]
Wed Jan 7 22:13:03 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* instruby.rb (man, gem): fixed errors.
Wed Jan 7 17:14:40 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* instruby.rb: use installed libraries. [ruby-core:21006]
* instruby.rb (gem), lib/rubygems/defaults.rb (Gem.default_dir):
use version invariant configuration.
Tue Jan 6 19:09:51 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* cont.c (cont_restore_0): streamlined to ensure O(1) time. based on
a patch by Brent Roman <brent AT mbari.org>.
Tue Jan 6 00:34:25 2009 Tanaka Akira <akr@fsij.org>
* io.c (rb_close_before_exec): more heuristics to detect maximum fd.
Mon Jan 5 17:59:43 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (cygwin): needs properly implemented nl_langinfo().
[ruby-core:21110]
* missing/langinfo.c: added as suggested at [ruby-core:21015], from
http://www.cl.cam.ac.uk/~mgk25/ucs/langinfo.c.
* missing/langinfo.c (nl_langinfo_0): fixed typos for SJIS.
Mon Jan 5 17:38:40 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* encoding.c (rb_locale_charmap): use GetConsoleCP() instead of
GetACP() because external encoding should be console's one.
* encoding.c (rb_filesystem_encoding): use GetOEMCP() instead of
GetACP() because VFAT/FAT32 uses OEM CP.
Mon Jan 5 16:26:48 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* encoding.c (rb_filesystem_encoding): use ANSI codepage for file
system on cygwin.
* encoding.c (rb_locale_charmap): reverted. [ruby-core:21110]
Mon Jan 5 16:15:00 2009 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* ext/curses/curses.c (free_window): use xfree instead of free.
[ruby-dev:37200]
Mon Jan 5 15:49:45 2009 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* ext/gdbm/gdbm.c (rb_gdbm_fetch): remove needless cast.
Mon Jan 5 12:52:08 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* win32/win32.c (init_env): use user profile folder than personal
folder.
Mon Jan 5 08:41:13 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
* file.c (rb_file_s_stat): need type check for non string values.
[ruby-dev:37673] fix: #964
* file.c (rb_file_s_size, rb_file_s_atime, rb_file_s_mtime,
rb_file_s_ctime, rb_f_test): ditto.
Mon Jan 5 08:17:56 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
* range.c (range_step): should not add up errors on loops.
[ruby-dev:37691]
Mon Jan 5 07:58:37 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
* random.c (rb_f_srand): update RDoc. [ruby-core:21113]
Mon Jan 5 06:39:56 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
* range.c (range_max): max value from ... not defined for non
Integer Numeric end values. [ruby-dev:37690] fix: #974
Sun Jan 4 22:37:19 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c (rb_getaddrinfo): defined for address lookup without GVL.
(struct getaddrinfo_arg): defined.
(nogvl_getaddrinfo): defined.
(rb_getnameinfo): defined for name lookup without GVL.
(getnameinfo_arg): defined.
(nogvl_getnameinfo): defined.
Sun Jan 4 18:10:10 2009 Martin Duerst <duerst@it.aoyama.ac.jp>
* enc/trans/gbk.trans, gbk-tbl.rb:
new Chinese GBK transcoding (from Yoshihiro Kambayashi)
* test/ruby/test_transcode.rb: added tests for the above
(from Yoshihiro Kambayashi)
Sun Jan 4 17:55:55 2009 Martin Duerst <duerst@it.aoyama.ac.jp>
* test/ruby/test_transcode.rb: added tests for GB2312
(from Yoshihiro Kambayashi)
* enc/trans/chinese.trans: set valid byte patterns for
GB2312 and GB12345
Sun Jan 4 17:39:39 2009 Martin Duerst <duerst@it.aoyama.ac.jp>
* enc/trans/big5.trans, big5-tbl.rb:
new Chinese Big5 transcoding (from Yoshihiro Kambayashi)
* test/ruby/test_transcode.rb: added tests for the above
(from Yoshihiro Kambayashi)
Sun Jan 4 17:07:45 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/rubygems.rb (Gem.set_home, Gem.set_paths): should not create
directories stealthily. [ruby-core:20990]
* lib/rubygems.rb (Gem.find_home): expand_path deals with platform
dependent environments.
* lib/rdoc/ri/paths.rb (RDoc::HOMEDIR): ditto.
* instruby.rb (gem): creates gem directories at installation.
Sun Jan 4 15:41:37 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* encoding.c (rb_filesystem_encoding, rb_locale_charmap): uses
codepage on cygwin. [ruby-core:20994]
Sun Jan 4 11:58:43 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* numeric.c (ruby_float_step): extracted from num_step().
* range.c (range_step): uses ruby_float_step() for float range.
[ruby-dev:37691]
Sun Jan 4 11:11:31 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/extmk.rb (extmake): does not use both of makefile.rb and
extconf.rb at the same time.
* lib/mkmf.rb (DLLIB): depends on Makefile. [ruby-core:21096]
Sun Jan 4 09:27:41 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/socket/socket.c (constant_arg): constified.
* ext/socket/socket.c (optname_arg): cygwin does not have
IPPROTO_IPV6.
* ext/socket/mkconstants.rb (ipv6_optname_to_int): ditto.
Sun Jan 4 04:33:14 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c: redundant #ifdef removed.
Sun Jan 4 03:30:18 2009 Tanaka Akira <akr@fsij.org>
* io.c (maygvl_copy_stream_wait_read): renamed to add prefix to
express GVL state.
(nogvl_copy_stream_wait_write): ditto.
(nogvl_copy_stream_sendfile): ditto.
(maygvl_copy_stream_read): ditto.
(nogvl_copy_stream_write): ditto.
(nogvl_copy_stream_read_write): ditto.
(nogvl_copy_stream_func): ditto.
Sun Jan 4 00:30:50 2009 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
* lib/erb.rb: merged r20850, r17881, r16811, r16763, r16748, r15829,
r15794 and r15698 from ruby_1_8.
* test/erb/test_erb.rb: ditto.
Sat Jan 3 22:24:36 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* common.mk, Makefile.in, win32/Makefile.sub (INSNS): move the macro
definition from common.mk to {Makefile.in,win32/Makefile.sub}.
[ruby-dev:37678]
Sat Jan 3 15:30:09 2009 NARUSE, Yui <naruse@ruby-lang.org>
* enc/trans/chinese.trans: added for transcoding EUC-CN and GB12345.
* enc/trans/GB/: ditto.
Sat Jan 3 15:26:30 2009 NARUSE, Yui <naruse@ruby-lang.org>
* enc/trans/euc-cn.c: renamed from gb2312.c because GB2312 is
the name of a CSS. it's encoding name is "EUC-CN".
Sat Jan 3 03:00:42 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* common.mk, Makefile.in, win32/Makefile.sub ($(INSNS), node_name.inc,
known_errors.inc, miniprelude.c, newline.c): move rules from common.mk
to {Makefile.in,win32/Makefile.sub} for nmake.
[ruby-core:20993]
Fri Jan 2 23:51:41 2009 Yusuke Endoh <mame@tsg.ne.jp>
* test/ruby/test_sleep.rb (test_sleep_5sec): stop gc.
Fri Jan 2 23:36:10 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c: don't apply socktype hack [ruby-core:184] for
sock_s_getaddrinfo.
(sock_getaddrinfo): add socktype_hack argument.
(sock_addrinfo): call sock_getaddrinfo with socktype_hack.
(sock_s_getaddrinfo): call sock_getaddrinfo without socktype_hack.
[ruby-dev:37674]
Fri Jan 2 23:33:38 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* include/ruby/missing.h, sprintf.c: get rid of a warning of VC++.
Fri Jan 2 22:25:46 2009 Yusuke Endoh <mame@tsg.ne.jp>
* process.c: use sigaction instead of sigset. [ruby-core:21021]
Fri Jan 2 22:22:04 2009 Yusuke Endoh <mame@tsg.ne.jp>
* bootstraptest/test_proc.rb: suppress error message.
Fri Jan 2 22:20:46 2009 Yusuke Endoh <mame@tsg.ne.jp>
* test/ruby/test_process.rb (test_wait_and_sigchild): remove debug
output.
Fri Jan 2 17:45:19 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb: rename family_to_str to intern_family.
it returns ID now.
* ext/socket/socket.c (ipaddr): use intern_family.
Fri Jan 2 17:20:31 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb: use ID in the values of
family_to_str_hash. family_to_str returns a VALUE.
* ext/socket/socket.c (ipaddr): follow family_to_str change.
Fri Jan 2 17:01:51 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb: refactored to gather stringizer
description.
Fri Jan 2 15:30:57 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb: make common prefix optional.
Fri Jan 2 14:59:52 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb: use hash for family_to_str to avoid
linear search. lenp argument removed.
* ext/socket/socket.c (ipaddr): call family_to_str without lenp
argument.
Fri Jan 2 14:33:12 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb (gen_int_to_name): don't compare constants
in preprocessor because the constants may be enum.
Fri Jan 2 14:11:07 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb (gen_int_to_name): add lenp argument.
* ext/socket/socket.c (ipaddr): follow argument change.
Fri Jan 2 10:20:24 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/singleton.rb: fix documentation. [ruby-core:21038]
Fri Jan 2 06:43:58 2009 NARUSE, Yui <naruse@ruby-lang.org>
* signal.c (rb_signal_buff_size): defined for check whether signal
is in the buffer or not.
* thread_pthread.c (thread_timer): don't exit the loop when signal
is in the buffer. [ruby-dev:37637]
Fri Jan 2 04:40:00 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb: check duplicates.
Fri Jan 2 02:39:08 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c (optname_arg): defined.
(bsock_setsockopt): use optname_arg.
(bsock_getsockopt): ditto.
* ext/socket/mkconstants.rb: generate so_optname_to_int,
ip_optname_to_int, ipv6_optname_to_int, tcp_optname_to_int and
udp_optname_to_int.
more constants.
Fri Jan 2 02:08:36 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c (constant_arg): extracted from family_arg.
(family_arg): use constant_arg.
(socktype_arg): ditto.
(level_arg): ditto.
Fri Jan 2 01:15:11 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c (level_arg): defined.
(bsock_setsockopt): use level_arg.
(bsock_getsockopt): ditto.
* ext/socket/mkconstants.rb: generate level_to_int.
Fri Jan 2 00:58:40 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c (family_arg): accept symbols as well.
(socktype_arg): ditto.
Fri Jan 2 00:49:44 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c (sock_s_getaddrinfo): use socktype_arg.
Fri Jan 2 00:12:27 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c (family_arg): extracted from
setup_domain_and_type.
(socktype_arg): ditto.
(udp_init): use family_arg.
(sock_s_gethostbyaddr): ditto.
(sock_s_getaddrinfo): ditto.
(sock_s_getnameinfo): ditto.
Thu Jan 1 22:27:55 2009 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* spec/default.mspec: fix for builddir != srcdir
* Makefile.in: ditto.
Thu Jan 1 21:26:05 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c (sock_s_getnameinfo): use family_to_int.
Thu Jan 1 21:08:34 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb: check all alias possibility.
Thu Jan 1 20:59:55 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb: more possible aliases.
Thu Jan 1 20:54:02 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb: AF_ISO and AF_OSI may be aliased.
Thu Jan 1 20:50:09 2009 URABE Shyouhei <shyouhei@ruby-lang.org>
* process.c (before_exec): it makes no sense for a conditional
expression to return a void value.
Thu Jan 1 20:47:09 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c (sock_s_getaddrinfo): use family_to_int.
Thu Jan 1 20:17:47 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c: include constants.h at top.
Thu Jan 1 19:53:33 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb: add valp argument for family_to_int and
socktype_to_int.
* ext/socket/socket.c (setup_domain_and_type): use valp argument.
Thu Jan 1 19:36:57 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb: generate family_to_str.
* ext/socket/socket.c (ipaddr): use family_to_str.
Thu Jan 1 17:37:12 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb: generate socktype_to_int.
* ext/socket/socket.c (setup_domain_and_type): use socktype_to_int.
Thu Jan 1 17:26:47 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c (setup_domain_and_type): initialize ptr.
Thu Jan 1 17:01:50 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb: refine family_to_int.
Thu Jan 1 16:48:07 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb: generate family_to_int().
* ext/socket/socket.c (setup_domain_and_type): use family_to_int.
Thu Jan 1 15:08:46 2009 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* tool/file2lastrev.rb: supports git repositories which are cloned
from a git-svn gateway.
Patch by Hongli Lai. [ruby-core:21020]
Thu Jan 1 16:08:11 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb: generate init_constants function.
* ext/socket/socket.c (Init_socket): call init_constants.
Thu Jan 1 16:03:04 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb (Socket::AF_INET6): moved from socket.c.
(Socket::PF_INET6): ditto.
Thu Jan 1 15:27:07 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb: use erb.
Thu Jan 1 15:07:56 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb: add -o option.
* ext/socket/depend: use mkconstants.rb with -o option.
Thu Jan 1 07:42:36 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/singleton.rb: fix indentation of RDoc text. [ruby-core:21029]
Thu Jan 1 07:16:44 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* Makefile.in (distclean-ext, realclean-ext): use EXTS as default.
* win32/Makefile.sub (distclean-ext, realclean-ext): try to remove ext
directory.
Thu Jan 1 06:56:28 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* tool/file2lastrev.rb: unset PWD.
Wed Dec 31 23:37:17 2008 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c (sock_s_socketpair): yield if a block is given.
(io_call_close): defined.
(io_close): defined.
(pair_yield): defined.
Wed Dec 31 19:35:57 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* spec/README: follows the change of directory structure in rubyspec.
* spec/default.mspec: ditto. Also follows change of mspec command.
* Makefile.in: ditto.
Wed Dec 31 17:16:46 2008 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_ssl.c (ossl_ssl_read_internal): show openssl error
code in EWOULDBLOCK error.
Wed Dec 31 15:45:18 2008 Tanaka Akira <akr@fsij.org>
* io.c (copy_stream_body): don't check to_io because
Zlib::GzipWriter#to_io returns the underlying IO.
Wed Dec 31 14:52:33 2008 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_digest.c (GetDigestPtr): use StringValueCStr
instead of STR2CSTR.
* ext/openssl/ossl_pkey_ec.c (ossl_ec_key_initialize): ditto.
(ossl_ec_group_initialize): ditto.
Wed Dec 31 14:12:35 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (rb_to_float): replaced by to_flo definition from
math.c [ruby-dev:37668]
* math.c (Need_Float): use rb_to_float().
Wed Dec 31 13:49:06 2008 Tanaka Akira <akr@fsij.org>
* ext/openssl/lib/openssl/buffering.rb (Buffering#read_nonblock):
implemented.
* ext/openssl/ossl_ssl.c (rb_sys_fail_path): removed.
(fcntl.h): don't include.
(ossl_ssl_read_internal): defined.
(ossl_ssl_read): use ossl_ssl_read_internal.
(ossl_ssl_read_nonblock): use ossl_ssl_read_internal.
(Init_ossl_ssl): define sysread_nonblock, instead of read_nonblock.
Wed Dec 31 00:27:54 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* object.c (rb_to_float): prohibit conversion from nil to float.
[ruby-dev:37663]
* pack.c (pack_pack): replace all rb_Float() to rb_to_float().
[ruby-dev:37663]
Tue Dec 30 21:17:00 2008 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb: use sock_define_uconst for INADDR_*
constants because Socket::INADDR_LOOPBACK should be 0x7f000001
instead of -0xffffff.
* ext/socket/socket.c (sock_define_uconst): defined.
Tue Dec 30 18:23:10 2008 Ryan Davis <ryand-ruby@zenspider.com>
* lib/minitest/*.rb: Imported minitest 1.3.1 r4506.
* test/minitest/*.rb: ditto.
Tue Dec 30 17:59:59 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
* transcode.c: Minor fixes and tweaks in documentation.
Tue Dec 30 17:03:51 2008 Koichi Sasada <ko1@atdot.net>
* ext/dl/test/test_import.rb: fix a prototype decl.
pointed out by Takehiro Kubo [ruby-core:20971].
Tue Dec 30 16:56:09 2008 Koichi Sasada <ko1@atdot.net>
* thread.c (rb_thread_blocking_region): add a comment.
* thread.c (rb_thread_call_without_gvl): added as a alias of
rb_thread_blocking_region().
* thread.c (rb_thread_call_with_gvl): added.
* vm_core.h (rb_thread_t#blocking_region_buffer): added for
rb_thread_call_with_gvl().
Mon Dec 29 23:41:42 2008 Koichi Sasada <ko1@atdot.net>
* ext/dl/test/test_base.rb: add libc search logic.
this patch is written by Takehiro Kubo.
[ruby-core:20963] [Bug #932]
* ext/dl/dl.h: Add ",..." as the last argument.
this patch is written by Takehiro Kubo.
Bug #633 [ruby-core:19289]
* ext/dl/lib/dl/stack.rb: add add_padding() to calculate
alignment. this patch is written by Takehiro Kubo.
Bug #633 [ruby-core:19289]
* ext/dl/test/test_func.rb: atof()'s return value is double.
this patch is written by Takehiro Kubo.
Bug #633 [ruby-core:19289]
* ext/dl/test/test_import.rb:
- atof()'s return value is double.
- The types of qsort's second and third argument are size_t.
- fprintf()'s return value is int.
this patch is written by Takehiro Kubo.
Bug #633 [ruby-core:19289]
Mon Dec 29 22:37:17 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* process.c (rb_waitpid): retries waitpid when EINTR.
[ruby-core:19744].
Mon Dec 29 23:18:52 2008 Tadayoshi Funaba <tadf@dotrb.org>
* bignum.c (rb_cstr_to_inum): changed an error message.
* complex.c (string_to_c_strict): ditto.
* rational.c (string_to_r_strict): ditto.
Mon Dec 29 22:37:57 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* pack.c (pack_pack): template f should not accept non float
values. [ruby-dev:37656]
* object.c (rb_to_float): new function to type check floats.
Mon Dec 29 22:27:11 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* random.c (rb_f_rand): type check simplified. strings are no
longer allowed for argument. [ruby-dev:37655]
* test/ruby/test_rand.rb (TestRand::o.to_int): need override
to_int.
Mon Dec 29 21:22:31 2008 Tadayoshi Funaba <tadf@dotrb.org>
* numeric.c: Infinity.numerator returns self. [experimental]
* numeric.c: Infinity.denominator returns 1. [experimental]
Mon Dec 29 20:57:14 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* man/ri.1: new manpage.
Mon Dec 29 20:45:25 2008 Tadayoshi Funaba <tadf@dotrb.org>
* rational.c: floor, ceil, truncate and round accept an extra
argument like Float#round. [experimental]
Mon Dec 29 18:24:49 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* Makefile.in (distclean-local): removes Doxyfile and
run.gdb at distclean'ing.
Mon Dec 29 17:53:24 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* bin/erb: accepts options in more flexible styles.
Mon Dec 29 17:25:17 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* lib/erb.rb (ERB): m17n of ERB. adds rdoc.
fixes #712. c.f. [ruby-dev:37516].
* lib/erb.rb (ERB::Compiler#compile): recognizes magic comments.
returns a pair of compiled script and its script encoding.
* lib/erb.rb (ERB#set_eoutvar): make generated scripts return a
string in correct encoding.
* lib/erb.rb (ERB#def_method): use Kernel#eval for encoding-awareness
of the evaluated string.
* bin/erb.rb (ERB::Main.run): adds -E and -U options.
String is no longer Enumerable.
* man/erb.1: new manpage.
* test/erb/test_erb_m17n.rb: new test case for m17n features.
Mon Dec 29 18:02:45 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/io/wait/wait.c (io_nread): returns number of bytes available
for read. response to feature request #936 in [ruby-core:20917].
Mon Dec 29 17:52:16 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/io/wait/wait.c (io_ready_p): updated to follow RDoc.
Mon Dec 29 16:52:15 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/socket/socket.c (s_recvfrom_nonblock): revert r21162.
Mon Dec 29 16:16:20 2008 Koichi Sasada <ko1@atdot.net>
* vm.c (vm_set_eval_stack, vm_set_main_stack, vm_set_top_stack):
check stack overflow. [ruby-dev:37646]
Sun Dec 28 18:36:33 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* test/rubygems/test_gem_command.rb
(test_add_option_overlapping_common_and_local_options):
follows r21066.
Mon Dec 29 14:50:19 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* Makefile.in (ext-clean): ext-clean always fails.
* ext/dl/ripper/extconf.rb: adds y.output into the clean list.
Mon Dec 29 11:58:39 2008 Koichi Sasada <ko1@atdot.net>
* thread.c (rb_mutex_trylock): return false if Mutex owned
by current thread. [ruby-core:20943]
* thread.c (rb_mutex_lock): check dead lock (recursive lock) here.
* test/ruby/test_thread.rb: add a test.
Mon Dec 29 10:58:54 2008 NARUSE, Yui <naruse@ruby-lang.org>
* file.c (rb_get_path): move encoding conversion of file path
from rb_scan_open_args.
* io.c (rb_scan_open_args): ditto.
Mon Dec 29 07:15:16 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* cont.c: small RDoc fix mentioned from <radek.bulat at gmail.com>
in [ruby-core:20921].
Mon Dec 29 03:43:25 2008 Koichi Sasada <ko1@atdot.net>
* ruby.c (process_options): set th->base_block only while
it is needed. [ruby-dev:37634] [Bug #939]
* ruby.c (require_libraries): clear th->base_block before
require libraries.
Sun Dec 28 21:33:52 2008 NARUSE, Yui <naruse@ruby-lang.org>
* test/ext/dl/test_base.rb: add BSD's case.
Sun Dec 28 21:09:12 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* ext/dl/lib/dl/import.rb (DL::Importer#sizeof): follows
a feature change in 1.9.
Sun Dec 28 21:03:07 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* ext/dl/lib/dl/import.rb (DL::Importer#extern): adds filename and
line number to module_eval'ing for readability of backtrace.
(DL::Importer#bind): ditto.
* ext/dl/lib/dl/struct.rb (DL::CStructBuilder#create): ditto.
Sun Dec 28 19:11:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* win32/Makefile.sub (config.h): do not use snprintf/vsnprintf in
msvcrt.
* sprintf.c: not force to override snprintf/vsnprintf.
[ruby-core:20824]
Sun Dec 28 17:21:36 2008 NARUSE, Yui <naruse@ruby-lang.org>
* test/rubygems/test_ext_configure_builder.rb (test_self_build_fail):
Extends pattern for FreeBSD's error message.
Sun Dec 28 17:10:13 2008 TAKANO Mitsuhiro (takano32) <tak@no32.tk>
* ext/dl/test/test_dl2.rb: modify strncpy, strcpy, qsort, types.
Patch by Takehiro Kubo.
Bug #633 [ruby-core:19289]
* ext/dl/test/test_base.rb: /lib/libc.so is x86_64 binary in x86_64 architecture.
Sun Dec 28 12:53:10 2008 TAKANO Mitsuhiro (takano32) <tak@no32.tk>
* ext/dl/test/test_base.rb: use libc.dylib when the platform is darwin.
Sun Dec 28 12:24:14 2008 Yusuke Endoh <mame@tsg.ne.jp>
* thread.c (mutex_free, mutex_unlock): add qualifiers.
Sun Dec 28 10:28:04 2008 Yusuke Endoh <mame@tsg.ne.jp>
* thread.c (mutex_free): GC thread (main thread) has failed to unlock
a mutex that is locked by another thread, which makes the mutex
dangling in keeping_mutexes and causes [BUG] or stuck finally.
Now unlocking is performed as locking thread.
* thread.c (mutex_unlock, rb_mutex_unlock, rb_mutex_unlock_all):
mutex_unlock receives a thread.
Sun Dec 28 05:44:44 2008 Ryan Davis <ryand-ruby@zenspider.com>
* lib/minitest/*.rb: Imported minitest 1.3.1 r4505.
* test/minitest/*.rb: ditto.
Sun Dec 28 00:43:33 2008 Tanaka Akira <akr@fsij.org>
* runruby.rb: refactored to modify ENV as once.
Sat Dec 27 22:41:02 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/rdoc/test_rdoc_info_formatting.rb (setup, teardown): uses
mktmpdir and removes it after the test.
* test/cgi/test_cgi_session.rb (setup, teardown): ditto.
Sat Dec 27 21:46:10 2008 TAKANO Mitsuhiro (takano32) <tak@no32.tk>
* ext/dl/test/test_base.rb: use lib64 when the architecture is x86_64.
Sat Dec 27 20:26:59 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (rb_w32_argv_size): if an argument is empty, it's size
is 2, not 0, because it will be converted to "".
Sat Dec 27 19:40:56 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* process.c (after_exec): needs to reset before restart timer
thread.
* thread.c (thread_start_func_2): stops timer thread if forked in
the new thread. [ruby-core:19385]
* thread.c (rb_thread_atfork, rb_thread_atfork_before_exec): DRY.
Sat Dec 27 18:25:09 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* vm_eval.c (rb_f_loop): return enumerator if no block given.
[ruby-list:45747]
Sat Dec 27 17:08:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* .gdbinit (dummy_gdb_enums.special_consts): forces to load debug
info on Mac OS X.
* .gdbinit (rp): added T_ZOMBIE.
Sat Dec 27 16:18:02 2008 Koichi Sasada <ko1@atdot.net>
* eval.c (rb_frame_callee, rb_frame_caller): rb_frame_callee()
should return method id on current frame.
add rb_frame_caller() to get method id on parent frame.
Bug #884 [ruby-dev:37446]
* eval.c (rb_f_method_name): use rb_frame_caller()
instead of rb_frame_callee().
Sat Dec 27 15:28:12 2008 Tanaka Akira <akr@fsij.org>
* transcode.c (make_econv_exception): show source and destination
encoding. [ruby-dev:37285]
Sat Dec 27 15:23:38 2008 Koichi Sasada <ko1@atdot.net>
* vm_insnhelper.c (vm_yield_with_cfunc): rename parameter name
"blockptr" to "blockargptr".
Sat Dec 27 15:15:56 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* common.mk (revision.h): ignores failure of file2lastrev.
Sat Dec 27 15:02:38 2008 Koichi Sasada <ko1@atdot.net>
* ruby.c (process_options): fix to untouch th->mild_compile_error.
[ruby-dev:37621], [ruby-dev:37620]
Sat Dec 27 14:48:26 2008 Koichi Sasada <ko1@atdot.net>
* iseq.h, iseq.c (rb_iseq_new_main): add a type ISEQ_TYPE_MAIN.
[ruby-dev:37619]
* compile.c (rb_dvar_defined, ruby_iseq_compile): ditto.
* iseq.c (iseq_data_to_ary, iseq_load): ditto.
* compile.c (iseq_compile_each): fix to check ip->compile_data.
Sat Dec 27 14:29:33 2008 Tanaka Akira <akr@fsij.org>
* lib/open-uri.rb (OpenURI.redirectable?): permit https redirection.
patch from Roman Shterenzon. [ruby-core:20485]
Sat Dec 27 13:36:55 2008 Koichi Sasada <ko1@atdot.net>
* eval.c (get_errinfo): return th->errinfo value
if normal errinfo place (dynamic local variable) is not found.
fixes Bug #732 [ruby-dev:37046].
* bootstraptest/test_proc.rb: add a test.
Sat Dec 27 13:10:43 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* man/irb.1: adds -v, -h, -E and -U.
Sat Dec 27 11:41:45 2008 Koichi Sasada <ko1@atdot.net>
* vm_insnhelper.c (vm_call_method, vm_call_cfunc): use original id instead of
calling id when NODE_CFUNC or NODE_BMETHOD.
fixes Bug #632 [ruby-core:19282].
* vm_eval.c (vm_call0, vm_call_super): ditto.
* vm_method.c (rb_add_method, rb_alias): store original id
in nd_file field of NODE_METHOD.
* test/stringio/test_stringio.rb: add a test.
Sat Dec 27 09:48:54 2008 Koichi Sasada <ko1@atdot.net>
* vm.c (Init_VM): create and define TOPLEVEL_BINDING at first.
* vm.c (vm_set_main_stack, rb_iseq_eval_main): added.
* parse.y (rb_parser_compile_file): fix to check parse_in_eval flag.
* eval.c (ruby_exec_node): use rb_iseq_eval_main()
instead of rb_iseq_eval().
* iseq.c (rb_iseq_new_main), vm_core.h: added.
main script (specified by -e or script name) should be run
under TOPLEVEL_BINDING using Kernel#eval. Above changes
simulate Kernel#eval behaviour. [ruby-dev:37240]
* compile.c (make_name_for_block): skip iseq except block type.
this fix is needed for [ruby-dev:37240], and also fixes
[ruby-dev:35392].
Sat Dec 27 09:14:17 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* cont.c: rdoc for Fiber. patch by Muhammad Ali.
[ruby-core:20894]
Sat Dec 27 05:38:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* process.c (after_fork): ignores a termination request in the
parent process. [ruby-dev:37447]
Sat Dec 27 01:52:39 2008 James Edward Gray II <jeg2@ruby-lang.org>
* lib/csv.rb: Using a more robust transcoding scheme to produce
ASCII compatible inspect() messages. [ruby-dev:37591]
Fri Dec 26 18:04:10 2008 Tanaka Akira <akr@fsij.org>
* io.c (fptr_finalize): don't allocate objects if noraise.
(finish_writeconv): add noalloc argument to be able to avoid
object allocation.
(finish_writeconv_arg): introduced again.
(finish_writeconv_sync): follow the above change.
Fri Dec 26 17:04:14 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* lib/irb/input-method.rb (IRB::StdioInputMethod#initialize):
removed a 'p' for debugging.
Fri Dec 26 15:50:45 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/optparse.rb (OptionParser::List#summarize): gives priority
to latter switches. [ruby-dev:36692]
* lib/optparse.rb (OptionParser#summarize): do not append
unnecessary line terminator.
Fri Dec 26 14:01:38 2008 Tanaka Akira <akr@fsij.org>
* io.c (fptr_finalize): close the IO object even if finish_writeconv or
flush is failed.
(finish_writeconv): don't raise. return errno or exception.
(finish_writeconv_arg): removed.
(finish_writeconv_sync): follow finish_writeconv change.
* transcode.c (rb_econv_make_exception): new function.
* include/ruby/encoding.h (rb_econv_make_exception): declared.
Thu Dec 25 20:57:01 2008 NARUSE, Yui <naruse@ruby-lang.org>
* transcode.c (str_transcode0): set encoding when String#encode was
given explicit but the same destination and source encoding.
Thu Dec 25 20:01:50 2008 Tanaka Akira <akr@fsij.org>
* io.c (rb_io_s_pipe): unused variable removed.
Thu Dec 25 19:35:51 2008 NARUSE, Yui <naruse@ruby-lang.org>
* transcode.c (sym_ignore): remove useless symbol.
Thu Dec 25 18:36:04 2008 Tanaka Akira <akr@fsij.org>
* io.c (pipe_close): removed.
(pipe_yield): defined.
(rb_io_s_pipe): use pipe_yield.
Thu Dec 25 17:49:45 2008 NARUSE, Yui <naruse@ruby-lang.org>
* transcode.c (decorate_convpath): show type of escaping for
xml_attr_quote or some conversions.
Thu Dec 25 17:06:13 2008 Tanaka Akira <akr@fsij.org>
* io.c (rb_io_initialize): check fd validity. [ruby-dev:36646]
Thu Dec 25 16:23:31 2008 Tanaka Akira <akr@fsij.org>
* io.c (flush_before_seek): check io_fflush result.
(rb_io_check_readable): ditto.
(rb_io_flush): ditto.
(rb_io_fsync): ditto.
(remain_size): ditto.
(rb_io_write_nonblock): ditto.
(finish_writeconv): ditto.
(fptr_finalize): ditto.
(io_reopen): ditto.
(rb_io_reopen): ditto.
(copy_stream_body): ditto.
Thu Dec 25 15:54:00 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (io_fflush): flush write buffer without write lock in
finalizers. [ruby-dev:37572]
* io.c (rb_io_fptr_finalize): clear write lock before finalizing.
Thu Dec 25 15:07:22 2008 Tanaka Akira <akr@fsij.org>
* io.c (fptr_finalize): close the IO object even if close(2) is failed.
Thu Dec 25 14:51:43 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* lib/rdoc/parser.rb (RDoc::Parser.binary?): should read in binary mode.
Thu Dec 25 14:32:23 2008 Koichi Sasada <ko1@atdot.net>
* vm_insnhelper.c (vm_method_search): fix control flow bug.
(commited at r20981)
Thu Dec 25 13:28:20 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* io.c (rb_io_flush): fsync() after buffer is flushed on win32.
[ruby-core:20043]
Thu Dec 25 13:13:00 2008 Koichi Sasada <ko1@atdot.net>
* vm_insnhelper.c (vm_method_search): return rb_cObject if there is no
super class. [ruby-dev:37587]
* bootstraptest/test_method.rb: add tests for above.
Thu Dec 25 12:49:12 2008 Koichi Sasada <ko1@atdot.net>
* proc.c (proc_new): should use proc_dup() if block has Proc.
* vm.c (vm_make_proc_from_block): should use rb_cProc for block.
* vm.c (vm_make_proc): add an assertion.
* bootstraptest/test_proc.rb: add a test.
Thu Dec 25 12:44:27 2008 Koichi Sasada <ko1@atdot.net>
* vm_insnhelper.c (vm_yield_with_cfunc): check block has Proc.
Thu Dec 25 05:53:01 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* template/id.h.tmpl, id.h (ruby_method_ids): not depend on if
token are defined as macros. [ruby-dev:37553]
* template/id.h.tmpl, id.h (ruby_method_ids_check): enclosed in a
struct.
Thu Dec 25 01:52:34 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* thread.c (thread_start_func_2): sets native thread key.
Thu Dec 25 01:09:23 2008 TAKAO Kouji <kouji@takao7.net>
* test/readline/test_readline_history.rb: check the encoding that
is in the Readline::HISTORY.
Thu Dec 25 00:59:06 2008 TAKAO Kouji <kouji@takao7.net>
* test/readline/test_readline_history.rb: did not check the
encoding that is in the Readline::HISTORY. I will fix it.
Wed Dec 24 22:36:06 2008 Koichi Sasada <ko1@atdot.net>
* error.c, vm_dump.c: change message by rb_bug().
Wed Dec 24 21:57:39 2008 Koichi Sasada <ko1@atdot.net>
* compile.c (iseq_peephole_optimize): fix typo.
Sun Dec 21 13:38:04 2008 Koichi Sasada <ko1@atdot.net>
* vm.c (invoke_block_from_c): fix to point right cfp.
* vm.c (vm_make_proc, vm_make_proc_from_block), vm_core.h:
remove unused parameter cfp.
* vm_insnhelper.c, proc.c (proc_new): ditto.
Wed Dec 24 20:59:12 2008 Koichi Sasada <ko1@atdot.net>
* error.c (exc_equal): == method should not raise Exception.
[ruby-dev:37519]
* sample/test.rb: fix test.
Wed Dec 24 20:33:45 2008 Koichi Sasada <ko1@atdot.net>
* vm_insnhelper.c (vm_call_method): use class of method defined
instead of receiver's class on bmethod. fixes [ruby-core:20786]
* bootstraptest/test_method.rb: add a test for above.
* vm_insnhelper.c (vm_setup_method): remove unused parameter klass.
* vm_insnhelper.h (CALL_METHOD): ditto.
* insns.def, vm_eval.c: ditto.
Wed Dec 24 20:15:50 2008 Koichi Sasada <ko1@atdot.net>
* tool/file2lastrev.rb (get_revisions): fix to ignore end of line.
Wed Dec 24 13:33:38 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (HAVE_LONG_LONG, HAVE_OFF_T): revised for autoconf
2.62 or later.
Wed Dec 24 06:29:32 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (OBJDUMP, OBJCOPY): autoconf list is not comma
separated.
* configure.in (AC_HEADER_STDC, AC_CHECK_HEADERS, AC_CHECK_FUNCS):
removed duplicated checks.
Wed Dec 24 03:21:21 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* misc/ruby-mode.el: added comment to mention newer version
bundled with Emacs 23 or later. a patch from Phil Hagelberg
<phil at hagelb.org> in [ruby-core:20838].
Tue Dec 23 23:49:37 2008 Tanaka Akira <akr@fsij.org>
* io.c (rb_io_init_copy): call io_seek only if io_tell succeeds.
Tue Dec 23 22:57:48 2008 Tanaka Akira <akr@fsij.org>
* process.c (rb_fork): don't propagate an error message if error
buffer not given.
Tue Dec 23 21:55:05 2008 Tanaka Akira <akr@fsij.org>
* process.c (rb_fork): propagate an error message from child to parent.
(rb_f_exec): show details of error in child process on
exception.
(save_redirect_fd): add error message arguments.
(run_exec_dup2): ditto.
(run_exec_close): ditto.
(run_exec_open): ditto.
(run_exec_dup2_child): ditto.
(run_exec_pgroup): ditto.
(run_exec_rlimit): ditto.
(rb_run_exec_options): ditto.
(rb_exec): ditto.
(rb_exec_atfork): ditto.
(rb_spawn_internal): ditto.
(rb_spawn): ditto.
(rb_f_system): follow arguments change.
(proc_daemon): ditto.
(rb_f_spawn): show details of error in child process on exception.
* io.c (popen_exec): add error message arguments.
(pipe_open): show details of error in child process on exception.
* include/ruby/intern.h (rb_run_exec_options): add error message
arguments.
(rb_exec): ditto.
(rb_fork): ditto.
(rb_spawn): ditto.
* ext/pty/pty.c (chfunc): add error message arguments.
Tue Dec 23 20:28:28 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* io.c: rdoc for File::open and 1.9 feature in file modes.
* transcode.c: rdoc for String#encode
Tue Dec 23 19:51:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* win32/win32.c (rb_w32_spawn): deals with quoted commands.
Tue Dec 23 18:44:21 2008 Tanaka Akira <akr@fsij.org>
* strftime.c (rb_strftime): use locale insensitive functions for tr_TR
locale.
Tue Dec 23 17:38:03 2008 Tanaka Akira <akr@fsij.org>
* lib/test/unit/assertions.rb (assert_equal): show small differences
for Regexp and Float.
Tue Dec 23 16:49:48 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (rb_w32_spawn): support normal commands with arguments.
Tue Dec 23 16:22:41 2008 Tanaka Akira <akr@fsij.org>
* io.c (rb_io_inspect): show fd number if there is no pathname.
Tue Dec 23 15:48:55 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* tool/file2lastrev.rb: shouldn't use single quote in shell's command
line if you want to support Windows.
Tue Dec 23 15:46:43 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* lib/mathn.rb: Math.sqrt(NaN) should be NaN. [ruby-dev:37537]
Tue Dec 23 15:46:47 2008 Eric Hodel <drbrain@segment7.net>
* gem_prelude.rb: Match full RubyGems behavior when a gem can't be
found.
Tue Dec 23 15:36:58 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* tool/file2lastrev.rb: detects vcs directory properly on building
outside of srcdir. [ruby-dev:37555] [ruby-dev:37561]
Tue Dec 23 15:30:02 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* io.c (pipe_open): need to initialize args.
Tue Dec 23 14:18:14 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* include/ruby/st.h: need to include defines.h because LONG_LONG is
defined there.
Tue Dec 23 13:52:05 2008 Eric Hodel <drbrain@segment7.net>
* lib/rdoc/parser/c.rb: Don't coalesce adjacent comment blocks.
[bug#901]
Tue Dec 23 12:00:00 2008 Tanaka Akira <akr@fsij.org>
* io.c (pipe_close): fix coding style. [ruby-dev:37554]
Tue Dec 23 08:10:05 2008 Eric Hodel <drbrain@segment7.net>
* lib/rubygems/installer.rb: Fix documentation. [bug#827]
Tue Dec 23 08:04:58 2008 Eric Hodel <drbrain@segment7.net>
* gem_prelude.rb: Don't remove methods twice. [bug#555]
Tue Dec 23 00:16:48 2008 Yusuke Endoh <mame@tsg.ne.jp>
* sprintf.c (rb_str_format): fix buffer overflow.
Mon Dec 22 19:31:19 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* common.mk (revision.h): uses tool/file2lastrev.rb to support
git-svn.
* version.h: changed version string as
`ruby 1.9.1 (2008-12-22 patchlevel-5000 trunk 20912)
[i386-darwin9.6.0]'.
Mon Dec 22 16:32:21 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* pack.c (pack_pack): encoding of packed string only from 'm',
'M', and 'u' should be US-ASCII. [ruby-dev:37284]
* pack.c (pack_pack): encoding of packed string only from 'U'
should be UTF-8. also upgrade US-ASCII strings to UTF-8.
Mon Dec 22 15:56:49 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* Doxyfile.in: new file. Template of a configuration file.
Introduces C-level API reference generation with Doxygen.
* tool/file2lastrev.rb: wrapper script that abstracts subversion
and git-svn.
* tool/strip-rdoc.rb: filter for preventing doxygen from processing
rdoc comments.
* configure.in: (Doxyfile): Doxyfile is generated together with
Makefile.
(PACKAGE): configuration $(PACKAGE) is necessary for $(docdir).
* instruby.rb: adds a new install target 'capi'
* common.mk (capi): new target that generates C API documents with
Doxygen.
(install-capi): new target.
(pre-install-capi): ditto.
(do-install-capi): ditto.
(post-install-capi): ditto.
Mon Dec 22 21:31:11 2008 Tanaka Akira <akr@fsij.org>
* numeric.c (int_ord): Integer#ord implemented.
Mon Dec 22 21:26:12 2008 Tanaka Akira <akr@fsij.org>
* io.c (rb_io_s_pipe): IO.pipe can take a block.
(pipe_close): new function.
Mon Dec 22 21:08:54 2008 Tanaka Akira <akr@fsij.org>
* lib/test/unit/assertions.rb (assert_nothing_raised): increment
assertion count. [ruby-dev:37480]
Mon Dec 22 19:10:44 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* thread_win32.c (Init_native_thread): need to call
ruby_thread_set_native() here.
Mon Dec 22 18:00:36 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* ext/tk/tcltklib.c: fix wrong flag value.
Mon Dec 22 15:15:58 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/net/protocol.rb (Net::BufferedIO#rbuf_fill): avoid calling
read_nonblock in rescue. use retry instead.
Mon Dec 22 14:35:59 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_external_str_new_with_enc): set ASCII-8BIT if
encoding is US-ASCII and string contains 8bit characters.
Mon Dec 22 12:26:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* cygwin/GNUmakefile.in (rubydll.def), win32/mkexports.rb
(Exports#exports): added VERSION.
Mon Dec 22 12:25:09 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* missing/vsnprintf.c (BSD_vfprintf): fix for test_sprintf_comb.rb, by
wanabe in [ruby-dev:36935].
Mon Dec 22 12:05:14 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (mingw): no longer uses snprintf and vsnprintf of
msvcrt. [Bug#6]
* win32/win32.c (rb_w32_vsnprintf, rb_w32_snprintf): removed.
* win32/Makefile.sub (config.h): vsnprintf exists in VC7 or later.
* win32/mkexports.rb (Exports#initialize): aliases
rb_w32_vsnprintf and rb_w32_snprintf for binary compatibility.
* sprintf.c (rb_str_format): uses snprintf instead of sprintf.
* numeric.c (flo_to_s, rb_num2long, rb_num2ll): ditto.
Mon Dec 22 10:59:31 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_upto): should return enumerator if called
without block. [ruby-dev:37526]
Mon Dec 22 09:54:43 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (gettable_gen): the encoding of __FILE__ should be
rb_filesystem_encoding(). [ruby-list:45733]
* parse.y (gettable_gen): __FILE__ should be ASCII-8BIT when
filesystem encoding is US-ASCII and __FILE__ contains non 7bit
characters.
Mon Dec 22 02:54:56 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* ext/tk/lib/tk.rb: temporary patch for trouble on TkAqua (> Tk8.4.9).
* ext/tk/sample/demos-jp/widget: set encoding to a demo-code string to
avoid garbled text on the Code Window.
Sun Dec 21 14:55:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/optparse.rb (SPLAT_PROC): splat values by hand.
Sun Dec 21 13:50:37 2008 TAKAO Kouji <kouji@takao7.net>
* test/readline/test_readline.rb
(TestReadline#test_some_characters_methods): checked encoding.
Sun Dec 21 12:23:16 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/optparse.rb (SPLAT_PROC): fix for regexp. [ruby-dev:37514]
Sun Dec 21 10:43:10 2008 TAKANO Mitsuhiro (takano32) <tak@no32.tk>
* sample/test.rb: rescue exception.
Sat Dec 20 18:28:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* dln.c (dln_find_1): supplements an extension for executable
files on DOSish platforms.
* io.c (pipe_open): use rb_w32_aspawn() for array form.
* win32/win32.c (rb_w32_pipe_exec): no longer used.
* win32/win32.c (rb_w32_spawn, rb_w32_aspawn): deals with batch
files and commands with extensions. [ruby-core:20695]
* win32/win32.c (has_redirection): supports environment variables
references.
Sat Dec 20 15:34:36 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/rake.rb (Rake::FileList#egrep): change open mode to "rb",
i.e. default to binary. [ruby-dev:37385]
* lib/rake.rb (Rake::FileList#egrep): allow specifying reading
encoding, e.g. FileList['*.rb'].egrep(/require/, encoding:
"ascii-8bit")
* lib/rake.rb (Rake::MultiTask): invoke_prerequisites should be
private. a patch from okkez in [ruby-dev:37399]
Sat Dec 20 10:59:16 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* lib/irb/locale.rb (IRB::Locale#initialize)
initializes instance variables to suppress warnings.
typo fix to ignore LoadError: [ruby-dev:37508]
Fri Dec 19 17:01:35 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* io.c (rb_io_extract_encoding_option): "internal_encoding: nil"
to specify no-transcoding. and other corner case fixed.
[ruby-dev:37496]
* hash.c (rb_hash_lookup2): new function to look-up hash with
default value.
Fri Dec 19 15:51:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ruby.c (process_options): get rid of warning on DOSISH.
Fri Dec 19 07:45:37 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* error.c (exc_equal): duck typing equal to make it transitive.
[ruby-dev:34808]
Thu Dec 18 19:31:54 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* lib/irb/init.rb (IRB.opt_parse): (M17N) adds -U and -E as command
line options. [ruby-dev:37161]. Fixes #711.
improved long options.
* lib/irb/init.rb (IRB.set_encoding): new subroutine for IRB.opt_parse
* lib/irb/input-method.rb (IRB::StdioInputMethod): (M17N) regards
scripts that user types as encoded in the external_encoding.
* lib/irb/input-method.rb (IRB::ReadlineInputMethod): ditto.
* lib/irb/input-method.rb (IRB::FileInputMethod): (M17N) respects
magic comment.
* lib/irb/help.rb (IRB.print_usage): (M17N) respects magic comment
in the resource file.
* lib/irb/lc/help-message: adds -U and -E.
* lib/irb/lc/ja/help-message: ditto. re-encoded from ISO-2022-JP into UTF-8.
* lib/irb/lc/ja/encoding_aliases.rb: new file. provides Japanese specific
character encoding name table for backward compatibility.
* lib/irb/lc/ja/error.rb: re-encoded from ISO-2022-JP into UTF-8.
magic comment.
* lib/irb/locale.rb: integrated with Ruby 1.9's M17N support.
* lib/irb/magic-file.rb: new file. utility to handle files with magic
comment and opens in the correct encoding.
* lib/irb/ruby-lex.rb (RubyLex#each_top_level_statement): recovers
character encoding for a statement after it lexed so that irb can
eval the statement in correct encoding.
* lib/irb/src_encoding.rb: new file. utility.
Thu Dec 18 21:12:28 2008 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
* lib/cgi/session.rb: fix bug for ignore session_id option.
report from [ruby-core:18635], [Bug #572]
* lib/cgi/core.rb: use Encoding#find when encoding set.
* test/cgi/test_cgi_session.rb: test for session_id specified.
Thu Dec 18 17:00:56 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* hash.c (rb_hash_aset): string key copying only happen if key is
an exact instance of String, not a subclass. based on a patch
from Mike Gold <mike.gold.4433 at gmail.com> in [ruby-talk:322667].
[incompatible] [ruby-talk:322417]
Thu Dec 18 16:48:12 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/optparse/version.rb: remove variable shadowing to stop
warning. [ruby-core:20612]
* lib/irb/completion.rb, lib/net/imap.rb, lib/prime.rb,
lib/rinda/ring.rb, lib/racc/parser.rb,
lib/shell/command-processor.rb, lib/yaml/yamlnode.rb: ditto.
* lib/racc/parser.rb: remove space before parentheses.
* lib/shell/command-processor.rb, lib/shell/process-controller.rb:
use parentheses around arguments.
* lib/irb/ext/change-ws.rb, lib/rexml/validation/relaxng.rb,
lib/yaml/baseemitter.rb: indentation fix.
* lib/matrix.rb: small cosmetic change.
Thu Dec 18 08:15:04 2008 James Edward Gray II <jeg2@ruby-lang.org>
* lib/xmlrpc/server.rb: Restricting method inspection to show only
non-inherited public methods. [ruby-core:20603]
* lib/xmlrpc/server.rb: Fixing method inspection so it doesn't
trigger XMLRPC::FaultException when used. [ruby-core:20604]
Wed Dec 17 19:39:44 2008 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c (unix_recv_io): relax msg_controllen error
check.
Wed Dec 17 19:37:30 2008 Tanaka Akira <akr@fsij.org>
* ext/pty/extconf.rb: check util.h for OpenBSD.
* ext/pty/pty.c: include util.h if available. fix variable name.
Wed Dec 17 19:23:28 2008 Keiju Ishitsuka <keiju@ruby-lang.org>
* lib/matrix.rb: shut up warning. [ruby-dev:37481] [Bug #899]
Wed Dec 17 15:44:28 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_pop_m): use enum ary_take_pos_flags.
* array.c (rb_ary_push_m): add modification check before actual
operation. [ruby-dev:37440]
Wed Dec 17 15:35:39 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* configure.in (OBJDUMP, OBJCOPY):
*BSD's ports and MacPorts prefix GNU binutils with 'g'.
Wed Dec 17 11:39:39 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_hash):
shut up warning. see [ruby-dev:37437]
Wed Dec 17 11:01:35 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* string.c (rb_str_hash): gets rid of collisions between different
encoding strings. [ruby-core:20526]
Wed Dec 17 09:50:19 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* test/ruby/test_metaclass.rb: removed codes for my debugging.
sorry. [ruby-dev:37470]
Tue Dec 16 22:55:11 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* bin/testrb: set $0.
Tue Dec 16 22:42:16 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* lib/test/unit.rb (Test::Unit.setup_argv): sorry, fixed wrong commit.
Tue Dec 16 22:15:17 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/minitest/unit.rb (MiniTest::Assertions#assert_instance_of):
should assert by instance_of?, not ===. [ruby-dev:37458]
* lib/minitest/unit.rb (MiniTest::Assertions#assert_instance_of):
typo fixed.
Tue Dec 16 21:59:29 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* lib/test/unit.rb (Test::Unit.setup_argv): ALT_SEPARATOR support.
Tue Dec 16 21:59:02 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/bigdecimal/bigdecimal.c (VpToString): reverted modification
(that caused a bug) in r20359. [ruby-dev:37370]
* ext/bigdecimal/bigdecimal.c (BigDecimal_limit): comment update.
[ruby-dev:37465]
Tue Dec 16 20:34:44 2008 Tanaka Akira <akr@fsij.org>
* ext/pty/pty.c (getDevice): add nomesg argument.
(get_device_once): add nomesg argument. chmod slave tty to 0600
if nomesg. more error tests.
(no_mesg): new function.
(pty_open): make slave tty's mode 0600.
Tue Dec 16 20:24:20 2008 Tadayoshi Funaba <tadf@dotrb.org>
* lib/date/format.rb (_parse): m17n compliant.
Tue Dec 16 19:48:18 2008 Tanaka Akira <akr@fsij.org>
* ext/pty/extconf.rb: check posix_openpt.
* ext/pty/pty.c (get_device_once): use posix_openpt if available.
Tue Dec 16 19:43:53 2008 Tanaka Akira <akr@fsij.org>
* re.c: use strlcpy for error messages.
Tue Dec 16 16:41:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (stmt): returns dispatched result.
* parse.y (primary): also in ripper, saves in_def before restoring.
Tue Dec 16 12:30:56 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (ac_cv_header_ucontext_h): do not use ucontext.h on Mac
OS X 10.5 or later. merged from MacPorts.
* configure.in (ac_cv_func_daemon): daemon(3) is deprecated on Mac OS
X 10.5 or later.
Tue Dec 16 11:37:07 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* ruby.c (set_arg0): use strlcpy() instead of strncpy().
* load.c (rb_feature_p): ditto.
* dln.c (dln_load): ditto.
Tue Dec 16 09:14:28 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (block_call): block should not be given to yield.
[ruby-core:20583]
Mon Dec 15 23:48:39 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* thread.c (sleep_timeval): cast tv_usec to long to shut up
warnings on OSX. [ruby-dev:37449]
Mon Dec 15 23:34:04 2008 Tanaka Akira <akr@fsij.org>
* ext/pty/pty.c (pty_open): set FMODE_SYNC and FMODE_DUPLEX.
Mon Dec 15 23:29:49 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* ruby.c (process_options): revive global sub, gsub, chop, chomp
only when auto looping options (-p/-n) is specified.
[ruby-core:20570]
Mon Dec 15 22:48:11 2008 Tanaka Akira <akr@fsij.org>
* ext/pty/pty.c (pty_open): new method PTY.open.
Mon Dec 15 21:24:01 2008 Tanaka Akira <akr@fsij.org>
* ext/pty/pty.c (get_device_once): use DEVICELEN instead of
sizeof SlaveName.
Mon Dec 15 21:01:46 2008 Tanaka Akira <akr@fsij.org>
* ext/pty/pty.c (chfunc): make it static.
Mon Dec 15 20:59:10 2008 Tanaka Akira <akr@fsij.org>
* ext/pty/pty.c (child_info): add slavename.
(chfunc): use slavename.
(establishShell): set slavename.
Mon Dec 15 20:16:46 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* common.mk (EXTMK_ARGS): shouldn't use ``\"'' because cmd.exe eat
''\'' in such quotes.
Mon Dec 15 19:07:31 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/Makefile.sub (config.h): define CANONICALIZATION_FOR_MATHN
to follow r20683.
Mon Dec 15 18:12:34 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/rake/packagetask.rb (Rake::PackageTask): small document
update from okkez in [ruby-dev:37443]
Mon Dec 15 16:28:32 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_insnhelper.c (vm_callee_setup_arg_complex): uses cfp from
blockptr instead of the current cfp. [ruby-core:20544]
Mon Dec 15 14:56:59 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* test/ruby/test_metaclass.rb: new test case for metaclass hierarchy.
* class.c (make_metametaclass): new function. extracted from
rb_make_metaclass.
* class.c (rb_make_metaclass): uses make_metametaclass when called for a
metaclass.
* class.c (rb_singleton_class): creates a meta^(n+2)-class in
addition to a meta^(n+1)-class when called for a meta^(n)-class.
This is because the returned meta^(n+1) class must acts as an instance of
Class, metaclass of Class, ..., meta^(n+1)-class of Class,
Module, metaclass of Module, ..., meta^(n+1)-class of Module,
Object, metaclass of Object, ..., meta^(n+2)-class of Object,
BasicObject, metaclass of BasicObject, ..., meta^(n+2)-class of
and BasicObject even when Class, Module, Object or BasicObject has
not have its meta^(i)-class yet.
Mon Dec 15 15:13:22 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* id.h, template/id.h.tmpl (ruby_method_ids): sees YYTOKENTYPE too.
[ruby-dev:37436]
Mon Dec 15 15:02:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* common.mk (EXTMK_ARGS): needs MINIRUBY for cross-compile.
[ruby-core:20131]
Mon Dec 15 14:39:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_eval.c (vm_call0): NODE_ZSUPER supported. [ruby-core:20480]
* vm_eval.c (vm_call_super): uses method_missing().
* vm_eval.c (method_missing): get rid of too large alloca.
* vm_eval.c (rb_call0, method_missing): uses idMethodMissing.
* vm_method.c (rb_add_method, remove_method, rb_undef): uses
id__send__.
* vm_method.c (Init_eval_method): removed IDs which are defined as
immediate values.
Mon Dec 15 11:35:27 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm.c (vm_backtrace): defaults to script name for C functions.
Mon Dec 15 11:32:18 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ruby.c (rubylib_mangled_path, rubylib_mangled_path2): cannot use
locale encoding before load path is initialized
* ruby.c (ruby_init_loadpath_safe): ditto.
* ruby.c (process_options): loads encdb so that encodings can be
loaded, then associates script name and load paths with the
locale encoding.
Mon Dec 15 10:00:36 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* common.mk (btest-ruby): use RUNRUBY instead of MINIRUBY to load the
shared library. [Bug #849]
Sun Dec 14 22:31:19 2008 Yusuke Endoh <mame@tsg.ne.jp>
* bignum.c (bigmul1_karatsuba): remove temporal bignum.
* bignum.c (bigsqr): call bigmul0(x, x) because it is faster than the
original bigsqr at this point.
* bignum.c (rb_big_pow): a value returned from bigsqr is already
truncated.
Sun Dec 14 21:13:02 2008 Yusuke Endoh <mame@tsg.ne.jp>
* bignum.c (bigmul1_karatsuba): fix comment and refactoring.
Sun Dec 14 14:53:41 2008 Yusuke Endoh <mame@tsg.ne.jp>
* bignum.c (bigmul1_balance, bigmul1_karatsuba): remove all
rb_gc_force_recycle which causes memory leak.
Sun Dec 14 14:26:11 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* spec/README: directory structure changed
Sun Dec 14 09:14:37 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* reverts r20713.
Sun Dec 14 12:51:48 2008 Yusuke Endoh <mame@tsg.ne.jp>
* bignum.c (rb_big_mul): faster multiplication by Karatsuba method and
twice faster square than normal multiplication. [ruby-dev:37392]
* random.c (rb_rand_internal): used by Bignum#*.
* test/ruby/test_bignum.rb: add some tests for above.
Sun Dec 14 01:35:48 2008 Tanaka Akira <akr@fsij.org>
* process.c (forked_child): new variable.
(before_exec): don't call rb_thread_stop_timer_thread if
forked_child.
(after_exec): reset forked_child after rb_thread_start_timer_thread.
(rb_fork): set forked_child just after fork in child.
* ext/pty/pty.c (chfunc): extracted from establishShell.
(establishShell): use rb_fork.
[ruby-dev:37418]
Sat Dec 13 22:17:30 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* common.mk (help): describes more targets.
based on a patch by Michael Klishin. [ruby-core:20523].
Sat Dec 13 18:34:43 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (sym_printable): wrong condition for string iteration.
Sat Dec 13 16:04:48 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* encoding.c (default_external): endless recursion during
loading a locale encoding on some locale.
fixed by Nobuyoshi Nakada.
Sat Dec 13 15:55:37 2008 TAKAO Kouji <kouji@takao7.net>
* ruby.c (process_options): fixed default_internal is nil.
(closes #862)
|