summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: bfaf2ac69dfb1ada5040acbc668a89d3b601c165 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
Thu Jan  7 11:34:14 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* include/ruby/backward.h (ruby_show_copyright_to_die): for source
	  code backward compatibility.

	* ruby.c (process_options): return Qtrue to exit the process
	  successfully.

	* version.c (ruby_show_copyright): no longer exit.

Wed Jan  6 17:22:53 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/optparse.rb (OptionParser#order!): add `into` optional
	  keyword argument to store the results.  [Feature #11191]

Tue Jan  5 21:44:37 2016  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* ChangeLog: fix wrong class name.

Tue Jan  5 21:43:50 2016  Kuniaki IGARASHI  <igaiga@gmail.com>

	* test/ruby/test_string.rb(test_chr): added test for String#chr
	  [fix GH-1179]

Tue Jan  5 21:32:26 2016  Kuniaki IGARASHI  <igaiga@gmail.com>

	* test/ruby/test_numeric.rb (test_nonzero_p): added test for Numeric#nonzero?
	  [fix GH-1187]

Tue Jan  5 11:47:23 2016  Damir Gaynetdinov  <damir.gaynetdinov@gmail.com>

	* doc/marshal.rdoc: Clarify object references example, that the
	  reference is same object.  [Fix GH-1156]

Tue Jan  5 05:06:51 2016  Eric Wong  <e@80x24.org>

	* ext/stringio/stringio.c (strio_binmode): implement to set encoding
	* test/stringio/test_stringio.rb (test_binmode): new test
	  [ruby-core:72699] [Bug #11945]

Mon Jan  4 15:44:37 2016  Sho Hashimoto  <sho-h@ruby-lang.org>

	* variable.c (rb_mod_deprecate_constant): [DOC] added
	  documentation for Module#deprecate_constant. [ci skip]

Mon Jan  4 15:36:38 2016  Sho Hashimoto  <sho-h@ruby-lang.org>

	* thread_sync.c: [DOC] remove SizedQueue#close argument.
	  [ci skip]

Mon Jan  4 12:07:00 2016  Naohisa Goto  <ngotogenome@gmail.com>

	* version.h (RUBY_BUILD_VERSION_STR_3): Workaround for old version of
	  Fujitsu C Compiler (fcc) on Solaris. [Bug #11944] [ruby-dev:49468]

Mon Jan  4 10:14:24 2016  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* test/coverage/test_coverage.rb: ignored test when enabled to coverage.
	  It lead to crash with `make test-all`.

Mon Jan  4 08:10:44 2016  Yuichiro Kaneko  <yui-knk@ruby-lang.org>

	* insns.def (opt_case_dispatch): Move a comment to the
	  appropriate position.
	  [ci skip]

Sun Jan  3 23:55:13 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/rubygems/security.rb (DIGEST_ALGORITHM, KEY_ALGORITHM):
	  should check same name as the used constants.
	  [ruby-core:72674] [Bug #11940]

Sun Jan  3 19:22:01 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* aclocal.m4: add fallback file for non-aclocal environments.
	  [ruby-core:72683] [Bug #11942]

Sun Jan  3 13:56:49 2016  Yuichiro Kaneko  <yui-knk@ruby-lang.org>

	* eval_error.c (rb_print_undef): Use `rb_method_visibility_t`
	  instead of `int`.
	* eval_intern.h (rb_print_undef): ditto
	* proc.c (mnew_internal): ditto
	* vm_method.c (rb_export_method): ditto
	  [Misc #11649] [ruby-core:71311] [fix GH-1078]

Sun Jan  3 12:12:09 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* acinclude.m4: rename aclocal.m4, which should be generated by
	  aclocal.  [ruby-core:72675] [Bug #11941]

Sat Jan  2 21:07:55 2016  Eric Wong  <e@80x24.org>

	* thread_sync.c (queue_do_pop): avoid cast with Qfalse
	  (rb_szqueue_push): ditto, use queue_sleep wrapper

Sat Jan  2 16:16:14 2016  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp>

	* lib/erb.rb: Allow ERB subclass to add token easily.
	  [Feature #11936]

	* test/erb/test_erb.rb: ditto.

Sat Jan  2 14:44:31 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (regexp): set_yylval_num sets u1, should use nd_tag
	  instead of nd_state.  [ruby-core:72638] [Bug #11932]

Sat Jan  2 02:27:22 2016  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/ostruct.rb: Fix case of frozen object with initializer.
	  Bug revealed by RubySpec [ruby-core:72639]

Fri Jan  1 22:01:52 2016  Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>

	* NEWS: mention CSV's liberal_parsing option.

Fri Jan  1 19:38:23 2016  okkez  <okkez000@gmail.com>

	* doc/NEWS-2.3.0: fix double words typo.
	  [ci skip][fix GH-1183]

Fri Jan  1 15:28:56 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* compile.c (remove_unreachable_chunk): decrease count of
	  call_info in removed instructions.  fix up r53402.

Fri Jan  1 12:05:53 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* compile.c (remove_unreachable_chunk): remove unreferred label
	  to optimize away unreachable chunk.

Fri Jan  1 11:42:57 2016  James Edward Gray II  <james@graysoftinc.com>

	* lib/csv.rb (CSV): Add a liberal_parsing option.
	  Patch by Braden Anderson. [#11839]
	* test/csv/test_features.rb:  test liberal_parsing

Fri Jan  1 10:27:28 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* tool/mkconfig.rb (RbConfig): prefix SDKROOT to oldincludedir
	  not includedir, the latter is outside the ruby installation.
	  [ruby-core:72496] [Bug #11881]

Fri Jan  1 08:53:02 2016  Yuki Kurihara  <co000ri@gmail.com>

	* test/ruby/test_lazy_enumerator.rb (test_take_bad_arg): Add test
	  code in case of Enumerator::Lazy#take called with negative number.
	  [ruby-dev:49467] [Bug #11933]

Fri Jan  1 05:06:20 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (parser_here_document): update indent for each line in
	  indented here document with single-quotes.
	  [ruby-core:72479] [Bug #11871]

Fri Jan  1 03:26:44 2016  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/ostruct.rb (freeze): define deferred accessors before
	  freezing to get rid of an error when just reading frozen
	  OpenStruct.

Thu Dec 31 14:36:45 2015  Marc-Andre Lafortune  <ruby-core@marc-andre.ca>

	* lib/ostruct.rb: Fix new_ostruct_member to correctly avoid
	  redefinition [#11901]

Thu Dec 31 02:45:12 2015  NARUSE, Yui  <naruse@ruby-lang.org>

	* test/ruby/test_module.rb (test_classpath): r53376 may change
	  the order of m.constants.
	  `make TESTS='-v ruby/test_class.rb ruby/test_module.rb' test-all`
	  may fail after that.
	  http://rubyci.s3.amazonaws.com/tk2-243-31075/ruby-trunk/log/20151230T164202Z.log.html.gz

Thu Dec 31 02:20:00 2015  Benoit Daloze  <eregontp@gmail.com>

	* common.mk (help): Fix typo.

Wed Dec 30 20:53:09 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/net/http/responses.rb: Added new response class for 451 status code.
	* lib/net/http.rb: documentation for HTTPUnavailableForLegalReasons

Wed Dec 30 20:45:45 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* lib/webrick/httpstatus.rb: Added HTTP 451 Status Code.
	  [fix GH-1167] Patch by @MuhammetDilmac
	  https://tools.ietf.org/html/draft-tbray-http-legally-restricted-status-00

Wed Dec 30 20:25:52 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* doc/syntax/calling_methods.rdoc: fix old operator for safe navigation
	  operator. [ci skip][fix GH-1182] Patch by @dougo

Wed Dec 30 16:43:23 2015  Kuniaki IGARASHI  <igaiga@gmail.com>

	* test/ruby/test_string.rb (test_ord): Add test for String#ord.
	  [Fix GH-1181]

Wed Dec 30 11:28:57 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/forwardable.rb (def_instance_delegator): adjust backtrace of
	  method body by tail call optimization.  adjusting the delegated
	  target is still done by deleting backtrace.

	* lib/forwardable.rb (def_single_delegator): ditto.

Wed Dec 30 11:18:42 2015  Elliot Winkler  <elliot.winkler@gmail.com>

	* lib/forwardable.rb (def_instance_delegator) fix delegating to
	  'args' and 'block', clashing with local variables in generated
	  methods.  [ruby-core:72579] [Bug #11916]

	* lib/forwardable.rb (def_single_delegator): ditto.

Wed Dec 30 09:58:56 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* object.c (rb_class_inherited_p): search the corresponding
	  ancestor to prepended module from prepending class itself.
	  [ruby-core:72493] [Bug #11878]

Wed Dec 30 09:20:00 2015  Yuki Kurihara  <co000ri@gmail.com>

	* test/stringio/test_io.rb (test_flag): add assertion for error when
	  text and binary mode are mixed.
	  [ruby-dev:49465] [Feature #11921]

Wed Dec 30 08:43:59 2015  Yuki Kurihara  <co000ri@gmail.com>

	* test/stringio/test_stringio.rb (test_initialize): add test for
	  StringIO#initialize.  [ruby-core:72585] [Feature #11920]

Wed Dec 30 05:19:24 2015  Eric Wong  <e@80x24.org>

	* class.c (struct clone_const_arg): adjust for id_table
	  (clone_const): ditto
	  (clone_const_i): ditto
	  (rb_mod_init_copy): ditto
	  (rb_singleton_class_clone_and_attach): ditto
	  (rb_include_class_new): ditto
	  (include_modules_at): ditto
	* constant.h (rb_free_const_table): ditto
	* gc.c (free_const_entry_i): ditto
	  (rb_free_const_table): ditto
	  (obj_memsize_of): ditto
	  (mark_const_entry_i): ditto
	  (mark_const_tbl): ditto
	* internal.h (struct rb_classext_struct): ditto
	* object.c (rb_mod_const_set): resolve class name on assignment
	* variable.c (const_update): replace with const_tbl_update
	  (const_tbl_update): new function
	  (fc_i): adjust for id_table
	  (find_class_path): ditto
	  (autoload_const_set): st_update => const_tbl_update
	  (rb_const_remove): adjust for id_table
	  (sv_i): ditto
	  (rb_local_constants_i): ditto
	  (rb_local_constants): ditto
	  (rb_mod_const_at): ditto
	  (rb_mod_const_set): ditto
	  (rb_const_lookup): ditto
	  [ruby-core:72112] [Feature #11614]

Wed Dec 30 04:10:13 2015  CHIKANAGA Tomoyuki  <nagachika@ruby-lang.org>

	* thread_pthread.c (rb_thread_create_timer_thread): destroy attr even
	  if pthread_create() failed.

Wed Dec 30 02:55:09 2015  Eric Wong  <e@80x24.org>

	* thread_pthread.c (setup_communication_pipe): delay setting owner
	  (rb_thread_create_timer_thread): until thread creation succeeds
	  [ruby-core:72590] [Bug #11922]

Tue Dec 29 19:12:46 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* ruby.c (proc_options): -W command line option should be able to
	  override -w in RUBYOPT environment variable.

Tue Dec 29 17:54:16 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* eval.c (ignored_block): warn if a block is given to `using`,
	  which is probably for `Module.new`.

Tue Dec 29 12:48:34 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* lib/ostruct.rb (OpenStruct): make respond_to? working on
	  just-allocated objects for workaround of Psych.
	  [ruby-core:72501] [Bug #11884]

Tue Dec 29 10:35:00 2015  Kenta Murata  <mrkn@mrkn.jp>

	* test/mkmf/test_have_func.rb (test_have_func):
	  Add assertion to examine the existence of HAVE_RUBY_INIT.

	* test/mkmf/test_have_func.rb (test_not_have_func):
	  Add assertion to examine the absence of HAVE_RUBY_INIT.

Tue Dec 29 06:50:42 2015  Eric Wong  <e@80x24.org>

	* thread_sync.c: static classes

Tue Dec 29 05:30:30 2015  Eric Wong  <e@80x24.org>

	* lib/resolv.rb (Resolv::IPv6.create): avoid modifying frozen
	* test/resolv/test_dns.rb (test_ipv6_create): test for above
	  [Bug #11910] [ruby-core:72559]

Mon Dec 28 14:55:57 2015  Kuniaki IGARASHI  <igaiga@gmail.com>

	* test/ruby/test_string.rb (TestString#test_rstrip_bang): Add test
	  for String#rstrip!.  [Fix GH-1176]

Mon Dec 28 09:18:53 2015  Kuniaki IGARASHI  <igaiga@gmail.com>

	* test/ruby/test_string.rb (TestString#test_lstrip_bang): Add test
	  for String#lstrip!.  [Fix GH-1176]

Sun Dec 27 23:32:26 2015  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (ole_variant2val): refactoring.

Sun Dec 27 21:14:42 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* process.c (rb_execarg_parent_start1): need to convert the encoding to
	  ospath's one.

Sun Dec 27 20:54:22 2015  NAKAMURA Usaku  <usa@ruby-lang.org>

	* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
	  reported by naruse via twitter.

	* process.c (rb_execarg_addopt): need to convert the encoding to
	  ospath's one.

Sun Dec 27 20:00:31 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* enc/x_emoji.h: fix dead-link.

Sun Dec 27 19:55:55 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>

	* doc/NEWS-2.3.0: fix a typo.

Sun Dec 27 18:08:15 2015  Kuniaki IGARASHI  <igaiga@gmail.com>

	* string.c (rb_str_lstrip_bang, rb_str_rstrip_bang): [DOC] Fix
	  ruby-doc comments for String#rstrip! and lstrip!.  It looks like
	  dropped bang.  [Fix GH-1175]

Sun Dec 27 15:14:20 2015  Eric Wong  <e@80x24.org>

	* io.c (io_getpartial): remove unused kwarg from template
	* test/ruby/test_io.rb (test_readpartial_bad_args): new
	  [Bug #11885]

Sun Dec 27 11:50:53 2015  Kuniaki IGARASHI  <igaiga@gmail.com>

	* test/ruby/test_string.rb (test_rstrip, test_lstrip): Add tests
	  for String#lstrip and rstrip.  The test cases are used from
	  string.c ruby-doc comments.  [Fix GH-1174]

Sun Dec 27 11:47:46 2015  Kuniaki IGARASHI  <igaiga@gmail.com>

	* test/ruby/test_string.rb (test_insert): Add test for
	  String#insert.  The test cases are written in string.c
	  comments as a reference.  [Fix GH-1173]

Sun Dec 27 11:03:33 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* parse.y (show_bitstack): trace stack_type value if yydebug.

Sun Dec 27 10:03:14 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* enc/depend (enc, trans): fix version dependency, shared object
	  files depend on the RUBY_SO_NAME value for runtime link.

Sun Dec 27 09:47:20 2015  Masaki Suketa <masaki.suketa@nifty.ne.jp>

	* ext/win32ole/win32ole.c (ole_vstr2wc, ole_variant2val): fix blank
	  string conversion.
	  [Bug #11880]
	  Thanks Akio Tajima for the patch!

Sun Dec 27 09:34:53 2015  craft4coder  <yooobuntu@163.com>

	* doc/extension.rdoc: [DOC] `nul` should be uppercase.
	  change 'nul' => 'NUL'.  [Fix GH-1172]

Sat Dec 26 18:29:01 2015  Kouhei Sutou  <kou@cozmixng.org>

	* lib/xmlrpc/client.rb: Support SSL options in async methods of
	  XMLRPC::Client.
	  [Bug #11489]
	  Reported by Aleksandar Kostadinov. Thanks!!!

Sat Dec 26 11:26:38 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* miniinit.c (Init_enc): add some common aliases of built-in
	  encodings.  [ruby-core:72481] [Bug #11872]

Sat Dec 26 01:24:40 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in, version.h (RUBY_PROGRAM_VERSION): extract version
	  numbers from API version in include/ruby/version.h except for
	  TEENY, to save matz job next year.

	* win32/setup.mak (-version-): use program version.

Fri Dec 25 22:43:26 2015  Nobuyoshi Nakada  <nobu@ruby-lang.org>

	* configure.in: extract RUBY_RELEASE_DAY at generating Makefile.

	* version.h (RUBY_RELEASE_DATE): construct from RUBY_RELEASE_YEAR,
	  RUBY_RELEASE_MONTH, and RUBY_RELEASE_DAY.

Fri Dec 25 21:33:06 2015  Yukihiro Matsumoto  <matz@ruby-lang.org>

	* version.h (RUBY_VERSION): 2.4.0 development has started.

Fri Dec 25 14:12:12 2015  Martin Duerst  <duerst@it.aoyama.ac.jp>

	* doc/ChangeLog-2.3.0, ext/tk/lib/tkextlib/SUPPORT_STATUS,
	  include/ruby/version.h: minor grammar fixes [ci skip]

Fri Dec 25 08:23:22 2015  Tadashi Saito  <tadashi_saito@dwango.co.jp>

	* compile.c, cont.c, doc, man: fix common misspelling.
	  [ruby-core:72466] [Bug #11870]


For the changes before 2.3.0, see doc/ChangeLog-2.3.0
For the changes before 2.2.0, see doc/ChangeLog-2.2.0
For the changes before 2.1.0, see doc/ChangeLog-2.1.0
For the changes before 2.0.0, see doc/ChangeLog-2.0.0
For the changes before 1.9.3, see doc/ChangeLog-1.9.3
For the changes before 1.8.0, see doc/ChangeLog-1.8.0

Local variables:
coding: us-ascii
add-log-time-format: (lambda ()
  (let* ((time (current-time))
	 (system-time-locale "C")
	 (diff (+ (cadr time) 32400))
	 (lo (% diff 65536))
	 (hi (+ (car time) (/ diff 65536))))
  (format-time-string "%a %b %e %H:%M:%S %Y" (list hi lo) t)))
indent-tabs-mode: t
tab-width: 8
change-log-indent-text: 2
end:
vim: tabstop=8 shiftwidth=2