-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
5549 lines (3485 loc) · 189 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
Fri Dec 30 17:01:12 2011 Ayumu AIZAWA <[email protected]>
* vm_eval.c (rb_f_send): fix iobj.send() documentation issue.
[Bug #5125] [ruby-core:38633]
Thu Dec 29 22:36:16 2011 CHIKANAGA Tomoyuki <[email protected]>
* lib/test/unit.rb (Test::Unit::Runner::Worker#_run_parallels): fix
premature exit when all workers' status are :ready or :prepare.
[ruby-dev:45061] [Bug #5822]
Thu Dec 29 01:51:13 2011 CHIKANAGA Tomoyuki <[email protected]>
* include/ruby/ruby.h: fix #error pragma. LLP64 platform is supported.
* include/ruby/st.h: ditto.
Wed Dec 28 11:22:45 2011 Nobuyoshi Nakada <[email protected]>
* lib/fileutils.rb (FileUtils::Entry_#entries): use utility method
instead of typoed regexp. [ruby-core:41829] [Bug #5817]
Wed Dec 28 02:08:04 2011 CHIKANAGA Tomoyuki <[email protected]>
* vm_insnhelper.c (unknown_keyword_error): add GC guard to prevent
intermediate object from GC.
Tue Dec 27 22:34:54 2011 Shota Fukumori <[email protected]>
* lib/test/unit.rb (Worker#close): "closing IO if IO is closed"
should be "closing IO if IO isn't closed"
Tue Dec 27 22:04:27 2011 Nobuyoshi Nakada <[email protected]>
* st.c (st_update): new function to lookup the given key and
update the value. [ruby-dev:44998]
Tue Dec 27 21:17:33 2011 Nobuyoshi Nakada <[email protected]>
* node.h (rb_args_info): change pre_args_num and post_args_num as
int, to match with rb_iseq_t.
* parse.y (new_args_gen): check overflow.
Mon Dec 26 22:38:35 2011 Yusuke Endoh <[email protected]>
* vm_insnhelper.c (unknown_keyword_error): make it kind a error
message when unknown keyword is given. It require more work.
See [ruby-core:40518] and [ruby-core:40541] in detail.
Mon Dec 26 22:31:07 2011 Yusuke Endoh <[email protected]>
* vm_core.h (struct rb_iseq_struct), compile.c (iseq_set_arguments),
iseq.c (rb_iseq_parameters), vm_insnhelper.c
(vm_callee_setup_arg_complex): support Method#parameters for keyword
arguments. The provisional spec is what Benoit Daloze proposed.
[ruby-core:40541]
* test/ruby/test_keyword.rb: add a test for above.
Mon Dec 26 22:15:27 2011 Yusuke Endoh <[email protected]>
* vm_core.h (struct rb_iseq_struct), compile.c (iseq_set_arguments,
iseq_compile_each), vm_insnhelper.c (vm_callee_setup_arg_complex):
implement keyword arguments. See [ruby-core:40290]
The feature is promised to be included in 2.0, but the detail spec
is still under discussion; this commit is a springboard for further
discussion. Please try it and give us feedback.
This commit includes fixes for some problems reported by Benoit
Daloze <eregontp AT gmail.com> [ruby-core:40518] and Marc-Andre
Lafortune <ruby-core-mailing-list AT marc-andre.ca>
[ruby-core:41772].
* iseq.c (iseq_free, prepare_iseq_build): bookkeeping.
* test/ruby/test_keyword.rb: add tests for keyword arguments.
* test/ripper/dummyparser.rb (class DummyParser): temporal fix for
ripper test.
Mon Dec 26 22:00:17 2011 Yusuke Endoh <[email protected]>
* node.h, node.c, parse.y: implement a parser part for keyword
arguments.
This is a preparation for keyword argument (see [ruby-core:40290]).
* gc.c (gc_mark_children): bookkeeping.
Mon Dec 26 21:03:18 2011 Yusuke Endoh <[email protected]>
* node.h, parse.y (new_args_gen), compile.c (iseq_set_arguments): use
struct rb_args_info instead of NODEs.
This is a preparation for keyword argument (see [ruby-core:40290]).
* node.c (dump_node), gc.c (gc_mark_children, obj_free): bookkeeping.
Mon Dec 26 20:59:51 2011 Yusuke Endoh <[email protected]>
* node.h, parse.y (lambda, f_larglist): remove NEW_LAMBDA hack.
This is a preparation for keyword argument (see [ruby-core:40290]).
Mon Dec 26 22:01:19 2011 Hiroshi Shirosaki <[email protected]>
* io.c (rb_sys_fail_path): move the definition.
Move above for using it in set_binary_mode_with_seek_cur().
* io.c (set_binary_mode_with_seek_cur): fix improper seek cursor.
Seeking file cursor with setting binary mode has possibility to
cause infinite loop. Fixed the bug and refined error handling.
Introduced at r34043.
And cleanups as below.
Remove unnecessary parentheses of `fptr`.
Use return value of setmode().
* test/ruby/test_io_m17n.rb
(TestIO_M17N#test_seek_with_setting_binmode): add a test for above.
[ruby-core:41671] [Bug #5714]
Mon Dec 26 17:01:14 2011 Nobuyoshi Nakada <[email protected]>
* common.mk (LIBRUBY_A): depends on main.o since r33774.
[ruby-core:41786] [Bug #5796]
Mon Dec 26 13:07:08 2011 NAKAMURA Usaku <[email protected]>
* test/ruby/test_io.rb (TestIO#test_autoclose): Tempfile.new doesn't
accept the block argument.
Mon Dec 26 13:06:52 2011 Shota Fukumori <[email protected]>
* lib/test/unit.rb: Avoid zombie processes on "--separate" option
added at r34121.
Mon Dec 26 04:01:23 2011 Martin Bosslet <[email protected]>
* ext/openssl/ossl_cipher.c: Update and complete documentation.
Sun Dec 25 23:16:11 2011 Shota Fukumori <[email protected]>
* test/testunit/test_parallel.rb (test_separate): Test for "--separate"
option (r34121)
Sun Dec 25 22:39:49 2011 Shota Fukumori <[email protected]>
* lib/test/unit.rb (_run_parallel):
New option "--separate" for test/unit; when running tests with this
option, a job process will be restarted after one test file has done.
This means all test files will run with separated process.
* lib/test/unit/parallel.rb: Fix for above. Now parallel.rb puts
"ready!" for first ready, "ready" for afters.
Sun Dec 25 00:02:15 2011 Luis Lavena <[email protected]>
* configure.in: change --with-ntver to --with-winnt-ver to be more
descriptive in the context. [ruby-core:41794]
Sat Dec 24 23:25:15 2011 Luis Lavena <[email protected]>
* configure.in: add --with-ntver option to match win32/configure.bat
functionality. Set 0x0501 as default. [ruby-core:35010]
[ruby-core:35035]
Sat Dec 24 12:38:53 2011 Nobuyoshi Nakada <[email protected]>
* proc.c (proc_call): get rid of optimization-out by clang.
* proc.c (rb_proc_call, rb_proc_call_with_block): ditto.
Sat Dec 24 10:56:32 2011 Nobuyoshi Nakada <[email protected]>
* ext/readline/readline.c (readline_readline): check if outstream
is closed to get rid of a bug of readline 6. [ruby-dev:45043]
[Bug #5803]
Sat Dec 24 06:59:49 2011 Nobuyoshi Nakada <[email protected]>
* test/readline/test_readline.rb (test_line_buffer__point): use
lambda not to exit entire method by "return". or "next" for
proc. [ruby-dev:45042] [Bug #5802]
Sat Dec 24 01:20:39 2011 Kazuki Tsujimoto <[email protected]>
* vm_eval.c (send_internal): PASS_PASSED_BLOCK_TH must be placed
just before calling rb_call0.
* bootstraptest/test_flow.rb: add a test for above.
Sat Dec 24 00:55:16 2011 Tanaka Akira <[email protected]>
* lib/tempfile.rb (Tempfile#initialize): warn if a block is given.
Fri Dec 23 16:14:30 2011 TAKAO Kouji <[email protected]>
* ext/readline/readline.c (readline_attempted_completion_function):
in Readline module with GNU Readline 6 case, Readline module
resets completion_append_character to " ", after it executes
completion. So, Readline module stores
completion_append_character, and Readline module always sets it
after Readline module executes completion. [ruby-dev:43456]
[Feature #4635]
Fri Dec 23 15:59:05 2011 TAKAO Kouji <[email protected]>
* ext/readline/readline.c (Init_readline): libedit check
rl_getc_function only when rl_initialize() is called, and
using_history() call rl_initialize(). This assignment should be
placed before using_history(). [ruby-core:40641] [Bug #5539]
Fri Dec 23 10:14:47 2011 Tanaka Akira <[email protected]>
* test/thread/test_queue.rb (test_thr_kill): show the number of loop
run when the test failed.
Fri Dec 23 09:23:48 2011 Tanaka Akira <[email protected]>
* test/test_pty.rb (test_pty_check_default): call PTY.check until
"cat" command is finished.
Fri Dec 23 06:03:00 2011 Kazuhiro NISHIYAMA <[email protected]>
* common.mk: add "check succeeded" message.
* README, README.ja: follow above change.
Fri Dec 23 06:00:39 2011 Kazuhiro NISHIYAMA <[email protected]>
* ext/bigdecimal/bigdecimal.h: add satisfy cc-mode comment.
* util.c: ditto.
Fri Dec 23 00:08:25 2011 Tanaka Akira <[email protected]>
* test/test_pty.rb (test_pty_check_default): "cat" may not terminated
in the 0.1 second.
Thu Dec 22 23:37:25 2011 Tanaka Akira <[email protected]>
* test/ruby/test_thread.rb (test_condvar_timed_wait): don't test the
maximum sleep time. Ruby is not a real-time system.
Thu Dec 22 22:37:45 2011 CHIKANAGA Tomoyuki <[email protected]>
* thread_pthread.c (ping_signal_thread_list): remove return value.
* thread_pthread.c (check_signal_thread_list): add a new function to
check if signal thread list is empty.
* thread_pthread.c (thread_timer): check signal thread list after
timer_thread_function(). main thread might be added into signal thread
list during timer_thread_function().
Thu Dec 22 00:40:24 2011 CHIKANAGA Tomoyuki <[email protected]>
* ext/bigdecimal/bigdecimal.c (VpMult, VpCtoV, VpSqrt): remove assigned
but unused variables.
Wed Dec 21 18:28:22 2011 NAKAMURA Usaku <[email protected]>
* common.mk (newline.c, miniprelude.c): revert r33949 because the change
broke mswin build, and the changer said no reason about the change.
[ruby-dev:45016] [Bug #5783]
Wed Dec 21 12:35:24 2011 Nobuyoshi Nakada <[email protected]>
* ext/bigdecimal/bigdecimal.c (BigDecimal_s_allocate): follow
Allocation Framework. [Bug #5775]
Wed Dec 21 02:25:36 2011 Aaron Patterson <[email protected]>
* ext/psych/emitter.c: fixing clang warnings. Thanks Joey!
Wed Dec 21 01:06:00 2011 Kazuhiro NISHIYAMA <[email protected]>
* ext/bigdecimal/README: Update redmine.ruby-lang.org to bugs.ruby-lang.org
* ext/socket/ancdata.c: ditto
* test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb: ditto
* test/syck/test_yaml.rb: ditto
* doc/ChangeLog-1.9.3: ditto
Tue Dec 20 23:50:12 2011 Hiroshi Nakamura <[email protected]>
* PStore content update perf optimization. Patch by Masaki Matsushita.
See #5248.
* lib/pstore.rb (save_data):
* Delete inadequate Marshal check.
* Deferred file truncation: when writing the new content, truncate
the saved file to the data size after writing the data, instead of
truncating whole bytes before writing data.
* Deferred MD5 calculation: when comparing MD5 hash to check the
content modification, calculate MD5 hash of new data iif the
content length is differ from the old one.
* Compare content size with String#bytesize instead of String#size.
Tue Dec 20 21:00:30 2011 Tadayoshi Funaba <[email protected]>
* ext/date/date_core.c: uses to_integer instead.
* test/date/test_switch_hitter.rb: added a test.
Tue Dec 20 15:04:18 2011 Hiroshi Nakamura <[email protected]>
* Make sure to clear $! when ignoring an exception
* ext/openssl/ossl.c (ossl_pem_passwd_cb0, ossl_verify_cb):
pem_passwd_cb and verify_cb ignores the exception raised in a
callback proc so it should clear $! for subsequent execution.
That's said, both subsequent processes for pem_passwd_cb and
verify_cb raises another exception before leaking $! to Ruby world.
We cannot test this fix in Ruby land.
* test/openssl/test_pkey_rsa.rb
(test_read_private_key_pem_pw_exception): Test for pem_passwd_cb +
exception.
Tue Dec 20 11:49:13 2011 Nobuyoshi Nakada <[email protected]>
* test/date/test_date_base.rb (test_jd): tests for
[ruby-dev:45008].
Tue Dec 20 10:20:48 2011 NARUSE, Yui <[email protected]>
* ext/date/date_core.c (wholenum): fix the type of the return value.
Tue Dec 20 05:03:24 2011 Eric Hodel <[email protected]>
* README.ja: Update redmine.ruby-lang.org to bugs.ruby-lang.org
* README: ditto
* common.mk: ditto
* man/erb.1: ditto
* man/irb.1: ditto
* man/ri.1: ditto
* man/ruby.1: ditto
* sparc.c: ditto
* tool/install-sh: ditto
Tue Dec 20 02:15:18 2011 Tadayoshi Funaba <[email protected]>
* ext/date/date_core.c: [ruby-dev:45008].
Sun Dec 18 18:52:37 2011 Naohisa Goto <[email protected]>
* vm.c (vm_define_method): improve guard of iseq from GC. Fix
failure or segmentation fault in test_singleton_method(TestGc)
on sparc Solaris10 compiled with Oracle Solaris Studio 12.2.
[Bug #5762] [ruby-dev:45000] [Bug #4178]
Sun Dec 18 14:34:31 2011 Nobuyoshi Nakada <[email protected]>
* ext/bigdecimal/bigdecimal.c (Init_bigdecimal): does not follow
allocation framework right now. [ruby-core:41710] [Bug #5773]
Sun Dec 18 12:42:48 2011 Aaron Patterson <[email protected]>
* ext/psych/lib/psych/visitors/to_ruby.rb: BigDecimals can be restored
from YAML.
* ext/psych/lib/psych/visitors/yaml_tree.rb: BigDecimals can be dumped
to YAML.
* test/psych/test_numeric.rb: tests for BigDecimal serialization
Sun Dec 18 12:03:13 2011 Aaron Patterson <[email protected]>
* ext/psych/lib/psych/scalar_scanner.rb: Strings that look like dates
should be treated as strings and not dates.
* test/psych/test_scalar_scanner.rb: corresponding tests.
Sun Dec 18 09:43:21 2011 CHIKANAGA Tomoyuki <[email protected]>
* test/thread/test_queue.rb (test_thr_kill): extend timeout.
this test takes a long time at slow machine.
Sun Dec 18 09:36:51 2011 CHIKANAGA Tomoyuki <[email protected]>
* test/ruby/envutil.rb (invoke_ruby): remove :timeout option before
pass it to Kernel#spawn.
Fri Dec 16 17:18:38 2011 Nobuyoshi Nakada <[email protected]>
* README, README.ja: 'make check' is preferable to 'make test'.
Thu Dec 15 23:16:13 2011 CHIKANAGA Tomoyuki <[email protected]>
* error.c (builtin_type_name): don't return pointer to the buffer of
temporary String object.
Thu Dec 15 17:56:58 2011 Nobuyoshi Nakada <[email protected]>
* io.c (argf_type): make typed data.
Thu Dec 15 17:40:28 2011 Nobuyoshi Nakada <[email protected]>
* error.c (rb_check_type): fix typo.
Thu Dec 15 14:48:35 2011 Nobuyoshi Nakada <[email protected]>
* ext/strscan/strscan.c: use typed data with
onig_region_memsize().
Thu Dec 15 14:33:33 2011 Nobuyoshi Nakada <[email protected]>
* error.c (rb_check_typeddata): refine error message with
including expected struct name.
Thu Dec 15 13:15:51 2011 Nobuyoshi Nakada <[email protected]>
* regcomp.c (onig_region_memsize): implemented for memsize_of().
* ext/objspace/objspace.c (memsize_of): use it.
Thu Dec 15 10:44:54 2011 Nobuyoshi Nakada <[email protected]>
* array.c (rb_ary_reject_bang, rb_ary_delete_if): update rdoc.
documentation from Thomas Leitner <t_leitner AT gmx.at> in
[ruby-core:41616]. [Bug #5752]
Thu Dec 15 10:10:43 2011 Nobuyoshi Nakada <[email protected]>
* test/ruby/test_require.rb (test_race_exception): get rid of
not-guaranteed timing issue. [ruby-core:41655] [Bug #5754]
Wed Dec 14 21:58:42 2011 NAKAMURA Usaku <[email protected]>
* test/ruby/test_io_m17n.rb
(TestIO_M17N#test_{read_with_binmode_and_get[cs]}): only for Windows.
Wed Dec 14 19:57:23 2011 NAKAMURA Usaku <[email protected]>
* common.mk,Makefile.in,win32/Makefile.sub (ECHO1): move platform
specific hack from common.mk to Makefile.in (and win32/Makefile.sub).
[Bug #5711]
* lib/mkmf.rb: we can generate Makefile as we like.
Wed Dec 14 19:22:33 2011 NAKAMURA Usaku <[email protected]>
* win32/win32.c, include/ruby/win32.h (rb_w32_fd_is_text): new function.
* win32/win32.c (init_stdhandle): set default mode of stdin as binmode.
* io.c (set_binary_mode_with_seek_cur): new function to replace
SET_BINARY_MODE_WITH_SEEK_CUR macro. now returns previous mode of the
fd and take care of LF in rbuf.
* io.c (do_writeconv): set text mode when needed.
* io.c (io_read): need to change the mode of the IO to binmode
temporally when the length for IO#read, because IO#read with length
must behave so.
* test/ruby/test_io_m17n.rb (TestIO_M17N#test_{read_with_length,
read_with_length_binmode,get[cs]_and_read_with_binmode,
read_with_binmode_and_get[cs],read_write_with_binmode}): tests for
above changes.
all patches are written by Hiroshi Shirosaki. [ruby-core:41496]
[Feature #5714]
Wed Dec 14 15:28:31 2011 Nobuyoshi Nakada <[email protected]>
* transcode.c (str_encode): about the extension of :fallback
option since 1.9.3.
Wed Dec 14 12:19:59 2011 Nobuyoshi Nakada <[email protected]>
* load.c (load_unlock): release loading barrier and then remove it
from loading_table if it is not in-use. [Bug #5754]
* thread.c (rb_barrier_release, rb_barrier_destroy): return
whether any other threads are waiting on it.
Wed Dec 14 11:23:45 2011 NARUSE, Yui <[email protected]>
* thread_pthread.c (ubf_select): call rb_thread_wakeup_timer_thread()
only when it is not timer_thread. [Bug #5757] [ruby-dev:44985]
patched by Tomoyuki Chikanaga.
Wed Dec 14 10:20:08 2011 Nobuyoshi Nakada <[email protected]>
* load.c (load_lock): delete the loading barrier if it has been
destroyed.
* thread.c (rb_barrier_wait): return nil for recursive lock
instead of false, to distinguish it from destroyed barrier.
Wed Dec 14 01:24:55 2011 okkez <[email protected]>
* thread_pthread.c (rb_thread_create_timer_thread): fix memory
leak. [ruby-dev:44904] [Bug #5688]
Wed Dec 14 00:01:15 2011 Nobuyoshi Nakada <[email protected]>
* parse.y (primary): point method name line. [ruby-core:40936]
[Bug #5614]
Tue Dec 13 23:43:48 2011 CHIKANAGA Tomoyuki <[email protected]>
* error.c (name_err_mesg_to_str): clear rb_thread_t::errinfo when
ignore exception under rb_protect(). [ruby-core:41612] [Bug #5755]
* test/ruby/test_exception.rb (test_exception_in_name_error_to_str):
add a corresponding test.
Tue Dec 13 16:13:29 2011 Nobuyoshi Nakada <[email protected]>
* load.c (load_unlock): all threads requiring one file should
share same loading barrier, so it must be kept alive while those
are waiting on it. [ruby-core:41618] [Bug #5754]
Tue Dec 13 07:30:14 2011 Aaron Patterson <[email protected]>
* lib/webrick/httpresponse.rb (setup_header): 1xx responses
are allowed to have Keep-Alive connections.
* test/webrick/test_httpresponse.rb: corresponding test.
Tue Dec 13 07:13:28 2011 Aaron Patterson <[email protected]>
* lib/webrick/httpresponse.rb (setup_header): 204 and 304 responses
are allowed to have a Keep-Alive connection. [ruby-core:41581]
* test/webrick/test_httpresponse.rb: corresponding test.
Tue Dec 13 06:29:39 2011 Nobuyoshi Nakada <[email protected]>
* parse.y (parser_magic_comment): should pass the proper value.
[ruby-dev:44984][Bug #5753]
Tue Dec 13 05:50:07 2011 Nobuyoshi Nakada <[email protected]>
* vm_insnhelper.c (vm_yield_setup_block_args): splat single
argument if optional arguments are defined not only mandatory or
post arguments. [ruby-core:41557] [Bug #5730]
Mon Dec 12 22:35:39 2011 Shugo Maeda <[email protected]>
* parse.y (stmt_or_begin): changed the error message for BEGIN not
at toplevel. [ruby-dev:44963] [Bug #5738]
Mon Dec 12 17:29:01 2011 NARUSE, Yui <[email protected]>
* README: Fixed SupportedPlatforms URL in the README.
patched by eMxyzptlk. https://github.com/ruby/ruby/pull/62
Mon Dec 12 17:26:51 2011 Nobuyoshi Nakada <[email protected]>
* load.c (rb_feature_p): lazy assigned load_path searched in
loading_table were not expanded, but all features, pushed to
loading table, are expanded. a patch by Yura Sokolov
<funny.falcon AT gmail.com> in [ruby-core:41545]. [Bug #5727]
Mon Dec 12 15:41:03 2011 Nobuyoshi Nakada <[email protected]>
* ext/stringio/stringio.c (strio_truncate): fix typo. patched by
Nick Howard <ndh AT baroquebobcat.com>.
https://github.com/ruby/ruby/pull/65
Sun Dec 11 12:19:17 2011 Shugo Maeda <[email protected]>
* lib/net/imap.rb: includes the sequence number of UID in a error
message. suggested by art lussos.
[ruby-core:41413] [Feature #5692]
Sun Dec 11 11:42:10 2011 Kazuki Tsujimoto <[email protected]>
* ext/syslog/syslog.c: fix a typo. [ruby-core:41585] [Bug #5740]
Sun Dec 11 10:48:16 2011 Nobuyoshi Nakada <[email protected]>
* error.c (exit_initialize): deal with true and false as well as
Kernel#exit. [ruby-dev:44951] [Bug #5728]
Sun Dec 11 10:37:47 2011 Nobuyoshi Nakada <[email protected]>
* object.c (rb_check_to_int): new function to convert a VALUE to
an Integer if possible, but returns nil instead of raising an
exception otherwise.
Sun Dec 11 10:34:39 2011 Nobuyoshi Nakada <[email protected]>
* process.c (rb_exit_status_code): extract from rb_f_exit_bang and
rb_f_exit. assume 0 to be success in Kernel#exit! too.
Fri Dec 9 19:24:31 2011 NARUSE, Yui <[email protected]>
* enc/trans/iso-8859-16-tbl.rb: add ISO-8859-16 converter.
* enc/trans/single_byte.trans: ditto.
Fri Dec 9 14:28:40 2011 NARUSE, Yui <[email protected]>
* file.c (file_path_convert): don't convert it when the path string is
ascii only. [ruby-core:41556] [Bug #5733]
tests are contributed by nobu.
Fri Dec 9 08:00:15 2011 Luis Lavena <[email protected]>
* include/ruby/win32.h: undef stat to silence mingw-w64 stat
redefinition warnings (GCC 4.6.3).
Thu Dec 8 23:38:24 2011 CHIKANAGA Tomoyuki <[email protected]>
* variable.c (set_const_visibility): clear inline-cache when constant's
visibility is modified. [ruby-dev:44929]
* test/ruby/test_module.rb (test_private_constants_clear_inlinecache):
add test for it.
Thu Dec 8 23:26:11 2011 NAKAMURA Usaku <[email protected]>
* ext/extmk.rb (extract_makefile): should sort after map, not before
it. in this case there is no difference, but we should write better
code. this bad smell was caught by nagachika.
Thu Dec 8 22:31:13 2011 NAKAMURA Usaku <[email protected]>
* ext/extmk.rb (extract_makefile): need to sort the array of current
srcs before comparing to the sorted old srcs.
fixed the problem that the configuring stage of exts were always
run, introduced at r33801.
Thu Dec 8 13:26:24 2011 NAKAMURA Usaku <[email protected]>
* test/rexml/test_order.rb (OrderTester#test_more_ordering): use
Zlib::GzipReader.open instead of Zlib::GzipReader.new with File.new.
fixed a test error on Windows introduced at r33946.
Thu Dec 8 13:11:26 2011 NAKAMURA Usaku <[email protected]>
* test/ruby/test_process.rb (TestProcess#test_sete[gu]id): silently
skip if not implemented such functions (such as, on Windows).
fixed test errors on Windows introduced at r33953.
Thu Dec 8 12:57:50 2011 NAKAMURA Usaku <[email protected]>
* ext/socket/extconf.rb: forgotten to define HAVE_SOCKETPAIR for
windows.
fixed test errors on Windows introduced at r33947.
Thu Dec 8 12:11:06 2011 Nobuyoshi Nakada <[email protected]>
* configure.in (RUBY_WERROR_FLAG): append all warning flags which
are enabled to compile, so that printf format modifiers properly
fail. [ruby-core:41351] [Bug #5679]
Thu Dec 8 07:20:15 2011 Eric Hodel <[email protected]>
* doc/re.rdoc: Document difference between match and =~, options with
Regexp.new and global variables. Patch by Sylvain Daubert.
[Ruby 1.9 - Bug #5709]
Thu Dec 8 06:53:10 2011 Eric Hodel <[email protected]>
* doc/re.rdoc: Fix example code to match documentation. Patch by
Jarno Lamberg. [Ruby 1.9 - Bug #5624]
Wed Dec 7 19:04:22 2011 Nobuyoshi Nakada <[email protected]>
* configure.in (rpath): fix typo in the help string. a patch from
Yuji Yamano <yyamano AT kt.rim.or.jp> in [ruby-list:48568].
Wed Dec 7 18:55:56 2011 Nobuyoshi Nakada <[email protected]>
* vm.c (vm_set_top_stack, vm_set_eval_stack): check for stack
overflow with stack_max before push new frame. [ruby-core:41520]
[Bug #5720]
* vm.c (vm_set_main_stack): no stack overflow chances after
vm_set_eval_stack().
Wed Dec 7 09:58:15 2011 Eric Hodel <[email protected]>
* ext/bigdecimal/bigdecimal.c: Document +@, -@, hash, INFINITY, Nan.
Patch by Sylvain Daubert. [Ruby 1.9 - Feature #5622]
Wed Dec 7 09:48:00 2011 Eric Hodel <[email protected]>
* io.c (Init_IO): Mention io/console methods. [Ruby 1.9 - Bug #5602]
* ext/io/console/console.c: Mention that io/console must be required
similar to lib/time.rb
Wed Dec 7 08:04:31 2011 Aaron Patterson <[email protected]>
* ext/psych/lib/psych.rb (module Psych): parse and load methods take
an optional file name that is used when raising Psych::SyntaxError
exceptions
* ext/psych/lib/psych/syntax_error.rb (module Psych): allow nil file
names and handle nil file names in the exception message
* test/psych/test_exception.rb (module Psych): Tests for changes.
Tue Dec 6 18:26:33 2011 Tanaka Akira <[email protected]>
* ext/dbm/dbm.c: use db_version() instead of DB_VERSION_STRING to
detect runtime Berkeley DB version.
use dpversion instead of _QDBM_VERSION to detect runtime QDBM
version.
[ruby-dev:44948]
Tue Dec 6 12:30:41 2011 Tanaka Akira <[email protected]>
* ext/dbm/extconf.rb: detect gdbm_version in libgdbm.
* ext/dbm/dbm.c: make DBM::VERSION more informative for gdbm, qdbm and
Berkeley DB 1.x. [ruby-dev:44944]
Tue Dec 6 07:26:37 2011 Eric Hodel <[email protected]>
* range.c: Improve documentation for Range. Patch by Chris Zetter.
[Ruby 1.9 - Bug #5656]
Mon Dec 5 19:08:04 2011 Nobuyoshi Nakada <[email protected]>
* regparse.c (PFETCH_READY): separate gcc specific trick.
Mon Dec 5 19:01:59 2011 Nobuyoshi Nakada <[email protected]>
* process.c (proc_seteuid_m): fix argument.
* test/ruby/test_process.rb (test_geteuid): fix typo.
* test/ruby/test_process.rb (test_getegid, test_set[eg]uid): add.
Mon Dec 5 18:56:55 2011 Nobuyoshi Nakada <[email protected]>
* bignum.c (big_rshift), compile.c (validate_label,
iseq_build_from_ary_exception), cont.c (cont_capture), dir.c
(dir_open_dir), gc.c (objspace_each_objects), io.c (pipe_open)
(rb_io_advise), parse.y (parser_compile_string)
(rb_parser_compile_file), proc.c (binding_free), process.c
(rb_proc_exec_n, rb_seteuid_core, proc_setegid, rb_setegid_core)
(p_uid_exchange, p_gid_exchange), regparse.c (strdup_with_null),
signal.c (sig_dfl), vm.c (rb_iseq_eval, rb_iseq_eval_main),
vm_insnhelper.c (vm_expandarray): suppress
unused-but-set-variable warnings.
* class.c (rb_obj_methods), compile.c (iseq_compile_each),
iseq.c(iseq_load, rb_iseq_parameters), pack.c (pack_pack),
regcomp.c (is_not_included, update_string_node_case_fold),
transcode.c (rb_econv_open0, make_replacement),
vm_eval.c (raise_method_missing): remove unused variable.
* signal.c (reserved_signal_p): static.
Mon Dec 5 14:27:23 2011 NAKAMURA Usaku <[email protected]>
* include/ruby/{subst.h,win32.h}, ext/socket/rubysocket.h: revert
r33876. [ruby-core:41475] [Bug #5706]
* ext/socket/extconf.rb: the alternative hack for [Bug #5675].
Mon Dec 5 10:18:45 2011 NAKAMURA Usaku <[email protected]>
* ext/zlib/zlib.c (rb_gzreader_initialize): revert a part of r33937.
1st, to change the mode of an IO is very sensitive problem, so
the maintainer of this library should judge it.
2nd, usually Zlib::GzipReader.new is not called directly. #initialize
is called via .open, and in the method the I/O is opened in binary
mode, so there is no problem without changing the mode in #initialize.
Sun Dec 4 22:53:12 2011 Tanaka Akira <[email protected]>
* lib/tempfile.rb: don't use lock directory. [ruby-dev:39197]
Sun Dec 4 22:34:43 2011 Tanaka Akira <[email protected]>
* lib/tempfile.rb (Tempfile::MAX_TRY): remove unused constant.
Sun Dec 4 12:11:28 2011 Kazuki Tsujimoto <[email protected]>
* lib/pp.rb: fix rdoc.
Sun Dec 4 12:03:16 2011 NARUSE, Yui <[email protected]>
* lib/delegate.rb (Delegator#methods): Kernel#methods receives
zero or one argument. [ruby-core:37118] [Bug #4882]
Sun Dec 4 10:15:00 2011 Luis Lavena <[email protected]>
* ext/zlib/zlib.c (rb_gzreader_initialize): use binary mode by default
under Windows. Patch by Hiroshi Shirosaki. [ruby-core:40706]
[Feature #5562]
* include/ruby/encoding.h (void rb_econv_binmode): define NEWLINE
decorator.
* io.c (rb_cloexec_fcntl_dupfd): Introduce NEED_READCONV and
NEED_WRITECONV to replace universal newline decorator by CRLF only
when required to improve file reading and writing under Windows.
Patch by Hiroshi Shirosaki. [ruby-core:40706] [Feature #5562]
* io.c (do_writeconv): adjust binary mode if required.
* io.c (read_all, appendline, swallow, rb_io_getline_1): ditto.
* io.c (io_getc, rb_io_each_codepoint, rb_io_ungetc): ditto.
* io.c (rb_io_binmode, rb_io_ascii8bit_binmode): ditto.
* io.c (rb_io_extract_modeenc, rb_sysopen): ditto.
* io.c (pipe_open, prep_stdio, io_encoding_set): ditto.
* io.c (rb_io_s_pipe, copy_stream_body): ditto.
* test/ruby/test_io_m17n.rb (EOT): add test for pipe and stdin in
binary mode.
* win32/win32.c (init_stdhandle): remove O_BINARY from stdhandle
initialization.
* win32/win32.c (rb_w32_write): use FTEXT mode accordingly.
Sat Dec 3 20:49:16 2011 Yusuke Endoh <[email protected]>
* variable.c (set_const_visibility): print a warning when no argument
is passwd to Module#private_constant. [ruby-list:48558]
* vm_method.c (set_method_visibility): ditto for
Module#private_class_method.
Sat Dec 3 20:43:14 2011 Yusuke Endoh <[email protected]>
* variable.c (set_const_visibility): Module#private_constant has
changed the visibility of only the first argument. Now it changes
all of them. [ruby-list:48558]
* test/ruby/test_module.rb: add a test for above.
Sat Dec 3 07:17:29 2011 Nobuyoshi Nakada <[email protected]>
* Makefile.in (CFLAGS): append ARCH_FLAG.
* configure.in (ARCH_FLAG): exclude from CFLAGS.
* configure.in (UNIVERSAL_INTS): include short int. fix for
test/mkmf.
Fri Dec 2 15:48:08 2011 Nobuyoshi Nakada <[email protected]>
* ext/bigdecimal/bigdecimal.c (VpAllocReal): reduce extra frac.
Fri Dec 2 15:41:24 2011 Nobuyoshi Nakada <[email protected]>
* configure.in: check whether -pie or -Wl,-pie is valid as
LDFLAGS. [ruby-core:41438] [Bug#5697]
* configure.in: use $linker_flag for LDFLAGS option which is not
limited to particular platforms.
Thu Dec 1 23:21:58 2011 CHIKANAGA Tomoyuki <[email protected]>
* thread_pthread.c (thread_timer): call prctl(PR_SET_NAME) only if
PR_SET_NAME is available.
Thu Dec 1 22:31:16 2011 Tanaka Akira <[email protected]>
* io.c (linux_get_maxfd): change local variable name.
Thu Dec 1 16:59:24 2011 Nobuyoshi Nakada <[email protected]>
* ext/socket/extconf.rb: add arguments for macro calls.
[ruby-core:41370] [Bug#5681]
Thu Dec 1 16:20:16 2011 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (MakeMakefile#try_func): fix broken patch at r33834.
Thu Dec 1 14:43:17 2011 Nobuyoshi Nakada <[email protected]>
* ext/bigdecimal/bigdecimal.h (Real): suppress false warning from
clang. [ruby-core:41418] [Bug#5693]
Thu Dec 1 10:31:55 2011 Nobuyoshi Nakada <[email protected]>
* configure.in (LDFLAGS): -fstack-protector is always needed to
link static library created with it. [ruby-core:41387]
[Bug#5686]
Thu Dec 1 07:03:51 2011 KOSAKI Motohiro <[email protected]>
* configure.in: add sys/prctl.h test.
* thread_pthread.c (thread_timer): call prctl(PR_SET_NAME) to change
thread name. It may help to debug.
Wed Nov 30 23:35:45 2011 NARUSE, Yui <[email protected]>
* variable.c (rb_path2class): don't raise NameError when the middle
constant of the path is not defined but defined on toplevel.
[ruby-core:41410] [Bug #5691]
Wed Nov 30 20:02:02 2011 Martin Duerst <[email protected]>
* transcode.c: Simplified rb_econv_binmode, avoided a warning on cygwin.
Wed Nov 30 08:57:07 2011 Eric Hodel <[email protected]>
* lib/mkmf.rb: Use MakeMakefile's rm_f to avoid conflict with Rake or
FileUtils.
* test/ruby/test_module.rb: Hide MakeMakefile's inclusion in Object
Wed Nov 30 09:12:43 2011 NAKAMURA Usaku <[email protected]>
* lib/rdoc/encoding.rb (RDoc::Encoding.read_file): fixup newline chars
on Windows.
see https://github.com/rdoc/rdoc/issues/87
* test/rdoc/test_rdoc_markup_pre_process.rb
(TestRDocMarkupPreProcess#test_include_file,
TestRDocMarkupPreProcess#test_include_file_encoding_incompatible):
follow above change.
Wed Nov 30 09:09:37 2011 Aaron Patterson <[email protected]>
* ext/psych/parser.c (parse): parse method can take an option file
name for use in exception messages.
* test/psych/test_parser.rb: corresponding tests.
Tue Nov 29 09:07:59 2011 Eric Hodel <[email protected]>
* lib/mkmf.rb: Fix indentations of constants at end of module.
Document some constants.
Tue Nov 29 09:58:23 2011 Nobuyoshi Nakada <[email protected]>
* io.c (rb_write_error2): suppress unused variable warning.
Tue Nov 29 07:45:26 2011 Eric Hodel <[email protected]>
* lib/mkmf.rb: Wrap comments to 78 columns and clean up formatting.
Tue Nov 29 05:54:18 2011 Eric Hodel <[email protected]>
* lib/mkmf.rb: Wrap mkmf.rb in module MakeMakefile to clean up Object
documentation. [Ruby 1.9 - Feature #5658]
* ext/extmk.rb: Use MakeMakefile::CONFIG instead of Object::CONFIG
* test/mkmf/base.rb: ditto
Tue Nov 29 00:08:57 2011 Yuki Sonoda (Yugui) <[email protected]>
* common.mk (INSTRUBY_ARGS): added --mantype to apply mdoc2man.rb
to man pages. Fixes #5598.
(do-install-nodoc, do-install-local, do-install-man,
dont-install-nodoc, dont-install-local, dont-install-man):
No longer needs --mantype.
Reported by Rainer Orth <ro AT cebitec.uni-bielefeld.de>,
patch by George Koehler <xkernigh AT netscape.net>.
Mon Nov 28 22:26:31 2011 NAKAMURA Usaku <[email protected]>
* test/rake/test_rake_directory_task.rb
(TestRakeDirectoryTask#test_directory_win32): shouldn't create any
file/directory on root directory. create on @tempdir (= Dir.pwd).
see https://github.com/jimweirich/rake/issues/91
Mon Nov 28 12:57:29 2011 Nobuyoshi Nakada <[email protected]>
* io.c (rb_write_error2): fwrite() returns ssize_t.
Mon Nov 28 12:47:19 2011 NAKAMURA Usaku <[email protected]>
* parse.y (nodetype, nodeline): static. these functions are for
debugging, and not intend to be public.
Mon Nov 28 12:37:54 2011 NAKAMURA Usaku <[email protected]>
* gc.c (initial_params): static. it seems to be forgotten at r33501.
Mon Nov 28 12:32:24 2011 NAKAMURA Usaku <[email protected]>
* include/ruby/win32.h, win32/win32.c (GetCurrentThreadHandle): remove
unused old API.
Mon Nov 28 12:29:20 2011 NAKAMURA Usaku <[email protected]>
* win32/mkexports.rb (Exports#initialize): remove old symbol name.
Mon Nov 28 12:15:28 2011 Nobuyoshi Nakada <[email protected]>
* win32/mkexports.rb (Exports#read_substitution): need to read
from subst.h too. [Bug #5675]
Mon Nov 28 11:46:35 2011 NAKAMURA Usaku <[email protected]>
* io.c (rb_io_flush): release GVL during fsync() on Windows.
Mon Nov 28 11:00:25 2011 NAKAMURA Usaku <[email protected]>
* include/ruby/subst.h: typo of r33876.
Mon Nov 28 10:36:00 2011 Nobuyoshi Nakada <[email protected]>
* include/ruby/subst.h: moved Windows specific substitutions from
win32.h.
* ext/socket/rubysocket.h: include ruby/subst.h. [Bug #5675]
Mon Nov 28 10:20:58 2011 NAKAMURA Usaku <[email protected]>
* win32/{Makeilfe.sub,win32.c} (FILE_COUNT, FILE_READPTR): move the
definitions from config.h to win32.c. I dared to have left such
macros, for other future compiler support.
[ruby-core:41313] [Bug #5674]
Mon Nov 28 09:28:30 2011 NAKAMURA Usaku <[email protected]>