Sat Dec 24 18:58:14 2005 Yukihiro Matsumoto * stable version 1.8.4 released. Fri Dec 23 10:30:23 2005 Yukihiro Matsumoto * ext/digest/sha2/sha2.c (ULL): support AIX C. a patch from Kailden . [ruby-core:06984] Wed Dec 21 16:53:06 2005 Hirokazu Yamamoto * file.c (w32_io_info): should return handle because FileIndex is valid only while file is open. [ruby-dev:28088] Wed Dec 21 14:53:26 2005 Tanaka Akira * lib/pathname.rb (test_kernel_open): use File.identical?. [ruby-talk:171804] Tue Dec 20 22:41:17 2005 Nobuyoshi Nakada * eval.c (eval_under_i): evaluate source in caller's frame. [ruby-dev:28076] * eval.c (rb_call_super): use original method name on exception. [ruby-dev:28078] Tue Dec 20 13:11:59 2005 Hirokazu Yamamoto * ext/syck/rubyext.c: fixed GC problem (backported HEAD 1.55 - 1.62) [ruby-dev:27839] * ext/syck/syck.h (S_FREE): small hack. no need to check if pointer is NULL or not before S_FREE. * st.c: uses malloc instead of xmalloc to avoid GC. syck uses st_insert in gram.c to insert node from rb_syck_bad_anchor_handler into SyckParser's hash table. if GC occurs in st_insert, it's not under SyckParser's mark system yet. so RString can be released wrongly. [ruby-dev:28057] Tue Dec 20 12:53:23 2005 why the lucky stiff * ext/syck/rubyext.c (syck_emitter_reset): to ensure compatibility with previous Ruby versions, documents are no longer headless. Tue Dec 20 01:46:48 2005 Tanaka Akira * io.c (rb_f_backquote): fix a GC problem on IA64 with gcc 4.0.3 20051216 (prerelease) -O3. Mon Dec 19 23:32:39 2005 Nobuyoshi Nakada * parse.y (rb_symname_p): fixed wrong validation. [ruby-dev:28047] Sat Dec 17 03:57:01 2005 Tanaka Akira * bignum.c (rb_big_rshift): fix a GC problem on IA64 with gcc 4.0.3 20051216 (prerelease). Sat Dec 17 03:30:23 2005 Tanaka Akira * eval.c (bmcall): fix a GC problem by tail call on IA64 with gcc 4.0.3 20051216 (prerelease). Fri Dec 16 00:54:06 2005 Yukihiro Matsumoto * signal.c (Init_signal): revert C++ style comment. [ruby-dev:28041] Thu Dec 15 12:35:14 2005 Yukihiro Matsumoto * lib/tmpdir.rb: merged RDoc patch from Eric Hodel . [ruby-core:06894] Thu Dec 15 01:33:31 2005 Tanaka Akira * ext/zlib/zlib.c (zstream_run): fix a GC problem by tail call on x86_64 with gcc 4.0.3 20051111 (prerelease) (Debian 4.0.2-4) Wed Dec 14 12:11:46 2005 WATANABE Hirofumi * test/gdbm/test_gdbm.rb: specify pid for the argument of Process.wait. workaround for Cygwin. Wed Dec 14 12:01:26 2005 Tanaka Akira * marshal.c (r_object0): fix a GC problem for reading a bignum on IA64 with gcc 3.3.5 (Debian 1:3.3.5-13). Tue Dec 13 12:23:47 2005 Tanaka Akira * re.c (rb_reg_regcomp): fix a GC problem on x86_64 with gcc 3.3.5 (Debian 1:3.3.5-13). Tue Dec 13 01:44:16 2005 Tanaka Akira * array.c (rb_ary_diff): fix a GC problem on IA64 with gcc 3.3.5 (Debian 1:3.3.5-13). When rb_ary_push is called, there was no register which contains `hash' but `&RHASH(hash)->tbl' instead. Tue Dec 13 00:08:09 2005 Tanaka Akira * sprintf.c (rb_str_format): fix a GC problem. [ruby-dev:28001] Mon Dec 12 15:54:56 2005 GOTOU Yuuzou * test/openssl/test_ssl.rb (test_parallel): call GC.start to close unused files. [ruby-dev:27981] Mon Dec 12 00:33:56 2005 Yukihiro Matsumoto * ext/digest/digest.c (rb_digest_base_s_digest): add volatile to protect temporary context object. [ruby-dev:27979] * ext/iconv/iconv.c (Init_iconv): rb_gc_register_address() should be called before actual variable initialization. [ruby-dev:27986] Fri Dec 9 23:31:02 2005 Nobuyoshi Nakada * lib/rexml/encoding.rb (encoding=): give priority to particular conversion to iconv. [ruby-core:06520] Thu Dec 8 02:07:19 2005 Nobuyoshi Nakada * eval.c (umethod_bind): adjust invoking class for module method. [ruby-dev:27964] Thu Dec 8 00:40:52 2005 Yukihiro Matsumoto * eval.c (call_trace_func): klass parameter should be a class/module that defines calling method. [ruby-talk:169307] Wed Dec 7 17:10:27 2005 Kazuhiro NISHIYAMA * sprintf.c (rb_f_sprintf): [ruby-dev:27967] Wed Dec 7 15:31:35 2005 Yukihiro Matsumoto * sprintf.c (rb_str_format): integer overflow check added. * sprintf.c (GETASTER): ditto. Wed Dec 7 01:02:04 2005 Hidetoshi NAGAI * ext/tk/README.macosx-aqua: [new document] tips to avoid the known bug on platform specific dialogs of Tcl/Tk Aqua on MacOS X. * ext/tk/tcltklib.c: fix bug on switching threads and waiting on the deleted interpreter on vwait and tkwait command. * ext/tk/lib/multi-tk.rb: kill the meaningless loop for the deleted Tk interpreter. * ext/tk/sample/demos-jp/image3.rb: [bug fix] wrong argument. * ext/tk/sample/demos-en/image3.rb: ditto. * ext/tk/sample/demos-jp/menu.rb: fix message for MacOS X. * ext/tk/sample/demos-jp/menu8x.rb: ditto. * ext/tk/sample/demos-en/menu.rb: ditto. Tue Dec 4 16:37:57 2005 Yuya Nishida * eval.c (exec_under): avoid accessing ruby_frame->prev. [ruby-dev:27948] Thu Dec 1 00:50:33 2005 Nobuyoshi Nakada * eval.c (rb_funcall2): allow to call protected methods. fixed: [ruby-dev:27890] Wed Nov 30 23:52:17 2005 Nobuyoshi Nakada * parse.y (NEWHEAP, ADD2HEAP): set count after pointer was set. fixed: [ruby-dev:27896] Wed Nov 30 13:43:07 2005 Yukihiro Matsumoto * misc/ruby-mode.el (ruby-expr-beg): support $! at the end of expression. [ruby-dev:27868] Mon Nov 28 18:55:43 2005 NAKAMURA Usaku * ext/socket/socket.c (init_inetsock_internal): remove setting SO_REUSEADDR option on server socket on Cygwin. fixed: [ruby-core:6765] ([ ruby-Bugs-2872 ]) Mon Nov 28 13:08:54 2005 Hirokazu Yamamoto * win32/win32.c (rb_w32_strerror): remove all CR and LF. (avoid broken error message on bccwin32 + winsock) Mon Nov 28 09:21:49 2005 Hirokazu Yamamoto * lib/mkmf.rb (create_makefile): should not change sodir with dir.gsub!. (bccwin32 failed to install third party exntesions) [ruby-dev:27834] Sun Nov 27 00:56:13 2005 NAKAMURA, Hiroshi * lib/wsdl/xmlSchema/complexContent.rb: missing ComplexContent#elementformdefault method. Sat Nov 26 19:57:45 2005 WATANABE Hirofumi * dln.c (conv_to_posix_path): should initialize posix. Thu Nov 24 21:05:58 2005 NAKAMURA Usaku * configure.in (AC_CHECK_FUNCS): need to check link(). fixed: [ruby-dev:27814] Thu Nov 24 01:22:25 2005 Hirokazu Yamamoto * file.c (w32_io_info): CreateFile failed on Win9x if file was already opened. (FILE_SHARE_READ was needed, but actually I don't understand the flags of CreateFile well...) Wed Nov 23 20:59:01 2005 Hidetoshi NAGAI * ext/tk/lib/tk.rb: add Tk.pkgconfig_list and Tk.pkgconfig_get [Tk8.5 feature]. * ext/tk/lib/tk/text.rb: supports new indices modifires on a Text widget [Tk8.5 feature]. * ext/tk/lib/tk/virtevent.rb: add TkNamedVirtualEvent. * ext/tk/lib/tk/autoload.rb: ditto. * ext/tk/lib/tk/event.rb: add :data key for virtual events [Tk8.5 feature]. Wed Nov 23 18:55:31 2005 Hirokazu Yamamoto * file.c (w32_io_info): should not call GetFileInformationByHandle for pipe. * file.c (w32_io_info): checks return value from rb_w32_get_osfhandle. * file.c (w32_io_info): now can identify directory on WinNT. Wed Nov 23 03:40:49 2005 Guy Decoux * re.c (KR_REHASH): should cast to unsigned for 64bit CPU. [ruby-core:06721] Wed Nov 23 11:01:33 2005 Hirokazu Yamamoto * intern.h, file.c: failed to compile on windows. Wed Nov 23 07:26:44 2005 GOTOU Yuuzou * ext/openssl/extconf.rb: check for X509V3_EXT_nconf_nid. * ext/openssl/ossl_x509ext.c (MakeX509ExtFactory): should use OPENSSL_malloc to allocate X509V3_CTX. * ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext): use X509V3_EXT_nconf_nid to avoid SEGV (and to build extensions which values are placed in separate section). * test/openssl/test_x509ext.rb: new file. Wed Nov 23 01:22:57 2005 Nobuyoshi Nakada * file.c (test_identical): test if two files are identical. * file.c (rb_f_test): support DOSISH systems where st_ino is not reliable. fixed: [ruby-core:06672] * win32.h, win32.c (rb_w32_osid): check the running platform. Tue Nov 22 23:52:06 2005 Nobuyoshi Nakada * lib/optparse.rb: match incomplete (in current enconding) multibyte string. http://inamode6.tokuhirom.dnsalias.org/show/1551 Tue Nov 22 18:36:11 2005 Hirokazu Yamamoto * win32/win32.c (winnt_stat): set mapped errno instead of ENOENT. Tue Nov 22 14:46:57 2005 NAKAMURA Usaku * file.c (rb_file_s_basename): skip slashes just after UNC top slashes. * test/ruby/test_path.rb (test_dirname, test_basename): follow new spec. and add new tests. Tue Nov 22 13:18:32 2005 Hirokazu Yamamoto * win32/win32.c (rb_w32_stat): Dir.chdir('//server/shared'); p Dir.glob('*') should work on WinNT. (implemented our own stat(2) on WinNT) [ruby-list:41552] [ruby-dev:27711] Tue Nov 22 02:31:53 2005 Hidetoshi NAGAI * ext/tk/lib/tkextlib/tile.rb: bug fix (Tk::Tile::USE_TTK_NAMESPACE is not defined). Tue Nov 22 01:45:21 2005 Nobuyoshi Nakada * file.c (rb_file_s_basename): DOSISH_UNC is defined on cygwin but DOSISH is not. fixed: [ruby-dev:27797] Mon Nov 21 22:50:48 2005 Nobuyoshi Nakada * file.c (rb_path_skip_prefix, rb_file_s_basename): UNC without path should not be splitted. fixed: [ruby-dev:27776] [ruby-dev:27786] * parse.y (dsym): prohibit empty symbol literal by interpolation. fixed: [ruby-talk:166529] Mon Nov 21 16:03:48 2005 Nobuyoshi Nakada * win32/setup.mk: findstr doesn't exist on win9x. fixed: [ruby-dev:27756] Sun Nov 20 22:34:06 2005 Nobuyoshi Nakada * parse.y (rb_symname_p): [ not followed by ] is not valid symbol. fixed: [ruby-talk:166520] Sat Nov 19 19:57:54 2005 Yukihiro Matsumoto * lib/fileutils.rb (FileUtils::ln): ln documentation fix. [ruby-core:06661] Sat Nov 19 07:34:32 2005 Hidetoshi NAGAI * ext/tk/lib/tk/font.rb: remove dependency on Ruby's version (1.8 or 1.9). * ext/tk/lib/tkextlib/ICONS/icons.rb: ditto. * ext/tk/sample/tkextlib/treectrl/demo.rb: ditto. Fri Nov 18 17:57:08 2005 NAKAMURA Usaku * file.c (rb_file_s_dirname): should use skipprefix for UNC path. pointed out by nobu ([ruby-dev:27744]). fixed: [ruby-core:5076] Fri Nov 18 17:35:09 2005 Hidetoshi NAGAI * ext/tk/lib/multi-tk.rb: add restriction to access the entried command table and manipulate other IPs (for reason of security). Now, a IP object can be controlled by only its master IP or the default IP. * ext/tk/lib/remote-tk.rb: add restriction to manipulate. * ext/tk/tcltklib.c (ip_is_slave_of_p): add TclTkIp#slave_of?(ip) to check manipulability. * ext/tk/lib/tk.rb: bug fix on handling of Tcl's namespaces. * ext/tk/lib/tk/namespace.rb: ditto. Fri Nov 18 17:26:06 2005 NAKAMURA Usaku * file.c (rb_file_s_dirname): added checks for some patterns with drive letter. fixed: [ruby-dev:27738] * test/ruby/test_path.rb (test_dirname): added tests for above patterns. Fri Nov 18 12:18:02 2005 Hirokazu Yamamoto * win32/win32.h (S_IFIFO): r,w = IO.pipe; r.stat.pipe? now returns true on VisualC++6. Wed Nov 16 23:24:17 2005 Nobuyoshi Nakada * common.mk (static-ruby): overridable. * ext/extmk.rb (parse_args): force to link extensions statically only if static is given for extstatic. * ext/extmk.rb (RUBY, RUBYW): overridable. Tue Nov 15 23:46:35 2005 Yukihiro Matsumoto * lib/find.rb (Find::find): should not ignore symbolic links to non-existing files. [ruby-talk:165866] Tue Nov 15 16:23:26 2005 Hirokazu Yamamoto * array.c (rb_ary_fill): previous commit disabled this usage: a = [0,1,2,3,4,5,6,7,8,9] a.fill {|i| a[i] * 10} #=> [nil, nil, ...., nil] previous commit has the advantage of early garbage collection, but potensially this would break some script. so I reverted behavior. Tue Nov 15 16:04:10 2005 Hirokazu Yamamoto * array.c (rb_ary_fill): tail elements were vanished when the middle part of array was filled. (ie: [0,1,2,3,4].fill(-1,2,1) => [0,1,-1]) * test/ruby/test_array.rb (test_fill): added. Tue Nov 15 14:39:16 2005 Yukihiro Matsumoto * array.c (rb_ary_fill): should adjust array length correctly when an array is expanded in the fill process. [ruby-core:06625] Mon Nov 14 23:49:57 2005 Nobuyoshi Nakada * file.c (rb_file_s_readlink): ERANGE will occur only on GPFS. [ruby-dev:27699] Mon Nov 14 17:36:22 2005 Yukihiro Matsumoto * array.c (rb_ary_first): RDoc update from Daniel Berger . [ruby-core:06577]. Fri Nov 11 10:31:44 2005 Zach Dennis * ext/socket/socket.c: Socket Documentation. [ruby-core:6552] Fri Nov 11 08:20:56 2005 Nobuyoshi Nakada * Makefile.in (OUTFLAG): keep trailing spaces. [ruby-dev:27666] * mkconfig.rb: substitution refereces added. Fri Nov 11 07:44:18 2005 Hirokazu Yamamoto * configure.in: undef HAVE_LINK on BeOS. (link(2) always returns EINVAL, and this causes error in test/fileutils.) * file.c: overwride chown(2) and fchown(2) on BeOS. (these functions should not change user/group id if -1 is passed as corresponding argument, and this causes error in test/fileutils too) [ruby-dev:27672] * file.c (rb_file_s_link): checks HAVE_LINK. Tue Nov 8 15:32:27 2005 GOTOU Yuuzou * lib/drb/ssl.rb (DRb::SSLConfig#accept): fixed typo. [ruby-dev:27560] [ruby-core:4627] Mon Nov 7 13:43:51 2005 Hidetoshi NAGAI * ext/tk/stubs.c (_nativethread_consistency_check): use simpler (low cost) way to check whether the Tcl interpreter was compiled with threads enabled of not. * ext/tk/tcltklib.c: reduce warnings. * ext/tk/tkutil/tkutil.c: ditto. Mon Nov 7 00:06:58 2005 Hirokazu Yamamoto * lib/yaml.rb: removed :nodoc: to generate Kernel doc. [ruby-core:6324] Sun Nov 6 23:39:13 2005 Nobuyoshi Nakada * ext/iconv/iconv.c (Iconv::BrokenLibrary): exception when detected a bug of underlying library. Sun Nov 6 21:46:59 2005 Hirokazu Yamamoto * ext/tk/stubs.c (ruby_tcl_create_ip_and_stubs_init): should touch interpreter after initialization is done. [ruby-dev:27638] Sun Nov 6 20:13:27 2005 Nobuyoshi Nakada * file.c (rb_file_s_readlink): readlink(2) on AIX fails with ERANGE if buffer size is less than required. fixed: [ruby-dev:27634] Wed Nov 2 20:25:28 2005 Hidetoshi NAGAI * ext/tk/extconf.rb: ext/tk/extconf.rb: change the check parameter for Win32. Wed Nov 2 20:14:53 2005 Hidetoshi NAGAI * ext/tcltklib: merge into ext/tk and remove. Wed Nov 2 19:03:06 2005 Hidetoshi NAGAI * ext/tcltklib/tcltklib.c (ip_rbUpdateObjCmd, ip_rb_threadUpdateObjCmd): passed improper flags to DoOneEvent(). * ext/tk/tkutil.c: use rb_obj_respond_to() instead of rb_respond_to(). Tue Nov 1 14:20:11 2005 Yukihiro Matsumoto * eval.c (rb_call_super): should call method_missing if super is called from Kernel method. * eval.c (exec_under): frame during eval should preserve external information. Tue Nov 01 10:50:17 2005 GOTOU Yuuzou * ext/openssl/extconf.rb: should check ERR_peek_last_error(). [ruby-dev:27597] * ext/openssl/ossl.c (ossl_raise): ditto. Mon Oct 31 17:34:46 2005 Yukihiro Matsumoto * configure.in: use proper option for Sun linker. A patch from Shinya Kuwamura . [ruby-dev:27603] Mon Oct 31 11:27:22 2005 NAKAMURA Usaku * test/gdbm/test_gdbm.rb, test/sdbm/test_sdbm.rb (test_s_open_error): skip on Win32/DOS platforms. Mon Oct 31 05:49:23 2005 GOTOU Yuuzou * ext/openssl/ossl_cipher.c (ossl_cipher_update): input data must not be empty. [ruby-talk:161220] * test/openssl/test_cipher.rb: add test for Cipher#update(""). Mon Oct 31 05:37:20 2005 GOTOU Yuuzou * lib/webrick/httpservlet/cgihandler.rb (WEBrick::HTTPServlet::CGIHandler#do_GET): the value of Set-Cookie: header field should be splited into each cookie. [ruby-Bugs:2199] * lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookie): new method to parse the value of Set-Cookie: header field. * test/webrick/test_cookie.rb, test/webrick/test_cgi.rb, test/webrick/webrick.cgi: add some test for cookie. Mon Oct 31 03:19:36 2005 Yukihiro Matsumoto * ext/readline/readline.c (readline_readline): type check. [ruby-core:6089] * numeric.c (fix_rshift): RDoc fix. [ruby-core:6351] * util.h (strtod): add #undef for platforms defines strtod() macro. [ruby-dev:27563] Mon Oct 31 02:35:59 2005 Hirokazu Yamamoto * test/ruby/test_float.rb (test_precision): test by assert_in_delta. [ruby-dev:27575] Sat Oct 29 01:58:25 2005 Yukihiro Matsumoto * ext/etc/etc.c: document update from mathew . [ruby-core:06473] * ext/fcntl/fcntl.c: ditto. Thu Oct 27 16:45:31 2005 Yukihiro Matsumoto * string.c (scan_once): wrong condition to use mbclen2(). [ruby-dev:27535] Wed Oct 26 09:27:27 2005 Hirokazu Yamamoto * ext/syck/implicit.c (syck_type_id_to_uri): should return newly allocated memory. otherwise, type_id will be freed twice. [ruby-dev:27384] [ruby-core:6385] Wed Oct 26 09:04:51 2005 Hirokazu Yamamoto * ruby.h (Qfalse, Qtrue, Qnil, Qundef): make sure these immediate values have VALUE type. there is an environment where sizeof(VALUE) != sizeof(int) like IA64. if 32bit integer (Qtrue) is passed to ANYARGS and received by 64bit integer (VALUE), upper bits may have garbage value. [ruby-dev:27513] Wed Oct 26 01:58:19 2005 Nobuyoshi Nakada * configure.in (RUBY_EXTERN): macro to export symbols in shared library. [ruby-core:05528] * defines.h, {bcc32,win32,wince}/Makefile.sub (RUBY_EXTERN): moved to configuration pass. * ext/extmk.rb (extmake): RUBY_EXTERN for static linked extensions. Tue Oct 25 15:32:00 2005 Yukihiro Matsumoto * lib/rational.rb: applied documentation patch from Gavin Sinclair . [ruby-core:06364] * lib/irb.rb (IRB::Irb::eval_input): handle prompts with newlines in irb auto-indentation mode. [ruby-core:06358] Tue Oct 25 02:12:08 2005 Nobuyoshi Nakada * lib/rdoc/markup/simple_markup.rb (SM::SimpleMarkup::LABEL_LIST_RE): reduce redundant backtrack. [ruby-talk:161771] Tue Oct 25 00:27:35 2005 Masatoshi SEKI * lib/rinda/*: RDoc documentation from Eric Hodel added. Mon Oct 24 21:14:29 2005 Nobuyoshi Nakada * configure.in, io.c: use sys/syscall.h if syscall.h is not available. [ruby-core:06247] Mon Oct 24 20:49:45 2005 NAKAMURA Usaku * ext/Win32API/lib/win32/resolv.rb (get_info): support multiple DNS. fixed: [ruby-list:40058], [ruby-dev:27479] Mon Oct 24 07:57:56 2005 Yukihiro Matsumoto * ext/tk/lib/tk/canvas.rb (TkCanvasItemConfig::__item_val2ruby_optkeys): typo fixed. [ruby-talk:162187] * ext/tk/lib/tk/menu.rb (TkMenuEntryConfig::__item_val2ruby_optkeys): ditto. [ruby-core:06359] Sun Oct 23 21:50:15 2005 Yukihiro Matsumoto * ext/enumerator/enumerator.c: applied documentation patch from James Edward Gray II . [ruby-core:06348] Sun Oct 23 07:11:11 2005 Hidetoshi NAGAI * ext/tcltklib/extconf.rb: improve messages [ruby-core:06325]. * ext/tk/lib/tk.rb, ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/entry.rb, ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/image.rb, ext/tk/lib/tk/itemconfig.rb, ext/tk/lib/tk/labelframe.rb, ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/menu.rb, ext/tk/lib/tk/radiobutton.rb, ext/tk/lib/tk/scale.rb, ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tk/text.rb, ext/tk/lib/tk/toplevel.rb: improve conversion of option values. * ext/tk/lib/tkextlib/*: ditto. * ext/tk/lib/tkextlib/*: update to support ActiveTcl8.4.11.2. * ext/tk/lib/tkextlib/trofs/*: support Trofs 0.4.3. * ext/tk/lib/tkextlib/tile/*: support Tile 0.7.2. * ext/tk/lib/tkextlib/vu/*: support vu 2.3.0. * ext/tk/lib/tkextlib/tcllib/*: support Tcllib 1.8 (Tklib 0.3). Sat Oct 22 23:54:07 2005 Nobuyoshi Nakada * ext/extmk.rb, lib/mkmf.rb (with_config): support --with-extension options. [ruby-dev:27449] Sat Oct 22 13:26:57 2005 Nobuyoshi Nakada * object.c (sym_inspect), parse.y (parser_yylex, rb_symname_p): check if valid as a symbol name more strictly. [ruby-dev:27478] * test/ruby/test_symbol.rb: tests for [ruby-core:03573]. * time.c (rb_strftime): removed meaningless volatile modifiers, and concatenate successive nul characters at once. [ruby-dev:27472] Fri Oct 21 19:21:56 2005 Hirokazu Yamamoto * rubysig.h (CHECK_INTS): fixed typo. (I believe bit-or is improper) Fri Oct 21 17:49:32 2005 Yukihiro Matsumoto * bin/erb (ERB::Main::run): typo fixed. [ruby-core:06337] Fri Oct 21 15:27:17 2005 Hirokazu Yamamoto * bignum.c (bignew_1): convertion from `int' to `char' discards upper bits, (ie. (char)0xff00 -> 0) so it's better to test if nonzero and set 0 or 1 instead of simply casting ... as a flag usage. (but I believe this won't cause actual bug in current implementation) [ruby-dev:27055] * time.c: should use LONG_LONG instead of `long long'. Thu Oct 20 09:37:15 2005 Hirokazu Yamamoto * lib/mkmf.rb (create_makefile): Borland make seems not to allow empty dependency list. If this change is not good, please correct it. Thu Oct 20 07:55:09 2005 Nobuyoshi Nakada * lib/mkmf.rb (create_makefile): get rid of a restriction of Borland make. fixed: [ruby-dev:27460] Thu Oct 20 00:13:18 2005 NAKAMURA Usaku * rubysig.h (CHECK_INTS): fix typo. Wed Oct 19 23:58:03 2005 Nobuyoshi Nakada * lib/mkmf.rb (create_makefile): do not create unnecessary empty directories. fixed: [ruby-dev:27451] Wed Oct 19 19:26:15 2005 Nobuyoshi Nakada * parse.y (rb_gc_mark_parser): get rid of segfault with old yacc. fixed: [ruby-dev:27439] Wed Oct 19 08:28:32 2005 Nobuyoshi Nakada * file.c (rb_file_join): elements may contain null pointer strings. report and fixed by Lloyd Zusman (hippoman): [ruby-core:06326] Wed Oct 19 02:34:33 2005 Nobuyoshi Nakada * eval.c, gc.c, time.c: made internal symbols static. [ruby-dev:27435] Wed Oct 19 01:27:07 2005 Nobuyoshi Nakada * regex.c (re_compile_pattern): numeric literal inside character class disabled succeeding backtrack. fixed: [ruby-list:41328] Mon Oct 17 21:18:50 2005 Nobuyoshi Nakada * parse.y (parser_heap): byacc never free parser stack. fixed: [ruby-dev:27428] Mon Oct 17 16:04:47 2005 NAKAMURA Usaku * file.c (chmod_internal, lchmod_internal): fixed type of 2nd argument. Sun Oct 16 22:16:51 2005 Nobuyoshi Nakada * ext/extmk.rb: omit non-existing directories. Sun Oct 16 14:30:05 2005 Masatoshi SEKI * lib/rinda/rinda.rb (Rinda::Tuple#initialize): check remote hash tuple. fixed: [ruby-list:41227] * test/rinda/test_rinda.rb: test it. Sun Oct 16 03:38:07 2005 Yukihiro Matsumoto * rubysig.h (CHECK_INTS): prevent signal handler to run during critical section. [ruby-core:04039] * eval.c (load_wait): need not to call rb_thread_schedule() explicitly. [ruby-core:04039] * eval.c (rb_thread_schedule): clear rb_thread_critical. [ruby-core:04039] Sat Oct 15 19:56:38 2005 Masatoshi SEKI * bin/erb: typo fixed, again. thanks, Doug Kearns. Fri Oct 14 22:08:26 2005 NAKAMURA Usaku * win32/win32.c (ioctl): should set errno. Fri Oct 14 16:57:32 2005 GOTOU Yuuzou * lib/webrick/config.rb (Config::FileHandler): :UserDir should be nil. It is harmful to permit the access to ~/public_html by default. suggested by Hiroyuki Iwatsuki. Thu Oct 13 23:29:51 2005 Nobuyoshi Nakada * parse.y (HEAPCNT): bison allocates indivisible size. fixed: [ruby-core:06261] * io.c, pack.c, ext/syck/rubyext.c, ext/syck/syck.h, missing/isinf.c: get rid of warnings. fixed: [ruby-core:06247] Wed Oct 12 12:52:57 2005 GOTOU Yuuzou * ext/openssl/ossl.c (Init_openssl): should call OpenSSL_add_ssl_algorithms(). Wed Oct 12 11:08:54 2005 WATANABE Hirofumi * file.c (rb_f_test): typo in RDoc comments. Tue Oct 11 21:41:58 2005 Nobuyoshi Nakada * eval.c (rb_obj_respond_to): check if obj responds to the given method with the given visibility. [ruby-dev:27408] * eval.c (rb_respond_to): conform to Object#respond_to?. [ruby-dev:27411] Tue Oct 11 00:01:21 2005 Yukihiro Matsumoto * st.c (st_free_table): do not call free() but xfree(). [ruby-core:06205] Sat Oct 8 20:04:40 2005 Nobuyoshi Nakada * eval.c (Init_Binding): add Binding#dup method. [yarv-dev:666] * parse.y (rb_parser_malloc, rb_parser_free): manage parser stack on heap. [ruby-list:41199] * ext/iconv/charset_alias.rb: parse config.charset_alias file directly. Fri Oct 7 09:54:00 2005 Yukihiro Matsumoto * lib/cgi.rb (CGI::Cookie::parse): Cookies from Nokia devices may not be parsed correctly. A patch from August Z. Flatby (augustzf) in [ruby-Patches-2595]. [ruby-core:06183] Thu Oct 6 20:12:16 2005 Minero Aoki * ext/strscan/strscan.c (strscan_free): remove useless code. [ruby-dev:26368] [ruby-dev:27389] (backported from trunk, rev 1.22) Wed Oct 05 04:42:38 2005 GOTOU Yuuzou * lib/xmlrpc/server.rb (XMLRPC::Server#initialize): should mount the servlet on "/". Wed Oct 05 03:59:09 2005 GOTOU Yuuzou * lib/xmlrpc/server.rb (XMLRPC::Server#serve): delete wrong call of "join". Mon Oct 3 00:04:00 2005 Kazuhiro NISHIYAMA * pack.c (EXTEND16): [ruby-dev:27383] Thu Sep 29 10:26:18 2005 Tanaka Akira * ext/dl/dl.c (rb_io_to_ptr): abolish sizeof(FILE). [ruby-dev:27317] Thu Sep 29 07:22:05 2005 Nobuyoshi Nakada * evalc. (rb_f_send): underscores need to be escaped. fixed by Doug Kearns. [ruby-core:06053] Thu Sep 29 00:57:35 2005 Nobuyoshi Nakada * eval.c (ev_const_get), variable.c (rb_const_get_0): retry only when autoload succeeded. * variable.c (rb_autoload_load): now return true if autoload succeeded. fixed: [ruby-dev:27331] Wed Sep 28 23:42:15 2005 Nobuyoshi Nakada * file.c (apply2files): add prototype. * file.c (rb_stat_inspect): constified. * class.c (rb_mod_init_copy, rb_class_init_copy), file.c (rb_stat_init_copy), numeric.c (num_init_copy), object.c (rb_obj_init_copy, Init_Object), re.c (match_init_copy, rb_reg_init_copy), time.c (time_init_copy): undocumented. Wed Sep 28 23:09:23 2005 Yukihiro Matsumoto * lib/delegate.rb: document update from James Edward Gray II . [ruby-core:06027] Wed Sep 28 15:14:19 2005 GOTOU Yuuzou * lib/webrick/cgi.rb (WEBrick::CGI#start): req.query_string should refer the value of QUERY_STRING. [ruby-list:41186] * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#query_string=): add new method. Wed Sep 28 10:45:44 2005 Hidetoshi NAGAI * ext/tcltklib/tcltklib.c: cannot compile with Tcl/Tk8.0.x [ruby-dev:27335]. Wed Sep 28 08:12:18 2005 Nobuyoshi Nakada * io.c (read_buffered_data): check if reached EOF. fixed: [ruby-dev:27334] Wed Sep 28 07:56:52 2005 Nobuyoshi Nakada * lib/yaml/basenode.rb (YAML::BaseNode::match_segment): fix typo. [ruby-dev:27237], [ruby-core:05854] * lib/yaml/tag.rb (Module#yaml_as): suppress warnings. * lib/yaml/types.rb (YAML::PrivateType, YAML::DomainType): ditto. Wed Sep 28 03:23:35 2005 NAKAMURA Usaku * rubysig.h: fixed build problem with --enable-pthread on platforms which don't have setitimer(). Mon Sep 26 22:32:13 2005 Yukihiro Matsumoto * eval.c (set_trace_func): add rb_secure(4) to prevent adding tracing function. Sun Sep 25 12:05:10 2005 Masatoshi SEKI * bin/erb: typo fixed. Sun Sep 25 01:46:43 2005 Nobuyoshi Nakada * misc/ruby-mode.el (ruby-calculate-indent): arrange deep-indent closing parenthesis at same column as the opening. Sun Sep 25 00:42:11 2005 Nobuyoshi Nakada * misc/ruby-mode.el (ruby-expr-beg): deal with heredoc separately. fixed: [ruby-list:41168] * misc/ruby-mode.el (ruby-calculate-indent): not to deepen indent level for continuous line inside parentheses. http://nabeken.tdiary.net/20050915.html#p02 Sun Sep 25 00:18:11 2005 Tanaka Akira * eval.c (unknown_node): show more information. [ruby-dev:26196] Sat Sep 24 08:56:01 2005 Minero Aoki * lib/fileutils.rb (cd): no longer accept :noop option, related code is useless (backported from trunk, rev 1.67). [ruby-core:05858] [ruby-Bugs:2494] Sat Sep 24 08:38:07 2005 Minero Aoki * lib/fileutils.rb: fix visibility of FileUtils::NoWrite, Verbose, DryRun (backported from trunk, rev 1.66). [ruby-core:05954] * test/fileutils/test_nowrite.rb: test it. * test/fileutils/test_dryrun.rb: new file. * test/fileutils/test_verbose.rb: new file. Sat Sep 24 02:40:20 2005 Yukihiro Matsumoto * lib/delegate.rb: document update from James Edward Gray II . [ruby-core:05942] Thu Sep 22 23:36:24 2005 Nobuyoshi Nakada * lib/mkmf.rb (find_executable0): default path if environment is not set. [ruby-dev:27281] Thu Sep 22 16:33:12 2005 Shugo Maeda * test/readline/test_readline.rb (TestReadline::replace_stdio): merged the patch of [ruby-dev:25232] instead of [ruby-dev:25223]. Wed Sep 21 23:30:44 2005 Nobuyoshi Nakada * lib/mkmf.rb (configuration): generalized nmake dependent code.