This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
forked from FooBarWidget/rubyenterpriseedition187-248
-
Notifications
You must be signed in to change notification settings - Fork 5
/
ChangeLog
24636 lines (14916 loc) · 803 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Mon May 16 00:00:00 2011, Kiji 0.11
* Longlife heap optimizations; only newly allocated longlived objects
are scanned for additions to remembered set.
* Heap allocation strategy now governed by RUBY_GC_HEAP_SIZE,
RUBY_GC_EDEN_HEAPS, and RUBY_GC_LONGLIFE_LAZINESS environment
variables.
* Added memory summary and object allocation tracing to GC_DEBUG
builds, governed by RUBY_GC_DEBUG_SUMMARY, RUBY_GC_DEBUG_DUMP, and
RUBY_GC_DUMP_FILE_PATTERN environment variables.
* Exposed ObjectSpace.allocated_objects.
* Exposed Object.moved? and Object.longlived? APIs.
* Added support for BSD-style register naming conventions on
ucontext_t structures on x86_64 architecture, thereby allowing
signal handling to work properly on BSD/x86_64 platform.
Fri Mar 4 00:00:00 2011, Kiji 0.9
* Introduced longlife heap
Fri Feb 5 23:09:01 2010 Akinori MUSHA <[email protected]>
* ext/rational/rational.c: Added to provide a fast implementation
of Fixnum#gcd (and maybe some others in the future) in C. The
base code was submitted by Kurt Stephens. [Feature #2561]
* ext/rational/lib/rational.rb: Moved from lib/rational.rb. Make
overall code optimization; submitted by Kurt Stephens.
[Feature #2561]
* test/rational/test_rational.rb, test/rational/test_rational2.rb:
Add tests for Rational, ported from trunk.
* test/rational/test_fixnum_gcd.rb: Add a test for Integer#gcd.
Case values are only provided for i386 and amd64 at the moment;
submitted by Kurt Stephens. [Feature #2561]
Wed Feb 3 21:14:59 2010 Nobuyoshi Nakada <[email protected]>
* lib/net/http.rb (Net::HTTP#request): close @socket only after
started. [ruby-core:28028]
Sat May 22 19:36:38 2010 Nobuyoshi Nakada <[email protected]>
* eval.c (proc_invoke): reverted r25975. [ruby-dev:39931]
[ruby-dev:40059]
* eval.c (rb_mod_define_method): return original block but not
bound block. [ruby-core:26984]
Thu May 20 16:28:17 2010 Nobuyoshi Nakada <[email protected]>
* lib/webrick/httpservlet/filehandler.rb (make_partial_content):
add bytes-unit. [ruby-dev:40030]
Thu May 20 16:17:37 2010 NAKAMURA, Hiroshi <[email protected]>
* ext/zlib/zlib.c: backport r18029 and r21861 from trunk.
* r18029 ext/zlib/zlib.c (rb_deflate_params): flush before
deflateParams. [ruby-core:17675] (by mame)
* r21861 ext/zlib/zlib.c (zstream_run): desperately guard the
variable. [ruby-core:20576] (by usa)
* test/zlib/test_zlib.rb: backport deflate tests from trunk.
Thu May 20 15:59:14 2010 Kouhei Sutou <[email protected]>
* lib/rss/maker/base.rb, test/rss/test_maker_0.9.rb:
accept any time format in maker. [ruby-core:26923]
Thu May 20 15:54:08 2010 Akinori MUSHA <[email protected]>
* eval.c (recursive_push): Taint internal hash to prevent
unexpected SecurityError; fixes #1864.
Thu May 20 15:39:26 2010 Nobuyoshi Nakada <[email protected]>
* io.c (io_fwrite): preserve errno. [ruby-core:27425]
Tue Apr 20 08:04:37 2010 NAKAMURA Usaku <[email protected]>
* io.c (rb_io_s_read): close the IO if an exception is raised on
seeking. [ruby-core:27429]
Mon Apr 19 22:43:28 2010 Nobuyoshi Nakada <[email protected]>
* ruby.h (RB_GC_GUARD_PTR): workaround for gcc optimization.
[ruby-core:27402]
Tue Apr 20 06:40:53 2010 Marc-Andre Lafortune <[email protected]>
* lib/uri/generic.rb (URI::Generic::eql): Check the class of the
compared object. Based on a patch by Peter McLain [ruby-core:27019]
Fri Apr 2 03:27:22 2010 NAKAMURA, Hiroshi <[email protected]>
* lib/net/http.rb (HTTPGenericRequest#send_request_with_body_stream):
increased encoding chunk size for POST request with body_stream
(1K -> 16K). patched by Brian Candler. #1284.
* test/net/http/test_post_io.rb: added for the patch. It's good if a
patch comes with a test.
Thu Apr 1 05:32:17 2010 NAKAMURA Usaku <[email protected]>
* string.c (rb_str_inspect): wrong result of UTF-8 inspect because of
the mistake of calculation. reported by eban via IRC.
Sun Jan 10 19:00:31 2010 Nobuyoshi Nakada <[email protected]>
* lib/webrick/accesslog.rb : Escape needed.
* lib/webrick/httpstatus.rb : ditto.
* lib/webrick/httprequest.rb : ditto.
* lib/webrick/httputils.rb : ditto.
Fri Jan 8 18:51:11 2010 Nobuyoshi Nakada <[email protected]>
* io.c (io_fwrite): preserve errno. [ruby-core:27425]
Thu Dec 24 18:04:27 2009 Nobuyoshi Nakada <[email protected]>
* configure.in: default ac_cv_prog_CC to CC.
Thu Dec 24 17:56:32 2009 Nobuyoshi Nakada <[email protected]>
* ext/extmk.rb: MINIRUBY is given via make-flag.
Thu Dec 24 17:56:32 2009 Nobuyoshi Nakada <[email protected]>
* common.mk (EXTMK_ARGS): needs MINIRUBY for cross-compile.
[ruby-core:20131]
Thu Dec 24 17:56:32 2009 NAKAMURA Usaku <[email protected]>
* common.mk (EXTMK_ARGS): shouldn't use ``\"'' because cmd.exe eat
''\'' in such quotes.
Thu Dec 24 17:56:32 2009 Nobuyoshi Nakada <[email protected]>
* common.mk (EXTMK_ARGS): needs MINIRUBY for cross-compile.
[ruby-core:20131]
Thu Dec 24 17:56:32 2009 Nobuyoshi Nakada <[email protected]>
* mkconfig.rb (patchlevel): config.status may not contain
PATCHLEVEL even if other version numbers exist.
Thu Dec 24 17:50:35 2009 Yusuke Endoh <[email protected]>
* ext/stringio/stringio.c (strio_init): rewind when reopened.
Thu Dec 24 17:06:13 2009 Nobuyoshi Nakada <[email protected]>
* gc.c (run_final): runs finalizers with the object terminated.
* gc.c (rb_gc_call_finalizer_at_exit): ObjectSpace::finalizers needs
to scan whole object space, although deprecated.
Thu Dec 24 17:06:13 2009 Nobuyoshi Nakada <[email protected]>
* gc.c (chain_finalized_object): deletes finalizers to be invoked from
finalizer_table.
* gc.c (rb_gc_call_finalizer_at_exit): warns when could not invoke
finalizers.
Mon Dec 21 16:09:09 2009 NAKAMURA Usaku <[email protected]>
* win32/Makefile.sub (LD_SHARED1): typo.
Wed Dec 16 20:17:40 2009 NAKAMURA Usaku <[email protected]>
* win32/win32.c (CreateChild): allocate temporary buffer and use it
instead of directly modify the passed string. [ruby-dev:39635]
Wed Dec 16 19:49:47 2009 URABE Shyouhei <[email protected]>
* instruby.rb (with_destdir): revert. [ruby-dev:39885]
Mon Dec 14 13:28:48 2009 Nobuyoshi Nakada <[email protected]>
* lib/test/unit.rb (Test::Unit.run=, Test::Unit.run?): fixed rdoc.
[ruby-core:25034]
Mon Dec 14 13:21:32 2009 Nobuyoshi Nakada <[email protected]>
* lib/open3.rb (Open3#popen3): fixed and improved rdoc. [ruby-core:25658]
Mon Dec 14 13:09:01 2009 Nobuyoshi Nakada <[email protected]>
* configure.in (LIBPATHFLAG): use numbered specifier if RPATHFLAG
is set. [ruby-talk:322136]
Mon Dec 14 12:53:56 2009 Marc-Andre Lafortune <[email protected]>
* lib/bigdecimal.rb: fix comparison operators [ruby-core:26646]
Mon Dec 14 12:40:10 2009 Marc-Andre Lafortune <[email protected]>
* object.c (rb_Float): Allow results of to_f to be NaN
[ruby-core:26733]
Mon Dec 14 12:35:21 2009 Nobuyoshi Nakada <[email protected]>
* eval.c (proc_invoke): unbound block created by define_method
cannot call super. [ruby-core:26984]
Mon Dec 14 12:06:39 2009 Akinori MUSHA <[email protected]>
* ext/digest/digest.c (rb_digest_instance_method_unimpl): Do not
call rb_inspect() on an object that does not implement necessary
methods; reported by NaHi.
Mon Dec 14 11:47:31 2009 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_method_missing): adjusted format and argument number.
* eval.c (rb_call): fixed for super in cached method.
[ruby-dev:39757]
Mon Dec 14 11:40:35 2009 Nobuyoshi Nakada <[email protected]>
* hash.c (ruby_setenv): get rid of crash in Solaris 8 and 10.
[ruby-core:26668]
Mon Dec 14 11:31:58 2009 Takeyuki FUJIOKA <[email protected]>
* lib/cgi.rb: fix command-line option of
non-interactive terminal. [ruby-core:23016]
Mon Dec 14 03:36:20 2009 Marc-Andre Lafortune <[email protected]>
* eval.c (method_inspect, method_name, mnew): Bug fix when
method created from an alias.
Based on a patch by Peter Vanbroekhoven [ruby-core:22040]
Mon Dec 14 02:27:32 2009 Yusuke Endoh <[email protected]>
* hash.c (rb_hash): always return a fixnum value because a return
value of rb_hash may be used as a hash value itself and bignums have
no unique VALUE.
* test/ruby/test_hash.rb: add a test for above.
Mon Dec 14 00:42:55 2009 Nobuyoshi Nakada <[email protected]>
* string.c (rb_str_inspect): get rid of adding garbage to shor
UTF-8 string. [ruby-dev:39550]
Sun Dec 13 23:54:22 2009 Nobuyoshi Nakada <[email protected]>
* marshal.c (marshal_load): should set taintness. [ruby-dev:39723]
Sun Dec 13 23:54:22 2009 Nobuyoshi Nakada <[email protected]>
* marshal.c (struct {dump,load}_arg): manage with dfree, instead
of using local variable which may be moved by context switch.
[ruby-dev:39425]
Wed Nov 25 17:42:33 2009 Nobuyoshi Nakada <[email protected]>
* io.c (io_fwrite): adjust stdio file position after direct write on
BSDish platforms. [ruby-core:26300]
Wed Nov 25 17:39:28 2009 Nobuyoshi Nakada <[email protected]>
* test/ostruct/test_ostruct.rb (test_frozen): added assertions.
Wed Nov 25 16:43:24 2009 NAKAMURA, Hiroshi <[email protected]>
* lib/monitor.rb (MonitorMixin.mon_release): ensure the scheduled
thread to be alive when a thread is releasing a monitor. #2240
Wed Nov 25 16:28:11 2009 Marc-Andre Lafortune <[email protected]>
* lib/rexml/element.rb (text=): false should be converted to string.
A patch by Teruo Oshida [ruby-dev:38351]
Wed Nov 25 16:18:37 2009 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_clear_cache_for_undef): clear entries for inherited
methods. [ruby-core:26074]
Tue Nov 24 16:15:18 2009 Nobuyoshi Nakada <[email protected]>
* ext/iconv/iconv.c (iconv_create): cannot retry with given block.
[ruby-dev:39487]
Tue Nov 24 16:12:33 2009 Shugo Maeda <[email protected]>
* lib/net/imap.rb (resp_text_code): accepts response codes without
text. backported from trunk. [ruby-core:24194]
Tue Nov 24 16:09:41 2009 Shugo Maeda <[email protected]>
* lib/net/ftp.rb (getaddress): rescue exceptions. [ruby-dev:39451]
Tue Nov 24 15:51:07 2009 Marc-Andre Lafortune <[email protected]>
* ext/curses/curses.c: Many functions of module Curses could cause a
crash if the ncurses library was not properly initialized.
Fix pointed out by Alexander Beisig [ruby-core:22592]
Functions fixed: attroff, attron, attrset, bkgd, bkgdset,
can_change_color, close_screen, closed, color_content, curs_set,
def_prog_mode, delch, deleteln, getmouse, getstr, has_colors,
init_color, init_pair, insertln, keyname, mouseinterval, mousemask,
pair_content, pair_number, reset_prog_mode, resizeterm, scrl,
setscrreg, standend, standout, start_color, timeout, ungetmouse
Fri Nov 20 15:49:59 2009 Tanaka Akira <[email protected]>
* lib/resolv.rb (Resolv::DNS.bind_random_port): bind to "::" for IPv6.
(Resolv::DNS::ConnectedUDP#initialize): specify is_ipv6 argument of
bind_random_port.
[ruby-core:25970]
Thu Nov 19 18:03:31 2009 Takeyuki FUJIOKA <[email protected]>
* lib/cgi.rb (CGI.unescapeHTML): fix for hex values 80-FF,
single-byte hex entity encodings from 80-FF are valid HTML.
[ruby-core:25702]
Thu Nov 19 15:34:40 2009 Yukihiro Matsumoto <[email protected]>
* io.c (rb_io_fptr_finalize): free fptr to avoid memory leaks.
fixed: #2009 [ruby-core:25173] [ruby-dev:39410]
Thu Nov 19 15:27:17 2009 Marc-Andre Lafortune <[email protected]>
* lib/net/http.rb (transport_request): Handle timeout error by
closing socket if exception raised. [ruby-core:20976]
Wed Nov 18 14:14:38 2009 Marc-Andre Lafortune <[email protected]>
* ext/openssl/ossl_config.c (ossl_config_add_value_m,
ossl_config_set_section): Check if frozen (or untainted for $SECURE >=
4) [ruby-core:18377]
Wed Nov 18 14:13:14 2009 NAKAMURA Usaku <[email protected]>
* instruby.rb: win32/win32.h exists in srcdir.
reported by arton ( http://www.artonx.org/diary/20090919.html#p01 )
Wed Nov 18 14:13:14 2009 NAKAMURA Usaku <[email protected]>
* win32/win32.c (subtract): if the parameters are same value, should
return zero.
Wed Nov 18 14:13:14 2009 NAKAMURA Usaku <[email protected]>
* win32/win32.c (rb_w32_select): of course, need to initialize rest.
Wed Nov 18 14:13:14 2009 NAKAMURA Usaku <[email protected]>
* win32/win32.c (rb_w32_select): wait specified time on select.
Wed Nov 18 14:13:14 2009 NAKAMURA Usaku <[email protected]>
* win32/win32.c (rb_w32_select): on 1.8, we don't need to poll sockets,
because our select is never called from multiple threads.
Tue Nov 17 16:22:22 2009 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_thread_start_0, rb_thread_start_1): should call star
timer after added new thread to thread list. [ruby-core:25613]
Tue Nov 17 16:22:22 2009 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_thread_start_timer): start to catch SIGVTALRM together
with timer thread. [ruby-core:25606]
* eval.c (rb_thread_atfork): stop timer thread.
Tue Nov 17 16:04:02 2009 Marc-Andre Lafortune <[email protected]>
* lib/cgi/cookie.rb (value): Keep CGI::Cookie#value in sync with the
cookie itself. A patch by Arthur Schreiber [ruby-core:17634]
Tue Nov 17 15:49:00 2009 Marc-Andre Lafortune <[email protected]>
* lib/irb/ext/multi-irb.rb: Fix arguments handling for shell commands
in irb; a patch by Yusuke Endoh [ruby-dev:35075]
Tue Nov 17 15:32:27 2009 Nobuyoshi Nakada <[email protected]>
* io.c (rb_io_binmode): check if closed regardless platforms.
[ruby-core:25363]
Tue Nov 17 15:31:09 2009 Nobuyoshi Nakada <[email protected]>
* numeric.c (round): added declaration. [ruby-dev:39222]
Mon Nov 16 19:58:02 2009 Nobuyoshi Nakada <[email protected]>
* gc.c (gc_sweep): makes new room if object space is full of
finalized objects and has no free objects. [ruby-dev:39201]
Mon Nov 16 19:45:27 2009 Tanaka Akira <[email protected]>
* util.c: suppress strict-aliasing warning with gcc-4.4.0 -O2 to fix
infinite loop by ruby -e "1.402e-45" .
Mon Nov 16 19:28:23 2009 URABE Shyouhei <[email protected]>
* ext/bigdecimal/bigdecimal.c (BigDecimal_to_i): revert a part of
r23645, which was not a bug fix. [ruby-dev:39474]
Fri Sep 11 11:56:53 2009 Akinori MUSHA <[email protected]>
* class.c (rb_singleton_class_clone): Qnil must be used for a null
class reference when we use NIL_P() to check class reference
validity. The bug was exposed by the spec test of Sequel.
* eval.c (ruby_init): Use NEW_CREF().
Thu Sep 10 10:53:03 2009 NAKAMURA Usaku <[email protected]>
* io.c (rb_sysopen): workaround for MSVCRT's bug.
[ruby-core:24838]
Mon Sep 7 19:52:44 2009 Tanaka Akira <[email protected]>
* eval.c (rb_thread_schedule): need select for WAIT_SELECT, even if
already timeout. [ruby-dev:38971]
(WAIT_DONE): defined for mark threads which can be runnable.
Mon Sep 7 19:52:44 2009 Tanaka Akira <[email protected]>
* eval.c (rb_thread_schedule): refine previous change.
Mon Sep 7 19:52:44 2009 Tanaka Akira <[email protected]>
* eval.c (rb_thread_schedule): fix condition for making thread
runnable. [ruby-core:23515]
Sun Sep 6 19:47:10 2009 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_exc_raise, rb_exc_fatal): require exception object.
[ruby-core:24767]
Sun Sep 6 01:34:03 2009 NAKAMURA Usaku <[email protected]>
* win32/win32.c (rb_w32_connect): return value was broken when some
error occurred.
[ruby-core:24234]
Fri Sep 4 10:03:22 2009 Nobuyoshi Nakada <[email protected]>
* io.c (argf_eof): go to the next file if called after ARGF.close
or ARGF.skip. a patch from Mike Kasick at [ruby-core:24561].
Sun Aug 9 17:43:44 2009 Keiju Ishitsuka <[email protected]>
* lib/irb.rb, lib/irb/init.rb, lib/irb/ext/save-history.rb: add
IRB::irb_at_exit. no use finalizer saving history. [ruby-dev-38563]
Wed Aug 5 15:29:54 2009 NAKAMURA Usaku <[email protected]>
* io.c (rb_io_flush): fsync() after buffer is flushed on win32.
backported from trunk. [ruby-core:20043]
Tue Aug 4 11:00:30 2009 Nobuyoshi Nakada <[email protected]>
* re.h (RMATCH_REGS): added for compatibility.
Mon Aug 3 14:46:53 2009 Yukihiro Matsumoto <[email protected]>
* lib/complex.rb (Numeric#arg): should return NaN for NaN.
[ruby-core:24116]
Thu Jul 30 09:27:44 2009 Nobuyoshi Nakada <[email protected]>
* bignum.c (big_lshift, big_rshift): return Bignum always withou
normalization. [ruby-dev:38680]
Wed Jul 29 11:19:47 2009 Yukihiro Matsumoto <[email protected]>
* io.c (argf_close): always call #close method. [ruby-core:23853]
* io.c (argf_skip): should close only when current_file is available.
Sat Jul 25 21:26:18 2009 Yukihiro Matsumoto <[email protected]>
* enum.c (first_i): Enumerator#first should consume only what is
needed. a patch from Marc-Andre Lafortune. [ruby-core:23661]
* enum.c (take_i): ditto.
* enum.c (enum_first): call to_int once for an argument. a patch
from Marc-Andre Lafortune.
Fri Jul 24 17:19:40 2009 Yukihiro Matsumoto <[email protected]>
* lib/cgi.rb (HTTP_STATUS): typo fixed. [ruby-dev:38538]
Wed Jul 22 23:39:34 2009 Yukihiro Matsumoto <[email protected]>
* lib/rexml/text.rb (REXML::Text.normalize): call to_s for input.
[ruby-talk:337069]
Tue Jul 21 18:21:47 2009 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (SRC_EXT): should be flat.
http://twitter.com/_tad_/status/1825862632
Sat Jul 18 00:44:43 2009 URABE Shyouhei <[email protected]>
* gc.c (rb_gc_call_finalizer_at_exit): finalizer_table can be NULL.
[ruby-core:24395]
Thu Jul 16 09:35:06 2009 Akinori MUSHA <[email protected]>
* lib/delegate.rb (Delegator#method_missing)
(DelegateClass()#method_missing): Properly pass a given block
through. [ruby-dev:38390]
Wed Jul 15 11:40:34 2009 Nobuyoshi Nakada <[email protected]>
* file.c (rb_file_join): recursive array has no meaning as path
name. [ruby-core:23329]
Tue Jul 14 19:57:28 2009 Nobuyoshi Nakada <[email protected]>
* eval.c (get_ts): use readtime clock. [ruby-dev:38354]
* eval.c (rb_thread_stop_timer): clear thread_init while locking.
Tue Jul 14 19:57:28 2009 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_thread_start_timer): guard condition was inverted.
[ruby-dev:38319]
Tue Jul 14 19:57:28 2009 Nobuyoshi Nakada <[email protected]>
* eval.c (safe_mutex_lock): pthread_cleanup_push() must not be
inside parens.
Mon Jul 13 01:36:54 2009 Nobuyoshi Nakada <[email protected]>
* time.c (time_timeval): rounds subsecond toward zero.
Mon Jul 13 01:36:54 2009 Nobuyoshi Nakada <[email protected]>
* time.c (time_timeval): check out-of-range. [ruby-core:23282]
[Bug #1396]
Thu Jul 9 17:58:03 2009 Nobuyoshi Nakada <[email protected]>
* eval.c (proc_invoke): shares dmethod scope local variables.
a patch from coderrr at [ruby-core:23050]
* gc.c (obj_free): do not free cloned scope local variables.
Wed Jul 8 19:28:03 2009 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_thread_remove): stops timer thread unless other
threads exist. [ruby-core:18444]
Mon Jul 6 16:01:38 2009 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_eval): checks for interrupt, stack and finalizers too.
[ruby-dev:38208], [Bug #1329]
* eval.c (eval): replaces the message if frozen.
Sun Jul 5 03:50:52 2009 Nobuyoshi Nakada <[email protected]>
* lib/test/unit.rb: use Kernel.exit to get rid of using
IRB::ExtendCommandBundle#exit. a patch from Dmitry Vazhov by
[ruby-core:22986].
Fri Jul 3 09:05:38 2009 Masatoshi SEKI <[email protected]>
* lib/drb/drb.rb (open_server_inaddr_any): fixed multiple network
families problem. a patch from Charl Matthee at [ruby-core:21033].
Wed Jul 1 15:46:30 2009 Tanaka Akira <[email protected]>
* lib/pathname.rb (Pathname#sub): set $~ in block.binding.
[ruby-dev:38173]
Mon Jun 29 13:18:42 2009 Yukihiro Matsumoto <[email protected]>
* lib/fileutils.rb (FileUtils#fu_get_gid): stringify group
argument before making regexp match. [ruby-dev:38155]
Fri Jun 12 16:36:44 2009 Yukihiro Matsumoto <[email protected]>
* ext/bigdecimal/bigdecimal.c (VpToString): fixed a bug introduced
in r23613. [ruby-talk:338957]
Mon Jun 8 10:58:41 2009 NAKAMURA Usaku <[email protected]>
* eval.c (rb_thread_schedule): mswin32 doesn't have F_GETFD, so check
with another method.
Mon Jun 8 08:15:36 2009 Yukihiro Matsumoto <[email protected]>
* ext/bigdecimal/bigdecimal.c (VpAlloc): avoid ALLOCA_N() to avoid
segmentation fault caused by (insanely) long decimal values.
backported from 1.9. CVE-2009-1904
* ext/bigdecimal/bigdecimal.c (BigDecimal_dump, BigDecimal_to_i,
BigDecimal_to_f, BigDecimal_to_s, BigDecimal_split,
BigDecimal_inspect): ditto.
Mon Jun 8 08:15:36 2009 Yukihiro Matsumoto <[email protected]>
* ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): returns Inf if
exp is bigger than DBL_MANT_DIG.
Wed Jun 3 21:16:30 2009 Tanaka Akira <[email protected]>
* file.c: include fcntl.h for O_RDONLY on Solaris.
Wed Jun 3 21:09:56 2009 Nobuyoshi Nakada <[email protected]>
* util.c (rv_strdup): macro to duplicate nul-terminated string.
[ruby-core:22852]
* util.c (ruby_dtoa): allocates one more byte to get rid of buffer
overrun. a patch from Charlie Savage at [ruby-core:22604].
Wed Jun 3 21:09:56 2009 Nobuyoshi Nakada <[email protected]>
* util.c (ruby_dtoa): allocates one more byte to get rid of buffer
overrun. a patch from Charlie Savage at [ruby-core:22604].
Wed Jun 3 21:05:44 2009 Nobuyoshi Nakada <[email protected]>
* ext/bigdecimal/bigdecimal.c (gfDebug): uncommented out.
[ruby-core:22600]
Wed Jun 3 20:54:23 2009 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_eval): needs to guard intermediate string objects.
based on a patch from Brent Roman <brent AT mbari.org> a
[ruby-core:22584].
Tue May 26 21:24:01 2009 URABE Shyouhei <[email protected]>
* Makefile.in (update-rubyspec, test-rubyspec): Catch up to
rubyspec merge. A patch by Brian Ford at [ruby-core:21032]
Tue May 26 21:21:49 2009 Akinori MUSHA <[email protected]>
* lib/soap/mimemessage.rb (MIMEMessage#to_s): Fix a fatal
method name typo. [Bug #1173]
Tue May 26 21:16:55 2009 Nobuyoshi Nakada <[email protected]>
* file.c (rb_file_s_extname): fix for spaces before extention.
[ruby-dev:38044]
Tue May 26 21:09:21 2009 Nobuyoshi Nakada <[email protected]>
* win32/win32.c (_CrtDbgReportW): prevent from false positive
assertions in msvcrtd. [ruby-core:22116]
Tue May 26 21:02:13 2009 Nobuyoshi Nakada <[email protected]>
* lib/ostruct.rb (OpenStruct#new_ostruct_member): checks if frozen.
[ruby-talk:328195], [ruby-core:22142]
Tue May 26 21:00:08 2009 Nobuyoshi Nakada <[email protected]>
* lib/ostruct.rb (OpenStruct#inspect): fixed the recursion check.
Patch by Kornelius Kalnbach. [ruby-core:20992].
* test/ostruct/test_ostruct.rb: test for inspect.
Patch by Kornelius Kalnbach. [ruby-core:20992].
Tue May 26 20:50:32 2009 Tanaka Akira <[email protected]>
* eval.c (rb_thread_schedule): handle EBADF of select as well.
[ruby-core:21264]
Wed Apr 8 18:59:52 2009 NAKAMURA Usaku <[email protected]>
* win32/win32.c (subtruct): check tv_sec.
Thu Apr 2 16:06:17 2009 URABE Shyouhei <[email protected]>
* test/rss/test_atom.rb (RSS::TestAtomCore::assert_atom_content_inline_other_base64_to_s):
ditto. [ruby-dev:38248]
Thu Apr 2 15:43:46 2009 Kouhei Sutou <[email protected]>
* test/rss/rss-assertions.rb (RSS::Assertions::assert_atom_content_inline_other_text):
newlines are valid for Base64 data. [ruby-dev:38248]
Thu Apr 2 14:17:09 2009 Kazuhiro NISHIYAMA <[email protected]>
* test/openssl/test_ssl.rb (OpenSSL#test_client_session):
Debian's openssl 0.9.8g-13 failed at assert(ssl.session_reused?),
when use default SSLContext. [ruby-dev:36167]
backported r19268 from trunk. [ruby-core:22843]
Thu Mar 31 18:18:18 2009 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (mkintpath): new function which converts native path
to format acceptable in Makefile.
* lib/mkmf.rb (configuration): leaves PATH_SEPARATOR unchanged.
* lib/mkmf.rb (configuration): convers srcdir, topdir and hdrdir.
a patch by Alexey Borzenkov <snaury AT gmail.com> at
[ruby-core:21448].
Fri Mar 27 19:22:02 2009 Nobuyoshi Nakada <[email protected]>
* gc.c (run_final): frees zombies only. [ruby-dev:38171]
Fri Mar 27 19:22:02 2009 Nobuyoshi Nakada <[email protected]>
* gc.c (rb_gc_call_finalizer_at_exit): leave Thread objects
unfinalized. [ruby-dev:38168]
Fri Mar 27 19:22:02 2009 Nobuyoshi Nakada <[email protected]>
* gc.c (run_final): calls free function. [ruby-core:22578]
Mon Mar 23 19:17:06 2009 Nobuyoshi Nakada <[email protected]>
* ext/thread/thread.c (rb_queue_pop, rb_queue_push): should not lock
mutex if got an exception while waiting, and should ensure unlocked
after signaled. [ruby-dev:37545]
Mon Mar 23 18:26:57 2009 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_thread_value): missed to change at r17874. [ruby-core:17595]
Mon Mar 23 18:26:57 2009 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_thread_join): new API.
* ext/thread/thread.c (wait_mutex, lock_mutex): wait until the locking
thread exits. [ruby-dev:34856]
Mon Mar 23 17:41:49 2009 Nobuyoshi Nakada <[email protected]>
* file.c (file_load_ok): checks if regular file, except for the
platform disallows to open directories, e.g. dosish.
[ruby-dev:38097], [Bug #1221]
Mon Mar 9 20:59:24 2009 Shugo Maeda <[email protected]>
* ext/openssl/ossl_ocsp.c (ossl_ocspbres_verify): OCSP_basic_verify
returns positive value on success, not non-zero. [ruby-core:21762]
backported r22440 from trunk.
Mon Mar 9 10:02:15 2009 Yukihiro Matsumoto <[email protected]>
* re.c (match_check): check if MatchData is initialized.
[ruby-core:18749]
Mon Mar 9 09:56:34 2009 Shugo Maeda <[email protected]>
* lib/rexml/rexml.rb: incremented Ruby::VERSION. Thanks, Jeremy
Kemper. [ruby-core:20113]
Mon Mar 9 09:52:53 2009 Tanaka Akira <[email protected]>
* io.c (io_getpartial): fflush after read for updating pos in FILE.
not portable, I guess. [ruby-core:21561]
Mon Mar 9 09:04:39 2009 Nobuyoshi Nakada <[email protected]>
* gc.c (define_final): cannot define finalizer for immediate
values. [ruby-core:21500]
* gc.c (define_final): freezes or hides internal values.
Mon Mar 9 08:54:47 2009 Yukihiro Matsumoto <[email protected]>
* parse.y (IS_BEG): EXPR_CLASS should be treated like EXPR_BEG.
[ruby-core:21453]
Wed Feb 25 15:15:52 2009 Nobuyoshi Nakada <[email protected]>
* node.h (rb_thread_raised_clear): should not clear flags other than
raised flags. a patch by Tomoyuki Chikanaga <chikanag AT
nippon-control-system.co.jp> at [ruby-dev:37794]. [ruby-dev:37776]
Wed Feb 25 15:05:48 2009 Nobuyoshi Nakada <[email protected]>
* ext/socket/extconf.rb (gai_strerror): checks if available and if
returns const pointer.
* ext/socket/getaddrinfo.c (gai_strerror): defines only if non
available. [ruby-core:21328]
Wed Feb 25 14:57:18 2009 Nobuyoshi Nakada <[email protected]>
* win32/win32.c (open_dir_handle): extracted from rb_w32_opendir.
* win32/win32.c (winnt_stat): gets rid of strange behavior of
GetFileAttributes(). [ruby-core:21269]
Tue Feb 24 02:44:39 2009 Masatoshi SEKI <[email protected]>
* lib/erb.rb (PercentScanner): remove PercentScanner. fixed % after
%> bug. [ruby-dev:37751] [Bug #997]
* test/erb/test_erb.rb: ditto
Tue Feb 24 02:35:29 2009 Nobuyoshi Nakada <[email protected]>
* hash.c (rb_hash_s_create): set nil as the value if assoc length
is not enough. [ruby-core:21249]
Sun Feb 22 22:08:45 2009 Nobuyoshi Nakada <[email protected]>
* eval.c (stack_extend): streamlined rb_thread_restore_context()
to ensure O(1) time. based on a patch by Brent Roman <brent AT
mbari.org>.
Sun Feb 22 22:03:40 2009 Nobuyoshi Nakada <[email protected]>
* eval.c (cc_mark): frees the continuation's stack if its thread
is dead to avoid recursive gc that segfaults. [ruby-core:13889]
a patch by Brent Roman <brent AT mbari.org>.
* eval.c (rb_cont_check): checks for valid continuation instance.
* eval.c (rb_callcc): assigns th->thread before scope_dup() to
avoid segfaults if this scope_dup() triggers a gc pass.
a patch by Brent Roman <brent AT mbari.org>.
Sun Feb 22 21:43:34 2009 Nobuyoshi Nakada <[email protected]>
* numeric.c (ruby_float_step): extracted from num_step().
* range.c (range_step): uses ruby_float_step() for float range.
[ruby-dev:37691]
Sun Feb 22 00:49:36 2009 Nobuyoshi Nakada <[email protected]>
* ext/extmk.rb (extmake): does not use both of makefile.rb and
extconf.rb at the same time.
* lib/mkmf.rb (DLLIB): depends on Makefile. [ruby-core:21096]
Sun Feb 22 00:19:05 2009 Tanaka Akira <[email protected]>
* eval.c (rb_thread_schedule): Don't change status of threads which
don't run next even if select notify readability/writability.
[ruby-core:20446]
Fri Feb 20 20:43:13 2009 Nobuyoshi Nakada <[email protected]>
* lib/optparse.rb (OptionParser::List#summarize): gives priority
to latter switches. [ruby-dev:36692]
* lib/optparse.rb (OptionParser#summarize): do not append
unnecessary line terminator.
Fri Feb 20 19:35:08 2009 Takeyuki FUJIOKA <[email protected]>
* lib/cgi/session.rb: ignore session_id options fixed.[Bug #605]
Fri Feb 20 18:06:40 2009 James Edward Gray II <[email protected]>
Merged 20854 from trunk.
* lib/xmlrpc/server.rb: Restricting method inspection to show only
non-inherited public methods. [ruby-core:20603]
* lib/xmlrpc/server.rb: Fixing method inspection so it doesn't
trigger XMLRPC::FaultException when used. [ruby-core:20604]
Fri Feb 20 01:41:08 2009 Yukihiro Matsumoto <[email protected]>
* lib/sync.rb (Sync_m#sync_try_lock): wrong variable name fixed.
a patch from [ruby-core:20561]
* lib/sync.rb (Sync_m::Err.Fail): turn off Thread.critical before
exit.
Thu Feb 19 18:02:10 2009 Yuki Sonoda (Yugui) <[email protected]>
* pack.c (pack_pack): fixed odd act of 'm*', 'M*', and 'P*'.
just ignores '*' in these cases.
[ruby-dev:37289]
Thu Feb 19 17:26:11 2009 Nobuyoshi Nakada <[email protected]>
* pack.c (pack_pack): fixed length for odd length string.
[ruby-dev:37283]
Thu Feb 19 17:13:13 2009 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_yield_0): Qundef means no argument. [ruby-Bugs-22525]
Wed Feb 18 22:28:00 2009 NAKAMURA Usaku <[email protected]>
* win32/win32.c (rb_w32_isatty): check whether fd is valid.
Wed Feb 18 22:24:23 2009 NAKAMURA Usaku <[email protected]>
* win32/win32.c (waitpid): fix bug of checking child slot.
* win32/win32.c (FindChildSlotByHandle): new.
Wed Feb 18 22:17:04 2009 Yukihiro Matsumoto <[email protected]>
* pack.c (pack_pack): propagate taint status from format string to
result string.
Wed Feb 18 22:07:44 2009 Kazuhiro NISHIYAMA <[email protected]>
* ext/gdbm/gdbm.c: do not set members of RSTRING(str) directly.
[ruby-dev:37182]
* ext/gdbm/gdbm.c (rb_gdbm_nextkey): fix memory leak.
Tue Feb 17 11:58:58 2009 Nobuyoshi Nakada <[email protected]>
* string.c (str_independent): no independent string points null_str.
[ruby-core:20082]
Mon Feb 16 23:30:24 2009 Hidetoshi NAGAI <[email protected]>
* ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb:
fix NameError bug.
Mon Feb 16 23:08:22 2009 Nobuyoshi Nakada <[email protected]>
* string.c (rb_str_s_alloc, rb_str_replace): use null_str as well as
rb_string_value so that extension libraries do not segfault.
[ruby-core:19971]
* string.c (rb_str_replace): reduced unnecessary malloc and copy.
Mon Feb 16 22:45:41 2009 Masatoshi SEKI <[email protected]>
* test/rinda/test_rinda.rb: fixed fails occasionally [ruby-dev:37119].
thanks, shinichiro.h.
Mon Feb 16 22:36:37 2009 Masatoshi SEKI <[email protected]>
* lib/drb/drb.rb (DRbConn::alive?): fixed NoMethodError problem
from NaHi [ruby-dev:37110].
Sun Feb 15 04:21:42 2009 Yukihiro Matsumoto <[email protected]>
* lib/net/ftp.rb (Net::FTP#open_socket): SOCKSsocket is obsolete.
a patch from Alan Johnson <alan.wayne.johnson at gmail.com> in
[ruby-core:19982].
Fri Feb 13 19:18:42 2009 Nobuyoshi Nakada <[email protected]>
* lib/logger.rb (ProgName): fixed for svn, based on a patch from
Nobuhiro IMAI at [ruby-dev:37108].
Sun Feb 15 04:17:40 2009 Yukihiro Matsumoto <[email protected]>
* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#read_request_line):
use non-greedy match for path retrieval to avoid huge recursion
for insanely long path.
Fri Feb 13 19:04:54 2009 Keiju Ishitsuka <[email protected]>
* shell/command-processor.rb: undefined method `top_level_test' in
Shell#test. [ruby-list:45634]
Tue Feb 10 20:00:52 2009 Nobuyoshi Nakada <[email protected]>
* eval.c (load_lock): makes circular require deadlock.
[ruby-core:19821]
Tue Feb 10 19:40:58 2009 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_feature_p): returns found feature name if loading.
[ruby-core:19798]
* eval.c (search_required): ditto.
Wed Feb 11 23:37:35 2009 Yukihiro Matsumoto <[email protected]>
* ext/bigdecimal/bigdecimal.c (VpMidRound): Round method bug
pointed by Ryan Platte fixed(Patch to the patch from "NATORI
Shin"). [ruby-talk:273360]
back ported from 1.9. fix [ruby-core:19791]
Mon Feb 9 17:35:38 2009 NAKAMURA Usaku <[email protected]>
* win32/win32.c (rb_w32_accept): secure fd before accept because if
error causes in securing, cannot restore the state of accepted
socket.
fixed [ruby-core:19728]