-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
2130 lines (1352 loc) · 71.1 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 Mar 12 11:19:03 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_insnhelper.c (vm_callee_setup_arg): disable fastpath if splat
argument, since argc may differ for each calls.
[ruby-core:61422] [Bug #9622]
* vm_insnhelper.c (vm_callee_setup_arg): turn a macro into an
inline function.
Wed Mar 12 07:26:05 2014 Eric Wong <e@80x24.org>
* insns.def (opt_regexpmatch2): respect redefined match op
Thanks to Sam Rawlins for the fix.
* test/ruby/test_string.rb: test based on Tsuyoshi Sawada's report
[Bug #9581]
Tue Mar 11 22:31:25 2014 Kazuki Tsujimoto <kazuki@callcc.net>
* ext/.document: add objspace/objspace_dump.c to document file.
Tue Mar 11 22:22:38 2014 Kazuki Tsujimoto <kazuki@callcc.net>
* test/objspace/test_objspace.rb (TestObjSpace#test_dump_uninitialized_file):
remove dependency on json library.
Tue Mar 11 10:55:10 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* README.EXT{,.ja} (Appendix B): update contents of `ruby_options`
and replace `ruby_run` with `ruby_run_node`. based on the patch
by Kaneko Yuichiro at [ruby-dev:48030] [Bug #9619].
Tue Mar 11 06:54:00 2014 Scott Francis <scott.francis@shopify.com>
* ext/objspace/objspace_dump.c: Check fptr before trying to dump RFILE
object fd. [GH-562]
* test/objspace/test_objspace.rb: add test
Tue Mar 11 02:04:36 2014 NARUSE, Yui <naruse@ruby-lang.org>
* vm_dump.c (rb_vm_bugreport): show vm maps on FreeBSD.
* vm_dump.c (procstat_vm): copied from FreeBSD.
http://svnweb.freebsd.org/base/head/usr.bin/procstat/procstat_vm.c?revision=261780
Mon Mar 10 12:14:26 2014 NARUSE, Yui <naruse@ruby-lang.org>
* configure.in: always check dladdr(1).
* addr2line.c (fill_lines): show the line number in C backtrace if
ruby is built without --enable-shared (PIE) on Linux.
patch is originally by Shinichiro Hamaji
https://twitter.com/shinh/status/441957774264504321
NOTE: ld doesn't insert __executable_start for PIE.
dladdr(3)'s argument must be a function pointer.
Mon Mar 10 10:51:17 2014 ksss <co000ri@gmail.com>
* test/ruby/test_enumerator.rb (test_iterators): fix test for hash
iterators. [Fixes GH-558]
Sun Mar 9 14:14:49 2014 Eric Wong <e@80x24.org>
* class.c (rb_class_subclass_add): use xmalloc
* class.c (rb_module_add_to_subclasses_list): ditto
* class.c (rb_class_remove_from_super_subclasses): use xfree
* class.c (rb_class_remove_from_module_subclasses): ditto
[Bug #9616]
Sun Mar 9 13:51:16 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/fiddle/function.c (function_call): fix memory leak when an
exception occurs at argument conversion or the function call.
Sun Mar 9 06:42:40 2014 Eric Wong <e@80x24.org>
* variable.c (struct global_variable): shrink by 8 bytes on 64-bit
Sat Mar 8 17:42:51 2014 Eric Wong <e@80x24.org>
* vm.c (add_opt_method): cleanup to use rb_method_entry_at
Sat Mar 8 13:46:40 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/dl/cptr.c (dlptr_free), ext/dl/handle.c (dlhandle_free),
ext/fiddle/handle.c (fiddle_handle_free),
ext/fiddle/pointer.c (fiddle_ptr_free): fix memory leak.
based on the patch Heesob Park at [ruby-dev:48021] [Bug #9599].
Sat Mar 8 13:30:39 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* process.c (obj2uid, obj2gid): now getpwnam_r() and getgrnam_r()
may need larger buffers than sysconf values, so retry with
expanding the buffer when ERANGE is returned.
[ruby-core:61325] [Bug #9600]
Fri Mar 7 19:29:13 2014 Eric Wong <e@80x24.org>
* vm_eval.c (vm_call0_body): use RARRAY_CONST_PTR
(check_funcall_exec): ditto
[ruby-core:61360]
Fri Mar 7 19:14:11 2014 Eric Wong <e@80x24.org>
* vm_eval.c (vm_call0_body): fix RB_GC_GUARD location
(check_funcall_exec): ditto
[Bug #9609]
Fri Mar 7 14:48:17 2014 Narihiro Nakamura <authornari@gmail.com>
* parse.y (ENC_SINGLE): Unused macro removed.
Fri Mar 7 12:06:19 2014 Martin Bosslet <Martin.Bosslet@gmail.com>
* test/openssl/test_ssl.rb: Reuse TLS default options from
OpenSSL::SSL::SSLContext::DEFAULT_PARAMS.
Thu Mar 6 15:15:24 2014 Zachary Scott <e@zzak.io>
* doc/syntax/assignment.rdoc: [DOC] Fix assignment directions
By @idupree [Fixes GH-555] https://github.com/ruby/ruby/pull/555
Thu Mar 6 15:07:18 2014 Zachary Scott <e@zzak.io>
* doc/syntax/methods.rdoc: [DOC] Fix example for block arguments
By @idupree [Fixes GH-554] https://github.com/ruby/ruby/pull/554
Thu Mar 6 10:33:31 2014 Martin Bosslet <Martin.Bosslet@gmail.com>
* lib/openssl/ssl.rb: Explicitly whitelist the default
SSL/TLS ciphers. Forbid SSLv2 and SSLv3, disable
compression by default.
Reported by Jeff Hodges.
[ruby-core:59829] [Bug #9424]
Wed Mar 5 15:56:18 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (f_arg_asgn): define optional arguments as argument
variables in the rhs default expressions.
[ruby-core:61299] [Bug #9593]
Wed Mar 5 11:58:30 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/openssl/ossl.c (ossl_make_error): check NULL for unknown
error reasons with old OpenSSL, and insert a colon iff formatted
message is not empty.
Wed Mar 5 00:42:00 2014 Kazuki Tsujimoto <kazuki@callcc.net>
* ext/pathname/lib/pathname.rb (Pathname#find): add "ignore_error"
keyword argument defaulted to true as well as Find#find.
Tue Mar 4 23:00:18 2014 NAKAMURA Usaku <usa@ruby-lang.org>
* test/ruby/test_eval.rb (TestEval#make_test_binding): renamed.
it's not test method.
Tue Mar 4 20:50:59 2014 Masaya Tarui <tarui@ruby-lang.org>
* st.c (st_foreach): fix type of hash. not st_data_t but st_index_t.
Tue Mar 4 19:41:40 2014 Tanaka Akira <akr@fsij.org>
* Makefile.in: ".DEFAULT" target removed because it is not for
specifying default target.
Tue Mar 4 00:25:35 2014 Kazuki Tsujimoto <kazuki@callcc.net>
* lib/find.rb (Find#find): should pass ignore_error option to enumerators.
Mon Mar 3 13:27:35 2014 NAKAMURA Usaku <usa@ruby-lang.org>
* test/test_find.rb (TestFind#test_unsearchable_dir): ruby cannot make
directory unreachable by owner on Windows.
Mon Mar 3 08:10:04 2014 Eric Wong <e@80x24.org>
* vm_method.c (rb_method_entry_get_without_cache): disable GMC
writing if GMC is disabled.
[ruby-core:61218]
Mon Mar 3 07:47:17 2014 Eric Wong <e@80x24.org>
* README.EXT: wrap GetDBM with do/while(0)
* README.EXT.ja: ditto
* ext/dbm/dbm.c: ditto, likewise for GetDBM2
* ext/gdbm/gdbm.c: ditto
* ext/sdbm/init.c: ditto
[ruby-core:61217]
Mon Mar 3 07:17:31 2014 Zachary Scott <e@zzak.io>
* NEWS: [DOC] Update doc regarding filesystem load when flushing IO
Mon Mar 3 04:37:50 2014 NAKAMURA Usaku <usa@ruby-lang.org>
* io.c (rb_io_fsync): need to fsync even if on Windows. fixed mistake
of r45254 and r45256.
Mon Mar 3 04:21:34 2014 NAKAMURA Usaku <usa@ruby-lang.org>
* test/win32ole: get rid of warnings (unused variable).
Mon Mar 3 02:53:53 2014 NAKAMURA Usaku <usa@ruby-lang.org>
* io.c (rb_io_flush_raw): [EXPERIMENTAL] remove force syncing for Win32
to speed up IO. this may break some tests, and they'll be fixed
later.
[ruby-core:58570] [Bug #9153]
Mon Mar 3 00:17:43 2014 NAKAMURA Usaku <usa@ruby-lang.org>
* test/ruby/test_backtrace.rb: get rid of warnings. unused variable,
shadowing.
Sun Mar 2 11:15:10 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/find.rb (Find#find): add "ignore_error" keyword argument
defaulted to true. [ruby-core:51025] [Feature #7596]
Sun Mar 2 11:13:30 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/readline/extconf.rb (rl_hook_func_t): define as Function for
very old readline versions. [ruby-core:61209] [Bug #9578]
Sun Mar 2 10:47:58 2014 Eric Wong <e@80x24.org>
* load.c (ruby_init_ext): make idempotent to suppress warnings
Sat Mar 1 19:51:42 2014 Tanaka Akira <akr@fsij.org>
* lib/open3.rb (Open3.capture3): Ignore Errno::EPIPE for writing
stdin_data.
(Open3.capture2): Ditto.
(Open3.capture2e): Ditto.
Sat Mar 1 19:06:47 2014 Eric Wong <e@80x24.org>
* gc.c (ruby_gc_set_params): simplify condition
Sat Mar 1 16:18:40 2014 Tanaka Akira <akr@fsij.org>
* ext/readline/readline.c (Init_readline): Use rl_hook_func_t instead
of Function to support readline-6.3. (rl_hook_func_t is available
since readline-4.2.)
Reported by Dmitry Medvinsky. [ruby-core:61141] [Bug #9578]
Sat Mar 1 16:05:58 2014 Eric Wong <e@80x24.org>
* gc.c (ruby_gc_set_params): fix building without RGenGC
Sat Mar 1 11:08:00 2014 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych/visitors/yaml_tree.rb: support dumping Encoding
objects.
* ext/psych/lib/psych/visitors/to_ruby.rb: support loading Encoding
objects.
* test/psych/test_encoding.rb: add test
* ext/psych/lib/psych.rb: add version
Sat Mar 1 10:52:34 2014 Zachary Scott <e@zzak.io>
* README.EXT.ja: [DOC] Fix typo "macro macro" @utenmiki [Fixes GH-551]
https://github.com/ruby/ruby/pull/551
Fri Feb 28 11:16:55 2014 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
* numeric.c: Fix Numeric#step with 0 unit [Bug #9575]
Thu Feb 27 17:59:01 2014 Zachary Scott <e@zzak.io>
* lib/optparse.rb: [DOC] Add example of generating help with optparse.
Patch by @joelmccracken documenting-ruby/ruby#19
https://github.com/documenting-ruby/ruby/pull/19
Thu Feb 27 12:10:09 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* numeric.c (ruby_num_interval_step_size): check signs and get rid
of implementation dependent behavior of negative division.
[ruby-core:61106] [Bug #9570]
Thu Feb 27 03:55:45 2014 Zachary Scott <e@zzak.io>
* thread.c: [DOC] Typo in comment for _FORTIFY_SOURCE [Fixes GH-548]
Patch by @qnet-herwin https://github.com/ruby/ruby/pull/548
Wed Feb 26 18:43:43 2014 Koichi Sasada <ko1@atdot.net>
* gc.c (heap_pages_free_unused_pages): check tomb page availability
at first.
And return immediately if we don't touch sorted list any more.
Wed Feb 26 14:10:44 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (setup_exception): preserve exception class name encoding
in debug mode messages.
* eval.c (setup_exception): preserve errinfo across calling #to_s
method on the exception. [ruby-core:61091] [Bug #9568]
Wed Feb 26 01:29:27 2014 NARUSE, Yui <naruse@ruby-lang.org>
* string.c (sym_find): Add Symbol.find(str), which returns whether given
string is defined as symbol or not. [Feature #7854]
Tue Feb 25 22:52:02 2014 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* ext/dl/dl.c (rb_dl_realloc): use NUM2SIZET instead of NUM2INT.
* ext/fiddle/fiddle.c (rb_fiddle_realloc): ditto.
Tue Feb 25 22:49:30 2014 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* ext/dl/dl.c (rb_dl_malloc): use NUM2SIZET instead of NUM2INT.
Coverity Scan found this bug.
* ext/fiddle/fiddle.c (rb_fiddle_malloc): ditto.
Tue Feb 25 12:06:13 2014 NARUSE, Yui <naruse@ruby-lang.org>
* win32/Makefile.sub: define PACKED_STRUCT.
Mon Feb 24 21:41:56 2014 NAKAMURA Usaku <usa@ruby-lang.org>
* README.md, README.ja.md: removed (wrong) mode setting for emacs.
Mon Feb 24 20:05:41 2014 Eric Wong <e@80x24.org>
* configure.in: define PACKED_STRUCT_UNALIGNED for x86*
* timev.h (struct vtm): use PACKED_STRUCT_UNALIGNED
* time.c (struct time_object): ditto
[Bug #9558] non-x86 cannot safely access unaligned addresses
Mon Feb 24 18:10:02 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* test/fiddle/test_function.rb: remove unused variables.
* test/fileutils/test_fileutils.rb: ditto.
* test/io/console/test_io_console.rb: ditto.
Mon Feb 24 12:37:51 2014 Eric Wong <e@80x24.org>
* configure.in: use -Wno-packed-bitfield-compat for GCC 4.4+
use __attribute__((packed)) if available
* timev.h: shrink and pack struct vtm
* time.c: pack struct time_object and adjust/introduce helpers
[ruby-core:60794]
Sun Feb 23 17:55:50 2014 Kouhei Sutou <kou@cozmixng.org>
* lib/rexml/xmltokens.rb: Add missing non ASCII valid characters
to element name characters. Now, REXML name tokens exactly
match "[5] Name" in the XML spec and "[4] NCName" in the
Namespaces in XML spec. See comment about the details.
[Bug #9539] [ruby-core:60901]
Reported by Mario Barcala. Thanks!!!
* test/rexml/xpath/test_node.rb: Add tests for the above case.
Sun Feb 23 12:18:54 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/socket/raddrinfo.c (inet_pton): use rb_w32_inet_pton, instead of
inet_pton directly, which is unavailable on older version Windows.
* include/ruby/win32.h, win32/win32.c (rb_w32_inet_pton): add a
wrapper function for inet_pton minimum supported client is
Vista, as well as inet_ntop.
Sun Feb 23 11:33:25 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* test/net/imap/test_imap.rb: remove unused variables.
* test/net/imap/test_imap_response_parser.rb: ditto.
* test/net/pop/test_pop.rb: ditto.
Sun Feb 23 02:19:51 2014 Tanaka Akira <akr@fsij.org>
* lib/resolv.rb (bind_random_port): Rescue EPERM for FreeBSD which
security.mac.portacl.port_high is changed.
See mac_portacl(4) for details.
Reported by Jakub Szafranski. [ruby-core:60917] [Bug #9544]
Sat Feb 22 23:17:01 2014 Kouhei Sutou <kou@cozmixng.org>
* lib/rexml/xpath_parser.rb: Fix indent.
Sat Feb 22 23:15:35 2014 Kouhei Sutou <kou@cozmixng.org>
* test/rexml/xpath/test_attribute.rb: Simplify.
Sat Feb 22 20:28:47 2014 NAKAMURA Usaku <usa@ruby-lang.org>
* tool/redmine-backporter.rb: more friendly.
Sat Feb 22 20:24:43 2014 Kouhei Sutou <kou@cozmixng.org>
* test/rexml/test_xpath*.rb: Move to ...
* test/rexml/xpath/*.rb: ... here.
Sat Feb 22 20:04:41 2014 Kouhei Sutou <kou@cozmixng.org>
* test/rexml/listener.rb: Untabify.
Sat Feb 22 19:07:31 2014 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/io/console/console.c (console_dev): need read access for conout$
because some functions need it. [Bug#9554]
Sat Feb 22 18:40:58 2014 Eric Wong <e@80x24.org>
* .gitignore: ignore benchmark files
Sat Feb 22 01:22:24 2014 Yusuke Endoh <mame@tsg.ne.jp>
* bignum.c (bary_mul_precheck): fix a copy-paste error.
Coverity Scan found this bug.
Sat Feb 22 00:58:51 2014 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* ext/socket/raddrinfo.c (rb_getaddrinfo): second argument of
MEMZERO is type. Coverity Scan found this bug.
Fri Feb 21 23:47:24 2014 Shugo Maeda <shugo@ruby-lang.org>
* ext/socket/init.c (wait_connectable): break if the socket is
writable to avoid infinite loops on FreeBSD and other platforms
which conforms to SUSv3. This problem cannot be reproduced with
loopback interfaces, so it's hard to write test code.
rsock_connect() and wait_connectable() are overly complicated, so
they should be refactored, but I commit this fix as a workaround
for the release of Ruby 1.9.3 scheduled on Feb 24.
[ruby-core:60940] [Bug #9547]
Fri Feb 21 23:03:39 2014 NARUSE, Yui <naruse@ruby-lang.org>
* tool/redmine-backporter.rb: added to handle redmine tickets.
Fri Feb 21 20:42:01 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* class.c (rb_mod_init_copy): do nothing if copying self.
[ruby-dev:47989] [Bug #9535]
* hash.c (rb_hash_initialize_copy): ditto.
Fri Feb 21 16:45:54 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/logger.rb (next_rotate_time, previous_period_end): consider
DST change.
* lib/logger.rb (Logger::LogDevice#check_shift_log): compare the
current time with the time for the next rotation to fix rotation
miss when date changed between the comparison and log writing.
based on the patch by megayu <yuhg2310 AT gmail.com>.
[Fixes GH-539]
Fri Feb 21 10:39:33 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* test/monitor/test_monitor.rb: remove unused variables.
* test/resolv/test_dns.rb: ditto.
* test/rexml/test_functions.rb: ditto.
* test/rss/test_setup_maker_itunes.rb: ditto.
Fri Feb 21 09:48:56 2014 Eric Wong <e@80x24.org>
* ext/socket/ancdata.c (bsock_sendmsg_internal): only retry on error
(bsock_recvmsg_internal): ditto
* test/socket/test_unix.rb: test above for infinite loop
Fri Feb 21 08:27:19 2014 Eric Wong <e@80x24.org>
* include/ruby/ruby.h (RB_GC_GUARD):
use rb_gc_guarded_ptr_val on non-GCC/MSC
* gc.c (rb_gc_guarded_ptr_val): rename and adjust argument.
RB_GC_GUARD should be robust enough for any compiler.
[ruby-core:60816] [Bug #7805]
Thu Feb 20 22:21:26 2014 Tanaka Akira <akr@fsij.org>
* ext/socket/raddrinfo.c (numeric_getaddrinfo): Use xcalloc.
Suggested by Eric Wong.
https://bugs.ruby-lang.org/issues/9525#note-14
Thu Feb 20 11:21:13 2014 Masaki Matsushita <glass.saga@gmail.com>
* hash.c (rb_hash_flatten): fix behavior of flatten(-1).
[ruby-dev:47988] [Bug #9533]
* test/ruby/test_array.rb: test for above.
Wed Feb 19 18:57:02 2014 Tanaka Akira <akr@fsij.org>
* ext/socket: Bypass getaddrinfo() if node and serv are numeric.
Reporeted by Naotoshi Seo. [ruby-core:60801] [Bug #9525]
* ext/socket/extconf.rb: Detect struct sockaddr_in6.sin6_len.
* ext/socket/sockport.h (SET_SIN6_LEN): New macro.
(INIT_SOCKADDR_IN6): Ditto.
* ext/socket/rubysocket.h (struct rb_addrinfo): Add
allocated_by_malloc field.
* ext/socket/raddrinfo.c (numeric_getaddrinfo): New function.
(rb_getaddrinfo): Call numeric_getaddrinfo at first.
(rb_freeaddrinfo): Free struct addrinfo properly when it is
allocated by numeric_getaddrinfo.
Wed Feb 19 18:31:48 2014 Tanaka Akira <akr@fsij.org>
* ext/socket: Wrap struct addrinfo by struct rb_addrinfo.
Wed Feb 19 17:47:01 2014 Tanaka Akira <akr@fsij.org>
* ext/socket/ipsocket.c (ip_s_getaddress): Don't access freed memory.
Wed Feb 19 11:39:41 2014 NARUSE, Yui <naruse@ruby-lang.org>
* configure.in: it must see rb_cv_broken_memmem not rb_cv_func_memmem.
Tue Feb 18 23:18:41 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* test/socket/test_socket.rb: unix socket is required by test case.
Tue Feb 18 20:48:38 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* test/socket/test_addrinfo.rb: remove unused variables.
* test/socket/test_nonblock.rb: ditto.
* test/socket/test_socket.rb: ditto.
* test/socket/test_unix.rb: ditto.
* test/testunit/test_parallel.rb: ditto.
* test/webrick/test_filehandler.rb: ditto.
* test/xmlrpc/test_features.rb: ditto.
* test/zlib/test_zlib.rb: ditto.
Tue Feb 18 14:27:18 2014 Shota Fukumori <her@sorah.jp>
* lib/test/unit.rb: Requires minitest < 5.0.0 if Gem is available.
Tue Feb 18 14:24:07 2014 Shota Fukumori <her@sorah.jp>
* lib/test/unit/test-unit.gemspec: Add minitest < 5.0.0 dependency
* tool/rbinstall.rb: Add empty implementations for `add_dependency`,
`add_runtime_dependency`, `add_development_dependency` for
Gem::Specification.
Tue Feb 18 12:06:39 2014 Tanaka Akira <akr@fsij.org>
* configure.in (FILE_COUNT): Removed. (win32.c defines it in itself.)
(FILE_READPTR): Ditto.
Tue Feb 18 09:35:44 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* test/test/psych/test_string.rb: remove unused variables.
* test/test/psych/test_yaml.rb: ditto.
Mon Feb 17 21:31:31 2014 Koichi Sasada <ko1@atdot.net>
* test/ruby/test_gc.rb: ignore warning messages for running with -w
option such as chkbuild.
Mon Feb 17 20:00:27 2014 Tanaka Akira <akr@fsij.org>
* internal.h: Move BDIGIT and related definitions from
include/ruby/defines.h.
Mon Feb 17 17:41:55 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* marshal.c (marshal_dump, marshal_load): do not recycle wrapper
objects, to prevent from segfault with continuation.
[ruby-dev:47970] [Bug #9523]
Mon Feb 17 15:43:59 2014 Zachary Scott <e@zzak.io>
* doc/keywords.rdoc: [DOC] Add keywords doc by documenting-ruby/ruby#29
https://github.com/documenting-ruby/ruby/pull/29
Mon Feb 17 12:31:31 2014 Koichi Sasada <ko1@atdot.net>
* gc.c (get_envparam_double): fix a warning message.
Mon Feb 17 12:09:52 2014 Koichi Sasada <ko1@atdot.net>
* gc.c: introduce new environment variable
"RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR" to control major/minor GC
frequency.
Do full GC when the number of old objects is more than R * N
where R is this factor and
N is the number of old objects just after last full GC.
* test/ruby/test_gc.rb: add a test.
Mon Feb 17 11:28:40 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* test/test_pty.rb: ignore warnings to unused variables.
Mon Feb 17 11:27:36 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* test/test_find.rb: remove unused variables.
Sun Feb 17 02:12:00 2014 Kenta Murata <mrkn@mrkn.jp>
* ext/bigdecimal/bigdecimal.c (BigDecimal_initialize): Insert GC guard.
* ext/bigdecimal/bigdecimal.c (BigDecimal_global_new): ditto.
Sun Feb 16 15:53:36 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* test/test_securerandom.rb: File.exists? is deprecated. use File.exist?
Sun Feb 16 15:05:00 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* test/pathname/test_pathname.rb: File.exists? is deprecated. use File.exist?
Sun Feb 16 15:00:28 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* test/net/ftp/test_ftp.rb: remove unused variables.
* test/logger/test_logger.rb: ditto.
Sun Feb 16 14:52:46 2014 Eric Wong <e@80x24.org>
* dir.c (dir_s_glob): RB_GC_GUARD instead of volatile
Sun Feb 16 14:33:52 2014 Tanaka Akira <akr@fsij.org>
* include/ruby/ruby.h (RBIGNUM_SIGN): Defined for compatibility.
(RBIGNUM_POSITIVE_P): Ditto.
(RBIGNUM_NEGATIVE_P): Ditto.
Sun Feb 16 12:46:47 2014 Eric Wong <e@80x24.org>
* io.c (rb_f_backquote): trade volatile for manual recycle
rb_gc_force_recycle ensures object is visible until recycle
Sun Feb 16 11:55:14 2014 Eric Wong <e@80x24.org>
* marshal.c (marshal_dump): use rb_gc_force_recycle for GC-safety
(marshal_load): ditto
[ruby-core:60730] [Bug #7805]
Sun Feb 16 08:11:23 2014 Zachary Scott <e@zzak.io>
* README.EXT.ja: [DOC] Fix typo by @utenmiki [Fixes GH-534]
https://github.com/ruby/ruby/pull/534
Sun Feb 16 07:48:20 2014 Tanaka Akira <akr@fsij.org>
* ext/bigdecimal/bigdecimal.c (BIGNUM_ZERO_P): Unused macro removed.
Sun Feb 16 06:12:23 2014 Tanaka Akira <akr@fsij.org>
* internal.h: Rename macro names: RBIGNUM_FOO to BIGNUM_FOO.
(BIGNUM_EMBED_LEN_NUMBITS): Renamed from RBIGNUM_EMBED_LEN_NUMBITS.
(BIGNUM_EMBED_LEN_MAX): Renamed from RBIGNUM_EMBED_LEN_MAX.
(BIGNUM_SIGN_BIT): Renamed from RBIGNUM_SIGN_BIT.
(BIGNUM_SIGN): Renamed from RBIGNUM_SIGN.
(BIGNUM_SET_SIGN): Renamed from RBIGNUM_SET_SIGN.
(BIGNUM_POSITIVE_P): Renamed from RBIGNUM_POSITIVE_P.
(BIGNUM_NEGATIVE_P): Renamed from RBIGNUM_NEGATIVE_P.
(BIGNUM_EMBED_FLAG): Renamed from RBIGNUM_EMBED_FLAG.
(BIGNUM_EMBED_LEN_MASK): Renamed from RBIGNUM_EMBED_LEN_MASK.
(BIGNUM_EMBED_LEN_SHIFT): Renamed from RBIGNUM_EMBED_LEN_SHIFT.
(BIGNUM_LEN): Renamed from RBIGNUM_LEN.
(RBIGNUM_DIGITS): Renamed from RBIGNUM_DIGITS.
(BIGNUM_LENINT): Renamed from RBIGNUM_LENINT.
* bignum.c: Follow the above change.
* gc.c: Ditto.
* marshal.c: Ditto.
* math.c: Ditto.
* numeric.c: Ditto.
* random.c: Ditto.
* rational.c: Ditto.
* sprintf.c: Ditto.
* ext/-test-/bignum/bigzero.c: Ditto.
* ext/-test-/bignum/intpack.c: Ditto.
* ext/bigdecimal/bigdecimal.c: Ditto.
Sat Feb 15 20:48:49 2014 Tanaka Akira <akr@fsij.org>
* configure.in (FILE_READEND): Don't detect it because it is not used.
Sat Feb 15 13:22:28 2014 Eric Wong <e@80x24.org>
* probes_helper.h (RUBY_DTRACE_HOOK): correct type for _id
Sat Feb 15 11:47:47 2014 Tanaka Akira <akr@fsij.org>
* bignum.c (rb_big_cmp): Avoid bignum allocation for comparison
between bignum and fixnum.
Sat Feb 15 10:55:12 2014 Hiroshi Shirosaki <h.shirosaki@gmail.com>
* ext/-test-/win32/fd_setsize/depend: fix wrong dependencies.
[ruby-dev:47253]
Sat Feb 15 00:38:54 2014 Tanaka Akira <akr@fsij.org>
* enum.c: Enumerable#{min,min_by,max,max_by} extended to take an
optional argument.
(nmin_cmp): New function.
(nmin_block_cmp): Ditto
(nmin_filter): Ditto.
(nmin_i): Ditto.
(nmin_run): Ditto.
(enum_min): Call nmin_run if the optional argument is given.
(nmin_max): Ditto.
(nmin_min_by): Ditto.
(nmin_max_by): Ditto.
* range.c: Range#{min,max} extended to take an optional argument.
(range_min): Call range_first if the optional argument is given.
(range_max): Call rb_call_super if the optional argument is given.
[ruby-core:57111] [Feature #8887]
Sat Feb 15 00:27:46 2014 Tanaka Akira <akr@fsij.org>
* include/ruby/ruby.h,
internal.h,
ext/-test-/bignum/bigzero.c: Hide a Bignum definition.
[ruby-core:42891] [Feature #6083]
Sat Feb 15 00:13:14 2014 Tanaka Akira <akr@fsij.org>
* include/ruby/intern.h,
include/ruby/io.h,
include/ruby/ruby.h,
include/ruby/win32.h,
include/ruby/backward/rubysig.h,
bignum.c,
gc.c,
io.c,
process.c,
safe.c,
struct.c,
thread.c,
ext/socket/rubysocket.h,
ext/-test-/old_thread_select: Remove deprecated definitions
[ruby-core:60581] [Feature #9502]
Fri Feb 14 18:38:46 2014 Eric Wong <e@80x24.org>
* string.c (rb_str_format_m): trade volatile for RB_GC_GUARD
RB_GC_GUARD meaning is clear and has better code generation.
[ruby-core:60688]
Thu Feb 13 23:30:30 2014 Shugo Maeda <shugo@ruby-lang.org>
* vm_insnhelper.c (vm_call_method): should check ci->me->flag of
a refining method in case the method is private.
[ruby-core:60111] [Bug #9452]
* vm_method.c (make_method_entry_refined): set me->flag of a refined
method entry to NOEX_PUBLIC in case the original method is private
and it is refined as a public method. The original flag is stored
in me->def->body.orig_me, so it's OK to make a refined method
entry public. [ruby-core:60111] [Bug #9452]
* test/ruby/test_refinement.rb: related tests.
Thu Feb 13 18:38:15 2014 Eric Wong <e@80x24.org>
* re.c (rb_reg_raise): remove volatile
Unnecessary since r41597
Thu Feb 13 18:28:51 2014 Eric Wong <e@80x24.org>
* re.c (rb_reg_regcomp): remove volatile
Unnecessary since r13261
Thu Feb 13 16:54:32 2014 Zachary Scott <e@zzak.io>
* test/ruby/test_array.rb: Ensure flatten! is used for test_flatten
Patch by @ksss [Fixes GH-530] https://github.com/ruby/ruby/pull/530
Thu Feb 13 15:43:16 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (IDSET_ATTRSET_FOR_INTERN): fix off-by-one bug.
* parse.y (rb_enc_symname_type): junk ID succeeded by '=' is also
attrset ID. [ruby-core:60668] [Bug #8756]
Thu Feb 13 11:06:32 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in: check if pthread_setname_np is available.
* thread_pthread.c: pthread_setname_np is not available on old
Darwins. [ruby-core:60524] [Bug #9492]
Thu Feb 13 00:56:59 2014 Masaki Matsushita <glass.saga@gmail.com>
* configure.in: revert r44922. I should have used AC_CHECK_FUNCS()
to just define a symbol if the function is available.
Thu Feb 13 00:20:58 2014 Masaki Matsushita <glass.saga@gmail.com>
* configure.in: use AC_CHECK_FUNC instead of AC_CHECK_FUNCS
if available.
Thu Feb 13 00:15:10 2014 Masaki Matsushita <glass.saga@gmail.com>
* configure.in: fix to undefine HAVE_MEMMEM correctly if it is broken.
Tue Feb 11 23:54:40 2014 Tanaka Akira <akr@fsij.org>
* bignum.c (rb_big_cmp): Specialize a comparison to zero.
* ext/bigdecimal/bigdecimal.c (is_negative): Use rb_big_cmp instead of
RBIGNUM_NEGATIVE_P.
(BigMath_s_log): Ditto.
Tue Feb 11 22:59:10 2014 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_bn.c (ossl_bn_initialize): Use rb_integer_pack.
Fix SEGV by OpenSSL::BN.new(1 << (2**34)).
Tue Feb 11 17:00:38 2014 Zachary Scott <e@zzak.io>
* ext/tk/README.tcltklib: [DOC] Fix typo by @xta [Fixes GH-532]
Sun Feb 9 13:59:29 2014 Tanaka Akira <akr@fsij.org>
* configure.in: Fix compilation error.
https://bugs.ruby-lang.org/issues/8358#note-16
Sun Feb 9 05:20:24 2014 NARUSE, Yui <naruse@ruby-lang.org>
* configure.in (rb_cv_gnu_qsort_r): use compile error "conflicting
types for 'qsort_r'" instead of AC_RUN_IFELSE.
Sun Feb 9 04:07:34 2014 Zachary Scott <e@zzak.io>
* lib/yaml.rb: [DOC] Add links to syck and psych on github [Bug #9501]
Based on a patch by Giorgos Tsiftsis
Sun Feb 9 02:13:53 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/ruby.h (OBJ_TAINTABLE, OBJ_TAINT, OBJ_INFECT),
marshal.c (r_entry0): all Numerics never be tainted now.
[ruby-core:57346] [Bug #8945]
Sat Feb 8 23:40:35 2014 Vit Ondruch <vondruch@redhat.com>
* configure.in: add quoting brackets and append wildcard for the
rest after target_cpu, to properly detect platform for SSE2
instructions. [ruby-core:60576] [Bug #8358]
Sat Feb 8 21:44:07 2014 Masaki Matsushita <glass.saga@gmail.com>
* configure.in: check qsort_r(3) and whether it is GNU version.
BSD version has different prototype.
* util.h: use qsort_r() as ruby_qsort() if it is GNU version.
* util.c: define ruby_qsort() if needed.
Sat Feb 8 16:34:36 2014 Tanaka Akira <akr@fsij.org>
* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder#get_labels):
Make it iterative.
Sat Feb 8 15:54:12 2014 Koichi Sasada <ko1@atdot.net>
* gc.c, gc.h (rb_objspace_marked_object_p): added.
This function *ONLY* works just after marking phase,
before any sweeping.
This function is highly depending current GC implementation
and can be removed future version.
Sat Feb 8 15:41:37 2014 Tanaka Akira <akr@fsij.org>
* lib/resolv.rb: Don't set CLOEXEC flag explicitly. (Ruby set it by
default.)
Sat Feb 8 15:27:02 2014 Tanaka Akira <akr@fsij.org>
* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder): Raise
DecodeError if no data before the limit.
Reported by Will Bryant. [ruby-core:60557] [Bug #9498]
Sat Feb 8 15:11:21 2014 Tanaka Akira <akr@fsij.org>
* io.c (SMALLBUF): Unused macro removed.
Fri Feb 7 23:37:49 2014 Tanaka Akira <akr@fsij.org>
* lib/resolv.rb: Ignore name servers which cause EAFNOSUPPORT on
socket creation.
Reported by Bjoern Rennhak. [ruby-core:60442] [Bug #9477]
Fri Feb 7 21:58:48 2014 Zachary Scott <e@zzak.io>
* lib/open-uri.rb: [DOC] use lower case version of core classes, same
as commit r44878, based on patch by Jonathan Jackson [Bug #9483]
Fri Feb 7 21:54:53 2014 Zachary Scott <e@zzak.io>
* ext/ripper/lib/ripper/lexer.rb: [DOC] use lower case version of core
classes when referring to return value, since we aren't directly
talking about the class. Patch by Jonathan Jackson [Bug #9483]
Fri Feb 7 05:28:38 2014 Eric Wong <e@80x24.org>
* constant.h: reduce rb_const_entry_t size on 64-bit
Patch by Adam Avilla [ruby-core:60542] [Feature #9496]
Thu Feb 6 15:27:46 2014 Koichi Sasada <ko1@atdot.net>
* gc.c (get_envparam_int): correct warning messages.
* gc.c (get_envparam_double): ditto.
Thu Feb 6 15:17:30 2014 Koichi Sasada <ko1@atdot.net>
* gc.c (get_envparam_int): don't accept a value equals to lowerbound
(changed by last commit) because "" or "foo" (not a number) strings
are parsed as 0. They should be rejected.
* gc.c (get_envparam_double): ditto.
Thu Feb 6 09:00:35 2014 Koichi Sasada <ko1@atdot.net>
* gc.c (ruby_gc_set_params): if RUBY_GC_OLDMALLOC_LIMIT is provided,
then set objspace->rgengc.oldmalloc_increase_limit.
Without this fix, the env variable RUBY_GC_OLDMALLOC_LIMIT
does not work.
* gc.c (get_envparam_int): accept a value equals to lowerbound.
* gc.c (get_envparam_double): ditto.
Thu Feb 6 08:23:28 2014 Eric Wong <e@80x24.org>
* ext/thread/thread.c (rb_szqueue_max_set): use correct queue and
limit wakeups. [Bug #9343][ruby-core:60517]
* test/thread/test_queue.rb (test_sized_queue_assign_max):
test for bug
Thu Feb 6 07:18:01 2014 Eric Hodel <drbrain@segment7.net>
* lib/rubygems: Update to RubyGems 2.2.2. Complete history at:
http://rubygems.rubyforge.org/rubygems-update/History_txt.html#label-2.2.2+%2F+2014-02-05
* test/rubygems: ditto.
Wed Feb 5 20:56:32 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* marshal.c (to_be_skipped_id): ignore anonymous attributes.
* pack.c (Init_pack): use anonymous ID so that associated objects
do not appear in the packed result.
* parse.y (rb_make_internal_id): return an anonymous ID for
internal use.
Wed Feb 5 14:41:56 2014 Koichi Sasada <ko1@atdot.net>
* vsnprintf.c: remove duplicated def of `UNINITIALIZED_VAR()'.
Wed Feb 5 14:40:16 2014 Koichi Sasada <ko1@atdot.net>
* ext/objspace/objspace_dump.c (dump_object): use STR_SHARED_P()
instead of removed STR_NOCAPA_P() macro.
Wed Feb 5 13:51:33 2014 Koichi Sasada <ko1@atdot.net>
* internal.h, vm_core.h: move LIKELY/UNLIKELY/UNINITIALIZED_VAR()
macros from vm_core.h to internal.h.
* string.c: remove dependency to "vm_core.h".
* common.mk: ditto.
Wed Feb 5 13:29:01 2014 Koichi Sasada <ko1@atdot.net>
* string.c (rb_str_free): use FL_TEST(str, STR_SHARED) directly
because str is not embed.
* string.c (str_replace): remove `FL_SET(str, STR_SHARED)' line
because STR_SET_SHARED() set STR_SHARED.
Wed Feb 5 13:18:08 2014 Koichi Sasada <ko1@atdot.net>
* internal.h: remove macros STR_NOCAPA and STR_NOCAPA_P().
* string.c (rb_str_resize): remove `STR_SET_NOEMBED(str)' because