-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog
7497 lines (4498 loc) · 245 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
Fri Apr 15 15:10:29 2011 Akinori MUSHA <knu@iDaemons.org>
* lib/uri/generic.rb (#route_from_path): Fix a bug where
URI('http://h/b/').route_to('http://h/b') wrongly returned './'
(should be '../b'). [Bug #4476]
Fri Apr 15 14:58:06 2011 Akinori MUSHA <knu@iDaemons.org>
* lib/fileutils.rb (FileUtils#touch): Fix corrupted output when
mtime is specified in addition to nocreate (and verbose).
ref [ruby-dev:43401]
Thu Apr 14 23:43:43 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* numeric.c (ruby_float_step): wrong loop condition.
fixes [ruby-core:35753], reported by Joey Zhou.
* test/ruby/test_range.rb (TestRange#test_step_ruby_core_35753):
test above change.
Thu Apr 14 22:48:12 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/test/unit.rb (Test::Unit::Options#setup_options): set possible
values for completion. no conversion is needed.
* lib/test/unit.rb (Test::Unit::Runner::Worker#initialize): use
positional arguments instead of keyword arguments.
* lib/test/unit.rb (Test::Unit::Runner#jobs_status): io/console may
not be available. use 80 as the last resort if IO#winsize and
COLUMNS are unavailable.
* lib/test/unit.rb (Test::Unit::Runner::Worker#died): rename using a
verb.
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): check if worker
is signaled and use its exit status.
* lib/test/unit.rb (Test::Unit::Runner::Worker#dead): no longer @in
and @out are separated.
Thu Apr 14 21:23:29 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* variable.c (rb_autoload_p): search superclasses as same as actual
loading. fixes [ruby-core:35679]
Thu Apr 14 21:21:06 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/win32.h (frexp, modf): wrongly declared as pure in
mingw math.h.
* include/ruby/win32.h (ftruncate, truncate): mingw64 misses
prototypes.
* win32/win32.c (rb_w32_read): suppress warning.
Thu Apr 14 19:55:54 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* lib/fileutils.rb (FileUtils#touch): fix corrupted output when
FileUtils.touch(:nocreate => true, :verbose => true) case.
The patch was written by Hiroyuki Iwatsuki. [ruby-dev:43401]
Thu Apr 14 16:01:45 2011 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* io.c (rb_f_syscall): reduce warning: "HAVE___SYSCALL" is not defined.
Thu Apr 14 00:41:09 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* thread.c (thread_fd_close_i): IOError exception should be assigned
to rb_thread_t::thrown_errinfo.
Wed Apr 13 20:12:26 2011 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* io.c (rb_io_fdatasync): remove unused variable.
Tue Apr 12 20:54:12 2011 Tanaka Akira <akr@fsij.org>
* include/ruby/st.h: parenthesize macro arguments.
Tue Apr 12 19:19:50 2011 NARUSE, Yui <naruse@ruby-lang.org>
* lib/uri/common.rb: avoid race condition. fixes #4572
Tue Apr 12 18:07:13 2011 TAKAO Kouji <kouji@takao7.net>
* ext/readline/extconf.rb: --disable-libedit to disable
libedit. fixes #4550
Tue Apr 12 10:37:39 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* include/ruby/win32.h: VC doesn't have ftruncate() and others, but
ruby needs HAVE_ macros to use our emulation functions.
(fix the problem of 31262)
Tue Apr 12 01:33:00 2011 Luis Lavena <luislavena@gmail.com>
* configure.in: properly evaluate existence of truncate, ftruncate
and ftello for MinGW. [ruby-core:35678]
* win32/win32.c: rename truncate, ftruncate and ftello to avoid
redefinitions.
* win32/win32.h: ditto.
Mon Apr 11 21:51:52 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* io.c: revert r31230. Because it made a regression.
[ruby-core:35631]
Mon Apr 11 21:49:18 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/ruby/test_io.rb: Added TestIO#test_cross_thread_close_stdio
and TestIO#test_cross_thread_close_fd.
The patch was written by Eric Wong. [ruby-core:35669]
Mon Apr 11 21:15:54 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* file.c (rb_group_member): kill 256K of stack usage.
the patch was written by Eric Wong. [ruby-core:35699]
Mon Apr 11 07:24:13 2011 Eric Hodel <drbrain@segment7.net>
* ext/openssl/ossl.c: Fix typo, document version constants.
Sun Apr 10 22:23:45 2011 Tanaka Akira <akr@fsij.org>
* include/ruby/ruby.h: parenthesize macro arguments.
Sat Apr 9 23:31:47 2011 Shota Fukumori <sorah@tubusu.net>
* ext/stringio/stringio.c (strio_each, strio_readlines):
Use `NUM2LONG` instead of `FIX2INT`. Fixes [ruby-dev:43395].
Sat Apr 9 23:22:27 2011 Shota Fukumori <sorah@tubusu.net>
* ext/stringio/stringio.c (strio_each):
Fix exception message and don't raise immediately if block is not given.
Fixes [ruby-dev:43394].
* test/stringio/test_stringio.rb (test_each_line_limit_0):
Fix test for above.
Sat Apr 9 21:54:15 2011 Shota Fukumori <sorah@tubusu.net>
* ext/stringio/stringio.c (strio_each, strio_readlines):
limit must not be zero. Fixes [ruby-dev:43392].
* test/stringio/test_stringio.rb: Add tests for above.
Sat Apr 9 18:01:36 2011 Tanaka Akira <akr@fsij.org>
* include/ruby/util.h: parenthesize macro arguments.
Fri Apr 8 16:01:56 2011 NARUSE, Yui <naruse@ruby-lang.org>
* ext/stringio/stringio.c (strio_getline): check whether str is
a string when str and lim are given.
https://twitter.com/watson1978/status/56225052152168449
Thu Apr 7 20:03:52 2011 Tanaka Akira <akr@fsij.org>
* include/ruby/io.h: parenthesize macro arguments.
Wed Apr 6 21:08:31 2011 Tanaka Akira <akr@fsij.org>
* include/ruby/intern.h: parenthesize macro arguments.
Wed Apr 6 15:12:40 2011 NARUSE, Yui <naruse@ruby-lang.org>
* ext/openssl/ossl_pkey_dh.c (ossl_dh_initialize):
pop pushed error after each try of reading. fixes #4550
* ext/openssl/ossl_pkey_dsa.c (ossl_dsa_initialize): ditto.
* ext/openssl/ossl_pkey_ec.c (ossl_ec_initialize): ditto.
Wed Apr 6 11:36:44 2011 NARUSE, Yui <naruse@ruby-lang.org>
* ext/openssl/ossl_pkey_rsa.c (ossl_rsa_initialize):
pop pushed error after each try of reading. fixes #4550
Tue Apr 5 20:33:43 2011 Tanaka Akira <akr@fsij.org>
* include/ruby/encoding.h: parenthesize macro arguments.
Mon Apr 4 22:02:16 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* ext/io/nonblock/nonblock.c (io_nonblock_set): Avoid F_SETFL if
we're not changing the O_NONBLOCK bit. F_SETFL is an expensive
operation since it needs to affect all processes with the same
file object.
The patch is written by Eric Wong. [ruby-core:35556]
Mon Apr 4 21:41:26 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* io.c (rb_io_syswrite): While local FS writes are usually
buffered, the buffers can be full or the file opened with
O_SYNC. IO#syswrite can also be used on blocking IOs
(pipe/socket) just like IO#write.
The patch is written by Eric Wong. [ruby-core:35554]
Mon Apr 4 11:50:40 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* test/test_tempfile.rb: simply ignore platform dependent testcases
instead of skipping.
Sun Apr 3 22:52:22 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* ext/syslog/syslog.c: improve rdoc.
a patch by Jonas Pfenniger. [ruby-core:35592] fixes #4545
Sun Apr 3 22:10:09 2011 Tanaka Akira <akr@fsij.org>
* ext/zlib/zlib.c: parenthesize macro arguments.
Sun Apr 3 21:33:58 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* configure.in: disable fdatasync again on Mac OS X.
[ruby-core:35493][Bug #4500]
Sun Apr 3 21:16:20 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* io.c (io_reopen): IO#close releases GVL if possible.
close() may block for certain file types (NFS, SO_LINGER
sockets, inotify), so let other threads run. The patch was
created by Eric Wong [ruby-core:35555][Bug #4527]
* io.c (fptr_finalize): ditto.
* io.c (maygvl_fclose): new.
* io.c (nogvl_fclose): ditto.
* io.c (maygvl_close): ditto.
* io.c (nogvl_close): ditto.
Fri Apr 1 22:25:50 2011 Tanaka Akira <akr@fsij.org>
* ext/syslog/syslog.c: parenthesize macro arguments.
Fri Apr 1 18:53:06 2011 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
* lib/webrick/cookie.rb (WEBrick::Cookie.parse): 'white space is
permitted between tokens' according to RFC2965. Though 'Netscape
spec' does not define the syntax clearly, make it tolerant as a
server. As a real-world example, rest-client gem sends
'Cookie: foo=1;bar=2'
* test/webrick/test_cookie.rb (test_parse_non_whitespace): test it.
Fri Apr 1 13:19:20 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_core.h (RUBY_VM_CHECK_INTS_TH): merge a patch by ko1
in [ruby-dev:43373].
Thu Mar 31 23:15:46 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* misc/ruby-mode.el (ruby-brace-to-do-end, ruby-do-end-to-brace):
adjust space between block beginning and block arguments
Thu Mar 31 20:42:05 2011 Tanaka Akira <akr@fsij.org>
* ext/strscan/strscan.c: parenthesize macro arguments.
Thu Mar 31 18:06:12 2011 Shugo Maeda <shugo@ruby-lang.org>
* vm_insnhelper.c (vm_get_ev_const): should ignore crefs with
the NODE_FL_CREF_PUSHED_BY_EVAL flag.
Thu Mar 31 16:49:56 2011 Shugo Maeda <shugo@ruby-lang.org>
* vm_insnhelper.c (vm_get_ev_const): search root cref properly.
[ruby-dev:43365]
Thu Mar 31 14:50:25 2011 Shugo Maeda <shugo@ruby-lang.org>
* eval.c (rb_mod_s_constants): should ignore crefs with
the NODE_FL_CREF_PUSHED_BY_EVAL flag.
Wed Mar 30 22:55:47 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* misc/ruby-mode.el (ruby-toggle-block): toggle do/end and {}.
* misc/ruby-mode.el (ruby-move-to-block): move to opening of
block.
Wed Mar 30 14:35:15 2011 Shugo Maeda <shugo@ruby-lang.org>
* vm_insnhelper.h (COPY_CREF): should copy
the NODE_FL_CREF_PUSHED_BY_EVAL flag to hide constants from
methods defined by class_eval. [ruby-dev:43365]
Wed Mar 30 00:24:53 2011 Tanaka Akira <akr@fsij.org>
* ext/stringio/stringio.c: parenthesize macro arguments.
Tue Mar 29 21:51:31 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* object.c (rb_String): Kernel#String should call to_str before to_s.
Tue Mar 29 10:28:08 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* test/webrick/test_filehandler.rb
(WEBrick::TestFileHandler#test_short_filename): the cgi doesn't exist
on current directory.
Tue Mar 29 05:19:57 2011 Tanaka Akira <akr@fsij.org>
* ext/socket/raddrinfo.c: parenthesize macro arguments.
Tue Mar 29 00:03:51 2011 Tajima Akio <artonx@yahoo.co.jp>
* test/webrick/test_filehandler.rb (test_short_filename):
read real short filename by cmd because smb mounted files
have different naming convention.
Mon Mar 28 11:38:08 2011 NARUSE, Yui <naruse@ruby-lang.org>
* ext/date/date_core.c (date_s_today): use int for year.
* ext/date/date_core.c (datetime_s_now): ditto.
Mon Mar 28 11:07:41 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/extmk.rb: set MFLAGS from MAKEFLAGS when using nmake.
Mon Mar 28 11:07:00 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* common.mk (love): all you need is love.
Sun Mar 27 23:16:31 2011 Tanaka Akira <akr@fsij.org>
* ext/socket/ipsocket.c: parenthesize macro arguments.
Sun Mar 27 16:55:34 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* misc/ruby-mode.el (ruby-mode-map): remove unnecessary
binding. fixes
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468952
* misc/ruby-mode.el: suppress warnings at byte compile. fixes
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502926
Sun Mar 27 11:18:35 2011 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/date_core.c: removed unused variables.
Sat Mar 26 15:16:09 2011 Tanaka Akira <akr@fsij.org>
* ext/socket/getaddrinfo.c: parenthesize macro arguments.
Sat Mar 26 05:27:34 2011 NARUSE, Yui <naruse@ruby-lang.org>
* ext/date/lib/date/format.rb (DateTime#strftime): removed because
date_core defines it.
Fri Mar 25 21:59:45 2011 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/date_core.c: should not force cast with macros.
Fri Mar 25 21:56:10 2011 Tanaka Akira <akr@fsij.org>
* ext/sdbm/init.c: parenthesize macro arguments.
Fri Mar 25 19:39:40 2011 Ben Walton <bwalton@artsci.utoronto.ca>
* test/test_syslog.rb:
Skip syslog tests that rely on LOG_PERROR unless it's defined
Instead of checking looking at the platform to determine if the tests
relying on LOG_PERROR should be run, look for the definition of the
constant as this will be robust against all platforms as long as the
underlying syslog.c code sets it up correctly.
This specifically addresses failures on Solaris 9.
Use LOG_PID instead of LOG_PERROR in Syslog.open test
LOG_PERROR isn't a POSIX option for syslog, so it fails on platforms
that don't define it. Solaris 9 and 10 are examples of this.
Use LOG_PID instead.
Fri Mar 25 15:42:17 2011 NARUSE, Yui <naruse@ruby-lang.org>
* ext/sdbm/_sdbm.c (sdbm_open): use size_t.
* ext/syck/bytecode.c: ditto.
* ext/sdbm/_sdbm.c (delpair): use ptrdiff_t.
* ext/sdbm/init.c: use RSTRING_LENINT.
* ext/dl/handle.c: suppress warning: shorten-64-to-32.
* ext/strscan/strscan.c: ditto.
* ext/syck/emitter.c: ditto.
* ext/syck/implicit.c: ditto.
* ext/syck/syck.c: ditto.
* ext/syck/token.c: ditto.
Fri Mar 25 12:14:58 2011 NARUSE, Yui <naruse@ruby-lang.org>
* ext/nkf/nkf-utf8/nkf.c: import nkf 7f18e30.
Fri Mar 25 11:49:29 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* test/ruby/test_process.rb (TestProcess#test_no_curdir): skip silently
on Windows, because this tests a platform specific feature and it'll
never be supported on ruby on Windows.
* test/ruby/test_dir_m17n.rb
(TestDir_M17N#test_filename_extutf8_invalid,
TestDir_M17N#test_filename_as_bytes_extutf8): ditto.
* test/open-uri/test_open-uri.rb
(TestOpenURI#test_find_proxy_case_sensitive_env): ditto.
* test/dl/test_handle.rb (DL::TestHandle#test_NEXT,
DL::TestHandle#test_DEFAULT): ditto.
Thu Mar 24 23:06:29 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_insnhelper.c (vm_get_ev_const): should not autoload in
defined? mode.
* variable.c (rb_const_defined_0): fix autoloading base.
[ruby-core:35509]
Thu Mar 24 22:48:43 2011 Tanaka Akira <akr@fsij.org>
* ext/sdbm/_sdbm.c: parenthesize macro arguments.
Thu Mar 24 14:45:57 2011 NARUSE, Yui <naruse@ruby-lang.org>
* ext/openssl/ossl.c: suppress warning: shorten-64-to-32.
* ext/openssl/ossl.h: ditto.
* ext/openssl/ossl_asn1.c: ditto.
* ext/openssl/ossl_bio.c: ditto.
* ext/openssl/ossl_bn.c: ditto.
* ext/openssl/ossl_cipher.c: ditto.
* ext/openssl/ossl_hmac.c: ditto.
* ext/openssl/ossl_ns_spki.c: ditto.
* ext/openssl/ossl_ocsp.c: ditto.
* ext/openssl/ossl_pkcs5.c: ditto.
* ext/openssl/ossl_pkey.c: ditto.
* ext/openssl/ossl_pkey_dh.c: ditto.
* ext/openssl/ossl_pkey_dsa.c: ditto.
* ext/openssl/ossl_pkey_ec.c: ditto.
* ext/openssl/ossl_pkey_rsa.c: ditto.
* ext/openssl/ossl_rand.c: ditto.
* ext/openssl/ossl_ssl.c: ditto.
* ext/openssl/ossl_x509ext.c: ditto.
* ext/openssl/ossl_x509name.c: ditto.
Thu Mar 24 11:48:19 2011 NARUSE, Yui <naruse@ruby-lang.org>
* ext/openssl/ossl_rand.c (ossl_rand_egd_bytes): use NUM2INT because
the result is used with functions whose argument is int.
* ext/openssl/ossl_ssl.c (ossl_sslctx_setup): ditto.
* ext/openssl/ossl_x509store.c (ossl_x509store_set_purpose): ditto.
* ext/openssl/ossl_x509store.c (ossl_x509store_set_trust): ditto.
* ext/openssl/ossl_x509store.c (ossl_x509stctx_set_purpose): ditto.
* ext/openssl/ossl_x509store.c (ossl_x509stctx_set_trust): ditto.
Thu Mar 24 11:36:55 2011 NARUSE, Yui <naruse@ruby-lang.org>
* ext/openssl/ossl_x509name.c: id_aref's type is ID.
Thu Mar 24 10:04:35 2011 NARUSE, Yui <naruse@ruby-lang.org>
* ext/io/console/console.c (console_set_winsize):
suppress warning: shorten-64-to-32.
Thu Mar 24 09:56:19 2011 NARUSE, Yui <naruse@ruby-lang.org>
* ext/openssl/ossl_ocsp.c (ossl_ocspreq_verify): flags is VALUE,
so it should use NUM2INT.
* ext/openssl/ossl_ocsp.c (ossl_ocspbres_verify): ditto.
Wed Mar 23 21:09:29 2011 Tanaka Akira <akr@fsij.org>
* ext/readline/readline.c: parenthesize macro arguments.
Wed Mar 23 08:07:33 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* numeric.c (flo_round): fix inaccurate results.
Wed Mar 23 00:12:16 2011 Tajima Akio <artonx@yahoo.co.jp>
* win32/win32.c: wait process real termination after reading
exit code. fixes #4518
Tue Mar 22 21:20:10 2011 NARUSE, Yui <naruse@ruby-lang.org>
* lib/rubygems/test_case.rb: save current dir to @current_dir
before Dir.chdir.
Tue Mar 22 20:10:04 2011 Tanaka Akira <akr@fsij.org>
* ext/psych/parser.c: parenthesize macro arguments.
Tue Mar 22 20:10:01 2011 Tanaka Akira <akr@fsij.org>
* ext/openssl/ruby_missing.h: parenthesize macro arguments.
Tue Mar 22 13:33:22 2011 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
* ext/openssl/lib/openssl/buffering.rb: removed circular require of
openssl.rb.
* ext/openssl/lib/openssl/*: removed following comment for transition
measures of avoiding circular require. No one claimed about this as
far as I know.
##
# Should we care what if somebody require this file directly?
# require "openssl"
Tue Mar 22 10:57:36 2011 NARUSE, Yui <naruse@ruby-lang.org>
* test/runner.rb: set Gem::TestCase's @@project_dir.
* lib/rubygems/test_case.rb: set Gem::TestCase's @@project_dir only
when it is not defined.
Tue Mar 22 09:38:19 2011 NARUSE, Yui <naruse@ruby-lang.org>
* numeric.c (flo_round): use pow instead of while-loop. fixes #4510
patched by Alex Young [ruby-core:35526]
Tue Mar 22 06:47:46 2011 NARUSE, Yui <naruse@ruby-lang.org>
* ext/date/date_strftime.c (date_strftime_wo_timespec):
suppress warning: shorten-64-to-32.
Tue Mar 22 06:42:42 2011 NARUSE, Yui <naruse@ruby-lang.org>
* ext/date/date_core.c: suppress warning: shorten-64-to-32.
Tue Mar 22 06:41:37 2011 NARUSE, Yui <naruse@ruby-lang.org>
* lib/test/unit/parallel.rb: remove unused variable.
Tue Mar 22 06:19:42 2011 NARUSE, Yui <naruse@ruby-lang.org>
* enc/utf_16le.c: suppress warning: shorten-64-to-32.
* ext/dbm/dbm.c: ditto.
* ext/gdbm/gdbm.c: ditto.
* parse.y (Init_ripper): suppress warning: unused value.
Mon Mar 21 11:21:32 2011 Shota Fukumori <sorah@tubusu.net>
* lib/test/unit.rb: Refactoring. Unified if and elsif.
Sun Mar 20 23:09:34 2011 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/date_strftime.c: checks duplicated modifiers.
Sun Mar 20 22:32:30 2011 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/date_strftime.c: removed unused code and arguments.
Sun Mar 20 21:34:49 2011 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/date_core.c: replacement of implementation of
strftime. It has some limitations that is same as Time's
one. [experimental]
* ext/date/date_strftime.c: new.
* ext/date/lib/date/format.c: removed ruby version of strftime.
Sun Mar 20 12:43:12 2011 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_x509store.c: parenthesize macro arguments.
Sun Mar 20 01:39:48 2011 Tajima Akio <artonx@yahoo.co.jp>
* hash.c (ruby_setenv): check env process block size with OS ver.
* win32/win32.c: export rb_w32_osver for above patch.
* include/ruby/win32.h: declare rb_w32_osver for Win32 Libs.
Sat Mar 19 18:35:05 2011 Tajima Akio <artonx@yahoo.co.jp>
* hash.c (ruby_setenv): calculate total env block size for win32.
* test/ruby/test_env.rb: add test for above patch.
Sat Mar 19 17:14:46 2011 Tajima Akio <artonx@yahoo.co.jp>
* hash.c (ruby_setenv): checking with max process environment
block size for Win32. 32767 for 2000/XP, 2003. if failed to
read the block, then checking with 5120 for earlier Windows.
Sat Mar 19 12:30:25 2011 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_x509revoked.c: parenthesize macro arguments.
Fri Mar 18 20:44:36 2011 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_x509req.c: parenthesize macro arguments.
Fri Mar 18 08:48:06 2011 Oleg Shaldybin <oleg.shaldybin@gmail.com>
* lib/fileutils.rb (FileUtils::Entry_#copy_file): updated FileUtils.cp
to still copy file permissions when :preserve is false (as cp does
this even when -p isn't set).
Fri Mar 18 00:59:38 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/win32ole/extconf.rb (create_docfile): removed. should not
modify source directory unnecessarily, platform dependent
documentation should be dealt with by rdoc. [ruby-core:35495]
Fri Mar 18 00:54:20 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/ruby.h (rb_funcall_passing_block): add prototype.
a patch by James M. Lawrence at [ruby-core:35501]
Wed Mar 17 06:23:31 2011 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_x509name.c: parenthesize macro arguments.
Wed Mar 16 20:36:56 2011 Tanaka Akira <akr@fsij.org>
* ext/socket/ipsocket.c (init_inetsock_internal): raise an error on
listen(2) failure.
reported by Xavier Shay. [ruby-core:35505]
Wed Mar 16 15:06:21 2011 Eric Hodel <drbrain@segment7.net>
* ext/openssl/lib/openssl/buffering.rb (module OpenSSL): #flush should
not change sync mode on exception.
* test/openssl/test_buffering.rb: added
Wed Mar 16 13:45:28 2011 Eric Hodel <drbrain@segment7.net>
* ext/openssl/lib/openssl/buffering.rb: de-nest Buffering module
* ext/openssl/lib/openssl/buffering.rb: add RDoc
Wed Mar 16 08:40:39 2011 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_x509ext.c: parenthesize macro arguments.
Tue Mar 15 18:34:27 2011 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_x509crl.c: parenthesize macro arguments.
Tue Mar 15 09:49:03 2011 Shota Fukumori <sorah@tubusu.net>
* test/misc/test_ruby_mode.rb (test_singleton_class): Skip for Pending.
Mon Mar 14 21:20:44 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* test/ruby/test_require.rb (test_require_too_long_filename):
increase path length, because MAXPATHLEN is defined as 4096 on linux.
* test/ruby/test_require.rb (test_require_path_home_1): ditto.
* test/ruby/test_require.rb (test_require_path_home_2): ditto.
Mon Mar 14 19:54:37 2011 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_x509cert.c: parenthesize macro arguments.
Sun Mar 13 18:11:28 2011 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_x509attr.c: parenthesize macro arguments.
Sun Mar 13 16:07:58 2011 Shota Fukumori <sorah@tubusu.net>
* lib/pstore.rb: Fix don't raise "nested transaction" when thread_safe
is true. Patch by Masaki Matsushita (Glass_saga). [ruby-dev:43337]
* test/test_pstore.rb: Test for above.
Patch by Masaki Matsushita (Glass_saga) [ruby-dev:43337]
Sat Mar 12 04:12:41 2011 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_ssl_session.c: parenthesize macro arguments.
Sat Mar 12 02:27:07 2011 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/date_core.c ({d,dt}_lite_marshal_load): checks the given argument.
Sat Mar 12 01:26:24 2011 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/date_core.c: changed some directives.
Sat Mar 12 01:16:02 2011 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/date_core.c, ext/date/lib/*: moved rdoc descriptions.
Sat Mar 12 00:06:24 2011 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/lib: moved from lib.
Fri Mar 11 23:32:38 2011 Tadayoshi Funaba <tadf@dotrb.org>
* lib/date/delta*: removed undocumented delta.
Fri Mar 11 18:42:43 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb (find_executable0): should exclude directories.
Fri Mar 11 01:40:35 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* process.c (proc_getmaxgroups, proc_setmaxgroups): Process#maxgroups
and Process#maxgroups= now raise NotImplementedError if the
platform don't support supplementary groups concept.
Fri Mar 11 01:25:03 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* process.c (get_sc_ngroups_max): return -1 if platform don't
support NGROUPS_MAX.
Thu Mar 10 22:28:15 2011 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_ssl.h: parenthesize macro arguments.
Thu Mar 10 21:59:37 2011 NARUSE, Yui <naruse@ruby-lang.org>
* parse.y (parser_encode_length): add exception as UTF8-MAC for
magic comment's emacs newline specifier
patched by James M. Lawrence [ruby-core:35476] fixes #4489
Thu Mar 10 16:00:22 2011 NARUSE, Yui <naruse@ruby-lang.org>
* parse.y (parser_encode_length): fix typo: the length of
"-dos" and "-mac" is not 5 but 4.
patched by James M. Lawrence [ruby-core:35476] fixes #4489
Thu Mar 10 10:52:01 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* test/ruby/test_require.rb: setting too long string to ENV causes
Errno::EINVAL on Windows. long path name errors may causes over
about 1024 bytes, then limit it about 4000 bytes.
Thu Mar 10 10:09:35 2011 NARUSE, Yui <naruse@ruby-lang.org>
* lib/test/unit.rb (Test::Unit::Runner::Worker#read): fix for the case
when IO#read or IO#gets returns nil.
Thu Mar 10 07:12:03 2011 Ryan Davis <ryand-ruby@zenspider.com>
* lib/rubygems*: Import rubygems 1.6.2 (release candidate @ 2026fbb5)
* test/rubygems: Ditto
* test/runner.rb: Added test to load path to fix test requires.
Thu Mar 10 03:00:43 2011 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_ssl.c: parenthesize macro arguments.
Wed Mar 9 23:51:26 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* test/ruby/test_io_m17n.rb (test_io_new_enc): "sjis" is now an alias
of Windows-31J.
Wed Mar 9 23:06:13 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* misc/ruby-mode.el (ruby-parse-partial): fix indent after aref.
Wed Mar 9 12:50:24 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych/visitors/yaml_tree.rb: Rescue exceptions when
people implement the method method. Thanks Lin Jen-Shin.
[ruby-core:35255]
* test/psych/visitors/test_yaml_tree.rb: test for implementation of
method method.
Wed Mar 9 11:53:31 2011 NARUSE, Yui <naruse@ruby-lang.org>
* enc/shift_jis.c: Change SJIS as an alias of Windows-31J.
[ruby-dev:43027] fixes #4280
* enc/shift_jis.c: Add PCK as an alias of Windows-31J.
Wed Mar 9 00:45:29 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/extmk.rb: nmake substitutes all occurrences in macro.
* ext/extmk.rb: workaround for nmake.
Tue Mar 8 23:49:45 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* process.c (proc_setgroups): cleanup.
Tue Mar 8 23:40:30 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/misc/test_ruby_mode.rb: test for ruby-mode.el.
Tue Mar 8 23:27:38 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* process.c (get_sc_ngroups_max): try to use NGROUPS_MAX at first if
_SC_NGROUP_MAX is not defined.
Tue Mar 8 23:10:16 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* misc/ruby-mode.el (ruby-parse-partial): fix for array in block.
Tue Mar 8 21:44:49 2011 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_rand.c: parenthesize macro arguments.
Tue Mar 8 16:45:31 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* hash.c (ruby_setenv): MSDN says that Windows XP or earlier limits
the total size of environment block to 5,120 chars. and on such
OS, putenv() causes SEGV. So, ruby should limit the size of an
environment variable to 5,120 bytes for workaround.
Tue Mar 8 15:57:20 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* test/rubygems/test_gem_spec_fetcher.rb
(TestGemSpecFetcher#test_cache_dir_escapes_windows_paths): cache_dir
may have driveletter and `:' for base of cache_dir itself, so need
to skip it for checking.
Tue Mar 8 12:30:06 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* misc/ruby-mode.el (ruby-deep-indent-paren-p, ruby-calculate-indent):
do not apply deep-indent inside parens at the beginning of
expressions.
Tue Mar 8 09:32:48 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* common.mk (configure-ext, build-ext), ext/extmk.rb (extmake):
support parallel-make under ext.
Tue Mar 8 09:25:23 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* process.c (proc_setgroups): use getgrnam() if getgrnam_r() is
not available.
* process.c: RARRAY_LEN() returns long int.
Tue Mar 8 09:07:03 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (RUBY_REPLACE_TYPE): enclose in quotes for multiple
type names.
Tue Mar 8 01:43:11 2011 NARUSE, Yui <naruse@ruby-lang.org>
* process.c (get_sc_ngroups_max): define to wrap sysconf(3).
this also supports Windows which doesn't have sysconf(3).
* process.c (maxgroups): use get_sc_ngroups_max.
* process.c (proc_setmaxgroups): ditto.
Tue Mar 8 01:16:49 2011 NARUSE, Yui <naruse@ruby-lang.org>
* gc.c (rb_objspace): an initializer must be a constant.
Tue Mar 8 01:11:44 2011 NARUSE, Yui <naruse@ruby-lang.org>
* process.c (maxgroups): cast because sysconf(3)'s return value is long.
* process.c (proc_setmaxgroups): ditto.
* process.c (proc_setgroups): cast because RARRAY_LEN() is long.
Tue Mar 8 00:02:47 2011 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_pkey_rsa.c: parenthesize macro arguments.
Mon Mar 7 22:59:39 2011 Shota Fukumori <sorah@tubusu.net>
* lib/pstore.rb: Delete variable @transaction and fix #4474. Patch by
Masaki Matsushita (Glass_saga).
* test/test_pstore.rb(test_thread_safe): Add test for #4474.
Mon Mar 7 21:31:38 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* process.c (proc_setgroups): replace getgrnam() with getgrnam_r()
because getgrnam() isn't thread safe.
Mon Mar 7 20:49:12 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* process.c (proc_getmaxgroups, proc_setmaxgroups): reflect
platform maxgroups limitation by default instead hardcoded 65536.
Mon Mar 7 17:13:00 2011 Yukihiro Matsumoto <matz@ruby-lang.org>
* gc.c (rb_gc_set_params): allow GC parameter configuration by
environment variables. based on a patch from funny-falcon at
https://gist.github.com/856296, but honors safe level.
Mon Mar 7 09:05:18 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* process.c: NUM2RLIM is defined but no getrlimit and setrlimit on
mingw.
Mon Mar 7 08:38:14 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/date/date_core.c (DateTimeData): should not use bare 'long long'
and 'long double', which are not defined by C89.
* ext/date/date_core.c (dt_lite_plus): get rid of overflow at casting
down double to integer.
Mon Mar 7 00:21:11 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* process.c (proc_getgroups): get rid of maxgroups dependency.
ngroups can be calculated dynamically.
Sun Mar 6 23:45:40 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* configure.in: rlim_t use standard RUBY_REPLACE_TYPE mechanism.
Sun Mar 6 23:26:07 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* process.c (proc_setmaxgroups): added negative value check.
This was suggested by Daniel Berger. Thanks Daniel!
[ruby-core:35426][Bug#4467]
Sun Mar 6 23:18:23 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* process.c (maxgroups, proc_setmaxgroups): increase max groups
limitation up to 65536.
Sun Mar 6 22:20:59 2011 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_pkey_ec.c: parenthesize macro arguments.
Sun Mar 6 21:49:04 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* sample/list.rb (MyElem#initialize): initialize @head
explicitly. Otherwise -W2 option makes following warning.
"warning: instance variable @head not initialized".
This issue was founded by Andrew Grimm. Thanks Andrew!
[ruby-core:35435][Bug#4471]
Sun Mar 6 05:21:41 2011 NARUSE, Yui <naruse@ruby-lang.org>
* class.c: fix camelCase to snake_case in documentation code examples.
patched by Andrew Grimm. fixes Bug #4469
* marshal.c: ditto.
* proc.c: ditto.
* sample/biorhythm.rb: ditto.
* vm_eval.c: ditto.
* vm_method.c: ditto.
Sun Mar 6 03:22:27 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* io.c (io_cntl): use rb_thread_io_blocking_region() instead
rb_thread_blocking_region().
Sat Mar 5 22:54:36 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* include/ruby/intern.h: fix a typo of prototype declaration.
rb_mutex_try_lock -> rb_mutex_trylock [ruby-dev:43213]
Sat Mar 5 19:44:03 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/ruby/test_io.rb (TestIO#test_fcntl_lock): small clean up.
Sat Mar 5 01:33:46 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* io.c (io_cntl, nogvl_io_cntl): IO.fcntl() and IO.ioctl()
release GVL during calling kernel interface.
Suggested by Eric Wong. [ruby-core:35417][Bug #4463]
* test/ruby/test_io.rb (TestIO#test_fcntl_lock): add new test for
IO.fcntl().
Fri Mar 4 23:09:12 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>