Activity
From 04/24/2013 to 04/30/2013
04/30/2013
-
10:37 PM Bug #8349 (Closed): [mingw] adding -mfpmath=sse -msse2 causes segv on Windows 7
- phasis68 (Heesob Park) wrote:
> I think -mstackrealign flag is the proper solution of this issue.
> ...
Thank you. I'll use -mstackrealign with sse.
I've confirmed that with disassemble.
https://gist.github.com/shirosaki/5488699 -
08:08 PM Bug #8349: [mingw] adding -mfpmath=sse -msse2 causes segv on Windows 7
- I think -mstackrealign flag is the proper solution of this issue.
Refer to
http://www.peterstock.co.uk/games/mingw_sse/
http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html#index-mpc80-1472 -
07:37 PM Bug #8349: [mingw] adding -mfpmath=sse -msse2 causes segv on Windows 7
- うーん、SSE を使って自動ベクトル化するときに何かバグを踏んでいるんですかねぇ。
objdump か何かでそれぞれの関数を逆アセンブルして貼って頂けませんか。 -
06:37 PM Bug #8349 (Closed): [mingw] adding -mfpmath=sse -msse2 causes segv on Windows 7
- I tried -mfpmath=sse -msse2 with mingw on Windows 7 and got 2 segv while make test-all.
Here is the detail.
https://gist.github.com/anonymous/5487498
I don't know why these options causes segv, but adding volatile seems to fix thi... -
08:00 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- Confirmed the recent push resolves it, will try to gather some benchmarks against Discourse tomorrow.
-
05:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/30 17:41), SASADA Koichi wrote:
> ko1debugfiber.resume
>
Maybe I can yield non-bug version.
--
// SASADA Koichi at atdot dot net -
05:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/30 17:05), sam.saffron (Sam Saffron) wrote:
>
>> > And can you pass all tests by `make test-all' on your environment?
> Nope, its core dumping with the exact same assertion
Thank you for your report. I can reproduce... -
05:23 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/30 15:59), sam.saffron (Sam Saffron) wrote:
> Having trouble testing this against Discourse, can't get it to install ruby gems
>
> /home/sam/.rvm/gems/ruby-head-rgengc@global/bin/bundle: gc.c:587: alloc_bitmap: Assertion... -
05:05 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- > And can you pass all tests by `make test-all' on your environment?
Nope, its core dumping with the exact same assertion -
04:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/30 16:03), SASADA Koichi wrote:
> Thanks. How to reproduce?
And can you pass all tests by `make test-all' on your environment?
--
// SASADA Koichi at atdot dot net -
04:43 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- Install latest ubuntu x64, grab latest source, make install seems to do the trick for me, will try to install on my mac and see what happens.
gcc --version
gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
Copyright (C) 2012 Free Software Found... -
04:23 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/30 15:59), sam.saffron (Sam Saffron) wrote:
> Having trouble testing this against Discourse, can't get it to install ruby gems
>
> /home/sam/.rvm/gems/ruby-head-rgengc@global/bin/bundle: gc.c:587: alloc_bitmap: Assertion... -
03:59 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- Having trouble testing this against Discourse, can't get it to install ruby gems
/home/sam/.rvm/gems/ruby-head-rgengc@global/bin/bundle: gc.c:587: alloc_bitmap: Assertion `objspace->heap.free_bitmap != ((void *)0)' failed.
Aborted (core... -
03:23 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- Now, I add "disable RGENGC feature".
A macro USE_RGENGC in include/ruby/ruby.h enable/disable RGENGC completely.
If performance of RGENGC is not enough, then it can be disabled easily.
It is a big change. So I hope someone v... -
05:27 PM Feature #8343 (Assigned): StringScanner#[] should accept names of named captures
- rkh (Konstantin Haase) wrote:
> On a related note: should the patch be submitted in a second issue on the ruby-trunk project?
Here is also correct place now.
I'll merge this if there are no objection. -
04:06 PM Bug #8348 (Rejected): ruby hangs randomly in daemonized processes on Debian GNU/kFreeBSD
- =begin
Ruby scripts that use Process.daemon seem to hang randomly on Debian GNU/kFreeBSD.
Steps to reproduce:
(1) Install Debian GNU/kFreeBSD Wheezy
(2) Install rvm: (({curl -L https://get.rvm.io | bash -s stable}))
(3) Install ... -
02:19 PM Revision c322f10a (git): * lib/benchmark.rb: Update Benchmark results on newer CPU
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:09 AM Bug #8298: Module include inconsistency
- Student (Nathan Zook) wrote:
> I think that perhaps I was too brief. My complaint is only that `N` precedes `M` (and `C`) in the ancestor list. The other matters are clear.
Indeed, it is a bit surprising. When including `M`, it man... -
06:44 AM Bug #8298: Module include inconsistency
- I think that perhaps I was too brief. My complaint is only that `N` precedes `M` (and `C`) in the ancestor list. The other matters are clear.
~~~ruby
module M ; def foo ; M ; end ; end
module N ; def foo ; N ; end ; end
class C ;... -
05:58 AM Bug #8344: Status of Psych and Syck
- @tenderlove What about rubygems dependency on EngineManager? See Gem::Specification#to_yaml and lib/rubygems/syck_hack.rb
-
04:23 AM Bug #8344: Status of Psych and Syck - On Mon, Apr 29, 2013 at 10:06:10PM +0900, zzak (Zachary Scott) wrote:
>
> Issue #8344 has been updated by zzak (Zachary Scott).
>
> Assignee changed from tenderlovemaking (Aaron Patterson) to zzak (Zachary Scott)
> Target ve... -
04:00 AM Bug #8346: If a module is included, its public instance methods behave like module functions
- Ok, thanks for the explanation.
-
12:21 AM Bug #8346 (Rejected): If a module is included, its public instance methods behave like module functions
- jacknagel (Jack Nagel) wrote:
> Here you have included M in Object, which is why the method is now available on M itself.
Indeed. Another way to understand it: the include has the same effect as doing a `def foo` at the top level.
... -
12:09 AM Bug #8346: If a module is included, its public instance methods behave like module functions - alexeymuranov (Alexey Muranov) wrote:
> =begin
> ...
Here you have included M in Object, which is why the method is now available on M itself.
Object.method_defined?(:f) => true -
03:31 AM Revision 787cdae5 (git): proc.c: frozen core methods
- * proc.c (mproc, mlambda): use frozen core methods instead of plain
global methods, so that methods cannot be overridden.
[ruby-core:54687] [Bug #8345]
* vm.c (Init_VM): define proc and lambda on the frozen core object.
git-svn-id: ... - 03:30 AM Revision e9fa3108 (git): * 2013-04-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:30 AM Revision 3a0641a8 (git): intern.h: rb_block_lambda
- * include/ruby/intern.h (rb_block_lambda): add declaration instead of
deprecated rb_f_lambda.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:30 AM Revision 71a68705 (git): proc.c: remove unnecessary static function
- * proc.c (proc_lambda): remove and use rb_block_lambda directly
instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:34 AM Bug #8347 (Closed): Couldn't find file to include 'lib/rake/doc/README.rdoc' from ../lib/rake/version.rb
-
12:12 AM Bug #6634: Deadlock with join and ConditionVariable
- Hi there,
I've faced similar problem with ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.1.0] (installed with rvm)
Please checkout my attached code. Let me know if I could help you more. Or if i'm doing something dumb :)
04/29/2013
-
10:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/29 11:45), SASADA Koichi wrote:
> (2013/04/29 2:19), Magnus Holm wrote:
>> What exactly does "moving memory areas" mean? Do you have any links?
>
> This is pseudo code:
> ary_push(VALUE ary, VALUE item)
> {
> o... -
03:59 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/29 15:46), headius (Charles Nutter) wrote:
> * Most of the benchmarks do not have enough old data to make a difference.
Yes.
We can see
- overhead of WBs
- overhead of generational gc (increasing dead but un-col... -
03:46 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- I like the technique. I have some observations.
* Most of the benchmarks do not have enough old data to make a difference.
Small benchmarks, in particular, will not show anything useful. These benchmarks could be made more interest... -
12:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/29 11:41), SASADA Koichi wrote:
> (2013/04/29 5:00), Eric Wong wrote:
>> What is the expected performance impact for short-lived scripts and
>> one-liners? I hope there is no (or very little) regression.
>
> Maybe i... -
11:53 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/29 2:19), Magnus Holm wrote:
> What exactly does "moving memory areas" mean? Do you have any links?
This is pseudo code:
ary_push(VALUE ary, VALUE item)
{
old_size = RARRA_LEN(ary);
realloc(RARRAY_PTR(ary), ... -
11:53 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/29 5:00), Eric Wong wrote:
> What is the expected performance impact for short-lived scripts and
> one-liners? I hope there is no (or very little) regression.
Maybe it is a little (up to 10% down).
We need more meas... -
05:23 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- "ko1 (Koichi Sasada)" <redmine@ruby-lang.org> wrote:
> How about to introduce this new GC algorithm/implementation into Ruby 2.1.0?
What is the expected performance impact for short-lived scripts and
one-liners? I hope there i... -
02:23 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- On Sun, Apr 28, 2013 at 6:29 PM, SASADA Koichi <ko1@atdot.net> wrote:
> (2013/04/29 1:19), Magnus Holm wrote:
> > In hindsight I think that the sliding views-technique is only required
> > if you have multiple threads running a... -
01:53 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/29 1:19), Magnus Holm wrote:
> In hindsight I think that the sliding views-technique is only required
> if you have multiple threads running at the same time. In CRuby there
> will only be a single thread running Ruby cod... -
01:23 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- On Sun, Apr 28, 2013 at 6:07 PM, SASADA Koichi <ko1@atdot.net> wrote:
> (2013/04/28 23:34), SASADA Koichi wrote:
> >> Another thing: What about passing the old value to OBJ_WB too?
> OBJ_WB(from, to, old)? In this implementatio... -
01:23 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/28 23:34), SASADA Koichi wrote:
>> Another thing: What about passing the old value to OBJ_WB too? OBJ_WB(from, to, old)? In this implementation it would just be a no-op. There are some nice garbage collectors that you can imp... -
10:24 PM Bug #8298 (Rejected): Module include inconsistency
- This is official restriction on module mix-in.
1. modifications to modules after they are included would not be change existing relation, thus `N` will not be included to `C`.
2. `#include` does not add already included modules, thus... -
10:07 PM Feature #6183: Enumerator::Lazy performance issue
- @gregolsen Sure, np!
-
07:10 PM Feature #6183: Enumerator::Lazy performance issue
- Zachary Scott, thanks for your interest. I'm afraid it doesn't merge into trunk cleanly anymore after introducing lazy #size. I'll try to fix it and let you know when ready.
-
10:06 PM Bug #8344: Status of Psych and Syck
- Aaron has stated that we should remove the EngineManager code for 2.1.0: https://twitter.com/tenderlove/status/328745442970066945
I can write this patch while I'm updating the documentation. -
12:58 AM Bug #8344: Status of Psych and Syck
- I did the doc change and zzak has some nice ideas to improve it, so I give him the ticket.
I would like to hear opinions about removing Psych::EngineManager. -
12:17 AM Bug #8344: Status of Psych and Syck
- We should update the YAML module overview in lib/yaml.rb to reflect this more clearly.
Maybe we add a History or just Syck section. I can write this patch.
Regarding the EngineManager, I think it should be deprecated and eventually... -
12:02 AM Bug #8344 (Closed): Status of Psych and Syck
- Hello,
The current state of YAML being Psych is still a bit unclear (see lib/yaml.rb).
I propose to document YAML as always being (=) Psych,
and give a tip about the syck gem which might be used with the Syck constant (but the YAM... -
09:56 PM Bug #8346: If a module is included, its public instance methods behave like module functions
- Compare with:
```ruby
module M
def self.f
0
end
def f
1
end
end
include M
M.f # => 0 -
09:53 PM Bug #8346 (Rejected): If a module is included, its public instance methods behave like module functions
- =begin
This behavior is unexpected to me:
module M
def f
1
end
end
include M
M.f # => 1
After including the module (({M})), the method (({f})) becomes an instance method of the module for no apparent ... -
06:33 PM Revision df9991fe (git): * ext/tk/MANUAL_tcltklib.ja, ext/tk/old-README.tcltklib.ja: rename from *.jp to *.ja
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:05 PM Feature #8338 (Closed): compilation failure in nkf with Bionic (Android's libc)
- This issue was solved with changeset r40520.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/nkf/nkf-utf8/nkf.h: Bionic libc doesn't have locale.
[Fe... -
04:23 PM Feature #8257: Exception#cause to carry originating exception along with new one
- I love the idea of having $! be the cause. It would also mean instant adoption.
-
04:23 AM Feature #8257: Exception#cause to carry originating exception along with new one
- On Sat, Apr 27, 2013 at 6:09 PM, SASADA Koichi <ko1@atdot.net> wrote:
> Summary:
> (1) raise method captures $! as @cause.
> (2) Adding new method Exception#cause returns @cause.
>
> * I'm not sure #cause is good name.
> T... -
02:53 PM Feature #8324: Net::Telnet.new のオプション
- net/* なので naruse さんがメンテナかと思っていました。失礼しました。
-
12:13 PM Feature #8324: Net::Telnet.new のオプション
- telnet にはメンテナいません
-
02:00 PM Bug #8342 (Rejected): IO.readlines ignores Encoding.default_internal if Encoding.default_external is ASCII-8BIT
- If external encoding is ASCII-8BIT, the input content is considered as binary.
It is out of text encoding conversion and its encoding kept as ASCII-8BIT even if default_internal is set. -
09:35 AM Bug #8342 (Assigned): IO.readlines ignores Encoding.default_internal if Encoding.default_external is ASCII-8BIT
- Seems intended behavior to me.
-
11:24 AM Bug #8084: ext/tk/MANUAL_tcltklib.eucj is utf-8
- jaは国名コードなので、この場合は言語コードのjaを使うべきだと思います。
少なくともREADME.jaやdoc/*.jaはこちらを使っています。 -
09:21 AM Bug #8084 (Closed): ext/tk/MANUAL_tcltklib.eucj is utf-8
- This issue was solved with changeset r40519.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/tk/MANUAL_tcltklib.jp: rename from ext/tk/MANUAL_tcltkl... -
12:39 AM Bug #8084: ext/tk/MANUAL_tcltklib.eucj is utf-8
- I suggest to rename from *.eucj to *.utf8 (or something else).
But I do not know whether any files depend on the filename or not. -
09:01 AM Revision e3e9c568 (git): Add comments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:44 AM Revision c81f5fd3 (git): * vm.c (VM_EP_LEP): simplify infinite loop.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:06 AM Revision 6a880801 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:05 AM Revision ecf017a9 (git): * ext/nkf/nkf-utf8/nkf.h: Bionic libc doesn't have locale.
- [Feature #8338]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:03 AM Bug #8337: Test failure and memory leak with OpenSSL::BN
- oh...
I'm sorry for bother you. -
01:11 AM Bug #8337 (Closed): Test failure and memory leak with OpenSSL::BN
- nagachika (Tomoyuki Chikanaga) wrote:
> Hello,
> ...
I use ALLOCA_N only for Fixnum and ALLOC_N is used for Bignum that needs xfree().
https://github.com/ruby/ruby/blob/be4aa330374d42cdead52a94144be189b5054e67/ext/openssl/ossl_bn.c#... -
12:27 AM Bug #8337 (Assigned): Test failure and memory leak with OpenSSL::BN
- Hello,
I think ALLOCA_N() uses alloca() to allocate memory from machine stack and xfree() is not necessary. -
02:45 AM Feature #8343: StringScanner#[] should accept names of named captures
- On a related note: should the patch be submitted in a second issue on the ruby-trunk project?
-
12:20 AM Revision fb5d3a0a (git): * ext/tk/MANUAL_tcltklib.jp: rename from ext/tk/MANUAL_tcltklib.eucj [ruby-trunk - Bug #8084]
- * ext/tk/old-README.tcltklib.jp: rename from ext/tk/old-README.tcltklib.eucj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/28/2013
-
11:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/28 21:40), Magnus Holm wrote:
> Are instances of user-level Ruby classes (`class MyClass; end`) marked
> as sunny by default as well? If not, would it be difficult?
Not difficult (I think). I'll try ASAP.
> Also, ... -
10:23 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- On Sat, Apr 27, 2013 at 8:19 PM, ko1 (Koichi Sasada)
<redmine@ruby-lang.org>wrote:
> We Heroku Matz team developed a new generational mark&sweep garbage
> collection algorithm RGenGC for CRuby/MRI.
> (correctly speaking, it i... -
09:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- On Sat, Apr 27, 2013 at 8:19 PM, ko1 (Koichi Sasada)
<redmine@ruby-lang.org>wrote:
> We Heroku Matz team developed a new generational mark&sweep garbage
> collection algorithm RGenGC for CRuby/MRI.
> (correctly speaking, it i... -
08:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/28 20:27), rkh (Konstantin Haase) wrote:
> Wow, nice! Is there a patch/branch around somewhere already to take a look at?
> Code is: https://github.com/ko1/ruby/tree/rgengc
--
// SASADA Koichi at atdot dot net -
08:27 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- Wow, nice! Is there a patch/branch around somewhere already to take a look at?
Keep up the good work! -
03:54 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/04/28 9:23), authorNari (Narihiro Nakamura) wrote:
> Great work!!! Does RGenGC Ruby pass test-all?
Sure.
--
// SASADA Koichi at atdot dot net -
09:23 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- Great work!!! Does RGenGC Ruby pass test-all?
> How about to introduce this new GC algorithm/implementation into Ruby 2.1.0?
+1 -
04:01 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI - =begin
Great, even a simpleton like me understood. So (({Dog.new.speak})) will get incinerated as soon as it finishes its ((%"Bow wow"%)), while senior objects have tenure. Btw. let me express thanks for 2.0, it's noticeably faster than... -
03:19 AM Feature #8339 (Closed): Introducing Geneartional Garbage Collection for CRuby/MRI
- | One day a Rubyist came to Koichi and said, "I understand how to improve
| CRuby's performance. We must use a generational garbage collector." Koichi
| patiently told the Rubyist the following story: "One day a Rubyist came
| t... -
11:46 PM Feature #8343 (Closed): StringScanner#[] should accept names of named captures
- Example:
s = StringScanner.new("Fri Dec 12 1975 14:39")
s.scan(/(?<wday>\w+) (?<month>\w+) (?<day>\d+) /)
# this currently works
s[0] # -> "Fri Dec 12 "
s[1] ... -
11:38 PM Feature #6183: Enumerator::Lazy performance issue
- This patch is big, but I hope to review it soon as I will be working on Lazy soon
-
11:34 PM Bug #8084: ext/tk/MANUAL_tcltklib.eucj is utf-8
- @znz what do you suggest?
-
11:22 PM Bug #8213: No documentation for `ri YAML`
- zzak (Zachary Scott) wrote:
> @eregon Hi! Yes, nobu pointed out another way here: https://twitter.com/n0kada/status/328342207511801856
> ...
Still a bit hacky but sure I will do that :) -
10:52 PM Bug #8213: No documentation for `ri YAML`
- @eregon Hi! Yes, nobu pointed out another way here: https://twitter.com/n0kada/status/328342207511801856
Want to write a patch? -
10:13 PM Bug #8213: No documentation for `ri YAML`
- zzak (Zachary Scott) wrote:
> @nobuhiro-san Thank you, I'm sorry for this mistake. Please check it now after r40509
Is there not a way to tell rdoc to document the YAML module without declaring it in the code?
The "if false" just lo... -
10:30 AM Bug #8213: No documentation for `ri YAML`
- @zzak-san It works without warnings, thank you!
-
10:14 AM Bug #8213: No documentation for `ri YAML`
- @nobuhiro-san Thank you, I'm sorry for this mistake. Please check it now after r40509
-
09:18 AM Bug #8213: No documentation for `ri YAML`
- =begin
Hi, this causes warnings as follow:
$ ruby -ryaml -ve ''
ruby 2.1.0dev (2013-04-28 trunk 40506) [x86_64-linux]
/home/nov/.rvm/rubies/ruby-head/lib/ruby/2.1.0/yaml.rb:83: warning: already initialized constant YAML
/home/... -
10:20 PM Bug #8337 (Closed): Test failure and memory leak with OpenSSL::BN - This issue was solved with changeset r40513.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
ossl_bn.c: fix ossl_bn_initialize bug with integer
* ext/open... -
09:58 PM Revision 6fb5140d (git): ossl_bn.c: reduce alloca/malloc
- * ext/openssl/ossl_bn.c (ossl_bn_initialize): no need of alloca for
small fixed size array.
* ext/openssl/ossl_bn.c (ossl_bn_initialize): check overflow first,
and use alloca for small size input.
git-svn-id: svn+ssh://ci.ruby-lang.... -
09:13 PM Bug #8342 (Closed): IO.readlines ignores Encoding.default_internal if Encoding.default_external is ASCII-8BIT
- Under normal circumstances, IO.readlines will transcode from Encoding.default_external to Encoding.default_internal:
File.open('hi', 'w') { |f| f.puts "hello\n" }
Encoding.default_external = Encoding::US_ASCII
Encoding.default_inter... -
08:53 PM Feature #8291: Allow retrieving the root Fiber of a Thread
- (2013/04/28 19:35), halorgium (Tim Carey-Smith) wrote:
> I am proposing adding the ability to call Thread#root_fiber to return the Fiber which is considered the original co-routine for the specified Thread.
> This is useful to be a... -
07:35 PM Feature #8291: Allow retrieving the root Fiber of a Thread
- I am proposing adding the ability to call Thread#root_fiber to return the Fiber which is considered the original co-routine for the specified Thread.
This is useful to be able to retrieve information about the original Fiber for the Th... -
07:53 AM Feature #8291: Allow retrieving the root Fiber of a Thread
- (13/04/28 7:40), SASADA Koichi wrote:
> BTW, there are no Thread.backtrace method.
>
> Thread.backtrace
> #=>
> ruby 2.1.0dev (2013-03-18 trunk 39808) [i386-mswin32_100]
> t.rb:1:in `<main>': undefined method `backtrace' fo... -
07:53 AM Feature #8291: Allow retrieving the root Fiber of a Thread
- (2013/04/19 15:53), halorgium (Tim Carey-Smith) wrote:
> Currently (({Thread.backtrace})) returns the stack frames for the currently running (({Fiber})).
> It is not possible to retrieve the backtrace.
>
> Building on http://... -
07:30 PM Feature #8263: Support discovering yield state of individual Fibers
- When you have many Fibers inside a Thread.
You cannot find where the FIbers are currently suspended.
I propose adding a method to Fiber to return this information.
Calling Fiber.current.backtrace would be equivalent to Thread.c... -
07:53 AM Feature #8263: Support discovering yield state of individual Fibers
- Sorry, I can't understand what is your proposal.
At first example <https://gist.github.com/halorgium/f63abf177a96d7113ce3>,
there is only "thread.backtrace". However, we have already Thread#backtrace.
p Thread.current.backtrace
#... -
05:00 PM Feature #6242: Ruby should support lists
- List processing is a draw back??
http://www.venkotech.com - 03:40 PM Revision 312a5a8c (git): * 2013-04-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:40 PM Revision bdc8087f (git): * lib/yaml.rb: Clarify documentation about YAML being always Psych.
- Give a tip about using Syck. See #8344.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:34 PM Revision 253f49db (git): * lib/yaml.rb: Use another trick to define the YAML module.
- https://twitter.com/n0kada/status/328342207511801856
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:19 PM Revision 531d47d6 (git): * lib/pp.rb: Update PP module overview by @geopet
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:20 PM Revision be4aa330 (git): ossl_bn.c: fix ossl_bn_initialize bug with integer
- * ext/openssl/ossl_bn.c (ossl_bn_initialize): fix buffer overflow on
x64 Windows and memory leak when initializing with integer.
[ruby-core:54615] [Bug #8337]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40513 b2dd03c8-39d4-4d8... -
10:50 AM Bug #8225 (Closed): Missing RI file for Kernel.open
- I've moved this over to RDoc's bug tracker: https://github.com/rdoc/rdoc/issues/222
-
10:40 AM Bug #8242: Fix rdoc of Range#bsearch
- @marcandre What do you suggest?
-
09:51 AM Bug #8162 (Closed): Documentation for trust/taint lacking
- This issue was solved with changeset r40508.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c: Documentation for taint and trust [Bug #8162] -
08:30 AM Feature #8121 (Closed): updated Curses::Window example
- This issue was solved with changeset r40506.
Michal, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/curses/curses.c: Update Curses::Window example for nicer ... -
08:23 AM Feature #8257: Exception#cause to carry originating exception along with new one
- (2013/04/28 7:59), Charles Oliver Nutter wrote:
>> > (2) How about to use `$!' forcibly?
> Do you mean automatically stick $! into Exception#cause when creating
> (or perhaps better, when raising) a new Exception? That's not a bad... -
08:23 AM Feature #8257: Exception#cause to carry originating exception along with new one
- On Sat, Apr 27, 2013 at 5:19 PM, SASADA Koichi <ko1@atdot.net> wrote:
> (1) introduce new keyword?
>
> example: raise(..., cause: e)
Yeah, that's not bad. Keywords allow us to avoid changing the
signature in new/incompatib... -
07:23 AM Feature #8257: Exception#cause to carry originating exception along with new one
- (2013/04/28 7:19), SASADA Koichi wrote:
> (2) How about to use `$!' forcibly?
because I think Exception#cause= is not cool.
--
// SASADA Koichi at atdot dot net -
07:23 AM Feature #8257: Exception#cause to carry originating exception along with new one
- (2013/04/12 1:40), headius (Charles Nutter) wrote:
> * A new set of Kernel#raise overloads that accept (as a trailing argument, probably) the "cause" exception.
(1) introduce new keyword?
example: raise(..., cause: e)
... -
07:59 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
- (2013/04/17 2:54), headius (Charles Nutter) wrote:
>
> What's the next step here? Do we need a patch to proceed? It seems like this feature is universally liked.
I don't have any objection about it now.
Patches are welcom... -
07:29 AM Feature #8270: Ruby should build without thread support (aka minix)
- (2013/04/16 4:04), eike.rb (Eike Dierks) wrote:
> I'd like to suggest that ruby should still build on platforms without threads.
Should I spend a time for this issue?
It is easy to solve, but not in short time.
I feel it i... -
07:07 AM Feature #4211 (Rejected): Converting the Ruby and C API documentation to YARD syntax
- I'm going to reject this, if you have a specific proposal how to improve RDoc please open a feature ticket.
-
07:04 AM Feature #7712 (Rejected): Add .txt extensions to all plain-text documentation files for Windows users
- I'm going to reject this, I agree with Luis [ruby-core:51610].
-
05:58 AM Feature #8338: compilation failure in nkf with Bionic (Android's libc)
- そのパッチを当てると、make, make install まで通るようになります。
(もちろん動かしていないので、そこから先は知りません)
-
05:15 AM Feature #8338 (Assigned): compilation failure in nkf with Bionic (Android's libc)
- こんな感じで通りますかね
diff --git a/nkf.h b/nkf.h
index cbe5f56..af44320 100755
--- a/nkf.h
+++ b/nkf.h
@@ -152,6 +152,7 @@ void setbinmode(FILE *fp)
# ifndef HAVE_LOCALE_H
# define HAVE_LOCALE_H
# endif
+#elif defined(__BIONIC__) ... -
01:04 AM Feature #8338 (Closed): compilation failure in nkf with Bionic (Android's libc)
- buildroot 以外での cross compile もしてみようかと思って、
Android を試したところ、nkf のところで compile に失敗します。
Bionic (Android の libc) には langinfo.h がないのが原因のようです。
nkf.h を見たところ、どう修正するのが適切なのかわからなかったので
issue としておきます。
私の環境 (x86_64 な Debian GNU/Linux (squeez... -
05:58 AM Bug #8340: rubyzip does not save time of zipped files
- Another try to fix this is to add
def kind_of?( arg )
super( arg ) || __getobj__.kind_of?( arg )
end
to c:\win\Ruby200x64\lib\ruby\gems\2.0.0\gems\rubyzip-0.9.9\lib\zip\zip_streamable_stream.rb -
05:49 AM Bug #8340 (Third Party's Issue): rubyzip does not save time of zipped files
- Report this to rubyzip's tracker.
https://github.com/aussiegeek/rubyzip -
05:36 AM Bug #8340 (Third Party's Issue): rubyzip does not save time of zipped files
- I wrote a little test
----------------------
require 'zip/zip'
zipName = "test.zip"
zipFile = Zip::ZipFile.open( zipName, Zip::ZipFile::CREATE )
file = File.open( "save.rb", "rb")
puts time = Zip::DOSTime.at( file.mtime )
zipE... -
03:54 AM Revision 1e51f304 (git): test_io_console.rb: investigate hang-up
- * test/io/console/test_io_console.rb (TestIO_Console#test_noctty):
grab error outputs and stop the loop upto 3 seconds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:38 AM Revision 66c0e012 (git): README.EXT: update note
- * README.EXT: correct method name to be used. [Bug #7982]
* README.EXT.ja: add notes too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:18 AM Feature #2509: Recursive freezing? - I would beg to make the method name #deep_freeze, if possible.
-
01:35 AM Revision 9ef25d88 (git): * object.c: With feedback from Steve Klabnik, reverted a change to
- #untrusted? and #tainted?. Also adjusted grammar for $SAFE levels
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:11 AM Revision 2068f3ce (git): * lib/yaml.rb: Disable setting YAML const twice [ruby-core:54642]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:51 AM Revision 6fe3e9e4 (git): * object.c: Documentation for taint and trust [Bug #8162]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:42 AM Revision e7316275 (git): * README.EXT: Copy note from r40505 for rb_sprintf() [Bug #7982]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/27/2013
-
11:30 PM Revision 7e70b8ac (git): * ext/curses/curses.c: Update Curses::Window example for nicer output
- Patch by Michal Suchanek [Bug #8121] [ruby-core:53520]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:26 PM Bug #8213 (Closed): No documentation for `ri YAML`
- This issue was solved with changeset r40499.
Lee, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/yaml.rb: Documentation for YAML module [Bug #8213] -
11:11 PM Revision e781aeef (git): * README.EXT: Update note from r40504, by Jeremy Evans [Bug #7982]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:04 PM Revision 817dda53 (git): * README.EXT: Add note to warn use of %i in Exceptions [Bug #7982]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:50 PM Feature #6242: Ruby should support lists
- I doubt that ruby is LISP.
http://www.ifeel.edu.in -
06:28 PM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- Hello,
I think this is really a bug: error hiding *is* harmful.
Anyway, is it OK to commit this to trunk now that 2.0 is released and in a separate branch? -
05:48 PM Revision d7b32fb4 (git): * configure.in: Fix a typo. Should check endgrent() instead of
- endgrnam().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:24 PM Bug #8337: Test failure and memory leak with OpenSSL::BN
- naruse (Yui NARUSE) wrote:
> Sure, commit please.
Additionally, ALLOC_N for Fixnum can be simply ALLOCA_N. -
05:23 PM Bug #8337: Test failure and memory leak with OpenSSL::BN
- Sure, commit please.
-
03:29 PM Bug #8337 (Closed): Test failure and memory leak with OpenSSL::BN
- I noticed test failure of test_to_bn.
http://ci.rubyinstaller.org/job/ruby-trunk-x64-test-all/1137/console
1) Failure:
test_to_bn(OpenSSL::TestBN) [C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_bn.rb:36]... - 03:38 PM Revision 8583a7df (git): * 2013-04-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:38 PM Revision 1a67580e (git): * process.c (obj2gid): Don't call endgrnam() if not exist.
- Bionic (Android's libc) don't have endgrnam().
* configure.in: Check endgrnam function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:54 PM Revision b5e8e33d (git): * lib/yaml.rb: add security warning to YAML documentation
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:26 PM Revision 3e1fad84 (git): * lib/yaml.rb: Documentation for YAML module [Bug #8213]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:27 PM Feature #8237: Logical method chaining via inferred receiver
- wardrop (Tom Wardrop) wrote:
> =begin
> ...
Object#tap wasn't introduced to avoid unnecessary temporary variable assignments. #tap is an implementation of the K combinator which has lots of uses beyond avoiding unnecessary temporaries.... -
11:21 AM Revision ab750920 (git): * thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION.
- This fixes a compilation failure while cross-compiling for Tensilica
Xtensa Processor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:07 AM Bug #8336 (Closed): Segfault in :=~
- Seems same as #8100.
-
08:15 AM Bug #8336 (Closed): Segfault in :=~
- Just had this happen a few times, seems to be GC related, releasing memory pressure worked around it.
https://gist.github.com/SamSaffron/5471044 -
10:33 AM Revision 5c1d4c2a (git): * thread.c: fix typos and documentation
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:06 AM Revision 5cbc3e15 (git): * sparc.c: Use __asm__ instead of asm for gcc.
- gcc doesn't provide asm keyword if -ansi option is given.
http://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:52 AM Bug #8335: Performance regression with many threads
- Mike - also fixed @ https://github.com/sstephenson/ruby-build/pull/351
-
02:43 AM Bug #8335 (Closed): Performance regression with many threads
- Thank you for confirmation.
-
02:23 AM Bug #8335: Performance regression with many threads
- Confirmed. I rebuilt 2.0.0 with RUBY_CFLAGS="-O3" and now performance is as good or better than 1.9.3. You may close this issue.
-
02:04 AM Bug #8335: Performance regression with many threads
- I have some concern about #8211 so here's the info. Each VM was installed via rbenv.
> ruby -v
ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-darwin12.3.0]
> ...
ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-darwin12.3.0]
... -
01:08 AM Bug #8335 (Closed): Performance regression with many threads
- I've created a simple case to reproduce a performance problem with Sidekiq. A customer is using 200 worker threads to process background jobs and finding it to be quite slow. To process 50,000 jobs, it takes Ruby 1.9.3 about 200 second...
-
08:23 AM Revision ef215077 (git): * ext/socket/extconf.rb: Redundant test removed.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:00 AM Revision fbbd7e29 (git): * ext/socket/extconf.rb (test_recvmsg_with_msg_peek_creates_fds):
- Extracted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:52 AM Revision d907adec (git): * internal.h (SIGNED_INTEGER_TYPE_P): New macro.
- (SIGNED_INTEGER_MAX): Ditto.
(SIGNED_INTEGER_MIN): Ditto.
(UNSIGNED_INTEGER_MAX): Ditto.
(TIMET_MAX): Use SIGNED_INTEGER_MAX and UNSIGNED_INTEGER_MAX.
(TIMET_MIN): Use SIGNED_INTEGER_MIN.
* thread.c (TIMEVAL_SEC_MAX): Use SIGNED... -
03:30 AM Revision e88a692a (git): * thread.c (TIMEVAL_SEC_MAX, TIMEVAL_SEC_MIN): Consider environments,
- sizeof(time_t) is smaller than sizeof(tv_sec), such as
OpenBSD 5.2 (amd64).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:02 AM Revision 825a8923 (git): test_syntax.rb: split test_syntax
- * test/ruby/test_syntax.rb (test_syntax): split to improve throuthput
by reducing objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/26/2013
-
11:53 PM Bug #8302: REXML::Text の entity_filter が有効でない
- テストを追加して取り込みました!
何に使うんでしょうねぇ。。。 -
11:36 PM Bug #8302 (Closed): REXML::Text の entity_filter が有効でない
- This issue was solved with changeset r40484.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rexml/text.rb (REXML::Text.normalize): Fix a bug that all
... -
11:00 PM Bug #8301: REXML::Attributes#to_a
- テストを追加して取り込みました!
-
10:56 PM Bug #8301 (Closed): REXML::Attributes#to_a
- This issue was solved with changeset r40482.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rexml/element.rb (REXML::Attributes#to_a): Support
names... -
10:25 PM Feature #8331 (Closed): Update config.guess and config.sub for AArch64 (ARM64)
- ふと cross compile のやり方を知ってしまって、いろいろと試していると、
AArch64 (ARM64) で configure で失敗することに気がつきました。
% ruby -v
ruby 2.1.0dev (2013-04-24 trunk 40443) [x86_64-linux]
% cd
% B=$HOME/b
% mkdir $B
% cd $B
% wget http://buildroot.u... -
08:18 PM Bug #8330 (Rejected): WEBrick::HTTPUtils::parse_query replaces plus (+) with space
- According to RFC1738, the plus character (+) is a reserved character and may be used unencoded within a URL. Webrick however replaces plus signs with spaces, which violates the spec and causes a loss of information. An encoded plus chara...
-
07:26 PM Feature #3289: Division of negative numbers - Given the context, Ruby choice seems right to me. But the real core of the problem is
the minus sign. My father says, that minus simply represents an unfinished operation,
intention to subtract. Citing anonymous Wikipedia contributor:
"... -
05:31 PM Revision 506ee0c1 (git): merge revision(s) 39687,39776,40438: [Backport #8064]
- * io.c (rb_update_max_fd): use ATOMIC_CAS because this function
is used from timer thread too.
* io.c (rb_fd_fix_cloexec): use rb_update_max_fd().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40490... -
05:06 PM Revision f2d84ac8 (git): * configure.in: use quadrigraphs. workaround for autoconf 2.64.
- a patch provided by Hessob Park. [ruby-core:53157] [Backport #8020]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:18 PM Misc #8329 (Rejected): Cannot change \r\n to \n (Windows/DOS to Unix)
- This BTS is not to ask about your bugs, but language specs and implementations.
As for you bug, newline code is already converted by reading in text mode. -
11:32 AM Misc #8329 (Rejected): Cannot change \r\n to \n (Windows/DOS to Unix)
- I want to change all of my ruby files to UTF-8 encoded and Unix format, but after the running of the following program, the files' formats are still Windows/DOS (\r\n) but not Unix (\n). How could I do?
===============================
... -
04:17 PM Bug #8159 (Assigned): Build failure introduced by Rinda changes
-
12:50 AM Bug #8159: Build failure introduced by Rinda changes
- Committed at r40472 to fix test failure. If there are problems, please fix it.
-
12:43 AM Bug #8159 (Closed): Build failure introduced by Rinda changes - This issue was solved with changeset r40472.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
ring.rb: specify multicast interface
* lib/rinda/ring.rb (Rinda:... -
04:15 PM Revision c72e5e70 (git): merge revision(s) 40413,40414,40415,40423: [Backport #8290]
- * string.c (rb_str_inspect): NUL should not be represented as
"\0" when octal digits may follow.
* string.c (rb_str_inspect): NUL should not be represented as "\0"
when octal digits may follow. [ruby-core:54... - 04:14 PM Revision e38b66fc (git): * 2013-04-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:13 PM Revision b22fa276 (git): fix typo (r40195, r40428)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:29 PM Bug #8310: resque-web crashes with segfault on Ruby 2.0.0-p0 only, Resque 1.24.1, Redis 2.6.12
- Can you try this with trunk?
On Apr 22, 2013 5:38 PM, "vaharoni (Amit Aharoni)" <amit.sites@gmail.com>
wrote:
>
> Issue #8310 has been updated by vaharoni (Amit Aharoni).
>
>
> To clarify, after running resque-web, you ... -
02:49 PM Revision a2ac434a (git): merge revision(s) 40476: [Backport #8332]
- * thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION.
This fixes a compilation failure while cross-compiling for ARM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40485 b2dd03c8-39d4-4d8f-98ff... - 02:36 PM Revision 4e44eeae (git): * lib/rexml/text.rb (REXML::Text.normalize): Fix a bug that all
- entity filters are ignored. [ruby-dev:47278] [Bug #8302]
Patch by Ippei Obayashi. Thanks!!!
* test/rexml/test_entity.rb (EntityTester#test_entity_filter): Add
a test of the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
02:32 PM Revision 4a90d9e8 (git): merge revision(s) 40475,40480,40481:
- * lib/rss/atom.rb: Documentation for RSS::Atom based on a patch by
Michael Denomy
* lib/rss/maker.rb: Documentation for RSS::Maker also by @mdenomy
* lib/rss/maker.rb (RSS::Maker): Fix indent of document comme... -
02:08 PM Feature #6367: #same? for Enumerable
- Possible names: #same_by?, #all_equal_by?, #equal_by?, #identical_by?, #uniform_by? I think same_by? looks the most natural.
set_of_words.same_by?(&:length)
numbers.same_by{|number| number % 3 }
card_in_hand.same_by?(&:color) - 01:56 PM Revision 562648e4 (git): * lib/rexml/element.rb (REXML::Attributes#to_a): Support
- namespaced attributes. [ruby-dev:47277] [Bug #8301]
Patch by Ippei Obayashi. Thanks!!!
* test/rexml/test_attributes.rb
(AttributesTester#test_to_a_with_namespaces): Add a test of the
above change.
git-svn-id: svn+ssh://ci.ruby-la... - 12:48 PM Revision b486e504 (git): * lib/rss/atom.rb (RSS::Atom::Entry): Fix indent of document comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:21 PM Revision 2df0d9a1 (git): * lib/rss/maker.rb (RSS::Maker): Fix indent of document comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:42 AM Revision 56e982d4 (git): * ext/socket/extconf.rb: Use a block of enable_config() for
- --{enable,disable}-close-fds-by-recvmsg-with-peek configure option
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:16 AM Revision 847fe27e (git): * dir.c (dir_set_pos): Fix a compilation error when seekdir() is not
- exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:45 AM Revision 6d2662d4 (git): add comments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:43 AM Revision ed9e1f9a (git): * thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION.
- This fixes a compilation failure while cross-compiling for ARM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:35 AM Bug #8299 (Assigned): Minor error in float parsing
- phasis68 (Heesob Park) wrote:
> 2013/4/25 naruse (Yui NARUSE) <naruse@airemix.jp>:
> ...
There's already "strongly recommended VC++ 10 or later".
Note that VC++2003 or later has /fp:precise and it is default
> >
> ...
Your patch ... -
05:36 AM Revision 1eb50046 (git): * lib/rss/atom.rb: Documentation for RSS::Atom based on a patch by
- Michael Denomy
* lib/rss/maker.rb: Documentation for RSS::Maker also by @mdenomy
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:51 AM Revision 66938f38 (git): dd comment about AC_FUNC_SETPGRP.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:43 AM Revision a36cd96c (git): * ext/curses/extconf.rb: Test linkability of curses_version at first.
- * ext/socket/extconf.rb: Test the behavior of fd passing with MSG_PEEK
only if recvmsg(), msg_control member, AF_UNIX and SCM_RIGHTS are
available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40473 b2dd03c8-39d4-4d8f-98ff-82... -
12:19 AM Bug #7856 (Closed): The usage of try_run in extconf.rb is broken when crosscompiling
- I modified ext/socket/extconf.rb (r40464 and r40466)
and ext/curses/extconf.rb (r40468).
I think they don't use try_run while cross compiling after r40468.
04/25/2013
-
09:02 PM Bug #8326: Running Redmine unter Ruby 2.0.0 produces an "Illegal instruction(coredump)" under AIX 7.1
- Also tried it with Redmine 2.2.4 under ruby 1.9.3 p392, with the same results, see dump below:
#> dbx /opt/pware/ruby/1.9.3/bin/ruby core
Type 'help' for help.
[using memory image in core]
reading symbolic information ...
Il... -
09:02 PM Bug #8326: Running Redmine unter Ruby 2.0.0 produces an "Illegal instruction(coredump)" under AIX 7.1
- Same problem occures without redmine plugins and with older ruby version 1.9.3 p392
-
09:02 PM Bug #8326 (Closed): Running Redmine unter Ruby 2.0.0 produces an "Illegal instruction(coredump)" under AIX 7.1
- We compiled Ruby under AIX 7.1 and everthing work fine throughout testing, but when we install Redmine 2.3.0 an go through the normal navigation, we can reproduce the following error by only clicking multiple links consecutively in the a...
-
05:55 PM Bug #7859: Readline: Incorrect arrow key behavior in vi_editing_mode insert mode with Readline 6.2 - I have different, but perhaps related, problems with Readline.vi_editing_mode in Ruby 1.9.3p392 with MacPorts' readline 6.2 on MacOS 10.6.8. Please let me know if I should open a new 1.9.3 bug report instead of commenting here.
Using... -
05:53 PM Bug #8299: Minor error in float parsing
- 2013/4/25 naruse (Yui NARUSE) <naruse@airemix.jp>:
>
> Issue #8299 has been updated by naruse (Yui NARUSE).
>
>
> phasis68 (Heesob Park) wrote:
>> 2013/4/25 naruse (Yui NARUSE) <naruse@airemix.jp>:
>> >
>> > Issue #829... -
05:12 PM Bug #8299: Minor error in float parsing
- phasis68 (Heesob Park) wrote:
> 2013/4/25 naruse (Yui NARUSE) <naruse@airemix.jp>:
> ...
Use newer compiler.
> AMD CPUs prior to Athlon 64, including all Socket A-based CPUs
> ...
Use -mfpmath=sse,387.
As I wrote before, if yo... -
02:53 PM Bug #8299: Minor error in float parsing
- 2013/4/25 naruse (Yui NARUSE) <naruse@airemix.jp>:
>
> Issue #8299 has been updated by naruse (Yui NARUSE).
>
>
> phasis68 (Heesob Park) wrote:
>> 2013/4/25 naruse (Yui NARUSE) <naruse@airemix.jp>:
>> > Therefore use SSE2... -
02:53 PM Bug #8299: Minor error in float parsing
- 2013/4/25 David MacMahon <davidm@astro.berkeley.edu>:
>
> On Apr 24, 2013, at 7:03 PM, Heesob Park wrote:
>
>> 2013/4/25 David MacMahon <davidm@astro.berkeley.edu>
>>>
>>> Nice work tracking this down!
>>>
>>> I don't understand... -
01:53 PM Bug #8299: Minor error in float parsing
- On Apr 24, 2013, at 7:03 PM, Heesob Park wrote:
> 2013/4/25 David MacMahon <davidm@astro.berkeley.edu>
>>
>> Nice work tracking this down!
>>
>> I don't understand how it fixes the compiler specific aspect of the
>> problem yo... -
11:41 AM Bug #8299: Minor error in float parsing
- phasis68 (Heesob Park) wrote:
> 2013/4/25 naruse (Yui NARUSE) <naruse@airemix.jp>:
> ...
double arithmetics with SSE2 is double-precision.
see also gcc's -mfpmath=sse option
http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/i386-and-x86_00... -
11:23 AM Bug #8299: Minor error in float parsing
- 2013/4/25 naruse (Yui NARUSE) <naruse@airemix.jp>:
>
> Issue #8299 has been updated by naruse (Yui NARUSE).
>
>
> phasis68 (Heesob Park) wrote:
>> I found the issue is due to the difference of the floating point precision.
... -
11:23 AM Bug #8299: Minor error in float parsing
- 2013/4/25 David MacMahon <davidm@astro.berkeley.edu>
>
> Nice work tracking this down!
>
> I don't understand how it fixes the compiler specific aspect of the
> problem you found where gcc 4.5.2 on MinGW had the problem but gc... -
06:49 AM Bug #8299: Minor error in float parsing
- phasis68 (Heesob Park) wrote:
> I found the issue is due to the difference of the floating point precision.
> ...
It specify fraction as 53 bit (other IEEE 754 FPU's 52 bit with economized form), but its internal exponent is still 15 b... -
02:23 AM Bug #8299: Minor error in float parsing
- Nice work tracking this down!
I don't understand how it fixes the compiler specific aspect of the problem you found where gcc 4.5.2 on MinGW had the problem but gcc 4.7.2 on MinGW did not. Does gcc 4.7.2 on MinGW already automatical... -
04:02 PM Feature #8217 (Closed): OpenSSL::BN.new with integers
- This issue was solved with changeset r40461.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl_bn.c (ossl_bn_initialize): allow Fixnum and Big... -
03:43 PM Revision 93ed9f08 (git): ring.rb: specify multicast interface
- * lib/rinda/ring.rb (Rinda::RingServer#initialize): accept array
arguments of address to specify multicast interface.
* lib/rinda/ring.rb (Rinda::RingServer#make_socket): add optional
arguments for multicast interface.
* test/rinda... - 03:36 PM Revision 0cfa2e54 (git): * 2013-04-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:36 PM Revision b721c38f (git): ring.rb: add a socket to @sockets in make_socket()
- * lib/rinda/ring.rb (Rinda::RingServer#initialize): add a socket
to @sockets in make_socket() to close sockets on shutdown even if
make_socket() is called after initialize.
* lib/rinda/ring.rb (Rinda::RingServer#make_socket): ditto.... -
03:36 PM Revision e9c8509e (git): test_rinda.rb: Use KILL on Windows
- * test/rinda/test_rinda.rb (TupleSpaceProxyTest#test_take_bug_8215):
use KILL on Windows since TERM doen't work and ruby process remains
after test-all on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40469 b2dd03c8-39d... -
02:27 PM Bug #8103 (Closed): Fix for URI.decode_www_form ArgumentError
- This issue was solved with changeset r40460.
Trent, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/uri/common.rb (URI.decode_www_form): follow current URL St... -
02:17 PM Revision 5e9dc52b (git): * ext/curses/extconf.rb: Implement
- --with-curses-version={function,variable} configure option for
cross-compiling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:03 PM Bug #8312 (Closed): Fix weird performance of Hash#shift - This issue was solved with changeset r40457.
Yura, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* benchmark/bm_hash_shift.rb: add benchmark for Hash#shift
* has... -
01:18 PM Revision 6fd0dac2 (git): merge revision(s) 40455:
- * array.c: Improve rdoc for eql?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:49 PM Bug #8245 (Feedback): Segfault installing gems on Linux PowerPC with Ruby 2.0.0p0
- patch is welcome
-
12:44 PM Feature #8321: Ripper: I would like coordinates for keywords
- Could you illustrate?
-
08:10 AM Feature #8321 (Open): Ripper: I would like coordinates for keywords
- =begin
Ripper gives the (({[line, column]})) coordinates for identifiers, strings, and numbers.
I would like it if it appended those coordinates to most of the block keywords,
including (({:program})), (({:if})), (({:while})), (({:u... -
12:12 PM Feature #8295: Float や Rational から(可能であれば)正確な BigDecimal を生成する機能
- Gist に置いた概念コードでだいたいの考え方を示したつもりなんですが、
BigDecimal に「変換される」側のオブジェクト(たとえばRationalの
インスタンス)が、自分が正確に変換できるかどうか判断するという
設計にするのが綺麗かな、という風に考えました。 -
11:58 AM Feature #8324 (Rejected): Net::Telnet.new のオプション
- Net::Telnet.new はオプションのハッシュのキーとして String だけ受け付けるようになっていますが、 Symbol も受け付けるようにしてほしいです。
-
09:17 AM Revision a0fa43b0 (git): * ext/socket/extconf.rb: Don't use WIDE getaddrinfo by default.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:57 AM Revision 0ff2e1d5 (git): * ext/socket/extconf.rb: Remove obsolete options: ---with-ipv6-lib and
- --with-ipv6-libdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:45 AM Revision 79b80711 (git): * ext/socket/extconf.rb: Implement
- --{enable,disable}-close-fds-by-recvmsg-with-peek configure option
for cross-compiling.
Make --{enable,disable}-wide-getaddrinfo configure option
cross-compiling friendly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40464 ... -
07:57 AM Revision adb49240 (git): ext/openssl/ossl_bn.c: fix implicit conversion
- * ext/openssl/ossl_bn.c (ossl_bn_initialize): fix precision loss by
implicit conversion.
* ext/openssl/ossl_bn.c (ossl_bn_initialize): check Bignum overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40463 b2dd03c8-39d4-4d8f-... -
07:11 AM Revision 91fb5bc8 (git): io.c: conversion from bom encoding
- * io.c (rb_io_ext_int_to_encs, parse_mode_enc): bom-prefixed name is
not a real encoding name, just a fallback. so the proper conversion
should take place even if if the internal encoding is equal to the
bom-prefixed name, unless ... -
07:02 AM Revision 8b29525d (git): * ext/openssl/ossl_bn.c (ossl_bn_initialize): allow Fixnum and Bignum.
- [ruby-core:53986] [Feature #8217]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:27 AM Revision 4a50d447 (git): * lib/uri/common.rb (URI.decode_www_form): follow current URL Standard.
- It gets encoding argument to specify the character encoding.
It now allows loose percent encoded strings, but denies ;-separator.
[ruby-core:53475] [Bug #8103]
* lib/uri/common.rb (URI.decode_www_form): follow current URL Standard.
... -
05:25 AM Revision 5a3fab59 (git): * st.c (st_shift): remove unused variable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:06 AM Revision 10c3c560 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:03 AM Revision 5d7b5481 (git): * benchmark/bm_hash_shift.rb: add benchmark for Hash#shift
- * hash.c (rb_hash_shift): use st_shift if hash is not being iterated to
delete element without iterating the whole hash.
* hash.c (shift_i): remove function
* include/ruby/st.h (st_shift): add st_shift function
* st.c (st_shift): di... -
04:49 AM Bug #8314: Segmentation fault
- Thank you
-
03:03 AM Revision ed33fcae (git): * ext/socket/extconf.rb: Extract C programs as toplevel constants.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:19 AM Bug #8318 (Closed): Fix debug listing when called from the same file the debug module has been required from
- This issue was solved with changeset r40450.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
debug.rb: Fix debug listing
* lib/debug.rb (display_list): Fi...
04/24/2013
- 10:12 PM Revision 017f0ffe (git): * array.c: Improve rdoc for eql?
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:35 PM Bug #8320 (Third Party's Issue): Ruby interpreter crashes when running pcaprub
- Here's the code (taken from examples) that caused the crash:
require 'rubygems'
require 'pcaprub'
capture = PCAPRUB::Pcap.open_live('eth0', 65535, true, 0)
capture.setfilter('icmp')
capture.each do |packet|
puts capture.dump(... -
08:58 PM Feature #8237: Logical method chaining via inferred receiver - rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> So, how the "trying" approach would be implemented?
I overlooked the earlier null pattern discussion here. Apologies. I read Avdi's text months
ago, and I remember Avdi sayin, that null ... -
07:33 PM Feature #8237: Logical method chaining via inferred receiver
- phluid61 (Matthew Kerwin) wrote:
> I find myself drifting more to the -1 side for this feature.
> ...
Apologies for replying to myself, but I've just convinced myself against this whole proposal. In the above code I originally had the... -
05:53 PM Feature #8237: Logical method chaining via inferred receiver
- On 24/04/13 01:10, wardrop (Tom Wardrop) wrote:
>
> Issue #8237 has been updated by wardrop (Tom Wardrop).
>
>
> Law of Demeter is blurry in Ruby. In Ruby, almost everything is a
> method call. Technically, (({5 + 5 + 5})) i... -
12:10 PM Feature #8237: Logical method chaining via inferred receiver
- wardrop (Tom Wardrop) wrote:
> =begin
> ...
I don't like the "last object to receive a method" idea. For one you'd have to refine it to "the last object receive a method in the current scope", possibly with a "but not in the current e... -
09:10 AM Feature #8237: Logical method chaining via inferred receiver
- =begin
Law of Demeter is blurry in Ruby. In Ruby, almost everything is a method call. Technically, (({5 + 5 + 5})) is a violation of the Law of Demeter if it's to be taken literally. The fact that Ruby also uses plain-old methods as acce... -
08:21 PM Feature #8295: Float や Rational から(可能であれば)正確な BigDecimal を生成する機能
- metanest (Makoto Kishimoto) wrote:
> > IEEE754 の環境において BigDecimal(0.1, nil) で何が与えられることを期待していますか?
> ...
なるほど〜。理屈はわかりました。Rational とやり方は同じなので難しくありませんね。
やってみます。 -
08:16 PM Feature #8295 (Assigned): Float や Rational から(可能であれば)正確な BigDecimal を生成する機能
-
06:31 PM Feature #8295: Float や Rational から(可能であれば)正確な BigDecimal を生成する機能
- > IEEE754 の環境において BigDecimal(0.1, nil) で何が与えられることを期待していますか?
```
#=> #<BigDecimal:8011820c8,'0.1000000000 0000000555 1115123125 7827021181 5834045410 15625E0',63(72)>
```
を期待しているのですが、やはりちょっと無茶ですかねぇ。 -
06:24 PM Bug #8313: rubygem 2.0 can't communicate with remote sources http://rubygems.org/
- With wireshark I test and capture all traffic with the http://production.s3.rubygems.org server. The firewalls aren't the problem. All packets send/receive with success. And the last TCP/HTTP exchange send a result "HTTP/1.1 200 OK", siz...
-
04:11 AM Bug #8313: rubygem 2.0 can't communicate with remote sources http://rubygems.org/
- >$ sudo gem list --remote -V --backtrace
Password:
*** REMOTE GEMS ***
GET http://rubygems.org/latest_specs.4.8.gz
302 Moved Temporarily
GET http://production.s3.rubygems.org/latest_specs.4.8.gz
connection reset after 1 request... -
12:21 AM Bug #8313 (Third Party's Issue): rubygem 2.0 can't communicate with remote sources http://rubygems.org/
- I try to use Ruby 2.0 on my MAC OSX Mountain Lion with macports. The "sudo port install ruby2.0" and "sudo port select --set ruby ruby2.0" was success. But when I try to install gem package I have these errors:
>$ sudo gem list -r --deb... -
05:23 PM Revision 2667cb2d (git): configure.in: RUBY_RM_RECURSIVE
- * configure.in (RUBY_RM_RECURSIVE): this hack is needed by only
autoconf 2.69 or earlier on darwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:22 PM Revision 096d5273 (git): tracer.rb: File.readlines
- * lib/tracer.rb (get_line): simply read by File.readlines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:21 PM Revision 181a4ea8 (git): debug.rb: Fix debug listing
- * lib/debug.rb (script_lines): get source lines from SCRIPT_LINES__ or
read from the file.
* lib/debug.rb (display_list): use script_lines instead of recursion.
[Bug #8318]
* lib/debug.rb (line_at): use script_lines same as display_l... - 04:19 PM Revision 7dd8c1f2 (git): * 2013-04-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:19 PM Revision 9e97f6ca (git): debug.rb: Fix debug listing
- * lib/debug.rb (display_list): Fix debug listing when called from the
same file it has been required. patch by Dario Bertini <berdario AT
gmail.com> [Bug #8318] [fix GH-280]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40450 ... -
04:05 PM Bug #8299: Minor error in float parsing
- I found the issue is due to the difference of the floating point precision.
Here is a patch for this issue:
diff --git a/numeric.c b/numeric.c.new
index 97ba104..c548c0f 100644
--- a/numeric.c
+++ b/numeric.c.new... -
03:43 PM Revision 7cc4acd4 (git): merge revision(s) 40441:
- update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:42 PM Revision 917f13a9 (git): merge revision(s) 40440:
- update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:40 PM Revision 02d1ebe3 (git): merge revision(s) 40437:
- * numeric.c: Fix wiki link on Float imprecision in overview, patched
by Makoto Kishimoto [Bug #8304] [ruby-dev:47280]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:40 PM Revision 8a4fa092 (git): merge revision(s) 40435:
- Typo by @windwiny [Fixes GH-295]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:39 PM Revision 072ac9a2 (git): merge revision(s) 40434:
- * string.c: Document String#setbyte return value by @gjmurakami-10gen
[Fixes GH-294]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:38 PM Revision 1914720c (git): merge revision(s) 40431:
- * ext/socket/lib/socket.rb: Doc typos by @vipulnsward [Fixes GH-292]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:58 PM Bug #8316 (Assigned): Can't pass hash to first positional argument; hash interpreted as keyword arguments
-
07:52 AM Bug #8316: Can't pass hash to first positional argument; hash interpreted as keyword arguments
- TylerRick (Tyler Rick) wrote:
> I'm able to pass any other type of object to my first argument:
> ...
Additionally, calling foo({opt:1}) throws ArgumentError: wrong number of arguments (0 for 1)
This issue can be worked around by ca... -
07:44 AM Bug #8316: Can't pass hash to first positional argument; hash interpreted as keyword arguments
- =begin
http://jp.rubyist.net/magazine/?Ruby200SpecialEn-kwarg#f01 said:
Be careful when passing hashes to methods with both variable length argument lists and keyword arguments.
but in this example, the argument list is ((*not*))... -
07:41 AM Bug #8316 (Closed): Can't pass hash to first positional argument; hash interpreted as keyword arguments
- I'm able to pass any other type of object to my first argument:
def foo(hash, opt: true)
puts "hash: #{hash}, opt: #{opt.inspect}"
end
foo 'a' # => hash: a, opt: true
foo [{a:1}] # => hash: [{... -
02:57 PM Bug #8315: mkmf does not include include paths from pkg_config anymore
- ups i assiged it to the wrong nobu, can someone change that?
-
05:51 AM Bug #8315 (Closed): mkmf does not include include paths from pkg_config anymore
- #6504 does that, for cpp files `$CFLAGS` is not used anymore, so the problems are the include paths:
* there is no `$CXXFLAGS` global variable defined
* pkg_config does not add the includes paths to the correct `*FLAGS`
so my ge... -
02:08 PM Bug #8304 (Closed): follow RDP floats_imprecise URL changed (patch)
- This issue was solved with changeset r40437.
Makoto, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* numeric.c: Fix wiki link on Float imprecision in overview, pa... -
01:22 PM Revision 66ad210d (git): describe the reason to check mblen().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:52 PM Revision 4ddce7a6 (git): * configure.in: Check mblen().
- * eval_intern.h (CharNext): Don't use mblen() is not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:50 PM Revision 2265bdfa (git): update doc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:44 PM Bug #8318 (Closed): Fix debug listing when called from the same file the debug module has been required from
- =begin
From ((<GitHub#280|URL:https://github.com/ruby/ruby/pull/280>))
with this minimal ruby code
require 'debug'
puts
when trying to list the code, it'll fail like so:
(rdb:1) l
[-3, 6] in script.rb
No sourcefil... -
12:41 PM Revision 83c10e89 (git): update doc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:40 PM Feature #8317 (Closed): URI: no_proxy with whitespaces and leading dots.
- From [GitHub#285](https://github.com/ruby/ruby/pull/285)
The previous implementation wouldn't allow for white-spaces nor a leading dot
in the `no_proxy` list. The latter is described in the wget documentation as a valid case.
By b... -
08:37 AM Bug #8312: Fix weird performance of Hash#shift
- +1
-
12:21 AM Bug #8312: Fix weird performance of Hash#shift
- Other way to fix: add st_shift method, which shifts first element in one step.
Patch attached.
-
08:16 AM Bug #8314 (Closed): Segmentation fault - Duplicate of #8100. This will be fixed in the next patchlevel of 2.0.0
-
04:56 AM Bug #8314 (Closed): Segmentation fault
- Occasionally happens on Travis CI with 2.0.0p0
By occasionally i mean that same code sometimes works sometimes does not.
Full backtrace here - https://travis-ci.org/espresso/rear/jobs/6530839
Never happens on 1.9x
=====
... -
06:22 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
- I should mention that Exception#backtrace_locations is implemented in JRuby on master (1.7.4) in ruby 2.0 mode. I had not intended to add it before MRI, but it's there. We may remove it before release, but this would give folks a change ...
-
06:19 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- JRuby master (1.7.4) now has a new ext io/try_nonblock that implements just the IO portion of wycats's patch (I did not implement the StringIO and SSLSocket logic).
Numbers for each of the three modes (errnos with backtraces (slow due... -
05:25 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Trying to kick this one forward. I'm going to implement this in JRuby, perhaps via an ext (require 'io/try_nonblock' or something). It will give an opportunity to play with the API in-place using JRuby master builds or JRuby 1.7.4+.
W... -
05:22 AM Revision 498c8763 (git): parse.y: setup_fake_str
- * parse.y (setup_fake_str): extract function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:15 AM Revision 6edde68b (git): * io.c (rb_fd_fix_cloexec): use rb_update_max_fd().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:13 AM Bug #8208: Raise cached exceptions for nonblocking IO to avoid allocation/stack-copying costs
- I'm not sure this is really a CommonRuby feature. It would bend some existing behavior (relevant Errno raised by nonblock would no long have a valid trace, except in debug or verbose mode) but other than that behavior remains largely the...
-
05:08 AM Revision 704abdc3 (git): * numeric.c: Fix wiki link on Float imprecision in overview, patched
- by Makoto Kishimoto [Bug #8304] [ruby-dev:47280]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:04 AM Revision 531329a2 (git): parse.y: disallow $-
- * parse.y (parser_yylex): disallow $- without following identifier
character. [ruby-talk:406969]
* parse.y (is_special_global_name): mere $- is not a valid global
variable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@404... -
05:01 AM Revision c262fda9 (git): Typo by @windwiny [Fixes GH-295]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:55 AM Revision 6dc1ee17 (git): * string.c: Document String#setbyte return value by @gjmurakami-10gen
- [Fixes GH-294]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:51 AM Revision 6500760b (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:47 AM Revision 0b4214ad (git): * class.c: Example of Object#methods by @windwiny [Fixes GH-293]
- * ruby.c: Document return values of Kernel #sub, #gsub, and #chop
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:55 AM Revision 360843ef (git): * ext/socket/lib/socket.rb: Doc typos by @vipulnsward [Fixes GH-292]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:28 AM Revision 00ecebe6 (git): * array.c: Fix documentation for Array#index and #replace aliases
- Based on a patch by @phiggins [Fixes GH-282]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:27 AM Bug #8308: Segmentation fault
- Please find the crash report in this gist.
https://gist.github.com/jaredbeck/5446063#file-ruby_2013-04-22-104237_clover-crash
I have included the Gemfile and Gemfile.lock in the same gist, though I have updated my bundle once since y...