forked from shyouhei/ruby
-
Notifications
You must be signed in to change notification settings - Fork 2
/
ChangeLog
9086 lines (5754 loc) · 300 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
Sun Oct 12 12:29:40 2014 Yuki Yugui Sonoda <yugui@yugui.jp>
* lib/mkmf.rb: comments added
Sun Oct 12 01:37:11 2014 Yuki Yugui Sonoda <yugui@yugui.jp>
* file.c: include sys/time.h only if HAVE_SYS_TIME_H
Sat Oct 11 22:29:40 2014 Yuki Yugui Sonoda <yugui@yugui.jp>
* file.c (HAVE_UTIMENSAT): disabled for NativeClient.
Fixes build error.
Sat Oct 11 22:11:58 2014 Yuki Yugui Sonoda <yugui@yugui.jp>
* 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 <yugui@yugui.jp>
* 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 <e@80x24.org>
* 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 <e@80x24.org>
* string.c (rb_str_intern): remove unnecessary RB_GC_GUARD
Sat Oct 11 13:47:13 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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 <yugui@yugui.jp>
* 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 <yugui@yugui.jp>
* 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 <yugui@yugui.jp>
* 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 <yugui@yugui.jp>
* 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. tenatively 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 <e@zzak.io>
* 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 <shatrov@me.com>
* 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 <nobu@ruby-lang.org>
* 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 <ngotogenome@gmail.com>
* 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 <e@80x24.org>
* 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 <e@80x24.org>
* benchmark/bm_hash_aref_sym*.rb: force static symbols
Thu Oct 9 12:38:28 2014 Eric Wong <e@80x24.org>
* hash.c (rb_any_hash): remove unnecessary dsym check
Thu Oct 9 07:20:30 2014 Rei Odaira <Rei.Odaira@gmail.com>
* 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 <nobu@ruby-lang.org>
* 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 <masaki.suketa@nifty.ne.jp>
* ext/win32ole/win32ole_variable.c: use typed data.
Wed Oct 8 16:36:47 2014 gogo tanaka <mail@tanakakazuki.com>
* 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 <naruse@ruby-lang.org>
* 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 <e@80x24.org>
* ext/etc/etc.c (etc_systmpdir): set default tmplen correctly
Fixup r47826
Wed Oct 8 05:16:32 2014 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
* lib/matrix.rb: Add @- and @+ for Matrix and Vector.
patch by gogo tanaka [#10068] [#10069]
Wed Oct 8 04:58:48 2014 John Bachir <j@jjb.cc>
* 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 <Rei.Odaira@gmail.com>
* 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 <Rei.Odaira@gmail.com>
* 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 <ruby-core@marc-andre.ca>
* lib/matrix.rb: Add Matrix#laplace_expansion.
patch by gogo tanaka [#10073]
Wed Oct 8 04:29:21 2014 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
* lib/matrix.rb: Add Vector.basis.
Based on patch by gogo tanaka [#10072]
Tue Oct 7 23:40:16 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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 <masaki.suketa@nifty.ne.jp>
* ext/win32ole/win32ole_method.c: use typed data.
Tue Oct 7 21:47:05 2014 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* ext/win32ole/win32ole_param.c: refactoring.
Tue Oct 7 21:40:17 2014 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* 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 <nobu@ruby-lang.org>
* 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 <nobu@ruby-lang.org>
* 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 <nobu@ruby-lang.org>
* 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 <masaki.suketa@nifty.ne.jp>
* ext/win32ole/win32ole_param.c: use typed data.
Mon Oct 6 22:37:09 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* symbol.h (struct RSymbol): move from internal.h.
Mon Oct 6 21:43:03 2014 NAKAMURA Usaku <usa@ruby-lang.org>
* error.c: update exception tree. [DOC]
reported by @hemge via twitter.
Mon Oct 6 18:43:03 2014 Rei Odaira <Rei.Odaira@gmail.com>
* configure.in: Fix typo. [Bug #9914]
Mon Oct 6 16:23:30 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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 <nobu@ruby-lang.org>
* 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 <duerst@it.aoyama.ac.jp>
* tool/unicode_norm_gen.rb: Adding/tweaking comments.
Mon Oct 6 10:57:57 2014 Martin Duerst <duerst@it.aoyama.ac.jp>
* tool/unicode_norm_gen.rb: Adjusted directory paths.
Mon Oct 6 10:27:27 2014 Martin Duerst <duerst@it.aoyama.ac.jp>
* 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 <duerst@it.aoyama.ac.jp>
* tool/downloader.rb: Adjust example in documentation for
Downloader.download.
Mon Oct 6 10:07:07 2014 Martin Duerst <duerst@it.aoyama.ac.jp>
* lib/unicode_normalize: New folder for Unicode normalization
functionality
Sun Oct 5 11:04:13 2014 Luiz Angelo Daros de Luca <luizluca@gmail.com>
* 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 <luizluca@gmail.com>
* 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 <e@80x24.org>
* 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 <Rei.Odaira@gmail.com>
* 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 <Rei.Odaira@gmail.com>
* 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 <e@zzak.io>
* 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 <e@zzak.io>
* 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 <e@zzak.io>
* 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 <e@zzak.io>
* 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 <e@zzak.io>
* 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 <masaki.suketa@nifty.ne.jp>
* 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 <shibata.hiroshi@gmail.com>
* .travis.yml: removed needless preparation for gcc.
Fri Oct 3 23:41:20 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* .travis.yml: enabled gcc build with osx on travis.
Fri Oct 3 23:22:23 2014 Hiroshi Shirosaki <h.shirosaki@gmail.com>
* 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 <shibata.hiroshi@gmail.com>
* test/ruby/test_io.rb (TestIO#test_advise): avoid to infinite loop.
Fri Oct 3 19:26:01 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* .travis.yml: enabled test results of linux.
Fri Oct 3 18:52:16 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* 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 <shibata.hiroshi@gmail.com>
* .travis.yml: Disabled to generate document on travis.
Reduce test running time.
Fri Oct 3 12:42:15 2014 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
* 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 <ruby-core@marc-andre.ca>
* lib/matrix.rb: Fix Matrix.rows copy bug.
Patch by Arron Mabrey. [Fix GH-707]
Fri Oct 3 06:06:28 2014 Eric Wong <e@80x24.org>
* 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 <e@80x24.org>
* vm_trace.c (rb_tp_t): pack 56 => 48 bytes on 64-bit
Thu Oct 2 18:41:45 2014 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/etc/etc.c (etc_nprocessors): Windows support.
see [Feature #10267]
Thu Oct 2 12:21:52 2014 Tanaka Akira <akr@fsij.org>
* 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 <e@80x24.org>
* 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 <e@80x24.org>
* ruby.h: set rb_event_flag_t to uint32_t
[ruby-core:65315] [misc #10249]
Thu Oct 2 05:32:17 2014 Eric Wong <e@80x24.org>
* io.c (fptr_finalize): free memory before GC sweep
[ruby-core:65269] [Feature #10295]
Thu Oct 2 05:27:24 2014 Eric Wong <e@80x24.org>
* 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 <masaki.suketa@nifty.ne.jp>
* ext/win32ole/win32ole_type.c: use typed data.
Wed Oct 1 18:15:42 2014 Nolan Evans <nolane@gmail.com>
* compile.c: remove commented out code.
Wed Oct 1 17:38:53 2014 Rei Odaira <Rei.Odaira@gmail.com>
* 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 <drbrain@segment7.net>
* NEWS: Add RubyGems update.
Wed Oct 1 17:28:58 2014 Eric Hodel <drbrain@segment7.net>
* lib/rubygems: Update to RubyGems 2.4.2.
* test/rubygems: ditto.
Tue Sep 30 22:25:32 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (parser_data_type): separate ripper data type for from
parser.
Tue Sep 30 18:46:31 2014 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* ext/win32ole/win32ole_typelib.c: use typed data.
Tue Sep 30 09:51:46 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* common.mk: fixed broken reference of update-config_files task
Mon Sep 29 22:54:51 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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 <kazuki@callcc.net>
* 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 <duerst@it.aoyama.ac.jp>
* common.mk: Created new target update-unicode to download
some Unicode data files.
Fri Sep 26 15:03:19 2014 Masaki Matsushita <glass.saga@gmail.com>
* 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 <kazuki@callcc.net>
* gems/bundled_gems: upgraded to power_assert 0.1.4.
Fri Sep 26 12:52:36 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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 <e@80x24.org>
* 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 <e@80x24.org>
* man/ruby.1: document stack size env variables
[Feature #10197]
Thu Sep 25 19:37:34 2014 Eric Wong <e@80x24.org>
* 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 <ayumu.aizawa@gmail.com>
* lib/matrix.rb: Fix docs. Patched by Ben Woodall. [GH-726]
Wed Sep 24 19:04:04 2014 Martin Duerst <duerst@it.aoyama.ac.jp>
* enc/unicode/data: New directory for downloaded Unicode
data files.
Wed Sep 24 18:59:59 2014 Martin Duerst <duerst@it.aoyama.ac.jp>
* tool/downloader.rb: Adjusting example for
Downloader.download to implementation changes in r47693.
Wed Sep 24 18:06:06 2014 Martin Duerst <duerst@it.aoyama.ac.jp>
* 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 <duerst@it.aoyama.ac.jp>
* tool/downloader.rb: Fixing raise after return.
Wed Sep 24 17:55:55 2014 Martin Duerst <duerst@it.aoyama.ac.jp>
* tool/downloader.rb: Made Unicode data file location available
via :unicode Symbol.
Wed Sep 24 10:45:45 2014 Martin Duerst <duerst@it.aoyama.ac.jp>
* tool/downloader.rb: Small fix to documentation comment.
Tue Sep 23 22:00:20 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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 <duerst@it.aoyama.ac.jp>
* 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 <shibata.hiroshi@gmail.com>
* .travis.yml: added rubyspec into travis tasks and eliminate to stdout.
Mon Sep 22 20:00:29 2014 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* 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 <e@zzak.io>
* 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 <shibata.hiroshi@gmail.com>
* .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 <akr@fsij.org>
* 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 <e@80x24.org>
* 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 <akr@fsij.org>
* 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.
Sun Sep 21 13:54:36 2014 Masaki Matsushita <glass.saga@gmail.com>
* time.c: raise exception when minutes of utc_offset is out of 00-59.
patch is from Kenichi Kamiya.
[ruby-dev:47539] [Bug #8679]
* test/ruby/test_time.rb: test for above.
patch is from Kenichi Kamiya.
Sun Sep 21 19:04:08 2014 Narihiro Nakamura <authornari@gmail.com>
* st.c (do_hash_bin): unused macro.
Sun Sep 21 18:45:01 2014 Narihiro Nakamura <authornari@gmail.com>
* parse.y (parser_class_nest): unused variable after YARV
merged (r11439).
Sun Sep 21 18:14:03 2014 Narihiro Nakamura <authornari@gmail.com>
* st.c (numberof): unused. internal.h has same macro.
* node.c (F_CUSTOM2): unused.
Sun Sep 21 14:11:23 2014 Tanaka Akira <akr@fsij.org>
* thread_pthread.c (native_set_thread_name): New function to
set thread name visible with ps command on GNU/Linux.
Ex. ps -o %c -L
* thread.c (thread_start_func_2): Call native_set_thread_name at
beginning.
(rb_thread_inspect_msg): Extract from rb_thread_inspect.
Sun Sep 21 12:49:11 2014 Eric Wong <e@80x24.org>
* iseq.c (rb_iseq_defined_string): trim redundant semi-colon
Sun Sep 21 12:19:29 2014 Eric Wong <e@80x24.org>
* file.c (rb_find_file_ext_safe): clear tmp buffer on failure
(rb_find_file_safe): ditto
Sat Sep 20 04:42:18 2014 Masaki Matsushita <glass.saga@gmail.com>
* lib/csv.rb: avoid unnecessary object allocations.
patch is from Andrew Vit. [ruby-core:63215] [Feature #9952]
Sun Sep 21 12:10:18 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* lib/rexml/**/*.rb: removed commented-out code.
Sat Sep 20 03:46:58 2014 Masaki Matsushita <glass.saga@gmail.com>
* array.c: use rb_equal_opt() for performance improvement.
[ruby-core:64954] [Feature #10227]
Sun Sep 21 11:16:56 2014 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* ext/win32ole/win32ole.c (rbtime2vtdate, vtdate2rbtime): fix
the bug in conversion of milliseconds. [Bug #10258]
* test/win32ole/test_win32ole_variant.rb
(test_conversion_dbl2date_with_msec,
test_conversion_time2date_with_msec): use assert_in_delta instead
of assert_equal to treat an acceptable error range.
Sun Sep 21 11:03:32 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* signal.c (ruby_signal): although "EINVAL from sigaction(2) is
not a bug", but even it is a failure. pointed at toRuby/guRuby
in RubyHiroba.
Sat Sep 20 03:00:26 2014 Masaki Matsushita <glass.saga@gmail.com>
* lib/tempfile.rb: define parameters appropriately and some
refactoring.
* lib/tmpdir.rb: ditto.
Sat Sep 20 23:58:21 2014 Tanaka Akira <akr@fsij.org>
* enum.c (enum_chunk): Deprecate the state management.
(enum_slice_before): Ditto.
Sat Sep 20 15:39:11 2014 Tanaka Akira <akr@fsij.org>
* enum.c (enum_slice_when): New method: Enumerable#slice_when.
(slicewhen_i): New function.
(slicewhen_ii): New function.
* enumerator.c (InitVM_Enumerator): New method:
Enumerator::Lazy#slice_when.
[ruby-core:62499] [Feature #9826]
Sat Sep 20 11:55:19 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* .travis.yml: added new configurations for osx on travis ci.
[fix GH-723]
* test/ruby/test_object.rb: tweaked to memory leak limit for osx build.
Sat Sep 20 10:48:41 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (assoc): allow quoted ID as a key of a hash literal.
[ruby-core:34453] [Feature #4276]
Sat Sep 20 10:23:00 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* compile.c (iseq_set_arguments): store local variable IDs in
temporary list as Symbols. previously these are stored as
Fixnums to prevent from GC, but IDs of dynamic symbols can
exceed Fixnum range and cause RangeError at inverting from
Fixnum. [ruby-dev:48564] [Bug #10266]
Sat Sep 20 10:02:51 2014 Tanaka Akira <akr@fsij.org>
* ext/openssl/lib/openssl/x509.rb (OpenSSL::X509::Name#pretty_print):
New method.
(OpenSSL::X509::Certificate#pretty_print): Ditto.
* ext/openssl/lib/openssl/bn.rb (OpenSSL::BN#pretty_print): Ditto.
Sat Sep 20 07:55:57 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_eval.c (eval_string_with_cref): fix super from eval with
scope. set klass in the current control frame to the class of
the receiver in the context to be evaluated, this class/module
must match the actual receiver to call super.
[ruby-core:65122] [Bug #10263]
Fri Sep 19 20:06:00 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* symbol.c (rb_str_dynamic_intern): check if the stem ID of
attrset ID is already registered as a static ID.
[ruby-dev:48559] [Bug #10259]
Fri Sep 19 15:48:09 2014 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/Makefile.sub (VCSUP): nothing to do if this worktree is not
under any VCS (it means that the worktree may be from the release
package).
Fri Sep 19 10:47:03 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/ruby/test_math.rb (TestMath#assert_infinity): Float#finite?
returns true also for NaN, so use Float#infinite? instead.
[ruby-core:65117] [Feature #10261]
Fri Sep 19 05:36:16 2014 Eric Wong <e@80x24.org>
* NEWS: note --with-jemalloc option [ci skip]
Thu Sep 18 16:26:27 2014 NAKAMURA Usaku <usa@ruby-lang.org>
* test/rubygems/test_gem_commands_setup_command.rb: @ui uses StringIO
as its streams, and Encoding.default_external does not effect to
StringIOs already exist. so, we need to set external_encoding of
@ui.outs directly. this problem (test failure) does not appear in
the environments default_external is us-ascii or utf-8.
Thu Sep 18 15:02:15 2014 NAKAMURA Usaku <usa@ruby-lang.org>
* test/rubygems/test_gem_specification.rb: '/' is not always the root.
Thu Sep 18 09:36:37 2014 Scott Francis <scott.francis@shopify.com>
* vm_method.c (Init_Method): make global method cache size
configurable by environment variable
"RUBY_GLOBAL_METHOD_CACHE_SIZE" [Fix GH-719]
Thu Sep 18 07:03:36 2014 Eric Wong <e@80x24.org>
* test/-ext-/string/test_modify_expand.rb: increase limit
for {je,tc}malloc [Bug #10236]
Thu Sep 18 06:41:18 2014 Eric Wong <e@80x24.org>
* ext/zlib/zlib.c (struct gzfile): pack (288 => 272 bytes) on 64-bit
Thu Sep 18 05:44:05 2014 Eric Wong <e@80x24.org>
* ext/socket/init.c (rsock_connect): refactor for blocking
(wait_connectable): clear error before wait
[Bug #9356]
Wed Sep 17 23:12:36 2014 NARUSE, Yui <naruse@ruby-lang.org>
* lib/uri/rfc3986_parser.rb: specify a regexp for :OPAQUE; generic.rb
assumes it is present, and will refuse all values otherwise.
by Matthew Draper <matthew@trebex.net>
https://github.com/ruby/ruby/pull/718 fix GH-718
Wed Sep 17 16:22:58 2014 Eric Wong <e@80x24.org>
* ext/zlib/zlib.c (zlib_mem_alloc): check overflow
Wed Sep 17 11:33:35 2014 Laurent Arnoud <laurent@spkdev.net>
* test/fiddle/test_import.rb (Fiddle::TestImport#test_sizeof):
added test for long long [fix GH-716]
Wed Sep 17 11:09:21 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* tool/rbinstall.rb: fixed invalid options with latest rubygems.
https://github.com/rubygems/rubygems/issues/1013
Tue Sep 16 19:19:00 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* benchmark/bm_app_aobench.rb: update outdated links to the
original program. [ruby-dev:48550] [Feature #10247]
Tue Sep 16 01:06:40 2014 NARUSE, Yui <naruse@ruby-lang.org>
* reg*.c: Merge Onigmo 5.15.0 38a870960aa7370051a3544
Mon Sep 15 16:21:10 2014 Eric Wong <e@80x24.org>
* io.c (struct io_advise_struct): 32 => 24 bytes on 64-bit
* io.c (struct io_internal_writev_struct): 24 => 16 bytes on 64-bit
* process.c (struct waitpid_arg): ditto
Mon Sep 15 10:29:25 2014 Natalie Weizenbaum <nweiz@google.com>
* ext/pathname/lib/pathname.rb (SAME_PATHS):
Pathname#relative_path_from uses String#casecmp to compare strings
on case-insensitive filesystem platforms (e.g., Windows). This can
return nil for strings with different encodings, and the code
previously assumed that it always returned a Fixnum. [Fix GH-713]
Mon Sep 15 09:43:18 2014 Sho Hashimoto <sho.hsmt@gmail.com>
* ext/fiddle/lib/fiddle/import.rb (Fiddle::Importer#sizeof): fix typo,
SIZEOF_LONG_LON. [Fix GH-714]
Mon Sep 15 08:13:40 2014 Matthew Draper <matthew@trebex.net>
* sprintf.c (rb_str_format): rational 'f' format works for more
values. [fix GH-717]
Sun Sep 14 16:57:27 2014 Eric Wong <e@80x24.org>
* template/vm.inc.tmpl: "insns.c" => "insns.def"
* tool/instruction.rb: typo fix
Sun Sep 14 12:29:52 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* test/test_tracer.rb: fixed testcase for rubygems update.
Sun Sep 14 12:29:02 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* lib/rubygems: Update to RubyGems 2.4.1 master(713ab65)
Complete history at:
https://github.com/rubygems/rubygems/blob/master/History.txt#L3-L216
* test/rubygems: ditto.
Sun Sep 14 11:03:24 2014 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych.rb: update version
* ext/psych/psych.gemspec: ditto
Sun Sep 14 08:43:37 2014 Eric Wong <e@80x24.org>
* ccan/container_of/container_of.h (container_of_or_null): added
[ccan 7ec5b8e06b2fd5fa98b1fcde1158c286d2d429d8] (David Gibson)
Sun Sep 14 08:41:44 2014 Eric Wong <e@80x24.org>
* ccan/list/list.h (list_del_init, list_node_init): new functions
for multiple list_del() calls
[ccan ec8654d94d3c5c47aa5f82698f7e8048c79765b1] (Rusty Russell)
Sat Sep 13 22:19:26 2014 Bernard Potocki <bernard.potocki@imanel.org>
* hash.c (rb_hash_aset): fix misleading example which may suggest
that Hash.store will return self instead of value - Hash#store
is returning value and update itself, as well as Hash#[]=.
[Fix GH-715]
Sat Sep 13 15:16:31 2014 Eric Wong <e@80x24.org>
* class.c: use ALLOC(rb_subclass_entry_t)
Sat Sep 13 14:14:00 2014 Eric Wong <e@80x24.org>
* process.c (free_exec_arg): remove
(memsize_exec_arg): ptr is never NULL
(exec_arg_data_type): use RUBY_TYPED_DEFAULT_FREE
* variable.c (autoload_i_free): remove
(autoload_data_i_type): use RUBY_TYPED_DEFAULT_FREE
(autoload_memsize): ptr is never NULL
* vm_backtrace.c (location_free): remove
(location_mark): ptr is never NULL
(location_data_type): use RUBY_TYPED_DEFAULT_FREE
(backtrace_mark): ditto
(backtrace_free): ditto
Sat Sep 13 13:43:07 2014 Eric Wong <e@80x24.org>
* doc/NEWS-2.0.0: fix typo for default RUBY_FIBER_MACHINE_STACK_SIZE
[ci skip]
Sat Sep 13 11:16:58 2014 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* ext/win32ole/win32ole_event.c(ev_advise, ole_event_free,
fev_s_allocate, fev_unadvise): avoid segmentation fault when COM
server freed before calling Unadvise from WIN32OLE_EVENT object.
* ext/win32ole/win32ole.c: ditto.