-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
9879 lines (6258 loc) · 326 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 Oct 29 14:44:27 2014 Nobuyoshi Nakada <[email protected]>
* load.c (rb_f_load): path name needs to be transcoded to OS path
encoding. [ruby-list:49994]
Wed Oct 29 11:48:23 2014 Nobuyoshi Nakada <[email protected]>
* configure.in (__builtin_setjmp): disable with gcc/clang earlier
than 4.3 on Mac OS X. [ruby-core:65174] [Bug #10272]
Wed Oct 29 11:43:43 2014 Marc-Andre Lafortune <[email protected]>
* lib/matrix.rb: Generalize Vector#cross_product to arbitrary
dimensions
based on a patch by gogo tanaka [#10074]
Wed Oct 29 11:43:11 2014 Marc-Andre Lafortune <[email protected]>
* lib/matrix.rb: Add Matrix#adjucate
patch by gogo tanaka [#10056]
Wed Oct 29 11:42:33 2014 Marc-Andre Lafortune <[email protected]>
* lib/matrix.rb: Add aliases for Vector#cross & dot
patch by gogo tanaka [#10352]
Wed Oct 29 10:00:18 2014 SHIBATA Hiroshi <[email protected]>
* gems/bundled_gems: Update latest version of bundled gems.
Tue Oct 28 16:52:07 2014 Eric Wong <[email protected]>
* signal.c (install_sighandler): remove rb_disable_interrupt and
rb_enable_interrupt calls
(init_sigchld): ditto
(Init_signal): disable and enable interrupt once around all
install_sighandler and init_sigchld to reduce syscalls at start
[Feature #9345] [ruby-core:59480]
Tue Oct 28 16:22:41 2014 Nobuyoshi Nakada <[email protected]>
* ruby.c (process_options, load_file_internal2): should not
require other files when dump option is given.
[ruby-dev:48712] [Bug #10435]
Tue Oct 28 14:51:38 2014 NARUSE, Yui <[email protected]>
* configure.in: remove apple-gcc4.2 from CC candidates.
Mon Oct 27 20:13:37 2014 NAKAMURA Usaku <[email protected]>
* lib/rexml/entity.rb: keep the entity size within the limitation.
reported by Willis Vandevanter <[email protected]> and
patched by nahi.
Mon Oct 27 17:17:24 2014 Nobuyoshi Nakada <[email protected]>
* proc.c (method_proc): the receiver of binding from method should
be same as the receiver of the method.
[ruby-core:65917] [Bug #10432]
Mon Oct 27 16:26:37 2014 Koichi Sasada <[email protected]>
* test/ruby/test_super.rb: add a test to check block passing.
Mon Oct 27 15:59:26 2014 Koichi Sasada <[email protected]>
* gc.c: is_incremental_marking(), will_be_incremental_marking():
use `&&' with GC_ENABLE_INCREMENTAL_MARK instead of using
#if/#else/#endif.
Mon Oct 27 13:40:11 2014 Nobuyoshi Nakada <[email protected]>
* gc.c (gc_sweep_rest): sweep rest pages regardless of whether
lazy sweep is enabled or not. based on the patch by Masahiro
Ide at [ruby-dev:48706]. [Bug #10431]
Mon Oct 27 11:18:32 2014 Eric Wong <[email protected]>
* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
reduce garbage during forks
Sun Oct 25 12:26:26 2014 Martin Duerst <[email protected]>
* template/insns.inc.tmpl, insns_info.inc.tmpl, known_errors.inc.tmpl,
minsns.inc.tmpl: fixed path of generating script.
Sun Oct 26 12:24:15 2014 Nobuyoshi Nakada <[email protected]>
* ext/ripper/lib/ripper/sexp.rb (Ripper.sexp, Ripper.sexp_raw):
return nil on error. [ruby-dev:48678] [Bug #10405]
Sun Oct 25 11:24:24 2014 Martin Duerst <[email protected]>
* string.c: improved comment.
Sun Oct 26 07:40:11 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (ole_val2variant, ole_invoke): refactoring.
use ole_variant2variant to convert WIN32OLE_VARIANT object to
VARIANT object.
* ext/win32ole/win32ole_variant.c: refactoring. add
ole_variant2variant.
* ext/win32ole/win32ole_variant.h: ditto.
Sat Oct 25 22:28:17 2014 Tanaka Akira <[email protected]>
* io.c (io_binwrite_string): Test writev() failure.
Sat Oct 25 20:19:19 2014 Martin Duerst <[email protected]>
* test/test-unicode_normalize.rb: added test_us_ascii.
Sat Oct 25 20:09:09 2014 Martin Duerst <[email protected]>
* lib/unicode_normalize/normalize.rb: added US_ASCII
as trivially supported encoding (is always normalized,
and may appear mixed in with UTF-8 or other Unicode
encodings).
Sat Oct 25 20:01:01 2014 Martin Duerst <[email protected]>
* test/test-unicode_normalize.rb: added
test_raise_exception_for_non_unicode_encoding.
Sat Oct 25 19:30:30 2014 Martin Duerst <[email protected]>
* test/test-unicode_normalize.rb: removed unused function.
Sat Oct 25 18:41:41 2014 Martin Duerst <[email protected]>
* template/unicode_norm_gen.tmpl: Adjusted name of generating file.
Fri Oct 24 22:49:42 2014 Nobuyoshi Nakada <[email protected]>
* parse.y (parser_yylex): dispatch newline and space at fluent
interface, so that the following identifier does not include the
space. [ruby-dev:48684] [Bug #10411]
Fri Oct 24 20:41:36 2014 Kazuhiro NISHIYAMA <[email protected]>
* signal.c (check_reserved_signal_): fix write count since r47991.
Thu Oct 23 21:42:54 2014 Nobuyoshi Nakada <[email protected]>
* hash.c (rb_hash_delete): now does not call the block given to
the current method. [ruby-core:65861] [Bug #10413]
Thu Oct 23 19:13:26 2014 Nobuyoshi Nakada <[email protected]>
* vm_method.c (rb_method_entry_make): warn redefinition only for
already defined methods, but not for undefined methods.
[ruby-dev:48691] [Bug #10421]
Thu Oct 23 17:19:04 2014 Kouhei Sutou <[email protected]>
* lib/rexml/source.rb (REXML::IOSource#encoding_updated): Fix a
bug that can't parse XML correctly when
Encoding.default_internal is different with XML
encoding. REXML::Source converts XML encoding on read. So IO
should not convert XML encoding.
Based on patch by NAKAMURA Usaku.
[ruby-dev:48686] [Bug #10418]
* test/rexml/test_encoding.rb
(REXMLTests::EncodingTester#test_parse_utf16_with_utf8_default_internal):
Add the for the above case.
Thu Oct 23 16:29:02 2014 Kouhei Sutou <[email protected]>
* test/rexml/test_encoding.rb
(REXMLTests::EncodingTester#test_parse_utf16): Use meaningful
test name. "ticket" in the old test name means the ticket in
REXML's issue tracker. The REXML's issue tracker was gone. So
"ticket" is meaningless.
* test/rexml/data/ticket_110_utf16.xml: Rename to ...
* test/rexml/data/utf16.xml: ... this.
Thu Oct 23 16:18:11 2014 Kouhei Sutou <[email protected]>
* test/rexml/test_encoding.rb
(REXMLTests::EncodingTester#test_ticket_110): Fix expected and
actual order.
Patch by NAKAMURA Usaku. Thanks!!!
Thu Oct 23 10:47:16 2014 Eric Wong <[email protected]>
* insns.def (getlocal,setlocal): add comment to def/opt_operand.def
Thu Oct 23 10:22:41 2014 Eric Wong <[email protected]>
* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
use IO#wait_readable instead of timeout
Thu Oct 23 10:22:24 2014 Eric Wong <[email protected]>
* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
ensure exit! during fork failure
Thu Oct 23 10:21:21 2014 Martin Duerst <[email protected]>
* NEWS: Added String#unicode_normalize(|!|d?) [ci skip]
Thu Oct 23 03:41:51 2014 Nobuyoshi Nakada <[email protected]>
* class.c (unknown_keyword_error): delete expected keywords
directly from raw table, so that the given block is not called.
[ruby-core:65837] [Bug #10413]
Thu Oct 23 02:33:01 2014 Nobuyoshi Nakada <[email protected]>
* common.mk (update-unicode): invert dependency to run every times.
[ruby-core:65842] [Bug #10415]
* common.mk (after-update): update files under source tree.
[ruby-core:65840] [Bug #10414]
Wed Oct 22 22:38:59 2014 CHIKANAGA Tomoyuki <[email protected]>
* ext/openssl/lib/openssl/ssl.rb (DEFAULT_PARAMS): override
options even if OpenSSL::SSL::OP_NO_SSLv3 is not defined.
this is pointed out by Stephen Touset. [ruby-core:65711] [Bug #9424]
Wed Oct 22 21:31:56 2014 NAKAMURA Usaku <[email protected]>
* common.mk (prelude.c): add dependency to LIB_SRCS because
enc/prelude.rb requires lib/unicode_normalize.rb, and it's also
requires lib/unicode_normalize/tables.rb (=LIB_SRCS).
Wed Oct 22 21:09:51 2014 Yuki Yugui Sonoda <[email protected]>
* configure.in (nacl_cv_cpu_nick): fix typo in PNaCl.
(XCFLAGS) Add -isystem flag to pnacl and nacl-newlib
(CXX): added
* nacl/GNUmakefile.in (CXX): Added
(PPROGRAM): Use clang++ instead of clang because libnacl_io
depends on c++ std lib.
Wed Oct 22 21:07:32 2014 Yuki Yugui Sonoda <[email protected]>
* common.mk (build-ext): avoid trying to build dynamic libraries
if configured --with-static-linked-ext.
Wed Oct 22 20:33:33 2014 Martin Duerst <[email protected]>
* common.mk: Fixed grammar in comment [ci skip]
Wed Oct 22 19:18:18 2014 Martin Duerst <[email protected]>
* tool/unicode_norm_gen.rb: Fixed escaping of backslash and
double quote ('\\\&' -> "\\\\\\\&"; double quoted string
is needed to make \& mean last match; double double
backslashes are needed because of two layers of escaping).
Wed Oct 22 18:13:29 2014 NAKAMURA Usaku <[email protected]>
* test/test-unicode_normalize.rb: as often said, ruby is sometimes built
at non-srcdir.
Wed Oct 22 18:12:12 2014 Martin Duerst <[email protected]>
* test/test-unicode_normalize.rb: Adjusted path for test
data file (now ../enc/unicode/data/NormalizationTest.txt).
Wed Oct 22 18:07:07 2014 Martin Duerst <[email protected]>
* test/test-unicode_normalize.rb: Removed explicit require,
changed method names, adjusted copyright.
Wed Oct 22 18:00:00 2014 Martin Duerst <[email protected]>
* test/test-unicode_normalize.rb: Importing from
https://github.com/duerst/eprun/blob/master/test/test_normalize.rb.
(removing trailing whitespace, fixing EOLs and adding EOL property)
Wed Oct 22 08:21:09 2014 Yuki Yugui Sonoda <[email protected]>
* nacl/pepper_main.c (Instance_DidCreate): mount devfs and rebind fd 0
.. 2 so that stderr goes to the console of the browser.
Wed Oct 22 03:47:43 2014 KOSAKI Motohiro <[email protected]>
* ext/etc/etc.c (etc_nprocessors_affin): maximum "n" should be 16384.
Wed Oct 22 03:37:00 2014 KOSAKI Motohiro <[email protected]>
* ext/etc/etc.c (etc_nprocessors_affin): minor spell fix.
Wed Oct 22 03:33:58 2014 KOSAKI Motohiro <[email protected]>
* ext/etc/etc.c (etc_nprocessors_affin): optimize memory usage a
bit. Typical rubyist never use 8k cpus machine.
Wed Oct 22 00:01:09 2014 Yuki Yugui Sonoda <[email protected]>
* configure.in (XCFLAGS): Add include path for NaCl libraries.
(XLDFLAGS): ditto.
(NACL_LIB_PATH): new substitution
* nacl/nacl-config.rb: support NACL_LIB_PATH
* nacl/package.rb: ditto.
* nacl/pepper_main.c: replace old implementations with nacl_io.
* nacl/GNUmakefile.in: link nacl_io to pepper_ruby
* ruby.c (rb_load_file): remove __attribute__((weak)) because the old
override hack was replaced with nacl_io.
* file.c (rb_file_load_ok): ditto.
Tue Oct 21 17:32:32 2014 Martin Duerst <[email protected]>
* common.mk: Adding explicit creation of directory
enc/unicode/data because git doesn't handle empty
directories. [patch by Masahiro Ide, filed with r48073]
Tue Oct 21 17:12:12 2014 Martin Duerst <[email protected]>
* lib/unicode_normalize/tables.rb: Committing to make version
update easier and more predictable, and reducing compilation
time.
Tue Oct 21 15:56:56 2014 Martin Duerst <[email protected]>
* lib/unicode_normalize/normalize.rb: Added comment to point to
relevant portion of Unicode standard for Hangul (de)composition
identifiers and algorithm.
Tue Oct 21 11:49:16 2014 Andreas Schwab <[email protected]>
* gc.c (mark_current_machine_context) [__mc68000__]: Update stack
marking.
(rb_gc_mark_machine_stack) [__mc68000__]: Also handle it here.
Mon Oct 20 23:59:38 2014 NAKAMURA Usaku <[email protected]>
* enc/prelude.rb: we sometimes run ruby without library path (especially
for test), so should permit to run ruby if unicode_normalize.rb is
missing.
Mon Oct 20 23:57:58 2014 NAKAMURA Usaku <[email protected]>
* common.mk (lib/unicode_normalize/tables.rb): enable running (n)make
in non-srcdir.
Mon Oct 20 23:58:04 2014 Nobuyoshi Nakada <[email protected]>
* tool/downloader.rb: add -a option to always download regardless
existing files.
Mon Oct 20 23:18:18 2014 NAKAMURA Usaku <[email protected]>
* lib/mkmf.rb: no need to convert path separator for COPY because it's
ruby -run cp and it can treat '/' on any platform.
Mon Oct 20 19:54:54 2014 Martin Duerst <[email protected]>
* config.mk: Added missing data files as targets for
prerequisite update_unicode.
Mon Oct 20 19:06:06 2014 Martin Duerst <[email protected]>
* lib/unicode_normalize.rb: revert r48046. The s in sIndex
is not hungarian notation. The variable name sIndex is
directly taken from the relevant part of the Unicode
Standard, where it is written SIndex and stands for
'syllable index'. See pp. 144/145 of
http://www.unicode.org/versions/Unicode7.0.0/ch03.pdf.
Mon Oct 20 12:46:46 2014 Martin Duerst <[email protected]>
* lib/unicode_normalize.rb: removing unnecessary 'self'.
Mon Oct 20 12:37:37 2014 Martin Duerst <[email protected]>
* lib/unicode_normalize.rb: change method names
in commented-out code. Followup to r48027.
Mon Oct 20 02:23:27 2014 Nobuyoshi Nakada <[email protected]>
* variable.c (rb_ivar_get), vm_insnhelper.c (vm_getivar): improve
instance variable retrieval performance by checking ruby_verbose
before call of rb_warning and evaluation of its argument.
[ruby-core:65786] [Feature #10396]
Sun Oct 19 23:31:29 2014 CHIKANAGA Tomoyuki <[email protected]>
* lib/unicode_normalize.rb: (unicode_normalize!): change method name.
catch up the method name change at r48014. [Feature #10084]
Sun Oct 19 20:05:58 2014 SHIBATA Hiroshi <[email protected]>
* ext/tk/lib/tkextlib/tile/treeview.rb: fix syntax error.
Sun Oct 19 18:39:39 2014 Martin Duerst <[email protected]>
* enc/prelude.rb: Added automatic loading of
lib/unicode_normalize.rb. This makes sure that all
the methods that are available on String are
available without explicit require.
Sun Oct 19 18:35:35 2014 Martin Duerst <[email protected]>
* lib/unicode_normalize/normalize.rb: Added a missing
file extension in require statement.
Sun Oct 19 18:13:13 2014 Martin Duerst <[email protected]>
* common.mk: Added a rule to generate
lib/unicode_normalize/tables.rb. This rule still
needs to be integrated into the overall make process.
Sun Oct 19 17:53:53 2014 Martin Duerst <[email protected]>
* lib/unicode_normalize.rb: Changed to dynamic
loading of actual normalization code and tables.
Sun Oct 19 17:37:37 2014 Martin Duerst <[email protected]>
* lib/unicode_normalize.rb: Small documentation fix.
Sun Oct 19 17:26:26 2014 Martin Duerst <[email protected]>
* lib/unicode_normalize.rb: Added documentation.
Sun Oct 19 11:09:09 2014 Martin Duerst <[email protected]>
* tool/unicode_norm_gen.rb, lib/unicode_normalize.rb:
File name change from lib/unicode_normalize/normalize_tables.rb
to lib/unicode_normalize/tables.rb.
Sun Oct 19 10:12:12 2014 Martin Duerst <[email protected]>
* lib/unicode_normalize.rb: Changing method names, see
https://bugs.ruby-lang.org/issues/10084#note-7
Sun Oct 19 10:10:10 2014 Martin Duerst <[email protected]>
* lib/unicode_normalize.rb: Changing module name.
Sun Oct 19 10:08:08 2014 Martin Duerst <[email protected]>
* lib/unicode_normalize.rb: Changing require statement,
adjusting copyright.
Sun Oct 19 10:04:04 2014 Martin Duerst <[email protected]>
* lib/unicode_normalize.rb: Importing from
https://github.com/duerst/eprun/blob/master/lib/string_normalize.rb.
(removing trailing whitespace, fixing EOLs and adding EOL property)
Sun Oct 19 09:56:56 2014 Martin Duerst <[email protected]>
* tool/unicode_norm_gen.rb: Changed module name.
Sun Oct 19 09:48:48 2014 Martin Duerst <[email protected]>
* lib/unicode_normalize/normalize.rb: Changed module name,
adjusted copyright.
Sun Oct 19 09:38:38 2014 Martin Duerst <[email protected]>
* lib/unicode_normalize/normalize.rb: Importing from
https://github.com/duerst/eprun/blob/master/lib/normalize.rb.
Sat Oct 18 20:40:52 2014 Kazuki Tsujimoto <[email protected]>
* vm_core.h, proc.c, vm_backtrace.c, vm_trace.c:
remove rb_binding_new_with_cfp, and use rb_vm_make_binding instead.
Sat Oct 18 20:38:48 2014 Kazuki Tsujimoto <[email protected]>
* vm_core.h, vm.c, proc.c: fix GC mark miss on bindings.
[ruby-dev:48616] [Bug #10368]
* test/ruby/test_eval.rb: add a test code.
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