-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
24065 lines (15457 loc) · 832 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
Sat Feb 9 21:11:21 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 guarded by #ifdef and the above
move is required for this change.
Sat Feb 9 17:45:58 2013 Nobuyoshi Nakada <[email protected]>
* configure.in, version.c: prevent duplicated load paths by empty
version string, it does not work right now.
Sat Feb 9 17:38:41 2013 Nobuyoshi Nakada <[email protected]>
* configure.in: fix arch parameters in help message. [Bug #7804]
Sat Feb 9 13:13:00 2013 Zachary Scott <[email protected]>
* vm_trace.c: Note about TracePoint events set, and comment on
Kernel#set_trace_func to prefer new TracePoint API
Sat Feb 9 10:07:47 2013 Kazuki Tsujimoto <[email protected]>
* BSDL: update copyright notice for 2013.
Sat Feb 9 09:24:38 2013 Eric Hodel <[email protected]>
* lib/rubygems/package/old.rb: Fix behavior only on ruby 1.8.
* lib/rubygems/package.rb: Include checksums.yaml.gz signatures for
verification.
* test/rubygems/test_gem_package.rb: Test for the above.
Sat Feb 9 01:23:24 2013 Tanaka Akira <[email protected]>
* test/fiddle/helper.rb: specify libc and libm locations for MirOS BSD.
* test/dl/test_base.rb: ditto.
Fri Feb 8 23:25:33 2013 Tanaka Akira <[email protected]>
* configure.in: change CFLAGS temporally to test
ARCH_FLAG="-march=i486".
Fri Feb 8 21:19:41 2013 Tanaka Akira <[email protected]>
* configure.in: don't define ARCH_FLAG="-march=i486" if it causes
compilation problem.
Fri Feb 8 19:56:54 2013 NAKAMURA Usaku <[email protected]>
* array.c (rb_ary_dup): reverted r39004. see [Bug #7768], and
release manager finally decided to revert it.
Fri Feb 8 16:09:45 2013 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_ensure): preserve errinfo across ensure proc before
JUMP_TAG(). [ruby-core:52022] [Bug #7802]
Fri Feb 8 16:08:28 2013 Nobuyoshi Nakada <[email protected]>
* test/ruby/envutil.rb (assert_separately): check also terminating
signal not only if core dumped.
Fri Feb 8 13:12:04 2013 Eric Hodel <[email protected]>
* lib/rdoc/generator/darkfish.rb: Set encoding on output template to
user-specified encoding.
* test/rdoc/test_rdoc_generator_darkfish.rb: Test for above.
* lib/rdoc.rb: Bump version
Fri Feb 8 11:53:33 2013 Eric Hodel <[email protected]>
* lib/rubygems/security/policy.rb: Raise proper exceptions when
verifying unsigned gems (instead of crashing).
* test/rubygems/test_gem_security_policy.rb: Tests for the above.
Fri Feb 8 10:44:44 2013 Eric Hodel <[email protected]>
* test/rubygems/test_gem_dependency_installer.rb: Improve coverage of
--install-dir feature of gem install.
Fri Feb 8 10:11:09 2013 Eric Hodel <[email protected]>
* lib/rubygems/config_file.rb: Add missing require for
user_interaction.rb
* lib/rubygems/dependency_installer.rb: Minor refactor for clarity.
Fri Feb 8 09:35:17 2013 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (MakeMakefile#configuration): set all ruby names.
hdrdir now needs RUBY_VERSION_NAME.
Fri Feb 8 08:58:26 2013 Eric Hodel <[email protected]>
* lib/rubygems/package/old.rb: Fix loading old format gems on ruby
1.8. This commit is only so trunk and rubygems master have the same
code.
Fri Feb 8 08:53:27 2013 Aaron Patterson <[email protected]>
* ext/psych/lib/psych/visitors/yaml_tree.rb: fixing string quotation
when dumping Ruby strings. Thanks Ingy
* test/psych/test_psych.rb: appropriate tests.
* test/psych/test_yaml.rb: ditto
Fri Feb 8 08:50:42 2013 Aaron Patterson <[email protected]>
* ext/psych/lib/psych/visitors/yaml_tree.rb: change output reference
ids to be sequential numbers.
Fri Feb 8 07:47:56 2013 Eric Hodel <[email protected]>
* lib/rubygems/package/old.rb: Disallow installation of old-format
gems when a security policy is active.
* test/rubygems/test_gem_package_old.rb: Test for above.
Fri Feb 8 07:34:00 2013 Zachary Scott <[email protected]>
* lib/net/http.rb (HTTP.post_form): Fix module scope in documentation
Patch by David Albert [Bug #7794] [ruby-core:51955]
Fri Feb 8 07:33:00 2013 Zachary Scott <[email protected]>
* compar.c (cmp_equal): Document ignored exception and return false
By Makoto Kishimoto [Bug #7790] [ruby-dev:46925] [ruby-dev:46910]
Fri Feb 8 07:17:00 2013 Eric Hodel <[email protected]>
* lib/rubygems/dependency_installer.rb: Only install local gems if
they end in '.gem'. Fixes github rubygems issue #407.
* test/rubygems/test_gem_dependency_installer.rb: Test for the above.
Fri Feb 8 00:02:48 2013 Tanaka Akira <[email protected]>
* process.c (obj2gid): use getgrnam_r() only if getgrnam_r() and
_SC_GETGR_R_SIZE_MAX is available.
MirOS BSD (MirBSD 10 GENERIC#1382 i386) have getgrnam_r() but
no _SC_GETGR_R_SIZE_MAX.
(obj2uid): use getpwnam_r() only if getpwnam_r() and
_SC_GETPW_R_SIZE_MAX is available.
This is consistency for obj2gid.
MirOS BSD have neither getpwnam_r() nor _SC_GETPW_R_SIZE_MAX.
Thu Feb 7 22:01:18 2013 Tanaka Akira <[email protected]>
* configure.in: define linker for shared library on MirOS BSD.
Thu Feb 7 21:09:23 2013 NAKAMURA Usaku <[email protected]>
* test/rubygems/test_gem_config_file.rb
(TestGemConfigFile#test_check_credentials_permissions): skip on
Windows. see [Bug #7784] [ruby-core:51864] and r39070.
Thu Feb 7 20:52:40 2013 NAKAMURA Usaku <[email protected]>
* win32/Makefile.sub (config.status): added variables which were
missing at r39130.
Thu Feb 7 15:33:17 2013 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (MakeMakefile#merge_libs): insert following reversal
ordered elements just after the duplicated element, not overwriting
successive elements. [ruby-core:50314] [Bug #7467]
Thu Feb 7 14:56:15 2013 Eric Hodel <[email protected]>
* lib/rubygems/package.rb: Ensure digests are generated for signing.
* test/rubygems/test_gem_package.rb: Test for the above.
* lib/rubygems/security/policy.rb: Ensure digests are present when
verifying a gem and match the number of signatures bidirectionally.
* test/rubygems/test_gem_security_policy.rb: Test for the above.
* lib/rubygems.rb: Documentation improvements (by zzak)
Thu Feb 7 05:52:00 2013 Zachary Scott <[email protected]>
* doc/pty/README: Remove static documentation file
* ext/pty/pty.c: Add License to PTY module overview
Thu Feb 7 02:31:10 2013 Marc-Andre Lafortune <[email protected]>
* vm_insnhelper.c: attr_writer should return its argument [Bug #7773]
* test/ruby/test_basicinstructions.rb: Test for above
Thu Feb 7 01:35:00 2013 Zachary Scott <[email protected]>
* doc/security.rdoc: Link to japanese version of CVE page patch by
nagachika
Wed Feb 6 23:30:00 2013 Zachary Scott <[email protected]>
* doc/pty/README.expect: Removed static documentation file
* ext/pty/lib/expect.rb: Documentation for IO#expect
Wed Feb 6 22:25:00 2013 Charlie Somerville <[email protected]>
* hash.c (env_reject_bang): hide keys array from ObjectSpace
* hash.c (env_select_bang): ditto
Wed Feb 6 17:33:01 2013 Nobuyoshi Nakada <[email protected]>
* configure.in (multiarch): add option to move architecture dependent
directories. [Feature #6111]
* template/ruby.pc.in: add arch dependent paths.
* configure.in (rubyarchhdrdir, sitearchhdrdir, vendorarchhdrdir): add
options to customize architecture dependent header directories.
* configure.in (rubyarchprefix, sitearchdir, vendorarchdir): add
options to customize architecture dependent library directories.
* template/ruby.pc.in, tool/mkconfig.rb, tool/rbinstall.rb: use
configured values.
* tool/mkconfig.rb: expand rubyarchdir to extract prefix.
* configure.in (RUBY_VERSION_NAME), template/ruby.pc.in: add
substitution and define.
* configure.in, version.c: parametric architecture name for paths.
* configure.in (shvar_to_cpp): convert sh variable references
by replacing with string literal forms in cpp.
Wed Feb 6 17:05:26 2013 Eric Hodel <[email protected]>
* lib/rdoc: Import RDoc 4.0.0.rc.2
Mon Feb 4 02:22:49 2013 KOSAKI Motohiro <[email protected]>
* test/ruby/test_process.rb (test_setsid): ensure to call
Process.wait(). Reported by George Koehler. Thanks.
Mon Feb 4 02:18:00 2013 KOSAKI Motohiro <[email protected]>
* test/ruby/test_process.rb (test_setsid): skip when platform is
OpenBSD. Contributed from George Koehler.
[Bug #7789] [ruby-core:51889]
Wed Feb 6 13:35:20 2013 Nobuyoshi Nakada <[email protected]>
* proc.c (rb_method_entry_location, rb_{mod,obj}_method_location): new
functions to obtain source location of method definition.
* vm_method.c (rb_obj_respond_to): show the location of old style
respond_to? method.
Wed Feb 6 13:03:00 2013 Zachary Scott <[email protected]>
* doc/security.rdoc: Add link to CVEs on ruby-lang.org/en/security
Wed Feb 6 12:49:00 2013 Zachary Scott <[email protected]>
* NEWS: Add note about removal of CSV::load and CSV::dump from r39077
Wed Feb 6 05:57:00 2013 Zachary Scott <[email protected]>
* lib/racc/parser.rb: Hide copyright notice from Racc doc
Wed Feb 6 05:50:00 2013 Zachary Scott <[email protected]>
* doc/rubygems/*: Removed outdated documentation files
* lib/rubygems/LICENSE.txt: Include license file
* lib/rubygems.rb: Move Gem module documentation so rdoc can parse it
and link to LICENSE.txt
* lib/rubygems/*: Hide useless documentation from Gem module rdoc
Wed Feb 6 03:45:19 2013 Zachary Scott <[email protected]>
* doc/security.rdoc: Remove documentation for unsafe CSV.load which
was deleted in r39077
Wed Feb 6 03:27:19 2013 James Edward Gray II <[email protected]>
* lib/csv.rb: Remove the dangerous serialization feature.
Wed Feb 6 00:56:00 2013 Zachary Scott <[email protected]>
* lib/irb.rb: Remove example from restrictions, it works [Github #246]
Based on patch by Ryunosuke SATO
Wed Feb 6 00:46:53 2013 Kazuki Tsujimoto <[email protected]>
* vm.c (rb_vm_stack_to_heap): call rb_vm_get_binding_creatable_next_cfp
instead of rb_vm_get_ruby_level_next_cfp to prevent a segfault by
calling Kernel#callcc. See r39067 for more details.
[ruby-dev:46908] [ruby-trunk - Bug #7774]
* test/ruby/test_settracefunc.rb: add a test.
Tue Feb 5 18:48:00 2013 Charlie Somerville <[email protected]>
* doc/security.rdoc: add regex, eval and drb sections
Tue Feb 5 17:24:02 2013 Eric Hodel <[email protected]>
* lib/rdoc/servlet.rb: Fixed root search paths, filesystem paths
instead of HTTP paths were returned.
* test/rdoc/test_rdoc_servlet.rb: Test for above.
Tue Feb 5 16:37:00 2013 Eric Hodel <[email protected]>
* lib/rubygems/config_file.rb: Ignore permissions check on windows.
Windows writes 0600 file as 0644 permissions making the check
useless.
Tue Feb 5 16:25:25 2013 Nobuyoshi Nakada <[email protected]>
* vm_method.c (rb_obj_respond_to): drop optional include_all flag if
respond_to? method is defined in old style. [Bug #7722]
Tue Feb 05 15:04:34 2013 Koichi Sasada <[email protected]>
* proc.c (rb_binding_new_with_cfp): permit to create binding object
of IFUNC frame.
When `rb_binding_new_with_cfp()' is called, VM finds out the first
normal (has iseq) frame and create a binding object of this frame
and create Env objects. `ep's of related frames are updated
(`ep's point Env object managed spaces).
However, `ep' of skipped IFUNC frame was not updated and
old invalid `ep' was remained. It causes serious problems.
To solve this issue, permit IFUNC to create binding.
(Maybe there is no problem on it)
[ruby-dev:46908] [ruby-trunk - Bug #7774]
* test/ruby/test_settracefunc.rb: add a test.
* vm.c (rb_vm_get_binding_creatable_next_cfp), vm_core.h: added.
* vm_trace.c: fix to use `rb_vm_get_binding_creatable_next_cfp()'.
Tue Feb 5 14:43:15 2013 Marc-Andre Lafortune <[email protected]>
* lib/matrix.rb: Fix error message, patch by pypypy [Bug #7777]
Tue Feb 5 14:36:04 2013 Marc-Andre Lafortune <[email protected]>
* numeric.c (fix_pow): Handle special cases when base is 0, -1 or +1
[Bug #5713] [Bug #5715]
* rational.c (nurat_expt): ditto
Tue Feb 5 13:27:53 2013 Nobuyoshi Nakada <[email protected]>
* ext/io/console/console.c (rawmode_opt): use default values by `stty
raw`.
Tue Feb 5 12:50:47 2013 Marc-Andre Lafortune <[email protected]>
* range.c: Use div instead of / for bsearch
* test/ruby/test_range.rb: Test showing bug when requiring mathn
Tue Feb 5 12:48:38 2013 Marc-Andre Lafortune <[email protected]>
* enumerator.c: Use to_enum for Enumerable methods returning
Enumerators.
This makes Lazy#cycle no longer needed, so it was removed.
Make Enumerator#chunk and slice_before return lazy Enumerators.
[Bug #7715]
* internal.h: Remove ref to rb_enum_cycle_size; no longer needed
* enum.c: Make enum_cycle_size static.
* test/ruby/test_lazy_enumerator.rb: Test for above
Tue Feb 5 12:48:10 2013 Marc-Andre Lafortune <[email protected]>
* enumerator.c: Finalize and document Lazy.new. [Bug #7248]
Add Lazy#to_enum and simplify Lazy#size.
* test/ruby/test_lazy_enumerator.rb: tests for above
Tue Feb 5 11:35:35 2013 Eric Hodel <[email protected]>
* lib/rubygems/commands/push_command.rb: Fixed credential download for
`gem push --host`
* lib/rubygems/gemcutter_utilities.rb: ditto.
* test/rubygems/test_gem_commands_push_command.rb: Test for the above.
* test/rubygems/test_gem_gemcutter_utilities.rb: ditto.
* lib/rubygems/config_file.rb: Abort if the `gem push` credentials
file has insecure permissions.
* test/rubygems/test_gem_config_file.rb: Test for the above.
* lib/rubygems/ext/builder.rb: Do not look for Gemfile, Isolate, etc.
while building gem extensions.
* lib/rubygems/package.rb: Unset spec and files list if a gem's
signatures cannot be verified.
* test/rubygems/test_gem_package.rb: Test for the above.
* lib/rubygems/specification.rb: Reduce use of eval.
* lib/rubygems/test_case.rb: ditto.
* test/rubygems/test_gem_specification.rb: Test setting
specification_version for legacy gems. Dup Gem.ruby before
untainting in case it's frozen.
* lib/rubygems.rb: Reduce use of eval. Only read files when looking
for Gemfile, Isolate, etc.
* test/rubygems/test_gem.rb: Test for the above.
Tue Feb 5 10:15:00 2013 Zachary Scott <[email protected]>
* doc/security.rdoc: Wrap security guide at 80 columns
Tue Feb 5 10:15:00 2013 Zachary Scott <[email protected]>
* doc/security.rdoc: Grammatical error on security guide
Patch by Josh Bassett [Github fixes #245]
Tue Feb 5 10:00:00 2013 Zachary Scott <[email protected]>
* lib/racc/parser.rb: Update #do_parse and #yyparse from upstream
See [Github tenderlove/racc@7d954b5]
Tue Feb 5 09:55:00 2013 Zachary Scott <[email protected]>
* lib/racc: Merge Racc documentation downstream, add grammar ref file
Tue Feb 5 08:03:00 2013 Zachary Scott <[email protected]>
* lib/irb.rb, lib/irb/ext/save-history.rb: Add documentation on how to
enabled irb history [ruby-core:51347] [Bug #7679]
Tue Feb 5 07:35:00 2013 Zachary Scott <[email protected]>
* lib/irb.rb, lib/irb/context.rb: Add documentation on how to enable
auto-indentation and autocompletion using irbrc and irb_context
[ruby-core:51209] [Bug #7642] and [ruby-core:51348] [Bug #7680]
Tue Feb 5 05:20:00 2013 Zachary Scott <[email protected]>
* doc/standard_library.rdoc: Document list of libraries and extensions
and their purpose or short description
* lib/README: Remove lib/README in favor of doc/standard_library.rdoc
Tue Feb 5 04:40:00 2013 Zachary Scott <[email protected]>
* ext/json/lib/json.rb: Move module overview definition for rdoc
Tue Feb 5 03:00:00 2013 Zachary Scott <[email protected]>
* lib/tracer.rb: Move class overview definition and reformat
Mon Feb 4 15:10:10 2013 Nobuyoshi Nakada <[email protected]>
* ext/io/console/console.c (rawmode_opt): initialize options for the
case all options are not given.
Mon Feb 4 12:44:13 2013 Koichi Sasada <[email protected]>
* vm_dump.c (control_frame_dump): capitalize prefix of `ep'
if `ep' points an env object.
Mon Feb 4 04:20:00 2013 Zachary Scott <[email protected]>
* lib/English.rb: Add English module for RDoc to parse, then
remove_const to avoid confusion. Include full list of aliases and
their associated global variable.
Mon Feb 4 02:40:00 2013 Zachary Scott <[email protected]>
* lib/yaml.rb (YAML::EngineManager): Documentation for #yamler and
#yamler= for using the removed Syck gem as the YAML::ENGINE
Sun Feb 3 16:54:27 2013 Nobuyoshi Nakada <[email protected]>
* ext/io/console/io-console.gemspec: bump. [Bug #7762]
* test/io/console/test_io_console.rb (test_stringio_getch): use more
descriptive assertions.
* ext/io/console/console.c (rawmode_opt): min is minimum characters,
not tenths.
Sun Feb 3 16:13:00 2013 Charlie Somerville <[email protected]>
* doc/security.rdoc: add first cut at a Ruby security document
Sun Feb 3 10:25:00 2013 Zachary Scott <[email protected]>
* random.c: Document range argument for Kernel#rand.
[ruby-core:51794] [Bug #7770]
Sun Feb 3 10:00:00 2013 Zachary Scott <[email protected]>
* numeric.c: Document Float constants [ruby-core:51484] [Bug #7709]
Sun Feb 3 09:38:44 2013 Nobuyoshi Nakada <[email protected]>
* lib/profiler.rb (PROFILE_CALL_PROC, PROFILE_RETURN_PROC): add b_call
and b_return to profile block calls.
* lib/profiler.rb (PROFILE_CALL_PROC, PROFILE_RETURN_PROC): split
PROFILE_PROC for call and return events.
Sat Feb 2 14:32:00 2013 Zachary Scott <[email protected]>
* lib/minitest/mock.rb, lib/minitest/hell.rb: nodoc top-level module
Sat Feb 2 14:05:00 2013 Zachary Scott <[email protected]>
* lib/debug.rb: Documentation for DEBUGGER__ class methods based on
patch by Vincent Batts [ruby-core:51253]
Sat Feb 2 13:37:00 2013 Zachary Scott <[email protected]>
* lib/net/smtp.rb: Fix rdoc title for Net::SMTP
Sat Feb 2 13:32:00 2013 Zachary Scott <[email protected]>
* lib/net/pop.rb: Fix rdoc title for Net::POP3
Sat Feb 2 13:00:11 2013 Yusuke Endoh <[email protected]>
* lib/gserver.rb (GServer#start): fix a timing issue. patch from
Charles Nutter. [Bug #7081]
Sat Feb 2 12:36:54 2013 Yusuke Endoh <[email protected]>
* lib/fileutils.rb (copy_entry, wrap_traverse): preserve attributes of
directories on FileUtils.cp_r. The fix was proposed by Jan
Wedekind. [Bug #7246]
* test/fileutils/test_fileutils.rb: add a test for above.
Sat Feb 2 12:30:00 2013 Zachary Scott <[email protected]>
* lib/uri/ftp.rb (URI::FTP.new2): nodoc method from r39013 [Bug #7301]
Sat Feb 2 12:15:36 2013 Yusuke Endoh <[email protected]>
* lib/uri/ftp.rb (URI::FTP.new2): remove the rdoc because it is not
well tested yet. [Bug #7301]
Sat Feb 2 12:07:41 2013 Yusuke Endoh <[email protected]>
* ChangeLog: Forgot to add a reference to the ChangeLog of the
previous commit.
Sat Feb 2 12:05:18 2013 Yusuke Endoh <[email protected]>
* lib/fileutils.rb: chmod/chmod_R with a string mode (e.g., "+x")
caused error in verbose mode. [Bug #7373]
* test/fileutils/test_fileutils.rb: add a test for above.
Sat Feb 2 11:44:42 2013 Yusuke Endoh <[email protected]>
* lib/English.rb: Remove some confusing words from rdoc. [Bug #7406]
Sat Feb 2 10:17:12 2013 Kazuki Tsujimoto <[email protected]>
* NEWS: add keyword arguments.
Sat Feb 2 07:45:44 2013 Marc-Andre Lafortune <[email protected]>
* proc.c (proc_curry): Fix arity check [Bug #5747]
* test/ruby/test_proc.rb: Test for above
Sat Feb 2 07:44:15 2013 Marc-Andre Lafortune <[email protected]>
* proc.c: Add {*}_min_max_arity and refactor.
[Bug #7765]
* test/ruby/test_proc.rb: Fix wrong test
Fri Feb 2 00:46:00 2013 Charlie Somerville <[email protected]>
* marshal.c: add security considerations to marshal overview, refer to
overview from Marshal.load documentation [#7759]
Fri Feb 1 23:04:00 2013 Charlie Somerville <[email protected]>
* array.c (rb_ary_dup): make returned array the same class as the original
array [Bug #7768] [ruby-core:51792]
* test/ruby/test_array.rb (class TestArray): add test
Fri Feb 1 16:35:34 2013 Nobuyoshi Nakada <[email protected]>
* marshal.c (r_object0): prohibit setting instance variables of
existing class/module.
Fri Feb 1 14:34:29 2013 Shugo Maeda <[email protected]>
* ext/readline/extconf.rb, ext/readline/readline.c: check
RL_PROMPT_START_IGNORE and RL_PROMPT_END_IGNORE directly in
readline.c. Patch by Zachary Scott. [Bug #7397] [ruby-core:49561]
Thu Jan 31 21:55:00 2013 Charlie Somerville <[email protected]>
* marshal.c (marshal_load): Add documentation warning against using
Marshal.load on untrusted data [Bug #7759] [ruby-core:51765]
Thu Jan 31 16:33:27 2013 Nobuyoshi Nakada <[email protected]>
* parse.y (local_push_gen): no assigned but unused variable warnings
in eval as well as -e. [Feature #7730] [ruby-core:51580]
Wed Jan 30 12:30:08 2013 KOSAKI Motohiro <[email protected]>
* test/ruby/test_signal.rb (test_trap_puts): Fix typo. "sync"
should be "STDOUT.sync".
Thu Jan 31 15:39:00 2013 Zachary Scott <[email protected]>
* string.c (rb_str_aset_m): Documentation for String#[]= fix
Raises an IndexError if Regexp match is out of range.
Github fixes #243 Patch by Dmtiriy Budnik
Thu Jan 31 13:54:44 2013 Shugo Maeda <[email protected]>
* ext/socket/raddrinfo.c (rsock_unix_sockaddr_len): return
sizeof(sa_family_t) if path is empty. see "Autobind Feature" in
unix(7) for details.
* ext/socket/lib/socket.rb (unix_socket_abstract_name?): treat an
empty path as an abstract name.
* test/socket/test_unix.rb: related test.
Wed Jan 30 20:58:50 2013 Tanaka Akira <[email protected]>
* ext/socket/basicsocket.c (bsock_getsockname): ignore truncated
part of socket address.
(bsock_getpeername): ditto.
(bsock_local_address): ditto.
(bsock_remote_address): ditto.
* ext/socket/unixsocket.c (unix_path): ditto.
(unix_addr): ditto.
(unix_peeraddr): ditto.
* ext/socket/init.c (cloexec_accept): ditto.
Wed Jan 30 17:08:20 2013 Nobuyoshi Nakada <[email protected]>
* include/ruby/win32.h (fstat): revert r37337, which uses _fstati64()
instead of fstati64() on mingw32. [Bug #7276]
Wed Jan 30 15:26:37 2013 Shugo Maeda <[email protected]>
* ext/socket/unixsocket.c (rsock_init_unixsock): use rb_inspect()
because rb_sys_fail_str() fails if its argument contains NUL.
* test/socket/test_unix.rb: related test.
Wed Jan 30 15:21:30 2013 Nobuyoshi Nakada <[email protected]>
* vm_dump.c (rb_vm_bugreport): show the most important message, Crash
Report log information, first.
Wed Jan 30 15:00:05 2013 Marc-Andre Lafortune <[email protected]>
* array.c (rb_ary_bsearch): Raise TypeError on bad return from block
* range.c (range_bsearch): ditto
* test/ruby/test_array.rb (class): Test for above
* test/ruby/test_range.rb (class): ditto
Wed Jan 30 14:46:28 2013 Marc-Andre Lafortune <[email protected]>
* range.c: Restrict bsearch to integers [#7728]
* test/ruby/test_range.rb: Test for above
Wed Jan 30 14:10:52 2013 Marc-Andre Lafortune <[email protected]>
* array.c (rb_ary_bsearch): Return enumerator if no block [#7725]
* range.c (range_bsearch): ditto
* test/ruby/test_array.rb: Test for above
* test/ruby/test_range.rb: ditto
Wed Jan 30 13:53:43 2013 Marc-Andre Lafortune <[email protected]>
* lib/matrix.rb: Take conjugate for inner product
[rubyspec:5a01ad5719f2] [ruby-dev:46101]
Wed Jan 30 13:22:05 2013 Nobuyoshi Nakada <[email protected]>
* parse.y (local_push_gen): warn assigned but unused variables also in
toplevel, except for -e option. [Feature #7730] [ruby-core:51580]
Wed Jan 30 13:17:53 2013 Nobuyoshi Nakada <[email protected]>
* cont.c (cont_restore_thread): svar should be separate per fibers.
[ruby-core:51331] [Bug #7678]
Wed Jan 30 07:15:04 2013 Marc-Andre Lafortune <[email protected]>
* re.c (reg_operand): Simplify and reuse error handling [Bug #7539]
* test/ruby/test_regexp.rb: Test for above
Wed Jan 30 07:00:16 2013 Marc-Andre Lafortune <[email protected]>
* object.c: Improve error for failed implicit conversions [Bug #7539]
* error.c: Adapt rdoc
* test/ruby/test_object.rb: Test for above
Tue Jan 29 21:40:12 2013 Tanaka Akira <[email protected]>
* lib/net/http/generic_request.rb (encode_multipart_form_data): remove
tempfile explicitly.
Tue Jan 29 19:27:18 2013 Benoit Daloze <[email protected]>
* array.c: Improve documentation about
comparison by hash for concerned methods. [ruby-core:51266]
Tue Jan 29 17:03:28 2013 Koichi Sasada <[email protected]>
* vm_backtrace.c: fix issue of rb_debug_inspector_open().
The order of making binding should be stack (frame) top to bottom.
[Bug #7635]
And also fix issue of collecting klass. Collecting klass is same
as TracePoint#defined_class.
(previous version, it returns T_ICLASS (internal objects).
* test/-ext-/debug/test_debug.rb: add a test.
* ext/-test-/debug/extconf.rb, init.c, inspector.c: ditto.
* vm_backtrace.c: remove magic number and add enum CALLER_BINDING_*.
* vm_backtrace.c, include/ruby/debug.h: add new C api (experimental)
rb_debug_inspector_frame_self_get().
* vm.c, vm_core.h, vm_trace.c: move decl. of
rb_vm_control_frame_id_and_class() and constify first parameter.
Tue Jan 29 16:50:58 2013 Nobuyoshi Nakada <[email protected]>
* vm_trace.c (rb_tracepoint_enable, rb_tracepoint_disable): check safe
level as well as set_trace_func.
* vm_trace.c (set_trace_func, thread_{add,set}_trace_func_m): check
safe level as well as 1.8.
Tue Jan 29 16:49:19 2013 Nobuyoshi Nakada <[email protected]>
* proc.c (rb_mod_method_arity): return original arity of the method if
aliased because of visibility change, like as Method#arity.
Tue Jan 29 12:05:18 2013 Tanaka Akira <[email protected]>
* test/ruby/test_marshal.rb: remove temporally files early.
* test/ruby/test_process.rb: ditto.
* test/psych/test_exception.rb: ditto.
Tue Jan 29 09:26:20 2013 Shugo Maeda <[email protected]>
* ext/socket/socket.c (sock_s_pack_sockaddr_un): calculate the
correct address length of an abstract socket.
* test/socket/test_unix.rb: related test.
Mon Jan 28 18:02:16 2013 Nobuyoshi Nakada <[email protected]>
* vm_backtrace.c (rb_debug_inspector_frame_{class,binding,iseq}_get):
use long as index as well as RARRAY_LEN().
Mon Jan 28 17:51:38 2013 Nobuyoshi Nakada <[email protected]>
* test/ruby/envutil.rb (assert_separately): imply no core dump.
Mon Jan 28 12:32:31 2013 Tanaka Akira <[email protected]>
* ext/fcntl/fcntl.c: update document. use "file descriptor" instead
of "file handle" because it is not used other Ruby documents and
it is confusing with Windows file handle.
correct F_DUPFD behavior.
Sat Jan 26 22:39:12 2013 Nobuyoshi Nakada <[email protected]>
* marshal.c (w_object): dump instance variables of the result of
marshal_dump not the original object. [ruby-core:51163] [Bug #7627]
* complex.c (nucomp_marshal_dump): need to copy instance variables.
* rational.c (nurat_marshal_dump): ditto.
Sat Jan 26 13:35:56 2013 Eric Hodel <[email protected]>
* ext/fcntl/fcntl.c: Document Fcntl constants
Sat Jan 26 12:54:40 2013 Eric Hodel <[email protected]>
* hash.c (rb_env_size): Restored documentation for ENV.size
* lib/drb/drb.rb: Documented DRb::DRb#run.
* lib/erb.rb (class ERB): Improved documentation of ERb.
* transcode.c: Documented Encoding::Converter constants.
Sat Jan 26 10:09:57 2013 Eric Hodel <[email protected]>
* lib/webrick/accesslog.rb: Improved WEBrick documentation.
* lib/webrick/cgi.rb: ditto.
* lib/webrick/config.rb: ditto.
* lib/webrick/cookie.rb: ditto.
* lib/webrick/httpauth/authenticator.rb: ditto.
* lib/webrick/httpauth/basicauth.rb: ditto.
* lib/webrick/httpauth/digestauth.rb: ditto.
* lib/webrick/httpproxy.rb: ditto.
* lib/webrick/httprequest.rb: ditto.
* lib/webrick/httpresponse.rb: ditto.
* lib/webrick/https.rb: ditto.
* lib/webrick/httpserver.rb: ditto.
* lib/webrick/httpservlet/cgihandler.rb: ditto.
* lib/webrick/httpservlet/filehandler.rb: ditto.
* lib/webrick/httpservlet/prochandler.rb: ditto.
* lib/webrick/httputils.rb: ditto.
* lib/webrick/httpversion.rb: ditto.
* lib/webrick/log.rb: ditto.
* lib/webrick/server.rb: ditto.
* lib/webrick/ssl.rb: ditto.
* lib/webrick/utils.rb: ditto.
* lib/webrick/version.rb: ditto.
Sat Jan 26 08:29:33 2013 Shugo Maeda <[email protected]>
* ext/socket/raddrinfo (rsock_unix_sockaddr_len): renamed from
rsock_unixpath_len, because it returns not the length of the path,
but the length of a socket address for the path.
Sat Jan 26 01:12:23 2013 KOSAKI Motohiro <[email protected]>
* test/ruby/test_io.rb (test_ioctl_linux): skip if a platform is
not x86 because linux ioctl request number depend on cpu arch.
At least, alpha, mips, sparc and ppc have a different number.
[Bug #7718] [ruby-core:51544]
Fri Jan 25 19:14:24 2013 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: use TlsAlloc instead of __declspec(thread)
to avoid SEGV if win32ole.so loaded with LoadLibrary in Windows
XP or earlier.
Fri Jan 25 16:47:31 2013 Shugo Maeda <[email protected]>
* ext/socket/raddrinfo.c (rsock_unixpath_len, init_unix_addrinfo),
ext/socket/unixsocket.c (unixsock_connect_internal,
rsock_init_unixsock): calculate the correct address length of
an abstract socket. Without this fix, sizeof(struct sockaddr_un)
is specified as the length of an abstract socket for bind(2) or
connect(2), so the address of the socket is filled with extra NUL
characters. See unix(7) for details.
* ext/socket/lib/socket.rb (unix_server_socket): don't access the
file system if the platform is Linux and path starts with NUL,
which means that the socket is an abstract socket.
* test/socket/test_unix.rb: related test.
Fri Jan 25 13:02:27 2013 Eric Hodel <[email protected]>
* lib/drb/drb.rb: Updated documentation based on patch from Vincent
Batts. [ruby-trunk - Bug #7714]
* lib/drb/ssl.rb: ditto.
Fri Jan 25 12:23:29 2013 Eric Hodel <[email protected]>
* lib/drb/drb.rb: Improved documentation by adding or hiding methods.
* lib/drb/eq.rb: ditto.
* lib/drb/extserv.rb: ditto.
* lib/drb/gw.rb: ditto.
* lib/drb/invokemethod.rb: ditto.
* lib/drb/observer.rb: ditto.
* lib/drb/ssl.rb: ditto.
* lib/drb/timeridconv.rb: ditto.
* lib/drb/unix.rb: ditto.
* sample/drb/gw_cu.rb: Fixed bug in DRb gateway sample.
Fri Jan 25 12:01:56 2013 Koichi Sasada <[email protected]>
* vm_core.h: modify a comment about rb_iseq_t::local_size.
A patch by davidbalbert (David Albert) [Bug #6750]
Fri Jan 25 10:36:31 2013 Eric Hodel <[email protected]>
* lib/mkmf.rb: Documented MakeMakefile constants. Hide implementation
details from RDoc
Fri Jan 25 10:04:07 2013 Eric Hodel <[email protected]>
* lib/rubygems/compatibility.rb: Hide compatibility shims from RDoc
* lib/rubygems/config_file.rb: Hide RbConfig use from RDoc
* lib/rubygems/test_case.rb: Added note to use realpath when 1.8
support is dropped.
Fri Jan 25 09:14:43 2013 Eric Hodel <[email protected]>
* lib/rdoc/generator/darkfish.rb: Fixed debug message. RDoc bug #174
by Thomas Leitner.
* lib/rdoc/store.rb: Fixed deletion of ri attribute data when a class
was loaded then saved. RDoc bug #171 by Thomas Leitner.
* test/rdoc/test_rdoc_store.rb: Test for above.
Thu Jan 24 19:55:25 2013 Shota Fukumori <[email protected]>
* NEWS (yaml): Write about bundled libyaml.
Thu Jan 24 16:54:34 2013 Eric Hodel <[email protected]>
* doc/syntax/calling_methods.rdoc: Added a Method Lookup section.
* doc/syntax/refinements.rdoc (Method Lookup): Clarified that
refinement methods are looked up in classes, not instances.
Thu Jan 24 16:49:17 2013 Marc-Andre Lafortune <[email protected]>
* enum.c (enum_zip): Fix error message
* array.c (take_items): Same, for Array#zip
Thu Jan 24 16:47:26 2013 Marc-Andre Lafortune <[email protected]>
* enumerator.c (lazy_zip): raise error for bad arguments
[Bug #7706]
Thu Jan 24 16:05:08 2013 Marc-Andre Lafortune <[email protected]>
* enumerator.c: Optimize Lazy#zip when passed only arrays
[Bug #7706]
Thu Jan 24 15:21:17 2013 Marc-Andre Lafortune <[email protected]>
* enumerator.c: Fix state handling for Lazy#zip,{drop_take}{_while}
[bug #7696] [bug #7691]
Thu Jan 24 11:43:47 2013 Narihiro Nakamura <[email protected]>
* eval.c (f_current_dirname): Add documentation about "__dir__
returns always an absolute path". [Bug #7729]
Thu Jan 24 10:28:30 2013 Eric Hodel <[email protected]>
* NEWS (RDoc): Added mention of page support and markdown support.
Thu Jan 24 09:40:13 2013 Eric Hodel <[email protected]>
* doc/syntax/refinements.rdoc: Added refinements document based on
the specification from the wiki.
* doc/syntax.rdoc: Added link to refinements document.
Wed Jan 23 16:29:09 2013 Nobuyoshi Nakada <[email protected]>
* win32/win32.c (rb_w32_spawn, rb_w32_aspawn_flags): fix missing
initialization. pointed out by phasis68 (Heesob Park) at
[ruby-core:51579]. [Bug #7721]
Wed Jan 23 16:18:04 2013 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (MakeMakefile#try_constant): fix for large unsigned.
* lib/mkmf.rb (MakeMakefile#try_constant): fix for larger constants.
* test/mkmf/test_constant.rb: tests for try_constant.
TODO: define check_constant and use it.
Wed Jan 23 13:35:37 2013 Koichi Sasada <[email protected]>
* thread_pthread.c (ruby_init_stack): ignore `STACK_END_ADDRESS'
if Ruby interpreter is running on co-routine.
[Feature #2294]
https://bugs.ruby-lang.org/issues/2294#note-18
Wed Jan 23 12:28:22 2013 Nobuyoshi Nakada <[email protected]>
* win32/win32.c (rb_w32_spawn, rb_w32_aspawn_flags): check the results
of acp_to_wstr() which can return NULL. [ruby-core:51557] [Bug #7721]
Wed Jan 23 10:40:49 2013 Eric Hodel <[email protected]>