forked from ruby/ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
8520 lines (5319 loc) · 280 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 Oct 13 12:14:10 2015 Craig Davison <craig65535@gmail.com>
* ext/socket/rsock_addrinfo (rsock_addrinfo): specify address
family. [Fix GH-1052]
* ext/socket/udpsocket.c (udp_connect, udp_bind, udp_send):
address family by the receiver.
Sun Oct 11 07:09:19 2015 Koichi Sasada <ko1@atdot.net>
* vm_insnhelper.c (vm_push_frame): initialize other than sp (and ep)
first for performance.
Sun Oct 11 06:21:50 2015 Koichi Sasada <ko1@atdot.net>
* vm_eval.c, internal.h (rb_yield_1): added for performance which
doesn't check Qundef.
* numeric.c (int_dotimes): use rb_yield_1.
Sun Oct 11 06:19:49 2015 Koichi Sasada <ko1@atdot.net>
* vm_insnhelper.c (vm_call_iseq_setup_normal): setup sp first
for performance.
Sun Oct 11 05:29:51 2015 Koichi Sasada <ko1@atdot.net>
* vm.c (invoke_block_from_c): split this function into several
functions.
* vm_insnhelper.c (vm_yield_callee_setup_arg): remove this function
beacuse it is only delegation function.
Sun Oct 11 03:48:46 2015 Koichi Sasada <ko1@atdot.net>
* gc.c (newobj_of_slowpass): fix typo (pass -> path).
Pointed out by Yukihiro Matsumoto <matz@ruby-lang.org>.
* gc.c (newobj_of_...): `of' is unnecessary.
Sat Oct 10 19:04:42 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/socket/udpsocket.c (udp_connect, udp_bind): get open files
inside ensure functions.
Sat Oct 10 18:35:12 2015 Koichi Sasada <ko1@atdot.net>
* vm_insnhelper.c (vm_call_method0): do not propagate enable_fastpath,
but pass dummy CC to prevent wrong caching.
Sat Oct 10 15:28:45 2015 Koichi Sasada <ko1@atdot.net>
* import a github pull request
https://github.com/ruby/ruby/pull/1050
by Kazuho Oku <kazuho@natadeco.co>.
This pull request has the following commits.
* gc.c: reduce # of args to 6 (max. of register args on x86-64) so
that the `newobj_of_slowpass` can be called via TCO.
* gc.c (newobj_of), string.c (str_duplicate): for performance,
the hot functions must be inlined.
* gc.c: for performance, preceding arguments of `.*newobj_of.*`
must be same, so that the arg registers can be reused in case of
TCO.
Sat Oct 10 08:52:21 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/socket/udpsocket.c (udp_connect, udp_bind, udp_send): fix
memory leaks at closed socket.
Fri Oct 9 17:29:07 2015 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb (parse257): refactor.
Fri Oct 9 16:42:26 2015 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/imap.rb: use frozen_string_literal: true.
* test/net/imap/test_imap.rb: ditto.
* test/net/imap/test_imap_response_parser.rb: ditto.
Fri Oct 9 15:52:28 2015 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb: use frozen_string_literal: true.
* test/net/ftp/test_buffered_socket.rb: ditto.
* test/net/ftp/test_ftp.rb: ditto.
* test/net/ftp/test_mlsx_entry.rb: ditto.
Fri Oct 9 14:12:35 2015 Shota Fukumori (sora_h) <her@sorah.jp>
* ext/openssl/lib/openssl/ssl.rb: Revert r52082 because it was
dropping TLS v1.1 support too. Supporting only TLS v1.2 is too
early, because many popular websites still don't support it.
For instance, Servers where aws-sdk connects to still don't support
TLS v1.2 and it became broken.
We should consider more carefully about this.
[Fix GH-873] [Feature #11524]
Fri Oct 9 12:52:08 2015 Shugo Maeda <shugo@ruby-lang.org>
* compile.c (iseq_compile_each): Dynamic string literals (e.g.,
"#{x}") should not be frozen because they don't literally
represent strings.
https://twitter.com/shugomaeda/status/651937650027401216
https://twitter.com/yukihiro_matz/status/651942882312482817
https://twitter.com/yukihiro_matz/status/651980835181096960
Fri Oct 9 06:52:49 2015 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* benchmark/prepare_require.rb: skip file creation if it already
exist. Suggested by ko1.
Fri Oct 9 06:18:04 2015 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* benchmark/bm_require.rb: new benchmark for require.
* benchmark/bm_require_thread.rb: new benchmark for conflicting
require vs thread. like [Bug #11559]
* prepare_require.rb: new file for preparing above tests.
* prepare_require.rb: ditto.
Thu Oct 8 14:10:45 2015 Zachary Scott <zzak@ruby-lang.org>
* ext/openssl/lib/openssl/ssl.rb: Default to TLSv1.2 and drop TLS v1
Patch provided by @claudijd [Fixes GH-873] [Feature #11524]:
https://github.com/ruby/ruby/pull/873
Wed Oct 7 22:55:02 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/minitest/metametameta.rb (with_output): restore output to
fix mixing test result output in worker responses.
Wed Oct 7 21:32:51 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* string.c (str_duplicate): move from rb_str_resurrect to short
circuit initialization.
Wed Oct 7 20:43:14 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* string.c (rb_str_resurrect): fix resurrection of short enough to
be embedded but not embedded string.
Wed Oct 07 20:17:29 2015 Koichi Sasada <ko1@atdot.net>
* gc.c (newobj_of): divide fast path and slow path
to avoid register savings for fast path.
This idea is given by Kazuho Oku <kazuho@natadeco.co>.
Wed Oct 7 17:30:50 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* string.c (rb_str_times): optimize for the argument 0 and 1.
Wed Oct 7 01:20:46 2015 Koichi Sasada <ko1@atdot.net>
* gc.h, gc.c: introduce new debug function rb_obj_info_dump(VALUE obj)
which prints the result of rb_raw_obj_info(..., obj).
Wed Oct 7 01:16:11 2015 Koichi Sasada <ko1@atdot.net>
* vm_args.c: remove an unused field args_info::calling.
Tue Oct 6 23:43:10 2015 Koichi Sasada <ko1@atdot.net>
* proc.c (rb_method_entry_min_max_arity): should support
OPTIMIZED_METHOD_TYPE_CALL.
Tue Oct 6 21:29:08 2015 Tanaka Akira <akr@fsij.org>
* lib/tmpdir.rb (Dir.tmpdir): return duplicated string to be
modify safely even when $SAFE > 0.
Tue Oct 6 19:24:38 2015 Koichi Sasada <ko1@atdot.net>
* vm_insnhelper.c (vm_call_method0): use switch() for visibilities
(for readability).
Tue Oct 6 19:23:58 2015 Koichi Sasada <ko1@atdot.net>
* proc.c (Init_Proc): Proc#call and others should be public.
Tue Oct 6 18:51:51 2015 Koichi Sasada <ko1@atdot.net>
* method.h: IMEMO_FL_USER3 and IMEMO_FL_USER4 is not needed any more.
Tue Oct 6 18:47:45 2015 Koichi Sasada <ko1@atdot.net>
* method.h: remove METHOD_ENTRY_SAFE(me) and related code
because $SAFE = 3 and 4 is not available.
Now, $SAFE is not checked on method dispatch at all.
* vm_eval.c, vm_insnhelper.c, vm_method.c: ditto.
Tue Oct 6 13:56:14 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/ruby.h: turn function macros into inline functions,
for debuggers.
* include/ruby/ruby.h: turn constant macros into enums, for
debuggers.
Tue Oct 6 13:48:05 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* method.h: typo fix. Patch by @davydovanton [fix GH-1032][ci skip]
Tue Oct 6 06:54:34 2015 Koichi Sasada <ko1@atdot.net>
* iseq.c (rb_iseq_free): free iseq::variable_body to avoid memory
leak.
Tue Oct 6 06:32:52 2015 Koichi Sasada <ko1@atdot.net>
* proc.c: enable optimization of Proc#call.
[Feature #11569]
* NEWS: write about this optimization and incompatibilities.
* test/ruby/test_backtrace.rb: catch up this fix.
Tue Oct 6 04:41:03 2015 Koichi Sasada <ko1@atdot.net>
* vm_insnhelper.c: solve goto spaghetti.
Change all goto statement across blocks to tail call functions.
Tue Oct 6 02:29:38 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* string.c (rb_str_resurrect): optimize by short circuit to copy
hidden string without checking length, encoding and so on.
Mon Oct 5 23:08:17 2015 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
* test/ruby/test_thread.rb (test_handle_interrupt_blocking): check if
exception handling was postponed until sleep.
Mon Oct 5 22:25:49 2015 Tanaka Akira <akr@fsij.org>
* lib/pp.rb: Use frozen_string_literal: true.
* lib/prettyprint.rb: Ditto.
* lib/resolv.rb: Ditto.
* lib/tmpdir.rb: Ditto.
* test/test_pp.rb: Ditto.
* test/test_prettyprint.rb: Ditto.
* tool/transcode-tblgen.rb: Ditto.
Mon Oct 5 20:39:32 2015 Benoit Daloze <eregontp@gmail.com>
* test/ruby/test_thread.rb: fix potential race condition.
The thread could have a "sleep" status because it tries
to acquire the mutex, but does not have it yet.
Mon Oct 5 15:39:30 2015 Zachary Scott <zzak@ruby-lang.org>
* numeric.c: [DOC] Overview for Numeric class by Joe Corcoran
This patch was created at ROSSConf Berlin 2015 [Bug #11555]
Mon Oct 5 15:34:56 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* proc.c (proc_new): link ep to calling block.
[ruby-core:70980] [Bug #11566]
Mon Oct 5 00:53:51 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* dir.c (rb_dir_getwd): make ASCII-8BIT if filesystem encoding is
US-ASCII, like as Dir.glob.
Sun Oct 4 23:39:09 2015 Tanaka Akira <akr@fsij.org>
* enum.c (nmin_filter): Fix limit value.
patch by Helder Pereira.
[Bug #11471] [ruby-core:70477]
Sun Oct 4 15:11:48 2015 NARUSE, Yui <naruse@ruby-lang.org>
* enc/euc_jp.c (mbc_case_fold): check given string is valid or not,
and if invalid, return 1. [Bug #11486]
Sun Oct 4 10:09:57 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* dir.c (rb_dir_getwd): normalize OS path to UTF-8 on OS X.
Sun Oct 4 00:09:45 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* template/ruby-runner.c.in: wrapper to set dynamic loading path
environment variable. /bin/sh on Mac OS X 10.11 (El Capitan)
clears DYLD_LIBRARY_PATH.
it must:
- do nothing even if current directory is not present
- do not set other environment variables, e.g. PWD, SHLVL, etc
- do not open other FDs, e.g. pipes for timer thread
Sun Oct 2 10:59:00 2015 schneems <richard.schneeman@gmail.com>
* ext/pathname/lib/pathname.rb: freeze string literals for
reduced object allocation.
[Feature #11375] [ruby-core:70043]
Fri Oct 2 09:20:20 2015 Martin Duerst <duerst@it.aoyama.ac.jp>
* common.mk, lib/unicode_normalize/tables.rb: Change Unicode
Version for character normalization data from 7.0.0 to
8.0.0.
Fri Oct 2 00:18:39 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* proc.c (proc_mark): block.ep of Proc from Symbol is now NULL.
[ruby-core:70961] [Bug #11560]
Wed Sep 30 15:47:13 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_args.c (vm_caller_setup_arg_block): bypass Symbol#to_proc
call to optimize symbol block passing.
Wed Sep 30 01:34:34 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (parser_free): fix memory leak at syntax error when
warn-indent is enabled.
Tue Sep 29 22:27:50 2015 Benoit Daloze <eregontp@gmail.com>
* parse.y: fix minor typo. [ci skip][fix GH-1038].
Patch by @ltratt.
Tue Sep 29 16:53:53 2015 Martin Duerst <duerst@it.aoyama.ac.jp>
* tool/unicode_norm_gen.tmpl, lib/unicode_normalize/tables.rb:
get rid of many .freeze commands by using frozen_string_literal
pragma.
Tue Sep 29 16:37:29 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* compile.c (compile_dstr_fragments): fix performance by omitting
the first empty string only for keeping literal encoding if
other literals are too. [ruby-core:70930] [Bug #11556]
* string.c (rb_str_append_literal): append but keep encoding non
US-ASCII.
Mon Sep 28 17:40:17 2015 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb (mtime): use usec instead of fractions to parse
decimal fractions of a second correctly when the number of digits
is not 6.
Mon Sep 28 16:07:08 2015 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb (mtime): parse decimal fractions of a second as
specified in RFC 3659.
Mon Sep 28 10:31:12 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* test/test_forwardable.rb: Write basic tests for lib/forwardable.
[fix GH-1035] Patch by @kachick
Sun Sep 27 23:32:46 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* class.c (rb_define_class, rb_define_class_id_under): refine
error messages.
* class.c (rb_define_module, rb_define_module_id_under): ditto,
and make consistent with class.
Sun Sep 27 18:44:43 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* ChangeLog: removed duplicated message.
Sun Sep 27 15:46:58 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ruby.c (process_options): add an option to enable/disable
frozen-string-literal. [Feature #8976]
* compile.c (iseq_compile_each): override compile option by option
given by pragma.
* iseq.c (rb_iseq_make_compile_option): extract a function to
overwrite rb_compile_option_t.
* parse.y (parser_set_compile_option_flag): introduce pragma to
override compile options.
* parse.y (magic_comments): new pragma "frozen-string-literal".
[Feature #8976]
Sun Sep 27 08:16:35 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/ostruct.rb (delete_field): do not raise NameError for
existing keys. [Fix GH-1033]
Sun Sep 27 00:34:31 2015 Zachary Scott <zzak@ruby-lang.org>
* lib/ostruct.rb: Move method definitions for getter/setter to be lazy
Patch by @sferik in [GH-1033]: https://github.com/ruby/ruby/pull/1033
Fri Sep 25 10:07:25 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* lib/net/http.rb: removed unused variable. It's removed at r13648.
[fix GH-1022] Patch by @nkondratyev
Fri Sep 25 09:48:27 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* gems/bundled_gems: upgrade to minitest-5.8.1
Fri Sep 25 09:47:12 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* id_table.c: fix typo. [ci skip][fix GH-1031] Patch @davydovanton
Fri Sep 25 07:54:05 2015 Rei Odaira <Rei.Odaira@gmail.com>
* test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_lock): skip
this test on AIX. The issue is the same as on Solaris.
[ruby-dev:47631]
Thu Sep 24 17:25:09 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (paren_args): fix separator token at `foo::bar()` in
ripper.
Thu Sep 24 00:00:17 2015 Rei Odaira <Rei.Odaira@gmail.com>
* complex.c: ruby/config.h must be included before math.h
because it defines _LARGE_FILES on AIX and _LARGE_FILES
must be defined before sys/types.h is included from math.h.
[Bug #11483]
Wed Sep 23 22:22:38 2015 Zachary Scott <zzak@ruby-lang.org>
* ext/openssl/ossl_pkcs12*: Remove svn commit id macro
Wed Sep 23 01:11:28 2015 Zachary Scott <zzak@ruby-lang.org>
* ext/openssl/*: Remove svn commit id macros to make sync easier
Tue Sep 22 04:20:01 2015 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
* test/drb/test_drb.rb: Run Rinda/DRb tests on localhost. [Fix GH-1027]
patch by voxik.
* test/rinda/test_rinda.rb: ditto
Mon Sep 21 20:53:39 2015 tbpgr <tbpgr@tbpgr.jp>
* test/win32ole/test_win32ole_event.rb: fix typo.
swbemsink_avairable? => swbemsink_available? [Fix GH-1025]
Sun Sep 20 10:07:35 2015 Anton Davydov <antondavydov.o@gmail.com>
* cont.c (rb_callcc): [DOC] append continuations example accros
methods. [Fix GH-1026]
Sun Sep 20 03:20:21 2015 Koichi Sasada <ko1@atdot.net>
* iseq.c (rb_iseq_free): free rb_iseq_t::body::cc_entries.
Sun Sep 20 02:46:34 2015 Koichi Sasada <ko1@atdot.net>
* vm_core.h: split rb_call_info_t into several structs.
* rb_call_info (ci) has compiled fixed information.
* if ci->flag & VM_CALL_KWARG, then rb_call_info is
also rb_call_info_with_kwarg. This technique reduce one word
for major rb_call_info data.
* rb_calling_info has temporary data (argc, blockptr, recv).
for each method dispatch. This data is allocated only on
machine stack.
* rb_call_cache is for inline method cache.
Before this patch, only rb_call_info_t data is passed.
After this patch, above three structs are passed.
This patch improves:
* data locality (rb_call_info is now read-only data).
* reduce memory consumption (rb_call_info_with_kwarg,
rb_calling_info).
* compile.c: use above data.
* insns.def: ditto.
* iseq.c: ditto.
* vm_args.c: ditto.
* vm_eval.c: ditto.
* vm_insnhelper.c: ditto.
* vm_insnhelper.h: ditto.
* iseq.h: add iseq_compile_data::ci_index and
iseq_compile_data::ci_kw_index.
* tool/instruction.rb: introduce TS_CALLCACHE operand type.
Sun Sep 20 02:18:10 2015 Tanaka Akira <akr@fsij.org>
* test/lib/envutil.rb: mkfifo command based File.mkfifo method
definition removed.
Fri Sep 18 20:11:11 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* file.c (rb_file_s_mkfifo): implement File.mkfifo.
[Feature #11536]
Fri Sep 18 16:56:19 2015 Shugo Maeda <shugo@ruby-lang.org>
* NEWS: add Net::FTP#mlst and Net::FTP#mlsd.
Fri Sep 18 07:39:22 2015 Aaron Patterson <tenderlove@ruby-lang.org>
* ext/objspace/objspace_dump.c (obj_type): add IMEMO types to the heap
dump information.
Thu Sep 17 22:33:07 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* common.mk: fix command error with outside builddir.
Thu Sep 17 17:42:09 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* common.mk: separated test for test-framework from test-all task.
They should be invoke at first before tests of test-all.
Thu Sep 17 12:05:54 2015 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/ruby/test_dir.rb (TestDir#test_fileno): s/?x/"x"/. Don't
use tricky code, please.
Wed Sep 16 20:49:56 2015 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* encindex.h: fix typo of last #endif comment. [ci skip]
Wed Sep 16 20:39:26 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* variable.c (set_const_visibility): fail if the class/module is
frozen. [ruby-core:70828] [Bug #11532]
Wed Sep 16 17:16:43 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_core.h (ENABLE_VM_OBJSPACE): enable per-VM object space on
Windows by default, as rb_w32_sysinit() no longer depends on
ruby_xmalloc.
Wed Sep 16 15:08:17 2015 Akinori MUSHA <knu@iDaemons.org>
* doc/syntax/literals.rdoc (Strings): [DOC] Revise the character
literal part.
Wed Sep 16 14:55:33 2015 Akinori MUSHA <knu@iDaemons.org>
* doc/syntax/literals.rdoc (Strings): [DOC] Document the full list
of supported escape sequences in string literals.
Wed Sep 16 14:49:58 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* string.c (rb_str_setbyte): keep the code range as possible.
Wed Sep 16 13:23:48 2015 NAKAMURA Usaku <usa@ruby-lang.org>
* doc/syntax/literals.rdoc (Strings): mention about ?a literal.
Wed Sep 16 12:06:53 2015 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* dir.c (glob_helper): check pathtype once again by lstat(2) if
dp->d_type is DT_UNKNOWN. XFS may return DT_UNKNOWN.
Wed Sep 16 03:49:19 2015 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/ruby/test_thread.rb (TestThread#test_mutex_synchronize):
insert waste loop for invoking preemptive thread context switch.
[Bug #11496]
Tue Sep 15 19:38:55 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* gc.c (rb_objspace_alloc, rb_objspace_free): define always
regardless ENABLE_VM_OBJSPACE, and free heap pages.
Tue Sep 15 15:15:41 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* win32/win32.c (rb_w32_sysinit, rb_w32_readdir): compare by
encoding index to get rid of encoding initialization before VM
object space allocation.
* dir.c (fundamental_encoding_p, push_glob): compare by encoding
index immediately.
* enc/{ascii,us_ascii,utf_8}.c: set encoding indexes of
fundamental built-in encodings so that usable as well as
allocated rb_encoding before rb_enc_init().
* encindex.h: separate encoding index constants from internal.h.
Tue Sep 15 13:13:13 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* array.c (rb_ary_sort_bang, rb_ary_sort): [DOC] correct block
return values, which may be a negative or positive integer, not
only -1 or +1.
Tue Sep 15 12:49:10 2015 Jason Barnabe <jason.barnabe@gmail.com>
* array.c (rb_ary_sort_bang, rb_ary_sort): [DOC] Correct
description of array sort block return values. And also fix up
the grammar a bit. [Fix GH-1020]
Tue Sep 15 12:44:32 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* util.c (ruby_qsort): use BSD-style qsort_r if available.
Mon Sep 14 19:26:34 2015 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb (parse_mlsx_entry): parse pathnames including
space correctly.
Mon Sep 14 11:12:10 2015 Anton Davydov <antondavydov.o@gmail.com>
* lib/racc/rdoc/grammar.en.rdoc: [DOC] fix typo, "convertion" to
"conversion". [Fix GH-1016]
Sun Sep 13 11:03:13 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/ruby.h: prefix RUBY or RB to global symbols to get
rid of name conflicts with other headers.
* include/ruby/encoding.h, include/ruby/intern.h: ditto.
Sun Sep 13 09:38:51 2015 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb (size, modify, create, type, unique, perm, lang,
media_type, charset): new methods to return standard facts.
Sat Sep 12 19:43:49 2015 Koichi Sasada <ko1@atdot.net>
* vm_insnhelper.c (vm_call_iseq_setup_normal): do not clear local
variables here. vm_push_frame() clears.
* vm_insnhelper.c (vm_call_iseq_setup_tailcall): ditto.
* vm_insnhelper.c (vm_push_frame): move check code to
vm_check_frame().
Reorder initialization timing to reuse same values (sp).
* compile.c (rb_iseq_compile_node): use
iseq_set_exception_local_table() for ISEQ_TYPE_DEFINED_GUARD.
Sat Sep 12 23:06:51 2015 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb (file?, directory?, appendable?, creatable?,
deletable?, enterable?, renamable?, listable?, directory_makable?,
purgeable?, readable?, writable?): new methods.
Sat Sep 12 21:27:22 2015 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb (FACT_PARSERS): support system dependent facts
UNIX.mode, UNIX.owner, UNIX.group, UNIX.ctime, and UNIX.atime.
Sat Sep 12 19:08:58 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* win32/win32.c (rb_w32_dup2): should return the new fd on
success, while msvcrt returns 0 wrongly.
Sat Sep 12 18:14:11 2015 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb (parse_mlsx_entry, mlst) raise an FTPProtoError
when parsing failed.
Sat Sep 12 18:00:35 2015 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb (TIME_PARSER): use "Z" instead of "+00:00" to
get UTC time. Thanks, Wilson Bilkovich.
Sat Sep 12 17:55:24 2015 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb (mlst, mlsd): support new commands MLST and MLSD
specified in RFC 3659.
Sat Sep 12 16:14:31 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* file.c: access()/eaccess() wrapping methods check more than just uid.
[fix GH-1007][ci skip] Patch by @eam
Sat Sep 12 16:07:01 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* README.md: improve markdown rendering for readability.
[fix GH-1015][ci skip] Patch by @Matrixbirds
Sat Sep 12 14:30:03 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* process.c (save_redirect_fd): make saved FDs close-on-exec not
to be inherited.
* process.c (run_exec_dup2): restore close-on-exec flags too.
* win32/win32.c (fcntl): implement F_GETFD, F_SETFD, and
F_DUPFD_CLOEXEC.
Sat Sep 12 05:35:24 2015 Eric Wong <e@80x24.org>
* rational.c (string_to_r_strict): preserve encoding in exception
Fri Sep 11 20:23:35 2015 Koichi Sasada <ko1@atdot.net>
* vm_core.h: remove rb_call_info_t::aux.opt_pc.
* vm_insnhelper.c: introduce shortcut functions for opt_pc == 0
because opt_pc is always 0 on shortcut function.
Fri Sep 11 17:49:36 2015 Koichi Sasada <ko1@atdot.net>
* iseq.c: disable ISeq.load. It enabled accidentally at r51794.
Fri Sep 11 11:15:12 2015 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb (size, mdtm, system): parse responses according to
RFC 959 and 3659, where reply codes must be followed by SP.
* lib/net/ftp.rb (system): remove LF from the return value.
Thu Sep 10 22:48:49 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (literal_concat_gen, evstr2dstr_gen): keep literal
encoding beginning with an interpolation same as the source file
encoding. [ruby-core:70703] [Bug #11519]
Thu Sep 10 22:15:51 2015 Joe Rafaniello <jrafanie@redhat.com>
* process.c (rb_f_spawn): Be more specific regarding "other
values" by having "non-zero positive integers" Add nil, the
default value, as a possible value and what it means.
Try to use more consistent language.
[Fix GH-1008]
Thu Sep 10 15:16:02 2015 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb (getmultiline): refactor.
Thu Sep 10 12:17:28 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* compile.c (iseq_build_from_ary_body): register cdhash to the
iseq constant body instead of compile time mark array, not to
get GCed. [ruby-core:70708] [Feature #8543]
Wed Sep 9 18:16:14 2015 NAKAMURA Usaku <usa@ruby-lang.org>
* lib/rubygems/stub_specification.rb (Gem::StubSpecification#data):
should not change the value of $. when `require`ing gems.
this fixed test failures introduced by r51813.
Wed Sep 9 16:55:45 2015 NAKAMURA Usaku <usa@ruby-lang.org>
* ruby.c (usage, enable_option, disable_option, process_options): new
option `--disable-did_you_mean`.
* gem_prelude.rb: now requires did_you_mean gem by default if available.
Wed Sep 9 13:38:56 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* tool/extlibs.rb (do_patch): let "patch" command change the
working directory and open the patch file there, instead of
spawn options, so that proper error message will be shown by the
command not just "chdir" or "open".
Wed Sep 9 11:33:05 2015 NAKAMURA Usaku <usa@ruby-lang.org>
* common.mk (update-gems): use BASERUBY instead of RUNRUBY.
Wed Sep 9 11:08:59 2015 Zachary Scott <zzak@ruby-lang.org>
* lib/delegate.rb: Remove backtrace cleaning for delegated methods
This patch was provided by Rafael Franca and greatly improves
performance when an exception is raised. [Bug #11461]
Wed Sep 9 10:05:41 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* test/rubygems/test_config.rb: fix broken tests for Windows platform.
Wed Sep 9 07:46:32 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* lib/rubygems: Update to RubyGems HEAD(fe61e4c112).
this version contains new feature that warn invalid SPDX license
identifiers. https://github.com/rubygems/rubygems/pull/1249
and #1032, #1023, #1332, #1328, #1306, #1321, #1324
* test/rubygems: ditto.
Tue Sep 8 23:17:36 2015 Yuki Nishijima <mail@yukinishijima.net>
* gems/bundled_gems: Upgrade the did_you_mean gem to 1.0.0.beta2.
Tue Sep 8 23:09:28 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* io.c (rb_io_s_popen): do not wait the child process during being
killed. [ruby-core:70671] [Bug #11510]
Tue Sep 8 22:18:04 2015 NAKAMURA Usaku <usa@ruby-lang.org>
* gems/bundled_gems: revert because ruby trunk never be able to install
the did_you_mean gem. retry after enough test.
Tue Sep 8 21:48:22 2015 Yuki Nishijima <mail@yukinishijima.net>
* gems/bundled_gems: Automatically install the did_you_mean gem
as a bundled gem. [Feature #11252]
Tue Sep 8 17:17:48 2015 Koichi Sasada <ko1@atdot.net>
* vm_core.h: remove rb_call_info_t::blockiseq.
* insns.def (send, invokesuper): pass blockiseq explicitly.
* compile.c: catch up this fix.
* iseq.c: ditto.
* vm_args.c: ditto.
* iseq.c (ISEQ_MINOR_VERSION): 2->3 because instruction spec was
changed.
Tue Sep 8 15:01:19 2015 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb (list): fetch all the lines before yielding a block
to allow other commands in the block. [Feature #11454]
Patched by Srikanth Shreenivas.
Tue Sep 8 12:05:00 2015 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (rb_w32_read_reparse_point): return correct required
buffer size for IO_REPARSE_TAG_MOUNT_POINT.
Tue Sep 8 00:14:43 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* process.c (rb_execarg_parent_start1): raise with the target path
name when open() failed.
Mon Sep 7 23:45:28 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* process.c (rb_exec_fail): raise with the target directory name
when chdir() failed. pointed out by sorah.
Mon Sep 7 22:05:28 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* win32/win32.c (insert): should use plain strdup() instead of
ruby_strdup() at startup time, and plain free()ed in cmdglob().
Mon Sep 7 16:49:30 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_core.h (rb_vm_struct): define objspace always regardless
ENABLE_VM_OBJSPACE.
Mon Sep 7 15:54:58 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ruby_atomic.h (ATOMIC_VALUE_CAS): fix typo.
TODO: make arguments of all CAS macros consistent.
Sun Sep 6 16:07:22 2015 Eric Wong <e@80x24.org>
* ccan/list/list.h: suppress unused argument warnings
[ccan commit 6aaca17e07588997417a73fac19dcf0ff17ed81b]
Sat Sep 5 11:39:52 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/rss/rss.rb (Time#w3cdtf): fix zero-trimmed width of fraction
digits. [ruby-core:70667] [Bug #11509]
Sat Sep 5 08:28:58 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* hash.c (rb_hash_equal, rb_hash_eql): [DOC] the orders of each
hashes are not compared. [Bug #11508]
Fri Sep 4 23:26:22 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/win32.h: fix macro name for VC runtime version,
RT_VER is only in Makefile.
Fri Sep 4 17:46:17 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* doc/contributing.rdoc: fix configuration option.
[ci skip] [fix GH-1009]
Fri Sep 4 04:46:54 2015 Koichi Sasada <ko1@atdot.net>
* iseq.c (iseq_memsize): functions for wrapper object should have
iseqw_ prefix.
Thu Sep 3 21:12:12 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/cgi/session.rb (create_new_id): use SHA512 instead of MD5.
pointed out by SARWAR JAHAN.
Thu Sep 3 20:29:18 2015 Koichi Sasada <ko1@atdot.net>
* gc.c (rb_raw_obj_info): iseq->body->location.first_lineno is Fixnum.
Thu Sep 3 17:54:26 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_eval.c (raise_method_missing): "names" should be singular.
pointed out by Filip Bartuzi.
Thu Sep 3 17:50:09 2015 Koichi Sasada <ko1@atdot.net>
* gc.c (rb_raw_obj_info): should support IMEMO/iseq.
Thu Sep 3 10:07:49 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_eval.c (raise_method_missing): refine error messages when a
symbol is not given. [Fix GH-1013]
Wed Sep 2 18:49:55 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* ext/psych/*: merge psych master(8737e5b). It contains following fixes.
https://github.com/tenderlove/psych/pull/242
https://github.com/tenderlove/psych/pull/246 [ruby-list:50219]
* test/psych/*: ditto.
Wed Sep 2 18:04:13 2015 Koichi Sasada <ko1@atdot.net>
* vm_insnhelper.h (GET_PC_COUNT): remove unused macro.
Wed Sep 2 17:18:37 2015 Chris Schneider <chris@christopher-schneider.com>
* process.c (proc_detach): [DOC] fix typo "intent" as "intend" in
rdoc. [Fix GH-1011]
Wed Sep 2 16:58:21 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* file.c (rb_realpath_internal): use filesystem encoding if the
argument is in ASCII encodings.
* win32/file.c (rb_readlink): needs the result encoding.
Tue Sep 1 18:37:15 2015 Koichi Sasada <ko1@atdot.net>
* test/thread/test_queue.rb: catch up last commit.
Tue Sep 1 18:16:32 2015 Koichi Sasada <ko1@atdot.net>
* thread_sync.c (queue_do_close): ignore multiple close to allow
multiple producers.
https://bugs.ruby-lang.org/issues/10600#note-14
Tue Sep 1 18:06:26 2015 Koichi Sasada <ko1@atdot.net>
* thread_tools.c: rename thread_tools.c to thread_sync.c.
Mon Aug 31 17:04:45 2015 Koichi Sasada <ko1@atdot.net>
* class.c (move_refined_method): should insert a write barrier
from an original class to a created (cloned) method entry.
* test/ruby/test_refinement.rb: add a test.
Sun Aug 30 02:42:22 2015 Aaron Patterson <tenderlove@ruby-lang.org>
* ext/openssl/ossl_ssl.c (ossl_ssl_method_tab): Only add SSLv3 support
if the SSL library supports it. Thanks Kurt Roeckx <kurt@roeckx.be>
[Bug #11376]
* ext/openssl/extconf.rb: check for SSLv3 support in the SSL
implementation.
* test/openssl/test_ssl.rb (class OpenSSL): Skip tests that need SSLv3
if there is no support.
Fri Aug 28 16:05:09 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* lib/rdoc/*: Update rdoc master(cfffed5)
https://github.com/rdoc/rdoc/pull/337
https://github.com/rdoc/rdoc/pull/367
Fri Aug 28 10:16:20 2015 Koichi Sasada <ko1@atdot.net>
* vm.c (hook_before_rewind): prevent kicking :return event while
finishing vm_exec func because invoke_block_from_c() kick a :return
event for bmethods.
[Bug #11492]
* test/ruby/test_settracefunc.rb: add a test.
Thu Aug 27 18:05:42 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* lib/webrick/server.rb: use IO::NULL instead of '/dev/null'
* test/ruby/test_string.rb: ditto.
Thu Aug 27 15:24:57 2015 Koichi Sasada <ko1@atdot.net>
* compile.c (iseq_set_sequence): rename variable names
to make it readable.