-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
3695 lines (2226 loc) · 121 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
Sun Dec 12 20:42:47 2010 Kazuhiro NISHIYAMA <[email protected]>
* template/id.h.tmpl: suppress all warning: "SUPPORT_JOKE" is not
defined. [ruby-dev:42730]
Sun Dec 12 20:35:07 2010 Kazuhiro NISHIYAMA <[email protected]>
* misc/rb_optparse.zsh: update how to install.
* misc/rb_optparse.zsh: avoid error when setopt noclobber.
* lib/optparse.rb: fix typo. pointed out at
<http://d.hatena.ne.jp/nagachika/20101207>.
Sun Dec 12 13:27:35 2010 Tanaka Akira <[email protected]>
* eval_error.c: parenthesize macro arguments.
Sun Dec 12 11:53:24 2010 Tanaka Akira <[email protected]>
* error.c: parenthesize macro arguments.
Sun Dec 12 04:01:58 2010 NARUSE, Yui <[email protected]>
* string.c (rb_str_inspect): fix: extra back slash is added when
the string is dummy encoding and includes \x22 or \x5C.
Sun Dec 12 02:42:24 2010 Aaron Patterson <[email protected]>
* ext/openssl/ossl_asn1.c: indefinite length BER to DER encoding is
properly supported. Thanks Martin Bosslet! [ruby-core:33082]
Sat Dec 11 17:43:34 2010 Kazuhiro NISHIYAMA <[email protected]>
* ext/bigdecimal/bigdecimal.h: suppress "warning: 'VPrint' declared
'static' but never defined".
Sat Dec 11 09:24:57 2010 Tanaka Akira <[email protected]>
* encoding.c: parenthesize macro arguments.
Sat Dec 11 08:12:48 2010 Eric Hodel <[email protected]>
* ext/openssl/ossl.c, ext/openssl/ossl_pkey_rsa.c: Document RSA, RSA
encryption/decryption and PKCS #5 encryption/decryption.
Sat Dec 11 06:23:41 2010 Eric Hodel <[email protected]>
* ext/openssl/ossl_x509name.c: include Comparable to provide #==.
Document OpenSSL::X509::Name#<=>. [Ruby 1.9-Feature#4116]
Sat Dec 11 05:48:28 2010 Hidetoshi NAGAI <[email protected]>
* ext/tk/lib/multi-tk.rb: infinite loop on method_missing at loading.
[ruby-dev:42716] [Ruby 1.9-Bug#4129]
* ext/tk/lib/multi-tk.rb: when no eventloop is running, ruby freezes at exit.
Sat Dec 11 02:23:15 2010 Aaron Patterson <[email protected]>
* ext/openssl/extconf.rb: try pkgconfig first, then fall back to
normal have_library, etc. Thanks Erik Hollensbe. [ruby-core:32406]
Fri Dec 10 22:33:39 2010 Tanaka Akira <[email protected]>
* dln_find.c: parenthesize macro arguments.
Fri Dec 10 20:05:42 2010 Nobuyoshi Nakada <[email protected]>
* template/id.h.tmpl (ruby_method_ids): suppress warnings.
[ruby-dev:42730]
Fri Dec 10 18:29:20 2010 Nobuyoshi Nakada <[email protected]>
* ruby.c (ruby_init_loadpath_safe): relatively called non-shared
binary cannot be found in PATH, so use given pathname.
Fri Dec 10 18:28:40 2010 Nobuyoshi Nakada <[email protected]>
* cygwin/GNUmakefile.in (SCRIPTPROGRAMS): ignore backup files and etc.
* cygwin/GNUmakefile.in (scriptbin): set executable bit.
* tool/rbinstall.rb (install_recursive): always skip default ignored
files. if block is given, call it instead of calling install.
* tool/rbinstall.rb (bin-comm): use install_recursive.
Fri Dec 10 18:12:31 2010 Nobuyoshi Nakada <[email protected]>
* test/mkmf/base.rb (TestMkmf#config_value): extract macro value from
config.h.
* test/mkmf/test_sizeof.rb (TestMkmf::TestSizeof#test_sizeof_builtin),
(TestMkmf::TestSizeof#test_sizeof_struct): more tests.
* lib/mkmf.rb (check_signedness): should use the prelude code.
[ruby-dev:42731]
* lib/mkmf.rb (Logging.log_close): separate from Logging.logfile.
* test/mkmf/base.rb (TestMkmf::MKMFLOG): show mkmf.log at failures.
* test/mkmf/base.rb (TestMkmf#teardown): close log file for each tests.
Fri Dec 10 11:36:43 2010 Kazuhiro NISHIYAMA <[email protected]>
* compile.c (enum): remove a comma at end of enumerator list.
* constant.h (rb_const_flag_t): ditto.
* iseq.h (enum catch_type): ditto.
* iseq.h (enum defined_type): ditto.
* vm_core.h (enum iseq_type): ditto.
* vm_core.h (enum vm_special_object_type): ditto.
Fri Dec 10 10:47:53 2010 NARUSE, Yui <[email protected]>
* sprintf.c (_HAVE_SANE_QUAD_): Don't forget LP64, r30156.
Fri Dec 10 10:37:17 2010 NAKAMURA Usaku <[email protected]>
* sprintf.c (_HAVE_SANE_QUAD_): if a certain platform has LONG_LONG in
8 byte, it might be sane quad. [ruby-core:33634]
Fri Dec 10 10:07:59 2010 NARUSE, Yui <[email protected]>
* lib/net/http.rb: remove version 1.1 features.
Fri Dec 10 02:18:02 2010 Aaron Patterson <[email protected]>
* ext/openssl/ossl_x509store.c (ossl_x509stctx_cleanup): removing C
implementation of `cleanup`.
* ext/openssl/lib/openssl/x509.rb: adding ruby implementation of
`cleanup`. OpenSSL::X509::StoreContext#cleanup is deprecated since
reusing the underlying struct doesn't make sense. [ruby-dev:42546]
Thu Dec 9 20:14:39 2010 Nobuyoshi Nakada <[email protected]>
* parse.y (lvar_defined_gen, shadowing_lvar_gen, dvar_defined): no
warnings for unused method and block arguments.
[ruby-dev:42718] [ruby-dev:42724]
Thu Dec 9 19:25:49 2010 Tanaka Akira <[email protected]>
* dln.c: parenthesize macro arguments.
Thu Dec 9 18:51:06 2010 Tanaka Akira <[email protected]>
* lib/webrick/accesslog.rb (WEBrick::AccessLog#format): support
%{remote}p for logging remote (client) port number.
[ruby-dev:42670]
Thu Dec 9 11:00:30 2010 Yukihiro Matsumoto <[email protected]>
* array.c (rb_ary_dup): should copy contents only. no instance
variable, no class would be copied. it would affect methods
#sort, #reject, #transpose, #uniq, #compact, and #shuffle.
[ruby-core:33640]
* array.c (rb_ary_reverse_m): ditto.
* array.c (rb_ary_rotate_m): ditto.
Wed Dec 8 21:38:40 2010 NARUSE, Yui <[email protected]>
* ext/dl/lib/dl/struct.rb: clean a warning: assigned but unused
variable. patched by Kouhei Yanagita. [ruby-dev:42722]
* ext/dl/lib/dl/import.rb: ditto.
Wed Dec 8 21:36:16 2010 Nobuyoshi Nakada <[email protected]>
* parse.y (shadowing_lvar_gen): fix line number. [ruby-dev:42718]
Wed Dec 8 20:37:11 2010 Tanaka Akira <[email protected]>
* dir.c: parenthesize macro arguments.
Tue Dec 7 22:37:15 2010 Masaya Tarui <[email protected]>
* io.c (io_read): duplicate string if shared. [ruby-dev:42719]
Tue Dec 7 22:31:08 2010 Nobuyoshi Nakada <[email protected]>
* lib/optparse.rb (OptionParser::Officious): separate completion
options from --help. [ruby-dev:42690]
* lib/optparse.rb (OptionParser::Completion#candidate),
(OptionParser::Switch#compsys): remove unused variables.
Tue Dec 7 22:05:25 2010 Nobuyoshi Nakada <[email protected]>
* transcode.c (transcode_loop): call default handler of the given
hash, method, proc or [] method as fallback. [ruby-dev:42692]
Tue Dec 7 21:59:37 2010 Kouhei Sutou <[email protected]>
* lib/rexml/light/node.rb: remove circular require.
Tue Dec 7 21:56:01 2010 Kouhei Sutou <[email protected]>
* test/rexml/test_light.rb: really suppress a warning.
Tue Dec 7 21:51:57 2010 Kouhei Sutou <[email protected]>
* test/rexml/test_light.rb: suppress a warning.
Tue Dec 7 21:14:03 2010 Tanaka Akira <[email protected]>
* debug.c: parenthesize macro arguments.
Tue Dec 7 21:06:38 2010 Kouhei Sutou <[email protected]>
* lib/rexml/doctype.rb, test/rexml/test_doctype.rb: suppress warnings.
[ruby-core:33305]
Reported by Aaron Patterson. Thanks!!!
Tue Dec 7 18:56:52 2010 NARUSE, Yui <[email protected]>
* ext/nkf/lib/kconv.rb (String#kconv): fix typo and update rdoc.
patched by Kouhei Yanagita [ruby-dev:42696]
Tue Dec 7 20:32:11 2010 Kouhei Sutou <[email protected]>
* test/rexml/test_doctype.rb: add Accessor to test case name.
Tue Dec 7 20:31:02 2010 Kouhei Sutou <[email protected]>
* test/rexml/test_doctype.rb: Doctype -> DocType.
Tue Dec 7 20:29:23 2010 Kouhei Sutou <[email protected]>
* test/rexml/test_doctype_mixin.rb: rename to ...
* test/rexml/test_doctype.rb: ... this to remove needless name.
Tue Dec 7 17:03:16 2010 Shugo Maeda <[email protected]>
* lib/net/imap.rb (xlist): supported the XLIST command, which is an
extension by Apple and Google. patch by Geoff Youngs.
[ruby-core:33521]
Tue Dec 7 08:00:44 2010 Nobuyoshi Nakada <[email protected]>
* configure.in, win32/Makefile.sub (WERRORFLAG): flag to treat
warnings as errors.
* lib/mkmf.rb (Logging.postpone): yield log file object.
* lib/mkmf.rb (xsystem): add options, :werror only right now.
* lib/mkmf.rb (with_werror): check as if warnings are errors.
* lib/mkmf.rb (convertible_int): make declaration conflict
warnings errors not to pass wrong type. [ruby-dev:42684]
* lib/mkmf.rb (COMMON_MACROS): get rid of conflicts.
* win32/Makefile.sub (WARNFLAGS): make declaration conflict
warnings errors if possible.
Sun Dec 7 21:16:10 2010 Tanaka Akira <[email protected]>
* cont.c: parenthesize macro arguments.
Tue Dec 7 00:27:14 2010 Masaya Tarui <[email protected]>
* win32/win32.c (rb_w32_read): fixed more for readline,
and so on. [ruby-core:33511]
Mon Dec 6 23:18:22 2010 Nobuyoshi Nakada <[email protected]>
* test/mkmf/base.rb (TestMkmf#setup): run quietly.
* test/mkmf/test_find_executable.rb (test_find_executable): use
configured results.
* common.mk (test-build): test for build process.
Mon Dec 6 22:47:15 2010 Nobuyoshi Nakada <[email protected]>
* lib/optparse.rb (OptionParser#candidate): skip separators.
* sample/optparse/opttest.rb: should not override --help.
[ruby-dev:42690]
Mon Dec 6 19:00:48 2010 Kazuhiro NISHIYAMA <[email protected]>
* misc/rb_optparse.zsh: fix typos.
Mon Dec 6 18:59:04 2010 Kazuhiro NISHIYAMA <[email protected]>
* NEWS: add new encodings.
Mon Dec 6 18:56:42 2010 Kazuhiro NISHIYAMA <[email protected]>
* test/ruby/test_string.rb (TestString#test_scan): add a test for
[ruby-core:33338] #4087.
Mon Dec 6 18:55:36 2010 Kazuhiro NISHIYAMA <[email protected]>
* test/uri/test_common.rb (TestCommon#test_encode_www_form): add
tests for r30015.
Mon Dec 6 10:39:54 2010 NARUSE, Yui <[email protected]>
* lib/uri/common.rb (URI::Parser#initialize_pattern):
refix for restrict the pattern.
Mon Dec 6 09:45:11 2010 Eric Hodel <[email protected]>
* ext/openssl (OpenSSL): add toplevel documentation
* ext/openssl/ossl_ssl.c (SSLContext, SSLSocket: add additional
documentation
* ext/openssl: move "let rdoc know about mOSSL" comments so they don't
show up in output
Mon Dec 6 09:16:46 2010 NARUSE, Yui <[email protected]>
* lib/uri/common.rb (URI::Parser#initialize_pattern):
workaround fix pattern of hostname for RFC 3986. [ruby-dev:42672]
Mon Dec 6 09:14:38 2010 NARUSE, Yui <[email protected]>
* lib/mkmf.rb (check_signedness): rename unused variable prelude.
Sun Dec 5 17:56:36 2010 Nobuyoshi Nakada <[email protected]>
* class.c (make_metaclass): fix probable typo. builtin type flag
cannot be used with FL_TEST.
Sun Dec 5 12:09:27 2010 Nobuyoshi Nakada <[email protected]>
* lib/irb/init.rb (IRB.parse_opts): fix typo. [ruby-core:33574]
Sun Dec 5 11:27:08 2010 Nobuyoshi Nakada <[email protected]>
* ruby.c (load_file_internal): decrement for ungotten line.
[ruby-dev:42680]
Sun Dec 5 10:32:11 2010 Tanaka Akira <[email protected]>
* complex.c: parenthesize macro arguments.
Sat Dec 4 11:39:17 2010 Eric Hodel <[email protected]>
* ext/openssl/ossl_x509ext.c (initialize): add documentation.
Sat Dec 4 11:21:50 2010 Nobuyoshi Nakada <[email protected]>
* hash.c (rb_hash_update_by): new API for Hash#update.
Sat Dec 4 11:18:10 2010 Tanaka Akira <[email protected]>
* class.c: parenthesize macro arguments.
Sat Dec 4 11:07:57 2010 Nobuyoshi Nakada <[email protected]>
* vm_core.h (rb_vm_inc_const_missing_count): missing prototype.
Sat Dec 4 08:50:10 2010 Nobuyoshi Nakada <[email protected]>
* ext/iconv/iconv.c (Init_iconv): no warnings if $VERBOSE is nil.
Sat Dec 4 08:25:15 2010 Nobuyoshi Nakada <[email protected]>
* vm_insnhelper.c (vm_call_method): revert r30064 and r30071,
because of [ruby-core:26761]. Bug#4106 rejected.
Sat Dec 4 07:46:48 2010 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (String#tr_cpp): substitute * with P like as
autconf.
Fri Dec 3 22:36:45 2010 Nobuyoshi Nakada <[email protected]>
* vm_insnhelper.c (vm_call_method): protected methods should be
checked against the real class.
Fri Dec 3 20:23:31 2010 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (convertible_int): define printf format prefix too.
* lib/mkmf.rb (convertible_int): detect convertible integer type.
port RUBY_REPLACE_INT from configure.in.
* lib/mkmf.rb (check_sizeof): should return integer always.
Fri Dec 3 12:54:48 2010 NAKAMURA Usaku <[email protected]>
* win32/Makefile.sub (RCFLAGS): VC10 and after only. fixed the problem
of r30015. [ruby-core:33530]
Fri Dec 3 12:41:52 2010 URABE Shyouhei <[email protected]>
* gc.c (rb_objspace_free): With our "lazy-sweep" GC engine, it is
possible for an object to survive until its surrounding object
space is about to be freed. Those objects, if any, remains
leaked for the rest of a process life. This is problematic
because for instance a T_DATA object may have its own destructor
to terminate something.
* vm.c (ruby_vm_destruct): ruby_current_vm termination should be
somewhere after rb_objspace_free for above reason.
Fri Dec 3 12:17:19 2010 Nobuyoshi Nakada <[email protected]>
* vm_insnhelper.c (vm_call_method): protected singleton methods should
be visible from same real class methods. [ruby-core:33506]
Fri Dec 3 07:08:42 2010 Nobuyoshi Nakada <[email protected]>
* ext/stringio/stringio.c (strio_getline): round upto next char
boundary. [ruby-dev:42674]
Fri Dec 3 06:52:46 2010 Tanaka Akira <[email protected]>
* compile.c: parenthesize macro arguments.
Fri Dec 3 04:08:59 2010 NARUSE, Yui <[email protected]>
* encoding.c (enc_alias_internal): use st_insert2 and change return
value to int.
* encoding.c (enc_alias): follow enc_alias_internal.
Fri Dec 3 01:52:43 2010 NARUSE, Yui <[email protected]>
* encoding.c (enc_alias_internal): use xfree instead of free.
Thu Dec 2 23:52:26 2010 URABE Shyouhei <[email protected]>
* NEWS: entry for ruby_vm_at_exit().
* eval.c (ruby_cleanup): bug fix around at_exit (1) timing was
wrong. (2) execution order was opposite.
Thu Dec 2 23:05:14 2010 NAKAMURA Usaku <[email protected]>
* win32/Makefile.sub (RCFLAGS): -nologo switch is only available in
newer versions of rc.exe. fixed the problem of r30012.
Thu Dec 2 21:28:07 2010 NARUSE, Yui <[email protected]>
* ext/json/lib/json/add/rails.rb: removed.
Thu Dec 2 21:22:05 2010 NARUSE, Yui <[email protected]>
* encoding.c (enc_alias_internal): free the copied key and
return NULL when given key is already registered.
* encoding.c (enc_alias): call set_encoding_const only when the
alias is not registered yet.
Thu Dec 2 19:58:24 2010 URABE Shyouhei <[email protected]>
* vm.c (ruby_vm_at_exit): new API. This enables extension libs to
hook a VM termination. Right now, because the VM we have is
process global, most extensions do not deallocate resources and
leave them to Operating System's reaping userland processes. But
in a future we plan to have multiple VMs to run simultaneously in
a single process (MVM project). At that stage we can no longer
rely on OSes and have to manage every resources to be reclaimed
properly. So it is. For a forward-compatibility reason this API
is introduced now, encouraging you to be as gentle as you can for
your resources; that is, tidy up your room.
* include/ruby/vm.h: ditto.
* vm_core.h (rb_vm_struct): new field.
* vm.c (vm_init2): initialize above new field.
* eval.c (ruby_cleanup): trigger those hooks.
Thu Dec 2 17:00:44 2010 Tanaka Akira <[email protected]>
* bignum.c: parenthesize macro arguments.
Thu Dec 2 15:31:14 2010 NAKAMURA Usaku <[email protected]>
* win32/win32.c (rb_w32_read): more fix. [ruby-core:33513]
Thu Dec 2 13:41:43 2010 NAKAMURA Usaku <[email protected]>
* win32/win32.c (rb_w32_read): workaround for console reading troubles.
fixed [ruby-core:33511]
Thu Dec 2 13:10:42 2010 NARUSE, Yui <[email protected]>
* lib/uri/common.rb (URI.encode_www_form):
split key-value when the value is Array like object.
Thu Dec 2 10:39:39 2010 NARUSE, Yui <[email protected]>
* lib/net/http.rb (Net::HTTP#set_form_data):
use URI.encode_www_form for application/x-www-form-urlencoded.
Thu Dec 2 10:38:40 2010 NARUSE, Yui <[email protected]>
* ext/extmk.rb: remove $makeflags.defined?, it should be $mflags.
Thu Dec 2 10:19:47 2010 NAKAMURA Usaku <[email protected]>
* win32/Makefile.sub (rc): suppress meaningless message.
Thu Dec 2 10:09:40 2010 NARUSE, Yui <[email protected]>
* ext/json/generator/extconf.rb: remove the lines which set -O3
when -O option is not set.
Note that -O3 doesn't always exist.
* ext/json/parser/extconf.rb: ditto.
Thu Dec 2 10:01:59 2010 NARUSE, Yui <[email protected]>
* ext/extmk.rb: define $makeflags.defined? like $mflags.
Thu Dec 2 07:20:20 2010 Nobuyoshi Nakada <[email protected]>
* lib/test/unit.rb (Test::Unit::GCStressOption): --gc-stress
option.
* lib/test/unit.rb (Test::Unit::Mini#_run_suites): show the result
even when interrupted on the way.
Thu Dec 2 07:08:38 2010 Nobuyoshi Nakada <[email protected]>
* ext/io/console/console.c (setattr): should retry on EINTR.
[ruby-dev:42666]
Thu Dec 2 02:30:50 2010 Eric Hodel <[email protected]>
* lib/net/http.rb: fixed positional wording to match revised order.
Thu Dec 2 01:24:39 2010 NARUSE, Yui <[email protected]>
* ext/json/lib/json/common.rb: don't use iconv on 1.9.
patched by Shota Fukumori [ruby-core:33164]
Thu Dec 2 01:02:03 2010 NARUSE, Yui <[email protected]>
* ext/json: Update github/flori/json from 1.4.2+ to
e22b2f2bdfe6a9b0. this fixes some bugs.
Thu Dec 2 00:05:44 2010 NARUSE, Yui <[email protected]>
* lib/net/http.rb: improve rdoc.
This change the order of chapter because such overview should
begin with simple examples.
patched by Eric Hodel [ruby-core:33469]
Wed Dec 1 22:01:49 2010 NAKAMURA Usaku <[email protected]>
* numeric.c (Init_Numeric): fixed a potential bug when using bccwin32
ruby with Microsoft's dll, though we already gave up of supporting
bccwin32. [ruby-core:33503]
Wed Dec 1 21:43:21 2010 Tanaka Akira <[email protected]>
* array.c: parenthesize macro arguments.
Wed Dec 1 21:41:57 2010 Tanaka Akira <[email protected]>
* test/socket/test_addrinfo.rb: extract Errno::EADDRINUSE as a method.
* test/socket/test_socket.rb: ditto.
Wed Dec 1 15:08:32 2010 NAKAMURA Usaku <[email protected]>
* test/openssl/test_ssl.rb (test_not_started_session): non socket
argument of SSLSocket.new is not supported on Windows.
Wed Dec 1 14:36:36 2010 Nobuyoshi Nakada <[email protected]>
* string.c (rb_memhash): zero-filled strings should return
different values. [ruby-core:33500]
Wed Dec 1 14:27:49 2010 Ryan Davis <[email protected]>
* lib/minitest/*.rb: Imported minitest 2.0.0 r5952.
* test/minitest/*.rb: ditto.
* lib/test/unit.rb: Compatibility fix for minitest changes.
Wed Dec 1 10:16:41 2010 NARUSE, Yui <[email protected]>
* string.c (rb_str_inspect): fix typo (not 0xFD but 0xFE).
Wed Dec 1 09:28:27 2010 NARUSE, Yui <[email protected]>
* addr2line.c: Follow .gnu_debuglink section.
A user of distribution provided ruby will see line
info if s/he has a debug package for ruby.
patched by Shinichiro Hamaji [ruby-dev:42655]
Wed Dec 1 01:29:15 2010 NARUSE, Yui <[email protected]>
* string.c (rb_str_inspect): inspect as a dummy encoding string
when a UTF-16/32 (not BE/LE) string does not have a BOM.
Unicode and some RFCs say that a string labeled as UTF-16/32
doesn't have a BOM, it should be considered big endian.
But many Windows programs generates little endian UTF-16
strings without a BOM. So String#inspect treats a string
labeled UTF-16/32 without a BOM as a dummy encoding string.
patched by Martin Duerst. [ruby-core:33461]
Tue Nov 30 17:04:10 2010 NARUSE, Yui <[email protected]>
* addr2line.c (parse_debug_line_cu): ignore DW_LNE_set_discriminator.
To ignore, it needs to read a single unsigned LEB128 integer.
Tue Nov 30 16:29:19 2010 NARUSE, Yui <[email protected]>
* vm_dump.c: undef HAVE_BACKTRACE when the OS is FreeBSD (in other
words backtrace() is libexecinfo) and it is optimized.
This temporary hack may be also applied to other libexecinfo
environments.
Tue Nov 30 16:23:23 2010 NARUSE, Yui <[email protected]>
* lib/net/http.rb: improve rdoc.
patched by Eric Hodel ref #4100
Tue Nov 30 12:23:52 2010 NAKAMURA Usaku <[email protected]>
* win32/win32.c (rb_w32_read): read only 1 byte at once on console.
workaround of Windows bug. see [ruby-core:33460].
this is not the final solution.
Tue Nov 30 11:39:13 2010 NARUSE, Yui <[email protected]>
* lib/net/http.rb: improve rdoc.
patched by mathew murphy [ruby-core:33472] ref #4100
Tue Nov 30 05:03:44 2010 Eric Hodel <[email protected]>
* lib/uri/common.rb (encode_www_form, encode_www_form_component):
Improve English in documentation.
* ext/openssl/ossl_ssl.c (ssl_version=, ciphers=): Document
#ssl_version=, add documentation for #ciphers=.
Mon Nov 29 22:55:24 2010 Nobuyoshi Nakada <[email protected]>
* lib/uri/common.rb (URI::WFKV_): get rid of backtrack explosion
by nested repeat operators. [ruby-core:33464]
Mon Nov 29 22:53:13 2010 Nobuyoshi Nakada <[email protected]>
* win32/Makefile.sub (scriptbin.mk): fix generated rules.
* win32/win32.c (rb_w32_write_console): fix argument type.
Mon Nov 29 21:12:51 2010 Nobuyoshi Nakada <[email protected]>
* misc/ruby-mode.el (ruby-forward-sexp): stop after literal hash
key labels.
* misc/ruby-mode.el (ruby-font-lock-keywords): highlight literal
hash key labels as symbols.
Mon Nov 29 18:31:31 2010 Martin Duerst <[email protected]>
* test/ruby/test_transcode.rb (test_unicode_public_review_issue_121):
- Removed commented-out options that are no longer under discussion.
- Added two more tests for forthcomming clarifications.
Mon Nov 29 14:31:17 2010 NAKAMURA Usaku <[email protected]>
* win32/win32.c (rb_w32_isatty): use GetConsoleMode() to determine the
fd is console or not, just like rb_w32_write_console(). [exprimental]
Mon Nov 29 14:19:40 2010 NAKAMURA Usaku <[email protected]>
* include/ruby/win32.h (rb_w32_write_console): wrong prototype.
Mon Nov 29 14:10:55 2010 NAKAMURA Usaku <[email protected]>
* win32/win32.c (rb_w32_write_console): fixed indentation.
Sun Nov 28 22:13:39 2010 Koichi Sasada <[email protected]>
* thread_pthread.c (NATIVE_MUTEX_LOCK_DEBUG): move and use it.
* ChangeLog: fix my timezone.
Mon Nov 28 21:58:58 2010 Koichi Sasada <[email protected]>
* thread_pthread.c: remove pthread_atfork().
Mon Nov 28 21:54:22 2010 Koichi Sasada <[email protected]>
* thread_pthread.c (native_cond_*): Check return code.
(Some OSes except Linux return error code).
Sun Nov 28 21:46:21 2010 Nobuyoshi Nakada <[email protected]>
* thread_pthread.c (thread_start_func_1): initialize native thread
data immediately before starting.
Sun Nov 28 14:56:32 2010 Nobuyoshi Nakada <[email protected]>
* io.c (struct argf): make lineno long, and reorder members.
Sun Nov 28 14:55:42 2010 Nobuyoshi Nakada <[email protected]>
* thread_win32.c (gvl_release, gvl_init): suppress warnings.
Sun Nov 28 14:48:24 2010 Nobuyoshi Nakada <[email protected]>
* thread_pthread.c (gvl_release, gvl_init): suppress warnings.
* vm_core.h (rb_vm_gvl_destroy): add prototype.
Sun Nov 28 14:46:24 2010 Nobuyoshi Nakada <[email protected]>
* thread_pthread.c (gvl_reinit): register atfork handler only in
the parent process, to get rid of dead lock.
Sun Nov 28 12:23:57 2010 Koichi Sasada <[email protected]>
* thread.c, vm_core.h: make gvl_acquire/release/init/destruct
APIs to modularize GVL implementation.
* thread_pthread.c, thread_pthread.h: Two GVL implementations.
(1) Simple locking GVL which is same as existing GVL.
(2) Wake-up queued threads. The wake-up order is simple FIFO.
(We can make several queues to support exact priorities, however
this causes some issues such as priority inversion and so on.)
This impl. prevents spin-loop (*1) caused on SMP environments.
*1: Only one Ruby thread acquires GVL again and again.
Bug #2359 [ruby-core:26694]
* thread_win32.c, thread_win32.h: Using simple lock
not by CRITICAL_SECTION but by Mutex.
Bug #3890 [ruby-dev:42315]
* vm.c (ruby_vm_destruct): ditto.
Sun Nov 28 04:40:00 2010 Luis Lavena <[email protected]>
* io.c (io_fwrite): use rb_w32_write_console under Windows.
* win32/win32.c (rb_w32_write_console): added to write to write
Unicode using WriteConsoleW for stdout/stderr. [ruby-core:33166]
Sun Nov 28 03:58:47 2010 NARUSE, Yui <[email protected]>
* lib/net/http.rb: improve rdoc.
patched by Mike Perham [ruby-core:33433]
Sat Nov 27 19:12:10 2010 Tanaka Akira <[email protected]>
* time.c: parenthesize macro arguments.
Sat Nov 27 18:08:18 2010 Nobuyoshi Nakada <[email protected]>
* time.c (leap_year_v_p): fixed typo. [ruby-dev:42631]
Sat Nov 27 17:57:08 2010 Tanaka Akira <[email protected]>
* resolv.rb (Resolv::DNS): use the same DNS server when retry using
TCP. reported by Julian Mehnle. [ruby-core:32970]
Sat Nov 27 15:45:27 2010 Nobuyoshi Nakada <[email protected]>
* vm_dump.c (rb_vm_bugreport): see CrashReport log on Mac OS X.
* configure.in: link addr2line only for ELF.
Sat Nov 27 13:58:55 2010 Shugo Maeda <[email protected]>
* lib/optparse.rb (OptionParser#candidate): : was missing. Thanks,
Shota Fukumori. [ruby-dev:42634]
Sat Nov 27 12:07:05 2010 Yukihiro Matsumoto <[email protected]>
* man/ruby.1: Ruby man page from Arthur Gunn in [ruby-core:33412]
Sat Nov 27 11:29:24 2010 Nobuyoshi Nakada <[email protected]>
* lib/optparse.rb (OptionParser#candidate): get rid of 1.9 syntax
so that BASERUBY can be 1.8.
Sat Nov 27 08:16:21 2010 Nobuyoshi Nakada <[email protected]>
* addr2line.c (rb_dump_backtrace_with_lines): should close fd on
edge case.
Fri Nov 26 13:33:24 2010 NARUSE, Yui <[email protected]>
* addr2line.c: apply a patch from shinichiro.h.
Fri Nov 26 12:21:20 2010 NARUSE, Yui <[email protected]>
* addr2line.c: added to show source filename and line number of
functions in backtrace. [ruby-dev:42625]
a patch from shinichiro.h <shinichiro.hamaji AT gmail.com>
* addr2line.h: ditto.
* common.mk: add addr2line.$(OBJEXT).
* configure.in: check dl_iterate_phdr.
* vm_dump.c (rb_vm_bugreport): use rb_dump_backtrace_with_lines in
addr2line.c when the binary is ELF.
Fri Nov 26 12:12:50 2010 NARUSE, Yui <[email protected]>
* regcomp.c (setup_tree): restart setup_tree() for a node whose
AnchorNode's type is ANCHOR_PREC_BEHIND or ANCHOR_PREC_BEHIND_NOT
and divide_look_behind_alternatives() divided it to NT_ALT or
NT_LIST. [ruby-core:33370]
Fri Nov 26 11:40:11 2010 NAKAMURA Usaku <[email protected]>
* vm_dump.c (dump_thread): get only required rights of the target
thread because THREAD_ALL_ACCESS causes an access error on XP.
reported by Masaya TARUI via IRC.
Fri Nov 26 11:09:07 2010 NAKAMURA Usaku <[email protected]>
* vm_dump.c (dump_thread): show the displacement from the beginning
of the symbol.
Fri Nov 26 10:48:23 2010 NAKAMURA Usaku <[email protected]>
* vm_dump.c (dump_thread): follow the output of glibc.
see [ruby-dev:42627]
Fri Nov 26 09:48:45 2010 NAKAMURA Usaku <[email protected]>
* re.c (rb_reg_initialize_str): should succeed the taint status from
the origin. [ruby-core:33338]
Fri Nov 26 09:32:37 2010 NAKAMURA Usaku <[email protected]>
* vm_dump.c (dump_thread): seems to be necessary the 3rd argument of
SymGetLineFromAddr64(), even though MSDN says it can be zero.
Fri Nov 26 09:03:38 2010 NARUSE, Yui <[email protected]>
* regcomp.c (onig_is_prelude): added to check whether ruby is still
in prelude (or other boot processes) or not.
* regcomp.c (optimize_node_left): use onig_is_prelude for printing.
* regcomp.c (set_optimize_info_from_tree): ditto.
* regcomp.c (onig_compile): ditto.
* regcomp.c (print_compiled_byte_code_list): print its address.
* regcomp.c (print_indent_tree): print its contents tree of
ANCHOR_PREC_READ(_NOT) and ANCHOR_PREC_BEHIND(_NOT).
Thu Nov 25 23:10:49 2010 NARUSE, Yui <[email protected]>
* regcomp.c (print_distance_range): use PRIuSIZE.
* regcomp.c (print_optimize_info): use %ld because the type of
calculated value of integers is long.
* regexec.c (onig_print_compiled_byte_code): add prototype.
* regexec.c (match_at): add 2nd argument.
Thu Nov 25 10:29:55 2010 NAKAMURA Usaku <[email protected]>
* ext/dl/callback/mkcallback.rb (gencallback): shouldn't assume that
VALUE is the same size with long.
Thu Nov 25 10:03:14 2010 NAKAMURA Usaku <[email protected]>
* test/win32ole/test_err_in_callback.rb (teardown): remove tmp file
only when it exists.
Thu Nov 25 01:38:25 2010 NARUSE, Yui <[email protected]>
* enc/trans/big5-hkscs-tbl.rb: Update table as HKSCS-2008.
patched by oCameLo oTnTh [ruby-core:33256]
* enc/big5.c: add alias Big5-HKSCS:2008 to Big5-HKSCS.
Wed Nov 24 15:18:07 2010 NAKAMURA Usaku <[email protected]>
* vsnprintf (BSD_vfprintf): use QUADINT macro only when _HAVE_SANE_QUAD_
macro is defined.
Wed Nov 24 12:47:16 2010 NAKAMURA Usaku <[email protected]>
* vsnprintf (BSD_vfprintf): added VC++ compatible size specifications
(I, I32, I64).
Wed Nov 24 11:19:13 2010 NARUSE, Yui <[email protected]>
* string.c (rb_str_inspect): treat UTF-16 and UTF-32 as BE or LE.
Wed Nov 24 06:35:32 2010 NARUSE, Yui <[email protected]>
* enc/trans/utf_16_32.trans: add the UTF-32 converter.
Wed Nov 24 05:40:33 2010 NARUSE, Yui <[email protected]>
Wed Nov 24 06:13:32 2010 Nobuyoshi Nakada <[email protected]>
* win32/win32.c (filecp, wstr_to_mbstr, mbstr_to_wstr):
refactored.
Wed Nov 24 05:40:33 2010 NARUSE, Yui <[email protected]>
* enc/trans/utf_16_32.trans: add a converter from UTF-8 to UTF-16.
Wed Nov 24 03:21:35 2010 NARUSE, Yui <[email protected]>
* enc/trans/utf_16_32.trans: raise error on unpaired upper
surrogates.
Wed Nov 24 01:40:23 2010 NARUSE, Yui <[email protected]>
* enc/utf_16_32.h: add UTF-16 and UTF-32 as a dummy encoding.
* enc/trans/utf_16_32.trans: add a converter from UTF-16 to UTF-8.
Tue Nov 23 21:59:47 2010 Nobuyoshi Nakada <[email protected]>
* win32/win32.c (wlink, rb_w32_getppid): use typedef instead of
repeating complicated function prototypes.
Tue Nov 23 18:54:03 2010 Nobuyoshi Nakada <[email protected]>
* vm.c (rb_thread_mark): should mark self in control
frames. [ruby-core:33289]
Tue Nov 23 07:57:31 2010 Tadayoshi Funaba <[email protected]>
* lib/date/delta/parser.{ry,rb}: fixed a bug of token scanner.
Tue Nov 23 07:29:24 2010 Tadayoshi Funaba <[email protected]>
* complex.c, rational.c ({nucomp,nurat}_expt): added a check.
Tue Nov 23 07:27:27 2010 Tadayoshi Funaba <[email protected]>
* lib/date.rb (daynum): should be private.
Tue Nov 23 07:22:54 2010 Nobuyoshi Nakada <[email protected]>
* ChangeLog (change-log-indent-text): hanging indent.
Tue Nov 23 06:30:51 2010 Nobuyoshi Nakada <[email protected]>
* configure.in (SITE_DIR, VENDOR_DIR),
version.c (ruby_initial_load_paths): exclude directories that
are configured without them from $LOAD_PATH. [ruby-core:33267]
* configure.in (rubylibprefix): No ruby, No libprefix.
Tue Nov 23 01:05:27 2010 NARUSE, Yui <[email protected]>
* vsnprintf.c (BSD_vfprintf): don't output floating point
when the precision is 0. [ruby-dev:42615]
Mon Nov 22 21:30:57 2010 Nobuyoshi Nakada <[email protected]>
* string.c (rb_str_inspect): fix for ascii-compatible external
encoding and different encoding string. [ruby-core:33283]
Mon Nov 22 18:45:44 2010 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (create_makefile): should not duplicate rules.
bug fix of r29842.
Mon Nov 22 18:04:40 2010 NARUSE, Yui <[email protected]>
* enc/big5.c: split CP950 from Big5.
* enc/big5.c: split CP951 from Big5-HKSCS.
* enc/trans/big5.trans: import conversion table of Big5, Big5-HKSCS,
CP950, and CP951 from ICU. they need fallback conversions.
ref [ruby-core:33256]
http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/
* tool/transcode-tblgen.rb (import_ucm): add to import ucm files.
Mon Nov 22 18:33:30 2010 Nobuyoshi Nakada <[email protected]>
* string.c (rb_str_inspect): append for each chars instead of bulk
copy if encoding conversion is needed. [ruby-core:33283]
Mon Nov 22 14:22:45 2010 NARUSE, Yui <[email protected]>
* time.c (time_zone): use rb_locale_str_new_cstr to set encoding
as locale and convert its content to internal encoding.