-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
18446 lines (11724 loc) · 617 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
Thu Feb 20 12:58:45 2014 Tanaka Akira <[email protected]>
* process.c (READ_FROM_CHILD): Apply the last hunk of
0001-process.c-avoid-EINTR-from-Process.spawn.patch written by
Eric Wong in [Bug #8770].
Thu Feb 20 12:58:45 2014 Eric Wong <[email protected]>
* process.c (send_child_error): retry write on EINTR to fix
occasional Errno::EINTR from Process.spawn.
* process.c (recv_child_error): retry read on EINTR to fix
occasional Errno::EINTR from Process.spawn.
Thu Feb 20 12:24:59 2014 Eric Hodel <[email protected]>
* lib/rinda/ring.rb (Rinda::RingFinger#make_socket): Use
ipv4_multicast_ttl option for portability.
Thu Feb 20 10:19:40 2014 Tanaka Akira <[email protected]>
* ext/socket/option.c: IP_MULTICAST_LOOP and IP_MULTICAST_TTL socket
option takes a byte on OpenBSD.
Fixed by Jeremy Evans. [ruby-core:59496] [Bug #9350]
Wed Feb 19 15:25:13 2014 Koichi Sasada <[email protected]>
* gc.c (ruby_gc_set_params): don't show obsolete warnings for
RUBY_FREE_MIN/RUBY_HEAP_MIN_SLOTS if
RUBY_GC_HEAP_FREE_SLOTS/RUBY_GC_HEAP_INIT_SLOTS are given.
[Bug #9276]
Wed Feb 19 14:25:55 2014 Koichi Sasada <[email protected]>
* test/ruby/test_gc.rb: ignore warning messages for running with -w
option such as chkbuild.
Wed Feb 19 14:25:55 2014 Koichi Sasada <[email protected]>
* gc.c (get_envparam_double): fix a warning message.
Wed Feb 19 14:25:55 2014 Koichi Sasada <[email protected]>
* gc.c: introduce new environment variable
"RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR" to control major/minor GC
frequency.
Do full GC when the number of old objects is more than R * N
where R is this factor and
N is the number of old objects just after last full GC.
* test/ruby/test_gc.rb: add a test.
Wed Feb 19 07:51:02 2014 Eric Hodel <[email protected]>
* lib/rinda/ring.rb (Rinda::RingFinger#make_socket): Use
ipv4_multicast_loop option for portability. Patch by Jeremy Evans.
[ruby-trunk - Bug #9351]
Mon Feb 17 05:43:20 2014 Nobuyoshi Nakada <[email protected]>
* configure.in: reset LDFLAGS and DLDFLAGS for opt-dir again after
LIBPATHFLAG and RPATHFLAG are set. [ruby-dev:47868] [Bug #9317]
Sun Feb 16 07:13:36 2014 Tanaka Akira <[email protected]>
* configure.in: Fix compilation error.
https://bugs.ruby-lang.org/issues/8358#note-16
Sun Feb 16 07:13:36 2014 Vit Ondruch <[email protected]>
* configure.in: add qouting brackets and append wildcard for the
rest after target_cpu, to properly detect platform for SSE2
instructions. [ruby-core:60576] [Bug #8358]
Sun Feb 16 07:13:36 2014 Nobuyoshi Nakada <[email protected]>
* configure.in: -mstackrealign is necessary for -msse2 working.
[ruby-core:54716] [Bug #8349]
Sun Feb 16 07:13:36 2014 Nobuyoshi Nakada <[email protected]>
* configure.in: -mstackrealign is necessary for -msse2 working.
[ruby-core:54716] [Bug #8349]
* configure.in: use SSE2 instructions to drop unexpected precisions on
other than mingw. [ruby-core:59472] [Bug #8358]
Sun Feb 16 07:13:36 2014 Nobuyoshi Nakada <[email protected]>
* configure.in: use SSE2 instructions for drop unexpected
precisions. [ruby-core:54738] [Bug #8358]
Fri Feb 7 04:19:19 2014 Koichi Sasada <[email protected]>
* gc.c (get_envparam_int): correct warning messsages.
* gc.c (get_envparam_double): ditto.
Fri Feb 7 04:19:19 2014 Koichi Sasada <[email protected]>
* gc.c (get_envparam_int): don't accept a value equals to lowerbound
(changed by last commit) because "" or "foo" (not a number) strings
are parsed as 0. They should be rejected.
* gc.c (get_envparam_double): ditto.
Thu Feb 6 08:23:28 2014 Eric Wong <[email protected]>
* ext/thread/thread.c (rb_szqueue_max_set): use correct queue and
limit wakeups. [Bug #9343][ruby-core:60517]
* test/thread/test_queue.rb (test_sized_queue_assign_max):
test for bug
Thu Feb 6 11:27:39 2014 Eric Hodel <[email protected]>
* lib/rubygems: RubyGems 2.2.2 which contains the following bug fixes:
http://rubygems.rubyforge.org/rubygems-update/History_txt.html#label-2.2.2+%2F+2014-02-05
https://bugs.ruby-lang.org/issues/9489
Thu Feb 6 11:23:59 2014 Koichi Sasada <[email protected]>
* gc.c (ruby_gc_set_params): if RUBY_GC_OLDMALLOC_LIMIT is provided,
then set objspace->rgengc.oldmalloc_increase_limit.
Without this fix, the env variable RUBY_GC_OLDMALLOC_LIMIT
does not work.
* gc.c (get_envparam_int): accept a value equals to lowerbound.
* gc.c (get_envparam_double): ditto.
Wed Feb 5 23:57:05 2014 Charlie Somerville <[email protected]>
* ext/thread/thread.c (rb_szqueue_push): check GET_SZQUEUE_WAITERS
instead of GET_QUEUE_WAITERS to prevent deadlock. Patch by Eric Wong.
[Bug #9302] [ruby-core:59324]
* test/thread/test_queue.rb: add test
Wed Feb 5 23:43:30 2014 NAKAMURA Usaku <[email protected]>
* hash.c (rb_objid_hash): should return `long'. brushup r44534.
* object.c (rb_obj_hash): follow above change.
Wed Feb 5 23:43:30 2014 NAKAMURA Usaku <[email protected]>
* hash.c (rb_any_hash): should treat the return value of rb_objid_hash()
as `long', because ruby assumes the hash value of the object id of
an object is `long'.
this fixes test failures on mswin64 introduced at r44525.
Wed Feb 5 23:43:30 2014 Nobuyoshi Nakada <[email protected]>
* hash.c (rb_objid_hash): return hash value from object ID with a
salt, extract from rb_any_hash().
* object.c (rb_obj_hash): return same value as rb_any_hash().
fix r44125. [ruby-core:59638] [Bug #9381]
Wed Feb 5 22:28:41 2014 Nobuyoshi Nakada <[email protected]>
* vm_insnhelper.c (vm_search_super_method): allow bound method from a
module, yet another method transplanting.
Wed Feb 5 22:28:41 2014 Nobuyoshi Nakada <[email protected]>
* vm_insnhelper.c (vm_search_super_method): when super called in a
bound UnboundMethod generated from a module, no superclass is
found since the current defined class is the module, then call
method_missing in that case. [ruby-core:59619] [Bug #9377]
Wed Feb 5 21:57:40 2014 Nobuyoshi Nakada <[email protected]>
* ext/socket/socket.c (rsock_syserr_fail_host_port): add errno
argument version anduse rb_syserr_fail_str() instead of
rb_sys_fail_str() with restoring errno.
* ext/socket/socket.c (rsock_syserr_fail_path): ditto, and
rb_syserr_fail().
* ext/socket/socket.c (rsock_sys_fail_sockaddr): ditto, use
rsock_syserr_fail_raddrinfo().
* ext/socket/socket.c (rsock_sys_fail_raddrinfo): ditto.
* ext/socket/socket.c (setup_domain_and_type): ditto.
Wed Feb 5 21:57:40 2014 Eric Wong <[email protected]>
* ext/socket/socket.c (rsock_sys_fail_host_port): save and restore errno
before calling rb_sys_fail_str to prevent [BUG] errno == 0.
Patch by Eric Wong. [ruby-core:59498] [Bug #9352]
* ext/socket/socket.c (rsock_sys_fail_path): ditto
* ext/socket/socket.c (rsock_sys_fail_sockaddr): ditto
* ext/socket/socket.c (rsock_sys_fail_raddrinfo): ditto
* ext/socket/socket.c (rsock_sys_fail_raddrinfo_or_sockaddr): ditto
Wed Feb 5 21:12:02 2014 Nobuyoshi Nakada <[email protected]>
* lib/timeout.rb (Timeout::ExitException.catch): pass arguments
for new instance.
* lib/timeout.rb (Timeout::ExitException#exception): fallback to
Timeout::Error if couldn't throw. [ruby-dev:47872] [Bug #9380]
* lib/timeout.rb (Timeout#timeout): initialize ExitException with
message for the fallback case.
Wed Feb 5 21:12:02 2014 Nobuyoshi Nakada <[email protected]>
* lib/timeout.rb (Timeout#timeout): should not rescue ordinarily
raised ExitException, which should not be thrown.
* lib/timeout.rb (Timeout::ExitException.catch): set @thread only if
it ought to be caught.
* lib/timeout.rb (Timeout#timeout): when a custom exception is given,
no instance is needed to be caught, so defer creating new instance
until it is raised. [ruby-core:59511] [Bug #9354]
Wed Feb 5 17:55:28 2014 Aman Gupta <[email protected]>
* array.c (ary_add_hash): Fix consistency issue between Array#uniq and
Array#uniq! [Bug #9340] [ruby-core:59457]
* test/ruby/test_array.rb (class TestArray): regression test for above.
Wed Feb 5 11:48:42 2014 Charlie Somerville <[email protected]>
* struct.c (rb_struct_set): return assigned value from setter method
rather than struct object. [Bug #9353] [ruby-core:59509]
* test/ruby/test_struct.rb (test_setter_method_returns_value): add test
Wed Feb 5 11:13:21 2014 Nobuyoshi Nakada <[email protected]>
* string.c (rb_str_modify_expand): enable capacity and disable
assocation with packed objects when setting capa, so that
pack("p") string fails to unpack properly after modified.
Sun Feb 2 22:39:28 2014 Nobuyoshi Nakada <[email protected]>
* lib/delegate.rb (Delegator): keep source information methods
which start and end with '__'. [ruby-core:59718] [Bug #9403]
Fri Jan 31 12:10:16 2014 Nobuyoshi Nakada <[email protected]>
* proc.c (mnew_from_me): keep iclass as-is, to make inheritance
chain consistent. [ruby-core:59358] [Bug #9315]
* proc.c (method_owner): return the original defined_class from
prepended iclass, instead.
Fri Jan 31 12:05:59 2014 Nobuyoshi Nakada <[email protected]>
* configure.in: let mingw do something black-magic, and check if
_gmtime64_s() is available actually.
* win32/win32.c (gmtime_s, localtime_s): use _gmtime64_s() and
_localtime64_s() if available, not depending on very confusing
mingw variants macros. based on the patch by phasis68 (Heesob
Park) at [ruby-core:58764]. [ruby-core:58391] [Bug #9119]
Thu Jan 30 15:02:35 2014 Shugo Maeda <[email protected]>
* configure.in: use $@ instead of $(.TARGET) because .TARGET is not
supported by GNU make.
Mon Jan 27 16:49:52 2014 Kenta Murata <[email protected]>
* ext/bigdecimal/bigdecimal.c (BigDecimal_divide): Add an additional
digit for the quotient to be compatible with bigdecimal 1.2.1 and
the former. [ruby-core:59365] [#9316] [#9305]
* test/bigdecimal/test_bigdecimal.rb: tests for the above change.
* ext/bigdecimal/bigdecimal.gemspec: bigdecimal version 1.2.4.
Mon Jan 27 16:45:34 2014 Yamashita Yuu <[email protected]>
* ext/openssl/ossl_ssl.c (Init_ossl_ssl): Declare a constant
`OP_MSIE_SSLV2_RSA_PADDING` only if the macro is defined. The
`SSL_OP_MSIE_SSLV2_RSA_PADDING` has been removed from latest
snapshot of OpenSSL 1.0.1. [Fixes GH-488]
Thu Jan 23 10:37:24 2014 Nobuyoshi Nakada <[email protected]>
* hash.c (HAS_EXTRA_STATES): warn extra states only when something
differ. [ruby-core:59254] [Bug #9275]
Thu Jan 9 14:05:24 2014 NAKAMURA Usaku <[email protected]>
* win32/{setup.mak,Makefile.sub}: update fake.rb like
template/fake.rb.in.
Thu Jan 9 14:05:24 2014 NAKAMURA Usaku <[email protected]>
* win32/Makefile.sub (fake.rb): should depend on version.h because
if RUBY_VERSION is updated, fake.rb need to say the new version
to avoid install error in rbconfig.rb.
Thu Jan 9 08:21:00 2014 Aman Gupta <[email protected]>
* test/net/imap/cacert.pem: generate new CA cert, since the last one
expired. [Bug #9341] [ruby-core:59459]
* test/net/imap/server.crt: new server cert signed with updated CA.
* test/net/imap/Makefile: add `make regen_certs` to automate this
process.
Thu Dec 26 03:28:11 2013 Koichi Sasada <[email protected]>
* vm_insnhelper.c (argument_error): insert dummy frame to make
a backtrace object intead of modify backtrace string array.
[Bug #9295]
* test/ruby/test_backtrace.rb: add a test for this patch.
fix test to compare a result of Exception#backtrace with
a result of Exception#backtrace_locations.
Wed Dec 25 16:58:31 2013 Nobuyoshi Nakada <[email protected]>
* proc.c (rb_mod_define_method): consider visibility only if self
in the caller is same as the receiver, otherwise make public as
well as old behavior. [ruby-core:57747] [Bug #9005]
[ruby-core:58497] [Bug #9141]
* vm.c (rb_vm_cref_in_context): return ruby level cref if self is
same.
Wed Dec 25 16:35:34 2013 Yusuke Endoh <[email protected]>
* sample/trick2013/: added the award-winning entries of TRICK 2013.
See https://github.com/tric/trick2013 for the contest outline.
(Matz has approved the attachment.)
Tue Dec 24 23:47:50 2013 Koichi Sasada <[email protected]>
* README.EXT: add a refer to URL.
Tue Dec 24 23:47:50 2013 Koichi Sasada <[email protected]>
* README.EXT: add a document about RGenGC.
Reviewed by havenwood.
[misc #8962]
* README.EXT.ja: ditto.
Mon Dec 23 19:00:00 2013 Eric Hodel <[email protected]>
* test/rubygems/test_gem_ext_builder.rb: Fix warning due to ambiguous
expression.
Mon Dec 23 16:13:10 2013 Eric Hodel <[email protected]>
* lib/rubygems/commands/install_command.rb: Restore gem install
--ignore-dependencies for remote gems
* test/rubygems/test_gem_commands_install_command.rb: Test for the
above.
Mon Dec 23 16:12:24 2013 Marc-Andre Lafortune <[email protected]>
* array.c: Have to_h raise on elements that are not key-value pairs
[#9239]
* enum.c: ditto
Sun Dec 22 19:22:52 2013 Eric Hodel <[email protected]>
* lib/rdoc.rb: Set RDoc to release version.
Sun Dec 22 19:22:31 2013 Eric Hodel <[email protected]>
* lib/rubygems.rb: Set RubyGems to release version.
Sun Dec 22 19:22:01 2013 Eric Hodel <[email protected]>
* lib/rubygems.rb (module Gem): Fix comment for
Gem::load_path_insert_index.
Sun Dec 22 18:08:42 2013 NAKAMURA Usaku <[email protected]>
* win32/Makefile.sub (fake.rb): fixed wrong RUBY_PLATFORM, to correctly
install win32.h.
[ruby-core:58801][Bug #9199] reported by arton.
Fri Dec 20 17:52:50 2013 Koichi Sasada <[email protected]>
* vm_method.c: check definition of
GLOBAL_METHOD_CACHE_SIZE and GLOBAL_METHOD_CACHE_MASK.
Fri Dec 20 17:03:10 2013 Koichi Sasada <[email protected]>
* include/ruby/ruby.h: rename OBJ_WRITE and OBJ_WRITTEN into
RB_OBJ_WRITE and RB_OBJ_WRITTEN.
* array.c, class.c, compile.c, hash.c, internal.h, iseq.c,
proc.c, process.c, re.c, string.c, variable.c, vm.c,
vm_eval.c, vm_insnhelper.c, vm_insnhelper.h,
vm_method.c: catch up this change.
Fri Dec 20 16:01:35 2013 Koichi Sasada <[email protected]>
* include/ruby/ruby.h: add a comment for WB interfaces.
Fri Dec 20 16:00:52 2013 Nobuyoshi Nakada <[email protected]>
* configure.in: DLDFLAGS is defined in --with-opt-dir handler, so
${DLDFLAGS=} does not work now. use RUBY_APPEND_OPTIONS instead.
[ruby-dev:47855] [Bug #9256]
Fri Dec 20 14:19:12 2013 NARUSE, Yui <[email protected]>
* configure.in (AC_ARG_WITH): use withval directly.
fix failure on FreeBSD.
http://fb32.rubyci.org/~chkbuild/ruby-trunk/log/20131217T070301Z.diff.html.gz
Fri Dec 20 14:00:01 2013 Aman Gupta <[email protected]>
* include/ruby/ruby.h (struct RClass): add super, remove iv_index_tbl.
since RCLASS_SUPER() is commonly used inside while loops, we move it
back inside struct RClass to improve cache hits. this provides a
small improvement (1%) in hotspots like rb_obj_is_kind_of()
* internal.h (struct rb_classext_struct): remove super, add
iv_index_table
* internal.h (RCLASS_SUPER): update for new location
* internal.h (RCLASS_SET_SUPER): ditto
* internal.h (RCLASS_IV_INDEX_TBL): ditto
* object.c (rb_class_get_superclass): ditto
* include/ruby/backward/classext.h (RCLASS_SUPER): ditto
Fri Dec 20 07:07:35 2013 Eric Hodel <[email protected]>
* lib/rubygems: Update to RubyGems master 03d6ae7. Changes include:
* Fixed typos.
* Relaxed Gem.ruby test for ruby packagers that do not use `ruby`.
* test/rubygems: ditto.
Thu Dec 19 14:03:04 2013 Koichi Sasada <[email protected]>
* gc.c (heap_get_freeobj): improve hot path performance.
* gc.c (heap_get_freeobj_from_next_freepage): replace with
heap_get_freepage(). It returns freeobj instead of freepage.
This is not on hot path.
Thu Dec 19 12:05:17 2013 Eric Hodel <[email protected]>
* lib/rubygems: Update to RubyGems master af60443. Changes include:
* Improved speed of `gem install --ignore-dependencies`.
* Open read-write for exclusive flock. [ruby-trunk - Bug #9257]
* Remove specification before install to prevent infinite loop.
Thu Dec 19 11:23:49 2013 Aman Gupta <[email protected]>
* vm_insnhelper.c (vm_call_iseq_setup_normal): simple for loop
condition optimization. this area shows up as a hotspot in VM
profiles.
Thu Dec 19 10:50:13 2013 Koichi Sasada <[email protected]>
* gc.c (newobj_of): don't need to RBASIC_SET_CLASS() which includes WB
here because created obj is always YOUNG/INFANT.
Thu Dec 19 10:48:37 2013 Koichi Sasada <[email protected]>
* benchmark/gc/gcbench.rb: check GC::OPTS availability
for not MRI 2.1.0.
Thu Dec 19 03:10:30 2013 Aman Gupta <[email protected]>
* gc.c (heap_get_freeobj): remove redundant assignment. heap->freelist
is set after the while() loop already.
Thu Dec 19 01:54:30 2013 Koichi Sasada <[email protected]>
* test/runner.rb: fix commit miss on r44278.
Thu Dec 19 00:26:11 2013 Koichi Sasada <[email protected]>
* gc.c (garbage_collect_body): lazy_sweep setting should work
without USE_RGENGC.
Wed Dec 18 23:31:04 2013 Koichi Sasada <[email protected]>
* gc.c (gc_profile_dump_major_reason): fix this function because major_reason
can be OR of multiple reasons.
* gc.c (gc_profile_dump_on): ditto.
Wed Dec 18 17:03:00 2013 Koichi Sasada <[email protected]>
* gc.c (gc_profile_record_get): should return an empty array
when profiling is active.
Wed Dec 18 16:49:40 2013 Koichi Sasada <[email protected]>
* gc.c (gc_profile_clear, gc_profile_enable): remove rest_sweep().
* gc.c: check objspace->profile.current_record before inserting
profiling record by new macro gc_prof_enabled().
Wed Dec 18 14:32:06 2013 Koichi Sasada <[email protected]>
* vm_exec.h (VM_DEBUG_STACKOVERFLOW): added.
disable stack overflow check for every stack pushing as default.
* vm_exec.c (vm_stack_overflow_for_insn): ditto.
Wed Dec 18 10:00:22 2013 Eric Hodel <[email protected]>
* lib/rubygems: Update to RubyGems master d8f12e2. This increases the
speed of `gem install --ignore-dependencies` which helps bundler
tests.
* test/rubygems: ditto.
Wed Dec 18 09:00:17 2013 Koichi Sasada <[email protected]>
* test/ruby/test_gc.rb (test_expand_heap): allow +/-1 diff.
Tue Dec 17 23:44:15 2013 Kazuki Tsujimoto <[email protected]>
* test/ruby/test_io.rb: fix duplicated test name.
Tue Dec 17 20:15:00 2013 Nobuyoshi Nakada <[email protected]>
* hash.c (rb_hash_reject): revert to deprecated behavior, with
warnings, due to compatibility for HashWithDifferentAccess.
[ruby-core:59154] [Bug #9223]
Tue Dec 17 17:30:56 2013 Akinori MUSHA <[email protected]>
* misc/ruby-electric.el: Import version 2.1.1 from
https://github.com/knu/ruby-electric.el.
* ruby-electric-delete-backward-char: Enable support for number
prefix.
* ruby-electric-curlies: Fix electric operation after an open
curly.
Tue Dec 17 16:19:09 2013 Nobuyoshi Nakada <[email protected]>
* vm_trace.c (rb_postponed_job_flush): isolate exceptions in
postponed jobs and restore outer ones. based on a patch by
tarui. [ruby-core:58652] [Bug #9168]
Tue Dec 17 10:48:04 2013 Aman Gupta <[email protected]>
* configure.in (RUBY_DTRACE_POSTPROCESS): Fix compatibility with
systemtap on linux. stap requires `dtrace -G` post-processing, but
the dtrace compatibility wrapper is very strict about probes.d
syntax.
Tue Dec 17 05:18:17 2013 Eric Hodel <[email protected]>
* lib/rubygems: Update to RubyGems master 1c5f4b3. Allows rubygems
repackagers to disable backward-compatible shared gem directory
behavior.
* test/rubygems: ditto.
Tue Dec 17 05:14:35 2013 Eric Hodel <[email protected]>
* NEWS (RDoc): Update version number so I don't have to change it
for the final release.
Mon Dec 16 19:19:19 2013 Koichi Sasada <[email protected]>
* gc.c (rb_objspace_markable_object_p): should check special_const_p
first (by is_markable_object()).
Mon Dec 16 19:12:54 2013 Koichi Sasada <[email protected]>
* ext/objspace/objspace.c (reachable_object_from_root_i): use
compare_by_identity hash to avoid hash modify problem
during iteration.
[Bug #9252]
* ext/objspace/objspace.c (reachable_objects_from_root): ditto.
Mon Dec 16 18:16:28 2013 Koichi Sasada <[email protected]>
* gc.c (gc_verify_internal_consistency): should not use
rb_objspace_each_objects() because it call rest_sweep().
Mon Dec 16 18:07:30 2013 Koichi Sasada <[email protected]>
* gc.c (rb_objspace_markable_object_p): fix last commit (build error).
Mon Dec 16 18:04:28 2013 Koichi Sasada <[email protected]>
* gc.c (rb_objspace_markable_object_p): it should be live objects.
Mon Dec 16 18:00:51 2013 Koichi Sasada <[email protected]>
* gc.c (rb_objspace_each_objects): should not clear dont_lazy_sweep
flag in nested case.
Mon Dec 16 16:40:35 2013 Koichi Sasada <[email protected]>
* vm_method.c (rb_method_entry_make): fix WB miss.
Note that rb_method_entry_t::klass is not constified.
We may constify this field.
* test/ruby/test_alias.rb: add a test.
Mon Dec 16 14:14:22 2013 Koichi Sasada <[email protected]>
* gc.c: use gc_verify_internal_consistency() instead of
gc_check_before_marks_i() for check consistency
on RGENGC_CHECK_MODE >= 2.
Mon Dec 16 14:01:48 2013 NARUSE, Yui <[email protected]>
* process.c (make_clock_result): add :second as a unit for
Process.clock_gettime.
Mon Dec 16 13:10:54 2013 Koichi Sasada <[email protected]>
* gc.c: introduce GC.verify_internal_consistency method to verify GC
internal data structure.
Now this method only checks generation (old/young) consistency.
Mon Dec 16 11:49:26 2013 Aman Gupta <[email protected]>
* gc.c (gc_info_decode): Fix build errors when compiled with
RGENGC_ESTIMATE_OLDMALLOC=0
* gc.c (objspace_malloc_increase): ditto
Sun Dec 15 13:38:29 2013 Koichi Sasada <[email protected]>
* ext/objspace/objspace.c (reachable_object_from_root_i):
reachable objects should not include categories and
category_objects because it is noisy information.
In fact, objects created after calling
ObjectSpace.reachable_objects_from_root should not be included
as a returning hash objects. Currently, mswin64 platform has a
problem because of this behavior. Should we trace new objects?
Sun Dec 15 07:09:28 2013 Eric Hodel <[email protected]>
* lib/rdoc: Update to RDoc master 263a9e5. This improves the
accessibility of the search box.
Sat Dec 14 17:39:00 2013 Nobuyoshi Nakada <[email protected]>
* vm_insnhelper.c (vm_callee_setup_arg_complex): count post
arguments as mandatory arguments. [ruby-core:57706] [Bug #8993]
* vm_insnhelper.c (vm_yield_setup_block_args): ditto.
Sat Dec 14 16:26:46 2013 Nobuyoshi Nakada <[email protected]>
* configure.in (rubylibprefix): replace exec_prefix as well as
bindir and libdir. a patch by kimuraw (Wataru Kimura) at
[ruby-dev:47852]. [Bug #9160]
Sat Dec 14 14:42:53 2013 Nobuyoshi Nakada <[email protected]>
* lib/logger.rb (lock_shift_log): no need to rotate the log file
if it has been rotated by another process. based on the patch
by no6v (Nobuhiro IMAI) in [ruby-core:58620]. [Bug #9133]
Sat Dec 14 13:01:45 2013 Nobuyoshi Nakada <[email protected]>
* proc.c (mnew_from_me): method by respond_to_missing? should be
owned by the original class.
Sat Dec 14 11:55:31 2013 Nobuyoshi Nakada <[email protected]>
* lib/scanf.rb (IO#scanf): fix mistaken use of rescue modifier.
a patch by Mon_Ouie at [ruby-core:52813]. [Bug #7940]
Sat Dec 14 11:44:52 2013 Nobuyoshi Nakada <[email protected]>
* util.c (ruby_qsort): fix potential stack overflow on a large
machine. based on the patch by Conrad Irwin <conrad.irwin AT
gmail.com> at [ruby-core:51816]. [Bug #7772]
Sat Dec 14 11:25:56 2013 Nobuyoshi Nakada <[email protected]>
* object.c (rb_mod_const_defined): support nested class path as
well as const_get. [Feature #7414]
Sat Dec 14 01:31:52 2013 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_rescue2): reuse tags pushed for body proc to protect
rescue proc too.
Sat Dec 14 01:15:51 2013 Masaya Tarui <[email protected]>
* gc.c (wmap_final_func): Bugfix. Should update *value to new pointer.
Sat Dec 14 01:05:46 2013 Tanaka Akira <[email protected]>
* ext/socket/lib/socket.rb: Don't test $! in "ensure" clause because
it may be set before the body.
Reported by ko1 and mrkn. [ruby-core:59088] [Bug #9247]
* lib/cgi/core.rb: Ditto.
* lib/drb/ssl.rb: Ditto.
Sat Dec 14 00:34:31 2013 Naohisa Goto <[email protected]>
* internal.h (ruby_sized_xrealloc2): fix typo introduced in r44117,
which cause compile error on Solaris.
Sat Dec 14 00:22:16 2013 Nobuyoshi Nakada <[email protected]>
* thread.c: (exec_recursive): use rb_catch_protect() instead of
rb_catch_obj() and PUSH_TAG(), and reduce pushing tags and
machine stack usage.
Sat Dec 14 00:18:08 2013 Nobuyoshi Nakada <[email protected]>
* proc.c (mnew_from_me): achieve the original defined_class from
prepended iclass, to fix inherited owner.
* proc.c (method_owner): return the defined class, but not the
class which the method object is created from.
Fri Dec 13 22:29:21 2013 Nobuyoshi Nakada <[email protected]>
* proc.c (method_owner): return the class where alias is defined, not
the class original method is defined.
* vm_method.c (rb_method_entry_make, rb_alias): store the originally
defined class in me. [Bug #7993] [Bug #7842] [Bug #9236]
* vm_method.c (rb_method_entry_get_without_cache): cache included
module but not iclass.
Fri Dec 13 16:27:17 2013 Aman Gupta <[email protected]>
* gc.c (gc_info_decode): Use :major_by=>:nofree as fallback reason
when other trigger conditions are present.
Fri Dec 13 13:25:30 2013 Koichi Sasada <[email protected]>
* error.c: add Exception#backtrace_locations.
Now, there are no setter and independent from Exception#backtrace.
[Feature #8960]
* eval.c (setup_exception): set backtrace locations for `bt_location'
special attribute.
* vm_backtrace.c (rb_backtrace_to_location_ary): added.
* internal.h: ditto.
* test/ruby/test_backtrace.rb: add a test for
Exception#backtrace_locations.
Fri Dec 13 12:01:07 2013 Koichi Sasada <[email protected]>
* gc.c (garbage_collect_body): use rb_bug() and explicit error message
instead of using assert().
[Bug #9222]
Fri Dec 13 11:52:41 2013 Koichi Sasada <[email protected]>
* array.c: fix comment to remove the word "shady".
* variable.c: ditto.
Fri Dec 13 11:33:55 2013 Koichi Sasada <[email protected]>
* gc.c: rename *shady* func/macros.
* RVALUE_RAW_SHADY() -> RVALUE_WB_PROTECTED_RAW()
* RVALUE_SHADY() -> RVALUE_RAW_SHADY()
* rgengc_check_shady() -> rgengc_check_relation().
And fix some messages using "shady" to "non-WB-protected".
Fri Dec 13 10:04:23 2013 Eric Hodel <[email protected]>
* lib/rubygems/request_set/lockfile.rb: Import RubyGems master a8d0669
with a 1.8.7 compatibility fix.
* test/rubygems/test_gem_request_set_lockfile.rb: ditto.
Fri Dec 13 09:50:49 2013 Eric Hodel <[email protected]>
* lib/rubygems: Update to RubyGems master ddac51f. Changes:
* Allow override for the shared gem installation directory for
rubygems packagers.
* Lock gem cache files for read and write to improve thread safety.
* Use io/console when available.
* Minor cleanup.
* test/rubygems: ditto.
Fri Dec 13 08:15:31 2013 Aman Gupta <[email protected]>
* class.c (include_modules_at): use RCLASS_M_TBL_WRAPPER for
equality checks. this avoids an unnecessary deference inside a tight
loop, fixing a performance regression from r43973.
* object.c (rb_obj_is_kind_of): ditto.
* object.c (rb_class_inherited_p): ditto.
Wed Dec 13 02:00:00 2013 Kenta Murata <[email protected]>
* ext/bigdecimal/bigdecimal.c (VpSetPTR): fix for limitation of the resulting
precision.
[ruby-core:50269] [Bug #7458]
* test/bigdecimal/test_bigdecimal.rb (test_limit): add tests for the above
change.
Wed Dec 13 01:56:00 2013 Kenta Murata <[email protected]>
* ext/bigdecimal/bigdecimal.c (VpAddAbs): put out a conditional branch from
the inside of while-loop.
* ext/bigdecimal/bigdecimal.c (VpSubAbs): ditto.
Wed Dec 13 01:53:00 2013 Kenta Murata <[email protected]>
* ext/bigdecimal/bigdecimal.c (VPrint): be a static function, support another
dump formats, and add more information of the given bigdecimal.
* ext/bigdecimal/bigdecimal.h: ditto.
Wed Dec 11 16:45:58 2013 Koichi Sasada <[email protected]>
* eval.c (rb_raise_jump): call c_return hook immediately after
popping `raise' frame.
Patches by deivid (David Rodriguez). [Bug #8886]
* test/ruby/test_settracefunc.rb: catch up this fix.
Wed Dec 11 16:01:26 2013 Nobuyoshi Nakada <[email protected]>
* hash.c (rb_hash_reject): return a plain hash, without copying
the class, default value, instance variables, and taintedness.
they had been copied just by accident.
[ruby-core:59045] [Bug #9223]
Wed Dec 11 15:36:15 2013 Aman Gupta <[email protected]>
* compile.c (iseq_specialized_instruction): emit opt_aset instruction
to optimize Hash#[]= and Array#[]= when called with Fixnum argument.
[Bug #9227] [ruby-core:58956]
Wed Dec 11 04:54:03 2013 Eric Hodel <[email protected]>
* lib/rubygems: Update to RubyGems master ec8ed22. Notable changes
include:
* Renamed extension_install_dir to extension_dir (backwards
compatible).
* Fixed creation of gem.deps.rb.lock file from
TestGemRequestSet#test_install_from_gemdeps_install_dir
* Fixed a typo and some documentation.
* test/rubygems: ditto.
Wed Dec 11 03:18:08 2013 Marc-Andre Lafortune <[email protected]>
* insns.def: Fix optimization bug of Float#/ [Bug #9238]
Tue Dec 10 23:58:30 2013 Nobuyoshi Nakada <[email protected]>
* ext/date/date_strptime.c (date__strptime_internal): unset
case-insensitive flag for [:alpha:], which already implies both
cases, to get rid of backtrack explosion. [ruby-core:58984]
[Bug #9221]
Tue Dec 10 23:44:42 2013 Nobuyoshi Nakada <[email protected]>
* array.c (rb_ary_hash): add salt to differentiate false and empty
array. [ruby-core:58993] [Bug #9231]
* hash.c (rb_any_hash, rb_hash_hash): ditto.
Tue Dec 10 18:16:09 2013 SHIBATA Hiroshi <[email protected]>
* man/ruby.1: [DOC] Use www.ruby-toolbox.com instead of RAA.
Tue Dec 10 17:21:30 2013 Nobuyoshi Nakada <[email protected]>
* gc.c (wmap_finalize, wmap_aset_update): use simple malloced array
instead of T_ARRAY, to reduce GC pressure.
Tue Dec 10 15:56:48 2013 Aman Gupta <[email protected]>
* gc.c (reflist_add): revert changes from r44109. it is unnecessary
after r44113
* gc.c (allrefs_i): fix whitespace
* gc.c (allrefs_roots_i): fix whitespace
Tue Dec 10 15:46:03 2013 Koichi Sasada <[email protected]>
* gc.c (allrefs_add): push obj only if allrefs table doesn't have
obj.
* gc.c (allrefs_roots_i): ditto.
Tue Dec 10 15:28:10 2013 Koichi Sasada <[email protected]>
* gc.c (RGENGC_CHECK_MODE): separate checkers to different modes.
* 2: enable generational bits check (for debugging)
* 3: enable livness check
* 4: show all references
Tue Dec 10 15:15:37 2013 Koichi Sasada <[email protected]>
* gc.c (gc_marks_check): disable GC during checking and
restore malloc_increase info.
Tue Dec 10 14:41:53 2013 Aman Gupta <[email protected]>
* gc.c (reflist_add): return 0 if reference already exists
* gc.c (allrefs_add): return 1 on newly added references
* gc.c (allrefs_i): follow references to construct complete object
graph. before this patch, RGENGC_CHECK could fail to verify some WB
miss issues. [Bug #9226] [ruby-core:58959]
Tue Dec 10 11:20:56 2013 Aman Gupta <[email protected]>
* ext/objspace/objspace_dump.c (dump_object): include fstring flag on
strings. include gc flags (old, remembered, wb_protected) on all objects.
* ext/objspace/objspace_dump.c (Init_objspace_dump): initialize lazy
IDs before first use.
* gc.c (rb_obj_gc_flags): new function to retrieve object flags
* internal.h (RB_OBJ_GC_FLAGS_MAX): maximum flags allowed for one obj
* test/objspace/test_objspace.rb (test_dump_flags): test for above
* test/objspace/test_objspace.rb (test_trace_object_allocations):
resolve name before dump (for rb_class_path_cached)
Tue Dec 10 07:48:29 2013 Aman Gupta <[email protected]>
* vm_method.c (rb_clear_method_cache_by_class): fire
ruby::method-cache-clear probe on global or klass-level method cache
clear [Bug #9190]
* probes.d (provider ruby): new dtrace probe
* doc/dtrace_probes.rdoc: docs for new probe
* test/dtrace/test_method_cache.rb: test for new probe
Tue Dec 10 06:14:11 2013 Eric Hodel <[email protected]>
* ext/.document: Remove curses from documentable directories.
Tue Dec 10 04:55:36 2013 Zachary Scott <[email protected]>
* ext/openssl/lib/openssl/digest.rb: Deprecate OpenSSL::Digest::Digest
[Fixes GH-446] https://github.com/ruby/ruby/pull/446
Tue Dec 10 00:41:42 2013 Kazuki Tsujimoto <[email protected]>
* ext/thread/thread.c: [DOC] add call-seq alias for Queue#enq, #<<, etc.
* ext/thread/thread.c (Init_thread): use rb_define_alias instead of
rb_alias to document alias.
Mon Dec 9 20:00:00 2013 Charlie Somerville <[email protected]>
* internal.h (RCLASS_SERIAL): Add RCLASS_SERIAL as a convenience
accessor for RCLASS_EXT(klass)->class_serial.
* class.c, vm_insnhelper.c, vm_method.c: Use RCLASS_SERIAL
Mon Dec 9 19:50:00 2013 Charlie Somerville <[email protected]>
* compile.c, insns.def, test/ruby/test_rubyvm.rb, vm.c, vm_core.h,
vm_insnhelper.c, vm_insnhelper.h, vm_method.c: Rename method_serial
to global_method_state and constant_serial to global_constant_state
after discussion with ko1.
Mon Dec 9 18:50:43 2013 Aman Gupta <[email protected]>
* hash.c (rb_hash_replace): fix segv on `{}.replace({})` introduced
in r44060 [Bug #9230] [ruby-core:58991]
* test/ruby/test_hash.rb: regression test for above
Mon Dec 9 18:10:10 2013 Koichi Sasada <[email protected]>
* vm.c (vm_stat): renamed from ruby_vm_stat.
Should not use ruby_ prefix here.
Mon Dec 9 16:13:31 2013 Nobuyoshi Nakada <[email protected]>
* gc.c (wmap_size): add ObjectSpace::WeakMap#size and #length.
Mon Dec 9 15:26:17 2013 Shugo Maeda <[email protected]>
* test/test_curses.rb: removed.