Fri Aug 25 17:15:17 2006 Yukihiro Matsumoto * stable version 1.8.5 released. Fri Aug 25 17:02:06 2006 Yukihiro Matsumoto * gc.c (gc_sweep): typo fixed. Tue Aug 22 18:47:51 2006 Yukihiro Matsumoto * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::handle_method): rdoc documents C module methods as instance methods. a patch in [ruby-core:08536]. Sat Aug 19 14:15:02 2006 NAKAMURA Usaku * win32/Makefile.sub (config.status): include winsock2.h instead of winsock.h when --with-winsock2 is specified. fixed: [ruby-dev:29296] Sat Aug 19 11:28:08 2006 Nobuyoshi Nakada * file.c (rb_file_s_rename): use errno if set properly. fixed: [ruby-dev:29293] Sat Aug 19 11:09:23 2006 Yukihiro Matsumoto * parse.y (then): remove semicolon warning. [ruby-dev:29299] Thu Aug 17 19:15:16 2006 Nobuyoshi Nakada * file.c (rb_stat_[rRwWxX]): check for super user. fixed: [ruby-core:08616] Thu Aug 17 14:47:06 2006 Nobuyoshi Nakada * lib/mkmf.rb: added rdoc by Daniel Berger. [ruby-core:08177] Thu Aug 17 00:39:05 2006 Masatoshi SEKI * lib/rinda/ring.rb (do_reply): Fix for RingServer fails to find a TupleSpace when TupleSpace resides in the same ruby process with RingServer. a patch from Kent Sibilev. [ruby-core:08453] Wed Aug 16 11:45:36 2006 Nobuyoshi Nakada * process.c (proc_setuid, proc_setgid, proc_seteuid, proc_setegid): get rid of bogus implementations on Mac OS X. Tue Aug 15 19:10:18 2006 Eric Hodel * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#find_class_comment): Fix broken class-level documentation. Wed Aug 16 11:09:26 2006 Nobuyoshi Nakada * ruby.c (set_arg0): fill argv other than the first with an empty string instead of NULL. Wed Aug 16 11:08:00 2006 Nobuyoshi Nakada * win32/win32.h: removed an excess macro. fixed: [ruby-dev:29258] Tue Aug 8 23:49:06 2006 Yukihiro Matsumoto * lib/irb/extend-command.rb (IRB::ExtendCommandBundle): pacify RDoc. a patch from Eric Hodel . [ruby-core:08522] Tue Aug 8 11:32:54 2006 NAKAMURA Usaku * Makefile.in, common.mk, configure.in: fix for platforms without rm. patches from Yutaka kanemoto . [ruby-dev:29215] Mon Aug 7 17:56:59 2006 Yukihiro Matsumoto * ext/bigdecimal/bigdecimal.c, ext/digest/rmd160/rmd160ossl.c, ext/digest/sha1/sha1ossl.c, ext/readline/readline.c: move incluion of config.h to pacify AIX. a patch from Yutaka Kanemoto . [ruby-dev:29197] Mon Aug 7 15:55:08 2006 Yukihiro Matsumoto * ext/syck/syck.c (syck_move_tokens): should avoid negative memmove. [ruby-list:42625] Mon Aug 7 14:37:48 2006 Yukihiro Matsumoto * configure.in, common.mk: AIX link issue. a patch from Yutaka Kanemoto . [ruby-dev:29190] * ext/socket/socket.c: AIX socket support. [ruby-dev:29190] Mon Aug 7 12:05:28 2006 Yukihiro Matsumoto * dln.c, eval.c, gc.c, regex.c, ruby.h: shut up AIX alloca warning. a patch from Yutaka Kanemoto . [ruby-dev:29191] Sun Aug 6 20:40:41 2006 Tadayoshi Funaba * lib/date/format.rb (str[fp]time): %[EO]U didn't denote %U. Sat Aug 5 17:07:43 2006 Yukihiro Matsumoto * parse.y (top_local_setup): local_vars[-1] should point ruby_scope itself to protect local_tbl from garbage collection. [ruby-dev:29049] Sat Aug 5 13:54:03 2006 Tadayoshi Funaba * lib/date/format.rb (str[fp]time): "%\n" means "\n". Fri Aug 4 15:21:00 2006 Eric Hodel * lib: Merge RDoc and .document from HEAD. * lib/drb/ssl.rb: Close socket on SSLError [ruby-core:7197] Fri Aug 4 19:13:41 2006 Keiju Ishitsuka * lib/irb/{init.rb,ruby-lex.rb,slex.rb}: can't input '\c' for [ruby-core: 7122]. Fri Aug 4 14:02:14 2006 James Edward Gray II * lib/date/format.rb (__strptime, strftime): allow multi-line patterns in Date#strftime the same as Time#strftime accepts. fixed: [ruby-core:08466] Fri Aug 4 13:56:51 2006 Nobuyoshi Nakada * pack.c (pack_pack): check argument overrun for 'P'. based on a patch by rucila . fixed: [ruby-dev:29182] Tue Aug 1 17:44:03 2006 Nobuyoshi Nakada * win32/win32.c (init_stdhandle): assign standard file handles. Tue Aug 1 12:24:58 2006 Nobuyoshi Nakada * eval.c (Init_Binding): fix old commit miss. Mon Jul 31 17:08:20 2006 NAKAMURA Usaku * win32/win32.c (exit_handler): new function; release winsock and environment work area. * win32/win32.c (NTInitialize): setup exit_handler. * win32/win32.c (StartSockets): use exit_handler. * win32/win32.c (rb_w32_getenv): use GetEnvironmentStrings() instead of GetEnvironmentVariable(), because the latter cannot distinguish wheather a null environment variable exists or not. fixed: [ruby-talk:205123] Mon Jul 31 16:15:13 2006 Tanaka Akira * test/ruby/test_process.rb (TestProcess#test_rlimit_nofile): setrlimit may fail with EINVAL. reported by MIYAMUKO Katsuyuki. [ruby-dev:29174] Mon Jul 31 13:38:22 2006 GOTOU Yuuzou * lib/webrick/httprequest.rb (WEBrick::HTTPReuqest#parse_uri): improve for the value of IPv6 address in the Host: header field. Mon Jul 31 09:22:12 2006 Yukihiro Matsumoto * ruby.h: use ifdef (or defined) for macro constants that may or may not be defined to shut up gcc's -Wundef warnings. [ruby-core:08447] Sun Jul 30 23:26:22 2006 Nobuyoshi Nakada * eval.c (rb_call0): trace call/return of method defined from block. fixed: [ruby-core:08329] * eval.c (rb_trap_eval): make the current thread runnable to deal with exceptions which occurred within the trap. fixed: [ruby-dev:27729] * lib/cgi/session.rb, lib/cgi/session/pstore.rb: suppress warnings. fixed: [ruby-talk:204896] Sat Jul 29 06:12:06 2006 Hidetoshi NAGAI * ext/tk/lib/multi-tk.rb: freeze ip_name for security reason. Sat Jul 29 01:23:52 2006 Yukihiro Matsumoto * lib/logger.rb: improves the amount of documentation that Rdoc picks up when processing logger.rb by moving the require statement back before the comment block. a patch from Hugh Sasse . [ruby-core:08422] Thu Jul 27 22:21:52 2006 Nobuyoshi Nakada * time.c (time_to_s): fixed format mismatch. Thu Jul 27 21:19:54 2006 Yukihiro Matsumoto * math.c (domain_check): a new function to check domain error explicitly for systems that return NaN like FreeBSD. [ruby-core:07019] * math.c (math_acos, math_asin, math_acosh, math_atanh, math_log, math_log10, math_sqrt): use domain_check(). * math.c (math_sqrt): fix documentation flaw. Thu Jul 27 18:12:12 2006 WATANABE Hirofumi * time.c: need to declare time_utc_offset. Thu Jul 27 17:01:01 2006 Yukihiro Matsumoto * io.c (io_close): always calls "close" method of the receiver. [ruby-core:6911] [ruby-core:8112] Thu Jul 27 16:49:01 2006 Yukihiro Matsumoto * time.c (time_to_s): use +0900 style timezone string for local time. [ruby-dev:29143] Thu Jul 27 16:41:15 2006 Yukihiro Matsumoto * ext/openssl/ossl.h: move inclusion point to shut up Solaris compiler. [ruby-core:08114] Wed Jul 26 22:20:59 2006 Yukihiro Matsumoto * configure.in: add support for as and ASFLAGS. [ruby-dev:29138] Wed Jul 26 22:13:45 2006 Minero Aoki * lib/net/http.rb: sync with HEAD (rev 1.132). * lib/net/http.rb (Net::HTTP#post, request_post, request): should set Content-Type: x-www-form-urlencoded by default. * lib/net/http.rb (Net::HTTPHeader#content_type): should return nil when there's no Content-Type. * lib/net/http.rb (Net::HTTPHeader#sub_type): should return nil when there's no sub Content-Type (e.g. "Content-Type: text"). * lib/net/http.rb (Net::HTTPHeader#type_params): wrongly failed when there's no Content-Type. Wed Jul 26 18:35:38 2006 Minero Aoki * ext/strscan/strscan.c: sync with HEAD (rev 1.25). * ext/strscan/strscan.c (strscan_do_scan): StringScanner.new("").scan(//) should return "". [ruby-Bugs:4361] Wed Jul 26 18:14:19 2006 Nobuyoshi Nakada * ext/pty/pty.c (getDevice): retry once after GC on failure. [ruby-core:08282] Wed Jul 26 17:28:16 2006 Nobuyoshi Nakada * sprintf.c (rb_f_sprintf): prepend ".." to %u for negative bignum, but not "-". fixed: [ruby-core:08167] Wed Jul 26 16:39:07 2006 Yukihiro Matsumoto * string.c (rb_str_scan): add string modification check. [ruby-core:7216] Wed Jul 26 16:06:03 2006 Yukihiro Matsumoto * lib/cgi.rb (CGI::QueryExtension::read_multipart): check multipart boundary end. a patch from Fujioka [ruby-dev:28470] Wed Jul 26 01:02:59 2006 Nobuyoshi Nakada * configure.in: suppress warnings by automake 1.8 or later. Tue Jul 25 00:30:06 2006 Eric Hodel * lib/prettyprint.rb: RD to RDoc conversion by Hugh Sasse. Tue Jul 25 14:49:51 2006 NAKAMURA Usaku * lib/mkmf.rb (configuration): typo. Tue Jul 25 13:14:32 2006 Yukihiro Matsumoto * process.c (rb_proc_times): rename hz to hertz to avoid name crash on AIX. [ruby-dev:29126] Mon Jul 24 22:03:40 2006 Nobuyoshi Nakada * eval.c (backtrace): skip frames successive on node and method name. Mon Jul 24 17:55:55 2006 Yukihiro Matsumoto * process.c (rb_f_system): add security check. [ruby-talk:202947] * process.c (rb_f_system): move signal right before fork to avoid signal handler intervention. Mon Jul 24 15:51:52 2006 Tanaka Akira * ext/readline/readline.c (readline_readline): rl_deprep_term_function may be NULL with libedit. reported by Ryan Davis. [ruby-dev:29070] Mon Jul 24 15:19:55 2006 Yukihiro Matsumoto * eval.c (rb_call0): revert last change. [ruby-dev:29112] [ruby-core:08374] Sun Jul 23 22:59:49 2006 Tanaka Akira * test/socket/test_unix.rb: disabled on cygwin. reported by Kouhei Yanagita. [ruby-dev:29080] Fri Jul 21 21:21:08 2006 Nobuyoshi Nakada * eval.c (rb_call0): include funcalled methods in caller list. fixed: [ruby-core:08290] Fri Jul 21 12:11:00 2006 Nobuyoshi Nakada * ext/extmk.rb, lib/mkmf.rb (with_destdir): remove drive letter before prepending destdir on DOSISH. Thu Jul 20 15:07:14 2006 Yukihiro Matsumoto * ruby.h: export classes/modules to implement sandbox. [ruby-core:08283] Thu Jul 20 00:06:29 2006 Keiju Ishitsuka * lib/irb/completion.rb: support for completion of numeric number. [ruby-dev: 29038] Wed Jul 19 23:53:05 2006 Kouhei Sutou * lib/rss/parser.rb, lib/rss/utils.rb: added documents. Tue Jul 18 22:10:13 2006 Yukihiro Matsumoto * process.c (rb_f_system): block SIGCHLD during the process execution, like glibc system(3) does. [ruby-talk:202361] Tue Jul 18 23:12:14 2006 NAKAMURA Usaku * win32/win32.c (open_ifs_socket): should not use plain malloc. * win32/win32.c (rb_w32_opendir): should not use plain realloc. Tue Jul 18 18:05:49 2006 Yukihiro Matsumoto * test/ruby/test_float.rb (TestFloat::test_strtod): update test to conform strtod change. Tue Jul 18 15:49:42 2006 Yukihiro Matsumoto * pack.c (pack_unpack): propagate association array to copied string. [ruby-core:08223] * pack.c (pack_unpack): return referenced string itself if it has same length as specified. a patch from in [ruby-core:08225]. * pack.c (pack_pack): taint 'p' packed strings. Tue Jul 18 14:03:02 2006 Yukihiro Matsumoto * lib/webrick/httpserver.rb (WEBrick::HTTPServer::unmount): remove inpect argument from sprintf. [ruby-dev:29039] Tue Jul 18 10:53:37 2006 Nobuyoshi Nakada * object.c (rb_cstr_to_dbl): limit out-of-range message. * util.c (ruby_strtod): return end pointer even if ERANGE occurred. fixed: [ruby-dev:29041] Mon Jul 18 00:43:05 2006 Nobuyoshi Nakada * util.c (ruby_strtod): stop at dot not followed by digits. fixed: [ruby-dev:29035] Tue Jul 18 00:01:27 2006 Nobuyoshi Nakada * ext/extmk.rb: remove LIBRUBY_SO if static linked extensions exist. Mon Jul 17 23:30:46 2006 Nobuyoshi Nakada * configure.in (rb_cv_msvcrt): defaulted to msvcrt. Workaround for a bug of cygwin 1.5.20. Mon Jul 17 13:43:05 2006 Yukihiro Matsumoto * pack.c (define_swapx): should not use plain malloc. Mon Jul 17 12:58:41 2006 WATANABE Hirofumi * configure.in: should use ac_cv_lib_dl_dlopen=no on MinGW. Sat Jul 15 23:50:12 2006 Nobuyoshi Nakada * eval.c (rb_require_safe): wait for another thread requiring the same feature. fixed: [ruby-core:08229] Sat Jul 15 01:27:13 2006 Nobuyoshi Nakada * dir.c (has_magic): glob names contain alphabets to enable case fold search also for directories. fixed: [ruby-talk:201917] Sat Jul 15 01:09:22 2006 Yukihiro Matsumoto * st.c (malloc): use xmalloc/xcalloc instead of plain malloc/calloc, to detect memory allocation failure. see . * gc.c (rb_memerror): should not raise empty nomem_error. Fri Jul 14 13:08:13 2006 Hidetoshi NAGAI * ext/tk/lib/tk.rb: add methods for new features of latest Tcl/Tk8.5. * ext/tk/lib/tk/namespace.rb: ditto. Fri Jul 14 02:30:12 2006 Yukihiro Matsumoto * lib/monitor.rb: document patch from Hugh Sasse . [ruby-core:08205] Fri Jul 14 01:09:46 2006 Yukihiro Matsumoto * parse.y (then): error in warning action. Fri Jul 14 00:10:15 2006 Yukihiro Matsumoto * array.c (rb_ary_pop): may cause realloc oscillation. a patch from MORITA Naoyuki . [ruby-dev:29028] Thu Jul 13 22:23:56 2006 Hidetoshi NAGAI * ext/tk/lib/tk/composite.rb: improve handling of the classname on the option database for the widget class which includes TkComposite. Thu Jul 13 20:32:19 2006 Kouhei Sutou * lib/rss/parser.rb: updated documents by a patch from Hugh Sasse . [ruby-core:8194] Wed Jul 12 13:54:09 2006 Yukihiro Matsumoto * parse.y (then): we'd like to reserve colon here for the future. warning added. Tue Jul 11 20:58:18 2006 Yukihiro Matsumoto * ruby.h: export rb_cMethod. [ruby-talk:201259] Tue Jul 11 19:13:33 2006 Hidetoshi NAGAI * ext/tk/lib/multi-tk.rb: remove restriction on the class of pseudo-toplevel. Tue Jul 11 18:00:57 2006 Hidetoshi NAGAI * ext/tk/lib/multi-tk.rb: security fix. Tue Jul 11 17:33:39 2006 NAKAMURA Usaku * string.c (rb_str_dump): need to extend len for \b. Mon Jul 10 22:00:00 2006 Shigeo Kobayashi * ext/bigdecimal/bigdecimal.c: Allows '_' to appear within digits. [ruby-dev:28872] * ext/bigdecimal/lib/bigdecimal/util.rb: Bug in to_r reported by [ruby-list:42533] fixed. Mon Jul 10 19:22:19 2006 Tanaka Akira * gc.c (gc_sweep): expand heap earlier. reported by MORITA Naoyuki. [ruby-dev:28960] Mon Jul 10 18:59:34 2006 Hidetoshi NAGAI * ext/tk/lib/tk/font.rb: sorry. mistaken to patch. Mon Jul 10 18:46:52 2006 Hidetoshi NAGAI * ext/tk/tcltklib.c: make SEGV risk lower at exit. * ext/tk/lib/tk.rb: ditto. * ext/tk/lib/multi-tk.rb: fail to call function-style methods on slave interpreters. The strategy (MultiTkIp_PseudoToplevel_Evaluable) to fix the problem is a little tricky. You may have to take care of conflicting with it. * ext/tk/lib/tk.rb: a little change for the pseudo-toplevel strategy. * ext/tk/lib/tk/font.rb: ditto. * ext/tk/lib/tk/msgcat.rb: ditto. * ext/tk/lib/tkextlib/itk/incr_tk.rb: ditto. * ext/tk/sample/demos-en/widget: fail to call function-style methods on sample scripts. To fix it, a strategy which similar to the way on MultiTiIp is used. Please take care when re-write and re-run a demo script on the Widget-Demo code viewer. * ext/tk/sample/demos-jp/widget: ditto. Mon Jul 10 13:58:40 2006 Hidetoshi NAGAI * signal.c (ruby_nativethread_signal, posix_nativethread_signal, sigsend_to_ruby_thread, install_nativethread_sighandler): nativethread-support on signal handler. RE-backport from 1.9. * ruby.h (HAVE_NATIVETHREAD_KILL): ditto. * eval.c (ruby_native_thread_kill): ditto. Mon Jul 10 10:54:14 2006 Ryan Davis * lib/rdoc/parsers/parse_f95.rb: massive overhaul from Yasuhiro Morikawa including new file suffixes, function support, public variables and constants, derived-types, defined operators and assignments, namelists, and subroutine and function arguments. Truly massive. * lib/rdoc/diagram.rb: diagrams are now cached. * lib/irb/completion.rb: fixed a crasher when completing against an unnamed class/module. * lib/rdoc/parsers/parse_c.rb: private comment (--/++) support in C-file rdoc. * lib/debug.rb: minor clarification in help. * lib/pp.rb: minor clarification on exception. Mon Jul 10 09:29:12 2006 Nobuyoshi Nakada * eval.c (rb_clear_cache_for_undef): clear entries for included module. fixed: [ruby-core:08180] Mon Jul 10 01:48:38 2006 Yukihiro Matsumoto * st.h (st_data_t): use pointer sized integer for st_data_t. [ruby-dev:28988] Sun Jul 9 18:06:47 2006 Nobuyoshi Nakada * lib/mkmf.rb (try_constant): fix for value 1 at cross compiling. * lib/mkmf.rb (create_makefile): prevent substitution of macro definition. fixed: http://www.yotabanana.com/lab/20060624.html#p02 Sun Jul 9 00:54:34 2006 Nobuyoshi Nakada * eval.c (next_jump): deal with destination of next. fixed: [ruby-core:08169] Fri Jul 7 00:38:49 2006 Yukihiro Matsumoto * hash.c (rb_hash_default): should not call default procedure if no key is given. [ruby-list:42541] Fri Jul 7 00:29:10 2006 Yukihiro Matsumoto * time.c (time_mload): a patch from Daniel Berger . [ruby-core:08128] Thu Jul 6 22:21:57 2006 Nobuyoshi Nakada * process.c (rb_proc_times): use sysconf(_SC_CLK_TCK) value prior to HZ and CLK_TCK. fixed: [ruby-talk:200293] Thu Jul 6 22:17:21 2006 Minero Aoki * ext/racc/cparse/cparse.c: sync with original code, rev 1.8. * ext/racc/cparse/cparse.c: should mark CparseParams objects. * lib/racc/parser.rb: sync with original code, rev 1.8. * lib/racc/parser.rb: update coding style. Mon Jul 3 19:04:38 2006 Hidetoshi NAGAI * ext/tk/tcltklib.c (ip_make_menu_embeddable): help to make a menu widget embeddable (pack, grid, and so on) like as a general widget. However, an embeddable menu may require to be definied some event bindings for general use. * ext/tk/lib/tk/event.rb: [bug fix] Tk.callback_break and Tk.callback_continue don't work on MultiTkIp. * ext/tk/lib/multi-tk.rb: ditto. * ext/tk/lib/tk.rb: lack of Tk.callback_return. * ext/tk/lib/tk/menu.rb: improve creating clone menus. Mon Jul 3 14:42:06 2006 Nobuyoshi Nakada * ext/etc/extconf.rb (PW_UID2VAL, PW_GID2VAL): defaulted to conversion from int, and sys/types.h needs to be included before grp.h. fixed: [ruby-dev:28938] Mon Jul 3 01:14:15 2006 Yukihiro Matsumoto * string.c (rb_str_inspect): encode \b (\010) for escape. [ruby-dev:28927] * string.c (rb_str_dump): ditto. Sun Jul 2 19:17:56 2006 Minero Aoki * ext/racc/cparse/cparse.c: sync with original code (rev 1.7). * ext/racc/cparse/cparse.c: use rb_catch instead of rb_iterate. Giving a block to a Ruby-level method by rb_iterate is obsolete on Ruby 1.9. Note that current cparse.c still includes one rb_iterate call on Ruby 1.8, but it is not a problem (at least just now). Sat Jul 1 15:15:49 2006 Tanaka Akira * test/socket/test_nonblock.rb: add timeout to send/receive an empty UDP packet. [ruby-dev:28820] Fri Jun 30 23:46:23 2006 Yukihiro Matsumoto * configure.in: should test isinf for Solaris with GCC compiler. a patch from . [ruby-core:07791] * configure.in: -shared patch from Andrew Morrow . [ruby-core:08100] Thu Jun 29 18:58:51 2006 Yukihiro Matsumoto * ext/bigdecimal/bigdecimal.c (BigDecimal_version): fix patch failure. Thu Jun 29 18:00:51 2006 Yukihiro Matsumoto * ext/bigdecimal/bigdecimal.c: add RDoc document. a patch from mathew . [ruby-core:07050] Wed Jun 28 15:47:14 2006 Eric Hodel * lib/optparse.rb: RDoc patch from Robin Stocker [ruby-core:08087] Wed Jun 28 19:04:34 2006 Tanaka Akira * test/socket/test_unix.rb: test_seqpacket_pair removed. [ruby-dev:28846] Tue Jun 27 23:03:49 2006 Yukihiro Matsumoto * string.c: RDoc update for =~ method. a patch from Alex Young . [ruby-core:08068] Tue Jun 27 22:47:18 2006 Hidetoshi NAGAI * ext/tk/tcltklib.c: forgot to update TCLTKLIB_RELEASE_DATE. * ext/tk/lib/tk.rb (tk_tcl2ruby): [bug fix] sometimes fail to convert a tcl string to a ruby object if the tcl string includes "\n". Tue Jun 27 16:04:05 2006 WATANABE Hirofumi * win32/win32.h: define isascii on MinGW for msvcrt compatibility. * configure.in: set ac_cv_header_sys_time_h=no on MinGW for msvcrt compatibility. Tue Jun 27 11:36:02 2006 Nobuyoshi Nakada * ext/etc/etc.c (setup_passwd, setup_group): allow bignum uid, gid and so on. [ruby-talk:199102] Mon Jun 26 13:37:27 2006 Eric Hodel * lib/rdoc: Merge from HEAD. Add options to limit the ri search path. Tue Jun 27 00:54:08 2006 Nobuyoshi Nakada * util.c (powersOf10): constified. Mon Jun 26 18:37:44 2006 Hidetoshi NAGAI * ext/tk/tcltklib.c (ip_delete): fix SEGV when a slave-ip is deleted on callback. Mon Jun 26 10:47:42 2006 Yukihiro Matsumoto * io.c (pipe_open): avoid closing uninitialized file descriptors. a patch from [ruby-dev:28600] Mon Jun 26 09:56:22 2006 NAKAMURA Usaku * win32/win32.[ch] (rb_w32_send, rb_w32_sendto): constified. Sun Jun 25 23:02:12 2006 Nobuyoshi Nakada * Makefile.in, mkconfig.rb: catch-up for latest autoconf. Sat Jun 24 06:35:00 2006 Hidetoshi NAGAI * signal.c: revert last change. * ruby.h: ditto. * eval.c: ditto. Thu Jun 22 11:52:02 2006 Yukihiro Matsumoto * lib/net/http.rb (Net::HTTPResponse): duplicated error 501; HTTPInternalServerError should be error 500. [ruby-core:08037] Thu Jun 22 05:15:58 2006 Tanaka Akira * ext/socket/socket.c (sock_s_socketpair): try GC only once. [ruby-dev:28778] Wed Jun 21 21:28:32 2006 Tadayoshi Funaba * lib/date.rb (jd_to_commercial): now works fine even if in mathn-ized context. Wed Jun 21 17:32:31 2006 Hidetoshi NAGAI * signal.c (ruby_nativethread_signal, posix_nativethread_signal, sigsend_to_ruby_thread, install_nativethread_sighandler): nativethread-support on signal handler (backport from 1.9). * ruby.h (HAVE_NATIVETHREAD_KILL): ditto. * eval.c (ruby_native_thread_kill): ditto. Wed Jun 21 08:39:54 2006 Yukihiro Matsumoto * lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): merge Date and Time processing. [ruby-core:08033] Wed Jun 21 01:40:25 2006 Nobuyoshi Nakada * parse.y (yylex, reswords): modifier token is no longer returned in fname state. [ruby-dev:28775] Wed Jun 21 01:12:46 2006 Kouhei Sutou * lib/rss/rss.rb: RSS::Element.def_corresponded_attr_writer supported date type. Tue Jun 20 22:08:36 2006 Kouhei Sutou * test/rss/test_parser.rb: split parser tests into ... * test/rss/test_parser_1.0.rb: ... RSS 1.0 parsing tests and ... * test/rss/test_parser_2.0.rb: ... RSS 2.0 parsing tests. Tue Jun 20 21:19:06 2006 Kouhei Sutou * lib/rss/rss.rb: provided default RSS::Element#children. * lib/rss/0.9.rb: used default RSS::Element#children. * lib/rss/1.0.rb: ditto. * lib/rss/2.0.rb: ditto. * lib/rss/taxonomy.rb: ditto. Tue Jun 20 21:04:33 2006 Kouhei Sutou * lib/rss/rss.rb: provided default RSS::Element#_tags. * lib/rss/0.9.rb: used default RSS::Element#_tags. * lib/rss/1.0.rb: ditto. * lib/rss/2.0.rb: ditto. * lib/rss/image.rb: ditto. * lib/rss/taxonomy.rb: ditto. Tue Jun 20 20:47:07 2006 Kouhei Sutou * lib/rss/rss.rb: hide RSS::Element.install_model. (RSS::Element.install_have_child_element, RSS::Element.install_have_children_element, RSS::Element.install_text_element, RSS::Element.install_date_element): call RSS::Element.install_model internally. * lib/rss/0.9.rb: followed new API. * lib/rss/1.0.rb: ditto. * lib/rss/2.0.rb: ditto. * lib/rss/content.rb: ditto. * lib/rss/dublincore.rb: ditto. * lib/rss/image.rb: ditto. * lib/rss/syndication.rb: ditto. * lib/rss/taxonomy.rb: ditto. * lib/rss/trackback.rb: ditto. Tue Jun 20 20:18:05 2006 GOTOU Yuuzou * ext/openssl/extconf.rb: add check for OBJ_NAME_do_all_sorted. * ext/openssl/ossl_cipher.c (ossl_s_ciphers): new method OpenSSL::Cipher.ciphers. it returns all the cipher names. * ext/openssl/lib/openssl/cipher.rb: - add constants AES128, AES192, AES256. [ruby-dev:28610] - reimplement without eval() * ext/openssl/lib/openssl/digest.rb: reimplement without eval(). * test/openssl/test_cipher.rb, test_digest: fix about reimplemented features. * sample/openssl/cipher.rb: rewrite all. Sat Jun 19 11:21:46 2006 Eric Hodel * lib/test/unit/assertions.rb: Merge RDoc from HEAD. Tue Jun 20 01:06:57 2006 Kouhei Sutou * lib/rss/rss.rb: - cleanup validation mechanism. Now, #XXX_validation is needless. - changed internal variable name RSS::Element::MODEL to RSS::Element::MODELS. - RSS::Element.install_model requires uri. * lib/rss/0.9.rb: followed new validation API. * lib/rss/1.0.rb: ditto. * lib/rss/2.0.rb: ditto. * lib/rss/content.rb: ditto. * lib/rss/dublincore.rb: ditto. * lib/rss/image.rb: ditto. * lib/rss/syndication.rb: ditto. * lib/rss/taxonomy.rb: ditto. * lib/rss/trackback.rb: ditto. Mon Jun 19 23:40:59 2006 NARUSE, Yui * ext/nkf/lib/kconv.rb: remove default -m0 and fix document. * ext/nkf/nkf-8/{nkf.c, config.h, utf8tbl.c, utf8tbl.h}: imported nkf 2.0.7. Mon Jun 19 22:31:59 2006 Kouhei Sutou * lib/rss/rss.rb: - provided default #to_s as RSS::Element#to_s. - removed RSS::Element#other_element. - RSS::Element#tag requires attributes as Hash instead of Array. * lib/rss/0.9.rb: removed #to_s to use RSS::Element#to_s. * lib/rss/1.0.rb: ditto. * lib/rss/image.rb: ditto. * lib/rss/taxonomy.rb: ditto. * lib/rss/trackback.rb: ditto. * lib/rss/2.0.rb: removed #other_element. Mon Jun 19 22:09:16 2006 Masaki Suketa * ext/win32ole/win32ole.c(ole_invoke): support some kind of method of word. [ruby-Bugs#3237] * ext/win32ole/tests/test_word.rb: ditto. * ext/win32ole/tests/testall.rb: ditto. Mon Jun 19 00:02:17 2006 Kouhei Sutou * lib/rss/rss.rb: automatically detected attributes. * lib/rss/0.9.rb: removed #_attrs. * lib/rss/1.0.rb: ditto. * lib/rss/2.0.rb: ditto. * lib/rss/image.rb: ditto. * lib/rss/taxonomy.rb: ditto. * lib/rss/trackback.rb: ditto. * lib/rss/parser.rb: followed new internal API. Mon Jun 19 00:00:17 2006 Hidetoshi NAGAI * ext/tk/lib/multi-tk.rb: fix bug: initialize improper tables. Sun Jun 18 22:36:13 2006 Kouhei Sutou * lib/rss/rss.rb: RSS::Element#initialize accepts initial attributes. * lib/rss/0.9.rb: ditto. * lib/rss/1.0.rb: ditto. * lib/rss/2.0.rb: ditto. * lib/rss/dublincore.rb: ditto. * lib/rss/image.rb: ditto. * lib/rss/taxonomy.rb: ditto. * lib/rss/trackback.rb: ditto. * lib/rss/utils.rb: added Utils.element_initialize_arguments? to detect backward compatibility initial arguments. * lib/rss/parser.rb: user initial attributes to initialize RSS::Element. Sun Jun 18 18:24:42 2006 Kouhei Sutou * lib/rss/converter.rb: use NKF for Uconv fallback. Sun Jun 18 18:22:04 2006 Kouhei Sutou * test/rss/test_image.rb: shared name space configuration. Sun Jun 18 18:13:25 2006 Kouhei Sutou * lib/rss/rss.rb: improved ignore_unknown_element handling. RSS::NotExpectedTagError provides tag URI. * lib/rss/parser.rb: ditto. * lib/rss/0.9.rb: ditto. * lib/rss/1.0.rb: ditto. * lib/rss/content.rb: ditto. * lib/rss/dublincore.rb: ditto. * lib/rss/image.rb: ditto. * lib/rss/syndication.rb: ditto. * lib/rss/taxonomy.rb: ditto. * lib/rss/trackback.rb: ditto. * test/rss/rss-assertions.rb: checked URI of not expected tag too. * test/rss/test_parser.rb: ditto. Sun Jun 18 18:08:36 2006 Kouhei Sutou * lib/rss/rss.rb: changed empty namespace URI representation to "" from nil. * lib/rss/parser.rb: ditto. * lib/rss/0.9.rb: ditto. * lib/rss/1.0.rb: ditto. * lib/rss/2.0.rb: ditto. Sun Jun 18 18:03:50 2006 Kouhei Sutou * lib/rss/parser.rb: removed a guard for requiring open-uri. Sun Jun 18 18:01:26 2006 Kouhei Sutou * lib/rss/rss.rb: fixed typo: except -> expect * lib/rss/parser.rb: ditto. * test/rss/rss-assertions.rb: ditto. * test/rss/test_parser.rb: ditto. Sun Jun 18 17:52:39 2006 Kouhei Sutou * lib/rss/rss.rb: RSS::Element#calc_indent became to be deprecated. * lib/rss/0.9.rb: ditto. * lib/rss/1.0.rb: ditto. * lib/rss/image.rb: ditto. * lib/rss/taxonomy.rb: ditto. * lib/rss/trackback.rb: ditto. * test/rss/test_1.0.rb: removed RSS::Element.indent_size tests. * test/rss/test_2.0.rb: ditto. Sun Jun 18 00:49:11 2006 Tanaka Akira * ext/socket/socket.c (bsock_recv_nonblock): new method BasicSocket#recv_nonblock. (udp_recvfrom_nonblock): renamed from ip_recvfrom_nonblock. IPSocket#recvfrom_nonblock is moved to UDPSocket#recvfrom_nonblock. (unix_recvfrom_nonblock): removed. UNIXSocket#recvfrom_nonblock is removed. Sat Jun 17 22:17:17 2006 Yukihiro Matsumoto * lib/mathn.rb (Integer::prime_division): raise ZeroDivisionError on zeros. [ruby-dev:28739] Sat Jun 17 14:53:32 2006 Tanaka Akira * lib/pathname.rb: backport from 1.9. (Kernel#Pathname): new method. Sat Jun 17 10:30:41 2006 Kouhei Sutou * lib/rss/rss.rb (Hash#merge, Enumerable#sort_by): removed. * lib/rss/rss.rb (RSS::RootElementMixin#to_xml): added. [ruby-talk:197284] We can convert RSS version easily like the following: rss10 = RSS::Parser.parse(File.read("1.0.rdf")) File.open("2.0.rss", "w") {|f| f.print(rss10.to_xml("2.0"))} * test/rss/test_1.0.rb: added #to_xml test. * test/rss/test_2.0.rb: ditto. * test/rss/rss-testcase.rb: added some helper methods that generates sample RSS 2.0. * sample/rss/convert.rb: added a sample script to convert RSS format. Sat Jun 17 10:23:22 2006 Kouhei Sutou * lib/rss/rss.rb (Kernel#funcall): removed. * lib/rss/parser.rb (Kernel.URI): removed. * lib/rss/maker/: supported xxx.new_yyy do |yyy| yyy.zzz = zzz ... end style and this style became the style of the recommendation. Old style yyy = xxx.new_yyy yyy.zzz = zzz ... is supported too but this style isn't recommended. [ruby-talk:197284] * test/rss/test_*maker*.rb: used new recommended style. Sat Jun 17 09:03:47 2006 Kouhei Sutou * lib/rss, test/rss: backported from trunk. (2005-11-16 - now) * lib/rss/rss.rb (RSS::VERSION): 0.1.5 -> 0.1.6. * test/rss/test_version.rb (RSS::TestVersion#test_version): ditto. * lib/rss/trackback.rb: added TrackBack prefix. * lib/rss/maker/trackback.rb: ditto. * lib/rss/rss.rb : removed needless argument 'prefix'. * lib/rss/parser.rb: ditto. * lib/rss/1.0.rb: added rdf:Bag. * lib/rss/taxonomy.rb: implemented taxonomy module. * test/rss/test_taxonomy.rb: added tests for taxonomy support. * lib/rss/1.0.rb: added convenience method 'resources'. * lib/rss/taxonomy.rb: ditto. * test/rss/rss-assertions.rb: added test for 'resources'. * test/rss/test_taxonomy.rb: ditto. * lib/rss/rss.rb: fixed a indentation bug. * lib/rss/taxonomy.rb: fixed #to_s bug. * test/rss/test_taxonomy.rb: added a #to_s test. * lib/rss/maker/taxonomy.rb: implemented taxonomy module for RSS Maker. * lib/rss/taxonomy.rb: supported RSS Maker. * lib/rss/maker.rb: added taxonomy module support. * lib/rss/rss.rb: adjusted to other element API. * lib/rss/1.0.rb: adjusted to other element API but backward compatibility is reserved. * lib/rss/0.9.rb: ditto. * test/rss/test_maker_taxo.rb: added test case for taxonomy module for RSS Maker. * test/rss/test_setup_maker_1.0.rb: added tests for taxo:topic. * test/rss/test_setup_maker_1.0.rb: added backward compatibility test. * test/rss/test_setup_maker_0.9.rb: ditto. * test/rss/test_setup_maker_2.0.rb: ditto. * test/rss/rss-testcase.rb: added convenience method for setting up taxo:topic. * test/rss/rss-assertions.rb: added assertion for taxo:topic. * sample/rss/blend.rb: followed new API. * lib/rss/taxonomy.rb: changed class or module prefix to Taxonomy from Taxo. * lib/rss/maker/taxonomy.rb: ditto. * test/rss/test_taxonomy.rb: use #reject directory. * lib/rss/: use #__send__ instead of #send. * test/rss/: ditto. * lib/rss/parser.rb: added entity handling type predicate. * lib/rss/rexmlparser.rb: ditto. * lib/rss/xmlparser.rb: ditto. * lib/rss/xmlscanner.rb: ditto. * lib/rss/xmlscanner.rb: more robust entity handling. * test/rss/test_parser.rb: added an entity handling test. * test/rss/test_2.0.rb: added RSS 2.0 tests. * test/rss/rss-assertions.rb: extended XML stylesheet assertion. * lib/rss/0.9.rb: added initialize method. * test/rss/test_1.0.rb: cleanup. * lib/rss/image.rb: added Image prefix. * lib/rss/maker/image.rb: ditto. * lib/rss/rss.rb: improved type conversion. * lib/rss/1.0.rb: ditto. * lib/rss/0.9.rb: ditto. * lib/rss/2.0.rb: ditto. * lib/rss/image.rb: ditto. * lib/rss/syndication.rb: ditto. * test/rss/test_2.0.rb: added type conversion tests. * test/rss/test_accessor.rb: ditto. * test/rss/test_to_s.rb: ditto. * test/rss/test_syndication.rb: ditto. * test/rss/test_setup_maker_2.0.rb: ditto. * test/rss/test_setup_maker_1.0.rb: ditto. * test/rss/test_setup_maker_0.9.rb: ditto. * test/rss/test_maker_sy.rb: ditto. * test/rss/test_maker_image.rb: ditto. * test/rss/test_maker_2.0.rb: ditto. * test/rss/test_maker_0.9.rb: ditto. * test/rss/test_image.rb: ditto. * test/rss/test_maker_1.0.rb: use assert instead of assert_equal. * test/rss/rss-assertions.rb: improved type conversion assertions. * lib/rss/rss.rb: added backward compatibility codes. * lib/rss/parser.rb: ditto. * test/rss/test_parser.rb: ditto. * test/rss/test_2.0.rb: ditto. Sat Jun 17 02:01:00 2006 Tanaka Akira * lib/pp.rb (Kernel#pretty_inspect): defined for pretty printed string. Sat Jun 17 00:23:58 2006 Nobuyoshi Nakada * parse.y (reswords): kDO_BLOCK was missing. fixed: [ruby-core:7995] Sat Jun 17 00:02:15 2006 Masaki Suketa * ext/win32ole/win32ole.c (ole_propertyput): support PROPERTYPUTREF. [ruby-talk:183042] * ext/win32ole/tests/test_propertyputref.rb: ditto. Thu Jun 15 23:02:47 2006 Masaki Suketa * ext/win32ole/win32ole.c (fole_methods): The return value of WIN32OLE#ole_methods should include PROPERTYPUTREF methods. * ext/win32ole/win32ole.c (fole_put_methods): The return value of WIN32OLE#ole_put_methods should include PROPERTYPUTREF methods. * ext/win32ole/tests/test_ole_methods.rb: ditto. * ext/win32ole/tests/testall.rb : ditto. Wed Jun 14 18:23:28 2006 Eric Hodel * enum.c (enum_any): Documentation typo. Wed Jun 14 15:01:09 2006 Eric Hodel * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser#warn): Don't print warnings when -q is set. Wed Jun 14 23:03:53 2006 Tanaka Akira * configure.in: check sizeof(rlim_t). check setrlimit. * process.c (proc_getrlimit): new method Process.getrlimit. (proc_setrlimit): new method Process.setrlimit. * ruby.h (NUM2ULL): new macro. Mon Jun 12 22:25:09 2006 Yukihiro Matsumoto * sprintf.c (rb_f_sprintf): adjust precision length to prevent splitting multi-byte characters. [ruby-list:42389] Sun Jun 11 23:20:07 2006 Nobuyoshi Nakada * lib/optparse.rb (OptionParser::Arguable#getopts): pass self to the parser. Sun Jun 11 10:00:57 2006 NAKAMURA Usaku * win32/win32.h (write): not need to define on bcc. Sun Jun 11 08:30:33 2006 Nobuyoshi Nakada * lib/optparse.rb (OptionParser#getopts): new methods. Sat Jun 10 18:02:40 2006 Yukihiro Matsumoto * ext/bigdecimal/lib/bigdecimal/newton.rb (Newton::nlsolve): typo fixed: raize -> raise. [ruby-talk:196608] Thu Jun 8 14:19:17 2006 NAKAMURA Usaku * win32/win32.[ch] (rb_w32_read, rb_w32_write): new functions. use recv() and send() when fd is socket. fixed: [ruby-dev:28694] Wed Jun 7 16:22:51 2006 Yukihiro Matsumoto * lib/tempfile.rb (Tempfile::make_tmpname): put dot between basename and pid. [ruby-talk:196272] Wed Jun 7 14:53:04 2006 NAKAMURA Usaku * win32/win32.c (errmap): add some winsock errors. Wed Jun 7 11:34:38 2006 NAKAMURA Usaku * configure.in: add new configure option `--with-winsock2' for mingw. * win32/Makefile.sub (config.h): define USE_WINSOCK2 in config.h instead of in CPPFLAGS. * ext/socket/extconf.rb: determine whether to use winsock2 or not by using with_config. Wed Jun 7 10:45:10 2006 NAKAMURA Usaku * win32/{configure.bat, setup.mak, Makefile.sub, win32.h}: add new configure option `--with-winsock2'. * win32/win32.c (StartSockets): ditto. * ext/socket/extconf.rb: ditto. * win32/win32.c (open_ifs_socket): new function. * win32/win32.c (StartSockets, rb_w32_socket): use open_ifs_socket() instead of socket(). ifs socket support is backported from trunk. Wed Jun 7 09:14:44 2006 Yukihiro Matsumoto * eval.c (rb_call0): binding for the return event hook should have consistent scope. [ruby-core:07928] * eval.c (EXEC_EVENT_HOOK): trace_func may remove itself from event_hooks. no guarantee for arbitrary hook deletion. [ruby-dev:28632] Mon Jun 5 18:12:12 2006 Tanaka Akira * ext/socket/socket.c (sock_s_unpack_sockaddr_in): reject non-AF_INET/AF_INET6 sockaddr. (sock_s_unpack_sockaddr_un): reject non-AF_UNIX sockaddr. [ruby-dev:28691] Sun Jun 4 20:40:19 2006 Tanaka Akira * ext/socket/socket.c: fix sockaddr_un handling. [ruby-dev:28677] Fri Jun 2 22:08:17 2006 Yukihiro Matsumoto * lib/forwardable.rb: RDoc typo fix from Jan Svitok . [ruby-core:07943] Fri Jun 2 19:02:09 2006 GOTOU Yuuzou * ext/openssl/extconf.rb: use create_header. * ext/openssl/ossl.h, ext/openssl/openssl_missing.h: include RUBY_EXTCONF_H. Fri Jun 2 17:16:52 2006 Nobuyoshi Nakada * lib/mkmf.rb (CLEANINGS): remove extconf.h by distclean if created. Fri Jun 2 00:11:19 2006 Tanaka Akira * ext/socket/socket.c (s_recvfrom): alen may be zero with UNIXSocket too. (tested on NetBSD 3.0) (s_recvfrom_nonblock): extracted from sock_recvfrom_nonblock. (sock_recvfrom_nonblock): use s_recvfrom_nonblock. (ip_recvfrom_nonblock): new method: IPSocket#recvfrom_nonblock (unix_recvfrom_nonblock): new method: UNIXSocket#recvfrom_nonblock (s_accept_nonblock): extracted from sock_accept_nonblock. (sock_accept_nonblock): use s_accept_nonblock. (tcp_accept_nonblock): new method: TCPServer#accept_nonblock (unix_accept_nonblock): new method: UNIXServer#accept_nonblock Thu Jun 1 19:12:37 2006 Nobuyoshi Nakada * win32/win32.c (rb_w32_cmdvector): backslashes inside single-quotes no longer has special meanings. fixed: [ruby-list:42311] Thu Jun 1 16:14:41 2006 NAKAMURA Usaku * win32/win32.c (rb_w32_getcwd): runtime's getcwd() will not success if the length of the cwd is longer than MAX_PATH. fixed [ruby-list:42335] Thu Jun 1 11:29:14 2006 NAKAMURA Usaku * win32/win32.c (rb_w32_getcwd): set errno if not set. fixed [ruby-list:42346] Sat May 27 11:29:46 2006 nobuyoshi nakada * ext/extmk.rb (extmake): remove extinit files if no statically linked extensions. Fri May 26 09:05:11 2006 nobuyoshi nakada * ruby.h, lib/mkmf.rb (create_header): clear command line options for macros moved to extconf.h. * ext/extmk.rb (extract_makefile, extmk): made RUBY_EXTCONF_H and EXTSTATIC permanent. * ext/{dbm,digest/*,socket,zlib}/extconf.rb: used $defs and $INCFLAGS. * {bcc32,win32,wince}/Makefile.sub (COMPILE_C, COMPILE_CXX): added $(INCFLAGS). * lib/mkmf.rb (configuration): add $defs unless extconf.h was created. Thu May 25 01:52:07 2006 nobuyoshi nakada * lib/mkmf.rb (pkg_config): particular config commands support. * ext/extmk.rb: deal with $static set in extconf.rb. * mkconfig.rb: merge multiple entries to an entry with multiple lines. * lib/mkmf.rb: allow a series of commands to link. * win32/Makefile.sub: embed manifests. * win32/setup.mak: suffix OS name by runtime version. Wed May 24 23:52:11 2006 nobuyoshi nakada * configure.in (ac_install_sh): ignore dummy install-sh. [ruby-talk:193876] Wed May 24 03:10:48 2006 GOTOU Yuuzou * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SocketForwarder#setsockopt,getsockopt): typo fixed. Mon May 22 17:54:12 2006 NAKAMURA Usaku * ext/socket/socket.c (sock_recvfrom_nonblock): use rb_read_pending instead of rb_io_read_pending. [ruby-dev:28663] Mon May 22 17:30:04 2006 Tanaka Akira * rubyio.h (rb_io_set_nonblock): declared. * io.c (rb_io_set_nonblock): new function. (io_getpartial): nonblocking read support. (io_read_nonblock): new method: IO#read_nonblock. (io_write_nonblock): new method: IO#write_nonblock. * ext/socket/socket.c (sock_connect_nonblock): new method: Socket#connect_nonblock. (sock_accept_nonblock): new method: Socket#accept_nonblock. (sock_recvfrom_nonblock): new method: Socket#recvfrom_nonblock. [ruby-core:7917] Mon May 22 15:57:39 2006 Yukihiro Matsumoto * eval.c (umethod_bind): should not update original class. [ruby-dev:28636] Mon May 22 13:38:57 2006 Yukihiro Matsumoto * eval.c (ev_const_get): should support constant access from within instance_eval(). [ruby-dev:28327] Thu May 18 17:51:32 2006 Yukihiro Matsumoto * time.c (time_timeval): should round for usec floating number. [ruby-core:07896] * time.c (time_add): ditto. Thu May 18 17:11:45 2006 Yukihiro Matsumoto * lib/cgi.rb (CGI::out): support utf-8. a patch from Fujioka . [ruby-dev:28649] Thu May 18 00:42:12 2006 nobuyoshi nakada * ext/extmk.rb, lib/mkmf.rb: use BUILD_FILE_SEPARATOR in Makefiles. Wed May 17 17:55:26 2006 Yukihiro Matsumoto * dir.c (sys_warning): should not call a vararg function rb_sys_warning() indirectly. [ruby-core:07886] Wed May 17 08:17:15 2006 Yukihiro Matsumoto * util.c (ruby_strtod): try to reduce errors using powersOf10 table. [ruby-dev:28644] Tue May 16 15:34:18 2006 Yukihiro Matsumoto * re.c (rb_reg_initialize): should not allow modifying literal regexps. frozen check moved from rb_reg_initialize_m as well. Tue May 16 09:20:16 2006 Yukihiro Matsumoto * re.c (rb_reg_initialize): should not modify untainted objects in safe levels higher than 3. * re.c (rb_memcmp): type change from char* to const void*. * dir.c (dir_close): should not close untainted dir stream. * dir.c (GetDIR): add tainted/frozen check for each dir operation. Mon May 15 17:42:39 2006 Yukihiro Matsumoto * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_symbol_arg): typo fixed. a patch from Florian Gross . Sat May 13 16:14:05 2006 Tanaka Akira * lib/pp.rb (PP.mcall): new method. (Struct#pretty_print): call Kernel#class and Struct#members even if overridden. (Struct#pretty_print_cycle): ditto. [ruby-core:7865] Thu May 11 19:57:00 2006 Yukihiro Matsumoto * util.c (ruby_strtod): differ addition to minimize error. [ruby-dev:28619] Fri Aug 11 15:39:25 2006 Eric Hodel * lib/yaml/tag.rb: Replace nodoc with stopdoc so Module methods get documented. Thu May 11 18:10:43 2006 Yukihiro Matsumoto * util.c (ruby_strtod): should not raise ERANGE when the input string does not have any digits. [ruby-dev:28629] Sun May 7 03:09:51 2006 Stephan Maka * lib/resolv.rb (Resolv::DNS::Requester::ConnectedUDP#initialize): Use AF_INET6 for nameservers containing colons. Sat May 6 00:38:42 2006 Yukihiro Matsumoto * signal.c (trap): sig should be less then NSIG. Coverity found this bug. a patch from Kevin Tew . [ruby-core:07823] Thu May 4 02:24:16 2006 Yukihiro Matsumoto * ext/syck/emitter.c (syck_scan_scalar): avoid accessing uninitialized array element. a patch from Pat Eyler . [ruby-core:07809] * array.c (rb_ary_fill): initialize local variables first. a patch from Pat Eyler . [ruby-core:07810] * ext/syck/yaml2byte.c (syck_yaml2byte_handler): need to free type_tag. a patch from Pat Eyler . [ruby-core:07808] Wed May 3 02:12:07 2006 Yukihiro Matsumoto * ext/socket/socket.c (make_hostent_internal): accept ai_family check from Sam Roberts . [ruby-core:07691] Mon May 1 12:23:19 2006 * numeric.c (num_div): use floor rather than rb_Integer(). [ruby-dev:28589] * numeric.c (flo_divmod): the first element of Float#divmod should be an integer. [ruby-dev:28589] * test/ruby/test_float.rb: add tests for divmod, div, modulo and remainder. Sat Apr 29 22:42:08 2006 GOTOU Yuuzou * ext/openssl/ossl_asn1.c (ossl_asn1_decode0): should initialize flag. [ruby-core:07785] Fri Apr 28 10:53:16 2006 Yukihiro Matsumoto * util.c (ruby_strtod): should not cut off 18 digits for no reason. [ruby-core:07796] * util.c (ruby_strtod): fixed wrong conversion. Thu Apr 27 01:38:10 2006 Yukihiro Matsumoto * array.c (rb_ary_fill): internalize local variable "beg" to pacify Coverity. [ruby-core:07770] Wed Apr 26 16:59:24 2006 Yukihiro Matsumoto * pack.c (pack_unpack): now supports CRLF newlines. a patch from . [ruby-dev:28601] Tue Apr 25 18:00:05 2006 Hidetoshi NAGAI * ext/tk/tcltklib.c (delete_slaves): maybe increment the reference count of a NULL Tcl_Obj [ruby-core:07759]. Tue Apr 25 07:55:31 2006 Yukihiro Matsumoto * lib/jcode.rb (String::tr_s): should have translated non squeezing character sequence (i.e. a character) as well. thanks to Hiroshi Ichikawa [ruby-list:42090] Tue Apr 25 00:08:24 2006 Yukihiro Matsumoto * regex.c (re_compile_pattern): should check if c is not a multibyte character. a patch from KIMURA Koichi . [ruby-dev:28598] Fri Apr 21 15:19:13 2006 Hidetoshi NAGAI * ext/tk/tcltklib.c (lib_eventloop_ensure): refer freed pointer [ruby-core:07744] and memory leak. Fri Apr 21 12:14:52 2006 Yukihiro Matsumoto * ext/socket/socket.c: document update patch from Sam Roberts . [ruby-core:07701] Wed Apr 19 13:55:27 2006 Yukihiro Matsumoto * parse.y (arg): too much NEW_LIST() * eval.c (SETUP_ARGS0): remove unnecessary access to nd_alen. Wed Apr 19 11:57:04 2006 Yukihiro Matsumoto * eval.c (rb_eval): use ARGSCAT for NODE_OP_ASGN1. [ruby-dev:28585] * parse.y (list_concat): revert last change. * parse.y (arg): use NODE_ARGSCAT for placeholder. Wed Apr 19 11:13:17 2006 Yukihiro Matsumoto * lib/getoptlong.rb (GetoptLong::get): RDoc update patch from mathew . [ruby-core:07738] Wed Apr 19 10:13:27 2006 Yukihiro Matsumoto * variable.c (rb_const_set): raise error when no target klass is supplied. [ruby-dev:28582] Wed Apr 19 09:49:36 2006 Yukihiro Matsumoto * parse.y (list_concat): should not modify nodes other than NODE_ARRAY. [ruby-dev:28583] Tue Apr 18 17:40:37 2006 Hidetoshi NAGAI * ext/tk/lib/multi-tk.rb: add a binding to a container for a slave IP. * ext/tk/lib/tk.rb: update RELEASE_DATE. * ext/tk/tcltklib.c: forget to reset a Tcl interpreter. * ext/tk/stubs.c: fix potential bugs about handling rb_argv0. Tue Apr 18 00:11:21 2006 Yukihiro Matsumoto * eval.c: block_unique should be 1, not frame_unique. [ruby-dev:28577] Fri Aug 11 15:39:25 2006 Eric Hodel * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#find_body): Make RDoc ignore C function prototypes. Patch by Tilman Sauerbeck . [ruby-core:8574] * lib/yaml/tag.rb: Replace nodoc with stopdoc so Module methods get documented. Mon Apr 10 01:03:10 2006 Yukihiro Matsumoto * prec.c (prec_prec_f): documentation patch from . [ruby-core:07689] Sat Apr 8 02:34:34 2006 Yukihiro Matsumoto * bignum.c (rb_big_pow): second operand may be too big even if it's a Fixnum. [ruby-talk:187984] Sat Apr 8 02:12:38 2006 Yukihiro Matsumoto * README.EXT: update symbol description. [ruby-talk:188104] Thu Apr 6 23:28:47 2006 Yukihiro Matsumoto * COPYING: explicitly note GPLv2. [ruby-talk:187922] Thu Apr 6 11:18:37 2006 Hidetoshi NAGAI * ext/tk/lib/tk/panedwindow.rb: lack of arguments. [ruby-core:7681] Thu Apr 6 01:04:47 2006 Hidetoshi NAGAI * ext/tk/tcltklib.c: fix SEGV when embedding to an application. [ruby-core:7600] * ext/tk/tcltklib.c: fix SEGV at exit. [ruby-talk:186489] * ext/tk/tkutil/tkutil.c: follow to changing specification of instance_eval on ruby-1.9.x. * ext/tk/lib/tk.rb: ditto. * ext/tk/lib/multi-tk.rb: ditto. * ext/tk/lib/tk.rb: remove warning about redefinition of methods. * ext/tk/lib/tk/variable.rb: remove warning about unseting Tcl variables. Wed Mar 29 20:54:44 2006 Masaki Suketa * ext/win32ole/win32ole.c (fole_getproperty): WIN32OLE#[] should accept multi arguments. * ext/win32ole/tests/testWIN32OLE.rb (test_setproperty_bracket): ditto. Wed Mar 29 10:07:44 2006 NAKAMURA Usaku * ext/nkf/nkf-utf8/nkf.c (nkf_each_char_to_hex, encode_fallback_subchar, e2w_conv): support C90 compiler. Wed Mar 29 06:48:40 2006 Yukihiro Matsumoto * eval.c (backtrace): reports aliased method names in a generated backtrace. a patch from "U.Nakamura" . [ruby-dev:28471] Mon Mar 27 22:19:09 2006 NARUSE, Yui * ext/nkf/nkf-utf8/{nkf.c, utf8tbl.c, config.h}: imported nkf 2.0.6. * Add --ic / --oc option and mapping tables. * Add fallback option. * Add --no-best-fit-chars option. * Fix some bugs. * ext/nkf/nkf.c (nkf_split_options): added for parse option string. * ext/nkf/lib/kconv.rb (Kconv.to*): add -m0. Note that Kconv.to* still imply -X. Mon Mar 27 03:17:21 2006 Yukihiro Matsumoto * eval.c (rb_call0): insecure calling should be checked for non NODE_SCOPE method invocations too. * eval.c (rb_alias): should preserve the current safe level as well as method definition. Fri Mar 24 23:14:30 2006 Yukihiro Matsumoto * eval.c (yield_under_i): pass self again for instance_eval(). [ruby-dev:28466] Fri Mar 24 17:20:03 2006 Yukihiro Matsumoto * process.c (rb_f_sleep): remove description about SIGALRM which is not valid on the current implementation. [ruby-dev:28464] Thu Mar 23 10:47:03 2006 Yukihiro Matsumoto * eval.c (method_missing): should support argument splat in super. [ruby-talk:185438] Mon Mar 20 12:05:18 2006 Yukihiro Matsumoto * configure.in: Solaris SunPro compiler -rapth patch from . [ruby-dev:28443] Mon Mar 20 09:40:23 2006 Yukihiro Matsumoto * configure.in: remove enable_rpath=no for Solaris. [ruby-dev:28440] Fri Mar 17 19:08:49 2006 GOTOU Yuuzou * ext/openssl/ossl_ssl.c, ext/openssl/ossl_nsspki.c: fix typo. [ruby-core:07571] Wed Mar 15 16:54:21 2006 NAKAMURA Usaku * lib/mkmf.rb (create_makefile): support libraries without *.so. Wed Mar 15 16:35:43 2006 GOTOU Yuuzou * ext/openssl/ossl_ssl.c, ext/openssl/ossl_nsspki.c: should use "rb_str_new(0, 0)" to make empty string. Sat Mar 11 14:24:06 2006 Yukihiro Matsumoto * lib/rdoc/ri/ri_formatter.rb (RI::TextFormatter::wrap): removed space before argument parenthesis. [ruby-talk:183630] * ruby.1: a clarification patch from David Lutterkort . [ruby-core:7508] Sat Mar 4 15:26:40 2006 Tanaka Akira * gc.c (id2ref): fix symbol test. Sat Mar 4 01:08:07 2006 Yukihiro Matsumoto * lib/rdoc/ri/ri_paths.rb (RI::Paths): adding paths from rubygems directories. a patch from Eric Hodel . [ruby-core:07423] Thu Mar 2 19:44:18 2006 Tanaka Akira * gc.c: align VALUE with sizeof(RVALUE) globally. (is_pointer_to_heap): check alignment out of loop. (id2ref): avoid collision between symbols and objects. (rb_obj_id): ditto. moved from object.c. [ruby-talk:178364] [ruby-core:7305] Thu Mar 2 18:58:18 2006 Yukihiro Matsumoto * eval.c (rb_thread_fd_writable): should not re-schedule output from KILLED thread (must be error printing). Thu Mar 2 17:57:49 2006 Hirokazu Yamamoto * gc.c: commited magic for reducing RVALUE size on windows. (24->20byte) [ruby-core:7474] Thu Mar 2 12:59:14 2006 Hirokazu Yamamoto * win32/win32.c (filetime_to_unixtime): should set tm_isdst to -1. stat() didn't treat daylight saving time property on WinNT. [ruby-talk:182100] Thu Mar 2 08:02:42 2006 Yukihiro Matsumoto * gc.c (add_heap): heap_slots may overflow. a patch from Stefan Weil . Wed Mar 1 00:24:31 2006 Hirokazu Yamamoto * lib/rdoc/parsers/parse_rb.rb (read_escape): could not handle /\^/. merged Mr. Ishizuka's lib/irb/ruby-lex.rb 's patch rev 1.29. [ruby-talk:181631] [ruby-dev:28404] Tue Feb 28 09:32:17 2006 NAKAMURA Usaku * lib/drb/extservm.rb (invoke_service_command): cannot invoke command if command name is quoted on mswin32. [ruby-dev:28400] Mon Feb 27 00:19:16 2006 Yukihiro Matsumoto * ruby.h (SYM2ID): should not cast to signed long. [ruby-core:07414] Fri Feb 24 20:07:23 2006 Masatoshi SEKI * test/drb/drbtest.rb (add_service_command): quote pathnames in the server's command line for space contained directory names. Thanks, arton. [ruby-dev:28386] Fri Feb 24 12:11:08 2006 NAKAMURA Usaku * instruby.rb: install *.exe.manifest and *.dll.manifest if exist. It's for VC++8. Fri Feb 24 11:33:52 2006 Hirokazu Yamamoto * bcc32/Makefile.sub (HAVE_HYPOT): bcc32 has hypot(). Fri Feb 24 11:19:58 2006 NAKAMURA Usaku * time.c (time_new_internal): add prototype to tell the compiler arugments types. * win32/win32.c (NtInitialize): need to set a handler for VC++8. Fri Feb 24 08:19:16 2006 NARUSE, Yui * test.rb: Removed. Obsolete by test/nkf. * ext/.document: enabled documents in nkf and kconv * ext/nkf/nkf.c ext/nkf/lib/kconv.rb: Add rdoc. Thu Feb 23 22:39:59 2006 Hirokazu Yamamoto * bcc32/Makefile.sub: use borlndmm.dll if possible. bcc32's RTL internal memory manager cannot handle large memory block properly. ex: 10000.times { "" << "." * 529671; GC.start } # crash [ruby-dev:28230] Thu Feb 23 13:20:28 2006 Hirokazu Yamamoto * eval.c (SETUP_ARGS0): fixed memory corruption. [ruby-dev:28360] Tue Feb 21 02:18:46 2006 NAKAMURA Usaku * configure.in (mingw): have link. [ruby-list:41838] * win32/Makefile.sub (config.h): ditto. Tue Feb 21 02:07:39 2006 Yukihiro Matsumoto * parse.y (f_arglist): should set command_start = Qtrue for command body. [ruby-talk:180648] Mon Feb 20 17:37:26 2006 Tanaka Akira * mkconfig.rb: alias RbConfig for Config. Mon Feb 20 12:27:53 2006 Kent Sibilev * lib/rational.rb (Integer::gcd): small typo fix. [ruby-core:07395] Mon Feb 20 01:05:27 2006 Yukihiro Matsumoto * lib/rational.rb (Integer::gcd): replaced by gcd4 in [ruby-core:07390]. [ruby-core:07377] Mon Feb 20 00:57:02 2006 GOTOU Yuuzou * ext/openssl/ossl.h (OSSL_Debug): should not use __func__. [ruby-dev:28339] Sun Feb 19 04:46:29 2006 Guy Decoux * eval.c: initial value for block_unique must be 1. [ruby-talk:180420] Sat Feb 18 23:58:26 2006 Yukihiro Matsumoto * lib/tracer.rb (Tracer::Tracer.add_filter): turn on tracer mode only when caller() level size is one. [ruby-core:07389] * lib/rdoc/parsers/parse_rb.rb: need not to require "tracer". [ruby-core:07389] * sample/rtags.rb: ditto. Sat Feb 18 12:18:26 2006 Yukihiro Matsumoto * lib/fileutils.rb (FileUtils::fu_world_writable): make it private. [ruby-core:07383] Sat Feb 18 00:22:39 2006 Yukihiro Matsumoto * lib/tracer.rb: merged a minor clarification patch from Daniel Berger . [ruby-core:07376] Fri Feb 17 11:18:42 2006 Hirokazu Yamamoto * util.c (ruby_strtod): Float("1e") should fail. [ruby-core:7330] * pack.c (EXTEND32): unpack("l") did not work where sizeof(long) != 4. [ruby-talk:180024] * pack.c (pack_unpack): fixed integer overflow on template "w". [ruby-talk:180126] Fri Feb 17 09:39:29 2006 Yukihiro Matsumoto * eval.c (rb_thread_wait_for): sleep should always sleep for specified amount of time. [ruby-talk:180067] Thu Feb 16 01:10:48 2006 Yukihiro Matsumoto * eval.c (backtrace): frame->orig_func may not be initialized. [ruby-core:07367] Wed Feb 15 16:52:52 2006 Yukihiro Matsumoto * eval.c (rb_eval): NODE_OP_ASGN1 should allow splat in its argument list. [ruby-core:07366] * parse.y (arg): avoid unnecessary extra argument. [ruby-core:07366] * eval.c (rb_eval): honor visibility on OP_ASGN1 and OP_ASGN2. [ruby-core:07366] Wed Feb 15 10:09:51 2006 Yukihiro Matsumoto * eval.c (yield_under_i): should not pass self as an argument to the block for instance_eval. [ruby-core:07364] Wed Feb 15 09:20:35 2006 Yukihiro Matsumoto * eval.c (rb_obj_instance_eval): should be no singleton classes for true, false, and nil. [ruby-dev:28186] Tue Feb 14 18:48:33 2006 Yukihiro Matsumoto * eval.c (DMETHOD_P): accessing wrong frame. [ruby-dev:28181] * eval.c (proc_invoke): preserve FRAME_DMETH flag. Tue Feb 14 15:13:51 2006 Hirokazu Yamamoto * ext/zlib/zlib.c: supress warning on test/zlib. [ruby-dev:28323] Tue Feb 14 14:01:17 2006 NAKAMURA Usaku * time.c (search_time_t): support non 32bit time_t environments. * win32/Makefile.sub (config.h): VC++8 has ``long long'' type. * win32/Makefile.sub (config.h): VC++8's time_t is 64bit value. * win32/win32.c (rb_w32_utime): drop read-only attribute before changing file time. all changes are backported from CVS HEAD. Tue Feb 14 11:21:38 2006 Yukihiro Matsumoto * io.c (argf_forward): should not use frame->argv. [ruby-core:07358] Mon Feb 13 18:08:12 2006 Yukihiro Matsumoto * eval.c (rb_call0): argument update propagation. [ruby-dev:28044] * env.h: remove argv member from struct FRAME. Mon Feb 13 13:27:00 2006 Yukihiro Matsumoto * eval.c (eval): should push class from binding if supplied. [ruby-core:07347] Mon Feb 13 00:04:00 2006 Masatoshi SEKI * lib/erb.rb (ERB::Compiler): add instance variable @insert_cmd to change <%='s behavior. (backported 1.15 - 1.16) Sat Feb 11 02:04:11 2006 Yukihiro Matsumoto * eval.c (eval): no need to push ruby_class. [ruby-dev:28176] Sat Feb 11 01:57:44 2006 Yukihiro Matsumoto * eval.c (rb_f_autoload): check if ruby_cbase is nil (during instance_eval for objects cannot have singleton classes, e.g. fixnums and symbols). [ruby-dev:28178] Tue Feb 7 23:03:24 2006 Hirokazu Yamamoto * ext/zlib/zlib.c: should not access ruby objects in finalizer. [ruby-dev:28286] Mon Feb 6 16:02:51 2006 WATANABE Hirofumi * file.c (rb_thread_flock): ERROR_NOT_LOCKED is not an error on Cygwin. In such situation, flock() should return 0. Mon Feb 6 00:41:08 2006 Tanaka Akira * ruby.h (RSTRUCT_LEN, RSTRUCT_PTR): defined for source level compatibility with ruby 1.9. Sun Feb 5 21:05:34 2006 Hirokazu Yamamoto * numeric.c (fix_to_s): removed workaround for radix 2. Historically, rb_fix2str could only handle radix 8, 10, 16. (Rev1.37) But for now, it can handle radix 2..36. [ruby-Bugs#3438] [ruby-core:7300] Sun Feb 5 18:55:08 2006 Minero Aoki * lib/net/http.rb: imported from trunk, rev 1.129 * lib/net/http.rb (add_field, get_fields): keep 1.8.2 backward compatibility. * lib/net/https.rb: imported from trunk, rev 1.3. * lib/net/https.rb: #use_ssl? definition moved from net/http.rb. Sun Feb 5 14:22:15 2006 Hirokazu Yamamoto * lib/pstore.rb: should return default value if name is not found. [ruby-core:7304] * lib/pstore.rb: should raise PStore::Error if not in transaction. Sat Feb 4 22:51:43 2006 Tanaka Akira * eval.c: apply the FreeBSD getcontext/setcontext workaround only before FreeBSD 7-CURRENT. Sat Feb 4 21:19:23 2006 NAKAMURA Usaku * win32/win32.c (LK_ERR): ERROR_NOT_LOCKED is not an error. In such situation, flock() should return 0. Sat Feb 4 15:56:37 2006 Hirokazu Yamamoto * numeric.c (fix_to_s): (2**32).to_s(2) fails with exception where sizeof(int) == 4 < sizeof(long). [ruby-core:7300] Fri Feb 3 15:06:50 2006 Hirokazu Yamamoto * ext/syck/syck.c (syck_move_tokens): should reset p->cursor or etc even if skip == 0. This causes buffer overrun. (ex: YAML.load('--- "..' + '\x82\xA0' * 511 + '"')) Thu Feb 2 23:51:18 2006 Hirokazu Yamamoto * ext/syck/emitter.c (syck_emitter_write): should not set '\0' on emitter's marker. if marker points to the end of buffer, this causes buffer overrun. (ex: YAML.dump("." * 12288)) Thu Feb 2 16:01:24 2006 Yukihiro Matsumoto * eval.c (eval): need not to protect $SAFE value. [ruby-core:07177] Thu Feb 2 14:45:53 2006 Ville Mattila * configure.in: The isinf is not regognized by autoconf library guesser on solaris 10. [ruby-core:7138] Wed Feb 1 22:01:47 2006 Hirokazu Yamamoto * configure.in, hash.c (ruby_setenv): use setenv(3) and unsetenv(3) where they are supported. modifing environ variable seems to segfault solaris 10. [ruby-core:7276] [ruby-dev:28270] * ruby.c (set_arg0): if use setenv(3), environ space cannot be used for altering argv[0]. Tue Jan 31 14:46:28 2006 Yukihiro Matsumoto * struct.c (rb_struct_select): update RDoc description. [ruby-core:7254] Tue Jan 31 11:58:51 2006 Hidetoshi NAGAI * ext/tk/lib/multi-tk.rb: add MultiTkIp#eval and bg_eval. * ext/tk/lib/tk/namespace.rb: TkNamespace#eval was enbugged at the last commit. Now it will return a proper object. Tue Jan 31 00:10:26 2006 Hirokazu Yamamoto * ext/syck/rubyext.c (syck_resolver_transfer): workaround for SEGV. ex: ruby -ryaml -e 'YAML.load("!map:B {}")' [ruby-core:7217] Sat Jan 28 07:56:57 2006 Hirokazu Yamamoto * lib/rdoc/usage.rb: support "a:0:33" style caller[-1]. In this case file name is "a:0". I don't know this really happens though... [ruby-Bugs:3344] Wed Jan 25 22:29:04 2006 Nobuyoshi Nakada * configure.in, dln.c, file.c, intern.h, missing.h (eaccess): use system routine if provided. fixed: [ruby-core:07195] Sun Jan 22 23:27:13 2006 Go Noguchi * lib/test/unit/autorunner.rb (process_args): ignore arguments after '--' so that test scripts can handle them. fixed: [ruby-dev:28258] Sun Jan 22 22:09:52 2006 Tanaka Akira * eval.c (POST_GETCONTEXT): define separately from PRE_GETCONTEXT on IA64 to avoid reusing variable address. Sun Jan 22 20:03:35 2006 Tanaka Akira * eval.c (ruby_setjmp): define PRE_GETCONTEXT and POST_GETCONTEXT instead of FUNCTION_CALL_MAY_RETURN_TWICE. define PRE_GETCONTEXT to clear carry flag for workaround of FreeBSD/i386 getcontext/setcontext bug. [ruby-dev:28263] Sat Jan 21 00:36:47 2006 Tanaka Akira * eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): use only on SPARC and IA64 before gcc 4.0.3. [ruby-dev:28247] Thu Jan 19 22:21:23 2006 Minero Aoki * lib/fileutils.rb (mv): should remove file after copying. [ruby-dev:28223] Wed Jan 18 23:37:06 2006 Tanaka Akira * eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): don't clobber %l7 of SPARC if enable-shared. (ruby_setjmp): call FUNCTION_CALL_MAY_RETURN_TWICE after getcontext too. reported by Pav Lucistnik and Marius Strobl. http://lists.freebsd.org/pipermail/freebsd-sparc64/2006-January/003739.html Tue Jan 17 11:32:46 2006 NAKAMURA Usaku * win32/setup.mak (MAKE): workaround for nmake 8. Tue Jan 17 11:10:21 2006 NAKAMURA Usaku * win32/{Makefile.sub,setup.mak}: invoke .bat via shell. workaround for nmake 8. Mon Jan 16 10:26:23 2006 Hirokazu Yamamoto * ext/syck/emitter.c (syck_emit_seq, syck_emit_map, syck_emit_item): should output complex key mark even if map's key is empty seq/map. [ruby-core:7129] Sat Jan 14 05:37:06 2006 Tanaka Akira * io.c (READ_DATA_PENDING, READ_DATA_PENDING_COUNT): defined for DragonFly BSD 1.4.0. Sat Jan 14 03:43:24 2006 Hirokazu Yamamoto * file.c (rb_file_s_chmod): avoid warning where sizeof(int) != sizeof(void*). Fri Jan 13 19:14:56 2006 Hirokazu Yamamoto * lib/rdoc/diagram.rb: - properly quote bare element attributes - terminates dangling elements (e.g. ,
, , etc) - converts "CVS" to the more HTML-friendly acronym element - adds missing type attributes to style elements based on Paul Duncan's patch [ruby-core:7028] * lib/rdoc/generators/html_generator.rb: ditto. * lib/rdoc/generators/template/html/hefss.rb: ditto. * lib/rdoc/generators/template/html/html.rb: ditto. * lib/rdoc/generators/template/html/kilmer.rb: ditto. Thu Jan 12 11:53:08 2006 Hidetoshi NAGAI * ext/tk/sample/tkballoonhelp.rb: [bug fix] couldn't add to a widget which is constructed with TkComposite module. [new feature] support 'command' option which is called just before popping up the balloon help. Wed Jan 11 15:00:00 2006 Ville Mattila * io.c (READ_PENDING*): Support solaris 64-bit environments. Solaris defines a opaque FILE struct when compiling 64 bit binaries. This means that we dont have access to _ptr etc. members anymore. The solution by Steven Lumos is to define FILE64 that has needed members available. I've modified the origanal patch a bit so that it compiles both with gcc and now free sun studio 11 compiler and both amd64 and sparc. NOTE! We have to 64 bit solaris FILE structure time to time otherwise we'll get breakage. [ruby-core:7106] Tue Jan 10 19:42:33 2006 Tanaka Akira * gc.c (garbage_collect): mark ruby_current_node. if an exception is raised in a finalizer called written in C by rb_gc_call_finalizer_at_exit, ruby_set_current_source may use collected ruby_current_node and mark_source_filename may corrupt memory. Tue Jan 10 13:30:34 2006 akira yamada * ext/syck/rubyext.c (syck_resolver_transfer): should be able to load !ruby/object:Bignum syntax 1.8.3 dumped. [ruby-core:6159] Tue Jan 10 12:47:41 2006 Hirokazu Yamamoto * lib/yaml/rubytypes.rb (Fixnum): Bignum could not be loaded in ruby 1.8.3/1.8.4. [ruby-core:6115] * lib/yaml/rubytypes.rb (Numeric): Subclass of Numeric could not be dumped properly. [ruby-core:7047] Tue Jan 10 12:00:48 2006 Aaron Schrab * lib/yaml/rubytypes.rb (Symbol#yaml_new): YAML loading of quoted Symbols broken. [ruby-Bugs:2535] Mon Jan 9 19:54:35 2006 arton * ext/zlib/extconf.rb: zlib compiled DLL version 1.2.3 distributed by http://www.zlib.net/ has zdll.lib. [ruby-dev:28209] Mon Jan 9 14:17:12 2006 Hirokazu Yamamoto * win32/Makefile.sub (OPTFLAGS): I have experienced trouble on y- flag, (VisualC++6) so use -O2b2xg- if $(MSC_VER) < 1400. [ruby-core:7040] Mon Jan 9 14:17:12 2006 Kero van Gelder * lib/webrick/httpservlet/filehandler.rb: fixed typo. [ruby-core:7075] Sat Jan 7 15:40:07 2006 Nobuyoshi Nakada * parse.y (singleton): get rid of segfault on syntax error. fixed: [ruby-core:07070] Fri Jan 6 10:16:20 2006 Steven Lumos * io.c (READ_DATA_PENDING): defined for 64bit Solaris on SPARC. [ruby-core:7057] (READ_DATA_PENDING_COUNT): ditto. (READ_DATA_PENDING_PTR): ditto. Sun Jan 1 17:07:59 2006 Hirokazu Yamamoto * win32/win32.c (rb_w32_seekdir): should not segfault even if passed the location which rb_w32_telldir didn't return. [ruby-core:7035] (I think HEAD implementation is better. but binary compatibility) * test/ruby/test_dir.rb: added. Sat Dec 31 22:57:00 2005 Nobuyoshi Nakada * eval.c (rb_thread_save_context): should not recycle scope object used in a thread. fixed: [ruby-dev:28177] Fri Dec 30 18:22:42 2005 Nobuyoshi Nakada * gc.c (garbage_collect): mark objects refered from aborting threads. [ruby-dev:28190] * win32/Makefile.sub: VC++8 support. Fri Dec 30 14:24:53 2005 WATANABE Hirofumi * dir.c (glob_helper): do not use TRUE for djgpp. Fri Dec 30 04:54:40 2005 NAKAMURA Usaku * file.c (eaccess): workaround for VC++8 runtime. * win32/win32.c (ioinfo): VC++8 support. Thu Dec 29 23:59:37 2005 Nobuyoshi Nakada * eval.c (rb_gc_mark_threads): leave unmarked threads which won't wake up alone, and mark threads in the loading table. [ruby-dev:28154] * eval.c (rb_gc_abort_threads), gc.c (gc_sweep): kill unmarked threads. [ruby-dev:28172] Thu Dec 29 17:02:07 2005 Tanaka Akira * test/ruby/envutil.rb (EnvUtil.rubybin): search "ruby" instead of "miniruby". [ruby-dev:28140] Tue Dec 27 16:59:52 2005 Yukihiro Matsumoto * test/drb/drbtest.rb (DRbService::self.ext_service): increase timeout limit. a patch from Kazuhiro NISHIYAMA . [ruby-dev:28132] Tue Dec 27 08:29:18 2005 GOTOU Yuuzou * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLSocket#post_connection_chech): treat wildcard character in commonName. [ruby-dev:28121] Mon Dec 26 22:32:47 2005 Nobuyoshi Nakada * eval.c (rb_eval), gc.c (gc_mark_children), node.h (NEW_ALIAS, NEW_VALIAS), parse.y (fitem): allow dynamic symbols to NODE_UNDEF and NODE_ALIAS. backported from trunk. fixed: [ruby-dev:28105] Mon Dec 26 08:50:36 2005 Yukihiro Matsumoto * eval.c (ev_const_get): fixed a bug in constant reference during instance_eval. [yarv-dev:707] * eval.c (ev_const_defined): ditto. * lib/yaml.rb (YAML::add_domain_type): typo fixed. a patch from Joel VanderWerf . [ruby-talk:165285] [ruby-core:6995]