-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
2692 lines (1705 loc) · 93.6 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
Wed Oct 5 05:56:39 2011 Eric Hodel <[email protected]>
* hash.c (Init_Hash): Improve Hash documentation. Patch by Alvaro
Pereyra Rabanal. [Ruby 1.9 - Bug #5405]
Wed Oct 5 05:47:59 2011 Eric Hodel <[email protected]>
* random.c (Init_Random): Add a top-level comment for Random. Patch
by Brett Bim. [Ruby 1.9 - Bug #5403]
Wed Oct 5 02:50:27 2011 Aaron Patterson <[email protected]>
* ext/psych/lib/psych/syntax_error.rb: Add file, line, offset, and
message attributes during parse failure.
* ext/psych/parser.c: Update parser to raise exception with correct
values.
* test/psych/test_exception.rb: corresponding tests.
Wed Oct 5 01:52:16 2011 Aaron Patterson <[email protected]>
* ext/psych/parser.c (parse): Use context_mark for indicating error
line and column.
Wed Oct 5 01:22:08 2011 Aaron Patterson <[email protected]>
* ext/psych/lib/psych/scalar_scanner.rb: use normal begin / rescue
since postfix rescue cannot receive the exception class. Thanks
nagachika!
Tue Oct 4 21:10:08 2011 Nobuyoshi Nakada <[email protected]>
* class.c (class_alloc): allocate extra memory after containing
object setup to get rid of rare-but-potential memory leak.
* gc.c (gc_mark_children): skip marking extended members if ptr is
NULL.
Tue Oct 4 16:17:50 2011 NARUSE, Yui <[email protected]>
* lib/time.rb (Time.strptime): use Time.at if d[:seconds] is set.
Reported by Christopher Eberz. [ruby-core:39903] Bug #5399
Tue Oct 4 11:44:10 2011 NARUSE, Yui <[email protected]>
* gc.c (rb_gc_set_params): ruby_verbose can be Qnil, so use RTEST.
Tue Oct 4 08:33:41 2011 Eric Hodel <[email protected]>
* ext/etc/etc.c: Document Etc, Etc.sysconfdir, Etc.systmpdir. Patch
by mathew murphy. [Ruby 1.9 - Bug #5396]
Tue Oct 4 08:21:51 2011 Eric Hodel <[email protected]>
* lib/shellwords.rb: Update toplevel comment with an example. Patch
by Samnang Chhun. [Ruby 1.9 - Bug #5388]
Tue Oct 4 08:15:50 2011 Eric Hodel <[email protected]>
* proc.c (proc_call): Update documentation to match argument handling
of proc/Proc.new/lambda/->()
Tue Oct 4 07:59:16 2011 Eric Hodel <[email protected]>
* proc.c (proc_call): Fix documentation of Proc#call vs Proc#===.
[Ruby 1.9 - Bug #5349]
Tue Oct 4 07:43:18 2011 Eric Hodel <[email protected]>
* array.c (rb_ary_initalize): Make Array.new description match
call-seq. Patch by Henry Maddocks. [Ruby 1.9 - Bug #5344]
Tue Oct 4 07:35:23 2011 Eric Hodel <[email protected]>
* array.c (rb_ary_initialize): Add output for examples. Patch by
Jonathan Mukai. [Ruby 1.9 - Bug #5216]
Tue Oct 4 07:30:50 2011 Eric Hodel <[email protected]>
* array.c (rb_ary_s_create): Add example results for Array::[]. Patch
by Jonathan Mukai. [Ruby 1.9 - Bug #5215]
Tue Oct 4 07:15:17 2011 Eric Hodel <[email protected]>
* lib/rubygems: Update to RubyGems 1.8.11. Move Deprecate into the
Gem namespace.
Tue Oct 4 06:43:47 2011 Aaron Patterson <[email protected]>
* ext/psych/lib/psych.rb: update psych version.
* ext/psych/psych.gemspec: generate new gemspec for new version.
Tue Oct 4 06:29:55 2011 Aaron Patterson <[email protected]>
* ext/psych/lib/psych.rb: calling `yaml` rather than `to_yaml`.
* ext/psych/lib/psych/nodes/node.rb: Rename `to_yaml` to just `yaml`
in order to avoid YAML::ENGINE switching from replacing this method.
* test/psych/helper.rb: fix tests for method name change.
* test/psych/test_document.rb: ditto
* test/psych/visitors/test_emitter.rb: ditto
Tue Oct 4 06:20:19 2011 Aaron Patterson <[email protected]>
* ext/psych/lib/psych/scalar_scanner.rb: Match values against the
floating point spec defined in YAML to avoid erroneous parses.
* test/psych/test_numeric.rb: corresponding test.
Tue Oct 4 05:59:24 2011 Aaron Patterson <[email protected]>
* ext/psych/lib/psych/visitors/to_ruby.rb: ToRuby visitor can be
constructed with a ScalarScanner.
* ext/psych/lib/psych/visitors/yaml_tree.rb: ScalarScanner can be
passed to the YAMLTree visitor.
Tue Oct 4 05:47:23 2011 Aaron Patterson <[email protected]>
* ext/psych/lib/psych/visitors/to_ruby.rb: Define Regexp::NOENCODING
for 1.9.2 backwards compatibility.
* ext/psych/lib/psych/visitors/yaml_tree.rb: Fix Date string
generation for 1.9.2 backwards compatibility.
Mon Oct 3 23:56:39 2011 CHIKANAGA Tomoyuki <[email protected]>
* gc.c (rb_gc_set_params): output GC parameter change messages only
if -w/-v options are specified. these messages are output to stderr,
not to stdout. [ruby-core:39795] [Bug #5380]
* test/ruby/test_gc.rb (test_gc_parameter): add test for it.
Sun Oct 2 20:05:32 2011 Kazuki Tsujimoto <[email protected]>
* vm.c (rb_thread_mark), cont.c (cont_mark): revert r33369 and r33371
that may cause SEGV in certain environments.
Sun Oct 02 12:14:06 2011 Ayumu AIZAWA <[email protected]>
* test/psych/test_yamldbm.rb: add test case.
* test/syck/test_yamldbm.rb: ditto.
Sun Oct 2 11:28:09 2011 Aaron Patterson <[email protected]>
* lib/yaml/store.rb: make initialize method signature match the
superclass signature.
Sun Oct 2 10:44:01 2011 Kazuki Tsujimoto <[email protected]>
* io.c: fix documentation of ARGF.lineno=.
Sat Oct 1 20:03:19 2011 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (have_framework): try as Objective-C.
https://twitter.com/nagachika/status/120294447660539904
Sun Oct 2 08:43:25 2011 Kazuki Tsujimoto <[email protected]>
* vm.c (rb_thread_mark), cont.c (cont_mark): self pointer should not
be marked by itself. Patch by Koichi Sasada.
[ruby-dev:44567] [Bug #5386]
Sun Oct 2 00:42:14 2011 Kazuki Tsujimoto <[email protected]>
* vm.c (rb_thread_mark): rb_thread_t needs self to be marked.
[ruby-dev:44566] [Bug #5386]
Sat Oct 1 09:48:53 2011 CHIKANAGA Tomoyuki <[email protected]>
* gc.c (add_heap_slots, init_heap): reset heaps_inc zero when
heap slots are expanded by environment variable RUBY_HEAP_MIN_SLOTS.
[ruby-core:39777] [Bug #5380]
* test/ruby/test_gc.rb (test_gc_parameter): add test for it.
* test/ruby/envutil.rb (assert_normal_exit): add :child_env option to
enable pass environment variables to child process.
Thu Sep 29 13:17:51 2011 Nobuyoshi Nakada <[email protected]>
* array.c (ary_join_1): should not copy the encoding of non-string
element after string element. [ruby-core:39776] [Bug #5379]
Thu Sep 29 11:53:56 2011 Nobuyoshi Nakada <[email protected]>
* gc.c (slot_sweep, rb_gc_finalize_deferred)
(rb_objspace_call_finalizer, rb_gc): run finalizers
sequentially. [ruby-dev:44562]
Thu Sep 29 20:37:38 2011 Nobuyoshi Nakada <[email protected]>
* ext/gdbm/gdbm.c (rb_gdbm_fatal): adjust argument type.
Thu Sep 29 20:10:42 2011 Nobuyoshi Nakada <[email protected]>
* gc.c (is_id_value, is_live_object): extract from id2ref().
* gc.c (run_finalizer): use object instead of object id.
Thu Sep 29 20:07:36 2011 Nobuyoshi Nakada <[email protected]>
* use RB_TYPE_P which is optimized for constant types, instead of
comparison with TYPE.
Wed Sep 28 09:20:37 2011 Nobuyoshi Nakada <[email protected]>
* configure.in (pthread_np.h): needs pthread.h to be included
previously on OpenBSD. a patch by George Koehler <xkernigh AT
netscape.net> at [ruby-core:39752]. [Bug #5376]
Wed Sep 28 04:41:35 2011 Ayumu AIZAWA <[email protected]>
* test/psych/test_yamlstore.rb: use tmpdir for tmpfile.
* test/syck/test_yamlstore.rb: ditto.
Wed Sep 28 04:10:46 2011 Ayumu AIZAWA <[email protected]>
* ext/bigdecimal/README: update report to.
Tue Sep 28 04:05:00 2011 Kenta Murata <[email protected]>
* ext/bigdecimal/bigdecimal_en.html: removed because this file isn't
maintained now.
* ext/bigdecimal/bigdecimal_ja.html: ditto.
Tue Sep 27 09:55:40 2011 KOSAKI Motohiro <[email protected]>
* thread_pthread.c: make native_fd_select().
* thread.c (do_select): remove #ifdef _WIN32. Instead, use
native_fd_select() always.
Tue Sep 27 09:44:59 2011 KOSAKI Motohiro <[email protected]>
* thread.c (do_select): remove cygwin specific hack. It's layer
violation and too large hack.
* thread.c (cmp_tv, subtract_tv): removed.
Tue Sep 27 03:50:19 2011 Ayumu AIZAWA <[email protected]>
* test/rexml/test_sax.rb: add require 'rexml/document'.
Tue Sep 27 03:32:27 2011 Ayumu AIZAWA <[email protected]>
* test/psych/test_yamldbm.rb: fix #setup and #teardown.
[Bug #5370] [ruby-core:39730]
* test/syck/test_yamldbm.rb: ditto.
Mon Sep 26 11:27:38 2011 NARUSE, Yui <[email protected]>
* lib/webrick/httputils.rb: Add MIME Type definition of .js and .svg.
patched by Hal Brodigan. [ruby-core:39704] [Bug #5365]
Mon Sep 26 09:20:44 2011 KOSAKI Motohiro <[email protected]>
* configure.in: remove DJGPP support. It's not longer supported
since ruby 1.9.0.
Mon Sep 26 09:07:46 2011 KOSAKI Motohiro <[email protected]>
* include/ruby/defines.h: remove NextStep, OpenStep, Rhapsody
support. Last activity of their OSs are 7 years ago.
* configure.in: ditto.
* dir.c: ditto.
* ext/tk/extconf.rb: ditto.
Mon Sep 26 09:02:49 2011 KOSAKI Motohiro <[email protected]>
* configure.in: remove a code for human68k. it's no longer
supported since r19677.
Sun Sep 25 23:43:32 2011 Martin Bosslet <[email protected]>
* ext/openssl/ossl_asn1.c: fix int_ossl_asn1_decode0_cons when being
fed arbitrary string values.
Clearly distinguish between the cases "universal, infinite and
not a SEQUENCE or SET" and "universal SEQUENCE or SET, possibly
infinite". Raise error for universal tags that are not infinite.
* test/openssl/test_asn1.rb: add a test for this.
Thanks to Hiroshi Yoshida for reporting this bug.
[Bug #5363] [ruby-dev:44542]
Sun Sep 25 20:57:18 2011 Ayumu AIZAWA <[email protected]>
* test/syck/test/yamldbm.rb: add test for Syck::DBM.
* test/psych/test_yamldbm.rb: add test for Psych::DBM.
* test/psych/test_yamlstore.rb: add test for Psych::PStore.
Sun Sep 25 20:54:10 2011 Ayumu AIZAWA <[email protected]>
* lib/yaml/dbm/dbm.rb: fix #update, add #key for using instead #index.
[Bug #5305][ruby-dev:44485]
Sun Sep 25 16:54:33 2011 Nobuyoshi Nakada <[email protected]>
* encoding.c (require_enc): reject only loading from untrusted
load paths. [ruby-dev:44541] [Bug #5279]
* transcode.c (load_transcoder_entry): ditto.
Sun Sep 25 16:45:05 2011 Nobuyoshi Nakada <[email protected]>
* configure.in: ignore all warnings from an arbitrary
header in /usr/local/include.
Sun Sep 25 03:43:03 2011 NARUSE, Yui <[email protected]>
* enum.c (slice_before_i): use rb_attr_get to suppress wrong warning
for internal instance variable slicebefore_initial_state.
Fri Sep 23 14:20:14 2011 Martin Bosslet <[email protected]>
* ext/openssl/ossl_asn1.c: remove unused variable.
Fri Sep 23 13:46:59 2011 Martin Bosslet <[email protected]>
* test/openssl/test_ssl_session.rb: execute test_session_exts_read
only for OpenSSL versions >= 0.9.8k. Thanks, Eric Wong, for
reporting this.
[Bug #4961] [ruby-core:37726]
Fri Sep 23 11:59:08 2011 Martin Bosslet <[email protected]>
* test/openssl/test_ssl_session.rb: ensure server calls callbacks in
test_ctx_server_session_cb. Thanks to Eric Wong for the patch.
[Bug #5336] [ruby-core:39619]
Thu Sep 22 02:53:19 2011 Nobuyoshi Nakada <[email protected]>
* vm_insnhelper.c (vm_call_cfunc): suppress a warning. note that
`volatile type *var' doesn't make var itself volatile.
Thu Sep 22 01:52:48 2011 CHIKANAGA Tomoyuki <[email protected]>
* thread_pthread.c (ubf_select): activate timer thread when interrupt
blocking thread.
A patch created by Koichi Sasada. [ruby-core:39634] [Bug #5343]
to cover race condition, timer thread periodically send SIGVTARLM to
threads in signal thread list. so you should activate timer thread
when interrupt a thread.
Wed Sep 21 16:55:26 2011 NAKAMURA Usaku <[email protected]>
* test/io/wait/test_io_wait.rb (TestIOWait#setup): of course, the
behavior of mingw is just same with mswin.
Tue Sep 20 18:08:51 2011 Nobuyoshi Nakada <[email protected]>
* vm_insnhelper.c (vm_get_cvar_base): reduce duplicated checks and
move a warning outside the loop.
Mon Sep 19 18:55:51 2011 Ayumu AIZAWA <[email protected]>
* lib/fileutils.rb (module FileUtils): improve performance of
FileUtils.compare_stream. a patch by Masaki Matsushita.
[Feature #5337] [ruby-core:39622]
Mon Sep 19 18:42:58 2011 KOSAKI Motohiro <[email protected]>
* test/-ext-/old_thread_select/test_old_thread_select.rb:
select() with timeout may return early in old Linux kernels
with 250 Hz tickrate and no dynticks, so skip everything older
than 2.6.32 (which has long term support).
And, Make the timing assertions consistently use assert_operator with
timing difference in error message
Patch by Eric Wong. [Bug #5335] [ruby-core:39618]
Mon Sep 19 09:28:06 2011 Eric Hodel <[email protected]>
* test/openssl/test_ssl.rb (class OpenSSL): Test
OpenSSL::SSL::SSLSocket#session and #session=.
Mon Sep 19 07:54:17 2011 Nobuyoshi Nakada <[email protected]>
* object.c (rb_obj_clone): singleton class should be attached
singleton object to. a patch by Satoshi Shiba <shiba AT rvm.jp>
at [ruby-dev:44460]. [Bug #5274]
Sat Sep 17 23:34:10 2011 Nobuyoshi Nakada <[email protected]>
* parse.y (parser_data_type): inherit the core type in ripper so
that checks in core would work. [ruby-core:39591] [Bug #5331]
Sat Sep 17 12:44:04 2011 Kazuki Tsujimoto <[email protected]>
* lib/find.rb (Find.find): add documentation that Find.find
without block returns an enumerator.
Thu Sep 15 11:39:43 2011 Nobuyoshi Nakada <[email protected]>
* gc.c (mark_entry, mark_key, mark_keyvalue): adjust callback
argument types.
Thu Sep 15 01:44:10 2011 Ayumu AIZAWA <[email protected]>
* ext/tk/*: Change encoding from EUC-JP to UTF-8
Wed Sep 14 11:43:37 2011 KOSAKI Motohiro <[email protected]>
* thread.c (rb_fd_rcopy): added an argument guard.
Patch by NAKAMURA Usaku. [Bug #5306] [ruby-core:39435]
Tue Sep 13 20:21:49 2011 Nobuyoshi Nakada <[email protected]>
* lib/pstore.rb, test/test_pstore.rb: suppress warnings with -v.
* lib/pstore.rb (PStore): always open in binary mode even if
default encodings are set. [Bug #5311] [ruby-core:39503]
Tue Sep 13 05:37:15 2011 Yukihiro Matsumoto <[email protected]>
* io.c (Init_IO): update BINARY comment. it should not change the
encoding of the result to ASCII-8BIT. [ruby-talk:387719]
Mon Sep 12 19:55:00 2011 KOSAKI Motohiro <[email protected]>
* thread.c (rb_thread_select): fix to ignore an argument
modification of rb_thread_fd_select().
based on a patch by Eric Wong. [Bug #5306] [ruby-core:39435]
* thread.c (rb_fd_rcopy): New. for reverse fd copy.
* test/-ext-/old_thread_select/test_old_thread_select.rb
(test_old_select_false_positive): test for bug5306.
* ext/-test-/old_thread_select/old_thread_select.c (fdset2array):
New. convert fdsets to array.
* ext/-test-/old_thread_select/old_thread_select.c (old_thread_select):
return 'read', 'write', 'except' argument of rb_thread_select()
to ruby script.
Mon Sep 12 13:38:12 2011 Nobuyoshi Nakada <[email protected]>
* README.EXT, README.EXT.ja (2.2.2), parse.y (rb_check_id): add
documents for rb_check_id().
Mon Sep 12 12:53:39 2011 NAKAMURA Usaku <[email protected]>
* lib/rake/file_list.rb (Rake::FileList#egrep): there is no need to
open files in binary mode.
see more details in https://github.com/jimweirich/rake/issues/74
Mon Sep 12 12:42:36 2011 Nobuyoshi Nakada <[email protected]>
* test/ruby/test_exception.rb (TestException#test_exit_success_p):
assert also the cases when exiting with true and false.
* lib/test/unit/assertions.rb (assert_send): make arguments in
the default message clearer.
Sun Sep 11 05:23:14 2011 Marc-Andre Lafortune <[email protected]>
* lib/matrix.rb: Deal with subclasses of Matrix [redmine #5307]
Sat Sep 10 13:38:20 2011 Ayumu AIZAWA <[email protected]>
* dir.c (dir_s_aref):
* dir.c (dir_entries): Two small documentation fixes.
A patch from Aaron Lerch. [Bug #5302] [ruby-core:39404]
Sat Sep 10 08:30:03 2011 Koichi Sasada <[email protected]>
* gc.c (GC_PROFILE_MORE_DETAIL, CALC_EXACT_MALLOC_SIZE):
define macros only if they are not defined.
fixes: [Ruby 1.9 - Feature #5291]
Sat Sep 10 08:25:47 2011 Yukihiro Matsumoto <[email protected]>
* parse.y (bv_decls): parse.y relies on $$ = $1 before action
routines. a patch from Michael Edgar. [Bug #5303]
[ruby-core:39429]
Sat Sep 10 01:37:55 2011 Kazuhiro NISHIYAMA <[email protected]>
* sample/drb/dhasenc.rb: coding cookie of Emacs is coding,
not encoding.
* sample/mine.rb: ditto.
Fri Sep 9 21:56:40 2011 Ayumu AIZAWA <[email protected]>
* ext/bigdecimal/bigdecimal.c (BigDecimal_sqrt): Fix comment.
BigDecimal#sqrt requires argument. Reported by Makoto Kishimoto.
Thanks for your contribution. [Bug #5267] [ruby-dev:44452]
Fri Sep 9 11:00:55 2011 Shota Fukumori <[email protected]>
* test/rubygems/test_gem_commands_help_command.rb: Add one
`require` because if run test-all with test/unit parallel
running, sometimes this test fails by some constants not found.
The error reason is some worker doesn't require the file needed by
this test. This issue is related to [ruby-core:36168].
Fri Sep 9 10:22:03 2011 Nobuyoshi Nakada <[email protected]>
* thread.c (rb_thread_select): fix a typo to initialize efds
properly. [Bug #5299] [ruby-core:39380]
Fri Sep 9 02:02:09 2011 Ayumu AIZAWA <[email protected]>
* template/yarvarch.ja:
Change encoding from Shift_JIS to UTF-8
Thu Sep 9 01:14:00 2011 Ayumu AIZAWA <[email protected]>
* sample/drb/README.rd.ja:
* sample/drb/dhasenc.rb:
* sample/mine.rb:
Change encoding from EUC-JP to UTF-8
Thu Sep 8 21:03:22 2011 NARUSE, Yui <[email protected]>
* ext/nkf/nkf-utf8/nkf.c: import nkf 2.1.2 (be9c280)
Bump version number/release date only.
Thu Sep 8 12:43:18 2011 Narihiro Nakamura <[email protected]>
* gc.c (Init_GC): defined GC::Profiler.raw_data. based on the
patch by Eric Hodel. [ruby-core:37857] [Bug #4991]
Thu Sep 8 09:02:53 2011 Nobuyoshi Nakada <[email protected]>
* gc.c (id2ref): objects which are unmarked but not in sweep_slots
are not dead.
Thu Sep 8 07:44:25 2011 Nobuyoshi Nakada <[email protected]>
* transcode.c (rb_declare_transcoder, load_transcoder_entry): no
longer need to limit the length of transcoder library name.
Thu Sep 8 07:36:36 2011 NARUSE, Yui <[email protected]>
* ext/syck/lib/syck/types.rb: use toplevel Syck.
for the case someone define Syck::Syck (or YAML::Syck).
Thu Sep 8 07:33:12 2011 Nobuyoshi Nakada <[email protected]>
* gc.c (id2ref): unmarked object is already dead while lazy
sweeping, and to it cannot come back since other objects
referred from it might have been freed already.
Wed Sep 8 03:48:00 2011 Ayumu AIZAWA <[email protected]>
* ext/readline/README.ja:
Change encoding from EUC-JP to UTF-8
Wed Sep 8 02:59:00 2011 Ayumu AIZAWA <[email protected]>
* test/rexml/test_encoding.rb:
Add require 'require 'rexml/document'
Wed Sep 8 02:53:00 2011 Ayumu AIZAWA <[email protected]>
* ext/nkf/nkf-utf8/nkf.c:
Change encoding from ISO-2022 to UTF-8
Wed Sep 7 23:41:24 2011 Kouhei Sutou <[email protected]>
* lib/rexml/parsers/baseparser.rb, test/rexml/test_comment.rb:
allow a single hyphen in comment. [Bug #5278] [ruby-core:39289]
Reported by Thomas Fritzsche. Thanks!!!
Wed Sep 7 17:27:18 2011 NARUSE, Yui <[email protected]>
* lib/yaml.rb: explicitly specify ::Object to avoid the collision with
Syck::Object.
Tue Sep 6 21:06:49 2011 Shota Fukumori <[email protected]>
* lib/test/unit.rb (_run_suites): Now reports are written the
following order: Skip, Failure, Error. [Feature #5282]
* test_sorting.rb: test for above.
* test4test_sorting.rb: Ditto.
* lib/test/unit.rb (run): Put RUBY_DESCRIPTION before quitting.
[Feature #5282]
Tue Sep 6 21:13:47 2011 Masaya Tarui <[email protected]>
* win32/Makefile.sub (INSNS): change command line option -Ks to -Ku
for generate *.inc. because insns.def encoding has been changed SJIS
to UTF-8. if $BASERUBY is 1.9, -Ks cause an error. [Feature #5128]
(same as r33194)
Tue Sep 6 15:55:24 2011 Nobuyoshi Nakada <[email protected]>
* transcode.c (load_transcoder_entry): concatenate paths directly.
* encoding.c (load_encoding): predefined encoding names are safe.
[ruby-dev:44469] [Bug #5279]
* transcode.c (load_transcoder_entry): ditto.
Tue Sep 6 12:07:10 2011 Nobuyoshi Nakada <[email protected]>
* transcode.c: enabled econv newline option.
Tue Sep 6 06:44:57 2011 Marc-Andre Lafortune <[email protected]>
* numeric.c (dbl2ival): Fix Float#divmod and #round for 32 bit
platform. part 1 of [bug #5276]
Tue Sep 6 06:44:25 2011 Marc-Andre Lafortune <[email protected]>
* numeric.c (flo_round): Fix criteria for 32 bits platform
part 2 of [bug #5276]
Tue Sep 6 05:37:11 2011 Masatoshi SEKI <[email protected]>
* test/rinda/test_rinda.rb (test_core_03_notify): Fixed test failures
[ruby-dev:44430] [Ruby 1.9 - Bug #372]
Mon Sep 5 20:59:30 2011 CHIKANAGA Tomoyuki <[email protected]>
* insns.def: change encoding pragma for emacs (shift_jis to utf-8).
Mon Sep 5 19:32:15 2011 CHIKANAGA Tomoyuki <[email protected]>
* Makefile.in (INSNS): change command line option -Ks to -Ku for
generate *.inc. because insns.def encoding has been changed SJIS to
UTF-8. if $BASERUBY is 1.9, -Ks cause an error. [Feature #5128]
Mon Sep 5 18:10:56 2011 Nobuyoshi Nakada <[email protected]>
* transcode.c (rb_econv_binmode): newline decorators are
exclusive.
Mon Sep 5 15:03:37 2011 NARUSE, Yui <[email protected]>
* test/rubygems/test_gem_security.rb
(test_class_build_self_signed_cert): reset opt[:trust_dir] to apply
temporary Gem.user_home.
Mon Sep 5 10:04:35 2011 Ayumu AIZAWA <[email protected]>
* README.ja, README.EXT.ja: resolve conflicts. [ruby-dev:44459]
Mon Sep 5 05:13:22 2011 Marc-Andre Lafortune <[email protected]>
* numeric.c (flo_round): Make Float#round round big values [bug
#5272]
Mon Sep 5 04:28:25 2011 Marc-Andre Lafortune <[email protected]>
* numeric.c (int_round): Integer#round always returns an Integer [Bug
#5271]
Sun Sep 4 22:28:50 2011 Shugo Maeda <[email protected]>
* lib/net/imap.rb (default_port, default_imap_port,
default_tls_port, default_ssl_port, default_imaps_port):
added methods for consistency with Net::POP.
based on the patch by art lussos. [ruby-core:38997] [Bug #5198]
Sun Sep 4 21:19:19 2011 Ayumu AIZAWA <[email protected]>
* Change encoding from EUC-JP to UTF-8. [Feature #5128]
Sun Sep 4 00:47:39 2011 Kazuki Tsujimoto <[email protected]>
* test/ruby/test_fiber.rb (TestFiber#test_no_valid_cfp):
add a test. Unlike TestThread#test_no_valid_cfp,
this test succeeds even if win32ole is required (see r33153).
Sun Sep 4 00:11:49 2011 Nobuyoshi Nakada <[email protected]>
* variable.c (rb_const_set): show the previous definition
location. [EXPERIMENTAL]
Sat Sep 3 23:56:24 2011 Nobuyoshi Nakada <[email protected]>
* configure.in (sizeof_struct_dirent_too_small): check if struct
dirent.d_name is too small.
* configure.in (RUBY_MINGW32): take tool prefix from CC.
Sat Sep 3 23:52:08 2011 Nobuyoshi Nakada <[email protected]>
* io.c (argf_next_argv): open in default text mode.
[ruby-core:39234] [Bug #5268]
Sat Sep 3 18:40:57 2011 CHIKANAGA Tomoyuki <[email protected]>
* lib/thread.rb (SizedQueue#max=): raise ArgumentError if max is not
positive number. patch by Masaki Matsushita.
[ruby-dev:44449] [Bug #5259]
* test/thread/test_queue.rb (test_sized_queue_initialize,
test_sized_queue_assign_max): add tests for it.
Fri Sep 2 21:11:16 2011 Nobuyoshi Nakada <[email protected]>
* io.c (validate_enc_binmode, prep_stdio): default to text mode on
dosish platforms. [ruby-core:38822] [Bug #5164]
* transcode.c (rb_econv_prepare_options): keep default ecflags
unchanged if no options.
Fri Sep 2 14:36:47 2011 Nobuyoshi Nakada <[email protected]>
* vm_insnhelper.c (vm_search_const_defined_class): search
ancestors only when global scope. [ruby-core:39227] [Bug #5264]
Fri Sep 2 09:58:08 2011 Nobuyoshi Nakada <[email protected]>
* parse.y (parser_tokadd_string, parser_yylex): ignore a backslash
which prefixes an non-ascii character, which has no escape
syntax. [ruby-core:39222] [Ruby 1.9 - Bug #5262]
Fri Sep 2 04:05:25 2011 Aaron Patterson <[email protected]>
* ext/psych/lib/psych/visitors/yaml_tree.rb: emit strings tagged as
ascii-8bit as binary in YAML.
* test/psych/test_string.rb: corresponding test.
Fri Sep 2 01:07:14 2011 Nobuyoshi Nakada <[email protected]>
* numeric.c (flo_round): substitute machine dependent magic number.
Thu Sep 1 17:31:22 2011 Nobuyoshi Nakada <[email protected]>
* insns.def (defineclass), vm_insnhelper.c (vm_get_cvar_base): see
also inherited constants for classes without superclass and
modules. [ruby-core:37698] [Bug #3423]
Thu Sep 1 16:18:44 2011 Hiroshi Nakamura <[email protected]>
* Release GVL while OpenSSL's public key generation.
t = Thread.new { print "."; sleep 0.1 }
key = OpenSSL::PKey::RSA.new(2048)
#=> Thread t works in parallel with public key generation if
OS/machine allows it.
This works with OpenSSL >= 0.9.8. From this version, it has new
public key generation function which allows us to interrupt the
execution while pkey generation iterations.
* ext/openssl/extconf.rb: Check existence of OpenSSL's new public key
generation function. (DH_generate_parameters_ex,
DSA_generate_parameters_ex and RSA_generate_key_ex.
* ext/openssl/ossl_pkey.{h,c} (ossl_generate_cb_2,
ossl_generate_cb_stop): Added new callback function for OpenSSL pkey
generation which handles Thread interruption by Ruby.
ossl_generate_cb_stop is the unblock function(ubf) for Ruby which
sets a stop flag. New pkey generation callback ossl_generate_cb_2
checks the stop flag at each iterations of OpenSSL and interrupts
pkey generation when the flag is set.
* ext/openssl/ossl_pkey_dsa.c (dsa_generate): Call
rb_thread_blocking_region with the above unblock function to release
GVL while pkey generation.
* ext/openssl/ossl_pkey_rsa.c (rsa_generate): ditto.
* ext/openssl/ossl_pkey_dh.c (dh_generate): ditto.
* test/openssl/test_pkey_{dh,dsa,rsa}.rb: Test it.
Thu Sep 1 14:06:54 2011 NAKAMURA Usaku <[email protected]>
* test/ruby/test_thread.rb (TestThread#test_no_valid_cfp): skip when
win32ole is required. in such case, win32ole redefines
Thread#initialize, and the block argument becomes to be not the top
of the thread, then this testcase always fails.
Thu Sep 1 10:20:50 2011 NAKAMURA Usaku <[email protected]>
* test/ruby/test_io_m17n.rb (TestIO_M17N#test_{default_mode_on_dosish,
default_mode_on_unix,text_mode,binary_mode}): sorry for wrong test
committed in r33144. I'd misunderstood the spec of ruby's universal
newline.
Thu Sep 1 09:27:57 2011 NARUSE, Yui <[email protected]>
* variable.c (rb_autoloading_value): Fix the order of definitions.
It is used by autoload_defined_p.
Wed Aug 31 17:28:23 2011 Hiroshi Nakamura <[email protected]>
* variable.c (rb_autoload): There was a chance to run GC (from
rb_str_new2()) before finishing autoload_data_i construction. It
caused SEGV at rb_gc_mark() at autoload_i_mark.
* variable.c (rb_autoload_load): Move RB_GC_GUARD() to proper
position based on suggestion by CHIKANAGA Tomoyuki at
http://d.hatena.ne.jp/nagachika/20110826/ruby_trunk_changes_33070_33078
* variable.c (autoload_defined_p): Fix incompatible autoload behavior
that causes Rails crash. Class definition instruction defined in
'defineclass' in insns.def always invokes rb_autoload_load for a
constant. It's invoked for every class definition regardless of
existence of autoload definition. rb_autoload_load checks if a
constant is defined as autoloaded, but new thread-safe autoload
returned different value if the constant is under autoloading.
Wed Aug 31 17:20:56 2011 Hiroshi Nakamura <[email protected]>
* Re-apply r33078, thread-safe autoload which is reverted at r33093.
Wed Aug 31 16:28:04 2011 NAKAMURA Usaku <[email protected]>
* test/ruby/test_io_m17n.rb (TestIO_M17N#test_{default_mode_on_dosish,
default_mode_on_unix,text_mode,binary_mode}): tests for [Bug #5164].
Wed Aug 31 15:54:11 2011 NARUSE, Yui <[email protected]>
* ext/json: Merge json gem v1.5.4 (3dab4c5a6a97fac03dac).
Wed Aug 31 13:09:41 2011 Marc-Andre Lafortune <[email protected]>
* numeric.c (flo_round): Avoid overflow by optimizing for trivial
cases [Bug #5227]
Wed Aug 31 00:50:01 2011 NAKAMURA Usaku <[email protected]>
* win32/win32.c (rb_w32_select_with_thread): and my typo. we all must
be more careful.
Wed Aug 31 00:48:38 2011 NAKAMURA Usaku <[email protected]>
* thread.c (rb_thread_select): critical typo in r33117.
Wed Aug 31 00:30:49 2011 NAKAMURA Usaku <[email protected]>
* test/-ext-/old_thread_select/test_old_thread_select.rb
(TestOldThreadSelect#test_old_select_read_timeout): if the machine
is fast enough, the time used by code around IO.select may be smaller
than Time implement threshold.
Wed Aug 31 00:04:38 2011 NAKAMURA Usaku <[email protected]>
* ext/-test-/old_thread_select/old_thread_select.c (old_thread_select):
typo.
* test/-ext-/old_thread_select/test_old_thread_select.rb
(TestOldThreadSelect#test_old_select_signal_safe): use SIGINT instead
of SIGUSR1 because the former is general and the latter is platform
dependent.
Tue Aug 30 23:59:36 2011 NAKAMURA Usaku <[email protected]>
* win32/win32.c, include/ruby/intern.h (rb_w32_fd_copy): implement
for rb_thread_select() in thread.c. the use of rb_fd_copy() is
introduced in r33117.
[Bug #5251] [ruby-core:39195]
* thread.c (rb_thread_select): must call rb_fd_init() before using
rb_fdset_t. see the implementations of rb_fd_init()s if you want to
know the reason.
Tue Aug 30 22:34:45 2011 CHIKANAGA Tomoyuki <[email protected]>
* test/dl/test_callback.rb (test_callback_with_string): prevents
temporary string from GC.
Tue Aug 30 22:25:38 2011 NAKAMURA Usaku <[email protected]>
* vm_insnhelper.c (vm_call_cfunc): revert r33112. RB_GC_GUARD macro
protect a VALUE from GC. It's not for general anti-optimizing
purpose.
Tue Aug 30 11:06:19 2011 NARUSE, Yui <[email protected]>
* ext/json: Merge json gem 1.5.4+ (2149f4185c598fb97db1).
[Bug #5173] [ruby-core:38866]
Tue Aug 30 09:57:50 2011 KOSAKI Motohiro <[email protected]>
* lib/thread.rb (Queue#pop): fix a race against Thread.wakeup.
Patch by Masaki Matsushita <glass.saga at gmail dot com>
[Bug #5195] [ruby-dev:44400]
Tue Aug 30 09:48:07 2011 KOSAKI Motohiro <[email protected]>
* cont.c (fiber_entry): fix stack allocation failure on Debian
GNU/kFreeBSD.
Patch by Lucas Nussbaum <lucas at lucas-nussbaum dot net>.
[Bug #5241] [ruby-core:39147]
Tue Aug 30 09:28:01 2011 KOSAKI Motohiro <[email protected]>
* thread.c (rb_thread_select): rewrite by using
rb_thread_fd_select(). old one is EINTR unsafe.
Patch by Eric Wong. [Bug #5229] [ruby-core:39102]
* test/-ext-/old_thread_select/test_old_thread_select.rb:
a testcase for rb_thread_select().
* ext/-test-/old_thread_select/old_thread_select.c: ditto.
* ext/-test-/old_thread_select/depend: ditto.
* ext/-test-/old_thread_select/extconf.rb: ditto.
Tue Aug 30 09:08:22 2011 KOSAKI Motohiro <[email protected]>
* configure.in: fix a build failure on GNU Hurd.
Patch by Samuel Thibault <sthibault at debian dot org>. Thank you!
[Bug #5250] [ruby-core:39185]
Sun Aug 29 23:22:00 2011 Kenta Murata <[email protected]>
* test/ruby/test_numeric.rb (test_num2long): modify a test against the
change by r33108.
Sun Aug 29 09:58:00 2011 Kenta Murata <[email protected]>
* numeric.c (bit_coerce): A Fixnum and a Bignum are only permitted for
bitwise arithmetic with a Fixnum. #1792
* test/ruby/test_fixnum.rb: add tests for the above change.
* bignum.c (bit_coerce): A Fixnum and a Bignum are only permitted for
bitwise arithmetic with a Bignum. #1792
* test/ruby/test_bignum.rb: add tests for the above change.
Sun Aug 28 15:38:17 2011 CHIKANAGA Tomoyuki <[email protected]>
* ext/date/date_parse.c (date_zone_to_diff): keep a temporary string
stored in variable while the contents buffer is being used.
* ext/date/date_parse.c (date_zone_to_diff): get rid of out of bounds
memory read. [ruby-dev:44409] [Bug #5213]
Sun Aug 28 05:29:50 2011 Ryan Davis <[email protected]>
* lib/minitest/*: Imported minitest 2.5.1 (r6596)
* test/minitest/*: ditto
Sat Aug 27 20:46:05 2011 Kazuki Tsujimoto <[email protected]>
* vm.c (rb_vm_rewrite_dfp_in_errinfo): change return type
to suppress a warning.
* vm_core.h: ditto.
Sat Aug 27 19:04:06 2011 NARUSE, Yui <[email protected]>
* internal.h (rb_strftime_timespec): moved from time.c and define only
if ruby/encoding.h is included.
* internal.h (rb_strftime): ditto.
Sat Aug 27 18:53:51 2011 Kazuki Tsujimoto <[email protected]>
* proc.c (proc_new): force to rewrite errinfo when calling Proc.new in ensure.
[Bug #5234] [ruby-core:39125]
This code will be removed after changing throw mechanism (see r33064).
* vm.c (rb_vm_rewrite_dfp_in_errinfo): new function.
* vm.c (vm_make_env_each): changed accordingly.
* vm_core.h: ditto.
* bootstraptest/test_flow.rb: add tests for above.
Sat Aug 27 18:44:06 2011 NARUSE, Yui <[email protected]>
* internal.h (rb_strftime_timespec): move to time.c because it depends
encoding.h.
Sat Aug 27 18:17:58 2011 NARUSE, Yui <[email protected]>
* strftime.c (rb_strftime_with_timespec): get enc argument to specify
the encoding of the format. On Windows (at least Japanese Windows),
Time#strftime("%Z") includes non ASCII in locale encoding (CP932).
So convert locale to default internal. [ruby-core:39092] [Bug #5226]
* strftime.c (rb_strftime): ditto.
* strftime.c (rb_strftime_timespec): ditto.
* internal.h (rb_strftime_timespec): follow above.
* time.c (rb_strftime_alloc): ditto.
* time.c (strftimev): ditto.
* time.c (time_strftime): ditto.
* time.c (time_to_s): the resulted string of Time#to_s is always
ascii only, so this should be US-ASCII.
* time.c (time_asctime): ditto.
Sat Aug 27 11:18:12 2011 Hiroshi Nakamura <[email protected]>
* Revert r33078. It caused a Rails application NoMethodError.
/home/nahi/git/emptyApp/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/utils.rb:157: warning: toplevel constant ScanError referenced by Regin::Parser::ScanError
/home/nahi/git/emptyApp/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/vendor/regin/regin/parser.rb:17:in `parse_regexp': undefined method `scan_str' for #<Regin::Parser:0x00000002344548> (NoMethodError)
Sat Aug 27 08:44:58 2011 Eric Hodel <[email protected]>
* lib/rdoc: Import RDoc 3.9.4. Typo and grammar fixes by Luke Gruber.
[Ruby 1.9 - Bug #5203]
Sat Aug 27 07:53:34 2011 Eric Hodel <[email protected]>
* lib/open-uri.rb: Fix indentation of OpenURI::OpenRead#open. Use ++
instead of `' for method arguments in open-uri.rb