-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
3352 lines (2144 loc) · 113 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
Tue Apr 16 23:07:12 2013 Tanaka Akira <[email protected]>
* ext/socket/unixsocket.c (unix_send_io): Suppress a warning by clang.
(unix_recv_io): Ditto.
Tue Apr 16 12:27:00 2013 Zachary Scott <[email protected]>
* ext/sdbm/init.c: Fix comment indentation, by windwiny [Fixes GH-277]
Tue Apr 16 12:25:00 2013 Zachary Scott <[email protected]>
* ext/socket/option.c: Document synonymous methods, by windwiny [GH-277]
* ext/stringio/stringio.c: ditto
* ext/io/wait/wait.c: ditto
* ext/gdbm/gdbm.c: ditto
* ext/dl/cfunc.c: ditto
* ext/zlib/zlib.c: ditto
* ext/win32ole/win32ole.c: ditto
* ext/dbm/dbm.c: ditto
* ext/json/generator/generator.c: ditto
* ext/date/date_core.c: ditto
Tue Apr 16 11:23:00 2013 Zachary Scott <[email protected]>
* ext/openssl/*: Document synonymous methods, by windwiny [GH-277]
Mon Apr 15 22:21:42 2013 Tanaka Akira <[email protected]>
* ext/fiddle/depend: New file.
Mon Apr 15 22:01:02 2013 Akinori MUSHA <[email protected]>
* misc/ruby-electric.el (ruby-electric-insert): Check
ruby-electric-is-last-command-char-expandable-punct-p here.
* misc/ruby-electric.el (ruby-electric-closing-char): New
interactive function bound to closing characters. Typing one of
those closing characters right after the matching counterpart
cancels the effect of automatic closing. For example, typing
"{" followed by "}" simply makes "{}" instead of "{ } }".
Mon Apr 15 12:54:42 2013 Martin Bosslet <[email protected]>
* ext/openssl/ossl_ssl.c: Correct shutdown behavior w.r.t GC.
* test/openssl/test_ssl.rb: Add tests to verify correct behavior.
[Bug #8240] Patch provided by Shugo Maeda. Thanks!
Mon Apr 15 10:23:39 2013 NARUSE, Yui <[email protected]>
* ext/coverage/depend: fix id.h place as r40283.
* ext/coverage/extconf.rb: add topdir and topsrcdir to VPATH.
Sun Apr 14 19:46:14 2013 Tanaka Akira <[email protected]>
* ext/-test-/debug/depend: New file.
* ext/-test-/exception/depend: Ditto.
* ext/-test-/printf/depend: Ditto.
* ext/-test-/string/depend: Ditto.
* ext/coverage/depend: Ditto.
* ext/io/console/depend: Ditto.
* ext/io/nonblock/depend: Ditto.
* ext/io/wait/depend: Ditto.
* ext/openssl/depend: Ditto.
* ext/pathname/depend: Ditto.
* ext/psych/depend: Ditto.
* ext/zlib/depend: Ditto.
Sun Apr 14 02:46:50 2013 NARUSE, Yui <[email protected]>
* lib/mkmf.rb (MakeMakefile#create_makefile): remove {$(VPATH)} other
than nmake.
* ext/ripper/depend: use VPATH expecting removed by above.
Sat Apr 13 23:06:20 2013 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (timestamp_file): gather timestamp files in one
directory from each extension directories.
Sat Apr 13 21:09:02 2013 NAKAMURA Usaku <[email protected]>
* lib/mkmf.rb (MakeMakefile#create_makefile): output new macro
disthdrdir to specify the path of id.h, parse.h and etc.
* ext/ripper/depend: use above macro.
Sat Apr 13 20:28:08 2013 NARUSE, Yui <[email protected]>
* Merge Onigmo 5.13.4 f22cf2e566712cace60d17f84d63119d7c5764ee.
[bug] fix problem with optimization of \z (Issue #16) [Bug #8210]
Sat Apr 13 18:56:15 2013 NAKAMURA Usaku <[email protected]>
* ext/ripper/depend: parse.h and id.h may be created on topdir.
Sat Apr 13 12:08:16 2013 Marc-Andre Lafortune <[email protected]>
* lib/matrix.rb: Add Vector#cross_product, patch by Luis Ezcurdia
[fix GH-276] [rubyspec:81eec89a124]
Sat Apr 13 10:20:37 2013 Nobuyoshi Nakada <[email protected]>
* struct.c (rb_struct_define_without_accessor, rb_struct_define),
(rb_struct_s_def): hide member names array.
* struct.c (anonymous_struct, new_struct, setup_struct): split
make_struct() for each purpose.
Sat Apr 13 09:34:31 2013 Tanaka Akira <[email protected]>
* lib/mkmf.rb: Add ruby/ruby.h, ruby/missing.h, ruby/intern.h,
ruby/st.h and ruby/subst.h for ruby_headers in generated Makefile.
* ext/-test-/old_thread_select/depend: Update dependencies.
* ext/-test-/wait_for_single_fd/depend: Ditto.
* ext/bigdecimal/depend: Ditto.
* ext/curses/depend: Ditto.
* ext/digest/bubblebabble/depend: Ditto.
* ext/digest/depend: Ditto.
* ext/digest/md5/depend: Ditto.
* ext/digest/rmd160/depend: Ditto.
* ext/digest/sha1/depend: Ditto.
* ext/digest/sha2/depend: Ditto.
* ext/dl/callback/depend: Ditto.
* ext/dl/depend: Ditto.
* ext/etc/depend: Ditto.
* ext/nkf/depend: Ditto.
* ext/objspace/depend: Ditto.
* ext/pty/depend: Ditto.
* ext/readline/depend: Ditto.
* ext/ripper/depend: Ditto.
* ext/sdbm/depend: Ditto.
* ext/socket/depend: Ditto.
* ext/stringio/depend: Ditto.
* ext/strscan/depend: Ditto.
* ext/syslog/depend: Ditto.
* ext/-test-/num2int/depend: Removed.
* ext/dbm/depend: Ditto.
* ext/fcntl/depend: Ditto.
* ext/gdbm/depend: Ditto.
* ext/racc/cparse/depend: Ditto.
Sat Apr 13 00:15:54 2013 Nobuyoshi Nakada <[email protected]>
* ext/etc/etc.c (Init_etc): move Passwd and Group under Etc namespace
as primary names.
Fri Apr 12 21:06:55 2013 Tanaka Akira <[email protected]>
* common.mk: pack.o depends on internal.h.
Fri Apr 12 20:59:24 2013 Tanaka Akira <[email protected]>
* bignum.c (ones): Use __builtin_popcountl if available.
* internal.h (GCC_VERSION_SINCE): Macro moved from pack.c.
* pack.c: Include internal.h for GCC_VERSION_SINCE.
Fri Apr 12 18:29:42 2013 Tanaka Akira <[email protected]>
* common.mk: version.o depends on $(srcdir)/include/ruby/version.h
instead of {$(VPATH)}version.h to avoid confusion by VPATH between
top level version.h and include/ruby/version.h for build in-place.
[ruby-dev:47249] [Bug #8256]
Fri Apr 12 15:21:24 2013 Nobuyoshi Nakada <[email protected]>
* vm_insnhelper.c (vm_callee_setup_keyword_arg): non-symbol key is not
a keyword argument, keep it as an positional argument.
Fri Apr 12 11:58:00 2013 Zachary Scott <[email protected]>
* array.c: Document synonymous methods, by windwiny [GH-277]
* bignum.c: ditto
* complex.c: ditto
* dir.c: ditto
* encoding.c: ditto
* enumerator.c: ditto
* numeric.c: ditto
* proc.c: ditto
* re.c: ditto
* string.c: ditto
Thu Apr 11 23:41:46 2013 Tanaka Akira <[email protected]>
* common.mk: Add dependencies for include/ruby.h
* tool/update-deps: Use "make -p all miniruby ruby golf" to extract
dependencies in makefiles.
Thu Apr 11 23:21:17 2013 Tanaka Akira <[email protected]>
* tool/update-deps: Use "make -p all golf" to extract dependencies in
makefiles.
Thu Apr 11 21:02:19 2013 Tanaka Akira <[email protected]>
* common.mk: Dependency updated.
* tool/update-deps: Rewritten.
Thu Apr 11 19:59:48 2013 NARUSE, Yui <[email protected]>
* common.mk: partially revert r40183, which breaks building on
other than source directory. (its commit log also says the same
thing, but such failure is not reproducible on my environment
and the commit breaks build on my environment)
Thu Apr 11 16:10:01 2013 NARUSE, Yui <[email protected]>
* ext/fiddle/closure.c (USE_FFI_CLOSURE_ALLOC): define 0 on
Mac OS X and Linux [Bug #3371]
Thu Apr 11 13:19:22 2013 NAKAMURA Usaku <[email protected]>
* test/drb/drbtest.rb (Drb{Core,Ary}#teardown): retry Process.kill
if it fails with Errno::EPERM on Windows (workaround).
[ruby-dev:47245] [Bug #8251]
Thu Apr 11 11:11:38 2013 Akinori MUSHA <[email protected]>
* dir.c: Fix a typo.
Thu Apr 11 10:39:34 2013 NARUSE, Yui <[email protected]>
* ext/fiddle/closure.c (USE_FFI_CLOSURE_ALLOC): add missing case:
RUBY_LIBFFI_MODVERSION is not defined (usually on Windows).
Thu Apr 11 09:27:04 2013 Konstantin Haase <[email protected]>
* dir.c (file_s_fnmatch): Document File::FNM_EXTGLOB flag.
Thu Apr 11 09:17:00 2013 Zachary Scott <[email protected]>
* README: Fix typo by Benjamin Winkler [Fixes GH-281]
Thu Apr 11 06:15:51 2013 NARUSE, Yui <[email protected]>
* regint.h: fix typo: _M_AMD86 -> _M_AMD64.
* siphash.c: ditto.
* st.c: ditto.
Thu Apr 11 06:09:57 2013 NARUSE, Yui <[email protected]>
* ext/fiddle/extconf.rb: define RUBY_LIBFFI_MODVERSION macro.
* ext/fiddle/closure.c (USE_FFI_CLOSURE_ALLOC): define 0 or 1
with platform and libffi's version. [Bug #3371]
Thu Apr 11 05:30:43 2013 NARUSE, Yui <[email protected]>
* lib/mkmf.rb (pkg_config): Add optional argument "option".
If it is given, it returns the result of
`pkg-config --<option> <pkgname>`.
Thu Apr 11 03:33:05 2013 NARUSE, Yui <[email protected]>
* ext/fiddle/closure.c (initialize): check mprotect's return value.
If mprotect is failed because of PaX or something, its function call
will cause SEGV.
http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20130401T210301Z.diff.html.gz
Wed Apr 10 17:39:13 2013 Tanaka Akira <[email protected]>
* ext/bigdecimal/bigdecimal.c (VpCtoV): Initialize a local variable
even when overflow.
Wed Apr 10 12:32:37 2013 Tanaka Akira <[email protected]>
* bignum.c (rb_ll2big): Don't overflow on signed integer negation.
* ext/bigdecimal/bigdecimal.c (MUL_OVERFLOW_SIGNED_VALUE_P): New
macro.
(AddExponent): Don't overflow on signed integer multiplication.
(VpCtoV): Don't overflow on signed integer arithmetic.
(VpCtoV): Don't overflow on signed integer arithmetic.
Wed Apr 10 06:32:12 2013 Tanaka Akira <[email protected]>
* internal.h (MUL_OVERFLOW_INT_P): New macro.
* sprintf.c (GETNUM): Don't overflow on signed integer multiplication.
Tue Apr 9 20:38:20 2013 Tanaka Akira <[email protected]>
* internal.h (MUL_OVERFLOW_SIGNED_INTEGER_P): New macro.
(MUL_OVERFLOW_FIXNUM_P): Ditto.
(MUL_OVERFLOW_LONG_P): Ditto.
* array.c (rb_ary_product): Don't overflow on signed integer
multiplication.
* numeric.c (fix_mul): Ditto.
(int_pow): Ditto.
* rational.c (f_imul): Ditto.
* insns.def (opt_mult): Ditto.
* thread.c (sleep_timeval): Don't overflow on signed integer addition.
* bignum.c (rb_int2big): Don't overflow on signed integer negation.
(rb_big2ulong): Ditto.
(rb_big2long): Ditto.
(rb_big2ull): Ditto.
(rb_big2ll): Ditto.
Tue Apr 9 19:45:44 2013 Tanaka Akira <[email protected]>
* lib/open-uri.rb: Support multiple fields with same field
name (like Set-Cookie).
(OpenURI::Meta#metas): New accessor to obtain fields as a Hash from
field name (string) to field values (array of strings).
[ruby-core:37734] [Bug #4964] reported by ren li.
Tue Apr 9 15:26:12 2013 Nobuyoshi Nakada <[email protected]>
* compile.c (iseq_compile_each): append keyword hash to argument array
to splat if needed. [ruby-core:54094] [Bug #8236]
Tue Apr 9 10:02:39 2013 Nobuyoshi Nakada <[email protected]>
* lib/mkmf.rb (timestamp_file): gather timestamp files in one
directory from each extension directories, with considering
target_prefix.
Tue Apr 9 04:57:59 JST 2013 Charles Oliver Nutter <[email protected]>
* error.c: Capture EAGAIN, EWOULDBLOCK, EINPROGRESS exceptions and
export them for use in WaitReadable/Writable exceptions.
* io.c: Create versions of EAGAIN, EWOULDBLOCK, EINPROGRESS that
include WaitReadable and WaitWritable. Add rb_readwrite_sys_fail
for nonblocking failures using those exceptions. Use that
function in io_getpartial and io_write_nonblock instead of
rb_mod_sys_fail
* ext/openssl/ossl_ssl.c: Add new SSLError subclasses that include
WaitReadable and WaitWritable. Use those classes for
write_would_block and read_would_block instead of rb_mod_sys_fail.
* ext/socket/ancdata.c: Use rb_readwrite_sys_fail instead of
rb_mod_sys_fail in bsock_sendmsg_internal and
bsock_recvmsg_internal.
* ext/socket/init.c: Use rb_readwrite_sys_fail instead of
rb_mod_sys_fail in rsock_s_recvfrom_nonblock and
rsock_s_connect_nonblock.
* ext/socket/socket.c: Use rb_readwrite_sys_fail instead of
rb_mod_sys_fail in sock_connect_nonblock.
* include/ruby/ruby.h: Export rb_readwrite_sys_fail for use instead
of rb_mod_sys_fail. Introduce new constants RB_IO_WAIT_READABLE and
RB_IO_WAIT_WRITABLE for first arg to rb_readwrite_sys_fail.
Tue Apr 9 02:44:32 2013 Nobuyoshi Nakada <[email protected]>
* ext/socket/extconf.rb: $defs needs -D or -U. nothing is added
otherwize.
* ext/socket/extconf.rb: check struct in_addr6, which is defined in
VC6 instead of in6_addr.
* ext/socket/option.c (optname_to_sym): fix macro name.
* ext/socket/constants.c (rsock_cmsg_type_arg): fix macro name.
Mon Apr 8 23:57:21 2013 Nobuyoshi Nakada <[email protected]>
* object.c (id_for_setter): extract common code from const, class
variable, instance variable setters.
Mon Apr 8 23:55:53 2013 Nobuyoshi Nakada <[email protected]>
* ext/depend (ENCOBJS, TRANSOBJS): use explicit path to ruby.h for
nmake.
* ext/depend (ENCOBJS, TRANSOBJS): fix header dependency, VPATH has
$(srcdir)/include/ruby but not $(srcdir)/include, so cannot find out
ruby/ruby.h. use ruby.h instead and ../ruby for include/ruby.h.
Mon Apr 8 20:30:37 2013 Yuki Yugui Sonoda <[email protected]>
* ext/depend (ENCOBJS, TRANSOBJS): Add missing dependencies.
Mon Apr 8 17:19:28 2013 Nobuyoshi Nakada <[email protected]>
* ext/win32ole/win32ole.c (fole_missing): should check actual argument
count before accessing.
Mon Apr 8 16:03:55 2013 Yuki Yugui Sonoda <[email protected]>
Fixes a build failure of ext/ripper/ripper.c on building out of place.
* common.mk (id.h, id.c): Always generated in $(srcdir).
(ext/ripper/ripper.c): Passes $(PATH_SEPARATOR) too to the sub make.
Mon Apr 8 12:05:02 2013 NARUSE, Yui <[email protected]>
* object.c (rb_obj_ivar_set): call to_str for string only once.
to_str was called from rb_is_const_name and rb_to_id before.
* object.c (rb_mod_const_set): ditto.
* object.c (rb_mod_cvar_set): ditto.
Sun Apr 7 13:56:16 2013 Kazuhiro NISHIYAMA <[email protected]>
* test/ruby/test_require.rb (TestRequire#test_require_nonascii_path):
RUBY_PLATFORM should escape as Regexp,
because RUBY_PLATFORM may contain '.'.
Sun Apr 7 10:44:01 2013 Tanaka Akira <[email protected]>
* include/ruby/defines.h: Simplify the logic to include sys/select.h.
This fixes a compilation error on Haiku (gcc2 and gcc4).
* configure.in: Use shared linker as $(CC) for Haiku.
This fixes a build error on Haiku (gcc2).
Sun Apr 7 10:41:30 2013 Tanaka Akira <[email protected]>
* lib/resolv.rb (MDNSOneShot#sender): Delete an unused variable.
Sun Apr 7 03:24:36 2013 NARUSE, Yui <[email protected]>
* addr2line.c: use more generic type:
* u_char -> unsigned char
* u_short -> unsigned short
* u_int -> unsigned int
* u_long -> unsigned long
* quad_t -> int64_t
* u_quad_t -> uint64_t
* addr2line.c (imax): inline is defined by configure.
Sun Apr 7 01:40:39 2013 Akinori MUSHA <[email protected]>
* misc/ruby-electric.el (ruby-electric-hash): New electric
function that expands a hash sign inside a string or regexp to
"#{}".
* misc/ruby-electric.el (ruby-electric-curlies): Do not insert
spaces inside when the curly brace is a delimiter of %r, %w,
etc.
* misc/ruby-electric.el (ruby-electric-curlies): Insert another
space before a closing curly brace when
ruby-electric-newline-before-closing-bracket is nil.
Sun Apr 7 01:01:26 2013 Tanaka Akira <[email protected]>
* strftime.c (rb_strftime_with_timespec): Test yday range.
[ruby-core:44088] [Bug #6247] reported by Ruby Submit.
Sat Apr 6 23:46:54 2013 Naohisa Goto <[email protected]>
* configure.in (AC_CHECK_HEADERS): atomic.h for Solaris atomic_ops.
* ruby_atomic.h: Skip using Solaris10 atomic_ops on Solaris 9 or
earlier if atomic.h is not available. [ruby-dev:47229] [Bug #8228]
Sat Apr 6 23:40:40 2013 Tanaka Akira <[email protected]>
* lib/resolv.rb: Support LOC resources.
[ruby-core:23361] [Feature #1436] by JB Smith.
Sat Apr 6 23:38:09 2013 Naohisa Goto <[email protected]>
* addr2line.c: quad_t and u_quad_t is not available on Solaris.
__inline is not available with old compilers on Solaris.
[ruby-dev:47229] [Bug #8227]
Sat Apr 6 23:31:38 2013 Tanaka Akira <[email protected]>
* lib/resolv.rb: Add one-shot multicast DNS support.
[ruby-core:53387] [Feature #8089] by Eric Hodel.
Sat Apr 6 22:12:01 2013 Tanaka Akira <[email protected]>
* lib/resolv.rb (Resolv::DNS.fetch_resource): New method to obtain
full result.
[ruby-dev:43587] [Feature #4788] proposed by Makoto Kishimoto.
Sat Apr 6 20:17:51 2013 Tanaka Akira <[email protected]>
* ext/socket/socket.c (rsock_sys_fail_raddrinfo): Renamed from
rsock_sys_fail_addrinfo.
(rsock_sys_fail_raddrinfo_or_sockaddr): Renamed from
rsock_sys_fail_addrinfo_or_sockaddr.
* ext/socket/rubysocket.h: Follow the above change.
Sat Apr 6 19:24:59 2013 Tanaka Akira <[email protected]>
* ext/socket/socket.c (rsock_sys_fail_sockaddr): Takes struct sockaddr
and socklen_t instead of String object.
(rsock_sys_fail_addrinfo_or_sockaddr): Follow the above change.
* ext/socket/rubysocket.h (rsock_sys_fail_sockaddr): Follow the above
change.
Sat Apr 6 14:28:23 2013 Tanaka Akira <[email protected]>
* ext/socket/rubysocket.h (SockAddrStringValueWithAddrinfo): New macro.
(rsock_sockaddr_string_value_with_addrinfo): New declaration.
(rsock_addrinfo_inspect_sockaddr): Ditto.
(rsock_sys_fail_addrinfo): Ditto.
(rsock_sys_fail_sockaddr_or_addrinfo): Ditto.
* ext/socket/raddrinfo.c (rsock_addrinfo_inspect_sockaddr): Renamed
from addrinfo_inspect_sockaddr and exported.
(rsock_sockaddr_string_value_with_addrinfo): New function to obtain
string and possibly addrinfo object.
* ext/socket/socket.c (rsock_sys_fail_sockaddr): Don't use
rsock_sys_fail_host_port which is IP dependent. Invoke
rsock_sys_fail_addrinfo.
(rsock_sys_fail_addrinfo): New function using
rsock_addrinfo_inspect_sockaddr.
(rsock_sys_fail_addrinfo_or_sockaddr): New function.
(sock_connect): Use SockAddrStringValueWithAddrinfo and
rsock_sys_fail_addrinfo_or_sockaddr.
(sock_connect_nonblock): Ditto.
(sock_bind): Ditto.
Sat Apr 6 13:34:20 2013 Tanaka Akira <[email protected]>
* ext/socket/socket.c (rsock_sys_fail_sockaddr): Delete 2nd argument.
* ext/socket/rubysocket.h (rsock_sys_fail_sockaddr): Follow above
change.
Sat Apr 6 13:13:39 2013 Tanaka Akira <[email protected]>
* ext/socket/socket.c (rsock_sys_fail_path): Use rb_str_inspect only
for String to avoid SEGV.
Sat Apr 6 12:40:16 2013 Tanaka Akira <[email protected]>
* ext/socket/rubysocket.h (rsock_sys_fail_host_port): Wrap by NORETURN.
(rsock_sys_fail_path): Ditto.
(rsock_sys_fail_sockaddr): Ditto.
Sat Apr 6 11:49:35 2013 Tanaka Akira <[email protected]>
* ext/socket/socket.c (rsock_sys_fail_path): Use rb_str_inspect if the
path contains a NUL.
Sat Apr 6 11:39:19 2013 Tanaka Akira <[email protected]>
* ext/socket: Improve socket exception message to show socket address.
[ruby-core:45617] [Feature #6583] proposed Eric Hodel.
* ext/socket/rubysocket.h (rsock_sys_fail_host_port): Declared.
(rsock_sys_fail_path): Ditto.
(rsock_sys_fail_sockaddr): Ditto.
* ext/socket/udpsocket.c (udp_connect): Use rsock_sys_fail_host_port.
(udp_bind): Ditto.
(udp_send): Ditto.
* ext/socket/init.c (rsock_init_sock): Specify a string for rb_sys_fail
argument.
(make_fd_nonblock): Ditto.
(rsock_s_accept): Ditto.
* ext/socket/ipsocket.c (init_inetsock_internal): Use
rsock_sys_fail_host_port.
* ext/socket/socket.c (rsock_sys_fail_host_port): Defined.
(rsock_sys_fail_path): Ditto.
(rsock_sys_fail_sockaddr): Ditto.
(setup_domain_and_type): Use rsock_sys_fail_sockaddr.
(sock_connect_nonblock): Ditto.
(sock_bind): Ditto.
(sock_gethostname): Specify a string for rb_sys_fail argument.
(socket_s_ip_address_list): Ditto.
* ext/socket/basicsocket.c (bsock_shutdown): Specify a string for
rb_sys_fail argument.
(bsock_setsockopt): Use rsock_sys_fail_path.
(bsock_getsockopt): Ditto.
(bsock_getpeereid): Refine the argument for rb_sys_fail.
* ext/socket/unixsocket.c (rsock_init_unixsock): Use
rsock_sys_fail_path.
(unix_path): Ditto.
(unix_send_io): Ditto.
(unix_recv_io): Ditto.
(unix_addr): Ditto.
(unix_peeraddr): Ditto.
Sat Apr 6 11:23:18 2013 Hiroshi Shirosaki <[email protected]>
* test/ruby/test_require.rb (TestRequire#test_require_nonascii_path):
fix load path for encoding to run the test as stand-alone.
Sat Apr 6 09:54:20 2013 Nobuyoshi Nakada <[email protected]>
* pack.c (NATINT_LEN): fix definition order, must be after
NATINT_PACK.
Sat Apr 6 03:11:07 2013 Aaron Patterson <[email protected]>
* ext/psych/lib/psych/visitors/yaml_tree.rb: fix symbol keys in coder
emission. Thanks @tjwallace
* test/psych/test_coder.rb: test for change
Sat Apr 6 02:54:08 2013 Aaron Patterson <[email protected]>
* ext/psych/lib/psych/exception.rb: there should be only one exception
base class. Fixes tenderlove/psych #125
* ext/psych/lib/psych.rb: require the correct exception class
* ext/psych/lib/psych/syntax_error.rb: ditto
* ext/psych/lib/psych/visitors/to_ruby.rb: ditto
Sat Apr 6 02:30:28 2013 Nobuyoshi Nakada <[email protected]>
* parse.y (new_defined): remove all extra parentheses, and return
"nil" for defined? with empty expression.
[ruby-core:54024] [Bug #8224]
Sat Apr 6 02:06:04 2013 Aaron Patterson <[email protected]>
* ext/psych/lib/psych/visitors/to_ruby.rb: correctly register
self-referential strings. Fixes tenderlove/psych #135
* test/psych/test_string.rb: appropriate test.
Sat Apr 6 01:21:56 2013 Tanaka Akira <[email protected]>
* ext/socket/init.c (cloexec_accept): Fix a compile error on
Debian GNU/kFreeBSD. Consider HAVE_ACCEPT4 is defined
but SOCK_CLOEXEC is not defined.
Sat Apr 6 00:19:30 2013 Hiroshi Shirosaki <[email protected]>
* load.c (features_index_add): use rb_str_subseq() to specify C string
position properly to fix require non ascii path.
[ruby-core:53733] [Bug #8165]
* test/ruby/test_require.rb (TestRequire#test_require_nonascii_path):
a test for the above.
Fri Apr 5 20:41:49 2013 Tanaka Akira <[email protected]>
* include/ruby/defines.h (HAVE_TRUE_LONG_LONG): Defined to distinguish
availability of long long and availability of 64bit integer type.
* pack.c: Use HAVE_TRUE_LONG_LONG to distinguish q! and Q! support.
Fri Apr 5 20:19:42 2013 Tanaka Akira <[email protected]>
* addr2line.c: Include ruby/missing.h to fix compile error on Debian.
Fri Apr 5 19:39:52 2013 Nobuyoshi Nakada <[email protected]>
* compile.c (iseq_compile_each): fix of defined? with empty
expression. [ruby-core:53999] [Bug #8220]
Fri Apr 5 13:22:59 2013 Nobuyoshi Nakada <[email protected]>
* ext/curses/curses.c (Init_curses): fix implementation function,
crmode should be same as cbreak. [ruby-core:54013] [Bug #8222]
Fri Apr 5 12:06:00 2013 Zachary Scott <[email protected]>
* ext/curses/hello.rb: Typo in Curses example by Drew Blas
[Fixes GH-273]
Thu Apr 4 23:45:13 2013 Tanaka Akira <[email protected]>
* lib/resolv.rb (bind_random_port): Rescue EACCES for SunOS.
bind() on SunOS for port 2049 (nfs) and 4045 (lockd) causes
EACCES with unprivileged process. cf. PRIV_SYS_NFS in privileges(5)
[ruby-core:48064] [Bug #7183] reported by Frank Meier.
Thu Apr 4 23:24:45 2013 Tanaka Akira <[email protected]>
* ext/socket/extconf.rb: Remove condition for bcc.
Thu Apr 4 22:53:23 2013 Tanaka Akira <[email protected]>
* include/ruby/ruby.h (FIX2LONG): Parenthesize the macro body.
Thu Apr 4 22:32:32 2013 Tanaka Akira <[email protected]>
* time.c (time_strftime): Describe %L and %N truncates digits under
the specified length.
[ruby-core:52130] [Bug #7829]
Thu Apr 4 22:08:46 2013 Tanaka Akira <[email protected]>
* object.c (rb_mod_cvar_set): Reverted "avoid inadvertent
symbol creation" to avoid SEGV by
Class.new.class_variable_set(1, 2).
Thu Apr 4 20:07:19 2013 Tanaka Akira <[email protected]>
* ext/pathname/pathname.c (path_write): New method.
(path_binwrite): Ditto.
[ruby-core:49468] [Feature #7378]
Thu Apr 4 16:51:29 2013 Yuki Yugui Sonoda <[email protected]>
* thread_pthread.c: Fixes wrong scopes of #if USE_SLEEPY_TIMER_THREAD
.. #endif sections. This fixes a build error on NativeClient.
Wed Apr 3 17:25:31 2013 Yuki Yugui Sonoda <[email protected]>
* thread_pthread.c (ruby_init_stack): Avoid using uninitialized value.
stackaddr and size are not set if get_stack() fails.
Thu Apr 4 16:55:08 2013 Nobuyoshi Nakada <[email protected]>
* struct.c (make_struct): avoid inadvertent symbol creation.
(rb_struct_aref): ditto.
(rb_struct_aset): ditto.
Thu Apr 4 16:54:40 2013 Nobuyoshi Nakada <[email protected]>
* object.c (rb_mod_const_set): avoid inadvertent symbol creation.
(rb_obj_ivar_set): ditto.
(rb_mod_cvar_set): ditto.
Thu Apr 4 15:46:48 2013 Nobuyoshi Nakada <[email protected]>
* enum.c (enum_inject): avoid inadvertent symbol creation.
Thu Apr 4 14:37:07 2013 Nobuyoshi Nakada <[email protected]>
* thread.c (rb_thread_aref): avoid inadvertent symbol creation.
(rb_thread_variable_get): ditto.
(rb_thread_key_p): ditto.
(rb_thread_variable_p): ditto.
Thu Apr 4 11:33:57 2013 NARUSE, Yui <[email protected]>
* ext/openssl/ossl_bn.c (ossl_bn_to_i): Use bn2hex to speed up.
In general, binary to/from decimal needs extra cost.
Thu Apr 4 07:24:18 2013 Tanaka Akira <[email protected]>
* ext/socket/extconf.rb: Specify arguments to test functions.
Thu Apr 4 03:25:09 2013 NARUSE, Yui <[email protected]>
* ext/openssl/ossl_bn.c (ossl_bn_initialize): fix can't create from bn.
Wed Apr 3 22:09:25 2013 Tanaka Akira <[email protected]>
* ext/socket/extconf.rb: Test functions and libraries after headers.
Wed Apr 3 21:23:29 2013 Tanaka Akira <[email protected]>
* io.c (rb_io_seek_m): Accept :CUR, :END, :SET as "whence" argument.
(interpret_seek_whence): New function.
[ruby-dev:45818] [Feature #6643]
Wed Apr 3 20:52:49 2013 Tanaka Akira <[email protected]>
* process.c: Describe the behavior which Ruby invokes a commandline
directly without shell if the commandline is simple enough.
[ruby-core:50459] [Bug #7489]
Wed Apr 3 20:27:37 2013 Tanaka Akira <[email protected]>
* ext/extmk.rb (extmake): Invoke Logging::log_close in a ensure
clause.
Wed Apr 3 18:53:58 2013 Tanaka Akira <[email protected]>
* ext/extmk.rb (extmake): Use Logging.open to switch stdout and
stderr. Delay Logging::log_close until the failure message is
written. Write the failure message only if log file is opened.
* lib/mkmf.rb (Logging.log_opened?): New method.
[ruby-dev:47215] [Bug #8209]
Wed Apr 3 17:11:15 2013 Nobuyoshi Nakada <[email protected]>
* win32/win32.c (constat_apply): pass through unknown sequence which
starts with ESC but is not followed by a bracket. [ruby-core:53879]
[Bug #8201]
Wed Apr 3 16:35:32 2013 Nobuyoshi Nakada <[email protected]>
* bignum.c (rb_big_eq): hide intermediate Bignums not just freeing
memory. [ruby-core:53893] [Bug #8204]
* object.c (rb_obj_hide): hide an object by clearing klass.
* bignum.c (rb_big_eq): test as Fixnum if possible and get rid of zero
length Bignum. [ruby-core:53893] [Bug #8204]
Tue Apr 2 23:56:03 2013 Tanaka Akira <[email protected]>
* lib/securerandom.rb (SecureRandom.random_bytes): Use
OpenSSL::Random.random_add instead of OpenSSL::Random.seed and
specify 0.0 as the entropy.
[ruby-core:47308] [Bug #6928]
Tue Apr 2 20:24:52 2013 Tanaka Akira <[email protected]>
* pack.c: Support Q! and q! for long long.
(natstr): Moved to toplevel. Add q and Q if there is long long type.
(endstr): Moved to toplevel.
(NATINT_PACK): Consider long long.
(NATINT_LEN_Q): New macro.
(pack_pack): Support Q! and q!.
(pack_unpack): Ditto.
[ruby-dev:43970] [Feature #3946]
Tue Apr 2 19:24:26 2013 Tanaka Akira <[email protected]>
* ext/-test-/num2int/num2int.c: Define utility methods
as module methods of Num2int.
* test/-ext-/num2int/test_num2int.rb: Follow the above change.
Tue Apr 2 18:49:01 2013 Tanaka Akira <[email protected]>
* lib/securerandom.rb: Don't use Array#to_s.
[ruby-core:52058] [Bug #7811] fixed by zzak (Zachary Scott).
Tue Apr 2 17:38:20 2013 NARUSE, Yui <[email protected]>
* re.c (rb_reg_to_s): suppress duplicated charclass warning.
Regexp#to_s suppress extra its whole regexp options by calling
onig_new with its source, but it doesn't call rb_reg_preprocess.
Therefore its Unicode escapes (\u{XXXX}) are given as is,
and it may cause duplicated charclass warning for example
"[\u{33}]" (3 is duplicated) or "[\u{a}\u{b}]" (u is duplicated).
[ruby-core:53649] [Bug #8151]
Tue Apr 2 16:00:06 2013 NARUSE, Yui <[email protected]>
* vm_dump.c (rb_print_backtrace): separate to ease showing C backtrace.
* internal.h (rb_print_backtrace): ditto.
Tue Apr 2 15:22:09 2013 NARUSE, Yui <[email protected]>
* test/ruby/envutil.rb (assert_separately): stop_auto_run of
Test::Unit::Runner to prevent auto runner use ARGV.
* test/ruby/envutil.rb (assert_separately): add $: to separate process.
* test/ruby/envutil.rb (assert_separately): fail if stderr is not
empty and ignore_stderr is false.
Tue Apr 2 06:46:59 2013 Tanaka Akira <[email protected]>
* ext/-test-/num2int/num2int.c: Rename utility methods
to global functions to ease manual experiments.
* test/-ext-/num2int/test_num2int.rb: Follow the above change.
Mon Apr 1 22:26:17 2013 Tanaka Akira <[email protected]>
* ext/zlib/zlib.c (rb_gzfile_set_mtime): Use NUM2UINT.
The old logic doesn't work well on LP64 platforms as:
.. -2**63-1 => error,
-2**63 .. -2**62-1 => success,
-2**62 .. -2**31-1 => error,
-2**31 .. 2**31-1 => success,
2**31 .. 2**62-1 => error,
2**62 .. 2**64-1 => success,
2**64 .. => error.
Mon Apr 1 22:08:02 2013 Benoit Daloze <[email protected]>
* ext/zlib/zlib.c (Zlib::Inflate.new):
Fix documentation syntax and naming errors.
Based on patch by Robin Dupret. Fix GH-271.
Mon Apr 1 21:22:31 2013 Tanaka Akira <[email protected]>
* test/-ext-/num2int/test_num2int.rb: Test small bignums.
Mon Apr 1 21:10:56 2013 Tanaka Akira <[email protected]>
* numeric.c (rb_num2ulong_internal): Don't cast a negative double value
into unsigned long, which is undefined behavior.
(rb_num2ull): Don't cast a value bigger than LLONG_MAX into
long long, which is undefined behavior.
Mon Apr 1 20:57:57 2013 Tanaka Akira <[email protected]>
* ext/-test-/num2int/num2int.c: Return string for result, instead of
printing.
* test/-ext-/num2int/test_num2int.rb: updated to follow above change.
Mon Apr 1 20:08:07 2013 Tanaka Akira <[email protected]>
* numeric.c (rb_num2long): Don't use SIGNED_VALUE uselessly.
(check_int): Ditto.
(check_short): Ditto.
(rb_num2fix): Ditto.
(rb_num2ulong_internal): Add a cast.
Mon Apr 1 18:41:35 2013 Nobuyoshi Nakada <[email protected]>
* configure.in: skip autoconf 2.64 and 2.66, 2.67 seems short-lived
but stick on it for Debian Squeeze.
Mon Apr 1 14:22:52 2013 Nobuyoshi Nakada <[email protected]>
* configure.in: check clang version by predefined macro values.
[Bug #8192]
Mon Apr 1 12:05:15 2013 Tanaka Akira <[email protected]>
* numeric.c (check_uint): Take the 1st argument as unsigned long,
instead of VALUE. Refine the validity test conditions.
(check_ushort): Ditto.
Mon Apr 1 07:15:03 2013 Ayumu AIZAWA <[email protected]>
* configure.in: use quadrigraph to put '[' or ']'. [Bug #8192]
Mon Apr 1 04:16:41 2013 NARUSE, Yui <[email protected]>
* configure.in: kick old clang. [ruby-dev:47204] [Bug #8192]
Mon Apr 1 01:12:46 2013 Tanaka Akira <[email protected]>
* include/ruby/ruby.h (FIX2ULONG): Make it consistent with NUM2ULONG.
* ext/-test-/num2int/num2int.c: Add utility methods for FIX2XXX tests.
* test/-ext-/num2int/test_num2int.rb: Add tests for FIX2XXX.
Sun Mar 31 17:17:56 2013 Nobuyoshi Nakada <[email protected]>
* proc.c (rb_mod_define_method): consider visibility in define_method.
patch by mashiro <mail AT mashiro.org>. fix GH-268.
Sun Mar 31 15:40:30 2013 Nobuyoshi Nakada <[email protected]>
* win32/configure.bat: try to fix option arguments split by commas and
equals here. this batch file no longer run with old command.com.
* tool/mkconfig.rb: no hacks for cmd.exe.
Sun Mar 31 13:47:04 2013 Tanaka Akira <[email protected]>
* numeric.c (rb_num2ulong_internal): New function similar to
rb_num2ulong but integer wrap around flag is also returned.
(rb_num2ulong): Use rb_num2ulong_internal.
(rb_num2uint): Use rb_num2ulong_internal and the wrap around flag is
used instead of negative_int_p(val).
(rb_num2ushort): ditto.
Sun Mar 31 06:27:17 2013 Nobuyoshi Nakada <[email protected]>
* class.c (HAVE_METACLASS_P): should check FL_SINGLETON flag before get
instance variable to get rid of wrong warning about __attached__.
[ruby-core:53839] [Bug #8188]