forked from ruby/ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
7852 lines (4996 loc) · 272 KB
/
ChangeLog
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
Tue Aug 30 03:38:35 2016 NARUSE, Yui <[email protected]>
* vm_dump.c (backtrace): use rip in the saved context for the case
the SIGSEGV is received when the process is in userland.
Note that ip in the stack should be used if the signal is received
when it is in kernel (when it is calling syscall) [Bug #12711]
Sat Aug 27 10:26:14 2016 Nobuyoshi Nakada <[email protected]>
* array.c (rb_ary_concat_multi): take multiple arguments. based
on the patch by Satoru Horie. [Feature #12333]
* string.c (rb_str_concat_multi, rb_str_prepend_multi): ditto.
Thu Aug 25 00:42:31 2016 Nobuyoshi Nakada <[email protected]>
* win32/file.c (append_wstr): remove a codepage argument, and use
INVALID_CODE_PAGE for conversion by econv.
* win32/file.c (append_wstr): exclude the terminator from the
result length when input len == -1.
Wed Aug 24 22:41:30 2016 Kouhei Sutou <[email protected]>
* gc.c (gc_reset_malloc_info): Remove too much ";".
Wed Aug 24 20:07:57 2016 Naohisa Goto <[email protected]>
* include/ruby/defines.h (ALWAYS_INLINE): Add alternative definition.
Fix compile error with compilers that do not have force inline
attribute, including old version of fcc on Solaris 10.
[ruby-dev:49773] [Bug #12701]
Wed Aug 24 16:56:26 2016 NARUSE, Yui <[email protected]>
* .gdbinit: follow r55766's VM change.
Wed Aug 24 12:57:56 2016 Nobuyoshi Nakada <[email protected]>
* object.c (rb_mod_initialize, rb_class_initialize): [DOC] these
methods do not invoke module_eval/class_eval, just eval the
given block under the new module/class but sharing the context
with the surrounding scope like those methods.
[ruby-core:77023] [Bug #12696]
Tue Aug 23 10:34:40 2016 Nobuyoshi Nakada <[email protected]>
* test/psych/test_psych.rb (test_load_file_with_fallback): fix
Tempfile leak. https://github.com/tenderlove/psych/pull/288
Tue Aug 23 10:15:01 2016 Nobuyoshi Nakada <[email protected]>
* string.c (rb_fs_setter): check and convert $; value at
assignment.
Tue Aug 23 02:09:57 2016 Nobuyoshi Nakada <[email protected]>
* string.c (rb_str_split_m): show $; name in error message when it
is a wrong object.
Mon Aug 22 16:29:52 2016 Nobuyoshi Nakada <[email protected]>
* lib/csv.rb (CSV#shift): store partial quoted strings in an array
and join at last, to improve performance with very long quoted
lines. [ruby-core:76987] [Bug #12691]
Mon Aug 22 14:35:57 2016 Nobuyoshi Nakada <[email protected]>
* man/irb.1: remove useless -width option.
[ruby-dev:49767] [Bug #12692]
Mon Aug 22 09:02:56 2016 Nobuyoshi Nakada <[email protected]>
* iseq.c (Init_ISeq): undefine allocator of InstructionSequence,
to get rid of segfaults at method call on uninitialized object.
Sat Aug 21 05:47:00 2016 Kenta Murata <[email protected]>
* enum.c (enum_sort): prevent wasteful array duplication.
Sat Aug 20 11:20:32 2016 Nobuyoshi Nakada <[email protected]>
* rubystub.c: generalize win32/stub.c.
Fri Aug 19 11:39:06 2016 Nobuyoshi Nakada <[email protected]>
* parse.y (primary): allow parenthesised statement as a method
argument. [Feature #12686]
Fri Aug 19 09:12:45 2016 Nobuyoshi Nakada <[email protected]>
* vm.c (vm_set_main_stack): TOPLEVEL_BINDING must be built.
http://www.viva64.com/en/b/0414/#ID0EQ1CI [ruby-core:76973]
Fri Aug 19 01:00:53 2016 Yuichiro Kaneko <[email protected]>
* proc.c (mnew_missing): Remove an unused argument.
After r51126 rid is not used.
Thu Aug 18 09:26:52 2016 SHIBATA Hiroshi <[email protected]>
* gems/bundled_gems: bump to test-unit-3.2.1
Thu Aug 18 02:36:26 2016 Nobuyoshi Nakada <[email protected]>
* tool/rbinstall.rb: skip gems which failed to build extensions.
[ruby-dev:49764] [Bug #12683]
Wed Aug 17 23:35:12 2016 Nobuyoshi Nakada <[email protected]>
* gems/bundled_gems (tk): bump up to 0.1.1.
Wed Aug 17 23:14:42 2016 Nobuyoshi Nakada <[email protected]>
* ext/extmk.rb: build gem extensions into separate directories
* tool/rbinstall.rb: install pre-built gem extension files gem
extension directories. [ruby-core:76931] [Bug #12681]
Tue Aug 16 21:04:30 2016 Nobuyoshi Nakada <[email protected]>
* common.mk (UNICODE_HDR_DIR): separate unicode header files from
unicode data files. [ruby-core:76879] [Bug #12677]
Tue Aug 16 11:17:51 2016 Koichi ITO <[email protected]>
* lib/net/http/header.rb: Fix typo. [ci skip][fix GH-1407]
* transcode.c: ditto.
Tue Aug 16 11:02:31 2016 Nobuyoshi Nakada <[email protected]>
* tool/make-snapshot (package): save generated header files from
unicode data. [ruby-core:76879] [Bug #12677]
Mon Aug 15 20:31:34 2016 Nobuyoshi Nakada <[email protected]>
* node.c (dump_array): show nd_alen field in NODE_ARRAY only in
the first node. it is nd_end in the rest nodes.
Mon Aug 15 16:41:32 2016 Kazuhiro NISHIYAMA <[email protected]>
* appveyor.yml: Update libressl version to 2.3.7.
Mon Aug 15 11:46:50 2016 Nobuyoshi Nakada <[email protected]>
* ext/extmk.rb (extmake): extension libraries in gems cannot link
statically.
Sun Aug 14 22:35:40 2016 Nobuyoshi Nakada <[email protected]>
* id_table.c (hash_table_extend): should not shrink the table than
the previous capacity. [ruby-core:76534] [Bug #12614]
Sun Aug 14 18:51:24 2016 Nobuyoshi Nakada <[email protected]>
* gems/bundled_gems: add gemified tk 0.1.0.
this needs `extract-gems` to build.
Sun Aug 14 14:54:14 2016 Kouhei Sutou <[email protected]>
* object.c (InitVM_Object): Update referenced document path.
Sat Aug 13 23:08:01 2016 Nobuyoshi Nakada <[email protected]>
* numeric.c (num_funcall0, num_funcall1): get rid of infinite
recursion in fallback methods of Numeric.
Sat Aug 13 11:10:08 2016 Nobuyoshi Nakada <[email protected]>
* parse.y (command_asgn, arg): fix syntax errors with chained
assignment with op assign. [Bug #12669]
Sat Aug 13 10:52:19 2016 Nobuyoshi Nakada <[email protected]>
* parse.y (stmt, arg): rescue modifier in command op assignment
should be limited to rhs only. [ruby-core:75621] [Bug #12402]
Sat Aug 13 07:51:40 2016 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (ole_val2variant): fix integer conversion in
cygwin64.
Fri Aug 12 21:05:19 2016 NARUSE, Yui <[email protected]>
* lib/webrick/config.rb (WEBrick::Config::General):
disable reverse lookup by default. [ruby-core:45514] [Feature #6559]
Socket.do_not_reverse_lookup is true by default but WEBrick
overwrote it.
patch by Eric Hodel [ruby-core:45527]
Fri Aug 12 12:50:31 2016 Nobuyoshi Nakada <[email protected]>
* error.c (rb_syntax_error_append): fix newline in syntax error
message to the beginning, not after file name and line number.
[Feature #11951]
Thu Aug 11 16:24:23 2016 Ferdinand Niedermann <[email protected]>
* compar.c (cmp_clamp): Introduce Comparable#clamp. [Feature #10594]
Thu Aug 11 03:16:59 2016 Marc-Andre Lafortune <[email protected]>
* lib/prime.rb: Optimize prime?
Adapted from patch by Jabari Zakiya [#12665]
* test/test_prime.rb: Improve test
Wed Aug 10 22:37:01 2016 Nobuyoshi Nakada <[email protected]>
* parse.y (command_rhs, arg_rhs): introduce new rules to reduce
repeated rules with rescue modifier.
Wed Aug 10 17:26:43 2016 Nobuyoshi Nakada <[email protected]>
* parse.y (command_asgn): rescue modifier in command assignment
should be limited to rhs only. [ruby-core:75621] [Bug #12402]
Wed Aug 10 15:35:03 2016 Nobuyoshi Nakada <[email protected]>
* ext/win32/resolv/resolv.c: needs windows.h for iphlpapi.h on
cygwin. [ruby-core:76791] [Bug #12663]
* ext/win32/resolv/resolv.c (w32error_make_error): use
Win32::Resolv::Error, an alias of Win32::Registry::Error.
Tue Aug 9 17:50:00 2016 Kenta Murata <[email protected]>
* hash.c (rb_hash_map_v, rb_hash_map_v_bang): implement Hash#map_v and
Hash#map_v! [Feature #12512] [ruby-core:76095]
* test/ruby/test_hash.rb: add tests for above change.
Tue Aug 9 16:09:03 2016 NARUSE, Yui <[email protected]>
* vm_insnhelper.c (vm_getivar): use always_inline because
gcc7 doesn't inline this without always_inline.
Tue Aug 9 15:41:24 2016 NARUSE, Yui <[email protected]>
* ext/tk: Tk is removed from stdlib. [Feature #8539]
https://github.com/ruby/tk is the new upstream.
Tue Aug 9 00:12:31 2016 Kazuhiro NISHIYAMA <[email protected]>
* doc/maintainers.rdoc: Remove moved file section.
Mon Aug 8 20:56:46 2016 Masaki Suketa <[email protected]>
* ext/win32ole/sample/excel1.rb, ext/win32ole/sample/excel2.rb,
ext/win32ole/sample/excel3.rb, ext/win32ole/sample/ie.rb,
ext/win32ole/sample/ienavi.rb, ext/win32ole/sample/ienavi2.rb: use
true instead of deprecated TRUE. [ci skip]
Mon Aug 8 12:51:12 2016 Zarko Todorovski <[email protected]>
* internal.h (RBASIC_CLEAR_CLASS): Reroute ANSI C's strict
aliasing rule.
[ruby-core:74427][Bug #12191][ruby-core:76747][Bug #12657]
Sun Aug 7 18:08:27 2016 Nobuyoshi Nakada <[email protected]>
* object.c (InitVM_Object): deprecate toplevel constants TRUE,
FALSE, and NIL. [Feature #12574]
Sun Aug 7 06:48:21 2016 Eric Wong <[email protected]>
* ext/openssl/ossl_ssl.c (ossl_ssl_write_internal):
avoid undefined behavior
* test/openssl/test_pair.rb (test_write_zero): new test
[ruby-core:76751] [Bug #12660]
Sat Aug 6 09:35:30 2016 Nobuyoshi Nakada <[email protected]>
* id_table.h (rb_id_table_iterator_result): add dummy sentinel
member because C standard prohibits a trailing comma.
Sat Aug 6 00:39:44 2016 Nobuyoshi Nakada <[email protected]>
* hash.c (env_enc_str_new): make string for an environment
variable name or value.
* hash.c (env_name_new): make environment value string with the
encoding for its name.
Fri Aug 5 23:18:35 2016 NAKAMURA Usaku <[email protected]>
* hash.c (env_str_new): taint the string. get rid of a test failure
introduced at r55811.
Fri Aug 5 17:04:02 2016 Nobuyoshi Nakada <[email protected]>
* hash.c (w32_getenv): call rb_w32_getenv and rb_w32_ugetenv via
this pointer without further comparisons.
Thu Aug 4 11:54:30 2016 Nobuyoshi Nakada <[email protected]>
* hash.c (env_assoc): the encoding of the value should be the
locale, as well as other methods, [], fetch, values, etc.
Wed Aug 3 21:31:23 2016 Nobuyoshi Nakada <[email protected]>
* parse.y (reg_fragment_enc_error): compile_error is different
between parser and ripper. [ruby-core:76397] [Bug #12651]
Wed Aug 3 17:15:06 2016 Nobuyoshi Nakada <[email protected]>
* object.c (rb_obj_clone2): restrict freeze option to true other
than false which only has the effect. [Feature #12300]
Wed Aug 3 10:47:07 2016 Koichi Sasada <[email protected]>
* vm_core.h: introduce VM_FRAME_RUBYFRAME_P()
and VM_FRAME_CFRAME_P().
Most of case, RUBY_VM_NORMAL_ISEQ_P() is no
longer needed.
* vm_core.h: introduce rb_obj_is_iseq().
* cont.c, vm.c: VM_FRAME_MAGIC_DUMMY with
VM_FRAME_FLAG_CFRAME.
Wed Aug 3 09:25:16 2016 Koichi Sasada <[email protected]>
* vm_core.h: rename macros and make them inline functions.
* rename VM_FRAME_TYPE_FINISH_P() to VM_FRAME_FINISHED_P().
* rename VM_FRAME_TYPE_BMETHOD_P() to VM_FRAME_BMETHOD_P().
Wed Aug 03 09:15:02 2016 Koichi Sasada <[email protected]>
* vm_core.h: introduce VM_FRAME_FLAG_CFRAME to represent cfp->iseq
type.
Tue Aug 2 21:42:40 2016 Chia-sheng Chen <[email protected]>
* math.c (tanh): make faster by the extract form if three
hyperbolic functions are unavailable. [Feature #12647]
Tue Aug 2 12:37:00 2016 Nobuyoshi Nakada <[email protected]>
* ext/socket/option.c, ext/socket/rubysocket.h (inet_ntop): share
the fallback definition. [ruby-core:76646] [Bug #12645]
Tue Aug 2 04:07:29 2016 NAKAMURA Usaku <[email protected]>
* win32/win32.c (set_pioinfo_extra): use more reliable way to search
the position of pioinfo of VC14, and also support debug library of it.
patched by davispuh AT gmail.com
[ruby-core:76644] [Bug #12644]
this fixes also [Bug #12631]
Mon Aug 1 21:39:52 2016 Nobuyoshi Nakada <[email protected]>
* ext/extmk.rb: [EXPERIMENTAL] build extension libraries in
extracted gems.
Mon Aug 1 16:07:18 2016 URABE Shyouhei <[email protected]>
* include/ruby/ruby.h (struct RStruct): no longer.
* internal.h (struct RStruct): moved here.
* struct.c (rb_struct_ptr): a compensation function for the lack
of RSTRUCT_PTR. But now that we have RSTRUCT_GET/SET, that must
not be used anyway. I mark this deprecated. Dont use it.
Mon Aug 1 14:50:06 2016 Jeremy Evans <[email protected]>
* object.c (rb_obj_clone2): Allow Object#clone to take freeze:
false keyword argument to not freeze the clone.
[ruby-core:75017][Feature #12300]
* test/ruby/test_object.rb (TestObject): test for it.
Mon Aug 1 12:16:19 2016 SHIBATA Hiroshi <[email protected]>
* ext/json/*, test/json/json_parser_test.rb: Update json-2.0.2.
Sun Jul 31 16:17:23 2016 Nobuyoshi Nakada <[email protected]>
* ext/win32/resolv/resolv.c (get_dns_server_list): [Win32] get DNS
servers only for connected network devices by GetNetworkParams
API. [Bug #12604]
Sat Jul 30 12:13:26 2016 Martin Duerst <[email protected]>
* string.c (String#downcase), NEWS: Mentioned that case mapping for all
of ISO-8859-1~16 is now supported. [ci skip]
Sat Jul 30 12:00:01 2016 Martin Duerst <[email protected]>
* enc/iso_8859_2.c, test/ruby/enc/test_case_comprehensive.rb:
Implement non-ASCII case conversion for ISO-8859-2, by Yushiro Ishii.
Fri Jul 29 20:57:12 2016 chuanshuo <[email protected]>
* *.c: rename rb_funcall2 to rb_funcallv, except for extensions
which are/will be/may be gems. [Fix GH-1406]
Fri Jul 29 10:51:34 2016 Koichi Sasada <[email protected]>
* proc.c (env_write): remove unused function.
Fri Jul 29 10:49:52 2016 Koichi Sasada <[email protected]>
* vm_core.h (VM_LOCAL_P): should return an integer value.
reported at
http://d.hatena.ne.jp/nagachika/20160728/ruby_trunk_changes_55764_55770
Fri Jul 29 04:23:08 2016 Koichi Sasada <[email protected]>
* vm_core.h (VM_ENV_LOCAL_P): return truthy (0 or not) value.
* vm.c (rb_vm_make_proc_lambda): use VM_ENV_ESCAPED_P() macro.
Fri Jul 29 03:49:04 2016 Koichi Sasada <[email protected]>
* vm.c, internal.h: remove RubyVM::Env class and all of env objects
are imemo objects (imemo_env).
* NEWS: describe this change. I believe nobody touch these objects
because there are no method defined.
* vm_core.h: remove the following definitions.
* rb_cEnv decl.
* GetEnvPtr() because Env is no longer T_DATA object.
* vm_core.h (rb_env_t): fix layout for imemo values.
* vm_core.h (vm_assert_env): added.
* vm_core.h (vm_env_new): added.
Thu Jul 28 19:53:21 2016 Koichi Sasada <[email protected]>
* vm_core.h: revisit the structure of frame, block and env.
[Bug #12628]
This patch introduce many changes.
* Introduce concept of "Block Handler (BH)" to represent
passed blocks.
* move rb_control_frame_t::flag to ep[0] (as a special local
variable). This flags represents not only frame type, but also
env flags such as escaped.
* rename `rb_block_t` to `struct rb_block`.
* Make Proc, Binding and RubyVM::Env objects wb-protected.
Check [Bug #12628] for more details.
Thu Jul 28 15:05:12 2016 Nobuyoshi Nakada <[email protected]>
* include/ruby/ruby.h (ruby_fl_type): use __extension__ to get rid
of pedantic warning against RUBY_FL_USER19.
https://github.com/skylightio/skylight-ruby/issues/64
* include/ruby/ruby.h (rb_mul_size_overflow): ditto for use of
int128.
Wed Jul 27 10:32:59 2016 Martin Duerst <[email protected]>
* enc/windows_1253.c: Remove dead code found by Coverity Scan.
Tue Jul 26 22:43:36 2016 Nobuyoshi Nakada <[email protected]>
* gc.c (run_finalizer): make saved running finalizer state
volatile to ensure not to be clobbered by longjmp.
Tue Jul 26 19:26:00 2016 Koichi Sasada <[email protected]>
* vm_insnhelper.c: introduce rb_vm_pop_frame() and use it
instead of setting rb_thread_t::cfp directly.
* vm_insnhelper.c (vm_pop_frame): return the result of
finish frame or not.
Tue Jul 26 19:06:39 2016 Koichi Sasada <[email protected]>
* gc.c (rb_raw_obj_info): support to show Proc obj.
Tue Jul 26 18:55:55 2016 Koichi Sasada <[email protected]>
* gc.c (gc_mark): add `inline' explicitly.
I expected to inline this function implicitly at the loop
(ex: marking T_ARRAY objects) but sometimes it remains as
normal call.
Tue Jul 26 16:33:16 2016 Martin Duerst <[email protected]>
* enc/windows_1257.c, test/ruby/enc/test_case_comprehensive.rb:
Implement non-ASCII case conversion for Windows-1257, by Sho Koike.
Tue Jul 26 16:19:41 2016 Martin Duerst <[email protected]>
* enc/windows_1250.c, test/ruby/enc/test_case_comprehensive.rb:
Implement non-ASCII case conversion for Windows-1250, by Sho Koike.
* ChangeLog: Fixed order of previous two entries.
Tue Jul 26 15:54:17 2016 Martin Duerst <[email protected]>
* enc/windows_1253.c, test/ruby/enc/test_case_comprehensive.rb:
Implement non-ASCII case conversion for Windows-1253, by Takumi Koyama.
Tue Jul 26 15:30:37 2016 Martin Duerst <[email protected]>
* enc/windows_1251.c, test/ruby/enc/test_case_comprehensive.rb:
Implement non-ASCII case conversion for Windows-1251, by Shunsuke Sato.
Tue Jul 26 13:04:59 2016 Martin Duerst <[email protected]>
* test/ruby/enc/test_case_comprehensive.rb: Add explicit skip test for
availability of Unicode data files.
Mon Jul 25 21:33:13 2016 Nobuyoshi Nakada <[email protected]>
* range.c (check_step_domain): check step argument domain by <=>
method, instead of < and >.
Mon Jul 25 21:11:32 2016 Kazuhiro NISHIYAMA <[email protected]>
* doc/maintainers.rdoc: fix filenames.
Mon Jul 25 16:59:00 2016 Koichi Sasada <[email protected]>
* debug.c (ruby_debug_printf): use rb_raw_obj_info()
instead of rb_inspect() because it is more robust way
to see object internal.
Sun Jul 24 16:33:13 2016 Martin Duerst <[email protected]>
* regenc.h/c, include/ruby/oniguruma.h, enc/ascii.c, big5.c, cp949.c,
emacs_mule.c, euc_jp.c, euc_kr.c, euc_tw.c, gb18030.c, gbk.c,
iso_8859_1|2|3|4|5|6|7|8|9|10|11|13|14|15|16.c, koi8_r.c, koi8_u.c,
shift_jis.c, unicode.c, us_ascii.c, utf_16|32be|le.c, utf_8.c,
windows_1250|51|52|53|54|57.c, windows_31j.c, unicode.c:
Remove conditional compilation macro ONIG_CASE_MAPPING. [Feature #12386].
Sun Jul 24 12:53:42 2016 SHIBATA Hiroshi <[email protected]>
* doc/maintainers.rdoc: xmlrpc is bundled gem from Ruby 2.4.
Sun Jul 24 12:07:39 2016 SHIBATA Hiroshi <[email protected]>
* doc/maintainers.rdoc: Update OpenSSL maintainer.
Sat Jul 23 22:43:41 2016 Nobuyoshi Nakada <[email protected]>
* internal.h (Check_Type): inline check for the object type.
Sat Jul 23 04:06:04 2016 Nobuyoshi Nakada <[email protected]>
* include/ruby/ruby.h (RTEST, NIL_P): use RUBY prefixed name in
macros.
Sat Jul 23 01:41:29 2016 Eric Wong <[email protected]>
* lib/webrick/httpservlet/cgihandler.rb (do_GET): delete HTTP_PROXY
* test/webrick/test_cgi.rb (test_cgi_env): new test
* test/webrick/webrick.cgi (do_GET): new endpoint to dump env
[ruby-core:76511] [Bug #12610]
Fri Jul 22 19:55:20 2016 Nobuyoshi Nakada <[email protected]>
* vm.c (vm_set_main_stack): remove unnecessary check. toplevel
binding must be initialized. [Bug #12611] (N1)
* win32/win32.c (w32_symlink): fix return type. [Bug #12611] (N3)
* string.c (rb_str_split_m): simplify the condition.
[Bug #12611](N4)
Fri Jul 22 17:13:37 2016 Martin Duerst <[email protected]>
* string.c (String#dump): Change escaping of non-ASCII characters in
UTF-8 to use upper-case four-digit hexadecimal escapes without braces
where possible [Feature #12419].
* test/ruby/test_string.rb (test_dump): Add tests for above.
Fri Jul 22 10:35:35 2016 Kouhei Sutou <[email protected]>
* lib/rexml/attribute.rb (REXML::Attribute#to_string): Fix wrong
entry reference name of double quote.
[Bug #12609][ruby-core:76509]
Patch by Joseph Marrero. Thanks!!!
Fri Jul 22 10:32:13 2016 Martin Duerst <[email protected]>
* template/unicode_norm_gen.tmpl: Remove
UnicodeNormalize::UNICODE_VERSION at origin [Feature #12546].
Fri Jul 22 09:23:51 2016 SHIBATA Hiroshi <[email protected]>
* LEGAL: Added entries for files under the USD license.
[Bug #12598][ruby-core:76428][ci skip]
Fri Jul 22 09:19:57 2016 SHIBATA Hiroshi <[email protected]>
* LEGAL: Added entry for `lib/rdoc/generator/template/darkfish/css/fonts.css`
[Misc #12550][ruby-core:76255][ci skip]
Fri Jul 22 06:28:32 2016 Nobuyoshi Nakada <[email protected]>
* gc.c (run_finalizer): push and exec tag just once, instead of
protecting for each finalizer.
* gc.c (gc_start_internal, rb_gc_start): set finalizing flag
whenever calling deferred finalizers not to recurse.
Thu Jul 21 22:26:40 2016 SHIBATA Hiroshi <[email protected]>
* missing/strl{cat,cpy}.c: Update latest upstream files.
[Misc #12205][ruby-core:74487]
* LEGAL: Update license for missing/strl{cat,cpy}.c.
Thu Jul 21 21:53:30 2016 SHIBATA Hiroshi <[email protected]>
* LEGAL: added file list with Public domain license.
[ruby-core:76254][Bug #12549]
Wed Jul 20 17:44:07 2016 Nobuyoshi Nakada <[email protected]>
* enumerator.c (lazy_uniq): new method Enumerator::Lazy#uniq.
[Feature #11090]
* enum.c (enum_uniq): new method Enumerable#uniq.
[Feature #11090]
Wed Jul 20 17:35:23 2016 Nobuyoshi Nakada <[email protected]>
* hash.c (rb_hash_add_new_element): add new element or do nothing
if it is contained already.
* array.c (ary_add_hash, ary_add_hash_by): use
rb_hash_add_new_element.
Tue Jul 19 18:21:17 2016 Martin Duerst <[email protected]>
* lib/unicode_normalize/tables.rb: Remove
UnicodeNormalize::UNICODE_VERSION (#12546).
Tue Jul 19 15:38:59 2016 Nobuyoshi Nakada <[email protected]>
* variable.c (rb_local_constants_i): exclude private constants
when excluding inherited constants too. [Bug #12345]
Sun Jul 17 23:42:00 2016 Kenta Murata <[email protected]>
* numeric.c (num_finite_p, num_infinite_p): Add Numeric#finite? and
Numeric#infinite? [Feature #12039] [ruby-core:73618]
* complex.c (rb_complex_finite_p): Add Complex#finite?
* complex.c (rb_complex_infinite_p): Add Complex#infinite?
* test/ruby/test_bignum.rb: Add test for Integer#finite? and
Integer#infinite?
* test/ruby/test_fixnum.rb: ditto.
* test/ruby/test_rational.rb: Add test for Rational#finite? and
Rational#infinite?
* test/ruby/test_complex.rb: Add test for Complex#finite? and
Complex#infinite?
Sun Jul 17 20:59:24 2016 Nobuyoshi Nakada <[email protected]>
* common.mk, enc/depend (casefold.h, name2ctype.h): move to
unicode data directory per version.
Sat Jul 16 06:26:00 2016 Nobuyoshi Nakada <[email protected]>
* common.mk, enc/Makefile.in: moved timestamp files for
directories under the specific directory, to get rid of match
with files under the source directory.
Fri Jul 15 22:05:13 2016 Naohisa Goto <[email protected]>
* string.c (str_buf_cat): Fix potential integer overflow of capa.
In addition, termlen is used instead of +1.
Fri Jul 15 21:30:38 2016 Naohisa Goto <[email protected]>
* string.c (str_buf_cat): Fix capa size for embed string.
Fix bug in r55547. [Bug #12536]
Fri Jul 15 18:13:15 2016 SHIBATA Hiroshi <[email protected]>
* gems/bundled_gems: update latest gems.
Fri Jul 15 17:08:57 2016 Nobuyoshi Nakada <[email protected]>
* util.c (ruby_strtod): do not underflow only by preceding zeros,
which may be canceled out by the exponent.
http://twitter.com/kazuho/status/753829998767714305
Fri Jul 15 09:53:48 2016 Nobuyoshi Nakada <[email protected]>
* enc/unicode/case-folding.rb, tool/enc-unicode.rb: check if
Unicode versions are consistent with each other.
Fri Jul 15 08:25:15 2016 Jeremy Evans <[email protected]>
* string.c (STR_BUF_MIN_SIZE): reduce from 128 to 127
[ruby-core:76371] [Feature #12025]
* string.c (rb_str_buf_new): adjust for above reduction
Thu Jul 14 17:26:00 2016 Nobuyoshi Nakada <[email protected]>
* Makefile.in (enc/unicode/name2ctype.h): remove stale recipe,
which did not support Unicode age properties.
* common.mk (enc/unicode/name2ctype.h): update by --header option
of tool/enc-unicode.rb. enc/unicode/name2ctype.kwd file has not
been used.
* common.mk (enc/unicode/name2ctype.kwd): rule to create from
Unicode data files, used only when the target does not exist.
Thu Jul 14 13:10:54 2016 Nobuyoshi Nakada <[email protected]>
* ext/json/lib/json/ext: remove stale directory. bundled
extension libraries are placed under the directory for each
architectures, but not mixed with plain text script libraries.
Thu Jul 14 12:48:47 2016 SHIBATA Hiroshi <[email protected]>
* ext/json/**/*.rb: merge original files from upstream repository.
It only fixes styles of frozen string literal.
Wed Jul 13 22:23:03 2016 SHIBATA Hiroshi <[email protected]>
* test/json/json_common_interface_test.rb: use assert_raise instead of
assert_raises.
Wed Jul 13 22:14:23 2016 SHIBATA Hiroshi <[email protected]>
* test/lib/test/unit.rb: added test files with `_test` suffix for json
upstream.
* test/json: merge original test files from json upstream.
Wed Jul 13 18:09:42 2016 Martin Duerst <[email protected]>
* enc/iso_8859_9.c, test/ruby/enc/test_case_comprehensive.rb:
Implement non-ASCII case conversion for ISO-8859-9, by Kazuki Iijima.
* enc/iso_8859_9.c: Exclude dotless i/I with dot from case-insensitive
matching because they are not a case pair.
* test/ruby/enc/test_iso_8859.rb: Make test coverage for ISO-8859-9
a bit more complete.
Wed Jul 13 17:21:24 2016 Martin Duerst <[email protected]>
* enc/windows_1252.c, test/ruby/enc/test_case_comprehensive.rb:
Implement non-ASCII case conversion for Windows-1252, by Serina Tai.
* test/ruby/enc/test_case_comprehensive.rb: Fix order of encodings.
Wed Jul 13 16:19:14 2016 Martin Duerst <[email protected]>
* enc/iso_8859_7.c, test/ruby/enc/test_case_comprehensive.rb:
Implement non-ASCII case conversion for ISO-8859-7, by Kosuke Kurihara.
* test/ruby/enc/test_case_comprehensive.rb: Fix order of encodings.
Wed Jul 13 16:08:08 2016 Koichi Sasada <[email protected]>
* gc.c (gc_mark_roots): should mark the VM object itself to mark
singleton class of the VM object.
Before this patch, we only set mark bit for the VM object and
invoke mark function separately.
[Bug #12583]
* test/ruby/test_gc.rb: add a test.
Wed Jul 13 15:59:59 2016 NAKAMURA Usaku <[email protected]>
* math.c (_USE_MATH_DEFINES): it must be set before including internal.h
because internal.h includes ruby.h, ruby.h includes win32.h, and
win32.h includes system's math.h.
this change is to get rid of a compiler warning (redefinition of
a macro) introduced at r55641.
Wed Jul 13 15:19:03 2016 Martin Duerst <[email protected]>
* enc/iso_8859_1.c, enc/iso_8859_4.c: Avoid setting modification flag if
there is no modification.
Wed Jul 13 14:40:04 2016 Martin Duerst <[email protected]>
* enc/iso_8859_5.c, test/ruby/enc/test_case_comprehensive.rb:
Implement non-ASCII case conversion for ISO-8859-5, by Masaru Onodera.
* test/ruby/enc/test_case_comprehensive.rb: Fix order of encodings.
Wed Jul 13 14:28:33 2016 NARUSE, Yui <[email protected]>
* math.c (rb_math_sqrt): r55646 must use f_signbit.
Wed Jul 13 14:22:50 2016 Koichi Sasada <[email protected]>
* iseq.c (Init_ISeq): undef ISeq.translate and ISeq.load_iseq
to prevent calling super classes' methods.
Without this patch, you can write workaround like:
class << RubyVM::InstructionSequence
def translate; end
undef translate
end
* test/ruby/test_iseq.rb: add a test.
Wed Jul 13 14:16:03 2016 Koichi Sasada <[email protected]>
* vm_method.c (method_entry_get_without_cache): check
undefined method even if ruby_running is FALSE.
We haven't call "undef"ed methods before ruby_running.
So that this issue does not make troubles.
Wed Jul 13 14:15:22 2016 Martin Duerst <[email protected]>
* enc/windows_1254.c: Adjust variable/macro names.
Wed Jul 13 13:19:12 2016 Martin Duerst <[email protected]>
* enc/iso_8859_9.c, enc/windows_1254.c: Split Windows-1254 from
ISO-8859-9 to be able to implement different case conversions.
Wed Jul 13 13:08:30 2016 Martin Duerst <[email protected]>
* enc/iso_8859_7.c, enc/windows_1253.c: Split Windows-1253 from
ISO-8859-7 to be able to implement different case conversions.
Wed Jul 13 10:50:12 2016 Martin Duerst <[email protected]>
* enc/iso_8859_13.c, test/ruby/enc/test_case_comprehensive.rb:
Implement non-ASCII case conversion for ISO-8859-13, by Kanon Shindo.
Wed Jul 13 10:31:39 2016 Martin Duerst <[email protected]>
* enc/iso_8859_13.c, enc/windows_1257.c: Split Windows-1257 from
ISO-8859-13 to be able to implement different case conversions.
Wed Jul 13 09:02:30 2016 Martin Duerst <[email protected]>
* enc/iso_8859_3.c, test/ruby/enc/test_case_comprehensive.rb:
Implement non-ASCII case conversion for ISO-8859-3, by Takuya Miyamoto.
* test/ruby/enc/test_case_comprehensive.rb: Extend special treatment
for Turkic.
* enc/iso_8859_3.c: Exclude dotless i/I with dot from case-insensitive
matching because they are not a case pair.
Wed Jul 13 08:40:21 2016 Martin Duerst <[email protected]>
* test/ruby/enc/test_iso_8859.rb: Exclude dotless i/I with dot from
case-insensitive matching because they are not a case pair.
Tue Jul 12 23:13:43 2016 Nobuyoshi Nakada <[email protected]>
* math.c (rb_math_sqrt): [EXPERIMENTAL] move Complex sqrt support
from mathn.rb.
Tue Jul 12 01:25:09 2016 NAKAMURA Usaku <[email protected]>
* configure.in, lib/mkmf.rb, win32/Makefile.sub (CSRCFLAG): make the
compiler option replacable in Makefile.
* win32/Makefile.sub (OUTFLAG, COUTFLAG): ditto.
* win32/Makeile.sub, win32/setup.mak (CC): should not append `-nologo`
option forcely.
Mon Jul 11 18:05:40 2016 Martin Duerst <[email protected]>
* enc/iso_8859_1.c: Moved test for lowercase characters without
uppercase equivalent.
Mon Jul 11 17:49:25 2016 Martin Duerst <[email protected]>
* enc/iso_8859_4.c, enc/iso_8859_10.c, enc/iso_8859_14.c,
enc/iso_8859_15.c, enc/iso_8859_16.c: Replace case-by-case code with
lookup in ENC_ISO_8859_xx_TO_LOWER_CASE table.
Mon Jul 11 16:00:56 2016 Nobuyoshi Nakada <[email protected]>
* ext/stringio/stringio.c (strio_each, strio_readlines): convert
arguments just once before reading, instead of conversions for
each lines, as r55603.
Sun Jul 10 19:53:41 2016 Martin Duerst <[email protected]>
* enc/iso_8859_10.c, test/ruby/enc/test_case_comprehensive.rb:
Implement non-ASCII case conversion for ISO-8859-10, by Toya Hosokawa.
Sun Jul 10 19:33:47 2016 Martin Duerst <[email protected]>
* test/ruby/enc/test_case_comprehensive.rb: Changed testing logic to
catch unintended modifications of characters that do not have a case
equivalent in the respective encoding.
* enc/iso_8859_1.c, enc/iso_8859_15.c: Fixed unintended modifications of
micro sign and y with diaeresis.
Sun Jul 10 17:05:36 2016 Martin Duerst <[email protected]>
* enc/iso_8859_4.c, test/ruby/enc/test_case_comprehensive.rb:
Implement non-ASCII case conversion for ISO-8859-4, by Kotaro Yoshida.
Sun Jul 10 16:17:47 2016 Martin Duerst <[email protected]>
* test/ruby/enc/test_case_comprehensive.rb: Fixed a comment
(message belongs to last commit). [ci skip]
Sun Jul 10 14:27:25 2016 Nobuyoshi Nakada <[email protected]>
* util.c (ruby_dtoa): [EXPERIMENTAL] adjust the case that the
Float value is close to the exact but unrepresentable middle
value of two values in the given precision, as r55604.
Sun Jul 10 08:57:20 2016 SHIBATA Hiroshi <[email protected]>
* thread.c: Fixed implicit conversion error with Apple clang-800.0.31
Sat Jul 9 12:43:09 2016 Shugo Maeda <[email protected]>
* lib/getoptlong.rb: use false instead of FALSE.
Fri Jul 8 21:49:28 2016 Naohisa Goto <[email protected]>
* thread.c (rb_wait_for_single_fd): Clean up fds.revents every time
before calling ppoll(2). [Bug #12575] [ruby-dev:49725]
Fri Jul 8 14:16:48 2016 Shugo Maeda <[email protected]>
* vm_args.c (vm_caller_setup_arg_block): call rb_sym_to_proc()
directly to reduce method dispatch overhead.
Fri Jul 8 08:43:31 2016 Shugo Maeda <[email protected]>
* io.c (rb_io_s_read): add description of pipes to the documentation
of IO.read.
Fri Jul 8 03:54:22 2016 NARUSE, Yui <[email protected]>
* vm_args.c (setup_parameters_complex): don't raise ArgumentError
if an array is given for instance_exec with optional argument.
[ruby-core:76300] [Bug #12568]
https://github.com/rails/rails/pull/25699
Fri Jul 8 00:47:36 2016 NARUSE, Yui <[email protected]>
* vm_eval.c (yield_under): change prototype to get argc/argv.
* vm_eval.c (specific_eval): change for above.
* vm_eval.c (rb_obj_instance_exec): avoid object allocation.
* vm_eval.c (rb_mod_module_exec): ditto.
Thu Jul 7 20:08:37 2016 Shugo Maeda <[email protected]>
* vm_args.c (vm_caller_setup_arg_block): disable symbol block
argument optimization when tail call optimization is enabled,
in order to avoid SEGV. [ruby-core:76288] [Bug #12565]
Thu Jul 7 16:37:53 2016 Nobuyoshi Nakada <[email protected]>
* numeric.c (flo_round): [EXPERIMENTAL] adjust the case that the
receiver is close to the exact but unrepresentable middle value
of two values in the given precision.
http://d.hatena.ne.jp/hnw/20160702
Thu Jul 7 16:31:07 2016 Nobuyoshi Nakada <[email protected]>
* io.c (rb_io_s_foreach, rb_io_s_readlines): convert arguments
just once before reading, instead of conversions for each lines.
Wed Jul 6 19:54:17 2016 Martin Duerst <[email protected]>
* enc/iso_8859_14.c, test/ruby/enc/test_case_comprehensive.rb:
Implement non-ASCII case conversion for ISO-8859-14, by Yutaro Tada.
Wed Jul 6 19:24:48 2016 Martin Duerst <[email protected]>
* enc/iso_8859_1.c, enc/iso_8859_15.c, enc/iso_8859_16.c:
Align indenting to onigmo convention.
Wed Jul 6 18:59:13 2016 Martin Duerst <[email protected]>
* enc/iso_8859_15.c, test/ruby/enc/test_case_comprehensive.rb:
Implement non-ASCII case conversion for ISO-8859-15, by Maho Harada.