Activity
From 01/12/2017 to 01/18/2017
01/18/2017
-
09:11 PM Feature #13137 (Rejected): Hash Shorthand
- The ES6 update to Javascript added object shorthand. I propose that a similar hash shorthand be added to Ruby.
###... - 06:23 PM Revision f850b295 (git): * 2017-01-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:23 PM Revision bb8f5b23 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:23 PM Revision e7bd5b88 (git): another benchmark for IO.copy_stream socket writing
- For testing Linux socket-only workaround for
https://bugs.ruby-lang.org/issues/13085
git-svn-id: svn+ssh://ci.ruby-l... -
01:25 PM Bug #13136 (Closed): large_array.sample(11)が遅い
- Array#sampleのパフォーマンスを改善したい
```ruby
require 'benchmark'
arr = 100000.times.to_a;
Benchmark.measure{100000.times{... -
12:35 PM Revision e527695d (git): lib/profiler.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:30 PM Bug #13115 (Assigned): `YAML.dump` outputs deperecated message even with delegated object
- Psych warns if `to_yaml` method is defined by other than psych itself, and delegated methods are defined in `delegate...
-
10:58 AM Feature #13129 (Assigned): Refinements cannot refine method_missing and respond_to_missing?
-
10:42 AM Bug #13134: Rational() inconsistency
- Floating-point numbers in String are exact, Float literal are inexact by nature.
So I would not expect any relation ... -
05:24 AM Bug #13134: Rational() inconsistency
- > The imprecision that can come with float denominators is why this behavior should not be allowed.
Note there alr... -
12:48 AM Bug #13134: Rational() inconsistency
- I don't think `Rational("3.1/2.0")` should introduce imprecision because the argument string has nothing to do with i...
-
09:15 AM Bug #13107: def_delegators causes random errors in MRI 2.4.0
- And I can confirm that also rack-test test suite is passing with this patch [1].
[1] https://apps.fedoraproject.... -
09:13 AM Bug #13107: def_delegators causes random errors in MRI 2.4.0
- Just FTR, this is causing failures in Mongo gem test suite [1]. Applying this patch fixed the issues.
[1] https:... -
06:51 AM Bug #10687 (Closed): ArgumentError in certain cases of instance_exec (new bug in 2.2)
-
06:30 AM Bug #12177 (Closed): Using `if:` as symbol in hash with new hash syntax in irb console is not working
-
06:18 AM Bug #12276 (Closed): Quoting error involving '$' characters in DT_RPATH pathnames
- Quote by single quotes.
```
$ LDFLAGS=" -Wl,-rpath='\$\$ORIGIN/../lib' " ./configure
$ make
$ readelf -d ruby... -
05:57 AM Bug #13135: Regexp.last_match returns nil with s.rindex(//)
- Shugo Maeda wrote:
> Regexp.last_match returns nil, if // is given to String#rindex:
The following patch seems to... -
02:53 AM Bug #13135 (Closed): Regexp.last_match returns nil with s.rindex(//)
- Regexp.last_match returns nil, if // is given to String#rindex:
```
lexington:ruby$ ruby -ve 'p "foo".rindex(//);... -
05:49 AM Bug #11964 (Closed): __callee__ in aliased methods defined in a module returns an incorrect value
- Seems fixed by r56592.
-
05:49 AM Bug #12058 (Closed): Unexpected value of __callee__ when including a module
- Seems fixed by r56592.
-
05:23 AM Bug #13096 (Closed): error using undef_method + refinements
- Applied in changeset r57362.
----------
vm_method.c: resolve refined method to undef
* vm_method.c (rb_undef): reso... -
05:23 AM Revision b38823ce (git): vm_method.c: resolve refined method to undef
- * vm_method.c (rb_undef): resolve the method entry which refines a
prepended method entry. [ruby-core:78944] [Bug ... -
03:47 AM Feature #12387 (Assigned): ripper: new parser event for kwrest parameter
- Seems OK.
-
03:38 AM Bug #12884 (Closed): Using a HashWithIndifferentAccess with a default value in a function with a keyword parameter converts it to a Hash.
- Applied in changeset r57360.
----------
class.c: non-keyword hash class
* class.c (rb_extract_keywords): keep the c... - 03:38 AM Revision 54a77d20 (git): * 2017-01-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:38 AM Revision 13dffd8a (git): class.c: non-keyword hash class
- * class.c (rb_extract_keywords): keep the class of non-keyword
elements hash as the original. [ruby-core:77813] [B...
01/17/2017
-
09:33 PM Bug #13134: Rational() inconsistency
- I propose leaving the behavior the way it is. A float denominator is filled with possible unexpected behavior. For ex...
-
08:59 AM Bug #13134 (Assigned): Rational() inconsistency
-
06:44 AM Bug #13134 (Closed): Rational() inconsistency
- `Rational()` parses a float, an integer divided by an integer, and a float divided by an integer.
```ruby
Rationa... -
12:54 PM Revision 556e3da4 (git): uri/generic.rb: fix exception on non-IP format
- * lib/uri/generic.rb (URI::Generic#find_proxy): match IP address
no_proxy against resolved self IP address. [Fix G... -
12:47 PM Revision 2a9dd6b8 (git): lib/pstore.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:14 AM Revision 6ef99fec (git): version.h: bump up patchlevel for r57356.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@57357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:13 AM Revision a1709f1d (git): win32/win32.c: fix r57351. rename PATH_MAX to MAX_PATH.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@57356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:31 AM Revision 22908245 (git): rinda/ring.rb (make_socket): do not keep socket on failures
- This prevents leaked FD warnings on test/rinda/test_rinda.rb
when testing on a machine without multicast support.
gi... -
12:08 AM Bug #13085: io.c io_fwrite creates garbage
- At least on Linux, this is probably the best performance we can get
with sockets. Unfortunately, this does not affe...
01/16/2017
-
09:47 PM Feature #13133 (Rejected): TracePoint: Add event type for constant access
- Hi there,
I've attached a patch to add a new `:constant_access` TracePoint event.
One feature and/or bug, depen... - 09:42 PM Revision a34f9c7e (git): basicsocket (rsock_bsock_send): do not truncate return value
- send(2) and sendto(2) syscalls return `ssize_t', use the
proper type and macro for converting to a Numeric VALUE.
gi... -
09:12 PM Bug #13132: [DOC] Improve documentation for Binding
- Thanks, committed as r57352
-
09:08 PM Bug #13132 (Closed): [DOC] Improve documentation for Binding
- Applied in changeset r57352.
----------
doc: improve documentation for Binding [ci skip]
* remove explicit return f... - 09:08 PM Revision 650a8ce8 (git): * 2017-01-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:08 PM Revision 103a6a4c (git): doc: improve documentation for Binding [ci skip]
- * remove explicit return from code examples
* grammar fixes
* other small fixes
Patch by: Marcus Stollsteimer <sto.m... -
07:52 PM Bug #13058: Please backport r57135 and r57136
- ruby_2_3 r57351 merged revision(s) 57135,57136.
-
07:51 PM Revision 565b6da1 (git): merge revision(s) 57135,57136: [Backport #13058]
- Fixed potentially buffer overrun.
* win32/win32.c (winnt_stat): the return value of `get_final_path` is the
... -
07:46 PM Bug #13052: Array#combination segfaults if the Array is modified during iteration
- ruby_2_3 r57350 merged revision(s) 57119.
-
07:46 PM Revision aa983c4c (git): merge revision(s) 57119: [Backport #13052]
- array.c: check array length every time after yielding
Since the Array may be modified during rb_yield(), the... -
07:34 PM Bug #13042: gsub segfaults when the pattern is a matching string and the replacement has an unmatched named capture
- ruby_2_3 r57349 merged revision(s) 57098.
-
07:34 PM Revision f6e44a2a (git): merge revision(s) 57098: [Backport #13042]
- re.c: non-regexp name reference
* re.c (rb_reg_regsub): other than regexp has no name references.
[ruby-co... -
07:31 PM Bug #13034: rb_enc_ascget() does not handle 'needmore' error from rb_enc_procise_mbclen()
- ruby_2_3 r57348 merged revision(s) 57078.
-
07:31 PM Revision f327b5e2 (git): merge revision(s) 57078: [Backport #13034]
- encoding.c: handle needmore error from rb_enc_precise_mbclen()
rb_enc_ascget() erroneously reports success e... -
07:29 PM Bug #13014: Adding clang volatile fixes from FreeBSD and NetBSD
- ruby_2_3 r57347 merged revision(s) 57020,57021.
-
07:29 PM Revision 8cc98184 (git): merge revision(s) 57020,57021: [Backport #13014]
- Add clang volatile fixes from FreeBSD and NetBSD.
Use volatile instead of optnone to avoid optimization whic... -
07:21 PM Bug #13004: rb_get_kwargs はバグってないでしょうか?
- ruby_2_3 r57346 merged revision(s) 56980,56981.
-
07:21 PM Revision bc059aa6 (git): merge revision(s) 56980,56981: [Backport #13004]
- extension.rdoc: fix rb_get_kwargs [ci skip]
* doc/extension.rdoc: [DOC] optional keyword arguments are
def... -
07:19 PM Bug #12983: compatibility_version and current_version on Darwin are reversed
- ruby_2_3 r57345 merged revision(s) 56905.
-
07:19 PM Revision e9ab3c7c (git): merge revision(s) 56905: [Backport #12983]
- Reverse compatibility_version and current_version for Darwin
The `compatibility_version` should have an API ... -
07:09 PM Bug #12956: require a native library that yields the error 'incompatiable library version' shuts down the interpreter fatally
- ruby_2_3 r57344 merged revision(s) 56832.
-
07:09 PM Revision db4eec72 (git): merge revision(s) 56832: [Backport #12956]
- dln.c: raise LoadError
* dln.c (dln_load): raise LoadError instead of fatal error on
recent OSX, dlclose s... -
07:08 PM Bug #12974: Marshal.dump dumps core.
- ruby_2_3 r57343 merged revision(s) 56894.
-
07:08 PM Revision c6250c60 (git): merge revision(s) 56894: [Backport #12974]
- marshal.c: fix infinite recursion
* marshal.c (check_userdump_arg): marshal_dump should not return
an inst... -
06:59 PM Bug #12860: Splatting an argument does not obey left-to-right execution order
- ruby_2_3 r57342 merged revision(s) 56469.
-
06:59 PM Revision 3032b62d (git): merge revision(s) 56469: [Backport #12860]
- * compile.c (setup_args): duplicate splatting array if more
arguments present to obey left-to-right executi... -
06:50 PM Bug #12988: Calling `inspect` sometimes causes a segv
- ruby_2_3 r57341 merged revision(s) 56938.
-
06:50 PM Revision 47f64f1e (git): merge revision(s) 56938: [Backport #12988]
- Stop reading past the end of `ivptr` array
If you have code like this:
```ruby
class A
de... -
06:44 PM Bug #13049: Backport r57108 (sprintf.c: fix width underflow)
- backported into ruby_2_3 at r57340.
-
06:40 PM Bug #13121: Backport r57108 (fix memory corruption by width underflow)
- ruby_2_3 r57340 merged revision(s) 57108.
-
06:40 PM Revision 2e4b5a32 (git): merge revision(s) 57108: [Backport #13121]
- sprintf.c: fix width underflow
* sprintf.c (rb_str_format): fix memory corruption by width
underflow. htt... -
12:37 PM Revision 8e0ff63f (git): Fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:48 AM Bug #12970: == Equality of recursive sets fails
- Also documentation at top of file says:
~~~ ruby
# * Set assumes that the identity of each element does not chang... -
03:14 AM Bug #13062 (Assigned): 2.4.0-rc1 BigDecimal regression - to_d inconsistent with other numeric classes
- We continue this issue at https://github.com/ruby/bigdecimal/issues/51.
-
02:56 AM Revision 4c021942 (git): test_rational.rb: messages
- * test/ruby/test_rational.rb (test_parse): add messages to
assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby... - 02:43 AM Revision edcec2b4 (git): * 2017-01-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:43 AM Revision 803621f6 (git): file.c: refine message
- * file.c (rb_get_path_check_convert): refine the error message
when the path name contains null byte.
git-svn-id: ... -
02:20 AM Feature #13128 (Rejected): to all robots :)
01/15/2017
-
08:17 PM Bug #13131: ArgumentError: string contains null byte
- Benoit Daloze wrote:
> You inverted the order of the arguments, it's the filename first:
>
> IO.binwrite('/tm... -
05:03 PM Bug #13131 (Rejected): ArgumentError: string contains null byte
- You inverted the order of the arguments, it's the filename first:
IO.binwrite('/tmp/test.txt', 0.chr)
-
12:34 PM Bug #13131 (Rejected): ArgumentError: string contains null byte
- Why does this not work?:
IO.binwrite(0.chr, '/tmp/test.txt')
If it's not a bug, then please somebody explain - ... -
04:13 PM Bug #13132 (Closed): [DOC] Improve documentation for Binding
- * remove explicit return from code examples
* grammar fixes
* other small fixes
-
01:45 PM Revision 992b0148 (git): s/SaveStringValue/SafeStringValue/
- Fix a typo in extension.rdoc.
Signed-off-by: Akira Matsuda <[email protected]>
closes #1512
git-svn-id: svn+ssh://ci.r... -
06:08 AM Revision 53a1b9f2 (git): .gdbinit: refine rp [ci skip]
- * .gdbinit (rp, output_string, rp): show the contents after NUL
char.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
05:50 AM Revision 1d36a09d (git): rbinstall.rb: mimic rubygems wrapper script
- * tool/rbinstall.rb (app_script_text): move shell script part
after comments generated by RubyGems. '#'-lines are c... -
02:56 AM Revision 710d9384 (git): lib/profile.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:45 AM Revision 37a8a2a2 (git): rbinstall.rb: do nothing if bin script is same
- * tool/rbinstall.rb (check_executable_overwrite): do nothing if
the existing file equals to the wrapper script to b... -
12:15 AM Bug #13126: __dir__ in eval returns nil
- Artem Shein wrote:
> I've replaced the "`File.dirname(File.realpath(__FILE__))`" in my source code with "`__dir__`" ...
01/14/2017
-
11:10 PM Bug #13130 (Closed): [DOC] Mention behavior of Array#join for nested arrays
- Applied in changeset r57329.
----------
mention behavior of Array#join for nested arrays [ci skip]
The current docu... -
08:42 PM Bug #13130 (Closed): [DOC] Mention behavior of Array#join for nested arrays
- The current documentation for Array#join does not mention the special treatment of nested arrays.
It says:
> Re... - 11:09 PM Revision 0255bac7 (git): * 2017-01-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:09 PM Revision eeb36c5c (git): mention behavior of Array#join for nested arrays [ci skip]
- The current documentation for Array#join does not mention the
special treatment of nested arrays.
It says:
> Returns... -
08:35 PM Bug #13126: __dir__ in eval returns nil
- Nobuyoshi Nakada wrote:
> When the third argument is not given, `__FILE__` in `eval` is `"(eval)"`.
> Do you mean t... -
07:02 AM Bug #13126: __dir__ in eval returns nil
- Artem Shein wrote:
> It should be the same as `File.dirname(__FILE__)` or at least `File.dirname(File.realpath(__FIL... -
05:21 PM Feature #13129 (Assigned): Refinements cannot refine method_missing and respond_to_missing?
- Refinements with method_missing and respond_to_missing? behaves very strangely.
```ruby
class C; end
using Mod... -
09:38 AM Revision 3408e9e3 (git): revert r57323
- StringIO.new makes the buffer IO.default_external, while
StringIO.new("".dup) makes source encoding which is defaulte... -
06:13 AM Revision c850c4ad (git): fix up r57322
- * tool/rbinstall.rb: ruby_install_name is used too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57327 b2dd03c8... -
02:26 AM Revision 8b8505d2 (git): resolv.rb: byte buffer
- * lib/resolv.rb (Resolv::DNS::Message::MessageDecoder): treat the
data as a byte buffer.
git-svn-id: svn+ssh://ci.... -
02:26 AM Revision 2b2450ba (git): Made #decode_rdata client to catch errors
- * lib/resolv.rb (Resolv::DNS::Message::MessageDecoder#get_rr):
re-raise an exception from decode_rdata as DecodeErr... - 02:06 AM Revision af5eae43 (git): * 2017-01-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:06 AM Revision c8a4b572 (git): StringIO.new makes a RW buffer
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:28 AM Feature #13128 (Rejected): to all robots :)
- This language can be made psycheactive by a simple core concept ,holographic coding based on random generation of str...
01/13/2017
-
06:04 PM Bug #13127 (Closed): DRb `load': connection closed (DRb::DRbConnError) when client exit's from within a loop iterating over remote objects
- Calling exit from a DRb client inside a do block while iterating over remote objects causes a DRb connection closed e...
-
03:54 PM Bug #13126: __dir__ in eval returns nil
- Shyouhei Urabe wrote:
> Can you show us your expectation? Should what be the value for `__dir__` inside of an `eval... -
12:34 AM Bug #13126 (Feedback): __dir__ in eval returns nil
- Can you show us your expectation? Should what be the value for `__dir__` inside of an `eval`?
-
02:15 PM Revision bc388526 (git): fix prolog in gem wrapper scripts
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:08 PM Revision 82f61a13 (git): lib/observer.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:31 AM Bug #13085: io.c io_fwrite creates garbage
- [email protected] wrote:
> File 0001-v2-io.c-io_fwrite-copy-to-hidden-buffer-when-writing.patch added
>
> OK... -
05:58 AM Revision 0f78a6a1 (git): rbinstall.rb: LIBRUBY_RELATIVE
- * tool/rbinstall.rb: see LIBRUBY_RELATIVE in CONFIG instead of
reading config.h.
git-svn-id: svn+ssh://ci.ruby-lan... -
05:49 AM Revision 5dc87d5b (git): insns.def: float comparison
- * insns.def (opt_lt, opt_le, opt_gt, opt_ge): optimize flonum and
on-heap float comparison.
git-svn-id: svn+ssh://... -
03:24 AM Revision c2c01570 (git): error.c: moved
- * error.c (preface_dump, postscript_dump): CrashReporter directory
was used before Mac OS X 10.6.
git-svn-id: svn+... -
02:57 AM Revision 81cb9aa5 (git): error.c: moved
- * error.c (preface_dump, postscript_dump): moved from
rb_vm_bugreport to place the last important message at the ve... - 01:46 AM Revision a51cf134 (git): * 2017-01-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:46 AM Revision d569c0c5 (git): vm_dump.c: postscript_dump
- * vm_dump.c (postscript_dump): mention crash report log twice
because important.
git-svn-id: svn+ssh://ci.ruby-lan...
01/12/2017
-
05:07 PM Feature #12957: A more OO way to create lambda Procs
- I want this too
```ruby
MyLambda = Class.new Proc
```
I want `MyLambda{|x| x + 1}.lambda?` to == `true`
I... -
12:57 PM Bug #13126 (Closed): __dir__ in eval returns nil
- ~~~
$ ruby -e 'eval "p File.dirname(__FILE__); p __dir__"'
"."
nil
~~~
-
12:17 PM Revision 6ca3028e (git): lib/net/smtp.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:56 AM Feature #13125 (Closed): MRI has too much Qtrue : Qfalse;
- ```
% git grep -P 'Q(true|false|nil|undef)\s+:\s+Q(true|false|nil|undef)' | wc -l
211
```
Out of those 211 occu... -
07:41 AM Revision 14a730e9 (git): immediate message mode of compile error
- * compile.c (append_compile_error): set Qtrue for erred state with
showing the message immediately.
* iseq.c (prep... -
05:43 AM Revision 257fd901 (git): compile.c: invalid yield in main
- * compile.c (iseq_compile_each): yield cannot be in the main
context as well as a top context.
git-svn-id: svn+ssh... -
02:20 AM Bug #13018: end of file reached (EOFError) from SMTP
- Shugo Maeda wrote:
> Can we close this issue by fixing backtrace information?
Closed by r57311, but feel free to... -
02:19 AM Bug #13018 (Closed): end of file reached (EOFError) from SMTP
- Applied in changeset r57311.
----------
lib/net/protocol.rb: preserve backtrace information
BufferedIO#rbuf_fill sh... -
01:42 AM Bug #13018: end of file reached (EOFError) from SMTP
- Shugo Maeda <[email protected]> wrote:
> May I fix it to preserve the backtrace information, or would you?
Sur... -
01:32 AM Bug #13018: end of file reached (EOFError) from SMTP
- Toby Murray wrote:
> Someone has commented on the Rails issue here: https://github.com/rails/rails/issues/27298#is... -
02:19 AM Revision 58935eb8 (git): lib/net/protocol.rb: preserve backtrace information
- BufferedIO#rbuf_fill should preserve backtrace information when raising
EOFError. Otherwise, users get confused when...
Also available in: Atom