forked from documenting-ruby/ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
24591 lines (15789 loc) · 850 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 Feb 20 13:37:00 2013 Zachary Scott <[email protected]>
* ext/pty/pty.c: Documentation for the PTY module
Wed Feb 20 12:18:00 2013 Zachary Scott <[email protected]>
* object.c: Document Data class [Bug #7890] [ruby-core:52549]
Patch by Matthew Mongeau
Wed Feb 20 11:50:00 2013 Zachary Scott <[email protected]>
* lib/mutex_m.rb: Add rdoc for Mutex_m module
Wed Feb 20 09:34:43 2013 Eric Hodel <[email protected]>
* lib/rubygems/commands/update_command.rb: Create the installer after
options are processed. [ruby-trunk - Bug #7779]
* test/rubygems/test_gem_commands_update_command.rb: Test for the
above.
Wed Feb 20 07:51:19 2013 Eric Hodel <[email protected]>
* lib/rubygems/installer.rb: Use gsub instead of gsub! to avoid
altering @bin_dir. Fixes tests on windows. [ruby-trunk - Bug #7885]
Tue Feb 19 20:50:00 2013 Kenta MURATA <[email protected]>
* ext/bigdecimal/bigdecimal.gemspec: bump to 1.2.0.
[ruby-core:51777] [Bug #7761]
Tue Feb 19 13:07:25 2013 Akinori MUSHA <[email protected]>
* ext/syslog/syslog.c (Init_syslog): Define inspect as a singleton
method and remove it as an instance method. [Bug #6502]
Tue Feb 19 12:30:00 2013 Zachary Scott <[email protected]>
* object.c: rdoc formatting for Kernel#Array()
* array.c: Add rdoc for Array() method to Creating Arrays section
Tue Feb 19 10:35:52 2013 Eric Hodel <[email protected]>
* ext/openssl/ossl.c (class OpenSSL): Use only inner parenthesis in
create_extension examples.
Tue Feb 19 10:27:12 2013 Eric Hodel <[email protected]>
* ext/openssl/ossl.c (class OpenSSL): Fixed ExtensionFactory example.
Patch by Richard Bradley. [ruby-trunk - Bug #7551]
Tue Feb 19 08:32:11 2013 Koichi Sasada <[email protected]>
* vm_eval.c (vm_call0_body): check interrupts after method dispatch
from C methods. [Bug #7878]
Tue Feb 19 08:14:40 2013 Eric Hodel <[email protected]>
* lib/rubygems/installer.rb: Fixed placement of executables with
--user-install. [ruby-trunk - Bug #7779]
* test/rubygems/test_gem_installer.rb: Test for above.
Tue Feb 19 06:04:06 2013 NARUSE, Yui <[email protected]>
* vm_dump: FreeBSD ports' libexecinfo's backtrace(3) can't trace
beyond signal trampoline, and as described in r38342 it can't
trace on -O because it see stack frame pointers.
libunwind unw_backtrace see dwarf information in the binary
and it works with -O (without frame pointers).
* configure.in: remove r38342's hack and check libunwind.
Tue Feb 19 04:26:29 2013 NARUSE, Yui <[email protected]>
* configure.in: check whether backtrace(3) works well or not.
* vm_dump.c: set HAVE_BACKTRACE 0 if BROKEN_BACKTRACE.
Mon Feb 18 16:30:18 2013 Akinori MUSHA <[email protected]>
* lib/ipaddr.rb (IPAddr#in6_addr): Fix a typo with the closing
parenthesis.
Mon Feb 18 12:32:24 2013 Akinori MUSHA <[email protected]>
* lib/ipaddr.rb (IPAddr#in6_addr): Fix the parser so that it can
recognize IPv6 addresses with only one edge 16-bit piece
compressed, like [::2:3:4:5:6:7:8] or [1:2:3:4:5:6:7::].
[Bug #7477]
Mon Feb 18 10:09:54 2013 Nobuyoshi Nakada <[email protected]>
* configure.in (unexpand_shvar): regularize a shell variable by
unexpanding shell variables in it.
Sun Feb 17 20:55:44 2013 Nobuyoshi Nakada <[email protected]>
* compar.c (rb_invcmp): compare by inversed comparison, with preventing
from infinite recursion. [ruby-core:52305] [Bug #7870]
* string.c (rb_str_cmp_m), time.c (time_cmp): get rid of infinite
recursion.
Sun Feb 17 17:23:22 2013 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb: remove extra topdir in VPATH, which was in
win32/Makefile.sub for some reason and moved from there.
[ruby-dev:46998] [Bug #7864]
Sun Feb 17 01:19:00 2013 Zachary Scott <[email protected]>
* ext/psych/lib/psych/y.rb: Document Kernel#y by Adam Stankiewicz
[Github tenderlove/psych#127]
Sun Feb 17 00:52:14 2013 NARUSE, Yui <[email protected]>
* tool/mkconfig.rb: remove prefix from rubyarchdir.
r39267 expands variables, it changes expansion timing,
breaks RbConfig::CONFIG["includedir"] and building
extension libraries with installed ruby.
Sat Feb 16 20:51:17 2013 Kazuki Tsujimoto <[email protected]>
* vm.c (ENV_IN_HEAP_P): fix off-by-one error.
Sat Feb 16 20:47:16 2013 Akinori MUSHA <[email protected]>
* configure.in (LIBRUBY_DLDFLAGS): Fix a bug where --with-opt-dir
options given were not reflected to LIBRUBY_DLDFLAGS on many
platforms including Linux and other GNU-based systems, NetBSD,
AIX and BeOS.
Sat Feb 16 20:43:20 2013 Tanaka Akira <[email protected]>
* ext/socket/ancdata.c (rsock_recvmsg): ignore truncated part of
socket address returned from recvmsg().
* ext/socket/init.c (recvfrom_blocking): ignore truncated part of
socket address returned from recvfrom().
(rsock_s_recvfrom_nonblock): ditto.
Sat Feb 16 20:05:26 2013 Ayumu AIZAWA <[email protected]>
* test/ruby/test_thread.rb: fixed typo
patched by Hiroki Matsue via https://github.com/ruby/ruby/pull/248
Sat Feb 16 16:08:35 2013 Koichi Sasada <[email protected]>
* vm.c (rb_thread_mark): mark a working Proc of bmethod
(a method defined by define_method) even if the method was removed.
We could not trace working Proc object which represents the body
of bmethod if the method was removed (alias/undef/overridden).
Simply, it was mark miss.
This patch by Kazuki Tsujimoto. [Bug #7825]
NOTE: We can brush up this marking because we do not need to mark
`me' on each living control frame. We need to mark `me's
only if `me' was free'ed. This is future work after Ruby 2.0.0.
* test/ruby/test_method.rb: add a test.
Sat Feb 16 15:45:56 2013 Koichi Sasada <[email protected]>
* proc.c (rb_binding_new_with_cfp): create binding object even if
the frame is IFUNC. But return a ruby-level binding to keep
compatibility.
This patch fix degradation introduced from r39067.
[Bug #7774] [ruby-dev:46960]
* test/ruby/test_settracefunc.rb: add a test.
Sat Feb 16 13:40:13 2013 Nobuyoshi Nakada <[email protected]>
* configure.in (shvar_to_cpp): do not substitute exec_prefix itself
with RUBY_EXEC_PREFIX, which cause recursive definition.
[ruby-core:52296] [Bug #7860]
Sat Feb 16 13:13:04 2013 Nobuyoshi Nakada <[email protected]>
* ext/io/console/io-console.gemspec: bump to 0.4.2. now explicitly
requires ruby 1.9.3 or later. [Bug #7847]
* ext/io/console/console.c (console_dev): compatibility with ruby 1.8.
* ext/io/console/console.c (rawmode_opt, console_dev): compatibility
with ruby 1.9. [ruby-core:52220] [Bug #7847]
Sat Feb 16 12:45:50 2013 Nobuyoshi Nakada <[email protected]>
* configure.in: unexpand arch sitearch and exec_prefix values, so
directly specified bindir, libdir, rubyprefix, etc can be properly
substituted. [ruby-core:52296] [Bug #7860]
Sat Feb 16 12:15:20 2013 Aaron Patterson <[email protected]>
* parse.y: add dtrace probe for symbol create.
* probes.d: ditto
Sat Feb 16 09:27:37 2013 Tanaka Akira <[email protected]>
* ext/socket/extconf.rb: don't test sys/feature_tests.h which is not
used now.
It was included in r7901 as "bug of gcc 3.0 on Solaris 8 ?".
Sat Feb 16 09:24:37 2013 Tanaka Akira <[email protected]>
* ext/socket/extconf.rb: reorder header tests to consider inclusion
order in rubysocket.h.
Sat Feb 16 08:42:58 2013 Tanaka Akira <[email protected]>
* configure.in, ext/socket/extconf.rb: test netinet/in_systm.h in
ext/socket/extconf.rb instead of configure.in.
Originally, netinet/in_systm.h is included for NextStep, OpenStep,
and Rhapsody. [ruby-core:1596]
Sat Feb 16 07:55:40 2013 Tanaka Akira <[email protected]>
* configure.in: don't test xti.h here.
* ext/socket/extconf.rb: test xti.h here.
Originally, xti.h is included for IRIX [ruby-core:14447].
Sat Feb 16 07:16:49 2013 Tanaka Akira <[email protected]>
* ext/socket/extconf.rb: test struct sockaddr_un and its member,
sun_len.
* ext/socket/sockport.h (INIT_SOCKADDR_UN): new macro defined.
* ext/socket/socket.c (sock_s_pack_sockaddr_un): use INIT_SOCKADDR_UN.
* ext/socket/unixsocket.c (rsock_init_unixsock): ditto.
* ext/socket/raddrinfo.c (init_unix_addrinfo): ditto.
(addrinfo_mload): ditto.
Sat Feb 16 07:05:59 2013 Tanaka Akira <[email protected]>
* ext/socket/sockport.h (INIT_SOCKADDR_IN): don't need family
argument. it is always AF_INET.
* ext/socket/raddrinfo.c (make_inetaddr): follow INIT_SOCKADDR_IN
change.
(addrinfo_ipv6_to_ipv4): ditto.
Sat Feb 16 04:21:07 2013 NAKAMURA Usaku <[email protected]>
* ext/socket/extconf.rb: workaround for mswin/mingw build problem.
sendmsg emulation in win32/win32.c is not enough.
Sat Feb 16 00:19:20 2013 Tanaka Akira <[email protected]>
* ext/socket/extconf.rb: use all all tested available headers for
have_func.
Fri Feb 15 22:21:37 2013 Akinori MUSHA <[email protected]>
* configure.in: Fix a bug introduced in r38342 that the cflagspat
substitution is messed up by the way CFLAGS and optflags are
modified, which affected FreeBSD and NetBSD/amd64 when
configured to use libexecinfo. This bug resulted in CFLAGS and
CXXFLAGS in RbConfig::CONFIG having warnflags expanded in them,
forcing third-party C/C++ extensions to follow what warnflags
demands, like ANSI/ISO-C90 conformance. ref [Bug #7101]
Fri Feb 15 20:29:11 2013 Tanaka Akira <[email protected]>
* ext/socket/sockport.h (SET_SIN_LEN): defined for strict-aliasing
rule.
(INIT_SOCKADDR_IN): ditto.
* ext/socket/raddrinfo.c (make_inetaddr): use INIT_SOCKADDR_IN.
(addrinfo_ipv6_to_ipv4): ditto.
Fri Feb 15 18:24:48 2013 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (MakeMakefile#try_run): bail out explicitly if cross
compiling, because it cannot work of course.
Fri Feb 15 12:34:58 2013 Tanaka Akira <[email protected]>
* ext/socket/extconf.rb: test struct sockaddr_storage directly.
* ext/socket/rubysocket.h: use HAVE_TYPE_STRUCT_SOCKADDR_STORAGE.
Fri Feb 15 12:26:13 2013 Tanaka Akira <[email protected]>
* ext/socket/getaddrinfo.c (GET_AI): don't cast 1st argument for
INIT_SOCKADDR.
Fri Feb 15 08:12:11 2013 Tanaka Akira <[email protected]>
* ext/socket/sockport.h (SET_SS_LEN): removed.
(SET_SIN_LEN): removed.
(INIT_SOCKADDR): new macro.
* ext/socket/ancdata.c (extract_ipv6_pktinfo): use INIT_SOCKADDR.
* ext/socket/raddrinfo.c (make_inetaddr): use INIT_SOCKADDR.
(addrinfo_ipv6_to_ipv4): ditto.
* ext/socket/getaddrinfo.c (GET_AI): use INIT_SOCKADDR.
Fri Feb 15 07:49:27 2013 Eric Hodel <[email protected]>
* lib/rdoc.rb: Update to release version of 4.0.0
* lib/rubygems.rb: Update to release version of 2.0.0
Fri Feb 15 07:07:27 2013 Tanaka Akira <[email protected]>
* ext/socket/sockport.h (SA_LEN): removed because unused now.
(SS_LEN): ditto.
(SIN_LEN): ditto.
Thu Feb 14 10:45:31 2013 KOSAKI Motohiro <[email protected]>
* test/ruby/test_process.rb (test_setsid): Added a workaround for
MacOS X. Patch by nagachika. [Bug #7826] [ruby-core:52126]
Fri Feb 15 00:15:31 2013 Tanaka Akira <[email protected]>
* ext/socket/sockport.h (VALIDATE_SOCKLEN): new macro to validate
sa_len member of 4.4BSD socket address.
* ext/socket/getnameinfo.c (getnameinfo): use VALIDATE_SOCKLEN,
instead of SA_LEN.
* ext/socket/socket.c (sock_s_getnameinfo): use VALIDATE_SOCKLEN
instead of SS_LEN.
Thu Feb 14 22:25:54 2013 Tanaka Akira <[email protected]>
* ext/socket/socket.c (sockaddr_len): extracted from sockaddr_obj.
(sockaddr_obj): add an argument to length of socket address.
(socket_s_ip_address_list): call sockaddr_obj with actual socket
address length if given, use sockaddr_len otherwise.
Thu Feb 14 20:11:23 2013 Tanaka Akira <[email protected]>
* ext/socket: always operate length of socket address companion with
socket address.
* ext/socket/rubysocket.h (rsock_make_ipaddr): add an argument for
socket address length.
(rsock_ipaddr): ditto.
* ext/socket/ipsocket.c (ip_addr): pass length to rsock_ipaddr.
(ip_peeraddr): ditto.
(ip_s_getaddress): pass length to rsock_make_ipaddr.
* ext/socket/socket.c (make_addrinfo): pass length to rsock_ipaddr.
(sock_s_getnameinfo): pass actual address length to rb_getnameinfo.
(sock_s_unpack_sockaddr_in): pass length to rsock_make_ipaddr.
* ext/socket/init.c (rsock_s_recvfrom): pass length to rsock_ipaddr.
(rsock_s_recvfrom_nonblock): ditto.
* ext/socket/tcpsocket.c (tcp_sockaddr): pass length to
rsock_make_ipaddr.
* ext/socket/raddrinfo.c (make_ipaddr0): add an argument for socket
address length. pass the length to rb_getnameinfo.
(rsock_ipaddr): ditto.
(rsock_make_ipaddr): add an argument for socket address length.
pass the length to make_ipaddr0.
(make_inetaddr): pass length to make_ipaddr0.
a local variable renamed.
(host_str): a local variable renamed.
(port_str): ditto.
Thu Feb 14 14:31:43 2013 Eric Hodel <[email protected]>
* lib/net/http.rb: Removed OpenSSL dependency from Net::HTTP.
* test/net/http/test_http.rb: Remove Zlib dependency from tests.
* test/net/http/test_http_request.rb: ditto.
Thu Feb 14 11:08:15 2013 Nobuyoshi Nakada <[email protected]>
* class.c (include_modules_at): detect cyclic prepend with original
method table. [ruby-core:52205] [Bug #7841]
Thu Feb 14 10:30:41 2013 Nobuyoshi Nakada <[email protected]>
* vm_method.c: call method_removed hook on called class, not on
prepending iclass. [ruby-core:52207] [Bug #7843]
Thu Feb 14 10:05:57 2013 Eric Hodel <[email protected]>
* lib/net/http: Do not handle Content-Encoding when the user sets
Accept-Encoding. This allows users to handle Content-Encoding for
themselves. This restores backwards-compatibility with Ruby 1.x.
[ruby-trunk - Bug #7831]
* lib/net/http/generic_request.rb: ditto.
* lib/net/http/response.rb: ditto
* test/net/http/test_http.rb: Test for the above.
* test/net/http/test_http_request.rb: ditto.
* test/net/http/test_httpresponse.rb: ditto.
Thu Feb 14 08:18:47 2013 Tanaka Akira <[email protected]>
* ext/socket/extconf.rb: don't define HAVE_SA_LEN and HAVE_SA_LEN.
use HAVE_STRUCT_SOCKADDR_SA_LEN and HAVE_STRUCT_SOCKADDR_IN_SIN_LEN
instead.
Wed Feb 13 20:59:48 2013 Tanaka Akira <[email protected]>
* ext/socket/extconf.rb: don't define socklen_t here, just test.
* ext/socket/rubysocket.h: define socklen_t if not available.
Wed Feb 13 18:37:50 2013 Nobuyoshi Nakada <[email protected]>
* proc.c (mnew): skip prepending modules and return the method bound
on the given class. [ruby-core:52160] [Bug #7836]
Wed Feb 13 18:11:59 2013 Nobuyoshi Nakada <[email protected]>
* proc.c (method_original_name): new methods Method#original_name and
UnboundMethod#original_name. [ruby-core:52048] [Bug #7806]
[EXPERIMENTAL]
* proc.c (method_inspect): show the given name primarily, and
original_id if aliased. [ruby-core:52048] [Bug #7806]
Wed Feb 13 17:56:39 2013 Nobuyoshi Nakada <[email protected]>
* configure.in (warnflags): disable -Werror by default unless
development. [ruby-core:52131] [Bug #7830]
Wed Feb 13 06:05:52 2013 Eric Hodel <[email protected]>
* lib/rubygems.rb: Return BINARY strings from Gem.gzip and Gem.gunzip.
Fixes intermittent test failures. RubyGems issue #450 by Jeremey
Kemper.
* test/rubygems/test_gem.rb: Test for the above.
Wed Feb 13 05:49:21 2013 Tanaka Akira <[email protected]>
* ext/socket/extconf.rb: test functions just after struct members.
Tue Feb 12 12:02:35 2013 NARUSE, Yui <[email protected]>
* ext/json: merge JSON 1.7.7.
This includes security fix. [CVE-2013-0269]
https://github.com/flori/json/commit/d0a62f3ced7560daba2ad546d83f0479a5ae2cf2
https://groups.google.com/d/topic/rubyonrails-security/4_YvCpLzL58/discussion
Mon Feb 11 23:08:48 2013 Tanaka Akira <[email protected]>
* configure.in: enable rb_cv_page_size_log test for MirOS BSD.
Mon Feb 11 20:06:38 2013 Tanaka Akira <[email protected]>
* configure.in: use -pthread on mirbsd*.
Mon Feb 11 16:07:09 2013 Tanaka Akira <[email protected]>
* configure.in: add SOLIBS and LIBRUBY_SO definition for mirbsd*.
Mon Feb 11 13:17:20 2013 Nobuyoshi Nakada <[email protected]>
* configure.in (rubysitearchprefix): sitearchdir and vendorarchdir
should use sitearch, not arch. [ruby-dev:46964] [Bug #7823]
* win32/Makefile.sub (config.status): site and vendor directories
should use sitearch, not arch. [ruby-dev:46964] [Bug #7823]
Mon Feb 11 12:31:25 2013 Tanaka Akira <[email protected]>
* configure.in: move OS specific header/function knowledge before
automatic header tests.
Mon Feb 11 11:04:29 2013 Tanaka Akira <[email protected]>
* configure.in: move the test for -march=i486 just after
RUBY_UNIVERSAL_ARCH/RUBY_DEFAULT_ARCH.
Sun Feb 10 23:42:26 2013 Tanaka Akira <[email protected]>
* ext/socket/extconf.rb: test structure members just after types test.
Sun Feb 10 20:58:17 2013 Tanaka Akira <[email protected]>
* ext/socket/extconf.rb: test types just after headers test.
Sun Feb 10 16:00:00 2013 Zachary Scott <[email protected]>
* lib/rake/doc/MIT-LICENSE: Add license file from upstream
* lib/rake/doc/README.rdoc: Link to license file from Rake README
* lib/rake/version.rb: Include README rdoc for Rake module overview
Sun Feb 10 15:26:00 2013 Zachary Scott <[email protected]>
* lib/rake/doc/*: Sync Rake rdoc files from upstream
Sun Feb 10 15:50:02 2013 KOSAKI Motohiro <[email protected]>
* vm_exec.h (DISPATCH_ARCH_DEPEND_WAY): use __asm__ __volatile__
instead of asm volatile.
Sun Feb 10 15:50:02 2013 KOSAKI Motohiro <[email protected]>
* gc.h (SET_MACHINE_STACK_END): use __volatile__ instead of volatile.
Sun Feb 10 14:25:00 2013 Zachary Scott <[email protected]>
* doc/rake/, lib/rake/doc/: Move Rake rdoc files to lib/rake
Sun Feb 10 12:10:25 2013 Tanaka Akira <[email protected]>
* ext/socket/extconf.rb: test headers at first.
Sun Feb 10 12:00:00 2013 Zachary Scott <[email protected]>
* doc/rake/*: Removed stale Rake static files
Sun Feb 10 09:10:00 2013 Zachary Scott <[email protected]>
* lib/pp.rb, lib/prettyprint.rb: Documentation for PP and PrettyPrint
Based on a patch by Vincent Batts [ruby-core:51253] [Bug #7656]
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]>