forked from ruby/ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
5275 lines (3169 loc) · 173 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Sat Jan 29 00:30:44 2011 Yusuke Endoh <mame@tsg.ne.jp>
* variable.c (set_const_visibility): fix typo. a patch from Tomoyuki
Chikanaga in [ruby-core:32919].
Fri Jan 28 23:20:28 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create,
TestGDBM2#test_writer_open_notexist): We only need to skip libgdbm 1.8.0,
not all 1.8.x. 1.8.1 or later don't have GDBM_WRITER sickness.
Fri Jan 28 21:56:57 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* ext/dbm/extconf.rb: Added new header places for Fedora13.
Fri Jan 28 21:49:30 2011 Tanaka Akira <akr@fsij.org>
* ext/zlib/zlib.c: parenthesize macro arguments.
Fri Jan 28 17:47:33 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/gdbm/test_gdbm.rb (TestGDBM2#test_writer_open_notexist):
gdbm 1.8.x changed GDBM::WRITER behavior. Thus our testcase need
to be changed too.
Fri Jan 28 17:33:28 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create): skip
the test if gdbm version is 1.8.x.
Fri Jan 28 16:30:51 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/ruby/test_require.rb (TestRequire#test_require_too_long_filename):
Added -w option because too long path error don't output a message
by default since r30660. [Bug #4336] [ruby-dev:43134]
Fri Jan 28 16:19:38 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/ruby/test_require.rb (TestRequire#test_require_path_home_{1,2}):
Added -w option because too long path error don't output a message
by default since r30660. [Bug #4336] [ruby-dev:43134]
Fri Jan 28 16:04:54 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/ruby/test_require.rb (TestRequire#test_require_path_home_{1,2,3}):
split from test_require_path_home.
Fri Jan 28 13:04:38 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* configure.in (--with-valgrind): Fixed r29683. Now this option
is really default on.
Fri Jan 28 12:05:48 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* configure.in: Add #include<sys/stat.h> when struct stat is
tested. Otherwise, incomplete type dereference error will occur.
Fri Jan 28 11:53:19 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* configure.in: redundant variable names made strange conftest
error. Fixed it.
Fri Jan 28 11:47:00 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* test/ruby/test_process.rb (TestProcess#test_too_long_path{,2}):
should handle Errno::E2BIG, because this test checks crash of ruby,
not the error type system.
Fri Jan 28 11:23:54 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* io.c (rb_io_open): Use NUM2MODET() instead NUM2UINT().
* io.c (rb_scan_open_args): ditto.
Fri Jan 28 10:58:20 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* configure.in: Added mode_t type checking.
* process.c (rb_exec_arg_addopt): Use NUM2MODET() instead
NUM2LONG because clang makes compile error by this narrowing
conversion.
* process.c (rb_run_exec_options_err): ditto.
Fri Jan 28 02:37:18 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* re.c (rb_reg_raise): add GC guard to prevent intermediate
variable from GC.
Fri Jan 28 02:35:41 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* hash.c (rb_hash_fetch_m): add GC guard to prevent intermediate
variable from GC.
Fri Jan 28 01:33:51 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/ruby/test_process.rb (TestProcess#test_too_long_path)
TestProcess#test_too_long_path): Reduced string size from 100MB
to 10MB. 100MB may cause no memory error. It isn't intended.
Fri Jan 28 01:27:42 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/ruby/test_process.rb (TestProcess#test_too_long_path2):
Factored out from test_too_long_path. A test should only do
one test.
Thu Jan 27 23:29:36 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* st.c (st_foreach): check if unpacked.
Thu Jan 27 23:14:19 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* misc/ruby-mode.el (ruby-mode-map): remove deprecated binding.
use M-; instead.
Thu Jan 27 21:58:32 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* bignum.c (rb_str_to_inum): get rid of too huge alloca().
Thu Jan 27 21:43:29 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* object.c (rb_str_to_dbl): rewrite again. use ALLOCV instead
rb_str_tmp_new().
Thu Jan 27 21:41:47 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* win32/win32.c: get rid of STRNDUPA(). It's dangerous API.
Thu Jan 27 21:31:57 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* win32/win32.c (rb_w32_aspawn): get rid of too huge alloca().
[Bug #4330] [ruby-core:34898]
Thu Jan 27 20:30:18 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* win32/win32.c (rb_w32_spawn): get rid of too huge alloca().
Thu Jan 27 18:49:53 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* win32/win32.c (open_dir_handle): get rid of too huge alloca().
Thu Jan 27 18:34:58 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* file.c (w32_io_info): get rid of too huge alloca().
[Bug #4313] [ruby-core:34830]
Thu Jan 27 18:19:51 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* win32/win32.c (wstati64): get rid of too huge alloca().
[Bug #4316] [ruby-core:34834]
Thu Jan 27 15:11:52 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (rb_w32_spawn, rb_w32_aspawn): get rid of too huge
alloca(). this is the real fix of [ruby-core:34833].
Thu Jan 27 12:46:25 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* process.c (ALLOC_ARGV_WITH_STR): fix void pointer arithmetic.
Thu Jan 27 08:41:40 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* process.c (proc_exec_v, rb_proc_exec_n, rb_proc_exec)
(proc_spawn_n, proc_spawn): get rid of too huge alloca().
[ruby-core:34827], [ruby-core:34833]
Thu Jan 27 08:32:17 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/ruby.h (ALLOCV): new API for exception-safe
temporary buffer. [ruby-core:34844]
* string.c (rb_alloc_tmp_buffer, rb_free_tmp_buffer):
implementation of the API.
Thu Jan 27 08:22:49 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* dln_find.c (dln_find_1): use rb_warning and return immediately
if fname is longer than buffer.
Wed Jan 26 22:57:30 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* class.c (clone_method): add GC guard to prevent intermediate
variable from GC. [Bug #4321] [ruby-dev:43107]
Wed Jan 26 22:45:16 2011 Tanaka Akira <akr@fsij.org>
* template/id.h.tmpl: parenthesize macro arguments.
Wed Jan 26 22:28:49 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* vm_eval.c (rb_throw_obj): add GC guard to prevent intermediate
variable from GC. [Bug #4322] [ruby-dev:43108]
Wed Jan 26 17:08:59 2011 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
* ext/openssl/ossl_asn1.c (ossl_asn1_decode0): OpenSSL::ASN1.decode
should reject indefinite length primitive encodings as that is
illegal. Patch by Martin Bosslet. See #4324.
Wed Jan 26 10:36:28 2011 NARUSE, Yui <naruse@ruby-lang.org>
* string.c (=~): documentation fix; the return value is nil when
it doesn't match. patched by Andrei Kulakov [ruby-core:34562]
Tue Jan 25 08:41:58 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* dln_find.c (dln_find_1): omit too long pathnames.
Tue Jan 25 08:28:19 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* string.c (rb_str_resize): get rid of out-of-bound access.
Tue Jan 25 07:48:22 2011 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* test/ruby/test_thread.rb: remove unused variables.
Tue Jan 25 07:45:44 2011 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* test/ruby/test_thread.rb (TestThread#test_condvar_nolock_2): get
rid of method redefined.
Tue Jan 25 07:00:52 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* string.c (rb_string_value_cstr): rb_str_modify can change
RSTRING_PTR.
Tue Jan 25 03:24:28 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/ruby/test_thread.rb: Added various ConditionVariable tests.
Mon Jan 24 22:26:33 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* object.c (rb_str_to_dbl): Fix again. use rb_str_tmp_new()
instead ALLOC_N.
Mon Jan 24 21:50:48 2011 Tanaka Akira <akr@fsij.org>
* vm_insnhelper.h: parenthesize macro arguments.
Mon Jan 24 21:28:34 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* object.c (rb_str_to_dbl): use ALLOC_N instead ALLOCA_N because
ALLOC_N may cause stack overflow.
Mon Jan 24 21:04:45 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* error.c (rb_invalid_str): prevent intermediate variable from GC.
[ruby-core:34820]
Sun Jan 23 23:01:54 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/io/console/test_io_console.rb: Don't run test if the system
don't support io/console.
Sun Jan 23 22:17:07 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/fiddle/test_fiddle.rb: Don't run test if the system don't support
fiddle.
* test/fiddle/test_function.rb: ditto.
* test/fiddle/test_closure.rb: ditto.
Sun Jan 23 11:39:18 2011 Tanaka Akira <akr@fsij.org>
* vm_exec.h: parenthesize macro arguments.
Sun Jan 23 10:33:02 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* template/fake.rb.in (ruby): suppress warnings.
Sun Jan 23 08:00:09 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* string.c (str_nth_len, str_utf8_nth): return the rest length together.
* string.c (rb_str_substr): get rid of measure the length always
to improve performance for huge string. [ruby-core:34648]
Sun Jan 23 00:40:10 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/test_syslog.rb: Fix to make a lot of test failure if
the platform doesn't support syslog.
Sat Jan 22 11:49:55 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych/visitors/to_ruby.rb: fixing merge key support
when multiple merge keys are specified.
* test/psych/test_merge_keys.rb: tests for multi-merge key support
Sat Jan 22 11:33:04 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych/visitors/to_ruby.rb: merge keys are actually
part of YAML 1.1, so they should be supported. Remove warning and
merge keys to parent. [ruby-core:34679]
* test/psych/test_merge_keys.rb: test for merge keys
Sat Jan 22 10:25:19 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/parser.c (parse): add the file name to the exception when
parse errors occur.
* test/psych/test_parser.rb: test for parse error file name
Sat Jan 22 10:12:30 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/parser.c (parse): fix assertion error when reusing a
parser after an exception has been raised
* test/psych/test_parser.rb: test for assertion error
Sat Jan 22 04:09:22 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych/nodes/node.rb: Make Psych::Nodes::Node
enumerable.
* ext/psych/lib/psych/visitors/depth_first.rb: Add a depth-first
visitor to enumerate over a YAML AST in a depth-first fashion
* test/psych/nodes/test_enumerable.rb: test for enumerating nodes
* test/psych/visitors/test_depth_first.rb: test for depth-first
visitor
Sat Jan 22 00:53:42 2011 Tanaka Akira <akr@fsij.org>
* vm_core.h: parenthesize macro arguments.
Fri Jan 21 18:15:09 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in: should not use -Werror=* flags while conftests.
Fri Jan 21 09:17:00 2011 Luis Lavena <luislavena@gmail.com>
* configure.in: Fix incorrectly detected x86_64-w64-mingw32 due
canonalization of target_os. Bug #3889 [ruby-core:32634]
Thu Jan 20 23:44:00 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* configure.in: Fix rb_cv_va_args_macro was broken. We are using
-Werror=implicit-function-declaration compile option. therefore
we need a function declaration explicitly.
Thu Jan 20 23:58:02 2011 Tanaka Akira <akr@fsij.org>
* node.h: parenthesize macro arguments.
Thu Jan 20 23:25:28 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* configure.in: Add '#include <stdlib.h>' to
rb_cv_localtime_overflow test too. It's reported by Tomoyuki
Chikanaga. Thanks.
Thu Jan 20 16:11:00 2011 Kenta Murata <mrkn@mrkn.jp>
* README.EXT, README.EXT.ja: You shouldn't choose ``conftest.c'' as a
name of a source file.
Thu Jan 20 12:15:44 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* configure.in: Add stdlib.h inclusion into rb_cv_negative_time_t
test because it's required for exit(3). The patch is
created by Tomoyuki Chikanaga. [Bug #4287] [ruby-dev:43060]
Thu Jan 20 11:39:41 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* test/webrick/utils.rb (TestWEBrick::RubyBin): test CGI does not need
to load rubygems. if it activated, ruby raises LoadError about
rbconfig.rb.
Thu Jan 20 09:19:42 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych/visitors/json_tree.rb: Fix JSON emit for
DateTime and Time classes.
* test/psych/test_json_tree.rb: test for JSON emit
Thu Jan 20 08:02:46 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych/coder.rb (represent_object): arbitrary objects
may be passed to the Psych::Coder object.
* ext/psych/lib/psych/visitors/yaml_tree.rb: support for visiting
arbitrary objects set on the coder.
* test/psych/test_coder.rb: supporting test case.
Thu Jan 20 06:03:17 2011 Tanaka Akira <akr@fsij.org>
* method.h: parenthesize macro arguments.
Wed Jan 19 13:16:05 2011 Eric Hodel <drbrain@segment7.net>
* lib/rubygems/commands/sources_command.rb: Finish removing code,
(fixes sources command test).
Wed Jan 19 13:04:16 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* proc.c (proc_call): Add gc guard to avoid segfault. The fix
is created by Tomoyuki Chikanaga. [Bug #4238][ruby-dev:42963]
Wed Jan 19 12:31:28 2011 Eric Hodel <drbrain@segment7.net>
* lib/rubygems.rb: Since gem_prelude requires rubygems, enable
custom_require always.
Wed Jan 19 12:08:08 2011 Eric Hodel <drbrain@segment7.net>
* lib/rubygems/commands/dependency_command.rb: Remove require of
deleted file.
* lib/rubygems/commands/fetch_command.rb: ditto
* lib/rubygems/commands/setup_command.rb: ditto
* lib/rubygems/commands/sources_command.rb: ditto
* lib/rubygems/commands/specification_command.rb: ditto
Wed Jan 19 08:13:59 2011 Ryan Davis <ryand-ruby@zenspider.com>
* lib/rubygems*: Import rubygems 1.5.0 (release candidate)
* test/rubygems: Ditto
Tue Jan 18 23:31:01 2011 Yusuke Endoh <mame@tsg.ne.jp>
* parse.y: avoid NULL reference. [ruby-dev:43067]
Wed Jan 19 02:54:04 2011 NARUSE, Yui <naruse@ruby-lang.org>
* vsnprintf.c (cvt): set first byte of buf to NUL for the case when
no bytes are written to the buf. [ruby-dev:43062]
Tue Jan 18 23:04:51 2011 Tanaka Akira <akr@fsij.org>
* gc.h: parenthesize macro arguments.
Tue Jan 18 18:31:14 2011 Keiju Ishitsuka <keiju@ishitsuka.com>
* lib/irb/completion.rb: Irb tab completion support for XX::method forms.
Tue Jan 18 15:05:55 2011 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
* lib/logger.rb: added RDoc document for logging message escape
by Hal Brodigan. See #3869
Tue Jan 18 07:53:52 2011 Tanaka Akira <akr@fsij.org>
* eval_intern.h: parenthesize macro arguments.
Tue Jan 18 04:42:44 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych/parser.rb (Mark): Adding a class to wrap
marker information
* ext/psych/parser.c (mark): Add a method to return the mark object
for the parser
* test/psych/test_parser.rb: tests for the Mark class.
Tue Jan 18 02:46:55 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych/visitors/json_tree.rb (visit_String): JSON
strings should be dumped with double quotes. [ruby-core:34186]
* test/psych/test_json_tree.rb: test for double quotes
Mon Jan 17 23:36:33 2011 Tanaka Akira <akr@fsij.org>
* array.c (rb_ary_times): less MEMCPY calls.
Mon Jan 17 22:54:33 2011 Tanaka Akira <akr@fsij.org>
* debug.h: parenthesize macro arguments.
Mon Jan 17 21:40:25 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ruby.c (process_options): revert r30549.
Sun Jan 16 20:55:45 2011 Tanaka Akira <akr@fsij.org>
* vsnprintf.c: parenthesize macro arguments.
Sat Jan 15 11:57:30 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (warnflags): add -Werror=implicit-function-declaration
if available.
* lib/mkmf.rb (init_mkmf): ignore warnings in mkmf tests.
* test/mkmf/base.rb (setup, teardown): restore config values.
* test/mkmf/test_flags.rb: split from test_find_executable.rb.
Sat Jan 15 10:04:14 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ruby.c (process_options): autoload rubygems.
* tool/compile_prelude.rb (Prelude#initialize): ignore empty
preludes.
* ruby.c (ruby_init_prelude): get rid of global namespace
pollution.
Sat Jan 15 09:42:12 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/io.h: missing prototypes.
Fri Jan 14 23:25:55 2011 Tanaka Akira <akr@fsij.org>
* vm_method.c: parenthesize macro arguments.
Fri Jan 14 15:32:29 2011 Shugo Maeda <shugo@ruby-lang.org>
* test/net/imap/test_imap.rb: call neither logout nor disconnect
unless connected. patch by Kazuhiro NISHIYAMA. [ruby-dev:42860]
Fri Jan 14 14:56:57 2011 NARUSE, Yui <naruse@ruby-lang.org>
* lib/net/imap.rb: use bytesize for binary strings.
patched by Yoshimasa Niwa. [ruby-core:34222]
Fri Jan 14 14:01:12 2011 NARUSE, Yui <naruse@ruby-lang.org>
* pack.c (pack_unpack): the resulted string of unpack('M') must have
ASCII-8BIT encoding (and ENC_CODERANGE_VALID). [ruby-core:34482]
Fri Jan 14 13:38:58 2011 NARUSE, Yui <naruse@ruby-lang.org>
* ext/zlib/zlib.c (gzfile_check_footer): ISIZE (Input SIZE) in
gzip's header is the size of uncompressed input data modulo 2^32.
[ruby-core:34481] http://www.ietf.org/rfc/rfc1952.txt
Fri Jan 14 11:36:25 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* configure.in, win32/Makefile.sub (RUNRUBY): require path should
include "." because rbconfig.rb is there.
Fri Jan 14 10:40:11 2011 Ryan Davis <ryan@lust.local>
* gem_prelude.rb: Just require rubygems. Fixes rubygems 1.4.
* lib/rubygems.rb: removed all Gem::Quickloader code.
* ruby.c: renamed ruby_init_gems to ruby_init_prelude. Set
$disable_rubygems since there is no fine grained mechanism to
skip parts of the prelude. Open to suggestions on how to do this
better.
* test/*.rb: Load path isn't set up correctly, so add
--disable-gems as needed to failing tests that are explicitly
testing stderr w/ ==.
Fri Jan 14 07:30:47 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* io.c (argf_next_argv): go advance when the next file cannot be
read. [ruby-core:34446]
Thu Jan 13 20:49:19 2011 Tanaka Akira <akr@fsij.org>
* vm_insnhelper.c: parenthesize macro arguments.
Thu Jan 13 13:21:00 2011 Kenta Murata <mrkn@mrkn.jp>
* vm_dump.c: delete dashes to make lines 80 chars, Patched by
Shota Fukumori (sora_h). [Bug #4275] [ruby-dev:43021]
Thu Jan 13 13:21:00 2011 Kenta Murata <mrkn@mrkn.jp>
* vm_dump.c: fix misspelling of CrashReporter, Patched by Shota
Fukumori (sora_h). [Bug #4275] [ruby-dev:43021]
Thu Jan 13 06:27:29 2011 Ryan Davis <ryand-ruby@zenspider.com>
* error.c: Exception#to_s should actually call to_s.
Thu Jan 13 00:32:54 2011 NARUSE, Yui <naruse@ruby-lang.org>
* addr2line.c (get_nth_dirname): decrement the directory index
because the index specifies the index of given included_directories
which is separated by NUL and its index is begun from 1.
Note that 0 specifies the current directory of the compilation.
see also http://www.dwarfstd.org/doc/dwarf-2.0.0.pdf
Thu Jan 13 00:06:38 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* io.c (rb_f_syscall): Add warning messages. [ruby-core:34062]
Thu Jan 13 00:00:07 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* io.c (rb_f_syscall): Some syscall return unsigned or pointer value.
Therefore we should only check the result is -1 or not. [ruby-core:34062]
Wed Jan 12 23:55:48 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* io.c (rb_f_syscall): Add 64bit Linux support. Some syscall takes
long type arguments.
Wed Jan 12 19:37:10 2011 Tanaka Akira <akr@fsij.org>
* vm_dump.c: parenthesize macro arguments.
Wed Jan 12 19:28:23 2011 Tanaka Akira <akr@fsij.org>
* vm.c (thread_free): reset ruby_current_thread if it points the
thread to free.
* gc.c (slot_sweep): don't call RUBY_VM_SET_FINALIZER_INTERRUPT if
there is no current thread.
[ruby-dev:43000]
Wed Jan 12 19:09:29 2011 Tanaka Akira <akr@fsij.org>
* enum.c (sort_by_i): reenter check more strictly.
(sort_by_cmp): ditto.
[ruby-dev:43003] reported by Usaku NAKAMURA.
Wed Jan 12 16:25:12 2011 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* lib/net/http.rb (Net::HTTP#connect): makes it timeout during
SSL handshake too. [ruby-core:34203]
Patch by Marc Slemko.
* test/net/http/test_http.rb (TestNetHTTP_v1_2#test_timeout_during_HTTP_session):
test for [ruby-core:34203]
* test/net/http/test_https.rb (TestNetHTTPS#test_timeout_during_SSL_handshake):
ditto.
Wed Jan 12 16:24:53 2011 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* ext/readline/extconf.rb: new checks for RL_PROMPT_START_IGNORE
and RL_PROMPT_END_IGNORE. [ruby-core:34331]
* ext/readline/readline.c: enables USE_INSERT_IGNORE_ESCAPE only if
RL_PROMPT_{START,END}_IGNORE are available to get rid of compilation
error with libedit.
Wed Jan 12 15:53:49 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* README.EXT.ja (rb_ensure): typo.
Wed Jan 12 11:33:46 2011 NARUSE, Yui <naruse@ruby-lang.org>
* addr2line.c: OpenBSD uses the elf_abi.h header file instead of the
elf.h header file. patched by Jeremy Evans [ruby-core:34384]
Wed Jan 12 03:59:36 2011 NARUSE, Yui <naruse@ruby-lang.org>
* test/webrick/test_cgi.rb: Removes usage of deprecated
:RequestHandler option.
patched by Peter Weldon [ruby-core:34010]
* test/webrick/test_httpproxy.rb: ditto.
* test/webrick/test_httpserver.rb: Add a test of the deprecation
behaviour.
Wed Jan 12 08:37:07 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* hash.c (hash_i): return different values for inverse hash.
[ruby-core:34334]
Tue Jan 11 20:32:59 2011 Tanaka Akira <akr@fsij.org>
* variable.c: parenthesize macro arguments.
Tue Jan 11 13:06:38 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* array.c (rb_ary_resize): should care of embeded array when extending
the array.
* array.c (rb_ary_resize): need to set capa when changing the real
size of the array.
these are latent bugs.
Mon Jan 10 22:46:43 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/defines.h (CASEFOLD_FILESYSTEM): HFS+ is case
insensitive.
* load.c (loaded_feature_path, rb_feature_p, load_lock): on a
case-insensitive filesystem, loaded features search should
ignore case. [ruby-core:34297]
Mon Jan 10 21:34:12 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* common.mk (showflags): show LD commands.
Mon Jan 10 14:32:55 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/ruby/test_method.rb (TestMethod#test_define_method): method
transplanting between class and module is impossible.
Mon Jan 10 13:51:17 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* misc/rdoc-mode.el (rdoc-mode): show trailing whitespace.
Mon Jan 10 11:22:02 2011 Tanaka Akira <akr@fsij.org>
* util.c: parenthesize macro arguments.
Mon Jan 10 07:41:31 2011 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* misc/README: mention rdoc-mode.el and ruby-style.el.
Sun Jan 9 20:37:21 2011 Tanaka Akira <akr@fsij.org>
* transcode.c: parenthesize macro arguments.
Sun Jan 9 16:31:53 2011 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* io.c (Kernel.#syscall): implemented on LP64/LLP64 environments too.
also uses __syscall if available for *BSD on 64bit architecture.
[ruby-core:34062]
Sun Jan 9 16:31:34 2011 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* lib/irb/locale.rb (IRB::Locale::LOCALE_NAME_RE):
some platform has a locale without territory but with
encoding.
(#each_sub_locale): ditto.
Sun Jan 9 14:47:50 2011 TAKAO Kouji <kouji@takao7.net>
* ext/readline/readline.c: apply a patch from Nobuyoshi Nakada.
fixed #3616 [ruby-core:31484] IRB + readline incorrectly counts
non-printing characters in prompt
Sat Jan 8 21:47:26 2011 Tanaka Akira <akr@fsij.org>
* enum.c (enum_sort_by): use rb_ary_resize.
(ary_cutoff): removed.
Sat Jan 8 21:24:17 2011 Tanaka Akira <akr@fsij.org>
* pack.c (swapf): compilation condition simplified.
(swapd): ditto.
Sat Jan 8 20:51:25 2011 Tanaka Akira <akr@fsij.org>
* pack.c (swapd): remove duplicated code.
Sat Jan 8 19:28:55 2011 Tanaka Akira <akr@fsij.org>
* thread.c: parenthesize macro arguments.
Fri Jan 7 23:07:40 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb (configuration): backref needs to capture.
Fri Jan 7 21:57:22 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* misc/ruby-mode.el (ruby-mode-variables), misc/ruby-style.el:
show trailing whitespace.
* misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): highlight
regexp after open bracket. [ruby-core:34183]
Fri Jan 7 00:37:35 2011 Tanaka Akira <akr@fsij.org>
* string.c: parenthesize macro arguments.
Thu Jan 6 22:42:02 2011 Yukihiro Matsumoto <matz@ruby-lang.org>
* bignum.c (bigmul1_karatsuba): avoid overflow that make assertion
fail in certain case. this patch is contributed from Ray Chason
<chasonr at gmail.com> in personal communication.
Thu Jan 6 20:55:49 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* lib/mkmf.rb (create_makefile): ignore rest from first dot from
TARGET to generate init function name.
this is followup of r30464.
Thu Jan 6 11:27:01 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych/json/tree_builder.rb (start_mapping): tags
should not be included in JSON mapping
Thu Jan 6 09:23:33 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* lib/net/protocol.rb (eof?): BufferedIO should proxy eof? to the
underlying IO object.
Thu Jan 6 09:12:31 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* lib/mkmf.rb (configuration): fixing gsub when multiple error flags
are passed to GCC.
Thu Jan 6 05:25:49 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* array.c (rb_ary_modify): export.
Thu Jan 6 05:14:41 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/stringio/stringio.c (get_strio, strio_set_string)
(strio_reopen): check if frozen. [ruby-core:33648]
Thu Jan 6 05:10:58 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* array.c (rb_ary_resize): new utility function. [ruby-dev:42912]
Thu Jan 6 05:03:26 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* dln.c (init_funcname_len): ignore rest from first dot.
[ruby-dev:41774]
Thu Jan 6 02:55:48 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych/visitors/yaml_tree.rb: use YAML 1.0 output
format for serializing nil values. Thanks Eric Hodel!
* test/psych/test_nil.rb: test for nil values
Wed Jan 5 14:21:34 2011 Mark Dodwell <hi@mkdynamic.co.uk>
* string.c: fix rdoc typo.
https://github.com/shyouhei/ruby/pull/3
Wed Jan 5 14:06:01 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* test/rdoc/test_rdoc_options.rb (TestRDocOptions#test_check_files):
skip on Windows because chmod 0 doesn't mean unreadable by owner.
Wed Jan 5 13:56:54 2011 Akinori MUSHA <knu@iDaemons.org>
* lib/net/http.rb (Net::HTTP#get): A header hash given should not
be modified.
Wed Jan 5 12:10:08 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/dl/{cfunc.c,dl.h,handle.c}, ext/fiddle/fiddle.{h,c}: Use _WIN32
rather than checking for windows.h. Thanks Jon Forums!
[ruby-core:33977]
Sat Jan 1 17:02:50 2011 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* lib/irb/locale.rb (IRB::Locale#search_file): make it possible
to load a localization from a gem.
(IRB::Locale#lc_path): obsoleted because of the change of #search_file
(IRB::Locale#each_localized_path): new private method, based on lc_path
(IRB::Locale#find): follows the change of #search_file.
(IRB::Locale#load): removed duplicate with #find.
Sat Jan 1 11:44:42 2011 Tanaka Akira <akr@fsij.org>
* strftime.c: parenthesize macro arguments.
Sat Jan 1 11:10:29 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/zlib/zlib.c: take care of platforms where long is bigger
than int.
Sat Jan 1 11:03:58 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* NEWS (optparse): shell completion support.
* misc/README (rb_optparse.{bash,zsh}): for shell completion.
* include/ruby/intern.h (VALUE rb_ary_print_on): I have never seen
this function anywhere.
Sat Jan 1 04:20:11 2011 NARUSE, Yui <naruse@ruby-lang.org>
* win32/win32.c (rb_w32_write_console): don't raise exception when
the conversion is for writing to console.
Patched by Heesob Park [ruby-core:33999]
Fri Dec 31 12:02:06 2010 Tanaka Akira <akr@fsij.org>
* enum.c (enum_sort_by): use less temporary objects.
Fri Dec 31 11:46:47 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (warnflags), lib/mkmf.rb (configuration): turn
warnings into errors only for bundled extensions.
[ruby-core:33815]
Fri Dec 31 11:15:57 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/zlib/zlib.c (sizeof): zlib.h mistakenly assumes the result
of sizeof to be int, not size_t.
Fri Dec 31 10:27:34 2010 Tanaka Akira <akr@fsij.org>
* st.c: parenthesize macro arguments.
Fri Dec 31 03:23:26 2010 NARUSE, Yui <naruse@ruby-lang.org>
* vsnprintf.c (BSD__uqtoa): Fix overflow when long != quad_t.
patched by Peter Weldon <peter.weldon AT null.net>
[ruby-core:33985]
Fri Dec 31 03:00:34 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* Makefile.in: remove unnecessary semicolons.
Thu Dec 30 23:09:47 2010 wanabe <s.wanabe@gmail.com>
* vm.c (vm_define_method): guard iseq from GC while method definition.
[ruby-dev:42832]
Thu Dec 30 20:18:32 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* win32/Makefile.sub: ditto.
Thu Dec 30 20:57:09 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* Makefile.in: Check V=1 argument if run "make clean" or similar.
Thu Dec 30 20:41:50 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* Makefile.in: Kill ugly line continuation.
Thu Dec 30 11:49:40 2010 Tanaka Akira <akr@fsij.org>
* sprintf.c: parenthesize macro arguments.
Wed Dec 29 21:20:13 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* io.c (maygvl_copy_stream_wait_readwrite): define if USE_SENDFILE
Wed Dec 29 20:37:43 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/extmk.rb: strip current directory prefix.
* enc/depend (clean): remove name2ctype.h when out-of-place build.
* win32/Makefile.sub (clean-enc): pass V to inferior make.
Wed Dec 29 18:23:46 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* re.c (rb_reg_expr_str): need to escape if the coderange is invalid.
Wed Dec 29 10:06:51 2010 Tanaka Akira <akr@fsij.org>
* signal.c: parenthesize macro arguments.
Wed Dec 29 07:22:15 2010 Eric Hodel <drbrain@segment7.net>
* lib/rake/rdoctask.rb: Deprecate in favor of rdoc/task.
Wed Dec 29 07:07:06 2010 Eric Hodel <drbrain@segment7.net>
* lib/rdoc: Import RDoc 3.1
Tue Dec 28 18:36:38 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* error.c, include/ruby/intern.h (rb_compile_error_with_enc): new
function to raise syntax error, with source encoding'ed message.
* parse.y (compile_error): use above function.
[ruby-core:33951] (#4217)
Tue Dec 28 07:37:38 2010 Tanaka Akira <akr@fsij.org>
* ruby.c: parenthesize macro arguments.
Tue Dec 28 07:17:11 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* NEWS: add ARGF.write and so on.
Tue Dec 28 07:12:38 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* NEWS: add new magic-comment. (warn-indent) [ruby-core:25442]
Tue Dec 28 04:32:37 2010 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/fiddle/extconf.rb: check for windows.h while building fiddle.
Thanks Jon Forums! [ruby-core:33923]
Tue Dec 28 01:45:12 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* NEWS: Add Zlib.deflate and Zlib.inflate.
[ruby-dev:42833]
Mon Dec 27 21:22:33 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* win32/configure.bat: Remove obsoleted coding rule. Now, we
don't support to build on Windows 95/98 and Me.
Mon Dec 27 18:27:13 2010 Tanaka Akira <akr@fsij.org>
* re.c: parenthesize macro arguments.
Mon Dec 27 15:22:23 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/README.win32: note to need NT based OS to build ruby.
Mon Dec 27 12:14:46 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* common.mk (EXTMK_ARGS): specify to pass macro V, because nmake
doesn't pass it via MAKEFLAGS.
Mon Dec 27 10:33:43 2010 NARUSE, Yui <naruse@ruby-lang.org>
* ext/zlib/zlib.c (Init_zlib): Add Zlib.deflate and Zlib.inflate.
[ruby-dev:42833]
Mon Dec 27 07:38:07 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* misc/rb_optparse.zsh: add compdef for generator.
Mon Dec 27 07:32:07 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* lib/optparse.rb (OptionParser#compsys): escape brackets too.
[ruby-dev:42754]
Mon Dec 27 01:30:08 2010 Tanaka Akira <akr@fsij.org>