-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
3325 lines (2085 loc) · 113 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 Oct 31 00:16:11 2011 Tanaka Akira <akr@fsij.org>
* include/ruby/intern.h (rb_cloexec_fcntl_dupfd): declared.
* io.c (rb_cloexec_fcntl_dupfd): new function.
(nogvl_io_cntl): use rb_cloexec_fcntl_dupfd.
* process.c (move_fds_to_avoid_crash): use rb_cloexec_fcntl_dupfd.
Sun Oct 30 22:46:46 2011 Tanaka Akira <akr@fsij.org>
* configure.in: check pipe2.
* io.c (rb_cloexec_pipe): use pipe2 if available.
Sun Oct 30 22:32:44 2011 Tanaka Akira <akr@fsij.org>
* ruby.c (fill_standard_fds): use fstat() instead of fcntl(F_GETFD)
for MinGW. reported by Luis Lavena. [ruby-core:40526] [Bug #5516]
Sun Oct 30 21:12:47 2011 Tanaka Akira <akr@fsij.org>
* include/ruby/intern.h (rb_cloexec_pipe): declared.
* io.c (rb_cloexec_pipe): new function.
(rb_pipe): use rb_cloexec_pipe.
* thread_pthread.c (rb_thread_create_timer_thread): use
rb_cloexec_pipe.
Sun Oct 30 20:06:07 2011 Tanaka Akira <akr@fsij.org>
* io.c (rb_cloexec_dup): refine control flow.
(rb_cloexec_dup2): ditto.
Sun Oct 30 18:45:50 2011 Tanaka Akira <akr@fsij.org>
* ruby.c (fill_standard_fds): new function to open closed standard
file descriptors.
(ruby_sysinit): call fill_standard_fds.
Sun Oct 30 10:50:36 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* tool/rbinstall.rb (install_recursive, bin-comm): split mere
string not path name. [ruby-core:40462] [Bug #5492]
Sun Oct 30 10:47:20 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* io.c (rb_cloexec_dup, rb_cloexec_dup2): CLOEXEC has been set if
dup3 succeeded.
Sun Oct 30 09:58:48 2011 Tanaka Akira <akr@fsij.org>
* io.c (rb_cloexec_dup): don't allocate standard file descriptors.
Sun Oct 30 08:29:51 2011 Tanaka Akira <akr@fsij.org>
* io.c (rb_cloexec_dup2): don't set CLOEXEC for standard file
descriptors.
Sun Oct 30 07:47:10 2011 Tanaka Akira <akr@fsij.org>
* configure.in: check dup3.
* io.c (rb_cloexec_dup2): use dup3 if available.
Sat Oct 29 22:06:37 2011 Tanaka Akira <akr@fsij.org>
* include/ruby/intern.h (rb_cloexec_dup2): declared.
* io.c (rb_cloexec_dup2): new function.
(io_reopen): use rb_cloexec_dup2.
Sat Oct 20 21:08:18 2011 Tajima Akil <artonx@yahoo.co.jp>
* win32/Makefile.sub (CONFIG_H): have stdint.h if VC2010.
[Bug #5243]
Sat Oct 29 20:59:08 2011 Tanaka Akira <akr@fsij.org>
* io.c (rb_cloexec_dup): use F_DUPFD_CLOEXEC if available.
Sat Oct 29 20:00:26 2011 Tanaka Akira <akr@fsij.org>
* include/ruby/intern.h (rb_cloexec_dup): declared.
* io.c (rb_cloexec_dup): new function.
(ruby_dup): use rb_cloexec_dup.
* ext/pty/pty.c (pty_getpty): use rb_cloexec_dup.
* ext/openssl/ossl_bio.c (ossl_obj2bio): ditto.
Sat Oct 29 16:11:34 2011 Tanaka Akira <akr@fsij.org>
* ext/sdbm/_sdbm.c (sdbm_prep): use O_CLOEXEC if available.
Sat Oct 29 14:26:56 2011 Tanaka Akira <akr@fsij.org>
* io.c (rb_cloexec_open): use O_CLOEXEC if available.
Sat Oct 29 12:57:15 2011 Tanaka Akira <akr@fsij.org>
* process.c (ruby_setsid): use rb_cloexec_open.
(rb_daemon): ditto.
* ruby.c (load_file_internal): ditto.
* file.c (rb_file_s_truncate): ditto.
(file_load_ok): ditto.
* random.c (fill_random_seed): ditto.
* ext/pty/pty.c (chfunc): ditto.
(get_device_once): ditto.
* ext/io/console/console.c (console_dev): ditto.
Sat Oct 29 10:40:19 2011 Tanaka Akira <akr@fsij.org>
* include/ruby/intern.h (rb_cloexec_open): declared.
* io.c (fd_set_cloexec): extracted from rb_fd_set_cloexec.
(rb_cloexec_open): new function.
(sysopen_func): use rb_cloexec_open.
(rb_sysopen_internal): use rb_update_max_fd instead of
rb_fd_set_cloexec.
Sat Oct 29 09:05:07 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* thread_pthread.h: no Structured Exception Handling like macros.
[ruby-core:40432] [Bug #5491]
Fri Oct 28 22:05:34 2011 Tanaka Akira <akr@fsij.org>
* ext/sdbm/_sdbm.c: RCS $Id$ removed.
Thu Oct 27 18:58:00 2011 NARUSE, Yui <naruse@ruby-lang.org>
* parse.y (parser_nextc): set encoding for the buffer of ripper.
Fri Oct 28 06:06:08 2011 Tanaka Akira <akr@fsij.org>
* ext/sdbm/_sdbm.c (sdbm_prep): set FD_CLOEXEC flags for file
descriptors.
(fd_set_cloexec): new function.
Fri Oct 28 03:01:27 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* vm_insnhelper.c (vm_call_cfunc): adding back useless hack. For some
reason, this fixes CFP errors on OS X 10.7.
Fri Oct 28 00:09:31 2011 Tanaka Akira <akr@fsij.org>
* ext/sdbm/_sdbm.c (sdbm_prep): refactored for less nesting.
Thu Oct 27 18:28:18 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (RUBY_DEFINE_IF): revert r33534 partially to get
rid of AS_ECHO which is not available in autoconf 2.61.
[ruby-dev:44702]
Thu Oct 27 16:10:46 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* bignum.c (rb_big_divide): raise ZeroDivisionError if divisor is
zero, as well as Fixnum. [ruby-core:40429] [Bug #5490]
Thu Oct 27 14:56:22 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (RUBY_FUNC_ATTRIBUTE): unset temporary variable.
* configure.in (RUBY_STACK_GROW_DIRECTION): substitute CPU name as
shell variable name. based on the patch by The Written Word Inc. at
[ruby-core:40421]. [Bug #5488]
Thu Oct 27 09:57:56 2011 NARUSE, Yui <naruse@ruby-lang.org>
* include/ruby/ruby.h (SIZE_MAX): define SIZE_MAX if not defined.
patched by The Written Word Inc. [ruby-core:40422] [Bug #5489]
Thu Oct 27 08:47:38 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/psych/parser.c: remove unused variable.
Thu Oct 27 08:38:41 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/extconf.rb: add -Wall flag by default when compiler is
GCC.
Wed Oct 26 15:24:25 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* file.c (rb_file_join): honor input encodings than ASCII-8BIT.
[ruby-core:40338] [Bug #5483]
Tue Oct 25 21:52:31 2011 Tanaka Akira <akr@fsij.org>
* include/ruby/defines.h: use "__sparc" instead of "sparc" and
"__sparc__".
* dln.c: ditto.
[ruby-dev:44694]
Tue Oct 25 06:34:39 2011 Eric Hodel <drbrain@segment7.net>
* re.c (match_aref): Use <code> around indexing examples to prevent
hyperlinks. [ruby-talk:389396]
Mon Oct 24 23:55:31 2011 Tanaka Akira <akr@fsij.org>
* complex.c: use "__sun" instead of "__sun__" to detect SunOS.
* math.c: ditto.
* hash.c: ditto.
* atomic.h: ditto.
* ext/io/wait/wait.c: ditto.
[ruby-dev:44693]
Mon Oct 24 22:45:37 2011 Tanaka Akira <akr@fsij.org>
* io.c: use "__sun" instead of "sun" to detect SunOS.
* dln.c: ditto.
* cont.c: ditto.
* ext/sdbm/_sdbm.c: ditto.
[ruby-dev:44693]
Mon Oct 24 22:38:08 2011 Tanaka Akira <akr@fsij.org>
* ext/pty/pty.c (get_device_once): delay rb_fd_set_cloexec() until
grantpt() on Solaris. grantpt() doesn't work with CLOEXEC on
Solaris 10.
reported by Naohisa GOTO. [ruby-dev:44688] [Bug #5475]
Mon Oct 24 08:18:14 2011 Tanaka Akira <akr@fsij.org>
* io.c (copy_stream_fallback_body): check nil for EOF of read method.
patch by Eric Wong. [ruby-core:39134] [Bug #5237]
Sun Oct 23 18:21:23 2011 Kazuki Tsujimoto <kazuki@callcc.net>
* ext/tk/MANUAL_tcltklib.eng: fix typo.
Sun Oct 23 18:03:31 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* numeric.c (rb_infinity, rb_nan): aggregated member initializers
need braces.
Sun Oct 23 16:43:43 2011 Naohisa Goto <ngotogenome@gmail.com>
* ext/io/wait/wait.c: ioctl(2) is declared in unistd.h on Solaris.
Sun Oct 23 16:33:35 2011 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
* ext/tk/MANUAL_tcltklib.eng: fix typo. reported by Mimura-san.
[ruby-dev:44683] [Bug #5471]
Sun Oct 23 08:01:29 2011 Tanaka Akira <akr@fsij.org>
* io.c (rb_fd_set_cloexec): set close-on-exec flag only if F_GETFD is
defined. reported by Luis Lavena. [ruby-core:40281] [Bug #5470]
Sat Oct 22 19:48:50 2011 Tanaka Akira <akr@fsij.org>
* test/openssl/test_ssl.rb (test_multibyte_read_write): start server
for each length to avoid race condition.
Sat Oct 22 18:49:24 2011 Tanaka Akira <akr@fsij.org>
* include/ruby/intern.h (rb_fd_set_cloexec): declared.
* io.c (rb_fd_set_cloexec): new function.
(ruby_dup): call rb_fd_set_cloexec to set close-on-exec flag.
(rb_sysopen_internal): ditto.
(rb_pipe): ditto.
(io_reopen): ditto.
(io_cntl): ditto.
* process.c (rb_f_exec): change the default :close_others option to
true.
(rb_f_system): ditto.
(move_fds_to_avoid_crash): call rb_fd_set_cloexec to set
close-on-exec flag.
(ruby_setsid): ditto.
(rb_daemon): ditto.
* thread_pthread.c (rb_thread_create_timer_thread): call
rb_fd_set_cloexec to set close-on-exec flag.
* ruby.c (load_file_internal): ditto.
* file.c (rb_file_s_truncate): ditto.
(file_load_ok): ditto.
* random.c (fill_random_seed): ditto.
* ext/pty/pty.c (chfunc): ditto.
(get_device_once): ditto.
* ext/openssl/ossl_bio.c (ossl_obj2bio): ditto.
* ext/socket/init.c (rsock_socket): ditto.
(rsock_s_accept_nonblock): ditto.
(rsock_s_accept): ditto.
* ext/socket/socket.c (rsock_sock_s_socketpair): ditto.
* ext/socket/ancdata.c (discard_cmsg): ditto.
(make_io_for_unix_rights): ditto.
* ext/socket/unixsocket.c (unix_recv_io): ditto.
* ext/io/console/console.c (console_dev): ditto.
[ruby-core:38140] [Feature #5041]
Sat Oct 22 17:46:27 2011 Tanaka Akira <akr@fsij.org>
* lib/resolv.rb: fix a exception name in previous patch.
Sat Oct 22 17:43:33 2011 Tanaka Akira <akr@fsij.org>
* lib/resolv.rb: make timeout configurable for DNS query.
patch by Eric Wong. [ruby-core:38533] [Feature #5100]
Sat Oct 22 02:07:48 2011 Naohisa Goto <ngotogenome@gmail.com>
* numeric.c (rb_infinity, rb_nan): use union to prevent bus error
caused by misalignment. [Bug #5469] [ruby-dev:44657]
* include/ruby/missing.h (INFINITY, NAN): ditto
Fri Oct 21 22:02:17 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* gc.c (initial_params): pack in a struct.
* gc.c (rb_gc_set_params): set parameters always.
[ruby-dev:44648] [Bug #5467]
Fri Oct 21 12:10:20 2011 Naohisa Goto <ngotogenome@gmail.com>
* atomic.h: change Solaris checking macro because atomic_ops can work
not only with Sun Studio but also with Fujitsu C Compiler.
Fri Oct 21 02:11:00 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_ns_spki.c: Complete documentation.
* test/openssl/test_ns_spki.rb: Integrate SPKI#to_text.
Thu Oct 20 22:47:28 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (socklist_insert, socklist_lookup, socklist_delete):
new functions to wrap of st_insert(), st_lookup() and st_delete() to
socklist.
allocating socklist is deferred until it is really needed.
* win32/win32.c (exit_handler): delete socklist only if it is
initialized.
* win32/win32.c (rb_w32_sysinit, StartSockets): refactoring: move
initialization of select_mutex to StartSockets().
* win32/win32.c (exit_handler): refactoring: delete select_mutex only
if winsock is used.
Thu Oct 20 22:38:53 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_pkcs5.c: add note on timing attacks and general
documentation.
Thu Oct 20 21:19:15 2011 Naohisa Goto <ngotogenome@gmail.com>
* vm_eval.c (check_funcall): set array elements one-by-one to fix
compile error with Fujitsu C Compiler 5.6 on Solaris 10 on Sparc.
[Bug #5464] [ruby-dev:44632]
Thu Oct 20 13:09:35 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/defines.h (flush_register_windows): use software
trap on Debian Sparc 32-bit userspace. [Bug #5244]
Thu Oct 20 12:28:22 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* test/openssl/test_pkcs5.rb: add RFC 6070 tests for PBKDF2 with
HMAC-SHA1
Thu Oct 20 11:42:23 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* util.c (mmprepare): fix for fragmental size.
* util.c (mmswap_, mmrot3_): portability improvement.
Thu Oct 20 05:58:02 2011 Eric Hodel <drbrain@segment7.net>
* ext/openssl/ossl_ns_spki.c (Init_ossl_ns_spki): Stub documentation
for Netscape SPKI.
Thu Oct 20 05:13:39 2011 Ryan Davis <ryan@lust.zenspider.com>
* lib/minitest/*: Imported minitest 2.6.2 (r6712)
* test/minitest/*: ditto
Thu Oct 20 06:55:32 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* lib/openssl/buffering.rb: Force multi-byte strings to be treated as
binary data.
* test/openssl/test_ssl.rb: Add test for it.
Thanks to Niklas Baumstark for reporting the issue!
[Ruby 1.9 - Bug #5233] [ruby-core:39120]
Wed Oct 19 17:06:54 2011 Yukihiro Matsumoto <matz@ruby-lang.org>
* version.h (RUBY_VERSION): finally declare start of 2.0 work!
Wed Oct 19 11:48:44 2011 Eric Hodel <drbrain@segment7.net>
* error.c (Init_Exception): Document $! and $@. Provide
recommendations for creating exceptions for a library.
Wed Oct 19 11:25:46 2011 Eric Hodel <drbrain@segment7.net>
* error.c (Init_Exception): Add hierarchy of Exception subclasses.
Based on patch by Sylvain Daubert. [Ruby 1.9 - Bug #5438]
Wed Oct 19 11:04:47 2011 Eric Hodel <drbrain@segment7.net>
* enum.c: Reformat block args to a single standard, { |args| ... }.
Patch by b t. [Ruby 1.9 - Bug #5393]
Wed Oct 19 12:11:26 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_ssl.c: Remove set, but unused variables.
ext/openssl/ossl_pkey.c: ditto
* ext/openssl/ossl_pkey_dh.c: Make functions passed to
rb_thread_blocking_region return VALUE instead of void.
ext/openssl/ossl_pkey_dsa.c: ditto
ext/openssl/ossl_pkey_rsa.c: ditto
Tue Oct 18 23:28:53 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* hash.c (identhash): share with type_numhash.
* st.c (st_hashtype_num): rename from type_numhash.
Tue Oct 18 23:07:30 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_core.h (ruby_current_thread): probeprofiler has been removed
long ago.
Tue Oct 18 23:05:49 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/ripper/eventids2.c (ripper_init_eventids2): separate
initializations of IDs and objects.
* ext/ripper/tools/generate.rb (generate_eventids1): ditto.
* parse.y (Init_ripper, InitVM_ripper): fix inversed roles.
Sun Oct 16 19:46:16 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/bigdecimal/bigdecimal.gemspec (files): fixed typo, and
removed nonexistent file.
* ext/bigdecimal/bigdecimal.gemspec (homepage): added.
* ext/io/console/io-console.gemspec (homepage): ditto.
Fri Oct 14 12:13:57 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/pty/pty.c (pty_check): should return nil until the child
terminates or stops. [ruby-dev:44600] [Bug #2642]
Fri Oct 14 11:19:37 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/intern.h (rb_ary_rotate): export.
Fri Oct 14 05:58:05 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* atomic.h (ATOMIC_INC, ATOMIC_DEC): return old values.
[ruby-dev:44596] [Bug #5439]
* signal.c (ruby_atomic_exchange): no needs to define on the
platforms where atomic.h is available.
Thu Oct 13 19:29:40 2011 Naohisa Goto <ngotogenome@gmail.com>
* atomic.h (ATOMIC_*): use atomic_ops(3C) when SunStudio on Solaris.
[ruby-dev:44596] [Bug #5439]
Thu Oct 13 18:13:04 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* atomic.h(ATOMIC_SET): add cast to void to prevent misuse.
[ruby-dev:44596] [Bug #5439]
Thu Oct 13 18:04:27 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* gc.c (rb_gc_finalize_deferred, rb_objspace_call_finalizer):
should use ATOMIC_EXCHANGE() to check the previous value.
[ruby-dev:44596] [Bug #5439]
Wed Oct 12 23:39:58 2011 Hiroshi Nakamura <nahi@ruby-lang.org>
* test/openssl/test_ssl.rb: Move duplicated tests for SSL::Session to
test_ssl_session.rb
Tue Oct 11 08:49:40 2011 Eric Hodel <drbrain@segment7.net>
* array.c (rb_ary_initialize): Improve explanation of Array.new
parameters. Patch by Alvaro Pereyra Rabanal. [Ruby 1.9 - Bug #5425]
* array.c (rb_ary_s_try_convert): Fix typo (try => tries)
* array.c (rb_ary_rindex): Add spacing for block.
* array.c (rb_ary_uniq_bang): Describe block
* array.c (rb_ary_uniq): ditto
Tue Oct 11 07:55:38 2011 Eric Hodel <drbrain@segment7.net>
* array.c: Add a description to Array, minor cleanups. Patch by
Andrea Singh. [Ruby 1.9 - Bug #5412]
Tue Oct 11 06:09:52 2011 Eric Hodel <drbrain@segment7.net>
* lib/pp.rb: Move PP documentation to top of class PP. Patch by
Sylvain Daubert. [Ruby 1.9 - Bug #5430]
Tue Oct 11 06:06:29 2011 Eric Hodel <drbrain@segment7.net>
* ext/coverage/coverage.c (Init_coverage): Change list format and
describe Coverage.result output. Patch by Sylvain Daubert.
[Ruby 1.9 - Bug #5428]
Tue Oct 11 05:53:23 2011 Eric Hodel <drbrain@segment7.net>
* object.c (Init_Object): Add reference to BasicObject, brief
explanation of constant lookup. Based on patch by Alvaro Pereyra
Rabanal.
[Ruby 1.9 - Bug #5426]
Sun Oct 9 11:06:52 2011 Kazuki Tsujimoto <kazuki@callcc.net>
* test/psych/test_yamldbm.rb: don't run test if the system
don't support yaml/dbm.
* test/syck/test_yamldbm.rb: ditto.
Sat Oct 8 08:54:56 2011 Eric Hodel <drbrain@segment7.net>
* enum.c (group_by): Improve group_by description. Patch by b t.
[#5411]
Sat Oct 8 03:17:51 2011 Eric Hodel <drbrain@segment7.net>
* lib/shell.rb: Document some methods of Shell. Patch by Carol
Nichols. [Ruby 1.9 - Bug #5417]
Fri Oct 7 17:54:28 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/test/unit/assertions.rb (assert_send, assert_not_send):
parenthesize non-empty arguments.
Fri Oct 7 06:35:50 2011 Eric Hodel <drbrain@segment7.net>
* array.c: Use + for arguments described in documentation to allow
rdoc -C2 to work better. Remove <code> from method references to
allow cross-references in HTML documentation.
Thu Oct 6 18:46:23 2011 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* vm_eval.c (make_no_method_exception): fix typo.
* vm_insnhelper.c, vm_insnhelper.h: ditto.
Thu Oct 6 16:29:30 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_eval.c (make_no_method_execption): extract from
raise_method_missing().
* vm_eval.c (send_internal): remove inadvertent symbol creation
from public_send. based on a patch by Jeremy Evans <code AT
jeremyevans.net> in [ruby-core:38576]. [Feature #5112]
* vm_insnhelper.c (vm_call_method): remove inadvertent symbol
creation from send and __send__, too.
Thu Oct 6 14:59:11 2011 Eric Hodel <drbrain@segment7.net>
* lib/time.rb: Clean up Time documentation. Patch by Jake Goulding.
[Ruby 1.9 - Bug #5416]
Thu Oct 6 10:00:54 2011 Eric Hodel <drbrain@segment7.net>
* enum.c (group_by): Improve documentation based on patch by b t.
Thu Oct 6 09:56:30 2011 Eric Hodel <drbrain@segment7.net>
* enum.c: Clean up wording in Enumerable documentation. Patch by b t.
[Ruby 1.9 - Bug #5411]
Thu Oct 6 09:17:18 2011 Eric Hodel <drbrain@segment7.net>
* time.c (Init_Time): Remove editorial comments from Time
documentation, fix link.
Thu Oct 6 09:14:20 2011 Eric Hodel <drbrain@segment7.net>
* time.c (Init_Time): Improve Time documentation. Patch by Shane
Emmons. [Ruby 1.9 - Bug #5404]
* lib/time.rb: Improve time.rb documentation including Time.strptime.
Patch by Shane Emmons. [Ruby 1.9 - Bug #5402]
Thu Oct 6 08:54:05 2011 Eric Hodel <drbrain@segment7.net>
* random.c: Improve documentation of Random. Patch by Gregory
Parkhurst. [Ruby 1.9 - Bug #5410]
Thu Oct 6 01:44:51 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* cont.c (cont_mark): mark original Thread object from saved_thread.
[ruby-dev:44571] [Bug #5386]
Wed Oct 5 16:33:04 2011 NARUSE, Yui <naruse@ruby-lang.org>
* vm_insnhelper.c (vm_call_cfunc): remove useless hack.
Wed Oct 5 05:56:39 2011 Eric Hodel <drbrain@segment7.net>
* hash.c (Init_Hash): Improve Hash documentation. Patch by Alvaro
Pereyra Rabanal. [Ruby 1.9 - Bug #5405]
Wed Oct 5 05:47:59 2011 Eric Hodel <drbrain@segment7.net>
* random.c (Init_Random): Add a top-level comment for Random. Patch
by Brett Bim. [Ruby 1.9 - Bug #5403]
Wed Oct 5 02:50:27 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych/syntax_error.rb: Add file, line, offset, and
message attributes during parse failure.
* ext/psych/parser.c: Update parser to raise exception with correct
values.
* test/psych/test_exception.rb: corresponding tests.
Wed Oct 5 01:52:16 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/parser.c (parse): Use context_mark for indicating error
line and column.
Wed Oct 5 01:22:08 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych/scalar_scanner.rb: use normal begin / rescue
since postfix rescue cannot receive the exception class. Thanks
nagachika!
Tue Oct 4 21:10:08 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* class.c (class_alloc): allocate extra memory after containing
object setup to get rid of rare-but-potential memory leak.
* gc.c (gc_mark_children): skip marking extended members if ptr is
NULL.
Tue Oct 4 16:17:50 2011 NARUSE, Yui <naruse@ruby-lang.org>
* lib/time.rb (Time.strptime): use Time.at if d[:seconds] is set.
Reported by Christopher Eberz. [ruby-core:39903] Bug #5399
Tue Oct 4 11:44:10 2011 NARUSE, Yui <naruse@ruby-lang.org>
* gc.c (rb_gc_set_params): ruby_verbose can be Qnil, so use RTEST.
Tue Oct 4 08:33:41 2011 Eric Hodel <drbrain@segment7.net>
* ext/etc/etc.c: Document Etc, Etc.sysconfdir, Etc.systmpdir. Patch
by mathew murphy. [Ruby 1.9 - Bug #5396]
Tue Oct 4 08:21:51 2011 Eric Hodel <drbrain@segment7.net>
* lib/shellwords.rb: Update toplevel comment with an example. Patch
by Samnang Chhun. [Ruby 1.9 - Bug #5388]
Tue Oct 4 08:15:50 2011 Eric Hodel <drbrain@segment7.net>
* proc.c (proc_call): Update documentation to match argument handling
of proc/Proc.new/lambda/->()
Tue Oct 4 07:59:16 2011 Eric Hodel <drbrain@segment7.net>
* proc.c (proc_call): Fix documentation of Proc#call vs Proc#===.
[Ruby 1.9 - Bug #5349]
Tue Oct 4 07:43:18 2011 Eric Hodel <drbrain@segment7.net>
* array.c (rb_ary_initialize): Make Array.new description match
call-seq. Patch by Henry Maddocks. [Ruby 1.9 - Bug #5344]
Tue Oct 4 07:35:23 2011 Eric Hodel <drbrain@segment7.net>
* array.c (rb_ary_initialize): Add output for examples. Patch by
Jonathan Mukai. [Ruby 1.9 - Bug #5216]
Tue Oct 4 07:30:50 2011 Eric Hodel <drbrain@segment7.net>
* array.c (rb_ary_s_create): Add example results for Array::[]. Patch
by Jonathan Mukai. [Ruby 1.9 - Bug #5215]
Tue Oct 4 07:15:17 2011 Eric Hodel <drbrain@segment7.net>
* lib/rubygems: Update to RubyGems 1.8.11. Move Deprecate into the
Gem namespace.
Tue Oct 4 06:43:47 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych.rb: update psych version.
* ext/psych/psych.gemspec: generate new gemspec for new version.
Tue Oct 4 06:29:55 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych.rb: calling `yaml` rather than `to_yaml`.
* ext/psych/lib/psych/nodes/node.rb: Rename `to_yaml` to just `yaml`
in order to avoid YAML::ENGINE switching from replacing this method.
* test/psych/helper.rb: fix tests for method name change.
* test/psych/test_document.rb: ditto
* test/psych/visitors/test_emitter.rb: ditto
Tue Oct 4 06:20:19 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych/scalar_scanner.rb: Match values against the
floating point spec defined in YAML to avoid erroneous parses.
* test/psych/test_numeric.rb: corresponding test.
Tue Oct 4 05:59:24 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych/visitors/to_ruby.rb: ToRuby visitor can be
constructed with a ScalarScanner.
* ext/psych/lib/psych/visitors/yaml_tree.rb: ScalarScanner can be
passed to the YAMLTree visitor.
Tue Oct 4 05:47:23 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych/visitors/to_ruby.rb: Define Regexp::NOENCODING
for 1.9.2 backwards compatibility.
* ext/psych/lib/psych/visitors/yaml_tree.rb: Fix Date string
generation for 1.9.2 backwards compatibility.
Mon Oct 3 23:56:39 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* gc.c (rb_gc_set_params): output GC parameter change messages only
if -w/-v options are specified. these messages are output to stderr,
not to stdout. [ruby-core:39795] [Bug #5380]
* test/ruby/test_gc.rb (test_gc_parameter): add test for it.
Sun Oct 2 20:05:32 2011 Kazuki Tsujimoto <kazuki@callcc.net>
* vm.c (rb_thread_mark), cont.c (cont_mark): revert r33369 and r33371
that may cause SEGV in certain environments.
Sun Oct 02 12:14:06 2011 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
* test/psych/test_yamldbm.rb: add test case.
* test/syck/test_yamldbm.rb: ditto.
Sun Oct 2 11:28:09 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* lib/yaml/store.rb: make initialize method signature match the
superclass signature.
Sun Oct 2 10:44:01 2011 Kazuki Tsujimoto <kazuki@callcc.net>
* io.c: fix documentation of ARGF.lineno=.
Sat Oct 1 20:03:19 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb (have_framework): try as Objective-C.
https://twitter.com/nagachika/status/120294447660539904
Sun Oct 2 08:43:25 2011 Kazuki Tsujimoto <kazuki@callcc.net>
* vm.c (rb_thread_mark), cont.c (cont_mark): self pointer should not
be marked by itself. Patch by Koichi Sasada.
[ruby-dev:44567] [Bug #5386]
Sun Oct 2 00:42:14 2011 Kazuki Tsujimoto <kazuki@callcc.net>
* vm.c (rb_thread_mark): rb_thread_t needs self to be marked.
[ruby-dev:44566] [Bug #5386]
Sat Oct 1 09:48:53 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* gc.c (add_heap_slots, init_heap): reset heaps_inc zero when
heap slots are expanded by environment variable RUBY_HEAP_MIN_SLOTS.
[ruby-core:39777] [Bug #5380]
* test/ruby/test_gc.rb (test_gc_parameter): add test for it.
* test/ruby/envutil.rb (assert_normal_exit): add :child_env option to
enable pass environment variables to child process.
Thu Sep 29 13:17:51 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* array.c (ary_join_1): should not copy the encoding of non-string
element after string element. [ruby-core:39776] [Bug #5379]
Thu Sep 29 11:53:56 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* gc.c (slot_sweep, rb_gc_finalize_deferred)
(rb_objspace_call_finalizer, rb_gc): run finalizers
sequentially. [ruby-dev:44562]
Thu Sep 29 20:37:38 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/gdbm/gdbm.c (rb_gdbm_fatal): adjust argument type.
Thu Sep 29 20:10:42 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* gc.c (is_id_value, is_live_object): extract from id2ref().
* gc.c (run_finalizer): use object instead of object id.
Thu Sep 29 20:07:36 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* use RB_TYPE_P which is optimized for constant types, instead of
comparison with TYPE.
Wed Sep 28 09:20:37 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (pthread_np.h): needs pthread.h to be included
previously on OpenBSD. a patch by George Koehler <xkernigh AT
netscape.net> at [ruby-core:39752]. [Bug #5376]
Wed Sep 28 04:41:35 2011 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
* test/psych/test_yamlstore.rb: use tmpdir for tmpfile.
* test/syck/test_yamlstore.rb: ditto.
Wed Sep 28 04:10:46 2011 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
* ext/bigdecimal/README: update report to.
Tue Sep 28 04:05:00 2011 Kenta Murata <mrkn@mrkn.jp>
* ext/bigdecimal/bigdecimal_en.html: removed because this file isn't
maintained now.
* ext/bigdecimal/bigdecimal_ja.html: ditto.
Tue Sep 27 09:55:40 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread_pthread.c: make native_fd_select().
* thread.c (do_select): remove #ifdef _WIN32. Instead, use
native_fd_select() always.
Tue Sep 27 09:44:59 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread.c (do_select): remove cygwin specific hack. It's layer
violation and too large hack.
* thread.c (cmp_tv, subtract_tv): removed.
Tue Sep 27 03:50:19 2011 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
* test/rexml/test_sax.rb: add require 'rexml/document'.
Tue Sep 27 03:32:27 2011 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
* test/psych/test_yamldbm.rb: fix #setup and #teardown.
[Bug #5370] [ruby-core:39730]
* test/syck/test_yamldbm.rb: ditto.
Mon Sep 26 11:27:38 2011 NARUSE, Yui <naruse@ruby-lang.org>
* lib/webrick/httputils.rb: Add MIME Type definition of .js and .svg.
patched by Hal Brodigan. [ruby-core:39704] [Bug #5365]
Mon Sep 26 09:20:44 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* configure.in: remove DJGPP support. It's not longer supported
since ruby 1.9.0.
Mon Sep 26 09:07:46 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* include/ruby/defines.h: remove NextStep, OpenStep, Rhapsody
support. Last activity of their OSs are 7 years ago.
* configure.in: ditto.
* dir.c: ditto.
* ext/tk/extconf.rb: ditto.
Mon Sep 26 09:02:49 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* configure.in: remove a code for human68k. it's no longer
supported since r19677.
Sun Sep 25 23:43:32 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_asn1.c: fix int_ossl_asn1_decode0_cons when being
fed arbitrary string values.
Clearly distinguish between the cases "universal, infinite and
not a SEQUENCE or SET" and "universal SEQUENCE or SET, possibly
infinite". Raise error for universal tags that are not infinite.
* test/openssl/test_asn1.rb: add a test for this.
Thanks to Hiroshi Yoshida for reporting this bug.
[Bug #5363] [ruby-dev:44542]
Sun Sep 25 20:57:18 2011 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
* test/syck/test/yamldbm.rb: add test for Syck::DBM.
* test/psych/test_yamldbm.rb: add test for Psych::DBM.
* test/psych/test_yamlstore.rb: add test for Psych::PStore.
Sun Sep 25 20:54:10 2011 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
* lib/yaml/dbm/dbm.rb: fix #update, add #key for using instead #index.
[Bug #5305][ruby-dev:44485]
Sun Sep 25 16:54:33 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* encoding.c (require_enc): reject only loading from untrusted
load paths. [ruby-dev:44541] [Bug #5279]
* transcode.c (load_transcoder_entry): ditto.
Sun Sep 25 16:45:05 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in: ignore all warnings from an arbitrary
header in /usr/local/include.
Sun Sep 25 03:43:03 2011 NARUSE, Yui <naruse@ruby-lang.org>
* enum.c (slice_before_i): use rb_attr_get to suppress wrong warning
for internal instance variable slicebefore_initial_state.
Fri Sep 23 14:20:14 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_asn1.c: remove unused variable.
Fri Sep 23 13:46:59 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* test/openssl/test_ssl_session.rb: execute test_session_exts_read
only for OpenSSL versions >= 0.9.8k. Thanks, Eric Wong, for
reporting this.
[Bug #4961] [ruby-core:37726]
Fri Sep 23 11:59:08 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* test/openssl/test_ssl_session.rb: ensure server calls callbacks in
test_ctx_server_session_cb. Thanks to Eric Wong for the patch.
[Bug #5336] [ruby-core:39619]
Thu Sep 22 02:53:19 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_insnhelper.c (vm_call_cfunc): suppress a warning. note that
`volatile type *var' doesn't make var itself volatile.
Thu Sep 22 01:52:48 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* thread_pthread.c (ubf_select): activate timer thread when interrupt
blocking thread.
A patch created by Koichi Sasada. [ruby-core:39634] [Bug #5343]
to cover race condition, timer thread periodically send SIGVTARLM to
threads in signal thread list. so you should activate timer thread
when interrupt a thread.
Wed Sep 21 16:55:26 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* test/io/wait/test_io_wait.rb (TestIOWait#setup): of course, the
behavior of mingw is just same with mswin.
Tue Sep 20 18:08:51 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_insnhelper.c (vm_get_cvar_base): reduce duplicated checks and
move a warning outside the loop.
Mon Sep 19 18:55:51 2011 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
* lib/fileutils.rb (module FileUtils): improve performance of
FileUtils.compare_stream. a patch by Masaki Matsushita.
[Feature #5337] [ruby-core:39622]
Mon Sep 19 18:42:58 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/-ext-/old_thread_select/test_old_thread_select.rb:
select() with timeout may return early in old Linux kernels
with 250 Hz tickrate and no dynticks, so skip everything older
than 2.6.32 (which has long term support).
And, Make the timing assertions consistently use assert_operator with
timing difference in error message
Patch by Eric Wong. [Bug #5335] [ruby-core:39618]
Mon Sep 19 09:28:06 2011 Eric Hodel <drbrain@segment7.net>
* test/openssl/test_ssl.rb (class OpenSSL): Test