-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog-2.3.0
12187 lines (7658 loc) · 401 KB
/
ChangeLog-2.3.0
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
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Thu Dec 24 23:01:57 2015 SHIBATA Hiroshi <[email protected]>
* NEWS: added entry for CGI.escapeHTML optimization.
Thu Dec 24 18:43:19 2015 Nobuyoshi Nakada <[email protected]>
* error.c (rb_compile_error_with_enc, rb_compile_error),
(rb_compile_bug): deprecate internal functions.
* parse.y (parser_yyerror): construct exception message with
source code and caret.
Thu Dec 24 17:25:42 2015 Nobuyoshi Nakada <[email protected]>
* compile.c (append_compile_error), parse.y (compile_error):
preserve encoding of source file name in exceptions.
* error.c (rb_compile_error_str, rb_compile_bug_str): add.
Thu Dec 24 16:17:47 2015 NARUSE, Yui <[email protected]>
* common.mk (fake.rb): $(arch)-fake.rb must depend on miniruby because
it may depend on miniruby.
Thu Dec 24 16:13:05 2015 NARUSE, Yui <[email protected]>
* common.mk (ripper.c): r50045 wrongly replace $(PWD) with ../..
It is the top of build directory, not topsrcdir.
Thu Dec 24 15:02:42 2015 sorah (Shota Fukumori) <[email protected]>
* tool/vcs.rb (IO.popen): Refactor. Avoid assigning in condition.
Thu Dec 24 15:01:38 2015 sorah (Shota Fukumori) <[email protected]>
* tool/file2lastrev.rb: Fix ArgumentError to work on Ruby 1.8.7.
Thu Dec 24 14:44:08 2015 sorah (Shota Fukumori) <[email protected]>
* tool/vcs.rb (IO.popen): Enable on Ruby 1.9 where chdir option is not
supported on IO.popen
* tool/vcs.rb (IO.popen): Fix NoMethodError. I guess r49705 was not
tested... :/
Thu Dec 24 14:57:03 2015 Koichi Sasada <[email protected]>
* NEWS: rename
"Implementation changes" section to
"Supported platform changes" section.
* NEWS: add "Implementation improvements" and add several entries.
* NEWS: add NEWS entries by Eric Wong. [ruby-core:72450]
Thu Dec 24 00:26:05 2015 Nobuyoshi Nakada <[email protected]>
* ext/io/console/extconf.rb: fix gem build failure on Windows.
only win32_vk.inc is included in the gem and no dependencies for
the header, so that gperf will not be mandatory.
[ruby-core:72453] [Bug #11866]
* ext/io/console/io-console.gemspec: include depend file and
win32_vk header.
Wed Dec 23 23:58:44 2015 Nobuyoshi Nakada <[email protected]>
* io.c (rb_readwrite_syserr_fail): works with the given errno than
thread local errno.
Wed Dec 23 17:57:45 2015 Nobuyoshi Nakada <[email protected]>
* file.c, io.c, util.c: prefer rb_syserr_fail with saved errno
over setting errno then call rb_sys_fail, not to be clobbered
potentially and to reduce thread local errno accesses.
Wed Dec 23 11:58:52 2015 Yuichiro Kaneko <[email protected]>
* string.c: Fix document. Default value of the first
argument of `String#split` is not `$;` but `nil`.
When `nil` is passed as first argument, `$;` is used.
[ci skip] [Bug #11729] [ruby-dev:49378]
Wed Dec 23 07:15:17 2015 Eric Wong <[email protected]>
* ext/socket/init.c (rsock_init_sock): reject reserved FDs
[ruby-core:72445] [Bug #11862]
Wed Dec 23 02:59:26 2015 Nobuyoshi Nakada <[email protected]>
* configure.in (__STDC_WANT_LIB_EXT1__): necessary to use memset_s
in strict C99 mode.
Wed Dec 23 02:34:36 2015 Nobuyoshi Nakada <[email protected]>
* regexec.c (match_at): move direct threaded VM code to get rid of
mixed declarations and code, and enable it only for gcc since it
depends on a gcc extension.
Wed Dec 23 02:23:19 2015 Yuki Nishijima <[email protected]>
* gems/bundled_gems: Upgrade the did_you_mean gem to 1.0.0
* NEWS: Add news about the did_you_mean gem
Wed Dec 23 02:18:57 2015 Jake Worth <[email protected]>
* doc/contributing.rdoc: [DOC] remove an extra word "here".
[Fix GH-1169]
Wed Dec 23 01:58:20 2015 Nobuyoshi Nakada <[email protected]>
* regexec.c (USE_DIRECT_THREADED_VM): enable direct threaded VM by
the default.
Tue Dec 22 22:15:53 2015 Nobuyoshi Nakada <[email protected]>
* gc.c (internal_object_p): should not expose singleton classes
without a metaclass. based on patches by ko1 and shugo.
[Bug #11740]
* class.c (rb_singleton_class_object_p): added.
Tue Dec 22 22:15:08 2015 Nobuyoshi Nakada <[email protected]>
* ext/io/console/io-console.gemspec: bump up to 0.4.4.
Tue Dec 22 22:11:06 2015 SHIBATA Hiroshi <[email protected]>
* NEWS: Added news entry of Psych 2.0.17
Tue Dec 22 22:09:01 2015 SHIBATA Hiroshi <[email protected]>
* NEWS: Added news entry of RDoc 4.2.1
Tue Dec 22 21:20:00 2015 Kenta Murata <[email protected]>
* ext/bigdecimal/bigdecimal.gemspec: bump version to 1.2.8.
Tue Dec 22 21:08:05 2015 SHIBATA Hiroshi <[email protected]>
* lib/rdoc.rb: bump version to 4.2.1. It contains following fixes.
https://github.com/rdoc/rdoc/pull/340
https://github.com/rdoc/rdoc/pull/341
https://github.com/rdoc/rdoc/pull/367
https://github.com/rdoc/rdoc/pull/368
* lib/rdoc/*: ditto.
* test/rdoc/*: ditto.
Tue Dec 22 20:25:33 2015 SHIBATA Hiroshi <[email protected]>
* ext/psych/lib/psych.rb: bump version to 2.0.17
* ext/psych/psych.gemspec: ditto.
Tue Dec 22 20:14:47 2015 Koichi Sasada <[email protected]>
* vm_insnhelper.c: move vm_callee_setup_block_arg() (and related
functions) to the latter location.
This moving recovers performance a little.
[Bug #11829]
Tue Dec 22 15:21:11 2015 Nobuyoshi Nakada <[email protected]>
* string.c (str_compat_and_valid): as scrub does nothing for dummy
encoding string now, incompatible encoding is not a matter.
Tue Dec 22 14:31:28 2015 Toru Iwase <[email protected]>
* ext/cgi/escape/escape.c (optimized_escape_html): CGI.escapeHTML
should return unfrozen new string.
[ruby-core:72426] [Bug #11858]
Tue Dec 22 05:39:58 2015 Takashi Kokubun <[email protected]>
* ext/cgi/escape/escape.c (preserve_original_state): Preserve
original state for tainted and frozen. [Fix GH-1166]
[ruby-dev:49451] [Bug #11855]
Tue Dec 22 03:57:20 2015 Eric Wong <[email protected]>
* ext/socket/init.c (rsock_init_sock): check FD after validating
* test/socket/test_basicsocket.rb (test_for_fd): new
[ruby-core:72418] [Bug #11854]
Mon Dec 21 21:29:45 2015 Naohisa Goto <[email protected]>
* variable.c (struct ivar_update): rename "extended" to "iv_extended"
to avoid name conflict with /usr/include/floatingpoint.h on
Solaris. [Bug #11853] [ruby-dev:49448]
Mon Dec 21 12:15:32 2015 Kimura Wataru <[email protected]>
* test/ruby/test_io.rb: handled rlimit value same as r52277
[Bug #11852][ruby-dev:49446]
Mon Dec 21 10:21:22 2015 Ilya Vassilevsky <[email protected]>
* lib/net/http.rb (open_timeout): update default value in RDoc
[ruby-core:72413]
Mon Dec 21 10:18:46 2015 Kazuki Yamaguchi <[email protected]>
* vm_backtrace.c (rb_profile_frames): ignore ifunc frames as it
did before. [ruby-core:72409] [Bug #11851]
Mon Dec 21 09:33:17 2015 Karol Bucek <[email protected]>
* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLSocket): fix
NotImplementedError typo. [Fix GH-1165]
Sun Dec 20 20:54:51 2015 Takashi Kokubun <[email protected]>
* cgi/escape/escape.c: Optimize CGI.escapeHTML for
ASCII-compatible encodings. [Fix GH-1164]
Sun Dec 20 15:36:46 2015 SHIBATA Hiroshi <[email protected]>
* lib/erb.rb: revert r53123. It breaks compatibility like thor and
rspec-rails.
We should try with Ruby 2.4 or 3.0.
[Bug #11842][ruby-core:72374]
* lib/rdoc/erb_partial.rb: ditto.
* template/verconf.h.tmpl: ditto.
Sun Dec 20 11:43:31 2015 Nobuyoshi Nakada <[email protected]>
* parse.y (parser_yylex): allow here documents in labeled
argument. [ruby-core:72396] [Bug #11849]
Sun Dec 20 11:14:11 2015 Koichi Sasada <[email protected]>
* proc.c (rb_mod_define_method): should check Symbol or not.
[Bug #11850]
* test/ruby/test_method.rb: add a test.
Sun Dec 20 11:01:57 2015 Koichi Sasada <[email protected]>
* proc.c (rb_mod_define_method): fix notation.
Sun Dec 20 10:54:15 2015 Koichi Sasada <[email protected]>
* proc.c (proc_new): fix notation.
Sun Dec 20 00:29:00 2015 Nobuyoshi Nakada <[email protected]>
* proc.c (rb_proc_get_iseq): proc made from symbol does not have
iseq. fix infinite loop. [ruby-core:72381] [Bug #11845]
Sat Dec 19 20:06:10 2015 Naohisa Goto <[email protected]>
* enc/windows_1250.c: Should not use C++ style comments (C99 feature).
[Bug #11843]
Sat Dec 19 17:17:04 2015 Nobuyoshi Nakada <[email protected]>
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#initialize):
use WEBrick::Utils::TimeoutHandler::Thread, which is ignored by
LeakChecker#find_threads, instead of ::Thread to get rid of
thread leak checker. since this TimeoutHandler is resident
during tests because of Singleton, it waits for the next timeout
if it has any schedules. in the case of nested timeouts, inner
timeout does not cancel outer timeouts and then those schedules
still remain.
Sat Dec 19 14:28:01 2015 Jake Worth <[email protected]>
* ext/zlib/zlib.c (Init_zlib): [DOC] Fix double-word typo and
grammatical error. [Fix GH-1162]
Sat Dec 19 14:23:59 2015 Jake Worth <[email protected]>
* lib/csv.rb (CSV#initialize): [DOC] Fix double-word typo.
[Fix GH-1161]
Sat Dec 19 10:33:33 2015 Martin Duerst <[email protected]>
* enc/iso_8859_2.c, enc/windows_1250.c: separate Windows-1250
from ISO-8859-2 to fix 0x80..0x9e range (from Kimihito Matsui)
Fri Dec 18 21:26:54 2015 Naohisa Goto <[email protected]>
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler): To prevent
potential deadlocks, Queue is used to tell update of @timeout_info
instead of sleep and wakeup. [Bug #11742] [ruby-dev:49387]
Fri Dec 18 17:24:09 2015 Koichi Sasada <[email protected]>
* compile.c (ibf_load_object_string): use fstring if frozen string.
Fri Dec 18 16:54:38 2015 Nobuyoshi Nakada <[email protected]>
* ext/stringio/stringio.c (strio_set_encoding): add StringIO's own
encoding and separate it from the buffer string to override the
encoding of string when reading. [ruby-core:72189] [Bug #11827]
note that setting the encoding of its buffer string directly
without StringIO#set_encoding may cause unpredictable behavior.
Fri Dec 18 16:50:35 2015 Koichi Sasada <[email protected]>
* compile.c (ibf_load_setup): check tainted string argument.
Fri Dec 18 16:12:13 2015 Koichi Sasada <[email protected]>
* vm_core.h: define USE_LAZY_LOAD if it is not defined.
Fri Dec 18 15:40:06 2015 Nobuyoshi Nakada <[email protected]>
* ext/stringio/stringio.c (strio_unget_bytes): extract from
strio_ungetbyte to share with strio_ungetc.
Fri Dec 18 12:39:42 2015 SHIBATA Hiroshi <[email protected]>
* doc/syntax/*.rdoc: separated modifier at sentence.
[ci skip][fix GH-1121] Patch by @clandry94
Fri Dec 18 12:09:21 2015 Nobuyoshi Nakada <[email protected]>
* ext/stringio/stringio.c (strio_ungetbyte): pad with \000 when
the current position is after the end.
Fri Dec 18 11:24:48 2015 Shugo Maeda <[email protected]>
* vm_method.c (rb_method_entry_make, check_override_opt_method):
should check whether a newly created method overrides an optimize
method in case the method is defined in a prepended module of a
built-in class.
[ruby-core:72226] [Bug #11836]
Fri Dec 18 11:09:38 2015 KOSAKI Motohiro <[email protected]>
* vm.c (vm_exec): call RUBY_DTRACE_CMETHOD_RETURN_HOOK instead of
RUBY_DTRACE_METHOD_RETURN_HOOK.
Fri Dec 18 10:24:44 2015 SHIBATA Hiroshi <[email protected]>
* lib/irb/ruby-lex.rb: fixed parse error for striped heredocument syntax.
[fix GH-1127] Patch by @koic
Fri Dec 18 09:44:47 2015 SHIBATA Hiroshi <[email protected]>
* ext/pty/pty.c: fix double words typo.
[ci skip][fix GH-1157] Patch by @jwworth
Fri Dec 18 09:42:45 2015 SHIBATA Hiroshi <[email protected]>
* ext/nkf/nkf-utf8/utf8tbl.c: fix a typo.
[ci skip][fix GH-1159] Patch by @akshay-vishnoi
* ext/nkf/nkf-utf8/utf8tbl.h: ditto.
Fri Dec 18 07:39:01 2015 Shugo Maeda <[email protected]>
* vm.c (rb_vm_check_redefinition_opt_method): should check the real
class instead of the origin iclass.
[ruby-core:72188] [Bug #11826]
Thu Dec 17 22:13:10 2015 Shugo Maeda <[email protected]>
* vm_args.c (vm_caller_setup_arg_block): remove code for ifunc
because it was made unnecessary by r52138.
Thu Dec 17 16:13:10 2015 Shugo Maeda <[email protected]>
* proc.c (rb_block_arity): should not call GetProcPtr() for symbols.
[ruby-core:72205] [Bug #11830]
Thu Dec 17 14:16:29 2015 Nobuyoshi Nakada <[email protected]>
* string.c (rb_str_scrub): the result should be infected by the
original string.
Thu Dec 17 13:35:27 2015 Nobuyoshi Nakada <[email protected]>
* transcode.c (rb_econv_substr_append, econv_primitive_convert):
the result should be infected by the original string.
Thu Dec 17 09:46:08 2015 Nobuyoshi Nakada <[email protected]>
* re.c (reg_names_iter): should consider encoding of regexp.
[ruby-core:72185] [Bug #11825]
Thu Dec 17 03:52:10 2015 Koichi Sasada <[email protected]>
* vm.c (vm_make_env_each): should not compare with Qfalse and FALSE.
Pointed at http://d.hatena.ne.jp/nagachika/20151216/ruby_trunk_changes_53128_53163
Thu Dec 17 03:15:25 2015 Koichi Sasada <[email protected]>
* vm_insnhelper.c (vm_call_method_each_type): should not set fastpath
with keyword arguments for VM_METHOD_TYPE_ATTRSET type methods.
Normally, we can not use keyword arguments for this kind of methods,
(obj.foo = 1), but we can set alias names for them.
[Bug #11657]
* test/ruby/test_keyword.rb: add a test for this fix.
Wed Dec 16 20:32:43 2015 CHIKANAGA Tomoyuki <[email protected]>
* ext/fiddle/handle.c: check tainted string arguments.
Patch provided by tenderlove and nobu.
* test/fiddle/test_handle.rb (class TestHandle): add test for above.
Wed Dec 16 19:30:56 2015 Shugo Maeda <[email protected]>
* vm.c (vm_make_proc_from_block): should convert a Symbol to a Proc.
[ruby-core:72083] [Bug #11811]
Wed Dec 16 16:17:34 2015 Eric Wong <[email protected]>
* test/ruby/test_io.rb: fix spelling errors
Wed Dec 16 16:04:49 2015 Eric Wong <[email protected]>
* NEWS: note IO#advise change [ruby-core:72168]
Wed Dec 16 15:35:13 2015 Koichi Sasada <[email protected]>
* vm.c: fix mark miss for proc given as passed block.
[Bug #11750]
* vm.c (vm_make_proc_from_block): should return a Proc object
if block is given. Previous implementation returns
a Proc object only when corresponding Proc object is not
available.
* vm.c (vm_make_env_each): ditto.
* test/ruby/test_proc.rb: add a test for this bug.
Wed Dec 16 12:24:59 2015 Marc-Andre Lafortune <[email protected]>
* test_struct.rb: Test that initialize is overridable [#11708]
Wed Dec 16 10:49:51 2015 Nobuyoshi Nakada <[email protected]>
* parse.y (block_command, block_call): fix `&.` calls after
block_call. [Feature #11537]
Wed Dec 16 00:53:45 2015 Naohisa Goto <[email protected]>
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler): Acquire
TimeoutMutex only when accessing @timeout_info for avoiding
potential deadlock. [Bug #11742] [ruby-dev:49387]
Wed Dec 16 00:39:27 2015 Jake Worth <[email protected]>
* doc/extension.rdoc: [DOC] fix double-word typo. [Fix GH-1153]
Wed Dec 16 00:25:41 2015 Naohisa Goto <[email protected]>
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#initialize):
TimeoutMutex should be acquired when accessing @timeout_info.
To avoid deadlock, interrupt() calls are delayed.
Due to the mutex, it is safe to treat ary without ary.dup.
[Bug #11742] [ruby-dev:49387]
Tue Dec 15 23:13:10 2015 Naohisa Goto <[email protected]>
* gc.c: Delete excess semicolon after RUBY_ALIAS_FUNCTION().
Suppress "syntax error: empty declaration" warnings by
Oracle Solaris Studio 12.x on Solaris. [Bug #11821]
* hash.c: ditto, after NOINSERT_UPDATE_CALLBACK().
Tue Dec 15 18:04:04 2015 Martin Duerst <[email protected]>
* NEWS: added news about EBCDIC encoding
Tue Dec 15 17:57:57 2015 Martin Duerst <[email protected]>
* enc/ebcdic.h, enc/trans/ebcdic.trans,
test/ruby/test_transcode.rb: Fixed encoding name
to the correct one in the IANA registry (IBM037)
and added an alias (ebcdic-cp-us)
Tue Dec 15 16:19:26 2015 Takashi Kokubun <[email protected]>
* lib/erb.rb: Render erb with array buffer for function call optimization.
[fix GH-1143]
* lib/rdoc/erb_partial.rb: ditto.
* template/verconf.h.tmpl: ditto.
Tue Dec 15 13:50:05 2015 Nobuyoshi Nakada <[email protected]>
* string.c (rb_str_oct): [DOC] mention radix indicators.
[ruby-core:71310] [Bug #11648]
Tue Dec 15 12:20:30 2015 Takashi Kokubun <[email protected]>
* lib/erb.rb: Simplify regexp to optimize erb scanner.
[fix GH-1144]
Tue Dec 15 11:56:24 2015 SHIBATA Hiroshi <[email protected]>
* lib/uri/common.rb: make code block for rdoc.
[ci skip][fix GH-1152] Patch by @Tonkpils
Tue Dec 15 11:55:08 2015 SHIBATA Hiroshi <[email protected]>
* ext/zlib/zlib.c: fix a typo.
[ci skip][fix GH-1149] Patch by @crismali
Tue Dec 15 09:14:14 2015 Martin Duerst <[email protected]>
* tool/transcode_tablegen.rb: detailed documentation
for transcode_tblgen function [ci skip]
Mon Dec 14 22:11:11 2015 Martin Duerst <[email protected]>
* enc/ebcdic.h: new dummy encoding EBCDIC-US
* enc/trans/ebcdic.trans: transcodings between EBCDIC-US
and iso-8859-1 [with code from Andrea Ribuoli]
* test/ruby/test_transcode.rb: tests for above
* tool/transcode_tablegen.rb: additional argument for
method transcode_tblgen
Mon Dec 14 17:04:14 2015 SHIBATA Hiroshi <[email protected]>
* ext/socket/lib/socket.rb: use safe navigation operator.
[fix GH-1142] Patch by @mlarraz
* lib/drb/extservm.rb: ditto.
* lib/net/http.rb: ditto.
* lib/net/http/response.rb: ditto.
* lib/scanf.rb: ditto.
* lib/uri/generic.rb: ditto.
Mon Dec 14 17:03:05 2015 SHIBATA Hiroshi <[email protected]>
* bootstraptest/runner.rb: use safe navigation operator.
[fix GH-1142] Patch by @mlarraz
* test/openssl/test_pair.rb: ditto.
* test/ruby/test_econv.rb: ditto.
* test/ruby/test_settracefunc.rb: ditto.
* test/thread/test_queue.rb: ditto.
Mon Dec 14 14:33:35 2015 SHIBATA Hiroshi <[email protected]>
* lib/xmlrpc.rb: added documentation for parser details.
[ci skip][fix GH-1124] Patch by @jrafanie
Mon Dec 14 11:46:52 2015 SHIBATA Hiroshi <[email protected]>
* enum.c: fix a typo in documentation.
[ci skip][fix GH-1140] Patch by @jutaz
* io.c: ditto.
* iseq.c: ditto.
* numeric.c: ditto.
* process.c: ditto.
* string.c: ditto.
* vm_trace.c: ditto.
Mon Dec 14 11:41:59 2015 SHIBATA Hiroshi <[email protected]>
* lib/cgi.rb: fix a typo in documentation.
[ci skip][fix GH-1140] Patch by @jutaz
Mon Dec 14 11:31:00 2015 SHIBATA Hiroshi <[email protected]>
* compile.c: fix typos.
[ci skip][fix GH-1140] Patch by @jutaz
* dir.c: ditto.
* gc.c: ditto.
* io.c: ditto.
* node.h: ditto.
* thread_pthread.c: ditto.
* vm_insnhelper.c: ditto.
* vsnprintf.c: ditto.
Mon Dec 14 11:27:01 2015 SHIBATA Hiroshi <[email protected]>
* enc/iso_2022_jp.h: fix typos.
[ci skip][fix GH-1140] Patch by @jutaz
* enc/utf_16_32.h: ditto.
* enc/utf_7.h: ditto.
Mon Dec 14 11:25:57 2015 SHIBATA Hiroshi <[email protected]>
* benchmark/bm_app_aobench.rb: fix typos.
[ci skip][fix GH-1140] Patch by @jutaz
* benchmark/bm_vm_thread_pipe.rb: ditto.
Sun Dec 13 23:46:10 2015 Nobuyoshi Nakada <[email protected]>
* parse.y (trace_lex_state): trace lex_state changes if yydebug is
set, and send the messages to rb_stdout.
* parse.y (rb_parser_printf): store YYPRINTF messages per lines
so that lex_state traces do not mix.
* tool/ytab.sed: add parser argument to yy_stack_print too.
Sun Dec 13 20:41:16 2015 Nobuyoshi Nakada <[email protected]>
* parse.y (build_lex_state_name, trace_lex_state): lex_state is
now bit flags and can be set 2 bits or more.
Sun Dec 13 20:26:30 2015 Yuki Yugui Sonoda <[email protected]>
* test/ruby/test_syntax.rb: fix typo in test
Sun Dec 13 20:12:14 2015 Yuki Yugui Sonoda <[email protected]>
* parse.y (parse_percent): Allow %-literals in labeled arg as
r51624 did for parentheses.
Fixes [ruby-core:72084] [Bug #11812].
Sun Dec 13 20:02:15 2015 SHIBATA Hiroshi <[email protected]>
* ChangeLog: fix a typo
Sun Dec 13 19:54:26 2015 SHIBATA Hiroshi <[email protected]>
* test/lib/envutil.rb: move envutil's assertions under Test::Unit::Assertion.
* test/lib/test/unit/assertions.rb: ditto.
Sun Dec 13 19:24:20 2015 Yuki Yugui Sonoda <[email protected]>
* parse.y (lex_state_name): Make it return the correct names.
Add new names to follow r51617; Indices ffs(2) returns are 1-origin.
Sun Dec 13 18:40:45 2015 Yuki Yugui Sonoda <[email protected]>
* parse.y: debug output of lex_state transition if PARSER_DEBUG
Sun Dec 13 18:49:25 2015 Nobuyoshi Nakada <[email protected]>
* io.c (parse_mode_enc): preserve encoding of mode string in
warnings.
* io.c (io_encname_bom_p): check BOM prefix only, not including
UTF prefix.
* io.c (parse_mode_enc): warn BOM with non-UTF encoding.
* io.c (parse_mode_enc): fix buffer overflow.
Sun Dec 13 18:35:57 2015 Nobuyoshi Nakada <[email protected]>
* ext/fiddle/function.c (initialize): check all arguments first.
reported by Marcin 'Icewall' Noga of Cisco Talos.
* ext/fiddle/conversions.h (PTR2NUM): use signed integer to make
Fixnum for negative values.
Sun Dec 13 18:33:41 2015 Nobuyoshi Nakada <[email protected]>
* pack.c (pack_pack): always check index range against the
receiver array length, which can be shortened by elements
conversion. reported by Marcin 'Icewall' Noga of Cisco Talos.
Sun Dec 13 18:28:52 2015 Nobuyoshi Nakada <[email protected]>
* ext/psych/psych_emitter.c (start_document): should not exceed
tags array range.
* ext/psych/psych_emitter.c (start_document): ensure string before
encoding conversion.
Sun Dec 13 18:26:31 2015 Nobuyoshi Nakada <[email protected]>
* ext/tk/tkutil/tkutil.c (tk_hash_kv): check types of array
argument. reported by Marcin 'Icewall' Noga of Cisco Talos.
* ext/tk/tkutil/tkutil.c (cbsubst_table_setup): check length of
argument arrays for each access, as callback methods can modify
them. reported by Marcin 'Icewall' Noga of Cisco Talos.
* ext/tk/tkutil/tkutil.c (cbsubst_table_setup): check types of
argument elements. reported by Marcin 'Icewall' Noga of Cisco
Talos.
Sun Dec 13 18:19:20 2015 Nobuyoshi Nakada <[email protected]>
* ext/win32ole/win32ole.c (ole_vstr2wc): check argument type, vstr
must be a String here. reported by Marcin 'Icewall' Noga of
Cisco Talos.
Sun Dec 13 16:41:01 2015 Nobuyoshi Nakada <[email protected]>
* configure.in (BOOTSTRAPRUBY): make BASERUBY full path before
building ruby to get rid of unexpectedly invoking built ruby.
[ruby-core:72065] [Bug #11807]
* configure.in (BOOTSTRAPRUBY): use MINIRUBY but not BASERUBY
unless cross compiling. [ruby-core:72065] [Bug #11807]
Sun Dec 13 14:17:19 2015 Akinori MUSHA <[email protected]>
* test/test_shellwords.rb (TestShellwords): Add many more tests
for handling whitespace characters and frozenness.
Sun Dec 13 14:16:09 2015 Akinori MUSHA <[email protected]>
* lib/shellwords.rb (Shellwords#shellsplit): Document that this
method does not treat shell metacharacters as such.
Sun Dec 13 12:17:43 2015 Eric Wong <[email protected]>
* lib/shellwords.rb (shellescape): duplicate frozen literal
* test/test_shellwords.rb (test_stringification): new test
Sun Dec 13 11:47:35 2015 Shugo Maeda <[email protected]>
* object.c (rb_inspect): check the default internal encoding as
String#inspect do.
[ruby-dev:49415] [Bug #11787]
Sun Dec 13 11:38:12 2015 Akinori MUSHA <[email protected]>
* lib/shellwords.rb: Turn on frozen-string-literal after fixing
shellsplit.
Sun Dec 13 10:44:44 2015 Martin Duerst <[email protected]>
* KNOWNBUGS.rb: Fixed typo, made more explicit [ci skip]
Sun Dec 13 10:26:47 2015 NARUSE, Yui <[email protected]>
* ext/openssl/ossl_ssl.c (ssl_npn_select_cb_common): fix parsing
protocol list.
The protocol list from OpenSSL is not null-terminated.
patched by Kazuki Yamaguchi [Bug #11810] [ruby-core:72082]
Sun Dec 13 06:40:30 2015 Marc-Andre Lafortune <[email protected]>
* lib/ostruct.rb: Have OpenStruct#dig raise if argument is not a
symbol
nor a string. See [#11762]
Sun Dec 13 00:05:42 2015 Shugo Maeda <[email protected]>
* vm_insnhelper.c (vm_call_method_missing): method_missing should
not be refined.
[ruby-core:72080] [Bug #11809]
Sat Dec 12 23:00:17 2015 NARUSE, Yui <[email protected]>
* ext/nkf/nkf-utf8/nkf.c: Merge nkf 2.1.4.
Sat Dec 12 18:52:26 2015 Nobuyoshi Nakada <[email protected]>
* object.c (rb_obj_dig): raise TypeError if an element does not
have #dig method. [ruby-core:71798] [Bug #11762]
Sat Dec 12 17:59:07 2015 Yuichiro Kaneko <[email protected]>
* test/ruby/test_regexp.rb: Add test cases for `$KCODE` and `$=` warning
[Misc #11770][ruby-dev:49398]
Sat Dec 12 17:11:57 2015 CHIKANAGA Tomoyuki <[email protected]>
* doc/NEWS-0.2.2: add description about incompatible change in Hash
duplicated key overriding policy. [Bug #10315] [Bug #11501]
Sat Dec 12 07:44:38 2015 Eric Wong <[email protected]>
* io.c (do_io_advise): do not raise on ENOSYS
* test/ruby/test_io.rb (test_advise): do not skip on Errno::ENOSYS
(test_advise_pipe): ditto
[ruby-core:72066] [Feature #11806]
Sat Dec 12 07:05:29 2015 Nobuyoshi Nakada <[email protected]>
* enc/windows_1252.c: separate from ISO-8859-1 to fix 0x80..0x9e
range. [ruby-core:64049] [Bug #10097]
Fri Dec 11 23:33:40 2015 Yusuke Endoh <[email protected]>
* sample/trick2015/: added the award-winning entries of TRICK 2015.
See https://github.com/tric/trick2015 for the contest outline.
Fri Dec 11 17:59:05 2015 Eric Wong <[email protected]>
* insns.def (opt_case_dispatch): avoid converting Infinity
* test/ruby/test_optimization.rb (test_opt_case_dispatch_inf): new
[ruby-dev:49423] [Bug #11804]'
Fri Dec 11 16:48:57 2015 Eric Wong <[email protected]>
* hash.c (rb_num_hash_start): avoid pathological behavior
[ruby-core:72028] [Feature #11405]
Fri Dec 11 11:58:46 2015 SHIBATA Hiroshi <[email protected]>
* NEWS: Mentioned rubygems-2.5.1
Fri Dec 11 11:52:39 2015 SHIBATA Hiroshi <[email protected]>
* lib/rubygems: Update to RubyGems 2.5.1
* test/rubygems: ditto.
Fri Dec 11 11:38:14 2015 Nobuyoshi Nakada <[email protected]>
* compile.c (iseq_compile_each, ibf_load_object_hash): rehash
case-dispatch hash to reduce collisions.
http://d.hatena.ne.jp/ku-ma-me/20151210
Fri Dec 11 03:44:43 2015 NARUSE, Yui <[email protected]>
* object.c (rb_inspect): dump inspected result with rb_str_escape()
instead of raising Encoding::CompatibilityError. [Feature #11801]
* string.c (rb_str_escape): added to dump given string like
rb_str_inspect without quotes and always dump in US-ASCII
like rb_str_dump.
Thu Dec 10 14:59:59 2015 Koichi Sasada <[email protected]>
* test/ruby/test_gc.rb (test_expand_heap): relax condition (1->2).
Thu Dec 10 14:15:59 2015 SHIBATA Hiroshi <[email protected]>
* cont.c: fix a double word typo.
[Bug #11313][ruby-core:69749]
Thu Dec 10 14:13:34 2015 SHIBATA Hiroshi <[email protected]>
* ext/tk/lib/multi-tk.rb: fix typos.
[Bug #11764][ruby-core:71800]
Thu Dec 10 11:33:34 2015 Eric Wong <[email protected]>
* compile.c (iseq_compile_each): reduce needless rb_str_dup
[ruby-core:72018] <[email protected]>
Thu Dec 10 09:32:51 2015 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb, lib/shellwords.rb: disable frozen-string-literal.
[ruby-core:72011] [Bug #11800]
Thu Dec 10 06:33:39 2015 Eric Wong <[email protected]>
* marshal.c (memsize_dump_arg): remove NULL check
(memsize_load_arg): ditto
Thu Dec 10 05:53:18 2015 Nobuyoshi Nakada <[email protected]>
* tool/mkconfig.rb: rbconfig must not be frozen-string-literal to
expand CONFIG hash. [ruby-core:72006] [Bug #11798]
Thu Dec 10 05:03:51 2015 Eric Wong <[email protected]>
* ext/socket/ifaddr.c (ifaddr_mark): remove empty function
(ifaddr_type): pass zero to rb_data_type_t.function.dmark
Thu Dec 10 04:49:16 2015 Eric Wong <[email protected]>
* proc.c (bm_free): remove, use default free
(method_data_type): use RUBY_TYPED_DEFAULT_FREE
Thu Dec 10 02:01:41 2015 Koichi Sasada <[email protected]>
* compile.c (iseq_compile_each): do not add debug information
without --debug or --debug=frozen-string-literal option
because String#dup slows down with debug information.
[Feature #11725]
* NEWS: apply about it.
* test/ruby/test_rubyoptions.rb: catch up this fix with refactoring.
Thu Dec 10 00:06:56 2015 Koichi Sasada <[email protected]>
* iseq.c: rename methods
RubyVM::InstructionSequence#to_binary_format -> #to_binary
RubyVM::InstructionSequence.from_binary_format -> .load_from_binary
RubyVM::InstructionSequence.from_binary_format_extra_data ->
.load_from_binary_extra_data
* iseq.c: fix document of iseq.to_binary.
[Fix GH-1134]
* sample/iseq_loader.rb: catch up this change.
* test/lib/iseq_loader_checker.rb: ditto.
Wed Dec 9 17:02:03 2015 Nobuyoshi Nakada <[email protected]>
* regparse.h (SET_NTYPE): get rid of breaking strict aliasing.
patch by Zarko Todorovski in [ruby-core:71953]. [Bug #11790]
Wed Dec 9 16:10:37 2015 Koichi Sasada <[email protected]>
* vm.c (rb_vm_cref_in_context): Module#define_method in non-class
expression should be public.
[Bug #11754]
* test/ruby/test_method.rb: add a test.
Wed Dec 9 14:45:27 2015 Koichi Sasada <[email protected]>
* gc.c (gc_mark_stacked_objects): fix typo.
reported by XIE Zhibang. [Bug #11763]
Wed Dec 9 14:37:51 2015 Shugo Maeda <[email protected]>
* doc/syntax/refinements.rdoc: remove outdated description.
Wed Dec 9 09:58:09 2015 Koichi Sasada <[email protected]>
* ext/**/*.c (*_memsize): same as r52986 for extensions.
Wed Dec 9 09:46:19 2015 SHIBATA Hiroshi <[email protected]>
* .gitignore: ignored ISeq binary format.
Wed Dec 9 09:34:41 2015 Koichi Sasada <[email protected]>
* *.c (*_memsize): do not check ptr.
NULL checking is finished Before call of memsize functions.
See r52979.
Wed Dec 9 09:25:29 2015 SHIBATA Hiroshi <[email protected]>
* test/net/smtp/test_response.rb: use Test::Unit. We should use Test::Unit
without rubygems and rdoc.
Wed Dec 9 06:26:23 2015 Colin Kelley <[email protected]>
* lib/uri/generic.rb: enable frozen_string_literal
(split_userinfo): remove explicit .freeze for string literals
(check_path): ditto
(query): ditto
(fragment): ditto
(to_s): ditto
[ruby-core:71910] [Bug #11759]
Wed Dec 9 06:25:47 2015 Eric Wong <[email protected]>
* test/uri/test_generic.rb (to_s): new test
[ruby-core:71820]
Wed Dec 9 02:18:52 2015 Koichi Sasada <[email protected]>
* compile.c (ibf_dump_memsize): should check NULL.
Wed Dec 9 01:46:35 2015 NAKAMURA Usaku <[email protected]>
* string.c (rb_str_init): now accepts new option parameter `encoding'.
[Feature #11785]
Wed Dec 9 00:52:37 2015 Nobuyoshi Nakada <[email protected]>
* file.c (rb_stat_wr, rb_stat_ww): call get_stat only once and
reduce checking struct. patch by Yuki Kurihara in
[ruby-core:71949]. [Misc #11789]
Wed Dec 9 00:24:33 2015 Koichi Sasada <[email protected]>
* compile.c (iseq_ibf_dump): dump extra data just string length.
* sample/iseq_loader.rb: add using
RubyVM::InstructionSequence.from_binary_format_extra_data method
(commented out).
Mon Dec 9 00:21:19 2015 Yuki Nishijima <[email protected]>
* gems/bundled_gems: Upgrade the did_you_mean gem to 1.0.0.rc1
Wed Dec 9 00:17:49 2015 Koichi Sasada <[email protected]>
* compile.c (ibf_load_setup): cast to int.
Wed Dec 9 00:13:09 2015 Koichi Sasada <[email protected]>
* compile.c (ibf_setup_load): rename to ibf_load_setup().
* compile.c (iseq_load_setup): check binary format.
Tue Dec 8 23:30:07 2015 Naohisa Goto <[email protected]>
* test/io/console/test_io_console.rb (run_pty): Avoid waiting twice
for a process. Fix Errno::ECHILD in TestIO_Console#test_close and
TestIO_Console#test_sync.
Tue Dec 8 23:05:47 2015 Koichi Sasada <[email protected]>
* compile.c (iseq_ibf_dump): fix for clang type checker.
Tue Dec 8 23:04:02 2015 Koichi Sasada <[email protected]>
* iseq.c (iseq_s_load): fix mysterious bug.
Tue Dec 8 22:31:58 2015 Koichi Sasada <[email protected]>
* introduce new ISeq binary format serializer/de-serializer
and a pre-compilation/runtime loader sample.
[Feature #11788]
* iseq.c: add new methods:
* RubyVM::InstructionSequence#to_binary_format(extra_data = nil)
* RubyVM::InstructionSequence.from_binary_format(binary)
* RubyVM::InstructionSequence.from_binary_format_extra_data(binary)
* compile.c: implement body of this new feature.
* load.c (rb_load_internal0), iseq.c (rb_iseq_load_iseq):