From 3dd2370e04c44c0b136ce73ebebd4b5de6271102 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 18 Jun 2008 10:40:05 +0000 Subject: [PATCH] * fix ChangeLog. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 1092 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1092 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6408899f2f..8ccea5bfc7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -140,6 +140,119 @@ Tue Jun 17 06:32:55 2008 NARUSE, Yui * dir.c (dir_each): ditto. +Tue Jun 17 06:28:57 2008 NARUSE, Yui + + * io.c (io_set_encoding): defined. + + * io.c (rb_open_file): convert path on Windows and Mac OS X. + + * io.c (open_key_args): use io_set_encoding and now accept + internal_encoding and exernal_encoding. + +Tue Jun 17 06:26:28 2008 NARUSE, Yui + + * encoding.c (rb_filesystem_encoding): defined. + + * include/ruby/encoding.h (rb_filesystem_encoding): added. + +Tue Jun 17 06:24:28 2008 NARUSE, Yui + + * ext/syck/rubyext.c: add encoding header. + +Tue Jun 17 01:52:50 2008 Hidetoshi NAGAI + + * ext/tk/tcltklib.c: SEGV when exit. + + * ext/tk/lib/tk.rb: add a check for safety to Tk.exit. + + * ext/tk/sample/irbtkw.rbw: freezes when receives SIGINT. + +Mon Jun 16 21:58:38 2008 Nobuyoshi Nakada + + * ext/stringio/stringio.c (strio_each, strio_readlines): IO#each and + IO#readlines do not affect $_. [ruby-core:17277] + +Mon Jun 16 18:52:47 2008 Nobuyoshi Nakada + + * lib/thwait.rb (ThreadsWait): Exception2MessageMapper no longer has + extend_to method. [ruby-core:17267] + +Mon Jun 16 14:46:25 2008 Nobuyoshi Nakada + + * lib/e2mmap.rb (E2MM.def_e2message): typo. + +Mon Jun 16 09:43:27 2008 Akinori MUSHA + + * enumerator.c (enumerator_with_object, Init_Enumerator): + Temporarily back out with_memo, for which we need a better name. + +Mon Jun 16 07:14:48 2008 Nobuyoshi Nakada + + * ext/stringio/stringio.c (strio_readline, strio_each) + (strio_readlines): set lastline. [ruby-core:17257] + +Mon Jun 16 01:49:39 2008 Koichi Sasada + + * eval.c (rb_f_block_given_p): fix to skip class frame. + [ruby-core:14813] + + * KNOWNBUGS.rb, bootstraptest/test_method.rb: move solved test. + +Mon Jun 16 01:48:08 2008 Koichi Sasada + + * vm_dump.c (vm_stack_dump_raw): disable verbose debug output. + +Mon Jun 16 01:33:08 2008 Koichi Sasada + + * vm_core.h, thread.c: rename global_interpreter_lock to + global_vm_lock. + +Sun Jun 15 18:40:35 2008 NARUSE, Yui + + * ext/syck/rubyext.c (yaml_org_handler): associate encoding. + + * ext/syck/rubyext.c (syck_genericresolver_node_import): ditto. + +Sun Jun 15 18:17:03 2008 Nobuyoshi Nakada + + * vm_core.h (rb_vm_t), vm.c (rb_vm_mark): moved preallocated special + exceptions. + + * eval.c (Init_eval), gc.c (Init_GC), proc.c (Init_Proc): freeze + preallocated special exceptions. + + * eval.c (rb_longjmp): duplicate the thrown exception to set backtrace + if it was frozen. + + * gc.c (rb_memerror): raise nomem_error without backtrace if failed to + make backtrace. + +Sat Jun 14 22:52:35 2008 Nobuyoshi Nakada + + * ext/stringio/stringio.c (strio_sysread): should not raise at empty + read. a patch from Arthur Schreiber at [ruby-core:17245]. + +Sat Jun 14 16:55:46 2008 Nobuyoshi Nakada + + * file.c (file_expand_path): no need to expand root path which has no + short file name. [ruby-dev:35095] + +Sat Jun 14 11:59:17 2008 Nobuyoshi Nakada + + * gc.h (STACK_UPPER): moved from gc.c + + * thread.c, thread_{pthread,win32}.c (ruby_init_stack, + ruby_thread_init_stack): moved stack initialization from gc.c. + +Sat Jun 14 11:57:53 2008 Nobuyoshi Nakada + + * gc.h (STACK_UPPER): moved from gc.c + + * thread.c, thread_{pthread,win32}.c (ruby_init_stack, + ruby_thread_init_stack): moved stack initialization from gc.c. + +Sat Jun 14 07:52:53 2008 Tanaka Akira + * gc.c (ruby_initial_gc_stress): defined. (ruby_initial_gc_stress_ptr): defined. @@ -14192,6 +14305,231 @@ Fri Sep 14 16:17:30 2007 Koichi Sasada Fri Sep 14 16:14:28 2007 Koichi Sasada + * vm.h, eval_intern.h: move some macros to eval_intern.h. + + * eval_jump.ci (rb_f_throw): fix to use NEW_THROW_OBJECT(). + + * eval.c (rb_f_loop): remove additional macro. + +Fri Sep 14 16:12:10 2007 Koichi Sasada + + * insnhelper.ci (vm_expandarray): should be volatile value for GC. + +Thu Sep 13 15:42:03 2007 Nobuyoshi Nakada + + * compile.c (iseq_compile_each): inline cache entries are overwritten + in iseq_build_body(). + +Thu Sep 13 14:00:15 2007 Nobuyoshi Nakada + + * parse.y (brace_block): should use compstmt. patch submitted by + Kirill A. Shutemov [ruby-core:12154]. + +Thu Sep 13 13:47:08 2007 Nobuyoshi Nakada + + * parse.y (rb_id2str): fixed typo. + +Wed Sep 12 23:12:22 2007 Yukihiro Matsumoto + + * ruby.c (proc_options): -W should be allowed in RUBYOPT + environment variable. [ruby-core:12118] + +Wed Sep 12 15:19:04 2007 Nobuyoshi Nakada + + * io.c (rb_io_s_sysopen): should not use alloca for unknown size + input. [ruby-dev:31775] + + * parse.y (rb_id2str): ditto. + + * marshal.c (w_float): use snprintf instead of sprintf. + +Tue Sep 11 17:28:00 2007 Akinori MUSHA + + * lib/tempfile.rb (Tempfile::make_tmpname): Allow to specify a + suffix for a temporary file name. + + * lib/tempfile.rb (Tempfile::make_tmpname): Make temporary file + names less predictable by including a random string. + [inspired by: akr] + +Tue Sep 11 17:25:59 2007 Akinori MUSHA + + * lib/shellwords.rb: Add shellescape() and shelljoin(). + + * lib/shellwords.rb: Rename shellwords() to shellsplit() and make + the former an alias to the latter. + + * lib/shellwords.rb: Add escape(), split(), join() as class + methods, which are aliases to their respective long names + prefixed with `shell'. + + * lib/shellwords.rb: Add String#shellescape(), String#shellsplit() + and Array#shelljoin() for convenience. + +Mon Sep 10 15:48:31 2007 Tanaka Akira + + * range.c: represent initialized state using EXCL instead of FL_USER3. + + * range.c (range_dumper): make uninitialized range dumpable. + (range_loader): make uninitialized range loadable. + +Mon Sep 10 13:44:37 2007 Yukihiro Matsumoto + + * array.c (rb_ary_cycle): avoid infinite loop for empty array. + based on a patch from David Flanagan. [ruby-core:12085] + +Mon Sep 10 01:21:23 2007 Yukihiro Matsumoto + + * marshal.c (r_object0): struct allocation first to check if a + class is a struct. compatibility check should come next. + +Mon Sep 10 01:05:25 2007 Yukihiro Matsumoto + + * range.c (range_step): fixed integer overflow. [ruby-dev:31763] + +Sun Sep 9 08:57:27 2007 Tadayoshi Funaba + + * lib/date/format.rb (_strptime): now also attaches an element + which denotes leftover substring if exists. + +Sun Sep 9 01:59:08 2007 Tanaka Akira + + * marshal.c (r_object0): check T_STRUCT type for structs. + +Sun Sep 9 01:17:05 2007 Tanaka Akira + + * marshal.c (r_object0): don't call user-defined initialize for + T_STRUCT objects. + + * include/ruby/intern.h (rb_struct_initialize): declared. + + * struct.c (rb_struct_initialize): export. + +Sat Sep 8 23:55:56 2007 Tanaka Akira + + * eval_method.ci (rb_get_alloc_func): new function to get allocation + function. + + * include/ruby/intern.h (rb_alloc_func_t): declared. + (rb_define_alloc_func): declared. + (rb_marshal_define_compat): declared. + + * range.c: use T_STRUCT for Range. + + * inits.c: move Init_marshal() prior to Init_Range() because + Init_Range calls rb_marshal_define_compat which needs + marshal's compat_allocator_tbl initialized. + + * marshal.c: support marshal format compatibility layer designed for + marshaling T_STRUCT Range using T_OBJECT format. + (rb_marshal_define_compat): defined. + + [ruby-dev:31710] + +Sat Sep 8 10:05:14 2007 Yukihiro Matsumoto + + * struct.c (rb_struct_s_members): check if __members__ is an + array to prevent segmentation fault. [ruby-dev:31759] + +Sat Sep 8 09:33:09 2007 Tadayoshi Funaba + + * lib/date/format.rb (str[fp]time): now check specifications more + strictly. + +Sat Sep 8 02:56:31 2007 Yukihiro Matsumoto + + * test/ruby/test_fiber.rb (TestFiber::test_throw): uncaught throw + now raise ArgumentError exception. + +Sat Sep 8 02:45:33 2007 Yukihiro Matsumoto + + * struct.c (rb_struct_s_members): should raise TypeError instead + of call rb_bug(). [ruby-dev:31709] + + * marshal.c (r_object0): no nil check require any more. + +Sat Sep 8 01:46:36 2007 NAKAMURA Usaku + + * regenc.c, regenc.h (onigenc_single_byte_mbc_enc_len): should take + two arguments. [ruby-dev:31754] + +Fri Sep 7 00:58:16 2007 Koichi Sasada + + * common.mk: fix typo. + +Fri Sep 7 00:28:25 2007 Yukihiro Matsumoto + + * io.c (rb_io_getc): forgot to commit rb_enc_mbclen() fix. + + * ext/stringio/stringio.c (strio_getc): rb_enc_mbclen() fix. + + * ext/stringio/stringio.c (strio_ungetc): ditto. + +Thu Sep 6 22:57:01 2007 Yukihiro Matsumoto + + * lib/fileutils.rb (FileUtils::Entry_::copy): prevent self copy of + directories. + + * lib/fileutils.rb (FileUtils::fu_each_src_dest0): use try_convert. + + * lib/fileutils.rb (FileUtils::fu_update_option): ditto. + +Thu Sep 6 21:36:33 2007 Yukihiro Matsumoto + + * include/ruby/oniguruma.h (OnigEncodingTypeST): add end parameter + to mbc_enc_len. + + * euc_jp.c (mbc_enc_len), sjis.c (mbc_enc_len), + utf8.c (utf8_mbc_enc_len): ditto. + + * encoding.c (rb_enc_mbclen): add end parameter. + +Thu Sep 6 21:31:49 2007 Yukihiro Matsumoto + + * array.c (rb_ary_cycle): typo in rdoc. a patch from Yugui + . [ruby-dev:31748] + +Thu Sep 6 12:42:10 2007 Nobuyoshi Nakada + + * string.c (rb_str_succ, rb_str_chop_bang, rb_str_chop): m17n support. + [ruby-dev:31734] + +Wed Sep 5 22:02:27 2007 Yukihiro Matsumoto + + * array.c (rb_ary_subseq): need integer overflow check. + [ruby-dev:31736] + + * array.c (rb_ary_splice): ditto. [ruby-dev:31737] + + * array.c (rb_ary_fill): ditto. [ruby-dev:31738] + + * string.c (rb_str_splice): integer overflow for length. + [ruby-dev:31739] + +Tue Sep 4 20:43:44 2007 Masaki Suketa + + * ext/win32ole/win32ole.c: add WIN32OLE_EVENT#unadvise. + + * test/win32ole/test_win32ole_event.rb: ditto. + +Mon Sep 3 15:37:09 2007 Nobuyoshi Nakada + + * common.mk (vm.o): depends on st.h too. + +Sun Sep 2 23:38:29 2007 Tanaka Akira + + * include/ruby/st.h (struct st_table): make num_entries bitfield + instead of num_bins for speed. num_entries has less access. + +Sun Sep 2 00:37:57 2007 Tadayoshi Funaba + + * lib/date/format.rb (_parse): improved parsing of ordinal dates. + + * lib/date/format.rb (_parse): use named character classes in some + regular expressions. + +Sat Sep 1 23:44:26 2007 Yukihiro Matsumoto + * eval_jump.ci (rb_f_throw): wrap tag and TAG_THROW in a NODE_MEMO node to make throw instruction to work well. @@ -28185,6 +28523,324 @@ Wed Sep 7 08:35:04 2005 Nobuyoshi Nakada * bignum.c (bignew_1, bigadd): K&R style argument actually can't be defined as char. + * missing/vsnprintf.c: ANSI compiler supports const keyword. + + * ext/digest/sha2/extconf.rb: reject platforms which has inttypes.h + but no 64bit integer. + + * lib/mkmf.rb (what_type?): guesstimate type. + + * ext/etc/etc.c (setup_passwd), ext/etc/extconf.rb: pw_age might be + char*. fixed: [ruby-core:05470] + +Wed Sep 7 08:32:07 2005 Yukihiro Matsumoto + + * string.c (rb_str_times): should taint empty strings as well. + + * object.c (Init_Object): make class_variable_{get,set} public. + [ruby-dev:26965] + +Mon Sep 5 22:28:46 2005 Nobuyoshi Nakada + + * parse.y (stmt, mlhs_node, lhs, arg, method_call): aref_args might be + nothing. fixed: [ruby-dev:26952] + + * ext/ripper/eventids2.c: added new tokens. fixed: [ruby-dev:26952] + +Mon Sep 5 17:03:07 2005 Yukihiro Matsumoto + + * lib/find.rb: should raise ENOENT if root entry does not exist. + [ruby-list:41054] + + * lib/ostruct.rb: a patch from Florian Gross + merged to allow recursive inspect (and to_s) for OpenStruct. + [ruby-core:05532] + +Mon Sep 5 08:20:19 2005 Yukihiro Matsumoto + + * lib/observer.rb: a patch from nornagon + merged to allow arbitrary names for update methods. + [ruby-core:05416] + +Mon Sep 5 07:01:12 2005 GOTOU Yuuzou + + * ext/openssl/openssl/lib/openssl/buffering.rb (Buffering#do_write): + should clear data from the buffer which already been output. + +Sun Sep 4 15:01:35 2005 Minero Aoki + + * parse.y (f_arg): Ripper should not do semantic check. + [ruby-dev:26948] + +Sat Sep 3 23:52:35 2005 Yukihiro Matsumoto + + * eval.c (rb_f_fcall): new method to avoid inefficiency of + obj.instance_eval{send(...)} tricks. + +Sat Sep 3 13:59:31 2005 Tanaka Akira + + * lib/pathname.rb (Pathname#descend): Pathname.new("./a/b/c").descend + didn't yield "." + (Pathname#ascend): ditto. + +Fri Sep 2 23:51:54 2005 Nobuyoshi Nakada + + * parse.y (f_arg): f_norm_arg is a VALUE in ripper, not an ID. + fixed: [ruby-dev:26942] + + * lib: do not use __send__ to access private methods. [ruby-dev:26935] + +Thu Sep 1 17:11:25 2005 Yukihiro Matsumoto + + * eval.c (rb_call0): wrong condition for $SAFE restoration. + +Thu Sep 1 14:12:45 2005 Hidetoshi NAGAI + + * ext/tk/lib/multi-tk.rb: On Tcl8.5, MultiTkIp#invoke_hidden doesn't + work (gives wrong order of arguments). + + * ext/tk/lib/multi-tk.rb: add MultiTkIp#invoke_hidden_on_namespace + to support '-namespace' option of 'interp invokehidden' command + on Tcl8.5. + +Wed Aug 31 14:41:30 2005 NAKAMURA Usaku + + * win32/Makefile.sub (OPTFLAGS): default global optimization to + disabled for all VC++ versions. fixed: [ruby-dev:26897] + +Wed Aug 31 10:36:09 2005 Hirokazu Yamamoto + + * process.c (proc_detach, proc_setmaxgroups): missing argument type + declaration. (I recommend ANSI-style function) + +Wed Aug 31 06:59:01 2005 Nobuyoshi Nakada + + * string.c (rb_str_scan): already String#scan behaves differently + regarding if block is given. + +Tue Aug 30 23:49:34 2005 Nobuyoshi Nakada + + * array.c, dir.c, enum.c, hash.c, io.c, range.c, string.c, struct.c: + let enumerable methods return Enumerator. [ruby-dev:26924] + + * intern.h (RETURN_ENUMERATOR): utility macro for enumerable methods. + +Tue Aug 30 23:25:45 2005 NAKAMURA, Hiroshi + + * lib/debug.rb: no need to restart at exit. + +Tue Aug 30 23:20:19 2005 Nobuyoshi Nakada + + * eval.c (rb_rescue2): initialization miss. fixed: [ruby-dev:26917] + + * lib/mkmf.rb (xsystem, xpopen): no longer expand by Config. + + * lib/mkmf.rb (link_command, cc_command, cpp_command): expand + variables at once, and quote hdrdir. fixed: [ruby-core:05680] + + * lib/mkmf.rb (libpathflag): quote paths. + +Tue Aug 30 19:34:27 2005 GOTOU Yuuzou + + * ext/digest/md5/md5ossl.h, ext/digest/rmd160/rmd160ossl.h, + ext/digest/sha1/sha1ossl.h: include to avoid + error in compilation with OpenSSL-0.9.8. [ruby-list:41068] + +Tue Aug 30 16:19:40 2005 Keiju Ishitsuka + + * lib/irb/init.rb: bug fix. [ruby-dev: 26920] + +Tue Aug 30 16:13:00 2005 Yukihiro Matsumoto + + * enum.c (enum_count): new method. [ruby-dev:26895] + +Tue Aug 30 12:45:15 2005 Yukihiro Matsumoto + + * eval.c (rb_f_send): do not call private methods if the receiver + is specified. [ruby-talk:153672] + +Mon Aug 29 19:47:18 2005 Hirokazu Yamamoto + + * lib/rdoc/usage.rb: improper exceptions. [ruby-dev:26870] + + * lib/rdoc/usage.rb: support the case when non-ruby code exists before + shebang. (this is needed when ri.bat is executed on windows) + +Mon Aug 29 18:58:05 2005 Keiju Ishitsuka + + * lib/irb/init.rb: make IRB -I option that is same befavior for ruby. + [ruby-dev:26872] + + * lib/irb/locale.rb: support to print help message when OS locale is + ja_JP.utf-8. [ruby-dev:26872] + +Mon Aug 29 01:43:05 2005 Tanaka Akira + + * lib/pathname.rb (Pathname#descend): new method. + (Pathname#ascend): ditto. + +Mon Aug 29 00:35:09 2005 Tanaka Akira + + * lib/time.rb: require 'date/format' instead of 'parsedate'. + (Time.parse): extract fractional seconds using Date._parse. + (Time.strptime): extract fractional seconds using Date._strptime. + [ruby-talk:153859] + +Sat Aug 27 20:13:31 2005 Hirokazu Yamamoto + + * ext/curses/curses.c ({curses,window}_clrtoeol): added. suggested + by Reyn Vlietstra. + + * ext/curses/curses.c: chtype in curses is not `char', rahter `long'. + [ruby-Bugs:2298] + + * ext/curses/view.rb: String =~ String is deprecated. + +Thu Aug 25 15:48:58 2005 Hirokazu Yamamoto + + * ext/win32ole/win32ole.c: supress warnings. (win32) + +Wed Aug 24 11:01:26 2005 NAKAMURA Usaku + + * test/logger/test_logger.rb (test_shifting_size): should close log + device before unlink, since some platform cannot unlink opened + file. + +Tue Aug 23 06:07:02 2005 GOTOU Yuuzou + + * ext/openssl/lib/digest.rb: added SHA224, SHA256, SHA384 and SHA512. + these features are enabled if this library is compiled with + OpenSSL 0.9.8 or later. + + * test/openssl/test_digest.rb: add test for new digests. + +Tue Aug 23 05:47:04 2005 GOTOU Yuuzou + + * ext/openssl/ossl_ns_spki.c (ossl_spki_initialize): try to decode + the argument as a string. + + * ext/openssl/ossl_ns_pki.c (ossl_spki_to_der): new method. + + * ext/openssl/ossl_x509store.c (ossl_x509store_initialize): should + set @time to avoid warning. + + * ext/openssl/ossl_x509store.c (ossl_x509store_set_default_paths, + X509_STORE_add_cert, X509_STORE_add_crl): should raise error if + wrapped functions fails. + + * ext/openssl/ossl_ssl.c (ossl_sslctx_set_ciphers): fix error message. + + * ext/openssl/ossl_x509req.c (ossl_x509req_set_attributes): get rid + of unused variable. + + * test/openssl/test_ns_spki.rb: add new file. + + * test/openssl/test_x509store.rb: add test for error. + +Tue Aug 23 01:11:40 2005 Hirokazu Yamamoto + + * sprintf.c (ruby__sfvwrite): should move `buf' to the end of + `result'. [ruby-dev:26859] + +Mon Aug 22 23:51:19 2005 Yukihiro Matsumoto + + * parse.y: ONIG_OPTION_CAPTURE_GROUP conflicts with + RE_OPTION_ONCE. [ruby-dev:26852] + +Mon Aug 22 20:11:35 2005 Nobuyoshi Nakada + + * missing/vsnprintf.c (BSD__sprint): needs to call vwrite function + pointer. fixed: [ruby-dev:26854] + +Sat Aug 20 23:55:25 2005 Yukihiro Matsumoto + + * parse.y (parser_yylex): update paren_nest for brackets []. + +Sun Aug 21 00:10:23 2005 NAKAMURA, Hiroshi + + * lib/wsdl/xmlSchema/importer.rb (WSDL::XMLSchema::Importer#fetch): add + a workaround for importing an WSDL whose path begins with drive + letter. [ruby-dev:26242] + +Sat Aug 20 22:05:25 2005 K.Kosako + + * regexec.c (code_is_in_cclass_node): check code size. + [ruby-dev:26840] + +Sat Aug 20 22:37:13 2005 NAKAMURA, Hiroshi + + * lib/logger.rb (write, shift_log?, shift_log): file shifting race + condition bug fixed. [ruby-dev:26764] + + * test/logger/test_logger.rb: tests. + +Fri Aug 19 18:13:39 2005 Tanaka Akira + + * lib/time.rb (Time.apply_offset): fix a problem with last day of + month. reported by Lucas Nussbaum. [ruby-talk:152866] + +Thu Aug 18 11:05:36 2005 NAKAMURA Usaku + + * win32/win32.c (socketpair_internal): need to call open_ifs_socket() + to create sockets instead of winsock's socket(). + fixed: [yarv-dev:581] + +Wed Aug 17 23:58:05 2005 Nobuyoshi Nakada + + * eval.c (terminate_process): take String message. + + * eval.c (rb_thread_switch): propagate the exception caused thread + termination directly. fixed: [ruby-core:05552] + +Wed Aug 17 21:20:05 2005 NARUSE, Yui + + * ext/nkf/lib/kconv.rb: ensure that symbol_to_option is private_class_method + and all other methods are module_function + fixed: [ruby-dev:26808] + +Wed Aug 17 00:05:46 2005 Yukihiro Matsumoto + + * eval.c (rb_add_method): preserve safe level in the environment + where a method is defined . + + * eval.c (rb_call0): restore preserved safe level in the method + execution. + + * parse.y (lambda): need separate block variable stack + manipulation and lpar_beg maintenance. based on a patch found + in [ruby-core:05551] from Mauricio Fernandez . + + * parse.y (parser_yylex): adjust lpar_beg after tLAMBEG and + kDO_LAMBDA. [ruby-core:05551] + +Mon Aug 15 07:24:38 2005 Nobuyoshi Nakada + + * intern.h (rb_check_to_integer): add declaration. + + * object.c (rb_to_integer, rb_check_to_integer): argument constified. + +Mon Aug 15 00:38:51 2005 Nobuyoshi Nakada + + * eval.c (rb_rescue2): reduce PUSH_TAG() as well as NODE_RESCUE. + [ruby-dev:26800] + + * range.c (range_check, range_init): reduce uselse exceptions. + +Mon Aug 15 00:34:11 2005 Yukihiro Matsumoto + + * parse.y (yycompile): remove unreachable code. [yarv-dev:570] + +Sat Aug 13 22:16:12 2005 Minero Aoki + + * lib/fileutils.rb (remove_entry_secure): forgot final chdir. + +Sat Aug 13 22:07:49 2005 Minero Aoki + + * lib/fileutils.rb (remove_entry_secure): uses chdir(2) and check + if current directory is correct. [ruby-dev:26100] [ruby-dev:26226] + +Sat Aug 13 21:11:05 2005 Masaki Suketa + * ext/win32ole/win32ole.c: add WIN32OLE_VARIANT class. * ext/win32ole/tests/testall.rb: ditto. @@ -41947,6 +42603,442 @@ Fri Nov 28 14:41:52 2003 NAKAMURA, Hiroshi * lib/soap/streamHandler.rb: drop unused http parameters. + * lib/soap/encodingstyle/soapHandler.rb, lib/soap/mapping/factory.rb, + lib/soap/mapping/mapping.rb, lib/soap/mapping/registry.rb, + lib/wsdl/soap/complexType.rb: ApacheSOAP's map support was broken + under WSDL dynanic client environment. fixed. + + * test/wsdl/raa/*: add tests. + + * lib/xsd/datatypes.rb: dateTime precision bug fix (at least, I hope.) + bug of soap4r. XSDDateTimeImple.to_time passed a Float to + Time.local/Time.gm as an usec, and NUM2LONG(rb_num2long for Float) + causes rounding error. + + * test/soap/test_basetype.rb, test/xsd/test_xsd.rb: add tests. + +Fri Nov 28 04:15:24 2003 Nobuyoshi Nakada + + * eval.c (method_arity): used wrong Proc object. [ruby-talk:86504] + +Fri Nov 28 00:47:29 2003 Nobuyoshi Nakada + + * eval.c (rb_f_exit), process.c (rb_f_exit_bang): treat true as + success, false as failure. [ruby-dev:22067] + + * eval.c (rb_f_abort, rb_thread_switch), process.c (rb_f_system): use + ANSI macro instead of hard coded value. + + * eval.c (rb_f_exit), process.c (rb_f_exit_bang): use VALUEs not but + TYPEs. + +Thu Nov 27 22:05:48 2003 Akinori MUSHA + + * eval.c, gc.c: FreeBSD/ia64 currently does not have a way for a + process to get the base address for the RSE backing store, so + hardcode it for the moment. + [submitted by: Marcel Moolenaar ] + +Thu Nov 27 17:36:42 2003 Hidetoshi NAGAI + + * ext/tk/lib/tkafter.rb: bug fix on TkTimer#cancel_on_exception=(mode). + TkTimer#wait recieves the exception of the callback. + The exception is kept on @return_value. + +Thu Nov 27 16:58:48 2003 WATANABE Hirofumi + + * win32/win32.c (rb_w32_stat): remove _fullpath() for NUL: device. + +Wed Nov 26 15:38:47 2003 WATANABE Hirofumi + + * test/fileutils/test_fileutils.rb (test_ln_s): should take the + existing symbolic link for OpenBSD. + +Wed Nov 26 04:48:42 2003 why the lucky stiff + + * ext/syck/token.c: removed YYTOKTMP references which + were causing buffer overflows on large block scalars, + comments, quoted scalars and plain scalars. + + * ext/syck/rubyext.c: dynamic changing of buffer size. + + * ext/syck/syck.h: default buffer size of 4k. + +Wed Nov 26 00:55:30 2003 GOTOU Yuuzou + + * lib/webrick/httpresponse.rb: add HTTPResponse#keep_alive=. + + * lib/webrick/httpserver.rb (HTTPServer#run): should pass the + request's keep_alive flag to the response. + +Tue Nov 25 21:41:35 2003 NAKAMURA Usaku + + * defines.h (ENV_IGNORECASE): should define when DOSISH without + human68k. [ruby-dev:22047] + + * hash.c (env_has_value, env_index): don't ignore case of value. + [ruby-dev:22048] + +Tue Nov 25 21:39:37 2003 Yukihiro Matsumoto + + * file.c (path_check_1): honor sticky bits always. + [ruby-talk:86273] + +Tue Nov 25 20:02:14 2003 Minero Aoki + + * test/fileutils/test_fileutils.rb: do test in more deep + directory. + + * test/fileutils/test_nowrite.rb: ditto. + +Tue Nov 25 19:04:23 2003 Tanaka Akira + + * lib/open-uri.rb (URI::Generic#find_proxy): ENV case sensitivity test + refined. + +Tue Nov 25 18:13:30 2003 Minero Aoki + + * test/fileutils/test_fileutils.rb: chdir Dir.tmpdir before each + test. [ruby-dev:22045] + + * test/fileutils/test_nowrite.rb: ditto. + +Tue Nov 25 17:52:11 2003 Tanaka Akira + + * lib/open-uri.rb (URI::Generic#find_proxy): use http_proxy under CGI + if the environment variable is case sensitive. + +Tue Nov 25 16:41:33 2003 NAKAMURA, Hiroshi + + * test/wsdl/multiplefault.wsdl, test/wsdl/test_multiplefault.rb: + removed. this test requires extra libraries in soap4r/1.5.*. + +Tue Nov 25 16:24:42 2003 NAKAMURA, Hiroshi + + * lib/soap/**/*.rb, lib/wsdl/**/*.rb, lib/xsd/**/*.rb: changed license; + GPL2 -> Ruby's. + + * lib/soap/rpc/driver.rb, lib/soap/wsdlDriver.rb, + lib/soap/streamHandler.rb: add interface to streamhandler. + + * lib/soap/marshal.rb: raise error if parse fails. + + * lib/soap/netHttpClient.rb: add https support. Patched by + Oliver M. Bolzer. + + * lib/soap/netHttpClient.rb: dump HTTP response message body by itself. + + * lib/soap/rpc/driver.rb, lib/soap/rpc/proxy.rb, + lib/soap/wsdlDriver.rb: add driver#mandatorycharset interface to foce + using charset for parsing response from buggy server. + + * lib/soap/encodingstyle/soapHandler.rb: support Apache Axis's half + typed multi-ref array. + + * lib/soap/mapping/factory.rb, lib/soap/mapping/registry.rb: map + SOAPStruct which has multi-accessors which name are the same, to an + array. + + * lib/soap/rpc/element.rb: fixed illegal parameter order. + + * lib/soap/rpc/element.rb: element name of response message could have + the name other than 'return'. + + * lib/wsdl/operation.rb, lib/wsdl/operationBinding.rb, + lib/wsdl/soap/classDefCreator.rb, lib/wsdl/soap/methodDefCreator.rb, + lib/wsdl/soap/methodDefCreatorSupport.rb: WSDL/1.1 allows plural + fault definition in a operation. [ruby-talk:84948] + + * test/wsdl/multiplefault.wsdl, test/wsdl/test_multiplefault.rb: add + test for above fix. + + * lib/wsdl/soap/complexType.rb: support WSDL array definition with + maxOccures="unbound". + + * lib/xsd/charset.rb: use cp932 under emx. Patched by + Siena. / SHINAGAWA, Norihide in [ruby-dev:21972] + + * lib/xsd/xmlparser/parser.rb: set @charset nil by default. Nil means + 'follow encoding declaration in XML'. + + * sample/soap/digraph.rb, sample/wsdl/amazon/wsdlDriver.rb, + sample/wsdl/googleSearch/sampleClient.rb, + sample/wsdl/googleSearch/wsdlDriver.rb, + test/wsdl/test_emptycomplextype.rb, + test/wsdl/marshal/test_wsdlmarshal.rb, + test/xsd/test_xmlschemaparser.rb: use File.open(...) { |f| f.read } + instead of File.open(...).read. [ruby-dev:21964] + + * test/wsdl/emptycomplextype.wsdl, test/wsdl/test_emptycomplextype.rb: + simplify the test case. + + * test/wsdl/axisArray/*: add tests for axis's array encoding. + +Tue Nov 25 16:15:29 2003 WATANABE Hirofumi + + * ruby.h: don't treat Cygwin as Windows. + +Tue Nov 25 15:18:28 2003 Hidetoshi NAGAI + + * configure.in: change default value of --enable-pthread (default: no) + +Tue Nov 25 07:31:16 2003 Nobuyoshi Nakada + + * parse.y (primary): allow newlines just before right argument + parenthesis. (ruby-bugs:PR#1221) + +Mon Nov 24 23:32:06 2003 Tanaka Akira + + * lib/open-uri.rb (OpenURI.open_loop, URI::HTTP#proxy_open): use + catch/throw for redirection instead of exception. + (OpenURI.open_loop, OpenURI.redirectable?): restrict redirection. + +Mon Nov 24 19:59:48 2003 Tanaka Akira + + * lib/open-uri.rb (URI::Generic#find_proxy): use CGI_HTTP_PROXY + instead of HTTP_PROXY in the CGI environment. + +Mon Nov 24 19:32:55 2003 WATANABE Hirofumi + + * ext/etc/extconf.rb: check for pw_passwd in struct passwd and + gr_passwd in struct group for DJGPP. + + * ext/etc/etc.c: ditto. + + * ext/Setup.dj: support for curses, etc, zlib. + +Mon Nov 24 17:00:00 2003 Tanaka Akira + + * lib/open-uri.rb: validate option names. + :content_length_proc and :progress_proc option implemented. + +Mon Nov 24 14:53:10 2003 NAKAMURA Usaku + + * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub + (XCFLAGS): output empty value instead of `-DRUBY_EXPORT'. + +Sat Nov 22 23:09:45 2003 WATANABE Hirofumi + + * configure.in: set enable_pthread to no on MinGW. + +Sat Nov 22 22:56:20 2003 Hidetoshi NAGAI + + * configure.in: add --enable-pthread option (default: yes) + +Sat Nov 22 22:48:46 2003 Hidetoshi NAGAI + + * ext/tk/lib/tk.rb: add Tk.grab_release and fix bug of TkComposite + + * ext/tk/lib/tkafter.rb: bug fix of TkAfter#start + + * ext/tk/sample/tkcombobox.rb: new sample script + + * ext/tcltklib/tcltklib.c: add native thread check + +Sat Nov 22 18:49:47 2003 NAKAMURA Usaku + + * ext/curses/curses.c (window_nodelay): nodelay() of NetBSD's + libcruses returns no value, just like keypad(). + +Sat Nov 22 17:36:36 2003 NAKAMURA Usaku + + * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub + (HAVE_GETCWD): output to config.h. + + * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub + (XCFLAGS): output to config.status. + +Sat Nov 22 13:10:10 2003 Minero Aoki + + * lib/fileutils.rb (have_st_ino?): djgpp has valid st_ino. + +Sat Nov 22 11:28:48 2003 Yukihiro Matsumoto + + * gc.c (Init_stack): stack region is far smaller than usual if + pthread is used. + +Sat Nov 22 07:30:00 2003 Nathaniel Talbott + + * lib/test/unit/util/backtracefilter.rb: fixed a bug that occurred + when an exception had no backtrace. + + * test/testunit/util/test_backtracefilter.rb: ditto. + +Fri Nov 21 16:44:18 2003 Hidetoshi NAGAI + + * ext/tk/lib/tkentry.rb: fix the encoding trouble of percent + substitutions on validatecommand option of TkEntry widget + + * ext/tk/lib/tk.rb: fix bug on {pack|grid}_propagate() method + +Fri Nov 21 16:12:11 2003 Akinori MUSHA + + * ruby.1: Fix markups and grammar. + +Fri Nov 21 14:49:42 2003 Minero Aoki + + * ruby.1: wrote about ruby related environment variables. + +Fri Nov 21 12:28:03 2003 Yukihiro Matsumoto + + * marshal.c (w_extended): singleton methods should not be checked + when dumping via marshal_dump() or _dump(). [ruby-talk:85909] + +Fri Nov 21 01:40:00 2003 Hidetoshi NAGAI + + * configure.in: check + + * ruby.h: include pthread.h if existence. + define is_ruby_native() macro when not HAVE_NATIVETHREAD + + * eval.c: undef is_ruby_native() function when not HAVE_NATIVETHREAD + +Fri Nov 21 00:43:00 2003 Nathaniel Talbott + + * lib/test/unit/assertions.rb: use #__send__ instead of #send. + + * lib/test/unit/testcase.rb: ditto. + +Thu Nov 20 19:19:22 2003 WATANABE Hirofumi + + * configure.in: don't find the Cygwin's pthread library on MinGW. + +Thu Nov 20 19:15:50 2003 Minero Aoki + + * lib/fileutils.rb (have_st_ino?): emx (OS/2 with EMX) does not + have st_ino (always 0). [ruby-dev:21972] + + * lib/fileutils.rb (rename_cannot_overwrite_file?): emx does not + allow overwriting files by rename(2). + + * test/fileutils/test_fileutils.rb: windows? -> + have_drive_letter?, have_file_perm? + +Thu Nov 20 17:50:58 2003 Hidetoshi NAGAI + + * ext/tk/sample/tkballoonhelp.rb: new sample script + + * ext/tk/sample/tkmultilistbox.rb: ditto + + * ext/tk/sample/tktextframe.rb: ditto + +Thu Nov 20 13:37:34 2003 Hidetoshi NAGAI + + * ruby.h: define is_ruby_native_thread() for no native thread + environment + + * eval.c: ditto + +Thu Nov 20 12:42:47 2003 Hidetoshi NAGAI + + * configure.in: always check existence of the pthread library + + * ruby.h: define macros for ruby's native thread check + + * eval.c: add ruby's native thread check + + * gc.c: ditto + +Wed Nov 19 14:45:18 2003 Minero Aoki + + * lib/net/http.rb (to_ary): print more friendly warning message. + +Wed Nov 19 14:32:08 2003 Minero Aoki + + * lib/fileutils.rb (fu_same?): add djgpp and wince. + + * lib/fileutils.rb (cannot_overwrite_file?): add wince. + +Wed Nov 19 11:04:47 2003 NAKAMURA Usaku + + * lib/fileutils.rb (cannot_overwrite_file?, have_st_ino?): bccwin32 + is same as mswin32. + +Wed Nov 19 07:54:00 2003 Nathaniel Talbott + + * lib/test/unit.rb: do not run tests if $! is set. + + * lib/test/unit/assertionfailederror.rb: extend StandardError instead + Exception (irb catches the former but not the latter). + +Tue Nov 18 23:31:36 2003 WATANABE Hirofumi + + * missing/memmove.c (memmove): take void *, not char *. + + * missing.h (memmove): ditto. + + * missing.h (strchr, strrchr): return char *, not int. + +Tue Nov 18 22:20:10 2003 Minero Aoki + + * lib/fileutils.rb (fu_same?): temporal fix for windows. + +Tue Nov 18 19:05:04 2003 Minero Aoki + + * lib/fileutils.rb (fu_same?): check by inode instead of path + name, to detect two hard links pointing to the same content. + + * test/fileutils.rb: did not create correctly looped symlinks. + +Tue Nov 18 18:23:05 2003 Nobuyoshi Nakada + + * ext/stringio/stringio.c (strio_read): behave as IO at empty string. + [ruby-dev:21939], [ruby-dev:21941] + + * ext/stringio/stringio.c (strio_getc, strio_getline): set EOF flag. + + * ext/stringio/stringio.c (strio_rewind, strio_seek, strio_ungetc): + clear EOF flag. + + * test/stringio/test_stringio.rb: imported from [ruby-dev:21941]. + +Tue Nov 18 14:06:35 2003 Minero Aoki + + * lib/fileutils.rb (fu_each_src_dest): raise if src==dest. + [ruby-talk:85344] [ruby-core:01699] + + * lib/fileutils.rb: use Object#is_a? instead of Class#=== to allow + e.g. remote objects for receivers. + + * lib/fileutils.rb: FileTest -> File. + + * lib/fileutils.rb: put parentheses for arguments of File.xxxx? + + * test/fileutils/test_fileutils.rb (test_cp): test "cp a a". + + * test/fileutils/test_fileutils.rb (test_mv): test "mv a a". + + * test/fileutils/test_fileutils.rb (test_ln): test "ln a a". + + * test/fileutils/test_fileutils.rb (test_ln_s): test "ln_s a a". + + * test/fileutils/test_fileutils.rb (test_install): test "install a a". + + * test/fileutils/fileasserts.rb: new method assert_symlink. + + * test/fileutils/fileasserts.rb: assert_is_directory -> assert_directory. + +Mon Nov 17 19:38:49 2003 Yukihiro Matsumoto + + * file.c (getcwdofdrv): avoid using getcwd() directly, use + my_getcwd() instead. + + * merged NeXT, OpenStep, Rhapsody ports patch from Eric Sunshine + . [ruby-core:01596] + +Mon Nov 17 10:50:27 2003 Nobuyoshi Nakada + + * lib/optparse.rb (OptionParser::Completion::complete): allow least + common completion for three or more candidates. + +Mon Nov 17 09:41:38 2003 Nobuyoshi Nakada + + * lib/test/unit/ui/tk/testrunner.rb, + lib/test/unit/ui/gtk/testrunner.rb: + run GUI main loop in sub thread. + + * lib/test/unit/ui/gtk2/testrunner.rb: imported from rough. + * lib/test/unit/autorunner.rb (keyword_display): sort keywords. Sun Nov 16 18:10:57 2003 Nobuyoshi Nakada