Project

General

Profile

Activity

From 02/08/2014 to 02/14/2014

02/14/2014

07:59 PM Bug #9388: Ruby 1.9.3-pxxx segmentation fault
Hiroshi SHIBATA wrote:
> Could you try to your code in Ruby 2.0 or 2.1?
Hello Hiroshi,
thank you for your response. We're currently porting the code to 2.1 (on the side), and hope to solve this issue with the upgrade. Since that m...
phillipoertel (Phillip Oertel)
06:32 PM Bug #9039: [PATCH] socket: avoid unnecessary ppoll/select on Linux (part 3)
usa@garbagecollect.jp wrote:
> Issue #9039 has been updated by Usaku NAKAMURA.
>
> Backport changed from 1.9.3: DONE, 2.0.0: REQUIRED, 2.1: REQUIRED to 1.9.3: REJECTED, 2.0.0: REQUIRED, 2.1: REQUIRED
>
> ... but reverted from rub...
normalperson (Eric Wong)
12:04 PM Bug #9039: [PATCH] socket: avoid unnecessary ppoll/select on Linux (part 3)
... but reverted from ruby_1_9_3 because it causes errors on CI. usa (Usaku NAKAMURA)
06:24 AM Bug #9039: [PATCH] socket: avoid unnecessary ppoll/select on Linux (part 3)
backported into ruby_1_9_3 at r44943. usa (Usaku NAKAMURA)
04:40 PM Revision 2568fd77 (git): load.c: call init
* load.c (register_init_ext): call initialization function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:34 PM Bug #9519 (Rejected): Wrong multiline calculation
PoLS is not for Ruby. nobu (Nobuyoshi Nakada)
10:33 AM Bug #9519: Wrong multiline calculation
Heesob Park wrote:
> I think this issue is not a bug.
> ...
Is it ok? How about "the Principle of Least Surprise"?
Victor (Victor Daev)
10:28 AM Bug #9519: Wrong multiline calculation
I think this issue is not a bug.
p(100 - (1
+ 2
+ 3
+ 4))
is interpreted as
p(100-(1;+2;+3;+4))
phasis68 (Heesob Park)
10:27 AM Bug #9519: Wrong multiline calculation
p(100 - (1 + 2 + 3 + 4))
# => 90
# ok
p(100 - (1 +
2 +
3 +
4))
# => 90
# ok
p(100 - (1
+ 2
+ 3
+ 4))
# => 96
# BUT it should be 90
Victor (Victor Daev)
10:19 AM Bug #9519: Wrong multiline calculation
Ooops. How can I fix the layout? Victor (Victor Daev)
10:14 AM Bug #9519 (Rejected): Wrong multiline calculation
I have some script with a trouble.
p(100 - (1 + 2 + 3 + 4))
# => 90
# ok
p(100 - (1 +
2 +
3 +
4))
# => 90
# ok
p(100 - (1
+ 2
+ 3
+ 4))
# => 96
# BUT it should be 90
If I run the script I will get
$...
Victor (Victor Daev)
04:33 PM Feature #7596: Find::find should not silently ignores errors
What about an optional error handler?
Simple flag may not be enough, for example, to search unreadable directories.
nobu (Nobuyoshi Nakada)
10:27 AM Feature #7596: Find::find should not silently ignores errors
I agree with adding keyword argument, e.g. ignore_error: true.
Choose a good keyword for the option.
Matz.
matz (Yukihiro Matsumoto)
03:45 PM Feature #8887 (Closed): min(n), max(n), min_by(n), max_by(n)
Applied in changeset r44958.
----------
* enum.c: Enumerable#{min,min_by,max,max_by} extended to take an
optional argument.
(nmin_cmp): New function.
(nmin_block_cmp): Ditto
(nmin_filter): Ditto.
(nmin_i): Ditto.
(nmin_run):...
akr (Akira Tanaka)
08:44 AM Feature #8887 (Assigned): min(n), max(n), min_by(n), max_by(n)
nobu (Nobuyoshi Nakada)
07:56 AM Feature #8887: min(n), max(n), min_by(n), max_by(n)
Agreed. I think 2.2 is a good time to add these enhancement.
Matz.
matz (Yukihiro Matsumoto)
03:45 PM Revision f526784e (git): * enum.c: Enumerable#{min,min_by,max,max_by} extended to take an
optional argument.
(nmin_cmp): New function.
(nmin_block_cmp): Ditto
(nmin_filter): Ditto.
(nmin_i): Ditto.
(nmin_run): Ditto.
(enum_min): Call nmin_run if the optional argument is given.
(nmin_max): Ditto.
(nmin_min_by):...
akr (Akira Tanaka)
03:29 PM Feature #6083 (Closed): Hide a Bignum definition
Applied in changeset r44957.
----------
* include/ruby/ruby.h,
internal.h,
ext/-test-/bignum/bigzero.c: Hide a Bignum definition.
[ruby-core:42891] [Feature #6083]
akr (Akira Tanaka)
07:59 AM Feature #6083: Hide a Bignum definition
Even though this breaks source compatibility, it is worth changing it (to mark dangerous operation).
So go ahead.
Matz.
matz (Yukihiro Matsumoto)
03:29 PM Revision ab9bc151 (git): * include/ruby/ruby.h,
internal.h,
ext/-test-/bignum/bigzero.c: Hide a Bignum definition.
[ruby-core:42891] [Feature #6083]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:16 PM Feature #9502 (Closed): Remove deprecated definitions
Applied in changeset r44955.
----------
* include/ruby/intern.h,
include/ruby/io.h,
include/ruby/ruby.h,
include/ruby/win32.h,
include/ruby/backward/rubysig.h,
bignum.c,
gc.c,
io.c,
process.c,
safe.c,
struct.c,
thr...
akr (Akira Tanaka)
07:50 AM Feature #9502: Remove deprecated definitions
Agreed. Remove those functions (structs).
Matz.
matz (Yukihiro Matsumoto)
03:16 PM Revision d8633ac1 (git): * 2014-02-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:16 PM Revision 6f8b0e9b (git): * include/ruby/intern.h,
include/ruby/io.h,
include/ruby/ruby.h,
include/ruby/win32.h,
include/ruby/backward/rubysig.h,
bignum.c,
gc.c,
io.c,
process.c,
safe.c,
struct.c,
thread.c,
ext/socket/rubysocket.h,
ext/-test-/old_thread_select: Re...
akr (Akira Tanaka)
12:02 PM Revision 4c58aa8e (git): * ext/socket: revert r44943 because it causes errors on some linux
platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
11:52 AM Revision 59680d0f (git): * configure.in (ARCH_FLAG): __sync_val_compare_and_swap_4 needs
-march=i486 on at least linux gcc 4.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
10:19 AM Bug #9092: Update Unicode data to Unicode Version 7.0
Agreed. We'd better use the latest Unicode data.
Matz.
matz (Yukihiro Matsumoto)
10:18 AM Feature #7918 (Rejected): Create Signal.in_trap?()
Queue is a better solution now.
So we reject this issue.
akr (Akira Tanaka)
10:11 AM Bug #7805: ruby 2.0rc2 core on solaris
The following should work without `RB_GC_GUARD` nor `volatile`.
I plan to commit unless there are objections, I see no possible
way for a compiler to mess things up:
```diff
--- a/marshal.c
+++ b/marshal.c
@@ -950,7 +950,7 @@ mar...
normalperson (Eric Wong)
10:10 AM Revision bceb3cd9 (git): merge revision(s) 43851,43882,43996:
* ruby_atomic.h: use __atomic builtin functions supported by GCC.
__sync family are legacy functions now and it is recommended
that new code use the __atomic functions.
http://gcc.gnu.org/onlinedocs/gcc/_005...
U.Nakamura
09:42 AM Revision f7cff3a9 (git): string.c (rb_str_format_m): trade volatile for RB_GC_GUARD
* string.c (rb_str_format_m): trade volatile for RB_GC_GUARD
RB_GC_GUARD meaning is clear and has better code generation.
[ruby-core:60688]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
09:37 AM Feature #7309 (Rejected): HEREDOC end of line or similar
"def increase(~str)" is technically impossible so please let me
reject this. However I think "<<<" can be possible. If you still
need that, please open another ticket for that part.
shyouhei (Shyouhei Urabe)
09:20 AM Misc #9215: Maintenance Policy for Future Releases (2.1.0 & beyond)
Zachary Scott wrote:
> I've updated the pull request given Martin and narsue's feedback. Please check it.
> ...
Who are "We"?
> For context, you should read our recent policy changes for semantic versioning.
Ruby's versioning pol...
naruse (Yui NARUSE)
08:56 AM Feature #8919: Queue as embedded class
It's OK for 2.2.
Matz.
matz (Yukihiro Matsumoto)
08:54 AM Feature #8850 (Feedback): Convert Rational to decimal string
Can anyone propose a patch please? shyouhei (Shyouhei Urabe)
07:22 AM Revision 74934174 (git): * ruby_atomic.h (ATOMIC_CAS): added.
* signal.c (ruby_atomic_compare_and_swap): ATOMIC_CAS implementation
for non-VC/gcc platform.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:57 AM Bug #9477: Address family not supported by protocol - socket(2) - udp
backported into ruby_1_9_3 at r44949. usa (Usaku NAKAMURA)
06:56 AM Revision 39413265 (git): merge revision(s) 44880: [Backport #9477]
* lib/resolv.rb: Ignore name servers which cause EAFNOSUPPORT on
socket creation.
Reported by Bjoern Rennhak. [ruby-core:60442] [Bug #9477]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44949 b2dd...
U.Nakamura
06:55 AM Bug #9498: undefined method 'ord' for nil:NilClass from Resolv methods when internet connection is lost
backported into ruby_1_9_3 at r44948. usa (Usaku NAKAMURA)
06:55 AM Revision d4fa1259 (git): merge revision(s) 44884: [Backport #9498]
* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder): Raise
DecodeError if no data before the limit.
Reported by Will Bryant. [ruby-core:60557] [Bug #9498]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/rub...
U.Nakamura
06:52 AM Bug #9374: [PATCH] ext/json: objects depend on $(ruby_headers)
backported into ruby_1_9_3 at r44947. usa (Usaku NAKAMURA)
06:51 AM Revision 681d225d (git): merge revision(s) 44514: [Backport #9374]
* ext/json/generator/depend: add build dependencies for json extension
[Bug #9374] [ruby-core:59609]
* ext/json/parser/depend: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44947 b2dd03c8-39d4...
U.Nakamura
06:48 AM Bug #9399: [PATCH] iseq: avoid potential memory leak in iseq_load
backported into ruby_1_9_3 at r44946. usa (Usaku NAKAMURA)
06:44 AM Revision 30a1b86e (git): merge revision(s) 44568: [Backport #9399]
* iseq.c (iseq_load): keep type_map to get rid of memory leak.
based on a patch by Eric Wong at [ruby-core:59699]. [Bug #9399]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44946 b2dd03c8-39d4-4d8f-98ff-823...
U.Nakamura
06:39 AM Revision 4e3522e9 (git): * Changelog: I hope that "ue" is the right replacement of "u-umlaut". it was
removed at r44587 because it was not included in us-ascii.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:26 AM Bug #9093: Resolv: Multiple strings should be concatenated in a DNS record's data
backported into ruby_1_9_3 at r44944. usa (Usaku NAKAMURA)
06:26 AM Revision 73176ef9 (git): merge revision(s) 44642: [Backport #9093]
* lib/resolv.rb (Resolv::DNS::Resource::TXT#data): Return concatenated
string.
Patch by Ryan Brunner. [ruby-core:58220] [Bug #9093]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44944 b2dd03c8-39d...
U.Nakamura
06:24 AM Revision 64fe84ae (git): merge revision(s) 44643: [Backport #9039]
* ext/socket: Avoid unnecessary ppoll/select on Linux.
Patch by Eric Wong. [ruby-core:57950] [Bug #9039]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:22 AM Bug #9430: [PATCH] benchmark/driver: avoid large alloc in driver process
backported into ruby_1_9_3 at r44942. usa (Usaku NAKAMURA)
06:22 AM Revision 505d2d7f (git): merge revision(s) 44772,44773: [Backport #9430]
benchmark/driver: avoid large alloc in driver process
* benchmark/driver: avoid large alloc in driver process
[ruby-core:59869] [Bug #9430]
* benchmark/driver: avoid large alloc in driver process
[ruby-core:5...
U.Nakamura
06:19 AM Bug #8978: Fiddle possibly misuses mprotect
backported into ruby_1_9_3 at r44941. usa (Usaku NAKAMURA)
06:19 AM Revision 503badb5 (git): merge revision(s) 44731,44751: [Backport #8978]
* ext/fiddle/closure.c: use sizeof(*pcl) for correct sizeof value.
[ruby-core:57599] [Bug #8978]. Thanks mame!
* ext/fiddle/closure.c: use sizeof(*pcl) for correct sizeof value.
[ruby-core:57599] [Bug #8978]...
U.Nakamura
06:06 AM Bug #8783: ruby 1.9/2.0 crash on exit on FreeBSD/powerpc64
backported r44670,r44671, and r44675 into ruby_1_9_3 at r44940. usa (Usaku NAKAMURA)
06:06 AM Revision 5bcb47db (git): merge revision(s) 44670,44671,44675: [Backport #8783]
thread_pthread.c: timer thread stack size
* thread_pthread.c (rb_thread_create_timer_thread): define the stack
size for timer thread at compile time.
* thread_pthread.c (rb_thread_create_timer_thread): expand timer
...
U.Nakamura
05:59 AM Bug #9413: Object Metaclass Constants Array doesn't Include Singleton Constant
backported into `ruby_1_9_3` at r44939. usa (Usaku NAKAMURA)
05:58 AM Revision 86d4408c (git): merge revision(s) 44628: [Backport #9413]
* eval.c (rb_mod_s_constants): return its own constants for other
than Module itself. [ruby-core:59763] [Bug #9413]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:45 AM Bug #9187: st_table leaks when exception is raised in Hash#rehash
backported into `ruby_1_9_3` at r44948. usa (Usaku NAKAMURA)
05:45 AM Revision 90d94de3 (git): merge revision(s) 43942,43957,43975: [Backport #9187]
* hash.c (rb_hash_rehash): fix to free new st_table when exception
is raised in do_hash(). [Bug #9187]
* hash.c (rb_hash_rehash): make temporary st_table under the control
of GC. [Bug #9187]
* test/r...
U.Nakamura
05:04 AM Revision 8c5c68b2 (git): * 2014-02-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:04 AM Revision aff08cfc (git): gc.c: unit suffix
* gc.c (get_envparam_size): accept unit suffix 'k', 'm', and 'g'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:52 AM Bug #8865: OptionParser acceptable bugs
backported into ruby_1_9_3 at r44935. usa (Usaku NAKAMURA)
04:52 AM Revision 1bb654d3 (git): merge revision(s) 42844,42845: [Backport #8865]
* lib/optparse.rb: The Integer acceptable now allows binary and
hexadecimal numbers per the documentation. [ruby-trunk - Bug #8865]
DecimalInteger, OctalInteger, DecimalNumeric now validate their input
bef...
U.Nakamura
04:31 AM Bug #9518: Objects in large arrays are leaked
Oops, the markdown rendering messed up the code I pasted above.
a = [nil] * 131071
loop { a << Object.new; a.pop }
# process RSS stays stable
a = [nil] * 131072
loop { a << Object.new; a.pop }
# process ...
Anonymous
04:29 AM Bug #9518 (Closed): Objects in large arrays are leaked
a = [nil] * 131071
loop { a << Object.new; a.pop }
# process RSS stays stable
a = [nil] * 131072
loop { a << Object.new; a.pop }
# process RSS grows quickly and never falls
It seems to be related to this bit of code: https://gi...
Anonymous
04:25 AM Bug #8425: webrick show local filesystem charset bug
backported into ruby_1_9_3 at r44934. usa (Usaku NAKAMURA)
04:24 AM Revision a20b957b (git): merge revision(s) 40848: [Backport #8425]
* lib/webrick/htmlutils.rb (WEBrick::HTMLUtils#escape): replace HTML
meta chars even in non-ascii string. [Bug #8425] [ruby-core:55052]
* lib/webrick/httputils.rb (WEBrick::HTTPUtils#{_escape,_unescape}):
fi...
U.Nakamura
04:16 AM Bug #9266 (Assigned): dead links to rubyforge
then, reopened. usa (Usaku NAKAMURA)
04:15 AM Bug #8945: Unmarshaling an Array containing a Bignum from a tainted String returns a frozen, tainted Bignum
IMO this is a feature change, although it is close to a bug infinite.
So, I decided this not to backport into 1.9.3.
usa (Usaku NAKAMURA)
03:59 AM Bug #8627: Socket.pack_sockaddr_in crashes ruby
I can't test it on the problem platform, but I guess this will occurs with 1.9.3, too.
backported into ruby_1_9_3 at r44933.
usa (Usaku NAKAMURA)
03:57 AM Revision a540b10c (git): merge revision(s) 41215,41216,41217: [Backport #8627]
* ext/socket/raddrinfo.c (nogvl_getaddrinfo): work around for Ubuntu
13.04's getaddrinfo issue with mdns4. [ruby-list:49420]
* ext/socket/raddrinfo.c (nogvl_getaddrinfo): Add missing return
value assignment.
...
U.Nakamura
03:49 AM Bug #9342: [PATCH] SizedQueue#clear does not notify waiting threads in Ruby 1.9.3
Commited to ruby_1_9_3 at r44932.
Thank you, Justin!
usa (Usaku NAKAMURA)
03:48 AM Revision d88502b7 (git): * lib/thread.rb (SizedQueue#clear): wake waiting threads when called.
[Bug #9342] [ruby-core:59462]
* test/thread/test_queue.rb: add a test for above.
patched by Justin Collins.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:09 AM Bug #9517: why not match ?
ok, why not set Regexp::MULTILINE by default ? sevk (kk kk)
02:51 AM Bug #9517: why not match ?
I think this issue is not a bug.
Because s1 string contains "\n" character, the match fails.
Try with
r = Regexp.new '[\001\002\003]\000(.*?)\xAA' , Regexp::MULTILINE , 'n'
phasis68 (Heesob Park)
02:24 AM Bug #9517 (Rejected): why not match ?
```
class String
def jhex
self.split(/,|\s+/).map{|x| x.hex}.pack('c*')
end
end
s = "01 00 28 09 00 04 02 00 27 AA" .jhex
s1 = "01 00 05 09 00 04 02 00 0A AA" .jhex
s .force_encoding 'ascii-8bit'
s1.force_encoding '...
sevk (kk kk)

02/13/2014

05:11 PM Misc #9516 (Open): Consolidate all deprecation messages to one or more helper methods
I was examining this blog entry: http://batsov.com/articles/2014/02/05/a-list-of-deprecated-stuff-in-ruby/ and I wanted to add these warning in JRuby. I thought it would be nice if I could make a higher level construct (e.g. @RubyDeprec... enebo (Thomas Enebo)
02:44 PM Bug #9452 (Closed): Refining methods that should be private
Applied in changeset r44931.
----------
* vm_insnhelper.c (vm_call_method): should check ci->me->flag of
a refining method in case the method is private.
[ruby-core:60111] [Bug #9452]
* vm_method.c (make_method_entry_refined): set ...
shugo (Shugo Maeda)
02:44 PM Revision 4d33c0e9 (git): * vm_insnhelper.c (vm_call_method): should check ci->me->flag of
a refining method in case the method is private.
[ruby-core:60111] [Bug #9452]
* vm_method.c (make_method_entry_refined): set me->flag of a refined
method entry to NOEX_PUBLIC in case the original method is private
and it is refin...
shugo (Shugo Maeda)
10:38 AM Feature #666: Enumerable::to_hash
For those interested in this feature, check #7292, Marc-Andre implemented Array#to_h and Enumerable#to_h. It's not as powerful (since it takes no block, you'll usually need to create an intermediate array with "map"), but it's definitely... tokland (Arnau Sanchez)
09:40 AM Revision 518ab383 (git): re.c (rb_reg_raise): remove volatile
* re.c (rb_reg_raise): remove volatile
Unnecessary since r41597
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
09:36 AM Revision 9c4d2d79 (git): re.c (rb_reg_regcomp): remove volatile
* re.c (rb_reg_regcomp): remove volatile
Unnecessary since r13261
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
07:55 AM Revision dc853e33 (git): * test/ruby/test_array.rb: Ensure flatten! is used for test_flatten
Patch by @ksss [Fixes GH-530] https://github.com/ruby/ruby/pull/530
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
06:59 AM Revision 966d04da (git): * marshal.c: fix typo by @xta [fix GH-533] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
06:43 AM Revision 5b56c1c4 (git): parse.y: attrset from junk ID
* parse.y (IDSET_ATTRSET_FOR_INTERN): fix off-by-one bug.
* parse.y (rb_enc_symname_type): junk ID succeeded by '=' is also
attrset ID. [ruby-core:60668] [Bug #8756]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44926 b2dd03c8-39...
nobu (Nobuyoshi Nakada)
02:28 AM Bug #9388 (Feedback): Ruby 1.9.3-pxxx segmentation fault
Could you try to your code in Ruby 2.0 or 2.1? hsbt (Hiroshi SHIBATA)
02:06 AM Bug #9492 (Closed): ruby won't build on Mac OS X versions before 10.6 - pthread_setname_np() not available
Applied in changeset r44925.
----------
configure.in: use pthread_setname_np only if available
* configure.in: check if pthread_setname_np is available.
* thread_pthread.c: pthread_setname_np is not available on old
Darwins. [ruby-c...
nobu (Nobuyoshi Nakada)
02:06 AM Revision bb7ae984 (git): configure.in: use pthread_setname_np only if available
* configure.in: check if pthread_setname_np is available.
* thread_pthread.c: pthread_setname_np is not available on old
Darwins. [ruby-core:60524] [Bug #9492]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44925 b2dd03c8-39d4-4d8...
nobu (Nobuyoshi Nakada)
12:15 AM Revision 75e1b5c8 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:02 AM Bug #9514 (Third Party's Issue): Huge query crash ruby core
drbrain (Eric Hodel)

02/12/2014

10:32 PM Bug #9492: ruby won't build on Mac OS X versions before 10.6 - pthread_setname_np() not available
I am also experiencing this issue.
There are still many Apple Xserve running OS X 10.5.8 (darwin 9.8) in production.
PvpDJgHP (William Thomas NELSON)
10:12 PM Feature #9513: Hide Rational internal
akr@fsij.org wrote:
> This is similar to [Feature #6083] for struct RBignum.

I support hiding more internals. Thank you.
I hope for 100% opaque data structures for the C-API one day,
maybe in 3-5 years?
normalperson (Eric Wong)
12:00 PM Feature #9513 (Closed): Hide Rational internal
I'd like to hide C-level Ratinal internal.
I made a patch to do it.
This is similar to [Feature #6083] for struct RBignum.
If the internal is hidden, we can change it without compatibility problem.
For example, we can use GMP.
T...
akr (Akira Tanaka)
09:22 PM Bug #9514: Huge query crash ruby core
waghanza@gmail.com wrote:
> I have made a query on a [[http://teradata.com|terradata]] server using https://github.com/priviterag/teradata-cli

>
normalperson (Eric Wong)
01:51 PM Bug #9514 (Third Party's Issue): Huge query crash ruby core
Hi,
I have made a query on a [[http://teradata.com|terradata]] server using https://github.com/priviterag/teradata-cli
The result output is a CSV file containing at least a billing of lines (unicode).
After a few hours, I have t...
waghanza (Marwan Rabbâa)
04:16 PM Feature #9515 (Open): `IO.each` and `CSV.each`
In `IO` class, there are pairs of a class method and an instance method with related function:
* `IO.read` and `IO#read`
* `IO.write` and `IO#write`
* `IO.foreach` and `IO#each` (or its alias `IO#each_line`)
For consistency, plea...
sawa (Tsuyoshi Sawada)
04:04 PM Revision 6cb5dc55 (git): * configure.in: revert r44922. I should have used AC_CHECK_FUNCS()
to just define a symbol if the function is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
03:24 PM Revision 353fcc27 (git): * configure.in: use AC_CHECK_FUNC instead of AC_CHECK_FUNCS
if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
03:17 PM Revision 759e2c79 (git): * 2014-02-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision d6203c93 (git): * configure.in: fix to undefine HAVE_MEMEM collectlly if it is broken.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
02:52 PM Bug #8756: SEGFAULT caused by `p Struct.new(:q?).instance_methods`
See https://bugs.ruby-lang.org/issues/9248#note-6 Eregon (Benoit Daloze)
11:48 AM Feature #6083: Hide a Bignum definition
I made a patch for this issue.
It just moves struct RBignum and related macros from include/ruby/ruby.h to internal.h, not bignum.c.
It is because other files (such as gc.c, marshal.c, etc.) access internal of struct RBignum.
akr (Akira Tanaka)
09:01 AM Revision 14922c70 (git): httpservlet/filehandler.rb: pass queries
* lib/webrick/httpservlet/filehandler.rb (set_dir_list): pass the
given queries to subdirectories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:01 AM Revision 897a42b0 (git): yaml/api.c: fix typo
* ext/psych/yaml/api.c (yaml_emitter_delete): fix typo 'empty'
with 'emitter'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:07 AM Bug #9156: Not able to get tmp dir to work with Ruby 2.0.0
MacOS X makes a directory with permission 0700 under `/var/folders` and sets `TMPDIR` to it by default.
Check if it is properly set: `ls -ld "$TMPDIR"`
nobu (Nobuyoshi Nakada)
02:36 AM Revision f9fc9298 (git): test_rubyoptions.rb: just check if aborted
* test/ruby/test_rubyoptions.rb (test_segv_loaded_features):
ignore message at segv, just check if aborted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:25 AM Revision 20061dad (git): error.c: Crash Report log
* error.c (REPORTBUG_MSG): mention about Crash Report log file on
MacOS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:25 AM Revision 4cac2f4a (git): bigdecimal.h: suppress warnings
* ext/bigdecimal/bigdecimal.h (VpSetZero, VpSetInf): get rid of
unused-value warnings by gcc 4.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:37 AM Bug #9512 (Feedback): Segmentation fault for eventmachine 1.0.3 in rubyeventmachine.bundle on Ruby 2.0.0p353
Could you show Crash Report log file? nobu (Nobuyoshi Nakada)
12:21 AM Bug #9512: Segmentation fault for eventmachine 1.0.3 in rubyeventmachine.bundle on Ruby 2.0.0p353
eventmachine installs fine on ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-darwin13.0.0] rubiii (Daniel Harrington)
12:14 AM Bug #9512: Segmentation fault for eventmachine 1.0.3 in rubyeventmachine.bundle on Ruby 2.0.0p353
Also not sure if this is a Ruby problem or if I should direct it to the eventmachine project. But I'm sure you can tell me. rubiii (Daniel Harrington)
12:07 AM Bug #9512 (Closed): Segmentation fault for eventmachine 1.0.3 in rubyeventmachine.bundle on Ruby 2.0.0p353
$ ruby --version # ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin12.5.0]
See attached crash output for details.
Let me know if you need any more information.
Ps. Not sure if ruby-trunk is the right project, but there d...
rubiii (Daniel Harrington)

02/11/2014

10:51 PM Misc #9511 (Closed): [Doc] Relic url in `make help` instructions
At the end of `make help` there is a url for Developers howto
which does not exist anymore.
"see DeveloperHowto for more detail:
http://bugs.ruby-lang.org/wiki/ruby/DeveloperHowto"
This url is inside "common.mk" in line 1105.
...
giorgostsiftsis (Giorgos Tsiftsis)
09:25 PM Bug #9510 (Feedback): push_parser.rb:47: [BUG] Segmentation fault
Hello,
Please provide the minimum test script (and related files) necessary to reproduce this crash.
Thank you.
luislavena (Luis Lavena)
06:00 PM Bug #9510 (Closed): push_parser.rb:47: [BUG] Segmentation fault
c:/Ruby200/lib/ruby/gems/2.0.0/gems/nokogiri-1.6.1-x86-mingw32/lib/nokogiri/xml/sax/push_parser.rb:47: [BUG] Segmentation fault
ruby 2.0.0p247 (2013-06-27) [i386-mingw32]
-- Control frame information ---------------------------------...
maztan (Ed Savailonei)
06:07 PM Bug #9507: Ruby 2.1.0 is broken on ARMv5: tried to create Proc object without a block
Do you have any idea what might be the cause here? Do you want me to try out anything?
If that helps fixing this issue, I can also give you SSH access to a SheevaPlug running Arch Linux ARM (the same system I used for investigating th...
webmeister (_ _)
10:16 AM Bug #9507: Ruby 2.1.0 is broken on ARMv5: tried to create Proc object without a block
I can only confirm this bug. Could we support anyhow in debugging this? abali (Andras Bali)
04:40 PM Revision 15cdd885 (git): * 2014-02-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:40 PM Revision 2fee22f3 (git): [DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:02 PM Bug #9308: def's return value causes errors
r44449 was backported to ruby_2_0_0 branch at 44898. nagachika (Tomoyuki Chikanaga)
02:56 PM Bug #8756: SEGFAULT caused by `p Struct.new(:q?).instance_methods`
r42479, r42490, r42509, r43083, r43084 and r43085 were backported to ruby_2_0_0 branch at r44911. nagachika (Tomoyuki Chikanaga)
02:55 PM Revision 09e6766d (git): * ext/bigdecimal/bigdecimal.c (BigMath_s_log): Use rb_big_cmp instead of
RBIGNUM_NEGATIVE_P.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:55 PM Revision b64a3e41 (git): merge revision(s) r42479,r42490,r42509,r43083,r43084,r43085: [Backport #8756] [Backport #9248]
* parse.y (rb_enc_symname_type): allow ID_ATTRSET for ID_INSTANCE,
ID_GLOBAL, ID_CLASS, ID_JUNK too. [Bug #8756]
* parse.y (rb_id_attrset): fix inconsistency with literals, allow
ID_ATTRSET and return it its...
nagachika (Tomoyuki Chikanaga)
02:43 PM Revision c1de2f4e (git): * bignum.c (rb_big_cmp): Specialize a comparison to zero.
* ext/bigdecimal/bigdecimal.c (is_negative): Use rb_big_cmp instead of
RBIGNUM_NEGATIVE_P.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:06 PM Revision ab67419b (git): * ext/openssl/ossl_bn.c (ossl_bn_initialize): Use rb_integer_pack.
Fix SEGV by OpenSSL::BN.new(1 << (2**34)).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:11 AM Bug #9266: dead links to rubyforge
e@zzak.io wrote:
> These pages seem to be working now, so I'm closing this ticket.

Regardless, those links are going away soon due to the impending
Rubyforge shutdown.
normalperson (Eric Wong)
07:04 AM Bug #9266 (Closed): dead links to rubyforge
These pages seem to be working now, so I'm closing this ticket.
Thanks for the report!
zzak (zzak _)
08:02 AM Revision bdeedccc (git): * ext/tk/README.tcltklib: [DOC] Fix typo by @xta [Fixes GH-532] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
06:59 AM Bug #9156: Not able to get tmp dir to work with Ruby 2.0.0
Sorry for the delayed answer, my platform is OSX Mavericks. saipas (B L)
02:09 AM Feature #9362: Minimize cache misshit to gain optimal speed
Shrinking needs huge changes, especially, in array.c, string.c, and parse.y. nobu (Nobuyoshi Nakada)
12:50 AM Feature #9362: Minimize cache misshit to gain optimal speed
Btw, have you time to investigate shrinking from 40 to 32 bytes?
I'd be curious to see how 32 bytes works, not sure if it's doable
without major API change/incompatibility, though.
normalperson (Eric Wong)
12:10 AM Revision 2833000f (git): * 2014-02-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:10 AM Revision 98e82f35 (git): * lib/logger.rb: [DOC] Fix arg name for Logger.new by @ryotarai [ci skip] [fix GH-531]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

02/10/2014

11:30 PM Bug #9509 (Third Party's Issue): nokogiri push_parser.rb:47: [BUG] Segmentation fault
Please report to [nokogiri](https://github.com/sparklemotion/nokogiri) repository at first. hsbt (Hiroshi SHIBATA)
10:58 PM Bug #9509 (Third Party's Issue): nokogiri push_parser.rb:47: [BUG] Segmentation fault
c:/Ruby200/lib/ruby/gems/2.0.0/gems/nokogiri-1.6.1-x86-mingw32/lib/nokogiri/xml/sax/push_parser.rb:47: [BUG] Segmentation fault
ruby 2.0.0p247 (2013-06-27) [i386-mingw32]
-- Control frame information ---------------------------------...
maztan (Ed Savailonei)
10:01 PM Feature #9508: Add method coverage and branch coverage metrics
I suggest using a coverage struct pointer in rb_iseq_struct to hold all
3 coverage VALUEs. rb_iseq_struct is gigantic already, so adding 2 more
VALUEs for infrequent coverage use can lead to even more bloat.
normalperson (Eric Wong)
06:27 PM Feature #9508: Add method coverage and branch coverage metrics
Here's the pull request as a patch. srawlins (Sam Rawlins)
06:21 PM Feature #9508 (Closed): Add method coverage and branch coverage metrics
Since the Coverage extension was introduced in Ruby 1.9, Ruby has had built-in line code coverage. Ruby should support more of the basic code coverage metrics [1]. I have a pull request on GitHub ( https://github.com/ruby/ruby/pull/511 )... srawlins (Sam Rawlins)
03:26 PM Revision 0d2b4a6d (git): merge revision(s) r43583: [Backport #9288]
* file.c (GetLastError): already defined in windows.h on nowadays
cygwin, and caused the confliction with the system provided
definition on cygwin64. by @kou1okada [Fixes GH-433].
git-svn-id: svn+ssh://ci.ruby-lang...
nagachika (Tomoyuki Chikanaga)
01:35 PM Revision 22ce4774 (git): merge revision(s) 44579: [Backport #9500]
ext: use PRIsVALUE for rb_raise and rb_warn
* ext/bigdecimal/bigdecimal.c (BigDecimal_new): use PRIsVALUE for
rb_raise() and rb_warn().
* ext/openssl/ossl_cipher.c (ossl_cipher_init): ditto.
* ext/racc/cparse/c...
naruse (Yui NARUSE)
11:45 AM Revision 565d568a (git): merge revision(s) 44572,44578,44591,44592: [Backport #9490]
ext: use rb_sprintf() and rb_vsprintf() with PRIsVALUE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:39 AM Revision c57460b6 (git): * 2014-02-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:39 AM Revision 993e57d1 (git): * enum.c: document that it is OK to take more than available by @mvidner [fix GH-525] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
01:52 AM Feature #9469 (Closed): BigDecimal support for yaml serialization
zzak (zzak _)

02/09/2014

04:23 PM Bug #8627 (Closed): Socket.pack_sockaddr_in crashes ruby
r41215, r41216 and r41217 were backported to ruby_2_0_0 branch at 44900. nagachika (Tomoyuki Chikanaga)
04:25 AM Bug #8627: Socket.pack_sockaddr_in crashes ruby
I created backport issue to 2.0.0: https://bugs.ruby-lang.org/issues/9506 hsbt (Hiroshi SHIBATA)
04:22 PM Revision eb507ebd (git): merge revision(s) r41215,r41216,r41217: [Backport #8627] [Backport #9506]
* ext/socket/raddrinfo.c (nogvl_getaddrinfo): work around for Ubuntu
13.04's getaddrinfo issue with mdns4. [ruby-list:49420]
* ext/socket/raddrinfo.c (nogvl_getaddrinfo): Add missing return
value assignment.
...
nagachika (Tomoyuki Chikanaga)
04:10 PM Bug #9342: [PATCH] SizedQueue#clear does not notify waiting threads in Ruby 1.9.3
1.9.3 and 2.0.0 has different implementation of Queue/SizedQueue from 2.1/trunk.
I partially backported r44595 for test, and commited a patch for ruby_2_0_0 at r44899.
nagachika (Tomoyuki Chikanaga)
04:07 PM Revision 08e1428b (git): merge revision(s) 44595: [Backport #9342]
* ext/thread/thread.c (rb_szqueue_clear): notify SZQUEUE_WAITERS
on SizedQueue#clear. [ruby-core:59462] [Bug #9342]
* test/thread/test_queue.rb: add test. the patch is from
Justin Collins.
git-svn-id: svn+s...
nagachika (Tomoyuki Chikanaga)
03:37 PM Bug #9507: Ruby 2.1.0 is broken on ARMv5: tried to create Proc object without a block
Unfortunately I don't have an ARMv5 machine to debug this on. Is there anyone else who is able to take a look at this? Anonymous
03:08 PM Bug #9507 (Closed): Ruby 2.1.0 is broken on ARMv5: tried to create Proc object without a block
I'm using Arch Linux ARM which currently ships with Ruby 2.1.0. On all my ARMv5 devices, trying to run Ruby fails with a strange error, which has also been reported here: https://github.com/archlinuxarm/PKGBUILDs/issues/705 ARMv6 and ARM... webmeister (_ _)
03:37 PM Bug #9416: 'private def' results in syntax errors in the method
r44449 was backported to ruby_2_0_0 branch at r44898. nagachika (Tomoyuki Chikanaga)
03:36 PM Revision f0e52528 (git): merge revision(s) r44449: [Backport #9308]
* parse.y (local_push_gen, local_pop_gen): save cmdarg_stack to
isolate command argument state from outer scope.
[ruby-core:59342] [Bug #9308]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44898 b2...
nagachika (Tomoyuki Chikanaga)
03:16 PM Bug #8006: Dir.glob behaves differently on 1.9.3 and 2.0
r43385 was backported to uby_2_0_0 branch at r44897. nagachika (Tomoyuki Chikanaga)
03:15 PM Revision c84397f4 (git): merge revision(s) 43385: [Backport #8006]
* dir.c (glob_helper): don't skip current directories if FNM_DOTMATCH
is given. [ruby-core:53108] [Bug #8006]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
11:49 AM Bug #8358: TestSprintf#test_float test failure
I committed r44896 to fix the compilation error. akr (Akira Tanaka)
03:09 AM Bug #8358: TestSprintf#test_float test failure
Can't you show its `config.log` file? nobu (Nobuyoshi Nakada)
10:12 AM Misc #9503: Request for a Question and Answer section
We are working on official faq, maybe we can have another that is meant for developers.

I'm afraid a Q&A submission form will just get abused, or neglected.

Why create Yet Anoter Channel for committers have to pay attention to?

...
zzak (zzak _)
06:00 AM Bug #9177 (Third Party's Issue): Can't exit curses program and retain screen contents
curses is extracted from ruby-core. Please report this issue to https://github.com/ruby/curses hsbt (Hiroshi SHIBATA)
05:46 AM Bug #9326 (Closed): No superclass method in ruby 2.1
ruby_2_1 fixed this issue. Please wait until next release of Ruby 2.1 hsbt (Hiroshi SHIBATA)
05:00 AM Revision 59c1d04d (git): * configure.in: Fix compilation error.
https://bugs.ruby-lang.org/issues/8358#note-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:45 AM Bug #9094 (Third Party's Issue): Curses.getch() function responds twice for unicode keys
curses is extracted from ruby-core. If you still have this issue, Please report to https://github.com/ruby/curses hsbt (Hiroshi SHIBATA)
04:39 AM Bug #8710 (Feedback): Segmentation fault - when migrating a database on Debian 7.1
Could you try latest ruby and pg gem? hsbt (Hiroshi SHIBATA)
04:34 AM Bug #8124 (Closed): gem fails to install valid gems
hsbt (Hiroshi SHIBATA)
02:58 AM Bug #7985 (Third Party's Issue): Kidsruby crashes on Ubuntu thin client
hsbt (Hiroshi SHIBATA)
02:56 AM Bug #8486 (Feedback): Random segmentation fault
hsbt (Hiroshi SHIBATA)
02:27 AM Feature #9502: Remove deprecated definitions
We should provide a transition period.
So I didn't list definitions deprecated after Ruby 2.1 such as rb_str_associate.
They will be warned at Ruby 2.2 and can be removed at Ruby 2.3 or later.
rb_argv0 can be same as rb_str_associat...
akr (Akira Tanaka)
12:58 AM Bug #9505: Bug that should cause SystemStackError segfaults under Ruby 2.1
I can reproduce it on Ruby 2.1.1p28. and ruby-trunk(r44894) got SystemStackError. hsbt (Hiroshi SHIBATA)
12:29 AM Bug #9505 (Closed): Bug that should cause SystemStackError segfaults under Ruby 2.1
Using rspec-core.3.0.0.beta1 and ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin13.0]:
require "rspec"
require "rspec/autorun"
describe "Ruby 2.1 segfault" do
let(:argument) { double }
subject {...
Perceptes (Jimmy Cuadra)

02/08/2014

11:56 PM Revision 5659a794 (git): * configure.in (rb_cv_bsd_qsort_r): ensure 'qsort_r' is not BSD version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:07 PM Misc #9503: Request for a Question and Answer section
I think it is a good idea, but few committers (including I) will have interest of creating it.
Instend of just requesting it, could you please create a draft by gathering frequent questions that matz has already answered? Or, at least,...
mame (Yusuke Endoh)
10:26 PM Misc #9503: Request for a Question and Answer section
Tsuyoshi Sawada wrote:
> Zachary Scott wrote:
> ...
sawa (Tsuyoshi Sawada)
10:25 PM Misc #9503: Request for a Question and Answer section
Zachary Scott wrote:
> Please feel free to ask any questions on ruby-core or ruby-dev mailing lists.
> ...
Did you read my question? I wrote explicitly that stackoverflow is useless for this kind of question because the people there ar...
sawa (Tsuyoshi Sawada)
09:12 PM Misc #9503: Request for a Question and Answer section
Anybody can join and post to the ruby-core mailing list, not just
core developers.
normalperson (Eric Wong)
09:03 PM Misc #9503 (Rejected): Request for a Question and Answer section
Please feel free to ask any questions on ruby-core or ruby-dev mailing lists.
There is also ruby-talk for general discussion, and stackoverflow for Q&A.
zzak (zzak _)
08:48 PM Misc #9503: Request for a Question and Answer section
Eric Wong wrote:
> We have a mailing list (ruby-core) where matz and other core developers
> ...
I am asking for a way to let non-developers (open class set of people) ask to developers, not a discussion among developers.
sawa (Tsuyoshi Sawada)
08:32 PM Misc #9503: Request for a Question and Answer section
We have a mailing list (ruby-core) where matz and other core developers
read and discuss. No need to deal with a clunky web browser, either.
normalperson (Eric Wong)
08:14 PM Misc #9503 (Rejected): Request for a Question and Answer section
I often come up with a question regarding why Ruby is designed the way it is with respect to a certain specification. Without knowing why it was designed in that way, I usually start to feel that such thing should be in a different way, ... sawa (Tsuyoshi Sawada)
10:54 PM Bug #8358 (Assigned): TestSprintf#test_float test failure
naruse (Yui NARUSE)
10:54 PM Bug #8358: TestSprintf#test_float test failure
r44890 breaks 32bit linux
http://c5632.rubyci.org/~chkbuild/ruby-trunk/log/20140208T150302Z.diff.html.gz
naruse (Yui NARUSE)
10:33 PM Bug #8358: TestSprintf#test_float test failure
Thanks Nobu. vo.x (Vit Ondruch)
02:40 PM Bug #8358 (Closed): TestSprintf#test_float test failure
Applied in changeset r44890.
----------
configure.in: Properly detect platform for SSE2 instructions.
* configure.in: add qouting brackets and append wildcard for the
rest after target_cpu, to properly detect platform for SSE2
inst...
nobu (Nobuyoshi Nakada)
11:48 AM Bug #8358 (Assigned): TestSprintf#test_float test failure
It still does not for for me. It seems that there are two reasons:
1) The [i[4-6]86] if wrongly expanded to i4-686 which does not exist. It should be enclosed in additional brackets.
2) For Fedora, the $target is acutally "i686-redh...
vo.x (Vit Ondruch)
08:46 PM Bug #9504: X509 certificate incorrectly loaded (because of try-pem-first-else-asn1)
My patch means you can load the certificate like this:
x509 = OpenSSL::X509::Certificate.new(cert, "DER")
I guess having some module level constants for this (`FILETYPE_PEM`, `FILETYPE_ASN1`) would be better. Sadly I'm not a ru...
rep (Mark Schloesser)
08:43 PM Bug #9504 (Closed): X509 certificate incorrectly loaded (because of try-pem-first-else-asn1)
Ruby's openssl extension tries to load certificates as PEM format first, and on failure will try to do DER / ASN1. The PEM format loading ignores junk in the beginning and end of the given buffer, which can lead to a DER certificate bein... rep (Mark Schloesser)
08:21 PM Revision 846e0462 (git): * configure.in (rb_cv_gnu_qsort_r): use compile error "conflicting
types for 'qsort_r'" instead of AC_RUN_IFELSE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:08 PM Misc #9501 (Closed): [Doc] Minor updates to lib/yaml.rb
Applied in changeset r44893.
----------
* lib/yaml.rb: [DOC] Add links to syck and psych on github [Bug #9501]
Based on a patch by Giorgos Tsiftsis [ci skip]
zzak (zzak _)
12:32 PM Misc #9501 (Closed): [Doc] Minor updates to lib/yaml.rb
giorgostsiftsis (Giorgos Tsiftsis)
07:08 PM Revision 7925015f (git): * lib/yaml.rb: [DOC] Add links to syck and psych on github [Bug #9501]
Based on a patch by Giorgos Tsiftsis [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
05:14 PM Bug #8945 (Closed): Unmarshaling an Array containing a Bignum from a tainted String returns a frozen, tainted Bignum
Applied in changeset r44891.
----------
marshal.c: Numerics are not tainted
* include/ruby/ruby.h (OBJ_TAINTABLE, OBJ_TAINT, OBJ_INFECT),
marshal.c (r_entry0): all Numerics never be tainted now.
[ruby-core:57346] [Bug #8945]
nobu (Nobuyoshi Nakada)
01:05 PM Bug #8945: Unmarshaling an Array containing a Bignum from a tainted String returns a frozen, tainted Bignum
Agreed. It should be consistent here.
Matz.
matz (Yukihiro Matsumoto)
05:13 PM Revision c5b8a6fa (git): * 2014-02-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:13 PM Revision cc1910b5 (git): marshal.c: Numerics are not tainted
* include/ruby/ruby.h (OBJ_TAINTABLE, OBJ_TAINT, OBJ_INFECT),
marshal.c (r_entry0): all Numerics never be tainted now.
[ruby-core:57346] [Bug #8945]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44891 b2dd03c8-39d4-4d8f-98ff-823...
nobu (Nobuyoshi Nakada)
03:28 PM Feature #9502: Remove deprecated definitions
Agree.
And today I've thought about deprecation of `rb_argv0` too.
nobu (Nobuyoshi Nakada)
03:16 PM Feature #9502 (Closed): Remove deprecated definitions
I'd like to remove deprecated definitions.
This means C level API change.
The list of functions, macros and types are follows.
(This list doesn't contain definitions deprecated after 2.1.0 release.)
VA VD NAME
old 193 Check_Sa...
akr (Akira Tanaka)
02:40 PM Revision 85b1671b (git): configure.in: Properly detect platform for SSE2 instructions.
* configure.in: add qouting brackets and append wildcard for the
rest after target_cpu, to properly detect platform for SSE2
instructions. [ruby-core:60576] [Bug #8358]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44890 b2dd03...
nobu (Nobuyoshi Nakada)
12:50 PM Revision cd476cd8 (git): * configure.in: check qsort_r(3) and whether it is GNU version.
BSD version has different prototype.
* util.h: use qsort_r() as ruby_qsort() if it is GNU version.
* util.c: define ruby_qsort() if needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
10:29 AM Feature #7068 (Rejected): ability to deactivate Hash#compare_by_identity()
Eregon (Benoit Daloze)
01:39 AM Feature #7068: ability to deactivate Hash#compare_by_identity()
Eric Hodel wrote:
> =begin
> ...
Good point. This feature would violate the invariant of hash keys being unique. You may reject this feature request. Thanks.
sunaku (Suraj Kurapati)
09:20 AM Revision c7652dec (git): vm_insnhelper.c: adjust indent
* vm_insnhelper.c (check_match): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:35 AM Revision f01b5e21 (git): * lib/resolv.rb (Resolv::DNS::Message::MessageDecoder#get_labels):
Make it iterative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:03 AM Revision c6f2c938 (git): * gc.c, gc.h (rb_objspace_marked_object_p): added.
This function *ONLY* works just after marking phase,
before any sweeping.
This function is highly depending current GC implementation
and can be removed future version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44886 b2d...
ko1 (Koichi Sasada)
06:42 AM Revision 5323328f (git): * lib/resolv.rb: Don't set CLOEXEC flag explicitly. (Ruby set it by
default.)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:30 AM Bug #9498 (Closed): undefined method 'ord' for nil:NilClass from Resolv methods when internet connection is lost
Applied in changeset r44884.
----------
* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder): Raise
DecodeError if no data before the limit.
Reported by Will Bryant. [ruby-core:60557] [Bug #9498]
akr (Akira Tanaka)
06:29 AM Revision 25a89ac0 (git): * lib/resolv.rb (Resolv::DNS::Message::MessageDecoder): Raise
DecodeError if no data before the limit.
Reported by Will Bryant. [ruby-core:60557] [Bug #9498]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:11 AM Revision 61f50ae0 (git): * io.c (SMALLBUF): Unused macro removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:53 AM Bug #8784: CSV - Empty fields are discarded when col_sep is a space
The bug is still present in Ruby 2.1.0
% ruby -v
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]
The attached script prints:
[["2009", "2", "3", "8", "0", nil, "30.1", nil, nil]]
[["2009", "2", "3", "8"...
grim7reaper (Sylvain Laperche)
02:40 AM Bug #9356: TCPSocket.new does not seem to handle INTR
Eric Wong <normalperson@yhbt.net> wrote:
> Thanks for trying. This is probably specific to *BSD sockets
> implementation, so I can't reproduce it at the moment.

Not happening on FreeBSD 9.x kernels, at least. I could not reproduc...
normalperson (Eric Wong)
 

Also available in: Atom