Activity
From 03/29/2013 to 04/04/2013
04/04/2013
-
11:55 PM Bug #7183 (Closed): Resolv::DNS::getresources throws Errno::EACCES: Permission denied - bind(2) on solaris
- This issue was solved with changeset r40112.
Frank, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/resolv.rb (bind_random_port): Rescue EACCES for SunOS.
b... -
11:49 PM Feature #4195 (Rejected): option for Socket#sendmsg
- 頻度から考えて、とくに簡単にしなくてもいいんじゃないかと思います。
やりかたが複数になるのも気に入りませんし。 -
11:41 PM Bug #5988 (Rejected): Time class interprets "2012-02-30" as "2012-03-01"
- No reply after explanation long time.
-
11:36 PM Feature #4976 (Rejected): Pathname#=~ が undef されている理由
- No reply after feedback.
-
11:32 PM Feature #6528 (Closed): Add Pathname#write and Pathname#binwrite
-
10:51 PM Feature #7401 (Rejected): Pathname#cleanpath default consider_symlink to true
- I reject this issue because it is incompatible.
Also, I feel the conservative algorithm is not so useful because it cannot remove .. from foo/../bar. -
10:37 PM Bug #7829 (Closed): Rounding error in Ruby Time
- This issue was solved with changeset r40109.
Philippe, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* time.c (time_strftime): Describe %L and %N truncates digits... -
10:53 AM Bug #7829: Rounding error in Ruby Time
- 2013/4/4 David MacMahon <davidm@astro.berkeley.edu>:
>
>>> f=57563.232824357045
> => 57563.232824357045
>
>>> puts "%016x\n"*5 % [f, f.to_r.to_f, f.to_s.to_f, f.to_s.to_r.to_f, f.rationalize.to_f].pack('D*').unpack('Q*')
> 4... -
04:53 AM Bug #7829: Rounding error in Ruby Time
- On Apr 3, 2013, at 5:15 AM, Tanaka Akira wrote:
> 2013/2/22 David MacMahon <davidm@astro.berkeley.edu>:
>
>> What do people thing about changing num_exact() in time.c to call #rationalize for Floats rather than #to_r? Or perhaps ... -
10:20 PM Feature #8191: Short-hand syntax for duck-typing
- I don't believe this proposal, as I understand it, is about chicken typing. It would be if a??.b was equivalent to a.respond_to?(:b) ? a.b : nil. But, as I understand, the proposal is about a.nil? ? nil : a.b.
This has proved to be us... -
09:08 PM Feature #8191: Short-hand syntax for duck-typing - @wardrop: Tom, you must be a masochist. Proposing this here is like volunteering
to run a gauntlet :-), and like others, I also have no choice but to whip you
some :-) Jim Weirich just recently entertained me so much with this phrase
"ch... -
02:24 PM Feature #8191: Short-hand syntax for duck-typing
- =begin
wardrop (Tom Wardrop) wrote:
> Personally, the double question mark syntax is still the best proposal.
> The question marks do pretty well to indicate the uncertainty of the
> operation, [...]
I agree, but it seems a lit... -
09:28 AM Feature #8191: Short-hand syntax for duck-typing
- =begin
I think whatever the solution, it needs to be generic. Amending the language is a pretty big deal. Whatever we implement needs to have many potential applications. The nice thing about the double question mark is it is generic. It... -
09:50 PM Feature #8215 (Closed): Support accessing Fiber-locals and backtraces for a Fiber
- Thread#[] and friends access *Fiber*-local variables, as the doc says:
(Attribute Reference---Returns the value of a fiber-local variable (current
thread's root fiber if not explicitely inside a Fiber), using either a symbol
or a st... -
08:47 AM Feature #8215 (Closed): Support accessing Fiber-locals and backtraces for a Fiber
- =begin
As part of debugging celluloid, I have been wanting to diagnose where the Fibers are running and their various locals.
I would expect the following to work.
Thread.current[:key] = "outside"
fiber = Fiber.new do
Th... - 09:36 PM Revision 3d42f007 (git): * 2013-04-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:36 PM Revision 672b8bf1 (git): object.c: avoid inadvertent symbol creation
- * object.c (rb_mod_cvar_set): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:12 PM Feature #7378 (Closed): Adding Pathname#write
- This issue was solved with changeset r40107.
Alexander E., thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/pathname/pathname.c (path_write): New method.
(pa... -
06:34 PM Feature #7767: Tempfileで自動的にファイルを削除する
- akr (Akira Tanaka) wrote:
> > メソッド名ですが、
> ...
Tempfile.openとTempfile.open!で違うクラスのインスタンスが作成されるのは
ちょっとわかりにくいような気がしますので、openから派生した名前でない方がよいの
ではないでしょうか。
例えば、Tempfile.createはどうでしょう。
-
04:53 PM Bug #8211: Performance regression of method calls
- Is your platform 32bit? Than it is cause of -fPIE
2013/4/4 bitsweat (Jeremy Kemper) <jeremy@bitsweat.net>
>
> Issue #8211 has been updated by bitsweat (Jeremy Kemper).
>
>
> David, this looks a lot like the CFLAGS i... -
02:08 PM Bug #8211: Performance regression of method calls
- David, this looks a lot like the CFLAGS issues folks were hitting with rvm. Essentially, getting unoptimized Ruby builds.
Take a close look at the differences in RbConfig::CONFIG between your Ruby builds.
ruby -e 'puts RUBY_DESCRIP... -
07:33 AM Bug #8211: Performance regression of method calls
- =begin
I can't replicate the 1.9.3 vs. 2.0.0 results on my old Win7 32-bit box. 1.9.3 was built with mingw 4.6.2, and 2.0.0 was built with mingw-w64 4.7.2
==== ruby 1.9.3p408 (2013-04-02 revision 40056) [i386-mingw32]
lambda: ... -
06:14 AM Bug #8211: Performance regression of method calls
- =begin
I can't reproduce with clang on OS X:
ruby 2.1.0dev (2013-04-04 trunk 40091) [x86_64-darwin12.3.0]
lambda: 7.310000 0.000000 7.310000 ( 7.303881)
instance method: 4.310000 0.000000 4.310000 ( 4.3... -
03:59 PM Feature #8217 (Closed): OpenSSL::BN.new with integers
- Current OpenSSL::BN.new gets only strings, so users must do integer.to_s, it costs extra resource.
Therefore I propose OpenSSL::BN.new to allow Fixnu/Bignum.
diff --git a/ext/openssl/ossl_bn.c b/ext/openssl/ossl_bn.c
index 1038135..... -
03:56 PM Revision 926d1cbf (git): merge revision(s) 40090:
- * ext/openssl/ossl_bn.c (ossl_bn_initialize): fix can't create from bn.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:53 PM Feature #8110: Regex methods not changing global variables
- sam.saffron (Sam Saffron) wrote:
> another slight note, I wonder how far this can stretch into onigaruma itself, can it be smart enough to avoid uneeded allocations when in a no backref mode?
Oniguruma supplies the way to regexp sear... -
03:16 PM Bug #7807: [PATCH] Remove duplicated load paths when empty version string is configured
- One issue preventing this from work fixed in RubyGems [1]. I am not aware of any other after rebuild of more then 400 of packages in Fedora against Ruby 2.0.
Actually, some builds depends on this field in ruby.pc [2], but they would f... -
02:55 PM Revision dc5b184b (git): * 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
02:27 PM Bug #8204: ObjectSpace.each_object(Bignum) can generate Bignums that are to small to be Bignums
- okay that solvs a bit, so the generated Bignums are zero too,
but for sample
ObjectSpace.each_object(Bignum).select &:zero?
still generates Bignum zeros and the 3 that was inside the Bignum list at the beginning confuses me -
02:25 PM Revision b2a1339f (git): * ext/socket/extconf.rb: Remove condition for bcc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:54 PM Revision 61b245cc (git): * include/ruby/ruby.h (FIX2LONG): Parenthesize the macro body.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:37 PM Revision f674d862 (git): * time.c (time_strftime): Describe %L and %N truncates digits under
- the specified length.
[ruby-core:52130] [Bug #7829]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:26 PM Revision a4587840 (git): * object.c (rb_mod_cvar_set): Reverted "avoid inadvertent
- symbol creation" to avoid SEGV by
Class.new.class_variable_set(1, 2).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:12 AM Revision c3d1fde2 (git): * ext/pathname/pathname.c (path_write): New method.
- (path_binwrite): Ditto.
[ruby-core:49468] [Feature #7378]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:13 AM Feature #8201 (Assigned): Turn off builded colorizing
-
08:23 AM Revision 12bf1de1 (git): envutil.rb: assert stderr if marshal failed
- * test/ruby/envutil.rb (assert_separately): force to assert stderr to
be empty if marshal failed, as something is emitted probably.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:23 AM Revision fd7dc1b6 (git): reduce overhead of TYPE
- * array.c (ary_join_1): reduce overhead of TYPE().
* eval.c (rb_frozen_class_p, rb_mod_{append,prepend}_features): ditto.
* string.c (rb_to_id): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40105 b2dd03c8-39d4-4d8f-98ff-82... -
08:18 AM Revision 5e2c39ed (git): object.c: avoid inadvertent symbol creation
- * object.c (rb_mod_const_set): fix symbol name check.
(rb_obj_ivar_set): ditto.
(rb_mod_cvar_set): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:01 AM Revision 75b4c8f4 (git): * thread_pthread.c: Fixes wrong scopes of #if USE_SLEEPY_TIMER_THREAD
- .. #endif sections. This fixes a build error on NativeClient.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:01 AM Revision 360edb1c (git): * thread_pthread.c (ruby_init_stack): Avoid using uninitialized value.
- stackaddr and size are not set if get_stack() fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:55 AM Revision 112a3b1f (git): struct.c: avoid inadvertent symbol creation
- * struct.c (make_struct): avoid inadvertent symbol creation.
(rb_struct_aref): ditto.
(rb_struct_aset): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:54 AM Revision 4e59c822 (git): object.c: avoid inadvertent symbol creation
- * object.c (rb_mod_const_set): avoid inadvertent symbol creation.
(rb_obj_ivar_set): ditto.
(rb_mod_cvar_set): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:42 AM Feature #7792: Make symbols and strings the same thing
- @spatulasnout Yes on your first point. One should always compare :symbol with :symbol rather than by their internal ID, so I'd say that any code using the internal ID's deserves to break. I imagine it would be hardly any, other than the ...
- 07:22 AM Revision 9188504a (git): * ext/objspace/objspace.c (count_nodes): fix key for unknown node.
- based on a patch by tmm1 (Aman Gupta) in [ruby-core:53130] [Bug #8014]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:19 AM Revision 6c7a8b17 (git): merge revision(s) 39578: [Backport #8009]
- * Makefile.in (miniruby, ruby): move MAINLIBC because linker arguments
must appear after object files with newer versions of gcc. patch by
tmm1 (Aman Gupta) in [ruby-core:53121] [Bug #8009]
git-svn-id: svn+ssh://ci... -
06:46 AM Revision 9f87297c (git): enum.c: avoid inadvertent symbol creation
- * enum.c (enum_inject): avoid inadvertent symbol creation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:20 AM Feature #8190 (Rejected): Truly parallel assignment
- As Nobu stated the evaluation order goes from left to right.
And if you change this, you will introduce incompatibility.
Matz.
-
05:37 AM Revision 80748440 (git): thread.c: avoid inadvertent symbol creation
- * thread.c (rb_thread_aref): avoid inadvertent symbol creation.
(rb_thread_variable_get): ditto.
(rb_thread_key_p): ditto.
(rb_thread_variable_p): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40096 b2dd03c8-39d4-4d8f-9... -
05:37 AM Revision f00035a4 (git): thread.c: error message
- * thread.c (rb_thread_variable_get): fix error message. getter
doesn't modify thread variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:55 AM Feature #8206: Should Ruby core implement String#blank?
- I came up with an idea, `String#include?` with regexp without backref.
Could you try and comment this?
```ruby
% ruby -e'p [$&," foo".include?(/[[:space:]]/),$&]'
[nil, true, nil]
```
```diff
diff --git a/re.c b/re.c
index 16d7... -
02:35 AM Revision 10659582 (git): * ext/openssl/ossl_bn.c (ossl_bn_to_i): Use bn2hex to speed up.
- In general, binary to/from decimal needs extra cost.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:49 AM Revision f04daf3b (git): merge revision(s) 36338: [Backport #6709]
- * configure.in (DLDFLAGS): use TARGET_ENTRY to specify an entry point
instead of TARGET which may contain non-identifer characters.
* lib/mkmf.rb (create_makefile): add TARGET_NAME which is the first
part con... -
12:45 AM Feature #8214 (Closed): デッドロックチェックに全スレッドのバックトレースダンプの追加
- さいきん、くくぱど方面のデッドロックバグの調査を手伝っていて気づいたのですが、
現在のRubyのdeadlock detectorは開発者に優しくないです。
例外があがるとスタックが巻戻ってしまって証拠が消えてしまうので、例外をあげるまえに
全スレッドのバックトレースをダンプするオプションがあるべきではないでしょうか。
デッドロックが起きたときは99%、直さないといけない状況になるはずで、証拠を残す機能は
有意義なはずです。
TBD: ruby le... -
12:25 AM Bug #8213 (Closed): No documentation for `ri YAML`
- I believe the RI output for YAML needs to be fixed to display more detailed information on usage. Currently, it displays nothing. I'm happy to start some documentation on the YAML const in lib/yaml.rb with any pointers in the right direc...
04/03/2013
-
10:53 PM Feature #8191: Short-hand syntax for duck-typing
- On Apr 3, 2013 9:30 PM, "Rodrigo Rosenfeld Rosas" <rr.rosas@gmail.com>
wrote:
>
> Em 03-04-2013 01:10, phluid61 (Matthew Kerwin) escreveu:
>
>> Issue #8191 has been updated by phluid61 (Matthew Kerwin).
>>
>> Throwing this... -
08:53 PM Feature #8191: Short-hand syntax for duck-typing
- Em 02-04-2013 22:39, "Martin J. Dürst" escreveu:
> On 2013/04/03 9:54, wardrop (Tom Wardrop) wrote:
>>
>> Issue #8191 has been updated by wardrop (Tom Wardrop).
>
>> @davidderyldowney, ideally, a single question mark would pro... -
08:53 PM Feature #8191: Short-hand syntax for duck-typing
- Em 03-04-2013 01:10, phluid61 (Matthew Kerwin) escreveu:
> Issue #8191 has been updated by phluid61 (Matthew Kerwin).
>
>
> =begin
> Throwing this out there for discussion: how about a completely different syntax?
>
> us... -
05:29 PM Feature #8191: Short-hand syntax for duck-typing
- On Wed, 2013-04-03 at 14:47 +0900, wardrop (Tom Wardrop) wrote:
> Issue #8191 has been updated by wardrop (Tom Wardrop).
>
>
> I don't mind that. In fact, it gives me an idea for something even more generic, and with more pote... -
02:47 PM Feature #8191: Short-hand syntax for duck-typing
- =begin
I don't mind that. In fact, it gives me an idea for something even more generic, and with more potential application:
user && .profile && .website && .thumbnail
Ruby could implement this as new syntactic rule. A dot operator... -
01:10 PM Feature #8191: Short-hand syntax for duck-typing
- =begin
Throwing this out there for discussion: how about a completely different syntax?
user&&.profile&&.website&&.thumbnail
This was inspired by the original line (({user && user.profile && user.profile.website && user.profile.w... -
12:18 PM Feature #8191: Short-hand syntax for duck-typing
- You've chopped off a bit of Matz quote there (actually, a quote of a quote of Matz): "He then said there is no good reason to make this feature built-in; people can use it as a gem (e.g., ActiveSupport).". As mentioned, the main proposal...
-
11:49 AM Feature #8191: Short-hand syntax for duck-typing
- @wardrop The reason we all love Ruby is because it makes us happy. This suggestion makes me unhappy, so I'm saying so, and I'm attempting to do so constructively. Ruby has an ethos around writing elegant clean code which deserves protect...
-
11:23 AM Feature #8191: Short-hand syntax for duck-typing
- =begin
@JonRowe That's a very high-level idealistic point of view. Telling others to do things for us is all well and good, but at some point someone - the thing being told - has to actually do it. To use this example (({user.profile.web... -
11:10 AM Feature #8191: Short-hand syntax for duck-typing
- @parndt Law of Demeter essentially states that method chaining is bad. I personally don't see it's relevance to Ruby.
I believe issue #1122 was rejected because, A) the main proposal was to implement an additional method; something an... -
11:03 AM Feature #8191: Short-hand syntax for duck-typing
- OP's original examples involve Rails views, where I'd have to say that a helper or presenter would reduce the view logic in the desired way whereas his solution (which merely replicates Object#try) just golfs the logic in place.
-
11:01 AM Feature #8191: Short-hand syntax for duck-typing
- Although this is just my 2¢... I think this is a bad idea... and here's why...
1) One of the principles of good software development is "tell don't ask", meaning that we should be passing messages around objects, telling others to do t... -
10:56 AM Feature #8191: Short-hand syntax for duck-typing
- @duerst
Correct. Methods already ending in a question mark, such as (({empty?})), will have two extra question marks appended, (({empty???}))
On your second point, very true. Side-effects would be worse.
Finally, I agree that we s... -
10:55 AM Feature #8191: Short-hand syntax for duck-typing
- I'm very -1 on this for the same reason Object#try (#1122) was rejected and also because I can't see how this could result in quality code at all (Law of Demeter keeps coming to mind).
-
10:53 AM Feature #8191: Short-hand syntax for duck-typing
- On 2013/04/03 9:54, wardrop (Tom Wardrop) wrote:
>
> Issue #8191 has been updated by wardrop (Tom Wardrop).
> @davidderyldowney, ideally, a single question mark would probably make that clearer, but alas, a single question mark... -
09:54 AM Feature #8191: Short-hand syntax for duck-typing
- =begin
In my example using (({user.profile??.website??.thumbnail})), it assumes that if the (({website})) method exists, then whatever it returns will have a (({thumbnail})) method. It'd probably make more sense to add the double questi... -
06:23 AM Feature #8191: Short-hand syntax for duck-typing
- I'm sitting here lurking on this thread and to me the proposal makes
everything seem convoluted. Though user??.website??.profile?? could
feasibly be worked out by a new to intermediate user as asking
progressively if user was present... -
05:59 AM Feature #8191: Short-hand syntax for duck-typing
- On Apr 3, 2013 12:03 AM, "rosenfeld (Rodrigo Rosenfeld Rosas)" <
rr.rosas@gmail.com> wrote:
>
> I believe you didn't understand the proposal, Matthew. a??.b would mean
(a.nil? ? nil : a.b). So user.profile??.website??.thumbnail is e... -
10:29 PM Feature #7792: Make symbols and strings the same thing
- wardrop (Tom Wardrop) wrote:
> === Immutable
> A symbol is an alias for a numeric ID. The symbol representation of that
> numeric ID can never change.
As Matthew Kerwin noted, the numeric ID is an implementation detail; an... -
09:01 PM Feature #7792: Make symbols and strings the same thing
- No that's spelt correctly. I sadly couldn't embed any pictures of palm trees and coconuts ;). Fixed, thanks.
-
07:44 PM Feature #7792: Make symbols and strings the same thing
- =begin
In that case, I suggest that the long term solution is education.
By the way: "((*A symbol is an alias for a numeric ID.*))" Not entirely true (otherwise we could argue for Symbol#to_i or even Symbol#to_int) A symbol represent... -
07:06 PM Feature #7792: Make symbols and strings the same thing
- =begin
= To Summarise...
== Symbol Differences
=== Immutable
A symbol is an alias for a numeric ID. The symbol representation of that numeric ID can never change.
=== Not garbage collected
An extension of the previous point. Garbage ... -
10:24 PM Revision da391999 (git): * ext/socket/extconf.rb: Specify arguments to test functions.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:53 PM Feature #6643: io.seek(off, :end)
- 2012年11月24日 10:35 mame (Yusuke Endoh) <mame@tsg.ne.jp>:
> Feature #6643: io.seek(off, :end)
> https://bugs.ruby-lang.org/issues/6643#change-33713
> IO#seek メソッドの whence 引数としてシンボルを受け付けるようにしませんか。
議論を読み直したのですが、結局、これから意見がまと... -
09:25 PM Feature #6643 (Closed): io.seek(off, :end)
- This issue was solved with changeset r40084.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (rb_io_seek_m): Accept :CUR, :END, :SET as "whence" argum... -
09:23 PM Bug #7829: Rounding error in Ruby Time
- 2013/2/22 David MacMahon <davidm@astro.berkeley.edu>:
> What do people thing about changing num_exact() in time.c to call #rationalize for Floats rather than #to_r? Or perhaps call #rationalize on the object if it responds to #rat... -
08:59 PM Bug #7167 (Closed): Segmentation Fault
- I have no idea.
-
08:55 PM Bug #7489 (Closed): Kernel.spawn sometimes executes string directly
- This issue was solved with changeset r40083.
Julius, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* process.c: Describe the behavior which Ruby invokes a command... -
07:27 PM Feature #8190: Truly parallel assignment - I think it's good that Lavir is bringing this up, although I share MA's
feeling. I don't see how his proposal it would break "a, b = b, a". On the
contrary, "a, b = b, a" would only break if the assignment indeed worked
sequentially *loo... -
02:49 PM Feature #8190: Truly parallel assignment
- =begin
((%Lavir_the_Whiolet when you change this you will break code like%))
(({a,b = b,a}))
wich is a feature of ruby -
02:27 PM Feature #8190: Truly parallel assignment
- The evaluation obeys the left-to-right order.
It doesn't seem like a bug to me. -
11:33 AM Feature #8190: Truly parallel assignment
- My first reflex would be to say "don't write code like this".
Do you have an actual use case?
FWIW, CoffeeScript handles this case the same way as MRI does. -
07:21 PM Feature #8201: Turn off builded colorizing
- Passing unknown escape sequences is not solution. Some escape sequences behaviour is depended from earlier escape sequences or define behaviour of later escape sequences. This is especialy right for colorizing sentences. I think it will ...
-
07:16 PM Feature #8201: Turn off builded colorizing
- Last development version ConEmu working for me.
nobu (Nobuyoshi Nakada) wrote:
> ConEmu doesn't seem working with 1.9.3 to me.
> ...
-
05:37 PM Feature #8201 (Open): Turn off builded colorizing
-
05:11 PM Feature #8201 (Closed): Turn off builded colorizing
- This issue was solved with changeset r40078.
Denis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
win32.c: pass through unknown sequence
* win32/win32.c (constat... -
11:42 AM Feature #8201: Turn off builded colorizing
- ConEmu doesn't seem working with 1.9.3 to me.
While it shows color bars certainly when `type AnsiColor16.ans', however it does nothing with a command simply writes the same string by WriteConsole or WriteFile, but seems same as a plain ... - 06:29 PM Revision a8f95d66 (git): * 2013-04-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:28 PM Revision 7b58445e (git): * ext/openssl/ossl_bn.c (ossl_bn_initialize): fix can't create from bn.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:07 PM Bug #8211: Performance regression of method calls
- I had to add the testing platform is Linux x86_64 and interpreters were built with GCC 4.7.2 .
-
05:45 PM Bug #8211 (Closed): Performance regression of method calls
- There are significant performance regressions in the newer Ruby versions.
When compared to the last 1.9 patch build, method & lambda calls are about 3 times slower !
Benchmarking results:
____________________________________________... -
05:27 PM Revision d825fc8d (git): merge revision(s) 39725: [Backport #8054]
- * lib/resolv-replace.rb (TCPSocket#initialize): resolve the 3rd
argument only if non-nil value is given.
[ruby-dev:47150] [ruby-trunk - Bug #8054] reported and analyzed by
mrkn.
git-svn-id: svn+ssh://ci.ru... -
05:25 PM Revision d393aa08 (git): merge revision(s) 39718: [Backport #8001] [Backport #8023]
- * Merge Onigmo d4bad41e16e3eccd97ccce6f1f96712e557c4518.
fix lookbehind assertion fails with /m mode enabled. [Bug #8023]
fix \Z matches where it shouldn't. [Bug #8001]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/br... -
05:11 PM Revision 279b256d (git): merge revision(s) 39650: [Backport #8043]
- * marshal.c (w_extended): check for prepended object.
[ruby-core:53206] [Bug #8043]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:34 PM Bug #8204 (Closed): ObjectSpace.each_object(Bignum) can generate Bignums that are to small to be Bignums
- This issue was solved with changeset r40076.
Hans, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
bignum.c: Bignum zero comparison
* bignum.c (rb_big_eq): test as... -
11:23 AM Bug #8204: ObjectSpace.each_object(Bignum) can generate Bignums that are to small to be Bignums - Note that you can obtain whichever Bignum you want using coerce. For
example:
x = (1 << 100).coerce(42).first # => 42
x.class # => Bignum
I saw that used in test/*
I never bothered to investigate it, but I'm pretty sure this could lea... -
03:55 PM Feature #6841: Shorthand for Assigning Return Value of Method to Self
- =begin
(({Regarding obj.foo.bar.baz = .to_i})) syntax, with the dot prefix on the ((|to_i|)), another proposal has been made further down the discussion for issue #8191. The idea is that an expression beginning with a dot could be an in... -
01:55 PM Feature #8206: Should Ruby core implement String#blank?
- @marcandre I tried pretty much every combination possible interestingly depending on the string `/\A[[:space:]]*\z/` can be slower than the original regex, also afaik its not identical cause it misses some cases
-
11:21 AM Feature #8206: Should Ruby core implement String#blank?
- marcandre (Marc-Andre Lafortune) wrote:
> Your rb_str_blank is 5-8x faster than regexp? You compared it to `/\A[[:space:]]*\z/ =~ str`?
Regexp matches construct a MatchData and set $~. blank? would do neither, and have no allocation ... -
11:18 AM Feature #8206: Should Ruby core implement String#blank?
- Your rb_str_blank is 5-8x faster than regexp? You compared it to `/\A[[:space:]]*\z/ =~ str`?
-
09:32 AM Feature #8206 (Open): Should Ruby core implement String#blank?
- There has been some discussion about porting the `#blank?` protocol over to Ruby in the past that has been rejected by Matz.
This proposal is only about `String` however.
At the moment to figure out if you have a blank string you... -
01:10 PM Revision 7181490d (git): * ext/socket/extconf.rb: Test functions and libraries after headers.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:36 PM Revision 694207c7 (git): Add comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:25 PM Revision b81ea661 (git): * io.c (rb_io_seek_m): Accept :CUR, :END, :SET as "whence" argument.
- (interpret_seek_whence): New function.
[ruby-dev:45818] [Feature #6643]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:55 AM Revision 2767139e (git): * process.c: Describe the behavior which Ruby invokes a commandline
- directly without shell if the commandline is simple enough.
[ruby-core:50459] [Bug #7489]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:43 AM Revision b87ba9f8 (git): fix a typo in NEWS
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:28 AM Revision ee2b2182 (git): * ext/extmk.rb (extmake): Invoke Logging::log_close in a ensure
- clause.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:55 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
- Updated patch with new exception variables made static.
-
10:23 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
- normalperson (Eric Wong) wrote:
> > +VALUE rb_eEAGAINWaitReadable;
> ...
Good call, will fix. -
08:53 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
- "headius (Charles Nutter)" <headius@headius.com> wrote:
> make test-all passes. Please review and comment.
> --- io.c (revision 40073)
> +++ io.c (working copy)
> @@ -133,6 +133,15 @@
> <snip>
>
> +VALUE rb_eEAGAINWait... -
07:47 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
- And by EAGAIN == exception I meant EAGAIN == exception.class, of course.
-
07:46 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
- charliesome: Yeah, I was thinking about that as I created this patch.
It's possible, but it introduces a rather strange oddity: you'll have multiple exceptions floating around that look like singletons but are actually the same single... -
07:37 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime - =begin
Crazy idea, but could you avoid introducing a new class by caching the iclass?
So instead of something like:
/* when exception is raised */
VALUE exc = ossl_exc_new(eSSLError, "read would block");
rb_extend_ob... -
07:20 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
- Ok, here's the updated patch. Here's a list of changes from the last time I updated:
* Names have been changed to EAGAINWaitReadable, etc, from EAGAINReadable. It seemed clearer to indicate the full name of the module, especially in the... -
02:23 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
- Working on this today. I will post an updated patch for review before committing.
-
10:43 AM Bug #8208 (Rejected): Raise cached exceptions for nonblocking IO to avoid allocation/stack-copying costs
- Currently, all nonblocking IO APIs raise exceptions when the IO channel cannot perform the requested read or write without blocking. This adds a tremendous performance hit to nonblocking IO, since raising an exception requires both alloc...
-
10:34 AM Bug #8207 (Closed): Array#delete_if docs can be confusing to beginners
- The Array#delete_if method docs can be a little confusing to beginners (variable names are not descriptive, a comparison between letters is performed, the use case is not obvious.) I've updated them here to make it a little more obvious ...
-
10:00 AM Revision 1d339ff2 (git): * 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]
git-svn-id: svn+ssh://c... -
09:37 AM Feature #8110: Regex methods not changing global variables
- another slight note, I wonder how far this can stretch into onigaruma itself, can it be smart enough to avoid uneeded allocations when in a no backref mode?
-
09:18 AM Feature #8110: Regex methods not changing global variables
- A slight concern here is naming, since:
```c
rb_define_virtual_variable("$~", match_getter, match_setter);
rb_define_virtual_variable("$&", last_match_getter, 0);
rb_define_virtual_variable("$`", prematch_getter, 0);
... -
09:13 AM Feature #8110: Regex methods not changing global variables
- @naruse
There is a perf implication that really needs addressing here that would help elsewhere:
in re.c, there is a whole bunch of work that can be avoided when `NO_BACKREF` is passed in for the match:
In particular:
```c... -
08:11 AM Revision 9089f572 (git): win32.c: pass through unknown sequence
- * 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]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40079 b2dd03c8-39d4-4d8f-98ff-82... -
08:11 AM Revision 111f4a8f (git): win32.c: pass through unknown sequence
- * 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]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40078 b2dd03c8-39d4-4d8f-98ff-82... -
07:35 AM Revision adf1c94f (git): bignum.c: hide intermediate Bignums
- * 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40077 b2dd03c8-39... -
07:34 AM Revision b30a6b8d (git): bignum.c: Bignum zero comparison
- * bignum.c (rb_big_eq): test as Fixnum if possible and get rid of zero
length Bignum. [ruby-core:53893] [Bug #8204]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:23 AM Bug #8185: Thread/fork issue
- 2013/4/3 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>
> I believe fork() should flush all IO objects automatically. 1) Why user
> should know how ruby beffering? 2) fork() is not common method and
> performance disadvantage is... -
04:53 AM Bug #8185: Thread/fork issue
- > I wrote a simple script to reproduce the problem.
> This script doesn't use multi-threads.
>
> % ./ruby -ve '
> open("zz", "w") {|f|
> f.print "foo\n"
> Process.wait fork {}
> p $$
> }
> '
> ruby 2.1.0dev (20... -
07:23 AM Feature #7476: missing "IP_TRANSPARENT" constant for IP sockets.
- 2013/4/3 Eric Wong <normalperson@yhbt.net>:
>> This is Linux-specific and only defined in linux headers
>> such as /usr/include/linux/in.h.
>>
>> I'm not sure applications can safely use such headers.
>
> We already have ... -
06:23 AM Feature #7476: missing "IP_TRANSPARENT" constant for IP sockets.
- Tanaka Akira <akr@fsij.org> wrote:
> 2013/2/24 ko1 (Koichi Sasada) <redmine@ruby-lang.org>:
>
> > Feature #7476: missing "IP_TRANSPARENT" constant for IP sockets.
> > https://bugs.ruby-lang.org/issues/7476#change-36913
>
>... -
12:09 AM Bug #6928 (Closed): SecureRandom.random_bytes: assume zero entropy for seed value
- This issue was solved with changeset r40072.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/securerandom.rb (SecureRandom.random_bytes): Use
OpenSS...
04/02/2013
-
11:21 PM Bug #8205 (Closed): Regexp.union behavior and Regexp.try_convert
- Hi! Why Regexp.union('/../') trying to convert string with directly call rb_check_regexp_type(arg) (re.c:3139) instead of rb_reg_s_try_convert (re.c:3122)? I think second variant would be more correct, and i would be able to rewrite Rege...
-
11:02 PM Feature #8191: Short-hand syntax for duck-typing
- I believe you didn't understand the proposal, Matthew. a??.b would mean (a.nil? ? nil : a.b). So user.profile??.website??.thumbnail is equivalent to:
user.profile.nil? ? nil : (user.profile.website.nil? ? nil : user.profile.website.th... -
08:34 PM Feature #8191: Short-hand syntax for duck-typing
- wardrop (Tom Wardrop) wrote:
>
> ...
I think you're missing some question-marks there, unless you intend nil to (potentially) define a `thumbnail' method.
if user.profile??.website??.thumbnail??
-
06:19 PM Feature #8191 (Assigned): Short-hand syntax for duck-typing
-
10:30 PM Bug #8204 (Closed): ObjectSpace.each_object(Bignum) can generate Bignums that are to small to be Bignums
- when i do:
p ObjectSpace.each_object(Bignum).to_a
=> [18446744073709551615, 3, 2394213621560389257607583714845333205]
and again:
ObjectSpace.each_object(Bignum).to_a
=> [18446744073709551615, 3, 63326588221939058800767348888534802... -
09:06 PM Feature #3946 (Closed): Array#packのqQ指定子に機種依存サイズフラグ!を追加
- committed at r40067 & r40068.
-
08:53 PM Feature #3946: Array#packのqQ指定子に機種依存サイズフラグ!を追加
- 2012年10月28日 23:11 akr (Akira Tanaka) <akr@fsij.org>:
>
> 読み直してみましたが、決着していないのは例外をどれにするかでしょうか。
>
> 私は、新規の例外を定義するのは大げさ過ぎると思っています。
> ArgumentError と NotImplementedError のどちらにするかは、とくに意見はありません。
ArgumentError にして入れてみました。
--
... -
08:25 PM Revision a85a0ddf (git): merge revision(s) 40069:
- win32.c: missing break
* win32/win32.c (constat_attr): fix missing break.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:56 PM Revision 525c60b4 (git): merge revision(s) 40048:
- fix typo: s/@ca_cert/@cacert/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:08 PM Bug #7811 (Closed): SecureRandom::random_bytes Only use random bytes, not extra String
- This issue was solved with changeset r40065.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/securerandom.rb: Don't use Array#to_s.
[ruby-core:520... -
06:14 PM Bug #8179 (Closed): configure.in requires newer Autoconf than specified by AC_PREREQ
- As far as we know, 2.64 and 2.66 are buggy, so we bumped AC_PRE_REQ to 2.67 (Debian Squeeze uses this) at r40034, thanks.
-
05:44 PM Bug #8151 (Closed): Duplicate character class warning
- This issue was solved with changeset r40063.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* re.c (rb_reg_to_s): suppress duplicated charclass warning.
R... -
11:08 AM Bug #8151: Duplicate character class warning
- The warning is proposed by [ruby-core:24593] [Feature #1831] (2009-07-29) and committed by naruse.
It is seven years later than my Regexp#to_s [ruby-dev:16951] (2002-04-18)
It seems this issue is better to assign naruse. -
03:29 PM Feature #7476: missing "IP_TRANSPARENT" constant for IP sockets.
- 2013/2/24 ko1 (Koichi Sasada) <redmine@ruby-lang.org>:
> Feature #7476: missing "IP_TRANSPARENT" constant for IP sockets.
> https://bugs.ruby-lang.org/issues/7476#change-36913
> There is a missing constant for IP_TRANSPARENT... - 03:09 PM Revision 8ab35353 (git): * 2013-04-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:09 PM Revision c3c4ffa9 (git): * 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]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:59 PM Revision 28a15075 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:58 PM Revision 90e58877 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:58 PM Revision ff9c262f (git): win32.c: missing break
- * win32/win32.c (constat_attr): fix missing break.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:31 AM Revision 0af16197 (git): add ML ref.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:28 AM Revision 583c8e89 (git): * 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.
git-svn-i... -
11:00 AM Bug #8203 (Closed): Rinda: recycled object
- test-allで以下のメッセージが出ているんですが、これってなんですか?
http://u32.rubyci.org/~chkbuild/ruby-trunk/log/20130402T010302Z.log.html.gz#test-all
Rinda::TupleSpaceProxyTest#test_take_bug_8215 = /home/chkbuild/build/20130402T010302Z/ruby/lib/drb/drb.rb:369:... -
10:26 AM Revision 6d0c59f1 (git): * ext/-test-/num2int/num2int.c: Define utility methods
- as module methods of Num2int.
* test/-ext-/num2int/test_num2int.rb: Follow the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:23 AM Bug #8185: Thread/fork issue
- 2013/3/30 Tanaka Akira <akr@fsij.org>:
> 2013/3/30 Jason Gladish <jason@expectedbehavior.com>:
>>
>> I've found an issue where calling fork inside a thread, and passing a block
>> to the fork, causes the forked process to contin... -
10:08 AM Revision 817a96a4 (git): * lib/securerandom.rb: Don't use Array#to_s.
- [ruby-core:52058] [Bug #7811] fixed by zzak (Zachary Scott).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:48 AM Revision e89c029f (git): update doc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:44 AM Revision 5fd798d1 (git): * 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... -
07:02 AM Revision a1a6fd90 (git): * vm_dump.c (rb_print_backtrace): separate to ease showing C backtrace.
- * internal.h (rb_print_backtrace): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:28 AM Revision 5376610d (git): Add ignore_stderr because it outputs "circular require" warnings
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:28 AM Revision 1ee9f375 (git): Use assert_separately to speed up on test-all
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:28 AM Revision a26d663b (git): * 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.
git-svn-... -
06:28 AM Revision 63f33c5e (git): Suppress warnings
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:28 AM Revision 4046585a (git): use long_ary to suppress warning
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:02 AM Bug #8159: Build failure introduced by Rinda changes
- It is odd, considering IPV6_MULTICAST_IF, but I will make these updates.
Thank you for researching this for me while I have been busy. - 04:13 AM Revision be36df7f (git): merge revision(s) 35112,35121: [Backport #6190]
- * transcode.c (str_encode_bang, encoded_dup): if nothing was
transcoded, just set encoding but leave coderange unchanged as
forcee_encoding. [ruby-core:43557][Bug #6190]
* transcode.c (documentation for str_... - 04:09 AM Revision b6a72bcf (git): merge revision(s) 40015: [Backport #8196]
- doumentation by @toolmantim [GH fixes #270]
* timeout.rb: Document Timeout::timeout 0 and nil argument behavior
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:07 AM Revision c921d0e1 (git): merge revision(s) 39967: [Backport #8194]
- * time.c (num_exact): use to_r method only if to_int method is
available.
[ruby-core:53764] [Bug #8173] reported by Hiro Asari.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40054 b2dd03c8-39d4-4d8... - 04:04 AM Revision 8f610b17 (git): merge revision(s) 36432: [Backport #6734]
- * configure.in (EXTDLDFLAGS): split options for each extension
libraries, and unused in ruby.pc. [Bug #6734]
* lib/mkmf.rb (MakeMakefile#configuration): add EXTDLDFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/b... - 04:00 AM Revision d24ea3b6 (git): merge revision(s) 33365: [Backport #8106]
- * test/ruby/test_bignum.rb (TestBignum#test_interrupt): fix for
faster CPU.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:59 AM Revision dbe75ed4 (git): merge revision(s) 37743: [Backport #7379]
- * win32/win32.c (rb_w32_read): Windows 8 fixed one of a bug of console
API.
based on the patch by Heesob Park at [ruby-core:49479] [Bug #7379]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40051 b2... - 03:58 AM Revision 3108dc4b (git): merge revision(s) 39354,39356,39382: [Backport #5014]
- * signal.c (sigsegv): avoid to use async signal unsafe functions
when nested sigsegv is happen.
[Bug #5014] [ruby-dev:44082]
* signal.c (check_stack_overflow): extract duplicated code and get rid
of... -
02:57 AM Bug #8200 (Feedback): Segmentation fault - rails 4 -> sidekiq-> tilt
- Your log said,
>-- Crash Report log information --------------------------------------------
> ...
> * /Library/Logs/DiagnosticReports -
02:14 AM Revision 7a77e124 (git): Suppress warnings
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:02 AM Revision 0fb23a94 (git): fix typo: s/@ca_cert/@cacert/
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:44 AM Bug #8202 (Closed): Turn off builded colorizing
- Closed as duplicate of #8201 (which was moved to ruby-trunk)
-
12:22 AM Bug #8202 (Closed): Turn off builded colorizing
- GD!
In Ruby 1.9.3 the output into console does not process escape secuences and it was good for me becouse i use ConEmu. ConEmu can process advanced escape secuences and some tools like pry theming worked perfectly. Now in ruby 2.0.0... -
12:19 AM Feature #8201: Turn off builded colorizing
- I think it will be better to introduce comand line key to disable builtin escape secuences processing (and it will be so better other way: special key to enable built-in escape processing). Anyway I think ruby never can give so wide supp...
04/01/2013
-
11:56 PM Feature #8201 (Assigned): Turn off builded colorizing
- Hello Denis,
As commented on RubyInstaller list, I think will be better to extend the functionality of built-in ANSI coloring instead of disable it.
Please take a look to #6418 were I provide bench results on how external tools mon... -
11:52 PM Feature #8201 (Closed): Turn off builded colorizing
- GD!
In Ruby 1.9.3 the output into console does not process escape secuences and it was good for me becouse i use ConEmu. ConEmu can process advanced escape secuences and some tools like pry theming worked perfectly. Now in ruby 2.0.0... -
11:44 PM Bug #7171 (Closed): test-all failure on OS X (RubyCI)
-
11:43 PM Bug #7171: test-all failure on OS X (RubyCI)
- 問題が起きない環境を作ったので閉じます。
-
10:59 PM Revision 662d67f1 (git): Unused module removed.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:45 PM Revision 17cf784d (git): conditional test fixed.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:41 PM Revision e47f41fb (git): more tests.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:49 PM Revision d40335aa (git): * 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:12 PM Bug #8136: gsub strange behavior when substituting "\\'"
- nobu (Nobuyoshi Nakada) wrote:
> =begin
> ...
Thank you, i have not read the documentation carefully. It is still a bit strange to me that a replacement string is not taken literally by default. -
04:57 PM Bug #8136: gsub strange behavior when substituting "\\'"
- =begin
You need more escapes.
"foo".gsub("f", "\\\\'")
=end
-
06:01 PM Bug #8200 (Closed): Segmentation fault - rails 4 -> sidekiq-> tilt
- I see thie segfault on ruby 2.0 after a few reloads of the sidekiq dashboard mounted as engine in rails 4.
System:
uname -a
Darwin maxbook.fritz.box 12.2.1 Darwin Kernel Version 12.2.1: Thu Oct 18 16:32:48 PDT 2012; root:xnu-2050.20... -
05:34 PM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
- Sample code to reproduce the issue using Flickr. With 1.9.3 this gives "Invalid API key" which is fine, but 2.0.0 returns the error of the size mismatch.
require 'xmlrpc/client'
server = XMLRPC::Client.new('api.flickr.com', '/servi... -
05:22 PM Bug #8159: Build failure introduced by Rinda changes
- On Linux, IPv6 UDP multicast with link-local IP address (FF02::1 is link-local) requires scope_id specified.
http://d.hatena.ne.jp/torutk/20080520/p1
http://stackoverflow.com/questions/3851061/listening-for-ipv6-multicasts-on-linux
ht... -
03:10 PM Revision 7d3db3cc (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:00 PM Revision bd67f48e (git): * 2013-04-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:00 PM Revision b5550361 (git): test_optparse.rb: skip no_error in backtrace
- * test/optparse/test_optparse.rb (TestOptionParser#assert_no_error):
prefix with assert_ so it will be skipped in backtrace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:34 PM Revision 87877eb0 (git): * 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... -
01:08 PM Revision f4eeca1d (git): * ext/zlib/zlib.c (Zlib::Inflate.new):
- Fix documentation syntax and naming errors.
Based on patch by Robin Dupret. Fix GH-271.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:58 PM Bug #8195 (Rejected): Time-dependent tests
- No actual log.
-
12:56 PM Bug #8195: Time-dependent tests
- On a second thought, this seems to be a poorly chosen "example". You can close this ticket. If I come across a better example, I'll open a new one.
Sorry for the noise. -
10:53 AM Bug #8195: Time-dependent tests
- 2013/4/1 hasari (Hiro Asari) <asari.ruby@gmail.com>:
> Bug #8195: Time-dependent tests
> https://bugs.ruby-lang.org/issues/8195
> There are some tests that depend on timing of the execution, and fail sporadically.
>
> I ... -
10:21 AM Bug #8195 (Rejected): Time-dependent tests
- There are some tests that depend on timing of the execution, and fail sporadically.
I have not surveyed the entire suite, but one is pointed out in https://github.com/jruby/jruby/issues/618.
https://github.com/ruby/ruby/blob/v1_8_7... -
12:22 PM Revision 809a7618 (git): * test/-ext-/num2int/test_num2int.rb: Test small bignums.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:14 PM Revision d6daffbb (git): * 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40037 b2dd03c8-39d4-4d8f-98ff-8... -
11:58 AM Revision 0cbe2f49 (git): * ext/-test-/num2int/num2int.c: Return string for result, instead of
- printing.
* test/-ext-/num2int/test_num2int.rb: updated to follow above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:14 AM Feature #8191: Short-hand syntax for duck-typing
- The more I think about this and it's potential use cases, the more I like the inline double question-mark syntax. This would make the implementation even more useful, addressing the following scenario:
if user && user.profile && u... -
09:14 AM Feature #8191: Short-hand syntax for duck-typing
- I know what duck-typing is, and it's a bit of a stretch to call this duck-typing, but it follows the duck-typing philosophy - "I don't care what you are, but if you can tell me something, I'll use that information. Otherwise I'll make an...
-
11:08 AM Revision 4e52c3c6 (git): * 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:41 AM Revision ecb9b987 (git): configure.in: prereq 2.67
- * configure.in: skip autoconf 2.64 and 2.66, 2.67 seems short-lived
but stick on it for Debian Squeeze.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:39 AM Revision 3eb4b0aa (git): sha2.c: suppress warnings
- * ext/digest/sha2/sha2.c (SHA256_Final, SHA512_Last): suppress
strict-aliasing warnings on gcc 4.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:26 AM Bug #8180 (Closed): Backport r39967 to 1.9.3 and 2.0.x
- moved https://bugs.ruby-lang.org/issues/8193 and https://bugs.ruby-lang.org/issues/8194
-
07:00 AM Revision 318e8835 (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:41 AM Revision 39626559 (git): configure.in: clang check
- * configure.in: should not use AC_COMPILE_IFELSE before
AC_USE_SYSTEM_EXTENSIONS. [Bug #8192]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:22 AM Revision 90e8a9b4 (git): configure.in: clang check
- * configure.in: check clang version by predefined macro values.
[Bug #8192]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:06 AM Revision 92f59c6d (git): * numeric.c (check_uint): Take the 1st argument as unsigned long,
- instead of VALUE. Refine the validity test conditions.
(check_ushort): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/31/2013
-
11:16 PM Revision 6a23960f (git): * configure.in: use 'test' instead quadrigraph.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:19 PM Revision ec61b079 (git): * configure.in: use quadrigraph to put '[' or ']'. [Bug #8192]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:12 PM Bug #8136: gsub strange behavior when substituting "\\'"
- Excuse me, nobu, i have not understood, how can i replace something with a backslash followed by a single quote?
-
06:35 AM Bug #8136 (Closed): gsub strange behavior when substituting "\\'"
- This is one of most frequently asked questions.
Though I can't remember a pointer to good explanation, someone would know it. -
07:24 PM Revision 45334da9 (git): Fix build failure introduced by previous commit
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:18 PM Revision a6b625c5 (git): * configure.in: kick old clang. [ruby-dev:47204] [Bug #8192]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:56 PM Feature #8191: Short-hand syntax for duck-typing
- You call something like
obj.respond_to? :empty ? obj.empty : nil
"achieving duck typing", but that's not how duck typing works. If you mix all kinds of unrelated stuff in your program and then have to check whether they impleme... -
01:13 PM Feature #8191 (Closed): Short-hand syntax for duck-typing
- =begin
As a duck-typed language, Ruby doesn't provide any succinct way of safely calling a potentially non-existant method. I often find myself doing (({obj.respond_to? :empty ? obj.empty : nil})), or if I'm feeling lazy, (({obj.empty? ... - 04:14 PM Revision 1e7bd7d9 (git): * 2013-04-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:14 PM Revision a7526797 (git): * 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:31 AM Feature #8190: Truly parallel assignment
- =begin
Hmm, yeah that request seems reasonable. Right now it seems to be assigning left-to-right. So (({i})) is assigned (({s[i]})), making (({i})) equal to (({1})), only then is (({s[i]})) evaluated and assigned (({7})) as if it's a sep... -
04:20 AM Feature #8190 (Rejected): Truly parallel assignment
- =begin
i = 0
s = [1,2,3]
i, s[i] =s[i], 7
p s
#=> [1, 7, 3]
s is expected to be [7, 2, 3].
=end
-
08:18 AM Revision c68234f7 (git): proc.c: consider noex in define_method
- * proc.c (rb_mod_define_method): consider visibility in define_method.
patch by mashiro <mail AT mashiro.org>. fix GH-268.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:18 AM Revision 651c561b (git): test_method.rb: split
- * test/ruby/test_method.rb (test_define_method): split for each tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:51 AM Revision 31af1796 (git): more tests.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:40 AM Revision 8825a084 (git): win32/configure.bat: option arguments
- * 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40019... -
06:30 AM Bug #8189 (Closed): (one more) inconsistency between Class and Module as namespaces
-
05:28 AM Revision 0423c207 (git): ChangeLog: fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:51 AM Revision 59182ccf (git): * numeric.c (rb_num2ulong_internal): New function similart 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): dit... -
02:21 AM Revision 18affefb (git): documentation by @phiggins [GH fixes #263]
- * file.c: Alias File #path and #to_path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:01 AM Revision e8e7e1aa (git): doumentation by @toolmantim [GH fixes #270]
- * timeout.rb: Document Timeout::timeout 0 and nil argument behavior
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:47 AM Revision c25aa9f5 (git): Document the default Net timeout values by @toolmantim [GH fixes #269]
- * lib/net/{ftp,http,pop,smtp}.rb: added documentation for default values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/30/2013
-
11:13 PM Bug #8166 (Rejected): Since r39628 rspec-mock's and_call_original fail with SystemStackError
- Hello,
Thank you for your investigation.
> Do you believe that only because you want to avoid all compatibility issues, or are there other reasons?
Just because for compatibility issues.
And I agree it is more consistent and help... -
11:30 AM Bug #8166 (Feedback): Since r39628 rspec-mock's and_call_original fail with SystemStackError
- Further study revealed that `and_call_original` does not work in some circumstances in Ruby 1.9/2.0 (see https://github.com/rspec/rspec-mocks/pull/258 ).
In Ruby 2.1 this bug is not even present, because of the consistency of singleto... -
10:59 AM Bug #8166: Since r39628 rspec-mock's and_call_original fail with SystemStackError
- I looked at the code of rspec-mock.
I find it telling that the consistent `singleton_class.ancestors` makes the code much simpler. There is a special case handling that is no longer needed with it, see my pull request for rspec-mock: ... -
09:27 PM Revision c5fe7eb6 (git): class.c: suppress wrong warning
- * class.c (HAVE_METACLASS_P): should check FL_SINGLTON flag before get
instance variable to get rid of wrong warning about __attached__.
[ruby-core:53839] [Bug #8188]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40013 b2dd03c8-... -
09:08 PM Revision b5583577 (git): thread.c: TYPEOF_TIMEVAL_TV_SEC
- * configure.in (TYPEOF_TIMEVAL_TV_SEC): check for x64-mingw, where
timeval.tv_sec is not time_t.
* thread.c (double2timeval): use TYPEOF_TIMEVAL_TV_SEC to get rid of
overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40012... -
09:08 PM Revision 77ff241f (git): timev.h: move time_t stuffs
- * timev.h (TYPEOF_TIMEVAL_TV_SEC, unsigned_time_t): move from time.c.
* thread.c: use definitions in timev.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:08 PM Revision f2e1bfb8 (git): thread.c: format specifiers for time_t
- * thread.c (sleep_timeval): fix format specifiers for time_t.
* time.c (DEBUG_REPORT_GUESSRANGE): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:08 PM Revision ae422dda (git): gc.c: _aligned_malloc
- * gc.c (aligned_malloc): declare _aligned_malloc() prototype for old VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:26 PM Bug #8189: (one more) inconsistency between Class and Module as namespaces
- I have thought more about it, and i have remembered that a class constant lookup also follows the inheritance hierarchy. Then probably this is not a bug. To me it is a bit unexpected in any case.
-
06:41 PM Bug #8189 (Closed): (one more) inconsistency between Class and Module as namespaces
- =begin
(I will only mention in parentheses that inheriting (({Class})) from (({Module})) looks like a bad idea to me, i would have preferred that both inherited from some (({Namespace})) class.)
While trying to answer ((<this SO ques... - 05:07 PM Revision 30feef61 (git): * 2013-03-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:07 PM Revision c9d0a328 (git): Specify external_encoding
- http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20130329T090301Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:53 AM Bug #8185: Thread/fork issue
- 2013/3/30 Jason Gladish <jason@expectedbehavior.com>:
>
> I've found an issue where calling fork inside a thread, and passing a block
> to the fork, causes the forked process to continue after the block. I've
> reproduced the i... -
03:53 AM Bug #8185: Thread/fork issue
- On Mar 29, 2013, at 10:16, Jason Gladish <jason@expectedbehavior.com> wrote:
> I've found an issue where calling fork inside a thread, and passing a block to the fork, causes the forked process to continue after the block
I've cre... -
03:33 AM Bug #8185 (Open): Thread/fork issue - Hello all,
I've found an issue where calling fork inside a thread, and passing a block
to the fork, causes the forked process to continue after the block. I've
reproduced the issue on the following versions of ruby:
ruby 2.0... -
05:14 AM Revision ca76bb08 (git): Remove bcc32
- agreed at http://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20130223Japan
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:01 AM Bug #5811: Ruby Process Deadlocks With Fork on Mac OS X Lion
- This does appear to be fixed in Ruby 2.0.0-p0. I'm no longer able to get my reproduction case to hang (It doesn't hang every time in 1.9.3, but it only takes a try or two to trigger the deadlock).
I'm curious if there's any suggested... - 04:33 AM Revision bcb5c27f (git): * test/ruby/test_class.rb: Simplify warning checks
- * test/ruby/test_io.rb: ditto
* test/ruby/test_module.rb: ditto
* test/ruby/test_regexp.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:03 AM Revision 246102b5 (git): * NEWS: Be more precise about singleton_class.ancestors change
- [Feature #8035]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:34 AM Feature #7792: Make symbols and strings the same thing
- Yep. If to_sym threw or nilled on previously unknown symbols, or at least on tainted data, this would be okay. Otherwise, it is a serious security problem.
03/29/2013
-
11:16 PM Feature #8184 (Open): Avoid the creation of meaningless ranges (nil, false, true)
- With the definition of <=> on Object on post 1.8, the range_init() function no more throws "ArgumentError: bad value for range" when creating these ranges:
nil..nil
false..false
true..true
These kind of ranges are meaningless... -
07:23 PM Bug #8159: Build failure introduced by Rinda changes
- 2013/3/25 Tanaka Akira <akr@fsij.org>
> It seems we need Socket.getifaddrs.
I implemented it in
https://github.com/akr/ruby/tree/getifaddrs
--
Tanaka Akira - 07:00 PM Revision b7d708c3 (git): * win32/file.c (code_page): use cp1252 instead of cp20127 as US-ASCII.
- fix [ruby-core:53079] [Bug #7996]
reported and patched by mmeltner (Michael Meltner).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:52 PM Revision 33be01ca (git): * 2013-03-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:52 PM Revision 35cc29c8 (git): * win32/win32.c (wrename): use MoveFileExW instead of MoveFileW,
- because the latter fails on cross device file move of some
environments.
fix [ruby-core:53492] [Bug #8109]
reported by mitchellh (Mitchell Hashimoto)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40001 b2dd03c8-39d4-4d8f-98ff... -
01:09 PM Revision 99155e20 (git): thread.c: Mutex#synchronize no block params
- * thread.c (rb_mutex_synchronize_m): yield no block params. patch by
splattael (Peter Suschlik) in [ruby-core:53773] [Bug #8097].
fix GH-266.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:02 PM Revision 2418b208 (git): Makefile.sub: configurations
- * win32/Makefile.sub (prog): needs to update configurations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:00 AM Revision 7b6badce (git): compliant is an adjective
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:51 AM Revision 824cb690 (git): io.c: get rid of IOError when skipped while iteration
- * io.c (argf_next_argv): set init flag if succeeded to forward, after
skipping.
* io.c (argf_block_call_i, argf_block_call): no more forwarding if
forwarded after skipping. [ruby-list:49185]
git-svn-id: svn+ssh://ci.ruby-lang.org/... -
07:51 AM Revision 8d7c52db (git): io.c: get rid of IOError when skipped while iteration
- * io.c (argf_close): deal with init flag.
* io.c (argf_block_call_i, argf_block_call): forward next file if
skipped while iteration, to get rid of IOError. [ruby-list:49185]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39996 b2... -
06:08 AM Bug #8182 (Closed): XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
- Since upgrading to Ruby 2.0.0p0 we can no longer use MailChimp through the Hominid gem. Hominid relies on the Ruby XMLRPC client to access MailChimp.
Debugging the issues revealed the following problem: net/http/response.rb transparen... -
05:15 AM Feature #8096: introduce Time.current_timestamp
- After the conversation, I hope its reasonable implement this.
- 04:23 AM Revision 9c215874 (git): * include/ruby/missing.h: fixed merge mistake of r39985.
- [Backport #8080]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:15 AM Feature #8181 (Rejected): New flag for strftime that supports adding ordinal suffixes to numbers
- This is my first issue on the ruby tracker--hopefully I'm asking in the right place?
It would be nice if you could use strftime to generate dates with ordinal suffixes. I propose the addition of another flag to support this: the @ ch... -
02:09 AM Revision 2e26edb6 (git): mkmf.rb: no CFLAGS in CXXFLAGS
- * lib/mkmf.rb (configuration): not include all CFLAGS in CXXFLAGS, to
use different set than C for C++. [ruby-core:45273] [Bug #6504]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:24 AM Revision cea3a73f (git): ruby/io.h: get rid of conflict on AIX
- * include/ruby/io.h: undef POSIX compliants names on AIX, which are no
longer needed. patch suggested by edelsohn (David Edelsohn) in
[ruby-core:53815]. [Bug #8174]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39993 b2dd03c8-... -
12:42 AM Revision 0cfc4866 (git): code cleanup by @vipulnsward [GH fixes #267]
- * lib/cgi/core.rb: change each to each_value
* ext/bigdecimal/lib/bigdecimal/{jacobian,math}.rb:
remove unused variables from bigdecimal lib
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:09 AM Bug #8179: configure.in requires newer Autoconf than specified by AC_PREREQ
- With Autoconf-2.64 I receive the following error:
configure:1510: error: possibly undefined macro: _m4_text_wrap_word
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
...