forked from b1tfury/ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
10486 lines (6570 loc) · 345 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
Mon Nov 23 19:53:12 2015 Naohisa Goto <[email protected]>
* configure.in: On Solaris, with gcc, "-std=iso9899:1999"
in $ansi_options is often also needed in CPPFLAGS,
because some feature definitions vary depending on such
standards options.
Mon Nov 23 12:54:39 2015 Hamish Morrison <[email protected]>
* configure.in: remove obsolete workarounds for Haiku.
* dln.c, file.c, io.c: remove obsolete Haiku workarounds.
* thread_pthread.c: add stack bounds detection for Haiku.
* signal.c: get stack pointer from signal context on Haiku.
[ruby-core:67923] [Bug #10811] [Fix GH-1109]
Mon Nov 23 11:44:11 2015 SHIBATA Hiroshi <[email protected]>
* gems/bundled_gems: bump version to minitest-5.8.3
Mon Nov 23 08:55:00 2015 SHIBATA Hiroshi <[email protected]>
* ChangeLog: fix wrong reference for r52714
Sun Nov 22 22:23:37 2015 Rei Odaira <[email protected]>
* gc.c (rb_raw_obj_info): fix compile errors when USE_RGENGC
is 0.
Sun Nov 22 21:58:09 2015 Naohisa Goto <[email protected]>
* lib/cmath.rb: methods which has suffix '!' are now deprecated.
Re-apply r52469 made by Kazuki Tanaka, with fixing bug about
mathn.rb compatibility. [ruby-core:68528] [Feature #10974]
Sun Nov 22 19:36:51 2015 SHIBATA Hiroshi <[email protected]>
* ext/openssl/ossl.c: fix brew command for installation of openssl.
[ci skip][fix GH-1107] Patch by @arthurnn
Sun Nov 22 17:59:50 2015 Naohisa Goto <[email protected]>
* configure.in: On Solaris, add -D_XOPEN_SOURCE=n only when both
AC_TRY_CPP and AC_TRY_COMPILE pass, because some options
(e.g. -std=iso9899:1999) are not set when running C preprocessor
or building ext.
Sun Nov 22 16:53:34 2015 Nobuyoshi Nakada <[email protected]>
* compile.c (iseq_peephole_optimize): remove unreachable code
chunk after jump/leave.
* parse.y: move dead code elimination of logical operation to
compile.c. not to warn logical operation of literal constants.
Sun Nov 22 16:37:10 2015 Nobuyoshi Nakada <[email protected]>
* compile.c (iseq_peephole_optimize): eliminate always/never
branches after a literal object and when the value is used after
the branch.
Sun Nov 22 01:23:43 2015 Naohisa Goto <[email protected]>
* configure.in: Add -D_XOPEN_SOURCE=500 (or 600 or 700) on Solaris
if available, mainly for enabling some features in sockets.
Sun Nov 22 00:17:22 2015 Naohisa Goto <[email protected]>
* test/socket/test_socket.rb (test/socket/test_socket.rb): skip
the test when Socket::SO_TIMESTAMP is not defined. Fix error
on Solaris 10. [Bug #11728] [ruby-dev:49377]
Sat Nov 21 18:57:28 2015 Nobuyoshi Nakada <[email protected]>
* ruby.c (need_argument): move frozen-string-literal-debug option
from --enable to --debug. [Feature #11725]
* ruby.c (proc_options): fix pointer overrun. do not advance argv
until it is valid.
Sat Nov 21 13:59:09 2015 NARUSE, Yui <[email protected]>
* ext/digest/sha1/extconf.rb: OpenSSL's struct name for SHA1 is
SHA_CTX. http://openssl.org/docs/man0.9.8/crypto/SHA1.html
Sat Nov 21 13:31:52 2015 NARUSE, Yui <[email protected]>
* ext/digest/*/*.[ch]: include ruby.h before digest.h to avoid
including ext/digest/extconf.h. [Bug #3231]
https://msdn.microsoft.com/library/36k2cdd4.aspx
* ext/digest/*/extconf.rb: remove ext/digest from include search path
to avoid confusion of cl.exe.
* ext/digest/*/*.[ch]: explicitly specify def.h's path.
Sat Nov 21 13:05:16 2015 NARUSE, Yui <[email protected]>
* ext/openssl/ossl.h: LibreSSL doesn't have and need e_os2.h.
Sat Nov 21 09:18:10 2015 Koichi Sasada <[email protected]>
* thread_sync.c: reduce the specification of Queue#close.
* Queue#close accepts no arguments.
* deq'ing on closed queue returns nil, always.
[Feature #10600]
* test/thread/test_queue.rb: catch up this fix.
Sat Nov 21 08:44:21 2015 Koichi Sasada <[email protected]>
* compile.c (iseq_compile_each): add debug information to NODE_STR
strings as default.
[Feature #11725]
* insns.def (freezestring): add new instruction to support adding
debug information for dynamically constructed strings.
* compile.c (iseq_compile_each): support adding debug information
for NODE_DSTR with freezestring instruction.
* error.c (rb_error_frozen): change the debug information ID name
id_debug_created_info and this field should have a 2 element array
containing path and line information.
* defs/id.def: ditto.
* test/ruby/test_rubyoptions.rb: catch up this fix.
* test/ruby/test_iseq.rb: now frozen strings are not same.
Sat Nov 21 04:34:16 2015 Nobuyoshi Nakada <[email protected]>
* symbol.c (rb_str_intern): should not freeze the receiver itself
unexpectedly. [ruby-core:71611] [Bug #11721]
Fri Nov 20 23:15:18 2015 Naotoshi Seo <[email protected]>
* lib/logger.rb: expose logger mutex
[fix GH-541] Patch by @arthurnn
Fri Nov 20 15:05:28 2015 SHIBATA Hiroshi <[email protected]>
* Added missing reference of GitHub
Fri Nov 20 14:57:01 2015 Trevor Rowe <[email protected]>
* lib/net/http.rb: Fixed regression for Net::HTTP::PUT with "Expect-100"
header. [fix GH-949]
* test/net/http/test_http.rb: added test.
Fri Nov 20 14:39:56 2015 SHIBATA Hiroshi <[email protected]>
* lib/net/http.rb: set hostname before call ossl_ssl_set_session.
[Bug #11401][ruby-core:70152][fix GH-964] Patch by @mkarnebeek
Fri Nov 20 12:53:19 2015 SHIBATA Hiroshi <[email protected]>
* array.c: clarify docs for take_while/drop_while samples.
[ci skip][fix GH-1028] Patch by @leriksen
Fri Nov 20 12:48:04 2015 SHIBATA Hiroshi <[email protected]>
* ext/socket/socket.c: remove mention of :UNIX in getaddrinfo().
It's typically not a support option.
[ci skip][fix GH-990] Patch by @eam
Fri Nov 20 12:44:06 2015 SHIBATA Hiroshi <[email protected]>
* lib/rss/syndication.rb: Add nodoc marker for #validate_sy_updatePeriod.
[ci skip][fix GH-1105] Patch by @davydovanton
Fri Nov 20 09:05:21 2015 Koichi Sasada <[email protected]>
* vm.c (rb_vm_cref_replace_with_duplicated_cref): added.
CREFs should not be shared by methods between `using'.
[Bug #11247]
* vm_insnhelper.c (vm_cref_replace_with_duplicated_cref): ditto.
* vm.c (vm_cref_dup): should copy refinements correctly.
* eval.c: use rb_vm_cref_replace_with_duplicated_cref().
* eval_intern.h: add a decl. of
rb_vm_cref_replace_with_duplicated_cref().
* vm_eval.c (eval_string_with_cref): do not need to pass
scope's CREF because VM can find out CREF from stack frames.
* test/ruby/test_refinement.rb: add a test.
Fri Nov 20 06:52:53 2015 Eric Wong <[email protected]>
* .gitattributes: new file for git users
[ruby-core:71578] [Feature #11713]
Thu Nov 19 22:35:31 2015 Tanaka Akira <[email protected]>
* ext/socket/ancdata.c: Check buffer full and ignore MSG_TRUNC flag.
buffer fullness is more robust to detect the message is too big for
the buffer.
AIX 7.1 recvmsg doesn't set MSG_TRUNC for rflags when MSG_PEEK is
given.
Thu Nov 19 21:55:11 2015 Koichi Sasada <[email protected]>
* gc.c (gc_start): force to invoke GC by GC.start
even if it is GC.disable'd.
* test/ruby/test_gc.rb: add a test.
Thu Nov 19 20:08:59 2015 Koichi Sasada <[email protected]>
* gc.c: trivial performance improvements.
name modified
vm1_gc_short_lived* 1.015
vm1_gc_short_with_complex_long* 1.014
vm1_gc_short_with_long* 1.000
vm1_gc_short_with_symbol* 1.016
vm1_gc_wb_ary* 1.002
vm1_gc_wb_ary_promoted* 0.996
vm1_gc_wb_obj* 1.045
vm1_gc_wb_obj_promoted* 1.014
vm3_gc 1.021
* gc.c (gc_writebarrier_generational): reorder parameters to optimize
register passing function call.
* gc.c (gc_writebarrier_incremental): ditto.
* gc.c (rb_gc_writebarrier): remove LIKELY().
LIKELY() seems to move related functions not better places.
Thu Nov 19 19:45:05 2015 Nobuyoshi Nakada <[email protected]>
* ruby.c (ruby_prog_init): [DOC] ARGV does not contain the name of
the executable. [ruby-core:71561] [Bug #11711]
Thu Nov 19 15:53:21 2015 Koichi Sasada <[email protected]>
* signal.c: should also clear ruby_disable_gc.
[Bug #11692]
Thu Nov 19 15:31:45 2015 Koichi Sasada <[email protected]>
* compile.c (iseq_compile_each): T_IMEMO/iseq objects should be
wrap with ISeq wrappers. [Bug #11676]
Thu Nov 19 15:16:12 2015 SHIBATA Hiroshi <[email protected]>
* lib/rubygems: Update to RubyGems 2.5.0+ HEAD(c6b4946).
this version includes #1114, #1314, #1322, #1375, #1383, #1387
* test/rubygems: ditto.
Thu Nov 19 14:14:37 2015 NAKAMURA Usaku <[email protected]>
* win32/win32.c (finish_overlapped_socket): return value of this
function should be only 0 or SOCKET_ERROR.
Thu Nov 19 14:12:12 2015 Nobuyoshi Nakada <[email protected]>
* compile.c (iseq_tailcall_optimize): apply tail call optimization
before conversion to specialized instructions. when looking
back from `leave` instruction, `send` instructions have been
translated already.
Thu Nov 19 13:57:58 2015 NAKAMURA Usaku <[email protected]>
* win32/win32.c (finish_overlapped_socket): ignore EMSGSIZE when input,
because POSIX platforms just do so. fixes test errors revealed by
r52647.
Thu Nov 19 02:52:30 2015 NAKAMURA Usaku <[email protected]>
* ext/socket/ancdata.c (bsock_recvmsg_internal): stretch the buffer size
only when vmaxdatlen is nil.
Thu Nov 19 02:20:11 2015 Tanaka Akira <[email protected]>
* test/socket/test_socket.rb (test_udp_recvmsg_truncation): rflags is
nil on Solaris 10 which have no HAVE_STRUCT_MSGHDR_MSG_CONTROL.
Reported by Naohisa Goto. [ruby-core:71557] [Bug #11709]
Thu Nov 19 01:48:05 2015 NAKAMURA Usaku <[email protected]>
* configure.in: add -static-libgcc for mingw automatically if available.
Thu Nov 19 00:53:26 2015 NAKAMURA Usaku <[email protected]>
* ext/extmk.rb (--extflags): new option to pass EXTLDFLAGS to children,
especially exts.mk.
* common.mk (EXTMK_ARGS): use above option.
Wed Nov 18 22:50:43 2015 Koichi Sasada <[email protected]>
* vm_method.c (rb_class_clear_method_cache): should clear all
RCLASS_CALLABLE_M_TBLs of all sub-classes (T_ICLASS).
RCLASS_CALLABLE_M_TBL() caches complemented method entries.
It should be cleared when the modules are cleared.
On previous version clears only for direct children.
It is enough for normal modules because corresponding T_ICLASSes
are direct children.
However, refinements create complex data structure. So that
we need to clear all children (and descendants).
[ruby-core:71423] [Bug #11672]
* vm_method.c (rb_clear_method_cache_by_class): rb_mKernel
doesn't call rb_class_clear_method_cache, so that
clear child T_ICLASSes.
* test/ruby/test_refinement.rb: enable disabled test.
Wed Nov 18 21:09:08 2015 Koichi Sasada <[email protected]>
* vm_method.c (prepare_callable_method_entry): use
RCLASS_CALLABLE_M_TBL() instead of accessing a filed directly.
Wed Nov 18 17:08:18 2015 Koichi Sasada <[email protected]>
* method.h: introduce the following field and macros.
* rb_method_definition_t::complemented_count to count shared method
entries because of complemented method entries and separate from
alias_count.
Shared `def' only by complemented method entries should not prevent
method re-definition warning.
* METHOD_ENTRY_COMPLEMENTED(me) to represent complemented method entry.
* METHOD_ENTRY_COMPLEMENTED_SET(me) to check it as complemented me.
* vm_insnhelper.c (aliased_callable_method_entry): should also
check me->def->complemented_count.
* vm_method.c (method_definition_addref_complement): add to count
complemented method entries number.
* vm_method.c (rb_method_definition_release): release `def' iff
alias_count == 0 and complemented_count == 0.
* test/ruby/test_module.rb: add a test.
Wed Nov 18 17:06:19 2015 Koichi Sasada <[email protected]>
* gc.c (rb_raw_obj_info): fix trivial issues.
* support SPECIAL_CONSTs.
* fix IMEMO/ment outputs.
Wed Nov 18 11:32:15 2015 Nobuyoshi Nakada <[email protected]>
* compile.c (iseq_peephole_optimize): eliminate always/never
branches after a literal object. this sequence typically
appears by defined? operator for a method call on a local
variable.
Wed Nov 18 10:33:06 2015 NAKAMURA Usaku <[email protected]>
* ext/socket/ancdata.c (bsock_recvmsg_internal): stretch the buffer size
when EMSGSIZE occurs on non HAVE_STRUCT_MSGHDR_MSG_CONTROL platforms
(such as, Windows). fixes a test error revealed by r52625.
Wed Nov 18 10:12:36 2015 Eric Wong <[email protected]>
* ext/socket/ancdata.c (bsock_recvmsg_internal): use 4096 as
default size to match pre-r52610, which also maps to a common
page size.
Wed Nov 18 10:05:25 2015 Shugo Maeda <[email protected]>
* doc/syntax/refinements.rdoc: update documentation to reflect
recent changes.
[ci skip] [ruby-core:71466] [Misc #11681] Patch by James Adam
Wed Nov 18 09:50:21 2015 Naotoshi Seo <[email protected]>
* test/logger/test_logdevice.rb: Fix tests of logger to make it work on
windows (windows can not remove opened file) [Bug #11702]
Wed Nov 18 06:59:52 2015 Eric Wong <[email protected]>
* ext/socket/ancdata.c (bsock_recvmsg_internal): grow buffer
on unspecified maxdatlen
[ruby-core:71517] [Bug #11701]
* ext/socket/lib/socket.rb (Socket#recvmsg): nil default for dlen
(Socket#recvmsg_nonblock): ditto
* test/socket/test_socket.rb (test_recvmsg_udp_no_arg): new test
Tue Nov 17 19:50:06 2015 NAKAMURA Usaku <[email protected]>
* win32/win32.c (fstat): declare for mingw.
Tue Nov 17 19:02:59 2015 NAKAMURA Usaku <[email protected]>
* configure.in (BASERUBY): use Kernel#print instead of Kernel#p because
the baseruby may output CRLF as end of line.
Tue Nov 17 15:34:34 2015 Martin Duerst <[email protected]>
* NEWS: Added update from Unicode 7.0.0 to 8.0.0 [ci skip]
Tue Nov 17 15:30:30 2015 Martin Duerst <[email protected]>
* enc/unicode/casefold.h, name2ctype.h: Change Unicode
Version for regular expressions from 7.0.0 to
8.0.0 (with help from Kimihito Matsui) [Feature #11563]
Tue Nov 17 14:36:00 2015 Kenichi Kamiya <[email protected]>
* lib/ostruct.rb (dig): Implement OpenStruct#dig
[Feature #11688]
Tue Nov 17 14:04:14 2015 NAKAMURA Usaku <[email protected]>
* ext/socket/lib/socket.rb (Socket#recvmsg{,_nonblock}): default values
of clen must be nil.
* ext/socket/ancdata.c (bsock_sendmsg_internal): handle nil of clen.
fixes test errors introduced at r52602.
Tue Nov 17 13:43:46 2015 NAKAMURA Usaku <[email protected]>
* ext/socket/lib/socket.rb: UNIXSocket is not always exists. fixes
install error on Windows, introduced at r52601.
Tue Nov 17 11:27:23 2015 Eric Wong <[email protected]>
* ext/socket/lib/socket.rb (Socket#recvfrom_nonblock):
UDPSocket#recvfrom_nonblock):
update doc for `exception: false` and destination buffer
[ruby-core:69542] [Feature #11229]
[ruby-core:69543] [Feature #11242]
Tue Nov 17 11:25:05 2015 Eric Turner <[email protected]>
* array.c (rb_ary_dig), hash.c (rb_hash_dig): [DOC] Update
comments describing dig methods. [Fix GH-1103]
* struct.c (rb_struct_dig): [DOC] add rdoc.
Tue Nov 17 11:22:22 2015 Martin Duerst <[email protected]>
* NEWS: Small grammatical fix [ci skip]
Tue Nov 17 10:12:30 2015 Eric Wong <[email protected]>
* ext/socket/lib/socket.rb (Socket.accept_loop): avoid exceptions
(Socket.udp_server_recv): ditto
Tue Nov 17 09:59:00 2015 Eric Wong <[email protected]>
* ext/socket/ancdata.c (bsock_sendmsg_internal): avoid arg parsing
[ruby-core:71439] [Feature #11339]
(rsock_bsock_sendmsg): make private, adjust for above
(rsock_bsock_sendmsg_nonblock): ditto
* ext/socket/rubysocket.h: adjust prototypes
(rsock_opt_false_p): remove
* ext/socket/basicsocket.c (rsock_init_basicsocket):
define private methods
* ext/socket/lib/socket.rb (BasicSocket#sendmsg): new wrapper
(BasicSocket#sendmsg_nonblock): ditto
Tue Nov 17 09:45:18 2015 Eric Wong <[email protected]>
* ext/socket/ancdata.c (bsock_recvmsg_internal): avoid arg parsing
(rsock_bsock_recvmsg): adjust for above change
(rsock_bsock_recvmsg_nonblock): ditto
[ruby-core:71439] [Feature #11339]
* ext/socket/rubysocket.h: adjust prototypes for above
* ext/socket/basicsocket.c (rsock_init_basicsocket):
adjust private methods
* ext/socket/lib/socket.rb (BasicSocket#recvmsg): wrapper method
(BasicSocket#recvmsg_nonblock): ditto
Tue Nov 17 08:36:34 2015 Eric Wong <[email protected]>
* ext/socket/init.c (rsock_s_accept_nonblock): avoid parsing args
[ruby-core:71439] [Feature #11339]
* ext/socket/rubysocket.h: adjust prototype
* ext/socket/socket.c (sock_accept_nonblock): make private
* ext/socket/tcpserver.c (tcp_accept_nonblock): ditto
* ext/socket/unixserver.c (unix_accept_nonblock): ditto
* ext/socket/lib/socket.rb (Socket#accept_nonblock):
implement as wrapper, move RDoc
(TCPServer#accept_nonblock): ditto
(UNIXServer#accept_nonblock): ditto
Tue Nov 17 08:25:57 2015 Eric Wong <[email protected]>
* ext/socket/socket.c (sock_connect_nonblock):
avoid argument parsing in C.
[ruby-core:71439] [Feature #11339]
* ext/socket/lib/socket.rb (Socket#connect_nonblock):
new wrapper for private method, move RDoc
Tue Nov 17 08:16:09 2015 Eric Wong <[email protected]>
* ext/socket/init.c (rsock_s_recvfrom_nonblock):
avoid arg parsing with C API
[ruby-core:71439] [Feature #11339]
* ext/socket/basicsocket.c (bsock_recv_nonblock):
adjust for above change, make private
* ext/socket/socket.c (sock_recvfrom_nonblock): ditto
* ext/socket/udpsocket.c (udp_recvfrom_nonblock): ditto
* ext/socket/lib/socket.rb (BasicSocket#recv_nonblock):
new wrapper for private method, move RDoc
(Socket#recvfrom_nonblock): ditto
(UDPSocket#recvfrom_nonblock): ditto
Mon Nov 16 21:27:54 2015 Naohisa Goto <[email protected]>
* test/dtrace/helper.rb (Dtrace::TestCase#trap_probe): dtrace buffer
size is set as 8m on Solaris (default 4m). [Bug #11697]
Mon Nov 16 20:03:14 2015 Naotoshi Seo <[email protected]>
* lib/logger.rb: Add Logger#reopen
Mon Nov 16 18:21:52 2015 Nobuyoshi Nakada <[email protected]>
* object.c (rb_obj_dig): dig in nested structs too.
* struct.c (rb_struct_dig): new method Struct#dig.
[Feature #11688]
Mon Nov 16 17:41:33 2015 Nobuyoshi Nakada <[email protected]>
* compile.c (iseq_peephole_optimize): optimize tail calls on aref
and aset specialized instructions.
* compile.c (iseq_peephole_optimize): optimize replaced leave
instruction copied to jump instruction too.
Mon Nov 16 16:39:38 2015 Akinori MUSHA <[email protected]>
* lib/set.rb: Enable frozen_string_literal.
* lib/set.rb: Move << out of the begin block that ensures pop.
Mon Nov 16 16:28:30 2015 Akinori MUSHA <[email protected]>
* lib/set.rb (Hash#flatten!, #add?, #delete?, #collect!, #reject!,
#select!, #^, #classify): Micro-optimize some methods for
performance and readability.
Mon Nov 16 16:17:58 2015 SHIBATA Hiroshi <[email protected]>
* ChangeLog: fixed accidentally commit.
Mon Nov 16 16:10:51 2015 SHIBATA Hiroshi <[email protected]>
* mkconfig.rb: Add some high-level documentation.
[ci skip][fix GH-1081] Patch by @ulfalizer
Mon Nov 16 15:59:14 2015 yui-knk <[email protected]>
* proc.c: Add call-seq of `Method#super_method`
[ci skip][fix GH-1094]
Mon Nov 16 15:58:39 2015 Kenichi Kamiya <[email protected]>
* struct.c: Standardize a method signature of Struct#[]=.
[ci skip][fix GH-1095]
Mon Nov 16 15:42:36 2015 Akinori MUSHA <[email protected]>
* lib/set.rb (#>=, #>, #<=, #<): Make use of Hash#>=, #>, #<, and
#<= when comparing against an instance of the same kind.
Mon Nov 16 15:37:11 2015 Naotoshi Seo <[email protected]>
* lib/logger.rb: Support symbol and string log level setting
Mon Nov 16 15:33:11 2015 SHIBATA Hiroshi <[email protected]>
* tool/rbinstall.rb: fix wrong permission for gem specification without
zlib runtime. [Bug #11685][ruby-dev:49343]
Mon Nov 16 12:11:11 2015 SHIBATA Hiroshi <[email protected]>
* lib/webrick/httpauth/basicauth.rb: fix a typo.
[ci skip][fix GH-1099] Patch by @jwworth
* lib/webrick/httpauth/digestauth.rb: ditto.
Sun Nov 15 18:28:43 2015 Kenichi Kamiya <[email protected]>
* vm_method.c (set_method_visibility): should fail if the receiver
is frozen. [ruby-core:71489] [Bug #11687]
Sat Nov 14 22:15:07 2015 Tanaka Akira <[email protected]>
* ext/socket/lib/socket.rb: Specify frozen_string_literal: true.
Sat Nov 14 21:44:56 2015 Tanaka Akira <[email protected]>
* lib/time.rb: Use "<<" to reduce string allocation.
Sat Nov 14 17:45:49 2015 Tanaka Akira <[email protected]>
* lib/tsort.rb: Specify frozen_string_literal: true.
Sat Nov 14 17:25:15 2015 Tanaka Akira <[email protected]>
* lib/resolv-replace.rb: Specify frozen_string_literal: true.
Sat Nov 14 17:00:13 2015 Tanaka Akira <[email protected]>
* lib/time.rb: Specify frozen_string_literal: true.
Sat Nov 14 16:43:02 2015 Tanaka Akira <[email protected]>
* lib/open3.rb: Specify frozen_string_literal: true.
Sat Nov 14 05:04:09 2015 Koichi Sasada <[email protected]>
* node.h: remove old comments.
Sat Nov 14 04:55:36 2015 Koichi Sasada <[email protected]>
* refactoring CREF related code.
* eval_intern.h: remove unused setter functions.
CREF_CLASS_SET()
CREF_NEXT_SET()
CREF_SCOPE_VISI_COPY()
* eval_intern.h: rename flags:
* NODE_FL_CREF_PUSHED_BY_EVAL_ -> CREF_FL_PUSHED_BY_EVAL
* NODE_FL_CREF_OMOD_SHARED_ -> CREF_FL_OMOD_SHARED
and use IMEMO_FL_USER1/2.
* vm.c (vm_cref_new): accept push_by_eval parameter.
* vm.c (vm_cref_new_use_prev): added for rb_vm_rewrite_cref().
* vm_insnhelper.c (vm_cref_push): accept pushed_by_eval parameter.
* vm_insnhelper.h: remove unused macros:
COPY_CREF_OMOD() and COPY_CREF().
* vm_eval.c, insns.def: catch up this fix.
Sat Nov 14 02:58:03 2015 Koichi Sasada <[email protected]>
* vm.c (vm_define_method): refactoring.
* get CREF in this function.
* cbase is no longer needed (CREF_CLASS(cref) is enough).
* compile.c: RubyVM::FrozenCore.define_method only accept 2 args.
Sat Nov 14 02:34:43 2015 Koichi Sasada <[email protected]>
* vm.c (vm_define_method): do not use current CREF immediately,
but check CREF in environment or methods. Methods defined in methods
should be public.
[Bug #11571]
* vm_method.c (rb_scope_module_func_check): check CREF in env or me.
if CREF is contained by `me', then return FALSE.
* test/ruby/test_method.rb: add a test.
Sat Nov 14 02:19:16 2015 Koichi Sasada <[email protected]>
* method.h: constify rb_cref_t::scope_visi;
* eval_intern.h (CREF_SCOPE_VISI_COPY): catch up this fix.
* vm_method.c: ditto.
Sat Nov 14 01:53:52 2015 Naohisa Goto <[email protected]>
* pack.c (pack_unpack, AVOID_CC_BUG): Very ugly workaround for
optimization bug of Oracle Solaris Studio 12.4 on Solaris
with -xO4 optimization option. [Bug #11684]
Fri Nov 13 23:00:23 2015 Hiroshi Shirosaki <[email protected]>
* configure.in: unset LD_PRELOAD on mingw. msys2 child processes
crash at make test-all with LD_PRELOAD.
[ruby-core:71461] [Bug #11680]
Fri Nov 13 14:00:43 2015 Zachary Scott <[email protected]>
* ext/openssl/ossl_pkey.c: Merge ruby/openssl@b9ea8ef [Bug #10735]
Fri Nov 13 13:09:16 2015 Zachary Scott <[email protected]>
* ext/openssl/ossl_ssl.c: Merge ruby/openssl@81e1a30
* test/openssl/test_ssl.rb: ditto
Fri Nov 13 13:05:37 2015 Nobuyoshi Nakada <[email protected]>
* prelude.rb (Thread.exclusive): warn as deprecated.
Fri Nov 13 10:36:39 2015 Victor Nawothnig <[email protected]>
* parse.y (new_unless): optimize constant condition for `unless`
as well as `if`. [Fix GH-1092]
Fri Nov 13 10:08:41 2015 SHIBATA Hiroshi <[email protected]>
* ext/psych/psych.gemspec: bump version to 2.0.15
Thu Nov 12 18:44:26 2015 Nobuyoshi Nakada <[email protected]>
* parse.y (parser_magic_comment): should match exactly.
[ruby-core:71460] [Bug #11679]
Thu Nov 12 16:16:20 2015 Nobuyoshi Nakada <[email protected]>
* template/prelude.c.tmpl: enable tail call optimization.
Thu Nov 12 14:17:01 2015 Nobuyoshi Nakada <[email protected]>
* parse.y (parser_yylex): ANDDOT at the head of the line denote
line continuation from previous one to support fluent interface,
as well as single dot.
Thu Nov 12 13:49:50 2015 SHIBATA Hiroshi <[email protected]>
* lib/rubygems: Update to RubyGems 2.5.0+ HEAD(db78980).
this version includes #1367 , #1373 , #1375
* test/rubygems: ditto.
Thu Nov 12 10:53:41 2015 Eric Wong <[email protected]>
* benchmark/bm_io_nonblock_noex2.rb: new benchmark based
on bm_io_nonblock_noex.rb
* io.c (io_read_nonblock): move documentation to prelude.rb
(io_write_nonblock): ditto
(Init_io): private, internal methods for prelude.rb use only
* prelude.rb (IO#read_nonblock): wrapper + documentation
(IO#write_nonblock): ditto
[ruby-core:71439] [Feature #11339]
Wed Nov 11 18:30:28 2015 Nobuyoshi Nakada <[email protected]>
* sprintf.c (rb_str_format): look up the key, then get default
value and raise KeyError if the returned value is nil.
[ruby-dev:49338] [Ruby trunk - Bug #11677]
Wed Nov 11 17:38:24 2015 Nobuyoshi Nakada <[email protected]>
* vm_eval.c (local_var_list_add): skip internal local variable
name by its type but not if it has a name. internal local
variable names are just unique per frame, not globally.
[ruby-core:71437] [Bug #11674]
Wed Nov 11 14:14:33 2015 SHIBATA Hiroshi <[email protected]>
* transcode.c: fix a typo
[ci skip][fix GH-1091] Patch by @jwworth
Wed Nov 11 11:58:38 2015 Shugo Maeda <[email protected]>
* lib/net/ftp.rb (initialize): Connections are in passive mode per
default now. The default mode can be changed by
Net::FTP.default_passive=.
[ruby-core:71146] [Feature #11612]
* lib/net/ftp.rb (default_passive=, default_passive): new methods.
Wed Nov 11 09:03:12 2015 Nobuyoshi Nakada <[email protected]>
* sprintf.c (rb_str_format): respect default value of a hash. no
longer raises KeyError unless the default value of the hash is
nil. [ruby-core:71354] [Bug #11661]
Tue Nov 10 20:35:12 2015 Tanaka Akira <[email protected]>
* lib/open-uri.rb: Remove indicator for "frozen_string_literal: true".
* lib/pp.rb: Ditto.
* lib/prettyprint.rb: Ditto.
* lib/resolv.rb: Ditto.
* lib/securerandom.rb: Ditto.
* lib/tmpdir.rb: Ditto.
* lib/unicode_normalize/tables.rb: Ditto.
* test/net/ftp/test_buffered_socket.rb: Ditto.
* test/net/ftp/test_mlsx_entry.rb: Ditto.
* test/open-uri/test_open-uri.rb: Ditto.
* test/open-uri/test_ssl.rb: Ditto.
* test/pathname/test_pathname.rb: Ditto.
* test/test_pp.rb: Ditto.
* test/test_prettyprint.rb: Ditto.
* tool/transcode-tblgen.rb: Ditto.
* ext/pathname/lib/pathname.rb: Ditto.
Tue Nov 10 18:42:24 2015 Aleksandrs Ledovskis <[email protected]>
* defs/id.def, parse.y: Switch internal token name to reflect
current form of safe-call operator. [Fix GH-1090]
Tue Nov 10 18:25:56 2015 Nobuyoshi Nakada <[email protected]>
* hash.c (rb_hash_to_proc): use rb_func_proc_new to make light
weight proc. [Feature #11653]
Tue Nov 10 18:23:35 2015 Nobuyoshi Nakada <[email protected]>
* proc.c (cfunc_proc_t): add room for me.
* proc.c (cfunc_proc_new): generalise for cfunc proc without env.
* proc.c (rb_func_proc_new, rb_func_lambda_new): new functions to
make proc/lambda without env from cfunc.
Tue Nov 10 17:32:35 2015 Naohisa Goto <[email protected]>
* bootstraptest/test_fork.rb ([ruby-dev:37934]): :NPROC (RLIMIT_NPROC)
is not supported on some platforms (e.g. Solaris 10).
Tue Nov 10 16:57:14 2015 Nobuyoshi Nakada <[email protected]>
* hash.c (rb_hash_to_proc): new method Hash#to_proc.
[Feature #11653]
Tue Nov 10 14:34:09 2015 NARUSE, Yui <[email protected]>
* time.c (rb_time_timespec_new): swap utc and localtime
to generate gmt flag by INT_MAX - gmtoff.
Tue Nov 10 14:01:59 2015 Nobuyoshi Nakada <[email protected]>
* hash.c (rb_hash_{le,lt,ge,gt}): new methods, Hash#<=, Hash#<,
Hash#>=, Hash#>, to test if all elements of a hash are also
included in another hash, and vice versa.
[ruby-core:68561] [Feature #10984]
Tue Nov 10 11:25:29 2015 NARUSE, Yui <[email protected]>
* time.c (rb_timespec_now): added. [Feature #11558]
* time.c (rb_time_timespec_new): added. [Feature #11558]
Tue Nov 10 06:17:17 2015 Eric Wong <[email protected]>
* variable.c (rb_autoload_load): allow recursive calls
[ruby-core:71345] [Bug #11658]
* test/ruby/test_autoload.rb (test_autoload_while_autoloading):
new test by: Hiroshi Shirosaki <[email protected]>
[ruby-core:71390]
Tue Nov 10 00:36:46 2015 Tanaka Akira <[email protected]>
* lib/resolv.rb (Resolv::DNS::Message::MessageEncoder#put_labels):
Prevent overflow of pointer to labels.
Patch by Hannes Georg. [ruby-core:71248] [Bug #11632]
Tue Nov 10 00:25:41 2015 Kazuki Tsujimoto <[email protected]>
* gems/bundled_gems: update to power_assert 0.2.6.
Mon Nov 9 21:48:17 2015 Nobuyoshi Nakada <[email protected]>
* vm_eval.c (rb_check_funcall_default): split from
rb_check_funcall to return the given fallback value.
* object.c (rb_obj_dig): use rb_check_funcall_default so that tail
call optimization will be possible. [Feature #11643]
Mon Nov 9 21:27:23 2015 Nobuyoshi Nakada <[email protected]>
* array.c (rb_ary_dig): new method Array#dig.
* hash.c (rb_hash_dig): new method Hash#dig.
* object.c (rb_obj_dig): dig in nested arrays/hashes.
[Feature #11643]
Mon Nov 9 18:00:47 2015 Yuki Nishijima <[email protected]>
* gems/bundled_gems: Upgrade the did_you_mean gem to 1.0.0.beta3
Mon Nov 9 17:38:14 2015 SHIBATA Hiroshi <[email protected]>
* test/runner.rb: use official repository for coverage tool.
* Makefile.in: ditto.
* common.mk: ditto.
* .gitignore: ignored third party repositories.
Mon Nov 9 17:29:09 2015 Shugo Maeda <[email protected]>
* compile.c (iseq_compile_each): Dynamic string literals should be
frozen.
[ruby-core:57574] [Feature #8976]
Mon Nov 9 15:56:07 2015 SHIBATA Hiroshi <[email protected]>
* common.mk: Use ruby organization url for simplecov repository.
Sun Nov 8 16:24:09 2015 Masaki Matsushita <[email protected]>
* NEWS: describe addition of File::TMPFILE
Sun Nov 8 15:19:17 2015 Masaki Matsushita <[email protected]>
* file.c: Add O_TMPFILE.
Sun Nov 8 14:24:43 2015 windwiny <[email protected]>
* method.h (METHOD_ENTRY_{VISI,BASIC,FLAGS}_SET): suppress
shift-op-parentheses warnings. [Fix GH-1082]
Sun Nov 8 14:01:22 2015 SHIBATA Hiroshi <[email protected]>
* ext/psych/psych_emitter.c: backport 5bd7744 from tenderlove/psych.
support backward compatibility of Ruby 2.0
Sun Nov 8 10:55:10 2015 Anton Davydov <[email protected]>
* io.c (rb_io_gets_m): Update IO#gets doc for characters more than
1 byte. [Fix GH-1085]
Sun Nov 8 10:37:58 2015 SHIBATA Hiroshi <[email protected]>
* lib/uri/ftp.rb: fix a typo.
[fix GH-1084][ci skip] Patch by @windwiny
Sun Nov 8 08:10:31 2015 Koichi Sasada <[email protected]>
* vm_trace.c (exec_hooks_precheck): check need_clean everytime
to clean-up unused hooks.
* vm_trace.c (list->need_clean): use as boolean value.
Sun Nov 8 01:31:27 2015 NARUSE, Yui <[email protected]>
* lib/net/http.rb (Net::HTTP#initialize):
default value of Net::HTTP#open_timeout is now 60 (was nil).
Sat Nov 7 12:18:05 2015 Eric Wong <[email protected]>
* string.c (id_to_s): remove redundant variable
(rb_obj_as_string): trade id_to_s for idTo_s
(rb_str_equal): replace rb_intern(...) with pre-defined ID
(rb_str_cmp_m): ditto
(rb_str_match): ditto
(str_upto_each): ditto
(rb_str_sum): ditto
(Init_String): remove id_to_s initialization
Sat Nov 7 11:40:05 2015 Eric Wong <[email protected]>
* thread.c (rb_cThreadShield): make static
Sat Nov 7 09:51:38 2015 Koichi Sasada <[email protected]>
* vm_trace.c (rb_threadptr_exec_event_hooks_orig):
maintain trace_running counter on internal events.
This patch is made by Takashi Kokubun <[email protected]>.
[Bug #11603] https://github.com/ruby/ruby/pull/1059
Sat Nov 7 03:32:27 2015 Koichi Sasada <[email protected]>
* include/ruby/ruby.h (RSTRUCT_PTR): need a close parenthesis.
Sat Nov 7 01:32:06 2015 Naohisa Goto <[email protected]>
* dir.c (dir_fileno, dirfd): support of Dir#fileno on Solaris 10.
Solaris 10 does not have dirfd, but the file descriptor of a
directory is stored in the d_fd or dd_fd member in the DIR struct.
Note that Solaris 11 has dirfd(3C).
* configure.in: checks for DIR.d_fd and DIR.dd_fd on Solaris 10.
Fri Nov 6 23:13:53 2015 Kazuki Tanaka <[email protected]>
* array.c: clarifies Array#reject! documentation.
[fix GH-894][ci skip] Patch by @GxSplinter
Fri Nov 6 20:18:25 2015 SHIBATA Hiroshi <[email protected]>
* test/runner.rb: extracted test helper.
* test/lib/zombie_hunter.rb: ditto.
Fri Nov 6 18:07:47 2015 Naohisa Goto <[email protected]>