forked from ruby/ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
6945 lines (4370 loc) · 229 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Wed Aug 20 17:27:02 2014 Nobuyoshi Nakada <[email protected]>
* configure.in (RUBY_TRY_CFLAGS, RUBY_TRY_LDFLAGS),
(RUBY_CHECK_BUILTIN_SETJMP, RUBY_SETJMP_TYPE),
(RUBY_STACK_GROW_DIRECTION): quote defun names, for some
versions of autoconf possibly. [ruby-core:64473] [Bug #10156]
Tue Aug 19 22:28:32 2014 Nobuyoshi Nakada <[email protected]>
* sprintf.c (rb_str_format): fix condition to round.
[ruby-core:64454] [Bug #10151]
Tue Aug 19 22:22:45 2014 Nobuyoshi Nakada <[email protected]>
* enc/trans/euckr-tbl.rb (EUCKR_TO_UCS_TBL): add missing euro and
registered signs. [ruby-core:64452] [Bug #10149]
Tue Aug 19 13:59:43 2014 Nobuyoshi Nakada <[email protected]>
* compar.c (rb_cmperr): preserve encodings of arguments in the
message.
Tue Aug 19 10:13:23 2014 Nobuyoshi Nakada <[email protected]>
* ext/thread/thread.c (get_array): check instance variables are
initialized properly. [ruby-core:63826][Bug #10062]
Mon Aug 18 17:06:27 2014 Nobuyoshi Nakada <[email protected]>
* sprintf.c (rb_str_format): support rational 'f' format.
[ruby-core:64382] [Bug #10136]
Mon Aug 18 08:03:46 2014 SHIBATA Hiroshi <[email protected]>
* spec/default.mspec: use 2.2 definition.
Sun Aug 17 19:41:40 2014 Kazuki Tsujimoto <[email protected]>
* gc.c (obj_memsize_of): don't calculate memsize of T_NODE
when called from check_gen_consistency. It fixes segmentation
fault on RGENGC_CHECK_MODE >= 1 introduced by r47188.
Sun Aug 17 17:08:12 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (ole_invoke): use RHASH_SIZE instead of
calling Hash#length method.
Sat Aug 16 19:32:06 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole_event.c (evs_length): use RARRAY_LEN instead
of calling Array#length method.
Sat Aug 16 10:20:17 2014 Eric Wong <[email protected]>
* time.c (time_timespec): fix tv_nsec overflow
[Bug #10144]
Fri Aug 15 20:34:17 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: separate WIN32OLE_EVENT src from
win32ole.c.
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_event.c: ditto.
* ext/win32ole/win32ole_event.h: ditto.
* ext/win32ole/depend: ditto.
Fri Aug 15 19:38:00 2014 Koichi Sasada <[email protected]>
* iseq.c (rb_iseq_clone): Should not insert write barrier from
non-RVALUE data (to non-RVALUE data, of course).
Ruby 2.1 also has a same problem.
Fri Aug 15 19:34:33 2014 Koichi Sasada <[email protected]>
* string.c (setup_fake_str): fake strings should not set class by
RBASIC_SET_CLASS() because it insert write barriers to fake
(non-RVALUE) structure.
It can cause unexpected behaviour.
Ruby 2.1 also have a same problem (setup_fake_str() in parse.y).
* symbol.c (setup_fake_str): ditto.
Fri Aug 15 19:27:25 2014 Koichi Sasada <[email protected]>
* array.c (rb_ary_tmp_new_fill): added.
This function creates internal use only array (which is completely
hided by ObjectSpace.each_object) with filling nil.
Otherwise, it can be includes strange VALUEs.
* internal.h: added.
* node.h: use rb_ary_tmp_new_fill() for MEMO.
Fri Aug 15 10:13:37 2014 SHIBATA Hiroshi <[email protected]>
* lib/gserver.rb: removed unmaintained code.
[ruby-core:40313][Feature #5480]
* lib/xmlrpc/httpserver.rb: ditto.
Fri Aug 15 09:22:12 2014 Eric Wong <[email protected]>
* vm_core.h (rb_thread_struct): reorder to pack
* cont.c (rb_context_struct, rb_fiber_struct): ditto
On x86-64, these changes reduces:
rb_thread_struct to 1000 bytes (from 1016)
rb_context_struct to 1288 bytes (from 1312)
rb_fiber_struct to 2272 bytes (from 2304)
Fri Aug 15 09:06:31 2014 Eric Wong <[email protected]>
* thread_pthread.h: define RB_NATIVETHREAD_LOCK_INIT and
RB_NATIVETHREAD_COND_INIT macros
* thread_pthread.c (native_mutex_lock, native_mutex_unlock,
native_mutex_trylock, native_mutex_initialize,
native_mutex_destroy, native_cond_wait):
use rb_nativethread_lock_t instead of pthread_mutex_t
[Feature #10134]
* thread_pthread.c (native_mutex_debug): make argument type-agnostic
to avoid later cast.
* thread_pthread.c (register_cached_thread_and_wait):
replace PTHREAD_COND_INITIALIZER with RB_NATIVETHREAD_COND_INIT,
use native_mutex_{lock,unlock}
* thread_pthread.c (use_cached_thread):
use native_mutex_{lock,unlock}
* thread_pthread.c (native_sleep):
use rb_nativethread_lock_t to match th->interrupt_lock,
use native_mutex_{lock,unlock}
* thread_pthread.c (timer_thread_lock): use rb_nativethread_lock_t type
Fri Aug 15 08:10:29 2014 Eric Wong <[email protected]>
* cont.c (cont_mark): fix typo in unused path [ci skip]
Fri Aug 15 06:00:56 2014 Eric Wong <[email protected]>
* vm.c (rb_thread_mark): update comment about marking `me'
[ruby-core:64340] [ruby-core:64341]
Fri Aug 15 05:53:59 2014 Eric Wong <[email protected]>
* README.EXT: preliminary documentation for RB_GC_GUARD
[Bug #10100] [ruby-core:60741]
Thu Aug 14 00:26:19 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: separate WIN32OLE_RECORD src from
win32ole.c
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_record.c: ditto.
* ext/win32ole/win32ole_record.h: ditto.
* ext/win32ole/depend: ditto.
Wed Aug 13 21:41:04 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: separate WIN32OLE_VARIANT src from
win32ole.c.
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_variant.c: ditto.
* ext/win32ole/win32ole_variant.c: ditto.
* ext/win32ole/depend: ditto.
Wed Aug 13 20:09:37 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: remove unused variable.
Wed Aug 13 19:31:27 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (ole_search_handler_method, rescue_callback,
folerecord_inspect): use PRIsVALUE in rb_sprintf.
* ext/win32ole/win32ole_param.c (foleparam_inspect): ditto.
* ext/win32ole/win32ole_variable.c (folevariable_inspect): use
PRIsVALUE in rb_sprintf, use rb_inspect.
Wed Aug 13 11:54:41 2014 SHIBATA Hiroshi <[email protected]>
* lib/irb/completion.rb: reverted r47163.
because another case can't be show completion target.
Wed Aug 13 11:17:00 2014 Shimpei Makimoto <[email protected]>
* lib/irb.rb: Prevent irb from crashing when exception with
nil backtrace is raised.
[fix GH-434][ruby-core:58078][Bug #9063]
* test/irb/test_raise_no_backtrace_exception.rb: ditto.
Wed Aug 13 11:08:55 2014 SHIBATA Hiroshi <[email protected]>
* lib/irb/completion.rb: fixed broken completion list with
String including spaces. Contributed from @dunric. [fix GH-465]
Wed Aug 13 00:07:01 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: separate WIN32OLE_PARAM src from win32ole.c
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_param.c: ditto.
* ext/win32ole/win32ole_param.h: ditto.
* ext/win32ole/depend: ditto.
Tue Aug 12 23:17:47 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: refactoring. move some methods
into win32ole_type.c / win32ole_method.c
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_method.c: ditto.
* ext/win32ole/win32ole_method.h: ditto.
* ext/win32ole/win32ole_type.h: ditto.
* ext/win32ole/win32ole_type.h: ditto.
Tue Aug 12 22:59:48 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: refactoring. move
ole_typelib_from_itypeinfo into win32ole_typelib.c.
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_typelib.h: ditto.
* ext/win32ole/win32ole_typelib.h: ditto.
Tue Aug 12 21:49:40 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (ole_create_dcom): use the converted
result if the argument can be converted to a string, to get rid
of invalid access. Thanks to nobu. [ruby-dev:48467] [Bug #10127]
Tue Aug 12 14:22:58 2014 SHIBATA Hiroshi <[email protected]>
* configure.in: ignored working directory same as prefix value.
[ruby-core:54999] [Bug #8409]
Tue Aug 12 13:34:25 2014 SHIBATA Hiroshi <[email protected]>
* lib/fileutils.rb: enable to remove with non-owner directory.
[ruby-dev:45976] [Bug #6756]
* test/fileutils/test_fileutils.rb: add testcase for #6756.
Tue Aug 12 12:57:28 2014 SHIBATA Hiroshi <[email protected]>
* vm_exec.c: improve performance in ppc64 arch.
[ruby-core:63437] [Feature #9997]
Tue Aug 12 12:14:52 2014 Akira Matsuda <[email protected]>
* lib/fileutils.rb: fix typo.
[ruby-dev:47831] [Bug #9180]
Tue Aug 12 10:10:42 2014 Eric Wong <[email protected]>
* vm_method.c (release_method_definition): use rb_free_method_entry
Tue Aug 12 06:16:09 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: separate WIN32OLE_METHOD src from
win32ole.c.
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_method.c: ditto.
* ext/win32ole/win32ole_method.h: ditto.
* ext/win32ole/depend: ditto.
Mon Aug 11 22:19:15 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole_variable.c (folevariable_inspect): refactoring.
Mon Aug 11 20:47:27 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: separate WIN32OLE_VARIABLE src from
win32ole.c
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_variable.c: ditto.
* ext/win32ole/win32ole_variable.h: ditto.
* ext/win32ole/depend: ditto.
Mon Aug 11 16:17:21 2014 Tony Miller <[email protected]>
* dir.c (rb_dir_exists_p): [DOC] Document that Dir.exists? is
deprecated. [ruby-core:64135] [Bug #10102]
Mon Aug 11 11:26:33 2014 Nobuyoshi Nakada <[email protected]>
* lib/tempfile.rb: start rdoc parsing inside singleton class
definition to include the document there.
[ruby-core:64157] [Bug #10105]
Sun Aug 10 12:22:43 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole_type.c: refactoring.
Sun Aug 10 10:34:00 2014 SHIBATA Hiroshi <[email protected]>
* lib/cgi/session/pstore.rb: separated sample code.
* lib/open3.rb: ditto.
Sun Aug 10 10:03:24 2014 SHIBATA Hiroshi <[email protected]>
* lib/irb/ext/multi-irb.rb: removed commented-out code.
Sat Aug 9 11:02:07 2014 SHIBATA Hiroshi <[email protected]>
* lib/irb.rb: removed commented-out code.
* lib/irb/**/*.rb: ditto.
Sat Aug 9 10:35:30 2014 Laurent Arnoud <[email protected]>
* lib/cmath.rb: fixed indent. [fix GH-696]
* lib/drb/ssl.rb: ditto.
* lib/irb/**/*.rb: ditto.
Sat Aug 9 10:28:03 2014 SHIBATA Hiroshi <[email protected]>
* test/minitest/test_minitest_unit.rb: removed obsoleted condition
for Ruby 1.8.
* test/ruby/test_time_tz.rb: ditto.
Sat Aug 9 10:18:00 2014 SHIBATA Hiroshi <[email protected]>
* test/cgi/test_cgi_core.rb: removed obsoleted condition for Ruby 1.8.
* test/cgi/test_cgi_header.rb: ditto.
* test/cgi/test_cgi_multipart.rb: ditto.
* test/cgi/test_cgi_tag_helper.rb: ditto.
Sat Aug 9 00:34:37 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: separate WIN32OLE_TYPE src from win32ole.c.
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_type.c: ditto.
* ext/win32ole/win32ole_type.h: ditto.
* ext/win32ole/depend: ditto.
Fri Aug 8 01:53:37 2014 Masaki Matsushita <[email protected]>
* lib/securerandom.rb: use OpenSSL::BN for performance improvement.
* benchmark/bm_securerandom.rb: benchmark script.
Fri Aug 8 17:19:57 2014 SHIBATA Hiroshi <[email protected]>
* lib/open-uri.rb: remove needless condition for old ruby version.
* test/open-uri/test_open-uri.rb: ditto.
Fri Aug 8 16:40:59 2014 SHIBATA Hiroshi <[email protected]>
* lib/irb/init.rb: removed unreachable code.
Fri Aug 8 16:34:22 2014 SHIBATA Hiroshi <[email protected]>
* lib/drb/drb.rb: removed unreachable code.
Fri Aug 8 14:33:49 2014 SHIBATA Hiroshi <[email protected]>
* lib/webrick/httpproxy.rb: remove needless condition
for old ruby version.
Fri Aug 8 01:07:10 2014 Nobuyoshi Nakada <[email protected]>
* parse.y (parser_yylex): fix invalid char in eval, should raise
an syntax error too, as well as directly coded.
[ruby-core:64243] [Bug #10117]
Thu Aug 7 23:25:29 2014 Masaki Matsushita <[email protected]>
* lib/open3.rb: avoid unnecessary write if stdin_data is empty.
Thu Aug 7 21:42:49 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole_typelib.c (foletypelib_version): return
version string.
* test/win32ole/test_win32ole_typelib.rb (test_version): ditto.
Thu Aug 7 15:13:13 2014 SHIBATA Hiroshi <[email protected]>
* lib/cgi.rb: remove needless condition for old ruby version.
Thu Aug 7 06:04:49 2014 Nobuyoshi Nakada <[email protected]>
* parse.y (parser_yyerror): preserve source code encoding in
syntax error messages. [ruby-core:64228] [Bug #10114]
Wed Aug 6 20:56:02 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: separate src of WIN32OLE_TYPELIB from
win32ole.c
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_typelib.c: ditto.
* ext/win32ole/win32ole_typelib.h: ditto.
* ext/win32ole/depend: ditto.
Wed Aug 6 20:44:07 2014 Akinori MUSHA <[email protected]>
* enum.c (enum_one): [DOC] Move enum.one? documentation before the
relevant method. Submitted by @vipulnsward. [Fixes GH-687]
https://github.com/ruby/ruby/pull/687
Wed Aug 6 20:25:47 2014 Akinori MUSHA <[email protected]>
* lib/set.rb (Set#replace): Check if an object given is enumerable
before clearing self. Reported by yui-knk. [GH-675]
https://github.com/ruby/ruby/pull/675
Wed Aug 6 20:07:26 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (olerecord_ivar_set): remove rb_str_subseq.
Wed Aug 6 19:09:27 2014 Akinori MUSHA <[email protected]>
* lib/set.rb (Set): Implement Set#clone by splitting
initialize_copy into initialize_dup and initialize_clone.
Submitted by yui-knk. [Fixes GH-661]
https://github.com/ruby/ruby/pull/661
Wed Aug 6 18:42:58 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: separate src of WIN32OLERuntimeError
from win32ole.c.
* ext/win32ole/win32ole.h: ditto
* ext/win32ole/depend: ditto.
* ext/win32ole/win32ole_error.c: ditto.
* ext/win32ole/win32ole_error.h: ditto.
Wed Aug 6 04:33:58 2014 NARUSE, Yui <[email protected]>
* lib/net/http.rb (Net::HTTP.proxy_uri): use initializer instead
of parser to handle IPv6 address. [Bug #9129]
Wed Aug 6 04:16:05 2014 NARUSE, Yui <[email protected]>
* lib/net/http/requests.rb (Net::HTTP::Options::RESPONSE_HAS_BODY):
OPTIONS requests may have response bodies. [Feature #8429]
http://tools.ietf.org/html/rfc7231#section-4.3.7
Wed Aug 6 03:18:04 2014 NARUSE, Yui <[email protected]>
* lib/net/http/generic_request.rb (Net::HTTP::GenericRequest#exec):
handle req['host'] in update_uri.
* lib/net/http/generic_request.rb
(Net::HTTP::GenericRequest#update_uri):
use req['host'] if it is explicitly set. Even if URI is given,
it is already used for the initial value of req['host'].
Therefore overwritten value should be respected. [Bug #10054]
Wed Aug 6 03:17:34 2014 NARUSE, Yui <[email protected]>
* lib/net/http/generic_request.rb
(Net::HTTP::GenericRequest#update_uri):
handle scheme, host, and port to reflect connection to @uri.
* lib/net/http.rb (Net::HTTP#begin_transport): move trivial handling
to Net::HTTP::GenericRequest#update_uri.
Wed Aug 6 02:16:43 2014 NARUSE, Yui <[email protected]>
* lib/net/http/generic_request.rb
(Net::HTTP::GenericRequest#initialize):
optimize object allocation.
Wed Aug 6 01:16:47 2014 NARUSE, Yui <[email protected]>
* lib/uri/generic.rb (URI::Generic#path_query): remove a private method.
Wed Aug 6 01:15:47 2014 NARUSE, Yui <[email protected]>
* lib/uri/generic.rb (URI::Generic#normalize!): use String#empty?
* lib/uri/generic.rb (URI::Generic#path_query): optimized.
* lib/uri/generic.rb (URI::Generic#to_s): optimized.
Wed Aug 6 00:15:10 2014 NARUSE, Yui <[email protected]>
* lib/uri/http.rb (URI::HTTP#request_uri): optimized.
decrease object allocation, and ensure always create at least one new
object for return value.
Wed Aug 6 03:41:21 2014 Aaron Patterson <[email protected]>
* ext/psych/lib/psych/visitors/to_ruby.rb: backwards compatibility for
hashes emitted by Syck. Github #198
* test/psych/test_hash.rb: test for change.
Tue Aug 5 19:27:59 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (ole_invoke): skip VariantClear when
argument is VT_RECORD variant.
Tue Aug 5 15:52:51 2014 SHIBATA Hiroshi <[email protected]>
* gems/bundled_gems: Upgrade to test-unit-3.0.0 and minitest-5.4.0.
Mon Aug 4 21:50:09 2014 Masaki Suketa <[email protected]>
* test/win32ole/test_win32ole_record.rb: add for WIN32OLE_RECORD
test(need .NET Framework 3.5 to run test).
Mon Aug 4 19:49:34 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (ole_invoke): call rb_hash_foreach instead
of rb_block_call.
* ext/win32ole/win32ole.c: add comment for rdoc of WIN32OLE_VARIANT
class.
Mon Aug 4 09:12:47 2014 Eric Wong <[email protected]>
* variable.c: cleanup to use rb_const_lookup
[Feature #10107]
* vm_insnhelper.c: ditto
Sun Aug 3 10:55:07 2014 Nobuyoshi Nakada <[email protected]>
* include/ruby/encoding.h (rb_check_symbol_cstr): ditto.
Sun Aug 3 10:43:08 2014 Nobuyoshi Nakada <[email protected]>
* vm_insnhelper.c (vm_call_method): unusable super class should cause
method missing when BasicObject is refined but not been using.
[ruby-core:64166] [Bug #10106]
Sat Aug 2 23:47:45 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: separate WIN32OLE::VARIANT src file
from win32ole.c
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_variant_m.c: ditto.
* ext/win32ole/win32ole_variant_m.h: ditto.
* ext/win32ole/depend: ditto.
* ext/.document: ditto.
Sat Aug 2 14:34:58 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: add comments for rdoc.
Sat Aug 2 10:26:57 2014 Nobuyoshi Nakada <[email protected]>
* object.c (rb_obj_itself): new method Object#itself. based on the
patch by Rafael Franca in [ruby-core:64156].
[EXPERIMENTAL] this method may be renamed due to compatibilities.
[ruby-core:44704] [Feature #6373]
Fri Aug 1 22:30:40 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (folerecord_initialize): accept
only 2 arguments. The 2nd argument should be WIN32OLE object or
WIN32OLE_RECORD object.
Fri Aug 1 20:17:33 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (ole_variant2val): call
folerecord_s_allocate instead of WIN32OLE_RECORD.new.
Fri Aug 1 18:39:57 2014 SHIBATA Hiroshi <[email protected]>
* test/date/test_date.rb: remove commented-out code.
* test/date/test_date_arith.rb: ditto.
* test/date/test_date_attr.rb: ditto.
* test/date/test_date_parse.rb: ditto.
Fri Aug 1 16:35:32 2014 Evan Miller <[email protected]>
* numeric.c (flodivmod): all results are NaN if divisor is NaN.
[fix GH-692]
Thu Aug 01 07:28:12 2014 Kenta Murata <[email protected]>
* ext/bigdecimal/bigdecimal.c: [DOC] Add description of
`BigDecimal.new` exceptions. Patched by @joker1007 and
@prathamesh-sonpatki [Fixes GH-690]
https://github.com/ruby/ruby/pull/690
Thu Jul 31 22:20:12 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: add WIN32OLE_RECORD#inspect.
Thu Jul 31 20:35:32 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: add
WIN32OLE_RECORD#ole_instance_variable_set and
WIN32OLE_RECORD#ole_instance_variable_get
Wed Jul 30 23:28:10 2014 Kazuki Tsujimoto <[email protected]>
* sprintf.c (rb_str_format): like r47006, get rid of
function calls in RSTRING_PTR().
Wed Jul 30 22:10:29 2014 Kazuki Tsujimoto <[email protected]>
* process.c (rlimit_resource_type, rlimit_resource_value):
get rid of inadvertent dynamic symbol pin-down.
* re.c (match_backref_number): ditto.
* signal.c (esignal_init, rb_f_kill, trap_signm): ditto.
* transcode.c (econv_opts): ditto.
* vm_trace.c (symbol2event_flag): ditto.
Wed Jul 30 21:29:39 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (ole_invoke): pass WIN32OLE_RECORD variant
by reference when invoke OLE methods at first.
* ext/win32ole/win32ole.c (olerecord_set_ivar): release
IRecordInfo interface before setting another IRecordInfo interface.
Wed Jul 30 13:17:35 2014 Koichi Sasada <[email protected]>
* gc.c: remove unused macros.
Tue Jul 29 22:21:37 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (hash2olerec): ignore WIN32OLE_RECORD
instance variable if the variable is nil.
Tue Jul 29 19:43:27 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (folerecord_method_missing): refactoring.
divide functionality of folerecord_method_missing into
olerecord_ivar_set and olerecord_ivar_get.
Mon Jul 28 20:20:08 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win23ole.c (folerecord_method_missing): support
setter of member of WIN32OLE_RECORD object.
Mon Jul 28 06:37:19 2014 Zachary Scott <[email protected]>
* vm_eval.c: [DOC] Fix rdoc formatting of patch from [Bug #9551]
Mon Jul 28 06:34:43 2014 Zachary Scott <[email protected]>
* vm_eval.c: [DOC] [Bug #9551] Improve clarity of Kernel::catch
documentation, patch by Jesse Sielaff.
Mon Jul 28 06:24:54 2014 Zachary Scott <[email protected]>
* lib/uri/common.rb: [DOC] [Bug #9563] Recommend using URI.escape
before parsing a uri to avoid invalid characters. Reported by
Evgeniy Serykh.
Mon Jul 28 05:55:56 2014 Zachary Scott <[email protected]>
* time.c: [DOC] Clarify %Y in strftime, which can accept any digits
and will output at least 4 digits as the year. Reported by Yury
Trofimenko [Bug #10049]
* lib/time.rb: ditto
Mon Jul 28 05:32:06 2014 Zachary Scott <[email protected]>
* lib/uri/common.rb: [DOC] [Bug #10075] Clarify how URI.join arguments
are handled by RFC3986, originally reported by John Feminella.
Mon Jul 28 05:21:41 2014 Zachary Scott <[email protected]>
* file.c: [DOC] Clarify how File.file? handles symbolic links. Also
cleaned up the rdoc style for this method, more to follow.
Originally reported by Michael Renner [Bug #10067]
Mon Jul 28 05:12:22 2014 Zachary Scott <[email protected]>
* time.c: [DOC] Remove dead link and old bug report, which hasn't been
reproduced in a few years. Reported by Federico Builes [Bug #10071]
Mon Jul 28 04:39:58 2014 Zachary Scott <[email protected]>
* ext/zlib/zlib.c: [DOC] Remove default value of Zlib constants, as
they may change in the implementation without notice. Patched by
@robin850 [Fixes GH-682] https://github.com/ruby/ruby/pull/682
Mon Jul 28 04:35:35 2014 Zachary Scott <[email protected]>
* ext/openssl/ossl_hmac.c: Fix NO_HMAC warning [Fixes GH-665]
Patched by @vipulnsward https://github.com/ruby/ruby/pull/665
Sun Jul 27 19:49:36 2014 SHIBATA Hiroshi <[email protected]>
* lib/cgi/core.rb: remove unused variables.
* lib/erb.rb: ditto.
* lib/mkmf.rb: ditto.
* lib/net/http/response.rb: ditto.
* lib/optparse/version.rb: ditto.
* lib/prime.rb: ditto.
* lib/racc/parser.rb: ditto.
* lib/rexml/document.rb: ditto.
* lib/rexml/dtd/dtd.rb: ditto.
* lib/rexml/element.rb: ditto.
* lib/rexml/functions.rb: ditto.
* lib/rexml/parsers/xpathparser.rb: ditto.
Sun Jul 27 05:11:21 2014 Zachary Scott <[email protected]>
* lib/irb.rb: [DOC] PROMPT_I cannot be nil, patch by @hgillane
Fixes documenting-ruby/ruby#37
https://github.com/documenting-ruby/ruby/pull/37
Sun Jul 27 02:41:50 2014 SHIBATA Hiroshi <[email protected]>
* lib/shell/command-processor.rb: remove unused variable.
* lib/shell/system-command.rb: ditto.
* lib/tmpdir.rb: ditto.
* lib/uri/generic.rb: ditto.
Sun Jul 27 02:08:31 2014 SHIBATA Hiroshi <[email protected]>
* lib/weakref.rb: split executable code into sample directory.
* sample/weakref.rb: ditto.
Sun Jul 27 02:06:55 2014 SHIBATA Hiroshi <[email protected]>
* lib/delegate.rb: split executable code into sample directory.
* sample/delegate.rb: ditto.
Sun Jul 27 01:46:34 2014 Zachary Scott <[email protected]>
* proc.c (method_super_method): [DOC] Method#super_method
Sun Jul 27 01:22:39 2014 Nobuyoshi Nakada <[email protected]>
* proc.c (method_super_method): new method Method#super_method,
which returns a method object of the method to be called by
`super` in the receiver method object.
[ruby-core:62202] [Feature #9781]
Sat Jul 26 17:22:14 2014 URABE Shyouhei <[email protected]>
* ext/objspace/objspace_dump.c (dump_append): avoid fflush.
because dump_append_string_value() iterates over each chars,
fflush()-ing here effectively issues system calls on every single
bytes exist in a ruby process.
Sat Jul 26 16:55:18 2014 Eric Wong <[email protected]>
* iseq.h (struct iseq_compile_data_storage): reduce overhead
to 16 bytes (from 32) on 64-bit
Sat Jul 26 16:28:06 2014 Eric Wong <[email protected]>
* vm_core.h (struct rb_iseq_struct): reduce to 280 bytes
(from 288 bytes) on 64-bit
Sat Jul 26 06:44:43 2014 Eric Wong <[email protected]>
* parse.y (struct parse_params): shrink to 320 to 304 bytes on 64-bit
Sat Jul 26 05:58:35 2014 Eric Wong <[email protected]>
* include/ruby/ruby.h (ZALLOC, ZALLOC_N): implement
(Data_Make_Struct, TypedData_Make_Struct):
ZALLOC replaces ALLOC+memset
[ruby-core:63951][Feature #10082]
* compile.c (iseq_seq_sequence): ZALLOC_N replaces ALLOC_N+MEMZERO
* cont.c (fiber_t_alloc): ZALLOC replaces ALLOC+MEMZERO
* io.c (rb_io_reopen): ditto
* iseq.c (prepare_iseq_build): ditto
* parse.y (new_args_tail_gen, parser_new, ripper_s_allocate): ditto
* re.c (match_alloc): ditto
* variable.c (rb_const_set): ditto
* ext/socket/raddrinfo.c (get_addrinfo): ditto
* ext/strscan/strscan.c (strscan_s_allocate): ditto
* gc.c (rb_objspace_alloc): calloc replaces malloc+MEMZERO
Sat Jul 26 05:54:54 2014 Eric Wong <[email protected]>
* symbol.c (dsymbol_check): remove unneeded semi-colon
Fri Jul 25 14:07:27 2014 Koichi Sasada <[email protected]>
* gc.c: change objspace::rgengc::parent_object_is_old (boolean)
to objspace::rgengc::parent_object (VALUE).
Use Qfalse or RVALUE pointer instead of FALSE and TRUE.
* gc.c (gc_marks_body): should clear parent_object just before
gc_mark_roots() because there are no parents objects
for root objects.
Fri Jul 25 13:45:39 2014 Koichi Sasada <[email protected]>
* gc.c (rb_gc_writebarrier_remember_promoted): should remember only
OLD objects on RGENGC_AGE2_PROMOTION.
Fri Jul 25 13:42:02 2014 Koichi Sasada <[email protected]>
* gc.c (gc_mark_stacked_objects): fix error message.
Fri Jul 25 13:18:00 2014 Will Farrington <[email protected]>
* ext/socket/socket.c (sock_gethostname): Use NI_MAXHOST to support
hostnames longer than 64 characters if the system supports it.
[fixes GH-683]
Fri Jul 25 12:21:11 2014 Santiago Pastorino <[email protected]>
* compile.c (defined_expr): make the condition if the receiver
is explicit or implicit cleaner. [fix GH-681]
Fri Jul 25 03:53:52 2014 Eric Hodel <[email protected]>
* doc/keywords.rdoc: [DOC] Describe each keyword.
Thu Jul 24 22:40:24 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (Init_win32ole): add WIN32OLE_RECORD#initialize
method.
* ext/win32ole/win32ole.c (ole_val2variant): convert WIN32OLE_RECORD
object to VT_RECORD variant.
Thu Jul 24 20:10:59 2014 Koichi Sasada <[email protected]>
* gc.c: fix major GC flags.
* add GPR_FLAG_MAJOR_BY_FORCE, which indicates
major GC by METHOD, CAPI and so on (see GC_BY).
* remove GPR_FLAG_MAJOR_BY_RESCAN because not used.
* remove GPR_FLAG_MAJOR_BY_STRESS, use FORCE instead.
* test/ruby/test_gc.rb: catch up.
Thu Jul 24 15:55:02 2014 Naohisa Goto <[email protected]>
* include/ruby/io.h (struct rb_io_buffer_t): PACKED_STRUCT should not
be used for platform-specific optimization. PACKED_STRUCT_UNALIGNED
should be used. [ruby-core:63988] [Bug #10088]
Thu Jul 24 04:42:13 2014 SHIBATA Hiroshi <[email protected]>
* lib/benchmark.rb: split executable code into sample directory.
* sample/benchmark.rb: ditto.
Thu Jul 24 04:36:49 2014 SHIBATA Hiroshi <[email protected]>
* lib/tempfile.rb: split executable code into sample directory.
* sample/tempfile.rb: ditto.
Thu Jul 24 04:29:36 2014 SHIBATA Hiroshi <[email protected]>
* lib/pstore.rb: split executable code into sample directory.
* sample/pstore.rb: ditto.
Wed Jul 23 23:50:11 2014 Nobuyoshi Nakada <[email protected]>
* include/ruby/defines.h, siphash.c, st.c (UNALIGNED_WORD_ACCESS):
add PowerPC64 too, which is capable to access unaligned words.
patched by Gustavo Frederico Temple Pedrosa in [ruby-core:63937].
[Feature #10081]
* regint.h (PLATFORM_UNALIGNED_WORD_ACCESS): ditto.
Wed Jul 23 04:04:38 2014 SHIBATA Hiroshi <[email protected]>
* lib/drb/extserv.rb: remove duplicate code with sample directory.
contributed from @vipulnsward. [fix GH-679]
Tue Jul 22 12:56:24 2014 Nobuyoshi Nakada <[email protected]>
* string.c (rb_str_count): fix wrong single-byte optimization.
7bit ascii can be a trailing byte in Shift_JIS.
[ruby-dev:48442] [Bug #10078]
Tue Jul 22 01:48:38 2014 Eric Wong <[email protected]>
* include/ruby/io.h (rb_io_buffer_t): fix packing on gcc
r46892 caused packing to be a no-op on gcc (4.7.2-5, Debian)
[Bug #10079][ruby-core:63912]
Mon Jul 21 15:55:42 2014 fuji70 <[email protected]>
* lib/optparse.rb (getopts): print default values and descriptions
in the help message. [fix GH-676]
Sun Jul 20 14:26:27 2014 Eric Wong <[email protected]>
* vm_core.h (rb_proc_t): reduce to 64 bytes from 72 on 64-bit
Sun Jul 20 13:50:34 2014 Eric Wong <[email protected]>
* transcode.c (rb_econv_t): reduce to 184 bytes from 200 on 64-bit
Sun Jul 20 12:44:23 2014 Eric Wong <[email protected]>
* include/ruby/io.h (rb_io_buffer_t): pack structure
Reduces rb_io_t from 200 to 192 bytes, allowing rb_io_t to
occupy one less cache line.
[Feature #10050]
Sun Jul 20 12:41:53 2014 Eric Wong <[email protected]>
* include/ruby/io.h (rb_io_t): shrink to 200 bytes from 216 on 64-bit
This puts us within 8 bytes of being three cache lines instead of
four lines on x86-64. This breaks the ABI.
[Feature #10050]
Sun Jul 20 12:36:46 2014 Eric Wong <[email protected]>
* include/ruby/oniguruma.h (struct re_pattern_buffer): shrink to 448
bytes from 464 bytes on 64-bit. This breaks the ABI.
[Feature #10034]
Sun Jul 20 01:06:06 2014 SHIBATA Hiroshi <[email protected]>
* ext/openssl/ossl.c: use encryptor instead of encrypter in doc.
contributed from @vipulnsward. [fix GH-663]
Sun Jul 20 00:32:44 2014 Nobuyoshi Nakada <[email protected]>
* io.c (rb_io_initialize): [DOC] fix rdoc of append mode. it does
not move the pointer at open. [ruby-core:63747] [Bug #10039]
Sat Jul 19 12:40:50 2014 Nobuyoshi Nakada <[email protected]>
* compile.c (iseq_compile_each): allow to access private attribute
reader in op_assign. [ruby-core:63817] [Bug #10060]
Sat Jul 19 11:56:36 2014 Grey Baker <[email protected]>
* lib/time.rb (Time#apply_offset): Guards against a `nil` return
value from `Time.month_days` when offsetting date. Out of range
values are then caught when `Time.utc` is called (as usual).
Previously a `nil` return value from `Time.month_days` would
have the `<` operator called on it, and raise `NoMethodError`.
[fix GH-667]
* lib/rdoc/parser/changelog.rb (RDoc#parse_entries): fix dirty hack.
Sat Jul 19 06:19:01 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: refactoring.
Fri Jul 18 22:34:41 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (folevariant_initialize): WIN32OLE_VARIANT
does not support VT_RECORD. VT_RECORD should be supported in
WIN32OLE_RECORD.
* test/win32ole/test_win32ole_variant.rb (test_s_new_vt_record_exc):
ditto.
Fri Jul 18 19:54:03 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (folevariant_initialize): remove unnecessary
code.
Fri Jul 18 19:11:03 2014 Marc-Andre Lafortune <[email protected]>
* lib/matrix/eigenvalue_decomposition: Style fix
Patch by Gogo Tanaka [#10058]
Fri Jul 18 19:03:53 2014 Marc-Andre Lafortune <[email protected]>
* lib/matrix.rb: Avoid using `and`.
Patch by gogo tanaka [#10058]
Fri Jul 18 17:41:54 2014 GoGo tanaka <[email protected]>
* test/matrix/test_matrix.rb: Add tests for Matrix class.
[Feature #10057][ruby-core:63809]
Fri Jul 18 10:14:42 2014 SHIBATA Hiroshi <[email protected]>
* lib/fileutils.rb: added missing options of FileUtils.touch by @Domon.
[fix GH-669]
Thu Jul 17 19:57:27 2014 Herwin <[email protected]>
* ext/thread/thread.c (rb_szqueue_push): add optional parameter,
non_block defaulted to false. [ruby-core:63794] [Feature #10052]
Wed Jul 16 23:01:43 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (ole_variant2val): support array of
VT_RECORD variant.
Wed Jul 16 20:21:49 2014 Naohisa Goto <[email protected]>
* vm_core.h (struct rb_iseq_struct): stack_max is changed to int
because all calculations related to stack_max in compile.c
(iseq_set_sequence) and vm_insnhelper.c (vm_push_frame) are
conducted by using int. This partly reverts r23945.
* vm_insnhelper.c (vm_push_frame): ditto. This reverts r42401.
Wed Jul 16 19:55:32 2014 Naohisa Goto <[email protected]>
* vm_core.h (struct rb_iseq_struct): temporal workaround of [Bug 10037].
Add padding on big-endian 64-bit architecture (e.g. sparc64).