-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
7196 lines (4497 loc) · 245 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Sat Feb 25 06:55:29 2012 Nobuyoshi Nakada <[email protected]>
* file.c (utime_internal): fix a variable missed to replace.
[ruby-core:42864] [Bug #6077]
Fri Feb 24 18:21:55 2012 Hiroshi Nakamura <[email protected]>
* test/zlib/test_zlib.rb (TestZlibGzipReader#test_encoding): Add
encoding testcases for GzipReader#read. read() emits
Encoding.default_external in contrast to read(size) emits BINARY.
See also: http://bugs.jruby.org/6208
Fri Feb 24 17:56:39 2012 URABE Shyouhei <[email protected]>
* test/ruby/test_literal.rb (TestRubyLiteral#test_special_const):
test for https://bugs.php.net/bug.php?id=61095
Fri Feb 24 16:48:29 2012 Nobuyoshi Nakada <[email protected]>
* dir.c, file.c, io.c (rb_sys_fail_path): use rb_sys_fail_str.
* error.c: new functions to deal exceptions with string instances.
* dir.c, file.c, io.c: use rb_sys_fail_path.
Fri Feb 24 15:49:07 2012 Nobuyoshi Nakada <[email protected]>
* configure.in (__builtin_unreachable): check for clang.
[ruby-core:42849]
* include/ruby/ruby.h (UNREACHABLE): fallback definition.
Fri Feb 24 13:54:33 2012 Aaron Patterson <[email protected]>
* ext/psych/parser.c: prevent a memory leak by protecting calls to
handler callbacks.
* test/psych/test_parser.rb: test to demonstrate leak.
Fri Feb 24 12:07:34 2012 Ayumu AIZAWA <[email protected]>
* lib/net/http.rb: Fix documentation. Patched from Florian Mhun
via http://github.com/ruby/ruby/pull/96
Fri Feb 24 11:48:07 2012 Ayumu AIZAWA <[email protected]>
* string.c (rb_str_prepend): Fix documentation for String#prepend.
Patched from Franck Verrot via http://github.com/ruby/ruby/pull/98
and Andrew Horsman via http://github.com/ruby/ruby/pull/55
Fri Feb 24 10:08:33 2012 Eric Hodel <[email protected]>
* lib/net/http.rb (Net::HTTP#transport_request): Fix infinite loop
upon EOFError or Errno::ECONNRESET where count is reset to 0.
* test/net/http/test_http.rb (class TestNetHTTPKeepAlive): Test for
above.
Fri Feb 24 09:05:40 2012 Eric Hodel <[email protected]>
* complex.c (Init_Complex): Document Complex::I. Patch by Sylvain
Daubert. [Feature #5623]
Fri Feb 24 08:52:09 2012 Nobuyoshi Nakada <[email protected]>
* parse.y (parser_tokadd_string, parser_yylex): insert a backslash
if the next character is non-ascii. [ruby-dev:45278] [Bug #6069]
Fri Feb 24 08:13:20 2012 Eric Hodel <[email protected]>
* lib/profiler.rb: Add Profiler documentation by Gonzalo Rodriguez.
[Bug #5816]
Fri Feb 24 08:08:38 2012 Aaron Patterson <[email protected]>
* ext/psych/parser.c: set parser encoding based on the YAML input
rather than user configuration.
* test/psych/test_encoding.rb: corresponding tests.
* test/psych/test_parser.rb: ditto
* test/psych/test_tainted.rb: ditto
Fri Feb 24 08:02:52 2012 Eric Hodel <[email protected]>
* hash.c (Init_Hash): Add section on how objects are used as Hash keys
and how to use custom classes as Hash keys.
Fri Feb 24 07:36:11 2012 Eric Hodel <[email protected]>
* object.c (rb_obj_eql): Improve equality documentation by adding an
example of equal? vs == and recommending eql? be aliased to == when
overridden.
Fri Feb 24 07:21:15 2012 Eric Hodel <[email protected]>
* object.c (rb_obj_hash): Added note that the hash value is not
deterministic on Marc-Andre's suggestion. Expanded description of
the purpose of the hash method. [Bug #6068]
Thu Feb 23 23:01:21 2012 Tanaka Akira <[email protected]>
* ext/dbm/extconf.rb: unused macro removed.
Thu Feb 23 22:26:53 2012 Tanaka Akira <[email protected]>
* test/test_curses.rb: new file.
Thu Feb 23 19:57:56 2012 Tanaka Akira <[email protected]>
* ext/curses/rain.rb: trap SIGHUP, SIGINT, SIGQUIT and SIGTERM only.
Thu Feb 23 19:56:48 2012 Tanaka Akira <[email protected]>
* signal.c (sig_trap): show signal name on error.
Thu Feb 23 12:21:48 2012 Tanaka Akira <[email protected]>
* ext/dbm/extconf.rb: use DBM_SUFFIX only to detect header of
Berkeley DB.
Thu Feb 23 10:00:18 2012 Eric Hodel <[email protected]>
* io.c (rb_io_f_sync): Fix double-negative typo. [ruby-trunk - #5837]
Thu Feb 23 09:57:21 2012 Eric Hodel <[email protected]>
* load.c (rb_f_require): Add note to require for scope of items in the
loaded file. [ruby-trunk - #5910]
Thu Feb 23 03:58:08 2012 Marc-Andre Lafortune <[email protected]>
* lib/ostruct.rb (delete_field): Bug fix so previous value is
returned. Patch by Nick Recobra [Bug #6063]
Thu Feb 23 02:33:00 2012 Nobuyoshi Nakada <[email protected]>
* io.c (rb_io_extract_modeenc): fail only if conflicting
text/binary modes given explicitly. [ruby-dev:45268][Bug #6055]
Wed Feb 22 23:27:08 2012 Nobuyoshi Nakada <[email protected]>
* test/iconv/test_option.rb: enabled. [ruby-core:42802][Bug #6061]
Wed Feb 22 21:45:56 2012 Tanaka Akira <[email protected]>
* ext/curses/curses.c: use defined() to suppress a warning.
Wed Feb 22 21:44:29 2012 Tanaka Akira <[email protected]>
* ext/curses/extconf.rb: refactored.
Wed Feb 22 20:42:28 2012 Tanaka Akira <[email protected]>
* ext/curses/extconf.rb: try to distinguish curses_version is a
function or variable.
* ext/curses/curses.c (Init_curses): refine Curses::VERSION.
Wed Feb 22 19:47:03 2012 Tanaka Akira <[email protected]>
* ext/curses/extconf.rb: show the chosen header and library.
Wed Feb 22 19:22:31 2012 Tadayoshi Funaba <[email protected]>
* reverted 34739 for test/date.
Wed Feb 22 19:08:55 2012 Tanaka Akira <[email protected]>
* ext/curses/extconf.rb: refactored.
Wed Feb 22 18:44:41 2012 Shota Fukumori <[email protected]>
* lib/test/unit.rb (setup_options): add option "--retry" as opposite
for "--no-retry"
Wed Feb 22 18:34:02 2012 Shota Fukumori <[email protected]>
* lib/test/unit.rb (setup_options): add option "--show-skip" to
cancel "--hide-skip" (-q)
Wed Feb 22 17:36:22 2012 Nobuyoshi Nakada <[email protected]>
* io.c (rb_io_s_foreach): argument check before making Enumerator.
[ruby-dev:31525]
Wed Feb 22 17:07:35 2012 Nobuyoshi Nakada <[email protected]>
* io.c (rb_io_s_foreach): return enumerator including kerword
arguments. [ruby-dev:45267][Bug #6054]
Wed Feb 22 12:15:16 2012 NARUSE, Yui <[email protected]>
* configure.in: allow llvm-gcc because it work fine with r34278.
Wed Feb 22 10:57:08 2012 NARUSE, Yui <[email protected]>
* regparse.c (fetch_token): don't use // comment.
Wed Feb 22 10:32:11 2012 Nobuyoshi Nakada <[email protected]>
* test/mkmf/test_framework.rb: try CoreFoundation framework, than
Cocoa which is dependent on QuickTime SDK which has separated
since Xcode 4.3.
Wed Feb 22 10:18:05 2012 Nobuyoshi Nakada <[email protected]>
* common.mk (test-all, test-ruby): more dependencies.
Wed Feb 22 06:48:55 2012 Eric Hodel <[email protected]>
* file.c (rb_f_test): Fix formatting of Kernel#test rdoc.
Wed Feb 22 06:12:15 2012 Tanaka Akira <[email protected]>
* ext/dbm/extconf.rb: check DBM_SUFFIX for Mac OS X.
Its ndbm.h doesn't include db.h.
Wed Feb 22 06:02:42 2012 Tanaka Akira <[email protected]>
* ext/dbm/dbm.c (fdbm_initialize): disable Berkeley DB error messages.
* ext/dbm/extconf.rb: check DBC type for above.
[ruby-dev:45269]
Tue Feb 21 20:23:47 2012 Nobuyoshi Nakada <[email protected]>
* hash.c (rb_any_hash): treat Qundef like as other special constants.
* hash.c (hash_foreach_iter): fix signature.
Tue Feb 21 19:39:34 2012 Tanaka Akira <[email protected]>
* ext/curses/curses.c (Init_curses): use curses_version() for
Curses::VERSION.
Tue Feb 21 18:21:25 2012 Narihiro Nakamura <[email protected]>
* gc.c : remove gc_clear_mark_on_sweep_slots() and use
rest_sweep() instead of it, because some dead objects might be
marked in next the mark phase by false pointers.
[ruby-core:42672]
Tue Feb 21 16:08:17 2012 Nobuyoshi Nakada <[email protected]>
* proc.c (rb_hash_proc): get wrapped pointer properly. [Bug #6048]
Tue Feb 21 14:41:10 2012 Nobuyoshi Nakada <[email protected]>
* template/ruby.pc.in: added rubylibprefix, {rubylib,vendor,site}dir
and {ruby,vendor,site}archdir. [ruby-core:42766][Feature #6052]
Tue Feb 21 09:13:25 2012 Marc-Andre Lafortune <[email protected]>
* proc.c (method_hash, proc_hash): Fix {Unbound}Method#hash
[Bug #6048]. Isolate hash computation for proc
* internal.h: Declaration for above
* vm_method.c (rb_method_definition_hash): Computation for
hash part of a method definition
* method.h: Declaration for above
* test/ruby/test_method.rb: Test for above
Tue Feb 21 02:56:15 2012 Yukihiro Matsumoto <[email protected]>
* enumerator.c (enumerator_rewind): update the documentation.
fixed: #6053
Mon Feb 20 23:38:35 2012 NAKAMURA Usaku <[email protected]>
* enc/depend: ignore mktable.c because it's not encoding library.
[ruby-core:42760] [Bug #6049]
Mon Feb 20 21:40:53 2012 Tanaka Akira <[email protected]>
* ext/curses/extconf.rb: fold too long lines.
Mon Feb 20 21:16:48 2012 Hiroshi Shirosaki <[email protected]>
* lib/fileutils.rb: revert a line modified accidentally at r34669.
This fixes mingw test errors in TestDir_M17N.
[ruby-core:42728] [Feature #4970]
Mon Feb 20 21:09:27 2012 Tanaka Akira <[email protected]>
* ext/curses/curses.c (Init_curses): define Curses::VERSION.
Mon Feb 20 21:08:00 2012 Tanaka Akira <[email protected]>
* ext/curses/extconf.rb: restore $libs and $defs for each
header/library choice.
Mon Feb 20 19:57:26 2012 Tanaka Akira <[email protected]>
* ext/dbm/extconf.rb: weaken header/library consistency check if db is
"ndbm". It seems several (possibly historical) distributions
provide libndbm. However the content of libndbm vary: Berkeley DB,
GDBM or even 4.3BSD NDBM. (Mandriva, Tru64 UNIX, OpenSuSE,
SCO OpenServer, ...)
"ndbm" is not searched automatically now (dblib doesn't contain it)
but configure --with-dbm-type=ndbm choose libndbm and ndbm.h.
Mon Feb 20 19:15:57 2012 Tanaka Akira <[email protected]>
* ext/dbm/extconf.rb: refine variable names.
Mon Feb 20 15:50:33 2012 Nobuyoshi Nakada <[email protected]>
* configure.in: check if -fstack-protector is really available.
Sun Feb 19 23:43:38 2012 Tanaka Akira <[email protected]>
* ext/dbm/extconf.rb: show header and library found.
Sun Feb 19 23:01:01 2012 Tanaka Akira <[email protected]>
* ext/dbm/dbm.c (Init_dbm): refine DBM::VERSION definition.
* ext/dbm/extconf.rb: provide RUBYDBM_GDBM_HEADER macro.
Sun Feb 19 17:07:27 2012 Tanaka Akira <[email protected]>
* test/dbm/test_dbm.rb (test_dbmfile_suffix): check pag and dir is
empty for 4.3BSD ndbm.
Sun Feb 19 03:00:30 2012 Tanaka Akira <[email protected]>
* test/dbm/test_dbm.rb (test_dbmfile_suffix): check magic numbers.
Sun Feb 19 01:05:41 2012 Tanaka Akira <[email protected]>
* ext/dbm/extconf.rb: detect GDBM's ndbm.h by testing dbm_clearerr is
an empty macro.
Sun Feb 19 00:25:55 2012 Tanaka Akira <[email protected]>
* ext/dbm/extconf.rb: don't choose 'dbm' if _GDB_H_ is defined which
is available since GDBM 1.9 because 'gdbm_compat' is appropriate
choice since GDBM 1.8.1.
Sat Feb 18 23:27:00 2012 Kenta Murata <[email protected]>
* random.c: remove a duplicated comment.
Sat Feb 18 18:43:13 2012 Tanaka Akira <[email protected]>
* ext/dbm/extconf.rb (dblib): prefer recent GDBM over older GDBM.
(have_declared_libvar): new function to check a declared variable
exists in a library.
(have_undeclared_libvar): renamed from renamed from have_libvar.
(headers.db_check2): check that GDBM version variable if GDBM header
is chosen.
* ext/dbm/dbm.c (Init_dbm): use HAVE_DECLARED_LIBVAR_GDBM_VERSION and
HAVE_UNDECLARED_LIBVAR_GDBM_VERSION macro.
Sat Feb 18 13:53:01 2012 Tanaka Akira <[email protected]>
* test/dbm/test_dbm.rb (test_dbmfile_suffix): DBM::VERSION should
be Berkeley DB if foo.db is created by DBM.open.
Sat Feb 18 13:40:37 2012 Tanaka Akira <[email protected]>
* test/dbm/test_dbm.rb (test_dbmfile_suffix): test dbm file suffix.
Sat Feb 18 12:50:59 2012 Tanaka Akira <[email protected]>
* ext/dbm/dbm.c (DBM::VERSION): define it by detecting _GDBM_H_ or
_DBM_IOERR.
Sat Feb 18 07:52:45 2012 NARUSE, Yui <[email protected]>
* tool/enc-unicode.rb: don't use 1.9 feature on tools.
Sat Feb 18 02:48:39 2012 Aaron Patterson <[email protected]>
* lib/fileutils.rb: refactored FileUtil methods to use the
`define_command` API. Patch from 7rans <[email protected]>
* test/fileutils/test_dryrun.rb: corresponding test refactoring
* test/fileutils/test_nowrite.rb: ditto
* test/fileutils/test_verbose.rb: ditto
Fri Feb 17 21:39:36 2012 Tanaka Akira <[email protected]>
* ext/dbm/extconf.rb: remove dbm.
Fri Feb 17 21:18:39 2012 Tanaka Akira <[email protected]>
* ext/dbm/extconf.rb: refine header/library mismatch detection.
check only for ndbm.h except libc. check _GDBM_H_ for gdbm.
check _DBM_IOERR for the original ndbm.
Fri Feb 17 20:30:44 2012 Tanaka Akira <[email protected]>
* ext/dbm/extconf.rb: don't check libdbm. It is not a ndbm
implementation. (libdbm in Version 7 Unix is database library
for single database per process.)
Fri Feb 17 15:38:53 2012 NARUSE, Yui <[email protected]>
* Merge Onigmo-5.13.1. [ruby-dev:45057] [Feature #5820]
https://github.com/k-takata/Onigmo
cp reg{comp,enc,error,exec,parse,syntax}.c reg{enc,int,parse}.h
cp oniguruma.h
cp tool/enc-unicode.rb
cp -r enc/
Fri Feb 17 15:20:30 2012 Nobuyoshi Nakada <[email protected]>
* enum.c (enum_each_slice): arrays to be yielded can be newly
created in the block.
* enum.c: move work variables to objects not to let called blocks
access stack area out of scope. [Bug #5801]
Fri Feb 17 12:35:55 2012 NARUSE, Yui <[email protected]>
* tool/merger.rb: remove borders from the commit message which is used
when the commit doesn't change ChangeLog.
Fri Feb 17 11:50:11 2012 Nobuyoshi Nakada <[email protected]>
* common.mk (btest, btest-ruby, test-sample test-knownbugs)
(test-all, test-ruby): depend on prog.
Fri Feb 17 09:56:22 2012 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (create_header): log the content of header.
Fri Feb 17 09:44:55 2012 NARUSE, Yui <[email protected]>
* tool/transcode-tblgen.rb (import_ucm): don't use \h because the
script should work with ruby 1.8.
* tool/enc-unicode.rb: ditto.
Fri Feb 17 07:33:29 2012 Nobuyoshi Nakada <[email protected]>
* enum.c (id_lshift): use constant ID.
Fri Feb 17 07:30:53 2012 Tanaka Akira <[email protected]>
* ext/dbm/extconf.rb: refactored to split too long conditions.
Fri Feb 17 00:23:25 2012 Tanaka Akira <[email protected]>
* test/dbm/test_dbm.rb: fix skip condition for libgdbm 1.8.0 or prior.
reported by Bohuslav Kabrda.
[ruby-core:42685] [ruby-trunk - Bug #6036]
Fri Feb 17 00:04:21 2012 Tanaka Akira <[email protected]>
* ext/dbm/extconf.rb: check _DB_H_ macro unavailable except
Berkeley DB library.
Thu Feb 16 05:41:35 2012 Nobuyoshi Nakada <[email protected]>
* insns.def (splatarray): make new array if flag is set.
* compile.c (iseq_compile_each): make new array with
splat. [ruby-core:21901][Feature #1125]
Thu Feb 16 00:14:04 2012 Kazuhiro NISHIYAMA <[email protected]>
* lib/abbrev.rb (Array#abbrev): add missing '"' in documentation.
Wed Feb 15 22:20:19 2012 CHIKANAGA Tomoyuki <[email protected]>
* cont.c (rb_fiber_reset_root_local_storage): add a new function to
restore rb_thread_t::local_storage.
* cont.c (rb_obj_is_fiber): add a new function to tell finalizer to
prevent fibers from destroy.
* gc.c (rb_objspace_call_finalizer): don't sweep fibers at finalizing
objspace.
* internal.h (rb_fiber_reset_root_local_storage, rb_obj_is_fiber):
add prototypes.
* vm.c (ruby_vm_destruct): reset main thread's local_storage before
free main thread. rb_thread_t::local_storage is replaced by fiber's
local storage when forked from fiber, and it should be already freed
when the fiber was destroyed. [ruby-core:41456] [Bug #5700]
* test/ruby/test_fiber.rb (test_fork_from_fiber): add test for fork
from fiber.
Wed Feb 15 19:57:02 2012 Nobuyoshi Nakada <[email protected]>
* ext/fiddle/closure.c (callback): deal with unsigned integers.
[ruby-core:42458][Bug #5991][Bug #6022]
* ext/fiddle/conversions.c (value_to_generic, generic_to_value):
ditto.
* ext/fiddle/closure.c (callback): same as r34506.
Wed Feb 15 17:41:31 2012 NARUSE, Yui <[email protected]>
* io.c (io_strsetbuf): call rb_str_modify to make str independent
before calling rb_str_set_len for r34580.
Wed Feb 15 12:30:10 2012 Eric Hodel <[email protected]>
* ext/zlib/zlib.c (Init_zlib): Added Zlib::TEXT and note that
Zlib::ASCII is deprecated in zlib 1.2.3 and newer.
Wed Feb 15 12:24:40 2012 Eric Hodel <[email protected]>
* ext/zlib/zlib.c: Move constant descriptions to constants. Remove
extra comment block at the top of Init_zlib().
Wed Feb 15 12:30:46 2012 Marc-Andre Lafortune <[email protected]>
* lib/ostruct.rb: Create getters and setters after dup.
[Bug #6028] [rubyspecs:0380bcc]
Wed Feb 15 10:59:52 2012 Narihiro Nakamura <[email protected]>
* gc.c (HEAP_BITMAP_LIMIT): HEAP_BITMAP_LIMIT is computed on the
basis of HEAP_SIZE because it must covers a whole heap block.
[ruby-trunk - Bug #6006]
Wed Feb 15 09:27:45 2012 Eric Hodel <[email protected]>
* ext/zlib/zlib.c (Init_zlib): Added Zlib::FIXED and Zlib::RLE
strategies.
* NEWS: Add note about the new Zlib constants.
Wed Feb 15 09:11:36 2012 Eric Hodel <[email protected]>
* ext/zlib/zlib.c: Improve documentation. [ruby-trunk - Bug #5948]
Wed Feb 15 07:28:54 2012 Eric Hodel <[email protected]>
* encoding.c (Init_Encoding): Add IO example of internal and external
encoding. Fixed a typo in the force_encoding example. [#5949]
Wed Feb 15 06:58:21 2012 Eric Hodel <[email protected]>
* encoding.c (Init_Encoding): Add Encoding documentation.
[ruby-trunk - Bug #5949]
* encoding.c (rb_set_default_external): Fix typo in documentation.
Tue Feb 14 20:22:11 2012 Narihiro Nakamura <[email protected]>
* gc.c (CEILDIV): rename to a appropriate name.
Tue Feb 14 18:07:20 2012 Narihiro Nakamura <[email protected]>
* gc.c (assign_heap_slot): SEGV happens cause on 64-bit platform
sometime there should be `objs-=2` instead of `objs--`.
[Bug #6006]
patched by Sokolov Yura. https://github.com/ruby/ruby/pull/92
Tue Feb 14 16:00:30 2012 Nobuyoshi Nakada <[email protected]>
* io.c (io_setstrbuf): cut down the buffer if longer.
Tue Feb 14 15:06:37 2012 Nobuyoshi Nakada <[email protected]>
* lib/test/unit/assertions.rb (build_message): skip escaped
question marks.
Tue Feb 14 12:10:04 2012 Nobuyoshi Nakada <[email protected]>
* variable.c (autoload_const_set, autoload_require): fix
signatures.
Tue Feb 14 05:23:40 2012 Eric Hodel <[email protected]>
* process.c (proc_wait): Change typo "SystemError" to
"SystemCallError". [ruby-trunk - Bug #5962]
* process.c (proc_wait2): ditto
Tue Feb 14 05:18:24 2012 Eric Hodel <[email protected]>
* enumerator.c: Document use of Enumerator.new for creating a lazy
enumeration for filtering/chaining. [ruby-trunk - Feature #707]
Mon Feb 13 23:01:50 2012 Akinori MUSHA <[email protected]>
* vm_method.c (rb_method_boundp):
obj.respond_to?(:a_protected_method) should return false because
calling a protected method may cause NoMethodError if called
from outside the class inheritance tree. Kernel#respond_to? is
mostly used to test if it is safe to call a method, so the false
positive should be avoided. [ruby-dev:40461] [ruby-dev:41739]
[ruby-dev:41837]
Mon Feb 13 21:52:06 2012 Narihiro Nakamura <[email protected]>
* gc.c (HEAP_OBJ_LIMIT, HEAP_BITMAP_LIMIT): HEAP_OBJ_LIMIT used
`sizeof(struct heaps_slot)` while heap is currently allocated
with `struct heaps_header`.
HEAP_BITMAP_LIMIT were calculated from
`HEAP_OBJ_LIMIT/sizeof(uintptr_t)` - one Byte for each object,
not one Bit. [Bug #6006]
patched by Sokolov Yura. https://github.com/ruby/ruby/pull/92
Mon Feb 13 18:30:32 2012 Nobuyoshi Nakada <[email protected]>
* io.c (io_setstrbuf): defer resizing buffer string until data is
read actually.
Mon Feb 13 10:24:39 2012 Loren Segal <[email protected]>
* io.c (Init_IO): use directive hack to make ARGF documentable
in other tools. [ruby-core:42515][Bug #6007]
Sun Feb 12 20:43:54 2012 Nobuyoshi Nakada <[email protected]>
* include/ruby/ruby.h (rb_event_hook_func_t): add argument names.
Sun Feb 12 16:30:23 2012 Akinori MUSHA <[email protected]>
* tool/merger.rb (#default_merge_branch): Add support for
Subversion 1.7 which adopted a whole new working directory
structure.
Sun Feb 12 15:14:41 2012 Kazuki Tsujimoto <[email protected]>
* benchmark/driver.rb: suppress unused/shadowing variable warnings.
Sun Feb 12 03:14:40 2012 Eric Hodel <[email protected]>
* vm_eval.c (check_funcall): Call respond_to? with matching arity for
legacy single-argument implementations. [ruby-trunk - Bug #6000]
Sat Feb 11 12:04:05 2012 Nobuyoshi Nakada <[email protected]>
* compile.c (defined_expr): guard the whole expression.
[ruby-dev:45021][Bug#5786]
Sat Feb 11 08:34:42 2012 Eric Hodel <[email protected]>
* ext/zlib/zlib.c (rb_inflate_add_dictionary): Added
Zlib::Inflate#add_dictionary to allow users to pre-specify
for using during #inflate. [ruby-trunk - Feature #5937]
Sat Feb 11 08:23:02 2012 Eric Hodel <[email protected]>
* ext/zlib/zlib.c (do_inflate): Inflate more data if buffered data
exists. Allows Zlib::Inflate#set_dictionary to work.
[ruby-trunk - Bug #5929]
Sat Feb 11 06:00:48 2012 NARUSE, Yui <[email protected]>
* dir.c (fnmatch): The * needs to be escaped to avoid formatting in
fnmatch comment.
patched by @dalton. https://github.com/ruby/ruby/pull/91
Fri Feb 10 03:41:31 2012 Aaron Patterson <[email protected]>
* ext/psych/parser.c: removed external encoding setter, allow parser
to be reused.
* ext/psych/lib/psych/parser.rb: added external encoding setter.
* test/psych/test_parser.rb: test parser reuse
Fri Feb 10 01:30:41 2012 Nobuyoshi Nakada <[email protected]>
* ext/dl/dl.h (ALIGN_OF): use offsetof().
* ext/dl/dl.h (DLALIGN): round up at once and get rid of overflow.
Fri Feb 10 00:47:07 2012 Nobuyoshi Nakada <[email protected]>
* test/ruby/envutil.rb (assert_no_memory_leak): new assertion to
check memory leak by invoking child ruby process and watch its
memory size.
Thu Feb 9 23:41:44 2012 CHIKANAGA Tomoyuki <[email protected]>
* test/pathname/test_pathname.rb (test_binread): add assertion to
check encoding.
Thu Feb 9 16:48:19 2012 Nobuyoshi Nakada <[email protected]>
* ext/dl/dl.c (Init_dl): fix mangled document.
Thu Feb 9 16:10:34 2012 NAKAMURA Usaku <[email protected]>
* test/ruby/memory_status.rb (Memory::Win32): 64bit support.
Thu Feb 9 16:08:55 2012 NAKAMURA Usaku <[email protected]>
* ext/dl/lib/value.rb (DL::ValueUtil.{unsigned_value,signed_value}):
currently pack/unpack does not accept "q!" and "Q!".
Thu Feb 9 16:01:29 2012 NAKAMURA Usaku <[email protected]>
* ext/fiddle/conversions.c (value_to_generic): src is not guaranteed as
a Bignum if the type is LONG_LONG. it may be a Fixnum if the value
is small.
Thu Feb 9 11:32:36 2012 NAKAMURA Usaku <[email protected]>
* ext/dl/lib/types.rb: Win64 support.
Thu Feb 9 04:12:29 2012 NARUSE, Yui <[email protected]>
* test/pathname/test_pathname.rb: not read but binread.
patched by Benoit Daloze, [ruby-core:42440] [Bug #5984]
Wed Feb 8 22:29:59 2012 Nobuyoshi Nakada <[email protected]>
* string.c (rb_str_modify_expand): fix memory leak.
Wed Feb 8 14:06:59 2012 Hiroshi Nakamura <[email protected]>
* ext/openssl/ossl_ssl.c: Add SSL constants and allow to unset SSL
option to prevent BEAST attack. See [Bug #5353].
In OpenSSL, OP_DONT_INSERT_EMPTY_FRAGMENTS is used to prevent
TLS-CBC-IV vulnerability described at
http://www.openssl.org/~bodo/tls-cbc.txt
It's known issue of TLSv1/SSLv3 but it attracts lots of attention
these days as BEAST attack. (CVE-2011-3389)
Until now ossl sets OP_ALL at SSLContext allocation and call
SSL_CTX_set_options at connection. SSL_CTX_set_options updates the
value by using |= so bits set by OP_ALL cannot be unset afterwards.
This commit changes to call SSL_CTX_set_options only 1 time for each
SSLContext. It sets the specified value if SSLContext#options= are
called and sets OP_ALL if not.
To help users to unset bits in OP_ALL, this commit also adds several
constant to SSL such as
OpenSSL::SSL::OP_DONT_INSERT_EMPTY_FRAGMENTS. These constants were
not exposed in Ruby because there's no way to unset bits in OP_ALL
before.
Following is an example to enable 0/n split for BEAST prevention.
ctx.options = OP_ALL & ~OP_DONT_INSERT_EMPTY_FRAGMENTS
* test/openssl/test_ssl.rb: Test above option exists.
Wed Feb 8 13:12:02 2012 Martin Bosslet <[email protected]>
* ext/openssl/ossl_x509name.c: Use the numerical representation of
unrecognized OIDs instead of the sn "UNDEF".
* test/openssl/test_x509name.rb: Add tests for the fixed behavior.
Patch provided by Paul Kehrer, thank you!
[ruby-core:41769] [Feature #5787]
Wed Feb 8 09:49:58 2012 NARUSE, Yui <[email protected]>
* tool/merger.rb: don't abort, update first.
Wed Feb 8 09:47:33 2012 Martin Bosslet <[email protected]>
* ext/openssl/ossl_asn1.c: Call INT2NUM only once for GeneralString.
Thanks to Mantas Mikulenas for noticing and providing a patch!
[ruby-core:42358] [Bug #5972]
Wed Feb 8 09:19:00 2012 Martin Bosslet <[email protected]>
* ext/openssl/ossl_cipher.c: Add warning about key as IV.
Tue Feb 7 20:08:12 2012 Ayumu AIZAWA <[email protected]>
* error.c (exc_inspect): Fix typo. patch from Trent Ogren
via https://github.com/ruby/ruby/pull/90
Tue Feb 7 19:37:35 2012 Nobuyoshi Nakada <[email protected]>
* st.c: refactor packed entries using structs.
Tue Feb 7 14:52:10 2012 Nobuyoshi Nakada <[email protected]>
* st.c (st_update): table can be unpacked in the callback.
* st.c (st_foreach): should not yield same pair when checking
after unpacking.
Mon Feb 6 21:55:13 2012 NARUSE, Yui <[email protected]>
* tool/merger.rb: abort if the working directory is dirty.
* tool/merger.rb: update the working directory after commit.
Mon Feb 6 00:16:27 2012 NARUSE, Yui <[email protected]>
* encoding.c (rb_enc_compatible): return ASCII-8BIT even if 2nd string
is ascii only string. [ruby-core:42354] [Bug #5968]
Fri Feb 3 07:16:47 2012 Eric Hodel <[email protected]>
* lib/webrick.rb: Moved proxy rewriting to WEBrick::HTTPProxy.
* lib/webrick/httpproxy.rb: Add examples of creating a proxy server
and response rewriting using HTTPProxy.
Fri Feb 3 06:53:22 2012 Eric Hodel <[email protected]>
* ext/openssl/ossl_x509store.c: Add class documentation for
OpenSSL::X509::Store
Thu Feb 2 22:28:13 2012 Kazuhiro NISHIYAMA <[email protected]>
* test/net/http/test_https_proxy.rb
(HTTPSProxyTest#test_https_proxy_authentication):
add workaround to avoid to hang up without openssl.
see [ruby-dev:45021][Bug #5786]
* test/resolv/test_dns.rb (TestResolvDNS#test_query_ipv4_address):
ditto.
Thu Feb 2 21:48:18 2012 Kouhei Sutou <[email protected]>
* lib/rexml/parsers/baseparser.rb: use meaningful names.
Thu Feb 2 21:38:52 2012 Kouhei Sutou <[email protected]>
* lib/rexml/parsers/baseparser.rb, test/rexml/test_namespace.rb:
fix the default xml namespace URI validation.
[ruby-dev:45169] [Bug #5956]
Reported by Miho Hiramatsu. Thanks!!!
Thu Feb 2 17:51:02 2012 NARUSE, Yui <[email protected]>
* io.c (argf_next_argv): reset ARGF.next_p on ARGV.replace.
r34409 breaks replacing ARGV.
[ruby-dev:45160] [Bug #5952]
Thu Feb 2 16:21:01 2012 NAKAMURA Usaku <[email protected]>
* test/net/http/test_http.rb (TestNetHTTPKeepAlive#*): remove debug
output.
Thu Feb 2 01:24:34 2012 Yusuke Endoh <[email protected]>
* parse.y (debug_lines, coverage): set file path encoding for coverage
result. [ruby-dev:44950]
Wed Feb 1 14:38:31 2012 Akinori MUSHA <[email protected]>
* lib/tempfile.rb (Tempfile#unlink, Tempfile::Remover#call): Just
call File.unlink and ignore ENOENT because existence check
before unlinking does not help in terms of race condition.
* lib/tempfile.rb (Tempfile#unlink, Tempfile::Remover#call): My
comment about thread safeness is obsolete.
Wed Feb 1 09:50:10 2012 Nobuyoshi Nakada <[email protected]>
* doc/re.rdoc (Repetition): fix typo. reported by Ori Avtalion
and patched by Zachary Scott. [Bug #5947]
Wed Feb 1 06:38:54 2012 Nobuyoshi Nakada <[email protected]>
* io.c (argf_close): skip stdin, which should be readable again.
[ruby-dev:45160] [Bug #5952]
* io.c (argf_readlines): reinitialize after all read to be
readable again.
Tue Jan 31 21:27:43 2012 Narihiro Nakamura <[email protected]>
* configure.in (HEAP_ALIGN_LOG): HEAP_ALIGN_LOG should be page
size in OpenBSD. [ruby-core:42158][Bug #5901]
* gc.c : avoid to redefine.
Tue Jan 31 14:27:22 2012 Nobuyoshi Nakada <[email protected]>
* test/ruby/envutil.rb (EnvUtil.invoke_ruby): yield also child pid
in block form.
Mon Jan 30 19:08:19 2012 Nobuyoshi Nakada <[email protected]>
* vm_eval.c (vm_call0): should pass block to enumerators. patched
by Kazuki Tsujimoto. [ruby-dev:44961][Bug #5731]
* vm_eval.c (method_missing), vm_insnhelper.c (vm_call_method):
ditto. patched by satoshi shiba.
Mon Jan 30 12:31:05 2012 NAKAMURA Usaku <[email protected]>
* file.c (append_fspath): need to set the encoding to result always.
Mon Jan 30 10:38:37 2012 NAKAMURA Usaku <[email protected]>
* test/irb/test_completion.rb: skip if cannot load irb/completion
(maybe readline does not exist).
Sun Jan 29 22:47:19 2012 Yutaka Kanemoto <[email protected]>
* tool/config.{guess,sub}: updated to automake-1.11.2.
Sun Jan 29 12:17:56 2012 Nobuyoshi Nakada <[email protected]>
* ext/readline/readline.c (readline_attempted_completion_function):
respect encodings. [Bug #5941]
Sat Jan 28 09:33:33 2012 Hiroshi Shirosaki <[email protected]>
* win32/win32.c (rb_w32_read): fix an issue that $stdin.read doesn't
terminate by CTRL-C on Windows.
[ruby-dev:45149] [Bug #5812]
Sat Jan 28 08:18:11 2012 Hiroshi Shirosaki <[email protected]>
* test/ruby/test_thread.rb
(TestThreadGroup#test_thread_timer_and_interrupt): skip exit status
assertion because we cannot get signal status on Windows.
* win32/win32.c (CreateChild): create process group to receive the
signal by GenerateConsoleCtrlEvent().
* win32/win32.c (kill): use CTRL_BREAK_EVENT instead of CTRL_C_EVENT
if a process group is specified. CTRL_C_EVENT signal cannot be
generated for process groups for the specification.
[ruby-dev:45149] [Bug #5812]
Sat Jan 28 07:46:03 2012 Hiroshi Shirosaki <[email protected]>
* thread_win32.c (rb_w32_wait_events_blocking): use
ruby_thread_from_native() instead of GET_THREAD() because
GET_THREAD() doesn't always return the current thread and
WaitForMultipleObjects() at rb_w32_read() doesn't return by
Thread#kill. This fixes TestQueue#test_thr_kill failure on
Windows.
* thread_win32.c (rb_w32_wait_events): use ruby_thread_from_native()
instead of GET_THREAD() for consistency with the above change.
* thread_win32.c (rb_w32_sleep): ditto.
* thread_win32.c (rb_w32_Sleep): ditto.
[ruby-dev:45149] [Bug #5812]
Sat Jan 28 07:28:48 2012 Hiroshi Shirosaki <[email protected]>
* test/zlib/test_zlib.rb (TestZlibGzipReader#test_reader_wrap): set
binmode explicitly for fixing test error on Windows. This is consistent
with r34243.
[ruby-dev:45149] [Bug #5812]
Sat Jan 28 05:53:34 2012 Nobuyoshi Nakada <[email protected]>
* lib/irb/completion.rb (IRB::InputCompletor::CompletionProc):
ignore non-string name modules. [ruby-core:42244][Bug #5938]
Fri Jan 27 16:31:45 2012 Nobuyoshi Nakada <[email protected]>
* gc.c (HEAP_ALIGN, HEAP_ALIGN_MASK): DRY, let compiler calculate
from HEAP_ALIGN_LOG.
Thu Jan 26 11:03:37 2012 Eric Hodel <[email protected]>
* lib/matrix.rb: Clean up extra whitespace in output documentation.
Thu Jan 26 03:24:02 2012 Nobuyoshi Nakada <[email protected]>
* ext/io/console/console.c (io_getch): default delegating method
for StringIO. https://github.com/nobu/io-console/issues/4
* ext/stringio/stringio.c: moved some methods to hidden modules.
Wed Jan 25 13:27:42 2012 Nobuyoshi Nakada <[email protected]>
* file.c (rb_file_s_basename): ignore non-ascii extension in
different encoding, which cannot match.
* file.c (rmext): no extension to strip if empty string.
* file.c (rb_enc_path_next, rb_enc_path_skip_prefix)
(rb_enc_path_last_separator, rb_enc_path_end)
(ruby_enc_find_basename, ruby_enc_find_extname): encoding-aware
path handling functions.
* file.c (rb_home_dir, file_expand_path, rb_realpath_internal)
(rb_file_s_basename, rb_file_dirname, rb_file_s_extname)
(rb_file_join): should respect the encodings of arguments than
file system encoding. [ruby-dev:45145] [Bug #5919]
* dir.c (check_dirname, ruby_glob0): ditto.
* ext/pathname/pathname.c (path_sub_ext): ditto.
Tue Jan 24 14:20:42 2012 Nobuyoshi Nakada <[email protected]>
* vm.c (rb_iter_break_value): new function to break a block with
the value. [ruby-dev:45132] [Feature #5895]
Tue Jan 24 12:58:41 2012 Yukihiro Matsumoto <[email protected]>
* object.c (rb_Hash): add Kernel#Hash conversion method like
Array() or Float(). a patch from Run Paint Run Run. Fix #3131
Tue Jan 24 11:38:05 2012 NARUSE, Yui <[email protected]>
* lib/uri/common.rb (URI.encode_www_form_component): initialize on
requiring to support JRuby, which runs parallel multithreads.
[ruby-core:42222] [Bug #5925]