forked from tmm1/matzruby
/
ChangeLog
24954 lines (15099 loc) · 812 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 Feb 9 12:02:29 2009 Akinori MUSHA <knu@iDaemons.org>
* lib/open-uri.rb: add :read_timeout option.
[ruby-core:4848] (r9166)
(:proxy_http_basic_authentication): new option. (r9336)
(OpenURI.open_loop): prohibit multiple proxy options. (r9339)
(OpenURI.open_loop): find_proxy should return nil when proxy
does not exist. [ruby-dev:27630] (r9500)
(:ssl_verify_mode): new option suggested by Will Glynn. (r9958)
(:ssl_ca_cert): new option. (r9958, r13691)
(:ftp_active_mode) new option. (r13307)
(URI::FTP.buffer_open) turn ftp passive mode on if
:ftp_active_mode => false is given.
(:redirect) new option to disable redirection. (r13788)
(OpenURI::HTTPRedirect): new exception class for
redirection. (r13788)
(OpenURI::Buffer): use Meta ===. [ruby-core:14295] (r14609)
(OpenURI::Meta#content_type_parse): fix
tests. [ruby-dev:33336] (r15200)
(OpenURI.open_http): rescue URI::InvalidURIError by URI.parse
for location URI. (r15406)
Fix a typo and remove trailing spaces. (r16810, r19345)
Mon Feb 9 01:21:16 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c (unix_recv_io): relax msg_controllen error
check for x86_64-openbsd4.4.
Thu Feb 5 21:01:24 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (darwin): get rid of strange settings issue of
apple gcc port, which searches /usr/local/include always but
/usr/local/lib not.
* ext/readline/readline.c (Init_readline): suppress warnings with
libedit.
Tue Feb 3 18:35:48 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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]
Tue Feb 3 12:27:19 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
* re.c (match_check): check if MatchData is initialized.
[ruby-core:18749]
Tue Feb 3 11:40:05 2009 Shugo Maeda <shugo@ruby-lang.org>
* lib/rexml/rexml.rb: incremented Ruby::VERSION. Thanks, Jeremy
Kemper. [ruby-core:20113]
Mon Feb 2 20:49:24 2009 Akinori MUSHA <knu@iDaemons.org>
* enumerator.c: Introduce id_each to save rb_intern() and SYM2ID()
calls.
Sun Feb 1 16:14:37 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/optparse.rb (Switch#summarize): strips an equal sign from
short option, and fills right sides in shorter lines.
[ruby-talk:326414]
Sat Jan 31 16:04:38 2009 Tanaka Akira <akr@fsij.org>
* io.c (io_getpartial): fflush after read for updating pos in FILE.
not portable, I guess. [ruby-core:21561]
Fri Jan 30 15:41:51 2009 Akinori MUSHA <knu@iDaemons.org>
* proc.c (Init_Proc): add '===' operator to use procs in when
clause of the case statement. inspired by <http://www.aimred.com/news/developers/2008/08/14/unlocking_the_power_of_case_equality_proc/>.
Thu Jan 29 12:18:54 2009 Technorama Ltd. <oss-ruby@technorama.net>
* lib/securerandom.rb: new method SecureRandom#uuid
Wed Jan 28 01:16:50 2009 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
* lib/erb.rb (def_erb_method): pass the trim_mode [Feature #1032]
[Bug #1062]
Tue Jan 27 20:25:09 2009 Tanaka Akira <akr@fsij.org>
* lib/pathname.rb (Pathname#world_readable?): define only if
FileTest.world_readable? is available.
(Pathname#world_writable?): ditto.
[ruby-core:21566]
Mon Jan 26 18:03:52 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (Init_Cont): separated from Init_Thread() since
rb_provide() must be after Init_Array().
Mon Jan 26 16:00:40 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* array.c (rb_ary_aset): fixed arguments evaluation order.
Mon Jan 26 15:49:42 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/pathname.rb (chop_basename, prepend_prefix): use o option.
Mon Jan 26 14:15:00 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (Init_Thread): provides "continuation.so" for forward
compatibility.
Mon Jan 26 05:36:55 2009 Technorama Ltd. <oss-ruby@technorama.net>
* ext/openssl/ossl_ssl.c: Server Name Indication support.
new methods SSLContext#server_name_cb=, SSLSocket#hostname=.
* test/openssl/test_ssl.rb: Tests for above.
Fri Jan 23 15:12:52 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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): converts srcdir, topdir and hdrdir.
a patch by Alexey Borzenkov <snaury AT gmail.com> at
[ruby-core:21448].
* lib/mkmf.rb (try_func): got rid of c-mode confusion.
Thu Jan 22 12:19:29 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* gc.c (define_final): cannot define finalizer for immediate
values. [ruby-core:21500]
* gc.c (define_final): freezes or hides internal values.
Thu Jan 22 11:57:28 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* gc.c (rb_gc_call_finalizer_at_exit): defers IO finalization.
[ruby-dev:36646]
Thu Jan 22 05:17:06 2009 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
* lib/erb.rb (def_erb_method): pass the trim_mode [Feature #1032]
* test/erb/trim_hello.erb: ditto
* test/erb/test_erb.rb: ditto
Wed Jan 21 17:25:41 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (ary_double_capa): a new function to expand array more
aggressively. [ruby-core:21460]
* array.c (rb_ary_store): use ary_double_capa().
* array.c (rb_ary_splice): ditto.
Wed Jan 21 15:43:19 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* enumerator.c (inspect_enumerator, yielder_new_i): added
prototypes to suppress warnings due to a bug of VC6.
Wed Jan 21 11:17:44 2009 Shugo Maeda <shugo@ruby-lang.org>
* variable.c (rb_mod_remove_cvar): fixed rb_mod_remove_cvar() to
pass test_cvar_scope_with_instance_eval in test/ruby/test_eval.rb.
Module#remove_class_variable seems to be broken in r19711.
Tue Jan 20 18:30:57 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (IS_BEG): EXPR_CLASS should be treated like EXPR_BEG.
[ruby-core:21453]
Tue Jan 20 04:02:44 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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 Jan 14 13:09:00 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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]
Tue Jan 13 00:57:56 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c (sock_s_unpack_sockaddr_in): check too short
sockaddr.
(sock_s_unpack_sockaddr_un): ditto.
Mon Jan 12 16:45:28 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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]
Mon Jan 12 13:41:33 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (rb_thread_start_0): must use ruby_longjmp instead of
longjmp.
Sun Jan 11 20:19:38 2009 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
* lib/erb.rb (PercentScanner): remove PercentScanner. fixed % after
%> bug. [ruby-dev:37751] [Bug #997]
* test/erb/test_erb.rb: ditto
Sun Jan 11 09:42:28 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* hash.c (rb_hash_s_create): set nil as the value if assoc length
is not enough. [ruby-core:21249]
Fri Jan 9 15:20:17 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (TAG_THREAD): to start a new thread.
* eval.c (ruby_init, ruby_options, ruby_cleanup, rb_protect,
rb_load_protect, rb_thread_start_0): make thread anchor.
* eval.c (proc_alloc): clone proc object if klass is not Proc or
created in different thread.
* eval.c (rb_block_pass): call a function with a block. [new]
* eval.c (rb_thread_start_0): restore prot_tag before rewinding.
* eval.c (rb_thread_start_0): update curr_thread before raising
TAG_THREAD. [ruby-dev:25712]
* eval.c (rb_thread_start_1): outer block variables wasn't linked to
threads. fixed: [ruby-dev:25700]
* eval.c (rb_thread_start_1): initialize newly pushed frame.
fixed: [ruby-dev:25707]
* node.h (struct rb_thread): added anchor. backported r7954,
r7964, r7980, r7992, r8014 from trunk.
Wed Jan 7 18:14:16 2009 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* configure.in: fix SEGV on Mac OS X 10.5.3 with --enable-shared.
a patch from Wataru Kimura in Bug #193 [ruby-core:17333].
Tue Jan 6 18:34:53 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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>.
Tue Jan 6 13:39:18 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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>.
Mon Jan 5 12:52:08 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* win32/win32.c (init_env): use user profile folder than personal
folder.
Sun Jan 4 11:58:43 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* numeric.c (ruby_float_step): extracted from num_step().
* range.c (range_step): uses ruby_float_step() for float range.
[ruby-dev:37691]
Sun Jan 4 11:11:31 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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]
Mon Dec 29 17:02:50 2008 Tanaka Akira <akr@fsij.org>
* 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 Dec 26 15:50:45 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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.
Sun Dec 21 12:23:16 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/optparse.rb (SPLAT_PROC): fix for regexp. [ruby-dev:37514]
Fri Dec 19 20:42:35 2008 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
* lib/cgi/session.rb: ignore session_id options fixed.[Bug #605]
Thu Dec 18 23:53:50 2008 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
* test warning cleanups.
* lib/webrick/https.rb, lib/soap/attachment.rb, test/xsd/test_xsd.rb:
uninitialized instance variables.
* lib/xsd/datatypes.rb: use Date#new! instead of Date#new0 according
to deprecation message.
* lib/webrick/httpservlet/cgihandler.rb,
lib/xsd/codegen/gensupport.rb, lib/soap/property.rb,
lib/soap/mimemessage.rb, test/webrick/test_cgi.rb: use
String#each_line and String#lines.to_a instead of String#each
according to deprecation message.
Thu Dec 18 08:20:51 2008 James Edward Gray II <jeg2@ruby-lang.org>
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]
Wed Dec 17 21:02:55 2008 Akinori MUSHA <knu@iDaemons.org>
* enumerator.c (inspect_enumerator): Implement #inspect.
[ruby-dev:37248]-[ruby-dev:37263]
Wed Dec 17 20:06:32 2008 Akinori MUSHA <knu@iDaemons.org>
* lib/date.rb (once): Use Object#object_id instead of Symbol#to_i;
backported from trunk besides the caching.
* lib/erb.rb (ERB::Compiler::TrimScanner#scan): Use
String#each_line instead of String#each.
* rubytest.rb: Ditto.
Wed Dec 17 19:53:48 2008 Akinori MUSHA <knu@iDaemons.org>
* object.c (rb_any_to_a): Always use "... is deprecated" for a
deprecation warning to make it easier to find out what is
deprecated and going to be removed.
Wed Dec 17 19:53:08 2008 Akinori MUSHA <knu@iDaemons.org>
* string.c (rb_str_each): Add a deprecation warning to
String#each.
Wed Dec 17 18:40:11 2008 Akinori MUSHA <knu@iDaemons.org>
* object.c (rb_obj_id_obsolete): s/will be deprecated/is deprecated/.
Wed Dec 17 18:38:09 2008 Akinori MUSHA <knu@iDaemons.org>
* object.c (sym_to_i, sym_to_int): Add a deprecation warning to
Symbol#to_i.
Tue Dec 16 17:14:01 2008 Akinori MUSHA <knu@iDaemons.org>
* array.c (rb_ary_nitems, rb_ary_choice): Add a deprecation
warning.
* hash.c (env_index, rb_hash_index): Simplify the deprecation
warnings.
Mon Dec 15 18:53:17 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* 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 Dec 11 21:09:47 2008 Akinori MUSHA <knu@iDaemons.org>
* enumerator.c (enumerator_next, enumerator_rewind),
lib/generator.rb (Enumerator#rewind): If the enclosed object
responds to a "rewind" method, call it.
Thu Dec 11 21:07:56 2008 Kouhei Sutou <kou@cozmixng.org>
* lib/rss/maker.rb, lib/rss/maker/0.9.rb, lib/rss/maker/base.rb:
RSS::Maker.[] returns a maker class corresponds to passed version.
* test/rss/test_maker_*.rb: add tests for RSS::Maker.[].
Thu Dec 11 20:38:26 2008 Akinori MUSHA <knu@iDaemons.org>
* test/ruby/test_enumerator.rb: Add tests for the recently added
features.
Thu Dec 11 20:36:26 2008 Akinori MUSHA <knu@iDaemons.org>
* lib/generator.rb (Enumerator#__generator): Now that
Enumerator::Generator is defined, the Generator here must be
referred to as ::Generator.
Thu Dec 11 19:33:10 2008 Akinori MUSHA <knu@iDaemons.org>
* enumerator.c (enumerator_initialize): Add an ability to generate
an enumerator from a block. [ruby-dev:35903]
Thu Dec 11 19:08:38 2008 Akinori MUSHA <knu@iDaemons.org>
* enumerator.c (enum_each_with_object): Add
Enumerable#each_with_object and Enumerator#with_object.
Wed Dec 10 21:35:12 2008 Kouhei Sutou <kou@cozmixng.org>
* lib/rss/maker.rb (RSS::Maker.[]): add.
Suggested by Akinori MUSHA. Thanks!!! [ruby-dev:37210]
* NEWS: add an entry for the above change.
Wed Dec 10 12:51:14 2008 Akinori MUSHA <knu@iDaemons.org>
* enumerator.c (enumerator_next): Fix a typo: s/rewinded/rewound/.
* lib/generator.rb (Enumerator#next): Ditto.
Tue Dec 9 03:21:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* mkconfig.rb: fix for continued lines. based on a patch from
Marcus Rueckert <darix AT opensu.se> at [ruby-core:20420].
Mon Dec 8 23:34:18 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* pack.c (pack_pack): fixed odd act of 'm*', 'M*', and 'P*'.
just ignores '*' in these cases.
[ruby-dev:37289]
Mon Dec 8 18:31:41 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* pack.c (pack_pack): fixed length for odd length string.
[ruby-dev:37283]
Mon Dec 8 13:51:41 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (rb_yield_0): Qundef means no argument. [ruby-Bugs-22525]
Sun Dec 7 23:47:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (LIBPATHFLAG): use numbered specifier if RPATHFLAG
is set. [ruby-talk:322136]
Fri Dec 5 18:13:39 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (rb_w32_isatty): check whether fd is valid.
Fri Dec 5 12:49:24 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (waitpid): fix bug of checking child slot.
* win32/win32.c (FindChildSlotByHandle): new.
Fri Dec 5 10:01:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* string.c (rb_str_cmp_m): fixed rdoc. pointed out by <Thomas
C. Mitchell AT gmail.com> at [ruby-talk:321967]
Fri Dec 5 01:19:21 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* pack.c (pack_pack): propagate taint status from format string to
result string.
Thu Dec 4 16:19:18 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/openssl/ossl_ssl.c (ossl_ssl_read_nonblock):
OpenSSL::SSL::SSLSocket should implement read_nonblock. a patch
from Aaron Patterson in [ruby-core:20277]. fix: #814 [ruby-core:20241]
Thu Dec 4 16:16:09 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/gserver.rb: fixed type in sample code. a report from Oleg
Puchinin.
Thu Dec 4 06:04:16 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* ext/tk/lib/tk/menu.rb: TkOptionMenubutton.new fails to treat
'parent' and 'variable' options on a Hash argument.
Wed Dec 3 16:38:11 2008 Akinori MUSHA <knu@iDaemons.org>
* regex.c (re_compile_pattern): Use %ld for pointer differences.
Wed Dec 3 16:25:55 2008 Akinori MUSHA <knu@iDaemons.org>
* pack.c (rb_utf8_to_uv), intern.h: Rename utf8_to_uv to
rb_utf8_to_uv and export it.
* re.c (str_ord): Backport String#ord from 1.9 (sort of);
requested by Shinichiro Hamaji in [ruby-dev:37247].
Wed Dec 3 16:17:36 2008 Akinori MUSHA <knu@iDaemons.org>
* string.c (rb_str_getbyte, rb_str_setbyte): Add String#getbyte
and String#setbyte for the forward compatibility with 1.9, where
the behavior of String#[] and String#[]= have changed; based on
a patch from Shinichiro Hamaji in [ruby-dev:37247].
Wed Dec 3 09:26:29 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/rexml/xpath.rb (REXML::XPath.first): apply documentation
patch from Ken Bloom in [ruby-core:20213].
* lib/rexml/xpath.rb (REXML::XPath.each): ditto.
Tue Dec 2 18:23:33 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* configure.in: detect stdio buffer pointers for uClibc. a patch
from Brian Candler <B.Candler at pobox.com> in [ruby-core:12020].
[ruby-core:19713]
Thu Nov 27 11:25:04 2008 Akinori MUSHA <knu@iDaemons.org>
* range.c: Add Range#cover? as a new alias to #include? for the
forward compatibility with 1.9, in which the behavior of
Range#include? has changed.
Wed Nov 26 13:31:07 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* 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 Nov 25 16:09:36 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* string.c (str_independent): no independent string points null_str.
[ruby-core:20082]
Tue Nov 25 03:37:42 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* ext/tk/lib/tkextlib/blt/tabset.rb,
ext/tk/lib/tkextlib/blt/tabnotebook.rb:
fix many bugs. Now, those work properly.
Mon Nov 24 23:53:44 2008 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
* lib/logger.rb: imported upstream version (logger/1.2.7)
* do not raise an exception even if log writing failed.
* do not raise ShiftingError if an aged file already exists.
(no ShiftingError will be raised from 1.2.7, just warn() instead)
* test/logger/test_logger.rb: ditto.
Mon Nov 24 23:47:22 2008 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
* time.c: RDoc typo fixed.
Sat Nov 22 10:31:25 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb:
fix NameError bug.
Wed Nov 19 17:52:35 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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.
Wed Nov 19 03:13:36 2008 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
* test/rinda/test_rinda.rb: fixed fails occasionally [ruby-dev:37119].
thanks, shinichiro.h.
Wed Nov 19 00:58:55 2008 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
* lib/drb/drb.rb (DRbConn::alive?): fixed NoMethodError problem
from NaHi [ruby-dev:37110].
Tue Nov 18 20:30:08 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* 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].
Tue Nov 18 16:18:23 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/logger.rb (ProgName): fixed for svn, based on a patch from
Nobuhiro IMAI at [ruby-dev:37108].
Tue Nov 18 15:59:37 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#read_request_line):
use non-greedy match for path retrieval to avoid huge recursion
for insanely long path.
Tue Nov 18 09:42:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/optparse.rb (OptionParser::make_switch): makes default
conversion to splat. [ruby-list:45645]
Mon Nov 17 02:19:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (LIBRUBYARG_STATIC): fixed for --enable-rpath.
Sun Nov 16 10:02:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (yield_under): fixed initialization not being allowed in C90.
Sat Nov 15 22:23:45 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (LDSHARED): do not suppress debug info if higher debug
level is given, on cygwin and mingw.
Thu Nov 13 14:51:34 2008 Keiju Ishitsuka <keiju@ruby-lang.org>
* shell/command-processor.rb: undefined method `top_level_test' in
Shell#test. [ruby-list:45634]
Wed Nov 12 03:49:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (load_lock): makes circular require deadlock.
[ruby-core:19821]
Tue Nov 11 23:54:12 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (rb_feature_p): returns found feature name if loading.
[ruby-core:19798]
* eval.c (search_required): ditto.
Tue Nov 11 21:18:36 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* 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]
Tue Nov 11 17:51:30 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* 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]
Mon Nov 10 18:06:51 2008 Akinori MUSHA <knu@iDaemons.org>
* ext/dbm/dbm.c (fdbm_key): Rename #index to #key. Emit a warning
when #index is called.
(fdbm_indexes): Emit a deprecation warning.
* ext/gdbm/gdbm.c: Ditto.
* ext/sdbm/init.c: Ditto.
Mon Nov 10 09:56:11 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (ifs_open_socket): should retry without proto_buffer
if cannot find the suitable protocol. a patch from Heesob Park.
fixed [ruby-core:19713]
Sat Nov 8 17:47:28 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/stringio/stringio.c (strio_ungetc): should allow ungetc at
the top of the buffer. ref #701
Sat Nov 8 01:38:07 2008 NARUSE, Yui <naruse@ruby-lang.org>
* ext/nkf/nkf-utf8/nkf.c (h_conv): can't guess UTF-8 input in
conversion. [ruby-list:45609]
Fri Nov 7 18:29:09 2008 Akinori MUSHA <knu@iDaemons.org>
* hash.c (rb_hash_key, env_key): Hash#index is renamed to
Hash#key, and ENV.index to ENV.key. [ruby-dev:37028]
Fri Nov 7 12:26:00 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/irb.rb (IRB::Irb#eval_input): remove extra @context.prompt_i.
[ruby-core:19718]
Fri Nov 7 02:08:04 2008 Shugo Maeda <shugo@ruby-lang.org>
* lib/rexml/entity.rb (unnormalized): do not call
document.record_entity_expansion if document is nil.
see <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502535>.
Thanks, Naohisa Goto. backported from trunk.
* test/rexml/test_document.rb: ditto.
Tue Nov 4 03:28:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* array.c (rb_ary_join): do not repeat self in a recursive array.
[ruby-dev:37019]
Mon Nov 3 16:32:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* missing.h: needs RUBY_EXTERN instead of extern for mswin.
Mon Nov 3 16:18:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (XLDFLAGS): added --enable-auto-import for cygwin and
mingw.
* common.mk (revision.h): have to be updated daily or by non-trivial
commits.
Mon Nov 3 15:52:04 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* marshal.c (marshal_load): arg.data is no longer a VALUE but a
st_table, and freed in load_ensure. pointed out by pegacorn.
[ruby-dev:37008]
Fri Oct 31 12:51:25 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* dir.c (dir_globs): need taint check. reported by steve
<oksteev at gmail.com>
Wed Oct 29 11:50:57 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (dln-a-out): cannot make shared library nor work with
ELF. [ruby-core:19571]
Thu Oct 23 01:24:49 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb (create_tmpsrc): get rid of side effects.
Wed Oct 22 00:33:15 2008 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
* test/rinda/test_rinda.rb (test_core_03_notify): Fixed test failures
[ruby-dev:36837].
Tue Oct 14 11:14:26 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* lib/net/pop.rb: check for invalid APOP timestamp. (CVE-2007-1558)
[ruby-dev:36631]
* test/net/pop/test_pop.rb: ditto.
Sat Oct 11 10:20:17 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb (CLEANINGS): uses escaped form tabs to preventing the
confusion. [ruby-talk:317345]
Fri Oct 10 11:34:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* time.c (time_mdump, time_mload): preserves GMT status.
[ruby-core:19252]
Fri Oct 10 00:21:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/optparse.rb (ParseError.filter_backtrace): removes internal
backtrace.
Thu Oct 9 23:53:23 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* misc/ruby-style.el (ruby-style-c-mode): buffer may not have file
name.
Wed Oct 8 11:18:12 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* variable.c (autoload_delete, autoload_file): should not delete
autoload table, since it may be shared with duplicated modules.
[ruby-core:19181]
Wed Oct 8 00:09:13 2008 Tadayoshi Funaba <tadf@dotrb.org>
* lib/date.rb (today,now): should produce own instances.
[ruby-talk:317020]
Mon Oct 6 15:26:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* gc.c (gc_mark_children): ignores T_ZOMBIE.
Mon Oct 6 11:21:55 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* gc.c: renamed T_DEFERRED to T_ZOMBIE.
Sun Oct 5 23:05:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (rb_mod_modfunc): method undefined in included module
may not have nd_body. [ruby-core:18738]
Wed Oct 1 19:11:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* marshal.c (marshal_dump): fixed for check_dump_arg.
* marshal.c (marshal_dump): initializes dump_arg before any funcall.
[ruby-dev:36648]
Sat Sep 27 04:28:41 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* file.c (rmext): preceding dots are not a part of extension.
* file.c (rb_file_s_extname): ditto.
Sat Sep 27 03:12:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/socket/socket.c (host_str): numeric address should be unsigned.
[ruby-core:18971]
Fri Sep 26 18:24:28 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* misc/ruby-mode.el: safe custimizable variables.
Wed Sep 24 14:40:21 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* lib/tmpdir.rb: setup buffer with nul characters instead of spaces.
fixed [ruby-dev:36493]
Wed Sep 24 14:11:59 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/rexml/formatters/pretty.rb (REXML::Formatters::Pretty#wrap):
abandon wrapping if the line contains no space. [ruby-dev:36045]
fix: #342
Tue Sep 23 19:50:24 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (subtruct): check tv_sec.
Tue Sep 23 19:30:41 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (filetime_to_timeval): new function, split from
gettimeofday().
* win32/win32.c (gettimeofday): use above function.
* win32/win32.c (filetime_to_unixtime): ditto. [ruby-dev:36135]
Tue Sep 23 16:59:45 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* hash.c (ENVMATCH, ENVNMATCH): reduced same code.
Tue Sep 23 08:20:59 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* misc/ruby-mode.el: updated to the latest trunk (without encoding
magic comment hook).
* misc/ruby-mode.el (ruby-keyword-end-re): emacs21 support. a
patch from Hiroshi Moriyama <hiroshi at kvd.biglobe.ne.jp> in
[ruby-dev:36471].
* misc/ruby-mode.el (ruby-in-ppss-context-p): ditto.
* misc/ruby-mode.el (ruby-here-doc-end-syntax): ditto.
Fri Sep 19 17:41:56 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* configure.in: applied OS/2 support patch from Brendan Oakley
<gentux2 at gmail.com> in [ruby-core:18707].
Fri Sep 19 09:29:26 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* dln.c: newer BeOS support. a patch from Pete Goodeve
<pete.goodeve at computer.org> in [ruby-core:18712].
Thu Sep 18 20:37:59 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/optparse.rb (OptionParser::ParseError#set_backtrace): omits
OptionParser internal backtraces unless debug flag is set.
Thu Sep 18 15:38:49 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/socket/socket.c (Init_socket): add new constants. a patch from
IWAMURO Motonori <deenheart+ruby at gmail.com> in [ruby-dev:36351].
Wed Sep 17 11:27:29 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* misc/ruby-mode.el (ruby-mode): use run-hooks if run-mode-hook is
not available. a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>
in [ruby-dev:36328].
Mon Sep 15 20:57:00 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* lib/matrix.rb (Matrix#eql?): fixed [ruby-dev:36298].
Reported by an anonymous user.
* lib/matrix.rb (Vector#eql?): ditto.
* (Matrix#compare_by_row_vectors): takes comparison
strategy as an optional parameter.
* (Vector#compare_by): ditto.
Mon Sep 15 10:28:10 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* test/matrix/test_matrix.rb (setup): typo.
(test_equality): misdefinition of the expected working.
Reported by an anonymous user.
(test_hash): added.
* test/matrix/test_vector.rb: ditto.
Sun Sep 14 16:15:22 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* lib/matrix.rb (Vector#eql?): typo of the method name as "eqn?".
(Vector#eqn?): removed. Defined by mistake.
Fixes [ruby-dev:36294]. Reported by weda <weda AT
issp.u-tokyo.ac.jp> and an anonymous user.
* test/matrix/test_matrix.rb: added.
* test/matrix/test_vector.rb: added.
Sat Sep 13 11:13:18 2008 Shugo Maeda <shugo@ruby-lang.org>
* NEWS: added an entry for REXML.
* lib/rexml/document.rb: fixed typo.
Sat Sep 13 11:05:38 2008 Shugo Maeda <shugo@ruby-lang.org>
* lib/rexml/document.rb: limit entity expansion. Thanks, Luka
Treiber, Mitja Kolsek, and Michael Koziarski. backported from
trunk r19033, r19317, r19318.
* lib/rexml/entity.rb: ditto.
* test/rexml/test_document.rb: ditto.
Wed Sep 3 16:53:17 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* gc.c (rb_mark_set): new function to mark keys.
* marshal.c (struct dump_arg, struct load_arg): added wrappers to mark
data entries. backport from trunk r13527,r13528,r13961,r16533.
[ruby-dev:36082]
Tue Sep 2 23:39:45 2008 Yusuke Endoh <mame@tsg.ne.jp>
* marshal.c (w_object): add a check for modification of array during
its dump, backported r16761.
Tue Sep 2 14:48:55 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (gettimeofday): tv_usec is usec, not msec.
[ruby-dev:36094]
Tue Sep 2 10:52:34 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (gettimeofday): easier calculation. use the definition
of the Gregorian calendar.
Tue Sep 2 10:18:58 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (gettimeofday): calc tv_sec and tv_usec from system
time by myself. [ruby-dev:36084]
Mon Sep 1 18:31:10 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (gettimeofday): shouldn't use mktime(3) because it's
buggy about handling summer time.
reported by Yoshikawa <yoshixool AT gmail.com> at [ruby-dev:36071]
Sun Aug 31 18:22:04 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb (have_devel?): checks if the compiler works.
Sun Aug 31 17:52:45 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb (try_func, try_var, have_struct_member),
(scalar_ptr_type?, scalar_type?): use MAIN_DOES_NOTHING.
* lib/mkmf.rb (MAIN_DOES_NOTHING): defaults to ordinary main.
* win32/Makefile.sub (config): for MAIN_DOES_NOTHING for wince.
Sun Aug 31 13:45:41 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/openssl/ossl_ocsp.c (ossl_ocspres_initialize): fix for
initialization of r18168.
Sat Aug 30 14:59:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/openssl/ossl_x509attr.c (ossl_x509attr_initialize): fix for
initialization of r18168.
* ext/openssl/ossl_ocsp.c (ossl_ocspreq_initialize): ditto.
* ext/openssl/ossl_x509ext.c (ossl_x509ext_initialize): ditto.
* ext/openssl/ossl_x509name.c (ossl_x509name_initialize): ditto.
Thu Aug 21 17:30:32 2008 Akinori MUSHA <knu@iDaemons.org>
* enumerator.c (enumerator_ptr), lib/generator.rb:
Enumerable::Enumerator is renamed to Enumerator.
Thu Aug 21 06:12:56 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/scanf.rb (Scanf::FormatSpecifier#initialize): %i should accept
single digit decimal. [ruby-core:18355]
Tue Aug 19 20:32:48 2008 Akinori MUSHA <knu@iDaemons.org>
* enumerator.c (Init_Enumerator): Rename Enumerable::Enumerator to