forked from ruby/ruby
/
ChangeLog
4441 lines (2667 loc) · 145 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 Jan 1 11:44:42 2011 Tanaka Akira <akr@fsij.org>
* strftime.c: parenthesize macro arguments.
Sat Jan 1 11:10:29 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/zlib/zlib.c: take care of platforms where long is bigger
than int.
Sat Jan 1 11:03:58 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* NEWS (optparse): shell completion support.
* misc/README (rb_optparse.{bash,zsh}): for shell completion.
* include/ruby/intern.h (VALUE rb_ary_join): I have never seen
this function anywhere.
Sat Jan 1 04:20:11 2011 NARUSE, Yui <naruse@ruby-lang.org>
* win32/win32.c (rb_w32_write_console): don't raise exception when
the conversion is for writing to console.
Patched by Heesob Park [ruby-core:33999]
Fri Dec 31 12:02:06 2010 Tanaka Akira <akr@fsij.org>
* enum.c (enum_sort_by): use less temporary objects.
Fri Dec 31 11:46:47 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (warnflags), lib/mkmf.rb (configuration): turn
warnings into errors only for bundled extensions.
[ruby-core:33815]
Fri Dec 31 11:15:57 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/zlib/zlib.c (sizeof): zlib.h mistakenly assumes the result
of sizeof to be int, not size_t.
Fri Dec 31 10:27:34 2010 Tanaka Akira <akr@fsij.org>
* st.c: parenthesize macro arguments.
Fri Dec 31 03:23:26 2010 NARUSE, Yui <naruse@ruby-lang.org>
* vsnprintf.c (BSD__uqtoa): Fix overflow when long != quad_t.
patched by Peter Weldon <peter.weldon AT null.net>
[ruby-core:33985]
Fri Dec 31 03:00:34 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* Makefile.in: remove unnecessary semicolons.
Thu Dec 30 23:09:47 2010 wanabe <s.wanabe@gmail.com>
* vm.c (vm_define_method): guard iseq from GC while method definition.
[ruby-dev:42832]
Thu Dec 30 20:18:32 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* win32/Makefile.sub: ditto.
Thu Dec 30 20:57:09 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* Makefile.in: Check V=1 argument if run "make clean" or similar.
Thu Dec 30 20:41:50 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* Makefile.in: Kill ugly line continuation.
Thu Dec 30 11:49:40 2010 Tanaka Akira <akr@fsij.org>
* sprintf.c: parenthesize macro arguments.
Wed Dec 29 21:20:13 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* io.c (maygvl_copy_stream_wait_readwrite): define if USE_SENDFILE
Wed Dec 29 20:37:43 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/extmk.rb: strip current directory prefix.
* enc/depend (clean): remove name2ctype.h when out-of-place build.
* win32/Makefile.sub (clean-enc): pass V to inferior make.
Wed Dec 29 18:23:46 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* re.c (rb_reg_expr_str): need to escape if the coderange is invalid.
Wed Dec 29 10:06:51 2010 Tanaka Akira <akr@fsij.org>
* signal.c: parenthesize macro arguments.
Wed Dec 29 07:22:15 2010 Eric Hodel <drbrain@segment7.net>
* lib/rake/rdoctask.rb: Deprecate in favor of rdoc/task.
Wed Dec 29 07:07:06 2010 Eric Hodel <drbrain@segment7.net>
* lib/rdoc: Import RDoc 3.1
Tue Dec 28 18:36:38 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* error.c, include/ruby/intern.h (rb_compile_error_with_enc): new
function to raise syntax error, with source encoding'ed message.
* parse.y (compile_error): use above function.
[ruby-core:33951] (#4217)
Tue Dec 28 07:37:38 2010 Tanaka Akira <akr@fsij.org>
* ruby.c: parenthesize macro arguments.
Tue Dec 28 07:17:11 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* NEWS: add ARGF.write and so on.
Tue Dec 28 07:12:38 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* NEWS: add new magic-comment. (warn-indent) [ruby-core:25442]
Tue Dec 28 04:32:37 2010 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/fiddle/extconf.rb: check for windows.h while building fiddle.
Thanks Jon Forums! [ruby-core:33923]
Tue Dec 28 01:45:12 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* NEWS: Add Zlib.deflate and Zlib.inflate.
[ruby-dev:42833]
Mon Dec 27 21:22:33 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* win32/configure.bat: Remove obsoleted conding rule. Now, we
don't support to build on Windows 95/98.
Mon Dec 27 18:27:13 2010 Tanaka Akira <akr@fsij.org>
* re.c: parenthesize macro arguments.
Mon Dec 27 15:22:23 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/README.win32: note to need NT based OS to build ruby.
Mon Dec 27 12:14:46 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* common.mk (EXTMK_ARGS): specify to pass macro V, because nmake
doesn't pass it via MAKEFLAGS.
Mon Dec 27 10:33:43 2010 NARUSE, Yui <naruse@ruby-lang.org>
* ext/zlib/zlib.c (Init_zlib): Add Zlib.deflate and Zlib.inflate.
[ruby-dev:42833]
Mon Dec 27 07:38:07 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* misc/rb_optparse.zsh: add compdef for generator.
Mon Dec 27 07:32:07 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* lib/optparse.rb (OptionParser#compsys): escape brackets too.
[ruby-dev:42754]
Mon Dec 27 01:30:08 2010 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb: add IF_NAMESIZE.
add a default for INET6_ADDRSTRLEN.
Sun Dec 26 23:49:47 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* win32/Makefile.sub: suppress a strange error message when RMALL
found no such file.
* win32/rmall.bat: new.
Sun Dec 26 21:23:23 2010 <kosaki.motohiro@gmail.com>
* win32/Makefile.sub: fix 'nmake clean-enc' breakage since r28322.
Sun Dec 26 22:25:07 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/ripper/depend (ripper.y): fix messages with nmake.
[ruby-dev:42896]
Sun Dec 26 22:24:14 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* file.c (file_expand_path): get rid of warnings caused by
-Wdeclaration-after-statement on cygwin.
Sun Dec 26 20:28:34 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* process.c (before_exec): add small comment.
Sun Dec 26 20:52:21 2010 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb: define INET_ADDRSTRLEN as 16 if not
available. fix compilation error on mswin32-60. reported by nobu.
Sun Dec 26 19:37:37 2010 Tanaka Akira <akr@fsij.org>
* ext/socket/option.c: define IFNAMSIZ if not available.
fix compilation error on mingw32. reported by nobu.
Sun Dec 26 12:16:29 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/rdoc/ri/paths.rb (RDoc::RI::Paths::HOMEDIR): no exception if
HOME is not set. [ruby-core:33867]
Sun Dec 26 11:39:11 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (stmt): missing ripper rule. i.e., `a::B ||= c 1'.
http://twitter.com/#!/wannabe53/status/18797576396472321
http://twitter.com/#!/wannabe53/status/18798416150663168
Sun Dec 26 11:15:50 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/with_different_ofs.rb (DifferentOFS): should not affect
original classes.
Sun Dec 26 09:35:07 2010 Tanaka Akira <akr@fsij.org>
* rational.c: parenthesize macro arguments.
Sun Dec 26 09:22:19 2010 Tanaka Akira <akr@fsij.org>
* ext/socket/option.c (rb_if_indextoname): new function to abstract
environments without if_indextoname.
(inspect_ipv6_multicast_if): new function to inspect
IPV6_MULTICAST_IF.
Socket::Option.new(:INET6, :IPV6, :MULTICAST_IF,
[2].pack("I!")).inspect is
"#<Socket::Option: INET6 IPV6 MULTICAST_IF eth0>".
Sun Dec 26 04:31:15 2010 Luis Lavena <luislavena@gmail.com>
* ext/dl/win32/registry.rb: Corrected RegCreateKeyExA signature.
Patch by Rafal Michalski [ruby-core:33874] [Ruby 1.9-Bug#4203]
Sun Dec 26 02:31:58 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* io.c (advice_arg_check): Change argument check.
Now, an unsupported advice makes NotImplementedError.
[ruby-dev:42887] [Ruby 1.9-Feature#4204]
Sun Dec 26 03:00:53 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* ext/socket/extconf.rb: Fix build error which was introduced r30372.
Sun Dec 26 01:37:10 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/socket/extconf.rb: check the existence of if_indextoname().
* ext/socket/option.c: yesterday's akr's commits destroyed the build of
some unrelated platforms (such as Windows).
Sat Dec 25 23:29:11 2010 Tanaka Akira <akr@fsij.org>
* ext/socket/option.c (inspect_ipv4_add_drop_membership): new function
to inspect struct ip_mreq and struct ip_mreqn for
IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP.
Socket::Option.new(:INET, :IP, :ADD_MEMBERSHIP,
[239,255,99,81, 0,0,0,0].pack("CCCCCCCC")).inspect is now
"#<Socket::Option: INET IP ADD_MEMBERSHIP 239.255.99.81 0.0.0.0>".
(inspect_ipv4_multicast_if): new function to inspect struct in_addr
and struct ip_mreqn for IP_MULTICAST_IF.
Socket::Option.new(:INET, :IP, :MULTICAST_IF,
[192,168,0,7].pack("CCCC")).inspect is now
"#<Socket::Option: INET IP MULTICAST_IF 192.168.0.7>".
* ext/socket/extconf.rb: check struct ip_mreq and struct ip_mreqn.
Sat Dec 25 22:49:10 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/csv: DifferentOFS needs to be include in each classes.
* test/digest/test_digest_extend.rb (TestDigestExtend#setup):
should not depend on the result of previous tests
* test/with_different_ofs.rb (DifferentOFS::WithDifferentOFS): give
name.
* test/with_different_ofs.rb (DifferentOFS): test suite for test
suites affected by $,.
* test/digest/test_digest_extend.rb (TestDigestExtend): should not
assume $, invariant.
* test/csv/test_data_converters.rb, test/csv/test_table.rb: don't
call setup within tests.
Sat Dec 25 20:01:40 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* io.c (pipe_open): Added rb_thread_atfork(). We must reinitialize
GVL at new process creation.
Sat Dec 25 18:26:55 2010 Tanaka Akira <akr@fsij.org>
* ext/socket/option.c (inspect_ipv6_mreq): new function to inspect
struct ipv6_mreq for IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP.
Socket::Option.new(:INET6, :IPV6, :JOIN_GROUP,
[0xff12,0,0,0,0,0,0,1, 2].pack("nnnnnnnnI!")).inspect is now
"#<Socket::Option: INET6 IPV6 JOIN_GROUP ff12::1 eth0>".
* ext/socket/extconf.rb: check struct ipv6_mreq.
Sat Dec 25 18:04:30 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/csv.rb (CSV.foreach): 'rb' mode is defaulted in open.
* lib/csv.rb (CSV#init_separators): cannonicalize encoding options
as Encoding objects.
Sat Dec 25 18:30:34 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread.c (rb_thread_atfork): Add small comment why we need
reset random seed.
Sat Dec 25 17:33:55 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/csv/base.rb (TestCSV.with_different_ofs): give name to
anonymous classes.
* lib/csv.rb (CSV#init_separators): use IO#gets with length
parameter to get rid of wrong convertion.
* lib/csv.rb (CSV::foreach, CSV#initialize): directly use encoding
* lib/csv.rb, test/csv: should not assume $, invariant.
Sat Dec 25 16:08:06 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* signal.c: change rb_atomic_t definition from uchar to uint.
Sat Dec 25 15:04:05 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/csv/test_encodings.rb (TestEncodings#setup): fix evil test
suite writing to the source directory.
Sat Dec 25 15:08:08 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* ext/pty/pty.c (chfunc): Added rb_thread_atfork_before_exec().
We must reinitialize GVL at new process creation. Otherwise
we may meet an insane deadlock. [Bug#4121][ruby-dev:42686]
Sat Dec 25 14:27:09 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* io.c (rb_io_extract_encoding_option): accept Encoding object as
encoding: optional argument. [ruby-dev:42884]
Sat Dec 25 13:37:55 2010 Ryan Davis <ryand-ruby@zenspider.com>
* lib/minitest/*.rb: Imported minitest 2.0.2 r6093.
Sat Dec 25 13:05:59 2010 Tanaka Akira <akr@fsij.org>
* random.c: parenthesize macro arguments.
Sat Dec 25 12:48:50 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* load.c (rb_f_require_relative): don't omit return type.
Sat Dec 25 11:06:00 2010 Eric Hodel <drbrain@segment7.net>
* load.c (rb_f_require_relative): Add documentation.
Sat Dec 25 11:02:52 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/zlib/zlib.c (gzreader_gets): support optional length
parameter.
* ext/zlib/zlib.c (gzfile_read, gzfile_readpartial): length should
be long.
Sat Dec 25 10:51:03 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/json/generator/generator.{c,h} (fbuffer_free_only_buffer):
unused.
* ext/openssl/ossl_pkcs5.c (ossl_pkcs5_pbkdf2_hmac): add casts.
Fri Dec 24 08:46:04 2010 Tanaka Akira <akr@fsij.org>
* process.c: parenthesize macro arguments.
Thu Dec 23 19:17:14 2010 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* test/net/imap/cacert.pem: updated because it has been expired.
* test/net/imap/server.crt: signed again because CA cert was expired.
Thu Dec 23 11:16:52 2010 Tanaka Akira <akr@fsij.org>
* parse.y: parenthesize macro arguments.
Thu Dec 23 11:00:09 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* error.c (rb_check_type): check for type from extensions for ruby
1.8. see [ruby-core:33797].
Thu Dec 23 08:12:59 2010 Aaron Patterson <aaron@tenderlovemaking.com>
* lib/net/smtp.rb: refactoring Net::SMTP#esmtp= to use an
attr_accessor
Thu Dec 23 06:35:41 2010 Aaron Patterson <aaron@tenderlovemaking.com>
* lib/net/smtp.rb: Net::SMTP should close the SSL connection if the
connection verification fails.
Thu Dec 23 01:47:58 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* NEWS: remove #object_id. [ruby-dev:42840]
Wed Dec 22 08:56:39 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* NEWS: add Module#private_constant and Module#public_constant.
[ruby-dev:39685][ruby-core:32698]
Wed Dec 22 07:59:23 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* NEWS: add IO#advise. [ruby-core:33110] [Ruby 1.9-Feature#4038]
Tue Dec 21 23:45:31 2010 Yukihiro Matsumoto <matz@ruby-lang.org>
* gc.c (Init_GC): move back object_id to Kernel. [ruby-dev:42840]
Tue Dec 21 12:45:16 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (target_archs): remove temporary objects.
* enc/Makefile.in, enc/depend (clean): remove work directories.
Tue Dec 21 07:39:12 2010 Tanaka Akira <akr@fsij.org>
* pack.c: parenthesize macro arguments.
Tue Dec 21 06:25:43 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/rexml/test_contrib.rb (ContribTester#test_pos): should not
use fixed path name for tests. [ruby-dev:42827]
* test/rexml/test_sax.rb (SAX2Tester#test_socket): should not use
fixed port for tests. [ruby-dev:42828]
Tue Dec 21 06:10:18 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* compile.c (setup_args), vm.c (invoke_block_from_c),
vm_insnhelper.c (caller_setup_args): reverted r30241 and r30243
except for the test.
Tue Dec 21 01:41:42 2010 Masaya Tarui <tarui@ruby-lnag.org>
* io.c : add an extra byte to buffer for the specification of read
in Windows. see [ruby-core:33460] and r29980. and, we have to
discuss how to do this one byte.
Tue Dec 21 01:18:06 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* error.c: Fix build error for win32. This regression was
introduced by r30271.
Tue Dec 21 00:59:40 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread.c (thread_cleanup_func): Moved interrupted_lock
destroying code from native_thread_destroy() to
thread_cleanup_func() because it's platform independent logic.
* thread_win32.c (native_thread_destroy): ditto.
* thread_pthread.c (native_thread_destroy): ditto.
Tue Dec 21 00:46:20 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread.c (thread_cleanup_func): Don't touch native threading
resource at fork. Sadly this is purely bandaid. We need to
implement proper fix later. [Bug #4169] [ruby-core:33767]
Tue Dec 21 00:22:44 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* error.c (exit_success_p): Check status code more carefully.
status code may have garbage in upper bit.
Mon Dec 20 23:12:37 2010 Tanaka Akira <akr@fsij.org>
* node.c: parenthesize macro arguments.
Mon Dec 20 20:04:41 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* NEWS: add #__id__ and #object_id. [ruby-dev:42778]
Mon Dec 20 20:03:21 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread_pthread.c (native_thread_destroy): Fixed gvl_cond leak.
Mon Dec 20 13:49:05 2010 Eric Hodel <drbrain@segment7.net>
* NEWS: Add item for RDoc 3.0.1
* lib/rdoc: Import RDoc 3.0.1, remove require for perl parser.
Mon Dec 20 12:15:32 2010 Eric Hodel <drbrain@segment7.net>
* lib/rdoc: Import RDoc 3.0.
Mon Dec 20 01:55:03 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* io.c (Init_IO): Added O_DIRECT. This feature was proposed by Run Paint Run Run.
[Feature #4015] [ruby-core:33018]
Sun Dec 19 19:15:23 2010 Tanaka Akira <akr@fsij.org>
* marshal.c: parenthesize macro arguments.
Sat Dec 18 21:52:37 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* vsnprintf.c (BSD_vfprintf): suppress warning: "_WIN32" is not
defined.
Sat Dec 18 16:02:27 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* compile.c (setup_args), vm.c (invoke_block_from_c),
vm_insnhelper.c (caller_setup_args): fix of r30241. lambda block
should check argument number.
Sat Dec 18 14:42:29 2010 Tanaka Akira <akr@fsij.org>
* load.c: parenthesize macro arguments.
Sat Dec 18 10:07:04 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* compile.c (setup_args, iseq_compile_each): optimize AMPER LAMBDA
combination as block.
Fri Dec 17 22:07:16 2010 Yukihiro Matsumoto <matz@ruby-lang.org>
* gc.c (Init_GC): move #__id__ and #object_id to BasicObject.
[ruby-dev:42778]
Fri Dec 17 19:35:13 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/mkmf/base.rb (TestMkmf::FakeLog): capture output from mkmf.
* test/mkmf/test_find_executable.rb (test_find_executable):
suppress meaningless differences for chkbuild.
Fri Dec 17 13:26:54 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/setup.mak (BASERUBY): quit with an error when BASERUBY was not
able to set, just like configure.in does. [ruby-dev:42782]
Fri Dec 17 07:04:09 2010 Tanaka Akira <akr@fsij.org>
* iseq.c: parenthesize macro arguments.
Fri Dec 17 04:18:37 2010 Eric Hodel <drbrain@segment7.net>
* transcode.c (str_encode): Alter comment for better wording and ri
output.
Fri Dec 17 00:05:40 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* io.c (rb_io_advise): New API. IO#advise() allows to tell the
ruby runtime how it expects to use a file handle. This feature
can be improved a performance some situations.
Note: This feature is mainly developed by Run Paint Run Run.
Thank you! [ruby-core:33110] [Ruby 1.9-Feature#4038]
* io.c (do_io_advise): Helper function.
* io.c (io_advise_sym_to_const): ditto.
Thu Dec 16 23:29:20 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* tool/rbinstall.rb (bin-comm): use transformed name.
[ruby-dev:42777]
Thu Dec 16 21:52:07 2010 Tanaka Akira <akr@fsij.org>
* io.c: parenthesize macro arguments.
Thu Dec 16 21:46:39 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* tool/mkconfig.rb (RbConfig): honor ARCHFLAGS and RC_ARCHS to
override embedded ARCH_FLAG value on universal-darwin.
Thu Dec 16 19:50:12 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/{configure.bat,setup.mak,Makefile.sub} (PROGRAM_PREFIX,
PROGRAM_SUFFIX): unite the differences of the names of macros of
prefix and suffix.
reported by HANEDA Norikatsu. [ruby-dev:42775]
Thu Dec 16 08:04:47 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* node.h (RNode): match the type of flags to RBasic, and renamed
nd_file as nd_reserved.
* iseq.c (set_relation), vm_insnhelper.c (vm_cref_push): nd_file
is always zero-cleared.
Thu Dec 16 07:22:30 2010 Ryan Davis <ryand-ruby@zenspider.com>
* lib/minitest/unit.rb: Imported minitest 2.0.1 r6079.
Wed Dec 15 20:45:02 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* lib/test/unit.rb (process_args): need to setup @help to print options.
Wed Dec 15 11:19:33 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* test/zlib/test_zlib.rb (test_to_io): forgotten to fix with r30201.
Wed Dec 15 11:07:34 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* io.c (simple_sendfile): enable on Mac OS X.
* io.c (nogvl_copy_stream_sendfile): moved precheck of copy length.
* io.c (nogvl_copy_stream_sendfile): should wait for both of
read/write fds.
Wed Dec 15 07:11:55 2010 Tanaka Akira <akr@fsij.org>
* hash.c: parenthesize macro arguments.
Wed Dec 15 04:02:00 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* ext/openssl/ossl_x509ext.c (ossl_x509extfactory_set_config):
fix compile error when !HAVE_X509V3_SET_NCONF. Thanks
Chikanaga-san. [ruby-dev:42761] [Ruby 1.9-Bug#4158]
Wed Dec 15 03:41:31 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/ripper/test_parser_events.rb (TestRipper#test_block_variables):
Limit address space 100MB instead 100KB. Quite frankly, This
margin is too narrow to contain ruby. [ruby-dev:42763] [Bug#4159]
Tue Dec 14 23:53:52 2010 NARUSE, Yui <naruse@ruby-lang.org>
* io.c (simple_sendfile): improve linux compatibility on FreeBSD,
and now it works. But without cpuset -l 0, it still gets stuck.
Tue Dec 14 20:31:33 2010 Tanaka Akira <akr@fsij.org>
* gc.c: parenthesize macro arguments.
Tue Dec 14 18:31:48 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* lib/test/unit.rb: help messages.
Tue Dec 14 18:19:03 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* common.mk (help): there is no reason to use the abbreviation for here.
Tue Dec 14 15:03:46 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* test/ruby/test_io.rb (test_reopen, test_reinitialize): should close
the temporary files.
Tue Dec 14 14:24:15 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* test/ruby/test_io.rb (make_tempfile): change the prefix from 'foo'
to 'test_io' because the old one is meaningless and inconvenient.
* test/ruby/test_io.rb (test_binmode_after_closed): the temporary file
maked by make_temfile is already closed.
Tue Dec 14 13:52:19 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* test/ruby/test_io.rb (test_flush_in_finalizer[12]): should close
temporary file because it's only used for taking pathname and
unlinking the file after the end of the test (in GC phase).
Tue Dec 14 13:34:33 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/zlib/zlib.c (gzfile_s_open): should close the IO if some error
occurs in initializing.
Tue Dec 14 13:04:16 2010 NARUSE, Yui <naruse@ruby-lang.org>
* lib/net/http.rb (Net::HTTPRequest#send_request_body_data):
set binmode to tempfile.
Tue Dec 14 12:55:46 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* test/zlib/test_zlib.rb (*): should close files associated with zlib.
Tue Dec 14 11:30:17 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* test/ruby/test_argf.rb (test_inplace_rename_impossible): unlink
the renamed temporary file on no_safe_rename platforms.
* test/ruby/test_argf.rb (test_readlines_limit_0,
test_each_line_limit_0): should close argf because the associated
Tempfile object cannot unlink the temporary file when it's gc'ed
on some platforms (Windows, etc.)
Tue Dec 14 11:27:07 2010 NARUSE, Yui <naruse@ruby-lang.org>
* lib/minitest/unit.rb (Minitest::Unit#_run_suite): split test
name and its time. Thiw allows to know test's name when you are
running tests and meet a test which spends long time at realtime.
Tue Dec 14 11:25:20 2010 NARUSE, Yui <naruse@ruby-lang.org>
* configure.in: Add -Werror=declaration-after-statement to default
warning flag. If you are using GCC, this flag is useful to
prevent breaking VC build.
Tue Dec 14 10:25:57 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/openssl/ossl_asn1.c (ossl_asn1_decode0): how many gcc-c99isms
must a man mend; before he can build with VC? r30178
Mon Dec 13 21:26:33 2010 NARUSE, Yui <naruse@ruby-lang.org>
* io.c (simple_sendfile): disable the use of sendfile(2) on
FreeBSD. It blocks on TestIO#test_copy_stream_socket.
Mon Dec 13 18:35:33 2010 NARUSE, Yui <naruse@ruby-lang.org>
* io.c: define USE_SENDFILE on FreeBSD or DragonFly BSD.
Remove Mac OS X because its argument is different from them.
Mon Dec 13 12:00:09 2010 Tanaka Akira <akr@fsij.org>
* file.c: parenthesize macro arguments.
Mon Dec 13 11:21:14 2010 NARUSE, Yui <naruse@ruby-lang.org>
* io.c (simple_sendfile): added for BSD version of sendfile(2).
Mon Dec 13 09:50:09 2010 NARUSE, Yui <naruse@ruby-lang.org>
* lib/net/http.rb (Net::HTTPRequest#set_form): Added to support
both application/x-www-form-urlencoded and multipart/form-data.
There is a similar API, Net::HTTPRequest#set_form_data, but
to keep its compatibility this is newly added. [ruby-dev:42729]
Sun Dec 12 23:45:27 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* compile.c (iseq_compile_each): fix for __goto__ and __label__
where were totally broken.
Sun Dec 12 22:45:43 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* common.mk (ID_H_INCLUDES): now id.h depends on vm_opts.h.
Sun Dec 12 20:42:47 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* template/id.h.tmpl: suppress all warning: "SUPPORT_JOKE" is not
defined. [ruby-dev:42730]
Sun Dec 12 20:35:07 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* misc/rb_optparse.zsh: update how to install.
* misc/rb_optparse.zsh: avoid error when setopt noclobber.
* lib/optparse.rb: fix typo. pointed out at
<http://d.hatena.ne.jp/nagachika/20101207>.
Sun Dec 12 13:27:35 2010 Tanaka Akira <akr@fsij.org>
* eval_error.c: parenthesize macro arguments.
Sun Dec 12 11:53:24 2010 Tanaka Akira <akr@fsij.org>
* error.c: parenthesize macro arguments.
Sun Dec 12 04:01:58 2010 NARUSE, Yui <naruse@ruby-lang.org>
* string.c (rb_str_inspect): fix: extra back slash is added when
the string is dummy encoding and includes \x22 or \x5C.
Sun Dec 12 02:42:24 2010 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/openssl/ossl_asn1.c: indefinite length BER to DER encoding is
properly supported. Thanks Martin Bosslet! [ruby-core:33082]
Sat Dec 11 17:43:34 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* ext/bigdecimal/bigdecimal.h: suppress "warning: 'VPrint' declared
'static' but never defined".
Sat Dec 11 09:24:57 2010 Tanaka Akira <akr@fsij.org>
* encoding.c: parenthesize macro arguments.
Sat Dec 11 08:12:48 2010 Eric Hodel <drbrain@segment7.net>
* ext/openssl/ossl.c, ext/openssl/ossl_pkey_rsa.c: Document RSA, RSA
encryption/decryption and PKCS #5 encryption/decryption.
Sat Dec 11 06:23:41 2010 Eric Hodel <drbrain@segment7.net>
* ext/openssl/ossl_x509name.c: include Comparable to provide #==.
Document OpenSSL::X509::Name#<=>. [Ruby 1.9-Feature#4116]
Sat Dec 11 05:48:28 2010 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* ext/tk/lib/multi-tk.rb: infinite loop on method_missing at loading.
[ruby-dev:42716] [Ruby 1.9-Bug#4129]
* ext/tk/lib/multi-tk.rb: when no eventloop is running, ruby freezes at exit.
Sat Dec 11 02:23:15 2010 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/openssl/extconf.rb: try pkgconfig first, then fall back to
normal have_library, etc. Thanks Erik Hollensbe. [ruby-core:32406]
Fri Dec 10 22:33:39 2010 Tanaka Akira <akr@fsij.org>
* dln_find.c: parenthesize macro arguments.
Fri Dec 10 20:05:42 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* template/id.h.tmpl (ruby_method_ids): suppress warnings.
[ruby-dev:42730]
Fri Dec 10 18:29:20 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ruby.c (ruby_init_loadpath_safe): relatively called non-shared
binary cannot be found in PATH, so use given pathname.
Fri Dec 10 18:28:40 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* cygwin/GNUmakefile.in (SCRIPTPROGRAMS): ignore backup files and etc.
* cygwin/GNUmakefile.in (scriptbin): set executable bit.
* tool/rbinstall.rb (install_recursive): always skip default ignored
files. if block is given, call it instead of calling install.
* tool/rbinstall.rb (bin-comm): use install_recursive.
Fri Dec 10 18:12:31 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/mkmf/base.rb (TestMkmf#config_value): extract macro value from
config.h.
* test/mkmf/test_sizeof.rb (TestMkmf::TestSizeof#test_sizeof_builtin),
(TestMkmf::TestSizeof#test_sizeof_struct): more tests.
* lib/mkmf.rb (check_signedness): should use the prelude code.
[ruby-dev:42731]
* lib/mkmf.rb (Logging.log_close): separate from Logging.logfile.
* test/mkmf/base.rb (TestMkmf::MKMFLOG): show mkmf.log at failures.
* test/mkmf/base.rb (TestMkmf#teardown): close log file for each tests.
Fri Dec 10 11:36:43 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* compile.c (enum): remove a comma at end of enumerator list.
* constant.h (rb_const_flag_t): ditto.
* iseq.h (enum catch_type): ditto.
* iseq.h (enum defined_type): ditto.
* vm_core.h (enum iseq_type): ditto.
* vm_core.h (enum vm_special_object_type): ditto.
Fri Dec 10 10:47:53 2010 NARUSE, Yui <naruse@ruby-lang.org>
* sprintf.c (_HAVE_SANE_QUAD_): Don't forget LP64, r30156.
Fri Dec 10 10:37:17 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* sprintf.c (_HAVE_SANE_QUAD_): if a certain platform has LONG_LONG in
8 byte, it might be sane quad. [ruby-core:33634]
Fri Dec 10 10:07:59 2010 NARUSE, Yui <naruse@ruby-lang.org>
* lib/net/http.rb: remove version 1.1 features.
Fri Dec 10 02:18:02 2010 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/openssl/ossl_x509store.c (ossl_x509stctx_cleanup): removing C
implementation of `cleanup`.
* ext/openssl/lib/openssl/x509.rb: adding ruby implementation of
`cleanup`. OpenSSL::X509::StoreContext#cleanup is deprecated since
reusing the underlying struct doesn't make sense. [ruby-dev:42546]
Thu Dec 9 20:14:39 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (lvar_defined_gen, shadowing_lvar_gen, dvar_defined): no
warnings for unused method and block arguments.
[ruby-dev:42718] [ruby-dev:42724]
Thu Dec 9 19:25:49 2010 Tanaka Akira <akr@fsij.org>
* dln.c: parenthesize macro arguments.
Thu Dec 9 18:51:06 2010 Tanaka Akira <akr@fsij.org>
* lib/webrick/accesslog.rb (WEBrick::AccessLog#format): support
%{remote}p for logging remote (client) port number.
[ruby-dev:42670]
Thu Dec 9 11:00:30 2010 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_dup): should copy contents only. no instance
variable, no class would be copied. it would affect methods
#sort, #reject, #transpose, #uniq, #compact, and #shuffle.
[ruby-core:33640]
* array.c (rb_ary_reverse_m): ditto.
* array.c (rb_ary_rotate_m): ditto.
Wed Dec 8 21:38:40 2010 NARUSE, Yui <naruse@ruby-lang.org>
* ext/dl/lib/dl/struct.rb: clean a warning: assigned but unused
variable. patched by Kouhei Yanagita. [ruby-dev:42722]
* ext/dl/lib/dl/import.rb: ditto.
Wed Dec 8 21:36:16 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (shadowing_lvar_gen): fix line number. [ruby-dev:42718]
Wed Dec 8 20:37:11 2010 Tanaka Akira <akr@fsij.org>
* dir.c: parenthesize macro arguments.
Tue Dec 7 22:37:15 2010 Masaya Tarui <tarui@ruby-lnag.org>
* io.c (io_read): duplicate string if shared. [ruby-dev:42719]
Tue Dec 7 22:31:08 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/optparse.rb (OptionParser::Officious): separate completion
options from --help. [ruby-dev:42690]
* lib/optparse.rb (OptionParser::Completion#candidate),
(OptionParser::Switch#compsys): remove unused variables.
Tue Dec 7 22:05:25 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* transcode.c (transcode_loop): call default handler of the given
hash, method, proc or [] method as fallback. [ruby-dev:42692]
Tue Dec 7 21:59:37 2010 Kouhei Sutou <kou@cozmixng.org>
* lib/rexml/light/node.rb: remove circular require.
Tue Dec 7 21:56:01 2010 Kouhei Sutou <kou@cozmixng.org>
* test/rexml/test_light.rb: really suppress a warning.
Tue Dec 7 21:51:57 2010 Kouhei Sutou <kou@cozmixng.org>
* test/rexml/test_light.rb: suppress a warning.
Tue Dec 7 21:14:03 2010 Tanaka Akira <akr@fsij.org>
* debug.c: parenthesize macro arguments.
Tue Dec 7 21:06:38 2010 Kouhei Sutou <kou@cozmixng.org>
* lib/rexml/doctype.rb, test/rexml/test_doctype.rb: suppress warnings.
[ruby-core:33305]
Reported by Aaron Patterson. Thanks!!!
Tue Dec 7 18:56:52 2010 NARUSE, Yui <naruse@ruby-lang.org>
* ext/nkf/lib/kconv.rb (String#kconv): fix typo and update rdoc.
patched by Kouhei Yanagita [ruby-dev:42696]
Tue Dec 7 20:32:11 2010 Kouhei Sutou <kou@cozmixng.org>
* test/rexml/test_doctype.rb: add Accessor to test case name.
Tue Dec 7 20:31:02 2010 Kouhei Sutou <kou@clear-code.com>
* test/rexml/test_doctype.rb: Doctype -> DocType.
Tue Dec 7 20:29:23 2010 Kouhei Sutou <kou@clear-code.com>
* test/rexml/test_doctype_mixin.rb: rename to ...
* test/rexml/test_doctype.rb: ... this to remove needless name.
Tue Dec 7 17:03:16 2010 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/imap.rb (xlist): supported the XLIST command, which is an
extension by Apple and Google. patch by Geoff Youngs.
[ruby-core:33521]
Tue Dec 7 08:00:44 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in, win32/Makefile.sub (WERRORFLAG): flag to treat
warnings as errors.
* lib/mkmf.rb (Logging.postpone): yield log file object.
* lib/mkmf.rb (xsystem): add options, :werror only right now.