forked from ruby/ruby
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog
3498 lines (2180 loc) · 117 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
Wed Apr 8 19:18:02 2015 Shota Fukumori (sora_h) <[email protected]>
* enum.c (enum_grep_v, grep_i, grep_iter_i, Init_enum):
Implement Enumerable#grep_v. [Feature #11049]
Thu May 14 15:54:13 2015 SHIBATA Hiroshi <[email protected]>
* ext/pathname/lib/pathname.rb: Remove condition of RUBY_VERSION <= 1.9.
[Feature #11082]
Wed May 13 17:10:37 2015 Masaki Matsushita <[email protected]>
* enum.c (enum_to_a): revert r50457.
it requires recursion check.
then, it doesn't make performance improvement.
[Bug #11130] [Feature #9118]
Wed May 13 11:13:40 2015 Nobuyoshi Nakada <[email protected]>
* parse.y (parse_gvar): separate message for gvar without
non-space characters from message for invalid identifiers.
Tue May 12 22:18:27 2015 Masaki Matsushita <[email protected]>
* enum.c (enum_to_a): fix incompatibility introduced in r50457.
[Bug #11130]
* test/ruby/test_enum.rb: test for above.
Tue May 12 17:08:03 2015 Koichi Sasada <[email protected]>
* method.h: remove unused declaration.
Mon May 11 10:58:45 2015 SHIBATA Hiroshi <[email protected]>
* gems/bundled_gems: Update minitest-5.6.1 and power_assert-0.2.3.
Mon May 11 00:20:31 2015 Nobuyoshi Nakada <[email protected]>
* include/ruby/ruby.h (Data_Make_Struct, TypedData_Make_Struct):
allocate wrapper data object before allocating DATA_PTR to get
rid of possible memory leak when the former failed.
Sun May 10 21:32:45 2015 Nobuyoshi Nakada <[email protected]>
* gc.c (gc_mark_children): call dmark function for non-NULL
pointers only, so that DATA_PTR can be NULL safely now.
Sun May 10 16:23:58 2015 Kazuki Tsujimoto <[email protected]>
* proc.c (proc_binding): fix segmentation fault on marking phase.
envptr of newenvval should not be NULL.
You can reproduce by
make test-all TESTS='--gc-stress -n test_to_proc_binding ruby/test_method.rb'
Sun May 10 12:41:18 2015 Masaki Matsushita <[email protected]>
* ext/zlib/zlib.c (rb_gzreader_external_encoding):
define GzipReader#external_encoding.
[Bug #10900]
* test/zlib/test_zlib.rb: test for above.
Sun May 10 11:57:48 2015 Masaki Matsushita <[email protected]>
* ext/win32ole/win32ole_variant.c: fix typo "indicies".
the patch is from davydovanton <antondavydov.o at gmail.com>.
[fix GH-892]
* lib/rubygems/indexer.rb: ditto.
* test/rubygems/test_gem_indexer.rb: ditto.
Sun May 10 11:44:37 2015 Masaki Matsushita <[email protected]>
* string.c (rb_str_crypt): Raise ArgumentError when
string passed to String#crypt contains null.
the patch is from jrusnack <jrusnack at redhat.com>.
[Bug #10988] [fix GH-853]
* test/ruby/test_string.rb: test for above.
Sun May 10 11:23:03 2015 Masaki Matsushita <[email protected]>
* enum.c (enum_to_a): Use size to set array capa when possible.
the patch is from HonoreDB <aweiner at mdsol.com>.
[fix GH-444]
Sat May 9 06:48:36 2015 Eric Wong <[email protected]>
* ext/socket/ancdata.c (bsock_recvmsg_internal): GC guard
[Bug #11123]
Fri May 8 22:57:24 2015 takiy33 <[email protected]>
* test/matrix/test_matrix.rb (test_determinant): refactor test on
Matrix#determinant, by merging with test_det for an alias method
det. [Fix GH-897]
Fri May 8 15:43:11 2015 Shugo Maeda <[email protected]>
* lib/net/imap.rb (body_ext_mpart): should work even if body-fld-dsp
is omitted. [ruby-core:69093] [Bug #11128]
Fri May 8 15:05:57 2015 SHIBATA Hiroshi <[email protected]>
* doc/syntax/control_expressions.rdoc: fix a missing "a"
[fix GH-888][ci skip] Patch by @riffraff
Fri May 8 12:11:33 2015 Nobuyoshi Nakada <[email protected]>
* vm_eval.c (rb_method_call_status): resolve refined method entry
to check if undefined. [ruby-core:69064] [Bug #11117]
Thu May 7 22:22:59 2015 Sho Hashimoto <[email protected]>
* proc.c: [DOC] fix Binding#local_variable_set example. [ci skip]
Thu May 7 11:32:57 2015 NARUSE, Yui <[email protected]>
* Makefile.in (rbconfig.rb): add rule to make.
Thu May 7 05:14:39 2015 Eric Wong <[email protected]>
* ext/socket/lib/socket.rb (connect_nonblock): use IO#wait_writable
* lib/drb/drb.rb (DRB::DRbTCPSocket#alive?): use IO#wait_readable
* lib/webrick/httpserver.rb (run): ditto
* lib/resolv.rb (request): ditto for single socket case
[ruby-core:68943] [Feature #11081]
Wed May 6 22:49:54 2015 Nobuyoshi Nakada <[email protected]>
* vm_eval.c (rb_method_call_status): undefined refined method is
not callable unless using. [ruby-core:69064] [Bug #11117]
Sun May 3 22:40:06 2015 Rei Odaira <[email protected]>
* ext/-test-/file/fs.c: need to include sys/statvfs.h
to use statvfs().
* ext/-test-/file/extconf.rb: check the existence of
sys/statvfs.h
Sun May 3 21:59:48 2015 SHIBATA Hiroshi <[email protected]>
* lib/yaml.rb: fix typo. [ci skip][fix GH-890]
Patch by @miketheman
Sun May 3 10:02:12 2015 Nobuyoshi Nakada <[email protected]>
* range.c (linear_object_p, range_include): test if covered for
linear objects. [ruby-core:69052] [Bug #11113]
Fri May 1 13:30:24 2015 Nobuyoshi Nakada <[email protected]>
* dln.c (dln_load): check if a different libruby is loaded by the
extension library, and then bail out to get rid of very frequent
reported stale bug reports.
Thu Apr 30 19:51:11 2015 Nobuyoshi Nakada <[email protected]>
* compile.c (iseq_compile_each): revert r46873 and r46875, not to
allow to execute private readers by pretending op assign.
[ruby-core:68984] [Bug #11096]
Thu Apr 30 17:02:33 2015 SHIBATA Hiroshi <[email protected]>
* rational.c: Added documentation for rational literal.
[Bug #11075][fix GH-885][ci skip] Patch by @shishir127
Thu Apr 30 16:39:44 2015 Nobuyoshi Nakada <[email protected]>
* ext/socket/ipsocket.c (init_inetsock_internal): preserve errno
before other library calls and use rb_syserr_fail.
[ruby-core:68531] [Bug #10975]
Thu Apr 30 16:22:16 2015 Nobuyoshi Nakada <[email protected]>
* parse.y (lambda): push and reset cmdarg_stack in lambda body.
[ruby-core:69017] [Bug #11107]
Sun Apr 26 07:36:48 2015 Nobuyoshi Nakada <[email protected]>
* enc/utf_8.c (code_to_mbclen, code_to_mbc): reject values larger
than UTF-8 max codepoints. [Feature #11094]
Sat Apr 25 14:26:19 2015 Nobuyoshi Nakada <[email protected]>
* string.c (str_buf_cat): expand later so that the buffer can be
larger for further use. [Bug #11080] [Bug #11095]
Fri Apr 24 23:48:45 2015 Akinori MUSHA <[email protected]>
* misc/ruby-electric.el: Import version 2.2.3 from
https://github.com/knu/ruby-electric.el.
Fri Apr 24 10:40:02 2015 NAKAMURA Usaku <[email protected]>
* win32/win32.c (rb_w32_{getc,putc}): removed. they are needed for old
ruby (before 1.8), but not now.
Fri Apr 24 08:40:13 2015 NARUSE, Yui <[email protected]>
* win32/win32.c: remove bcc related code.
* include/ruby/win32.h: ditto.
Fri Apr 24 08:21:07 2015 NARUSE, Yui <[email protected]>
* win32/win32.c (rb_acrt_lowio_lock_fh): wrap _pioinfo(i)->lock.
* win32/win32.c (rb_acrt_lowio_unlock_fh): ditto.
Fri Apr 24 06:47:19 2015 NARUSE, Yui <[email protected]>
* win32/win32.c (_filbuf): msvc14 doesn't have it, use _fgetc_nolock.
* win32/win32.c (_flsbuf): msvc14 doesn't have it, use _fputc_nolock.
* win32/win32.c (vcruntime_file): define vcruntime_file on msvc14
because it doesn't export FILE's internal structure.
* win32/win32.c (FILE_COUNT): added to abstract FILE->_cnt.
* win32/win32.c (FILE_READPTR): added to abstract FILE->_ptr.
* win32/win32.c (FILE_FILENO): added to abstract FILE->_file.
* win32/win32.c (init_stdhandle): use FILE_FILENO.
* win32/win32.c (rb_w32_getc): use FILE_COUNT and FILE_READPTR.
* win32/win32.c (rb_w32_putc): ditto.
Fri Apr 24 06:37:07 2015 NARUSE, Yui <[email protected]>
* win32/win32.c (dupfd): use _set_osfhnd.
* win32/win32.c (rb_w32_wopen): use _set_osflags.
Thu Apr 24 05:38:01 2015 Koichi Sasada <[email protected]>
* gc.c (gc_mark_roots): fox to work PRINT_ROOT_TICKS.
Fri Apr 24 04:49:05 2015 NARUSE, Yui <[email protected]>
* win32/Makefile.sub: MSVC14 have struct timespec.
* win32/rtname.cmd: support vcruntime140.dll.
* time.c (localtime_with_gmtoff_zone): MSVC14 doesn't have tzname and
daylight but have _tzname and _daylight.
Thu Apr 23 11:35:55 2015 Nobuyoshi Nakada <[email protected]>
* vm_eval.c (rb_obj_instance_eval, rb_obj_instance_exec): allow
symbols to just instance_eval/exec, except for definition of
singletons. [ruby-core:68961] [Bug #11086]
Thu Apr 23 10:01:36 2015 SHIBATA Hiroshi <[email protected]>
* lib/delegate.rb: fix a typo.
[fix GH-881][ci skip] Patch by @Zorbash
Wed Apr 22 18:36:50 2015 Shugo Maeda <[email protected]>
* lib/net/imap.rb (move, uid_move): support the MOVE command defined
in RFC6851. Patch by ojab ojab.
[ruby-core:68960] [Feature #11077]
Tue Apr 22 12:42:12 2015 Kazuki Tanaka <[email protected]>
* test/ruby/test_object.rb: add tests for Kernel#String and Kernel#Array.
[fix GH-879][fix GH-880] Patch by @yui-knk
Tue Apr 21 20:46:02 2015 SHIBATA Hiroshi <[email protected]>
* test/ruby/test_object.rb: renamed tests to explicitly class name.
[fix GH-877] Patch by @yui-knk
Tue Apr 21 05:31:00 2015 Eric Wong <[email protected]>
* ext/socket/lib/socket.rb (connect_internal): avoid common exceptions
from connect_nonblock. [ruby-core:68909]
Mon Apr 20 23:46:53 2015 NAKAMURA Usaku <[email protected]>
* win32/win32.c (rb_w32_wreadlink): follow the official format of
REPARSE_DATA_BUFFER structure.
Mon Apr 20 20:23:04 2015 NAKAMURA Usaku <[email protected]>
* common.mk ($(arch)-fake.rb): revert r50354 because bsdmake seems not
to handle such substitution.
* tool/expand-config.rb: convert path separators here.
Mon Apr 20 16:52:20 2015 NAKAMURA Usaku <[email protected]>
* tool/fake.rb: don't fake libdir. use libdirname instead.
Mon Apr 20 16:49:52 2015 NAKAMURA Usaku <[email protected]>
* lib/mkmf.rb (MakeMakefile#configuration): DESTDIR should never affect
top_srcdir and builddir.
Mon Apr 20 16:18:17 2015 NAKAMURA Usaku <[email protected]>
* common.mk ($(arch)-fake.rb): fix the path separator up for Windows.
Mon Apr 20 15:02:47 2015 NAKAMURA Usaku <[email protected]>
* win32/win32.c (rb_w32_wreadlink): fixed a bug that a junction misses
its drive letter.
Mon Apr 20 12:54:56 2015 SHIBATA Hiroshi <[email protected]>
* ext/openssl/*: use license instead of licence.
[fix GH-876][ci skip] Patch by @davydovanton
* lib/net/https.rb: ditto.
Mon Apr 20 12:42:40 2015 SHIBATA Hiroshi <[email protected]>
* benchmark/bm_so_meteor_contest.rb: fix a typo.
[fix GH-876][ci skip] Patch by @davydovanton
* tool/bisect.sh: ditto.
* tool/update-deps: ditto.
Mon Apr 20 11:10:46 2015 Eric Wong <[email protected]>
* ext/socket/socket.c (sock_connect_nonblock): do not raise EISCONN
[ruby-core:68926] [Feature #11072]
* test/socket/test_nonblock.rb: check non-EISCONN on 2nd connect
Sun Apr 19 12:19:17 2015 Chad Brewbaker <[email protected]>
* ext/{etc,openssl,tk}: Adding parens and comparisons around
assignments to get rid of Wparentheses warnings. [Fix GH-875]
Sun Apr 19 10:42:54 2015 Nobuyoshi Nakada <[email protected]>
* hash.c (get_env_cstr): environment variables must be ASCII
compatible, as dummy encodings and wide char encodings are
unsupported now.
Sat Apr 18 15:18:56 2015 Nobuyoshi Nakada <[email protected]>
* ext/json/parser/parser.rl: raise with messages in UTF-8
encoding. [ruby-core:67386] [Bug #10705]
Fri Apr 17 11:58:34 2015 Nobuyoshi Nakada <[email protected]>
* string.c (STR_SET_EMBED): clear NOFREE flag at embedding as
embedded strings no longer refer static strings.
[ruby-core:68436] [Bug #10942]
Thu Apr 16 05:15:50 2015 Eric Wong <[email protected]>
* NEWS: note IO#wait_readable change in r50263
Thu Apr 16 05:09:36 2015 Eric Wong <[email protected]>
* lib/net/protocol.rb (rbuf_fill): use IO#wait_*able
* lib/net/http/generic_request.rb (wait_for_continue): ditto
[ruby-core:68891] [Feature #11056]
Wed Apr 15 18:43:43 2015 Koichi Sasada <[email protected]>
* vm_trace.c (rb_tracepoint_new): fix documentation.
Commented by @emilsoman.
Wed Apr 15 17:36:51 2015 Koichi Sasada <[email protected]>
* vm_trace.c (rb_tracepoint_new): Add documentation for
rb_tracepoint_new C level API [ci skip]
Provided by @emilsoman. [fix GH-869]
Wed Apr 15 10:37:40 2015 SHIBATA Hiroshi <[email protected]>
* doc/contributors.rdoc: fix a typo. Patch by @davydovanton
[fix GH-872][ci skip]
* doc/syntax/methods.rdoc: ditto.
* ext/digest/sha2/sha2.c: ditto.
* ext/socket/ipsocket.c: ditto.
* ext/tk/*: ditto.
Wed Apr 15 07:51:23 2015 Yuki Yugui Sonoda <[email protected]>
* doc/extension.ja.rdoc: Added description of TypedData_XXX.
Deprecated the old DATA_XXX.
Reviewed by ko1 and nobu.
Fixes [ruby-dev:40881] #3064
* doc/extension.rdoc: ditto.
Wed Apr 15 07:34:49 2015 Nobuyoshi Nakada <[email protected]>
* thread_pthread.c (reserve_stack): keep sp safe zone to get rid
of crash by -fstack-check. [ruby-core:68740] [Bug #11030]
Tue Apr 14 16:03:49 2015 NAKAMURA Usaku <[email protected]>
* tool/merger.rb (versionup): should also increment revision when
changing teeny.
Tue Apr 14 11:24:56 2015 Nobuyoshi Nakada <[email protected]>
* ext/-test-/printf/printf.c (uint_to_str): renamed to get rid of
conflict on cygwin. [ruby-core:68877] [Bug #11065]
Tue Apr 14 08:59:04 2015 Zachary Scott <[email protected]>
* gc.c: [DOC] Improve documentation for ObjectSpace.count_objects
with regards to `:TOTAL` key, with patch by @schneems [Fixes GH-871]
https://github.com/ruby/ruby/pull/871 [Bug #11067]
Mon Apr 13 22:44:07 2015 Tanaka Akira <[email protected]>
* test/lib/envutil.rb (File.mkfifo): Defined using mkfifo command.
* test/ruby/test_io.rb: Use File.mkfifo.
* test/ruby/test_file_exhaustive.rb: Ditto.
* test/ruby/test_process.rb: Ditto.
Mon Apr 13 21:20:20 2015 CHIKANAGA Tomoyuki <[email protected]>
* ext/openssl/lib/openssl/ssl.rb: stricter hostname verification
following RFC 6125. with the patch provided by Tony Arcieri and
Hiroshi Nakamura [ruby-core:61545] [Bug #9644]
* test/openssl/test_ssl.rb: add tests for above.
Sun Apr 12 18:40:04 2015 SHIBATA Hiroshi <[email protected]>
* ext/json/json.gemspec: bump version to 1.8.2.
* ext/json/lib/json/version.rb: ditto.
Sun Apr 12 18:12:07 2015 SHIBATA Hiroshi <[email protected]>
* ext/json/json.gemspec, lib/rdoc/rdoc.gemspec: added gemspec directly.
* defs/default_gems, tool/rbinstall.rb: removed default_gems definition.
it make simple installation for default gems.
Sun Apr 12 17:35:17 2015 SHIBATA Hiroshi <[email protected]>
* ext/json/*, test/json/*: Reverted r50231. Because it's not
working with cross-compile environment.
Sun Apr 12 15:34:59 2015 Nobuyoshi Nakada <[email protected]>
* parse.y (arg): fix segfault by null caused by syntax error.
[ruby-core:68851] [Bug #10957]
Sun Apr 12 15:11:16 2015 SHIBATA Hiroshi <[email protected]>
* lib/rubygems/test_case.rb: use explicitly exception class and reverted
to require JSON library for rubygems tests with Ruby 2.2.0 or earlier.
Sun Apr 12 15:10:18 2015 Nobuyoshi Nakada <[email protected]>
* ext/io/wait/wait.c (io_wait_readable): simply returns that IO is
readable without blocking, but no longer returns EOF.
* ext/io/wait/wait.c (io_ready_p, io_wait_readable): try polling
first and check FIONREAD optionally to see if EOF.
[ruby-core:36805] [Feature #4849]
Sun Apr 12 14:53:23 2015 SHIBATA Hiroshi <[email protected]>
* lib/rubygems/test_case.rb: fixed json load error for rubygems tests.
Sun Apr 12 14:13:28 2015 SHIBATA Hiroshi <[email protected]>
* gc.c: Document require name for ObjectSpace methods.
[ci skip][fix GH-860] Patch by @schneems
Sun Apr 12 13:54:05 2015 Tanaka Akira <[email protected]>
* test/ruby/test_io.rb: New test that open(fifo) doesn't block other
threads.
Sun Apr 12 13:52:18 2015 SHIBATA Hiroshi <[email protected]>
* ext/coverage/coverage.c: Remove extension from require argument.
[ci skip][fix GH-870] Patch by @yui-knk
Sun Apr 12 10:29:14 2015 Eric Wong <[email protected]>
* ext/openssl/ossl_ssl.c (ossl_ssl_connect_nonblock):
support `exception: false'
* (get_no_exception): move function location
* ext/socket/socket.c (sock_connect_nonblock):
support `exception: false'
* test/openssl/test_pair.rb (test_connect_accept_nonblock_no_exception):
test `exception: false' on connect,
rename from `test_accept_nonblock_no_exception'
* test/socket/test_nonblock.rb (test_connect_nonblock_no_exception):
new test
Sun Apr 12 09:57:16 2015 Tanaka Akira <[email protected]>
* test/ruby/test_file_exhaustive.rb: Test a block device on GNU/Linux.
Sun Apr 12 09:24:03 2015 Tanaka Akira <[email protected]>
* test/ruby/test_file_exhaustive.rb: Test a file not owned.
Sun Apr 12 09:05:44 2015 Tanaka Akira <[email protected]>
* ext/fiddle/depend: Fix "Wrong mix of special targets" error with
OpenBSD make.
Sun Apr 12 09:04:37 2015 NAKAMURA Usaku <[email protected]>
* test/ruby/test_file_exhaustive.rb: Windows doesn't support Unix file
modes.
Sun Apr 12 08:56:44 2015 Tanaka Akira <[email protected]>
* ext/-test-/file/fs.c: OpenBSD needs sys/param.h before sys/mount.h.
Sun Apr 12 08:52:01 2015 Tanaka Akira <[email protected]>
* test/ruby/test_file_exhaustive.rb: Test suid, sgid and sticky file.
Sat Apr 11 23:48:30 2015 SHIBATA Hiroshi <[email protected]>
* template/fake.rb.in: Don't assign baseruby, Because it's affect to
Makefile of native gem like json on bundled gems.
Sat Apr 11 23:33:22 2015 Tanaka Akira <[email protected]>
* file.c (rb_f_test): Consider nsec for "=", "<" and ">" for "test"
method.
Sat Apr 11 23:26:05 2015 SHIBATA Hiroshi <[email protected]>
* tool/rbinstall.rb: support destdir for native extension gem.
Sat Apr 11 21:02:06 2015 NAKAMURA Usaku <[email protected]>
* test/ruby/test_file_exhaustive.rb
(TestFileExhaustive#test_stat_socket_p): r50226 accidentally missed
the guard for non-unix environments.
Sat Apr 11 20:14:21 2015 SHIBATA Hiroshi <[email protected]>
* ext/json/*, test/json/*, defs/default_gems: Gemify JSON library.
[fix GH-867][Feature #11057]
* test/ruby/test_extlibs.rb: removed json gem from existence extensions.
* gems/bundled_gems: added json gem into bundled gem.
* lib/rdoc/rubygems_hook.rb: ignored no json environment.
* lib/rubygems/test_case.rb, test/rubygems/*: ditto.
* lib/rdoc/test_case.rb, test/rdoc/*: ditto.
Sat Apr 11 15:56:58 2015 Tanaka Akira <[email protected]>
* test/ruby/test_file_exhaustive.rb: Create sample files lazily.
Sat Apr 11 14:03:47 2015 Tanaka Akira <[email protected]>
* test/ruby/test_file_exhaustive.rb: Test character device using
/dev/null.
Sat Apr 11 10:59:58 2015 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (append_cppflags, append_cflags, append_ldflags):
utility methods to append compiler options.
Sat Apr 11 08:22:24 2015 SHIBATA Hiroshi <[email protected]>
* lib/rdoc/text.rb: removed duplicated code.
Sat Apr 11 04:46:42 2015 Eric Wong <[email protected]>
* lib/net/protocol.rb (rbuf_fill): avoid exception with read_nonblock
[ruby-core:68787] [Feature #11044]
Fri Apr 10 23:57:44 2015 Nobuyoshi Nakada <[email protected]>
* dir.c (need_normalization): use getattrlist() if fgetattrlist()
is unavailable, on OSX 10.5. [ruby-core:68829] [Bug #11054]
Fri Apr 10 22:29:21 2015 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (try_compile): pass the given werror flag to try_do
to check if stderr is empty.
* lib/mkmf.rb (try_cflags, try_ldflags): default werror to true.
* win32/Makefile.sub (WERRORFLAG): remove useless option. VC does
not make warnings of unknown command option an error.
Fri Apr 10 19:34:24 2015 Tanaka Akira <[email protected]>
* test/ruby/test_file_exhaustive.rb: Test socket.
Fri Apr 10 19:38:46 2015 Koichi Sasada <[email protected]>
* test/objspace/test_objspace.rb: remove debug prints.
Fri Apr 10 19:35:51 2015 Koichi Sasada <[email protected]>
* ext/objspace/objspace.c: add ObjectSpace.count_imemo_objects method
to count imemo objects for each type.
* test/objspace/test_objspace.rb: add a test.
* NEWS: describe about this addition.
Fri Apr 10 19:34:24 2015 Tanaka Akira <[email protected]>
* test/ruby/test_file_exhaustive.rb: Test anonymous pipe.
Fri Apr 10 19:31:56 2015 Tanaka Akira <[email protected]>
* test/ruby/test_file_exhaustive.rb: Test named pipe.
Fri Apr 10 19:10:34 2015 Koichi Sasada <[email protected]>
* ext/objspace/objspace.c (setup_hash): unify common routine.
Fri Apr 10 18:29:49 2015 Tanaka Akira <[email protected]>
* process.c (rb_execarg_parent_start1): Handle EINTR.
Fri Apr 10 17:27:58 2015 Koichi Sasada <[email protected]>
* vm.c (vm_exec): check other events when RETURN is thrown.
[Bug #10724]
* test/ruby/test_settracefunc.rb: add a test.
Fri Apr 10 11:44:09 2015 Nobuyoshi Nakada <[email protected]>
* ext/date/extconf.rb: check warnings.
* lib/mkmf.rb (try_cflags): pass options to try_compile.
* win32/Makefile.sub (WERRORFLAG): make unknown command line
options an error.
Fri Apr 10 08:00:17 2015 NAKAMURA Usaku <[email protected]>
* test/ruby/test_process.rb: unfortunately, windows is not POSIX...
cygwin has mkfifo command, but it does not affect system-wide.
Fri Apr 10 02:18:53 2015 Tanaka Akira <[email protected]>
* test/ruby/test_process.rb: Use mkfifo command instead of mknod
command to create a named pipe. mkfifo command is defined by POSIX.
Fri Apr 10 01:29:05 2015 Tanaka Akira <[email protected]>
* process.c: Release GVL when opening a file in spawn() to avoid whole
process blocking when opening a named pipe.
(open_func): New function.
(rb_execarg_parent_start1): Extracted from rb_execarg_parent_start and
use rb_thread_call_without_gvl2 to release GVL when opening a file.
(rb_execarg_parent_start): Invoke rb_execarg_parent_start1 via
rb_protect and invoke rb_execarg_parent_end when error.
Thu Apr 9 22:19:19 2015 Tanaka Akira <[email protected]>
* process.c (redirect_open): Removed.
Thu Apr 9 21:38:20 2015 Tanaka Akira <[email protected]>
* internal.h (rb_execarg_parent_end): Declared.
* process.c: "spawn" opens files in the parent process.
(check_exec_redirect): Add an placeholder for fd in parameters
for fd_open.
(check_exec_fds_1): Delete fd_open condition.
(check_exec_fds): Don't call check_exec_fds_1 with fd_open.
(rb_execarg_parent_start): Open files specified as "spawn" options
and add "dup2" options.
(rb_execarg_parent_end): New function to close opened fds.
(run_exec_open): Removed.
(rb_execarg_run_options): Don't call run_exec_open.
(rb_spawn_internal): Call rb_execarg_parent_end.
* io.c (pipe_open): Call rb_execarg_parent_end.
* ext/pty/pty.c (establishShell): Call rb_execarg_parent_end.
Thu Apr 9 20:52:31 2015 Tanaka Akira <[email protected]>
* internal.h (rb_execarg_parent_start): Renamed from rb_execarg_fixup.
* process.c: Follows the above change.
* io.c: Ditto.
* ext/pty/pty.c: Ditto.
Thu Apr 9 20:35:12 2015 Tanaka Akira <[email protected]>
* process.c (fd_clear_cloexec): Extracted from run_exec_dup2.
Thu Apr 9 09:26:47 2015 Eric Wong <[email protected]>
* ccan/list/list.h: sync with ccan upstream
[ccan commit c2fbfe5282ba264f3485586e7efa8a5967f2d386]
Thu Apr 9 08:24:03 2015 Masahiro Tomita <[email protected]>
* ext/socket/raddrinfo.c (addrinfo_mload): fix memory leak of
addrinfo. [ruby-dev:48923] [Bug #11051]
Wed Apr 8 17:45:02 2015 Shannon Skipper <[email protected]>
* version.c (Init_version): the version of the engine or
interpreter. [Fix GH-858]
Wed Apr 8 16:15:30 2015 Kenta Murata <[email protected]>
* bigdecimal: conform to ruby's license. [ruby-core:68466] [Bug #10952]
Wed Apr 8 14:57:06 2015 NAKAMURA Usaku <[email protected]>
* win32/win32.c (rb_w32_wreadlink): should treat junctions like as
symlinks.
Wed Apr 8 14:03:47 2015 Koichi Sasada <[email protected]>
* test/ruby/test_symbol.rb: fix syntax error.
Wed Apr 8 13:01:06 2015 Nobuyoshi Nakada <[email protected]>
* hash.c (rb_any_hash): Symbols are compared by the identities
always. [ruby-core:68767] [Bug #11035]
Tue Apr 7 10:22:51 2015 SHIBATA Hiroshi <[email protected]>
* internal.h: fix typo. Patch by @sferik [fix GH-865]
Mon Apr 6 22:52:35 2015 Tanaka Akira <[email protected]>
* enum.c: Enumerable#chunk and Enumerable#slice_before no longer takes
the initial_state argument. [Feature #10958]
Mon Apr 6 16:09:58 2015 Koichi Sasada <[email protected]>
* vm_args.c: protect value stack from calling other methods
during complex parameter setting process (splat, kw, and so on).
[Bug #11027]
* vm_core.h: remove rb_thread_t::mark_stack_len.
With this modification, we don't need to use th->mark_stack_len.
* test/ruby/test_keyword.rb: add a test.
* cont.c (cont_capture): catch up this fix.
* vm.c (rb_thread_mark): ditto.
Mon Apr 6 11:26:42 2015 NARUSE, Yui <[email protected]>
* tool/downloader.rb (http_options): prevent content auto decoding
because this is a downloader.
Sun Apr 5 09:55:18 2015 NAKAMURA Usaku <[email protected]>
* doc/contributing.rdoc: update Maintainers list.
Sun Apr 5 09:11:00 2015 SHIBATA Hiroshi <[email protected]>
* tool/rbinstall.rb: fix bin script permission of bundled gems.
Sun Apr 5 08:46:08 2015 SHIBATA Hiroshi <[email protected]>
* tool/rbinstall.rb: support --program-suffix option.
Sat Apr 4 21:31:18 2015 SHIBATA Hiroshi <[email protected]>
* lib/rake/*: Gemify rake [fix GH-862][Feature #11025]
* test/rake/*: ditto.
* tool/rbinstall.rb: ditto.
Sat Apr 4 11:30:24 2015 Nobuyoshi Nakada <[email protected]>
* string.c (rb_str_setbyte): check the argument first not to
discard shared string and code range unnecessarily until
actually changing the contents. pointed out by headius.
Sat Apr 4 08:16:43 2015 NARUSE, Yui <[email protected]>
* lib/net/http.rb (edit_path): use path which is absolute ftp url
on using ftp_proxy.
Fri Apr 3 11:43:17 2015 Nobuyoshi Nakada <[email protected]>
* vm_eval.c (vm_call0_cfunc): update invoker arguments.
* vm_insnhelper.c (vm_call_cfunc_latter): ditto.
* vm_insnhelper.c (rb_vm_call_cfunc_push_frame): ditto, and prefix
with rb_.
Thu Apr 2 16:26:59 2015 Nobuyoshi Nakada <[email protected]>
* common.mk, tool/mkconfig.rb: check the running ruby version in
rbconfig.rb with the program version, as RUBY_VERSION has never
been affected by --with-ruby-version option.
[ruby-core:68639] [Bug #11002]
* configure.in (LIBRUBY_DLDFLAGS): compatibility_version must be
valid version numbers, not an arbitrary string.
Wed Apr 1 11:09:15 2015 Nobuyoshi Nakada <[email protected]>
* dir.c (push_glob): remove indirect links of arguments for
trampoline.
Wed Apr 1 09:59:12 2015 Nobuyoshi Nakada <[email protected]>
* lib/fileutils.rb (FileUtils#mv): show the exact target path in
the error message instead of the destination parent directory
name. patched by Joao Britto <jabcalves AT gmail.com> at
[ruby-core:68706]. [Bug #11021]
Tue Mar 31 15:25:07 2015 SHIBATA Hiroshi <[email protected]>
* doc/ChangeLog-0.06_to_0.52: added archived Changelog.
[ruby-list:50105]
* doc/ChangeLog-0.50_to_0.60: ditto.
* doc/ChangeLog-0.60_to_1.1: ditto.
Mon Mar 30 22:02:55 2015 Kazuhiro NISHIYAMA <[email protected]>
* README.EXT.ja: add redirect [ruby-core:68631]
Mon Mar 30 14:42:41 2015 Nobuyoshi Nakada <[email protected]>
* win32/win32.c (fileattr_to_unixmode, winnt_lstat): deal with
symbolic link than directory, and set executable bits.
Mon Mar 30 11:27:54 2015 Nobuyoshi Nakada <[email protected]>
* io.c (copy_stream_body): use the arguments without conversion if
having read, readpartial, and write methods, than conversion by
to_path method. [ruby-core:68676] [Bug #11015]
Sun Mar 29 21:08:37 2015 SHIBATA Hiroshi <[email protected]>
* gc.c (objspace_allrefs_destruct_i): fix a typo.
[Bug #11013]
Sun Mar 29 11:51:32 2015 Nobuyoshi Nakada <[email protected]>
* proc.c (proc_binding): replicate env from method object, and
allocate the local variable area for the iseq local table.
[ruby-core:68673] [Bug #11012]
Sat Mar 28 09:19:41 2015 NARUSE, Yui <[email protected]>
* ext/date/extconf.rb: try_cflags("-std=iso9899:1999") [Bug #10906]
ruby itself (including numeric.c) is built with strict compile
options including -std=iso9899:1999, but ext/date is not.
By the way -std=iso9899:1999 is not only a warning option but also
changes behavior like MACRO definitions for example INFINITY.
gcc on Solaris affect this.
Fri Mar 27 16:34:16 2015 Nobuyoshi Nakada <[email protected]>
* common.mk: revert using BOOTSTRAPRUBY for enc.mk, as
enc/depend uses CONFIG. [ruby-core:68647] [Bug #11004]
Thu Mar 26 10:05:13 2015 SHIBATA Hiroshi <[email protected]>
* test/test_observer.rb: add tests for Observable module.
[fix GH-859] Patch by @brightbits
Thu Mar 26 06:35:10 2015 Eric Wong <[email protected]>
* README.EXT: add redirect [ruby-core:68631]
Wed Mar 25 16:46:49 2015 NARUSE, Yui <[email protected]>
* ext/socket/extconf.rb: Solaris 11 has struct tcp_info.tcpi_ca_state,
but it is a dummy.
* ext/socket/option.c: Solaris 11 doesn't have u_intN_t.
* ext/socket/option.c: Solaris 11 needs inspect_tcpi_msec.
* ext/socket/raddrinfo.c: Solaris 11 has AF_PACKET but doesn't have
related macros.
Wed Mar 25 17:03:08 2015 Nobuyoshi Nakada <[email protected]>
* ext/-test-/file/fs.c (get_fsname): try magic number only if
f_type is included. [ruby-dev:48913] [Bug #11000]
Wed Mar 25 11:20:40 2015 Nobuyoshi Nakada <[email protected]>
* benchmark/bm_hash_aref_flo.rb: make more realistic data.
[ruby-core:68632] [[Bug #10999]
Wed Mar 25 10:39:06 2015 SHIBATA Hiroshi <[email protected]>
* .document: removed needless entries.
Wed Mar 25 08:07:28 2015 Eric Wong <[email protected]>
* doc/extension.rdoc: fix spelling of filename
* doc/extension.ja.rdoc: ditto.
Tue Mar 25 06:55:43 2015 Kazuki Tanaka <[email protected]>
* complex.c (k_inexact_p, k_exact_zero_p): use k_exact_zero_p macro
to remove k_inexact_p macro.
* complex.c (k_exact_one_p): remove unused macro k_exact_one_p.
Tue Mar 24 22:23:33 2015 SHIBATA Hiroshi <[email protected]>
* doc/extention.rdoc: move from toplevel document and added extname.
* doc/extention.ja.rdoc: ditto.
Tue Mar 24 22:06:58 2015 SHIBATA Hiroshi <[email protected]>
* doc/standard_library.rdoc: strip.
Tue Mar 24 22:06:27 2015 SHIBATA Hiroshi <[email protected]>
* doc/standard_library.rdoc: move Thread to Extensions.
Tue Mar 24 21:59:10 2015 SHIBATA Hiroshi <[email protected]>
* doc/contributing.rdoc: update Maintainers list.
Tue Mar 24 19:10:24 2015 Koichi Sasada <[email protected]>
* gc.c (gc_writebarrier_generational): fix messages for rb_bug().
Remove `rb_' prefix.
* gc.c (gc_writebarrier_incremental): ditto.
Tue Mar 24 17:34:01 2015 Shugo Maeda <[email protected]>
* README.ja.md: should be chunibyo.
Tue Mar 24 17:30:12 2015 Nobuyoshi Nakada <[email protected]>
* ext/-test-/file/fs.c (get_fsname): return filesystem name by
statfs/statvfs. [ruby-core:68624] [Bug #10998]
Tue Mar 24 16:46:02 2015 NAKAMURA Usaku <[email protected]>
* tool/redmine-backporter.rb: now doesn't required spaces just after
`!`.
Mon Mar 23 23:18:27 2015 Nobuyoshi Nakada <[email protected]>
* dir.c (dir_close): don't raise on double close for consistent to
IO#close. [Feature #10950]
Mon Mar 23 21:22:07 2015 Nobuyoshi Nakada <[email protected]>
* win32/file.c (rb_readlink): move from file.c for better buffer
allocation and the result encoding.
* win32/win32.c (wreadlink, rb_w32_ureadlink): implement readlink().
Mon Mar 23 14:40:45 2015 Nobuyoshi Nakada <[email protected]>
* win32/win32.c (winnt_stat): stat with following symbolic links.
* win32/win32.c (winnt_lstat): rename old winnt_stat, which does
not follow symbolic links.
Mon Mar 23 01:44:35 2015 Nobuyoshi Nakada <[email protected]>
* marshal.c (r_symreal): register symbol names as strings first so
that r_symlink always returns valid names.
[ruby-core:68587] [Bug #10991]
* marshal.c (r_ivar, r_object0): now need to intern symbol names.
* marshal.c (r_object0): compare with symbol names.
Sun Mar 22 22:07:40 2015 Kouhei Sutou <[email protected]>
* doc/etc.rd.ja: Fix wrong coding for Emacs.
Sun Mar 22 09:53:15 2015 Nobuyoshi Nakada <[email protected]>
* tool/make-snapshot (package): add default CONFIGURE name to
follow r50039.
* tool/make-snapshot (package): substitute configuration variables
in Makefile.in instead of passing by the command line, and make
temporary Makefile instead of a pipe.
Sun Mar 22 08:09:47 2015 Nobuyoshi Nakada <[email protected]>