ruby-changes:5895
From: naruse <ko1@a...>
Date: Wed, 18 Jun 2008 15:07:57 +0900 (JST)
Subject: [ruby-changes:5895] Ruby:r17403 (trunk): * io.c (rb_open_file): fs_encoding and fname_encoding is
naruse 2008-06-18 15:07:38 +0900 (Wed, 18 Jun 2008) New Revision: 17403 Modified files: trunk/ChangeLog trunk/io.c Log: * io.c (rb_open_file): fs_encoding and fname_encoding is rb_encoding *. fixed [ruby-dev:35151] http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=17403&r2=17402&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/io.c?r1=17403&r2=17402&diff_format=u Index: ChangeLog =================================================================== --- ChangeLog (revision 17402) +++ ChangeLog (revision 17403) @@ -1,3 +1,9 @@ +Wed Jun 18 15:01:18 2008 NARUSE, Yui <naruse@r...> + + * io.c (rb_open_file): fs_encoding and fname_encoding is + rb_encoding *. + fixed [ruby-dev:35151] + Wed Jun 18 14:30:06 2008 NARUSE, Yui <naruse@r...> * io.c (rb_open_file): not rb_enc_get_index but rb_enc_get. @@ -116,119 +122,6 @@ * dir.c (dir_each): ditto. -Tue Jun 17 06:28:57 2008 NARUSE, Yui <naruse@r...> - - * 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 <naruse@r...> - - * encoding.c (rb_filesystem_encoding): defined. - - * include/ruby/encoding.h (rb_filesystem_encoding): added. - -Tue Jun 17 06:24:28 2008 NARUSE, Yui <naruse@r...> - - * ext/syck/rubyext.c: add encoding header. - -Tue Jun 17 01:52:50 2008 Hidetoshi NAGAI <nagai@a...> - - * 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 <nobu@r...> - - * 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 <nobu@r...> - - * lib/thwait.rb (ThreadsWait): Exception2MessageMapper no longer has - extend_to method. [ruby-core:17267] - -Mon Jun 16 14:46:25 2008 Nobuyoshi Nakada <nobu@r...> - - * lib/e2mmap.rb (E2MM.def_e2message): typo. - -Mon Jun 16 09:43:27 2008 Akinori MUSHA <knu@i...> - - * 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 <nobu@r...> - - * ext/stringio/stringio.c (strio_readline, strio_each) - (strio_readlines): set lastline. [ruby-core:17257] - -Mon Jun 16 01:49:39 2008 Koichi Sasada <ko1@a...> - - * 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 <ko1@a...> - - * vm_dump.c (vm_stack_dump_raw): disable verbose debug output. - -Mon Jun 16 01:33:08 2008 Koichi Sasada <ko1@a...> - - * vm_core.h, thread.c: rename global_interpreter_lock to - global_vm_lock. - -Sun Jun 15 18:40:35 2008 NARUSE, Yui <naruse@r...> - - * 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 <nobu@r...> - - * 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 <nobu@r...> - - * 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 <nobu@r...> - - * 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 <nobu@r...> - - * 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 <nobu@r...> - - * 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 <akr@f...> - * gc.c (ruby_initial_gc_stress): defined. (ruby_initial_gc_stress_ptr): defined. @@ -14281,231 +14174,6 @@ Fri Sep 14 16:14:28 2007 Koichi Sasada <ko1@a...> - * 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 <ko1@a...> - - * insnhelper.ci (vm_expandarray): should be volatile value for GC. - -Thu Sep 13 15:42:03 2007 Nobuyoshi Nakada <nobu@r...> - - * compile.c (iseq_compile_each): inline cache entries are overwritten - in iseq_build_body(). - -Thu Sep 13 14:00:15 2007 Nobuyoshi Nakada <nobu@r...> - - * parse.y (brace_block): should use compstmt. patch submitted by - Kirill A. Shutemov <k.shutemov AT gmail.com> [ruby-core:12154]. - -Thu Sep 13 13:47:08 2007 Nobuyoshi Nakada <nobu@r...> - - * parse.y (rb_id2str): fixed typo. - -Wed Sep 12 23:12:22 2007 Yukihiro Matsumoto <matz@r...> - - * ruby.c (proc_options): -W should be allowed in RUBYOPT - environment variable. [ruby-core:12118] - -Wed Sep 12 15:19:04 2007 Nobuyoshi Nakada <nobu@r...> - - * 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 <knu@i...> - - * 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 <knu@i...> - - * 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 <akr@f...> - - * 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 <matz@r...> - - * 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 <matz@r...> - - * 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 <matz@r...> - - * range.c (range_step): fixed integer overflow. [ruby-dev:31763] - -Sun Sep 9 08:57:27 2007 Tadayoshi Funaba <tadf@d...> - - * 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 <akr@f...> - - * marshal.c (r_object0): check T_STRUCT type for structs. - -Sun Sep 9 01:17:05 2007 Tanaka Akira <akr@f...> - - * 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 <akr@f...> - - * 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 <matz@r...> - - * 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 <tadf@d...> - - * lib/date/format.rb (str[fp]time): now check specifications more - strictly. - -Sat Sep 8 02:56:31 2007 Yukihiro Matsumoto <matz@r...> - - * test/ruby/test_fiber.rb (TestFiber::test_throw): uncaught throw - now raise ArgumentError exception. - -Sat Sep 8 02:45:33 2007 Yukihiro Matsumoto <matz@r...> - - * 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 <usa@r...> - - * 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 <ko1@a...> - - * common.mk: fix typo. - -Fri Sep 7 00:28:25 2007 Yukihiro Matsumoto <matz@r...> - - * 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 <matz@r...> - - * 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 <matz@r...> - - * 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 <matz@r...> - - * array.c (rb_ary_cycle): typo in rdoc. a patch from Yugui - <yugui@y...>. [ruby-dev:31748] - -Thu Sep 6 12:42:10 2007 Nobuyoshi Nakada <nobu@r...> - - * 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 <matz@r...> - - * 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 <masaki.suketa@n...> - - * ext/win32ole/win32ole.c: add WIN32OLE_EVENT#unadvise. - - * test/win32ole/test_win32ole_event.rb: ditto. - -Mon Sep 3 15:37:09 2007 Nobuyoshi Nakada <nobu@r...> - - * common.mk (vm.o): depends on st.h too. - -Sun Sep 2 23:38:29 2007 Tanaka Akira <akr@f...> - - * 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 <tadf@d...> - - * 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 <matz@r...> - * eval_jump.ci (rb_f_throw): wrap tag and TAG_THROW in a NODE_MEMO node to make throw instruction to work well. @@ -28499,324 +28167,6 @@ * 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 <matz@r...> - - * 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 <nobu@r...> - - * 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 <matz@r...> - - * lib/find.rb: should raise ENOENT if root entry does not exist. - [ruby-list:41054] - - * lib/ostruct.rb: a patch from Florian Gross <florgro at gmail.com> - merged to allow recursive inspect (and to_s) for OpenStruct. - [ruby-core:05532] - -Mon Sep 5 08:20:19 2005 Yukihiro Matsumoto <matz@r...> - - * lib/observer.rb: a patch from nornagon <nornagon at gmail.com> - merged to allow arbitrary names for update methods. - [ruby-core:05416] - -Mon Sep 5 07:01:12 2005 GOTOU Yuuzou <gotoyuzo@n...> - - * 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 <aamine@l...> - - * parse.y (f_arg): Ripper should not do semantic check. - [ruby-dev:26948] - -Sat Sep 3 23:52:35 2005 Yukihiro Matsumoto <matz@r...> - - * 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 <akr@m...> - - * 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 <nobu@r...> - - * 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 <matz@r...> - - * eval.c (rb_call0): wrong condition for $SAFE restoration. - -Thu Sep 1 14:12:45 2005 Hidetoshi NAGAI <nagai@a...> - - * 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 <usa@r...> - - * 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 <ocean@m...> - - * process.c (proc_detach, proc_setmaxgroups): missing argument type - declaration. (I recommend ANSI-style function) - -Wed Aug 31 06:59:01 2005 Nobuyoshi Nakada <nobu@r...> - - * string.c (rb_str_scan): already String#scan behaves differently - regarding if block is given. - -Tue Aug 30 23:49:34 2005 Nobuyoshi Nakada <nobu@r...> - - * 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 <nahi@r...> - - * lib/debug.rb: no need to restart at exit. - -Tue Aug 30 23:20:19 2005 Nobuyoshi Nakada <nobu@r...> - - * 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 <gotoyuzo@n...> - - * ext/digest/md5/md5ossl.h, ext/digest/rmd160/rmd160ossl.h, - ext/digest/sha1/sha1ossl.h: include <stddef.h> to avoid - error in compilation with OpenSSL-0.9.8. [ruby-list:41068] - -Tue Aug 30 16:19:40 2005 Keiju Ishitsuka <keiju@r...> - - * lib/irb/init.rb: bug fix. [ruby-dev: 26920] - -Tue Aug 30 16:13:00 2005 Yukihiro Matsumoto <matz@r...> - - * enum.c (enum_count): new method. [ruby-dev:26895] - -Tue Aug 30 12:45:15 2005 Yukihiro Matsumoto <matz@r...> - - * 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 <ocean@m...> - - * 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 <keiju@r...> - - * 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 <akr@m...> - - * lib/pathname.rb (Pathname#descend): new method. - (Pathname#ascend): ditto. - -Mon Aug 29 00:35:09 2005 Tanaka Akira <akr@m...> - - * 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 <ocean@m...> - - * 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 <ocean@m...> - - * ext/win32ole/win32ole.c: supress warnings. (win32) - -Wed Aug 24 11:01:26 2005 NAKAMURA Usaku <usa@r...> - - * 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 <gotoyuzo@n...> - - * 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 <gotoyuzo@n...> - - * 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 <ocean@m...> - - * sprintf.c (ruby__sfvwrite): should move `buf' to the end of - `result'. [ruby-dev:26859] - -Mon Aug 22 23:51:19 2005 Yukihiro Matsumoto <matz@r...> - - * parse.y: ONIG_OPTION_CAPTURE_GROUP conflicts with - RE_OPTION_ONCE. [ruby-dev:26852] - -Mon Aug 22 20:11:35 2005 Nobuyoshi Nakada <nobu@r...> - - * missing/vsnprintf.c (BSD__sprint): needs to call vwrite function - pointer. fixed: [ruby-dev:26854] - -Sat Aug 20 23:55:25 2005 Yukihiro Matsumoto <matz@r...> - - * parse.y (parser_yylex): update paren_nest for brackets []. - -Sun Aug 21 00:10:23 2005 NAKAMURA, Hiroshi <nahi@r...> - - * 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 <sndgk393 AT ybb.ne.jp> - - * regexec.c (code_is_in_cclass_node): check code size. - [ruby-dev:26840] - -Sat Aug 20 22:37:13 2005 NAKAMURA, Hiroshi <nahi@r...> - - * 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 <akr@m...> - - * 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 <usa@r...> - - * 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 <nobu@r...> - - * 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 <naruse@r...> - - * 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 <matz@r...> - - * 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 <mfp at acm.org>. - - * parse.y (parser_yylex): adjust lpar_beg after tLAMBEG and - kDO_LAMBDA. [ruby-core:05551] - -Mon Aug 15 07:24:38 2005 Nobuyoshi Nakada <nobu@r...> - - * 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 <nobu@r...> - - * 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 <matz@r...> - - * parse.y (yycompile): remove unreachable code. [yarv-dev:570] - -Sat Aug 13 22:16:12 2005 Minero Aoki <aamine@l...> - - * lib/fileutils.rb (remove_entry_secure): forgot final chdir. - -Sat Aug 13 22:07:49 2005 Minero Aoki <aamine@l...> - - * 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 <masaki.suketa@n...> - * ext/win32ole/win32ole.c: add WIN32OLE_VARIANT class. * ext/win32ole/tests/testall.rb: ditto. @@ -42579,442 +41929,6 @@ * 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 <nobu@r...> - - * eval.c (method_arity): used wrong Proc object. [ruby-talk:86504] - -Fri Nov 28 00:47:29 2003 Nobuyoshi Nakada <nobu@r...> - - * 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 <knu@i...> - - * 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 <marcel@F...>] - -Thu Nov 27 17:36:42 2003 Hidetoshi NAGAI <nagai@a...> - - * 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 <eban@r...> - - * win32/win32.c (rb_w32_stat): remove _fullpath() for NUL: device. - -Wed Nov 26 15:38:47 2003 WATANABE Hirofumi <eban@r...> - - * 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 <why@r...> - - * 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 <gotoyuzo@n...> - - * 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 <usa@r...> - - * 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 <matz@r...> - - * file.c (path_check_1): honor sticky bits always. - [ruby-talk:86273] - -Tue Nov 25 20:02:14 2003 Minero Aoki <aamine@l...> - - * 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 <akr@m...> - - * lib/open-uri.rb (URI::Generic#find_proxy): ENV case sensitivity test - refined. - -Tue Nov 25 18:13:30 2003 Minero Aoki <aamine@l...> - - * 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 <akr@m...> - - * 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 <nahi@r...> - - * 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 <nahi@r...> - - * 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 <eban@r...> - - * ruby.h: don't treat Cygwin as Windows. - -Tue Nov 25 15:18:28 2003 Hidetoshi NAGAI <nagai@a...> - - * configure.in: change default value of --enable-pthread (default: no) - -Tue Nov 25 07:31:16 2003 Nobuyoshi Nakada <nobu@r...> - - * parse.y (primary): allow newlines just before right argument - parenthesis. (ruby-bugs:PR#1221) - -Mon Nov 24 23:32:06 2003 Tanaka Akira <akr@m...> - - * 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 <akr@m...> - - * 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 <eban@r...> - - * 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 <akr@m...> - - * lib/open-uri.rb: validate option names. - :content_length_proc and :progress_proc option implemented. - -Mon Nov 24 14:53:10 2003 NAKAMURA Usaku <usa@r...> - - * 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 <eban@r...> - - * configure.in: set enable_pthread to no on MinGW. - -Sat Nov 22 22:56:20 2003 Hidetoshi NAGAI <nagai@a...> - - * configure.in: add --enable-pthread option (default: yes) - -Sat Nov 22 22:48:46 2003 Hidetoshi NAGAI <nagai@a...> - - * 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 <usa@r...> - - * 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 <usa@r...> - - * 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 <aamine@l...> - - * lib/fileutils.rb (have_st_ino?): djgpp has valid st_ino. - -Sat Nov 22 11:28:48 2003 Yukihiro Matsumoto <matz@r...> - - * gc.c (Init_stack): stack region is far smaller than usual if - pthread is used. - -Sat Nov 22 07:30:00 2003 Nathaniel Talbott <ntalbott@r...> - - * 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 <nagai@a...> - - * 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 <knu@i...> - - * ruby.1: Fix markups and grammar. - -Fri Nov 21 14:49:42 2003 Minero Aoki <aamine@l...> - - * ruby.1: wrote about ruby related environment variables. - -Fri Nov 21 12:28:03 2003 Yukihiro Matsumoto <matz@r...> - - * 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 <nagai@a...> - - * configure.in: check <pthread.h> - - * 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 <ntalbott@r...> - - * 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 <eban@r...> - - * configure.in: don't find the Cygwin's pthread library on MinGW. - -Thu Nov 20 19:15:50 2003 Minero Aoki <aamine@l...> - - * 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 <nagai@a...> - - * 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 <nagai@a...> - - * ruby.h: define is_ruby_native_thread() for no native thread - environment - - * eval.c: ditto - -Thu Nov 20 12:42:47 2003 Hidetoshi NAGAI <nagai@a...> - - * 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 <aamine@l...> - - * lib/net/http.rb (to_ary): print more friendly warning message. - -Wed Nov 19 14:32:08 2003 Minero Aoki <aamine@l...> - - * 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 <usa@r...> - - * lib/fileutils.rb (cannot_overwrite_file?, have_st_ino?): bccwin32 - is same as mswin32. - -Wed Nov 19 07:54:00 2003 Nathaniel Talbott <ntalbott@r...> - - * 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 <eban@r...> - - * 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 <aamine@l...> - - * lib/fileutils.rb (fu_same?): temporal fix for windows. - -Tue Nov 18 19:05:04 2003 Minero Aoki <aamine@l...> - - * 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 <nobu@r...> - - * 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 <aamine@l...> - - * 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 <matz@r...> - - * file.c (getcwdofdrv): avoid using getcwd() directly, use - my_getcwd() instead. - - * merged NeXT, OpenStep, Rhapsody ports patch from Eric Sunshine - <sunshine@s...>. [ruby-core:01596] - -Mon Nov 17 10:50:27 2003 Nobuyoshi Nakada <nobu@r...> - - * lib/optparse.rb (OptionParser::Completion::complete): allow least - common completion for three or more candidates. - -Mon Nov 17 09:41:38 2003 Nobuyoshi Nakada <nobu@r...> - - * 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 <nobu@r...> Index: io.c =================================================================== --- io.c (revision 17402) +++ io.c (revision 17403) @@ -4104,8 +4104,8 @@ rb_scan_args(argc, argv, "12", &fname, &vmode, &perm); #if defined _WIN32 || defined __APPLE__ { - static int fs_encoding; - int fname_encoding = rb_enc_get(fname); + static rb_encoding *fs_encoding; + rb_encoding *fname_encoding = rb_enc_get(fname); if (!fs_encoding) fs_encoding = rb_filesystem_encoding(); if (rb_usascii_encoding() != fname_encoding -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/