summaryrefslogtreecommitdiff
path: root/test/ruby/test_rubyoptions.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merged changes from trunkser2008-09-211-284/+110
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/rexml_adds_tests@19449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merged revisions ↵ser2008-06-121-0/+457
15970-15975,15978-15980,15983,15985-15986,15990-15997,16003,16006,16018-16019,16021-16023,16026,16028-16029,16033,16036-16037,16040,16042-16043,16049-16050,16057-16059,16061,16063-16065,16072,16077,16086-16090,16093-16100,16105-16107,16111-16113,16116,16118,16121-16123,16125,16128-16130,16132,16134-16141,16145-16146,16148-16149,16151,16153-16156,16158-16159,16161,16169,16172,16175-16177,16180-16183,16185-16192,16194-16204,16208-16241,16243-16259,16261,16264-16266,16268-16280,16284-16299,16301-16304,16306,16308-16339,16343,16345,16347-16349,16351,16354-16366,16370-16376,16378,16380-16381,16384,16386-16399,16401-16402,16404-16409,16411-16414,16416,16418-16420,16422-16427,16429,16436-16437,16439-16441,16444-16445,16448,16450,16452-16453,16455,16466,16468,16470,16472,16474,16476-16478,16481-16488,16490-16494,16496-16502,16504-16506,16509-16510,16512-16513,16515,16517-16518,16520,16522-16533,16535,16540-16542,16545-16546,16548,16550-16552,16558-16559,16561-16562,16565-16568,16571-16572,16576,16579-16581,16586-16588,16590-16592,16595,16609,16611-16615,16617,16619-16622,16624,16631,16635,16637,16643,16648-16654,16657,16659-16662,16665,16667-16669,16674-16675,16677,16680-16689,16692-16693,16697-16700,16703-16709,16711-16718,16724-16725,16733-16740,16742-16743,16747,16749-16751,16754-16755,16757-16762,16767,16770-16773,16777,16785,16790,16793,16795-16802,16809-16810,16813,16819-16823,16833-16835,16840-16842,16844-16850,16852-16854,16859,16867-16869,16871,16873-16875,16880,17016-17021,17023-17024,17027,17035-17045,17053,17055-17069,17071-17073,17075-17089,17098-17102,17104-17106 via svnmerge from svn+ssh://svn@ci.ruby-lang.org/ruby/trunk ........ r15970 | matz | 2008-04-11 03:43:31 -0400 (Fri, 11 Apr 2008) | 2 lines * lib/yaml/store.rb (YAML::load): modified to support empty database. ........ r15971 | nobu | 2008-04-11 03:56:25 -0400 (Fri, 11 Apr 2008) | 1 line * test/test_pstore.rb, test/yaml/test_yamlstore.rb: properties. ........ r15972 | knu | 2008-04-11 03:58:06 -0400 (Fri, 11 Apr 2008) | 5 lines * enum.c (enum_find_index): Add support for find_index(obj); [ruby-dev:34313]. * array.c (rb_ary_index): Define find_index as an alias to index. ........ r15973 | matz | 2008-04-11 04:06:31 -0400 (Fri, 11 Apr 2008) | 3 lines * enum.c (find_index_i): modified to shut warning up. * enum.c (find_index_iter_i): ditto. ........ r15974 | knu | 2008-04-11 04:26:45 -0400 (Fri, 11 Apr 2008) | 3 lines * enum.c (count_i, count_iter_i, enum_count, enum_find_index): Reduce code. ........ r15975 | matz | 2008-04-11 04:36:47 -0400 (Fri, 11 Apr 2008) | 1 line * enum.c (count_i): modified to shut warning up. ........ r15978 | nobu | 2008-04-11 14:12:18 -0400 (Fri, 11 Apr 2008) | 3 lines * file.c (rb_file_s_basename, rb_file_s_dirname, rb_file_s_extname): copy encoding. ........ r15979 | nobu | 2008-04-11 14:13:40 -0400 (Fri, 11 Apr 2008) | 2 lines * file.c (file_expand_path): set external encoding. ........ r15980 | drbrain | 2008-04-11 16:57:02 -0400 (Fri, 11 Apr 2008) | 1 line Update to RubyGems 1.1.1 r1701. ........ r15983 | nobu | 2008-04-11 23:41:51 -0400 (Fri, 11 Apr 2008) | 12 lines * eval.c (ruby_exec_node, ruby_run_node), ruby.c (process_options): use iseq instead of NODE. * gc.c (source_filenames): removed. * include/ruby/intern.h, parse.y (yycompile, parser_mark, parser_free, ripper_initialize): rb_source_filename() is no longer used. * compile.c, compile.h (ERROR_ARGS), parse.y (node_newnode, fixpos, parser_warn, e_option_supplied, warn_unless_e_option, range_op, cond0): nd_file is no longer used. ........ r15985 | matz | 2008-04-12 10:50:18 -0400 (Sat, 12 Apr 2008) | 4 lines * prelude.rb (require_relative): move require_relative from lib/require_relative.rb. [ruby-core:16356] * lib/require_relative.rb: removed. ........ r15986 | matz | 2008-04-12 10:51:09 -0400 (Sat, 12 Apr 2008) | 1 line bootstraptest/test_knownbug.rb: add tests ........ r15990 | nobu | 2008-04-13 05:52:29 -0400 (Sun, 13 Apr 2008) | 3 lines * thread_pthread.c (lock_func): should not check interrupts in blocking region. [ruby-dev:34378] ........ r15991 | knu | 2008-04-13 10:59:55 -0400 (Sun, 13 Apr 2008) | 5 lines * enum.c (enum_cycle): Make Enumerable#cycle do a finite loop when the number of cycles is specified. * array.c (rb_ary_cycle): Ditto for Array#cycle. ........ r15992 | mame | 2008-04-13 11:52:14 -0400 (Sun, 13 Apr 2008) | 3 lines * test/ruby/test_parse.rb: add tests to achieve over 95% test coverage of parse.y. ........ r15993 | matz | 2008-04-13 22:20:47 -0400 (Sun, 13 Apr 2008) | 1 line bootstraptest/test_knownbug.rb: wrong condition ........ r15994 | nobu | 2008-04-13 23:44:15 -0400 (Sun, 13 Apr 2008) | 2 lines * gc.c (finalizers): removed. [ruby-dev:34349] ........ r15995 | nobu | 2008-04-13 23:47:04 -0400 (Sun, 13 Apr 2008) | 2 lines * gc.c (rb_objspace_t): packed globals. [ruby-dev:34348] ........ r15996 | nobu | 2008-04-13 23:52:27 -0400 (Sun, 13 Apr 2008) | 2 lines * gc.c (Init_stack): use ruby_init_stack. [ruby-dev:34350] ........ r15997 | matz | 2008-04-13 23:58:35 -0400 (Sun, 13 Apr 2008) | 5 lines * array.c (ary_new): new integer overflow check condition. suggested by TOYOFUKU Chikanobu <nobu_toyofuku at nifty.com> in [ruby-dev:34156]. * array.c (rb_ary_initialize): ditto. ........ r16003 | nobu | 2008-04-14 01:34:04 -0400 (Mon, 14 Apr 2008) | 14 lines * compile.c, compile.h (compile_debug): made runtime option. * debug.c (ruby_debug_print_indent): returns if debug_level exceeds the threashold. * debug.c (ruby_debug_printf): printf to stderr. * iseq.c (make_compile_option, make_compile_option_value): added debug_level option. * vm_core.h (rb_compile_option_t): added debug_level. * vm_core.h (struct iseq_compile_data): added node_level. ........ r16006 | knu | 2008-04-14 04:31:38 -0400 (Mon, 14 Apr 2008) | 3 lines * hash.c (rb_hash_delete_if, rb_hash_reject_bang, env_delete_if, env_reject_bang): Return an enumerator if no block is given. ........ r16018 | matz | 2008-04-14 09:45:26 -0400 (Mon, 14 Apr 2008) | 2 lines * file.c (SET_EXTERNAL_ENCODING): avoid call rb_enc_check() on half-baked result string. ........ r16019 | mame | 2008-04-14 10:26:51 -0400 (Mon, 14 Apr 2008) | 3 lines * test/ruby/test_objectspace.rb: add a test for ObjectSpace.count_objects. ........ r16021 | matz | 2008-04-14 11:47:51 -0400 (Mon, 14 Apr 2008) | 4 lines * re.c (rb_reg_search): make search reentrant. [ruby-dev:34223] * test/ruby/test_parse.rb (TestParse::test_global_variable): should preserve $& variable. ........ r16022 | tadf | 2008-04-14 18:30:45 -0400 (Mon, 14 Apr 2008) | 9 lines * complex.c (nucomp_div): [ruby-dev:34357] * complex.c (nucomp_abs): use hypot. * complex.c (nucomp_quo): do not force convertion. * test/ruby/test_complex.rb: omitted some meaningless tests. ........ r16023 | tadf | 2008-04-14 18:33:50 -0400 (Mon, 14 Apr 2008) | 2 lines typo ........ r16026 | nobu | 2008-04-15 00:29:48 -0400 (Tue, 15 Apr 2008) | 3 lines * array.c (rb_ary_take_while, rb_ary_drop_while): removed unused variables. ........ r16028 | nobu | 2008-04-15 02:38:13 -0400 (Tue, 15 Apr 2008) | 12 lines * misc/ruby-mode.el (ruby-encoding-map): added shift-jis for older versions. * misc/ruby-mode.el (ruby-mode-set-encoding): coding-system-to-mime-charset is not a standard function. [carbon-emacs:795] fix for the case that magic comment exists but coding system is absent. * misc/ruby-mode.el (ruby-mode): use write-contents-functions or write-contents-hooks for older versions. ........ r16029 | kazu | 2008-04-15 03:46:38 -0400 (Tue, 15 Apr 2008) | 2 lines * test/ruby/test_symbol.rb (TestSymbol#test_to_proc): add tests. ........ r16033 | kazu | 2008-04-15 04:12:30 -0400 (Tue, 15 Apr 2008) | 2 lines * lib/net/http.rb, lib/net/smtp.rb, lib/net/pop.rb: update URLs of Japanese documents. ........ r16036 | nobu | 2008-04-15 04:55:17 -0400 (Tue, 15 Apr 2008) | 2 lines * include/ruby/intern.h (rb_argv): removed. [ ruby-Bugs-19514 ] ........ r16037 | nobu | 2008-04-15 05:02:19 -0400 (Tue, 15 Apr 2008) | 3 lines * include/ruby/intern.h (rb_argv): replaced with rb_get_argv(). [ruby-Bugs-19514] ........ r16040 | matz | 2008-04-15 06:21:01 -0400 (Tue, 15 Apr 2008) | 1 line * io.c: #undef rb_argv moved before #define. ........ r16042 | kou | 2008-04-15 10:10:18 -0400 (Tue, 15 Apr 2008) | 3 lines * lib/xmlrpc/client.rb: fix cookie handling. [ruby-dev:34403] * test/xmlrpc/test_cookie.rb: add a test for the above fix. ........ r16043 | kou | 2008-04-15 10:21:23 -0400 (Tue, 15 Apr 2008) | 2 lines * test/xmlrpc/test_cookie.rb: set svn:eol-style. ........ r16049 | nobu | 2008-04-15 13:26:29 -0400 (Tue, 15 Apr 2008) | 3 lines * ruby.c (process_options): dln_find_file returns the pointer to a static buffer, so should copy it. [ruby-dev:34409] ........ r16050 | nobu | 2008-04-15 13:40:46 -0400 (Tue, 15 Apr 2008) | 3 lines * ruby.c (process_options): preludes and parser need to run in safe level 0. [ruby-dev:34407] ........ r16057 | mame | 2008-04-16 11:48:54 -0400 (Wed, 16 Apr 2008) | 5 lines * test/ruby/test_process.rb (test_rlimit_nofile): reset RLIMIT_NOFILE before exit (for gcov). * test/ruby/test_rubyoptions.rb: new tests for option of ruby interpreter, to achieve over 95% test coverage of ruby.c. ........ r16058 | nobu | 2008-04-17 03:07:14 -0400 (Thu, 17 Apr 2008) | 5 lines * test/ruby/test_rubyoptions.rb (ruby): run in C locale. * test/ruby/test_rubyoptions.rb (test_encoding): --encoding does not affect source code. ........ r16059 | mame | 2008-04-17 07:13:34 -0400 (Thu, 17 Apr 2008) | 4 lines * test/ruby/test_rubyoptions.rb (test_search): enable some assertions. * test/ruby/test_rubyoptions.rb: flunk message in win32. ........ r16061 | mame | 2008-04-17 09:22:40 -0400 (Thu, 17 Apr 2008) | 13 lines * enc/trans/utf_16_32.c (fun_so_to_utf_16be, fun_so_to_utf_16le): add parentheses to remove warnings of gcc. * io.c (rb_io_getc): remove unused variables. * compile.c (NODE_NEXT, NODE_REDO): remove unused labels. * ext/nkf/nkf.c (rb_nkf_convert): remove unused variables. * ext/syck/rubyext.c (syck_resolver_initialize, syck_resolver_detect_implicit, syck_emitter_emit): remove unused variables. ........ r16063 | yugui | 2008-04-17 10:52:14 -0400 (Thu, 17 Apr 2008) | 2 lines * ruby.1: added --{disable|enable}-{rubyopt|all}. ........ r16064 | yugui | 2008-04-17 11:09:06 -0400 (Thu, 17 Apr 2008) | 2 lines * ruby.1: fixed typo. ........ r16065 | usa | 2008-04-17 11:22:18 -0400 (Thu, 17 Apr 2008) | 1 line * 2008-04-18 ........ r16072 | nobu | 2008-04-18 04:37:50 -0400 (Fri, 18 Apr 2008) | 5 lines * gc.c (rb_gc_mark_locations): get rid of underflow. * gc.c (mark_current_machine_context): check if the main thread stack position may shink under the intialized position. [ruby-core:16436] ........ r16077 | mame | 2008-04-18 07:58:30 -0400 (Fri, 18 Apr 2008) | 3 lines * test/ruby/test_array.rb: add tests to achieve over 95% test coverage of array.c. ........ r16086 | akr | 2008-04-19 15:09:22 -0400 (Sat, 19 Apr 2008) | 2 lines fix setup method. ........ r16087 | akr | 2008-04-19 15:47:16 -0400 (Sat, 19 Apr 2008) | 3 lines * io.c (copy_stream_body): use readpartial and write method for non-IOs such as StringIO and ARGF. ........ r16088 | akr | 2008-04-19 23:51:57 -0400 (Sat, 19 Apr 2008) | 3 lines * io.c (copy_stream_fallback): read directly (bypassing readpartial) if possible. ........ r16089 | akr | 2008-04-20 00:12:32 -0400 (Sun, 20 Apr 2008) | 2 lines avoid warnings in copy_stream_body. ........ r16090 | akr | 2008-04-20 00:59:04 -0400 (Sun, 20 Apr 2008) | 3 lines * io.c (copy_stream_fallback): write directly (bypassing write method) if possible. ........ r16093 | nobu | 2008-04-20 01:44:47 -0400 (Sun, 20 Apr 2008) | 4 lines * compile.c (iseq_compile_each): fix for splat in when and rescue. a patch from wanabe <s.wanabe AT gmail.com> in [ruby-dev:34429]. [ruby-core:14537] ........ r16094 | nobu | 2008-04-20 01:58:59 -0400 (Sun, 20 Apr 2008) | 3 lines * compile.c (struct iseq_link_element, struct iseq_insn_data): made enum for debuggers. ........ r16095 | nobu | 2008-04-20 02:00:51 -0400 (Sun, 20 Apr 2008) | 3 lines * compile.c (iseq_set_exception_table): allocates catch_table only when entries exist. ........ r16096 | nobu | 2008-04-20 02:01:28 -0400 (Sun, 20 Apr 2008) | 3 lines * vm_core.h (struct iseq_compile_data): moved label_no from new_label_body(). ........ r16097 | akr | 2008-04-20 02:13:17 -0400 (Sun, 20 Apr 2008) | 4 lines * io.c (copy_stream_rbuf_to_dst): removed. (copy_stream_fallback_body): don't bypass write method. (copy_stream_body): simplified. ........ r16098 | nobu | 2008-04-20 02:14:49 -0400 (Sun, 20 Apr 2008) | 4 lines * io.c (copy_stream_func): suppress warnings. * thread_pthread.c (add_signal_thread_list): ditto. ........ r16099 | nobu | 2008-04-20 02:19:28 -0400 (Sun, 20 Apr 2008) | 1 line * file.c (file_expand_path): constified. ........ r16100 | akr | 2008-04-20 02:44:41 -0400 (Sun, 20 Apr 2008) | 2 lines update sprintf rdoc. ........ r16105 | akr | 2008-04-20 07:30:43 -0400 (Sun, 20 Apr 2008) | 2 lines fix deadlock. ........ r16106 | knu | 2008-04-20 07:58:44 -0400 (Sun, 20 Apr 2008) | 5 lines * enumerator.c: Resolve the method every time an enumeration method is run, not once when the enumerator is initialized as it was before, so that method_missing() and method (re)definition afterwards are both in effect; pointed out in: [ruby-core:16441] ........ r16107 | knu | 2008-04-20 08:01:27 -0400 (Sun, 20 Apr 2008) | 2 lines * enumerator.c, include/ruby/ruby.h: Export rb_cEnumerator. ........ r16111 | technorama | 2008-04-20 18:32:06 -0400 (Sun, 20 Apr 2008) | 8 lines * ext/openssl/ossl_ssl.c: Switch stats hash key from string to symbol. New method SSLContext#setup to aid C extension writers. * test/openssl/test_ssl.rb: Add tests for new method and sessions. Use threads for ssl server instead of forking. * ext/openssl/ossl_version.h: Bump version. * ext/openssl/ossl_x509ext.c: Fix warnings. * test/openssl/utils.rb: Fix warnings. ........ r16112 | usa | 2008-04-20 19:55:09 -0400 (Sun, 20 Apr 2008) | 3 lines * gc.c (ruby_xmalloc): use size_t for malloc argument instead of long. ........ r16113 | usa | 2008-04-20 20:59:43 -0400 (Sun, 20 Apr 2008) | 5 lines * time.c (rb_strftime): check errno to detect strftime(3)'s error. this is workaround for recent version of MSVCRT. [ruby-dev:34456] ........ r16116 | matz | 2008-04-20 21:07:00 -0400 (Sun, 20 Apr 2008) | 1 line * time.c: should include <errno.h> to refer errno. ........ r16118 | matz | 2008-04-20 22:02:26 -0400 (Sun, 20 Apr 2008) | 3 lines * compile.c (defined_expr): capture exception during defined? evaluation. a patch from wanabe <s.wanabe at gmail.com> in [ruby-dev:34461]. [ruby-core:16010] ........ r16121 | matz | 2008-04-21 03:07:39 -0400 (Mon, 21 Apr 2008) | 5 lines * enumerator.c (enumerator_init): preserve the method name in ID. * enumerator.c (enumerator_each): need not to call rb_to_id(). * enumerator.c (enumerator_with_index): ditto. ........ r16122 | nobu | 2008-04-21 04:01:46 -0400 (Mon, 21 Apr 2008) | 3 lines * iseq.c (rb_iseq_compile_with_option): check if src is a strring. [ruby-core:16453] ........ r16123 | nobu | 2008-04-21 04:19:19 -0400 (Mon, 21 Apr 2008) | 1 line * ChangeLog: typo. ........ r16125 | knu | 2008-04-21 04:48:33 -0400 (Mon, 21 Apr 2008) | 36 lines * ext/dbm/dbm.c (fdbm_each_value, fdbm_each_key, fdbm_each_pair): GDBM#{each,each_pair,each_key,each_value}: Return an enumerator if no block is given. * ext/gdbm/gdbm.c (fgdbm_each_value, fgdbm_each_key, fgdbm_each_pair): GDBM#{each,each_pair,each_key,each_value}: Return an enumerator if no block is given. * ext/openssl/ossl_config.c (ossl_config_each): OpenSSL::Config#each: Return an enumerator if no block is given. * ext/readline/readline.c (hist_each): Readline::HISTORY#each: Return an enumerator if no block is given. * ext/sdbm/init.c (fsdbm_each_value, fsdbm_each_key, fsdbm_each_pair): SDBM#{each,each_pair,each_key,each_value}: Return an enumerator if no block is given. * ext/stringio/stringio.c (strio_each_byte, strio_each): StringIO#{each,each_line,each_byte}: Return an enumerator if no block is given. * ext/stringio/stringio.c (Init_stringio): Add #lines and #bytes, which are aliases to #each_line and #each_byte, respectively. * ext/win32ole/win32ole.c (fole_each): WIN32OLE#each: Return an enumerator if no block is given. * ext/zlib/zlib.c (rb_gzreader_each_byte, rb_gzreader_each): Zlib::GzipReader#{each,each_line,each_byte}: Return an enumerator if no block is given. * ext/zlib/zlib.c (Init_zlib): Add Zlib::GzipReader#lines and #bytes, which are aliases to #each_line and #each_byte, respectively. ........ r16128 | akr | 2008-04-21 06:09:33 -0400 (Mon, 21 Apr 2008) | 3 lines * io.c (copy_stream_body): call rb_io_check_readable and rb_io_check_writable. ........ r16129 | usa | 2008-04-21 20:58:04 -0400 (Mon, 21 Apr 2008) | 4 lines * file.c (eaccess): workaround for recent msvcrt's behavior. [ruby-core:16460] ........ r16130 | usa | 2008-04-21 20:58:51 -0400 (Mon, 21 Apr 2008) | 3 lines * ext/win32ole/win32ole.c: avoid warnings. ........ r16132 | nobu | 2008-04-21 23:03:51 -0400 (Mon, 21 Apr 2008) | 3 lines * vm_insnhelper.c (vm_get_ev_const): search from the base klass if it is given. ........ r16134 | akr | 2008-04-22 00:11:13 -0400 (Tue, 22 Apr 2008) | 2 lines exec "/" causes SEGV. ........ r16135 | nobu | 2008-04-22 00:13:01 -0400 (Tue, 22 Apr 2008) | 3 lines * thread.c (thread_join): remove the current thread from the join list of the target thread. ........ r16136 | matz | 2008-04-22 00:26:44 -0400 (Tue, 22 Apr 2008) | 2 lines * thread.c (rb_thread_stop_timer_thread): should clear timer_thread_id after stopping it. ........ r16137 | nobu | 2008-04-22 02:25:05 -0400 (Tue, 22 Apr 2008) | 2 lines * configure.in (struct timespec): needs time.h according to POSIX. ........ r16138 | shyouhei | 2008-04-22 03:03:32 -0400 (Tue, 22 Apr 2008) | 2 lines * configure.in: use AC_USE_SYSTEM_EXTENSIONS. ........ r16139 | shyouhei | 2008-04-22 03:08:41 -0400 (Tue, 22 Apr 2008) | 2 lines * string.c (rb_enc_cr_str_buf_cat): do not use C++ comment. ........ r16140 | nobu | 2008-04-22 03:18:32 -0400 (Tue, 22 Apr 2008) | 2 lines * vm_evalbody.c (DECL_SC_REG): typo fixed. ........ r16141 | shyouhei | 2008-04-22 03:25:28 -0400 (Tue, 22 Apr 2008) | 2 lines * vm_evalbody.c (DECL_SC_REG): use __asm__ instead. ........ r16145 | shyouhei | 2008-04-22 04:55:41 -0400 (Tue, 22 Apr 2008) | 2 lines * vm_core.h (exec_event_hooks): ``inline'' is a type modifier, not a type itself. ........ r16146 | knu | 2008-04-22 06:36:31 -0400 (Tue, 22 Apr 2008) | 4 lines * enumerator.c (enumerator_initialize): Remove an undocumented feature (passing a block to the constructor) that's broken. This is not what I intended. ........ r16148 | naruse | 2008-04-22 07:54:50 -0400 (Tue, 22 Apr 2008) | 1 line * ext/nkf/nkf-utf8/nkf.c (z_conv): characters must be nkf_char. ........ r16149 | naruse | 2008-04-22 08:20:36 -0400 (Tue, 22 Apr 2008) | 8 lines * ext/nkf/nkf-utf8/nkf.c (score_table_A0, score_table_F0): type of content is unsigned char. * ext/nkf/nkf-utf8/nkf.c (push_broken_buf): 'c' is nkf_char. * ext/nkf/nkf-utf8/nkf.c (push_broken_buf): enc is 0 or pointer. * ext/nkf//nkf.c (options): type of option is unsigned char. ........ r16151 | kazu | 2008-04-22 09:04:10 -0400 (Tue, 22 Apr 2008) | 2 lines add a test of Symbol#to_proc. ........ r16153 | nobu | 2008-04-22 09:15:56 -0400 (Tue, 22 Apr 2008) | 3 lines * misc/ruby-style.el (ruby-style-{case,label}-indent): up list from indentation point. ........ r16154 | nobu | 2008-04-22 09:17:04 -0400 (Tue, 22 Apr 2008) | 1 line * complex.c, rational.c: fixed indent. ........ r16155 | matz | 2008-04-22 09:42:28 -0400 (Tue, 22 Apr 2008) | 3 lines * lib/drb/drb.rb (DRb::DRbServer::check_insecure_method): should check method names by symbols, not by strings. a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com> in [ruby-dev:34487]. ........ r16156 | nobu | 2008-04-22 09:49:43 -0400 (Tue, 22 Apr 2008) | 14 lines * enumerator.c (enumerator_each, enumerator_with_index): suppress warnings. * pack.c (pack_unpack): ditto. * process.c (rb_syswait): ditto. * re.c (rb_reg_prepare_enc, rb_reg_prepare_re, rb_reg_adjust_startpos): ditto. * regparse.c (onig_name_to_group_numbers): ditto. * missing/vsnprintf.c (BSD_vfprintf): ditto. ........ r16158 | matz | 2008-04-22 10:41:07 -0400 (Tue, 22 Apr 2008) | 1 line test/ruby/test_enumerator.rb: updated ........ r16159 | kazu | 2008-04-22 11:23:01 -0400 (Tue, 22 Apr 2008) | 2 lines * test/ruby/test_symbol.rb (TestSymbol#test_to_proc): Improve tests of Symbol#to_proc. ........ r16161 | mame | 2008-04-22 11:36:36 -0400 (Tue, 22 Apr 2008) | 2 lines * test/openssl/test_ssl.rb (start_server): add timeout to server.join. ........ r16169 | knu | 2008-04-22 22:58:46 -0400 (Tue, 22 Apr 2008) | 3 lines * lib/set.rb (Set#each, SortedSet#each, TC_Set#test_each): Return an enumerator if no block is given. ........ r16172 | kazu | 2008-04-23 02:32:16 -0400 (Wed, 23 Apr 2008) | 3 lines * test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create): failed notice moved from comment to assertion message. [ruby-dev:29127] ........ r16175 | mame | 2008-04-23 11:22:13 -0400 (Wed, 23 Apr 2008) | 9 lines * test/ruby/test_settracefunc.rb: add a test for set_trace_func. * test/ruby/envutil.rb: move "rubyexec" method from test_rubyoptions.rb. * test/ruby/test_rubyoptions.rb: use rubyexec in envutil.rb. * test/ruby/test_thread.rb: add tests to achieve over 90% test coverage of thread.c. ........ r16176 | usa | 2008-04-23 11:27:09 -0400 (Wed, 23 Apr 2008) | 3 lines * lib/rdoc/ri/descriptions.rb: fixed wrong class nestings. ........ r16177 | nobu | 2008-04-24 01:15:13 -0400 (Thu, 24 Apr 2008) | 3 lines * dln.c (dln_find_1): prior files with extensions to files sans extensions. [ruby-core:16517] ........ r16180 | matz | 2008-04-24 04:20:56 -0400 (Thu, 24 Apr 2008) | 2 lines * ruby.c (process_options): set safe_level before loading script. [ruby-dev:34421] ........ r16181 | mame | 2008-04-24 09:38:01 -0400 (Thu, 24 Apr 2008) | 3 lines * test/ruby/test_comparable.rb: new tests for Comparable, to achieve 100% test coverage of compar.c. ........ r16182 | mame | 2008-04-24 10:02:15 -0400 (Thu, 24 Apr 2008) | 5 lines * test/ruby/test_thread.rb: fix typos. * test/ruby/envutil.rb (rubyexec): move Open3.popen3 call into timeout block. ........ r16183 | akr | 2008-04-24 10:46:39 -0400 (Thu, 24 Apr 2008) | 60 lines * include/ruby/intern.h (rb_env_clear): declared. (rb_io_mode_modenum): declared. (rb_close_before_exec): declared. (struct rb_exec_arg): add options and redirect_fds field. (rb_check_argv): removed. (rb_exec_initarg): declared. (rb_exec_getargs): declared. (rb_exec_initarg2): declared. (rb_fork): add third argument: fds. * io.c (max_file_descriptor): new static variable to record maximum file descriptor ruby used. (UPDATE_MAXFD): new macro. (UPDATE_MAXFD_PIPE): new macro. (rb_io_mode_modenum): externed. (rb_sysopen): update max_file_descriptor. (rb_close_before_exec): new function. (popen_exec): redirection removed because it is done by extended spawn mechanism. (pipe_open): generate a hash for spawn options to specify redirections. (pipe_open_v): use rb_exec_getargs. (pipe_open_s): use rb_exec_getargs. (rb_io_initialize): update max_file_descriptor.. * process.c (hide_obj): new function. (check_exec_redirect_fd): new function. (check_exec_redirect): new function. (check_exec_options_i): new function. (check_exec_fds): new function. (rb_check_exec_options): new function. (check_exec_env_i): new function. (rb_check_exec_env): new function. (rb_exec_getargs): new function. (rb_exec_initarg2): new function. (rb_exec_initarg): new function. (rb_f_exec): use rb_exec_initarg. (intcmp): new function. (run_exec_dup2): new function. (run_exec_close): new function. (run_exec_open): new function. (run_exec_pgroup): new function. (run_exec_rlimit): new function. (run_exec_options): new function. (rb_exec): call run_exec_options. (move_fds_to_avoid_crash): new function. (pipe_nocrash): new function. (rb_fork): use pipe_nocrash to avoid file descriptor conflicts. (rb_spawn): use rb_exec_initarg. (rlimit_resource_name2int): extracted from rlimit_resource_type. (rlimit_type_by_hname): new function. (rlimit_type_by_lname): new function. (rlimit_resource_type): use rlimit_type_by_hname. (proc_daemon): add fds argument for rb_fork. * hash.c (rb_env_clear): renamed from env_clear and externed. [ruby-dev:34086] ........ r16185 | akr | 2008-04-24 11:16:38 -0400 (Thu, 24 Apr 2008) | 2 lines * process.c: include sys/stat.h for umask. ........ r16186 | akr | 2008-04-24 11:34:15 -0400 (Thu, 24 Apr 2008) | 2 lines fix argument type. ........ r16187 | akr | 2008-04-24 11:57:44 -0400 (Thu, 24 Apr 2008) | 2 lines FreeBSD ash doesn't fail with echo >&4 where 4 is not opened. ........ r16188 | usa | 2008-04-24 21:35:36 -0400 (Thu, 24 Apr 2008) | 1 line * 2008-04-25 ........ r16189 | usa | 2008-04-24 21:55:22 -0400 (Thu, 24 Apr 2008) | 6 lines * include/ruby/win32.h: define mode_t for umask. * process.c (check_exec_options_i, check_exec_fds, run_exec_options): support "close_others" only when fork(2) is available. ........ r16190 | nobu | 2008-04-24 23:37:57 -0400 (Thu, 24 Apr 2008) | 3 lines * array.c (flatten): returns an instance of same class. [ruby-core:16554] ........ r16191 | nobu | 2008-04-25 01:45:28 -0400 (Fri, 25 Apr 2008) | 1 line * process.c: suppress warning. ........ r16192 | nobu | 2008-04-25 02:35:48 -0400 (Fri, 25 Apr 2008) | 3 lines * process.c (rb_spawn): rb_exec_initarg() returns new argc and argv in earg. ........ r16194 | matz | 2008-04-25 05:03:32 -0400 (Fri, 25 Apr 2008) | 7 lines * gc.c (free_unused_heaps): preserve last used heap segment to reduce malloc() call. * gc.c (HEAP_SIZE): use smaller heap segment (2K) for more chance to be freed. based on patch from authorNari <authornari at gmail.com>. * gc.c (rb_newobj_from_heap): eventually allocate heap segments. ........ r16195 | akr | 2008-04-25 11:50:24 -0400 (Fri, 25 Apr 2008) | 6 lines * process.c (rb_spawn_internal): new function to specify default_close_others. (rb_spawn): specify default_close_others true. (rb_f_system): call rb_spawn_internal with default_close_others as false. ........ r16196 | usa | 2008-04-25 11:55:54 -0400 (Fri, 25 Apr 2008) | 1 line * 2008-04-26 ........ r16197 | akr | 2008-04-25 13:01:57 -0400 (Fri, 25 Apr 2008) | 2 lines update spawn rdoc. ........ r16198 | akr | 2008-04-26 00:03:59 -0400 (Sat, 26 Apr 2008) | 4 lines * lib/open3.rb: double fork is replaced by spawn with Process.detach. (Open3.popen3w): new method to access the thread returned by Process.detach. ........ r16199 | nobu | 2008-04-26 04:30:22 -0400 (Sat, 26 Apr 2008) | 3 lines * error.c (builtin_types), signal.c (siglist), st.c (primes), struct.c (ref_func), time.c (months): constified. ........ r16200 | nobu | 2008-04-26 04:31:13 -0400 (Sat, 26 Apr 2008) | 2 lines * process.c (rb_cProcessTms, rb_cProcessStatus): renamed. ........ r16201 | ko1 | 2008-04-26 04:32:23 -0400 (Sat, 26 Apr 2008) | 4 lines * include/ruby/ruby.h, gc.c: remove T_BLOCK. * include/ruby/ruby.h: re-number T_xxx. ........ r16202 | nobu | 2008-04-26 04:35:23 -0400 (Sat, 26 Apr 2008) | 2 lines * error.c (rb_eNOERROR): renamed. ........ r16203 | nobu | 2008-04-26 04:42:34 -0400 (Sat, 26 Apr 2008) | 3 lines * error.c (builtin_types), gc.c (count_objects): added Complex and Rational. ........ r16204 | nobu | 2008-04-26 05:36:35 -0400 (Sat, 26 Apr 2008) | 3 lines * io.c, signal.c, thread.c, thread_win32.c, include/ruby/intern.h: suppress warnings. ........ r16208 | akr | 2008-04-26 07:25:40 -0400 (Sat, 26 Apr 2008) | 2 lines describe :pid thread variable. ........ r16209 | akr | 2008-04-26 07:54:13 -0400 (Sat, 26 Apr 2008) | 2 lines describe about waiting a child process. ........ r16210 | akr | 2008-04-26 08:52:25 -0400 (Sat, 26 Apr 2008) | 7 lines * include/ruby/intern.h (rb_hash_dup): declared. * hash.c (rb_hash_dup): new function. * process.c (rb_spawn_internal): don't modify option hash. ........ r16211 | akr | 2008-04-26 11:39:09 -0400 (Sat, 26 Apr 2008) | 2 lines don't use Unix commands such as true, env, etc. ........ r16212 | drbrain | 2008-04-26 12:14:19 -0400 (Sat, 26 Apr 2008) | 1 line Import RDoc 2.0.0 r56. ........ r16213 | akr | 2008-04-26 12:47:30 -0400 (Sat, 26 Apr 2008) | 3 lines * lib/open3.rb (Open3.popen3w): removed. (Open3.popen3): notice wait_thr. ........ r16214 | naruse | 2008-04-26 19:08:38 -0400 (Sat, 26 Apr 2008) | 2 lines * ruby.c (ruby_set_argv): ARGV should be locale encoding. [ruby-list:44861] ........ r16215 | nobu | 2008-04-26 20:52:42 -0400 (Sat, 26 Apr 2008) | 1 line * svn:eol-style. ........ r16216 | akr | 2008-04-26 21:16:26 -0400 (Sat, 26 Apr 2008) | 2 lines add a test for [ruby-dev:34492]. ........ r16217 | akr | 2008-04-26 22:17:24 -0400 (Sat, 26 Apr 2008) | 2 lines add a test for [ruby-dev:34524]. ........ r16218 | nobu | 2008-04-26 23:20:35 -0400 (Sat, 26 Apr 2008) | 9 lines * vm_core.h (rb_vm_t), gc.c (rb_objspace, rb_newobj), vm.c (Init_BareVM): per-VM object space support, which is disabled now. * gc.c (rb_objspace_alloc), vm.c (Init_BareVM): should not use ruby malloc here. * gc.c (garbage_collect, etc): performance improvement by passing the reference instead of refering the global variable in each functions. ........ r16219 | akr | 2008-04-27 02:10:35 -0400 (Sun, 27 Apr 2008) | 2 lines add tests. ........ r16220 | ko1 | 2008-04-27 02:28:08 -0400 (Sun, 27 Apr 2008) | 4 lines * gc.c (gc_count): add a GC.count method. This method returns a GC invoking count. ........ r16221 | tadf | 2008-04-27 06:02:19 -0400 (Sun, 27 Apr 2008) | 3 lines * rational.c (nurat_expt): use f_rational_new2. [ruby-dev:34524] ........ r16222 | akr | 2008-04-27 20:11:46 -0400 (Sun, 27 Apr 2008) | 29 lines * include/ruby/intern.h (rb_exec_arg_init): declared. (rb_exec_arg_addopt): delared. (rb_exec_arg_fix): declared. (rb_exec_initarg): removed. (rb_exec_getargs): removed. (rb_exec_initarg2): removed. * io.c (struct popen_arg): make execarg as a pointer. (popen_exec): follow popen_arg change. (pipe_open): add eargp argument. extract argc and argv from eargp. use rb_exec_arg_addopt to add redirect options. (pipe_open_v): set up struct rb_exec_arg. (pipe_open_s): set up struct rb_exec_arg. * process.c (rb_exec_arg_addopt): new function extracted from check_exec_options_i. (check_exec_options_i): use rb_exec_arg_addopt. (rb_check_exec_options): opthash is always a hash now. (rb_exec_getargs): make it static. (rb_exec_fillarg): renamed from rb_exec_initarg2. don't set up redirect_fds. (rb_exec_arg_init): new function. (rb_exec_arg_fix): new function. (rb_f_exec): use rb_exec_arg_init and rb_exec_arg_fix. use rb_exec_arg_addopt to set close_others option. (run_exec_options): make close_others by default. (rb_spawn_internal): use rb_exec_arg_init and rb_exec_arg_fix. use rb_exec_arg_addopt to set close_others option. ........ r16223 | matz | 2008-04-27 22:12:21 -0400 (Sun, 27 Apr 2008) | 2 lines * proc.c (method_name): should return symbols instead of strings. [ruby-dev:34531] ........ r16224 | akr | 2008-04-27 22:13:24 -0400 (Sun, 27 Apr 2008) | 2 lines * process.c (run_exec_options): don't call FIX2INT for nil. ........ r16225 | usa | 2008-04-27 23:50:14 -0400 (Sun, 27 Apr 2008) | 4 lines * process.c (rb_exec_arg_addopt, rb_exec_arg_addopt): now can specify close_exec on having no fork environment (but still meaningless). ........ r16226 | akr | 2008-04-28 01:25:03 -0400 (Mon, 28 Apr 2008) | 5 lines * include/ruby/ruby.h (POSFIXABLE): use FIXNUM_MAX+1 instead of FIXNUM_MAX to make it possible to convert to double accurately. It assumes FLT_RADIX is 2. fix RubyForge bug #14102. ........ r16227 | akr | 2008-04-28 01:31:28 -0400 (Mon, 28 Apr 2008) | 2 lines bit more explanation. ........ r16228 | akr | 2008-04-28 01:42:34 -0400 (Mon, 28 Apr 2008) | 2 lines more tests. ........ r16229 | akr | 2008-04-28 01:45:37 -0400 (Mon, 28 Apr 2008) | 2 lines more tests. ........ r16230 | akr | 2008-04-28 04:27:58 -0400 (Mon, 28 Apr 2008) | 2 lines add a test for [ruby-dev:34536]. ........ r16231 | matz | 2008-04-28 05:35:09 -0400 (Mon, 28 Apr 2008) | 1 line * range.c (range_each): use INT2FIX() for fixnum values. ........ r16232 | tadf | 2008-04-28 07:28:55 -0400 (Mon, 28 Apr 2008) | 4 lines * rational (nurat_marshal_load): checks the given denominator. [ruby-dev:34536] ........ r16233 | tadf | 2008-04-28 07:45:18 -0400 (Mon, 28 Apr 2008) | 2 lines typo ........ r16234 | akr | 2008-04-28 22:24:26 -0400 (Mon, 28 Apr 2008) | 2 lines add tests. ........ r16235 | akr | 2008-04-30 01:40:19 -0400 (Wed, 30 Apr 2008) | 5 lines * process.c (check_exec_redirect_fd): prohibit duplex IO. (check_exec_fds): record maxhint even if close_others is not specified. (rb_exec_arg_fixup): renamed from rb_exec_arg_fix. ........ r16236 | usa | 2008-04-30 01:58:17 -0400 (Wed, 30 Apr 2008) | 1 line * 2008-04-30 ........ r16237 | akr | 2008-04-30 02:17:28 -0400 (Wed, 30 Apr 2008) | 2 lines don't use fork method. ........ r16238 | mame | 2008-04-30 03:12:37 -0400 (Wed, 30 Apr 2008) | 3 lines * eval_intern.h: speficy the values of the enumeration constants explicitly. [ruby-dev:34489] ........ r16239 | nobu | 2008-04-30 04:47:23 -0400 (Wed, 30 Apr 2008) | 3 lines * re.c (rb_reg_search): use local variable. a patch from wanabe <s.wanabe AT gmail.com> in [ruby-dev:34537]. [ruby-dev:34492] ........ r16240 | nobu | 2008-04-30 05:03:03 -0400 (Wed, 30 Apr 2008) | 11 lines * load.c (rb_load_path), vm_core.h (rb_vm_t): moved to VM. * load.c (rb_get_load_path): returns absolute load path. * load.c (load_path_getter): $LOAD_PATH getter. * file.c (rb_find_file_ext, rb_find_file), ruby.c (push_include, ruby_init_loadpath): use the accessor. * vm.c (rb_vm_mark): mark load_path. ........ r16241 | jeg2 | 2008-04-30 07:14:52 -0400 (Wed, 30 Apr 2008) | 5 lines * lib/net/telnet.rb: Fixing a bug where line endings would not be properly escaped when the two character ending was broken up into separate TCP packets. Issue reported and patched by Brian Candler. ........ r16243 | akr | 2008-04-30 08:38:47 -0400 (Wed, 30 Apr 2008) | 2 lines add tests. ........ r16244 | seki | 2008-04-30 08:40:52 -0400 (Wed, 30 Apr 2008) | 1 line [ruby-dev:34497] ERB::Util#url_encode bug fix. Reported by rubikitch. ........ r16245 | akr | 2008-04-30 10:29:58 -0400 (Wed, 30 Apr 2008) | 3 lines 0**-1 test updated. [ruby-dev:34547] ........ r16246 | matz | 2008-04-30 18:43:51 -0400 (Wed, 30 Apr 2008) | 1 line bootstraptest updated ........ r16247 | usa | 2008-04-30 20:25:45 -0400 (Wed, 30 Apr 2008) | 1 line * 2008-05-01 ........ r16248 | akr | 2008-04-30 22:02:49 -0400 (Wed, 30 Apr 2008) | 2 lines split combinational blackbox tests. ........ r16249 | akr | 2008-05-01 01:11:29 -0400 (Thu, 01 May 2008) | 2 lines add a test for [ruby-dev:34553]. ........ r16250 | nobu | 2008-05-01 03:10:23 -0400 (Thu, 01 May 2008) | 3 lines * hash.c (env_delete_if): return enumerator if no block given. [ruby-dev:34554] ........ r16251 | akr | 2008-05-01 05:12:09 -0400 (Thu, 01 May 2008) | 2 lines add tests for [ruby-dev:34556] and [ruby-dev:34555]. ........ r16252 | matz | 2008-05-01 08:47:07 -0400 (Thu, 01 May 2008) | 5 lines * test/ruby/test_parse.rb (TestParse::test_void_expr_stmts_value): shut up warning. * rational.c (nurat_to_f): no need for forceful warning when converting to float. overflow is a nature of float values. ........ r16253 | matz | 2008-05-01 10:04:38 -0400 (Thu, 01 May 2008) | 2 lines * hash.c (rb_hash_s_create): should access converted hash value. [ruby-dev:34555] ........ r16254 | nobu | 2008-05-01 10:20:15 -0400 (Thu, 01 May 2008) | 3 lines * bignum.c (rb_big_divide): return an integer for idiv. [ruby-dev:34553] ........ r16255 | nobu | 2008-05-01 10:35:13 -0400 (Thu, 01 May 2008) | 3 lines * range.c (range_step): allow float step bigger than zero but less than one. [ruby-dev:34557] ........ r16256 | nobu | 2008-05-01 10:43:24 -0400 (Thu, 01 May 2008) | 3 lines * range.c (range_step): check if step can be converted to an integer. [ruby-dev:34558] ........ r16257 | jeg2 | 2008-05-01 10:57:40 -0400 (Thu, 01 May 2008) | 5 lines * lib/net/telnet.rb: This patch from Brian Candler adds a FailEOF mode which can be activated to have net/telnet raise EOFError exceptions when the remote connection is closed. The default behavior remains unchanged though. ........ r16258 | nobu | 2008-05-01 11:00:01 -0400 (Thu, 01 May 2008) | 3 lines * bignum.c (rb_big_divide), numeric.c (fix_divide): check for result domain. [ruby-dev:34559] ........ r16259 | jeg2 | 2008-05-01 11:05:31 -0400 (Thu, 01 May 2008) | 1 line Adding accidentally skipped ChangeLog entry. ........ r16261 | nobu | 2008-05-01 13:07:46 -0400 (Thu, 01 May 2008) | 1 line * ChangeLog: reordered. ........ r16264 | matz | 2008-05-02 00:57:19 -0400 (Fri, 02 May 2008) | 1 line * re.c (Init_Regexp): remove MatchData#select. [ruby-dev:34563] ........ r16265 | matz | 2008-05-02 01:22:17 -0400 (Fri, 02 May 2008) | 1 line * range.c (range_step): step may be bignum. ........ r16266 | matz | 2008-05-02 02:01:13 -0400 (Fri, 02 May 2008) | 2 lines * misc/ruby-mode.el: move fontifying code from hook. [ruby-core:16636] ........ r16268 | matz | 2008-05-02 02:21:09 -0400 (Fri, 02 May 2008) | 1 line ChangeLog: updated. ........ r16269 | matz | 2008-05-02 03:15:28 -0400 (Fri, 02 May 2008) | 2 lines * range.c (range_step): do not forcefully convert steps into integers. [ruby-dev:34571] ........ r16270 | akr | 2008-05-02 03:52:01 -0400 (Fri, 02 May 2008) | 2 lines add tests for [ruby-dev:34557] and [ruby-dev:34558]. ........ r16271 | matz | 2008-05-02 04:31:04 -0400 (Fri, 02 May 2008) | 2 lines * range.c (range_step): call to_int if step is not a numeric value. [ruby-dev:34575] ........ r16272 | akr | 2008-05-02 10:57:23 -0400 (Fri, 02 May 2008) | 3 lines * variable.c (rb_define_hooked_variable): guard *var from GC to prevent collecting argf under RUBY_DEBUG=gc_stress. ........ r16273 | nobu | 2008-05-02 10:59:28 -0400 (Fri, 02 May 2008) | 3 lines * io.c (internal_read_func, internal_write_func): split from internal_io_func. ........ r16274 | akr | 2008-05-02 12:18:26 -0400 (Fri, 02 May 2008) | 2 lines add test for Struct.new(0). ........ r16275 | akr | 2008-05-02 12:29:41 -0400 (Fri, 02 May 2008) | 2 lines add a test. ........ r16276 | akr | 2008-05-02 12:35:38 -0400 (Fri, 02 May 2008) | 2 lines add a test. ........ r16277 | akr | 2008-05-03 05:12:13 -0400 (Sat, 03 May 2008) | 3 lines * time.c (time_timespec): raise TypeError for nil and other objects which has no divmod method. ........ r16278 | akr | 2008-05-03 06:54:43 -0400 (Sat, 03 May 2008) | 2 lines add a test for [ruby-dev:34581]. ........ r16279 | akr | 2008-05-03 07:57:55 -0400 (Sat, 03 May 2008) | 3 lines * test/ruby/envutil.rb (Test::Unit::Assertions#assert_normal_exit): new method. ........ r16280 | akr | 2008-05-03 09:29:11 -0400 (Sat, 03 May 2008) | 2 lines add a test. ........ r16284 | akr | 2008-05-03 23:59:01 -0400 (Sat, 03 May 2008) | 2 lines * string.c (rb_str_each_line): return original string. ........ r16285 | akr | 2008-05-04 01:30:08 -0400 (Sun, 04 May 2008) | 3 lines * eval.c (rb_obj_respond_to): check the result of respond_to? method by RTEST. ........ r16286 | akr | 2008-05-04 03:05:26 -0400 (Sun, 04 May 2008) | 2 lines * time.c (obj2nsec): fix string argument. ........ r16287 | akr | 2008-05-04 03:49:32 -0400 (Sun, 04 May 2008) | 2 lines add a test. ........ r16288 | akr | 2008-05-04 08:10:13 -0400 (Sun, 04 May 2008) | 2 lines * lib/getoptlong.rb: use $stderr instead of $deferr. ........ r16289 | akr | 2008-05-04 13:25:38 -0400 (Sun, 04 May 2008) | 9 lines * gc.c (set_heaps_increment): fix memory allocation strategy by determining heaps_inc from heaps_used, not objects_delta. (struct rb_objspace): delta removed. change increment, length and used to long for LP64. (objects_delta): removed. (allocate_heaps): add next_heaps_length argument. (init_heap): renamed from add_heap. (garbage_collect): use heaps_increment in dont_gc. ........ r16290 | matz | 2008-05-04 22:27:29 -0400 (Sun, 04 May 2008) | 8 lines * compile.c (compile_cpath): use Qundef to denote cbase lookup. * insns.def (defineclass): Qudef is passed for cbase. * insns.def (setconstant): ditto. * vm_insnhelper.c (vm_check_if_namespace): use rb_inspect() instead of rb_obj_as_string() for better description. ........ r16291 | matz | 2008-05-04 22:40:13 -0400 (Sun, 04 May 2008) | 2 lines * array.c (rb_ary_dup): should dupe corresponding information. [ruby-dev:34581] ........ r16292 | matz | 2008-05-04 23:13:32 -0400 (Sun, 04 May 2008) | 2 lines * array.c (rb_ary_slice_bang): should adjust length before making sub-array. ........ r16293 | akr | 2008-05-05 02:48:34 -0400 (Mon, 05 May 2008) | 2 lines add a test for IA64 Debian GNU/Linux Etch. ........ r16294 | akr | 2008-05-05 04:19:35 -0400 (Mon, 05 May 2008) | 3 lines * eval.c (ruby_cleanup): wrap ruby_finalize_0 by SAVE_ROOT_JMPBUF to avoid SEGV by at_exit { Fiber.new{}.resume } on IA64. ........ r16295 | matz | 2008-05-05 06:52:44 -0400 (Mon, 05 May 2008) | 5 lines * struct.c (rb_struct_s_def): Struct.new(0) should not SEGV. based on the patch from wanabe <s.wanabe at gmail.com> in [ruby-dev:34594]. * struct.c (make_struct): call to_str on name object. ........ r16296 | matz | 2008-05-05 07:01:10 -0400 (Mon, 05 May 2008) | 5 lines * compile.c (defined_expr): protect some expression from segmentation fault. a patch from wanabe <s.wanabe at gmail.com> in [ruby-dev:34593]. * compile.c (defined_expr): ........ r16297 | matz | 2008-05-05 07:12:17 -0400 (Mon, 05 May 2008) | 2 lines * io.c (io_fflush): IO#flush problem within threads. a patch from <s.wanabe at gmail.com> in [ruby-dev:34595]. ........ r16298 | matz | 2008-05-05 10:51:02 -0400 (Mon, 05 May 2008) | 1 line * insns.def (defineclass): was using wrong variable. [ruby-dev:34592] ........ r16299 | matz | 2008-05-05 11:01:42 -0400 (Mon, 05 May 2008) | 4 lines * compile.c (iseq_compile_each): should call compile_cpath() for modules as well. [ruby-dev:34585] * insns.def (defineclass): add undef handling. ........ r16301 | matz | 2008-05-05 11:30:07 -0400 (Mon, 05 May 2008) | 2 lines * iseq.c (insn_operand_intern): should handle Qundef embedded in operand. [ruby-core:16656] ........ r16302 | akr | 2008-05-05 13:18:09 -0400 (Mon, 05 May 2008) | 5 lines * test/io/nonblock/test_flush.rb: don't set Thread.abort_on_exception. * test/net/imap/test_imap.rb: ensure disconnecting imap to terminate receiver thread.. ........ r16303 | akr | 2008-05-05 20:02:01 -0400 (Mon, 05 May 2008) | 2 lines File#lchmod test removed because the method is not exist. ........ r16304 | matz | 2008-05-06 11:56:21 -0400 (Tue, 06 May 2008) | 2 lines * ext/zlib/zlib.c (gzreader_gets): may cause infinite loop. [ruby-reference-manual:762] ........ r16306 | matz | 2008-05-06 11:59:41 -0400 (Tue, 06 May 2008) | 1 line ChangeLog updated ........ r16308 | matz | 2008-05-07 00:14:57 -0400 (Wed, 07 May 2008) | 11 lines * bignum.c (rb_big_fdiv): flo.fdiv(NaN) should result NaN. * numeric.c (num_quo): renamed and moved from bignum.c. [ruby-dev:34582] * bignum.c (rb_big_fdiv): update RDoc description * rational.c (nurat_s_new_m): small refactoring. * bignum.c (rb_big2dbl): no need for forceful warning when converting to float. overflow is a nature of float values. ........ r16309 | nobu | 2008-05-07 03:28:41 -0400 (Wed, 07 May 2008) | 1 line * .gdbinit (rp): removed RUBY_T_BLOCK. ........ r16310 | nobu | 2008-05-07 04:41:16 -0400 (Wed, 07 May 2008) | 2 lines * vm.c (vm_eval_body): initialize retval. [ruby-dev:34576] ........ r16311 | nobu | 2008-05-07 04:43:24 -0400 (Wed, 07 May 2008) | 2 lines * io.c (io_puts_ary): check recursion first. [ruby-dev:34580] ........ r16312 | matz | 2008-05-07 05:18:06 -0400 (Wed, 07 May 2008) | 6 lines * string.c (sym_to_i): remove obsolete method. preparation for symbol GC. * numeric.c (fix_to_sym): ditto. * numeric.c (fix_id2name): ditto. ........ r16313 | usa | 2008-05-07 07:25:23 -0400 (Wed, 07 May 2008) | 5 lines * ruby.c (process_options, ruby_set_argv): set encoding of rb_argv after Init_prelude() because cannot load encoding extensions before it. ........ r16314 | matz | 2008-05-07 09:23:24 -0400 (Wed, 07 May 2008) | 2 lines * numeric.c (fix_divide): float division should floor() before rounding into integer. [ruby-dev:34584] ........ r16315 | matz | 2008-05-07 09:24:03 -0400 (Wed, 07 May 2008) | 2 lines * thread.c (rb_thread_key_p): should always convert symbol to ID. [ruby-dev:34588] ........ r16316 | matz | 2008-05-07 09:24:55 -0400 (Wed, 07 May 2008) | 2 lines * numeric.c (bit_coerce): float should not be a valid operand of bitwise operations. [ruby-dev:34583] ........ r16317 | matz | 2008-05-07 12:15:45 -0400 (Wed, 07 May 2008) | 10 lines * string.c (tr_trans): should squeeze properly. [ruby-dev:34587] * string.c (tr_trans): had a bug in treating multi-byte character replacement. * string.c (rb_str_delete_bang): need not to do anything for empty strings. * test/ruby/test_m17n_comb.rb (TestM17NComb::test_str_delete): add test for empty receiver. ........ r16318 | nobu | 2008-05-07 17:27:34 -0400 (Wed, 07 May 2008) | 2 lines * thread.c (rb_thread_key_p): thread local storage stores ID. ........ r16319 | nobu | 2008-05-07 17:43:54 -0400 (Wed, 07 May 2008) | 6 lines * dln.c (dln_find_exe_r, dln_find_file_r): reentrant versions. * file.c (rb_find_file_ext, rb_find_file), process.c (proc_exec_v), (rb_proc_exec, proc_spawn_v, proc_spawn), ruby.c (process_options): use reentrant versions. ........ r16320 | nobu | 2008-05-07 19:56:33 -0400 (Wed, 07 May 2008) | 2 lines * array.c (sort_1, sort_2): check reentered. [ruby-core:16679] ........ r16321 | nobu | 2008-05-07 20:51:55 -0400 (Wed, 07 May 2008) | 3 lines * array.c (sort_1, sort_2): check for reentered and if elements are accessible. [ruby-core:16679] ........ r16322 | nobu | 2008-05-07 21:04:20 -0400 (Wed, 07 May 2008) | 1 line * test/ruby/test_array.rb (test_sort_with_callcc): test for [ruby-core:16679]. ........ r16323 | matz | 2008-05-07 21:44:50 -0400 (Wed, 07 May 2008) | 2 lines * array.c (sort_reentered): reentered check may be called from Array#sort. ........ r16324 | matz | 2008-05-07 21:46:07 -0400 (Wed, 07 May 2008) | 1 line array.c: typo fixed; sorry! ........ r16325 | nobu | 2008-05-08 00:19:20 -0400 (Thu, 08 May 2008) | 3 lines * vm.c (rb_thread_mark): mark stat_insn_usage only when ptr is not null. ........ r16326 | nobu | 2008-05-08 02:14:36 -0400 (Thu, 08 May 2008) | 2 lines * array.c (rb_ary_sort_bang): freeze temporary array. ........ r16327 | nobu | 2008-05-08 02:56:59 -0400 (Thu, 08 May 2008) | 4 lines * eval_intern.h (enum ruby_tag_type): enum for debug. * debug.c (dummy_gdb_enums.value_type): ditto. ........ r16328 | akr | 2008-05-08 02:59:03 -0400 (Thu, 08 May 2008) | 3 lines * thread.c (rb_gc_save_machine_context): call FLUSH_REGISTER_WINDOWS to mark the register stack from GC on another thread. ........ r16329 | matz | 2008-05-08 02:59:38 -0400 (Thu, 08 May 2008) | 1 line test/ruby/test_continuation.rb: remove duplicated test. ........ r16330 | matz | 2008-05-08 03:03:44 -0400 (Thu, 08 May 2008) | 1 line ChangeLog: add an entry and ML ref. ........ r16331 | nobu | 2008-05-08 03:41:23 -0400 (Thu, 08 May 2008) | 3 lines * configure.in (MINIRUBY), common.mk (RUBYOPT): add purelib.rb. [ruby-core:16642] ........ r16332 | akr | 2008-05-08 03:46:30 -0400 (Thu, 08 May 2008) | 5 lines * file.c (rb_find_file_ext): guard load_path from GC. gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) optimizes load_path by holding only RARRAY_LEN(load_path) and RARRAY_PTR(load_path) in registers on IA64 GNU/Linux Etch. ........ r16333 | nobu | 2008-05-08 04:29:24 -0400 (Thu, 08 May 2008) | 2 lines * common.mk, ext/extmk.rb, lib/mkmf.rb: removed RUBYOPT. ........ r16334 | nobu | 2008-05-08 04:44:15 -0400 (Thu, 08 May 2008) | 2 lines * common.mk, ext/extmk.rb, lib/mkmf.rb: use absolute path for RUBYOPT. ........ r16335 | matz | 2008-05-08 05:18:47 -0400 (Thu, 08 May 2008) | 6 lines * bignum.c (rb_big_and): bit-wise operation should not take float values. [ruby-dev:34612] * bignum.c (rb_big_or): ditto. * bignum.c (rb_big_xor): ditto. ........ r16336 | matz | 2008-05-08 11:54:32 -0400 (Thu, 08 May 2008) | 3 lines * parse.y (arg): operator assignment "a += b rescue c" should be parsed as "a += (b rescue c)" just like normal assignment. [ruby-talk:301000] ........ r16337 | matz | 2008-05-08 18:48:38 -0400 (Thu, 08 May 2008) | 2 lines * cont.c (cont_restore_0): dynamic stack direction code should be consistent with static one. [ruby-talk:301152] ........ r16338 | matz | 2008-05-09 06:17:15 -0400 (Fri, 09 May 2008) | 2 lines * thread.c (timeofday): use monotonic clock. based on a patch from zimbatm <zimbatm@oree.ch> in [ruby-core:16627]. ........ r16339 | matz | 2008-05-09 06:18:02 -0400 (Fri, 09 May 2008) | 1 line ChangeLog: address mangling. ........ r16343 | akr | 2008-05-09 23:00:56 -0400 (Fri, 09 May 2008) | 4 lines * vm.c (env_mark): mark env->block.self. prevent SEGV when GC occur in prepare_iseq_build with gcc version 3.4.6 [FreeBSD] 20060305 on FreeBSD/amd64. ........ r16345 | matz | 2008-05-10 05:17:59 -0400 (Sat, 10 May 2008) | 4 lines * string.c (rb_str_each_line): zero length record separator should split a string into paragraphs. [ruby-dev:34586] * string.c (rb_str_each_line): RDoc updated. ........ r16347 | matz | 2008-05-10 09:15:13 -0400 (Sat, 10 May 2008) | 2 lines * string.c (tr_trans): single '^' does not mean negation. [ruby-dev:34632] ........ r16348 | matz | 2008-05-10 13:10:10 -0400 (Sat, 10 May 2008) | 2 lines * string.c (tr_trans): should check src size, not str size. [ruby-dev:34637] ........ r16349 | matz | 2008-05-10 13:10:46 -0400 (Sat, 10 May 2008) | 2 lines * string.c (tr_trans): should not turn on modify flag if no modification happens. [ruby-dev:34631] ........ r16351 | yugui | 2008-05-10 19:02:30 -0400 (Sat, 10 May 2008) | 2 lines * gc.c (gc_count): rdoc corrected. ........ r16354 | kazu | 2008-05-10 21:40:30 -0400 (Sat, 10 May 2008) | 2 lines add tests of UnboundMethod#{name,owner} ........ r16355 | akr | 2008-05-11 00:15:29 -0400 (Sun, 11 May 2008) | 17 lines * thread.c (thread_cleanup_func_before_exec): extracted from thread_cleanup_func not to touch pthread data. pthread_cond_destroy in forked process may cause deadlock on Debian GNU/Linux Etch on x86, x86-64 and IA64. this doesn't cause resource leak because the process will exec soon. (terminate_atfork_before_exec_i): defined. (rb_thread_atfork_before_exec): defined. * include/ruby/intern.h (rb_thread_atfork_before_exec): declared. * process.c (rb_exec_atfork): call rb_thread_atfork_before_exec instead of rb_thread_atfork. * io.c (popen_exec): call rb_thread_atfork_before_exec instead of rb_thread_atfork. ........ r16356 | akr | 2008-05-11 01:44:36 -0400 (Sun, 11 May 2008) | 17 lines * include/ruby/ruby.h (SIZET2NUM): new macro. (NUM2SIZET): new macro. * gc.c (struct rb_objspace): use size_t for increment, length and used for 64bit. (allocate_heaps): ditto. (assign_heap_slot): ditto. (set_heaps_increment): ditto. (gc_mark_all): ditto. (is_pointer_to_heap): ditto. (free_unused_heaps): ditto. (gc_sweep): ditto. (os_obj_of): ditto. (rb_gc_call_finalizer_at_exit): ditto. (count_objects): ditto. ........ r16357 | nobu | 2008-05-11 04:57:40 -0400 (Sun, 11 May 2008) | 2 lines * configure.in (MINIRUBY): should not include extension library path. ........ r16358 | akr | 2008-05-11 05:01:31 -0400 (Sun, 11 May 2008) | 4 lines * test/ruby/test_process.rb (TestProcess#with_stdin): defined. (TestProcess#test_argv0_noarg): don't use redirect_fds. [ruby-dev:34647] ........ r16359 | akr | 2008-05-11 05:58:46 -0400 (Sun, 11 May 2008) | 2 lines fix typos. ........ r16360 | mame | 2008-05-11 06:06:58 -0400 (Sun, 11 May 2008) | 3 lines * test/ruby/test_thread.rb: kill and join temporal threads that are created in each test. ........ r16361 | akr | 2008-05-11 06:25:47 -0400 (Sun, 11 May 2008) | 2 lines fix a typo. ........ r16362 | kazu | 2008-05-11 06:53:52 -0400 (Sun, 11 May 2008) | 2 lines fix typo ........ r16363 | nobu | 2008-05-11 09:39:35 -0400 (Sun, 11 May 2008) | 2 lines * bootstraptest/runner.rb (main): handle relative path -r options. ........ r16364 | nobu | 2008-05-11 09:54:04 -0400 (Sun, 11 May 2008) | 3 lines * bootstraptest/runner.rb (main): leave -I options for purelib.rb untouched. ........ r16365 | nobu | 2008-05-11 10:10:20 -0400 (Sun, 11 May 2008) | 2 lines * enum.c: removed trailing garbage spaces. ........ r16366 | nobu | 2008-05-11 10:19:41 -0400 (Sun, 11 May 2008) | 2 lines * enum.c (all_iter_i, any_iter_i): reduced duplicated code. ........ r16370 | nobu | 2008-05-11 21:51:47 -0400 (Sun, 11 May 2008) | 3 lines * gem_prelude.rb (load_full_rubygems_library, const_missing): prevent infinite recursion. [ruby-dev:34539] ........ r16371 | nobu | 2008-05-11 21:52:53 -0400 (Sun, 11 May 2008) | 3 lines * ruby.c (ruby_init_gems), gem_prelude.rb: check if Gem is defined instead of Gem::Enable. ........ r16372 | yugui | 2008-05-11 22:15:55 -0400 (Sun, 11 May 2008) | 2 lines * gc.c (assign_heap_slot): put the binary-search routine in order. ........ r16373 | yugui | 2008-05-11 22:34:37 -0400 (Sun, 11 May 2008) | 3 lines * ChangeLog: changelog of the changeset 16372. It was: "gc.c (assign_heap_slot): put the binary-search routine in order." ........ r16374 | matz | 2008-05-11 23:28:10 -0400 (Sun, 11 May 2008) | 1 line * string.c (sym_to_i): really removed. [ruby-dev:34641] ........ r16375 | akr | 2008-05-11 23:30:34 -0400 (Sun, 11 May 2008) | 3 lines * gc.c (assign_heap_slot): fix condition for number of objects in a heap. ........ r16376 | nobu | 2008-05-11 23:32:12 -0400 (Sun, 11 May 2008) | 2 lines * common.mk (RUBYOPT): affected BASERUBY too. [ruby-talk:301514] ........ r16378 | akr | 2008-05-11 23:37:58 -0400 (Sun, 11 May 2008) | 2 lines add tests for [ruby-dev:34591]. ........ r16380 | akr | 2008-05-11 23:41:48 -0400 (Sun, 11 May 2008) | 2 lines add a test for [ruby-dev:34646]. ........ r16381 | akr | 2008-05-11 23:47:12 -0400 (Sun, 11 May 2008) | 2 lines add a test for [ruby-dev:34579]. ........ r16384 | akr | 2008-05-12 00:44:13 -0400 (Mon, 12 May 2008) | 2 lines * bignum.c (bigzero_p): check from MSB to LSB. [ruby-dev:34649] ........ r16386 | matz | 2008-05-12 01:05:50 -0400 (Mon, 12 May 2008) | 2 lines * eval.c (is_defined): add NODE_OP_ASGN_{OR,AND}. "defined?(a||=1)" should not operate assignment. [ruby-dev:34645] ........ r16387 | matz | 2008-05-12 02:09:53 -0400 (Mon, 12 May 2008) | 4 lines * re.c (rb_reg_prepare_re): made non static with small refactoring. * ext/strscan/strscan.c (strscan_do_scan): should adjust encoding before regex searching. ........ r16388 | akr | 2008-05-12 02:28:43 -0400 (Mon, 12 May 2008) | 6 lines * gc.c (ruby_vm_xmalloc): increase malloc_increase only if malloc succeeds. failed malloc size can be huge. it may increase malloc_limit too big which cause less GC and memory full. (ruby_vm_xrealloc): ditto. (rb_objspace): make params.limit and params.increase size_t. ........ r16389 | usa | 2008-05-12 05:17:58 -0400 (Mon, 12 May 2008) | 4 lines * process.c (rb_spawn_internal): need to call run_exec_options() before spawn if the platform doesn't have fork. [ruby-dev:34647] ........ r16390 | usa | 2008-05-12 06:07:00 -0400 (Mon, 12 May 2008) | 4 lines * process.c (rb_spawn_internal): remove calling run_exec_options() because cannot restore after spawn. we'll fix this later. ........ r16391 | knu | 2008-05-12 07:21:39 -0400 (Mon, 12 May 2008) | 42 lines * enum.c (grep_i): Be aware of multiple values; fix [ruby-dev:34653]. (grep_iter_i): Ditto. (count_i): Ditto. (find_i): Ditto. (find_index_i): Ditto. (find_all_i): Ditto. (reject_i): Ditto. (inject_i): Ditto. (inject_op_i): Ditto. (partition_i): Ditto. (group_by_i): Ditto. (first_i): Ditto. (sort_by_i): Ditto. (all_i): Ditto. (all_iter_i): Ditto. (any_i): Ditto. (any_iter_i): Ditto. (one_i): Ditto. (one_iter_i): Ditto. (none_i): Ditto. (none_iter_i): Ditto. (min_i): Ditto. (min_ii): Ditto. (max_i): Ditto. (max_ii): Ditto. (minmax_i): Ditto. (minmax_ii): Ditto. (min_by_i): Ditto. (max_by_i): Ditto. (minmax_by_i): Ditto. (member_i): Ditto. (take_i): Ditto. (take_while_i): Ditto. (drop_i): Ditto. (drop_while_i): Ditto. (cycle_i): Ditto. * enum.c (each_with_index): Update rdoc. each_with_index() takes argments that are passed through to each(), and a hash preserves key order. ........ r16392 | matz | 2008-05-12 08:26:15 -0400 (Mon, 12 May 2008) | 1 line * string.c (sym_to_i): really removed. [ruby-dev:34641] ........ r16393 | usa | 2008-05-12 08:35:37 -0400 (Mon, 12 May 2008) | 4 lines * test/ruby/envutil.rb (rubybin): return expanded rubyexe instead of expanded ruby if available. ........ r16394 | akr | 2008-05-12 09:24:38 -0400 (Mon, 12 May 2008) | 2 lines * lib/date.rb (once): use Object#object_id instead of Symbol#to_i. ........ r16395 | usa | 2008-05-12 10:15:32 -0400 (Mon, 12 May 2008) | 19 lines * process.c, include/ruby/intern.h (rb_run_exec_options): externed. * process.c (save_redirect_fd, save_env_i, save_env, run_exec_dup2, run_exec_open, run_exec_pgroup, run_exec_rlimit, rb_run_exec_options): save parent's process environments. !!!remark!!! these are not thread-safe. * process.c (rb_spawn_internal): remove calling run_exec_options() because cannot restore after spawn. we'll fix this later. * io.c (pipe_open): ditto. * test/ruby/test_process.rb (test_execopts_env): upcase environment variable name for case insensitive platforms. * win32/win32.c (init_env): set USER environment variable only when USERNAME is available. ........ r16396 | usa | 2008-05-12 10:27:00 -0400 (Mon, 12 May 2008) | 2 lines * ChangeLog: small fixes. ........ r16397 | mame | 2008-05-12 10:42:17 -0400 (Mon, 12 May 2008) | 5 lines * vm.c (collect_local_variables_in_env): remove unnecessary check which causes: x=1;proc{local_variables}.call #=> [] * test/ruby/test_variable.rb: add a test for above. ........ r16398 | akr | 2008-05-12 19:27:17 -0400 (Mon, 12 May 2008) | 4 lines * io.c (rb_f_gets.): re-enable rdoc. (rb_f_readline): ditto. (rb_f_readlines): ditto. ........ r16399 | matz | 2008-05-12 21:13:55 -0400 (Mon, 12 May 2008) | 2 lines * string.c (rb_str_cat): fixed buffer overrun reported by Christopher Thompson <cthompson at nexopia.com> in [ruby-core:16746] ........ r16401 | akr | 2008-05-13 00:21:33 -0400 (Tue, 13 May 2008) | 2 lines check the chracters in (10**32768-1).to_s. ........ r16402 | knu | 2008-05-13 02:10:56 -0400 (Tue, 13 May 2008) | 5 lines * enumerator.c: Update rdoc. (enumerator_initialize): Discourage the use. (enum_each_slice, enum_each_cons, enumerator_each) (enumerator_with_index): Add a note about a call without a block. ........ r16404 | nobu | 2008-05-13 10:32:46 -0400 (Tue, 13 May 2008) | 8 lines * enum.c (enum_yield): use rb_yield_values2. * enum.c (DEFINE_ENUMFUNCS): macro to define enumerator and yielding functions. * enum.c (enum_all_func, enum_any_func, enum_one_func, enum_none_func): reduced duplicate code. ........ r16405 | mame | 2008-05-13 11:49:38 -0400 (Tue, 13 May 2008) | 3 lines * eval_method.c (rb_add_method): fix check for warning when Object#initialize is redefined. (same as 1.8) ........ r16406 | mame | 2008-05-13 11:57:22 -0400 (Tue, 13 May 2008) | 16 lines * test/ruby/test_io_m17n.rb: remove a duplicative method. * test/ruby/test_utf16.rb: rename a conflicting method name. * test/ruby/test_array.rb: ditto. * test/ruby/test_file_exhaustive.rb: ditto. * test/ruby/test_hash.rb: ditto. * test/ruby/test_env.rb: ditto. * test/ruby/test_fixnum.rb: ditto. * test/ruby/test_rational.rb: ditto. ........ r16407 | akr | 2008-05-13 13:16:03 -0400 (Tue, 13 May 2008) | 2 lines add a test. ........ r16408 | matz | 2008-05-13 18:53:01 -0400 (Tue, 13 May 2008) | 4 lines * eval.c (rb_call0): defer calling of rb_frame_self() until it become really necessary. * eval.c (rb_call): ditto. ........ r16409 | akr | 2008-05-13 20:01:24 -0400 (Tue, 13 May 2008) | 2 lines test the actual value of (10**32768-1).to_s. ........ r16411 | ko1 | 2008-05-13 22:31:28 -0400 (Tue, 13 May 2008) | 5 lines * insns.def: add a "putcbase" instruction. * compile.c, insns.def: fix to use putcbase instruction for class search. Qundef should not be used. ........ r16412 | knu | 2008-05-13 23:46:37 -0400 (Tue, 13 May 2008) | 3 lines * array.c (rb_ary_count): Override Enumerable#count for better performance. ........ r16413 | ko1 | 2008-05-13 23:48:39 -0400 (Tue, 13 May 2008) | 3 lines * iseq.c (insn_operand_intern): remove Qundef related code. ........ r16414 | knu | 2008-05-13 23:50:47 -0400 (Tue, 13 May 2008) | 2 lines Remove spaces before BOL. ........ r16416 | nobu | 2008-05-14 05:11:10 -0400 (Wed, 14 May 2008) | 18 lines * test/ruby/test_file_exhaustive.rb (assert_integer): may not Fixnum. * test/ruby/test_file_exhaustive.rb (test_stat, test_readable_p) (test_readable_real_p, test_world_readable_p, test_writable_p) (test_writable_real_p, test_world_writable_p, test_executable_p) (test_executable_real_p, test_owned_p, test_chmod, test_lchmod) (test_umask, test_stat_readable_p, test_stat_readable_real_p) (test_stat_world_readable_p, test_stat_writable_p) (test_stat_writable_real_p, test_stat_world_writable_p) (test_stat_executable_p, test_stat_executable_real_p) (test_stat_owned_p): mode, owner and group can't rely on cygwin. * test/ruby/test_file_exhaustive.rb (test_stat_init): test hard link on Windows too. * test/ruby/test_file_exhaustive.rb (test_test): struct stat dosn't have sub second mtime on cygwin. ........ r16418 | mame | 2008-05-14 08:52:17 -0400 (Wed, 14 May 2008) | 21 lines * test/ruby/test_object.rb: new tests to achieve over 90% test coverage of object.c, eval.c and eval_method.c. * test/ruby/test_module.rb: ditto. * test/ruby/test_trace.rb: ditto. * test/ruby/test_integer.rb: ditto. * test/ruby/test_float.rb: ditto. * test/ruby/test_method.rb: ditto. * test/ruby/test_variable.rb: ditto. * test/ruby/test_eval.rb: ditto. * test/ruby/test_exception.rb: ditto. * test/ruby/test_class.rb: ditto. ........ r16419 | mame | 2008-05-14 09:10:02 -0400 (Wed, 14 May 2008) | 2 lines * ChangeLog: fix typo. ........ r16420 | nobu | 2008-05-15 02:34:02 -0400 (Thu, 15 May 2008) | 7 lines * file.c (file_expand_path): support for alternative data stream and ignored trailing garbages of NTFS. * file.c (rb_file_s_basename): ditto. * file.c (rb_file_s_extname): ditto. ........ r16422 | matz | 2008-05-15 05:44:38 -0400 (Thu, 15 May 2008) | 4 lines * ext/openssl/openssl_missing.c (HMAC_CTX_copy): adopted to prototype change in openssl bundled with newer OpenBSD. a patch from Takahiro Kambe <taca at back-street.net> in [ruby-dev:34691]. ........ r16423 | matz | 2008-05-15 06:45:58 -0400 (Thu, 15 May 2008) | 2 lines * re.c (rb_reg_prepare_enc): error condition was updated for non ASCII compatible strings. ........ r16424 | matz | 2008-05-15 06:48:10 -0400 (Thu, 15 May 2008) | 4 lines * object.c (rb_cstr_to_dbl): no need for forceful warning when converting to float. overflow is a nature of float values. * parse.y (parser_yylex): ditto. ........ r16425 | usa | 2008-05-15 09:38:21 -0400 (Thu, 15 May 2008) | 3 lines * parse.y (ripper_warningS): now used. ........ r16426 | mame | 2008-05-15 10:03:21 -0400 (Thu, 15 May 2008) | 5 lines * string.c (tr_find): String#delete returned wrong result when multiple utf-8 arguments are passed. * test/ruby/test_m17n.rb (test_delete): add a test for above. ........ r16427 | mame | 2008-05-15 10:37:18 -0400 (Thu, 15 May 2008) | 9 lines * test/ruby/test_string.rb: add tests to achieve over 90% test coverage of string.c. * test/ruby/test_m17n.rb: ditto. * test/ruby/test_symbol.rb: ditto. * test/ruby/test_pack.rb: ditto. ........ r16429 | matz | 2008-05-16 00:17:45 -0400 (Fri, 16 May 2008) | 8 lines * math.c (to_flo): rb_Float() accepts even strings for input. * complex.c (nucomp_to_f): fix wrong message. * complex.c (nucomp_to_r): ditto. * object.c (rb_Float): do not check NaN for error. NaN is a part of valid float values. ........ r16436 | nobu | 2008-05-16 04:08:06 -0400 (Fri, 16 May 2008) | 1 line * test/ruby/test_module.rb (assert_method_defined?): added. ........ r16437 | matz | 2008-05-16 14:27:01 -0400 (Fri, 16 May 2008) | 11 lines * array.c (rb_ary_sort_bang): stop memory leak. [ruby-dev:34726] * re.c (rb_reg_search): need to free allocated buffer in re_register. * regexec.c (onig_region_new): more pedantic malloc check. * regexec.c (onig_region_resize): ditto. * regexec.c (STATE_CHECK_BUFF_INIT): ditto. * regexec.c (onig_region_copy): use onig_region_resize. ........ r16439 | nobu | 2008-05-16 22:29:13 -0400 (Fri, 16 May 2008) | 2 lines * file.c (rb_file_s_extname): first dot is not an extension name. ........ r16440 | nobu | 2008-05-16 22:39:43 -0400 (Fri, 16 May 2008) | 1 line * parse.y (ripper_warnS): now unused. ........ r16441 | nobu | 2008-05-16 22:44:38 -0400 (Fri, 16 May 2008) | 1 line * test/ruby/test_eval.rb (test_define_method_block): new test ........ r16444 | yugui | 2008-05-16 23:37:37 -0400 (Fri, 16 May 2008) | 2 lines Kernel#.sleep used never to sleep on Mac OS X. Fixed it and added error checks. ........ r16445 | nobu | 2008-05-17 01:01:52 -0400 (Sat, 17 May 2008) | 3 lines * array.c (rb_ary_sort_bang): should not free shared pointer, and set shared. [ruby-dev:34732] ........ r16448 | yugui | 2008-05-17 05:14:24 -0400 (Sat, 17 May 2008) | 3 lines * vm.c (Init_VM): removed the definition of Thread#initialize, which is overwritten in Init_Thread and is never used. ........ r16450 | nobu | 2008-05-17 10:54:07 -0400 (Sat, 17 May 2008) | 2 lines * file.c (file_expand_path): fix for short file name on Cygwin. ........ r16452 | mame | 2008-05-17 13:56:41 -0400 (Sat, 17 May 2008) | 6 lines * pack.c (pack_pack): check errno to detect error of ruby_strtoul. * pack.c (pack_unpack): ditto. * test/ruby/test_pack.rb: add a test for above. ........ r16453 | gotoyuzo | 2008-05-18 09:33:24 -0400 (Sun, 18 May 2008) | 14 lines * lib/webrick/httpservlet/filehandler.rb: should normalize path name in path_info to prevent script disclosure vulnerability on DOSISH filesystems. (fix: CVE-2008-1891) Note: NTFS/FAT filesystem should not be published by the platforms other than Windows. Pathname interpretation (including short filename) is less than perfect. * lib/webrick/httpservlet/abstract.rb (WEBrick::HTTPServlet::AbstracServlet#redirect_to_directory_uri): should escape the value of Location: header. * lib/webrick/httpservlet/cgi_runner.rb: accept interpreter command line arguments. ........ r16455 | gotoyuzo | 2008-05-18 09:54:04 -0400 (Sun, 18 May 2008) | 2 lines test material for r16453. ........ r16466 | knu | 2008-05-18 22:56:54 -0400 (Sun, 18 May 2008) | 2 lines fix grammo. ........ r16468 | ko1 | 2008-05-18 23:08:50 -0400 (Sun, 18 May 2008) | 10 lines * vm.c, insns.def, eval.c, vm_insnhelper.c: fix CREF handling. VM value stack frame of block contains cref information. (dfp[-1] points CREF) * compile.c, eval_intern.h, eval_method.c, load.c, proc.c, vm_dump.h, vm_core.h: ditto. * include/ruby/ruby.h, gc.c: remove T_VALUES because of above changes. * bootstraptest/test_eval.rb, test_knownbug.rb: move solved test. ........ r16470 | usa | 2008-05-19 00:26:43 -0400 (Mon, 19 May 2008) | 6 lines * process.c (rb_spawn_internal): set last_status when status == -1 because there is no path to set it on win32. this patch is derived from [ruby-core:16787], submitted by Luis Lavena <luislavena at gmail.com> ........ r16472 | ko1 | 2008-05-19 01:20:21 -0400 (Mon, 19 May 2008) | 7 lines * bootstraptest/test_knownbug.rb: move solved tests. * bootstraptest/test_eval.rb, test_literal.rb, test_syntax.rb, test_thread.rb: ditto. * test/ruby/test_m17n.rb, test_proc.rb, test_sprintf.rb, test_string.rb, test/ruby/test_struct.rb: ditto. ........ r16474 | ko1 | 2008-05-19 01:33:45 -0400 (Mon, 19 May 2008) | 3 lines * version.h: fix strange change by version.h update tool. ........ r16476 | akr | 2008-05-19 03:30:41 -0400 (Mon, 19 May 2008) | 2 lines add a test. ........ r16477 | matz | 2008-05-19 04:25:03 -0400 (Mon, 19 May 2008) | 30 lines * regparse.c (PINC): use optimized enclen() instead of ONIGENC_MBC_ENC_LEN(). * regparse.c (PFETCH): ditto. * regparse.c (PFETCH): small optimization. * regexec.c (slow_search): single byte encoding optimization. * regenc.h (enclen): avoid calling function when encoding's min_len == max_len. * re.c (rb_reg_regsub): rb_enc_ascget() optimization for single byte encoding. * re.c (rb_reg_search): avoid allocating new re_registers if we already have MatchData. * re.c (match_init_copy): avoid unnecessary onig_region_free() before onig_region_copy. * encoding.c (rb_enc_get_index): remove implicit enc_capable check each time. * encoding.c (rb_enc_set_index): ditto. * encoding.c (enc_compatible_p): small refactoring. * include/ruby/encoding.h (rb_enc_dummy_p): inline rb_enc_dummy_p() and export related code. ........ r16478 | knu | 2008-05-19 05:27:55 -0400 (Mon, 19 May 2008) | 4 lines * ext/openssl/ossl_pkcs5.c (ossl_pkcs5_pbkdf2_hmac): Fix the type of md; pointed out by Takahiro Kambe <taca at back-street.net> in [ruby-dev:34748]. ........ r16481 | ko1 | 2008-05-19 08:09:14 -0400 (Mon, 19 May 2008) | 4 lines * thread_pthread.c (native_thread_apply_priority): fix argument range check. [ruby-dev:33124] ........ r16482 | mame | 2008-05-19 10:21:15 -0400 (Mon, 19 May 2008) | 3 lines * regexec.c (slow_search): check the case when the length is 1. The behavior of memcmp is undefined if the third argument is 0. ........ r16483 | ko1 | 2008-05-19 10:36:13 -0400 (Mon, 19 May 2008) | 3 lines * vm.c (invoke_block_from_c): fix call flow. ........ r16484 | mame | 2008-05-19 12:14:30 -0400 (Mon, 19 May 2008) | 3 lines * parse.y (assignable_gen): when "self = 1" was evalueted, unnecessary error message was output, which might cause null pointer access. ........ r16485 | ko1 | 2008-05-19 12:47:42 -0400 (Mon, 19 May 2008) | 4 lines * bootstraptest/test_knownbug.rb: fix a test. "block_given?" returns true if "yield" can be used. ........ r16486 | ko1 | 2008-05-19 14:47:56 -0400 (Mon, 19 May 2008) | 7 lines * eval.c, vm_insnhelper.c: fix cref in instance_eval and cvar_base search protocol. * bootstraptest/test_knownbug.rb, test_eval.rb: move soleved test and add new tests. * test/ruby/test_eval.rb: fix tests for spec. ........ r16487 | nobu | 2008-05-19 22:36:09 -0400 (Mon, 19 May 2008) | 4 lines * include/ruby/ruby.h (PRI[diouxX]VALUE): printf format for VALUE. * gc.c (assign_heap_slot): suppress a warning. ........ r16488 | nobu | 2008-05-19 23:13:52 -0400 (Mon, 19 May 2008) | 2 lines * ruby.c (proc_options, process_options): --dump option. ........ r16490 | nobu | 2008-05-20 00:19:27 -0400 (Tue, 20 May 2008) | 1 line * ruby.c (process_options): --dump option exit immediately. ........ r16491 | nobu | 2008-05-20 00:20:53 -0400 (Tue, 20 May 2008) | 6 lines * ext/nkf/nkf.c (rb_nkf_convert), ext/nkf/nkf-utf8/nkf.c (nkf_enc_without_bom): BOM is not a part of encodings. * ext/nkf/nkf.c (Init_nkf), ext/nkf/nkf-utf8/nkf.c (options): UTF-{16,32} without endian have no sense. ........ r16492 | matz | 2008-05-20 03:59:33 -0400 (Tue, 20 May 2008) | 13 lines * string.c (rb_enc_strlen_cr): need to set ENC_CODERANGE_7BIT if search_nonascii() fails. [ruby-dev:34751] * string.c (rb_str_reverse): preserve coderange info if the receiver is 7bit string. * string.c (rb_str_reverse_bang): ditto. * string.c (rb_str_reverse_bang): should have called single_byte_optimizable before rb_str_modify() that clears coderange info. * string.c (tr_trans): handle single bytes more eagerly. ........ r16493 | naruse | 2008-05-20 09:10:28 -0400 (Tue, 20 May 2008) | 6 lines * ext/nkf/nkf-utf8/nkf.c (rb_nkf_convert) (nkf_enc_without_bom): reverted. nkf-utf8/nkf.c should be independent of ruby. * ext/nkf/nkf.c (options): moved from nkf-utf8/nkf.c. override nkf's original settings for Unicode BOM. ........ r16494 | mame | 2008-05-20 10:26:33 -0400 (Tue, 20 May 2008) | 2 lines * test/ruby/test_array.rb: fix tests for 64bit CPU. ........ r16496 | naruse | 2008-05-20 12:37:13 -0400 (Tue, 20 May 2008) | 6 lines * transcode.c, include/ruby/encodng.h (rb_str_transcode): C API of encoding conversion for Ruby object. VALUE rb_str_transcode(VALUE str, VALUE to). * transcode.c (str_encode, str_encode_bang): rename from rb_tr_transcode or rb_str_transcode_bang. ........ r16497 | usa | 2008-05-20 12:48:32 -0400 (Tue, 20 May 2008) | 10 lines * test/ruby/test_file_exhaustive.rb (setup): workaround for Windows Vista. * test/ruby/envutil.rb (rubyexec): now Open3.open3 is supported on Windows. * test/ruby/test_process.rb: use ``||'' instead of ``;'' because cmd.exe not support it. ........ r16498 | naruse | 2008-05-20 15:21:26 -0400 (Tue, 20 May 2008) | 6 lines * encoding.c (rb_ascii8bit_encoding): use ENCINDEX_ASCII. * encoding.c, include/ruby/encoding.h (rb_ascii8bit_encindex): added. * encoding.c (rb_locale_encoding): use rb_usascii_encoding(). ........ r16499 | naruse | 2008-05-20 18:26:14 -0400 (Tue, 20 May 2008) | 3 lines * encoding.c, include/ruby/encoding.h (rb_enc_associate, rb_enc_associate_index): returns obj. [ruby-dev:34778] ........ r16500 | naruse | 2008-05-20 18:48:49 -0400 (Tue, 20 May 2008) | 5 lines * string.c (rb_usascii_str_new): use rb_str_new. * string.c (rb_enc_str_new): ditto. * string.c (rb_usascii_str_new2): use rb_str_new2. ........ r16501 | naruse | 2008-05-20 18:50:01 -0400 (Tue, 20 May 2008) | 1 line * fix for (rb_enc_get_index(obj) == idx) case. ........ r16502 | nobu | 2008-05-20 21:52:15 -0400 (Tue, 20 May 2008) | 1 line * ChangeLog: reverted logs erased at r16491. ........ r16504 | matz | 2008-05-21 03:50:27 -0400 (Wed, 21 May 2008) | 1 line * array.c (rb_ary_compact_bang): avoid forceful realloc. ........ r16505 | naruse | 2008-05-21 04:48:10 -0400 (Wed, 21 May 2008) | 2 lines * ext/nkf/nkf-utf8/nkf.c (nkf_enc_find_index): use strcasecmp. [ruby-dev:34787] ........ r16506 | ko1 | 2008-05-21 10:22:24 -0400 (Wed, 21 May 2008) | 3 lines * bootstraptest/test_eval.rb: fix syntax. ........ r16509 | ko1 | 2008-05-21 11:18:15 -0400 (Wed, 21 May 2008) | 3 lines * insns.def, vm_insnhelper.c: specify "const". ........ r16510 | mame | 2008-05-21 11:31:15 -0400 (Wed, 21 May 2008) | 8 lines * test/ruby/test_require.rb: new tests for library requiring, to achieve over 90% test coverage of dln.c. * test/ruby/test_class.rb: add tests to achieve over 90% test coverage of class.c. * test/ruby/test_module.rb: ditto. ........ r16512 | shugo | 2008-05-21 13:47:33 -0400 (Wed, 21 May 2008) | 2 lines * lib/net/imap.rb: do not use Thread#raise. [ruby-dev:34739] ........ r16513 | matz | 2008-05-21 16:47:26 -0400 (Wed, 21 May 2008) | 3 lines * proc.c (proc_dup): should copy safe_level from src proc properly. a patch from Keita Yamaguchi <keita.yamaguchi at gmail.com> ........ r16515 | naruse | 2008-05-21 17:23:51 -0400 (Wed, 21 May 2008) | 3 lines * ext/nkf/nkf-utf8/nkf.c (nkf_str_caseeql): added. * ext/nkf/nkf-utf8/nkf.c (nkf_enc_find_index): use nkf_str_caseeql. ........ r16517 | nagai | 2008-05-21 17:41:09 -0400 (Wed, 21 May 2008) | 2 lines * array.c (flatten): fix memory leak. ........ r16518 | matz | 2008-05-21 20:57:47 -0400 (Wed, 21 May 2008) | 2 lines * array.c (flatten): free memo hash table before raising exception. [ruby-dev:34789] ........ r16520 | akr | 2008-05-21 22:40:50 -0400 (Wed, 21 May 2008) | 3 lines * test/ruby/envutil.rb (assert_normal_exit): capture stdout and stderr of the child process. ........ r16522 | nobu | 2008-05-21 23:40:57 -0400 (Wed, 21 May 2008) | 2 lines * array.c (flatten): check if reentered. [ruby-dev:34798] ........ r16523 | akr | 2008-05-21 23:52:22 -0400 (Wed, 21 May 2008) | 2 lines * insns.def (newhash): fix a variable definition: "const k". ........ r16524 | ko1 | 2008-05-22 00:28:13 -0400 (Thu, 22 May 2008) | 4 lines * eval.c, vm.c, vm_core.h, vm_insnhelper.c: specify "const". * vm_opts.h: add a OPT_TOKEN_THREADED_CODE macro. ........ r16525 | nobu | 2008-05-22 01:20:59 -0400 (Thu, 22 May 2008) | 2 lines * array.c (flatten): check if reentered. [ruby-dev:34798] ........ r16526 | usa | 2008-05-22 02:22:41 -0400 (Thu, 22 May 2008) | 4 lines * eval_intern.h, vm_core.h, include/ruby/intern.h, include/ruby/ruby.h, vm.c: need to add const to prototypes, of course. ........ r16527 | akr | 2008-05-22 04:13:19 -0400 (Thu, 22 May 2008) | 2 lines add a test for Array#compact!. ........ r16528 | akr | 2008-05-22 04:19:04 -0400 (Thu, 22 May 2008) | 2 lines * array.c (rb_ary_compact_bang): fix reallocation size. ........ r16529 | akr | 2008-05-22 04:41:07 -0400 (Thu, 22 May 2008) | 2 lines add a test for [ruby-dev:34802]. ........ r16530 | nobu | 2008-05-22 05:55:36 -0400 (Thu, 22 May 2008) | 2 lines * vm.c (vm_get_ruby_level_cfp): moved from eval_intern.h. ........ r16531 | nobu | 2008-05-22 06:01:32 -0400 (Thu, 22 May 2008) | 2 lines * vm.c (sdr, nsdr): define methods only if VMDEBUG is defined. ........ r16532 | mame | 2008-05-22 07:16:40 -0400 (Thu, 22 May 2008) | 3 lines * iseq.c (iseq_load, iseq_data_to_ary): support ISEQ_TYPE_DEFINED_GUARD. ........ r16533 | nobu | 2008-05-22 07:20:56 -0400 (Thu, 22 May 2008) | 3 lines * marshal.c (check_dump_arg, check_load_arg): check if reentered. [ruby-dev:34802] ........ r16535 | mame | 2008-05-22 10:45:54 -0400 (Thu, 22 May 2008) | 3 lines * compile.c (get_destination_insn, get_next_insn, get_prev_insn): peephole optimization should not ignore ISEQ_ELEMENT_ADJUST. ........ r16540 | ko1 | 2008-05-22 12:19:14 -0400 (Thu, 22 May 2008) | 4 lines * eval.c, eval_intern.h, include/ruby/intern.h, include/ruby/ruby.h, vm.c, vm_core.h, vm_insnhelper.c: remove pointless "const". ........ r16541 | ko1 | 2008-05-22 13:31:15 -0400 (Thu, 22 May 2008) | 3 lines * insns.def (opt_gt|ge|lt|le): use values directly to compare. ........ r16542 | nobu | 2008-05-22 14:16:12 -0400 (Thu, 22 May 2008) | 1 line * svn:ignore: added GNUmakefile. ........ r16545 | kazu | 2008-05-22 15:30:17 -0400 (Thu, 22 May 2008) | 2 lines trivial change. ........ r16546 | kazu | 2008-05-22 15:30:59 -0400 (Thu, 22 May 2008) | 2 lines svn:ignore: added rubyspec ........ r16548 | nobu | 2008-05-22 17:15:23 -0400 (Thu, 22 May 2008) | 2 lines * iseq.c (rb_iseq_compile_with_option): get rid of segv. ........ r16550 | nobu | 2008-05-22 22:38:02 -0400 (Thu, 22 May 2008) | 1 line * .gdbinit (rp): T_VALUES is no longer defined. ........ r16551 | nobu | 2008-05-22 23:23:08 -0400 (Thu, 22 May 2008) | 6 lines * vm_core.h (rb_num_t): moved form vm.h. * tool/instruction.rb (RubyVM::Instruction#sp_increase_c_expr), tool/instruction.rb (RubyVM::VmBodyGenerator#make_header_operands): omit unused variables. ........ r16552 | nobu | 2008-05-22 23:25:30 -0400 (Thu, 22 May 2008) | 1 line * vm_dump.c (vm_stack_dump_raw): suppress warnings. ........ r16558 | knu | 2008-05-23 03:47:54 -0400 (Fri, 23 May 2008) | 3 lines * enumerator.c (Init_Enumerator): Override Enumerable::Enumerator#each_with_index with #with_index. ........ r16559 | knu | 2008-05-23 05:01:19 -0400 (Fri, 23 May 2008) | 5 lines * array.c (rb_ary_slice_bang): Be consistent with Array#slice() and String#slice!(). Just return nil when a negative length or out of boundary index is given instead of raising an exception via internal functions. ........ r16561 | akr | 2008-05-23 13:46:34 -0400 (Fri, 23 May 2008) | 2 lines fix a ML ref. ........ r16562 | naruse | 2008-05-23 19:15:14 -0400 (Fri, 23 May 2008) | 1 line * transcode.c (rb_str_transcode): argc is 1, and argv is &to. ........ r16565 | akr | 2008-05-23 21:34:37 -0400 (Fri, 23 May 2008) | 2 lines add a test for [ruby-dev:34808]. ........ r16566 | akr | 2008-05-23 21:48:21 -0400 (Fri, 23 May 2008) | 2 lines add a test for [ruby-dev:34828]. ........ r16567 | akr | 2008-05-23 21:57:02 -0400 (Fri, 23 May 2008) | 2 lines add a test for [ruby-dev:34679]. ........ r16568 | mame | 2008-05-24 02:29:48 -0400 (Sat, 24 May 2008) | 5 lines * compile.c (iseq_set_exception_table, NODE_WHILE, NODE_NEXT): remove special handling that decrements sp in CATCH_TYPE_NEXT for NODE_WHILE. * vm.c (vm_eval_body), vm_insnhelper.c (vm_throw): remove unused code. ........ r16571 | matz | 2008-05-24 09:39:18 -0400 (Sat, 24 May 2008) | 2 lines * object.c (rb_cstr_to_dbl): should clear errno before calling strtod(3). [ruby-dev:34834] ........ r16572 | matz | 2008-05-24 09:39:57 -0400 (Sat, 24 May 2008) | 5 lines * error.c (exc_equal): == operator should be transitional. [ruby-dev:34808] * error.c (syserr_eqq): === should be able to handle delegated objects as well. ........ r16576 | ko1 | 2008-05-24 13:50:17 -0400 (Sat, 24 May 2008) | 11 lines * eval_method.c: renamed from vm_method.c. "vm_method.c" is included by "vm.c". * vm_eval.c: added. Some codes are moved from "eval.c" * common.mk: fix for above changes. * compile.c: make a vm_eval(0) * eval.c, eval_error.c, eval_intern.h, eval_jump.c, proc.c, vm.c, id.c, id.h, vm_core.h, vm_dump.c, vm_evalbody.c, vm_insnhelper.c, blockinlining.c: fix for above changes. and do some refactoring. this changes improve rb_yield() performance. ........ r16579 | ko1 | 2008-05-24 14:25:26 -0400 (Sat, 24 May 2008) | 3 lines * vm_eval.c: added. Some codes are moved from "eval.c" ........ r16580 | mame | 2008-05-24 14:55:44 -0400 (Sat, 24 May 2008) | 3 lines * test/ruby/test_modules.rb (test_ancestors, test_included_modules): ignore json mixins. ........ r16581 | mame | 2008-05-24 15:31:30 -0400 (Sat, 24 May 2008) | 3 lines * test/ruby/test_modules.rb (remove_json_mixins): change judgment condition. ........ r16586 | nobu | 2008-05-24 21:12:12 -0400 (Sat, 24 May 2008) | 1 line * vm_eval.c: set properties. ........ r16587 | mame | 2008-05-25 04:52:57 -0400 (Sun, 25 May 2008) | 3 lines * compile.c (iseq_build_body): remove side effect from VM::InstructionSequence.load. ........ r16588 | mame | 2008-05-25 04:55:09 -0400 (Sun, 25 May 2008) | 3 lines * compile.c (iseq_compile): set local_table for ISEQ_TYPE_DEFINED_GUARD. ........ r16590 | knu | 2008-05-25 11:42:14 -0400 (Sun, 25 May 2008) | 2 lines * hash.c (env_each_value): Do not call env_values() twice. ........ r16591 | knu | 2008-05-25 12:06:00 -0400 (Sun, 25 May 2008) | 3 lines * hash.c (env_each_key, env_each_value, env_reject_bang) (rb_env_clear, env_replace): Omit duplicated secure level check. ........ r16592 | akr | 2008-05-25 12:19:05 -0400 (Sun, 25 May 2008) | 3 lines * test/ruby/envutil.rb (assert_normal_exit): signal description refined. ........ r16595 | nobu | 2008-05-25 18:16:04 -0400 (Sun, 25 May 2008) | 2 lines * vm_dump.c (rb_vm_bugreport): rb_make_backtrace has no arguments. ........ r16609 | usa | 2008-05-26 03:45:49 -0400 (Mon, 26 May 2008) | 5 lines * file.c (ntfs_tail): filename which starts with '.' is valid. * file.c (file_expand_path): cygwin symlink support. ........ r16611 | matz | 2008-05-26 03:51:21 -0400 (Mon, 26 May 2008) | 3 lines * misc/ruby-mode.el (ruby-mode): use run-hooks if run-mode-hook is not available. a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com> in [ruby-dev:34853]. ........ r16612 | matz | 2008-05-26 03:51:46 -0400 (Mon, 26 May 2008) | 2 lines * util.c (ruby_strtod): clear errno at the top of our own impelementation of strtod(3). [ruby-dev:34834] [ruby-dev:34839] ........ r16613 | usa | 2008-05-26 04:25:44 -0400 (Mon, 26 May 2008) | 6 lines * file.c (file_expand_path): add more space for '/'. * file.c (file_expand_path): should reset address of p after calling rb_str_resize(). [ruby-dev:34800] ........ r16614 | knu | 2008-05-26 04:49:08 -0400 (Mon, 26 May 2008) | 6 lines * enumerator.c (struct enumerator, enumerator_init) (enumerator_init_copy, enumerator_each): Eliminate iter. (enumerator_ptr): Do not hardcode the class name. (enumerator_with_index): Delay variable initialization after RETURN_ENUMERATOR(). ........ r16615 | nobu | 2008-05-26 05:24:56 -0400 (Mon, 26 May 2008) | 4 lines * file.c (BUFCHECK): no resize if enough room. * file.c (file_expand_path): use BUFCHECK. ........ r16617 | usa | 2008-05-26 23:07:55 -0400 (Mon, 26 May 2008) | 5 lines * file.c (BUFCHECK): wrong condition. [ruby-core:16921] * file.c (file_expand_buf): shouldn't use buflen for length of string. ........ r16619 | knu | 2008-05-26 23:25:51 -0400 (Mon, 26 May 2008) | 2 lines Cosmetic. ........ r16620 | knu | 2008-05-27 00:13:58 -0400 (Tue, 27 May 2008) | 2 lines * io.c (Init_IO): Define ARGF.{lines,bytes,chars}. ........ r16621 | knu | 2008-05-27 00:14:47 -0400 (Tue, 27 May 2008) | 2 lines remove garbage ........ r16622 | knu | 2008-05-27 00:15:44 -0400 (Tue, 27 May 2008) | 4 lines * enum.c (enum_to_a): Pass arguments through to #each(). (enum_sort): Follow the enum_to_a signature change. (enum_reverse_each): Add #reverse_each(). ........ r16624 | knu | 2008-05-27 00:27:09 -0400 (Tue, 27 May 2008) | 2 lines Remove entries about what have already been backported to 1.8. ........ r16631 | knu | 2008-05-27 04:55:59 -0400 (Tue, 27 May 2008) | 3 lines * ext/stringio/stringio.c (strio_each_byte): Return self instead of nil as the rdoc says. ........ r16635 | knu | 2008-05-27 06:03:23 -0400 (Tue, 27 May 2008) | 4 lines * ext/stringio/stringio.c (strio_each_char, Init_stringio): Add StringIO#{each_char,chars}. (Init_stringio): Fix StringIO#bytes. ........ r16637 | nobu | 2008-05-27 06:12:46 -0400 (Tue, 27 May 2008) | 5 lines * Makefile.in (MKPREP), common.mk, win32/Makefile.sub (prelude.c): get rid of depending PREP with nmake. * common.mk (encs): depends on libruby. ........ r16643 | knu | 2008-05-27 07:18:50 -0400 (Tue, 27 May 2008) | 4 lines * array.c (rb_ary_slice_bang): Return an empty array instead of nil when pos is valid and len is adjusted from a valid value to zero; caught by RubySpec. ........ r16648 | matz | 2008-05-27 08:44:52 -0400 (Tue, 27 May 2008) | 3 lines * numeric.c (check_int): use PRIxVALUE format specifier. * numeric.c (check_uint, rb_num2fix, int_chr): ditto. ........ r16649 | matz | 2008-05-27 08:47:14 -0400 (Tue, 27 May 2008) | 2 lines * numeric.c (num_fdiv): fallback to_f should always return float result. should not use #quo that may return rational. ........ r16650 | matz | 2008-05-27 08:51:28 -0400 (Tue, 27 May 2008) | 6 lines * numeric.c (num_div): should raise ZeroDivisionError. * numeric.c (fix_divide): ditto. * test/ruby/test_numeric.rb (TestNumeric::test_divmod): avoid ZeroDivisionError in tests. ........ r16651 | nobu | 2008-05-27 08:53:51 -0400 (Tue, 27 May 2008) | 3 lines * thread.c (rb_thread_execute_interrupts): delay interrupts during raising exceptions. [ruby-dev:34855] ........ r16652 | nobu | 2008-05-27 09:10:46 -0400 (Tue, 27 May 2008) | 3 lines * eval_error.c (error_handle): SystemExit and SignalException throws TAG_RAISE but not TAG_FATAL. ........ r16653 | akr | 2008-05-27 19:43:46 -0400 (Tue, 27 May 2008) | 2 lines * numeric.c: "%" is required before PRI?VALUE. ........ r16654 | nobu | 2008-05-27 23:52:44 -0400 (Tue, 27 May 2008) | 5 lines * marshal.c (w_object, marshal_dump, r_object0, marshal_load): search private methods too. [ruby-dev:34671] * object.c (convert_type): ditto. ........ r16657 | naruse | 2008-05-28 00:35:59 -0400 (Wed, 28 May 2008) | 3 lines * enc/trans/japanese.c: add workarround for Unicode to CP932. U+2015->0x815C, U+2225->0x8161, U+FF0D->0x817C, U+FF3C->0x815F, U+FF5E->0x8160, U+FFE0->0x8191, U+FFE1->0x8192, U+FFE2->0x81CA ........ r16659 | nobu | 2008-05-28 02:18:18 -0400 (Wed, 28 May 2008) | 2 lines * lib/singleton.rb (SingletonClassMethods): _load should be public. ........ r16660 | nobu | 2008-05-28 02:32:10 -0400 (Wed, 28 May 2008) | 2 lines * io.c (rb_getc): same as rb_read_check. ........ r16661 | usa | 2008-05-28 02:54:18 -0400 (Wed, 28 May 2008) | 3 lines * enc/trans/japanese.c (to_SHIFT_JIS_EF_infos): typo. ........ r16662 | knu | 2008-05-28 03:13:04 -0400 (Wed, 28 May 2008) | 5 lines * lib/webrick/httpservlet/cgihandler.rb (WEBrick::HTTPServlet::CGIHandler#do_GET): Set the HTTP status code to 302 if a Location header field is present and the status code is not valid as a client redirection. cf. RFC 3875 6.2.3, 6.2.4. ........ r16665 | knu | 2008-05-28 03:52:34 -0400 (Wed, 28 May 2008) | 3 lines * array.c (rb_ary_slice_bang): Call rb_ary_modify_check() at the beginning. [rubyspec] ........ r16667 | usa | 2008-05-28 04:37:37 -0400 (Wed, 28 May 2008) | 3 lines * win32/mkexports.rb (Exports::Mswin#each_export): speed up. ........ r16668 | nobu | 2008-05-28 04:41:52 -0400 (Wed, 28 May 2008) | 7 lines * Makefile.in (MKPREP): appended $(RBCONFIG). * common.mk (enc.mk, prelude.c): not depend on $(RBCONFIG) on mswin32 to get of compiling twice each time. * win32/Makefile.sub (prelude.c): not depend on $(PREP). ........ r16669 | nobu | 2008-05-28 04:50:41 -0400 (Wed, 28 May 2008) | 2 lines * win32/mkexports.rb (Exports#objdump, Exports#each_line): extracted. ........ r16674 | nobu | 2008-05-28 05:10:50 -0400 (Wed, 28 May 2008) | 2 lines * ext/purelib.rb: get rid of recent feature. [ruby-dev:34864] ........ r16675 | knu | 2008-05-28 05:12:28 -0400 (Wed, 28 May 2008) | 3 lines * array.c (rb_ary_nitems, Init_Array): Axe Array#nitems(). cf. [ruby-dev:34676]-[ruby-dev:34713] ........ r16677 | nobu | 2008-05-29 04:52:31 -0400 (Thu, 29 May 2008) | 3 lines * ext/zlib/extconf.rb: search zlib1, and regard mswin32 later than VC6 as WIN32. [ruby-core:16984] ........ r16680 | mame | 2008-05-29 09:30:09 -0400 (Thu, 29 May 2008) | 3 lines * io.c (argf_external_encoding, argf_internal_encoding): fix SEGV by ARGF.external_encoding. ........ r16681 | mame | 2008-05-29 09:42:20 -0400 (Thu, 29 May 2008) | 2 lines * io.c (argf_readchar): raise EOFError, synchronizing IO#readchar. ........ r16682 | mame | 2008-05-29 09:44:29 -0400 (Thu, 29 May 2008) | 2 lines remove a compile error. ........ r16683 | mame | 2008-05-29 09:48:54 -0400 (Thu, 29 May 2008) | 5 lines * test/ruby/test_argf.rb: new tests for ARGF, to achieve over 85% test coverage of file.c. * test/ruby/test_io.rb: add tests. ........ r16684 | knu | 2008-05-29 09:49:15 -0400 (Thu, 29 May 2008) | 2 lines Fix: nitem == count {|i| !i.nil?} ........ r16685 | knu | 2008-05-29 09:50:59 -0400 (Thu, 29 May 2008) | 1 line Fix a typo. ........ r16686 | mame | 2008-05-29 09:51:52 -0400 (Thu, 29 May 2008) | 3 lines * test/ruby/test_require.rb: add a test for load with wrap flag, to achieve 100% test coverage of eval_jump.c. ........ r16687 | mame | 2008-05-29 12:00:49 -0400 (Thu, 29 May 2008) | 2 lines * test/ruby/test_regexp.rb: add tests. ........ r16688 | mame | 2008-05-29 13:08:48 -0400 (Thu, 29 May 2008) | 3 lines * signal.c (esignal_init): handle a non-integer argument correctly, allowing SignalException.new(:INT). ........ r16689 | knu | 2008-05-29 13:41:56 -0400 (Thu, 29 May 2008) | 10 lines * ext/openssl/ossl_bn.c (ossl_bn_s_rand, ossl_bn_s_pseudo_rand), ext/openssl/ossl_pkey_dh.c (ossl_dh_s_generate) (ossl_dh_initialize), ext/openssl/ossl_pkey_dsa.c (ossl_dsa_s_generate), ext/openssl/ossl_rand.c (ossl_rand_bytes) (ossl_rand_pseudo_bytes, ossl_rand_egd_bytes), ext/openssl/ossl_x509store.c (ossl_x509stctx_set_error): Do not use FIX2INT() without checking the value type. Use NUM2INT() instead; found by akr in [ruby-dev:34890]. ........ r16692 | knu | 2008-05-29 14:15:50 -0400 (Thu, 29 May 2008) | 3 lines * ext/openssl/ossl_bn.c (ossl_bn_s_rand, ossl_bn_s_pseudo_rand): Int should be enough here. ........ r16693 | knu | 2008-05-29 15:18:54 -0400 (Thu, 29 May 2008) | 4 lines * enum.c (enum_count, count_all_i, Init_Enumerable), array.c (rb_ary_count): If no argument or block is given, count the number of all elements. ........ r16697 | naruse | 2008-05-29 18:12:57 -0400 (Thu, 29 May 2008) | 1 line * enc/utf_8.c: add UTF8-MAC (UTF-8-MAC). ........ r16698 | nobu | 2008-05-29 20:54:20 -0400 (Thu, 29 May 2008) | 1 line * ChangeLog: missing log for r16677. ........ r16699 | nobu | 2008-05-29 21:52:38 -0400 (Thu, 29 May 2008) | 7 lines * vm_core.h (struct rb_unblock_callback), thread.c (set_unblock_function), thread_{pthread,win32}.c (native_sleep): extracted from struct rb_thread_struct. * thread.c (reset_unblock_function): not check interrupts at leaving blocking region. [ruby-dev:34874] ........ r16700 | nobu | 2008-05-29 21:55:45 -0400 (Thu, 29 May 2008) | 7 lines * vm_core.h (struct rb_unblock_callback), thread.c (set_unblock_function), thread_{pthread,win32}.c (native_sleep): extracted from struct rb_thread_struct. * thread.c (reset_unblock_function): not check interrupts at leaving blocking region. [ruby-dev:34874] ........ r16703 | nobu | 2008-05-29 23:18:45 -0400 (Thu, 29 May 2008) | 4 lines * common.mk (prelude.c): simply depends on PREP. [ruby-dev:34877] * enc/make_encdb.rb, enc/trans/make_transdb.rb: ditto. ........ r16704 | mame | 2008-05-30 09:15:03 -0400 (Fri, 30 May 2008) | 2 lines * compile.c (defined_expr): fix SEGV by defined?([1]). ........ r16705 | mame | 2008-05-30 09:18:17 -0400 (Fri, 30 May 2008) | 6 lines * test/ruby/test_argf.rb: rename a conflicting method name. * test/ruby/test_string.rb: ditto. * test/ruby/test_io.rb: ditto. ........ r16706 | mame | 2008-05-30 09:32:39 -0400 (Fri, 30 May 2008) | 6 lines * signal.c (esignal_signo): fix SignalException#signo which returned nil absolutely. * signal.c (esignal_init): always prepend "SIG" to a string that is returned by SignalException#signm. ........ r16707 | mame | 2008-05-30 09:42:23 -0400 (Fri, 30 May 2008) | 3 lines * test/ruby/test_signal.rb: add tests to achieve over 80% test coverage of signal.c. ........ r16708 | mame | 2008-05-30 09:47:54 -0400 (Fri, 30 May 2008) | 2 lines * test/ruby/test_regexp.rb: add tests. ........ r16709 | kazu | 2008-05-30 10:56:56 -0400 (Fri, 30 May 2008) | 2 lines * test/ruby/test_rubyoptions.rb: add a test of RUBY_DESCRIPTION. ........ r16711 | akr | 2008-05-30 23:03:24 -0400 (Fri, 30 May 2008) | 2 lines * test/ruby/envutil.rb (assert_normal_exit): show pid when fail. ........ r16712 | nobu | 2008-05-31 01:55:34 -0400 (Sat, 31 May 2008) | 2 lines * include/ruby/ruby.h: renamed include guard. ........ r16713 | nobu | 2008-05-31 02:17:45 -0400 (Sat, 31 May 2008) | 3 lines * include/ruby/mvm.h: new header file for MVM, and moved rb_vm_t and rb_thread_t from vm_core.h. ........ r16714 | nobu | 2008-05-31 02:58:11 -0400 (Sat, 31 May 2008) | 3 lines * Makefile.in, configure.in (warnflags): defaulted to -Wall -Wno-parentheses with gcc. [ruby-dev:34810] ........ r16715 | matz | 2008-05-31 05:27:42 -0400 (Sat, 31 May 2008) | 2 lines * array.c (rb_ary_delete_if): should return enumerator if no block is given. [ruby-dev:34901] ........ r16716 | nobu | 2008-05-31 05:28:20 -0400 (Sat, 31 May 2008) | 2 lines * suppress warnings with -Wwrite-string. ........ r16717 | naruse | 2008-05-31 06:14:38 -0400 (Sat, 31 May 2008) | 2 lines * enc/utf_16{be,le}.c (utf16{be,le}_code_to_mbc): fix codepoint to bytes. ........ r16718 | mame | 2008-05-31 07:28:49 -0400 (Sat, 31 May 2008) | 2 lines * test/ruby/test_regexp.rb: add tests. ........ r16724 | akr | 2008-05-31 10:03:23 -0400 (Sat, 31 May 2008) | 2 lines * gc.c (count_objects): clear given hash. ........ r16725 | knu | 2008-05-31 10:34:23 -0400 (Sat, 31 May 2008) | 2 lines * README, README.ja: Add a note about default C flags. ........ r16733 | akr | 2008-05-31 21:24:35 -0400 (Sat, 31 May 2008) | 2 lines debug print removed. ........ r16734 | akr | 2008-05-31 21:32:54 -0400 (Sat, 31 May 2008) | 2 lines * test/ruby/envutil.rb (assert_normal_exit): show coredump status. ........ r16735 | naruse | 2008-05-31 23:23:50 -0400 (Sat, 31 May 2008) | 12 lines * insns.def (DEFINE_INSN): subtract of pointers is ptrdiff_t. this is not int on 64bit system. * vm_dump.c (control_frame_dump): ditto. * vm_dump.c (stack_dump_each): ditto. * vm_dump.c (debug_print_register): ditto. * vm_dump.c (debug_print_pre): ditto. * transcode.c (str_transcode): ditto. ........ r16736 | naruse | 2008-06-01 14:23:10 -0400 (Sun, 01 Jun 2008) | 5 lines * rational.c (string_to_r_internal): use rb_isdigit. * marshal.c (long_toobig): use %zd. * ruby.c (set_arg0): move unused variable definition. ........ r16737 | naruse | 2008-06-01 14:29:08 -0400 (Sun, 01 Jun 2008) | 4 lines * enc/gb18030.c (gb18030_mbc_to_code): mask by 0x7FFFFFFF because OnigCodePoint will be used as 32bit signed int. Masking by 0x7FFFFFFF is ok on GB18030; Minumum 4bytes character is 0x81308130. ........ r16738 | nobu | 2008-06-01 14:52:15 -0400 (Sun, 01 Jun 2008) | 2 lines * ruby.c (set_arg0): reverted used variable definition. ........ r16739 | naruse | 2008-06-01 15:36:28 -0400 (Sun, 01 Jun 2008) | 2 lines * enc/gb18030.c (gb18030_code_to_mbc): add 0x80000000 for 4bytes character. ........ r16740 | nobu | 2008-06-01 15:55:25 -0400 (Sun, 01 Jun 2008) | 2 lines * suppress warnings on cygwin, mingw and mswin. ........ r16742 | nobu | 2008-06-01 19:47:02 -0400 (Sun, 01 Jun 2008) | 3 lines * util.c (ruby_strtod, dtoa): initialize more variables for error handling. ........ r16743 | usa | 2008-06-02 00:07:07 -0400 (Mon, 02 Jun 2008) | 3 lines * mkconfig.rb: hide build path from rbconfig.rb. ........ r16747 | knu | 2008-06-02 01:49:33 -0400 (Mon, 02 Jun 2008) | 2 lines Remove what have been backported to 1.8.7. ........ r16749 | knu | 2008-06-02 03:10:35 -0400 (Mon, 02 Jun 2008) | 7 lines * lib/erb.rb (ERB::Compiler::TrimScanner#scan_line): Fix a bug where tokens are not yilelded one by one. * test/erb/test_erb.rb (TestERBCore#_test_01) (TestERBCore#test_02_safe_04): The expected value should come first for assert_equal(). ........ r16750 | knu | 2008-06-02 03:15:12 -0400 (Mon, 02 Jun 2008) | 3 lines * lib/erb.rb (ERB::Compiler::TrimScanner#scan_line): Oops. This change did not apply to trunk. Backed out. ........ r16751 | knu | 2008-06-02 03:29:03 -0400 (Mon, 02 Jun 2008) | 4 lines * lib/delegate.rb (Delegator::MethodDelegation#respond_to): respond_to? should now take optional second argument; submitted by Jeremy Kemper <jeremy at bitsweat.net> in [ruby-core:17045]. ........ r16754 | nobu | 2008-06-02 05:51:30 -0400 (Mon, 02 Jun 2008) | 6 lines * lib/un.rb (wait_writable): wait until target files can be written actually. * win32/Makefile.sub (LDSHARED_0, LINK_SO): get rid of failure of mt.exe. ........ r16755 | akr | 2008-06-02 06:18:38 -0400 (Mon, 02 Jun 2008) | 2 lines * test/ruby/test_argf.rb (teardown): remove renamed temporary files. ........ r16757 | mame | 2008-06-02 08:45:42 -0400 (Mon, 02 Jun 2008) | 8 lines * re.c: fix SEGV by Regexp.allocate.names, Match.allocate.names, etc. * test/ruby/test_regexp.rb: add tests for above. * io.c: fix SEGV by IO.allocate.print, etc. * test/ruby/test_io.rb: add tests for above. ........ r16758 | mame | 2008-06-02 08:57:18 -0400 (Mon, 02 Jun 2008) | 6 lines * test/ruby/test_file.rb: add tests for uninitialized object. * test/ruby/test_class.rb: ditto. * test/ruby/test_thread.rb: ditto. ........ r16759 | mame | 2008-06-02 09:30:38 -0400 (Mon, 02 Jun 2008) | 12 lines * enc/iso_8859_5.c: Large omicron should lowercase to small omicron. * test/ruby/test_big5.rb, test/ruby/test_cp949.rb, test/ruby/test_euc_jp.rb, test/ruby/test_euc_kr.rb, test/ruby/test_euc_tw.rb, test/ruby/test_gb18030.rb, test/ruby/test_gbk.rb, test/ruby/test_iso_8859.rb, test/ruby/test_koi8.rb, test/ruby/test_shift_jis.rb, test/ruby/test_windows_1251.rb: new tests for encoding. * test/ruby/test_utf16.rb, test/ruby/test_utf32.rb, test/ruby/test_regexp.rb: add tests. ........ r16760 | mame | 2008-06-02 09:32:05 -0400 (Mon, 02 Jun 2008) | 2 lines propset svn:eol-style LF ........ r16761 | mame | 2008-06-02 11:29:11 -0400 (Mon, 02 Jun 2008) | 3 lines * marshal.c (w_object): add a check for modification of array during its dump. ........ r16762 | mame | 2008-06-02 12:22:47 -0400 (Mon, 02 Jun 2008) | 2 lines * test/ruby/test_method.rb: add a test. ........ r16767 | knu | 2008-06-02 23:58:30 -0400 (Mon, 02 Jun 2008) | 5 lines * enumerator.c (enumerator_allocate, enumerator_ptr): Properly detect if the object is initialized and raise error when appropriate. (enumerator_initialize): Fix a typo in rdoc. [ruby-core:17052] ........ r16770 | usa | 2008-06-03 00:36:28 -0400 (Tue, 03 Jun 2008) | 3 lines * process.c (run_exec_pgroup): C99 ism. ........ r16771 | knu | 2008-06-03 00:42:32 -0400 (Tue, 03 Jun 2008) | 8 lines * lib/set.rb (Set#collect, Set#select): Override Enumerable methods and make them return a set. [ruby-core:17055] (Set#delete_if, Set#collect!, Set#reject!, Set#classify) (Set#divide, Set#delete_if): Return an enumerator if no block is given. (Set#classify): Define an alias `group_by' to override that of Enumerable. ........ r16772 | knu | 2008-06-03 02:01:29 -0400 (Tue, 03 Jun 2008) | 3 lines * lib/set.rb (Set#collect, Set#select): Back out. I thought it was consistent but turned out to be wrong. ........ r16773 | knu | 2008-06-03 02:04:54 -0400 (Tue, 03 Jun 2008) | 1 line Properly back out. ........ r16777 | knu | 2008-06-03 02:13:22 -0400 (Tue, 03 Jun 2008) | 3 lines * lib/set.rb (Set#classify): Back out the `group_by' alias. Better think twice. ........ r16785 | nobu | 2008-06-03 03:06:23 -0400 (Tue, 03 Jun 2008) | 3 lines * file.c (file_expand_path): fix for non-existent files and SFN of symlinks. [ruby-talk:303736] ........ r16790 | knu | 2008-06-03 06:34:45 -0400 (Tue, 03 Jun 2008) | 3 lines * enumerator.c (enumerator_init_copy): Take care of initialize_copy as well as initialize. ........ r16793 | nobu | 2008-06-03 07:04:18 -0400 (Tue, 03 Jun 2008) | 3 lines * win32/Makefile.sub (miniruby$(EXEEXT)): miniruby cannot be written by miniruby itself. ........ r16795 | knu | 2008-06-03 08:43:45 -0400 (Tue, 03 Jun 2008) | 2 lines * enumerator.c (enumerator_with_memo): New method: with_memo(). ........ r16796 | mame | 2008-06-03 09:26:38 -0400 (Tue, 03 Jun 2008) | 2 lines * test/etc/test_etc.rb: new tests for etc. ........ r16797 | mame | 2008-06-03 09:34:48 -0400 (Tue, 03 Jun 2008) | 8 lines * test/ruby/test_dir.rb: add tests to achieve over 90% test coverage of dir.c. * test/ruby/test_encoding.rb: add tests for dummy?, name_list and aliases. * test/ruby/test_marshal.rb: add some tests. ........ r16798 | mame | 2008-06-03 09:37:59 -0400 (Tue, 03 Jun 2008) | 2 lines * ext/strscan/strscan.c (strscan_exist_p): fix document. ........ r16799 | mame | 2008-06-03 10:07:50 -0400 (Tue, 03 Jun 2008) | 3 lines * ext/strscan/strscan.c (strscan_scan_full, strscan_search_full): fix document. ........ r16800 | nobu | 2008-06-04 00:07:01 -0400 (Wed, 04 Jun 2008) | 3 lines * configure.in (CFLAGS, CXXFLAGS): include additional flags to CFLAGS and CXXFLAGS while configuration. ........ r16801 | akr | 2008-06-04 02:04:38 -0400 (Wed, 04 Jun 2008) | 2 lines avoid infinite loop on FreeBSD 6.3. ........ r16802 | knu | 2008-06-04 02:46:54 -0400 (Wed, 04 Jun 2008) | 3 lines * enumerator.c (enumerator_with_index, enumerator_with_memo): Fix grammo in rdoc. ........ r16809 | nobu | 2008-06-04 04:52:25 -0400 (Wed, 04 Jun 2008) | 3 lines * ext/iconv/iconv.c (iconv_iconv): fix for length argument and now allows range. [ruby-core:17092] ........ r16810 | matz | 2008-06-04 05:37:38 -0400 (Wed, 04 Jun 2008) | 2 lines * lib/rdoc.rb: massive spelling correction patch from Evan Farrar <evanfarrar at gmail.com> in [ruby-doc:1382] applied. ........ r16813 | matz | 2008-06-04 05:55:14 -0400 (Wed, 04 Jun 2008) | 2 lines * object.c (rb_obj_alloc): RDoc updated. a patch from Gaston Ramos <ramos.gaston at gmail.com> in [ruby-core:17073]. ........ r16819 | mame | 2008-06-04 10:11:06 -0400 (Wed, 04 Jun 2008) | 2 lines * ext/zlib/zlib.c (rb_gzfile_set_mtime): fix typo. ........ r16820 | mame | 2008-06-04 12:30:03 -0400 (Wed, 04 Jun 2008) | 2 lines * test/ruby/test_process.rb: add tests. ........ r16821 | mame | 2008-06-04 12:48:07 -0400 (Wed, 04 Jun 2008) | 2 lines * test/ruby/test_transcode.rb: add tests for iso-2022-jp. ........ r16822 | ko1 | 2008-06-04 19:13:27 -0400 (Wed, 04 Jun 2008) | 3 lines * string.c (hash): should be "static". ........ r16823 | nobu | 2008-06-04 21:58:49 -0400 (Wed, 04 Jun 2008) | 2 lines * test/iconv/test_simple.rb: added. ........ r16833 | nobu | 2008-06-05 00:58:41 -0400 (Thu, 05 Jun 2008) | 4 lines * test/iconv/test_{basic,option}.rb, test/iconv/utils.rb: added. * test/iconv/test_partial.rb: renamed from test_simple.rb. ........ r16834 | nobu | 2008-06-05 01:03:46 -0400 (Thu, 05 Jun 2008) | 2 lines * ext/iconv/iconv.c (iconv_create): find encoding without options. ........ r16835 | nobu | 2008-06-05 01:35:00 -0400 (Thu, 05 Jun 2008) | 2 lines * test/iconv/utils.rb (TestIconv.testcase): make test cases conditionally. ........ r16840 | mame | 2008-06-05 07:22:32 -0400 (Thu, 05 Jun 2008) | 5 lines * lib/rexml/document.rb (REXML::Document:write): leaky modification trans -> transitive. [ruby-dev:32040], r13686 * lib/rexml/text.rb (Text.check): fix check for illigal characher. ........ r16841 | mame | 2008-06-05 07:24:40 -0400 (Thu, 05 Jun 2008) | 2 lines * thread.c (thread_set_trace_func_m): fix check for proc argument. ........ r16842 | knu | 2008-06-05 07:36:55 -0400 (Thu, 05 Jun 2008) | 12 lines * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_initialize): Add a null check for ssl; submitted by akira yamada in [ruby-dev:34950]. * ext/openssl/ossl_ssl.c (Init_ossl_ssl): Define OP_NO_TICKET if SSL_OP_NO_TICKET is present; submitted by akira yamada in [ruby-dev:34944]. * test/openssl/test_ssl.rb (OpenSSL#test_server_session): Add a workaround for the case where OpenSSL is configured with --enable-tlsext; submitted by akira yamada in [ruby-dev:34944]. ........ r16844 | mame | 2008-06-05 08:47:48 -0400 (Thu, 05 Jun 2008) | 4 lines * st.c (st_reverse_foreach): comment out unused function. * util.c (dtoa): ditto. ........ r16845 | akr | 2008-06-05 09:52:02 -0400 (Thu, 05 Jun 2008) | 2 lines * gc.c (os_obj_of): heaps may be modified in yield. ........ r16846 | mame | 2008-06-05 10:27:09 -0400 (Thu, 05 Jun 2008) | 5 lines * eval.c (ruby_finalize_0): clear trace_func after executing END procs. * thread.c: fix typo. ........ r16847 | mame | 2008-06-05 10:33:01 -0400 (Thu, 05 Jun 2008) | 5 lines * test/stringio/test_stringio.rb: add tests to achieve over 95% test coverage of stringio. * test/strscan/test_stringscanner.rb: ditto for strscan. ........ r16848 | mame | 2008-06-05 10:41:41 -0400 (Thu, 05 Jun 2008) | 5 lines * gc.c (rb_objspace_alloc): this function is needed only when ENABLE_VM_OBJSPACE macro is defined. * vm.c: ditto. ........ r16849 | mame | 2008-06-05 10:57:05 -0400 (Thu, 05 Jun 2008) | 7 lines * test/ruby/test_gc.rb: add tests to achieve over 90% test coverage of gc.c. * test/ruby/test_objectspace.rb: ditto. * test/ruby/test_marshal.rb: ditto. ........ r16850 | akr | 2008-06-05 11:08:12 -0400 (Thu, 05 Jun 2008) | 3 lines * lib/time.rb (Time.xmlschema): don't use float. fix http://rubyforge.org/tracker/index.php?func=detail&group_id=426&atid=1698&aid=20504 ........ r16852 | nobu | 2008-06-05 23:21:43 -0400 (Thu, 05 Jun 2008) | 3 lines * ext/iconv/iconv.c (iconv_iconv): no needs to initialize with Qnil before rb_scan_args call. ........ r16853 | akr | 2008-06-06 02:05:44 -0400 (Fri, 06 Jun 2008) | 2 lines * gc.c (count_objects): clear hash after counting objects. ........ r16854 | usa | 2008-06-06 03:43:45 -0400 (Fri, 06 Jun 2008) | 3 lines * include/ruby/win32.h: include ws2tcpip.h. fixed [ruby-Bugs-20528] ........ r16859 | nobu | 2008-06-06 05:25:46 -0400 (Fri, 06 Jun 2008) | 2 lines * test/iconv/utils.rb (default_test): override not to croak. ........ r16867 | usa | 2008-06-06 08:52:30 -0400 (Fri, 06 Jun 2008) | 9 lines * win32/Makefile.sub (COMMON_HEADERS): include ws2tcpip.h. * ext/socket/addrinfo.h (addrinfo, getaddrinfo, getnameinfo, freehostent, freeaddrinfo): undef before define because these are macros in some versions of Windows SDK. merged from ruby_1_8. ........ r16868 | ko1 | 2008-06-06 10:48:07 -0400 (Fri, 06 Jun 2008) | 4 lines * vm_insnhelper.c (vm_callee_setup_arg): check simple flag before calling setup_arg function(). this change reduce function call. ........ r16869 | usa | 2008-06-06 12:26:05 -0400 (Fri, 06 Jun 2008) | 4 lines * io.c (rb_open_file, rb_io_s_sysopen): fmode should be unsigned int. fixed [ruby-dev:34979] ........ r16871 | nobu | 2008-06-07 03:06:19 -0400 (Sat, 07 Jun 2008) | 2 lines * configure.in (CFLAGS, CXXFLAGS): append default flags. ........ r16873 | nobu | 2008-06-07 08:38:03 -0400 (Sat, 07 Jun 2008) | 5 lines * io.c (rb_f_open), re.c (rb_reg_search), transcode.c (str_transcode): suppress warnings. * util.c (quorem, rv_alloc, nrv_alloc): only used in dtoa(). ........ r16874 | nobu | 2008-06-07 09:15:04 -0400 (Sat, 07 Jun 2008) | 4 lines * configure.in (VENDOR_DIR): use LIBDIR instead of PREFIX as well as SITE_DIR. a patch from Richard Brown <rbrown AT exherbo.org> in [ruby-core:17129]. ........ r16875 | knu | 2008-06-07 10:57:16 -0400 (Sat, 07 Jun 2008) | 3 lines * ext/zlib/zlib.c (rb_deflate_initialize, Init_zlib): Fix up initialize_copy; [ruby-list:45016]. ........ r16880 | akr | 2008-06-07 12:19:47 -0400 (Sat, 07 Jun 2008) | 2 lines * hash.c (hash_i): make Hash#hash order insensitive. ........ r17016 | akr | 2008-06-07 23:01:55 -0400 (Sat, 07 Jun 2008) | 2 lines avoid dead lock on MacOS X. ........ r17017 | ko1 | 2008-06-08 06:01:40 -0400 (Sun, 08 Jun 2008) | 15 lines * array.c, bignum.c, cont.c, dir.c, dln.c, encoding.c, enumerator.c, enumerator.c (enumerator_allocate), eval_jump.c, file.c, hash.c, io.c, load.c, pack.c, proc.c, random.c, re.c, ruby.c, st.c, string.c, thread.c, thread_pthread.c, time.c, util.c, variable.c, vm.c, gc.c: allocated memory objects by xmalloc (ruby_xmalloc) should be freed by xfree (ruby_xfree). * ext/curses/curses.c, ext/dbm/dbm.c, ext/digest/digest.c, ext/gdbm/gdbm.c, ext/json/ext/parser/parser.c, ext/json/ext/parser/unicode.c, ext/openssl/ossl_cipher.c, ext/openssl/ossl_hmac.c, ext/openssl/ossl_pkey_ec.c, ext/sdbm/init.c, ext/strscan/strscan.c, ext/zlib/zlib.c: ditto. ........ r17018 | ko1 | 2008-06-08 06:27:06 -0400 (Sun, 08 Jun 2008) | 11 lines * gc.c: add a build option "CALC_EXACT_MALLOC_SIZE". This option enables to calculate exact size of current allocated size by malloc(). You can access these information with GC.malloc_allocated_size and GC.malloc_allocations. This option consume additional memory as a header of each memory object. This option also helps to find out xmalloc()/xfree() consistency. If you get trouble with this option, some extension using "free()" instead of "xfree()". This options is disabled by default. ........ r17019 | wanabe | 2008-06-08 07:18:54 -0400 (Sun, 08 Jun 2008) | 2 lines * vm_insnhelper.c (vm_throw): regard break as return in lambda. [ruby-dev:34646] ........ r17020 | mame | 2008-06-08 08:51:25 -0400 (Sun, 08 Jun 2008) | 3 lines * test/zlib/test_zlib.rb: add tests to achieve over 90% test coverage of zlib. ........ r17021 | wanabe | 2008-06-08 09:24:13 -0400 (Sun, 08 Jun 2008) | 6 lines * vm_insnhelper.c, vm.c, proc.c (proc_call): allow call method with block that both is written in C. [ruby-dev:34273] [ruby-core:15551] * proc.c (curry): use proc_call instead of rb_proc_call. [ruby-dev:34273] [ruby-core:15551] ........ r17023 | knu | 2008-06-08 13:35:41 -0400 (Sun, 08 Jun 2008) | 3 lines * ext/zlib/zlib.c (rb_deflate_init_copy): Copy buffers as well. [ruby-list:45018] ........ r17024 | knu | 2008-06-08 13:39:53 -0400 (Sun, 08 Jun 2008) | 1 line Ignore config.status.lineno. ........ r17027 | ko1 | 2008-06-08 14:13:09 -0400 (Sun, 08 Jun 2008) | 4 lines * bootstraptest/pending.rb: move/remove solved issues. * bootstraptest/test_class.rb: ditto. ........ r17035 | wanabe | 2008-06-08 19:16:46 -0400 (Sun, 08 Jun 2008) | 1 line * vm_insnhelper.c, vm.c, proc.c : revert r17021. [ruby-dev:34997] ........ r17036 | nobu | 2008-06-08 20:54:23 -0400 (Sun, 08 Jun 2008) | 2 lines * include/ruby/intern.h (Init_stack): make to call ruby_init_stack. ........ r17037 | nobu | 2008-06-08 22:58:23 -0400 (Sun, 08 Jun 2008) | 2 lines * vm.c (rb_thread_recycle_stack_release): reduce redundant code. ........ r17038 | nobu | 2008-06-09 00:20:07 -0400 (Mon, 09 Jun 2008) | 12 lines * vm_core.h (struct rb_vm_struct): moved src_encoding_index. * ruby.c (struct cmdline_options): moved setids and req_list, and the latter is now an array, to prevent memory leak. * ruby.c (cmdline_options_init): added. * ruby.c (add_modules, require_libraries, init_ids, forbid_setid): use struct cmdline_options. * vm.c (vm_init2): initialize src_encoding_index. ........ r17039 | nobu | 2008-06-09 01:18:03 -0400 (Mon, 09 Jun 2008) | 7 lines * vm_core.h (struct rb_vm_struct): moved ruby_debug, ruby_verbose, and rb_progname. * ruby.c (rb_argv0): no longer used. * vm.c: getters/setters for ruby_{debug,verbose}. ........ r17040 | nobu | 2008-06-09 01:39:57 -0400 (Mon, 09 Jun 2008) | 2 lines * rational.c (make_patterns): constified. ........ r17041 | nobu | 2008-06-09 01:42:04 -0400 (Mon, 09 Jun 2008) | 1 line * complex.c (make_patterns): constified. ........ r17042 | matz | 2008-06-09 02:40:02 -0400 (Mon, 09 Jun 2008) | 1 line * ruby.c (require_libraries): req_list may be NULL. [ruby-dev:35008] ........ r17043 | matz | 2008-06-09 02:41:06 -0400 (Mon, 09 Jun 2008) | 1 line * test/ruby/test_dir.rb (TestDir::test_glob): glob file names not sorted. ........ r17044 | akr | 2008-06-09 04:48:41 -0400 (Mon, 09 Jun 2008) | 3 lines * io.c (fptr_finalize): close IO object if fd is already closed. (rb_p): call rb_io_write just once. ........ r17045 | knu | 2008-06-09 04:58:30 -0400 (Mon, 09 Jun 2008) | 8 lines * lib/set.rb (Set#delete_if): Call to_a. (SortedSet#delete_if, TC_SortedSet#test_sortedset): Use super to yield elements in sorted order; [ruby-core:17144] by Arthur Schreiber. (SortedSet#each, SortedSet#each, TC_Set#test_each) (TC_SortedSet#test_sortedset): Return self; [ruby-dev:35002] by Arthur Schreiber. ........ r17053 | nobu | 2008-06-09 05:25:32 -0400 (Mon, 09 Jun 2008) | 4 lines * include/ruby/ruby.h (CONST_ID): constant ID cache for non-gcc. * *.c: no cache in init functions. ........ r17055 | nobu | 2008-06-09 05:51:21 -0400 (Mon, 09 Jun 2008) | 1 line * ext/socket/socket.c: constified. ........ r17056 | tadf | 2008-06-09 08:02:29 -0400 (Mon, 09 Jun 2008) | 4 lines * complex.c (nucomp_s_convert): can accept Complex('i'). [ruby-dev:34991] and some minor changes. ........ r17057 | ko1 | 2008-06-09 08:10:43 -0400 (Mon, 09 Jun 2008) | 4 lines * bootstraptest/test_knownbug.rb -> ./test_knownbug.rb: moved. * common.mk: add a rule "test-knownbug". ........ r17058 | nobu | 2008-06-09 08:14:39 -0400 (Mon, 09 Jun 2008) | 2 lines * lib/mkmf.rb (configuration): set flags. ........ r17059 | ko1 | 2008-06-09 08:15:53 -0400 (Mon, 09 Jun 2008) | 4 lines * test_knownbug.rb -> KNOWNBUGS.rb: renamed. * common.mk: apply above change. ........ r17060 | nobu | 2008-06-09 08:17:29 -0400 (Mon, 09 Jun 2008) | 2 lines * enc/depend (clean): remove build directories. ........ r17061 | wanabe | 2008-06-09 09:49:16 -0400 (Mon, 09 Jun 2008) | 2 lines * compile.c : treat []&&= in virtually the same way as []||=. [ruby-dev:34679] ........ r17062 | akr | 2008-06-09 10:25:39 -0400 (Mon, 09 Jun 2008) | 2 lines * eval.c (Init_stack): don't declare. it is a macro now. ........ r17063 | akr | 2008-06-09 11:11:38 -0400 (Mon, 09 Jun 2008) | 2 lines * common.mk (test-knownbug): give $(OPTS) for bootstraptest/runner.rb. ........ r17064 | tadf | 2008-06-09 11:13:45 -0400 (Mon, 09 Jun 2008) | 2 lines fixed ........ r17065 | mame | 2008-06-09 11:52:51 -0400 (Mon, 09 Jun 2008) | 19 lines * include/ruby/ruby.h, vm_core.h: add a type rb_blockptr. * vm_insnhelper.c (vm_yield_with_cfunc): vm_yield_with_cfunc receives blockptr and passes it to iterating block. * proc.c (rb_proc_call), include/ruby/intern.h: rb_proc_call receives blockptr. "rb_proc_call(self, args, blockptr)" in C corresponds to "self.call(*args, &block)" in Ruby. * proc.c (proc_call): pass blockptr to block that is written in C. * proc.c (curry): receive blockptr and pass it to original proc. [ruby-core:15551] * vm.c (invoke_block_from_c): fix for change of vm_yield_with_cfunc. * thread.c (call_trace_proc), eval_jump.c (rb_call_end_proc): fix for change of rb_proc_call. ........ r17066 | nobu | 2008-06-09 22:24:45 -0400 (Mon, 09 Jun 2008) | 2 lines * include/ruby/encoding.h: not to use varargs.h since requiring C89. ........ r17067 | nobu | 2008-06-09 22:25:18 -0400 (Mon, 09 Jun 2008) | 2 lines * ruby.c (rb_argv0): revised for ext/tk. ........ r17068 | nobu | 2008-06-09 23:43:33 -0400 (Mon, 09 Jun 2008) | 2 lines * include/ruby/ruby.h (CONST_ID_CACHE): fixed statement expression. ........ r17069 | nobu | 2008-06-09 23:58:09 -0400 (Mon, 09 Jun 2008) | 2 lines * ext/io/wait/wait.c (FIONREAD_POSSIBLE_P): suppress warnings. ........ r17071 | matz | 2008-06-10 02:15:10 -0400 (Tue, 10 Jun 2008) | 2 lines * rational.c (nurat_s_convert): need not to initialize optional argument for rb_scan_args(). ........ r17072 | wanabe | 2008-06-10 04:01:09 -0400 (Tue, 10 Jun 2008) | 3 lines * util.c (ruby_strtod): ruby_strtod don't allow a trailing decimal point like "7.". [ruby-dev:34835] [ruby-dev:35009] ........ r17073 | wanabe | 2008-06-10 04:03:16 -0400 (Tue, 10 Jun 2008) | 1 line fix Changelog time(typo). sorry. ........ r17075 | nobu | 2008-06-10 04:30:21 -0400 (Tue, 10 Jun 2008) | 3 lines * include/ruby/intern.h (rb_obj_instance_exec, rb_mod_module_exec): added prototypes. ........ r17076 | matz | 2008-06-10 04:44:30 -0400 (Tue, 10 Jun 2008) | 1 line * array.c (rb_ary_shuffle_bang): update RDoc. [ruby-dev:35034] ........ r17077 | nobu | 2008-06-10 05:12:19 -0400 (Tue, 10 Jun 2008) | 2 lines * ext/extmk.rb: negate default of --without-ext. ........ r17078 | nobu | 2008-06-10 07:13:58 -0400 (Tue, 10 Jun 2008) | 3 lines * ext/extmk.rb: negate default of --without-ext if --with-ext is given. ........ r17079 | tadf | 2008-06-10 07:56:23 -0400 (Tue, 10 Jun 2008) | 4 lines * complex.c (nucomp_s_convert): need not to initialize optional argument for rb_scan_args(). ........ r17080 | kazu | 2008-06-10 08:08:45 -0400 (Tue, 10 Jun 2008) | 2 lines * test/ruby/test_float.rb: add tests. [ruby-dev:35009] ........ r17081 | ko1 | 2008-06-10 12:33:51 -0400 (Tue, 10 Jun 2008) | 6 lines * include/ruby/intern.h, proc.c: revert rb_proc_call() and create rb_proc_call_with_block() instaed. * include/ruby/ruby.h, eval_jump.c, thread.c, vm_insnhelper.c: rb_blockptr should not be exposed. ........ r17082 | knu | 2008-06-10 14:41:25 -0400 (Tue, 10 Jun 2008) | 3 lines * lib/find.rb (Find#find): Return an enumerator if no block is given. ........ r17083 | nagai | 2008-06-10 16:59:10 -0400 (Tue, 10 Jun 2008) | 115 lines * ext/tk/tcltklib.c: SEGV when tcltk-stubs is enabled. * ext/tk/tcltklib.c: avoid error on a shared object. * ext/tk/extconf.rb: support --with-tcltkversion * ext/tk/README.tcltklib: add document about --with-tcltkversion * ext/tk/lib/tk.rb, ext/tk/lib/multi-tk.rb, ext/tk/lib/remote-tk.rb: not work on $SAFE==4 * ext/tk/lib/multi-tk.rb: Object#methods returns Symbols on Ruby1.9. * ext/tk/lib/tk/timer.rb: add TkTimer#at_end(proc) to register the procedure which called at end of the timer. * ext/tk/lib/tk.rb, ext/tk/lib/tk/itemfont.rb, ext/tk/lib/font.rb: support __IGNORE_UNKNOWN_CONFIGURE_OPTION__ about font options. * ext/tk/lib/*: treat __IGNORE_UNKNOWN_CONFIGURE_OPTION__ * ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb, ext/tk/lib/tkextlib/iwidgets/scrolledlistbox.rb, ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb: bug fix. * ext/tk/lib/tk/text.rb: typo. call a wrong method. * ext/tk/lib/tk/itemconfig.rb: ditto. * ext/tk/lib/tk.rb, ext/tk/lib/tk/itemconfig.rb, ext/tk/lib/tk/canvas.rb: support alias names of option keys. * ext/tk/lib/tk/grid.rb: lack of module-method definitions. * ext/tk/lib/tk/pack.rb, ext/tk/lib/tk/grid.rb: increase supported parameter patterns of configure method. * ext/tk/lib/tk.rb: add TkWindow#grid_anchor, grid_column, grid_row. * ext/tk/lib/tk/wm.rb: methods of Tk::Wm_for_General module cannot pass the given block to methods of Tk::Wm module. * ext/tk/lib/tk/wm.rb: Wm#overrideredirect overwrites arguemnt to an invalid value. * ext/tk/lib/tk.rb: fix memory (object) leak bug. * ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c: fix memory leak. * ext/tk/sample/demos-jp/aniwave.rb, ext/tk/sample/demos-en/aniwave.rb: bug fix. * ext/tk/lib/tkextlib/blt/component.rb, ext/tk/lib/tkextlib/tile/tentry.rb, ext/tk/lib/tkextlib/tile/treeview.rb: ditto. * ext/tk/lib/tkextlib/tile/tpaned.rb: improve TPaned#add. * ext/tk/sample/demos-jp/widget, ext/tk/sample/demos-en/widget, ext/tk/sample/demos-jp/style.rb, ext/tk/sample/demos-en/style.rb, ext/tk/sample/demos-jp/bind.rb, ext/tk/sample/demos-en/bind.rb: bug fix. * ext/tk/sample/ttk_wrapper.rb: ditto. * ext/tk/sample/ttk_wrapper.rb: support "if __FILE__ == $0" idiom. * ext/tk/sample/tktextio.rb: add binding for 'Ctrl-u' at console mode. * ext/tk/lib/tkextlib/tile.rb, ext/tk/lib/tkextlib/tile/style.rb, ext/tk/sample/ttk_wrapper.rb: improve treating and control themes. add Tk::Tile.themes and Tk::Tile.set_theme(theme). * ext/tk/lib/tkextlib/tile.rb: lack of autoload definitions. * ext/tk/lib/tkextlib/tile/tnotebook.rb: cannot use kanji (not UTF-8) characters for headings. * ext/tk/lib/tkextlib/tkDND/shape.rb: wrong package name. * ext/tk/tkutil/tkutil.c: improve handling callback-subst-keys. Now, support longnam-keys (e.g. '%CTT' on tkdnd-2.0; however, still not support tkdnd-2.0 on tkextlib), and symbols of parameters (e.g. :widget=>'%W', :keycode=>'%k', '%x'=>:x, '%X'=>:root_x, and so on; those are attributes of event object). It means that Ruby/Tk accepts not only "widget.bind(ev, '%W', '%k', ...){|w, k, ...| ... }", but also "widget.bind(ev, :widget, :keycode, ...){|w, k, ...| ... }". It is potentially incompatible, when user passes symbols to the arguments of the callback block (the block receives the symbols as strings). I think that is very rare case (probably, used by Ruby/Tk experts only). When causes such trouble, please give strings instead of such symbol parameters (e.g. call Symbol#to_s method). * ext/tk/lib/tk/event.rb, ext/tk/lib/tk/validation.rb, ext/tk/lib/tkextlib/blt/treeview.rb, ext/tk/lib/tkextlib/winico/winico.rb: ditto. * ext/tk/tkutil/tkutil.c: strings are available on subst_tables on TkUtil::CallbackSubst class (it is useful on Ruby 1.9). * ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tkextlib/iwidgets/hierarchy.rb, ext/tk/lib/tkextlib/iwidgets/spinner.rb, ext/tk/lib/tkextlib/iwidgets/entryfield.rb, ext/tk/lib/tkextlib/iwidgets/calendar.rb, ext/tk/lib/tkextlib/blt/dragdrop.rb, ext/tk/lib/tkextlib/tkDND/tkdnd.rb, ext/tk/lib/tkextlib/treectrl/tktreectrl.rb, ext/tk/lib/tkextlib/tktable/tktable.rb: disable code piece became unnecessary by reason of the changes of ext/tk/tkutil/tkutil.c. * ext/tk/lib/tk.rb, ext/tk/lib/multi-tk.rb: change strategy to define the constant WITH_ENCODING. * ext/tk/lib/tk.rb: fix bug on Tk::Encoding.tk_encoding_names. ........ r17084 | ko1 | 2008-06-10 17:46:43 -0400 (Tue, 10 Jun 2008) | 11 lines * vm.c, eval_intern.h (PASS_PASSED_BLOCK): set a VM_FRAME_FLAG_PASSED flag to skip this frame when searching ruby-level-cfp. * eval.c, eval_intern.h, proc.c: fix to check cfp. if there is no valid ruby-level-cfp, cause RuntimeError exception. [ruby-dev:34128] * vm_core.h, vm_evalbody.c, vm.c, vm_dump.c, vm_insnhelper.c, insns.def: rename FRAME_MAGIC_* to VM_FRAME_MAGIC_*. * KNOWNBUGS.rb, bootstraptest/test*.rb: move solved bugs. ........ r17085 | nobu | 2008-06-10 18:00:32 -0400 (Tue, 10 Jun 2008) | 1 line * set eol-style to LF. ........ r17086 | akr | 2008-06-10 19:21:26 -0400 (Tue, 10 Jun 2008) | 2 lines describe %% in rdoc. ........ r17087 | akr | 2008-06-10 19:23:36 -0400 (Tue, 10 Jun 2008) | 2 lines update Signal.list rdoc. ........ r17088 | usa | 2008-06-10 20:27:36 -0400 (Tue, 10 Jun 2008) | 3 lines * common.mk (encs): need to pass miniruby path for windows. ........ r17089 | akr | 2008-06-10 23:16:28 -0400 (Tue, 10 Jun 2008) | 3 lines * bootstraptest/runner.rb (assert_normal_exit): hide stderr output when success. ........ r17098 | matz | 2008-06-11 10:54:23 -0400 (Wed, 11 Jun 2008) | 3 lines * io.c (io_fread): bypass buffered read if reading buffer is empty. * io.c (remain_size): do not add extra one byte. ........ r17099 | nobu | 2008-06-11 11:56:22 -0400 (Wed, 11 Jun 2008) | 2 lines * ext/tk: check proper conditions. [ruby-dev:35047] ........ r17100 | nobu | 2008-06-11 13:25:57 -0400 (Wed, 11 Jun 2008) | 2 lines * io.c (rb_io_reopen): clear read buffer. ........ r17101 | mame | 2008-06-11 13:43:52 -0400 (Wed, 11 Jun 2008) | 2 lines * array.c (rb_ary_zip): ANSI style. ........ r17102 | mame | 2008-06-11 13:50:03 -0400 (Wed, 11 Jun 2008) | 2 lines * ext/stringio/stringio.c (strio_init): rewind when reopened. ........ r17104 | matz | 2008-06-11 19:52:20 -0400 (Wed, 11 Jun 2008) | 7 lines * io.c (read_all): should use io_read_encoding(), not io_input_encoding(). * io.c (rb_io_getline_1): reduce calling of io_read_encoding(). * string.c (rb_str_scan): need not to restore $~ value, so avoid pinning match object. ........ r17105 | akr | 2008-06-12 00:46:16 -0400 (Thu, 12 Jun 2008) | 3 lines * include/ruby/ruby.h (rb_intern): use rb_intern2 with strlen for constant symbols to optimize strlen. ........ r17106 | matz | 2008-06-12 04:21:38 -0400 (Thu, 12 Jun 2008) | 2 lines * regint.h: undefine USE_CAPTURE_HISTORY which is mentioned as unsupported in the Onigiruma document. ........ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/rexml_adds_tests@17111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e