Activity
From 04/04/2012 to 04/10/2012
04/10/2012
-
10:41 PM Revision bab146b6 (git): * ext/digest/sha2/lib/sha2.rb (Digest#block_length): Fixed method name
- in documentation examples. Patch by naleski via
https://github.com/ruby/ruby/pull/115
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:33 PM Revision 6ba4bd58 (git): * pack.c (pack_pack): Warn when an invalid character is found in the
- format string when $VERBOSE is true. [ruby-trunk - Feature #5219]
* pack.c (pack_unpack): ditto
* test/ruby/test_pack.rb (class TestPack): Test for warnings on
invalid format characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby... -
10:31 PM Feature #6130: inspect using to_s is pain
- mame (Yusuke Endoh) wrote:
> I'm not sure if it is trivial to fix this issue.
> ...
I've been working on this and wondered what to do if there is no instance variable. Should it call (dynamically) #to_s? or always use Kernel#to_s which... -
10:25 PM Feature #6265: Remove 'useless' 'concatenation' syntax
- trans (Thomas Sawyer) wrote:
> The only time I have found it useful is with `\` for multi-line string, for things like entry in Ruby based-config file. E.g.
> ...
-
10:24 PM Feature #6265: Remove 'useless' 'concatenation' syntax
- The only time I have found it useful is with `\` for multi-line string, for things like entry in Ruby based-config file. E.g.
self.description = 'This is a multi-line ' \
'description of something.'
-
05:40 PM Feature #6265: Remove 'useless' 'concatenation' syntax
- I think it is nice to have a syntax to concatenate strings in compile time. I do not think that missing commas are hard to notice.
-
09:49 AM Feature #6265: Remove 'useless' 'concatenation' syntax
- ko1 (Koichi Sasada) wrote:
> I prefer current behavior because it is same as C and it is easy to
> ...
It is more important in C because it can help with macros (#define). Fortunately, we don't have macros in Ruby, so it's less impo... -
07:23 AM Feature #6265: Remove 'useless' 'concatenation' syntax
- (2012/04/10 7:01), Rodrigo Rosenfeld Rosas wrote:
> Hi Koichi, I created this issue because I did have this problem.
>
> I've hit some key by mistake in my Vim editor and it deleted the comma
> separating two string arguments a... -
07:23 AM Feature #6265: Remove 'useless' 'concatenation' syntax
- Em 09-04-2012 16:06, SASADA Koichi escreveu:
> (2012/04/09 14:19), Yukihiro Matsumoto wrote:
>> I agree with making it deprecated. It is up to you to make it warn or
>> not.
> I prefer current behavior because it is same as C a... -
04:23 AM Feature #6265: Remove 'useless' 'concatenation' syntax
- (2012/04/09 14:19), Yukihiro Matsumoto wrote:
> I agree with making it deprecated. It is up to you to make it warn or
> not.
I prefer current behavior because it is same as C and it is easy to
remember.
Why you remove i... -
01:23 AM Feature #6265: Remove 'useless' 'concatenation' syntax
- Em 09-04-2012 12:53, Nobuyoshi Nakada escreveu:
> Hi,
>
> (12/04/09 22:46), rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
>> Also, while on the subject, don't you think that Ruby specs should
>> state that ("some " + "string") wo... -
12:59 AM Feature #6265: Remove 'useless' 'concatenation' syntax
- Hi,
(12/04/09 22:46), rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> Also, while on the subject, don't you think that Ruby specs should
> state that ("some " + "string") would concatenate the strings in
> compiling time and tha... -
10:19 PM Feature #5008 (Rejected): Equal rights for Hash (like Array, String, Integer, Float)
- Submit new issue for new proposal, e.g. adding hash conversion method to Struct etc.
The reason I hesitate to add to_h to nil is because I am not fully satisfied with nil.to_a etc.
They are sometimes useful, but often hides bugs and ... -
10:07 PM Feature #5008 (Open): Equal rights for Hash (like Array, String, Integer, Float)
- Hi,
matz (Yukihiro Matsumoto) wrote:
> #to_hash protocol expects the object to be hash-compatible. Struct is not the case.
I'm reopening this issue, as the request is not for `#to_hash` but for `#to_h`.
I believe you are posit... -
06:48 PM Feature #5008 (Rejected): Equal rights for Hash (like Array, String, Integer, Float)
- #to_hash protocol expects the object to be hash-compatible. Struct is not the case.
Matz.
-
09:11 PM Revision 38ce9797 (git): * string.c (rb_str_tr): Documented use of \ to escape characters.
- [ruby-trunk - Bug #6161]
* string.c (rb_str_count): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:57 PM Bug #4443: odd evaluation order in a multiple assignment
- まあ、それはそれでいいかなと思います。
ちなみに ISO とかの標準的にはどうなってるんでしょう?
--
Yusuke Endoh <mame@tsg.ne.jp> -
06:35 PM Bug #4443: odd evaluation order in a multiple assignment
- Cから受け継いだ代入の評価順が「おかしい」のが原因である(本来は a → b と表記すべきか)ことを考えると、
むしろ foo[0] = bar が :bar, :fooと動作するようにすべきでしょうか。
いや、単なる思いつきなのですが。
ちなみに今調べたら mruby は foo[0] = bar が :bar, :fooと動作しますね。
Matz.
-
08:15 PM Revision d8164e57 (git): * lib/abbrev.rb: Clarified that Abbrev.abbrev returns a Hash instead
- of an Array. Patch by Andrei Bocan. [ruby-trunk - Bug #6107]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:34 PM Revision 1a7f3d7c (git): It is wrong to expect the last output is "exit".
- When lb.join is commented out as [ruby-dev:30653] says,
@keeper is living until the program truely die.
So after it outputs "exit.", it may output "#{i}: cont".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35289 b2dd03c8-39d4-4d8f-... -
07:07 PM Feature #5650 (Closed): Add rb_enc_raise() to allow C extensions to raise errors with messages with correct encoding
- This issue was solved with changeset r35283.
Nikolai, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* error.c (rb_enc_raise): new function to raise an exception w... -
06:53 PM Feature #3845 (Rejected): "in" infix operator
- This proposal is only for cosmetics.
I don't want a new operator that does not introduce something new.
Matz.
-
06:51 PM Feature #3963 (Rejected): Map class in standard library
- I reject the original idea of Map inclusion to the core. Map and Hash are too similar.
Matz.
-
06:48 PM Feature #4862 (Rejected): Struct#to_hash
- #to_hash protocol expects the object to be hash-compatible. Struct is not the case.
Matz.
-
06:47 PM Bug #4307 (Rejected): include fails after undef_method
- lsegal's comment is right. undef_methods defies the definition of upper classes, include mixed modules.
So, this is expected behavior.
Matz.
-
06:43 PM Feature #4574 (Rejected): Numeric#within
- I reject this propsal, since the name discussion diverged.
If someone really wants this feature (and believes #clamp is the right name), resubmit the feature request.
Matz.
-
06:27 PM Feature #4265 (Rejected): Provide a core method Kernel#ruby for invoking a new Ruby instance
- No good name candidate. Maybe done via MVM change.
Matz.
-
06:25 PM Feature #4086 (Rejected): Feature request: add String#contain? and {Enumerable,Array}#contain? methods
- The proposal is ambiguous. Only valid point I see is String#contain? might be more intuitive than String#include?, but I don't see the need for method addition.
Matz.
-
06:23 PM Feature #5605 (Closed): [PATCH] net/http: use IO.copy_stream for requests using body_stream
- This issue was solved with changeset r35281.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/http.rb (Net::HTTP#send_request_with_body_stream):
us... -
05:15 AM Feature #5605: [PATCH] net/http: use IO.copy_stream for requests using body_stream
- I prefer the original too.
- 06:06 PM Revision 85820f09 (git): * 2012-04-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:06 PM Revision cee4c0bf (git): * ext/ripper/lib/ripper/sexp.rb: fix spelling.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:19 PM Bug #953 (Feedback): 深い入れ子の配列の取り扱いで落ちる
- 随分前のチケットに対してすみません.
こちら,まだ再現するでしょうか.手元の環境では,
動いちゃったり,stack level too deep (SystemStackError)
だったりで,それなりにちゃんと動いているような気がしております. -
03:39 PM Feature #5716 (Closed): duplicated when clause is ignored -> Report which clause it is specifically.
- This issue was solved with changeset r35277.
markus, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* compile.c (iseq_set_sequence): show a hint if there are dupli... -
03:27 PM Feature #6260 (Feedback): Relationship of collating sequence to === and <=> for Strings not documented
- Hello,
Could you (or anyone) please make a draft in rdoc style?
Akr, could you please review the draft?
--
Yusuke Endoh <mame@tsg.ne.jp> -
03:21 PM Bug #6269 (Assigned): Process.spawn does not work with Tempfile
- Nobu has a patch. I know.
--
Yusuke Endoh <mame@tsg.ne.jp> -
03:18 PM Bug #6275: symbol not found: _environ on Mac OS X
- Ok please go ahead.
--
Yusuke Endoh <mame@tsg.ne.jp> -
03:00 PM Bug #6275: symbol not found: _environ on Mac OS X
- The patch seems fine, and hash.c has similar code already.
-
02:42 PM Bug #6275 (Assigned): symbol not found: _environ on Mac OS X
- Sorah, do you know anything about this?
--
yusuke Endoh <mame@tsg.ne.jp> -
07:50 AM Bug #6275 (Closed): symbol not found: _environ on Mac OS X
- 1. download latest ruby
2. download vim7.3 and built with ruby support
3. run vim73, and type: ruby puts "ruby" at ":"
4. Symbol not found: _environ
And my patch is in the attached file. -
02:41 PM Bug #6262 (Assigned): [readline] reverse-i-search with multibyte chars
-
02:38 PM Bug #6249 (Assigned): Process.exec doesn't restore the environment if it fails
-
02:36 PM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
- Correct.
Do you have any suggestion? -
01:02 AM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
- I'd like to clarify the fix here.
* ObjectSpace::WeakMap was added as a "proper" weak reference map
* WeakRef uses WeakMap instead of _id2ref, mapping the WeakRef instance weakly to the object
Correct? -
02:35 PM Feature #6244 (Assigned): Removal of some unused functions from /ext/json/fbuffer/fbuffer.h
-
02:33 PM Bug #6170 (Rejected): Compile error: "implicit declaration of function 'pthread_get_stackaddr_np'", "'pthread_get_stacksize_np'"
- Mac OS X prior to 10.5 has not been supported ever.
-
02:00 PM Bug #6170 (Assigned): Compile error: "implicit declaration of function 'pthread_get_stackaddr_np'", "'pthread_get_stacksize_np'"
- Sorah, do you know anything about this error?
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:32 PM Feature #6236: WEBrick::HTTPServer swallows Exception
- This is not a bug, is it? Moving to the feature tracker.
And there is no maintainer of WEBrick. I tentatively assign this to drbrain.
Drbrain, if you think the patch is good enough, and if there is no objection, I think you can com... -
02:07 PM Bug #6174 (Assigned): Fix collision of ConditionVariable#wait timeout and #signal (+ other cosmetic changes)
-
01:57 PM Feature #6154 (Assigned): Eliminate extending WaitReadable/Writable at runtime
- I think it is suitable to handle this issue in the feature tracker.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:47 PM Bug #6274 (Rejected): Float addition incorrect
- This is due to the fact that floats are approximate. The results follow the IEEE standard. Try it in Javascript, you'll get the same result.
-
05:10 AM Bug #6274 (Rejected): Float addition incorrect
- Adding decimals with repeating values appears to lead to an error in returned value.
For example if you inspect:
10 + 1.0 / 3.0
or
33 + 1.0 / 3.0
the values are not what they should be. You will need to test this in IRB. -
11:56 AM Revision a69e190e (git): More increae timeout.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:19 AM Revision 66fd3a4e (git): Wait the server until it stops.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:07 AM Revision f45fc7da (git): * error.c (rb_enc_raise): new function to raise an exception with
- the message in the given encoding. patched by now (Nikolai
Weibull) at [ruby-core:41160]. [Feature #5650]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:57 AM Feature #3575 (Closed): String#split is inconsistent with empty string and negative limit
- This issue was solved with changeset r35275.
Conrad, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c (rb_str_split_m): Documented behavior of split on t... -
09:48 AM Bug #6273 (Closed): confusing rdoc on Zlib
- This issue was solved with changeset r35273.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/zlib/zlib.c (rb_deflate_s_deflate): Fixed ruby example rep... -
09:23 AM Revision a59dd4b4 (git): Increae timeout.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:23 AM Revision b386b25a (git): * lib/net/http.rb (Net::HTTP#send_request_with_body_stream):
- use IO.copy_stream for requests using body_stream.
patched by Eric Wong. [ruby-core:40898] [Feature #5605]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:53 AM Revision 6a1f4186 (git): * thread_pthread.c: add prototype declarations for older Mac OS X.
- [ruby-core:43376][Bug #6170]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:26 AM Revision 99fd04b4 (git): rb_str_format: check overflow
- * sprintf.c (rb_str_format): check overflow at too long name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:19 AM Revision 9a269ab1 (git): start GC before GC.stress.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:05 AM Feature #6201: do_something then return :special_case (include "then" operator)
- Eregon (Benoit Daloze) wrote:
> Yes, and the "." match well ";" if you see what I mean in my return statement.
Sorry, I didn't :D I guess I'm too tired to get Yusuke's joke on #6265 and your statement :) Or maybe I'm just old enough :D -
03:45 AM Feature #6201: do_something then return :special_case (include "then" operator)
- rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> Just forget about this then. By the way, did you like the pun? ;)
Yes, and the "." match well ";" if you see what I mean in my return statement. -
02:18 AM Feature #6201: do_something then return :special_case (include "then" operator)
- You're right, Benoit, I completely forgot about the case statements.
Just forget about this then. By the way, did you like the pun? ;) -
02:12 AM Feature #6201: do_something then return :special_case (include "then" operator)
- rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> My understanding is that adding a new keyword to Ruby will break backward-compatibility and so it should be avoided at most.
> ...
"then" can also be used in case statements.
> So I thoug... -
01:32 AM Feature #6201: do_something then return :special_case (include "then" operator)
- Sorry if I'm being boring here. Just let me know and I'll never ask about this again.
My understanding is that adding a new keyword to Ruby will break backward-compatibility and so it should be avoided at most.
In the other side, '... -
06:39 AM Revision 6da0604d (git): * compile.c (iseq_set_sequence): show a hint if there are duplicated
- "when" clauses. [ruby-core:41502] [ruby-trunk - Feature #5716]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:41 AM Revision 2eb5d1de (git): Add timeout to TC_JSONGenerate#test_gc.
- http://fb.rubyci.org/~chkbuild/ruby-trunk/log/20120409T230301Z.log.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:07 AM Bug #6230: [WEBrick] WEBrick::HTTPResponse#body の IO オブジェクトの読み込みに read メソッドを使っているため必要以上にブロックされる
- znz さん、naruse さん、
なるほど、確かにそうするのが良いですね。
ありがとうございます。
-
12:57 AM Revision e5c418d9 (git): * string.c (rb_str_split_m): Documented behavior of split on the empty
- string. [ruby-trunk - Feature #3575]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:48 AM Revision 830ff445 (git): * 2012-04-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:48 AM Revision 718ab93d (git): * ext/zlib/zlib.c (rb_deflate_s_deflate): Fixed ruby example replacing
- NO_FLUSH with FINISH. [ruby-trunk - Bug #6273]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/09/2012
-
11:10 PM Feature #3399 (Closed): UNC path is not handled properly
- This issue was solved with changeset r35271.
jojelino, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* win32/win32.c (isUNCRoot, winnt_stat): support long UNC.
... -
10:52 PM Feature #6265: Remove 'useless' 'concatenation' syntax
- Hi Yusuke, I guessed it was a joke, but I couldn't get it at that time. Actually I had a hard time reading "CONCAT" in your last example. After that, I could read it too in the first ones, which is much harder :) I guess I have some prob...
-
10:46 PM Feature #6265: Remove 'useless' 'concatenation' syntax
- Thank you very much! I do also agree that we should warn users so that they have some time to change their "\" style to "+".
Also, while on the subject, don't you think that Ruby specs should state that ("some " + "string") would conc... -
02:23 PM Feature #6265: Remove 'useless' 'concatenation' syntax
- Hi,
In message "Re: [ruby-core:44207] [ruby-trunk - Feature #6265] Remove 'useless' 'concatenation' syntax"
on Mon, 9 Apr 2012 12:43:58 +0900, "mame (Yusuke Endoh)" <mame@tsg.ne.jp> writes:
> > I agree with removing string con... -
12:43 PM Feature #6265: Remove 'useless' 'concatenation' syntax
- Matz,
> I agree with removing string concatenation in 3.0.
Okay. Then, is the syntax deprecated in 2.0?
If so, it would be good to warn it.
```diff
diff --git a/parse.y b/parse.y
index 0393dc1..1726117 100644
--- a/parse.y
... -
08:04 AM Feature #6265: Remove 'useless' 'concatenation' syntax
- I agree with removing string concatenation in 3.0.
-
10:49 PM Bug #6246: 1.9.3-p125 intermittent segfault
- Dennis, looking at your ruby trace, it looks like you've run into something else
It appears that you are on osx, and there are some documented (try google) about ssl and ruby - seems that the ssl libs shipped with osx are not compatib... -
09:51 PM Feature #4168 (Closed): WeakRef is unsafe to use in Ruby 1.9
- I believe so.
If something goes wrong, please reopen this or file a new ticket. -
09:46 PM Bug #6271 (Assigned): textmode File#read on CRLF
-
12:52 AM Bug #6271: textmode File#read on CRLF
- I tested the code above in some environments.
(a) ruby 1.9.3p125 (2012-02-16 revision 34643) [i386-cygwin] : works fine
(b) ruby 2.0.0dev (2012-04-08 trunk 35259) [i386-cygwin] : works fine
(c) ruby 1.9.3p125 (2012-02-16) [i386-mingw3... -
07:05 PM Bug #6267 (Closed): Segmentation fault when exponentiating complex number
- tadf fixed it at r35265.
-
06:55 AM Bug #6267 (Open): Segmentation fault when exponentiating complex number
- the following still does
Complex(0,1)**2 -
02:53 AM Bug #6267 (Closed): Segmentation fault when exponentiating complex number
- This issue was solved with changeset r35262.
Pablo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* complex.c (nucomp_expt): the result of f_complex_new2 may be a... -
05:48 PM Bug #6235: Call to malloc not checked in thread_pthread.c
- I'll fix it.
-
05:48 PM Feature #5716: duplicated when clause is ignored -> Report which clause it is specifically.
- Hi Koichi Sasada!
I have not tested it yet (will do so at the end of this week),
but I believe it will help me.
Thank you! :) -
02:23 PM Feature #5716: duplicated when clause is ignored -> Report which clause it is specifically.
- Thank you for your comment.
I added a small hint on it because if duplicated object was too big, the
output should be ugly.
Does it help you?
# sample code
case nil
when 1
when 1, 1
when 1, 1, 1, 1
when 1, 1
... -
03:16 PM Bug #6211 (Closed): Ripper lexes :on_rbrace when it should find :on_embexpr_end
- This issue was solved with changeset r35269.
Steve, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (string_content, parser_yylex): count brace nesting to... -
02:14 PM Revision 04e3e2de (git): * test/ruby/test_file.rb (TestFile#test_long_unc): fix for the case cwd is UNC.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:10 PM Revision 3ed259ab (git): * win32/win32.c (isUNCRoot, winnt_stat): support long UNC.
- [ruby-core:30623][Feature #3399]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 PM Feature #5446: at_fork callback API
- "mame (Yusuke Endoh)" <mame@tsg.ne.jp> wrote:
> Do you still want this feature?
Yes, but lower priority.
I think default to IO#close_on_exec=true for 2.0.0 makes this
less important.
> If so, could you answer kosaki's... -
01:07 PM Feature #4234 (Closed): Hash#default_proc= Doesn't Accept nil Argument
- This issue was solved with changeset r35268.
Run Paint, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* hash.c (rb_hash_set_default_proc): Accept nil, patch by Ru... -
08:14 AM Feature #4234: Hash#default_proc= Doesn't Accept nil Argument
- Agreed. Marc, could you check this patch in (with document update)?
Matz.
-
12:53 PM Feature #5605: [PATCH] net/http: use IO.copy_stream for requests using body_stream
- "naruse (Yui NARUSE)" <naruse@airemix.jp> wrote:
> Issue #5605 has been updated by naruse (Yui NARUSE).
>
> The original patch looks better than [ruby-core:40903]'s.
> drbrain, do you have any idea?
>
> If no one object it... -
05:23 AM Feature #5605: [PATCH] net/http: use IO.copy_stream for requests using body_stream
- The original patch looks better than [ruby-core:40903]'s.
drbrain, do you have any idea?
If no one object it, I'll merge original one. -
11:00 AM Feature #5669: Random thread scheduling based on a seed
- I want to reject it.
reasons:
(1) It is difficult to implement it in portable way.
(2) I have a doubt about this idea which can solve threading bugs.
Any other comments? -
10:49 AM Revision 8c879633 (git): Wait until the callback is called with timeout.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:23 AM Feature #6270 (Rejected): add "??a" support for "not defined?(a) or a.nil?"
- As Eric pointed out, it's conflicting existing syntax. I don't reject the basic idea (though I am excited), so try again with new syntax if you really want this.
Matz.
-
01:33 AM Feature #6270: add "??a" support for "not defined?(a) or a.nil?"
- =begin
This syntax seems too similar to the ?a character string syntax
Currently ?a returns "a", so how would the parsing of this expression change:
true ??a:?b
Which currently returns "a", or:
question_method??a
Whic... -
08:12 AM Feature #5632: Attempt to open included class shades it instead.
- Quite reasonable. But the change would introduce serious incompatibility, so that we can not make this happen in 2.0.
Matz.
-
07:07 AM Bug #6273 (Closed): confusing rdoc on Zlib
- =begin
The rdoc at ext/zlib/zlib.c gives some examples of code to deflate/inflate a string. If you try to use them to actually deflate/inflate it gives an error inflating.
The deflate snippet is:
def deflate(string, level)
... -
06:16 AM Revision 41c19913 (git): * parse.y (string_content, parser_yylex): count brace nesting to
- dispatch embexpr_end. [ruby-core:43775][Bug #6211]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:07 AM Revision 6b18a8c2 (git): * hash.c (rb_hash_set_default_proc): Accept nil, patch by Run Paint
- [Feature #4234]
* test/ruby/test_hash.rb: test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:44 AM Bug #6247 (Assigned): Range not checked for day of year
-
12:38 AM Bug #6228 (Assigned): [mingw] Errno::EBADF in ruby/test_io.rb on ruby_1_9_3
04/08/2012
- 11:12 PM Revision 6cb7ac7e (git): * ext/date/date_strftime.c: gets the value with range() consistetly.
- * ext/date/date_strftime.c (range): now just replaces the given item.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:05 PM Revision 228a99a0 (git): Add test for r35265.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:34 PM Bug #6271 (Open): textmode File#read on CRLF
- I think that is not fixed yet.
io_unread() doesn't work properly in that case.
An idea is not using `read into buffer` in rb_io_eof() only in that case. Attached the patch. -
08:59 PM Bug #6271 (Closed): textmode File#read on CRLF
- Seems fixed already in the repository.
-
06:54 PM Bug #6271 (Closed): textmode File#read on CRLF
- I'm not sure this is bug,
when "File#read(X)" for textmode finishes inside of CRLF, stream keeps CR unread against my intuition.
The following code prints "\r" forever for CRLF.
File.open(__FILE__, "r") do |f|
until f.eof?
... -
10:27 PM Bug #6272 (Closed): Rinda sticks on some tests
- Rindaが例えば以下のようにすると刺さります。
while [ yes ];do;make test-all TESTS='-v -n test_ruby_talk_264062 rinda/test_rinda.rb' RUBYOPT=-w;done
しばらく追ってみたところ、Rinda は Monitor#synchronize をすることで同期を守っているのですが、
そのテストでは時刻を Rinda::MockClock で扱い、その中で Rind... - 10:00 PM Revision 08df8218 (git): * complex.c (nucomp_expt): [ruby-core:44170].
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:17 PM Revision e0ba59b7 (git): Additional experimental fix for r35261.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:46 PM Bug #6269: Process.spawn does not work with Tempfile
- I find it a bit inconsistent that a Tempfile object is not supported,
as, for example, this code works without a problem:
Process.spawn("date", :out => File.open(tmp.path, "w"))
That is, it is supported to pass an IO/File obje... -
04:34 AM Bug #6269: Process.spawn does not work with Tempfile
- ssuda (Sambasiva Suda) wrote:
> :in, :out and :err expects path or fd. Please try Process.spawn("date", :out => tmp.path) or Process.spawn("date", :out => tmp.to_i)
-
04:18 AM Bug #6269: Process.spawn does not work with Tempfile
- :in, :out and :err expects path. Please try Process.spawn("date", :out => tmp.path)
-
03:11 AM Bug #6269 (Closed): Process.spawn does not work with Tempfile
- The following code fails with an exception:
require 'tempfile'
tmp = Tempfile.new(File.basename($0))
Process.spawn("date", :out => tmp)
Exception: in `spawn': wrong exec redirect action (ArgumentError)
I would expe... -
06:45 PM Feature #6270: add "??a" support for "not defined?(a) or a.nil?"
- So `??foo' is basically a macro for `not defined?(foo) or foo.nil?'.
-
12:49 PM Feature #6270 (Rejected): add "??a" support for "not defined?(a) or a.nil?"
- It would work like this:
??foo #=> nil
foo = nil
??foo #=> nil
foo = 3
??foo #=> true
Not sure if this would be useful, just a suggestion. -
06:32 PM Feature #6183: Enumerator::Lazy performance issue
- (Yusuke Endoh) wrote:
> (1..10).lazy.select {|x| false }.map {|x| p x }.to_a
> ...
Fixed, thanks.
> But I guess implementing
> ...
Agree, those methods (especially #cycle) will be hard to implement in terms of procs chaining ... - 05:53 PM Revision a4d3990f (git): * 2012-04-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:53 PM Revision 71d11429 (git): * complex.c (nucomp_expt): the result of f_complex_new2 may be a fixnum
- with mathn. [ruby-core:44170] [Bug #6267]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:46 PM Revision fdc38828 (git): * ext/json/generator/generator.c (generate_json_bignum):
- add RB_GC_GUARD.
http://fb.rubyci.org/~chkbuild/ruby-trunk/log/20120407T210301Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:46 PM Revision 63467e52 (git): Decrease the default level of try_fdopen.
- Because it cause Bus Error:
http://u32.rubyci.org/~chkbuild/ruby-trunk/log/20120407T230202Z.log.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:54 PM Feature #6225: Hash#+
- Would it be better to use `Hash#<<` instead of `Hash#+`?
-
12:50 PM Bug #4378 (Closed): 1.9.2でClassオブジェクトのcloneの特異メソッドが消える
- r33292 から発生しなくなっているようですので閉じさせて頂きます。
-
07:02 AM Bug #6230: [WEBrick] WEBrick::HTTPResponse#body の IO オブジェクトの読み込みに read メソッドを使っているため必要以上にブロックされる
- r35253 でマージしました、ありがとうございました。
znz (Kazuhiro NISHIYAMA) wrote:
> nobuoka (yu nobuoka) wrote:
> ...
そうですね、そのようなテストを追加するのが良いかと思います。
rdoc も追加した方が良いかな。 -
06:50 AM Bug #6230 (Closed): [WEBrick] WEBrick::HTTPResponse#body の IO オブジェクトの読み込みに read メソッドを使っているため必要以上にブロックされる
- This issue was solved with changeset r35253.
yu, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#send_body_io):... -
06:26 AM Revision 8474c90e (git): Don't run tests which can't run with editline.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:52 AM Bug #6246: 1.9.3-p125 intermittent segfault
- I have a similar problem when creating a new rails (3.2.3) app. It segfaults on the bundle install step. I think this is related, so I won't create a new bugreport.
Ruby -v: ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11....
04/07/2012
-
11:41 PM Revision 7b186338 (git): * lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler): get keys
- and fetch values from it to prevent @timeout_info's error
"can't add a new key into hash during iteration".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:41 PM Revision 9ec849ee (git): * Remove unused variables.
- * use Thread.pass instead of true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:23 PM Bug #6131: Ctrl-C handler do not work from exec process (Windows)
- Hi Luis,
> Hiroshi: will be good do this in two commits:
>
> - First commit that reverts the usage of CREATE_NEW_PROCESS_GROUP, so can be backported to ruby_1_9_3 branch
> - Implement new_pgroup option for spawn.
>
I'v... -
11:10 PM Bug #6131 (Closed): Ctrl-C handler do not work from exec process (Windows) - This issue was solved with changeset r35249.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/ruby/test_thread.rb
(TestThreadGroup#test_thread_timer_a... -
10:37 PM Bug #6230: [WEBrick] WEBrick::HTTPResponse#body の IO オブジェクトの読み込みに read メソッドを使っているため必要以上にブロックされる
- nobuoka (yu nobuoka) wrote:
> (現在の実装では大丈夫そうですが、仕様に明記されていないことに期待していいのかどうか。。)
そういう場合はその期待が変わったときに気づいて対処出来るように、
期待している挙動のテストを追加しておくと良いのではないでしょうか。 -
09:45 PM Bug #6230: [WEBrick] WEBrick::HTTPResponse#body の IO オブジェクトの読み込みに read メソッドを使っているため必要以上にブロックされる
- 指摘ありがとうございます。 readpartial は長さ 1 以上の String オブジェクトを返す、という仕様になっているということを確認したので、空文字列かどうかで分岐する部分は削除しました。 また、毎回 buf を生成するのは非効率的だと思ったので、buf をループ内で再利用するようにしました。
また、test/webrick/test_httpserver.rb には元々 chunked = true の状態でのテストが無かったので、test_respon... -
09:54 PM Revision 0e19adc8 (git): merge revision(s) 35255:
- * io.c (io_unread): cast as long the value for extra_max.
[ruby-core:44137] [Bug #6257]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:53 PM Revision 2f6ff54e (git): * io.c (io_unread): cast as long the value for extra_max.
- [ruby-core:44137] [Bug #6257]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:50 PM Revision 0304254b (git): * 2012-04-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:50 PM Revision 56206ab8 (git): * lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#send_body_io):
- use readpartial to get data even if the response is streaming data and
each data is smaller than @buffer_size.
patched by yu nobuoka. [ruby-dev:45471] [Bug #6230]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35253 b2dd03c8-39d4... - 09:31 PM Revision 45a500e5 (git): * 2012-04-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:31 PM Revision a9649469 (git): merge revision(s) 35245,35248:
- * ext/psych/lib/psych.rb: bumping up psych version to match release.
* ext/psych/psych.gemspec: ditto
* ext/psych/parser.c: fall back to any encoding if the external
encoding is wrong. [ruby-core:44163]
* test/psych/t... -
02:10 PM Revision 42109a02 (git): * include/ruby/win32.h (rb_w32_aspawn_flags): add the declaration of
- new function.
* process.c (enum): add EXEC_OPTION_PGROUP and move the position
above for the usage in proc_spawn_n().
* process.c (proc_spawn_n): add an argument to pass new option
`new_pgroup`. The option specifies CREATE_NEW_PROC... -
02:10 PM Revision fc83ebb0 (git): * test/ruby/test_thread.rb
- (TestThreadGroup#test_thread_timer_and_interrupt): skip on Windows.
Process.kill cannot kill a subprocess if CREATE_NEW_PROCESS_GROUP
flag is not specified in a call to CreateProcessW().
* win32/win32.c (CreateChild): revert the usa... -
11:14 AM Feature #6265: Remove 'useless' 'concatenation' syntax
- Yusuke, am I supposed to understand what you meant with the code in your last comment? If so, I didn't get it...
Nikolai, good point, I haven't thought about this before and I wasn't wondering :)
But do you really think that this c... -
05:29 AM Feature #6265: Remove 'useless' 'concatenation' syntax
- On Fri, Apr 6, 2012 at 16:52, marcandre (Marc-Andre Lafortune)
<ruby-core@marc-andre.ca> wrote:
>> > What is this ('concatenation' 'syntax') useful for?
>> raise ArgumentError,
>> 'they are useful for long strings that are ... -
01:47 AM Feature #6265: Remove 'useless' 'concatenation' syntax
- I don't think the current code in mkmf.rb is good.
I just meant that the syntax is actually used and thus we cannot remove it from 2.0.
I'm not against this proposal in the future.
```
$ cat concat_quine.rb
eval$s="s='eval$s='+$s.... -
12:03 AM Feature #6265: Remove 'useless' 'concatenation' syntax
- > I found an actual example in lib/mkmf.rb:
> ...
Wouldn't this read better this way?
hdr = [%Q{#include "ruby.h"\n}] -
12:00 AM Feature #6265 (Assigned): Remove 'useless' 'concatenation' syntax
- msg = 'put "\n" here -> ' "\n"
I found an actual example in lib/mkmf.rb:
hdr = ['#include "ruby.h"' "\n"]
Anyway, 2.0 should remain all existing features unless there is a good reason.
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:01 AM Feature #6256: Slightly improve ruby_qsort performance
- Updated patch - I forgot that chklim may be set to 0,
so I separated chklim and cutoff. -
10:35 AM Feature #6256: Slightly improve ruby_qsort performance
- I could improve the Insertion Sort a bit by using memcpy/memmove.
It runs a bit faster even with the "worst case detection" of
Quicksort turned on, things look a little brighter now:
$ ruby driver.rb -p bm_sort -r 10
----------... -
07:36 AM Feature #6256: Slightly improve ruby_qsort performance
- I added a patch, together with benchmarks.
Here's the results on my machine without the optimization:
$ ruby driver.rb -e ruby -p bm_sort -r 10
-----------------------------------------------------------
benchmark results:
name... -
10:29 AM Bug #6266: encoding related exception with recent integrated psych - On Sat, Apr 07, 2012 at 06:31:25AM +0900, jonforums (Jon Forums) wrote:
>
> Issue #6266 has been updated by jonforums (Jon Forums).
>
>
> On Arch (3.2.14-1-ARCH) the sample also exceptions when I change my locale to en_US.iso885... -
06:31 AM Bug #6266: encoding related exception with recent integrated psych
- On Arch (3.2.14-1-ARCH) the sample also exceptions when I change my locale to en_US.iso88591 from en_US.utf8.
But on trunk it doesn't matter anymore :)
$ ruby -v yaml_test.rb
ruby 2.0.0dev (2012-04-07 trunk 35247) [i686-linux]... -
01:10 AM Bug #6266 (Closed): encoding related exception with recent integrated psych
- Newer versions of Psych integrated into both ruby_1_9_3 and trunk create exceptions if the yaml file isn't perceived to be correctly encoded.
While I discovered this in my code that uses the 'logging' gem on Win7 32bit, this test snip... -
08:15 AM Bug #6267 (Closed): Segmentation fault when exponentiating complex number
- A segfault is raised when running the following script, with any exponent greater or equal to 5:
require "mathn/complex"
Complex(0,1)**5
It only seems to happen when exponentiating pure imaginary numbers and if 'mathn/coplex' is... -
06:42 AM Feature #6216: SystemStackError backtraces should not be reduced to one line
- If it wasn't clear from the above example, Ruby 1.9.3 returns a backtrace pointing to a line of code in dm-core which has nothing to do with the bug. The actual bug is revealed in the full JRuby backtrace where one can see dm-core callin...
-
02:18 AM Bug #6264: Struct.members rdoc
- @duerst Apparently, a lot more changes were included in your commit. Is it intended?
-
01:29 AM Revision 5638bbda (git): * ext/psych/lib/psych.rb: bumping up psych version to match release.
- * ext/psych/psych.gemspec: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/06/2012
-
11:52 PM Feature #6265: Remove 'useless' 'concatenation' syntax
- Hi,
now (Nikolai Weibull) wrote:
> On Fri, Apr 6, 2012 at 14:53, rosenfeld (Rodrigo Rosenfeld Rosas)
> ...
In this example, replacing the "\" with a "+" will give basically the same result without using the concatenation rule.
Ar... -
11:23 PM Feature #6265: Remove 'useless' 'concatenation' syntax
- On Fri, Apr 6, 2012 at 14:53, rosenfeld (Rodrigo Rosenfeld Rosas)
<rr.rosas@gmail.com> wrote:
> What is this ('concatenation' 'syntax') useful for?
raise ArgumentError,
'they are useful for long strings that are so long ... -
09:53 PM Feature #6265 (Assigned): Remove 'useless' 'concatenation' syntax
- What is wrong with this code:
some_method 'argument1', 'argument2' 'argument3'
Yes, the missing colon, but it is not always easy to notice that...
What is this ('concatenation' 'syntax') useful for?
Why writing ('some ' 'conc... -
11:09 PM Bug #6131: Ctrl-C handler do not work from exec process (Windows)
- Hiroshi: will be good do this in two commits:
- First commit that reverts the usage of CREATE_NEW_PROCESS_GROUP, so can be backported to ruby_1_9_3 branch
- Implement new_pgroup option for spawn.
Thank you. -
07:23 PM Bug #6131: Ctrl-C handler do not work from exec process (Windows)
- Hello,
In message "[ruby-core:44154] [ruby-trunk - Bug #6131] Ctrl-C handler do not work from exec process (Windows)"
on Apr.06,2012 18:55:27, <h.shirosaki@gmail.com> wrote:
> Assigned to usa-san for comments.
Oops, so... -
06:55 PM Bug #6131: Ctrl-C handler do not work from exec process (Windows)
- Assigned to usa-san for comments.
-
06:17 PM Revision 8354d2f7 (git): * enc/unicode/name2ctype.h, tool/transcode-tblgen.rb: revert
- unlogged changes which committed by accident probably.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:09 PM Revision e02ad732 (git): * 2012-04-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:09 PM Revision 85e4c896 (git): * ext/psych/parser.c: fall back to any encoding if the external
- encoding is wrong. [ruby-core:44163]
* test/psych/test_encoding.rb: fix test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:23 PM Bug #6264 (Closed): Struct.members rdoc
- This issue was solved with changeset r35244.
Adam, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
struct.c (documentation for rb_struct_members_m):
fix 'array of... -
07:22 AM Bug #6264 (Closed): Struct.members rdoc
- It reads:
Returns an array of strings representing the names of the instance variables.
It should read:
Returns an array of SYMBOLS representing the names of the instance variables.
-
08:53 AM Feature #6261 (Rejected): Enumerable#emap and Enumerable#egrep
- use Enumerable#lazy.
Matz.
-
06:28 AM Feature #6261: Enumerable#emap and Enumerable#egrep
- Hello,
This should already be possible with the recent Enumerator::Lazy (in trunk), just drop a `.lazy` after the File.foreach and use usual select,map,...:
lines = File.foreach('a_very_large_file').lazy
.select {|line... -
07:23 AM Revision 61115992 (git): struct.c (documentation for rb_struct_members_m):
- fix 'array of strings' to 'array of symbols'
[ruby-core:44152][Bug #6264]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:03 AM Feature #6263 (Feedback): Simple access to toplevel object (main)
- It's simple, because no one wanted it ever.
Why do you want?
> Would be nice if there were a simple way, maybe special global `$main` would be good choice.
Why don't you set it? -
05:25 AM Feature #6263 (Feedback): Simple access to toplevel object (main)
- =begin
Maybe I miss something, but why is there no way to get toplevel object easily. Only way seems
to be:
main = eval('self', TOPLEVEL_BINDING)
Would be nice if there were a simple way, maybe special global `(({$main}))` w... - 05:28 AM Revision 529827d7 (git): * 2012-04-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:28 AM Revision 7b8bdf57 (git): * Makefile.in ($(LIBRUBY_A)): fix typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:33 AM Bug #6262 (Closed): [readline] reverse-i-search with multibyte chars
- =begin
以下のように、C-r にマルチバイト文字を渡すとバイトの切れ端が返ってきます。
IM を介すので、うまく動いてもインクリメンタルサーチにはならないのですが、
履歴が検索できるようになるとありがたいです。
# encoding: UTF-8
require "readline"
RUBY_DESCRIPTION # => "ruby 2.0.0dev (2012-04-05 trunk 35241) [x86_64-linux]... -
02:25 AM Feature #4766: Range#bsearch
- Hope this can be committed at some point...
04/05/2012
-
10:11 PM Feature #6261 (Rejected): Enumerable#emap and Enumerable#egrep
- I was inspired by Ruby 1.9.x`s Enumerable#chunk and #slice_before, which both take a block and return an enumerator. I wish to introduce two new method into the Enumerable core, which can be implemented in Ruby like this:
module E... -
08:59 PM Feature #6256 (Assigned): Slightly improve ruby_qsort performance
- Sound good. I agree, too.
Please create a patch and show benchmark.
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:04 PM Feature #6256: Slightly improve ruby_qsort performance
- I haven't looked at the sources, but this exact optimization is very well known in the literature, and I'm showing it to my students in a lecture on algorithms and data structures every year (see e.g. http://www.sw.it.aoyama.ac.jp/2011/D...
-
10:02 AM Feature #6256 (Feedback): Slightly improve ruby_qsort performance
- Hi all,
I think I may have found a way to slightly improve the performance of ruby_qsort.
Quicksort running time is slightly decreased if the recursion depth (or in our
case, rather iteration depth) is bounded by leaving sub probl... -
05:57 PM Bug #6213: Builder::XmlMarkup drops html_safe
- Hi nobu,
I wrote to jim
I want to make this builder concept
into the core of ruby.
I just love this idea,
of an object of being in full controll
of all and any messages send to it.
That's a proxy
-
05:23 PM Feature #6183: Enumerator::Lazy performance issue
- Hi,
(12/04/04 20:59), Yusuke Endoh wrote:
> I glanced your patch. It will degrade functional modularity
> in enumerator.c. Currently, it not so big problem because
> it only implements #map and #select. But I guess impleme... -
01:43 PM Bug #6258: String#succ has suprising behavior for "\u1036" (MYANMAR SIGN ANUSVARA), producing "\u1000" instead of "\u1037"
- "\u1036".succ is "\u1000\u1000", not a single character.
% ruby -ve 'puts "\u1036".succ.dump'
ruby 2.0.0dev (2012-03-16 trunk 35049) [x86_64-linux]
"\u{1000}\u{1000}"
It is similar that "z".succ is "aa".
It is because U+... -
01:10 PM Bug #6258 (Assigned): String#succ has suprising behavior for "\u1036" (MYANMAR SIGN ANUSVARA), producing "\u1000" instead of "\u1037"
- Sounds like a bug to me, but no idea what's going on. Tanaka-san, what do you think?
-
10:59 AM Bug #6258 (Closed): String#succ has suprising behavior for "\u1036" (MYANMAR SIGN ANUSVARA), producing "\u1000" instead of "\u1037"
- "\u1036".succ.ord.to_s(16) # => "1000"
Discovered when investigating StackOverflow question http://stackoverflow.com/questions/10020230/anomalous-behavior-while-comparing-a-unicode-character-to-a-unicode-character-range
Range#=== u... -
01:26 PM Bug #6255 (Closed): RUBY_LIB_PREFIX in missing/alloca.c
- This issue was solved with changeset r35240.
Wataru, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* missing/alloca.c (xmalloc, xfree): use ruby version, not
de... -
11:38 AM Feature #6260 (Rejected): Relationship of collating sequence to === and <=> for Strings not documented
- Collating sequences are mentioned in the documentation for the class String only in reference to the "succ" method, and only in passing. It appears that Ruby also pays attention to collating sequences in range membership testing, possibl...
-
07:47 AM Feature #4264: General type coercion protocol for Ruby
- And I'd like to add some question.
== Why do you want to remove the monkey-patching?
If you are worried about method name conflict, this proposal does not
solve the problem because the class names still collide.
If you dislike ... -
07:45 AM Feature #4264: General type coercion protocol for Ruby
- =begin
Hello, headius
Thank you. Is your problem about just monkey-patching?
Please check the following summary.
== Problem
Many monkey-patching like below is used in some libraries, such as xml and json:
class Integer
... -
03:53 AM Feature #4264: General type coercion protocol for Ruby - On Thu, Apr 05, 2012 at 12:28:38AM +0900, headius (Charles Nutter) wrote:
>
> Issue #4264 has been updated by headius (Charles Nutter).
>
>
> Yusuke: Individual classes can (and often should) still define their own to_a, etc. Th... -
12:28 AM Feature #4264: General type coercion protocol for Ruby
- Yusuke: Individual classes can (and often should) still define their own to_a, etc. There's no reason to move the current logic into a slower case/when statement.
The convert_to(cls) method would just be a standard way to allow new li... - 04:26 AM Revision 1ba77338 (git): * 2012-04-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:26 AM Revision 789f9c22 (git): * missing/alloca.c (xmalloc, xfree): use ruby version, not
- depending on RUBY_LIB_PREFIX. [ruby-dev:45492][Bug #6255]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:36 AM Bug #6246: 1.9.3-p125 intermittent segfault
- attached is a more verbose valgrind
$ valgrind --num-callers=50 --error-limit=no --partial-loads-ok=yes --undef-value-errors=no -v --leak-check=full rake RAILS_ENV=new_staging assets:precompile -
12:08 AM Bug #6246: 1.9.3-p125 intermittent segfault
- Aaron, I've updated this gist with a run that uses a more direct command line - which I think was hiding some of the valgrind output
valgrind --num-callers=50 --error-limit=no --partial-loads-ok=yes --undef-value-errors=no rake RAILS_...
04/04/2012
-
10:45 PM Bug #6246: 1.9.3-p125 intermittent segfault
- I'm in the north american eastern time zone
I can meet today if you can
11am eastern is doable for me - just over an hour away
In the meantime I'll start trying ruby-head
much thanks Aaron -
11:53 AM Bug #6246: 1.9.3-p125 intermittent segfault - On Wed, Apr 04, 2012 at 10:18:26AM +0900, jshow (Jodi Showers) wrote:
>
> Issue #6246 has been updated by jshow (Jodi Showers).
>
>
> Aaron,
>
> attached is the full output from valgrind using your options - https://gist.git... -
11:53 AM Bug #6246: 1.9.3-p125 intermittent segfault - On Wed, Apr 04, 2012 at 10:18:26AM +0900, jshow (Jodi Showers) wrote:
>
> Issue #6246 has been updated by jshow (Jodi Showers).
>
>
> Aaron,
>
> attached is the full output from valgrind using your options - https://gist.git... -
10:18 AM Bug #6246: 1.9.3-p125 intermittent segfault
- Aaron,
attached is the full output from valgrind using your options - https://gist.github.com/2296847
I'm presently looking for the edge branch - not seeing it. Do you mean head?
thanks -
02:23 AM Bug #6246: 1.9.3-p125 intermittent segfault - On Tue, Apr 03, 2012 at 11:15:14AM +0900, jshow (Jodi Showers) wrote:
>
> Issue #6246 has been updated by jshow (Jodi Showers).
>
>
> Aaron, I ran a valgrind as follows:
>
> valgrind /home/deploy/.rvm/rubies/ruby-1.9.3-p125/... -
09:54 PM Bug #6255 (Closed): RUBY_LIB_PREFIX in missing/alloca.c
- 木村といいます。
missing/alloca.cに
61 #ifdef RUBY_LIB_PREFIX
62 #define xmalloc ruby_xmalloc
63 #define xfree ruby_xfree
64 #endif
というコードがありますが、trunkではRUBY_LIB_PREFIXが
ruby/config.hからverconf.h (version.c)に移されていて、
これはmissing... -
09:29 PM Feature #6245 (Rejected): "is_integer?" method declaration in prelude
- Sorry, but let's not open a ticket about goruby, but just send a mail.
I'd like to focus on redmine ticket that really needs our action.
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:23 PM Feature #6183: Enumerator::Lazy performance issue
- Hello,
2012/4/4 gregolsen (Innokenty Mikhailov) <anotheroneman@yahoo.com>:
> Here's the new patch attached - problem, mentioned by Yusuke Endoh, fixed - now I'm creating a new copy of enumerator on each lazy method call.
Oka... -
07:41 PM Feature #6183: Enumerator::Lazy performance issue
- Here's the new patch attached - problem, mentioned by Yusuke Endoh, fixed - now I'm creating a new copy of enumerator on each lazy method call.
Also I fixed an error for big arrays - forgot to gc_mark procs array.
Thomas, that's the ... -
09:14 PM Feature #6253 (Assigned): Implement a way to pass keyword options to curried procs
- Hello,
2012/4/4 jballanc (Joshua Ballanco) <jballanc@gmail.com>:
> The example below demonstrates a Rack-like system where a curried proc is passed to a helper, then after partial application of the arguments, the returned curried pr... -
02:27 PM Feature #6253 (Rejected): Implement a way to pass keyword options to curried procs
- =begin
(See original discussion in issue #4610)
With the introduction of keyword arguments in Ruby 2.0, it would be useful to have a way to set a keyword-based option on a curried proc. The example below demonstrates a Rack-like syst... -
06:23 PM Bug #6249: Process.exec doesn't restore the environment if it fails
- 2012/4/3 john_firebaugh (John Firebaugh) <john.firebaugh@gmail.com>:
>>> ENV["foo"]
> => nil
>>> Process.exec({"foo" => "bar"}, "nonexistent")
> Errno::ENOENT: No such file or directory - nonexistent
> from (irb):2:i... -
12:49 PM Revision 3f443e61 (git): Use mount_proc to avoid the delay of writing data to files.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:40 AM Feature #6243 (Rejected): Make ERB Ruby's Super Power
- Closing since April 1st has completed. :-)
-
11:11 AM Feature #5779: Ruby-FTP - allow easy way to find out whether a remote target is a file or a directory
- RFC 3659 extends ftp with MLST, the command to show the detail of directories,
but it is not widely implemented yet. -
09:29 AM Revision 79086bb4 (git): merge revision(s) 34897,34904,34906,34931:
- Old linux (at least CentOS 5.6, kernel 2.6.18) wakes up 4.99 sec.
* test/ruby/test_sleep.rb (TestSleep#test_sleep_5sec): syntax error.
* test/ruby/test_sleep.rb (TestSleep#test_sleep_5sec): call uname
only on l... -
09:15 AM Feature #2080: Proc#to_source, Method#to_source
- Still looking forward to this feature request :)
-
07:58 AM Revision 223e0212 (git): Sleep 0.5sec to wait the file is written on server.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:10 AM Revision 7865005f (git): * lib/ftp/ftp.rb (Net::FTP#close): restore original read_timeout.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:01 AM Revision f0cd9107 (git): * variable.c (mark_global_entry): remove unused variable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:21 AM Revision f9b8e21f (git): fix typo in r35183
- * variable.c (mark_global_entry): fix typo in r35183.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:33 AM Revision 5374e6b2 (git): * version.h (RUBY_PATCHLEVEL): bump.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:32 AM Revision 29f5f952 (git): * 2012-04-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:32 AM Revision a5064ff1 (git): * ext/-test-/add_suffix/bug.c: make all functions in util.c static
- to get rid of multiple definitions. reported at
https://trac.macports.org/ticket/33814
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:33 AM Revision 096ffa2a (git): * lib/ftp/ftp.rb (Net::FTP#close): ignore exceptions from shutdown and
- read on closing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:56 AM Bug #6252 (Rejected): OpenSSL - ECDSA signature reliability
- =begin
The snippet code attached shows ECDSA signature test with secp160r1 curve.
Given:
* ((|msg|)) a message with length <= 20,
* ((|sig|)) the ECDSA signature of ((|msg|))
* ((|tamp|)), a string,
Then ((|sig|)) can be succes...