-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
25854 lines (16598 loc) · 895 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Thu Jun 27 20:10:56 2013 CHIKANAGA Tomoyuki <[email protected]>
* ext/openssl/lib/openssl/ssl.rb (verify_certificate_identity): fix
hostname verification. Patched by nahi.
* test/openssl/test_ssl.rb (test_verify_certificate_identity): test for
above.
Thu Jun 27 13:16:40 2013 Hiroshi Shirosaki <[email protected]>
* test/rubygems/test_gem_installer.rb (test_install_extension_flat):
use ruby in build directory in case ruby is not installed.
[ruby-core:53265] [Bug #8058]
Wed Jun 26 23:05:34 2013 Hiroshi Shirosaki <[email protected]>
* test/ruby/test_io.rb (TestIO#test_write_32bit_boundary): skip if
writing a file is slow.
[ruby-core:55541] [Bug #8519]
Wed Jun 26 22:42:36 2013 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb: should use expanded values for header directories
unless extmk. patch by vo.x (Vit Ondruch) at [ruby-core:55653]
[Bug #8115], rhbz#921650.
Wed Jun 26 02:25:52 2013 Akinori MUSHA <[email protected]>
* lib/rubygems/ext/builder.rb (Gem::Ext::Builder.make): Pass
DESTDIR via command line to override what's in MAKEFLAGS. This
fixes an installation problem under a package building
environment where DESTDIR is specified in the (parent) command
line. [Fixes GH-327]
Tue Jun 25 00:12:19 2013 Zachary Scott <[email protected]>
* array.c: Return value in Array overview example found by @PragTob
[Fix GH-336] https://github.com/ruby/ruby/pull/336
Tue Jun 25 00:11:46 2013 Zachary Scott <[email protected]>
* array.c (rb_ary_zip): typo by @PragTob [Fix GH-337]
https://github.com/ruby/ruby/pull/337
Tue Jun 25 00:10:54 2013 Zachary Scott <[email protected]>
* win32/README.win32: grammar typo by @blankenshipz [Fix GH-334]
https://github.com/ruby/ruby/pull/334
Sun Jun 23 00:03:18 2013 Charlie Somerville <[email protected]>
* ext/etc/etc.c (etc_getpwnam): use PRIsVALUE in format string instead
of %s and RSTRING_PTR
* ext/etc/etc.c (etc_getgrnam): ditto
Sat Jun 22 00:54:41 2013 Eric Hodel <[email protected]>
* lib/rubygems: Update to RubyGems 2.0.3
* test/rubygems: Tests for the above.
* NEWS: Added RubyGems 2.0.3 note.
Wed Jun 19 04:20:31 2013 Charlie Somerville <[email protected]>
* vm_insnhelper.c (vm_call_method): ensure methods of type
VM_METHOD_TYPE_ATTR_SET are called with 1 argument
* test/ruby/test_module.rb (class TestModule): add test
[ruby-core:55543] [Bug #8540]
Wed Jun 19 03:54:04 2013 Nobuyoshi Nakada <[email protected]>
* defs/id.def (predefined): add "idProc".
* proc.c (mnew, mproc, mlambda): use predefined IDs.
* vm.c (Init_VM): ditto.
Wed Jun 19 03:54:04 2013 Nobuyoshi Nakada <[email protected]>
* include/ruby/intern.h (rb_block_lambda): add declaration instead of
deprecated rb_f_lambda.
Wed Jun 19 03:24:07 2013 Kazuki Tsujimoto <[email protected]>
* include/ruby/ruby.h, vm_eval.c (rb_funcall_with_block):
new function to invoke a method with a block passed
as an argument.
* string.c (sym_call): use the above function to avoid
a block sharing. [ruby-dev:47438] [Bug #8531]
* vm_insnhelper.c (vm_yield_with_cfunc): don't set block
in the frame.
* test/ruby/test_symbol.rb (TestSymbol#test_block_given_to_proc):
run related tests.
Wed Jun 19 03:06:57 2013 Kazuki Tsujimoto <[email protected]>
* test/ruby/test_proc.rb (TestProc#test_block_given_method_to_proc):
run test for r41359.
Wed Jun 19 03:06:57 2013 Kazuki Tsujimoto <[email protected]>
* include/ruby/intern.h, proc.c (rb_method_call_with_block):
new function to invoke a Method object with a block passed
as an argument.
* proc.c (bmcall): use the above function to avoid a block sharing.
[ruby-core:54626] [Bug #8341]
* test/ruby/test_proc.rb (TestProc#test_block_persist_between_calls):
run related tests.
Tue Jun 18 02:49:20 2013 NARUSE, Yui <[email protected]>
* test/ruby/envutil.rb (assert_separately): stop_auto_run of
Test::Unit::Runner to prevent auto runner use ARGV.
* test/ruby/envutil.rb (assert_separately): add $: to separate process.
* test/ruby/envutil.rb (assert_separately): fail if stderr is not
empty and ignore_stderr is false.
Tue Jun 18 02:21:54 2013 NARUSE, Yui <[email protected]>
* test/ruby/envutil.rb (EnvUtil.with_default_external): add for
changing Encoding.default_external without warnings.
* test/ruby/envutil.rb (EnvUtil.with_default_internal): ditto.
* test/ruby/test_io_m17n.rb: use above with_default_external.
Tue Jun 18 00:43:27 2013 Zachary Scott <[email protected]>
* vm_backtrace.c: Update rdoc for Backtrace#label with @_ko1
Tue Jun 18 00:34:57 2013 CHIKANAGA Tomoyuki <[email protected]>
merge revision(s) 41347: [Backport #5048] [Backport #5465] [Backport #8319]
* ext/tk/extconf.rb: support s390x (Thanks to bkabrda) [Bug #5465]
* ext/tk/extconf.rb: apply [Bug #5048]
* ext/tk/lib/tk/canvas.rb,ext/tk/sample/demos-{en,jp}/{tree.rb,widget}:
fix bug (Thanks to zzak) [ruby-trunk - Bug #8319]
Sun Jun 16 01:56:54 2013 Nobuyoshi Nakada <[email protected]>
* array.c (FL_SET_EMBED): shared object is frozen even when get
unshared.
* array.c (rb_ary_modify): ARY_SET_CAPA needs unshared array.
Sun Jun 16 01:32:26 2013 TAKANO Mitsuhiro <[email protected]>
* insns.def: fix condition.
Sun Jun 16 01:22:35 2013 Eric Hodel <[email protected]>
* ext/socket/extconf.rb: Enable RFC 3542 IPV6 socket options for OS X
10.7+. [ruby-trunk - Bug #8517]
Sun Jun 16 01:11:10 2013 Koichi Sasada <[email protected]>
* compile.c (rb_iseq_compile_node): fix location of a `trace'
instruction (b_return event).
[ruby-core:55305] [ruby-trunk - Bug #8489]
(need a backport to 2.0.0?)
* test/ruby/test_settracefunc.rb: add a test.
Sun Jun 16 00:30:56 2013 Nobuyoshi Nakada <[email protected]>
* vm_eval.c (eval_string_with_cref): propagate absolute path from the
binding if it is given explicitly. patch by Gat (Dawid Janczak) at
[ruby-core:55123]. [Bug #8436]
Wed Jun 12 23:41:21 2013 NARUSE, Yui <[email protected]>
* vm_insnhelper.c (vm_yield_setup_block_args): partially revert r41019.
The code is not useless.
Wed Jun 12 23:41:21 2013 Nobuyoshi Nakada <[email protected]>
* vm_insnhelper.c (vm_yield_setup_block_args): split single parameter
if any keyword arguments exist, and then extract keyword arguments.
[ruby-core:55203] [Bug #8463]
Wed Jun 12 23:05:41 2013 Nobuyoshi Nakada <[email protected]>
* io.c (io_getc): fix 7bit coderange condition, check if ascii read
data instead of read length. [ruby-core:55444] [Bug #8516]
Sun Jun 9 02:27:07 2013 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (install_dirs, with_destdir): prefix with DESTDIR
directories to install only unless bundled extension libraries.
[ruby-core:53502] [Bug #8115]
Sun Jun 9 02:17:16 2013 Charlie Somerville <[email protected]>
* class.c (include_modules_at): invalidate method cache if included
module contains constants
* test/ruby/test_module.rb: add test
Sun Jun 9 01:59:39 2013 CHIKANAGA Tomoyuki <[email protected]>
merge revision 40783 (partially): [Backport #8413]
* win32/Makefile.sub: fix a typo in config.h.
Sun Jun 9 01:38:55 2013 Charlie Somerville <[email protected]>
* intern.h: remove dangling rb_class_init_copy declaration
[ruby-core:55120] [Bug #8434]
Sun Jun 9 01:30:57 2013 Shugo Maeda <[email protected]>
* lib/net/imap.rb (capability_response): should ignore trailing
spaces. Thanks, Peter Kovacs. [ruby-core:55024] [Bug #8415]
* test/net/imap/test_imap_response_parser.rb: related test.
Wed Jun 5 00:38:46 2013 Nobuyoshi Nakada <[email protected]>
* ext/zlib/zlib.c (gzfile_read, gzfile_read_all, gzfile_getc),
(gzreader_gets): check EOF. [ruby-core:55220] [Bug #8467]
Wed Jun 5 00:32:18 2013 Tanaka Akira <[email protected]>
* test/ruby/test_require.rb: Remove temporally files in the tests.
* test/ruby/test_rubyoptions.rb: Ditto.
* test/logger/test_logger.rb: Ditto.
* test/psych/test_psych.rb: Ditto.
* test/readline/test_readline.rb: Ditto.
* test/syslog/test_syslog_logger.rb: Ditto.
* test/webrick/test_httpauth.rb: Ditto.
* test/zlib/test_zlib.rb: Ditto.
Wed Jun 5 00:08:55 2013 Yusuke Endoh <[email protected]>
* dir.c (bracket): fix copy-paste error. When the first and last
characters of fnmatch range have different length, fnmatch may
have wrongly matched a path that does not really match.
Coverity Scan found this bug.
Wed Jun 5 00:04:12 2013 Nobuyoshi Nakada <[email protected]>
* string.c (rb_str_quote_unprintable): check if argument is a string.
Tue Jun 4 23:42:18 2013 Nobuyoshi Nakada <[email protected]>
* load.c (loaded_feature_path): fix invalid read by index underflow.
the beginning of name is also a boundary as well as just after '/'.
Tue Jun 4 23:32:12 2013 Charlie Somerville <[email protected]>
* variable.c (set_const_visibility): use rb_frame_this_func() instead
of rb_frame_callee() for getting the name of the called method
* test/ruby/test_module.rb: add test for private_constant with no args
Tue Jun 4 23:27:24 2013 Yusuke Endoh <[email protected]>
* vm_insnhelper.c (vm_callee_setup_keyword_arg,
vm_callee_setup_arg_complex): consider a hash argument for keyword
only when the number of arguments is more than the expected
mandatory parameters. [ruby-core:53199] [ruby-trunk - Bug #8040]
* test/ruby/test_keyword.rb: update a test for above.
Tue Jun 4 00:46:05 2013 Nobuyoshi Nakada <[email protected]>
* win32/win32.c (setup_overlapped, finish_overlapped): extract from
rb_w32_read() and rb_w32_write().
Tue Jun 4 00:02:45 2013 Nobuyoshi Nakada <[email protected]>
* vm_core.h (rb_vm_tag): move jmpbuf between tag and prev so ensure to
be accessible.
Tue Jun 4 00:02:45 2013 Nobuyoshi Nakada <[email protected]>
* eval_intern.h (TH_PUSH_TAG): ensure jmpbuf to be accessible before
pushing tag to get rid of unaccessible tag by stack overflow.
Mon Jun 3 23:22:58 2013 Nobuyoshi Nakada <[email protected]>
* compile.c (iseq_compile_each): forward anonymous and first keyword
rest argument one. [ruby-core:55033] [Bug #8416].
Sun Jun 2 22:39:24 2013 Zachary Scott <[email protected]>
* range.c: Fix rdoc on Range#bsearch [Bug #8242] [ruby-core:54143]
Mon May 20 04:00:48 2013 Zachary Scott <[email protected]>
* lib/yaml.rb: YAML documentation from #8344 [Bug #8355]
Wed May 15 23:22:09 2013 CHIKANAGA Tomoyuki <[email protected]>
* include/ruby/intern.h: should include sys/time.h for struct timeval
if it exists. [ruby-list:49363]
Tue May 14 20:21:41 2013 Eric Hodel <[email protected]>
* lib/rubygems/config_file.rb: Lazily load .gem/credentials to only
check permissions when necessary. RubyGems bug #465
* test/rubygems/test_gem_config_file.rb: Test for the above.
* test/rubygems/test_gem_commands_push_command.rb: Remove duplicated
test.
Tue May 14 20:11:00 2013 CHIKANAGA Tomoyuki <[email protected]>
* ext/dl/lib/dl/func.rb (DL::Function#call): check tainted when
$SAFE > 0.
* ext/fiddle/function.c (function_call): check tainted when $SAFE > 0.
* test/fiddle/test_func.rb (module Fiddle): add test for above.
Sun May 12 22:42:25 2013 KOSAKI Motohiro <[email protected]>
* signal.c (rb_f_kill): fixes typo. s/HAS_KILLPG/HAVE_KILLPG/.
Sun May 12 04:23:06 2013 Nobuyoshi Nakada <[email protected]>
* parse.y (parser_peek_variable_name): treat invalid global, class,
and instance variable names as mere strings rather than errors.
[ruby-core:54885] [Bug #8375]
Sun May 12 04:23:06 2013 Nobuyoshi Nakada <[email protected]>
* parse.y (parser_yylex): fail if $, @, @@ are not followed by a valid
name character. [ruby-core:54846] [Bug #8375].
Sun May 12 02:50:30 2013 Nobuyoshi Nakada <[email protected]>
* configure.in (RUBY_RM_RECURSIVE): this hack is needed by only
autoconf 2.69 or earlier on darwin.
Sun May 12 02:50:30 2013 Nobuyoshi Nakada <[email protected]>
* configure.in (rm, shvar_to_cpp, unexpand_shvar): local is not
available on old shells.
* configure.in (shvar_to_cpp): escape quotes for old shells.
[Bug #7959] [Bug #8071]
Thu May 9 23:39:47 2013 Nobuyoshi Nakada <[email protected]>
* class.c (rb_mod_included_modules): should not include non-modules.
[ruby-core:53158] [Bug #8025]
Thu May 9 23:39:47 2013 Nobuyoshi Nakada <[email protected]>
* class.c (rb_mod_included_modules): should not include the original
module itself. [ruby-core:53158] [Bug #8025]
Wed May 8 23:07:19 2013 Nobuyoshi Nakada <[email protected]>
* insns.def (defined): use vm_search_superclass() like as normal super
call. based on a patch <https://gist.github.com/wanabe/5520026> by
wanabe.
* vm_insnhelper.c (vm_search_superclass): return error but not raise
exceptions.
* vm_insnhelper.c (vm_search_super_method): check the result of
vm_search_superclass and raise exceptions on error.
Wed May 8 23:07:19 2013 Nobuyoshi Nakada <[email protected]>
* insns.def (defined): get method entry from the method top level
frame, not block frame. [ruby-core:54769] [Bug #8367]
Wed May 8 01:18:41 2013 Tanaka Akira <[email protected]>
* internal.h (MUL_OVERFLOW_SIGNED_INTEGER_P): New macro.
(MUL_OVERFLOW_FIXNUM_P): Ditto.
(MUL_OVERFLOW_LONG_P): Ditto.
* array.c (rb_ary_product): Don't overflow on signed integer
multiplication.
* numeric.c (fix_mul): Ditto.
(int_pow): Ditto.
* rational.c (f_imul): Ditto.
* insns.def (opt_mult): Ditto.
* thread.c (sleep_timeval): Don't overflow on signed integer addition.
* bignum.c (rb_int2big): Don't overflow on signed integer negation.
(rb_big2ulong): Ditto.
(rb_big2long): Ditto.
(rb_big2ull): Ditto.
(rb_big2ll): Ditto.
Tue May 7 20:13:12 2013 CHIKANAGA Tomoyuki <[email protected]>
* test/ruby/test_thread.rb (invoke_rec): extend timeout 10 -> 50 sec,
to investigate test failure on rubyci.
http://a.mrkn.jp/~mrkn/chkbuild/mountain_lion/ruby-2.0.0-m64-o0/log/20130507T052909Z.log.html.gz
Sat May 4 23:48:56 2013 Zachary Scott <[email protected]>
* doc/security.rdoc: Add note about reporting security vulns
Sat May 4 23:44:54 2013 Nobuyoshi Nakada <[email protected]>
* object.c (rb_obj_is_kind_of): skip prepending modules.
[ruby-core:54742] [Bug #8357]
* object.c (rb_class_inherited_p): ditto.
[ruby-core:54736] [Bug #8357]
Thu May 2 23:39:45 2013 Tanaka Akira <[email protected]>
* thread.c (double2timeval): convert the infinity to TIME_MAX to avoid
SEGV by Thread.new {}.join(Float::INFINITY) on
Debian GNU/Linux (amd64).
Thu May 2 00:30:00 2013 Tanaka Akira <[email protected]>
* thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION.
This fixes a compilation failure while cross-compiling for Tensilica
Xtensa Processor.
Thu May 2 00:19:46 2013 Tanaka Akira <[email protected]>
* dir.c (dir_set_pos): Fix a compilation error when seekdir() is not
exist.
Thu May 2 00:16:36 2013 Nobuyoshi Nakada <[email protected]>
* README.EXT: correct method name to be used. [Bug #7982]
* README.EXT.ja: add notes too.
Thu May 2 00:16:36 2013 Zachary Scott <[email protected]>
* README.EXT: Copy note from r40505 for rb_sprintf() [Bug #7982]
Thu May 2 00:16:36 2013 Zachary Scott <[email protected]>
* README.EXT: Update note from r40504, by Jeremy Evans [Bug #7982]
Thu May 2 00:16:36 2013 Zachary Scott <[email protected]>
* README.EXT: Add note to warn use of %i in Exceptions [Bug #7982]
Wed May 1 23:35:18 2013 Nobuyoshi Nakada <[email protected]>
* io.c (rb_io_ext_int_to_encs, parse_mode_enc): bom-prefixed name is
not a real encoding name, just a fallback. so the proper conversion
should take place even if if the internal encoding is equal to the
bom-prefixed name, unless actual encoding is equal to the internal
encoding. [ruby-core:54563] [Bug #8323]
* io.c (io_set_encoding_by_bom): reset extenal encoding if no BOM
found. [ruby-core:54569]
Sat Apr 27 02:12:14 2013 KOSAKI Motohiro <[email protected]>
* io.c (rb_fd_fix_cloexec): use rb_update_max_fd().
Sat Apr 27 02:12:14 2013 KOSAKI Motohiro <[email protected]>
* io.c (rb_update_max_fd): use ATOMIC_CAS because this function
is used from timer thread too.
Sat Apr 27 01:57:43 2013 CHIKANAGA Tomoyuki <[email protected]>
* configure.in: use quadrigraphs. workaround for autoconf 2.64.
a patch provided by Hessob Park. [ruby-core:53157] [Backport #8020]
Sat Apr 27 00:39:28 2013 NARUSE, Yui <[email protected]>
* string.c (rb_str_inspect): refix r40413, on Ruby 1.9 usual character
escape uses hex/Unicode escapes, so fix to use Unicode escape on
Unicode strings and hex on others. [ruby-core:54458] [Bug #8290]
Sat Apr 27 00:39:28 2013 Akinori MUSHA <[email protected]>
* test/ruby/test_module.rb
(TestModule#test_const_get_invalid_name)
(test_const_defined_invalid_name): Fix expected values.
Sat Apr 27 00:39:28 2013 Akinori MUSHA <[email protected]>
* string.c (rb_str_inspect): NUL should not be represented as "\0"
when octal digits may follow. [ruby-core:54458] [Bug #8290]
Fri Apr 26 23:48:58 2013 Tanaka Akira <[email protected]>
* thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION.
This fixes a compilation failure while cross-compiling for ARM.
Fri Apr 26 23:32:09 2013 Kouhei Sutou <[email protected]>
* lib/rss/atom.rb (RSS::Atom::Entry): Fix indent of document comment.
Fri Apr 26 23:32:09 2013 Kouhei Sutou <[email protected]>
* lib/rss/maker.rb (RSS::Maker): Fix indent of document comment.
Fri Apr 26 23:32:09 2013 Zachary Scott <[email protected]>
* lib/rss/atom.rb: Documentation for RSS::Atom based on a patch by
Michael Denomy
* lib/rss/maker.rb: Documentation for RSS::Maker also by @mdenomy
Thu Apr 25 00:40:41 2013 Zachary Scott <[email protected]>
* numeric.c: Fix wiki link on Float imprecision in overview, patched
by Makoto Kishimoto [Bug #8304] [ruby-dev:47280]
Thu Apr 25 00:39:16 2013 Zachary Scott <[email protected]>
* string.c: Document String#setbyte return value by @gjmurakami-10gen
[Fixes GH-294]
Thu Apr 25 00:38:06 2013 Zachary Scott <[email protected]>
* ext/socket/lib/socket.rb: Doc typos by @vipulnsward [Fixes GH-292]
Tue Apr 23 23:06:43 2013 Nobuyoshi Nakada <[email protected]>
* vm_method.c (rb_mod_public_method): fix visibility on anonymous
module. set visibility of singleton method, not method in base
class. [ruby-core:54404] [Bug #8284]
Tue Apr 23 22:33:16 2013 Shugo Maeda <[email protected]>
* lib/net/imap.rb (getacl_response): parse the mailbox of an ACL
response correctly. [ruby-core:54365] [Bug #8281]
Sun Apr 21 00:14:36 2013 Kazuhiro NISHIYAMA <[email protected]>
* test/ruby/test_require.rb (TestRequire#test_require_nonascii_path):
RUBY_PLATFORM should escape as Regexp,
because RUBY_PLATFORM may contain '.'.
Sun Apr 21 00:14:36 2013 Hiroshi Shirosaki <[email protected]>
* test/ruby/test_require.rb (TestRequire#test_require_nonascii_path):
fix load path for encoding to run the test as stand-alone.
Sun Apr 21 00:14:36 2013 Hiroshi Shirosaki <[email protected]>
* load.c (features_index_add): use rb_str_subseq() to specify C string
position properly to fix require non ascii path.
[ruby-core:53733] [Bug #8165]
* test/ruby/test_require.rb (TestRequire#test_require_nonascii_path):
a test for the above.
Sun Apr 21 00:13:24 2013 Nobuyoshi Nakada <[email protected]>
* load.c (rb_feature_p), vm_core.h (rb_vm_struct): turn
loaded_features_index into st_table. patches by tmm1 (Aman Gupta)
in [ruby-core:53251] and [ruby-core:53274] [Bug #8048]
Sun Apr 21 00:13:24 2013 Nobuyoshi Nakada <[email protected]>
* load.c (features_index_add_single, rb_feature_p): store single index
as Fixnum to reduce the number of arrays for the indexes. based on
the patch by tmm1 (Aman Gupta) in [ruby-core:53216] [Bug #8048].
Sat Apr 20 23:32:06 2013 Nobuyoshi Nakada <[email protected]>
* dir.c (glob_helper): should skip dot directories only for recursion,
but should not if matching to the given pattern. [ruby-core:54387]
[Bug #8283]
Sat Apr 20 02:37:33 2013 Nobuyoshi Nakada <[email protected]>
* ext/curses/curses.c (Init_curses): fix implementation function,
crmode should be same as cbreak. [ruby-core:54013] [Bug #8222]
Sat Apr 20 02:09:46 2013 Martin Bosslet <[email protected]>
* ext/openssl/ossl_ssl.c: Correct shutdown behavior w.r.t GC.
* test/openssl/test_ssl.rb: Add tests to verify correct behavior.
[Bug #8240] Patch provided by Shugo Maeda. Thanks!
Sat Apr 20 01:56:32 2013 Yuki Yugui Sonoda <[email protected]>
* thread_pthread.c (ruby_init_stack): Avoid using uninitialized value.
stackaddr and size are not set if get_stack() fails.
Sat Apr 20 01:47:31 2013 Yuki Yugui Sonoda <[email protected]>
* thread_pthread.c: Fixes wrong scopes of #if USE_SLEEPY_TIMER_THREAD
.. #endif sections. This fixes a build error on NativeClient.
Sat Apr 20 01:31:38 2013 NARUSE, Yui <[email protected]>
* Merge Onigmo 5.13.4 f22cf2e566712cace60d17f84d63119d7c5764ee.
[bug] fix problem with optimization of \z (Issue #16) [Bug #8210]
Sat Apr 20 01:18:20 2013 Nobuyoshi Nakada <[email protected]>
* vm_insnhelper.c (vm_callee_setup_keyword_arg): non-symbol key is not
a keyword argument, keep it as a positional argument.
Sat Apr 20 01:14:08 2013 Nobuyoshi Nakada <[email protected]>
* thread.c (rb_mutex_synchronize_m): yield no block params. patch by
splattael (Peter Suschlik) in [ruby-core:53773] [Bug #8097].
fix GH-266.
Sat Apr 20 00:41:10 2013 Nobuyoshi Nakada <[email protected]>
* compile.c (iseq_compile_each): append keyword hash to argument array
to splat if needed. [ruby-core:54094] [Bug #8236]
Sat Apr 20 00:31:57 2013 Kouhei Sutou <[email protected]>
* README.EXT.ja (Data_Wrap_Struct): Remove a description about
orphan argument. Oh, I renamed the argument name without
changing description at r36180... Sorry....
Patch by Makoto Kishimoto. Thanks!!! [ruby-dev:47269] [Bug #8292]
* README.EXT.ja (Data_Make_Struct): Add a sample code that describes
how it works.
Patch by Makoto Kishimoto. Thanks!!! [ruby-dev:47269] [Bug #8292]
Tue Apr 16 01:30:47 2013 Kenta Murata <[email protected]>
* configure.in: set ac_cv_prog_cxx if CXX is supplied.
Tue Apr 16 01:30:47 2013 Kenta Murata <[email protected]>
* configure.in: Fix c++ compiler auto-selection not only for
Darwin 11.x, but also the other versions of Darwin.
Tue Apr 16 00:27:56 2013 Nobuyoshi Nakada <[email protected]>
* compile.c (iseq_compile_each): fix of defined? with empty
expression. [ruby-core:53999] [Bug #8220]
Mon Apr 15 00:25:00 2013 Tanaka Akira <[email protected]>
* time.c (num_exact): use to_r method only if to_int method is
available.
[ruby-core:53764] [Bug #8173] reported by Hiro Asari.
Mon Apr 15 00:22:09 2013 Shota Fukumori <[email protected]>
* ext/objspace/objspace.c: Fix typo in doc. Patch by Sho Hashimoto.
[Bug #8116] [ruby-dev:47177]
Mon Apr 15 00:15:04 2013 Nobuyoshi Nakada <[email protected]>
* class.c (HAVE_METACLASS_P): should check FL_SINGLETON flag before get
instance variable to get rid of wrong warning about __attached__.
[ruby-core:53839] [Bug #8188]
Mon Apr 15 00:13:13 2013 NAKAMURA Usaku <[email protected]>
* win32/file.c (code_page): use cp1252 instead of cp20127 as US-ASCII.
fix [ruby-core:53079] [Bug #7996]
reported and patched by mmeltner (Michael Meltner).
Mon Apr 15 00:07:31 2013 Nobuyoshi Nakada <[email protected]>
* include/ruby/io.h: undef POSIX compliant names on AIX, which are no
longer needed. patch suggested by edelsohn (David Edelsohn) in
[ruby-core:53815]. [Bug #8174]
Mon Apr 15 00:07:31 2013 Nobuyoshi Nakada <[email protected]>
* include/ruby/io.h: rename SVR3,4 member names as POSIX compliant,
to get rid of conflict on AIX. [ruby-core:53765] [Bug #8174]
Sun Apr 14 23:49:48 2013 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (configuration): not include all CFLAGS in CXXFLAGS, to
use different set than C for C++. [ruby-core:45273] [Bug #6504]
Sun Apr 14 23:43:06 2013 NARUSE, Yui <[email protected]>
* ext/fiddle/closure.c (initialize): check mprotect's return value.
If mprotect is failed because of PaX or something, its function call
will cause SEGV.
http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20130401T210301Z.diff.html.gz
Sun Apr 14 23:19:55 2013 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (MAIN_DOES_NOTHING): ensure symbols for tests to be
preserved. [ruby-core:53745] [Bug #8169]
Sun Apr 14 23:19:55 2013 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (MAIN_DOES_NOTHING): force to refer symbols for tests
to be preserved. [ruby-core:53745] [Bug #8169]
Sun Apr 14 03:00:51 2013 Naohisa Goto <[email protected]>
* configure.in (AC_CHECK_HEADERS): atomic.h for Solaris atomic_ops.
* ruby_atomic.h: Skip using Solaris10 atomic_ops on Solaris 9 or
earlier if atomic.h is not available. [ruby-dev:47229] [Bug #8228]
Sun Apr 14 02:32:45 2013 Nobuyoshi Nakada <[email protected]>
* time.c (GetTimeval): check if already initialized instance.
* time.c (GetNewTimeval): check if newly created instance.
* time.c (time_init_0, time_init_1, time_init_copy, time_mload): must
be newly created instance. [ruby-core:53436] [Bug #8099]
Sun Apr 14 02:13:25 2013 Marc-Andre Lafortune <[email protected]>
* vm_eval.c (check_funcall_respond_to): preserve passed_block, which
is modified in vm_call0_body() via vm_call0(), and caused a bug of
rb_check_funcall() by false negative result of rb_block_given_p().
re-fix [ruby-core:53650] [Bug #8153].
[ruby-core:53653] [Bug #8154]
Fri Apr 12 04:16:30 2013 Naohisa Goto <[email protected]>
* marshal.c (marshal_dump, marshal_load): workaround for segv on
Intel Solaris compiled with Oracle SolarisStudio 12.3.
Partly revert r38174. [ruby-core:52042] [Bug #7805]
Fri Apr 12 04:12:42 2013 Nobuyoshi Nakada <[email protected]>
* string.c (rb_str_conv_enc_opts): convert with one converter, instead
of re-creating converters for each buffer expansion.
Fri Apr 12 03:48:25 2013 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (find_library): fix to format message.
[ruby-core:53568] [Bug #8130]
Fri Apr 12 03:44:45 2013 Narihiro Nakamura <[email protected]>
* proc.c (bm_free): need to clean up the mark flag of a free and
unlinked method entry. [Bug #8100] [ruby-core:53439]
Fri Apr 12 02:27:42 2013 NARUSE, Yui <[email protected]>
* addr2line.c: use more generic type:
* u_char -> unsigned char
* u_short -> unsigned short
* u_int -> unsigned int
* u_long -> unsigned long
* quad_t -> int64_t
* u_quad_t -> uint64_t
* addr2line.c (imax): inline is defined by configure.
Fri Apr 12 02:27:42 2013 Naohisa Goto <[email protected]>
* addr2line.c: quad_t and u_quad_t is not available on Solaris.
__inline is not available with old compilers on Solaris.
[ruby-dev:47229] [Bug #8227]
Fri Apr 12 02:27:42 2013 KOSAKI Motohiro <[email protected]>
* addr2line.c (putce): suppress unused return value warning.
Fri Apr 12 02:27:42 2013 NARUSE, Yui <[email protected]>
* addr2line.c (kprintf): added from FreeBSD libstand's printf.
this is consided as async signal safe function.
* addr2line.c (rb_dump_backtrace_with_lines): use kfprintf.
[Bug #8144] [ruby-core:53632]
Fri Apr 12 02:27:42 2013 NARUSE, Yui <[email protected]>
* addr2line.c (rb_dump_backtrace_with_lines): output line at once.
Fri Apr 12 02:10:09 2013 Nobuyoshi Nakada <[email protected]>
* vm_method.c (rb_export_method): directly override the flag of method
defined in prepending class too, not adding zsuper entry.
[ruby-core:53106] [Bug #8005]
Fri Apr 12 01:57:52 2013 Eric Hodel <[email protected]>
* lib/fileutils.rb: Revert r34669 which altered the way
metaprogramming in FileUtils occurred. [ruby-trunk - Bug #7958]
* test/fileutils/visibility_tests.rb: Refactored tests of FileUtils
options modules to expose bug found in #7958
* test/fileutils/test_dryrun.rb: ditto.
* test/fileutils/test_nowrite.rb: ditto.
* test/fileutils/test_verbose.rb: ditto.
Fri Apr 12 01:28:46 2013 Luis Lavena <[email protected]>
* win32/file.c (get_user_from_path): add internal function that retrieves
username from supplied path (refactored).
* win32/file.c (rb_file_expand_path_internal): refactor expansion of user
home to use get_user_from_path and cover dir_string corner cases.
[ruby-core:53168] [Bug #8034]
Fri Apr 12 01:28:46 2013 Luis Lavena <[email protected]>
* win32/file.c (rb_file_expand_path_internal): Expand home directory when
used as second parameter (dir_string). [ruby-core:53168] [Bug #8034]
* test/ruby/test_file_exhaustive.rb: add test to verify.
Mon Apr 8 00:10:59 2013 Narihiro Nakamura <[email protected]>
* gc.c: Fix unlimited memory growth with large values of
RUBY_FREE_MIN. patched by tmm1(Aman Gupta).
[Bug #8095] [ruby-core:53405]
Sun Apr 7 22:27:12 2013 Narihiro Nakamura <[email protected]>
* gc.c: Avoid unnecessary heap growth. patched by tmm1(Aman Gupta).
[Bug #8093] [ruby-core:53393]
Sun Apr 7 03:01:49 2013 Nobuyoshi Nakada <[email protected]>
* parse.y (simple_re_meta): escape all closing characters, not only
round parenthesis. [ruby-core:53578] [Bug #8133]
Sun Apr 7 02:54:40 2013 Narihiro Nakamura <[email protected]>
* gc.c: Improve accuracy of objspace_live_num() and
allocated/freed counters. patched by tmm1(Aman Gupta).
[Bug #8092] [ruby-core:53392]
Fri Apr 5 00:54:08 2013 NARUSE, Yui <[email protected]>
* ext/openssl/ossl_bn.c (ossl_bn_initialize): fix can't create from bn.
Thu Apr 4 02:27:12 2013 Tanaka Akira <[email protected]>
* lib/resolv-replace.rb (TCPSocket#initialize): resolve the 3rd
argument only if non-nil value is given.
[ruby-dev:47150] [ruby-trunk - Bug #8054] reported and analyzed by
mrkn.
Thu Apr 4 02:24:59 2013 NARUSE, Yui <[email protected]>
* Merge Onigmo d4bad41e16e3eccd97ccce6f1f96712e557c4518.
fix lookbehind assertion fails with /m mode enabled. [Bug #8023]
fix \Z matches where it shouldn't. [Bug #8001]
Thu Apr 4 02:11:30 2013 Nobuyoshi Nakada <[email protected]>
* marshal.c (w_extended): check for prepended object.
[ruby-core:53206] [Bug #8043]
Wed Mar 27 03:02:30 2013 NARUSE, Yui <[email protected]>
* vm_exec.c: Correct predefined macro name. This typo is introduced by
r36534 and should be backported to ruby_2_0_0.
Wed Mar 27 02:58:44 2013 NARUSE, Yui <[email protected]>
* Merge Onigmo 0fe387da2fee089254f6b04990541c731a26757f
v5.13.3 [Bug#7972] [Bug#7974]
Wed Mar 27 02:53:53 2013 Kouhei Sutou <[email protected]>
* lib/rexml/document.rb: move entity_expansion_text_limit accessor to ...
* lib/rexml/rexml.rb: ... here to make rexml/text independent from
REXML::Document. It causes circular require.
* lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):
deprecated.
* lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit=):
deprecated.
* lib/rexml/text.rb: add missing require "rexml/rexml" for
REXML.entity_expansion_text_limit.
Reported by Robert Ulejczyk. Thanks!!! [ruby-core:52895] [Bug #7961]
Wed Mar 27 02:50:45 2013 Shugo Maeda <[email protected]>
* object.c (Init_Object): remove Module#used, which has been
introduced in Ruby 2.0 by mistake. [Bug #7916] [ruby-core:52719]
Mon Mar 25 02:02:15 2013 Tadayoshi Funaba <[email protected]>
* complex.c: edited rdoc.
* rational.c: ditto.
Mon Mar 25 02:02:15 2013 Tadayoshi Funaba <[email protected]>
* complex.c: described syntax of string form.
* rational.c: ditto.
Mon Mar 25 01:26:26 2013 Zachary Scott <[email protected]>
* lib/webrick/httpproxy.rb: Fix typos in HTTPProxyServer [Bug #8013]
Patch by Nobuhiro IMAI [ruby-core:53127]
Mon Mar 25 01:09:48 2013 Nobuyoshi Nakada <[email protected]>
* compile.c (iseq_compile_each): pass keyword arguments to zsuper,
with current values. [ruby-core:53114] [Bug #8008]
Mon Mar 25 01:05:15 2013 Nobuyoshi Nakada <[email protected]>
* ext/objspace/objspace.c (count_nodes): count also newly added nodes,
and fix key for unknown node. patch by tmm1 (Aman Gupta) in
[ruby-core:53130] [Bug #8014]
Mon Mar 25 01:00:03 2013 Nobuyoshi Nakada <[email protected]>
* class.c (rb_prepend_module): check redefinition of built-in optimized
methods. [ruby-dev:47124] [Bug #7983]
* vm.c (rb_vm_check_redefinition_by_prepend): ditto.
Mon Mar 25 00:51:57 2013 Nobuyoshi Nakada <[email protected]>
* Makefile.in (miniruby, ruby): move MAINLIBC because linker arguments
must appear after object files with newer versions of gcc. patch by
tmm1 (Aman Gupta) in [ruby-core:53121] [Bug #8009]
Mon Mar 25 00:47:04 2013 Koichi Sasada <[email protected]>
* iseq.c (iseq_data_to_ary): fix condition.
r34303 introduces a bug to avoid all line information from
a result of ISeq#to_a. This is a regression problem from 2.0.0p0.
* test/ruby/test_iseq.rb: add a test of lines after ISeq#to_a.
Mon Mar 25 00:41:23 2013 Nobuyoshi Nakada <[email protected]>
* tool/mkconfig.rb: reconstruct comma separated list values. a
command line to Windows batch file is split not only by spaces
and equal signs but also by commas and semicolons.
Wed Mar 20 23:21:14 2013 Hiroshi Shirosaki <[email protected]>
* test/rubygems/test_gem_installer.rb (test_install_extension_flat):
use ruby in build directory in case ruby is not installed.
[ruby-core:53265] [Bug #8058]
Wed Mar 20 23:17:33 2013 NAKAMURA Usaku <[email protected]>
* test/win32ole/test_err_in_callback.rb (TestErrInCallBack#setup):
allow using different root for source and build directories.
this may fixes a minor problem of r39834.
Wed Mar 20 23:17:33 2013 NAKAMURA Usaku <[email protected]>
* test/win32ole/test_err_in_callback.rb (TestErrInCallBack#setup): use
relative path to get rid of "too long commandline" error.
Wed Mar 20 23:17:33 2013 NAKAMURA Usaku <[email protected]>
* test/win32ole/test_err_in_callback.rb
(TestErrInCallBack#test_err_in_callback): shouldn't create a file in
the top of build directory.
Wed Mar 20 23:08:40 2013 KOSAKI Motohiro <[email protected]>
* include/ruby/missing.h: removed __linux__. it's unnecessary.
Wed Mar 20 23:03:27 2013 Tanaka Akira <[email protected]>
* configure.in: move OS specific header/function knowledge before
automatic header tests.
Wed Mar 20 23:01:42 2013 Tanaka Akira <[email protected]>
* configure.in: move header files check to the beginning of
"header and library section".
test rlim_t with sys/types.h and sys/time.h for MirOS BSD.
sys/types.h and sys/time.h is gurded by #ifdef and the above move
is required for this change.
Wed Mar 20 22:57:27 2013 Tanaka Akira <[email protected]>
* configure.in: move the test for -march=i486 just after
RUBY_UNIVERSAL_ARCH/RUBY_DEFAULT_ARCH.
Wed Mar 20 22:56:07 2013 Tanaka Akira <[email protected]>
* configure.in: change CFLAGS temporally to test
ARCH_FLAG="-march=i486".