Project

General

Profile

Activity

From 04/12/2013 to 04/18/2013

04/18/2013

11:47 PM Revision 1f12e407 (git): * lib/cgi/cookie.rb: refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Takeyuki FUJIOKA
11:38 PM Revision 1f2c3b8a (git): * lib/cgi/cookie.rb(CGI::Cookie.parse): add require
for standalone require 'cgi/cookie' .[Bug #7997]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40362 b2dd03c8-39...
Takeyuki FUJIOKA
10:45 PM Revision 053e85e2 (git): * test/openssl/test_cipher.rb: Correct a typo
by jgls <[email protected]>
https://github.com/ruby/ruby/pull/291 fix GH-291
git-svn-id: svn+ssh://ci.ruby-lang....
naruse (Yui NARUSE)
09:13 PM Feature #6216: SystemStackError backtraces should not be reduced to one line
It has been pointed out to me that the patched ruby will likely crash when the patched code run on a sigaltstack.
...
drkaes (Stefan Kaes)
08:48 PM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
I can add "rb_cv_have_signbit=no" to workaround the make error for now. mattconnolly (Matt Connolly)
08:35 PM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
Actually, I just found this page: http://docs.oracle.com/cd/E19082-01/819-0690/chapter4-29405/index.html
It appear...
mattconnolly (Matt Connolly)
08:30 PM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
Hello naruse and nobu, thank you for looking into this issue.
I have recorded a log of attempting to build ruby-2....
mattconnolly (Matt Connolly)
06:04 PM Revision 46d19a3a (git): Fix .travis.yml for current known Linux failure
And revert branches and notification change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40360 b2dd03c8-39d4-4...
naruse (Yui NARUSE)
04:33 PM Bug #8286 (Closed): Can't decode non-MIME Base64
nobu (Nobuyoshi Nakada)
01:23 PM Bug #8286: Can't decode non-MIME Base64
2013/4/18 adacosta (Alan Da Costa) <[email protected]>

>
> Issue #8286 has been updated by adacosta (Alan...
naruse (Yui NARUSE)
10:02 AM Bug #8286: Can't decode non-MIME Base64
duerst (Martin Dürst) wrote:
> On 2013/04/18 8:20, naruse (Yui NARUSE) wrote:
> >
> > Issue #8286 has been updat...
naruse (Yui NARUSE)
09:53 AM Bug #8286: Can't decode non-MIME Base64
On 2013/04/18 8:20, naruse (Yui NARUSE) wrote:
>
> Issue #8286 has been updated by naruse (Yui NARUSE).
>
> ...
duerst (Martin Dürst)
09:47 AM Bug #8286: Can't decode non-MIME Base64
My confusion on this issue might have stemmed from a client sending Base64 without padding, and decode64 not managing... adacosta (Alan Da Costa)
09:29 AM Bug #8286: Can't decode non-MIME Base64
Hi Naruse, thank you for looking at my issue and sorry for wasting your time. I should have spent more time verifying... adacosta (Alan Da Costa)
08:20 AM Bug #8286 (Rejected): Can't decode non-MIME Base64
Your Base64Compatible.encode64 is buggy.
Base64Compatibleencode64("Lorem ipsum dolor sit amet, consectetur adipiscin...
naruse (Yui NARUSE)
08:14 AM Bug #8286: Can't decode non-MIME Base64
Could you show self-contained reproducible example? naruse (Yui NARUSE)
07:49 AM Bug #8286 (Closed): Can't decode non-MIME Base64
=begin
In https://github.com/ruby/ruby/blob/trunk/lib/base64.rb#L42 , RFC 2045 is mentioned for encode64/decode64 su...
adacosta (Alan Da Costa)
03:29 PM Revision 38dccee1 (git): * 2013-04-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:29 PM Revision df9e72b2 (git): test_rinda.rb: use spawn
* test/rinda/test_rinda.rb (TupleSpaceProxyTest#test_take_bug_8215):
use more portable spawn instead of fork.
git-...
nobu (Nobuyoshi Nakada)
02:57 PM Feature #8110: Regex methods not changing global variables
headius (Charles Nutter) wrote:
> naruse (Yui NARUSE) wrote:
> > You may misunderstand, unlike Perl, Ruby's setting...
naruse (Yui NARUSE)
01:20 AM Feature #8110: Regex methods not changing global variables
sam.saffron (Sam Saffron) wrote:
> @naruse @charlie should this be moved to ruby common?
If CommonRuby officially...
headius (Charles Nutter)
01:19 AM Feature #8110: Regex methods not changing global variables
naruse (Yui NARUSE) wrote:
> You may misunderstand, unlike Perl, Ruby's setting global variable cost is small.
> Ru...
headius (Charles Nutter)
02:45 PM Revision 4987e849 (git): "garbage" (noun) is uncountable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:58 PM Revision a1d59a60 (git): Fix ChangeLog duplicated by wrong merge
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:56 PM Revision 26e92343 (git): Overwrite Ruby's path for cgi in tests
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:56 PM Revision 9d72f265 (git): * common.mk (clean-ext): remove timestamps.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:56 PM Revision 6e24f177 (git): * ext/socket/rubysocket.h (SOCKLEN_MAX): Expression simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:56 PM Revision 3f75750c (git): Oops, I forgot to use JST in the ChangeLog entry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:55 PM Revision b69f1fb6 (git): iseq: reduce array allocations for simple sequences
* compile.c (iseq_add_mark_object): Use new rb_iseq_add_mark_object().
* insns.def (setinlinecache): Ditto.
* iseq....
naruse (Yui NARUSE)
01:55 PM Revision 5f628a07 (git): iseq.c: remove duplicated strings for file paths
* iseq.c (iseq_location_setup): re-use existing string when iseq has
the same path and absolute_path. [Bug #8149]
...
naruse (Yui NARUSE)
01:55 PM Revision 226e145e (git): assertions.rb: remove UNASSIGNED
* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
UNASSIGNED is not a valid message.
git-svn-id: svn+...
naruse (Yui NARUSE)
01:55 PM Revision b2fcb9da (git): thread.c: fix overflow on Windows
* thread.c (sleep_timeval): get rid of overflow on Windows where
timeval.tv_sec is not time_t but mere long.
git-s...
naruse (Yui NARUSE)
01:55 PM Revision 08a6ef73 (git): Run test-all on travis-ci
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:38 PM Bug #8287 (Rejected): Regexp performance issue
ADDRESS = # RFC-5322 : http://tools.ietf.org/html/rfc5322
/
(?<mailbox>
(?<name_addr>
(?<display_name...
mghomn (Justin Peal)
01:26 PM Feature #8237: Logical method chaining via inferred receiver
Wow, inferred reciever, cool. But wait, in Ruby, there is already self! When you type often
fred.do_this && fred.do_...
Anonymous
01:42 AM Feature #8237: Logical method chaining via inferred receiver
Charles, I understand that you don't like this code style. But I'm pretty sure you consider bad several other code st... rosenfeld (Rodrigo Rosenfeld Rosas)
01:29 AM Feature #8237: Logical method chaining via inferred receiver
I believe this has been suggested and rejected before. It's similar to Groovy's ?. operator, which only proceeds with... headius (Charles Nutter)
07:59 AM Revision 335dfa12 (git): vm_method.c: fix visibility on anonymous module
* vm_method.c (rb_mod_public_method): fix visibility on anonymous
module. set visibility of singleton method, not m...
nobu (Nobuyoshi Nakada)
07:44 AM Bug #8285: Resolv::DNS: TCP fallback fails with multiple resolvers
Also, ruby -v actually is: ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-darwin11]
julian.mehnle (Julian Mehnle)
07:42 AM Bug #8285: Resolv::DNS: TCP fallback fails with multiple resolvers
Why has @monospace@ formatting been disabled in this Redmine? Bleh! julian.mehnle (Julian Mehnle)
07:36 AM Bug #8285: Resolv::DNS: TCP fallback fails with multiple resolvers
The problem is caused by my original TCP fallback code reusing a Resolv::DNS::Requester::TCP::Sender object that was ... julian.mehnle (Julian Mehnle)
07:15 AM Bug #8285 (Closed): Resolv::DNS: TCP fallback fails with multiple resolvers
Since my TCP fallback support patch from #3835 was merged Resolv::DNS would sometimes fail with a @"host/port don't m... julian.mehnle (Julian Mehnle)
07:20 AM Revision a4188556 (git): dir.c: not skip dot directories if matching
* dir.c (glob_helper): should skip dot directories only for recursion,
but should not if matching to the given patt...
nobu (Nobuyoshi Nakada)
07:20 AM Revision c3db44dc (git): pack.c: refix unpack base64
* pack.c (pack_unpack): increase buffer size to fix buffer overflow,
and fix garbages just after unpacking without ...
nobu (Nobuyoshi Nakada)
06:23 AM Bug #8148: [patch] reduce allocations due to __FILE__ and {class,module}_eval
On Wed, Apr 17, 2013 at 11:49 AM, Eric Wong <[email protected]> wrote:
> "headius (Charles Nutter)" <headius@h...
tmm1 (Aman Karmani)
03:53 AM Bug #8148: [patch] reduce allocations due to __FILE__ and {class,module}_eval
"headius (Charles Nutter)" <[email protected]> wrote:
> I'd like to work with you to find more places we could b...
normalperson (Eric Wong)
12:51 AM Bug #8148: [patch] reduce allocations due to __FILE__ and {class,module}_eval
I'd like to work with you to find more places we could be sharing frozen strings. A change over the summer made defin... headius (Charles Nutter)
06:11 AM Revision ca743196 (git): Increase capacity for skipping paddings
fix for r40342
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:49 AM Bug #8159: Build failure introduced by Rinda changes
Could you temporally commit the patch because it causes test failure? naruse (Yui NARUSE)
05:03 AM Revision 3e2fdaf1 (git): * pack.c (pack_unpack): output characters even if the input doesn't
have paddings. [Bug #8286]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:06 AM Feature #8259: Atomic attributes accessors
Having some discussions with dbussink on IRC...
I think the most universally correct option is to have two differe...
headius (Charles Nutter)
02:50 AM Feature #8259: Atomic attributes accessors
dbussink (Dirkjan Bussink) wrote:
> I highly doubt the neverending complaints case, since this I think people using ...
headius (Charles Nutter)
02:26 AM Feature #8259: Atomic attributes accessors
I highly doubt the neverending complaints case, since this I think people using CAS would usually know what they are ... dbussink (Dirkjan Bussink)
01:08 AM Feature #8259: Atomic attributes accessors
dbussink (Dirkjan Bussink) wrote:
> What I'm wondering is, do we want to enforce the overhead of numeric CAS for all...
headius (Charles Nutter)
01:00 AM Feature #8259: Atomic attributes accessors
What I'm wondering is, do we want to enforce the overhead of numeric CAS for all applications of CAS? Also in the cas... dbussink (Dirkjan Bussink)

04/17/2013

11:21 PM Revision 2446c965 (git): * 2013-04-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:21 PM Revision 97dae8b0 (git): * common.mk (clean-ext): remove timestamps.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:37 PM Bug #8148: [patch] reduce allocations due to __FILE__ and {class,module}_eval
ko1-san, do you have any opinion on this patch? Is there a simpler solution instead of adding NODE_FILE?
I convert...
tmm1 (Aman Karmani)
07:38 PM Feature #8110: Regex methods not changing global variables
@naruse @charlie should this be moved to ruby common? sam.saffron (Sam Saffron)
02:26 PM Revision a66491ef (git): merge revision(s) 40327:
fix typo by @zsalzbank [fix GH-289]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40339 b2dd03c8-...
nagachika (Tomoyuki Chikanaga)
01:08 PM Revision 80e4d412 (git): * ext/socket/rubysocket.h (SOCKLEN_MAX): Expression simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:29 PM Bug #8208: Raise cached exceptions for nonblocking IO to avoid allocation/stack-copying costs
Charles Nutter <[email protected]> wrote:
> Which issue is tracking an exceptionless nonblocking API? Maybe we c...
normalperson (Eric Wong)
11:53 AM Bug #8208: Raise cached exceptions for nonblocking IO to avoid allocation/stack-copying costs
On Apr 16, 2013, at 8:42 PM, Eric Wong <[email protected]> wrote:
> How does this compare to an implementation ...
headius (Charles Nutter)
10:53 AM Bug #8208: Raise cached exceptions for nonblocking IO to avoid allocation/stack-copying costs
"headius (Charles Nutter)" <[email protected]> wrote:
> Perf change for an implementation of this in JRuby:

...
normalperson (Eric Wong)
12:33 AM Bug #8208: Raise cached exceptions for nonblocking IO to avoid allocation/stack-copying costs
No comments?
Perf change for an implementation of this in JRuby:
Before:
$ jruby -rbenchmark -rsocket -e "s ...
headius (Charles Nutter)
11:43 AM Revision aebb6889 (git): Oops, I forgot to use JST in the ChangeLog entry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tmm1 (Aman Karmani)
11:20 AM Revision cbd8b099 (git): iseq: reduce array allocations for simple sequences
* compile.c (iseq_add_mark_object): Use new rb_iseq_add_mark_object().
* insns.def (setinlinecache): Ditto.
* iseq....
tmm1 (Aman Karmani)
11:01 AM Revision ce6db8f2 (git): * ext/socket/rubysocket.h (SOCKLEN_MAX): Defined.
* ext/socket/raddrinfo.c (ext/socket/raddrinfo.c): Reject too long
Linux abstract socket name.
git-svn-id: svn+s...
akr (Akira Tanaka)
10:55 AM Revision cef6a377 (git): iseq.c: remove duplicated strings for file paths
* iseq.c (iseq_location_setup): re-use existing string when iseq has
the same path and absolute_path. [Bug #8149]
...
tmm1 (Aman Karmani)
10:04 AM Feature #8273 (Rejected): Make it possible to treat objects as falsy in order to make NullObjects more convenient
Rejected for the same reason as #6180.
Matz.
matz (Yukihiro Matsumoto)
03:50 AM Feature #8273: Make it possible to treat objects as falsy in order to make NullObjects more convenient
@headius
I understand your oppositions. IMO, NullObject should be a kind of immutable/singleton object so that objec...
prijutme4ty (Ilya Vorontsov)
07:32 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
I think that was tossed around on IRC or somewhere. It would certainly work, but it feels a little too hacky to me.
...
headius (Charles Nutter)
04:59 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
Has anyone talked about .backtrace returning a subclass of String (or singleton) which duck-types to the same methods... enebo (Thomas Enebo)
02:54 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
What's the next step here? Do we need a patch to proceed? It seems like this feature is universally liked. headius (Charles Nutter)
06:39 AM Revision 626235a6 (git): test_curses.rb: default TERM
* test/test_curses.rb (TestCurses#run_curses): default TERM
environment variable which is needed by ncurses.
git-s...
nobu (Nobuyoshi Nakada)
05:20 AM Revision 385de15d (git): test_readline.rb: try UTF-8
* test/readline/test_readline.rb (test_completion_encoding),
(test_input_metachar_multibyte): try to run under UTF-...
nobu (Nobuyoshi Nakada)
05:20 AM Revision a24b6d3f (git): envutil.rb: env hash
* test/ruby/envutil.rb (assert_separately): keep environment hash
first if exists.
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
03:57 AM Feature #8259: Atomic attributes accessors
The "while true" loop is there in order to re-check if the value is == after a change. My justification is that the o... headius (Charles Nutter)
03:53 AM Feature #8259: Atomic attributes accessors
Charles, I really sure there is no need for `while true` in your numeric
handling cas -
the nature of cas is "ch...
funny_falcon (Yura Sokolov)
03:33 AM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
naruse (Yui NARUSE) wrote:
> headius (Charles Nutter) wrote:
> > * Documentation about how to file feature requests...
headius (Charles Nutter)
03:21 AM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
headius (Charles Nutter) wrote:
> @naruse: I will try to summarize what implementation of this proposal will involve...
naruse (Yui NARUSE)
12:13 AM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
@naruse: I will try to summarize what implementation of this proposal will involve:
Required changes:
* CommonR...
headius (Charles Nutter)
03:12 AM Feature #8275: Add Module#public_const_get
rkh (Konstantin Haase) wrote:
> I was considering a boolean. However, const_get already takes a boolean argument ind...
headius (Charles Nutter)
03:02 AM Feature #8275: Add Module#public_const_get
I was considering a boolean. However, const_get already takes a boolean argument indicating whether or not to include... rkh (Konstantin Haase)
02:55 AM Feature #8088: Method#parameters (and friends) should provide useful information about core methods
marcandre: Have you had a chance to prototype what you were talking about? I'll be on #jruby Freenode IRC today if yo... headius (Charles Nutter)
02:53 AM Feature #6308: Eliminate delegation from WeakRef
Here's a patch that removes delegation from Weakref: https://github.com/headius/ruby/commit/431b971a147daf8a9b2185d11... headius (Charles Nutter)
02:36 AM Feature #6308: Eliminate delegation from WeakRef
Moving into CommonRuby headius (Charles Nutter)
02:39 AM Revision 9efcd103 (git): assertions.rb: remove UNASSIGNED
* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
UNASSIGNED is not a valid message.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
01:58 AM Revision 9e39bc1a (git): thread.c: fix overflow on Windows
* thread.c (sleep_timeval): get rid of overflow on Windows where
timeval.tv_sec is not time_t but mere long.
git-s...
nobu (Nobuyoshi Nakada)
01:17 AM Revision 08f52b05 (git): * 2013-04-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:16 AM Revision e9a61266 (git): fix typo by @zsalzbank [fix GH-289]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:39 AM Feature #8239: Inline rescue bug
I also think this is a bug, but it may not be backported because of backward compatibility. nobu (Nobuyoshi Nakada)
12:24 AM Feature #7701: Non-optional (required) keyword args
Oh, a question... target version will be 2.1, yes? headius (Charles Nutter)
12:23 AM Feature #7701: Non-optional (required) keyword args
Oh, excellent! I had not noticed this was completed until today.
Thanks, everyone!
headius (Charles Nutter)
12:20 AM Feature #8270: Ruby should build without thread support (aka minix)
nobu (Nobuyoshi Nakada) wrote:
> I have never played with it at all.
> "does not yet" means there is a plan to impl...
headius (Charles Nutter)
12:04 AM Feature #8096: introduce Time.current_timestamp
phluid61 (Matthew Kerwin) wrote:
> Actually since making the jruby branch, and based on some conversations here, I h...
headius (Charles Nutter)

04/16/2013

11:58 PM Feature #8275: Add Module#public_const_get
What about an optional boolean for the existing const_get/const_set that indicates whether private constants should b... headius (Charles Nutter)
08:02 PM Feature #8275: Add Module#public_const_get
=begin
And vice-versa for set too maybe
(({Module#public_const_set}))/
(({Module#private_const_set}))
=end
vipulnsward (Vipul Amler)
06:28 PM Feature #8275 (Open): Add Module#public_const_get
Right now, `const_get` will always return a constant, no matter the visibility, which is probably what we want most o... rkh (Konstantin Haase)
11:54 PM Feature #8259: Atomic attributes accessors
I have completed adding the numeric logic to the atomic gem and pushed 1.1.8.
The version for JRuby is here: https...
headius (Charles Nutter)
01:54 PM Feature #8259: Atomic attributes accessors
Comparison of two numeric values *should* be consistent and unchanging, or else I feel that various contracts of numb... headius (Charles Nutter)
01:42 PM Feature #8259: Atomic attributes accessors
Comparison is not atomic. It is used to be ensure, we could use value, stored in @ivar for real CAS. Semantic of meth... funny_falcon (Yura Sokolov)
10:59 AM Feature #8259: Atomic attributes accessors
Why do you consider comparison atomic? nobu (Nobuyoshi Nakada)
08:09 AM Feature #8259: Atomic attributes accessors
FYI, link to a current issue with the atomic gem I'm fixing using a loop + == + CAS: https://github.com/headius/ruby-... headius (Charles Nutter)
06:34 AM Feature #8259: Atomic attributes accessors
funny_falcon (Yura Sokolov) wrote:
> I think, @ivar access should not be volatile as in any other language,
> but ...
headius (Charles Nutter)
11:51 PM Feature #8273: Make it possible to treat objects as falsy in order to make NullObjects more convenient
@rosenfeld That would certainly be less impact, but not zero-impact. I do not have a strong opinion one way or the ot... headius (Charles Nutter)
09:07 PM Feature #8273: Make it possible to treat objects as falsy in order to make NullObjects more convenient
I should agree with Charles although I understand Ilya's concerns. Maybe another attempt to get this implemented woul... rosenfeld (Rodrigo Rosenfeld Rosas)
01:45 PM Feature #8273: Make it possible to treat objects as falsy in order to make NullObjects more convenient
I think you might have submitted this before, but I'd like to enter my *strong* opposition to this.
* It most defi...
headius (Charles Nutter)
08:11 AM Feature #8273 (Rejected): Make it possible to treat objects as falsy in order to make NullObjects more convenient
NullObject is quite a useful pattern. But refactoring from conditionals to null-object can be very painful because an... prijutme4ty (Ilya Vorontsov)
09:39 PM Bug #8279 (Closed): Single-line rescue parsing
Hi,
there seems to be a bug in parser for single-line rescue statement. It fails in case of multiple assignment st...
dunric (David Unric)
09:02 PM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
Just for the record, I'm +1 and I'm not an implementer. I'm only interested in the Ruby language discussion itself an... rosenfeld (Rodrigo Rosenfeld Rosas)
04:37 PM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
I still don't understand why headius want to do this and it is reasonable, but I understand what he want to do.
So I...
naruse (Yui NARUSE)
03:41 PM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
duerst (Martin Dürst) wrote:
> I wanted to oppose a more formal process because I think it's
> unnecessary overk...
headius (Charles Nutter)
03:29 PM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
On 2013/04/16 5:35, headius (Charles Nutter) wrote:
>
> Issue #8271 has been reported by headius (Charles Nutter)....
duerst (Martin Dürst)
01:50 PM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
I should say...if feature requests for bundled libraries are currently marked as "feature" in trunk, they'd just be i... headius (Charles Nutter)
01:49 PM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
naruse (Yui NARUSE) wrote:
> People can't make feature request other than trunk.
> There's only backport request in...
headius (Charles Nutter)
09:44 AM Feature #8271 (Assigned): Proposal for moving to a more visible, formal process for feature requests
> * No confusion about where feature requests should be filed. Currently, people usually file feature requests agains... naruse (Yui NARUSE)
06:17 AM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
I wonder if issues for Ruby can have a simple front-end wizard where new users will get funneled to the correct syste... enebo (Thomas Enebo)
05:40 AM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
A correction...
The latter governs all visible feature changes to Python independent of bug reports to the main "C...
headius (Charles Nutter)
05:37 AM Feature #8271: Proposal for moving to a more visible, formal process for feature requests
For reference, the current CommonRuby project in Redmine is here: https://bugs.ruby-lang.org/projects/common-ruby headius (Charles Nutter)
05:35 AM Feature #8271 (Assigned): Proposal for moving to a more visible, formal process for feature requests
Proposal for moving to a more visible, formal process for feature requests.
1. Introduction
In order to make it...
headius (Charles Nutter)
06:20 PM Feature #8096: introduce Time.current_timestamp
headius (Charles Nutter) wrote:
> phluid61 (Matthew Kerwin) wrote:
> > There is this: https://github.com/phluid61/...
phluid61 (Matthew Kerwin)
02:21 PM Feature #8096: introduce Time.current_timestamp
JRuby patch to add Time.timestamp/current_timestamp and Time.microtime: https://gist.github.com/headius/5393552
Th...
headius (Charles Nutter)
02:10 PM Feature #8096: introduce Time.current_timestamp
phluid61 (Matthew Kerwin) wrote:
> There is this: https://github.com/phluid61/timestamp-gem
>
> The java stuff is...
headius (Charles Nutter)
05:07 PM Feature #8270: Ruby should build without thread support (aka minix)
I have never played with it at all.
"does not yet" means there is a plan to implement?
nobu (Nobuyoshi Nakada)
03:20 PM Feature #8270: Ruby should build without thread support (aka minix)
Minix...hard core. I haven't played with that in...20 years?
Perhaps for such a limited system you can just use an...
headius (Charles Nutter)
04:04 AM Feature #8270 (Assigned): Ruby should build without thread support (aka minix)
I tried to ./configure ruby on Minix 3.2.1,
The configure failed, because minix does not yet implement threads.
I...
eike.rb (Eike Dierks)
05:03 PM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
More tests may be needed. nobu (Nobuyoshi Nakada)
04:59 PM Bug #7829: Rounding error in Ruby Time
On Apr 16, 2013, at 12:44 AM, David MacMahon wrote:
^^^^^^^^^^^^

> Please see my other reply to this topic th...
david_macmahon (David MacMahon)
04:53 PM Bug #7829: Rounding error in Ruby Time
I think using floor is correct when reducing the precision of time. We don't round "15:00 on Monday" to "Tuesday", ... david_macmahon (David MacMahon)
04:29 PM Bug #7829: Rounding error in Ruby Time
On Apr 10, 2013, at 9:36 PM, Zachary Scott wrote:

> So is this a documentation bug? I haven't read the entire dis...
david_macmahon (David MacMahon)
04:20 PM Revision fb6713bd (git): merge revision(s) 39600:
test_method.rb: reduce iteration
* test/ruby/test_method.rb (TestMethod#test_bound_method_entry):
reduce i...
nagachika (Tomoyuki Chikanaga)
03:24 PM Feature #7149: Constant magic for everyone.
const_assigned is not a bad hook at all, imho. headius (Charles Nutter)
02:53 PM Bug #8274 (Closed): No tests for PKCS7::write_smime
There are no tests for OpenSSL::PKCS7::write_smime.
That is all :-)
A recent pull request for JRuby attempts to...
headius (Charles Nutter)
02:09 PM Revision b4909876 (git): merge revision(s) 40322:
fix ENV.to_a rdoc example by @benolee [fix GH-288]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@...
nagachika (Tomoyuki Chikanaga)
02:07 PM Revision a294d458 (git): * ext/socket/unixsocket.c (unix_send_io): Suppress a warning by clang.
(unix_recv_io): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:49 PM Revision b3f5b73a (git): merge revision(s) 40318:
fixed wrong value by @taksatou [fix GH-287]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40323 b...
nagachika (Tomoyuki Chikanaga)
12:18 PM Bug #8204: ObjectSpace.each_object(Bignum) can generate Bignums that are to small to be Bignums
> x = (1 << 100).coerce(42).first # => 42
> x.class # => Bignum
It's a Feature.
Numeric#coerce must return a p...
nobu (Nobuyoshi Nakada)
11:04 AM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
At least, gcc 4.7 on Debian 7 and MacPorts work fine with -ggdb3, so it's not gcc 4.7 specific. nobu (Nobuyoshi Nakada)
11:02 AM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
Could you show your config.log? nobu (Nobuyoshi Nakada)
08:16 AM Bug #8268: ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
What is $target_os in configure on SmartOS? naruse (Yui NARUSE)
09:25 AM Feature #8265 (Rejected): -0.0 does not have a Flonum like 0.0
It seems not practical problem.
Please reopen this ticket if you find real problem.
(for example, there are too m...
ko1 (Koichi Sasada)
06:41 AM Bug #7584 (Closed): Ruby hangs when shutting down an ssl connection in gc finalization
Great, thanks for checking! I'll close this, too, then. If anyone still runs into this or a similar issue, please let... MartinBosslet (Martin Bosslet)
06:29 AM Bug #7584: Ruby hangs when shutting down an ssl connection in gc finalization
Looks like that fixes it! I was unable to reproduce with "ruby 2.1.0dev (2013-04-15 trunk 40308) [x86_64-linux]".
bpot (Bob Potter)
06:28 AM Revision da91385f (git): fix ENV.to_a rdoc example by @benolee [fix GH-288]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
06:03 AM Feature #8257: Exception#cause to carry originating exception along with new one
rkh (Konstantin Haase) wrote:
> I think allowing rescue lines to take other objects besides modules would this would...
headius (Charles Nutter)
05:56 AM Revision 8d1d9fc1 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:45 AM Feature #8272 (Open): Transfer feature tracking to CommonRuby
If my proposal in #8271 is accepted, we'll need to:
1. Document in appropriate places that CommonRuby is the place...
headius (Charles Nutter)
03:28 AM Revision 45b3c3ac (git): * ext/sdbm/init.c: Fix comment indentation, by windwiny [Fixes GH-277]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
03:25 AM Revision 3a7a773a (git): * ext/socket/option.c: Document synonymous methods, by windwiny [GH-277]
* ext/stringio/stringio.c: ditto
* ext/io/wait/wait.c: ditto
* ext/gdbm/gdbm.c: ditto
* ext/dl/cfunc.c: ditto
* ext/z...
zzak (zzak _)
02:31 AM Revision bbf0ea6b (git): fixed wrong value by @taksatou [fix GH-287]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:24 AM Revision 13d18f27 (git): * 2013-04-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:24 AM Revision a152c41e (git): * ext/openssl/*: Document synonymous methods, by windwiny [GH-277]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)

04/15/2013

10:32 PM Feature #8269 (Feedback): stdlib: Add Find.each_file to accompany Find.find
Often when I use the find module, I am only interested in files.
Since Find.find returns files and directories, I of...
tommylommykins (Thomas Green)
07:38 PM Feature #8258: Dir#escape_glob
nobu (Nobuyoshi Nakada) wrote:
> It reminded me about old proposal, `Dir#glob` (not `Dir.glob`).
Interesting, do...
Eregon (Benoit Daloze)
09:23 AM Feature #8258: Dir#escape_glob
(13/04/14 18:34), Eregon (Benoit Daloze) wrote:
> I guess the most common use case is globbing on a directory recurs...
nobu (Nobuyoshi Nakada)
07:29 AM Feature #8258: Dir#escape_glob
rkh (Konstantin Haase) wrote:
> > - Rubinius does not handle escaped `[`, `{` and `}`.
> > - JRuby does not handle ...
Eregon (Benoit Daloze)
04:41 PM Feature #8265: -0.0 does not have a Flonum like 0.0
for me it doesnt make much sense that some Floats have fixed object_ids and some Floats does have not, so i think, wh... Hanmac (Hans Mackowiak)
08:50 AM Feature #8265 (Feedback): -0.0 does not have a Flonum like 0.0
nobu (Nobuyoshi Nakada)
06:04 AM Feature #8265: -0.0 does not have a Flonum like 0.0
> i think that -0.0 should have fixed object_id too
Why?
ko1 (Koichi Sasada)
04:34 PM Revision 3a645975 (git): merge revision(s) 40181: [Backport #8183]
* lib/cgi/util.rb (CGI::unescapeHTML): fix Hexadecimal numeric character.
[Bug #8183]
git-svn-id: svn+ssh://ci.rub...
nagachika (Tomoyuki Chikanaga)
04:33 PM Revision e3dbba34 (git): merge revision(s) 39814,39815: [Backport #8117]
* configure.in: Fix c++ compiler auto-selection not only for
Darwin 11.x, but also the other versions of Da...
nagachika (Tomoyuki Chikanaga)
04:27 PM Revision 36eb3366 (git): revert r40311(merge revision(s) 40117,40118).
It breaks rubyci tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40313 b2dd03c8-39d4-4d8f-98...
nagachika (Tomoyuki Chikanaga)
03:50 PM Bug #8268 (Closed): ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7
When compiling ruby from source on Smart OS, which uses gcc-4.7, the configure script fails to correctly detect a com... mattconnolly (Matt Connolly)
03:28 PM Revision ed1d6660 (git): merge revision(s) 40124: [Backport #8220]
* compile.c (iseq_compile_each): fix of defined? with empty
expression. [ruby-core:53999] [Bug #8220]
gi...
nagachika (Tomoyuki Chikanaga)
02:19 PM Revision d9aa81ea (git): merge revision(s) 40117,40118: [Backport #8222]
* test/test_curses.rb: tests for getch.
* ext/curses/curses.c (Init_curses): fix implementation function,
...
nagachika (Tomoyuki Chikanaga)
02:09 PM Revision 7514d35d (git): merge revision(s) 40301:
* dir.c (File.fnmatch): fix typo in documentation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40...
nagachika (Tomoyuki Chikanaga)
02:04 PM Revision 8a288166 (git): merge revision(s) 40299:
* string.c (String#gsub): fix typo in documentation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@...
nagachika (Tomoyuki Chikanaga)
01:22 PM Revision 582ba0a5 (git): * ext/fiddle/depend: New file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:15 PM Revision 7190cc5d (git): misc/ruby-electric.el: Decrease the excess voltage of automatic matching.
* misc/ruby-electric.el (ruby-electric-closing-char): New
interactive function bound to closing characters. Typing...
Akinori MUSHA
01:15 PM Revision ed3b657d (git): misc/ruby-electric.el: Minor refactoring.
* misc/ruby-electric.el (ruby-electric-insert): Check
ruby-electric-is-last-command-char-expandable-punct-p here.
...
Akinori MUSHA
12:02 PM Feature #8237: Logical method chaining via inferred receiver
wardrop (Tom Wardrop) wrote:
> =begin
> Don't pick apart the trivial examples too much Henry..
>
> =end
I...
henry.maddocks (Henry Maddocks)
11:06 AM Bug #7584: Ruby hangs when shutting down an ssl connection in gc finalization
Bob, could you please check if the patch applied in https://bugs.ruby-lang.org/issues/8240 fixed this? Thanks! MartinBosslet (Martin Bosslet)
05:58 AM Revision e80d0a96 (git): merge revision(s) 34306:
* ext/json/parser/parser.rl (json_string_unescape): workaround fix
for over optimization of GCC 4.7. [ruby-...
naruse (Yui NARUSE)
02:04 AM Revision d6b1ab91 (git): * ext/openssl/ossl_ssl.c: Correct shutdown behavior w.r.t GC.
* test/openssl/test_ssl.rb: Add tests to verify correct behavior.
[Bug #8240] Patch provided by Shugo Maeda. Thanks!...
MartinBosslet (Martin Bosslet)
02:00 AM Revision a840645f (git): merge revision(s) 34278:
* cont.c (cont_restore_0): prevent optimizing out `sp'. sp is used for
reserving a memory space with ALLOCA...
naruse (Yui NARUSE)
01:26 AM Feature #8110: Regex methods not changing global variables
You may misunderstand, unlike Perl, Ruby's setting global variable cost is small.
Ruby only set a MatchData object t...
naruse (Yui NARUSE)
01:24 AM Revision e4f6efcc (git): * ext/coverage/depend: fix id.h place as r40283.
* ext/coverage/extconf.rb: add topdir and topsrcdir to VPATH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4030...
naruse (Yui NARUSE)

04/14/2013

11:19 PM Feature #8110: Regex methods not changing global variables
headius (Charles Nutter) wrote:
> Crazy idea: what if in the future you needed to set $~ to nil in order for it to b...
naruse (Yui NARUSE)
10:38 PM Revision 37a350db (git): * dir.c (File.fnmatch): fix typo in documentation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
10:38 PM Revision 3759c137 (git): * 2013-04-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:38 PM Revision f861a74e (git): * string.c (String#gsub): fix typo in documentation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
10:33 PM Feature #8257: Exception#cause to carry originating exception along with new one
I think allowing rescue lines to take other objects besides modules would this would greatly ease building something ... rkh (Konstantin Haase)
10:27 PM Feature #8258: Dir#escape_glob

> - Rubinius does not handle escaped `[`, `{` and `}`.
> - JRuby does not handle escaped `[` and `]`
These are ...
rkh (Konstantin Haase)
08:39 PM Feature #8258: Dir#escape_glob
What is more worrying is implementations differ quite a bit in treating `\` as an escape for these glob characters `(... Eregon (Benoit Daloze)
06:34 PM Feature #8258: Dir#escape_glob
headius (Charles Nutter) wrote:
> rkh (Konstantin Haase) wrote:
> > `File.fnmatch_escape` would make more sense, im...
Eregon (Benoit Daloze)
03:58 PM Feature #8265 (Rejected): -0.0 does not have a Flonum like 0.0
=begin
with Flonum,
fixed id for 0.0
(0.0).object_id #=> -9223372036854775806
(0.0).object_id #=> -9223372036...
Hanmac (Hans Mackowiak)
03:45 PM Revision 108d1632 (git): merge revision(s) 39967: [Backport #8193]
* time.c (num_exact): use to_r method only if to_int method is
available.
[ruby-core:53764] [Bug ...
nagachika (Tomoyuki Chikanaga)
03:36 PM Feature #6216: SystemStackError backtraces should not be reduced to one line
It seems to me that a full backtrace can safely be generated (patch against trunk attached).
The one line backtrac...
drkaes (Stefan Kaes)
03:22 PM Revision 844f78f5 (git): merge revision(s) 39817: [Backport #8116]
* ext/objspace/objspace.c: Fix typo in doc. Patch by Sho Hashimoto.
[Bug #8116] [ruby-dev:47177]
git-svn-...
nagachika (Tomoyuki Chikanaga)
03:20 PM Revision f3c5e92d (git): merge revision(s) 40015: [Backport #8197]
doumentation by @toolmantim [GH fixes #270]
* timeout.rb: Document Timeout::timeout 0 and nil argument behavior
...
nagachika (Tomoyuki Chikanaga)
03:19 PM Revision 3ed62b8e (git): merge revision(s) 40014: [Backport #8199]
Document the default Net timeout values by @toolmantim [GH fixes #269]
* lib/net/{ftp,http,pop,smtp}.rb: added docu...
nagachika (Tomoyuki Chikanaga)
03:17 PM Revision c6c33ec6 (git): merge revision(s) 40013,40032: [Backport #8188]
* class.c (HAVE_METACLASS_P): should check FL_SINGLTON flag before get
instance variable to get rid of wron...
nagachika (Tomoyuki Chikanaga)
03:13 PM Revision 5525ff19 (git): merge revision(s) 40003: [Backport #7996]
* win32/file.c (code_page): use cp1252 instead of cp20127 as US-ASCII.
fix [ruby-core:53079] [Bug #7996]
...
nagachika (Tomoyuki Chikanaga)
03:10 PM Revision 5b2ea4e5 (git): merge revision(s) 39987,39993,39998: [Backport #8174]
* include/ruby/io.h: rename SVR3,4 member names as POSIX compliants,
to get rid of conflict on AIX. [ruby-...
nagachika (Tomoyuki Chikanaga)
02:55 PM Revision 303568e6 (git): merge revision(s) 39994: [Backport #6504]
* lib/mkmf.rb (configuration): not include all CFLAGS in CXXFLAGS, to
use different set than C for C++. [r...
nagachika (Tomoyuki Chikanaga)
02:47 PM Revision aa69372c (git): merge revision(s) 40216: [Backport #8266]
* ext/fiddle/closure.c (initialize): check mprotect's return value.
If mprotect is failed because of PaX or...
nagachika (Tomoyuki Chikanaga)
02:39 PM Revision 5e17378c (git): merge revision(s) 39958,39989: [Backport #8169]
* lib/mkmf.rb (MAIN_DOES_NOTHING): force to refer symbols for tests
to be preserved. [ruby-core:53745] [Bu...
nagachika (Tomoyuki Chikanaga)
11:48 AM Revision 6f23ad6a (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:48 AM Revision 788b45da (git): * ext/-test-/debug/depend: New file.
* ext/-test-/exception/depend: Ditto.
* ext/-test-/printf/depend: Ditto.
* ext/-test-/string/depend: Ditto.
* ext/...
akr (Akira Tanaka)
09:34 AM Feature #7701: Non-optional (required) keyword args
Thanks, the BTS seems missing the commit.
I've thought this ticket had been closed already.
nobu (Nobuyoshi Nakada)
01:55 AM Feature #7701 (Closed): Non-optional (required) keyword args
I think it was committed at r39735. nagachika (Tomoyuki Chikanaga)
02:57 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
Eregon (Benoit Daloze) wrote:
> Although I am not sure of the importance of having TAU. One PI is fine for unit conve...
bug (Harrison Reiser)
02:05 AM Bug #8139 (Closed): keyreq and keyrest
It is a bugfix about require keyword arguments which is a new feature of 2.1. [Feature #7701]
No need to backport. s...
nagachika (Tomoyuki Chikanaga)

04/13/2013

11:55 PM Feature #8259: Atomic attributes accessors
I think, @ivar access should not be volatile as in any other language,
but obj.ivar could be volatile if attr_atomi...
funny_falcon (Yura Sokolov)
01:27 AM Feature #8259: Atomic attributes accessors
Great to see this proposed officially!
I implemented something very much like this for JRuby as a proof-of-concept...
headius (Charles Nutter)
11:43 PM Bug #8205 (Feedback): Regexp.union behavior and Regexp.try_convert
Hello,
Could you show us a reproducive code or a testcase?
nagachika (Tomoyuki Chikanaga)
09:39 PM Revision 03eab41d (git): Send input after curses is ready or raise error
On Linux, ncurses's initscr aborts with showing
"Error opening terminal: unknown.".
This fix can catch the error mess...
naruse (Yui NARUSE)
06:04 PM Revision 7bc0cea7 (git): merge revision(s) 40163: [Backport #8228]
* configure.in (AC_CHECK_HEADERS): atomic.h for Solaris atomic_ops.
* ruby_atomic.h: Skip using Solaris10 at...
nagachika (Tomoyuki Chikanaga)
06:00 PM Revision dfdbfb6d (git): * 2013-04-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:00 PM Revision 34f5700a (git): * lib/mkmf.rb (MakeMakefile#create_makefile): remove {$(VPATH)} other
than nmke.
* ext/ripper/depend: use VPATH expecting removed by above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
naruse (Yui NARUSE)
05:37 PM Revision 08c3e8ed (git): merge revision(s) 39766,39769: [Backport #8101]
* time.c (GetTimeval): check if already initialized instance.
* time.c (GetNewTimeval): check if newly creat...
nagachika (Tomoyuki Chikanaga)
05:19 PM Revision 59f8d5d1 (git): merge revision(s) 39877,39881: [Backport #8153] [Backport #8154]
* array.c: Avoid zip bug by not using obsolete rb_check_block_call
[Bug #8153]
* vm_eval.c (check_...
nagachika (Tomoyuki Chikanaga)
02:06 PM Revision 34b706ff (git): mkmf.rb: timestamp directory
* lib/mkmf.rb (timestamp_file): gather timestamp files in one
directory from each extension directories.
git-svn-i...
nobu (Nobuyoshi Nakada)
01:40 PM Revision 5a34781b (git): merge revision(s) 40274:
* array.c: rdoc tweak for include?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40279 b2dd03c8-39...
nagachika (Tomoyuki Chikanaga)
12:14 PM Revision b77d1a4f (git): * lib/mkmf.rb (MakeMakefile#create_makefile): output new macro
disthdrdir to specify the path of id.h, parse.h and etc.
* ext/ripper/depend: use above macro.
git-svn-id: svn+ssh...
U.Nakamura
11:44 AM Revision f9ba0dca (git): fix building ripper: parse.h and id.h doesn't need directory
r40275 breaks Unix build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:39 AM Feature #8264 (Closed): define struct under the given namespace
=begin
As commented in ((%struct.c%)), it's old style to define (({Struct::Foo})) automatically.
But there is no ...
nobu (Nobuyoshi Nakada)
11:30 AM Revision 536a3274 (git): * Merge Onigmo 5.13.4 f22cf2e566712cace60d17f84d63119d7c5764ee.
[bug] fix problem with optimization of \z (Issue #16) [Bug #8210]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
naruse (Yui NARUSE)
11:18 AM Feature #8263 (Assigned): Support discovering yield state of individual Fibers
Related to #8215, when debugging a multi-Fiber application or library it is useful to be able to look at the stack fo... halorgium (Tim Carey-Smith)
09:57 AM Revision 0869d460 (git): * ext/ripper/depend: parse.h and id.h may be created on topdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
08:07 AM Feature #8258: Dir#escape_glob
I don't feel strongly about the name, specifically. steveklabnik (Steve Klabnik)
01:31 AM Feature #8258: Dir#escape_glob
rkh (Konstantin Haase) wrote:
> `File.fnmatch_escape` would make more sense, imo.
But it would be harder to remem...
headius (Charles Nutter)
12:01 AM Feature #8258: Dir#escape_glob
`File.fnmatch_escape` would make more sense, imo. rkh (Konstantin Haase)
07:53 AM Feature #8096: introduce Time.current_timestamp
On Apr 13, 2013 2:33 AM, "headius (Charles Nutter)" <[email protected]>
wrote:
>
> Any other input here? It ...
phluid61 (Matthew Kerwin)
01:32 AM Feature #8096: introduce Time.current_timestamp
vipulnsward (Vipul Amler) wrote:
> After the conversation, I hope its reasonable implement this.
Indeed!
Any o...
headius (Charles Nutter)
06:23 AM Feature #6693 (Closed): Don't warn for unused variables starting with _
marcandre (Marc-Andre Lafortune)
05:27 AM Feature #7149 (Open): Constant magic for everyone.
I've never needed this, but I could envision a `const_assigned` callback. Whenever a constant is assigned to an objec... marcandre (Marc-Andre Lafortune)
04:59 AM Feature #7149: Constant magic for everyone.
I have put my library in public ( https://github.com/boris-s/y_support ), so I can now exemplify. After installing th... Anonymous
04:31 AM Revision 6e41c7c5 (git): * array.c: rdoc tweak for include?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
04:14 AM Feature #7872 (Rejected): `block_given?` does not work inside `define_method`
I'll mark this request as rejected, as it appears based on the misconception that `block_given?` was `false` while `y... marcandre (Marc-Andre Lafortune)
12:43 AM Feature #7872: `block_given?` does not work inside `define_method`
Rebinding block_given? on define_method might be confusing, as the block might be passed to an API without the user b... rkh (Konstantin Haase)
03:58 AM Bug #8261: module_function for methods of same name
Right. Unlike `private`, `protected`, `public`, the method `module_function` called with no arguments does nothing.
...
marcandre (Marc-Andre Lafortune)
12:55 AM Bug #8261 (Rejected): module_function for methods of same name
Correct behavior. nobu (Nobuyoshi Nakada)
03:51 AM Feature #8262: Confusing "undefined method" exception when using - operator on a string
The thing is that the name of the "unary minus" method is "-@", and what you did was send that to "5".
42.send...
marcandre (Marc-Andre Lafortune)
01:17 AM Feature #8262 (Closed): Confusing "undefined method" exception when using - operator on a string
When trying to use the minus operator (-) on a String, Ruby reports the following exception:
> -"5"
> NoMethodErr...
ajack (Jack Weeden)
03:44 AM Feature #8181: New flag for strftime that supports adding ordinal suffixes to numbers
tkellen (Tyler Kellen) wrote:
> naruse (Yui NARUSE) wrote:
> > tkellen (Tyler Kellen) wrote:
> > > strftime curren...
naruse (Yui NARUSE)
03:08 AM Revision 2106aa19 (git): * lib/matrix.rb: Add Vector#cross_product, patch by Luis Ezcurdia
[fix GH-276] [rubyspec:81eec89a124]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40273 b2dd03c8-39d4-4d8f-98ff-...
Marc-Andre Lafortune
02:33 AM Revision 4123b0d9 (git): ripper/depend: fix out-of-place build
* ext/ripper/depend (ripper.o): fix out-of-place build. probes.h
depends on the platform, so it cannot be in $(top...
nobu (Nobuyoshi Nakada)
01:23 AM Revision aa34b3a5 (git): ChangeLog: revert commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:20 AM Revision a69c74be (git): struct.c: hide member names
* struct.c (rb_struct_define_without_accessor, rb_struct_define),
(rb_struct_s_def): hide member names array.
git...
nobu (Nobuyoshi Nakada)
01:20 AM Revision 5e569078 (git): struct.c: split make_struct
* struct.c (anonymous_struct, new_struct, setup_struct): split
make_struct() for each purpose.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
01:03 AM Feature #8257: Exception#cause to carry originating exception along with new one
rkh (Konstantin Haase) wrote:
> Should there also be a mechanism to rescue based on cause that's transparent of wrap...
headius (Charles Nutter)
12:13 AM Feature #8257: Exception#cause to carry originating exception along with new one
This would indeed be useful. We have built our own solutions for this many times.
Should there also be a mechanism...
rkh (Konstantin Haase)
12:46 AM Revision b4713858 (git): * lib/mkmf.rb: Add ruby/ruby.h, ruby/missing.h, ruby/intern.h,
ruby/st.h and ruby/subst.h for ruby_headers in generated Makefile.
* ext/-test-/old_thread_select/depend: Update dep...
akr (Akira Tanaka)

04/12/2013

11:27 PM Feature #8181: New flag for strftime that supports adding ordinal suffixes to numbers
naruse (Yui NARUSE) wrote:
> tkellen (Tyler Kellen) wrote:
> > strftime currently supports several flags for format...
tkellen (Tyler Kellen)
10:49 PM Feature #8181: New flag for strftime that supports adding ordinal suffixes to numbers
duerst (Martin Dürst) wrote:
> On 2013/04/12 9:07, tkellen (Tyler Kellen) wrote:
>
> > -∞ for ActiveSupport.
>...
tkellen (Tyler Kellen)
05:53 PM Feature #8181: New flag for strftime that supports adding ordinal suffixes to numbers
On 2013/04/12 9:07, tkellen (Tyler Kellen) wrote:

> -∞ for ActiveSupport.
>
> I don't need or want to require t...
duerst (Martin Dürst)
10:49 AM Feature #8181: New flag for strftime that supports adding ordinal suffixes to numbers
tkellen (Tyler Kellen) wrote:
> strftime currently supports several flags for formatting the time output, why not th...
naruse (Yui NARUSE)
09:07 AM Feature #8181: New flag for strftime that supports adding ordinal suffixes to numbers
zzak (Zachary Scott) wrote:
> ActiveSupport has ordinalize, maybe you want to use that instead.
-∞ for ActiveSupp...
tkellen (Tyler Kellen)
10:54 PM Bug #8261 (Rejected): module_function for methods of same name
This affects all versions from 1.8 to 2.0 I have tested.
I'd expect all three examples below to have the same outp...
manveru (Michael Fellinger)
06:42 PM Bug #8256 (Closed): dependency to include/ruby/version.h
This issue was solved with changeset r40261.
Akira, thank you for reporting this issue.
Your contribution to Ruby is ...
akr (Akira Tanaka)
12:45 AM Bug #8256: dependency to include/ruby/version.h
もうちょっと考えたら、common.mk で単に {$(VPATH)}version.h を
$(srcdir)/include/ruby/version.h に変えればいいような気がしてきました。
そうすべきでない理由はある...
akr (Akira Tanaka)
12:19 AM Bug #8256 (Closed): dependency to include/ruby/version.h
気がついたのですが、in-place で ruby を build した場合に
include/ruby/version.h を更新して make しても version.o が更新されません。
以下では、include/ru...
akr (Akira Tanaka)
05:43 PM Feature #8259 (Open): Atomic attributes accessors
Motivated by this gist ((<URL:https://gist.github.com/jstorimer/5298581>)) and atomic gem
I propose Class.attr_ato...
funny_falcon (Yura Sokolov)
05:03 PM Revision 00a1a0e4 (git): merge revision(s) 40250:
fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:45 PM Feature #8110: Regex methods not changing global variables
Crazy idea: what if in the future you needed to set $~ to nil in order for it to be settable by downstream calls (e.g... headius (Charles Nutter)
01:53 PM Feature #8110: Regex methods not changing global variables
=begin
sam.saffron (Sam Saffron) wrote:
> sorry, I really did not mean to say the language should ship a crazy _G
...
phluid61 (Matthew Kerwin)
01:40 PM Feature #8110: Regex methods not changing global variables
sorry, I really did not mean to say the language should ship a crazy _G macro it was just a simple polyfill in the ap... sam.saffron (Sam Saffron)
01:23 PM Feature #8110: Regex methods not changing global variables
=begin
sam.saffron (Sam Saffron) wrote:
> Has anyone given any thought at how to make this friendly with older
>...
phluid61 (Matthew Kerwin)
12:06 PM Feature #8110: Regex methods not changing global variables
Has anyone given any thought at how to make this friendly with older versions of Ruby ... say I have
```ruby
def...
sam.saffron (Sam Saffron)
03:23 PM Revision 6e9c0251 (git): * ext/etc/etc.c: fix struct name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:16 PM Revision 1657cbab (git): * 2013-04-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:16 PM Revision 1e4b2f9b (git): etc.c: Etc namespace
* ext/etc/etc.c (Init_etc): move Passwd and Group under Etc namespace
as primary names.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
12:07 PM Revision 3033b3ae (git): * common.mk: pack.o depends on internal.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:01 PM Revision 16a2acca (git): * bignum.c (ones): Use __builtin_popcountl if available.
* internal.h (GCC_VERSION_SINCE): Macro moved from pack.c.
* pack.c: Include internal.h for GCC_VERSION_SINCE.
gi...
akr (Akira Tanaka)
11:21 AM Bug #8203: Rinda: recycled object
再現しないと書きましたが、実は DRb.here? の誤判定は起きていて _id2ref でたまたま同じ object_id のオブジェクトがあったのでエラーにならず、また TupleSpace#write の戻り値を利用していないの... nagachika (Tomoyuki Chikanaga)
10:55 AM Bug #8203: Rinda: recycled object
おそらくですが、DRb.here? が誤判定していてリモートのオブジェクト(TupleEntry)の参照をカレントプロセス(子プロセス)のオブジェクトと思って object_id から ObjectSpace._id2ref でオブジ... nagachika (Tomoyuki Chikanaga)
10:05 AM Feature #8258 (Feedback): Dir#escape_glob
This is inspired by https://github.com/rails/rails/issues/6010.
Basically, if you do a Dir.glob in a directory who...
steveklabnik (Steve Klabnik)
09:42 AM Revision 3da83480 (git): * common.mk: version.o depends on $(srcdir)/include/ruby/version.h
instead of {$(VPATH)}version.h to avoid confusion by VPATH between
top level version.h and include/ruby/version.h f...
akr (Akira Tanaka)
06:21 AM Revision 2674f9a8 (git): vm_insnhelper.c: non-symbol key
* vm_insnhelper.c (vm_callee_setup_keyword_arg): non-symbol key is not
a keyword argument, keep it as an positional...
nobu (Nobuyoshi Nakada)
05:02 AM Feature #8229: extend Hash.include?
As a feature that affects all Ruby implementations, this should probably move to CommonRuby: https://bugs.ruby-lang.o... headius (Charles Nutter)
05:01 AM Feature #8237: Logical method chaining via inferred receiver
As a feature that affects all Ruby implementations, this should probably move to CommonRuby: https://bugs.ruby-lang.o... headius (Charles Nutter)
05:00 AM Feature #8246: Hash#traverse
As a feature that affects all Ruby implementations, this should probably move to CommonRuby: https://bugs.ruby-lang.o... headius (Charles Nutter)
04:59 AM Feature #7604: Make === comparison operator ability to delegate comparison to an argument
As a feature that affects all Ruby implementations, this should probably move to CommonRuby: https://bugs.ruby-lang.o... headius (Charles Nutter)
01:38 AM Feature #7604: Make === comparison operator ability to delegate comparison to an argument
I'have started working on it (first I have to handle switch to 2.0 on my machine). Anonymous
04:53 AM Feature #8168: Feature request: support for (single) statement lambda syntax/definition
As a feature that affects all Ruby implementations, this should probably move to CommonRuby: https://bugs.ruby-lang.o... headius (Charles Nutter)
04:11 AM Feature #8168: Feature request: support for (single) statement lambda syntax/definition
Oops except then they are symbols. Darn, too much to worry about... garysweaver (Gary Weaver)
04:11 AM Feature #8168: Feature request: support for (single) statement lambda syntax/definition
Thinking about it a bit more, I guess it would have to be context sensitive. Just some character that is parsed when ... garysweaver (Gary Weaver)
03:47 AM Feature #8168: Feature request: support for (single) statement lambda syntax/definition
@matz, You know best. :) !! I know that this request varies a bit when you consider that stab is a function call, but... garysweaver (Gary Weaver)
04:48 AM Feature #8257: Exception#cause to carry originating exception along with new one
Links to implementation of "cause" rendering and Kernel#raise logic from Rubinius:
"cause" rendering: https://gith...
headius (Charles Nutter)
01:40 AM Feature #8257 (Closed): Exception#cause to carry originating exception along with new one
Often when a lower-level API raises an exception, we would like to re-raise a different exception specific to our API... headius (Charles Nutter)
02:59 AM Revision 9ef4e134 (git): * array.c: Document synonymous methods, by windwiny [GH-277]
* bignum.c: ditto
* complex.c: ditto
* dir.c: ditto
* encoding.c: ditto
* enumerator.c: ditto
* numeric.c: ditto
* pr...
zzak (zzak _)
01:52 AM Bug #8255: File#each_line omits last byte (==\0) if encoding is utf-16
Just FYI, you can propose transparent treatment along UTF-16 series ;-) naruse (Yui NARUSE)
01:21 AM Bug #8255 (Closed): File#each_line omits last byte (==\0) if encoding is utf-16
Sorry, I've only changed 'rb:utf-16le' when I wrote above comments.
It's running fine if I chaned 'wb:utf-16le' when...
arton (Akio Tajima)
01:15 AM Bug #8255: File#each_line omits last byte (==\0) if encoding is utf-16
Attachment is the fixed version of test I'd expected the behaviour. arton (Akio Tajima)
01:13 AM Bug #8255: File#each_line omits last byte (==\0) if encoding is utf-16
OK, I've fixed my test code. It had some bugs and change the 2nd arg of File#open to 'rb:UTF-16LE'.
Invoking Strin...
arton (Akio Tajima)
12:11 AM Bug #8255: File#each_line omits last byte (==\0) if encoding is utf-16
This is because
* UTF-16 is dummy encoding; you must use UTF-16BE, UTF-16LE, or BOM|UTF-* specifier; OR some other t...
naruse (Yui NARUSE)
12:32 AM Revision c37d5e7c (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
 

Also available in: Atom