Project

General

Profile

Activity

From 12/24/2015 to 12/30/2015

12/30/2015

11:57 PM Bug #11931 (Closed): Segmentation fault with rexml/element.rb
I am experiencing a bug with an API call collecting XML. I have a script that goes through a web catalog of products and writes it to a csv. Eventually I hit this error ( attached ). It's caching the responses so if I run and fail throug... spangltk (travis spangle)
11:40 PM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
https://github.com/flavorjones/loofah/blob/4887e62da44a5ae772d52f028ee25019e6c3626d/lib/loofah.rb#L12
b264 (Brian Giaraffa)
11:39 PM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
devbox@devbox:~/code/project_name$ sidekiq
/home/devbox/.rvm/gems/ruby-2.3.0/gems/loofah-2.0.3/lib/loofah.rb:12: [BUG] Segmentation fault at 0x00000000000000
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
-- Control frame i...
b264 (Brian Giaraffa)
10:16 PM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
Brian Giaraffa wrote:
> /home/devbox/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/core_ext/module/attribute_accessors.rb:208: [BUG] Segmentation fault at 0x00000000000000
> ...
I have discovered more information--
...
b264 (Brian Giaraffa)
07:52 PM Bug #11930 (Closed): Segmentation Fault in gc_mark_ptr in 2.3.0p0
/home/devbox/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/core_ext/module/attribute_accessors.rb:208: [BUG] Segmentation fault at 0x00000000000000
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
b264 (Brian Giaraffa)
08:17 PM Bug #11928 (Feedback): Segmentation fault in did_you_mean extension
What exception will raise with `--disable=did_you_mean` command line option? nobu (Nobuyoshi Nakada)
03:27 PM Bug #11928 (Closed): Segmentation fault in did_you_mean extension
I'm getting a segmentation fault in my Rails application test suite if I attempt to use an undefined method/object.
I was not able to reproduce this outside of the complex environment of my application, but hopefully you might be able...
amw (Adam Wróbel)
07:06 PM Revision 2fad0168 (git): skip if locale is not UTF-8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:47 PM Revision 5da0e863 (git): * test/ruby/test_module.rb (test_classpath): r53376 may change
the order of m.constants.
`make TESTS='-v ruby/test_class.rb ruby/test_module.rb' test-all`
may fail after that.
http://rubyci.s3.amazonaws.com/tk2-243-31075/ruby-trunk/log/20151230T164202Z.log.html.gz
git-svn-id: svn+ssh://ci.rub...
naruse (Yui NARUSE)
05:20 PM Revision 6bdfd21d (git): * 2015-12-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:20 PM Revision 6ec9331c (git): * common.mk (help): Fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
04:30 PM Bug #11929 (Closed): No programatic way to check ability to dup/clone an object
We can't dup a Fixnum, and it's ok. But I'm wondering «why is Fixnum saying it can dup?»
~~~
1.respond_to?(:dup) #=> true
~~~
Don't you think that the `dup` method should be undefined in the class Fixnum?
Currently I can do `c...
lkdjiin (xavier nayrac)
12:29 PM Misc #11904: Why was Thread.exclusive deprecated?
Tony Arcieri wrote:
> Is a single-threaded require actually a *guarantee* of every Ruby VM?
Not single-threaded, but each file should be loaded at most once.
Single require per file/path is certainly highly desirable,
otherwise you...
Eregon (Benoit Daloze)
11:53 AM Revision 95aadb14 (git): * lib/net/http/responses.rb: Added new response class for 451 status code.
* lib/net/http.rb: documentation for HTTPUnavailableForLegalReasons
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
11:45 AM Revision 27f00a7a (git): * lib/webrick/httpstatus.rb: Added HTTP 451 Status Code.
[fix GH-1167] Patch by @MuhammetDilmac
https://tools.ietf.org/html/draft-tbray-http-legally-restricted-status-00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
11:40 AM Feature #11927 (Open): Return value for `Module#include` and `Module#prepend`
Currently, `Module#include` and `Module#prepend` return the receiver, regardless of whether the ancestor chain has been modified. It is not straightforward to know whether it actually had effect.
~~~ruby
module A; end
module B; end
...
sawa (Tsuyoshi Sawada)
11:28 AM Bug #11926 (Closed): Backport request r53385
Please backport documentation patch for safe navigation operator. hsbt (Hiroshi SHIBATA)
11:26 AM Revision 8f8f92b5 (git): * doc/syntax/calling_methods.rdoc: fix old operator for safe navigation
operator. [ci skip][fix GH-1182] Patch by @dougo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
11:18 AM Feature #6284: Add composition for procs
With the recent addition of `Hash#to_proc` and performance improvements to `Proc`s in 2.3.0, I have rebased my patch (attached) to add composition between `Proc`s, `Method`s and other objects responding to `call` with `*` in the hope of ... mudge (Paul Mucur)
11:08 AM Bug #11902: have_func('rb_thread_fd_select') returns false
On Tue, Dec 29, 2015 at 8:09 AM, <dwfaithfull@gmail.com> wrote:
> Issue #11902 has been updated by Dwain Faithfull.
>
>
> Nobuyoshi Nakada wrote:
>> https://gist.github.com/dwfait/9515d4893ac59962d204#file-mkmf-log-L178-L183
>>
...
kosaki (Motohiro KOSAKI)
10:15 AM Bug #11909: io.popen problem in 2.2 and over
Hi all, I have a confirmation... The problem is with libxml-ruby invoked by io.popen. If we try with Nokogiri all is ok.
So, do you think I have to submit the problem to libxml-ruby gem team or do you think it may be a problem related t...
pierisimone (Simone Pieri)
08:40 AM Bug #11909: io.popen problem in 2.2 and over
OK, excuse me, we have a problem with libxml if it's called via io.popen. I don't want any "heavy lifting" for me ...
I can't reproduce the problem without libxml because I don't have a problem without libxml, like Nobuyoshi says. And ...
pierisimone (Simone Pieri)
09:16 AM Bug #11878: Comparison of prepended modules
I thought that the ordering relation among modules/classes represents the method call priority. `A` < `B` means that method look-up first looks in `A`, then `B`; smaller module/class has higher priority. If so, since a module prepended t... sawa (Tsuyoshi Sawada)
07:36 AM Bug #11878: Comparison of prepended modules
Making prepending class an ancestor of prepended module?
It feels strange a little, to me.
nobu (Nobuyoshi Nakada)
04:28 AM Bug #11878: Comparison of prepended modules
As far as I see the revision r53380 by Nakada san, it looks like my feature proposal part was rejected. Is this the case? sawa (Tsuyoshi Sawada)
12:59 AM Bug #11878 (Closed): Comparison of prepended modules
Applied in changeset r53380.
----------
object.c: fix prepend cmp
* object.c (rb_class_inherited_p): search the corresponding
ancestor to prepended module from prepending class itself.
[ruby-core:72493] [Bug #11878]
nobu (Nobuyoshi Nakada)
07:44 AM Feature #11925: Struct construction with kwargs
Hi.
I have thought the same thing that want to use kwargs in Struct class.
But I can't come up with a good API.
Finally, I made a gem. https://github.com/ksss/type_struct
ksss (Yuki Kurihara)
07:43 AM Revision f880d5dc (git): Add test for String#ord
* test/ruby/test_string.rb (test_ord): Add test for String#ord.
[Fix GH-1181]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:28 AM Revision 6fd18ca5 (git): forwardable.rb: adjust backtrace by tail call
* lib/forwardable.rb (def_instance_delegator): adjust backtrace of
method body by tail call optimization. adjusting the delegated
target is still done by deleting backtrace.
* lib/forwardable.rb (def_single_delegator): ditto.
git-s...
nobu (Nobuyoshi Nakada)
02:26 AM Revision d8eb5ade (git): fix commit miss
* test/test_forwardable.rb: add tests for r53381.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:18 AM Bug #11916 (Closed): Fix delegating to 'args' and 'block'
Applied in changeset r53381.
----------
Forwardable: Fix delegating to 'args' and 'block'
* lib/forwardable.rb (def_instance_delegator) fix delegating to
'args' and 'block', clashing with local variables in generated
methods...
nobu (Nobuyoshi Nakada)
02:18 AM Revision 986fb559 (git): Forwardable: Fix delegating to 'args' and 'block'
* lib/forwardable.rb (def_instance_delegator) fix delegating to
'args' and 'block', clashing with local variables in generated
methods. [ruby-core:72579] [Bug #11916]
* lib/forwardable.rb (def_single_delegator): ditto.
If you have...
nobu (Nobuyoshi Nakada)
12:58 AM Revision a974041b (git): object.c: fix prepend cmp
* object.c (rb_class_inherited_p): search the corresponding
ancestor to prepended module from prepending class itself.
[ruby-core:72493] [Bug #11878]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53380 b2dd03c8-39d4-4d8f-98ff-82...
nobu (Nobuyoshi Nakada)
12:42 AM Misc #11876: Scheduled maintenance 2016/01/01
Hi kou.
Thank you for your comment. I will replace you key at maintenance time.
hsbt (Hiroshi SHIBATA)
12:41 AM Feature #11911 (Feedback): Immutable method definitions and/or static dispatch
Ruby's ability to change any method anytime, and C++/Java's ability to overwrite some methods in subclasses, are conceptionally quite different. Which one are you interested in, and why? What is your use case? duerst (Martin Dürst)
12:20 AM Feature #11921 (Closed): Add test for rb_io_modestr_fmode
Applied in changeset r53379.
----------
test_io.rb: test for rb_io_modestr_fmode
* test/stringio/test_io.rb (test_flag): add assertion for error when
text and binary mode are mixed.
[ruby-dev:49465] [Feature #11921]
nobu (Nobuyoshi Nakada)
12:20 AM Revision d252e224 (git): test_io.rb: test for rb_io_modestr_fmode
* test/stringio/test_io.rb (test_flag): add assertion for error when
text and binary mode are mixed.
[ruby-dev:49465] [Feature #11921]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

12/29/2015

11:44 PM Feature #11920 (Closed): Add test for StringIO#initialize
Applied in changeset r53378.
----------
test_stringio.rb: test_initialize
* test/stringio/test_stringio.rb (test_initialize): add test for
StringIO#initialize. [ruby-core:72585] [Feature #11920]
nobu (Nobuyoshi Nakada)
04:53 AM Feature #11920 (Closed): Add test for StringIO#initialize
I cannot found testing for StringIO#initialize.
So, I tried writing this patch.
ksss (Yuki Kurihara)
11:44 PM Revision 3586aef4 (git): test_stringio.rb: test_initialize
* test/stringio/test_stringio.rb (test_initialize): add test for
StringIO#initialize. [ruby-core:72585] [Feature #11920]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:58 PM Misc #11904 (Rejected): Why was Thread.exclusive deprecated?
This use of `Thread.exclusive` seems nonsense.
https://github.com/cryptosphere/rbnacl/commit/25444979d161fa0f02a61a5003768c2173cfa2ee
While `Thread.exclusive` stops all other threads in 1.8 and earlier, it just blocks other threads w...
nobu (Nobuyoshi Nakada)
08:01 PM Misc #11904: Why was Thread.exclusive deprecated?
I received a PR to my project to "add Ruby 2.3 support" (via an inline Mutex) and I think it illustrates the problem:
https://github.com/cryptosphere/rbnacl/pull/127
This doesn't really help, and I guess to make the warning message...
bascule (Tony Arcieri)
10:42 PM Bug #11909: io.popen problem in 2.2 and over
Simone Pieri wrote:
> our problem is that we really need libxml, so it's not interesting to try without....
Ruby is an open source project. We depend on help from everybody; we don't have the time to do the heavy lifting for you. Man...
duerst (Martin Dürst)
10:21 PM Bug #11909: io.popen problem in 2.2 and over
We have to tell if libxml is mandatory to reproduce it or not. nobu (Nobuyoshi Nakada)
11:11 AM Bug #11909: io.popen problem in 2.2 and over
Hi,
our problem is that we really need libxml, so it's not interesting to try without....
pierisimone (Simone Pieri)
08:21 PM Feature #11614 (Closed): [RFC] use id_table for constant tables
Applied in changeset r53377.
----------
ChangeLog: add entry for r53376
Oops :x
[ruby-core:72112] [Feature #11614]
Anonymous
08:21 PM Revision 7e85d487 (git): ChangeLog: add entry for r53376
Oops :x
[ruby-core:72112] [Feature #11614]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
08:19 PM Revision 1142de8e (git): use id_table for constant tables
valgrind 3.9.0 on x86-64 reports a minor reduction in memory usage
when loading only RubyGems and RDoc by running: ruby -rrdoc -eexit
before: HEAP SUMMARY:
in use at exit: 2,913,448 bytes in 27,394 blocks
total heap usage: 48,362 ...
Eric Wong
07:33 PM Bug #11867: overriden constant instance variable mismatch
Nobuyoshi Nakada wrote:
> Exactly.
> ...
I expected the latest constant to set its @b property. If not Class A, at the very least I expected Struct :a to get set. Is this not the intuitive thing to expect? People send arguments based o...
dingoegret (dingo egret)
07:26 PM Revision b7573a00 (git): * thread_pthread.c (rb_thread_create_timer_thread): destroy attr even
if pthread_create() failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
06:20 PM Bug #11922 (Closed): [PATCH] fix ASYNC BUG race from bootstraptest/test_fork.rb
Applied in changeset r53373.
----------
thread_pthread.c (rb_thread_create_timer_thread): fix race
This fixes an occasional [ASYNC BUG] failure in
bootstraptest/test_fork.rb '[ruby-dev:37934]'
which tests fork/pthread_create failure by...
Anonymous
11:33 AM Bug #11922 (Closed): [PATCH] fix ASYNC BUG race from bootstraptest/test_fork.rb
~~~
thread_pthread.c (rb_thread_create_timer_thread): fix race
This fixes an occasional [ASYNC BUG] failure in
bootstraptest/test_fork.rb '[ruby-dev:37934]'
which tests fork/pthread_create failure by setting
RLIMIT_NPROC to 1 and ...
normalperson (Eric Wong)
06:20 PM Revision 60c49e94 (git): * 2015-12-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:20 PM Revision 24c979bd (git): thread_pthread.c (rb_thread_create_timer_thread): fix race
This fixes an occasional [ASYNC BUG] failure in
bootstraptest/test_fork.rb '[ruby-dev:37934]'
which tests fork/pthread_create failure by setting
RLIMIT_NPROC to 1 and triggering EAGAIN on pthread_create
when attempting to recreate the ti...
Eric Wong
03:28 PM Feature #11918: Make #finite? consistent with #nonzero?
Hello Matz,
With zero division on Integers we expect to do one of these:
~~~
99 / 0 # default behaviour: raise ZeroDivisionError from __LINE__
99 / 0 rescue 0 # handle it here: just return 0
~~~
For Floats there is...
avit (Andrew Vit)
07:28 AM Feature #11918 (Feedback): Make #finite? consistent with #nonzero?
Forget about consistency with `nonzero?`, it has sorting use-cases.
And tell me your use-case for `finite?` that returns `nil`.
Your example seems artificial for me.
Matz.
matz (Yukihiro Matsumoto)
03:12 AM Feature #11918 (Feedback): Make #finite? consistent with #nonzero?
Calling `.nonzero?` on a number returns itself (truthy) or nil, but calling `.finite?` on a float is just true or false.
Floats can produce Infinity without errors and cause downstream errors if that result is unexpected. This would b...
avit (Andrew Vit)
01:09 PM Bug #11902: have_func('rb_thread_fd_select') returns false
Nobuyoshi Nakada wrote:
> https://gist.github.com/dwfait/9515d4893ac59962d204#file-mkmf-log-L178-L183
> ...
Any hints/pointers as to figuring out why it's being linked and how to fix this?
dwfait (Dwain Faithfull)
12:57 PM Feature #11925 (Closed): Struct construction with kwargs
Propose to make Struct subclass constructors which accept keyword arguments. Not sure, if it's reasonable to allow `.new` accept kwargs, so may be should use different method named like `.create`:
```ruby
Point = Struct.new(:x,:y, ...
prijutme4ty (Ilya Vorontsov)
12:54 PM Feature #11923: Put Struct accessors into separate module to allow redefining them in Struct.new's block
Sorry. Don't how to choose appropriate assignee. prijutme4ty (Ilya Vorontsov)
11:57 AM Feature #11923 (Open): Put Struct accessors into separate module to allow redefining them in Struct.new's block
`Struct.new(*args, &block)` creates a subclass of `Struct`. Some methods like accessors are defined right in newly created class. Others like `#initialize`, `#values` and so on are declared in a superclass, i.e. in `Struct`.
The fact th...
prijutme4ty (Ilya Vorontsov)
12:23 PM Revision 290deeb7 (git): ruby.c: overriding warning options
* ruby.c (proc_options): successive -W option overrides previous
warning options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:22 PM Bug #11924 (Third Party's Issue): $ gem server is broken for documentation browsing
The `$ gem server` command is broken. The gemserver doesn’t find the stylesheets and javascripts, so that the browser only shows the unstyled, bare HTML.
Sample commandline session:
~~~~
% gem list ffi
*** LOCAL GEMS ***
ffi...
Quintus (Marvin Gülker)
12:17 PM Revision 3d458cd0 (git): * ChangeLog: remove duplicated entries at r53366.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
10:39 AM Revision 1eafb3dd (git): ruby.c: parse -W option
* ruby.c (proc_options): parse and skip '-W' option and its
argument even if ignored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:12 AM Revision 66fe2c0d (git): ruby.c: command line option over RUBYOPT env
* ruby.c (proc_options): -W command line option should be able to
override -w in RUBYOPT environment variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:04 AM Feature #11919: Passing a module directly
Nobuyoshi Nakada wrote:
> You can write it as
> ...
Right. I had forgotten about operator precedence. My example did not make sense.
> Or without `Module.new`?
> ...
I think this is what I actually wanted to ask for.
sawa (Tsuyoshi Sawada)
08:31 AM Feature #11919 (Feedback): Passing a module directly
You can write it as
~~~ruby
using Module.new {
refine ...
...
}
~~~
Or without `Module.new`?
~~~ruby
using do
refine ...
...
end
~~~
nobu (Nobuyoshi Nakada)
03:57 AM Feature #11919 (Rejected): Passing a module directly
Refinement requires a named module:
~~~ruby
module MyRefinement
refine ...
...
end
using MyRefinement
~~~
but often (but not always), refinements are called by the `using` command only in once in a single file, and shou...
sawa (Tsuyoshi Sawada)
08:54 AM Revision b6b1038c (git): eval.c: warn block for using
* eval.c (ignored_block): warn if a block is given to `using`,
which is probably for `Module.new`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:36 AM Revision 1403dfbf (git): compile.c: adjust label reference
* compile.c (new_adjust_body): labels referred by adjuststack
shoud not be optimized away.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:58 AM Feature #11921 (Closed): Add test for rb_io_modestr_fmode
I cannot found testing for error when io-mode is binary and text.
So, I tried writing this patch.
ksss (Yuki Kurihara)
03:48 AM Bug #11884 (Closed): Psych.load broken for OpenStruct in Ruby 2.3.0
Applied in changeset r53366.
----------
ostruct.rb: respond_to?
* lib/ostruct.rb (OpenStruct): make respond_to? working on
just-allocated objects for workaround of Psych.
[ruby-core:72501] [Bug #11884]
nobu (Nobuyoshi Nakada)
03:48 AM Revision 15960b37 (git): ostruct.rb: respond_to?
* lib/ostruct.rb (OpenStruct): make respond_to? working on
just-allocated objects for workaround of Psych.
[ruby-core:72501] [Bug #11884]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:37 AM Revision 88aa6abf (git): * test/mkmf/test_have_func.rb (test_have_func):
Add assertion to examine the existence of HAVE_RUBY_INIT.
* test/mkmf/test_have_func.rb (test_not_have_func):
Add assertion to examine the absence of HAVE_RUBY_INIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53365 b2dd03c8-39...
Kenta Murata
12:26 AM Feature #11917 (Open): Add Range#length as an alias for size
I noticed that `Range` has a `size` method but no `length`, unlike most other `Enumerable` classes. I propose adding `Range#length` as an alias for `Range#size`. Any reason not to? dougo (Doug Orleans)
12:05 AM Bug #11913 (Feedback): make fails when using a custom build directory
Elliot Winkler wrote:
> ~~~
> ...
This happens when `enc/trans/.time` file exists under the source
directory.
> ~~~
> ...
Seems like these object files exist in the source directory, too.
Have you build in the source directory,...
nobu (Nobuyoshi Nakada)

12/28/2015

11:56 PM Bug #11916 (Closed): Fix delegating to 'args' and 'block'
If you have a class that uses Forwardable to delegate a method to
another object, and the method that returns the delegate object is
called `args` or `block`, then Forwardable will fail to work.
Here's a simple example:
class...
mcmire (Elliot Winkler)
11:54 PM Bug #11913 (Assigned): make fails when using a custom build directory
I can reproduce this. hsbt (Hiroshi SHIBATA)
09:50 PM Bug #11913 (Closed): make fails when using a custom build directory
Hi there. I've been trying to submit a bugfix, and in doing so I realized that I had to compile Ruby so that I could run all of the tests. I made a fresh clone of Ruby, and started following the [Contributing document](https://github.com... mcmire (Elliot Winkler)
11:46 PM Bug #11909 (Feedback): io.popen problem in 2.2 and over
Since I haven't installed libxml, tried with mere `puts`, and couldn't reproduce it.
Can you reproduce it without libxml?
nobu (Nobuyoshi Nakada)
03:42 PM Bug #11909 (Rejected): io.popen problem in 2.2 and over
Hi, I have a ruby program (prova5.rb) that contains libxml prase and a find. With Ruby 2.1.8 I have no problem, even if I execute it via "ruby prova5.rb" than if I execute it via io.popen in prova2.rb.
In a 2.2.4 environment I have su...
pierisimone (Simone Pieri)
11:24 PM Bug #11915 (Closed): File.read reading string starting with | executes it.
```ruby
puts File.read "|/bin/ls"
[output of executing ls]
=> nil
```
This is quite surprising behaviour.
It is one thing that some of the `.open` methods actually can execute stuff, but a method named 'read' should not behave li...
yxhuvud (Linus Sellberg)
10:57 PM Bug #11914 (Closed): 2.2.4: Parsing "symbol:%w(word)" gives SyntaxError
hsbt (Hiroshi SHIBATA)
10:08 PM Bug #11914 (Closed): 2.2.4: Parsing "symbol:%w(word)" gives SyntaxError
This snippet does not parse correctly, only in ruby 2.2.4: {a:%w(a)}
Adding a space after the "a:" works.
irb(main):001:0> RUBY_VERSION
=> "2.2.4"
irb(main):002:0> {a:%w(a)}
SyntaxError: (irb):2: syntax error, unex...
allenfair (Allen Fair)
10:49 PM Bug #10687: ArgumentError in certain cases of instance_exec (new bug in 2.2)
Still broken at 2.3.0:
~~~
$ ruby -v a.rb
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
a.rb:1:in `block in <main>': wrong number of arguments (given 4, expected 0..1) (ArgumentError)
from a.rb:4:in `instance_ex...
stoodfarback (stood far back)
10:42 PM Misc #11904: Why was Thread.exclusive deprecated?
I agree with Tony that Thread.exclusive still has uses. Was there some discussion on deprecating it? headius (Charles Nutter)
09:43 PM Misc #11904: Why was Thread.exclusive deprecated?
Is a single-threaded require actually a *guarantee* of every Ruby VM? bascule (Tony Arcieri)
06:17 PM Misc #11904: Why was Thread.exclusive deprecated?
Also in this particular case, it seems relying on `require` being thread-safe would be good enough for ensuring a single initialization. Eregon (Benoit Daloze)
06:13 PM Misc #11904: Why was Thread.exclusive deprecated?
Why not create your own Mutex and store it in a constant at load time?
Thread.exclusive could cause accidental contention because it is obviously global for all uses.
Eregon (Benoit Daloze)
06:31 AM Misc #11904 (Rejected): Why was Thread.exclusive deprecated?
initialize a mutex because the mutex must be initialized in a thread-safe context where it's not possible for multiple caller threads to initialize the mutex concurrently.
One use case is here: this is an idempotent native funct...
bascule (Tony Arcieri)
09:53 PM Bug #11906: File.dirname separator stripping from the begining of path
MRI normalization uses UNIX style normalization. So, that's intentional. I'm curious why JRuby uses another normalization.
Does it have good use-case?
kosaki (Motohiro KOSAKI)
11:24 AM Bug #11906 (Closed): File.dirname separator stripping from the begining of path
MRI strips additional leading slashes with `File.dirname` :
```
File.dirname "////foo/bar/baz" # => /foo/bar
File.dirname "////foo//bar/baz" # => /foo//bar
```
... issue arose as an incompatibility on JRuby's tracker: https://g...
kares (Karol Bucek)
09:52 PM Revision 5ad289b1 (git): thread_sync.c: static classes
We do not want to waste space by exposing globals to other
objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
09:05 PM Bug #11912 (Closed): [WIP] resolv: attempt to fix Resolv::LOC::Coord.create
This seems to have never worked in the first place:
* "$1 < 180" where $1 is a string raises ArgumentError
* regexps in the assignment for "hemi" reset $1 and clobber $2, $3, $4
* orientation is a frozen string literal which we appe...
normalperson (Eric Wong)
08:31 PM Bug #11910 (Closed): resolv.rb - can't modify frozen String in #scan
Applied in changeset r53363.
----------
Resolv::IPv6.create: avoid modifying frozen string literal
* lib/resolv.rb (Resolv::IPv6.create): avoid modifying frozen
* test/resolv/test_dns.rb (test_ipv6_create): test for above
[Bug #11910...
Anonymous
05:26 PM Bug #11910 (Closed): resolv.rb - can't modify frozen String in #scan
lib/resolv.rb contains "frozen_string_literal: true". This causes an error in a travis build from https://github.com/middleman/middleman/pull/1713.
~~~ruby
/home/travis/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/resolv.rb:2462:in `block i...
henry.helper (Henry Helper)
08:31 PM Revision a3b53cd9 (git): Resolv::IPv6.create: avoid modifying frozen string literal
* lib/resolv.rb (Resolv::IPv6.create): avoid modifying frozen
* test/resolv/test_dns.rb (test_ipv6_create): test for above
[Bug #11910] [ruby-core:72559]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53363 b2dd03c8-39d4-4d8f-98ff-...
Eric Wong
06:46 PM Bug #11878: Comparison of prepended modules
Indeed. marcandre (Marc-Andre Lafortune)
06:17 PM Feature #11911 (Feedback): Immutable method definitions and/or static dispatch
One of Ruby's biggest strengths is the ability for anyone, at any time, to redefine (almost) any behavior. But this is also one of its biggest weaknesses.
Ruby has a very liberal dynamic dispatch, so any method can be redefined anywhere...
mlarraz (Matt Larraz)
06:16 PM Feature #11882: Map or NamedMap
For a long time I've been saying Symbols are the biggest disadvantage of Ruby, so you can count on me with any efforts in trying to make symbols and strings interchangeable even if only for hashes.
I've tried many suggestions, like ma...
rosenfeld (Rodrigo Rosenfeld Rosas)
07:02 AM Feature #11882: Map or NamedMap
I used to have a strong opinion about the difference between String and Symbol, but ever since Symbol GC (and the resulting distinction between GC-able Symbols and "real" Symbols) I don't care so much. Now people can easily create what t... phluid61 (Matthew Kerwin)
03:56 AM Feature #11882: Map or NamedMap
I concur with Hampton Catlin for the most part (save for the
name "Map", that is not a good name IMO).
I assume that exposing Symbols was never directly the primary
design goal to be had; it came to be, and please feel free to
corr...
shevegen (Robert A. Heiler)
03:30 AM Feature #11882: Map or NamedMap
That's such a kind of.... odd opinion to me. I've been doing ruby for 10 years, and I still have to write fairly obvious handling code when building programming interfaces and libraries... over and over again. I guess I just see 95% of H... hcatlin (Hampton Catlin)
01:42 AM Feature #11882: Map or NamedMap
Hampton Catlin wrote:
> Requirements:
> ...
The proposal to treat `meth {{k: v}}` as `meth(Map.new(k: v))` instead of the current behavior of `meth do {k: v} end` clearly breaks existing code, and a lot more of it than you probably ex...
jeremyevans0 (Jeremy Evans)
04:36 PM Feature #11782: String#+@ and String#-@
What is primary use case for `-'string'`? I initially though it was to be a shorthand for `'string'.freeze`, avoiding allocation (due to special compiler support), producing an interned frozen string. But it does a dup, so does `-'strin... bughit (bug hit)
03:37 PM Bug #11908 (Rejected): Tk still relies on safe level 3 and 4
Tk uses safe level 3 and 4, which causes ArgumentError, because $SAFE >= 2 are no more supported in ruby >= 2.3.
To be honest, I'm not totally sure if it's "safe" enough to make this change, but at least it doesn't raise ArgumentError...
matsuda (Akira Matsuda)
03:10 PM Revision d21c54ff (git): :warning: key "accelerator" is duplicated and overwritten in Tk samples
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matsuda (Akira Matsuda)
03:10 PM Revision 58d698af (git): Missing require
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matsuda (Akira Matsuda)
03:10 PM Revision 357ef2f4 (git): parsedate is no more available since 1.9
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matsuda (Akira Matsuda)
03:10 PM Revision 1ea5d1ae (git): * 2015-12-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:09 PM Revision 67a886ce (git): Convert euc-jp resource file in Tk sample to utf-8
The sample program assumes the file to be encoded in utf-8
https://github.com/ruby/ruby/blob/02531898987693bd28879c78b3cb660006891186/ext/tk/sample/tkoptdb.rb#L15-L17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53358 b2dd03c8-39d4...
matsuda (Akira Matsuda)
03:09 PM Revision 672fe831 (git): Documentation typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matsuda (Akira Matsuda)
02:21 PM Bug #11907: sort_by does not preserve order with arrays with 7+ items and a block that returns the same value
I am pretty sure this proposal will be rejected. Ruby's sort is not stable. If you want to do stable sort, use `with_index`. sawa (Tsuyoshi Sawada)
02:01 PM Bug #11907 (Rejected): sort_by does not preserve order with arrays with 7+ items and a block that returns the same value
**TL;DR Arrays with more than 6 items do not have their order preserved if sorted with sort_by and the sort_by block returns the same value for each.**
Let’s start with a simple array of 6 items and sort it by the same value using the...
barelyknown (Sean Devine)
12:07 PM Feature #11708: Specify a way to override Struct-subclass constructor
Marc-Andre Lafortune wrote:
> It's true that there is no test (and more surprisingly no Rubyspec) on this.
> ...
First, thank you for the test.
And second, no. It can't be deduced. Actually, I was rather surprised that my approach wor...
prijutme4ty (Ilya Vorontsov)
08:36 AM Feature #8839: Class and module should return the class or module that was opened
I find myself repeating writing something like below (which, of course, doesn't work at this moment):
```ruby
private_constant class Person
...
end
```
Although it would need to return a symbol, it would be great if we could ...
yuki24 (Yuki Nishijima)
08:14 AM Feature #11905 (Closed): Change the 'class' keyword to return a symbol
I am totally aware of the current behaviour that you mentioned, but I'll close this issue since this is a duplicate. yuki24 (Yuki Nishijima)
08:08 AM Feature #11905: Change the 'class' keyword to return a symbol
It returns the last value inside the block, as well as `begin`/`end` block, not `nil`. nobu (Nobuyoshi Nakada)
08:00 AM Feature #11905 (Closed): Change the 'class' keyword to return a symbol
Currently the `class` keyword returns nil:
```ruby
class Person; end # => nil
```
It would be great if it could return a symbol instead:
```ruby
class Person; end # => :Person
```
If we make it so we'll be able to do so...
yuki24 (Yuki Nishijima)
07:17 AM Bug #11902 (Third Party's Issue): have_func('rb_thread_fd_select') returns false
https://gist.github.com/dwfait/9515d4893ac59962d204#file-mkmf-log-L178-L183
~~~
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_X...
nobu (Nobuyoshi Nakada)
04:55 AM Bug #11902: have_func('rb_thread_fd_select') returns false
I should add installing ruby 2.3 through ruby-install works fine. dwfait (Dwain Faithfull)
04:21 AM Bug #11902: have_func('rb_thread_fd_select') returns false
Eric Wong wrote:
> dwfaithfull@gmail.com wrote:
> ...
Sure. I'm on OS X 10.10. As an aside, others I've talked to can't replicate it either, but I can't fathom what I could have done to cause this behaviour. With the exception of opens...
dwfait (Dwain Faithfull)
04:08 AM Bug #11902: have_func('rb_thread_fd_select') returns false
dwfaithfull@gmail.com wrote:
> Bug #11902: have_func('rb_thread_fd_select') returns false
> ...
I cannot reproduce this on my GNU/Linux machines with 2.4.0dev
Can you show us your gem_make.out and mkmf.log files?
normalperson (Eric Wong)
03:55 AM Bug #11902 (Third Party's Issue): have_func('rb_thread_fd_select') returns false
Hello all. I don't know if this is a bug or an error on my part of setting something up.
I was unable to install the eventmachine gem against a version of ruby I compiled from trunk due to have_func('rb_thread_fd_select') reporting fa...
dwfait (Dwain Faithfull)
07:04 AM Revision 02531898 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:42 AM Revision f84ba30a (git): iseq.c: suppress warnings
* iseq.c (rb_iseq_compile_with_option): suppress "clobbered"
warnings by old gcc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:56 AM Revision 2eb5e09e (git): Add test for String#rstrip!
* test/ruby/test_string.rb (TestString#test_rstrip_bang): Add test
for String#rstrip!. [Fix GH-1176]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:52 AM Bug #11903 (Closed): [BUG] vm_call_cfunc - cfp consistency error
~~~
usr/local/lib/ruby/gems/2.2.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:1793: [BUG] vm_call_cfunc - cfp consistency error
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
~~~
Happy_wuwy (文英 武)
01:50 AM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
Eric Wong wrote:
> Anyways, if somebody can design a good API for internal use,
> ...
Something along the lines of vm_get_current_kwarg(name) could simply use existing interpreter structures for managing in-flight keyword arguments.
...
headius (Charles Nutter)
01:18 AM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
headius@headius.com wrote:
> Eric Wong wrote:
> > Using globals or TLS would introduce subtle reentrancy problems
> > when calls are nested. I don't want to create more C-APIs
> > we need to support long-term, either.

> The g...
normalperson (Eric Wong)
12:22 AM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
Comparing stack traces:
```
[] ~/projects/ruby $ ruby23 -rsocket -e "t = TCPSocket.new('google.com', 80); t.read_nonblock(1)"
<internal:prelude>:76:in `__read_nonblock': Resource temporarily unavailable - read would block (IO::EAGAI...
headius (Charles Nutter)
12:13 AM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
Eric Wong wrote:
> Using globals or TLS would introduce subtle reentrancy problems
> ...
The global would only be used between the runtime making a call with keyword arguments and the consumption of those arguments for variable initia...
headius (Charles Nutter)
12:19 AM Revision 4ab3c75b (git): * 2015-12-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:18 AM Revision 78d15f5e (git): Add test for String#lstrip!
* test/ruby/test_string.rb (TestString#test_lstrip_bang): Add test
for String#lstrip!. [Fix GH-1176]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

12/27/2015

11:48 PM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
headius@headius.com wrote:
> A suggestion for how to make kwarg-passing to C functions
> allocation-free: have a thread-local (or perhaps global, since CRuby
> doesn't run Ruby code in parallel) array you can populate with the
> key...
normalperson (Eric Wong)
11:00 PM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
A suggestion for how to make kwarg-passing to C functions allocation-free: have a thread-local (or perhaps global, since CRuby doesn't run Ruby code in parallel) array you can populate with the key/value pairs coming out of the VM. Metho... headius (Charles Nutter)
10:49 PM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
I don't usually jump in to grouse about CRuby changes, but this is really gross. We shouldn't be mucking up the core classes like this just to work around a missing optimization in the runtime.
I'd strongly recommend making a better r...
headius (Charles Nutter)
10:13 PM Feature #11882: Map or NamedMap
It was pointed out to me, that there is an ambiguity in the following case.
~~~
array.method {{a: 1}}
# could be
array.method { {a: 1} }
#or
#array.method(Map.new({a: 1}))
~~~
To be fair, I feel that this would be an extremel...
hcatlin (Hampton Catlin)
04:02 PM Bug #11901: Performance Issue with OpenStruct
Now, to throw in my own opinion: probably the simplest fix would be to circumvent the `#respond_to?` check if we hit `#method_missing?` already - the check is both unnecessary and inaccurate. So probably we'd want the method defining me... amcaplan (Ariel Caplan)
03:48 PM Bug #11901: Performance Issue with OpenStruct
To be more specific (but not clog up the description), the problem can be traced to https://github.com/ruby/ruby/blob/b8d9770b6c699af6e63dab727621777fbfbf7b44/lib/ostruct.rb#L166 where the methods are only defined if `#respond_to?` is `f... amcaplan (Ariel Caplan)
03:37 PM Bug #11901 (Closed): Performance Issue with OpenStruct
After recent changes to define OpenStruct getter/setter methods lazily, there is a heavy performance impact for the use case where an attribute is assigned at initialization time (i.e. `Openstruct.new(foo: :bar)`). Once an attribute is ... amcaplan (Ariel Caplan)
02:46 PM Bug #11900: broken encoding of commandline on Windows
-Eが効いてなかったので訂正。
しかしこれだと-Uでも同等の効果が得られるわけですが、それが正しいのかどうか……。
-Uでは効かなくするにはこの修正箇所のちょっと上にあるif節の中でencをinternal encodingで上書きしている部分でencに代入しないようにする必要があります(一時変数として利用されてるだけなのでこの処理自体は本来は独立の気がする)。
~~~diff
Index: ruby.c
=======================...
usa (Usaku NAKAMURA)
02:33 PM Bug #11900: broken encoding of commandline on Windows
以下のパッチで直る(?)ような気がしますが、どうでしょうか>なかださん
~~~diff
Index: ruby.c
===================================================================
--- ruby.c (リビジョン 53345)
+++ ruby.c (作業コピー)
@@ -1535,6 +1535,9 @@ process_options(int argc, char **argv...
usa (Usaku NAKAMURA)
12:48 PM Bug #11900 (Closed): broken encoding of commandline on Windows
今頃気付いてしまったのですが、2.2以降のWindowsで、コマンドラインのエンコーディングが壊れています。
思い返すと、ちょうど1年前くらいになかださんがこの辺をいじっていたので、その時からではないかと。
trunkはもうめんどくさいからEncodingをUTF-8にしちゃっていい気がしますが、2.2と2.3はどうしたものすかね。
~~~
C:\>c:\ruby\2.1.8\bin\ruby -ve "s = 'てすと'; p [s, s.encoding...
usa (Usaku NAKAMURA)
02:34 PM Revision b8d9770b (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:34 PM Revision db8dcd1b (git): * ext/win32ole/win32ole.c (ole_variant2val): refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
12:32 PM Bug #11899 (Rejected): `Object#public_methods` returns unordered array in Ruby 2.3.0
Previous ruby versions returned methods with same order. But this order was changed in Ruby 2.3.0.
Ruby 1.9.3:
```
1.9.3-p551 :001 > class B
1.9.3-p551 :002?> def self.init
1.9.3-p551 :003?> define_method(:f) {}
1.9...
llxff (Aleksandr Fomin)
12:28 PM Bug #11898 (Closed): backport r53346-r53349
バックポート用チケットです。
spawn等のオプショナル引数でファイルパスを指定するものに関して、エンコーディングの扱いが抜けていた点についての修正です。
(たぶん現行サポート対象ではWindows以外では問題は起きていませんでした。)
usa (Usaku NAKAMURA)
12:24 PM Revision 1187cf0e (git): * test/ruby/test_process.rb (TestProcess#test_execopts_open_chdir_m17n_path):
test for r53346, r53347 and r53348.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:15 PM Revision 8ff043d8 (git): * process.c (rb_execarg_parent_start1): need to convert the encoding to
ospath's one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:03 PM Revision 956100bc (git): * process.c (rb_execarg_addopt): need to convert to ospath.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
11:54 AM Revision fe0194e2 (git): * process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
reported by naruse via twitter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
11:13 AM Feature #11741: Migrate Ruby to Git from Subversion
Eric Wong wrote:
> web2004@sytse.com wrote:
> ...
If reporting bugs about GitLab by the ruby tema is a problem we would be happy to provide this via email like we do for our customers.
> > 2. If better non-javascript functionality ...
sytse (Sytse Sijbrandij)
11:00 AM Revision 701bfa0f (git): * enc/x_emoji.h: fix dead-link.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
10:55 AM Revision de962ebb (git): * doc/NEWS-2.3.0: fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
09:59 AM Revision e5cd6d0d (git): Method name typo in a Tk sample
* ext/tk/sample/tkextlib/treectrl/help.rb: kength => length
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matsuda (Akira Matsuda)
09:59 AM Revision 41558044 (git): ivar name typo in a Tk sample
* ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb: @Messge => @Message
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matsuda (Akira Matsuda)
09:59 AM Revision 9e04d1fb (git): Method name typo in a Tk sample
* ext/tk/sample/tktextio.rb: trancate => truncate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matsuda (Akira Matsuda)
09:58 AM Revision 87c817fa (git): ivar name typo in a Tk sample
* ext/tk/sample/tktextio.rb: @opne => @open
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matsuda (Akira Matsuda)
09:58 AM Revision e04b5c3e (git): Typo in Tk samples
* ext/tk/sample/demos-en/goldberg.rb: miliseconds => milliseconds
* ext/tk/sample/demos-jp/goldberg.rb: miliseconds => milliseconds
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matsuda (Akira Matsuda)
09:58 AM Revision 2cf20887 (git): Method name typo in Tk samples
* ext/tk/sample/demos-en/ctext.rb: seleect_adjust => select_adjust
* ext/tk/sample/demos-jp/ctext.rb: seleect_adjust => select_adjust
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matsuda (Akira Matsuda)
09:58 AM Revision 2c58327f (git): Typo in a Tk sample
* ext/tk/sample/tkextlib/bwidget/tree.rb: allways => always
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matsuda (Akira Matsuda)
09:58 AM Revision d7bd91ef (git): Typo in a Tk sample
* ext/tk/sample/demos-jp/mclist.rb: aquq => aqua
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matsuda (Akira Matsuda)
09:57 AM Revision 01469b0b (git): Typo in a gvar name
* ext/tk/sample/demos-jp/hscale.rb: $hscale_deom => $hscale_demo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matsuda (Akira Matsuda)
09:57 AM Revision e75a0614 (git): Typo in Tk samples
* ext/tk/sample/demos-en/ttkbut.rb: happyness => happiness
* ext/tk/sample/demos-jp/ttkbut.rb: happyness => happiness
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matsuda (Akira Matsuda)
09:57 AM Revision 97d1dbad (git): Typos in messages
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matsuda (Akira Matsuda)
09:57 AM Revision 73a37eb3 (git): Documentation typos
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matsuda (Akira Matsuda)
09:57 AM Revision 98e3c058 (git): Typo: widget (?)
* ext/tk/lib/tk.rb: wiget => widget
* ext/tk/sample/demos-en/{floor.rb,floor2.rb,puzzle.rb}: widet => widget
* ext/tk/sample/demos-en/textpeer.rb: Wdget => widget
* ext/tk/sample/demos-jp/puzzle.rb: widet => widget
* ext/tk/sample/demos-...
matsuda (Akira Matsuda)
09:32 AM Bug #11897 (Rejected): Hash key typo in Tk
ext/tk/lib/tkextlib/blt/tree.rb: disctionary => dictionary matsuda (Akira Matsuda)
09:31 AM Bug #11896 (Rejected): Local variable name typo in Tk
ext/tk/lib/tkextlib/pkg_checker.rb: sccess_list => success_list matsuda (Akira Matsuda)
09:30 AM Bug #11895 (Rejected): Method name typo in Tk (configure, configinfo)
* ext/tk/lib/tkextlib/tcllib/crosshair.rb: confugure => configure
* ext/tk/lib/tkextlib/tcllib/crosshair.rb: confuginfo => configinfo
matsuda (Akira Matsuda)
09:28 AM Bug #11894 (Rejected): Tk method name typo (sortcolumn, sortcolumnlist)
ext/tk/lib/tkextlib/tcllib/tablelist_core.rb: sortcolum => sortcolumn
ext/tk/lib/tkextlib/tcllib/tablelist_core.rb: sortcolumlist => sortcolumnlist
matsuda (Akira Matsuda)
09:26 AM Bug #11893 (Closed): Ruby keyword typo in Tk (require)
ext/tk/lib/tkextlib/tcllib/tablelist_tile.rb: requrie => require matsuda (Akira Matsuda)
09:25 AM Bug #11892 (Rejected): Ruby keyword typo in Tk (return)
ext/tk/lib/tkextlib/iwidgets/tabset.rb: reutrn => return matsuda (Akira Matsuda)
09:23 AM Bug #11891 (Closed): Initializer method name typo in Tk
ext/tk/lib/tkextlib/tcllib/toolbar.rb: initaialize => initialize matsuda (Akira Matsuda)
09:22 AM Bug #11890 (Closed): Initializer method name typo in Tk
ext/tk/lib/tkextlib/blt/tree.rb: initialzie => initialize matsuda (Akira Matsuda)
09:21 AM Bug #11889 (Rejected): Constant name typo in Tk
ext/tk/lib/tkextlib/blt/component.rb: LegenedID_TBL => LegendID_TBL matsuda (Akira Matsuda)
09:20 AM Bug #11888 (Rejected): Method name typo in Tk
ext/tk/lib/tk/canvas.rb: kinad_of? => kind_of? matsuda (Akira Matsuda)
09:17 AM Bug #11887 (Rejected): Local variable name typo in Tk
There's a variable name typo in ext/tk/lib/remote-tk.rb.
I haven't actually run the code, but this shouldn't be working...
matsuda (Akira Matsuda)
09:12 AM Bug #11886: Font name typo in Tk library and samples
Attached a patch. matsuda (Akira Matsuda)
09:11 AM Bug #11886 (Closed): Font name typo in Tk library and samples
There are some occurrences of "Helvetia 12 bold".
Shouldn't this be "Helvetica"?
matsuda (Akira Matsuda)
09:08 AM Revision 2a4729a4 (git): Fix rdoc for String#rstrip!, lstrip! [ci skip]
* string.c (rb_str_lstrip_bang, rb_str_rstrip_bang): [DOC] Fix
ruby-doc comments for String#rstrip! and lstrip!. It looks like
dropped bang. [Fix GH-1175]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53330 b2dd03c8-39d4-4d8f-...
nobu (Nobuyoshi Nakada)
06:15 AM Bug #11885 (Closed): [PATCH] IO#readpartial rejects bad args
Applied in changeset r53329.
----------
IO#readpartial rejects bad args
Sometimes a sleepy developer will want to swap read_nonblock
for readpartial forget to remove "exception: false"
* io.c (io_getpartial): remove unused kwarg from ...
Anonymous
05:56 AM Bug #11885 (Closed): [PATCH] IO#readpartial rejects bad args
IO#readpartial rejects bad args
Sometimes a sleepy developer will want to swap read_nonblock
for readpartial forget to remove "exception: false"
* io.c (io_getpartial): remove unused kwarg from template
* test/ruby/test_io.rb (te...
normalperson (Eric Wong)
06:15 AM Revision edea151a (git): IO#readpartial rejects bad args
Sometimes a sleepy developer will want to swap read_nonblock
for readpartial forget to remove "exception: false"
* io.c (io_getpartial): remove unused kwarg from template
* test/ruby/test_io.rb (test_readpartial_bad_args): new
[Bug #1...
Eric Wong
02:50 AM Revision 509cfc4c (git): Add tests for String#lstrip and rstrip
* test/ruby/test_string.rb (test_rstrip, test_lstrip): Add tests
for String#lstrip and rstrip. The test cases are used from
string.c ruby-doc comments. [Fix GH-1174]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53328 b2dd03c8...
nobu (Nobuyoshi Nakada)
02:49 AM Bug #11883 (Closed): Endless loop when installing bundle gems
Problem disappeared. Maybe fixed by r53324 or r53325, but unclear why. duerst (Martin Dürst)
12:21 AM Bug #11883: Endless loop when installing bundle gems
The value in "ruby -v" is what I get back when just typing that command. However, the process I have to kill is clearly marked as "Ruby interpreter (CUI) 2.4.0dev [x86_64-cygwin]". duerst (Martin Dürst)
12:19 AM Bug #11883 (Closed): Endless loop when installing bundle gems
When trying to compile/install ruby with "make up; make install", everything stalls when trying to install bundle gems (see below for output). An instance of ruby can be observed taking up all CPU time available. This is usually a very f... duerst (Martin Dürst)
02:47 AM Revision 5a75eabe (git): Add test for String#test_insert.
* test/ruby/test_string.rb (test_insert): The test cases are
written in string.c comments as a reference. [Fix GH-1173]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:03 AM Revision aaf99a76 (git): parse.y: show_bitstack
* parse.y (show_bitstack): trace stack_type value if yydebug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:51 AM Revision bff89a03 (git): depend: version dependency
* enc/depend (enc, trans): fix version dependency, let encoding
and transcoding shared object files depend on config.status,
instead of enc.mk which is regenerated at each build, for the
RUBY_SO_NAME value used at runtime link.
gi...
nobu (Nobuyoshi Nakada)
01:03 AM Revision c7b2450e (git): depend: version dependency
* enc/depend (enc, trans): fix version dependency, shared object
files depend on the RUBY_SO_NAME value for runtime link.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:48 AM Bug #11880 (Closed): blank string makes Win32ole crush
Applied in changeset r53322.
----------
* ext/win32ole/win32ole.c (ole_vstr2wc, ole_variant2val): fix blank
string conversion.
[Bug #11880]
Thanks Akio Tajima for the patch!
suke (Masaki Suketa)
12:48 AM Revision d644f760 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:48 AM Revision 2a16594d (git): * ext/win32ole/win32ole.c (ole_vstr2wc, ole_variant2val): fix blank
string conversion.
[Bug #11880]
Thanks Akio Tajima for the patch!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
12:46 AM Bug #11884 (Closed): Psych.load broken for OpenStruct in Ruby 2.3.0
Deserialising an OpenStruct through Psych::load results in a nil error since OpenStruct now has a respond_to_missing? method whose implementation references OpenStruct's @table instance variable.
To reproduce this issue simply use Psy...
kaikuchn (Kai Kuchenbecker)
12:35 AM Revision 0a787b9d (git): * 2015-12-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:34 AM Revision c7d317cc (git): `nul` should be uppercase [ci skip]
* doc/extension.rdoc: [DOC] `nul` should be uppercase.
change 'nul' => 'NUL'. [Fix GH-1172]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

12/26/2015

08:57 PM Feature #11882: Map or NamedMap
Sorry, forgot to add that the literal syntax would support all currently supported string-key variations that Hash does...
~~~
{{"a" => true}}
{{a: true}}
{{:a => true}}
~~~
Map.new would merge in standard Hashes string keys, u...
hcatlin (Hampton Catlin)
08:28 PM Feature #11882 (Assigned): Map or NamedMap
Hash is one of the best features of Ruby. I remember being so pleased when I first learned Ruby to find out that *anything* could be a key and that you could do some really clever things with scripts, if you key of non-traditional elemen... hcatlin (Hampton Catlin)
08:24 PM Bug #11881 (Closed): Ruby build uses SDKROOT as if it owns it
This is incompatible with the way SDKROOT is used by ios/osx developers, and prevents ruby from building on osx.
change was added here:
https://github.com/ruby/ruby/commit/e98f7ea423b08222b6eceda945613040c7b08a09#diff-7f2d280dffee5d0...
CamJN (Camden Narzt)
03:01 PM Bug #11880 (Closed): blank string makes Win32ole crush
Win32OLEのオブジェクトに空文字列を与えるとクラッシュします。
再現スクリプト(method_missing側)
~~~ruby
require 'win32ole'
shell = WIN32OLE.new('WScript.Shell')
shell.Popup('')
~~~
逆方向(COMコンポーネント側からの空文字列==`SysAllocStringLen(0)`のBSTRについても同様です。
添付のパッチで双方向とも修正...
arton (Akio Tajima)
02:52 PM Feature #11879 (Closed): `Module#prepended_modules`
`Module#included_modules` include prepended modules:
~~~ruby
module A; end
module B; end
A.prepend B
A.included_modules # => [B]
~~~
This is confusing, and is not useful. I think prepended modules should not be included in `Mo...
sawa (Tsuyoshi Sawada)
02:44 PM Bug #11878 (Rejected): Comparison of prepended modules
Including module `B` to class/module `A` gives the following results (as expected):
~~~ruby
module A; end
module B; end
A.include B
A < B # => true
B < A # => false
A <=> B # => -1
~~~
And prepending module `C` to `A` gives ...
sawa (Tsuyoshi Sawada)
02:22 PM Misc #11875: Ruby 2.3.0 now is slowly than php 7
Yui NARUSE wrote:
> You know, this is bug tracker, not socks under the Christmas tree.
> ...
I did not want anything to offend. Sorry.
I said firstly: "Not BUG but wish"
May you point me to "real world performance", "real world a...
Sega100500 (Сергей Е)
01:40 PM Misc #11875 (Closed): Ruby 2.3.0 now is slowly than php 7
You know, this is bug tracker, not socks under the Christmas tree.
Moreover the benchmark you show is micro benchmark.
If we improve Ruby for such micro benchmark, the real performance of Ruby may not be improved.
Because such optim...
naruse (Yui NARUSE)
12:16 PM Misc #11875: Ruby 2.3.0 now is slowly than php 7
Сергей Е wrote:
> I install Ruby 2.3, and compare perfomance (simple tests - loop, recursion) with php 7.
code of tests:
http://inet777.ru/sravnenie-proizvoditelmznosti-ruby-php-i-python-na-linux-x64-intel-core-i5/9516
Sega100500 (Сергей Е)
11:51 AM Misc #11875 (Closed): Ruby 2.3.0 now is slowly than php 7
Not BUG but wish
Always proud of the fact that Ruby - the fastest!
I happy to use Ruby - the BEST language! Thanks for all developers!
I install Ruby 2.3, and compare perfomance (simple tests - loop, recursion) with php 7.
Fo...
Sega100500 (Сергей Е)
02:03 PM Bug #11877 (Closed): Socket.gethostname will fail when the hostname length == RUBY_MAX_HOST_NAME_LEN
When `Socket.gethostname` calls `gethostname()` with a buffer `buf`, the buffer is incorrectly sized (at least on Linux systems).
`RUBY_MAX_HOST_NAME_LEN` is defined as `HOST_NAME_MAX` and the buffer `buf` is sized as `RUBY_MAX_HOST_NAM...
nsheridan (Niall Sheridan)
12:55 PM Misc #11876: Scheduled maintenance 2016/01/01
Thanks for your work.
Could you change my ("kou" account's) key to https://github.com/kou.keys in the upgrade?
I'm using id_dsa.pub on svn.ruby-lang.org. I want to change my key to id_rsa.pub (the above key).
kou (Kouhei Sutou)
12:45 PM Misc #11876 (Closed): Scheduled maintenance 2016/01/01
In 2016/01/01, I will be upgrading our subversion server named svn.ruby-lang.org.
It uses debian squeeze-lts now. squeeze-lts will end until Feb 2016. ref https://wiki.debian.org/LTS
I will upgrade it to debian jessie.
We will mak...
hsbt (Hiroshi SHIBATA)
10:01 AM Revision 5f0b598e (git): Revert "* tool/post-commit.sh: copied from svn server."
manged in another repo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:36 AM Bug #11489: XMLRPC client cannot alter SSL options for _async calls
Thanks for your report.
```ruby
xmlrpc_client.http.ca_file = @options[:ca_file]
```
works with
```ruby
xmlrpc_client.call_async(...)
```
on trunk.
kou (Kouhei Sutou)
09:33 AM Bug #11489 (Closed): XMLRPC client cannot alter SSL options for _async calls
Applied in changeset r53318.
----------
* lib/xmlrpc/client.rb: Support SSL options in async methods of
XMLRPC::Client.
[Bug #11489]
Reported by Aleksandar Kostadinov. Thanks!!!
kou (Kouhei Sutou)
09:33 AM Revision 3d8e4d60 (git): * lib/xmlrpc/client.rb: Support SSL options in async methods of
XMLRPC::Client.
[Bug #11489]
Reported by Aleksandar Kostadinov. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
09:26 AM Revision 548cb582 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:25 AM Revision c0aef8ca (git): * tool/post-commit.sh: copied from svn server.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:37 AM Bug #11874 (Closed): File.realpath fail on volume mount point directory
'C:\AAA' is a volume mount point.
When run "File.realpath 'C:\AAA'" it reports:
-e:1:in `realpath': No such file or directory @ realpath_rec - C:/Volume{b0513fa8-eb82-4aa7-92f4-bafb0d0d9220} (Errno::ENOENT)
from -e:1:in `<ma...
personnel (Am I Who)
03:53 AM Bug #11873 (Closed): Syntax error and parse problem when calling a method without parentheses
In the following case, syntax error rises when calling a method without parentheses.
~~~ruby
a b{c d}, :e do end #=> syntax error(should be syntax ok)
a b(c d), :e do end #=> syntax error(should be syntax ok)
a b{c(d)}, :e do end #...
tompng (tomoya ishida)
02:26 AM Bug #11872 (Closed): Use 'ASCII-8BIT', not 'binary', for miniruby
Applied in changeset r53315.
----------
miniinit.c: built-in encoding aliases
* miniinit.c (Init_enc): add some common aliases of built-in
encodings. [ruby-core:72481] [Bug #11872]
nobu (Nobuyoshi Nakada)
01:39 AM Bug #11872 (Closed): Use 'ASCII-8BIT', not 'binary', for miniruby
I get the following error when trying to compile ruby trunk:
[short version; long version below]
.ext/common/openssl/buffering.rb:1: unknown encoding name: binary (ArgumentError)
miniruby does not seem to know the 'binary' encoding,...
duerst (Martin Dürst)
02:26 AM Revision 91946271 (git): miniinit.c: built-in encoding aliases
* miniinit.c (Init_enc): add some common aliases of built-in
encodings. [ruby-core:72481] [Bug #11872]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

12/25/2015

07:35 PM Misc #11516 (Closed): Ruby 2.3.0 release engeneering
naruse (Yui NARUSE)
04:24 PM Revision 8c327b7f (git): program version from API version
* configure.in, version.h (RUBY_PROGRAM_VERSION): extract version
numbers from API version in include/ruby/version.h except for
TEENY, to save matz job next year.
* win32/setup.mak (-version-): use program version.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
04:20 PM Bug #11871 (Closed): Heredoc unindentation with <<~ with single-quoted identifier flush-lefts the content
Heredoc unindentation with `<<~` works as expected when the identifier is bare or double-quoted:
~~~
s = <<~_
fiwfewifjf
iofwejfweifwe
fjiofwejfweiof f
fiwejfweof
_
puts s
~~~
or
~~~
s = <<~"_"
fiwfewifj...
sawa (Tsuyoshi Sawada)
03:02 PM Revision 73d8cbb6 (git): * 2015-12-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision 00a47cf6 (git): setup.mak: split release date
* win32/setup.mak (verconf.mk): split release date into year,
month, and day.
* common.mk (RUBY_RELEASE_DATE): move from Makefile.in to share
with win32/setup.mak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53312 b2dd03c8-39...
nobu (Nobuyoshi Nakada)
02:50 PM Revision 59fc8426 (git): setup.mak: follow up r53310
* win32/setup.mak (verconf.mk): no longer appends, and escape
dollar.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:46 PM Revision fd236be2 (git): setup.mak: follow up r53303
* win32/setup.mak (verconf.mk): follow up r53303. needs STRINGIZE
now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:57 PM Revision 01d8c7dd (git): version.h: no bot
* version.h (RUBY_RELEASE_MONTH_STR, RUBY_RELEASE_DAY_STR): get
rid of substitution by svn bot.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:53 PM Revision d261b14c (git): * 2015-12-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:53 PM Revision b846f535 (git): version.h: no bot
* version.h (RUBY_RELEASE_MONTH_STR, RUBY_RELEASE_DAY_STR): get
rid of substitution by svn bot.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:48 PM Revision b8dd2827 (git): * 2015-12-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:48 PM Revision 4eeabd4f (git): version.h: no bot
* version.h (RUBY_RELEASE_MONTH_STR, RUBY_RELEASE_DAY_STR): get
rid of substitution by svn bot.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:43 PM Revision 12cda434 (git): * 2015-12-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:43 PM Revision 63ebdd4b (git): version.h: RUBY_RELEASE_DATE from YMD
* configure.in: extract RUBY_RELEASE_DAY at generating Makefile.
* version.h (RUBY_RELEASE_DATE): construct from RUBY_RELEASE_YEAR,
RUBY_RELEASE_MONTH, and RUBY_RELEASE_DAY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53303 b2dd...
nobu (Nobuyoshi Nakada)
12:40 PM Revision fe2123f3 (git): version.h (RUBY_VERSION): 2.4.0 development has started.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
08:28 AM Misc #11783: Do you have any idea if you have a budgets?
I made a page: https://bugs.ruby-lang.org/projects/ruby/wiki/Donation
ko1 (Koichi Sasada)
07:49 AM Revision 18318ff6 (git): ChangeLog: typo fixes [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
06:31 AM Bug #10286 (Assigned): BigDecimal - inconsistency with other numeric classes
mrkn (Kenta Murata)
06:30 AM Bug #11707 (Rejected): (a * b) / b yields incorrect result when a is BigDecimal & b is Rational with large terms
You can convert to Rational from BigDecimal to use BigDecimal#to_r.
Check the following example:
~~~
require 'bigdecimal'
a = BigDecimal('5.0')
b = 8896443230521/1290320000r
puts ((a.to_r * b) / b) == a
~~~
I think a Bi...
mrkn (Kenta Murata)
05:12 AM Revision 0ab9e706 (git): doc/CangeLog-2.3.0, ext/tk/lib/txextlib/SUPPORT_STATUS,
include/ruby/version.h: minor grammar fixes [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)

12/24/2015

11:24 PM Bug #11870 (Closed): Eradication of typical misspellings
Applied in changeset r53299.
----------
fix common misspelling [ci skip]
* compile.c, cont.c, doc, man: fix common misspelling.
[ruby-core:72466] [Bug #11870]
nobu (Nobuyoshi Nakada)
09:49 AM Bug #11870 (Assigned): Eradication of typical misspellings
nobu (Nobuyoshi Nakada)
03:32 AM Bug #11870 (Closed): Eradication of typical misspellings
(Note: this patch is low priority and I do not complained if this isn't applied to 2.3 release.)
Thanks to the Wikipedia page https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines ,
I've found many misspel...
tad (Tadashi Saito)
11:23 PM Revision 22d8481f (git): fix common misspelling [ci skip]
* compile.c, cont.c, doc, man: fix common misspelling.
[ruby-core:72466] [Bug #11870]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:37 PM Revision 35ef17dc (git): Add ruby_2_3 branch to .travis.yml [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:12 PM Revision 239454dc (git): Add ruby_2_3 branch to .travis.yml
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:11 PM Revision 9860cf1a (git): merge revision(s) 53294:
ignore exception is the address is IPv6
some environments disables IPv6 even if they have IPv6 addresses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:06 PM Revision 0674a9c7 (git): * doc/contributing.rdoc: removed the list of branch maintainers because it may
be too old when users see it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:53 PM Revision 6e181393 (git): ignore exception is the address is IPv6
some environments disables IPv6 even if they have IPv6 addresses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:25 PM Revision ac2f601e (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:25 PM Revision 50d537a9 (git): * ChangeLog, NEWS: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:24 PM Revision d1a42edd (git): * doc/{ChangeLog,NEWS}-2.3.0: moved.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:35 PM Revision 73f7ac1f (git): v2.3.0p0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:32 PM Revision 29b083f5 (git): stable branch of Ruby 2.3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:09 PM Revision b58b970d (git): * 2015-12-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:09 PM Revision ea98e52f (git): revert deprecated functions
* error.c (rb_compile_error_with_enc, rb_compile_error),
(rb_compile_bug): revert deprecate internal functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:30 PM Revision 2fd34fa3 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:15 PM Revision 89b32816 (git): iseq.c: narrow down protected region
* iseq.c (rb_iseq_compile_with_option): narrow down protected
region, and check/convert/prepare arguments before setting
base_block which needs to roll back.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53282 b2dd03c8-39d4-4d8f...
nobu (Nobuyoshi Nakada)
02:02 PM Revision 5715bee4 (git): * NEWS: added entry for CGI.escapeHTML optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
01:05 PM Feature #11868: Proposal for RubyVM::InstructionSequence.compile to return an object containing the syntax error information currently written to STDERR
Nobuyoshi Nakada wrote:
> What's `hint`?
> ...
Thank you for starting on this already. I appreciate it.
The hint/location suggestion is what ruby prints indicating where the syntax error occurred.
Sorry, hint is probably the wrong...
jrafanie (Joe Rafaniello)
09:52 AM Feature #11868: Proposal for RubyVM::InstructionSequence.compile to return an object containing the syntax error information currently written to STDERR
What's `hint`?
https://github.com/ruby/ruby/compare/trunk...nobu:feature/11868-SyntaxError-location
nobu (Nobuyoshi Nakada)
03:06 AM Feature #11868: Proposal for RubyVM::InstructionSequence.compile to return an object containing the syntax error information currently written to STDERR
Nobuyoshi Nakada wrote:
> [`assert_valid_syntax`](https://github.com/ruby/ruby/blob/trunk/test/lib/test/unit/assertions.rb#L450) may help you.
Thank you for reviewing this so quickly and the suggestion. I forgot that test/unit had ...
jrafanie (Joe Rafaniello)
12:38 AM Feature #11868: Proposal for RubyVM::InstructionSequence.compile to return an object containing the syntax error information currently written to STDERR
[`assert_valid_syntax`](https://github.com/ruby/ruby/blob/trunk/test/lib/test/unit/assertions.rb#L450) may help you.
nobu (Nobuyoshi Nakada)
11:09 AM Bug #11740: ObjectSpace.each_object exposes internal metaclasses
Looks good now, thanks! Eregon (Benoit Daloze)
09:59 AM Revision 5a536c8f (git): add a ticket number [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:43 AM Revision 94090b05 (git): deprecate exposed internal functions
* error.c (rb_compile_error_with_enc, rb_compile_error),
(rb_compile_bug): deprecate internal functions.
* parse.y (parser_yyerror): construct exception message with
source code and carret.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
08:25 AM Revision 26984290 (git): preserve source file name encoding
* compile.c (append_compile_error), parse.y (compile_error):
preserve encoding of source file name in exceptions.
* error.c (rb_compile_error_str, rb_compile_bug_str): add.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53278 b2dd0...
nobu (Nobuyoshi Nakada)
08:21 AM Revision 8cda3cbb (git): NEWS: reduce redundancy w.r.t Socket+IO [ci skip]
No need to mention the same things in the same document multiple
times. Use numeric references to point to previously-mentioned
items.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
07:21 AM Revision bec6c27f (git): * common.mk (fake.rb): $(arch)-fake.rb must depend miniruby because
it may depend miniruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:21 AM Revision 026066e9 (git): * common.mk (ripper.c): r50045 wrongly replace $(PWD) with ../..
It is the top of build directory, not topsrcdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:39 AM Revision 0f6ccf7c (git): remove empty section [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:39 AM Revision cc5781cf (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:38 AM Revision 0901fc52 (git): remove duplicated ticket number [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:35 AM Revision d9ec53a9 (git): * tool/vcs.rb (IO.popen): Refactor. Avoid assigning in condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
06:35 AM Revision b85a7910 (git): * tool/file2lastrev.rb: Fix ArgumentError to work on Ruby 1.8.7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
06:35 AM Revision 53a606a5 (git): * tool/vcs.rb (IO.popen): Enable on Ruby 1.9 where chdir option is not
supported on IO.popen
* tool/vcs.rb (IO.popen): Fix NoMethodError. I guess r49705 was not
tested... :/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
05:59 AM Revision 43b21442 (git): * NEWS: rename
"Implementation changes" section to
"Supported platform changes" section.
* NEWS: add "Implementation improvements" and add several entries.
* NEWS: add NEWS entries by Eric Wong. [ruby-core:72450]
git-svn-id: svn+ssh://ci.ruby-l...
ko1 (Koichi Sasada)
03:25 AM Bug #11869 (Closed): random hang/SegFault when accessing a missing constant in irb
While testing ruby-2.2.4 on Fedora 22, I noticed that sometimes ruby would hang or segfault when accessing a missing constant within irb.
# Steps to Reproduce
1. /path/to/ruby-2.2.4/bin/irb
2. type "FOO" and press enter
3. Repeat...
postmodern (Hal Brodigan)
02:23 AM Feature #11865: CSV: keep original line when parsing
Here is the pull request for this, https://github.com/ruby/ruby/pull/1170 doni (Doni Leong)
02:21 AM Bug #11867: overriden constant instance variable mismatch
dingo egret wrote:
> ~~~ruby
> ...
You should call super if you want to set the member `a`.
~~~ruby
class A
def initialize(b)
super(b)
@b = b
end
end
~~~
shugo (Shugo Maeda)
12:32 AM Bug #11867 (Feedback): overriden constant instance variable mismatch
Exactly.
What do you expect instead?
nobu (Nobuyoshi Nakada)
 

Also available in: Atom