-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog-2.2.0
12157 lines (7675 loc) · 401 KB
/
ChangeLog-2.2.0
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 Dec 25 16:01:19 2014 Nobuyoshi Nakada <[email protected]>
* file.c (rb_file_expand_path_internal): drop characters ignored
by filesystem on Mac OS X.
Thu Dec 25 15:36:15 2014 Nobuyoshi Nakada <[email protected]>
* dir.c (replace_real_basename): get the real name and replace the
base name with it by getattrlist(2) if available.
suggested by Matthew Draper at [ruby-core:67116]. [Bug #10015]
* dir.c (glob_helper): get the real name of the whole path, not
only the last name.
Thu Dec 25 13:59:17 2014 Nobuyoshi Nakada <[email protected]>
* configure.in (NET_LUID): include also ifdef.h as a workaround of
a bug in mingw-w64 header. [ruby-core:67103] [Bug #10640]
Thu Dec 25 12:47:44 2014 Nobuyoshi Nakada <[email protected]>
* parse.y (gettable_gen): warn possible reference to a local
variable defined in a past scope.
Thu Dec 25 10:09:14 2014 Nobuyoshi Nakada <[email protected]>
* ext/io/console/console.c (console_dev): id_console is not a
constant name, use rb_const_remove() to get rid of NameError.
Thu Dec 25 09:18:55 2014 NAKAMURA Usaku <[email protected]>
* test/resolv/test_dns.rb (TestResolvDNS#test_query_ipv4_address):
set timeout for recvfrom because if client thread is crashed, it
waits infinity.
Thu Dec 25 08:42:11 2014 Eric Wong <[email protected]>
* lib/uri/generic.rb (split_userinfo): fstring for 1-byte split
(set_port): reduce bytecode size
(check_path): reduce garbage via opt_str_freeze
(query=): ditto
(fragment=): ditto
[misc #10628]
* lib/uri/rfc3986_parser.rb (regexp): cache as attr
(initialize): setup and freeze regexp attr once
(split): reduce bytecode size, use opt_str_freeze
(parse): minor bytecode and garbage reduction
(default_regexp): rename for initialize
Wed Dec 24 20:38:16 2014 Nobuyoshi Nakada <[email protected]>
* dir.c (glob_make_pattern): restrict searching case-insensitive
name from the filesystem to only last part, for the performance.
[ruby-core:63591] [Bug #10015]
Wed Dec 24 18:21:27 2014 Koichi Sasada <[email protected]>
* gc.c: remove unused rb_objspace_t::rgengc::old_objects_at_gc_start.
Wed Dec 24 13:25:22 2014 NARUSE, Yui <[email protected]>
* tool/redmine-backporter.rb: require view_changesets permission.
Wed Dec 24 13:00:24 2014 Nobuyoshi Nakada <[email protected]>
* tool/downloader.rb (Downloader.download): fix the exception to
re-raise. initialize methods of subclasses of Exception may
have different parameters. [ruby-core:67086] [Bug #10639]
Wed Dec 24 12:16:19 2014 Nobuyoshi Nakada <[email protected]>
* ruby.h (rb_data_type_t): revert r48647 and revise parent member.
[ruby-core:66969] [Bug #10621]
Wed Dec 24 05:40:52 2014 NARUSE, Yui <[email protected]>
* tool/downloader.rb: use config.guess in gcc repo.
Wed Dec 24 11:50:19 2014 Koichi Sasada <[email protected]>
* hash.c (rb_hash_delete): return Qnil if there are no corresponding
entry. [Bug #10623]
* hash.c (rb_hash_delete_entry): try delete and return Qundef if there
are no corresponding entry.
* internal.h: add rb_hash_delete_entry()'s declaration.
* symbol.c: use rb_hash_delete_entry().
* thread.c: use rb_hash_delete_entry().
* ext/-test-/hash/delete.c: use rb_hash_delete_entry().
Wed Dec 24 09:35:11 2014 NAKAMURA Usaku <[email protected]>
* ext/fiddle/extconf.rb: remove ffitarget.h generated by configure on
mswin, because it's not normal file (cygwin's symlink) and have
system attribute.
Wed Dec 24 05:40:52 2014 NARUSE, Yui <[email protected]>
* tool/downloader.rb: support ruby 1.8.
Wed Dec 24 02:44:06 2014 NARUSE, Yui <[email protected]>
* lib/net/http/response.rb (Net::HTTPResponse): require one or more
spaces [Bug #10591].
by leriksen <[email protected]>
https://github.com/ruby/ruby/pull/782 fix GH-782
NOTE: graph.facebook.com returns without SP Reason-Phrase.
Wed Dec 24 02:12:22 2014 Nobuyoshi Nakada <[email protected]>
* tool/make-snapshot (package): VCS#branch_list expects glob a
pattern string but not a regexp. based on the patch by Vit
Ondruch. in [ruby-core:67064]. [Bug #10636]
* tool/vcs.rb (VCS::SVN#branch_list): strip newlines.
* tool/vcs.rb (VCS::GIT.get_revisions): retrieve modified time
from toplevel log too.
* tool/vcs.rb (VCS::GIT#branch_list): yield for each lines.
Wed Dec 24 00:23:13 2014 NAKAMURA Usaku <[email protected]>
* tool/extlibs.rb (do_extract): the pipe should be binmode.
Wed Dec 24 00:21:44 2014 NAKAMURA Usaku <[email protected]>
* Makefile.in, common.mk: move common-srcs to Makefile.in because
it breaks build on mswin.
Wed Dec 24 00:04:45 2014 NAKAMURA Usaku <[email protected]>
* lib/open-uri.rb (OpenURI.open_http): accept multiple certs path in
ssl_ca_certs.
* tool/downloader.rb: use certs of rubygems for downloading gems.
Tue Dec 23 22:39:11 2014 Nobuyoshi Nakada <[email protected]>
* ext/fiddle/extlibs: libffi-3.2.1 and patch for mswin.
Tue Dec 23 22:04:38 2014 NARUSE, Yui <[email protected]>
* lib/uri/generic.rb (URI::Generic#query=): don't escape [\]^
on both rfc2396 and rfc3986. [Bug #10619]
Tue Dec 23 16:03:35 2014 Nobuyoshi Nakada <[email protected]>
* ext/win32/lib/win32/registry.rb (Win32::Registry::Error#initialize):
try en_US message if the default message cannot be encoded to
locale. [ruby-core:65295] [Bug #10300]
Tue Dec 23 11:42:14 2014 Nobuyoshi Nakada <[email protected]>
* ext/openssl/ossl_cipher.c (ossl_cipher_update_long): update huge
data gradually not to exceed INT_MAX. workaround of OpenSSL API
limitation. [ruby-core:67043] [Bug #10633]
Mon Dec 22 21:30:16 2014 Masaki Suketa <[email protected]>
* test/win32ole/test_win32ole_event.rb: some tests are
executed on standard Windows OS without ADO.
Mon Dec 22 14:08:31 2014 Nobuyoshi Nakada <[email protected]>
* signal.c (received_signal): fix condition to define.
[ruby-core:67032] [Bug #10629]
Sun Dec 21 10:51:51 2014 Masaki Suketa <[email protected]>
* test/win32ole/test_win32ole_event.rb: test_s_new_exception is
executed on standard Windows OS without ADO.
Sun Dec 21 08:35:26 2014 Nobuyoshi Nakada <[email protected]>
* configure.in (jemalloc): fix option argument, should use
`$withval` but not `yes` always. [ruby-core:66994] [Bug #10625]
* configure.in (jemalloc): defer adding the liner option to get
rid of linking contest against jemalloc, so that it works
without runtime dynamic load path.
Sat Dec 20 17:49:03 2014 Tanaka Akira <[email protected]>
* lib/tmpdir.rb (Dir.mktmpdir): Accept nil again, as Ruby 2.1.
[ruby-core:66943] [Bug #10616] Fixed by Alex Slynko.
Sat Dec 20 11:22:58 2014 Nobuyoshi Nakada <[email protected]>
* ext/fiddle/depend, ext/fiddle/extconf.rb: try to build bundled
libffi if existing.
Sat Dec 20 05:21:00 2014 Eric Wong <[email protected]>
* test/test_weakref.rb (test_repeated_object_leak): increase timeout
[Bug #10618]
Fri Dec 19 22:33:13 2014 Tanaka Akira <[email protected]>
* tool/update-deps: Use $(hdrdir) if possible.
Fri Dec 19 22:10:00 2014 Kenta Murata <[email protected]>
* ext/bigdecimal/depend: Fix dependencies to make bigdecimal
installable by rubygems.
* ext/bigdecimal/bigdecimal.gemspec: version 1.2.6.
Fri Dec 19 20:00:19 2014 Nobuyoshi Nakada <[email protected]>
* include/ruby/ruby.h (PRIsVALUE): put a space after string
literals not to be confused with C++11 string literal suffix.
https://github.com/ruby/ruby/commit/a9f3eb7#commitcomment-9040169
Fri Dec 19 15:36:02 2014 Simon Genier <[email protected]>
* hash.c (hash_equal): prefer true than the result of implicit
conversion from int returned by rb_eql() to VALUE. [Fix GH-789]
Thu Dec 18 17:45:26 2014 Nobuyoshi Nakada <[email protected]>
* configure.in (rb_cv_binary_elf): get rid of -e option of cat
which is not available on BusyBox, use tr instead.
[ruby-core:64824] [Bug #10210]
Thu Dec 18 14:25:17 2014 NAKAMURA Usaku <[email protected]>
* signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT,
should be treated before calling signal(3).
[Bug #10615]
Wed Dec 17 12:20:56 2014 Nobuyoshi Nakada <[email protected]>
* compile.c (rb_method_for_self_aref, rb_method_for_self_aset):
move from iseq.c to build from node instead of arrays.
Wed Dec 17 10:50:09 2014 SHIBATA Hiroshi <[email protected]>
* test/gdbm/test_gdbm.rb: Added test for each_key called without a block.
Patch by @joeyates [fix GH-783]
Wed Dec 17 10:18:42 2014 Koichi Sasada <[email protected]>
* compile.c (iseq_compile_each): check
iseq->compile_data->option->specialized_instruction for opt_* insn.
* test/ruby/test_iseq.rb: check no specialized_instructions option.
Wed Dec 17 09:48:57 2014 Eric Wong <[email protected]>
* compile.c (iseq_compile_each): only emit opt_str_freeze,
opt_aref_with, and opt_aset_with insn when no block is given
[Bug #10557] [ruby-core:66595]
* test/ruby/test_optimization.rb (test_block_given_aset_aref):
new test for bug thanks to Bartosz Kopinski.
(test_string_freeze): additional assertion for object_id
Wed Dec 17 01:06:47 2014 NAKAMURA Usaku <[email protected]>
* ext/win32/lib/Win32API.rb (Win32API#call): need to splat. hmm, when
was this broken?
Tue Dec 16 15:18:23 2014 Nobuyoshi Nakada <[email protected]>
* iseq.c (rb_method_for_self_aref, rb_method_for_self_aset): call
accessor functions directly, not to be affected by [] and []=
methods. [ruby-core:66846] [Bug #10601]
* struct.c (define_aref_method, define_aset_method): ditto.
* vm_insnhelper.c (rb_vm_opt_struct_aref, rb_vm_opt_struct_aset):
direct accessors of Struct.
Tue Dec 16 12:01:29 2014 Koichi Sasada <[email protected]>
* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
extend timeout seconds to 60 for RGENGC_CHECK_MODE > 0 environment.
Tue Dec 16 08:53:12 2014 Eric Wong <[email protected]>
* tool/vcs.rb: fix Ruby 1.8 compatibility harder
Tue Dec 16 07:37:18 2014 Eric Wong <[email protected]>
* gc.c (GC_HEAP_FREE_SLOTS): move definition to match use order
(RUBY_GC_HEAP_GROWTH_SLOTS): s/factor/number of slots/
* man/ruby.1: add section for GC environment variables
[Feature #10197]
Tue Dec 16 05:41:46 2014 Eric Wong <[email protected]>
* tool/vcs.rb: fix Ruby 1.8 compatibility
Mon Dec 15 17:51:28 2014 Koichi Sasada <[email protected]>
* ext/objspace/objspace.c: ObjectSpace.memsize_of(obj) returns
with sizeof(RVALUE). [Bug #8984]
* gc.c (obj_memsize_of): ditto.
* NEWS: add a NEWS entry.
* test/objspace/test_objspace.rb: catch up this fix.
* test/ruby/test_file_exhaustive.rb: ditto.
Mon Dec 15 16:19:23 2014 Nobuyoshi Nakada <[email protected]>
* string.c (rb_enc_str_coderange): dummy wchar, non-endianness
encoding string cannot be ascii only.
[ruby-core:66835] [Bug #10598]
Sun Dec 14 20:11:42 2014 Nobuyoshi Nakada <[email protected]>
* parse.y (primary): restore current_arg so that circular
reference after a method definition is also warned.
[ruby-core:61299] [Bug #9593]
Sat Dec 13 20:41:55 2014 Nobuyoshi Nakada <[email protected]>
* vm_trace.c (rb_postponed_job_flush): mask signal trap interrupt
too to defer handling after finalizers finished.
[ruby-core:66825] [Bug #10595]
Sat Dec 13 18:33:25 2014 SHIBATA Hiroshi <[email protected]>
* test/openssl/test_pkey_ec.rb: ignored tests with old OpenSSL.
Sat Dec 13 18:01:57 2014 Nobuyoshi Nakada <[email protected]>
* signal.c (check_stack_overflow): check sp also on i386/x86_64
FreeBSD.
Sat Dec 13 09:58:41 2014 Eric Wong <[email protected]>
* gc.c (define_final0): avoid duplicate blocks
[Bug #10537]
* test/test_weakref.rb (test_repeated_object_leak): new test
Sat Dec 13 04:59:20 2014 Nobuyoshi Nakada <[email protected]>
* bin/erb (ERB::Main#run): get rid of shadowing outer local
variables. [ruby-core:65772] [Feature #10395]
Fri Dec 12 21:56:44 2014 Kouhei Sutou <[email protected]>
* gems/bundled_gems: Upgrade to test-unit 3.0.8. assert_throw and
assert_nothing_thrown in test-unit 3.0.7 were broken by
UncaughtThrowError change introduced in Ruby 2.2.0
preview2. These assertions in test-unit 3.0.8 work well with
UncaughtThrowError in Ruby 2.2.0 preview2.
Fri Dec 12 19:48:55 2014 Nobuyoshi Nakada <[email protected]>
* bin/erb (ARGV.switch, ERB::Main#run): allow variables to be set
from the command line. [ruby-core:65772] [Feature #10395]
Fri Dec 12 19:31:44 2014 Nobuyoshi Nakada <[email protected]>
* lib/erb.rb (ERB#lineno): accessor for line number to eval.
* lib/erb.rb (ERB#location=): setter of file name and line number.
Fri Dec 12 13:09:13 2014 Koichi Sasada <[email protected]>
* gc.c (gc_latest_gc_info): return :state field to show current
GC state (none/marking/sweeping).
[Feature #10590]
Fri Dec 12 10:49:18 2014 Nobuyoshi Nakada <[email protected]>
* string.c (rb_str_crypt): check arguments more strictly.
* crypt() is not for wide char strings
* salt bytes should not be NUL
Fri Dec 12 08:16:01 2014 Matt Hoyle <[email protected]>
* io.c (io_read) Fix spelling in docco for read. [Fix GH-781]
try > tries
Thu Dec 11 19:06:01 2014 Koichi Sasada <[email protected]>
* class.c (class_alloc): Start from age == 2.
Class and Module objects can be living long life.
* iseq.c: Same for ISeq objects.
* gc.c (RVALUE_AGE_RESET): added.
* gc.c (newobj_of): allow to generate (age != 0) objects.
* gc.c (rb_copy_wb_protected_attribute): reset age for wb unprotected
objects.
* include/ruby/ruby.h: add RUBY_TYPED_PROMOTED1 as an unrecommended
flag.
Thu Dec 11 05:37:52 2014 Marc-Andre Lafortune <[email protected]>
* lib/prime.rb: Remove useless loop and block capture.
See [#10354]
Thu Dec 11 04:27:24 2014 Koichi Sasada <[email protected]>
* vm_core.h: introduce new field
rb_thread_t::local_storage_recursive_hash_for_trace to store
recursive hash to avoid creating new recursive (nested) hashes
for each trace events.
[Bug #10511]
* vm_trace.c (rb_threadptr_exec_event_hooks_orig): use it.
* cont.c: catch up this fix.
* vm.c (rb_thread_mark): ditto.
Wed Dec 10 13:39:27 2014 Nobuyoshi Nakada <[email protected]>
* struct.c (define_aref_method, define_aset_method): use iseq
VALUE instead of rb_iseq_t to prevent from GC, as RB_GC_GUARD
makes sense only for local variables. [Feature #10575]
Wed Dec 10 09:38:40 2014 Nobuyoshi Nakada <[email protected]>
* thread.c (exec_recursive): use the same last method name as
recursive_push in the error message when recursive_pop failed.
[ruby-core:66742] [Bug #10579]
Wed Dec 10 02:48:46 2014 NAKAMURA Usaku <[email protected]>
* test/net/http/test_https.rb
(TestNetHTTPS#test_certificate_verify_failure): on Windows,
Errno::ECONNRESET will be raised when the verify is failure at the
client side, and it'll be eaten by WEBrick.
* test/open-uri/test_ssl.rb (TestOpenURISSL#test_validation_failure):
ditto.
Wed Dec 10 00:42:13 2014 Eric Wong <[email protected]>
* iseq.c (rb_method_for_self_aref, rb_method_for_self_aset):
new methods to generate bytecode for struct.c
[Feature #10575]
* struct.c (rb_struct_ref, rb_struct_set): remove
(define_aref_method, define_aset_method): new functions
(setup_struct): use new functions
* test/ruby/test_struct.rb: add test for struct >10 members
* benchmark/bm_vm2_struct_big_aref_hi.rb: new benchmark
* benchmark/bm_vm2_struct_big_aref_lo.rb: ditto
* benchmark/bm_vm2_struct_big_aset.rb: ditto
* benchmark/bm_vm2_struct_small_aref.rb: ditto
* benchmark/bm_vm2_struct_small_aset.rb: ditto
Tue Dec 9 20:24:41 2014 SHIBATA Hiroshi <[email protected]>
* string.c: [DOC] Add missing documentation around String#chomp.
Patch by @stderr [ci skip][fix GH-780]
Tue Dec 9 18:20:02 2014 Nobuyoshi Nakada <[email protected]>
* object.c: [DOC] Revise documentation by Marcus Stollsteimer at
[ruby-core:66368]. [Bug #10526]
* #inspect: be more specific about generated string, remove
obsolete example.
* #nil?: use code examples instead of different call-seq's.
* #tap: clarify what is yielded.
* Integer(): be more specific about to_int and to_i, remove
reference to Ruby 1.8.
* Array(): fix error.
* Class: fix variable name style and indentation in example.
* improve consistency, fix typos and formatting.
Tue Dec 9 12:48:32 2014 Josef Simanek <[email protected]>
* vm_eval.c (rb_eval_string_wrap): [DOC] Fix `rb_eval_string_wrap`
documentation. It is referencing `require` instead of `load`.
The former does not have the optional argument. [Fix GH-779]
Tue Dec 9 10:16:24 2014 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_frame_last_func): return the most recent frame method
name.
* thread.c (recursive_list_access): use the last method name,
instead of the current method name which can be unset in some
cases, not to use a symbol by the invalid ID.
[ruby-core:66742] [Bug #10579]
Sun Dec 7 19:36:12 2014 Kazuki Tsujimoto <[email protected]>
* ext/socket/basicsocket.c, ext/socket/sockssocket.c:
remove code for $SAFE=4.
Sun Dec 7 10:20:55 2014 Eric Hodel <[email protected]>
* lib/rdoc: Update to RDoc 4.2.0.
* test/rdoc: ditto.
Sun Dec 7 09:52:30 2014 Eric Hodel <[email protected]>
* lib/rubygems: Update to RubyGems 2.4.5.
* test/rubygems: ditto.
Sat Dec 6 10:05:08 2014 Shugo Maeda <[email protected]>
* lib/net/imap.rb: Fix undefined variable usage & refactor/DRY
code. Patch by @aledovsky. [Fixes GH-770]
* test/net/test_imap.rb: related test.
Sat Dec 6 10:09:44 2014 Eric Wong <[email protected]>
* thread.c (do_select): rename parameters to avoid shadowing
Sat Dec 6 09:22:45 2014 SHIBATA Hiroshi <[email protected]>
* lib/rake: Update to rake 10.4.2
* test/rake: ditto.
Sat Dec 6 06:48:03 2014 Eric Wong <[email protected]>
* compile.c (rb_iseq_build_from_ary): remove misc handling
Sat Dec 6 06:14:23 2014 Vit Ondruch <[email protected]>
* configure.in (RUBY_LIB_VERSION): Fix --with-ruby-version
configuration option. get rid of quoting in config.status.
* template/verconf.h.tmpl: quote RUBY_LIB_VERSION here.
[ruby-core:66724] [Bug #10572]
Sat Dec 6 04:33:52 2014 NAKAMURA Usaku <[email protected]>
* lib/pp.rb (File::Stat#pretty_print): some platforms (such as Windows)
does not have major/minor parts of device.
Fri Dec 5 22:43:04 2014 SHIBATA Hiroshi <[email protected]>
* ext/psych/lib/psych.rb: bump version to 2.0.8
* ext/psych/psych.gemspec: ditto.
* ext/psych/psych_emitter.c: ditto.
* ext/psych/psych_parser.c: ditto.
Fri Dec 5 17:09:09 2014 Nobuyoshi Nakada <[email protected]>
* ext/socket/option.c (inet_ntop): link aliased inet_ntop in
libruby on mswin not rb_w32_inet_ntop which fails to link for
unknown reason.
Fri Dec 5 11:09:54 2014 Eric Wong <[email protected]>
* iseq.c (prepare_iseq_build): remove unused block_opt param
(rb_iseq_new_with_bopt_and_opt): remove
(rb_iseq_new_with_opt): inline removed function
(rb_iseq_new_with_bopt): remove
(iseq_load): adjust prepare_iseq_build call
[Feature #10565]
Fri Dec 5 09:46:05 2014 Nobuyoshi Nakada <[email protected]>
* parse.y (parser_yylex): fix lex_state after tLABEL_END, should
be EXPR_LABELARG to be followed by "paren with arg".
[ruby-core:66705] [Feature #4935]
Fri Dec 5 02:27:47 2014 Nobuyoshi Nakada <[email protected]>
* ext/extmk.rb: as all extension objects including initializations
of ext and enc should be linked to libruby if enable-shared,
EXTOBJS should not be linked to main programs.
[ruby-core:66675] [Bug #10566]
Thu Dec 4 07:06:02 2014 Eric Wong <[email protected]>
* compile.c (rb_iseq_build_from_exception): entry->sp is unsigned
(iseq_build_callinfo_from_hash): account for kw_arg
(iseq_build_from_ary_body): update for r35459
(CHECK_STRING, CHECK_INTEGER): remove unused checks
(int_param): new function for checking new `params' hash
(iseq_build_kw): new function for loading rb_iseq_param_keyword
(rb_iseq_build_from_ary): account for `misc' entry and general
structure changes
[Feature #8543]
* iseq.c (CHECK_HASH): new macro (for `misc' and `param' entries)
(iseq_load): account for `misc' and `params' hashes
(iseq_data_to_ary): add final opt to arg_opt_labels,
fix kw support, account for unsigned entry->sp
* ext/-test-/iseq_load/iseq_load.c: new ext for test
* ext/-test-/iseq_load/extconf.rb: ditto
* test/-ext-/iseq_load/test_iseq_load.rb: new test
Thu Dec 4 06:56:57 2014 Eric Wong <[email protected]>
* iseq.c (iseq_free): avoid segfault on incomplete iseq
* test/ruby/test_syntax.rb (test_invalid_next): new test
for syntax error, not segfault
Thu Dec 4 04:20:34 2014 Nobuyoshi Nakada <[email protected]>
* load.c (ruby_require_internal): ignore error detail, just return
an error.
Wed Dec 3 17:13:24 2014 Nobuyoshi Nakada <[email protected]>
* encoding.c (load_encoding): use rb_require_internal instead of
calling rb_require_safe with protection.
Wed Dec 3 16:47:35 2014 Nobuyoshi Nakada <[email protected]>
* load.c (register_init_ext, ruby_init_ext): defer running the
registered initialization function until required, not to enable
extensions which have global effects just by loading, e.g.,
mathn/complex and mathn/rational. fix `make test` with
--with-static-linked-ext.
* enc/encinit.c.erb (Init_enc): initialize encdb and transdb
directly.
Wed Dec 3 14:51:26 2014 Nobuyoshi Nakada <[email protected]>
* load.c (ruby_require_internal): separate from rb_require_safe,
not to raise exceptions.
* ruby.c (process_options): remove unnatural encoding search.
Wed Dec 3 14:34:07 2014 Nobuyoshi Nakada <[email protected]>
* string.c (setup_fake_str): fake string does not share another
string, but just should not free.
Wed Dec 3 11:14:14 2014 NAKAMURA Usaku <[email protected]>
* win32/win32.c (w32_spawn): `v2` is used not only for `shell` but also
`cmd`, so must not free before using `cmd`.
[ruby-core:66648] [Bug #10563]
Wed Dec 3 09:48:57 2014 Nobuyoshi Nakada <[email protected]>
* ext/racc/cparse/cparse.c (cparse_params_type): use typed data.
Tue Dec 2 21:33:56 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: use typed data for com_hash.
Tue Dec 2 15:30:30 2014 Martin Duerst <[email protected]>
* array.c (rb_ary_plus): in documentation, added note about
inefficiency of repeated += operations.
Tue Dec 2 07:20:21 2014 Eric Wong <[email protected]>
* iseq.c (iseq_data_to_ary): keep hidden variables
Thanks to wanabe [ruby-core:66566]
Tue Dec 2 06:46:57 2014 Aaron Patterson <[email protected]>
* ext/psych/lib/psych.rb: bumping version
* ext/psych/psych.gemspec: ditto
Tue Dec 2 06:34:08 2014 Aaron Patterson <[email protected]>
* ext/psych/lib/psych/visitors/to_ruby.rb: support objects that are
marshalable, but inherit from basic object.
Thanks Sean Griffin <[email protected]>
* ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
* test/psych/test_marshalable.rb: test for fix
Tue Dec 2 06:32:02 2014 Nobuyoshi Nakada <[email protected]>
* parse.y (ripper_flush_string_content): preserve the dispatched
results at tSTRING_CONTENT. [ruby-dev:48714] [Bug #10437]
* parse.y (regexp_contents): check in ripper only if the whole
content is a single regexp without interpolation.
[ruby-dev:48714] [Bug #10437]
Tue Dec 2 06:30:55 2014 Nobuyoshi Nakada <[email protected]>
* re.c (rb_reg_region_copy): new function to try with GC if copy
failed and return the error.
Tue Dec 2 04:43:08 2014 Nobuyoshi Nakada <[email protected]>
* re.c (CHECK_REGION_COPIED): onig_region_copy() can fail when
memory exhausted but returns nothing, so check by if allocated.
Tue Dec 2 02:53:00 2014 Nobuyoshi Nakada <[email protected]>
* parse.y (magic_comment_encoding): enable in ripper, since the
encoding is necessary to parse non-default encoding scripts.
Tue Dec 2 02:30:25 2014 NARUSE, Yui <[email protected]>
* lib/uri/generic.rb (URI::Generic.build):
use hostname= to detect and wrap IPv6 hosts.
Build is accepting URI components and users may not expect
that a host component needs to be wrapped with square brackets
since it's not providing a URI.
Note: initialize with arg_check => true does not wrap IPv6 hosts.
by Joe Rafaniello <[email protected]>
https://github.com/ruby/ruby/pull/765 fix GH-765
* test/uri/test_generic.rb: Add more tests
Mon Dec 1 20:01:12 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: use typed data for WIN32OLE.
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_event.c: ditto.
Mon Dec 1 17:20:42 2014 Nobuyoshi Nakada <[email protected]>
* win32/Makefile.sub (verconf.h): so depends on verconf.mk, which
is rebuilt by setup.mak.
Mon Dec 1 11:05:46 2014 SHIBATA Hiroshi <[email protected]>
* proc.c: fix grammar by @BenMorganIO [fix GH-764][ci skip]
Mon Dec 1 10:49:53 2014 SHIBATA Hiroshi <[email protected]>
* man/rake.1: Update latest man content by @aledovsky
[fix GH-771][ci skip]
Mon Dec 1 10:42:31 2014 SHIBATA Hiroshi <[email protected]>
* doc/syntax/refinements.rdoc: refinements are no longer experimental.
patch by @gaurish [fix GH-775][ci skip]
Sun Nov 30 20:05:55 2014 Nobuyoshi Nakada <[email protected]>
* parse.y (regexp_contents): fix a typo. pointed out by wanabe.
[ruby-dev:48741] [Bug #10543]
Sun Nov 30 18:55:32 2014 Tanaka Akira <[email protected]>
* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
Don't raise Interrupt.
Sun Nov 30 17:11:05 2014 Tanaka Akira <[email protected]>
* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking): Use
assert_separately.
Sun Nov 30 00:02:52 2014 Nobuyoshi Nakada <[email protected]>
* ruby.c (process_options, ruby_script): transcode script name and
program name to locale encoding as well as argv.
[ruby-dev:48752] [Bug #10555]
* ruby.c (translit_char_bin): should not use code page dependent
CharNext on UTF-8 string. [ruby-dev:48752] [Bug #10555]
Sat Nov 29 16:53:14 2014 Nobuyoshi Nakada <[email protected]>
* ruby.c (ruby_set_argv): convert argv from UTF-8.
* win32/win32.c (rb_w32_sysinit, cmdglob, w32_cmdvector): convert
wide char command line to UTF-8 argv, and glob in UTF-8 so that
metacharacters would match multibyte characters.
[ruby-dev:48752] [Bug #10555]
Sat Nov 29 10:49:23 2014 Nobuyoshi Nakada <[email protected]>
* win32/win32.c (win32_direct_conv, rb_w32_readdir): convert UTF-8
and filesystem code page by using Win32 API directly.
Sat Nov 29 09:37:10 2014 Nobuyoshi Nakada <[email protected]>
* error.c (syserr_initialize): simplify message building and get
rid of potential invalid byte sequence.
Sat Nov 29 06:09:44 2014 NAKAMURA Usaku <[email protected]>
* eval_error.c (error_print): respect the encoding of the message.
* io.c (rb_write_error_str): use rb_w32_write_console() on Windows
if stderr is a tty.
Fri Nov 28 05:10:23 2014 Nobuyoshi Nakada <[email protected]>
* configure.in (--with-setup): add option to select ext/Setup file.
Fri Nov 28 05:02:29 2014 Nobuyoshi Nakada <[email protected]>
* dmyenc.c (Init_enc): separate from dmyext.c for statically
linked extension excluding encoding libraries.
Thu Nov 27 21:58:30 2014 Tanaka Akira <[email protected]>
* common.mk (miniprelude.c): It does not depend on prelude.rb now.
Thu Nov 27 21:49:49 2014 Tanaka Akira <[email protected]>
* tool/update-deps: List up files built always in the source directory
and source files built always in the build directory.
Thu Nov 27 21:24:55 2014 Kazuhiro NISHIYAMA <[email protected]>
* NEWS: add obsolete callcc.
Thu Nov 27 19:59:49 2014 Koichi Sasada <[email protected]>
* compile.c (iseq_compile_each): remove duplicated line event.
[Bug #10449]
* test/ruby/test_settracefunc.rb: add and fix tests.
Thu Nov 27 19:04:50 2014 Koichi Sasada <[email protected]>
* vm_args.c: fix backtrace location for keyword related exceptions.
For example, the following program
def foo(k1: 1); end # line 1
foo(k2: 2) # line 2
causes "unknown keyword: k2 (ArgumentError)".
Before this patch, the backtrace location is only line 2.
However, error should be located at line 1 (over line 2 in
stack trace). This patch fix this problem.
* class.c (rb_keyword_error_new): separate exception creation logic
from rb_keyword_error(), to use in vm_args.c.
* vm_insnhelper.c (rb_arg_error_new): rename to rb_arity_error_new().
* vm_args.c (argument_arity_error): rename to argument_arity_error().
* vm_args.c (argument_kw_error): added to fix backtrace.
* test/ruby/test_keyword.rb: add tests.
Thu Nov 27 17:31:58 2014 Nobuyoshi Nakada <[email protected]>
* common.mk (prelude.c): no longer depends on miniruby, since not
depending on rbconfig.rb.
Thu Nov 27 17:12:14 2014 Nobuyoshi Nakada <[email protected]>
* common.mk (miniprelude.c): miniruby needs no preludes.
Thu Nov 27 17:10:19 2014 Nobuyoshi Nakada <[email protected]>
* template/prelude.c.tmpl: no code if no prelude code is given.
Thu Nov 27 13:11:00 2014 Koichi Sasada <[email protected]>
* gc.c (objspace_malloc_increase): enable lazy sweep on GC by malloc()
(malloc_increase) to make GC incrementally.
This change can increase memory consumption. Report us if you find
any problem.
Thu Nov 27 12:46:38 2014 Tanaka Akira <[email protected]>
* time.c (time_s_mkutc): [DOC] Time.utc's 10 arguments form
doesn't examine wday, yday, isdst and tz.
(time_s_mktime): [DOC] Time.mktime's 10 arguments form
doesn't examine wday, yday and tz.
Suggested by naruse.
Thu Nov 27 11:45:33 2014 Eric Wong <[email protected]>
* iseq.c (iseq_data_to_ary): add missing GC guard
Thu Nov 27 10:51:59 2014 Koichi Sasada <[email protected]>
* vm_core.h: add rb_thread_t::local_storage_recursive_hash
to speed up Thread#[:__recursive_key__] access.
[Bug #10511]
* thread.c (threadptr_local_aref): add fast path for
:__recursive_data__.
* thread.c (threadptr_recursive_hash, threadptr_recursive_hash_set):
add special accessor for recursive hash.
* cont.c: store/restore local_storage_recursive_hash.
* vm.c: init and mark local_storage_recursive_hash.
* vm_trace.c (rb_threadptr_exec_event_hooks_orig): clear and restore
local_storage_recursive_hash directly.
Thu Nov 27 07:11:00 2014 Eric Wong <[email protected]>
* compile.c (iseq_calc_param_size): hoist out of iseq_set_arguments
Wed Nov 26 22:28:12 2014 Nobuyoshi Nakada <[email protected]>
* include/ruby/ruby.h (rb_get_kwargs, rb_extract_keywords): export
keyword argument functions.
Wed Nov 26 21:18:40 2014 SHIBATA Hiroshi <[email protected]>
* test/inlinetest.rb: removed unused test helper.
Wed Nov 26 20:47:28 2014 Masaya Tarui <[email protected]>
* ext/continuation/continuation.c (Init_continuation): obsolete callcc.
first step of [Feature #10548].
Wed Nov 26 19:57:54 2014 Koichi Sasada <[email protected]>
* test/ruby/test_gc.rb (test_latest_gc_info): do test separately
to avoid mysterious behavior.
Wed Nov 26 19:54:31 2014 Nobuyoshi Nakada <[email protected]>
* win32/win32.c (constat_reset): do nothing on non-standard
console emulators. [ruby-core:66471] [Bug #10546]
Wed Nov 26 19:44:13 2014 Tanaka Akira <[email protected]>
* lib/tsort.rb: Returns an enumerator if no block is given.
[ruby-core:66270] [Feature #10508] Proposed by Andrey Savchenko.
Wed Nov 26 17:25:45 2014 Nobuyoshi Nakada <[email protected]>
* parse.y (f_label, f_kw, formal_argument_gen): ignore invalid
formal argument in keyword argument definition.
[ruby-dev:48742] [Bug #10545]
Wed Nov 26 15:32:06 2014 Koichi Sasada <[email protected]>
* compile.c (iseq_set_sequence): use "nop" insn instead of
"jump to next insn".
https://bugs.ruby-lang.org/issues/8543#change-50085
Wed Nov 26 11:01:35 2014 Eric Wong <[email protected]>
* iseq.c (iseq_s_compile_file): close IO when done
Wed Nov 26 06:06:23 2014 Tanaka Akira <[email protected]>
* common.mk: encdb.h and transdb.h depends on $(PREP).
So prebuild files for them in tarball are useless.
Wed Nov 26 02:08:44 2014 Tanaka Akira <[email protected]>
* tool/make-snapshot: Don't generate enc/trans/newline.c in tarball.
Wed Nov 26 00:41:44 2014 Tanaka Akira <[email protected]>
* common.mk (prereq): Don't depends on prelude.c and golf_prelude.c.
Since they depend on $(PREP) which is miniruby, they are rebuilt
after miniruby is built, even if tarball contains them.
Wed Nov 26 00:20:48 2014 Tanaka Akira <[email protected]>
* template/prelude.c.tmpl: Don't expand RbConfig::Config[...].
It is not used now.
* common.mk: prelude.c and golf_prelude.c doesn't depend on rbconfig.
Tue Nov 25 17:07:06 2014 Koichi Sasada <[email protected]>
* NEWS: add an "Implementation changes" section.
Tue Nov 25 16:09:28 2014 Eric Hodel <[email protected]>
* lib/net/http.rb: Do not attempt SSL session resumption when the
session is expired. [Bug #10533]
Tue Nov 25 15:59:46 2014 Eric Hodel <[email protected]>
* lib/rake: Update to rake 10.4.0
* test/rake: ditto.
* NEWS: ditto.
* test/lib/minitest/unit.rb: Add compatibility shim for minitest 5.
This only provides minitest 5 unit test naming compatibility.
Tue Nov 25 15:26:33 2014 Nobuyoshi Nakada <[email protected]>
* tool/vcs.rb (get_revisions): use Time.new instead of Time.mktime
which does not accept UTC offset, and offset manually for older
versions than 1.9.
Tue Nov 25 12:14:43 2014 Nobuyoshi Nakada <[email protected]>
* process.c (Init_process): initialize static IDs before constant
definitions. [ruby-core:66445]
Tue Nov 25 10:32:23 2014 Eric Wong <[email protected]>
* compile.c (iseq_build_callinfo_from_hash): hoist out
(iseq_build_from_ary_body): shorten callinfo case
Mon Nov 24 23:03:21 2014 Kouhei Sutou <[email protected]>
* gems/bundled_gems: Update to test-unit 3.0.7.