Project

General

Profile

Activity

From 03/09/2016 to 03/15/2016

03/15/2016

11:23 PM Feature #12173: `Time#till_now`
I think it would be best for these `from_now` and `until_now` methods to return a Time object rather than a Float. elifoster (Eli Clemente Gordillo Foster)
08:21 AM Feature #12173: `Time#till_now`
Tsuyoshi Sawada wrote:
> It is very frequent to have a time instance:
>
> ~~~RUBY
> t = Time.now
> ~~~
>
> a...
Eregon (Benoit Daloze)
04:54 AM Feature #12173: `Time#till_now`
Tsuyoshi Sawada wrote:
> That is a homonym (as well as a homograph) of the word in question.
I also think "till" ...
avit (Andrew Vit)
01:41 AM Feature #12173: `Time#till_now`
2016-03-14 21:06 GMT-04:00 <[email protected]>:
> Issue #12173 has been updated by Matthew Kerwin.
>
>
> Ts...
kosaki (Motohiro KOSAKI)
01:06 AM Feature #12173: `Time#till_now`
Tsuyoshi Sawada wrote:
> Matthew Kerwin wrote:
> > *till* means cash register, or to plough soil.
>
> That is a ...
phluid61 (Matthew Kerwin)
12:32 AM Feature #12173: `Time#till_now`
Matthew Kerwin wrote:
> *till* means cash register, or to plough soil.
That is a homonym (as well as a homograph)...
sawa (Tsuyoshi Sawada)
12:10 AM Feature #12173: `Time#till_now`
Tsuyoshi Sawada wrote:
> Matthew Kerwin wrote:
> > Please note that "till_now" is not correct spelling; it should b...
phluid61 (Matthew Kerwin)
10:19 PM Bug #12146: Some between gem pg, postgresql and rails seems broken: active_record/connection_adapters/postgresql/database_statements.rb:155: [BUG] Segmentation fault at 0x00000000000000
Hello Nobuyoshi Nakada. I been trying to solve this trouble, but my experience is limited. Do you know what causes th... dieglock (Diego Carlock)
08:58 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> > The most exciting thing for me is that better hash tables can improve the performance of rea...
vmakarov (Vladimir Makarov)
08:13 PM Feature #12142: Hash tables with open addressing
> The most exciting thing for me is that better hash tables can improve the performance of real applications.
So t...
funny_falcon (Yura Sokolov)
07:37 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> Murmur is not used for Hash, cause it is target for hashDoS - it has seed independent collisio...
vmakarov (Vladimir Makarov)
06:26 PM Feature #12142: Hash tables with open addressing
>> I made the entries array is cyclical to exclude overhead of table
compaction or/and table size change for usage t...
funny_falcon (Yura Sokolov)
06:23 PM Feature #12142: Hash tables with open addressing
Murmur is not used for Hash, cause it is target for hashDoS - it has seed independent collisions.
City64 also has se...
funny_falcon (Yura Sokolov)
04:34 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> Good day, everyone.
>
> I'm presenting my (pre)final version of patch.
Thanks. I'll i...
vmakarov (Vladimir Makarov)
01:30 PM Feature #12142: Hash tables with open addressing
Good day, everyone.
I'm presenting my (pre)final version of patch.
It passes all tests and redmine works on it wi...
funny_falcon (Yura Sokolov)
08:06 PM Feature #12125: Proposal: Shorthand operator for Object#method
-1000
Please, don't!!!
I don't wonna Ruby to become Perl!!!
No more unnecessary syntax!!!
You all are not...
funny_falcon (Yura Sokolov)
07:56 PM Feature #12125: Proposal: Shorthand operator for Object#method
Yusuke Endoh wrote:
> Nobuyoshi Nakada wrote:
> > Yusuke Endoh wrote:
> > > +1 for this proposal. How about `recv...
Papierkorb (Stefan Merettig)
03:41 AM Feature #12125: Proposal: Shorthand operator for Object#method
Nobuyoshi Nakada wrote:
> Yusuke Endoh wrote:
> > +1 for this proposal. How about `recv.:fname`?
>
> `dot_or_co...
mame (Yusuke Endoh)
01:35 AM Feature #12125: Proposal: Shorthand operator for Object#method
Yusuke Endoh wrote:
> +1 for this proposal. How about `recv.:fname`?
`dot_or_colon` means that `File:::basename`...
nobu (Nobuyoshi Nakada)
07:11 PM Feature #12180: switch id_table.c variant
Well, in fact '22' implementation (`simple open addressing with quadratic probing`) is even faster:
`Requests per ...
funny_falcon (Yura Sokolov)
06:51 PM Feature #12180 (Closed): switch id_table.c variant
Currently used variant is 'binary search in small table + hash for large tables'.
But for contemporary CPU it may be...
funny_falcon (Yura Sokolov)
05:19 PM Bug #12179 (Open): Build failure due to VPATH expansion
On my environment (GNU Make 4.1), I can reproduce in this way:
~~~sh
cd /tmp
svn co http://svn.ruby-lang.org/rep...
rhenium (Kazuki Yamaguchi)
04:42 PM Feature #11955: Expose Object that Receives logs in Logger
Anything else that needs to be done for this patch? schneems (Richard Schneeman)
04:21 PM Bug #12095: ruby_vm_at_exit can sometime cause a crash.
Thank you for the feedback nobu!
Attached is an updated version of the patch with the changes.
evanphx (Evan Phoenix)
03:46 AM Bug #12095: ruby_vm_at_exit can sometime cause a crash.
Thank you for the investigation and the patch, I've missed this.
you should:
* `free` the list in `ruby_vm_run_...
nobu (Nobuyoshi Nakada)
02:47 AM Bug #12095: ruby_vm_at_exit can sometime cause a crash.
Attached is a patch that fixes this issue by replacing the troublesome usage of a VALUE to store the at_exit function... evanphx (Evan Phoenix)
12:11 AM Bug #12095: ruby_vm_at_exit can sometime cause a crash.
I'm hitting this as well, and looking over the code in question on 2.3.0, I wondering if the problem is that the at_e... evanphx (Evan Phoenix)
02:37 PM Bug #12178 (Closed): Enumerable#inject(:+) doesn't respect redefined Fixnum#+
Fixed at r54122 akr (Akira Tanaka)
11:58 AM Bug #12178 (Closed): Enumerable#inject(:+) doesn't respect redefined Fixnum#+
r54120以降、Fixnum#+ を再定義している場合(する奴はいないとは思うものの)、inject(:+) の中で再定義後のメソッドが呼ばれなくなります。
```
C:\> ruby -ve "class Fixnum; ...
usa (Usaku NAKAMURA)
12:53 PM Revision 32674b16 (git): * enum.c (enum_inject): Consider redefinition of Fixnum#+.
[ruby-dev:49510] [Bug#12178] Reported by usa.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54122 b2dd03c8-39d...
akr (Akira Tanaka)
12:47 PM Revision da9b5e9c (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:42 AM Revision 43e20c6a (git): * enum.c (enum_inject): Implement the specialied code for :+ operator
for Fixnums.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:27 AM Revision 95d2ec93 (git): * enum.c (enum_inject): Implement the specialized code for self is an
array and a symbol operator is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54119 b2dd03c8-39d4-4d8f-98...
akr (Akira Tanaka)
11:27 AM Bug #12177 (Closed): Using `if:` as symbol in hash with new hash syntax in irb console is not working
Try running **irb** and past this in:
~~~
# This works
class TestClass
@_alerts_config = {}
class << sel...
nielsks (Niels Kristian)
08:50 AM Feature #12134: Comparison between `true` and `false`
Martin Dürst wrote:
> Tsuyoshi Sawada wrote:
>
> > Please do not confuse this with the common proposal to map boo...
sawa (Tsuyoshi Sawada)
08:14 AM Feature #12133: Ability to exclude start when defining a range
Combination of different parens would be problematic for many reasons, e.g., editors.
Maybe, neko operator in Perl6?
nobu (Nobuyoshi Nakada)
06:57 AM Feature #12133 (Feedback): Ability to exclude start when defining a range
Do you have any practical situation where this is useful? The proposed grammar is ultra-hard to implement at sight (... shyouhei (Shyouhei Urabe)
07:29 AM Revision e89232eb (git): * enc/unicode.c: Eliminating common code.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
07:17 AM Revision 8679f113 (git): * enc/unicode.c: Expansion of some code repetition in preparation for
elimination of common code pieces.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54117...
duerst (Martin Dürst)
07:02 AM Revision ed921b85 (git): gc.c: mark_stack_locations
* gc.c (mark_stack_locations): extract the common part from
mark_current_machine_context and rb_gc_mark_machine_sta...
nobu (Nobuyoshi Nakada)
06:42 AM Revision d4248739 (git): gc.c: rb_objspace_of
* gc.c (rb_objspace_of): macro to get the objspace from a thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
06:42 AM Revision cbfe564e (git): gc.c: expand a local macro
* gc.c (mark_current_machine_context, rb_gc_mark_machine_stack):
expand rb_gc_mark_locations local macro.
git-svn-...
nobu (Nobuyoshi Nakada)
06:17 AM Bug #12109: Exception during class load can cause partially-loaded class
You can write virtually anything inside a class definition. I don't think it's practically possible to revert all op... shyouhei (Shyouhei Urabe)
06:03 AM Bug #12105 (Third Party's Issue): JSON.pretty_generate throws a TypeError when there is a BigDecimal object as a value
It works for me. Can you narrow the condition to reproduce yours?
~~~
zsh % rbenv exec irb
irb(main):001:0> RUB...
shyouhei (Shyouhei Urabe)
05:58 AM Bug #12176: method equality of aliased methods breakage on 2.3
I think it is a bug. nobu (Nobuyoshi Nakada)
04:57 AM Bug #12176 (Closed): method equality of aliased methods breakage on 2.3
Is this intentional?
~~~ruby
zsh % cat tmp.rb
module Foo
def foo
return __callee__
end
end
class ...
shyouhei (Shyouhei Urabe)
04:49 AM Revision 10fa31a6 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:49 AM Revision 00cc59a0 (git): * enc/unicode.c: Additional macros and code to use mapping data in
CaseMappingSpecials array.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54112 b2dd03c...
duerst (Martin Dürst)
04:41 AM Revision 5d6349ae (git): internal.h: private rb_gc_mark_global_tbl
* internal.h (rb_gc_mark_global_tbl): should be private,
but was accidentally exported.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
03:51 AM Bug #12143 (Closed): [DOC] Fix RDoc markup in doc/extension*.rdoc
Applied in changeset r54110.
----------
* doc/extension.ja.rdoc: Fix RDoc markup in doc/extension*.rdoc.
[ci skip]...
hsbt (Hiroshi SHIBATA)
03:51 AM Revision e4e7ed03 (git): * doc/extension.ja.rdoc: Fix RDoc markup in doc/extension*.rdoc.
[ci skip][Bug #12143][ruby-core:74143]
* doc/extension.rdoc: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
hsbt (Hiroshi SHIBATA)
03:16 AM Bug #12073 (Closed): local variable interferes with keyword arguments
Sean Linsley wrote:
> This is also an issue with array destructuring:
You are warned.
```
$ ruby -w -e 'def a...
nobu (Nobuyoshi Nakada)
12:30 AM Bug #12073: local variable interferes with keyword arguments
This is also an issue with array destructuring:
```ruby
def a(*b)
b
end
a = [1,2,3]
a a
=> [[1, 2, 3]...
seanlinsley (Sean Linsley)
03:14 AM Bug #12170 (Closed): Malformed RDoc syntax in Kernel#catch description
Applied at r54089 hsbt (Hiroshi SHIBATA)
02:56 AM Misc #12122 (Closed): Array Documentation (set intersection, union)
Merged at r53958 hsbt (Hiroshi SHIBATA)
02:30 AM Bug #12174 (Rejected): Interpolation ignores `to_s` (and `inspect`) when `to_s` is defined to `nil`.
Yes, to be interpolated into a string, `to_s` must return a string.
Non-string object cannot be concatenated to a st...
nobu (Nobuyoshi Nakada)
12:56 AM Revision 8709f42f (git): * time.c: Minor typo in Time#dst? documentation.
[ci skip][fix GH-1290]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:47 AM Revision 4511af87 (git): test_marshal.rb: use assert_ruby_status
* test/ruby/test_marshal.rb (test_marshal_load_extended_class_crash):
use assert_ruby_status to deal with signals, ...
nobu (Nobuyoshi Nakada)
12:28 AM Revision f5074060 (git): test_rubyoptions.rb: VERSION_PATTERN
* test/ruby/test_rubyoptions.rb (VERSION_PATTERN): make the
pattern at loading, and escape regexp meta characters.
...
nobu (Nobuyoshi Nakada)

03/14/2016

11:09 PM Bug #12175 (Closed): rb_gc_mark prevents the value from being garbage collected if called outside of a GC cycle
I had some code that called rb_gc_mark in an initializer function instead of in the corresponding mark function, and ... murgatroid99 (Michael Lumish)
10:52 PM Bug #12174: Interpolation ignores `to_s` (and `inspect`) when `to_s` is defined to `nil`.
The description was too specific. Whenever `to_s` is defined to be not a string, the issue arises. sawa (Tsuyoshi Sawada)
05:36 PM Bug #12174 (Rejected): Interpolation ignores `to_s` (and `inspect`) when `to_s` is defined to `nil`.
When `to_s` is defined to return `nil`, interpolation prints the original inspection.
~~~RUBY
class A
def to_s...
sawa (Tsuyoshi Sawada)
10:24 PM Feature #12173: `Time#till_now`
Matthew Kerwin wrote:
> Please note that "till_now" is not correct spelling; it should be "until_now" or "til_now"
...
sawa (Tsuyoshi Sawada)
08:55 PM Feature #12173: `Time#till_now`
This is related to (but different from) #8640, #8096 phluid61 (Matthew Kerwin)
08:41 PM Feature #12173: `Time#till_now`
I would use both of these if they existed, and have defined my own equivalent versions in past projects.
Please no...
phluid61 (Matthew Kerwin)
07:48 PM Feature #12173: `Time#till_now`
This can also be used to wait until a preset time:
~~~RUBY
target_time = Time.new(2017, 1, 1, 0, 0, 0)
sleep(-ta...
sawa (Tsuyoshi Sawada)
04:57 PM Feature #12173 (Open): `Time#till_now`
It is very frequent to have a time instance:
~~~RUBY
t = Time.now
~~~
and then after some operations, do:
...
sawa (Tsuyoshi Sawada)
07:39 PM Revision c5228393 (git): * test/ruby/test_rubyoptions.rb (test_disable): add tests for
--disable-gems and --disable-did_you_mean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54106 b2dd03c8-39d4-4d8...
headius (Charles Nutter)
07:03 PM Feature #12026: Support warning processor
Since this will be discussed tomorrow at the developers meeting, here's a more detailed example of how this can be us... jeremyevans0 (Jeremy Evans)
06:36 PM Revision fa0e3764 (git): * marshal.c (r_object0): Fix Marshal crash for corrupt extended object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
06:09 PM Feature #12092: Allow Object#clone to yield cloned object before freezing
Since this will be discussed tomorrow at the developers meeting, here's a more detailed example of how this can be us... jeremyevans0 (Jeremy Evans)
04:46 PM Feature #12125: Proposal: Shorthand operator for Object#method
+1 for this proposal. How about `recv.:fname`?
~~~
$ ./miniruby -e 'p Dir["*/*.c"].map(&File.:basename)'
["hypo...
mame (Yusuke Endoh)
01:44 AM Feature #12125: Proposal: Shorthand operator for Object#method
It would be nice if we could find symmetric syntax for getting an `UnboundMethod` from a module. jwmittag (Jörg W Mittag)
01:42 AM Feature #12125: Proposal: Shorthand operator for Object#method
A proposal that has existed for years, if not decades, is to deprecate usage of the `::` double colon binary infix na... jwmittag (Jörg W Mittag)
04:24 PM Revision 4358ff46 (git): * 2016-03-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:24 PM Revision a4e97af6 (git): * test/ruby/test_rubyoptions.rb: make version matching support
JRuby's version output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
headius (Charles Nutter)
01:30 PM Feature #12172 (Closed): Array#max and Array#min
I propose to define `Array#max`. It is 10+ times faster than `Enumerable#max` since it skips a call to `#each`.
~...
mame (Yusuke Endoh)
10:14 AM Revision 3d5a3a23 (git): * bignum.c (big2str_2bdigits): reduce div instruction.
Fix the code so that C compiler unify div instructions of `%` and `/`.
Before:
4291b0: 48 89 f0 ...
naruse (Yui NARUSE)
09:55 AM Bug #9905 (Closed): Fiber does not work on AIX
Change status as Closed to enqueue backport. naruse (Yui NARUSE)
09:39 AM Revision 4b15b54d (git): * include/ruby/oniguruma.h, enc/unicode.c: Adjusting flag assignments
and macros to work with unified CaseMappingSpecials array.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-l...
duerst (Martin Dürst)
07:53 AM Revision ea5e885a (git): optimize named capture assignment
* compile.c (compile_named_capture_assign): optimize named capture
assignments, by replacing repeating global varia...
nobu (Nobuyoshi Nakada)
07:03 AM Revision a4e6f7d7 (git): ruby.c: reduce fstat
* file.c (ruby_is_fd_loadable): now return -1 if loadable but
may block.
* ruby.c (open_load_file): wait to read by...
nobu (Nobuyoshi Nakada)
04:41 AM Revision fcadcd3e (git): * numeric.c (fix2str): improve r54092 like rb_int2big().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:35 AM Feature #12129: syntactic sugar for dynamic method dispatch `object_expression:method_name_expression(1, 2)`
bug hit wrote:
> Yukihiro Matsumoto wrote:
>> Describe more concretely and preferably tell us why do you need it, p...
jwmittag (Jörg W Mittag)
01:32 AM Feature #12141: send and __send__
Martin Dürst wrote:
> I agree with Yusuke. The name `__send__` is chosen explicitly to show that this is an 'interna...
jwmittag (Jörg W Mittag)
01:31 AM Bug #12069: [PATCH] document OpenSSL::SSL::SSLContext#setup as MT-unsafe
Committed with a minor wording change as r54097
s/SSLSockets/SSLSocket objects/ for searchability
normalperson (Eric Wong)
01:20 AM Bug #12069 (Closed): [PATCH] document OpenSSL::SSL::SSLContext#setup as MT-unsafe
Applied in changeset r54097.
----------
document OpenSSL::SSL::SSLContext#setup as MT-unsafe
On a cursory inspectio...
Anonymous
01:20 AM Revision 9749511d (git): document OpenSSL::SSL::SSLContext#setup as MT-unsafe
On a cursory inspection, using rb_block_call for extra_chain_cert
is thread-unsafe. There may be other instances of ...
Eric Wong
12:41 AM Bug #12163 (Rejected): New to redmine & ruby, cannot get it to install
This is not language issue.
You need to setup development files like headers and shared libraries.
hsbt (Hiroshi SHIBATA)

03/13/2016

04:26 PM Revision bd618911 (git): * 2016-03-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:26 PM Revision 3392b6c9 (git): parse.y: adjust indent
* parse.y: adjust indent and tabify spaces after tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54095 b2dd0...
nobu (Nobuyoshi Nakada)
09:50 AM Feature #12161 (Assigned): Friendly BigDecimal#inspect
mrkn (Kenta Murata)
12:43 AM Bug #12171 (Closed): TestFile#test_file_share_delete failure
Applied in changeset r54094.
----------
win32.h: fix O_SHARE_DELETE
* include/ruby/win32.h (O_SHARE_DELETE): change...
nobu (Nobuyoshi Nakada)
12:43 AM Revision e13db770 (git): win32.h: fix O_SHARE_DELETE
* include/ruby/win32.h (O_SHARE_DELETE): change to fit Fixnum
limit. [ruby-core:74285] [Bug #12171]
git-svn-id: s...
nobu (Nobuyoshi Nakada)
12:15 AM Revision f0d1787a (git): * 2016-03-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:15 AM Revision 05d91641 (git): numeric.c: fix edge case
* numeric.c (rb_fix2str): fix edge case, accidentally generated
wrong Fixnum from LONG_MIN.
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)

03/12/2016

11:33 AM Bug #12171 (Closed): TestFile#test_file_share_delete failure
I got an failure in Mingw-w64 32bit.
~~~
1) Failure:
TestFile#test_file_share_delete [E:/Jenkins/jobs/RubyInstal...
moritat (Tsuyoshi Morita)
10:55 AM Feature #12165: Hash#first, Hash#last
Yes, I would concur considering that ruby hashes are ordered these days.
It may have been different in the past wh...
shevegen (Robert A. Heiler)
10:51 AM Bug #12163: New to redmine & ruby, cannot get it to install
I am not sure if this is the appropriate forum Dawes? Since this is for the ruby core team to
have a look at what ai...
shevegen (Robert A. Heiler)
08:01 AM Feature #12110: Create a method to avoid vacuous truth?
Nobuyoshi Nakada wrote:
> Anybody proposed an optional parameter for the default value to `#all?` and `#any?` ?
...
sawa (Tsuyoshi Sawada)
07:06 AM Feature #12110: Create a method to avoid vacuous truth?
Anybody proposed an optional parameter for the default value to `#all?` and `#any?` ?
nobu (Nobuyoshi Nakada)
01:35 AM Revision 8b4448e2 (git): unicode.c: off-by-one error
* enc/unicode.c (CodePointListValidP): fix off-by-one error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54091...
nobu (Nobuyoshi Nakada)
01:15 AM Revision d48f9236 (git): unicode.c: boundary check
* enc/unicode.c (CodePointListValidP): add pathological boundary
check, for gcc 4.9.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
12:50 AM Revision 12ec73ad (git): Malformed RDoc syntax in catch [ci skip]
* vm_eval.c (rb_f_catch): [DOC] fix malformed RDoc syntax, "+...+"
cannot enclose non-identifier characters.
a pa...
nobu (Nobuyoshi Nakada)

03/11/2016

06:32 PM Feature #3944: Add Fiber#root? method
For example, the Facebook Graph API server accepts POST request to calculate smth heavy and returns id of the 'async ... Nakilon (Victor Maslov)
05:58 PM Revision 2d6f1d90 (git): * 2016-03-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:58 PM Revision db271576 (git): * test/lib/test/unit.rb: describe !/REGEXP/ in the help message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:07 PM Bug #12170 (Closed): Malformed RDoc syntax in Kernel#catch description
Patch attached. skalee (Sebastian Skalacki)
01:05 PM Bug #12169 (Rejected): How to solve the following error - An error occurred while sending the digest (undefined method `length' for true:TrueClass)
It's redmine or some plugin issue. Not ruby language issue. hsbt (Hiroshi SHIBATA)
12:14 PM Bug #12169 (Rejected): How to solve the following error - An error occurred while sending the digest (undefined method `length' for true:TrueClass)
Steps to reproduce
1)Install Redmine 3
2)Install redmine_digest
3)Navigate to plugins
4)Configure redmine digest...
shruthi (shruthi ss)
08:03 AM Revision 83e36bb5 (git): testunit: negative filter
* test/lib/test/unit.rb (Options#non_options): make regexp name
options prefixed with "!" negative filters.
* commo...
nobu (Nobuyoshi Nakada)
07:11 AM Revision 59766643 (git): * enc/unicode/case-folding.rb, casefold.h: Streamlining approach to
case mapping data not available from case folding by unifying all
three cases (special title, special upper, specia...
duerst (Martin Dürst)
03:30 AM Revision a2b88f53 (git): Revert r54082 "ruby.c: load in binary mode"
DATA is expected to be text mode, but there is no ways to make a
FD to text mode from binary mode.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
01:47 AM Revision 50dd7358 (git): * 2016-03-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:47 AM Revision d661eb44 (git): ruby.c: load in binary mode
* ruby.c (open_load_file): always open in binary mode if provided,
parser deals with CRs.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
12:42 AM Bug #12164: Binding UnboundMethod to BasicObject
"Yes" was to
> Probably it is somehow related to https://bugs.ruby-lang.org/issues/11278
I guess it's a bug-fix, ...
nobu (Nobuyoshi Nakada)
12:21 AM Bug #9905: Fiber does not work on AIX
Could you back-port this to 2.1 as well? Thanks. ReiOdaira (Rei Odaira)
12:16 AM Bug #12168 (Closed): Backport r48224 to 2.1
This is a ticket to back-port r48224 (and the fixes on which it depends) to 2.1. Ruby 2.1 gets stuck in test/openssl/... ReiOdaira (Rei Odaira)

03/10/2016

08:00 PM Bug #12167 (Closed): Backport r54025 (Avoid false positive in an IMAP test)
This is a ticket to back-port r54025 to 2.3. ReiOdaira (Rei Odaira)
07:46 PM Bug #12166 (Closed): Backport r54073 (AIX does not set MSG_TRUC for recvmsg(2) with MSG_PEEK)
This is a ticket to back-port r54073 to 2.3. ReiOdaira (Rei Odaira)
06:00 PM Feature #12165 (Open): Hash#first, Hash#last
Just run into a simple problem with a colleague and was wondering why there is no Hash#last method?
~~~ruby
{a: t...
stillhart (Fabian Stillhart)
02:04 PM Bug #12164: Binding UnboundMethod to BasicObject
Nobuyoshi Nakada wrote:
> Yes.
Thank you! Well... a feature?
decuplet (Nikita Shilnikov)
01:16 PM Bug #12164 (Closed): Binding UnboundMethod to BasicObject
Yes. nobu (Nobuyoshi Nakada)
11:22 AM Bug #12164 (Closed): Binding UnboundMethod to BasicObject
I tried to bind method from Object to BasicObject and I suddenly succeeded.
For example:
```
$ irb
2.3.0 :001 ...
decuplet (Nikita Shilnikov)
09:41 AM Feature #12110: Create a method to avoid vacuous truth?
Martin Dürst wrote:
> But this isn't so much because that's how natural language works.
That is how natural langu...
sawa (Tsuyoshi Sawada)
09:06 AM Feature #12110: Create a method to avoid vacuous truth?
Tsuyoshi Sawada wrote:
> In natural language, universal quantification carries a presupposition that the domain is...
duerst (Martin Dürst)
07:24 AM Feature #12110: Create a method to avoid vacuous truth?
Thanks Martin and Tsuyoshi,
Yes, all of this makes sense when you just look at it the right way.
Otherwise this...
avit (Andrew Vit)
08:34 AM Revision cf09c0c3 (git): iseq.h: coverage_enabled flag
* iseq.c (prepare_iseq_build): enable coverage by coverage_enabled
option, not by parse_in_eval flag in the thread ...
nobu (Nobuyoshi Nakada)
07:27 AM Revision 2d39d114 (git): node.c: no nd_compile_option unless set
* node.c (dump_node): show nd_compile_option only when it is set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
07:27 AM Revision 72b3e226 (git): node.c: stringize before expansion
* node.c (F_NODE, F_OPTION): stringize member names defined as
macros before expansion.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
07:06 AM Revision 46ac76b6 (git): iseq.h: bit flags
* iseq.h (rb_compile_option_struct): turn boolean flags to bit
fields.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
06:59 AM Feature #12157: Is the option hash necessary for future Rubys?
**Edited:**
_Tsuyoshi Sawada_: how do you feel about those edge cases dealing with the double splat? Do you know of ...
justcolin (Colin Fulton)
05:58 AM Feature #12157: Is the option hash necessary for future Rubys?
Note that optional hash is not just for arguments in method call. It is also used for arrays, for example:
["a...
sawa (Tsuyoshi Sawada)
06:19 AM Revision a944bdd5 (git): node.c: hidden options hash
* node.c (dump_option): nd_compile_option is a hidden hash object,
cannot call inspect on it.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
05:32 AM Revision 9871d88e (git): iseq.c: set coverage at once
* iseq.c (prepare_iseq_build): set coverage at once, not
repeatedly resetting.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
05:32 AM Revision c3900ff4 (git): thread.c: check type of coverage
* thread.c (update_coverage): check type of coverage array not
only if non-zero.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
04:10 AM Feature #12160: Extract XMLRPC library to bundled gem
As the lib/xmlrpc maintainer, I missed these issues. Sorry and thanks for handling them.
I handled issues I notice...
kou (Kouhei Sutou)
12:55 AM Revision e266279a (git): * 2016-03-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:55 AM Revision acfd12ae (git): * test/socket/test_socket.rb (test_udp_recvmsg_truncation):
AIX does not set the MSG_TRUNC flag for a message partially read
by recvmsg(2) with the MSG_PEEK flag set.
git-svn...
Rei Odaira
12:07 AM Bug #12022: Inconsistent behavior with splatted named arguments
_NOTE_: I did find a "cleaner" way to do the decorator mentioned in the **Further Information** section, but it uses ... justcolin (Colin Fulton)

03/09/2016

11:56 PM Feature #12157: Is the option hash necessary for future Rubys?
# Examples
Currently Ruby has syntactic sugar to make passing a Hash as a final argument prettier. Consider the fo...
justcolin (Colin Fulton)
09:49 PM Feature #12157: Is the option hash necessary for future Rubys?
An option hash is just an optional argument with a default value of the empty hash. You can't really remove options h... jeremyevans0 (Jeremy Evans)
09:25 PM Feature #12157: Is the option hash necessary for future Rubys?
Sorry, I accidentally marked this as a bug. Moving it to features. justcolin (Colin Fulton)
10:25 PM Feature #11997: A method to read a file with interpolations
As far as implementation, `File.eval` doesn't feel right since you may want any `IO` object—or any object with `#read... justcolin (Colin Fulton)
09:49 PM Feature #11997: A method to read a file with interpolations
~~I agree that ERB is ugly for a lot of cases, but—since there is a one liner to write this in Ruby—I don't think it ... justcolin (Colin Fulton)
09:41 PM Feature #12084: `Class#instance`
This feature would solve a lot of problems I had while doing what should have been simple meta-programming (if there ... justcolin (Colin Fulton)
07:39 PM Bug #12163 (Rejected): New to redmine & ruby, cannot get it to install
Installation output for redmine 3.2.0:
[root@localhost redmine]# /usr/local/bin/bundle install --without developmen...
GREYHELM (Dawes Graybeal)
03:25 PM Bug #12054: Remove block from Logger.add as it's not needed
r53790 and r53844 were backported into `ruby_2_2` branch at r54072. nagachika (Tomoyuki Chikanaga)
03:25 PM Revision 3d3ff04b (git): merge revision(s) 53790,53844: [Backport #12054]
* lib/logger.rb: Remove block from Logger.add as it's not needed
patch provided by Daniel Lobato Garcia [fi...
nagachika (Tomoyuki Chikanaga)
03:21 PM Bug #11495: [Documentation] Please improve documentation for Regexp.new() and clarify the 3 argument call
r51006 and r53784 were backported into `ruby_2_2` branch at r54071. nagachika (Tomoyuki Chikanaga)
03:20 PM Revision 3e7a554e (git): merge revision(s) 51006,53784: [Backport #11495]
* re.c: Update documentation for Regexp class.
[fix GH-937][ci skip] Patch by @davydovanton
* re.c...
nagachika (Tomoyuki Chikanaga)
03:15 PM Bug #11877: Socket.gethostname will fail when the hostname length == RUBY_MAX_HOST_NAME_LEN
Backported into `ruby_2_2` branch at r54070. nagachika (Tomoyuki Chikanaga)
03:14 PM Revision f548ea1f (git): merge revision(s) 53677: [Backport #11877]
* ext/socket/socket.c (sock_gethostname): support unlimited size
hostname.
git-svn-id: svn+ssh://ci.ruby-...
nagachika (Tomoyuki Chikanaga)
03:05 PM Bug #12162 (Third Party's Issue): OpenSSL::PKCS7 seems to create broken objects (nested asn.1 error)
When trying to read previously created OpenSSL::PKCS7 object, it fails with 'nested asn.1 error'. Seems like object i... wesoly_opos (Jarosław Górny)
02:01 PM Bug #11489: XMLRPC client cannot alter SSL options for _async calls
Backported into `ruby_2_2` branch at r54069. nagachika (Tomoyuki Chikanaga)
02:01 PM Revision eb4ed0ec (git): merge revision(s) 53318: [Backport #11489]
* lib/xmlrpc/client.rb: Support SSL options in async methods of
XMLRPC::Client.
[Bug #11489]
...
nagachika (Tomoyuki Chikanaga)
01:59 PM Bug #12011: honor Marshal.load post proc value for TYPE_LINK
Backported into `ruby_2_2` branch at r54068. nagachika (Tomoyuki Chikanaga)
01:58 PM Revision 6aad84e0 (git): merge revision(s) 53609: [Backport #12011]
* marshal.c (r_object0): honor Marshal.load post proc
value for TYPE_LINK. by Hiroshi Nakamura <nahi@ruby-...
nagachika (Tomoyuki Chikanaga)
01:46 PM Bug #11958: TCPSocket.getsockopt().bool raises a TypeError on windows
Backported into `ruby_2_2` branch at r54067. nagachika (Tomoyuki Chikanaga)
01:45 PM Revision 7d25771f (git): merge revision(s) 53561: [Backport #11958]
* ext/socket/option.c (sockopt_bool): relax boolean size to be one
too not only sizeof(int). Winsock getso...
nagachika (Tomoyuki Chikanaga)
01:30 PM Revision 75b61aa3 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:42 PM Feature #12161 (Closed): Friendly BigDecimal#inspect
Can BigDecimal's #inspect be more human-friendly? Even just `#<BigDecimal:b7ea1130,1234.5678,8(12)>` instead of `#<Bi... printercu (Max Melentiev)
10:39 AM Revision 47c00f30 (git): common.mk: dependency of prelude.o
* common.mk (prelude.o): fix missing dependency on iseq.h, for
rb_compile_option_t.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
09:24 AM Bug #12082: Tail-calling method can't catch exception raised by tail-called method
Updating my patch, because it breaks such code:
~~~ruby
def errinfo
$!
end
RubyVM::InstructionSequence.compi...
rhenium (Kazuki Yamaguchi)
07:52 AM Revision 649736de (git): driver.rb: unused variable
* benchmark/driver.rb (BenchmarkDriver.load): remove unused
variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
07:49 AM Revision dc39baa9 (git): * benchmark/driver.rb: fix my last commit (syntax error).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:42 AM Revision a036c026 (git): * benchmark/driver.rb: fix output messages.
* benchmark/memory_wrapper.rb: use respond_to? because
member? does not work well.
git-svn-id: svn+ssh://ci.ruby-...
ko1 (Koichi Sasada)
07:22 AM Revision a5ca1179 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:22 AM Revision 61aa2685 (git): * benchmark/driver.rb: support memory usage benchmark.
use `--measure-target=[target]'.
Now, we can use the following targets:
* real (default): real time which retur...
ko1 (Koichi Sasada)
07:17 AM Revision 2d3a6ba6 (git): hash.c: COPY_DEFAULT
* hash.c (COPY_DEFAULT): new macro to copy the default value/proc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
07:17 AM Revision e6840690 (git): hash.c: SET_PROC_DEFAULT
* hash.c (SET_PROC_DEFAULT): new macro to set the default proc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54...
nobu (Nobuyoshi Nakada)
07:17 AM Revision 7522e064 (git): hash.c: SET_DEFAULT
* hash.c (SET_DEFAULT): new macro to set the default value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54057 ...
nobu (Nobuyoshi Nakada)
07:17 AM Revision 921d6e26 (git): hash.c: hash_dup for rb_hash_to_h
* hash.c (rb_hash_to_h): share hash_dup to copy the contents and
the default value/proc only.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
07:17 AM Revision 865a326d (git): hash.c: make duplicated hash WB protected
* hash.c (hash_alloc_flags): allocate new hash with the flags and
the default value.
* hash.c (hash_dup): duplicat...
nobu (Nobuyoshi Nakada)
06:09 AM Feature #12160 (Closed): Extract XMLRPC library to bundled gem
XMLRPC library is no longer maintain actively.
I removed broken parsers in Mar. 2016. This issue opend at 2014.
N...
hsbt (Hiroshi SHIBATA)
06:05 AM Revision f937d32f (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:05 AM Revision 1228d134 (git): * benchmark/bm_vm3_gc_old_full.rb: add GC.start benchmark.
* benchmark/bm_vm3_gc_old_immediate.rb: ditto.
* benchmark/bm_vm3_gc_old_lazy.rb: ditto.
git-svn-id: svn+ssh://ci....
ko1 (Koichi Sasada)
06:02 AM Revision b0651410 (git): * benchmark/driver.rb: exit benchmarking if a benchmark process
receives signals.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:14 AM Revision cccfe477 (git): test_hash.rb: tests for to_h
* test/ruby/test_hash.rb: add tests for Hash#to_h, which copies
default value/proc but not instance variables.
git...
nobu (Nobuyoshi Nakada)
04:45 AM Revision d000891e (git): hash.c: tbl_update_func
* hash.c (tbl_update_func): extract function typedef from the
declaration of tbl_update.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
04:22 AM Revision e1e223a8 (git): memory_status.rb: independent of MiniTest
* test/lib/memory_status.rb: make Memory::Status independent of
MiniTest::Skip.
* test/lib/test/unit/assertions.rb ...
nobu (Nobuyoshi Nakada)
03:48 AM Revision b3f4db92 (git): memory_status.rb: remove unused values
* test/lib/memory_status.rb: remove initial status values, which
are not used.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
01:43 AM Bug #12159: Thread::Backtrace::Location#path returns absolute path for files loaded by require_relative
Usaku NAKAMURA wrote:
> I guess that it's intentional.
> `absolute_path` guarantees to contain the absolute path, b...
tagomoris (Satoshi Tagomori)
01:40 AM Bug #12159 (Assigned): Thread::Backtrace::Location#path returns absolute path for files loaded by require_relative
I guess that it's intentional.
`absolute_path` guarantees to contain the absolute path, but `path` does not guarante...
usa (Usaku NAKAMURA)
01:27 AM Bug #12159 (Closed): Thread::Backtrace::Location#path returns absolute path for files loaded by require_relative
I expected that Thread::Backtrace::Location#path always returns base filename, but returns absolute path for files lo... tagomoris (Satoshi Tagomori)
01:16 AM Bug #12156 (Assigned): TckImage.new broken after r53077 (2.3, trunk)
hsbt (Hiroshi SHIBATA)
12:28 AM Revision 8f5cbc58 (git): * test/io/wait/test_io_wait.rb (test_wait_readwrite_timeout):
select(2) in AIX returns "readable" for the write-side fd
of a pipe, so it is not possible to use a pipe to test
...
Rei Odaira
 

Also available in: Atom