forked from ruby/ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
7171 lines (4511 loc) · 237 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 27 23:10:24 2014 Masaki Matsushita <[email protected]>
* lib/tempfile.rb: remove "require 'thread'". its features are no
longer used.
Wed Aug 27 21:19:40 2014 gogo tanaka <[email protected]>
* lib/drb/acl.rb: Removed meaningless #to_s methods in interpolation.
[Feature #10174][ruby-core:64584]
* lib/erb.rb: ditto.
* lib/observer.rb: ditto.
* lib/rake/invocation_chain.rb: ditto.
* lib/rubygems/command_manager.rb: ditto.
* lib/rubygems/config_file.rb: ditto.
* lib/uri/common.rb: ditto.
Wed Aug 27 21:08:20 2014 gogo tanaka <[email protected]>
* lib/drb/drb.rb: use attr_reader instead of Module#attr.
[Feature #10172][ruby-core:64582]
* lib/irb/ruby-token.rb: ditto.
* lib/net/telnet.rb: ditto.
* lib/rdoc/ruby_token.rb: ditto.
* lib/thwait.rb: ditto.
Wed Aug 27 19:52:33 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (vtdate2rbtime): try to convert millisecond
of VT_DATE VARIANT to nsec of Time object.
* test/win32ole/test_win32ole_variant.rb
(test_conversion_dbl2date_with_msec): ditto.
Wed Aug 27 09:57:29 2014 SHIBATA Hiroshi <[email protected]>
* test/ruby/test_complex.rb: removed unreachable code.
* test/ruby/test_rational.rb: ditto.
Wed Aug 27 07:59:17 2014 Eric Wong <[email protected]>
* compile.c (iseq_set_sequence): check for multiplication overflow
Tue Aug 26 22:07:42 2014 SHIBATA Hiroshi <[email protected]>
* test/ruby/test_complex.rb: cherry-picked working assertions from r47251.
* test/ruby/test_rational.rb: cherry-picked working assertions from r47263.
Tue Aug 26 21:07:56 2014 gogo tanaka <[email protected]>
* lib/mathn.rb (Fixnum#**, Bignum#**, Float#**, Rational#**):
remove as these are now built-in. [ruby-core:63973] [Bug #10086]
Tue Aug 26 20:46:55 2014 Tanaka Akira <[email protected]>
* time.c (rb_time_unmagnify_to_float): Avoid double rounding.
Reported by Tsuyoshi Sawada.
https://bugs.ruby-lang.org/issues/10135#note-1
Tue Aug 26 17:12:47 2014 Nobuyoshi Nakada <[email protected]>
* io.c (io_close): ignore only "closed stream" IOError and
NoMethodError, do not swallow other exceptions at the end of
block. [ruby-core:64463] [Bug #10153]
Tue Aug 26 13:46:33 2014 Kazuhiro NISHIYAMA <[email protected]>
* template/fake.rb.in: fix failed to make install when @srcdir@ is
absolute path.
Tue Aug 26 13:43:50 2014 SHIBATA Hiroshi <[email protected]>
* test/ruby/test_range.rb: added workaround for VERBOSE message.
Tue Aug 26 12:38:02 2014 SHIBATA Hiroshi <[email protected]>
* test/test_mathn.rb: added workaround for VERBOSE messages.
Tue Aug 26 11:44:04 2014 SHIBATA Hiroshi <[email protected]>
* lib/shell/process-controller.rb: removed commented-out code.
Tue Aug 26 11:39:01 2014 SHIBATA Hiroshi <[email protected]>
* lib/thwait.rb (ThreadsWait): removed needless constant.
Tue Aug 26 09:27:10 2014 SHIBATA Hiroshi <[email protected]>
* lib/mathn.rb: mathn library is deprecated on ruby 2.2.
[Feature #10169][ruby-core:64553]
Tue Aug 26 09:25:03 2014 SHIBATA Hiroshi <[email protected]>
* lib/mathn.rb: removed commented-out code.
Mon Aug 25 20:15:50 2014 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c(fole_s_connect, fole_initialize): raise a
security error with the tainted string object.
* ext/win32ole/win32ole_event.c(ev_advise): ditto.
* test/win32ole/test_win32ole.rb(test_s_new_exc_svr_tainted,
test_s_new_exc_host_tainted): ditto.
* test/win32ole/test_win32ole_event.rb(test_s_new_exc_tainted): ditto.
Mon Aug 25 12:56:54 2014 Ivan Korunkov <[email protected]>
* lib/logger.rb (format_datetime): use "%6N" to show microsecond.
[Fix GH-704]
Mon Aug 25 11:02:07 2014 Eric Wong <[email protected]>
* vm_core.h (rb_iseq_location_t): change first_lineno type to VALUE
* iseq.c (rb_iseq_build_for_ruby2cext): update based on argument
Sun Aug 24 16:14:46 2014 SHIBATA Hiroshi <[email protected]>
* lib/e2mmap.rb: remove needless instance variables.
* lib/irb.rb: ditto.
* lib/irb/**/*.rb: ditto.
* lib/shell.rb: ditto.
Sun Aug 24 12:44:26 2014 SHIBATA Hiroshi <[email protected]>
* test/ruby/test_complex.rb: removed needless conditions.
* test/ruby/test_rational.rb: ditto.
Sun Aug 24 11:47:39 2014 SHIBATA Hiroshi <[email protected]>
* test/ruby/test_rational.rb: fixed indent.
Sun Aug 24 11:44:11 2014 SHIBATA Hiroshi <[email protected]>
* test/ruby/test_rational.rb: remove commented-out code.
Sun Aug 24 11:09:29 2014 Eric Wong <[email protected]>
* lib/benchmark.rb (measure): reduce allocations as in r47260
Sun Aug 24 10:35:54 2014 Pete Higgins <[email protected]>
* lib/benchmark.rb (module Benchmark): define BENCHMARK_CLOCK
(realtime): use Process.clock_gettime(BENCHMARK_CLOCK)
Reduces allocations to improve performance [Feature #10165]
* test/benchmark/test_benchmark.rb (test_realtime_output): new test
Fri Aug 22 20:23:54 2014 Koichi Sasada <[email protected]>
* string.c (rb_fstring): fix condition (easy to cause infinite loop!).
Fri Aug 22 20:07:43 2014 Koichi Sasada <[email protected]>
* string.c (rb_fstring, fstr_update_callback): simply delete garbage
key first.
Garbage keys can be swept by lazy sweeping invoked by creating new
fstring. So that simply do:
(1) delete garbage key and return `fstr_update_callback' immediately
(2) try again `fstr_update_callback()' to create a new fstr.
This bug can be cause memory corruption, reported by
http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20140821T220302Z.fail.html.gz
Fri Aug 22 19:30:39 2014 SHIBATA Hiroshi <[email protected]>
* test/ruby/test_complex.rb: removed commented-out code.
Fri Aug 22 19:25:28 2014 SHIBATA Hiroshi <[email protected]>
* test/ruby/test_complex.rb: fixed broken tests. Math is not
compatible CMath now.
Fri Aug 22 15:36:09 2014 Nobuyoshi Nakada <[email protected]>
* common.mk (Doxyfile): revert r43888, not to require preinstalled
ruby. [ruby-core:64488] [Bug #10161]
Fri Aug 22 12:32:15 2014 SHIBATA Hiroshi <[email protected]>
* lib/shell.rb: removed commented-out code.
* lib/shell/builtin-command.rb: ditto.
* lib/shell/command-processor.rb: ditto.
Fri Aug 22 12:21:46 2014 SHIBATA Hiroshi <[email protected]>
* lib/complex.rb: removed deprecated library.
* lib/rational.rb: ditto.
Fri Aug 22 11:38:49 2014 SHIBATA Hiroshi <[email protected]>
* lib/prettyprint.rb: removed PrettyPrint#first?
because it is obsoleted method since Ruby 1.8.2
Thu Aug 21 17:10:31 2014 Nobuyoshi Nakada <[email protected]>
* win32/win32.c (constat_attr): manage reverse video internally
since Windows console window does not manage it. based on the
patch by white leaf in [ruby-dev:48483]. [Bug #10158]
Thu Aug 21 14:45:41 2014 SHIBATA Hiroshi <[email protected]>
* lib/e2mmap.rb: removed commented-out code.
Thu Aug 21 13:23:34 2014 SHIBATA Hiroshi <[email protected]>
* lib/rinda/ring.rb: split executable code into sample directory.
* sample/rinda-ring.rb: ditto.
Thu Aug 21 13:21:45 2014 SHIBATA Hiroshi <[email protected]>
* lib/drb/acl.rb: split executable code into sample directory.
* sample/drb/acl.rb: ditto.
Thu Aug 21 12:55:35 2014 SHIBATA Hiroshi <[email protected]>
* .gitignore: ignored temporary file for Changelog.
http://mkosaki.blog46.fc2.com/blog-entry-1284.html
Thu Aug 21 12:40:22 2014 SHIBATA Hiroshi <[email protected]>
* lib/net/imap.rb: split executable code into sample directory.
* sample/net-imap.rb: ditto.
Thu Aug 21 12:23:56 2014 SHIBATA Hiroshi <[email protected]>
* lib/net/imap.rb: removed commented-out code.
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