-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
14633 lines (9307 loc) · 502 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
Tue Sep 4 07:48:35 2012 Martin Bosslet <[email protected]>
* test/openssl/test_asn1_rb:
test/openssl/test_ssl_session.rb:
test/openssl/test_x509name.rb:
test/openssl/test_buffering.rb:
test/openssl/test_x509cert.rb:
test/openssl/test_ssl.rb: Refactor code that leads to warnings on
Ruby CI.
Tue Sep 4 07:02:56 2012 Martin Bosslet <[email protected]>
* test/openssl/utils.rb: Use DSS1 as DSA signature digest for all
OpenSSL versions < 1.0.0.
[Feature #6946] [ruby-core:47405]
Mon Sep 3 21:22:37 2012 Nobuyoshi Nakada <[email protected]>
* include/ruby/ruby.h (rb_float_value): suppress warnings.
[ruby-core:47406][Bug #6971]
Mon Sep 3 14:49:03 2012 Nobuyoshi Nakada <[email protected]>
* lib/matrix.rb (Vector#magnitude): accumulate squares of absolute
values to fix for complex vector. [ruby-dev:46100] [Bug #6966]
Mon Sep 3 10:09:36 2012 Martin Bosslet <[email protected]>
* ext/openssl/extconf.rb: Detect OpenSSL_FIPS macro
ext/openssl/ossl.c: Expose OpenSSL::OPENSSL_FIPS constant to
indicate whether OpenSSL runs in FIPS mode.
test/openssl/test_pkey_dh.rb: Generate 256 bit keys for
non-FIPS installations to improve test performance (e.g. for
rubyci).
test/openssl/utils.rb: Replace DSS1 as certificate signature
digest with SHA1 for FIPS installations when using DSA by
introducing TestUtils::DSA_SIGNATURE_DIGEST.
test/openssl/test_x509cert.rb:
test/openssl/test_x509crl.rb:
test/openssl/test_x509req.rb: Use DSA_SIGNATURE_DIGEST
NEWS: Introduce OpenSSL::OPENSSL_FIPS
These changes allow running the OpenSSL tests in FIPS mode
while keeping a high performance for non-FIPS installations.
Introduction of OpenSSL::OPENSSL_FIPS allows for applications
to react to special requirements when using OpenSSL in FIPS mode.
[Feature #6946] [ruby-core:47345]
Sun Sep 2 21:46:28 2012 Martin Bosslet <[email protected]>
* test/openssl/utils.rb: Use a cached DH key instead of generating a
new one each time.
Sun Sep 2 05:41:28 2012 NARUSE, Yui <[email protected]>
* lib/webrick/ssl.rb (WEBrick::Config::SSL): add new key
SSLTmpDhCallback to set SSLContext#tmp_dh_callback.
* lib/webrick/ssl.rb (WEBrick::GenericServer#setup_ssl_context):
follow above.
Sat Sep 1 18:50:50 2012 Akinori MUSHA <[email protected]>
* lib/set.rb (#initialize_copy, #eql): Use instance_variable_get
instead of instance_eval.
Fri Aug 31 21:47:56 2012 Kouhei Sutou <[email protected]>
* lib/test/unit/test-unit.gemspec: Make test/unit default gem.
[Feature #6875] [ruby-dev:46051]
Fri Aug 31 18:35:02 2012 Martin Bosslet <[email protected]>
* ext/openssl/extconf.rb: Check existence of OPENSSL_NPN_NEGOTIATED.
ext/ossl_ssl.c: Support Next Protocol Negotiation. Protocols to be
advertised by the server can be set in the SSLContext by using
SSLContext#npn_protocols=, protocol selection on the client is
supported by providing a selection callback with
SSLContext#npn_select_cb. The protocol that was finally negotiated
is available through SSL#npn_protocol.
test/openssl/test_ssl.rb: Add tests for Next Protocol Negotiation.
NEWS: add news about NPN support.
[Feature #6503] [ruby-core:45272]
Fri Aug 31 17:38:43 2012 Akinori MUSHA <[email protected]>
* lib/set.rb (Set#{each,reject!,select!}, SortedSet#each): Pass
the original block through instead of creating one that only
yields the passed argument.
Fri Aug 31 16:23:20 2012 Akinori MUSHA <[email protected]>
* lib/ipaddr.rb: Introduce several new error classes where only
ArgumentError and StandardError were used. IPAddr::Error is
their common ancestor class that inherits from ArgumentError for
backward compatibility. Submitted by Jon Daniel. Fixes #173 on
GitHub.
Fri Aug 31 14:51:27 2012 NAKAMURA Usaku <[email protected]>
* test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_to_f): added
for previous commit.
Fri Aug 31 14:32:05 2012 NAKAMURA Usaku <[email protected]>
* ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): use self's sign to
determine 0.0 and Inf's sign instead of internal double value's.
Reported by phasis68 (Heesob Park) at [ruby-core:47381] [Bug #6955]
Fri Aug 31 14:31:17 2012 Nobuyoshi Nakada <[email protected]>
* template/id.h.tmpl, tool/id2token.rb: make id.h independent from
parse.h, and make parse.c dependent on it instead.
Fri Aug 31 14:27:39 2012 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (create_makefile): fix race conditions at install-ext.
target files need to depend on destination directory timestamp
files, not phony targets.
Fri Aug 31 14:03:45 2012 Nobuyoshi Nakada <[email protected]>
* vm_trace.c (clean_hooks): do not access freed memory.
* vm_trace.c (rb_threadptr_exec_event_hooks): fix uninitialized state
when no events is executed.
Thu Aug 30 18:21:51 2012 Tanaka Akira <[email protected]>
* io.c (rb_io_close): call rb_last_status_clear.
Thu Aug 30 16:17:52 2012 Nobuyoshi Nakada <[email protected]>
* ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): check underflow since
strtod() sets errno to ERANGE at underflow too. [ruby-core:47342]
[Bug #6944]
Thu Aug 30 12:44:43 2012 Akinori MUSHA <[email protected]>
* lib/set.rb (Set#{<,>,<=,>=}): Define comparison operators as
shorthand for the {proper_}{subset?,superset?} methods (finally).
Given a push by Alexander E. Fischer.
Thu Aug 30 09:21:01 2012 NARUSE, Yui <[email protected]>
* lib/uri/ftp.rb (URI::FTP#initialize): raise InvalidURIError if "//"
is not present [ruby-core:47344] [Bug #6945]
Thu Aug 30 07:45:12 2012 Luis Lavena <[email protected]>
* test/ruby/test_file_exhaustive.rb: fix test introduced in r36811 for
posix environments where HOME is not defined. [ruby-core:47322]
Wed Aug 29 23:42:59 2012 Tanaka Akira <[email protected]>
* internal.h (rb_last_status_clear): declared.
* process.c (rb_last_status_clear): exported.
(rb_f_system): call rb_last_status_clear.
* io.c (rb_f_backquote): call rb_last_status_clear.
Wed Aug 29 22:01:15 2012 Tanaka Akira <[email protected]>
* process.c (rb_f_system): check failures of waitpid.
[ruby-talk:398687]
Wed Aug 29 15:03:04 2012 Nobuyoshi Nakada <[email protected]>
* configure.in (LIBDIR_BASENAME): use configured libdir value to fix
--enable-load-relative on systems where libdir is not default value,
overridden in config.site files. [ruby-core:47267] [Bug #6903]
* ruby.c (ruby_init_loadpath_safe): ditto.
Wed Aug 29 14:34:41 2012 NARUSE, Yui <[email protected]>
* addr2line.c: SIZE_MAX is defined in stdint.h, so r36755 breaks
32bit FreeBSD. [ruby-core:47360] [Bug #6948]
Wed Aug 29 04:50:04 2012 Martin Bosslet <[email protected]>
* test/openssl/utils.rb
test/openssl/test_pair.rb
test/openssl/test_pkey_dh.rb: Use 1024 bit DH parameters to satisfy
OpenSSL FIPS requirements. Patch by Vit Ondruch.
[Bug #6938] [ruby-core:47326]
Tue Aug 28 22:31:49 2012 CHIKANAGA Tomoyuki <[email protected]>
* insns.def (checkmatch): suppress warnings. [ruby-core:47339]
[Bug #6930]
Tue Aug 28 20:03:54 2012 NARUSE, Yui <[email protected]>
* configure.in: Fixing Haiku R1/alpha3 build with gcc-4.4.4.
- omit ANSI standard flags to compile socket extension where
anonymous union is required.
- remove redundant -be flags.
by Takashi Toyoshima <[email protected]>
https://github.com/ruby/ruby/pull/168
Tue Aug 28 11:32:37 2012 Yuki Yugui Sonoda <[email protected]>
* nacl/GNUmakefile.in (.rbconfig.time): r36828 was incomplete.
It did not run correctly on clean build.
Tue Aug 28 09:25:20 2012 NAKAMURA Usaku <[email protected]>
* win32/Makefile.sub (Makefile): make to depend on common.mk, to
stop and force to re-run make process when common.mk is changed.
Mon Aug 27 20:19:49 2012 Hiroshi Shirosaki <[email protected]>
* test/etc/test_etc.rb (TestEtc#test_getgrgid): fix for non unique GID.
No unixen systems guarantee that GID is unique. Etc.getgrgid would
not return the first entry in the order of Etc.group for shared GID.
[ruby-core:47312] [Bug #6935]
Mon Aug 27 18:19:36 2012 Koichi Sasada <[email protected]>
* include/ruby/ruby.h (rb_float_value): optimize it.
This technique was pointed by shinichiro.hamaji
<http://shinh.skr.jp/m/?date=20120825#p02>.
Mon Aug 27 15:08:25 2012 Yuki Yugui Sonoda <[email protected]>
* common.mk (vm_trace.o): Added a missing dependency.
Sun Aug 26 09:29:32 2012 Yuki Sonoda (Yugui) <[email protected]>
* nacl/GNUmakefile.in (package): make package should install
example.html for nacl build
Patch by Takashi Toyoshima <toyoshim AT gmail.com>.
Sun Aug 26 09:22:33 2012 Yuki Sonoda (Yugui) <[email protected]>
* nacl/GNUmakefile.in (CC, LD, NM, AR, AS, RANLIB, OBJDUMP, OBJCOPY)
Rewrites these variables instead of PATH.
NaCl port uses a toolchain which is specified by NACL_SDK_ROOT
environment variable. Originally, NaCl build added the toolchain
under the NACL_SDK_ROOT to the PATH. But updating PATH doesn't work
on Mac.
(RBCONFIG): Replaces configs with the variable updates above.
* configure.in: Thus it is no longer necessary to check $PATH.
Based on a patch by Takashi Toyoshima <toyoshim AT gmail.com>.
Sun Aug 26 16:53:00 2012 Nobuyoshi Nakada <[email protected]>
* insns.def (checkmatch): suppress warnings. [ruby-core:47310]
[Bug #6930]
* vm_core.h (VM_FRAME_TYPE_FINISH_P): ditto.
Fri Aug 24 15:42:28 2012 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (create_makefile): use timestamp for destination
directories to make them before making or copying files there.
[ruby-dev:46067] [Bug #6904]
Fri Aug 24 12:40:15 2012 Luis Lavena <[email protected]>
* configure.in (mingw): add shlwapi to the list of dependency
libs for Windows.
* win32/Makefile.sub (EXTSOLIBS): ditto.
* internal.h: declare internal functions rb_w32_init_file,
rb_file_expand_path_internal and rb_file_expand_path_fast.
* file.c (Init_File): invoke Windows initialization rb_w32_init_file
* win32/file.c (rb_file_load_path_internal): new function.
Windows-specific implementation that replaces file_expand_path.
[Bug #6836][ruby-core:46996]
* win32/file.c (rb_w32_init_file): new function. Initialize codepage
cache for faster conversion encodings lookup.
* file.c (file_expand_path): rename to rb_file_expand_path_internal.
Conditionally exclude from Windows.
* file.c (rb_file_expand_path_fast): new function. delegates to
rb_file_expand_path_internal without performing a hit to the
filesystem.
* file.c (file_expand_path_1): use rb_file_expand_path_internal without
path expansion (used by require).
* file.c (rb_find_file_ext_safe): ditto.
* file.c (rb_find_file_safe): ditto.
* load.c (rb_get_expanded_load_path): use rb_file_expand_path_fast.
* load.c (rb_feature_provided): ditto.
* file.c (rb_file_expand_path): use rb_file_expand_path_internal with
path expansion.
* file.c (rb_file_absolute_path): ditto.
* test/ruby/test_file_exhaustive.rb: new tests to exercise
rb_file_expand_path_internal implementation and compliance with
existing behaviors.
Fri Aug 24 07:35:24 2012 Eric Hodel <[email protected]>
* lib/net/http/backward.rb (class Net): Restored Net::HTTPSession to
fix backwards-compatibility with ancient Net::HTTP. [Bug #6889]
Thu Aug 23 20:58:55 2012 Kazuhiro NISHIYAMA <[email protected]>
* common.mk: support `make id.h` without `rm .id.h.time` after
`rm id.h`.
Thu Aug 23 20:48:45 2012 NAKAMURA Usaku <[email protected]>
* test/ruby/test_fixnum.rb (TestFixnum#test_singleton_method): new test.
* test/ruby/test_bignum.rb (TestBignum#test_singleton_method): ditto.
* test/ruby/test_float.rb (TestFloat#test_singleton_method): ditto.
* test/ruby/test_symbol.rb (TestSymbol#test_singleton_method): ditto.
Thu Aug 23 20:34:32 2012 NAKAMURA Usaku <[email protected]>
* class.c (singleton_class_of): flonum can't have singleton class.
* vm.c (vm_define_method): flonum can't have singleton method.
Thu Aug 23 19:18:33 2012 NAKAMURA Usaku <[email protected]>
* common.mk (win32/*): macro RUBY_H_INCLUDES is not defined there,
so need to move dependency rules under the definition of it.
Thu Aug 23 19:16:20 2012 NAKAMURA Usaku <[email protected]>
* win32/Makefile.sub: refactoring. remove unused rules, and update
some rules which are not used usually to fit current macros.
Thu Aug 23 16:46:10 2012 Nobuyoshi Nakada <[email protected]>
* file.c (rb_find_file_ext_safe, rb_find_file_safe): default to
US-ASCII for encdb and transdb.
* load.c (search_required): keep encoding of feature name. set
loading path to filesystem encoding. [Bug #6377][ruby-core:44750]
* ruby.c (add_modules, require_libraries): assume default external
encoding as well as ARGV.
Thu Aug 23 16:20:04 2012 Koichi Sasada <[email protected]>
* include/ruby/ruby.h: introduce flonum technique for
64bit CPU environment (sizeof(double) == sizeof(VALUE)).
flonum technique enables to avoid double object creation
if the double value d is in range about between
1.72723e-77 < |d| <= 1.15792e+77 or 0.0.
flonum Float value is immediate and their lowest two bits
are b10.
If flonum is activated, then USE_FLONUM macro is 1.
I'll write detailed in this technique on
https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/Flonum_tech
* benchmark/bmx_temp.rb: add an benchmark for simple
Float calculation.
* gc.c (id2ref, rb_obj_id): add flonum Float support.
* include/ruby/intern.h: move decl of rb_float_new(double)
to include/ruby/ruby.h.
* insns.def, vm.c, vm_insnhelper.c: add flonum optimization
and simplify source code.
* vm_insnhelper.h (FLONUM_2_P): added.
* marshal.c: support flonum output.
* numeric.c (rb_float_new_in_heap): added.
* parse.y: support flonum.
* random.c: ditto.
Thu Aug 23 16:12:40 2012 NAKAMURA Usaku <[email protected]>
* lib/mkmf.rb (create_makefile): add dependency to header files when
depend files don't exist. now we can remove simple (and often
wrong) depend files in most cases.
Thu Aug 23 16:02:20 2012 Koichi Sasada <[email protected]>
* ext/date/depend: add dependency to $(ruby_headers).
Thu Aug 23 12:51:39 2012 Shugo Maeda <[email protected]>
* insns.def (invokesuper): reverted r36640 partially to make super
in a thread work correctly. [ruby-core:47284] [Bug #6907]
* test/ruby/test_super.rb: related test.
Thu Aug 23 12:30:20 2012 NAKAMURA Usaku <[email protected]>
* win32/configure.bat: support --with(out)?-ext(ensions) options.
Thu Aug 23 11:52:04 2012 NARUSE, Yui <[email protected]>
* configure.in: Fixing Haiku build.
- -lbe is not required for linking
- stack protector doesn't work for now because of the default gcc's
bug
by Takashi Toyoshima <[email protected]>
https://github.com/ruby/ruby/pull/167
* signal.c (ruby_signal): haiku doesn't have SIGBUS.
Thu Aug 23 11:32:44 2012 NAKAMURA Usaku <[email protected]>
* test/open-uri/test_open-uri.rb (TestOpenURI#test_read_timeout): this
test expects that the server thread will be killed in sleep, but 0.01
sec is too short to reach there.
Thu Aug 23 10:49:28 2012 NARUSE, Yui <[email protected]>
* configure.in: use the value of --with-opt-dir on building ruby
itself. [ruby-dev:46064] [Bug #6900]
Thu Aug 23 10:36:35 2012 NAKAMURA Usaku <[email protected]>
* common.mk (ID_H_TARGET): revert a part of r36724 and r36751. they
break mswin build from clean source.
Thu Aug 23 02:37:35 2012 Aaron Patterson <[email protected]>
* ext/syck: removed. Fixes [ruby-core:43360]
* test/syck: removed.
* lib/yaml.rb: only require psych, show a warning if people try to set
the engine to syck.
Thu Aug 23 01:46:53 2012 Aaron Patterson <[email protected]>
* insns.def: search up the cf stack for an object that is an instance
of the recipient class. Fixes [ruby-core:47186]
* test/ruby/test_super.rb: related test.
Wed Aug 22 19:46:24 2012 Tadayoshi Funaba <[email protected]>
* ext/date/date_core.c: [ruby-core:47266].
Wed Aug 22 19:41:19 2012 Tadayoshi Funaba <[email protected]>
* ext/date/date_core.c: [ruby-core:47226].
Wed Aug 22 16:57:04 2012 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (configuration): extract least ruby headers list as
ruby_headers, so depend files can use default dependency
explicitly.
Wed Aug 22 15:27:50 2012 Koichi Sasada <[email protected]>
* vm_insnhelper.c (vm_setup_method): fix last commit of
vm_insnhelper.c (r36771). [ruby-dev:46065] [Bug #6901]
Should not disable tail call opt on FINISH_FRAME.
This flag should be propagated correctly.
Wed Aug 22 14:05:23 2012 Koichi Sasada <[email protected]>
* vm_trace.c: support TracePoint. [ruby-trunk - Feature #6895]
* test/ruby/test_settracefunc.rb: add tests for above.
* proc.c (rb_binding_new_with_cfp): add an internal function.
* vm.c (rb_vm_control_frame_id_and_class): add an internal function.
* vm_trace.c: add rb_add_event_hook2() and rb_thread_add_event_hook2().
Give us the good name for them!
Wed Aug 22 11:38:16 2012 URABE Shyouhei <[email protected]>
* .travis.yml (before_script): Turned out that make -j is broken.
Wed Aug 22 11:23:35 2012 Shugo Maeda <[email protected]>
* vm_insnhelper.c (vm_setup_method): should not enable tail call
optimization for frames with VM_FRAME_FLAG_FINISH.
[ruby-dev:46065] [Bug #6901]
Wed Aug 22 11:20:47 2012 NARUSE, Yui <[email protected]>
* lib/rubygems/test_case.rb: run test with psych if exist.
Thu Aug 16 12:09:51 2012 Yuki Yugui Sonoda <[email protected]>
* nacl/pepper_main.c (init_loadpath): Pushes the correct load path on
other architectures than x86_64. Fixes #6873.
Wed Aug 15 19:37:33 2012 Yuki Yugui Sonoda <[email protected]>
* configure.in (ac_cv_func_shutdown): shutdown(2) has a dummy
implementation but has no declaration and does not work in
NativeClient SDK pepper_20.
Wed Aug 15 19:29:29 2012 Yuki Yugui Sonoda <[email protected]>
* common.mk (vm_backtrace.o): Added missing dependencies.
* ext/nkf/depend (nkf.o): ditto.
* ext/ripper/depend (ripper.o) ditto.
Wed Aug 22 07:27:00 2012 NARUSE, Yui <[email protected]>
* lib/cgi/util.rb (CGI.escapeHTML): use '
[ruby-core:47221] [Bug #6861]
Tue Aug 21 21:59:22 2012 Ayumu AIZAWA <[email protected]>
* lib/observer.rb: fix typo. https://github.com/ruby/ruby/pull/162 by
unsymbol (Philip Cunningham).
Tue Aug 21 20:30:06 2012 Benoit Daloze <[email protected]>
* test/fileutils/test_fileutils.rb (TestFileUtils#teardown):
do not assume cwd is TMPROOT and never remove current directory.
[ruby-core:47224][Bug #6884]
Tue Aug 21 17:29:56 2012 NAKAMURA Usaku <[email protected]>
* addr2line.c (fill_lines): need check and cast of the file size of
target binary because there are some platforms which off_t > size_t.
Tue Aug 21 17:07:58 2012 URABE Shyouhei <[email protected]>
* .travis.yml (compiler): [experimental] clang support.
Tue Aug 21 15:44:27 2012 NAKAMURA Usaku <[email protected]>
* ext/dl/lib/dl/func.rb (DL::Function#bind): fixes an error in
test/dl/test_import.rb (DL::TestImport#test_carried_function)
introduced by r36718.
the instance of the anonymous class which wraps the block should have
same methods and instance variables of self.
Tue Aug 21 14:29:22 2012 NAKAMURA Usaku <[email protected]>
* win32/Makefile.sub (scriptbin.mk): no need to include twice.
Tue Aug 21 10:52:08 2012 NAKAMURA Usaku <[email protected]>
* test/unit/test.rb (Test::Unit::ProxyError): new exception class to
wrap exceptions raised in workers in parallel test mode.
* test/unit/parallel.rb (Test::Unit::Worker#puke): use above wrapper
exception.
[Bug #6882] [ruby-dev:46054]
Tue Aug 21 10:40:06 2012 Koichi Sasada <[email protected]>
* test_continuation.rb (tracing_with_thread_set_trace_func):
fix to use Thread#set_trace_func(nil), not set_trace_func(nil).
Tue Aug 21 09:32:41 2012 Ryan Davis <[email protected]>
* lib/minitest/*: Imported minitest 3.3.0 (r7676)
* test/minitest/*: ditto
Tue Aug 21 09:05:32 2012 NAKAMURA Usaku <[email protected]>
* test/testunit/tests_for_parallel/ptest_forth.rb: added a test case
which causes an error.
* test/testunit/test_parallel.rb: follow above change.
see [Bug #6882]
Tue Aug 21 05:43:00 2012 James Edward Gray II <[email protected]>
* lib/csv.rb: Fixes #161 on github
* lib/csv.rb: You can now specify a pattern for :skip_lines.
Matching lines will not be passed to the CSV parser.
* lib/csv.rb: Patch by Christian Schwartz.
Tue Aug 21 05:25:41 2012 Eric Hodel <[email protected]>
* re.c (rb_reg_initialize_m): Forgot to update output for or'd-options
example.
Tue Aug 21 05:18:03 2012 Eric Hodel <[email protected]>
* re.c (rb_reg_initialize_m): Update example to show that regexp
options use | an not || to avoid confusion.
Mon Aug 20 23:02:27 2012 Nobuyoshi Nakada <[email protected]>
* parse.y: more descriptive token names in syntax error messages.
Mon Aug 20 20:36:30 2012 Nobuyoshi Nakada <[email protected]>
* vm_insnhelper.c (vm_call_method): follow iclasses as klass in cfp
but not included modules. [ruby-core:47241] [Bug #6891]
* vm_insnhelper.c (vm_call_bmethod): pass defined_class to follow
proper ancestors. [ruby-core:47241] [Bug #6891]
Mon Aug 20 11:40:27 2012 Kazuhiro NISHIYAMA <[email protected]>
* common.mk: fix failed to make with -j2.
https://gist.github.com/3397935
Mon Aug 20 10:51:01 2012 Shota Fukumori <[email protected]>
* lib/test/unit.rb, lib/test/unit/parallel.rb:
generate error message (String) in parallel.rb instead of
marshalling Exception. Fixes [Bug #6882] [ruby-dev:46054]
Sun Aug 19 01:24:32 2012 Ayumu AIZAWA <[email protected]>
* enum.c: fix docs. https://github.com/ruby/ruby/pull/129 by
richardkmichael (Richard Michael).
Sun Aug 19 00:47:26 2012 Ayumu AIZAWA <[email protected]>
* lib/fileutils.rb: fix typo.
https://github.com/ruby/ruby/pull/155 by simonc (Simon COURTOIS).
Sat Aug 18 09:57:46 2012 Nobuyoshi Nakada <[email protected]>
* enc/depend: fix inplace-build condition. enc.mk is generated with
setting $srcdir to enc, but pwd is still top build directory.
[ruby-core:47236] [Bug #6888]
Fri Aug 17 23:28:54 2012 Nobuyoshi Nakada <[email protected]>
* object.c (rb_any_to_s, rb_obj_inspect): preserve encodings of class
name and instance variable names.
Fri Aug 17 12:39:33 2012 NAKAMURA Usaku <[email protected]>
* ext/dl/lib/dl/func.rb (DL::Function#bind): allow to return/break from
the callback method. (Fiddle already allows it.)
[Bug #6389] [ruby-dev:45604]
Thu Aug 16 19:54:24 2012 Koichi Sasada <[email protected]>
* vm_trace.c, vm_core.h: simplify tracing mechanism.
(1) add rb_hook_list_t data structure which includes
hooks, events (flag) and `need_clean' flag.
If the last flag is true, then clean the hooks list.
In other words, deleted hooks are contained by `hooks'.
Cleanup process should run before traversing the list.
(2) Change check mechanism
See EXEC_EVENT_HOOK() in vm_core.h.
(3) Add `raw' hooks APIs
Normal hooks are guarded from exception by rb_protect().
However, this protection is overhead for too simple
functions which never cause exceptions. `raw' hooks
are executed without protection and faster.
Now, we only provide registration APIs. All `raw'
hooks are kicked under protection (same as normal hooks).
* include/ruby/ruby.h: remove internal data definition and
macros.
* internal.h (ruby_suppress_tracing), vm_trace.c: rename
ruby_suppress_tracing() to rb_suppress_tracing()
and remove unused function parameter.
* parse.y: fix to use renamed rb_suppress_tracing().
* thread.c (thread_create_core): no need to set RUBY_VM_VM.
* vm.c (mark_event_hooks): move definition to vm_trace.c.
* vm.c (ruby_vm_event_flags): add a global variable.
This global variable represents all of Threads and VM's
event masks (T1#events | T2#events | ... | VM#events).
You can check the possibility kick trace func or not
with ruby_vm_event_flags.
ruby_vm_event_flags is maintained by vm_trace.c.
* cont.c (fiber_switch, rb_cont_call): restore tracing status.
[Feature #4347]
* test/ruby/test_continuation.rb: ditto.
Thu Aug 16 19:15:23 2012 Nobuyoshi Nakada <[email protected]>
* object.c (rb_class_initialize): forbid inheriting uninitialized
class. another class tree not based on BasicObject cannot exist.
[ruby-core:47148][Bug #6863]
Thu Aug 16 11:52:06 2012 Nobuyoshi Nakada <[email protected]>
* test/-ext-/test_printf.rb (Test_SPrintf#test_{taint,untrust}): use
plain object so that the results of to_s and inspect are infected.
[ruby-dev:46053] [Bug #6881]
Thu Aug 16 09:46:07 2012 Nobuyoshi Nakada <[email protected]>
* strftime.c: remove unnecessary macros to check traditional C.
https://github.com/ruby/ruby/pull/46 by lateau (Daehyub Kim).
* vsnprintf.c: remove K&R.
Wed Aug 15 20:47:49 2012 Benoit Daloze <[email protected]>
* object.c (rb_obj_inspect): Kernel#inspect: do not call #to_s. A class
can now benefit from the nice default #inspect even if it defines #to_s.
Also, there is no more unexpected change in #inspect result.
* NEWS: Add note about the change.
* bignum.c, io.c, numeric.c, object.c, proc.c, vm.c (Init_*):
Adapt internal structures (by aliasing #inspect to #to_s) so they
don't rely on the removed behavior (#inspect calling overridden #to_s).
* test/ruby/test_object.rb (test_inspect): add tests for Kernel#inspect.
* lib/pp.rb (class PP): do not call #to_s anymore, as #inspect
no more does (mame).
* test/test_pp.rb (class PPInspectTest): remove related assertion (mame).
[ruby-core:43238][Feature #6130]
* test/drb/drbtest.rb (DRbCore#teardown, DRbAry#teardown):
adapt DRb tests with the new change (shirosaki).
[ruby-core:47182][Bug #6866]
Wed Aug 15 18:05:37 2012 NAKAMURA Usaku <[email protected]>
* lib/test/unit.rb (Test::Unit::Runner#failed): need to delete the
status line if the status is skipped and -q is specified.
Wed Aug 15 16:26:52 2012 Nobuyoshi Nakada <[email protected]>
* sprintf.c (ruby__sfvextra): the result should be infected by the
given strings.
* sprintf.c (ruby__sfvwrite): set buffer length and exclude
uninitialized garbage to get correct coderange.
Wed Aug 15 16:20:09 2012 Nobuyoshi Nakada <[email protected]>
* common.mk (ID_H_TARGET): make timestamp file of id.h so that the
header will not be remade repetitively.
Wed Aug 15 11:39:53 2012 Koichi Sasada <[email protected]>
* vm_trace.c: separate trace_func related functions from
thread.c.
* thread.c: ditto.
* common.mk: add vm_trace.o.
* inits.c: call Init_vm_trace().
Tue Aug 14 16:25:46 2012 Shugo Maeda <[email protected]>
* test/erb/test_erb.rb (test_html_escape): add assertions for the
cases where the argument is not a String.
Tue Aug 14 16:03:31 2012 NAKAMURA Usaku <[email protected]>
* win32/win32.c (check_valid_dir): reject "..." as directory name.
[Bug #6851]
Tue Aug 14 16:02:51 2012 NAKAMURA Usaku <[email protected]>
* test/ruby/test_file_exhaustive.rb
(TestFileExhaustive#test_stat_dotted_prefix): added.
Tue Aug 14 15:39:09 2012 NAKAMURA Usaku <[email protected]>
* test/ruby/test_file_exhaustive.rb
(TestFileExhaustive#test_stat_drive_root): added.
Tue Aug 14 10:38:17 2012 NARUSE, Yui <[email protected]>
* lib/erb.rb (ERB::Util.html_escape): fix r36687: call to_s before
passing it to CGI.escapeHTML.
Mon Aug 13 13:13:19 2012 Shugo Maeda <[email protected]>
* lib/erb.rb (ERB::Util.html_escape): use CGI.escapeHTML to escape
single quotes. [ruby-core:47138] [Bug #6861]
Sun Aug 12 11:57:20 2012 Kazuki Tsujimoto <[email protected]>
* vm.c (invoke_block_from_c): fix unintentional block passing.
[ruby-dev:45071] [Bug #5832]
Fri Aug 10 08:41:28 2012 Eric Hodel <[email protected]>
* gc.c (gc_malloc_allocated_size): RDoc does not process macros, so
mention this method is only available when ruby is built with
CALC_EXACT_MALLOC_SIZE
* gc.c (gc_malloc_allocations): ditto
Thu Aug 9 23:46:51 2012 Nobuyoshi Nakada <[email protected]>
* tool/mkrunnable.rb: see build_os instead of target arch for
cross-compiling.
* configure.in (MINIRUBY): use real path for include path.
* template/fake.rb.in (builddir): remove duplications
Thu Aug 9 20:03:11 2012 Hiroshi Shirosaki <[email protected]>
* test/ruby/test_file_exhaustive.rb
(TestFileExhaustive#test_stat_special_file): add a test.
GetFileAttributesExW fails to get attributes of special files
such as pagefile.sys.
* win32/win32.c (check_valid_dir): for performance, check the path
by FindFirstFileW only if the path contains "..."
* win32/win32.c (winnt_stat): use GetFileAttributesExW instead of
FindFirstFileW since GetFileAttributesExW is faster.
Based on the patch by Dusan D. Majkic.
[ruby-core:47083] [Feature #6845]
Thu Aug 9 18:33:46 2012 Nobuyoshi Nakada <[email protected]>
* ruby.c (proc_options): show version only once even if -v and
--version are given together.
http://twitter.com/d6rkaiz/status/233491797085671424
Thu Aug 9 12:37:22 2012 KOSAKI Motohiro <[email protected]>
* test/openssl/test_config.rb (OpenSSL#test_constants): skip this
test if platform is Mac OS X or Windows. [Bug #6830]
Wed Aug 8 22:51:30 2012 Nobuyoshi Nakada <[email protected]>
* vm_eval.c (eval_under): singletons other than special constants
don't need cref-scope hack.
Wed Aug 8 22:45:38 2012 Nobuyoshi Nakada <[email protected]>
* common.mk (.y.h): split from .y.c rule to manage dependency on
parse.h. [ruby-core:46741] [Bug #6789]
* common.mk (id.h): keep old file unless changed.
Wed Aug 8 17:11:20 2012 Koichi Sasada <[email protected]>
* compile.c (ADD_INSNL): make ADD_INSNL as alias of ADD_INSN1.
Wed Aug 8 17:08:14 2012 Koichi Sasada <[email protected]>
* bootstrap/test_exception.rb: fix a last committed test.
Wed Aug 8 16:27:58 2012 Koichi Sasada <[email protected]>
* compile.c, insns.def (checkmatch):
remove checkincludearray instruction and
add new instruction checkmatch.
This change is to solve
[Bug #4438] "rescue args type check omitted".
* iseq.c: increment ISEQ_MAJOR_VERSION because removal of
checkincludearray instruction.
* vm_core.h: add several definitions for
the checkmatch instruction.
* vm_insnhelper.c (check_match): added.
* bootstraptest/test_exception.rb: add a test.
* test/ruby/test_exception.rb: ditto.
Wed Aug 8 05:51:20 2012 Eric Hodel <[email protected]>
* proc.c (method_clone): Added documentation. Patch by Robin Dupret.
Fixes #152 on github.
Tue Aug 7 20:19:29 2012 NARUSE, Yui <[email protected]>
* ext/readline/readline.c (Init_readline): rl_catch_signals=0 returns
back. Without this, on FreeBSD9 and readline 6.2 irb can't catch ^C.
[Bug #5423]
Tue Aug 07 20:12:39 2012 Koichi Sasada <[email protected]>
* vm_exec.c, insns.def (leave): solve problems on
OPT_CALL_THREADED_CODE.
Catch up finish frame structure on OPT_CALL_THREADED_CODE.
* vm_core.h: add rb_thread_t#retval for temporary space on
OPT_CALL_THREADED_CODE.
* vm.c (th_init): clear rb_thread_t#retval as Qundef.
* vm_dump.c (rb_vmdebug_debug_print_pre): fix debug print format.
Tue Aug 7 11:58:27 2012 NAKAMURA Usaku <[email protected]>
* test/ruby/test_require.rb (TestRequire#test_require_twice): added.
Tue Aug 7 11:35:37 2012 Shugo Maeda <[email protected]>
* vm_method.c (rb_redefine_opt_method): use RCLASS_ORIGIN to avoid
SEGV when a module-prepended class is refined.
Tue Aug 7 10:46:37 2012 NAKAMURA Usaku <[email protected]>
* test/ruby/test_file_exhaustive.rb
(TestFileExhaustive#test_expand_path*): refactoring. split the method
into some chunks of the same kind of tests.
Tue Aug 7 00:31:09 2012 Nobuyoshi Nakada <[email protected]>
* class.c (rb_special_singleton_class_of): utility function.
* vm_eval.c (eval_under): special deal for class variable scope with
instance_eval.
* vm_eval.c (rb_obj_instance_eval, rb_obj_instance_exec): allow method
definition in instance_eval of special constants. [ruby-core:28324]
[Bug #2788]
Tue Aug 7 00:23:58 2012 Nobuyoshi Nakada <[email protected]>
* variable.c (CVAR_LOOKUP): split into helper functions.
Mon Aug 6 19:15:11 2012 Masaki Suketa <[email protected]>
* test/win32ole/test_win32ole_variant.rb: setting WIN32OLE.locale
to pass some assertion. Thanks to Hiroshi Shirosaki.
[ruby-core:46873][Bug #6814]
Mon Aug 6 15:54:50 2012 Shugo Maeda <[email protected]>
* internal.h, class.c, eval.c, insns.def: find the appropriate
receiver for super called in instance_eval. If such a receiver is
not found, raise NoMethodError. [ruby-dev:39772] [Bug #2402]
Mon Aug 6 14:54:38 2012 Shugo Maeda <[email protected]>
* include/ruby/ruby.h, eval.c, vm_insnhelper.c: fix typo.
Mon Aug 6 13:13:58 2012 Nobuyoshi Nakada <[email protected]>
* vm_eval.c (vm_call_super): since cfp->klass is always class or
iclass, no search from method entry.
* insns.def (defined): now should use klass in the current control
frame to search superclass, not me->klass. reported by naruse.
Mon Aug 6 11:19:19 2012 NAKAMURA Usaku <[email protected]>
* test/etc/test_etc.rb (TestEtc#test_getpwuid): `s' is never set to nil.
Mon Aug 6 11:08:48 2012 NAKAMURA Usaku <[email protected]>
* test/syslog/test_syslog_logger.rb: skip unless Syslog module is
available.
Mon Aug 6 00:40:54 2012 Nobuyoshi Nakada <[email protected]>
* ext/bigdecimal/bigdecimal.c (BigMath_s_log): fix format specifier.
Mon Aug 6 00:39:24 2012 Nobuyoshi Nakada <[email protected]>
* include/ruby/ruby.h (NUM2ULONG): optimize by inline as well as
NUM2LONG, and cast to unsigned long explicitly for the platforms
where SIZEOF_VALUE is larger than SIZEOF_LONG.
* include/ruby/ruby.h (NUM2SSIZET): fix type to cast.
Sun Aug 5 21:10:36 2012 Narihiro Nakamura <[email protected]>
* gc.c : if ENABLE_VM_OBJSPACE is 1, rest_sweep is not defined.
remove unused declarations. [ruby-core:47004] [Bug #6837]
Sun Aug 5 19:31:57 2012 Narihiro Nakamura <[email protected]>
* gc.c: just move functions and so on. I don't touch any internal
implementation.
Sun Aug 5 13:22:29 2012 NARUSE, Yui <[email protected]>
* configure.in: use gcc-4.2 prior to clang, gcc, and cc if exist for
the use of Snow Leopard's old clang. see also r36594, r36610, r36611.
Sun Aug 5 06:55:10 2012 Tadayoshi Funaba <[email protected]>
* ext/date/date_{core,strftime}.c: [ruby-core:46990].
Sat Aug 4 22:56:20 2012 Narihiro Nakamura <[email protected]>