forked from ruby/ruby
/
ChangeLog
9029 lines (5453 loc) · 296 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
Mon May 23 00:35:00 2001 Kenta Murata <mrkn@mrkn.jp>
* bignum.c (dump_bignum, bigmul1_balance, big_split, biglsh_bang,
bigrsh_bang, big_split3, bigmul1_toom3, bigmul0): implement Toom3 (Toom-Cook)
multiplication.
* include/ruby/defines.h: add format prefixes for BDIGIT and BDIGIT_DBL.
Sun May 22 23:24:02 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_asn1.c: Instead of rb_intern use static symbols to
improve performance.
Sun May 22 21:56:51 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_asn1.c: Use OpenSSL constants V_ASN1_xxx instead of
hardcoded numbers for initializing class_tag_map.
Sun May 22 21:29:29 2011 Hiroshi Nakamura <nahi@ruby-lang.org>
* include/ruby/defines.h (CASEFOLD_FILESYSTEM): Revert r30508. See #4255.
Now __APPLE__ is not CASEFOLD_FILESYSTEM again.
* load.c (loaded_feature_path, rb_feature_p, load_lock): Revert r30508.
See #4255. Make $LOADED_FEATURES scanning case-sensitive again.
Sun May 22 18:59:27 2011 Hiroshi Nakamura <nahi@ruby-lang.org>
* ext/openssl/ossl_asn1.c(ossl_asn1_default_tag): avoid using RCLASS_SUPER
to make it compilable. Plus, tabify and change variable definition style.
Sun May 22 18:26:43 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* gc.c (vm_xcalloc): use calloc provided by platforms.
fixes #4754
Sun May 22 11:44:53 2011 Eric Hodel <drbrain@segment7.net>
* ext/pty/pty.c: Improve documentaton. Patch by David Copeland.
[Ruby 1.9 - Bug #4756]
Sun May 22 11:26:39 2011 Eric Hodel <drbrain@segment7.net>
* lib/timeout.rb: Improve documentation. Patch by David Copeland.
[Ruby 1.9 - Bug #4755]
Sun May 22 11:21:41 2011 Eric Hodel <drbrain@segment7.net>
* lib/ipaddr.rb: Improve documentation. Patch by Sandor Szucs.
[Ruby 1.9 - Bug #4753]
Sun May 22 11:14:40 2011 Eric Hodel <drbrain@segment7.net>
* lib/forwardable.rb: Document def_delegator. Patch by Sandor Szucs.
[Ruby 1.9 - Bug #4752]
Sun May 22 11:11:41 2011 Eric Hodel <drbrain@segment7.net>
* lib/fileutils.rb: Document block behavior of FileUtils.cd. Patch by
Bil Kleb. [Ruby 1.9 - Bug #4751]
Sun May 22 11:07:47 2011 Eric Hodel <drbrain@segment7.net>
* ext/curses/curses.c: Complete documentation. Patch by Vincent
Batts. [Ruby 1.9 - Bug #4748]
Sun May 22 09:29:43 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):
use spawn. it prevent that other tests inherit renamed $0.
Sun May 22 08:57:13 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_asn1.c: Default tag lookup in constant time via hash
instead of previous linear algorithm.
[Ruby 1.9 - Feature #4309][ruby-core:34813]
Sun May 22 07:54:16 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_digest.c: Explain DSS and DSS1 in documentation.
Sun May 22 07:10:25 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* test/openssl/test_pkey_dsa.rb: Add tests for sign/verify.
Sun May 22 06:07:17 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* test/openssl/test_x509cert.rb: Merge DSA-related tests from ruby_1_8
branch.
Sun May 22 04:11:12 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread.c (Init_Thread): add a code comment why the meaningless
line is necessary.
Sun May 22 01:35:12 2011 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/date_core.c: modified documentation.
Sat May 21 22:46:26 2011 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/date_strftime(date_strftime_with_tmx): "%v" means "%e-%b-%Y".
Sat May 21 22:14:35 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* io.c (rb_io_extract_modeenc): accept combination hash and
File::Constants. (eg. File.open('yo', :mode => File::WRONLY))
[Feature #4742][ruby-core:36338]
* test/ruby/test_io.rb (TestIO#test_open_mode): new test.
Sat May 21 21:44:14 2011 Tadayoshi Funaba <tadf@dotrb.org>
* test/date/test_switch_hitter.rb: new.
Sat May 21 21:18:29 2011 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/date_{core,parse}.c: moved nearly all core code from ext/date/lib.
* ext/date/lib/{date,date/format}.rb: removed nearly all code.
Sat May 21 02:58:46 2011 Eric Hodel <drbrain@segment7.net>
* ext/.document: Add curses to documented extensions.
* ext/curses/curses.c: Improve documentation. Patch by Vincent Batts.
[Ruby 1.9 - Bug #4747]
Sat May 21 02:51:01 2011 Eric Hodel <drbrain@segment7.net>
* ext/bigdecimal/lib/bigdecimal/util.rb: Improve documentation. Patch
by Pete Higgins. [Ruby 1.9 - Bug #4746]
Sat May 21 02:44:10 2011 Eric Hodel <drbrain@segment7.net>
* ext/bigdecimal/lib/bigdecimal/jacobian.rb: Document isEqual. Patch
by Kuba Fietkiewicz. [Ruby 1.9 - Bug #4744]
Sat May 21 02:22:34 2011 Eric Hodel <drbrain@segment7.net>
* ext/date/lib/date/format.rb: Document date formats. Patch by
Clinton Nixon. [Ruby 1.9 - Bug #4743]
Fri May 20 05:15:19 2011 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* gc.c: Fix build on m68k by 'error: too few arguments to
function 'mark_locations_array''.
Fri May 20 04:23:42 2011 Eric Hodel <drbrain@segment7.net>
* lib/scanf.rb: Improve documentation. Patch by Gabe McArthur.
[Ruby 1.9 - Bug #4735]
Fri May 20 00:58:01 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* enc/trans/ibm737-tbl.rb: greek code page. fixes #4738
Thu May 19 14:44:05 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* test/ruby/test_signal.rb (test_signal_requiring): skip on Windows.
we can send SIGINT only to pid 0 and the process itself.
Thu May 19 09:07:08 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib: revert r31635-r31638 and untabify with expand(1).
Thu May 19 07:47:26 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* test/openssl/test_pkey_rsa.rb: Add tests for sign/verify.
Thu May 19 07:19:16 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_pkey.c: Add documentation.
Thu May 19 07:06:56 2011 Eric Hodel <drbrain@segment7.net>
* lib/benchmark.rb: Fix indentation.
* lib/net/imap.rb: Fix indentation of regular expressions.
Thu May 19 06:36:11 2011 Eric Hodel <drbrain@segment7.net>
* lib/net/imap.rb: Fix indentation of EOF for heredoc.
* lib/debug.rb (Commands): Fix indentation of EOHELP for heredoc.
Thu May 19 06:30:38 2011 Eric Hodel <drbrain@segment7.net>
* lib/mkmf.rb: Fix indentation of EOM for heredoc.
Thu May 19 06:16:41 2011 Eric Hodel <drbrain@segment7.net>
* lib: Convert tabs to spaces for ruby files per
http://redmine.ruby-lang.org/projects/ruby/wiki/DeveloperHowto#coding-style
Patch by Steve Klabnik [Ruby 1.9 - Bug #4730]
Patch by Jason Dew [Ruby 1.9 - Feature #4718]
Thu May 19 06:06:07 2011 Eric Hodel <drbrain@segment7.net>
* lib/cgi/util.rb: Improve documentation. Patch by Clinton Nixon.
[Ruby 1.9 - Bug #4733]
* lib/cgi/core.rb: ditto
* lib/cgi/cookie.rb: ditto
Thu May 19 06:02:21 2011 Eric Hodel <drbrain@segment7.net>
* lib/tempfile.rb: Document Dir.mkdir and Dir.rmdir. Patch by Clinton
Nixon. [Ruby 1.9 - Bug #4728]
Thu May 19 05:57:52 2011 Eric Hodel <drbrain@segment7.net>
* encoding.c: Improve documentation for Encoding#default_external and
Encoding#default_internal.
Wed May 18 22:45:26 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/io/console/lib/console/size.rb (IO#console_size): new
method. (EXPERIMENTAL)
Wed May 18 22:41:51 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* internal.h: add for internal use only.
Wed May 18 22:36:43 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (setup_exception): internal exception should be hidden
Wed May 18 20:25:04 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* lib/timeout.rb (Timeout#timeout): don't leak "execution expired"
exception. [Bug #4283] [ruby-core:34534].
Wed May 18 06:09:24 2011 Eric Hodel <drbrain@segment7.net>
* lib/cmath.rb: Add some examples and improve documentation. Patch by
Sandor Szucs. [Ruby 1.9 - Bug #4727]
Wed May 18 05:40:31 2011 Eric Hodel <drbrain@segment7.net>
* lib/benchmark.rb: Remove nodoc from Benchmark::Job and
Benchmark::Report. Patch by Sandor Szucs. [Ruby 1.9 - Bug #4726]
Wed May 18 05:29:26 2011 Eric Hodel <drbrain@segment7.net>
* lib/webrick/compat.rb: Improve documentation. Patch by Sandor
Szucs. [Ruby 1.9 - Bug #4725]
Wed May 18 05:10:35 2011 Eric Hodel <drbrain@segment7.net>
* lib/tracer.rb: Improve documentation. Patch by Richard Ramsden.
[Ruby 1.9 - Feature #4720]
Wed May 18 04:53:41 2011 Eric Hodel <drbrain@segment7.net>
* lib/cmath.rb: Improve documentation. Patch by Jason Dew.
[Ruby 1.9 - Feature #4717]
Wed May 18 04:50:24 2011 Eric Hodel <drbrain@segment7.net>
* lib/net/ftp.rb: Improve documentation. Patch by Vincent Batts.
[Ruby 1.9 - Bug #4710]
Wed May 18 03:14:49 2011 Eric Hodel <drbrain@segment7.net>
* test/test_singleton.rb: Add tests from lib/singleton.rb. Patch by
Pete Higgins. [Ruby 1.9 - Bug #4715]
Wed May 18 03:03:07 2011 Eric Hodel <drbrain@segment7.net>
* lib/singleton.rb: Improve documentation. Patch by Pete Higgins.
[Ruby 1.9 - Bug #4709]
Tue May 17 21:24:04 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread.c (rb_mutex_lock): remove remove_signal_thread_list() call.
It's meaningless because lock_interrupt doesn't call
add_signal_thread_list().
Tue May 17 20:20:49 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* vm_core.h (rb_thread_struct): add volatile to
transition_for_lock because it is not protected by lock.
Tue May 17 20:08:53 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* LEGAL (missing/{elf,tgamma,lgamma_r}.c): they've been replaced by
public domain implementations.
* LEGAL (vsnprintf.c): it has moved to srcdir from missing/.
* LEGAL (missing/crypt.c): list its original license.
Tue May 17 19:54:26 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* LEGAL (configure): add missing/setproctitle.c
Tue May 17 19:35:01 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Fix FreeBSD test failure.
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):
use ps -o command instead of ps -o cmd. FreeBSD doesn't support
-o cmd option.
Tue May 17 08:04:26 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_digest.c: Add documentation.
Tue May 17 07:14:58 2011 Eric Hodel <drbrain@segment7.net>
* lib/net/http.rb: Improve documentation of proxy configuration
methods. Patch by Alf Mikula. [Ruby 1.9 - Bug #4714]
Tue May 17 07:09:01 2011 Eric Hodel <drbrain@segment7.net>
* lib/net/pop.rb: Improve documentation. Patch by Vincent Batts.
[Ruby 1.9 - Bug #4711]
* lib/net/telnet.rb: ditto
Tue May 17 07:00:41 2011 Eric Hodel <drbrain@segment7.net>
* lib/net/http.rb: Fix nodoc for Net::HTTP::version_1_1?. Patch by
Alf Mikula. [Ruby 1.9 - Bug #4713]
Tue May 17 06:56:26 2011 Eric Hodel <drbrain@segment7.net>
* lib/optparse.rb: Add link to make_switch to improve documentation.
Patch by David Copeland. [Ruby 1.9 - Bug #4708]
Tue May 17 06:50:40 2011 Eric Hodel <drbrain@segment7.net>
* lib/observer.rb: Improve documentation. Patch by David Copeland.
[Ruby 1.9 - Bug #4707]
Tue May 17 06:42:53 2011 Eric Hodel <drbrain@segment7.net>
* lib/logger.rb: Improve documentation. Patch by David Copeland.
[Ruby 1.9 - Bug #4706]
Tue May 17 06:28:14 2011 Eric Hodel <drbrain@segment7.net>
* lib/gserver.rb: Improve documentation. Patch by David Copeland.
[Ruby 1.9 - Bug #4705]
Tue May 17 06:21:15 2011 Eric Hodel <drbrain@segment7.net>
* lib/cgi.rb: Add toplevel documentation to class CGI
* lib/cgi/session.rb: Add overview documentation to CGI::Cookie
* lib/cgi/html.rb: Don't add CGI::TagMaker documentation to CGI.
Patch by David Copeland. [Ruby 1.9 - Bug #4704]
* lib/cgi/core.rb: Clean up CGI documentation. Patch by David
Copeland. [Ruby 1.9 - Bug #4704]
* lib/cgi/cookie.rb: Clean up CGI::Cookie documentation. Patch by
David Copeland. [Ruby 1.9 - Bug #4704]
Tue May 17 05:52:30 2011 Eric Hodel <drbrain@segment7.net>
* ext/digest: Improve documentation of Digest, Digest::HMAC and
Digest::SHA2. Patch by Pete Higgins. [Ruby 1.9 - Bug #4702]
Tue May 17 03:51:42 2011 Eric Hodel <drbrain@segment7.net>
* lib/abbrev.rb: Hide copyright and revision information from RDoc.
Inspired by patch from David Copeland, bug #4703.
Tue May 17 03:33:21 2011 Eric Hodel <drbrain@segment7.net>
* lib/timeout.rb (module Timeout): Hide internal constants. Patch by
Pete Higgins. [Ruby 1.9 - Bug #4701]
Mon May 16 11:21:09 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* configure.in, win32/Makefile.sub (RUBY_SO_NAME): add CPU as prefix
of RUBY_SO_NAME on x64/ia64 mswin/mingw.
[Feature #4602]
Mon May 16 08:00:05 2011 Eric Hodel <drbrain@segment7.net>
* lib/rdoc.rb: Update to RDoc 3.6.1, allows OpenSSL::Digest to be
found.
Mon May 16 05:49:54 2011 Eric Hodel <drbrain@segment7.net>
* lib/drb/acl.rb: Add documentation.
Mon May 16 05:13:20 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_asn1.c: Add documentation.
Mon May 16 00:32:05 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/ruby/test_signal.rb (TestSignal#test_signal_process_group):
skip if the platform doesn't have :pgroup capability. (i.e. skip
if mswin32)
Sun May 15 23:53:31 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* include/ruby/intern.h: resurrect old rb_fd_copy().
* thread.c (rb_fd_copy): ditto.
Sun May 15 23:45:11 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* include/ruby/intern.h: remove rb_fd_copy() to rb_fd_dup() and
rb_w32_fdcopy() to rb_w32_fd_dup().
* win32/win32.c: ditto.
* thread.c: ditto.
Sun May 15 22:26:39 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* signal.c (rb_f_kill): accept '-SIGXXX' style signal with Symbol or
implicit convertion with #to_str. [ruby-dev:43169] fixes #4362
* test/ruby/test_signal.rb (test_signal_process_group): add a test
for send signal to process group.
Sun May 15 21:22:35 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* cont.c (cont_init): clear macihne_stack_start/end of saved thread to
prevent mark machine stack of GC'ed Thread. root Fiber is not
initialized by fiber_init().
based on a patch by Serge Balyuk [ruby-core:35891] fixes #4612
* test/ruby/test_fiber.rb (test_gc_root_fiber): add test for it.
Sun May 15 21:04:29 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* transcode.c (econv_init): revert r31353. [ruby-dev:43512]
Sun May 15 03:39:35 2011 Eric Hodel <drbrain@segment7.net>
* ext/zlib/zlib.c: Improve documentation. Patch by Vincent Batts.
[Ruby 1.9 - Bug #4695]
Sun May 15 03:23:46 2011 Eric Hodel <drbrain@segment7.net>
* lib/erb.rb: Document ERB::Compiler. Patch by Simon Chiang.
[Ruby 1.9 - Bug #4694]
Sun May 15 00:58:47 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
fix mswin32 build error.
* missing/setproctitle.c: oadd #ifdef HAVE_UNISTD_H.
* win32/Makefile.sub (MISSING): add setproctitle.obj
Sat May 14 22:45:28 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* missing/setproctitle.c: add to include "ruby/util.h".
Sat May 14 19:52:22 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):
add for $0 test.
Sat May 14 19:50:46 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* missing/setproctitle.c (compat_init_setproctitle): use
ruby_strdup() instead of strdup().
Sat May 14 19:37:31 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* include/ruby/missing.h: add setproctitle() declaration.
* missing/setproctitle.c: added.
* configure.in: add check for missing/setproctitle.c.
* ruby.c (ruby_process_options): add to call compat_init_setproctitle().
* ruby.c (set_arg0): remove all platform specific code. it's
moved to missing/setproctitle.c.
* ruby.c (origarg): remove len field. It's no longer used.
* ruby.c (get_arglen): removed.
This patch makes a lot of cleanup set_arg0 related code and fixes
[Feature #4689].
Sat May 14 17:42:21 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* process.c (rb_proc_times): improve documentation.
[ruby-core:35785] fixes #4581, reported by Andrew Grimm.
Sat May 14 12:12:54 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* test/openssl/test_pkey_dsa.rb: Add basic tests and tests that
ensure new public key PEM encoding behavior and ensure backward
compatibility.
[Ruby 1.9 - Bug #4422] [ruby-core:35328]
* test/openssl/test_pkey_rsa.rb: Remove line with 'puts'.
Sat May 14 12:06:49 2011 Eric Hodel <drbrain@segment7.net>
* lib/rdoc/context.rb (class RDoc): Fix infinite loop caused by
re-encountering BasicObject.
Sat May 14 10:32:36 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* test/openssl/test_pkey_rsa.rb: Add tests that ensure new public key
encoding behavior and also ensure backward compatibility.
[Ruby 1.9 - Bug #4421] [ruby-core:35327]
Sat May 14 09:50:10 2011 Eric Hodel <drbrain@segment7.net>
* lib/yaml/dbm.rb: Add documentation. Patch by Justin Collins.
[Ruby 1.9 - Bug #4693]
* lib/yaml/store.rb: ditto
Sat May 14 09:31:43 2011 Eric Hodel <drbrain@segment7.net>
* lib/rdoc.rb: Updated to RDoc 3.6
Sat May 14 07:30:29 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych.rb: released a new gem, so increasing version.
Sat May 14 05:08:32 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_digest.c
* ext/openssl/ossl_pkey.c
* ext/openssl/ossl_pkey.h
* test/openssl/pkey/test_pkey_rsa.rb
Reverted premature commit. Sorry for the noise!
Sat May 14 05:02:58 2011 Eric Hodel <drbrain@segment7.net>
* lib/uri.rb: Add toplevel documentation. Patch by Vincent Batts.
[Ruby 1.9 - Bug #4690]
Sat May 14 04:19:06 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* NEWS: Describe altered behaviour for RSA and DSA public key
encoding. [Ruby 1.9 - Bug #4421, Bug #4422]
[ruby-core:35327,35328]
Sat May 14 02:57:52 2011 Eric Hodel <drbrain@segment7.net>
* lib/ipaddr.rb (unless Socket): Document valid*? methods. Patch by
Sebastian Martinez. [Ruby 1.9 - Feature #4687]
Sat May 14 02:54:04 2011 Eric Hodel <drbrain@segment7.net>
* lib/rexml/functions.rb: Add some documentation for REXML::Functions.
Patch by Sebastian Martinez. [Ruby 1.9 - Feature #4688]
Sat May 14 02:51:42 2011 Eric Hodel <drbrain@segment7.net>
* lib/resolv.rb: Hide private method and state-tracking constants from
RDoc. Patch by Mark Turner. [Ruby 1.9 - Feature #4691]
Fri May 13 19:23:21 2011 URABE Shyouhei <shyouhei@ruby-lang.org>
* numeric.c (flo_coerce): Add #flo_coerce documentation.
Patch by Sebastian Martinez.
https://github.com/ruby/ruby/pull/21
Fri May 13 18:42:22 2011 URABE Shyouhei <shyouhei@ruby-lang.org>
* README.EXT: fix typo. Patch by William Blackerby.
https://github.com/ruby/ruby/pull/19
* README.EXT.ja: ditto.
Fri May 13 15:22:34 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (rb_w32_select): check invalid handle before doing
select operations. see [ruby-dev:43513], [ruby-dev:43535]
Fri May 13 08:34:00 2011 Eric Hodel <drbrain@segment7.net>
* lib/rdoc/rdoc.rb: Output summary after documentation report.
* lib/rdoc/stats/normal.rb: Don't output information for users when
we're not on a TTY
Fri May 13 07:49:02 2011 Eric Hodel <drbrain@segment7.net>
* lib/fileutils.rb: Hide internal methods from RDoc. Patch by Darragh
Curran. [Ruby 1.9 - Bug #4684]
Fri May 13 07:36:23 2011 Eric Hodel <drbrain@segment7.net>
* lib/webrick/httpservlet/erbhandler.rb: Add documentation.
Fri May 13 07:04:33 2011 Eric Hodel <drbrain@segment7.net>
* lib/mathn.rb: Fix indentation. Patch by Jason Dew.
[Ruby 1.9 - Feature #4682]
Fri May 13 06:50:43 2011 Eric Hodel <drbrain@segment7.net>
* lib/mathn.rb: Add documentation. Patch by Jason Dew. [Ruby 1.9 -
Feature #4667]
Fri May 13 05:44:19 2011 Eric Hodel <drbrain@segment7.net>
* lib/logger.rb (class Logger): Document Logger#datetime_format.
Patch by Sergio Gil Perez de la Manga. [Ruby 1.9 - Bug #4678]
Fri May 13 05:39:11 2011 Eric Hodel <drbrain@segment7.net>
* re.c (Init_Regexp): Document option constants. Patch by Vincent
Batts. [Ruby 1.9 - Bug #4677]
* lib/uri/common.rb (module URI): Documentation for URI. Patch by
Vincent Batts. [Ruby 1.9- Bug #4677]
* lib/uri/ftp.rb (module URI): ditto
* lib/uri/generic.rb (module URI): ditto
* lib/uri/http.rb (module URI): ditto
* lib/uri/https.rb (module URI): ditto
* lib/uri/ldap.rb (module URI): ditto
* lib/uri/ldaps.rb (module URI): ditto
* lib/uri/mailto.rb (module URI): ditto
* process.c (Init_process): Document Process constants. Patch by
Vincent Batts. [Ruby 1.9- Bug #4677]
Fri May 13 05:16:38 2011 Eric Hodel <drbrain@segment7.net>
* lib/rss/atom.rb (module RSS): Document URIs. Patch by Mark Turner.
[Ruby 1.9 - #4671]
* lib/rss/rss.rb (module RSS): Document exception classes. Patch by
Mark Turner. [Ruby 1.9 - #4671]
Fri May 13 02:15:18 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* io.c (select_internal): remove unused variable (interrupt_flag).
Thu May 12 18:24:34 2011 Kouhei Sutou <kou@clear-code.com>
* configure.in: limit to "T" type for prefix of external symbols
because x86_64-w64-mingw32-gcc on Debian GNU/Linux generates the
following symbol:
0000000068483390 D _GLOBAL__F__conftest_external
Approved by nobu.
Thu May 12 14:50:52 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* test/dl/test_base.rb (Fiddle::LIBC_SO): its always msvc*.dll on
mswin/mingw.
Thu May 12 14:47:53 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* lib/mkmf.rb (Logging.postpone): copy only when tmporary logfile
exists.
Thu May 12 12:24:22 2011 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* ext/openssl/ossl_ssl.c: By trunk@31346, function check of SSLv2 is
executed.
However, the problem is not revised in this.
This adds the control of using function of SSLv2 in made macro by
function check.
Thu May 12 08:10:46 2011 Eric Hodel <drbrain@segment7.net>
* lib/set.rb (class Set): Add nodoc to internal-use methods. Patch
by Pete Higgins. [Ruby 1.9 - Bug #4665]
Thu May 12 08:01:14 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_pkey_ec.c: Allow encryption when PEM-encoding
Elliptic Curve private keys.
[ruby-core:35329] [Bug #4423]
Thu May 12 07:54:59 2011 Eric Hodel <drbrain@segment7.net>
* object.c (rb_obj_equal): Add documentation. Patch by Vincent Batts.
[Ruby 1.9 - Bug #4664]
* lib/rexml: ditto
* lib/mkmf.rb: ditto
* ext/socket/lib/socket.rb: ditto
Thu May 12 07:30:08 2011 Eric Hodel <drbrain@segment7.net>
* Various .document files: Update .document files to match files which
have documentation.
Thu May 12 07:18:45 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_pkey_dsa.c: Use generic X.509 SubjectPublicKeyInfo
format for PEM-encoding DSA public keys.
[ruby-core:35328] [Bug #4422]
Thu May 12 06:27:31 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_pkey_rsa.c: Use generic X.509 SubjectPublicKeyInfo
format for encoding RSA public keys.
[ruby-core:35327] [Bug #4421]
Wed May 11 19:45:27 2011 Keiju Ishitsuka <keiju@ishitsuka.com>
* lib/forwardable.rb: support 'delegate :foo => :bar' for to meet
by specification of RDOC.
Wed May 11 08:36:38 2011 Eric Hodel <drbrain@segment7.net>
* lib/webrick: Add documentation for WEBrick::HTTPAuth
Wed May 11 03:06:35 2011 Eric Hodel <drbrain@segment7.net>
* lib/rss.rb: Add documentation for RSS. Patch by Steve Klabnik.
[Ruby 1.9 - Bug #4663]
Tue May 10 14:50:32 2011 Shota Fukumori <sorah@tubusu.net>
* lib/test/unit.rb: Add option for hiding skip messages when test
ends. #4657
* test/testunit/test_hideskip.rb, test/testunit/test4test_hideskip.rb:
test for above.
Tue May 10 10:53:04 2011 Eric Hodel <drbrain@segment7.net>
* common.mk (rdoc): Add rdoc-coverage rule
Tue May 10 09:13:21 2011 Eric Hodel <drbrain@segment7.net>
* lib/webrick: Add Documentation
Tue May 10 04:22:09 Eric Hodel <drbrain@segment7.net>
* lib/webrick/log.rb: Hide copyright info from ri
* lib/webrick/httpstatus.rb: ditto
* lib/webrick/htmlutils.rb: ditto
* lib/webrick/httpversion.rb: ditto
* lib/webrick/version.rb: ditto
* lib/webrick/httpauth/userdb.rb: ditto
* lib/webrick/httpauth/authenticator.rb: ditto
* lib/webrick/accesslog.rb: ditto
Mon May 9 20:57:13 2011 Tadayoshi Funaba <tadf@dotrb.org>
* test/ruby/test_{complex,rational}.rb: added tests.
Mon May 9 20:29:44 2011 Tadayoshi Funaba <tadf@dotrb.org>
* complex.c (string_to_c_internal): a refactoring.
Mon May 9 18:33:05 2011 NARUSE, Yui <naruse@ruby-lang.org>
* string.c: Improve documentation for String#start_with? and
String#end_with?. fixes #4652
patched by Andrew Grimm <andrew.j.grimm at gmail.com>
Mon May 9 13:49:00 2011 Kenta Murata <mrkn@mrkn.jp>
* complex.c (string_to_c_internal): support scientific notation.
patched by Tinco Andringa. https://github.com/ruby/ruby/pull/16
[ruby-core:36046][Bug #4655]
Mon May 9 11:52:48 2011 NARUSE, Yui <naruse@ruby-lang.org>
* numeric.c (int_ord): remove K&R style.
patched by Daehyub Kim. https://github.com/ruby/ruby/pull/17
Sun May 8 22:17:24 2011 Tadayoshi Funaba <tadf@dotrb.org>
* test/ruby/test_{complex2,complexrational}.rb: use skip.
* test/date/*.rb: ditto.
Sun May 8 21:02:31 2011 Tadayoshi Funaba <tadf@dotrb.org>
* test/ruby/test_{complex2,complexrational}.rb: NEVER SKIP.
Sun May 8 21:01:21 2011 Tadayoshi Funaba <tadf@dotrb.org>
* test/date/test_date_base.rb: fixed.
Sun May 8 20:54:11 2011 Tadayoshi Funaba <tadf@dotrb.org>
* test/date/*.rb: NEVER SKIP.
Sun May 8 20:37:33 2011 Tadayoshi Funaba <tadf@dotrb.org>
* test/date/*.rb: reverted 31432.
Sun May 8 20:32:43 2011 Tadayoshi Funaba <tadf@dotrb.org>
* test/date/*.rb: reverted 31483.
Sun May 8 19:39:16 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread_pthread.c (native_cond_timedwait): add to care EINTR.
* thread_pthread.c (thread_timer): remove EINTR check.
Sun May 8 19:04:15 2011 Tadayoshi Funaba <tadf@dotrb.org>
* lib/time.rb (xmlschema): avoid passing any negative numbers.
Sun May 8 18:40:03 2011 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/date_{parse,strptime}.c: introduced some macros.
Sun May 8 17:17:13 2011 Tadayoshi Funaba <tadf@dotrb.org>
* test/date/*.rb: use skip /w messages.
Sun May 8 17:04:55 2011 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/lib/date/format.rb (_httpdate): omitted to call zone_to_diff.
Sun May 8 16:56:19 2011 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/date_core.c (date_s_test_*): use macros.
Sun May 8 10:24:16 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread_pthread.c: cleanup signal_thread_list related ifdef.
1) we don't have to use #ifdef FOO-PLATFORM directly 2) About
half #ifdef didn't care symbian properly.
Sun May 8 05:19:37 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/io/wait/test_io_wait.rb: Linux socketpair(2) only support
AF_UNIX, but windows socketpair doesn't support it. we can't
avoid platform check. sigh!
Sun May 8 00:13:05 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/io/wait/test_io_wait.rb: use Socket.pair instead of pipe.
Windows can only treat a socket.
Sat May 7 22:43:48 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread.c (rb_fd_zero): remove redundant zero fill.
Sat May 7 22:38:04 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread.c (rb_fd_init): remove volatile qualifier.
Sat May 7 22:34:29 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread.c (rb_fd_init_copy): new internal api. It provide efficient
copy constructor semantics.
* thread.c (do_select): use rb_fd_init_copy().
Sat May 7 15:18:06 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
fix incorrect native_cond_signal call when deadlock was detected.
* thread.c (lock_func): decrement cond_waiting if timeout was happen.
Sat May 7 18:28:37 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* thread_pthread.c (USE_MONOTONIC_COND): check the availability
more strictly.
* thread_pthread.h (rb_thread_cond_t): ditto.
Sat May 7 15:15:10 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
fix win32 native_cond_timedwait() makes SIGSEGV.
* thread_win32.h (rb_thread_cond_struct): add prev field instead of
last. (ie cond_event_entry is now using double linked list instead of
single)
* thread_win32.c (cond_event_entry): add prev field.
* thread_win32.c (__cond_timedwait): remove entry properly if timeout
was happen.
* thread_win32.c (native_cond_signal): change for double linked list.
* thread_win32.c (native_cond_broadcast): ditto.
* thread_win32.c (native_cond_initialize): ditto.
Sat May 7 12:41:04 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
fix mutex deadlock test hang-up.
* thread_win32.c (abs_timespec_to_timeout_ms): fix 1000x calculation
mistake. (ie fix hang-up native_cond_timedwait())
Sat May 7 03:14:13 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
sleep_cond use monotonic time if possible.
* thread_pthread.c (native_thread_init): change sleep_cond
attribute to monotonic.
* thread_pthread.c (native_sleep): use native_cond_timeout().
* thread_pthread.c (native_cond_timeout): add overflow care.
* thread_win32.c (native_cond_timeout): ditto.
Sat May 7 02:49:12 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
fix win32 compile error.
* thread_win32.c (RB_CONDATTR_CLOCK_MONOTONIC): define
RB_CONDATTR_CLOCK_MONOTONIC always.
* thread_pthread.c (RB_CONDATTR_CLOCK_MONOTONIC): ditto.
Sat May 7 02:29:41 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
mutex: deadlock check timeout use monotonic time.
* thread_pthread.c (native_cond_timeout): new internal api.
it calculate a proper time for argument of native_cond_timedwait().
* thread_win32.c (native_cond_timeout): ditto.
* thread_pthread.c (thread_timer): use native_cond_timeout()
instead of get_ts.
* thread.c (lock_func): ditto.
* thread_pthread.c (get_ts): removed. use native_cond_timeout().
* thread.c (init_lock_timeout): ditto.
Sat May 7 01:54:21 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread_pthread.c (get_ts): add monotonic clock capability.
* thread_pthread.c (rb_thread_create_timer_thread): use monotonic
clock if possible.
Sat May 7 01:43:37 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread_pthread.h (rb_thread_cond_t): add clockid field. it's
no longer an alias of pthread_cond_t.
* thread_pthread.c: adapt new rb_thread_cond_t type.
* thread.c (mutex_alloc): ditto.
* thread_win32.c (native_cond_initialize): ditto.
* configure.in: add check for pthread_cond_attr_setclock() and
clockid_t type.
Fri May 6 23:29:47 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread.c (rb_wait_for_single_fd): use ppoll() instead of poll()
if possible. based on a patch from Eric Wong. [ruby-core:36003].
Fri May 6 23:13:43 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* configure.in: remove nanosleep check. we no longer use it.
r20124 removed last usage.
Fri May 6 22:35:56 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/syck/rubyext.c (mktime_do): extra digits are not used.
Fri May 6 17:43:07 2011 NARUSE, Yui <naruse@ruby-lang.org>
* ext/syck/rubyext.c (mktime_do): remove unused variable offset.
* ext/syck/syck.h: use #ifdef instead of #if DEBUG.
Fri May 6 16:27:33 2011 NARUSE, Yui <naruse@ruby-lang.org>
* ext/date/date_core.c (DAY_IN_NANOSECONDS): refix: 31438.
check with LONG_MAX and cast as long; without this the calculation
will be done as int and overflow.
Fri May 6 15:01:11 2011 URABE Shyouhei <shyouhei@ruby-lang.org>
* ext/syck/rubyext.c (mktime_do): avoid buffer overrun, by
silently ignoring lesser significant digits. Required buffer
length can be computable so you might at first think of
allocating enough memory space on the fly using alloca(). That
is a wrong idea because when using alloca there is always risk
of integer overflow. A function that accepts outer-process
resources like this should not blindly trust its inputs. In
this particular case we just want to generate milliseconds
resolution by strtod() so the string in question needs no more
length than what we originally have. Ignoring lesser
significant digits should suffice I believe.
Fri May 6 14:25:53 2011 Tinco Andringa <mail@tinco.nl>
* ext/syck/rubyext.c (mktime_do): YAML.load time correctly parse
usecs smaller than 1 fixes #4571
Thu May 5 22:23:34 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread_pthread.c (native_mutex_reinitialize_atfork): removed
unused macro.
* thread_win32.c (native_mutex_reinitialize_atfork): ditto.
Thu May 5 22:09:39 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/date/date_core.c (DAY_IN_NANOSECONDS): long long int is not
available on all platforms.
Thu May 5 17:36:31 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* eval.c (frame_func_id): store result of method_entry_of_iseq() to
cfp->me because method_entry_of_iseq() might become expensive.
Thu May 5 15:03:51 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* eval.c (frame_func_id): __method__ return different name from
methods defined by Module#define_method with a same block.
[ruby-core:35386] fixes #4606
* eval.c (method_entry_of_iseq): new helper function. search control
frame stack for a method entry which has given iseq.
* test/ruby/test_method.rb: add tests for #4696
Wed May 4 22:13:09 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* benchmark/bm_vm4_pipe.rb: Reduced iterations. Too slow benchmark
is bad.
* benchmark/bm_vm4_thread_pass.rb: ditto.
Wed May 4 22:08:22 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/date/test_date_base.rb: don't use no message skip().
Wed May 4 21:11:28 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* benchmark/bm_io_select2.rb: reduce number of using file
descriptors. because gdb need some fds.
Wed May 4 19:00:59 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread.c (rb_wait_for_single_fd): Fix wrong return value.
* test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb
(TestWaitForSingleFD#test_wait_for_closed_pipe): test for it.
Wed May 4 18:46:39 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* ext/-test-/wait_for_single_fd: New. for testing
rb_wait_for_single_fd() internal function.