-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
9397 lines (5956 loc) · 310 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
Fri Oct 17 22:47:11 2014 Tanaka Akira <[email protected]>
* pack.c (pack_unpack): Add casts for char references for 'u'.
Fix line ending recognition algorithm.
Fri Oct 17 21:49:52 2014 Tanaka Akira <[email protected]>
* pack.c (pack_unpack): Add casts for char references for 'b' and 'h'.
Fri Oct 17 17:50:10 2014 Tanaka Akira <[email protected]>
* Avoid undefined behaviors found by gcc -fsanitize=undefined.
gcc (Debian 4.9.1-16) 4.9.1
* string.c (rb_str_sum): Avoid undefined behavior.
Fri Oct 17 17:43:50 2014 Tanaka Akira <[email protected]>
* Avoid undefined behaviors found by gcc -fsanitize=undefined.
gcc (Debian 4.9.1-16) 4.9.1
* include/ruby/ruby.h (INT2FIX): Avoid undefined behavior.
* node.h (nd_set_line): Ditto.
* pack.c (encodes): Ditto.
(pack_unpack): Ditto.
* regint.h (BIT_STATUS_AT): Ditto.
(BS_BIT): Ditto.
* time.c (time_mdump): Ditto.
(time_mload): Ditto.
* vm_core.h (VM_FRAME_MAGIC_MASK): Ditto.
* vm_trace.c (recalc_add_ruby_vm_event_flags): Ditto.
Fri Oct 17 15:06:49 2014 Nobuyoshi Nakada <[email protected]>
* re.c (unescape_nonascii): make dynamically compiled US-ASCII
regexps ASCII-8BIT encoding if binary (hexadecimal, control,
meta) escapes are contained, as well as literal regexps.
[ruby-dev:48626] [Bug #10382]
Fri Oct 17 03:05:08 2014 Eric Wong <[email protected]>
* test/-ext-/bug_reporter/test_bug_reporter.rb
(test_bug_reporter_add): revert r47972
* test/ruby/test_rubyoptions.rb (test_segv_test): revert r47971
[ruby-core:65764]
Thu Oct 16 23:17:40 2014 Nobuyoshi Nakada <[email protected]>
* signal.c (rb_sigaltstack_size): double default size to get rid
of heap corruption by alternate stack overflow in SEGV handler.
typically happened at fprintf() in control_frame_dump().
Thu Oct 16 22:43:12 2014 Tanaka Akira <[email protected]>
* vm_backtrace.c (id2str): Fix a variable name.
[ruby-dev:48642] [Bug #10389]
Thu Oct 16 20:01:26 2014 Tanaka Akira <[email protected]>
* test/ruby/envutil.rb (assert_pattern_list): Show number of matched
patterns and characters.
Thu Oct 16 16:26:09 2014 Eric Wong <[email protected]>
* cont.c (fiber_store): fix WIN32 fibers
[ruby-core:65745] [ruby-core:65758]
Thu Oct 16 15:05:07 2014 Nobuyoshi Nakada <[email protected]>
* parse.y (parser_here_document): do not append already appended
and disposed code fragment. [ruby-dev:48647] [Bug #10392]
Thu Oct 16 10:35:33 2014 Eric Wong <[email protected]>
* test/-ext-/bug_reporter/test_bug_reporter.rb
(test_bug_reporter_add): fix race
Thu Oct 16 10:09:02 2014 Eric Wong <[email protected]>
* test/ruby/test_rubyoptions.rb (test_segv_test): fix race
Thu Oct 16 09:17:48 2014 Nobuyoshi Nakada <[email protected]>
* cont.c (rb_fiber_t): fix compile error caused by move to
vm_core.h at r47964. [Feature #10341]
Thu Oct 16 08:58:11 2014 Eric Wong <[email protected]>
* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
avoid killing wrong parent
Thu Oct 16 08:40:04 2014 Eric Wong <[email protected]>
* cont.c (fiber_store): restore references to next_fib (fix typo)
Thu Oct 16 08:26:08 2014 Eric Wong <[email protected]>
* cont.c (fiber_store): remove references to nextfib
fix build when FIBER_USE_NATIVE is 0
Thu Oct 16 06:51:35 2014 Knut Franke <[email protected]>
* vm_core.h: declare rb_fiber_t typedef
(rb_thread_t): fiber and root_fiber become rb_fiber_t * (from VALUE)
* vm.c (rb_thread_mark): use rb_fiber_mark_self
* cont.c (rb_fiber_t): prev becomes rb_fiber_t * (from VALUE)
(cont_mark, cont_free): simplify conditions
(rb_fiber_mark_self): new function
(fiber_mark): use rb_fiber_mark_self
(cont_save_thread, cont_restore_thread): inline
(cont_restore_thread): simplify
(fiber_setcontext): simplify conditions
(rb_cont_call): remove dereference
(fiber_t_alloc): update for rb_fiber_t->prev type change
(rb_fiber_start): ditto
(fiber_current): extract from rb_fiber_current
(return_fiber): move, simplify type checks
(rb_fiber_current): use fiber_current
(fiber_store): simplify type checks
(fiber_switch): ditto, simplify call to fiber_setcontext,
use fiber_current
(rb_fiber_transfer): update for type changes
(rb_fiber_terminate): move, use fiber_switch
(rb_fiber_resume): update for type changes
(rb_fiber_reset_root_local_storage): ditto
(rb_fiber_yield): use rb_fiber_switch instead of rb_fiber_transfer
(rb_fiber_m_transfer): ditto
[ruby-core:65518] [Feature #10341]
Thu Oct 16 06:25:29 2014 Knut Franke <[email protected]>
* cont.c (rb_context_t): comment on saved_thread
(cont_save_thread): sparse copy
(cont_init): copy extra fields
(fiber_init): use current thread VM stack size
[ruby-core:65518] [Feature #10341]
Thu Oct 16 06:13:09 2014 Knut Franke <[email protected]>
* cont.c (cont_capture): remove unnecessary variable
[ruby-core:65518] [Feature #10341]
Thu Oct 16 05:02:31 2014 Knut Franke <[email protected]>
* cont.c (fiber_store, fiber_switch): simplify
[ruby-core:65518] [Feature #10341]
Thu Oct 16 04:28:41 2014 Knut Franke <[email protected]>
* cont.c (rb_fiber_t): remove prev_fiber/next_fiber
(fiber_link_join, fiber_link_remove): remove functions
(fiber_free, fiber_init, root_fiber_alloc):
remove references to removed fields and functions
[ruby-core:65518] [Feature #10341]
Wed Oct 15 22:08:37 2014 Tanaka Akira <[email protected]>
* ext/etc/etc.c (etc_nprocessors_affin): Test CPU_ALLOC availability.
CentOS 5 don't have CPU_ALLOC().
Wed Oct 15 18:26:19 2014 KOSAKI Motohiro <[email protected]>
* ext/etc/etc.c (etc_nprocessors_affinity): use sched_getaffinity
for getting precious number of available cpus.
* ext/etc/etc.c (etc_nprocessors): use etc_nprocessors_affinity if
possible.
[Feature #10267] etc-nprocessors-kosaki2.patch
Wed Oct 15 17:53:28 2014 Tanaka Akira <[email protected]>
* test/ruby/envutil.rb (assert_pattern_list) Renamed from
assert_regexp_list.
Show multiline string in multi lines.
* test/-ext-/bug_reporter/test_bug_reporter.rb: Use
assert_pattern_list.
Wed Oct 15 12:26:58 2014 Tanaka Akira <[email protected]>
* test/ruby/envutil.rb (assert_regexp_list): New assertion method.
* test/ruby/test_rubyoptions.rb: Use assert_regexp_list.
Wed Oct 15 07:21:09 2014 Tanaka Akira <[email protected]>
* enum.c: min(n) drops elements bigger than the n-th maximum element.
(struct nmin_data): New field to record the n-th maximum element, limit
(nmin_filter): Update limit field.
(nmin_i): Drop too big elements.
(nmin_run): Initialize limit field.
Wed Oct 15 07:00:14 2014 Eric Wong <[email protected]>
* test/ruby/test_optimization.rb (test_string_size): new test
Wed Oct 15 06:51:13 2014 Eric Wong <[email protected]>
* test/ruby/test_optimization.rb (test_string_eq_neq): new test
(test_string_ltlt): ditto
Wed Oct 15 06:50:29 2014 Eric Wong <[email protected]>
* test/ruby/test_optimization.rb (test_hash_aset_with):
assert assignment
Wed Oct 15 04:56:27 2014 Zachary Scott <[email protected]>
* gc.c (rb_obj_id): [DOC] Fix typo, clean up sentence, and wrap cols
Wed Oct 15 04:53:30 2014 Zachary Scott <[email protected]>
* error.c: [DOC] Fix case of type in exception message by @tricknotes
[Fixes GH-740] https://github.com/ruby/ruby/pull/740
* object.c: ditto
Tue Oct 14 21:39:16 2014 Vit Ondruch <[email protected]>
* tool/rbinstall.rb (gem): Fix permissions of bundled gems
specification files. [ruby-core:65700] [Bug #10383]
Tue Oct 14 19:15:31 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole_record.c: use typed data.
Tue Oct 14 16:23:12 2014 Nobuyoshi Nakada <[email protected]>
* symbol.c (global_symbols): make ids two-dimensional array of
strings and symbols, for write-barrier.
* symbol.c (global_symbols): make IDs immortal always, instead
of treating dynamic symbols as IDs.
* iseq.c, marshal.c, string.c: use rb_str_intern instead of
rb_str_dynamic_intern.
* symbol.c (rb_str_intern): rename rb_str_dynamic_intern.
Tue Oct 14 10:19:10 2014 Eric Wong <[email protected]>
* test/ruby/test_optimization.rb (test_string_freeze): new test
(test_hash_aref_with): ditto
(test_hash_aset_with): ditto
Tue Oct 14 01:27:54 2014 Tanaka Akira <[email protected]>
* enum.c (nmin_run): max(n) and max_by(n) returns an array in
descending order.
[ruby-core:65452] Suggested by David Grayson.
Mon Oct 13 20:44:49 2014 Nobuyoshi Nakada <[email protected]>
* common.mk (update-gems): chdir to the target directory and then
add the tool directory to load paths, for older BASERUBY.
[Bug #10372][ruby-core:65630]
Mon Oct 13 17:53:01 2014 SHIBATA Hiroshi <[email protected]>
* lib/xmlrpc/parser.rb: added new parser class using libxml-ruby gem.
[Feature #9379][ruby-core:59633]
* lib/xmlrpc/config.rb: ditto.
Mon Oct 13 16:32:56 2014 Tanaka Akira <[email protected]>
* lib/find.rb (Find.find): Call to_path for arguments to obtain
strings.
[ruby-core:63713] [Bug #10035] Reported by Herwin.
Mon Oct 13 15:42:25 2014 SHIBATA Hiroshi <[email protected]>
* common.mk: use relative load path for bundled_gems directory.
[Bug #10372][ruby-core:65630]
Mon Oct 13 08:44:06 2014 Zachary Scott <[email protected]>
* README.EXT: [DOC] fix example missing typedef with patch by
@steveklabnik [Fixes GH-739] https://github.com/ruby/ruby/pull/739
* README.EXT.ja: ditto.
Mon Oct 13 06:52:09 2014 Eric Wong <[email protected]>
* array.c (ary_recycle_hash): add RB_GC_GUARD
(rb_ary_diff): remove volatile
[Bug #10369]
Mon Oct 13 03:20:23 2014 Zachary Scott <[email protected]>
* ext/date/date_core.c: [DOC] Clean up whitespace, examples, and typos
in date_core based on a patch by @vipulnsward [Fixes GH-724]
https://github.com/ruby/ruby/pull/724
Mon Oct 13 02:39:26 2014 Nobuyoshi Nakada <[email protected]>
* parse.y (remove_duplicate_keys): should not simply eliminate all
value nodes, which may have side effects.
[ruby-core:65625] [Bug #10315]
Sun Oct 12 10:39:16 2014 Zachary Scott <[email protected]>
* vm.c: [DOC] fix typo by @yui-knk [Fixes GH-738]
https://github.com/ruby/ruby/pull/738
Sun Oct 12 09:24:15 2014 Tanaka Akira <[email protected]>
* test/lib/test/unit.rb: Hide skips by default.
Sun Oct 12 01:37:11 2014 Yuki Yugui Sonoda <[email protected]>
* file.c: include sys/time.h only if HAVE_SYS_TIME_H
Sat Oct 11 22:29:40 2014 Yuki Yugui Sonoda <[email protected]>
* file.c (HAVE_UTIMENSAT): disabled for NativeClient.
Fixes build error.
Sat Oct 11 22:11:58 2014 Yuki Yugui Sonoda <[email protected]>
* ext/extmk.rb: generates the rule for extinit.$(OBJEXT).
extinit.$(OBJEXT) used to be generated by the builtin rule, thus
didn't accept custom $(CC) and caused linkage error for cross
compiling.
Sat Oct 11 18:46:50 2014 Yuki Yugui Sonoda <[email protected]>
* include/ruby/intern.h (rb_fd_select): declare struct timeval, or the
struct gets local to the function in C99.
* file.c (#include): add nacl/stat.h for PNaCl.
(utimes): added a declaration for PNaCl.
(stat_atimespec): stat::st_atimensec is long long but
timespec::tv_nsec is long in PNaCl.
(stat_mtimespec, stat_ctimespec): ditto.
(rb_group_member): disable getgroups unless HAVE_GETGROUPS.
(eaccess): unify the fallback to generic defined(USE_GETEUID).
* io.c: include sys/time.h for struct timeval.
(rb_close_before_exec): nothing we can do if F_GETFD is not
available.
(ioctl): pnacl newlib actually doesn't have ioctl.
* process.c (maxgroups): it is used iff
defined(_SC_NGROUPS_MAX) || defined(NGROUPS_MAX) but not
defined(HAVE_GETGROUPS) || defined(HAVE_SETGROUPS).
(obj2gid): fail unless the object is a Fixnum if getgrnam is not
available.
(disable_child_handler_fork_child): sigaction is not available in
PNaCl newlib.
* configure.in (warnflags, strict_warnflags): avoid -ansi for strlcpy.
(rb_cv_gcc_atomic_builtins): also check
__atomic_or_etch because it is used in ruby_atomic.h.
(rb_cv_gcc_sync_builtins): ditto.
(HAVE_GETGRNAM): added.
Sat Oct 11 15:32:08 2014 Eric Wong <[email protected]>
* compile.c (iseq_build_from_ary_exception): move RB_GC_GUARD
(iseq_build_from_ary_body): use PRIsVALUE instead of RB_GC_GUARD
Sat Oct 11 14:57:08 2014 Eric Wong <[email protected]>
* string.c (rb_str_intern): remove unnecessary RB_GC_GUARD
Sat Oct 11 13:47:13 2014 Nobuyoshi Nakada <[email protected]>
* parse.y (remove_duplicate_keys): remove duplicate literal keys,
i.e., symbols and strings. [ruby-core:65368] [Bug #10315]
* vm.c (kwmerge_i): override existing keys by new keys.
[ruby-core:65368] [Bug #10315]
* parse.y (assocs): concatenate splatted literal hashes. the
former key has precedence even if duplicated literal keys
follow. [ruby-core:65368] [Bug #10315]
Sat Oct 11 12:27:03 2014 Yuki Yugui Sonoda <[email protected]>
* configure.in (RUBY_NACL): automatically locate pnacl-clang.
(RUBY_PLATFORM): pnacl instead of le32-nacl.
Sat Oct 11 11:27:14 2014 Yuki Yugui Sonoda <[email protected]>
* io.c: fix issues in the last two commits. don't disable cloexec for
platforms other than NativeClient.
* ChangeLog: ditto. add entries for the last two commits.
Sat Oct 11 11:12:00 2014 Yuki Yugui Sonoda <[email protected]>
* signal.c (install_signalhandler, init_sigchld): allow failure because it
always fails with ENOSYS on NaCl.
Sat Oct 11 11:11:53 2014 Yuki Yugui Sonoda <[email protected]>
* configure.in (RUBY_NACL and others): merge patch from naclports. Supports PNaCl.
* dln.c: ditto. replace the old hacky dynamic loading over HTTP with nacl_io.
* file.c: ditto. tentatively use access(2) instead of eaccess.
(rb_file_load_ok): weaken with attribute but not by postprocess.
* io.c: ditto.
(socket.h): now NaCl has socket.h
(flock): disable here instead of nacl/ioctl.h
* nacl/GNUmakefile.in: ditto.
(CC, LD, NM, AR, AS, RANLIB, OBJDUMP, OBJCOPY):
respect path to them if they are absolute.
This helps naclports to build ruby in their source tree.
(PROGRAM_NMF, .SUFFIXES): support .pnexe for PNaCl.
(ruby.o, file.o): move the hack to attributes in ruby.c and file.c
* nacl/ioctl.h: ditto. removed. move the hack to io.c.
* nacl/nacl-config.rb: ditto. support arm, pnacl and others.
* nacl/pepper_main.c: ditto. support build in a naclports tree.
* ruby.c (rb_load_file): ditto. weaken with attribute but not by postprocess.
Sat Oct 11 09:32:00 2014 Zachary Scott <[email protected]>
* ext/socket/unixsocket.c: [DOC] Fix example to render in HTML
properly, with a patch by @eval [Fixes GH-733]
https://github.com/ruby/ruby/pull/733
Sat Oct 11 04:14:41 2014 Kir Shatrov <[email protected]>
* lib/open-uri.rb (OpenURI::Options): add :open_timeout default
* (def OpenURI.open_http): check :open_timeout option
* (module OpenURI): rdoc for :open_timeout
* test/open-uri/test_open-uri.rb (test_open_timeout): new test
[Feature #10361]
Fri Oct 10 11:27:49 2014 Nobuyoshi Nakada <[email protected]>
* include/ruby/io.h (rb_io_mode_flags, rb_io_modenum_flags):
deprecate old macros for compatibility for ruby 1.8 and older.
Thu Oct 9 23:31:47 2014 Naohisa Goto <[email protected]>
* bignum.c (absint_numwords_generic): set an array element after
definition of a variable to fix compile error with older version
of fcc (Fujitsu C Compiler) 5.6 on Solaris 10 on Sparc.
[Bug #10350] [ruby-dev:48608]
Thu Oct 9 16:15:26 2014 Eric Wong <[email protected]>
* ext/-test-/st/foreach/extconf.rb: new file
* ext/-test-/st/foreach/foreach.c: ditto
* test/-ext-/st/test_foreach.rb: ditto
[Feature #10321]
Thu Oct 9 12:40:28 2014 Eric Wong <[email protected]>
* benchmark/bm_hash_aref_sym*.rb: force static symbols
Thu Oct 9 12:38:28 2014 Eric Wong <[email protected]>
* hash.c (rb_any_hash): remove unnecessary dsym check
Thu Oct 9 07:20:30 2014 Rei Odaira <[email protected]>
* missing/setproctitle.c: Avoid invalidating argv[1], argv[2],
etc. until the first call to Process.setproctitle, because
the ps command of AIX refers to the argv array.
[Bug #10090]
Thu Oct 9 00:53:15 2014 Nobuyoshi Nakada <[email protected]>
* dir.c (dir_s_aref): fix rdoc. `Dir.glob` allows an array but
`Dir[]` not. the former accepts an optional parameter `flags`,
while the latter accepts arbitrary number of arguments but no
`flags`. [ruby-core:65265] [Bug #10294]
Wed Oct 8 21:44:10 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole_variable.c: use typed data.
Wed Oct 8 16:36:47 2014 gogo tanaka <[email protected]>
* test/ruby/test_syntax.rb: added syntax tests of underscore
arguments. [Feature #10340][ruby-core:65496]
Wed Oct 8 07:42:39 2014 NARUSE, Yui <[email protected]>
* lib/uri/generic.rb (URI#inspect): remove Object id.
URI is considered that it doesn't require id.
Wed Oct 8 05:22:42 2014 Eric Wong <[email protected]>
* ext/etc/etc.c (etc_systmpdir): set default tmplen correctly
Fixup r47826
Wed Oct 8 05:16:32 2014 Marc-Andre Lafortune <[email protected]>
* lib/matrix.rb: Add @- and @+ for Matrix and Vector.
patch by gogo tanaka [#10068] [#10069]
Wed Oct 8 04:58:48 2014 John Bachir <[email protected]>
* bootstraptest/test_io.rb (assert_finish):
normalize rescue for Timeout::Error
* lib/net/ftp.rb (Net#read_timeout): ditto for doc
* lib/resolv.rb (Resolv::ResolvTimeout): ditto for subclass
* lib/webrick/httprequest.rb (_read_data): ditto for rescue
* sample/timeout.rb (p timeout): ditto for call
* test/drb/drbtest.rb (test_06_timeout): ditto
* test/ruby/test_readpartial.rb (test_open_pipe): ditto
* test/thread/test_queue.rb (test_queue_thread_raise): ditto
* thread.c (rb_thread_s_handle_interrupt): ditto for doc
[ruby-core:65481] [misc #10339]
Wed Oct 8 04:38:29 2014 Rei Odaira <[email protected]>
* test/ruby/test_process.rb (TestProcess#test_setsid): AIX
does not allow Process::getsid(pid) when pid is in a
different session.
Wed Oct 8 04:33:04 2014 Rei Odaira <[email protected]>
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_encoding):
On AIX, locale_charmap is ISO-8859-1 with LANG=C. This means
the source encoding of stdin is ISO-8859-1, so "invalid
multibyte char" error does not occur.
Wed Oct 8 04:30:29 2014 Marc-Andre Lafortune <[email protected]>
* lib/matrix.rb: Add Matrix#laplace_expansion.
patch by gogo tanaka [#10073]
Wed Oct 8 04:29:21 2014 Marc-Andre Lafortune <[email protected]>
* lib/matrix.rb: Add Vector.basis.
Based on patch by gogo tanaka [#10072]
Tue Oct 7 23:40:16 2014 Nobuyoshi Nakada <[email protected]>
* signal.c (rb_f_kill): get rid of deadlock as unhandled and
discarded signals do not make interrupt_cond signaled.
based on the patch by Kazuki Tsujimoto at [ruby-dev:48606].
[Bug #9820]
Tue Oct 7 22:43:44 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole_method.c: use typed data.
Tue Oct 7 21:47:05 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole_param.c: refactoring.
Tue Oct 7 21:40:17 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole_method.c: refactoring. add
olemethod_data_get_struct to wrap Data_Get_Struct.
* ext/win32ole/win32ole_method.h: ditto.
* ext/win32ole/win32ole_param.c (oleparam_ole_param):
call olemethod_data_get_struct instead of Data_Get_Struct.
Tue Oct 7 11:17:08 2014 Nobuyoshi Nakada <[email protected]>
* ext/etc/etc.c (etc_systmpdir): try user temporary directory by
confstr() on Mac OS X.
c.f. http://www.opensource.apple.com/source/ruby/ruby-104/patches/ext_etc_etc.c.diff
Tue Oct 7 10:48:17 2014 Nobuyoshi Nakada <[email protected]>
* configure.in (struct stat.st_size): prefer off_t over int, long,
and so on. inspired by
http://www.opensource.apple.com/source/ruby/ruby-104/patches/config.h.ed
Tue Oct 7 10:37:39 2014 Nobuyoshi Nakada <[email protected]>
* configure.in (RUBY_UNIVERSAL_ARCH): fix missing quoting
brackets. incorporated from
http://www.opensource.apple.com/source/ruby/ruby-104/patches/configure.diff
Mon Oct 6 23:34:42 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole_param.c: use typed data.
Mon Oct 6 22:37:09 2014 Nobuyoshi Nakada <[email protected]>
* symbol.h (struct RSymbol): move from internal.h.
Mon Oct 6 21:43:03 2014 NAKAMURA Usaku <[email protected]>
* error.c: update exception tree. [DOC]
reported by @hemge via twitter.
Mon Oct 6 18:43:03 2014 Rei Odaira <[email protected]>
* configure.in: Fix typo. [Bug #9914]
Mon Oct 6 16:23:30 2014 Nobuyoshi Nakada <[email protected]>
* signal.c (rb_f_kill): should not ignore signal unless the
default handler is registered. [ruby-dev:48592] [Bug #9820]
Mon Oct 6 16:07:11 2014 Nobuyoshi Nakada <[email protected]>
* test/ruby/test_string.rb (test_LSHIFT_neary_long_max): enable
only on platforms where string size range is smaller than memory
space. this test does not make sense but just wastes memory and
time on other platforms, as it is hardly possible that a string
size becomes neary LONG_MAX if long size equals pointer size.
[ruby-core:65410] [Bug #10325]
Mon Oct 6 11:21:21 2014 Martin Duerst <[email protected]>
* tool/unicode_norm_gen.rb: Adding/tweaking comments.
Mon Oct 6 10:57:57 2014 Martin Duerst <[email protected]>
* tool/unicode_norm_gen.rb: Adjusted directory paths.
Mon Oct 6 10:27:27 2014 Martin Duerst <[email protected]>
* tool/unicode_norm_gen.rb: Data generation script imported from
https://github.com/duerst/eprun/blob/master/lib/generate.rb
Mon Oct 6 10:15:15 2014 Martin Duerst <[email protected]>
* tool/downloader.rb: Adjust example in documentation for
Downloader.download.
Mon Oct 6 10:07:07 2014 Martin Duerst <[email protected]>
* lib/unicode_normalize: New folder for Unicode normalization
functionality
Sun Oct 5 11:04:13 2014 Luiz Angelo Daros de Luca <[email protected]>
* ext/digest/{md5,rmd160,sha1,sha2}/extconf.rb: configure OpenSSL
only if bundled libraries is not used, so that OpenSSL is not
linked unnecessarily. [ruby-core:65404] [Bug #10324]
Sun Oct 5 10:39:11 2014 Luiz Angelo Daros de Luca <[email protected]>
* ext/digest/rmd160/extconf.rb: fix transform function name to
check. [ruby-core:65091] [Bug #10252]
Sun Oct 5 05:46:00 2014 Eric Wong <[email protected]>
* ext/zlib/zlib.c (zstream_mark, zstream_free): update signature
(gzfile_mark, gzfile_free): ditto
(zstream_memsize): new function for rb_data_type->dsize
(gzfile_memsize): ditto
(zstream_data_type, gzfile_data_type): new data types
(zstream_new): Data_Make_Struct => TypedData_Make_Struct
(gzfile_new): ditto
(get_zstream, get_gzfile): Data_Get_Struct => TypedData_Get_Struct
(rb_zstream_flush_next_in): ditto
(rb_zstream_flush_next_out): ditto
(rb_zstream_avail_out): ditto
(rb_zstream_avail_in): ditto
(rb_zstream_closed_p): ditto
(rb_deflate_initialize): ditto
(rb_deflate_init_copy): ditto
(rb_inflate_initialize): ditto
(gzfile_ensure_close): ditto
(rb_gzfile_closed_p): ditto
(rb_gzfile_path): ditto
(rb_gzwriter_initialize): ditto
(rb_gzreader_initialize): ditto
(rb_gzreader_unused): ditto
[ruby-core:65377] [Feature #10319]
Sat Oct 4 16:24:41 2014 Rei Odaira <[email protected]>
* test/test_syslog.rb (TestSyslog#test_log): In AIX, each output
line of LOG_PERROR to stderr has an additional empty line appended,
so skip that line.
Sat Oct 4 16:05:49 2014 Rei Odaira <[email protected]>
* test/socket/test_unix.rb (TestSocket_UNIXSocket#test_too_long_path):
sockaddr_un.sun_path in AIX is defined as char[1024],
so "a" * 300 is not too long. "a" * 3000 would be enough.
Sat Oct 4 09:12:03 2014 Zachary Scott <[email protected]>
* ext/win32ole/sample/example*.rb: Add wait input to quit for examples
with patch provided by @windwiny [Fixes GH-705]
https://github.com/ruby/ruby/pull/705
Sat Oct 4 09:08:18 2014 Zachary Scott <[email protected]>
* ext/win32ole/win32ole.c: [DOC] Fix typo in :nodoc: reported by
@windwiny to [Fix GH-705] https://github.com/ruby/ruby/pull/705
* ext/pty/pty.c: ditto
Sat Oct 4 08:59:45 2014 Zachary Scott <[email protected]>
* ext/openssl/ossl_rand.c: [DOC] Add call signature for pseudo_bytes
and random_bytes, wrap lines at 80 chars, and remove useless
comments.
Sat Oct 4 08:49:34 2014 Zachary Scott <[email protected]>
* ext/openssl/ossl_rand.c: [DOC] Add rdoc for method descriptions
By @vipulnsward [Fixes GH-657] https://github.com/ruby/ruby/pull/657
Sat Oct 4 08:23:48 2014 Zachary Scott <[email protected]>
* ext/openssl/ossl_rand.c: Use rb_define_module_function instead of
macro. [Fixes GH-686] https://github.com/ruby/ruby/pull/686
Sat Oct 4 06:04:56 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole_method.c(olemethod_set_member): remove
redundant NULL check.
* ext/win32ole/win32ole_type.c(oletype_set_member): ditto.
Sat Oct 4 00:25:04 2014 SHIBATA Hiroshi <[email protected]>
* .travis.yml: removed needless preparation for gcc.
Fri Oct 3 23:41:20 2014 SHIBATA Hiroshi <[email protected]>
* .travis.yml: enabled gcc build with osx on travis.
Fri Oct 3 23:22:23 2014 Hiroshi Shirosaki <[email protected]>
* template/fake.rb.in: fix make install failure due to MSYS path
with mingw on MSYS environment.
[ruby-core:64965] [Bug #10230]
Fri Oct 3 21:02:32 2014 SHIBATA Hiroshi <[email protected]>
* test/ruby/test_io.rb (TestIO#test_advise): avoid to infinite loop.
Fri Oct 3 19:26:01 2014 SHIBATA Hiroshi <[email protected]>
* .travis.yml: enabled test results of linux.
Fri Oct 3 18:52:16 2014 SHIBATA Hiroshi <[email protected]>
* test/ruby/test_io.rb (TestIO#test_advise): added workaround of fadvise(2)
with tmpfs and old linux kernel. [ruby-core:65355][Bug #10313]
Fri Oct 3 18:22:45 2014 SHIBATA Hiroshi <[email protected]>
* .travis.yml: Disabled to generate document on travis.
Reduce test running time.
Fri Oct 3 12:42:15 2014 Marc-Andre Lafortune <[email protected]>
* lib/matrix.rb: Add hstack & vstack methods.
Based on a patch by creasywuqiong. [Fix GH-344]
Fri Oct 3 12:37:48 2014 Marc-Andre Lafortune <[email protected]>
* lib/matrix.rb: Fix Matrix.rows copy bug.
Patch by Arron Mabrey. [Fix GH-707]
Fri Oct 3 06:06:28 2014 Eric Wong <[email protected]>
* st.c (next_pow2): new function (from old bignum.c)
(new_size): use next_pow2 function
Fri Oct 3 05:58:58 2014 Eric Wong <[email protected]>
* vm_trace.c (rb_tp_t): pack 56 => 48 bytes on 64-bit
Thu Oct 2 18:41:45 2014 NAKAMURA Usaku <[email protected]>
* ext/etc/etc.c (etc_nprocessors): Windows support.
see [Feature #10267]
Thu Oct 2 12:21:52 2014 Tanaka Akira <[email protected]>
* ext/etc/etc.c (etc_nprocessors): New method.
Accepted by matz at RubyKaigi 2014.
[ruby-core:65142] [Feature #10267]
Thu Oct 2 07:56:49 2014 Eric Wong <[email protected]>
* iseq.c (rb_iseq_line_trace_each): explicit cast
Fix https://travis-ci.org/ruby/ruby/jobs/36814282
Thu Oct 2 05:40:05 2014 Eric Wong <[email protected]>
* ruby.h: set rb_event_flag_t to uint32_t
[ruby-core:65315] [misc #10249]
Thu Oct 2 05:32:17 2014 Eric Wong <[email protected]>
* io.c (fptr_finalize): free memory before GC sweep
[ruby-core:65269] [Feature #10295]
Thu Oct 2 05:27:24 2014 Eric Wong <[email protected]>
* marshal.c (w_class): check dump_arg->compat_tbl before lookup
(w_object): lazy init ->compat_tbl before insert
(obj_alloc_by_class): ditto
(clear_dump_arg): free only non-NULL ->compat_tbl
(clear_load_arg): ditto for ->compat_tbl
(marshal_dump): ->compat_tbl defaults to zero
(marshal_load): ditto for ->compat_tbl
(r_entry0): check l->compat_tbl before lookup
(r_fixup_compat): ditto
[ruby-core:65305] [Feature #10302]
Wed Oct 1 21:14:34 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole_type.c: use typed data.
Wed Oct 1 18:15:42 2014 Nolan Evans <[email protected]>
* compile.c: remove commented out code.
Wed Oct 1 17:38:53 2014 Rei Odaira <[email protected]>
* test/fileutils/test_fileutils.rb: AIX does not allow
a sticky bit on a regular file.
Wed Oct 1 17:31:41 2014 Eric Hodel <[email protected]>
* NEWS: Add RubyGems update.
Wed Oct 1 17:28:58 2014 Eric Hodel <[email protected]>
* lib/rubygems: Update to RubyGems 2.4.2.
* test/rubygems: ditto.
Tue Sep 30 22:25:32 2014 Nobuyoshi Nakada <[email protected]>
* parse.y (parser_data_type): separate ripper data type for from
parser.
Tue Sep 30 18:46:31 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole_typelib.c: use typed data.
Tue Sep 30 09:51:46 2014 SHIBATA Hiroshi <[email protected]>
* common.mk: fixed broken reference of update-config_files task
Mon Sep 29 22:54:51 2014 Nobuyoshi Nakada <[email protected]>
* win32/file.c (append_wstr): set expanded length, not length of
appended string. fix "probable buffer overflow" bug.
[ruby-core:65317] [Bug #10304]
* string.c (str_make_independent_expand): drop NOFREE flag after
reallocation, static buffer is not pointed anymore.
[ruby-core:65317] [Bug #10304]
Sun Sep 28 23:59:17 2014 Kazuki Tsujimoto <[email protected]>
* gc.c (rb_gcdebug_print_obj_condition): use RVALUE_REMEMBERED
because GET_HEAP_REMEMBERSET_BITS is obsoleted.
Sun Sep 28 11:14:14 2014 Martin Duerst <[email protected]>
* common.mk: Created new target update-unicode to download
some Unicode data files.
Fri Sep 26 15:03:19 2014 Masaki Matsushita <[email protected]>
* lib/uri/rfc3986_parser.rb: raise URI::InvalidURIError when
uri doesn't respond to #to_str. [ruby-core:64453] [Bug #10150]
* test/uri/test_parser.rb: test for above.
Sat Sep 27 10:31:48 2014 Kazuki Tsujimoto <[email protected]>
* gems/bundled_gems: upgraded to power_assert 0.1.4.
Fri Sep 26 12:52:36 2014 Nobuyoshi Nakada <[email protected]>
* ext/stringio/stringio.c (strio_write): ASCII-8BIT StringIO
should be writable any encoding strings, without conversion.
[ruby-core:65240] [Bug #10285]
Fri Sep 26 05:21:01 2014 Eric Wong <[email protected]>
* object.c (rb_class_real): do not dereference 0 VALUE
* test/ruby/test_module.rb (test_inspect_segfault):
Test case and bug report by Thomas Stratmann.
[ruby-core:65214] [Bug #10282]
Fri Sep 26 05:12:10 2014 Eric Wong <[email protected]>
* man/ruby.1: document stack size env variables
[Feature #10197]
Thu Sep 25 19:37:34 2014 Eric Wong <[email protected]>
* io.c (free_io_buffer): new function for a common pattern
(clear_readconv): use free_io_buffer
(rb_io_fptr_finalize): ditto
Thu Sep 25 07:51:07 2014 Ayumu AIZAWA <[email protected]>
* lib/matrix.rb: Fix docs. Patched by Ben Woodall. [GH-726]
Wed Sep 24 19:04:04 2014 Martin Duerst <[email protected]>
* enc/unicode/data: New directory for downloaded Unicode
data files.
Wed Sep 24 18:59:59 2014 Martin Duerst <[email protected]>
* tool/downloader.rb: Adjusting example for
Downloader.download to implementation changes in r47693.
Wed Sep 24 18:06:06 2014 Martin Duerst <[email protected]>
* tool/downloader.rb: Removing unused method
Downloader.download_if_modified_since.
(if ever used, just replace with Downloader.download)
Wed Sep 24 17:59:59 2014 Martin Duerst <[email protected]>
* tool/downloader.rb: Fixing raise after return.
Wed Sep 24 17:55:55 2014 Martin Duerst <[email protected]>
* tool/downloader.rb: Made Unicode data file location available
via :unicode Symbol.
Wed Sep 24 10:45:45 2014 Martin Duerst <[email protected]>
* tool/downloader.rb: Small fix to documentation comment.
Tue Sep 23 22:00:20 2014 Nobuyoshi Nakada <[email protected]>
* parse.y (parse_ident): just after a label, new expression should
start, cannot be a modifier. [ruby-core:65211] [Bug #10279]
Tue Sep 23 16:07:07 2014 Martin Duerst <[email protected]>
* tool/downloader.rb: added Downloader.download_if_modified_since
to reduce downloads of large files that change only rarely.
[ruby-core:65164] [CommonRuby - Feature #10084]
Tue Sep 23 11:55:09 2014 SHIBATA Hiroshi <[email protected]>
* .travis.yml: added rubyspec into travis tasks and eliminate to stdout.
Mon Sep 22 20:00:29 2014 Masaki Suketa <[email protected]>
* test/win32ole/test_win32ole_variant.rb
(test_conversion_time2date_with_msec): test by using only
assert_in_delta to avoid to fail when converting Time object with
999999999 nanoseconds into VT_DATE Variant.
Mon Sep 22 19:49:12 2014 Zachary Scott <[email protected]>
* doc/syntax/methods.rdoc: [DOC] [] and []= methods by @process
[Fixes GH-662] https://github.com/ruby/ruby/pull/662
Mon Sep 22 18:21:35 2014 SHIBATA Hiroshi <[email protected]>
* .travis.yml: Only osx build is enabled. linux builds is random failure
and test results of major linux is covered by rubyci.
Mon Sep 22 12:10:29 2014 Tanaka Akira <[email protected]>
* test/ruby/test_time_tz.rb: Fix test error with tzdata-2014g.
[ruby-core:65058] [Bug #10245] Reported by Vit Ondruch.
Mon Sep 22 09:28:43 2014 Eric Wong <[email protected]>
* ext/socket/ancdata.c ({send,recv}msg_args_struct): 24 => 16 bytes
* ext/socket/init.c (connect_arg): ditto
* ext/socket/raddrinfo.c (getnameinfo_arg): 56 => 48 bytes
(reductions only for 64-bit systems)
Mon Sep 22 02:04:25 2014 Tanaka Akira <[email protected]>
* lib/drb/drb.rb: Support graceful shutdown.
(DRbTCPSocket#initialize): Create a pipe for shutdown notification.
(DRbTCPSocket#close): Invoke close_shutdown_pipe.
(DRbTCPSocket#close_shutdown_pipe): New private method.
(DRbTCPSocket#accept): Use accept_or_shutdown.
(DRbTCPSocket#accept_or_shutdown): New private method which returns
nil on shutdown.
(DRbServer#stop_service): Use shutdown instead of Thread#kill.
(DRbServer#run): Break infinite loop when main_loop returns nil.
(DRbServer#main_loop): @protocol.accept may return nil.
* lib/drb/ssl.rb: Follow above change.
* lib/drb/unix.rb: Ditto.