· 8 years ago · Apr 07, 2018, 03:04 PM
1changes in Ruby 1.8.6 from p230 to p255
2
3add tag v1_8_6_255
4Sun Jun 29 21:38:52 2008 Tanaka Akira <akr@fsij.org>
5
6 * eval.c (rb_obj_respond_to): use RTEST to test the result of
7 respond_to? method.
8
9Sun Jun 29 20:40:57 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
10
11 * array.c (rb_ary_fill): (compatibility) do not raise
12 ArgumentError on negative length. This behaviour shall change
13 in a future release.
14
15Sun Jun 29 20:06:45 2008 Tanaka Akira <akr@fsij.org>
16
17 * time.c (time_timeval): fix rounding negative float.
18
19Sun Jun 29 18:35:23 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
20
21 * test/inlinetest.rb (InlineTest.in_progname): workaround for frozen
22 $0. [ruby-dev:35261]
23
24 * lib/test/unit/ui/console/testrunner.rb (TestRunner#finished): ditto.
25
26Sun Jun 29 18:35:23 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
27
28 * ruby.c (set_arg0, ruby_prog_init): freeze $0. a patch from Keita
29 Yamaguchi <keita.yamaguchi at gmail.com>.
30
31Sun Jun 29 18:32:19 2008 Tanaka Akira <akr@fsij.org>
32
33 * process.c: include sys/resource.h if HAVE_SYS_RESOURCE_H is defined.
34 pointed by TOYOFUKU Chikanobu. [ruby-dev:35258]
35
36Sun Jun 29 18:25:03 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
37
38 * variable.c (rb_f_trace_var): should not be allowed at safe level 4.
39 a patch from Keita Yamaguchi <keita.yamaguchi at gmail.com>.
40
41 * eval.c (rb_call0): wrong condition to check insecure method.
42 a patch from Keita Yamaguchi <keita.yamaguchi at gmail.com>.
43
44Sun Jun 29 18:24:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
45
46 * array.c (rb_ary_fill): not depend on unspecified behavior at integer
47 overflow. reported by Vincenzo Iozzo <snagg AT openssl.it>.
48
49Sun Jun 29 18:21:23 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
50
51 * ext/win32ole/win32ole.c(ole_invoke): fix memory leak.
52 [ruby-bugs-20792]
53
54Sun Jun 29 17:34:11 2008 Akinori MUSHA <knu@iDaemons.org>
55
56 * eval.c (PUSH_FRAME, PUSH_CLASS): Add volatile to avoid a
57 possible optimization bug on OS X/PPC. This at least makes
58 build with gcc -O1 and `make test' pass.
59
60Sun Jun 29 17:23:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
61
62 * lib/rdoc/parsers/parse_rb.rb (RDoc#collect_first_comment): skip
63 magic comment.
64
65Sun Jun 29 17:21:08 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
66
67 * ext/stringio/stringio.c (strio_each, strio_readlines): IO#each and
68 IO#readlines do not affect $_. [ruby-core:17277]
69
70Sun Jun 29 17:18:45 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
71
72 * ext/stringio/stringio.c (strio_readline, strio_each)
73 (strio_readlines): set lastline. [ruby-core:17257]
74
75Sun Jun 29 17:10:30 2008 NAKAMURA Usaku <usa@ruby-lang.org>
76
77 * ext/openssl/ossl.h: include winsock.h if USE_WINSOCK2 is not defined.
78 a patch from arton <artonx at yahoo.co.jp> in [ruby-dev:35078]
79
80Sun Jun 29 17:07:30 2008 wanabe <s.wanabe@gmail.com>
81
82 * util.c (ruby_strtod): ruby_strtod don't allow a trailing
83 decimal point like "7.". [ruby-dev:34835] [ruby-dev:35009]
84
85Sun Jun 29 16:56:57 2008 Akinori MUSHA <knu@iDaemons.org>
86
87 * lib/set.rb (Set#delete_if): Call to_a.
88 (SortedSet#delete_if, TC_SortedSet#test_sortedset): Use super to
89 yield elements in sorted order; [ruby-core:17144] by Arthur
90 Schreiber.
91 (SortedSet#each, SortedSet#each, TC_Set#test_each)
92 (TC_SortedSet#test_sortedset): Return self; [ruby-dev:35002] by
93 Arthur Schreiber.
94
95Sun Jun 29 16:49:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
96
97 * eval.c (search_method, remove_method, error_print, rb_alias)
98 (rb_eval, rb_rescue2, search_required, Init_eval, rb_thread_create),
99 gc.c (rb_source_filename, Init_stack), io.c (rb_io_getline),
100 parse.y (rb_id2name, rb_parser_free): suppress warnings.
101
102Sat Jun 28 19:26:43 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
103
104 * class.c (clone_method): use rb_copy_node_scope.
105 fixed [ruby-list:45102]
106 fixed [ruby-core:17393]
107
108Sat Jun 28 19:25:56 2008 Akinori MUSHA <knu@iDaemons.org>
109
110 * eval.c (rb_copy_node_scope), node.h: Rename from copy_node_scope
111 and export.
112
113Fri Jun 27 17:38:21 2008 Akinori MUSHA <knu@iDaemons.org>
114
115 * ext/zlib/zlib.c (rb_deflate_initialize, Init_zlib): Fix up
116 initialize_copy; [ruby-list:45016], [ruby-list:45018].
117
118Fri Jun 27 17:28:39 2008 NAKAMURA Usaku <usa@ruby-lang.org>
119
120 * io.c (rb_open_file, rb_io_s_sysopen): fmode should be unsigned int.
121 fixed [ruby-dev:34979]
122
123Fri Jun 27 17:20:40 2008 NAKAMURA Usaku <usa@ruby-lang.org>
124
125 * win32/win32.h: include ws2tcpip.h. fixed [ruby-Bugs-20528]
126
127Fri Jun 27 15:57:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
128
129 * ext/iconv/iconv.c (iconv_iconv): fixed backport miss.
130 [ruby-core:17115]
131
132Fri Jun 27 15:57:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
133
134 * ext/iconv/iconv.c (iconv_iconv): fix for length argument and now
135 allows range. [ruby-core:17092]
136
137Tue Jun 24 15:38:52 2008 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
138
139 * lib/erb.rb (ERB::Compiler::TrimScanner#explicit_trim_line): Fix
140 without strscan problems. [ruby_core:17028].
141
142 * test/erb/test_erb.rb (TestERBCoreWOStrScan): Add test class for
143 without strscan.
144
145Sun Jun 22 00:09:20 2008 Akinori MUSHA <knu@iDaemons.org>
146
147 * lib/delegate.rb (DelegateClass, Delegator#respond_to?):
148 respond_to? should now take optional second argument; submitted
149 by Jeremy Kemper <jeremy at bitsweat.net> in [ruby-core:17045].