Project

General

Profile

Activity

From 08/07/2013 to 08/13/2013

08/13/2013

11:40 PM Feature #6225: Hash#+
I think this operator is really doesn't fit for Hash operation. While in a glance it might make sense, using `#merge` like what we're doing right now actually make more sense when you see the code. You're merging two hashes (dictionaries... sikachu (Prem Sichanugrist)
05:38 PM Feature #6225: Hash#+
I can imagine that would cause serious confusion among users. Raising exception might be better (but only just).
Matz.
matz (Yukihiro Matsumoto)
05:19 PM Feature #6225: Hash#+
Just a thought about `Hash#+`: maybe it can be used for merging only hashes with disjoint sets of keys, and return `nil` otherwise? alexeymuranov (Alexey Muranov)
06:26 AM Feature #6225: Hash#+
A use of `Hash#|` is proposed in #7739.
There is however a typo in the proposal: it should be
~~~ruby
{ :a => 1, :b => 2 } | { :b => 1, :c => 2 } # => { :a => 1, :b => 2, :c => 2 }
~~~
alexeymuranov (Alexey Muranov)
10:32 PM Feature #7738: Deprecate Set#+ as an alias of Set#|, use it for symmetric difference. Introduce Hash#| for Hash#reverse_merge in Rails.
As i said, i will probably be surprised if this proposal is accepted :). However, i would like to answer:
1. 1 / x returns a result if x = 1, but raises an exception if x = 0.
2. I was proposing to change the behavior of Set#+, an...
alexeymuranov (Alexey Muranov)
08:32 PM Feature #7738: Deprecate Set#+ as an alias of Set#|, use it for symmetric difference. Introduce Hash#| for Hash#reverse_merge in Rails.
=begin
I think it is unusual in ruby for an operator to raise an exception depending on the combination of the values of operands.
It is like (({x + 1})) raising an exception when (({x})) is (({3})) while it successfully returns (({5...
knu (Akinori MUSHA)
06:05 PM Feature #7738: Deprecate Set#+ as an alias of Set#|, use it for symmetric difference. Introduce Hash#| for Hash#reverse_merge in Rails.
I can hardly come up with a meaningful example that would use the symmetric difference of sets. So i propose to consider instead redefining Set#+ as the *disjoint union* of sets: it would return the union of sets if the sets are disjoin... alexeymuranov (Alexey Muranov)
10:05 PM Feature #8781: Use require_relative() instead of require() if possible
Actually, to be completely honest, I use none of them in my Rails projects since they don't play well in development mode with auto-reloading. That's why most people using Rails nowadays will use require_dependency (from active_support/d... rosenfeld (Rodrigo Rosenfeld Rosas)
07:29 PM Feature #8781: Use require_relative() instead of require() if possible
On Tue, Aug 13, 2013 at 6:14 AM, SASADA Koichi <ko1@atdot.net> wrote:

> (2013/08/12 15:35), ko1 (Koichi Sasada) wrote:
> > Advantage:
> > * require_relative() is faster than require() especially with many gems.
>
> FYI: wit...
trans (Thomas Sawyer)
07:23 PM Feature #8781: Use require_relative() instead of require() if possible
(2013/08/12 15:35), ko1 (Koichi Sasada) wrote:
> Advantage:
> * require_relative() is faster than require() especially with many gems.

FYI: with Akira (Matsuda-san), we compare performance of require and
require_relative to l...
ko1 (Koichi Sasada)
06:53 PM Feature #8781: Use require_relative() instead of require() if possible
ko1 (Koichi Sasada) wrote:
> (2013/08/13 2:25), drbrain (Eric Hodel) wrote:
> ...
I doubt many users do this.
For my part I always track the project under some version control and edit the file directly
(except for the smallest cha...
Eregon (Benoit Daloze)
08:08 AM Feature #8781: Use require_relative() instead of require() if possible
Even if a switch from require to require_relative is unsuitable for the standard library, we certainly can update the documentation for require and require_relative with recommended use and caveats. drbrain (Eric Hodel)
07:53 AM Feature #8781: Use require_relative() instead of require() if possible
(2013/08/13 2:25), drbrain (Eric Hodel) wrote:
> For files in the standard library, replacing a file loaded by require_relative that is not part of a gem is more difficult. To alter net/http/request.rb loaded by require_relative you m...
ko1 (Koichi Sasada)
02:25 AM Feature #8781: Use require_relative() instead of require() if possible
Following an IRC conversation with Koichi I don't believe this bug proposes to eliminate require_relative outright, instead it is for investigating if require_relative should be used more in the standard library and in gems. The optimiza... drbrain (Eric Hodel)
07:44 PM Bug #8483: SEGV under high concurrency
We found the problem, was a recursive call that was generating the problem. I think it's really a bug that it segfaults in a recursive call when we had less memory, but I really can't reproduce the error in a more restrict test case, so ... diego.plentz (Diego Plentz)
05:08 PM Feature #7435: Exceptions should have backtrace_locations
Why is this issue closed? Is this problem solved? I think it is a very important feature that is missing. sawa (Tsuyoshi Sawada)
03:54 PM Revision 38be07f8 (git): * bignum.c (bigdivrem_restoring): xn argument removed.
(bigdivrem_normal): Follow the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:23 PM Revision 02d1a121 (git): Remove a trailing space.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:21 PM Revision 888a9f03 (git): * 2013-08-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:21 PM Revision f069f26b (git): * bignum.c (big_div_struct): Remove xn and j field. Add zn field.
(bigdivrem1): Follow the above change.
(bigdivrem_restoring): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:43 PM Revision 26e69a89 (git): * bignum.c (big_div_struct): ynzero field removed.
(bigdivrem1): Follow the above change.
(bigdivrem_restoring): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:03 PM Revision adaa5650 (git): * bignum.c (bigdivrem_restoring): Extracted from bigdivrem_normal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:13 PM Revision 26feae39 (git): random.c: coerce before check negative
* random.c (rb_random_ulong_limited): coerce before check negative.
[Fixes GH-379]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:52 PM Revision 944c620d (git): object.c: undef Module#prepend_features on Class
* object.c (Init_Object): undef Module#prepend_features on Class, as
well as Module#append_features. [Fixes GH-376]
* test_class.rb: Added test for above. And ensure type checking
on similar methods as module_function.
git-svn-id: ...
nobu (Nobuyoshi Nakada)
11:56 AM Bug #8783 (Closed): ruby 1.9/2.0 crash on exit on FreeBSD/powerpc64
On FreeBSD/powerpc64, ruby 1.9 and 2.0 segfault. I traced this to the default stack being too small (12K). A larger stack is required, 4 pages is sufficient. chmeee (Justin Hibbits)
11:05 AM Bug #8775: Dir.getwd's encoding is wrong
Maybe I did not speake clearly,When we write ruby code,we should consider the string create is internal encoding by default,and if internal encoding != filesystem encoding when we use the File.getwd result with other strings that will be... jiayp@glodon.com (贾 延平)
10:20 AM Bug #8775: Dir.getwd's encoding is wrong
If the filesystem encoding is not UTF-8.
From when did you think it is always UTF-8?
nobu (Nobuyoshi Nakada)
10:50 AM Bug #8758: Add initial documentation for SSLServer
@lisukorin For #to_io I would say "..passed as the first argument to ::new"
I also think 'start_immediately' is implementation and should just be :nodoc:'d
Can you show me how to use your example in the overview? I tried a few ways...
zzak (zzak _)
08:57 AM Bug #8758 (Assigned): Add initial documentation for SSLServer
Feel free to assign doc patches to me, I love them! zzak (zzak _)
12:13 AM Revision 5611362c (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:13 AM Revision 6bdcaacf (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)

08/12/2013

11:54 PM Revision 57d68cb2 (git): * 2013-08-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:54 PM Revision 077fa248 (git): * doc/syntax/literals.rdoc: [DOC] String literal concat by @cknadler
[Fixes GH-380] https://github.com/ruby/ruby/pull/380
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
11:35 PM Feature #8781: Use require_relative() instead of require() if possible
Steve, from my point of view, using require_relative helps us to structure our projects rather than the opposite. That's actually the main reason for my +1, not the speed improvements one.
It helps us avoiding issues that might happen...
rosenfeld (Rodrigo Rosenfeld Rosas)
11:16 PM Feature #8781: Use require_relative() instead of require() if possible
require_relative makes sense for "packages", i.e. where you have a main file that loads a bunch of subordinate files. In other words, the subordinate files could have all been in the main file, but are split out for better organization. ... trans (Thomas Sawyer)
10:47 PM Feature #8781: Use require_relative() instead of require() if possible
Isn't require_relative generally considered worse because it makes your file structure more brittle? From a code design standpoint, not from a speed standpoint. steveklabnik (Steve Klabnik)
09:47 PM Feature #8781: Use require_relative() instead of require() if possible
+1 rosenfeld (Rodrigo Rosenfeld Rosas)
07:21 PM Feature #8781: Use require_relative() instead of require() if possible
Strongly agreed, and it would ensure a whole library is loaded, not by accident a part of it and some other files which happen to have the same structure above in $LOAD_PATH. Eregon (Benoit Daloze)
03:35 PM Feature #8781 (Closed): Use require_relative() instead of require() if possible
I wrote a attached small script rrc.rb, stand for "RequireRelativeChecker".
This small script points out that require() can be replaced with require_relative().
"Detecting replace-able require()" algorithm is easy (and not perfect)...
ko1 (Koichi Sasada)
11:31 PM Feature #8643: Add Binding.from_hash
For that tiny script, this is true, Koichi, but usually we get a binding from some class, so all methods would be available as well as other intermediary local variables in the method calling `erb#results`.
Like this:
```ruby
clas...
rosenfeld (Rodrigo Rosenfeld Rosas)
11:27 PM Feature #8643: Add Binding.from_hash
Koichi then replied with:
I'm not sure what methods and variables are leaks.
For example, only "make_binding" mathod is leaked.
```ruby
def make_binding(hash)
__b = binding
hash.each{|k, v|
__b.local_variable_set(k, ...
rosenfeld (Rodrigo Rosenfeld Rosas)
11:26 PM Feature #8643: Add Binding.from_hash
I didn't notice I replied only to Koichi Sasada when replying to the ruby-core list. Is it possible to set it up so that the reply-to field is set to ruby-core?
Here is some discussion from us from those e-mails so that everyone could...
rosenfeld (Rodrigo Rosenfeld Rosas)
09:18 PM Feature #8643: Add Binding.from_hash
Koichi-san, that's correct:
eval 'p a, b', Binding.from_hash(a: 1, b: 2) #=> 1, 2
rosenfeld (Rodrigo Rosenfeld Rosas)
12:55 AM Feature #8643: Add Binding.from_hash
nobu (Nobuyoshi Nakada) wrote:
> `Binding.from_hash` ?
Yes.
ko1 (Koichi Sasada)
09:21 PM Bug #8749: Readline.readline stops STDOUT?
何通か書いたメールが redmine に登録されていないので redmine で書きます。
(メールは (化けてますが) https://www.ruby-forum.com/topic/4416224 で見れます。)
読み込みでブロックしている時に GVL を解放していなくて他のスレッドが動けないようです。
readline_getc は Ruby 1.8 時代の名残りか、
Ruby の IO 読み込み関数 (rb_io_getbyte) を使うことに...
akr (Akira Tanaka)
04:50 PM Bug #8776: script_name's encoding is wrong
In this call flow
rb_f_load -> rb_load_internal -> rb_load_file_str -> load_file -> load_file_internal -> rb_parser_compile_string_path
When load a utf-8 encoded path will be considered a filesystem encoded path and load failure.
jiayp@glodon.com (贾 延平)
03:55 PM Bug #8776: script_name's encoding is wrong
I have seen the error handling code and don't know how to fix the error.
I once think ruby will do the encode work at the boundary of the external system as soon as possible,And keep the internal system clear with the internal encodi...
jiayp@glodon.com (贾 延平)
12:31 PM Bug #8776: script_name's encoding is wrong
It's not right.
> What is the right opportunity to encode the path and fix the exception's calltack's encoding error?
At the error handling, probably.
nobu (Nobuyoshi Nakada)
12:24 PM Bug #8776: script_name's encoding is wrong
But the external file path should encoded into internal encoding when it is used in ruby system, is it right?
What is the right opportunity to encode the path and fix the exception's calltack's encoding error?
jiayp@glodon.com (贾 延平)
04:31 PM Bug #8782 (Closed): Don't set rl_getc_function on editline
r42402 以来 OS X 等の editline 環境では #define rl_getc(f) EOF が使われるようになってしまって残念なことになっていたわけですが、
そもそも editline の readline wrapper は non ASCII に対応していません。
(editline 自体には UTF-8 のみの対応が入ったが、readline wrapper は src/readline.c の _getc_function を経由するので ...
naruse (Yui NARUSE)
03:31 PM Bug #8775: Dir.getwd's encoding is wrong
You mean the code
File.getwd+'some utf-8 file name'
Should raise encoding compitable error?
Where I can see the ruby's internal design principle for encoding?When encode to internal encoding?When do not?
The doc:http://www.ruby-doc.org...
jiayp@glodon.com (贾 延平)
12:29 PM Bug #8775: Dir.getwd's encoding is wrong
It's not.
Path name is not the target of automagical conversion.
nobu (Nobuyoshi Nakada)
12:14 PM Bug #8775: Dir.getwd's encoding is wrong
Maybe my solution is wrong.
But Dir.getwd should encoded into internel encoding,am I right?
jiayp@glodon.com (贾 延平)
02:09 PM Revision da3d79d2 (git): * gc.c (gc_marks_test): inhibit gc for st's operation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masaya Tarui
01:26 PM Feature #8780 (Closed): DBM#to_h alias for #to_hash
I wonder if DBM should have #to_h, same as #to_hash.
tanaka-san, what do you think?
If accepted, I could write the patch.
zzak (zzak _)
01:01 PM Feature #8779 (Closed): Binding#yourself
Blockの内部のコンテクストにアクセスするために Binding#eval が利用する機会がありますが、
eval を多用するのは効率が悪いので、Binding#eval('self') を返すことに特化した
Binding#yourself の実装を提案いたします。
yourself にアクセスできれば、素の eval を呼ぶ必要がほとんどなくなるので効率化が期待できます。
# ちなみに yourself の名付け親は @ko1 さんです :)
(Se...
takiuchi (Genki Takiuchi)
12:22 PM Bug #8778 (Closed): lib/test/ documentation is too weak
sora-san when you are well-fed and well-rested: what do you propose for lib/test/ documentation?
I suggest 'nodoc' the majority of it adding a note about 'compatibility layer' to top-level module.
However, I realize there may be so...
zzak (zzak _)
12:12 PM Bug #8774: rb_file_dirname return wrong encoding string when dir is "."
The rb_file_dirname should not return diffrent encoding string value just because the string's content diffrent.
And some other function like rb_file_expand_path will return the value with the input paramter's incoding,and the result is...
jiayp@glodon.com (贾 延平)
11:12 AM Bug #8760 (Closed): irb automatically exits after opening
Closed by r42525 and r42527
Weird, that commit should have closed this maybe a bug @naruse-san?
zzak (zzak _)
10:01 AM Bug #8760: irb automatically exits after opening
This was fixed by https://github.com/ruby/ruby/commit/874dc2562d92a52a5f8795747e512f0deecf9065.
Please close it.
spastorino (Santiago Pastorino)
06:59 AM Revision c48b4209 (git): parse.y: CR in middle
* parse.y (parser_whole_match_p): treat CR in middle of a line as a
mere whitespace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:19 AM Revision 9af743fe (git): * class.c (rb_prepend_module): make T_ICLASS object shady because
this T_ICLASS object seems to share method table with other class
objects. It was causes WB miss.
TODO: need to know the data structure.
* test/ruby/test_module.rb: add a test for WB miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
ko1 (Koichi Sasada)
04:48 AM Revision 7f0a26e2 (git): * process.c: [DOC] RDoc formatting of Process.clock_gettime
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
04:29 AM Revision 8b95e932 (git): * lib/yaml/dbm.rb: [DOC] Document call-seq for YAML::DBM
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
03:59 AM Revision d075c430 (git): * ext/dbm/extconf.rb: [DOC] Hide from RDoc
Some libraries might want to document extconf.rb so RDoc treats it
like any other ruby program. However, DBM users shouldn't care about
these methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42531 b2dd03c8-39d4-4d8f-98ff-...
zzak (zzak _)
03:54 AM Revision eadb8b58 (git): * ext/dbm/dbm.c: [DOC] Reformat headings of DBM class
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
03:49 AM Revision 8a896179 (git): * lib/yaml.rb, lib/yaml/: [DOC] Document YAML::DBM#key and add
references to similar methods with more detail. This patch brings
lib/yaml to 100% documentation coverage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
03:07 AM Bug #8767: IO.copy_stream should write in binary mode.
normalperson (Eric Wong) wrote:
> "godfat (Lin Jen-Shin)" <godfat@godfat.org> wrote:
> ...
Yes, thank you for your support. I've added a test for this
and updated the patch in the attachment.
The updated commit on Github is located...
godfat (Lin Jen-Shin)
02:25 AM Revision 4852e7e6 (git): fix r42527 again; [Bug #8760] [ruby-dev:47608] [ruby-dev:47609]
Remove check rl_instream != ifp->stdio_file.
rl_instream is made from duped fd and we cannnot compare.
This fix seems still buggy when rl_instream is manually changed from
other extension libraries.
git-svn-id: svn+ssh://ci.ruby-lang.or...
naruse (Yui NARUSE)
01:04 AM Revision 0e2a3ccc (git): refix r42525 set stdio_file only if stdio
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

08/11/2013

10:57 PM Bug #8764 (Closed): Test failure introduced by r42468
This issue was solved with changeset r42523.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
test_require.rb: __FILE__ encoding on Windows
* test/ruby/test_r...
nobu (Nobuyoshi Nakada)
08:25 AM Bug #8764: Test failure introduced by r42468
Issue still present in recent builds:
http://ci.rubyinstaller.org/job/ruby-trunk-x64-test-all/1764/console
luislavena (Luis Lavena)
10:36 PM Feature #8738: Integer#single_bit? (Actually Fixnum#single_bit? and Bignum#single_bit?)
matz (Yukihiro Matsumoto) wrote:
> I don't see the use-case of this method. Is there any case that happens so frequently to have build-in method (maybe performance-wise)?
My intended use case is assists Integer#bit_length to determi...
akr (Akira Tanaka)
09:53 PM Feature #8777: Process.mach_absolute_time
2013/8/11 tenderlovemaking (Aaron Patterson) <tenderlove@ruby-lang.org>:
> Feature #8777: Process.mach_absolute_time
> https://bugs.ruby-lang.org/issues/8777

> This is related to #8658. `mach_absolute_time` will give us a monotoni...
akr (Akira Tanaka)
06:23 PM Feature #8777 (Closed): Process.mach_absolute_time
Hi,
This is related to #8658. `mach_absolute_time` will give us a monotonic clock on OS X. I'm not sure if this fits in to `clock_gettime`, so I've added a new function for getting the absolute time and another function for converti...
tenderlovemaking (Aaron Patterson)
07:31 PM Feature #7106: FileUtils.touch should allow touching the symlink itself rather than the file the link points to
In the grand scheme of things FileUtils could be a gem (especially, since it lacks a maintainer now), yes. This probably would turn to be good for it, actually.
As per your suggestion, I am going to do my best and maintain this as a gem...
kwilczynski (Krzysztof Wilczynski)
07:11 PM Bug #8731: Problems when parsing notation decl and entity decl with REXML::Parsers::SAX2Parser
報告ありがとうございます。
SAX2Listener#entitydeclは引数を1つだけ受け取るようにしました。非互換な変更になりますが、ドキュメントには引数は配列1つと書いているので、実装のバグだと判断しました。
notationdeclの方は引数の数が固定だったので、配列ではなく個々の引数として受け取るようにしました。こっちはSAX2Listnerが提供するデフォルトのイベントハンドラーメソッドのバグで、呼ばれ方は変更がないので非互換ではないという判断...
kou (Kouhei Sutou)
06:01 PM Bug #8731 (Closed): Problems when parsing notation decl and entity decl with REXML::Parsers::SAX2Parser
This issue was solved with changeset r42513.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* NEWS (REXML::Parsers::SAX2Parser): Add about this change.
* li...
kou (Kouhei Sutou)
06:21 PM Bug #8776 (Rejected): script_name's encoding is wrong
External file path is expected filesystem encoding by default. nobu (Nobuyoshi Nakada)
04:17 PM Bug #8776 (Rejected): script_name's encoding is wrong
there's some wrong encoded string in exception's callstack couse by the script_name;s encoding is wrong . jiayp@glodon.com (贾 延平)
06:19 PM Bug #8775 (Rejected): Dir.getwd's encoding is wrong
That's filesystem encoding.
ospath is to interface with the system.
nobu (Nobuyoshi Nakada)
03:33 PM Bug #8775 (Rejected): Dir.getwd's encoding is wrong
See the patch.
I do't know is this the right way,please check it .
jiayp@glodon.com (贾 延平)
06:16 PM Bug #8774 (Feedback): rb_file_dirname return wrong encoding string when dir is "."
"." is 7bit only, it has no differences.
Why do you consider it wrong?
nobu (Nobuyoshi Nakada)
03:28 PM Bug #8774 (Closed): rb_file_dirname return wrong encoding string when dir is "."
When File.dirname()'s value is ".", the value is wrong encoded. jiayp@glodon.com (贾 延平)
05:58 PM Revision 4e742f4b (git): * 2013-08-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:58 PM Revision 874dc256 (git): * ext/readline/readline.c (readline_s_set_input): on OS X with editline,
Readline.readline doesn't work because readline_get doesn't use
rl_getc. The difference is introduced by r42402 [ruby-dev:47509]
[Bug #8644]. Before it rb_io_stdio_file set ifp->stdio_file.
Therefore add manually setting the value....
naruse (Yui NARUSE)
03:52 PM Feature #8773: Binding#local_variables should work like #local_variable_set and #local_variable_get
I left a typo in the description field of this issue. The very last line of code in the example should read:
get_all_local_variables(binding) #=> [1, 2]
jackdanger (Jack Danger)
03:21 PM Feature #8773 (Closed): Binding#local_variables should work like #local_variable_set and #local_variable_get
With the addition of Binding#local_variable_get and Binding#local_variable_set the following seemed reasonable:
def get_all_local_variables(bind)
lvars = bind.send(:local_variables)
# `lvars` should equal [:x, :y], b...
jackdanger (Jack Danger)
03:19 PM Bug #8677: $LOAD_PATH did not encoded into the "internal encoding"
Submit a patch to use rb_str_encode_ospath encode $LOADPATH jiayp@glodon.com (贾 延平)
02:27 PM Revision 86398999 (git): file.c: OSX path encoding
* file.c (rb_str_encode_ospath): OS path encoding on Mac OS X is also
fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:59 PM Feature #8765: Literal for symbol with interpolation
On Sat, Aug 10, 2013 at 10:59:24PM +0900, sawa (Tsuyoshi Sawada) wrote:
>
> Issue #8765 has been reported by sawa (Tsuyoshi Sawada).
>
> ----------------------------------------
> Feature #8765: Literal for symbol with inter...
tenderlovemaking (Aaron Patterson)
03:39 AM Feature #8765: Literal for symbol with interpolation
=begin
There are `:" "` and `:' '` notations, whose existence indicate that symbol literals with and without interpolation are used. A typical use case for symbol literal is to create symbols from a list of words with a common prefix. ...
sawa (Tsuyoshi Sawada)
01:00 AM Feature #8765 (Feedback): Literal for symbol with interpolation
Do you need this in an actual program? There is %q and %Q because there is '' and "", and that's because interpolation in Strings is very frequent. Interpolation for Symbols is very rare, as far as I know. duerst (Martin Dürst)
01:57 PM Revision 7cb53ed3 (git): test_require.rb: __FILE__ encoding on Windows
* test/ruby/test_require.rb (assert_require_nonascii_path): OS path
encoding on Windows is fixed, so encoding of __FILE__ should be it.
[ruby-core:56498] [Bug #8764]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42523 b2dd03c8-3...
nobu (Nobuyoshi Nakada)
01:46 PM Feature #8377 (Rejected): Deprecate :: for method calls in 2.1
Hi,
Matz rejected this here:
https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20130809#Deprecate-for-method-calls-8377
So I'm closing this. :-)
tenderlovemaking (Aaron Patterson)
12:13 PM Feature #8658 (Closed): Process.clock_gettime
I committed r42504 to implement Process.clock_gettime method.
This is result of the meeting:
https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20130809
This doesn't mean that high level API is rejected.
Feel free to di...
akr (Akira Tanaka)
11:46 AM Feature #8772 (Open): Hash alias #| merge, and the case for Hash and Array polymorphism
Ideally Hash and Array would be completely polymorphic in every manner in which it is possible for them to be so. The reason for this is very simple. It makes a programmer's life easier. For example, in a recent program I was working on,... trans (Thomas Sawyer)
11:39 AM Bug #8770: [PATCH] process.c: avoid EINTR from Process.spawn
Oops, attached normalperson (Eric Wong)
09:11 AM Bug #8770: [PATCH] process.c: avoid EINTR from Process.spawn
patch please nobu (Nobuyoshi Nakada)
06:11 AM Bug #8770 (Closed): [PATCH] process.c: avoid EINTR from Process.spawn
(send_child_error): retry write on EINTR
(recv_child_error): retry read on EINTR
I've been getting occasional Errno::EINTR from Process.spawn with
just the prog name in the error message. This is probably the cause
of it, as I hav...
normalperson (Eric Wong)
10:21 AM Feature #8771 (Assigned): Start does not use proxy configuration form ENV variables
zzak (zzak _)
06:57 AM Feature #8771 (Closed): Start does not use proxy configuration form ENV variables
=begin
* Start a fake proxy in a separate window: (({nc -l 8089}))
* (({export http_proxy=http://localhost:8089}))
* (({irb -r net/http}))
* (({Net::HTTP.start('google.com').get('/')}))
* Note that the above http request was not pro...
sjltaylor (Sam Taylor)
10:12 AM Revision bd2b8d26 (git): * test/rexml/parser/test_sax2.rb: Expand abbreviated class name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
10:08 AM Revision 45222164 (git): * lib/rexml/sax2listener.rb (REXML::SAX2Listener#notationdecl): Fix
wrong number of arguments in the template listener.
[Bug #8731] [ruby-dev:47582]
Reported by Ippei Obayashi.
* test/rexml/parser/test_sax2.rb: Add tests for parsing notation
declarations with SAX2 API.
git-svn-id: svn+ssh://ci.ru...
Sutou Kouhei
09:44 AM Revision 1864d578 (git): * lib/rexml/sax2listener.rb (REXML::SAX2Listener#elementdecl): Fix wrong
examples. [Bug #8731] [ruby-dev:47582]
Reported by Ippei Obayashi.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
09:42 AM Revision 8328d8a2 (git): * lib/rexml/parsers/sax2parser.rb
(REXML::Parsers::SAX2Parser#handle_entitydecl): Extract.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
09:41 AM Revision 7e0022bc (git): * lib/rexml/parsers/sax2parser.rb (REXML::Parsers::SAX2Parser#parse):
Fix wrong "%" position in parameter entity declaration event argument.
* test/rexml/parser/test_sax2.rb: Add tests for the above case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
09:18 AM Revision e0fff0d2 (git): * ChangeLog: Fix wrong description about entity declarations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
09:10 AM Bug #8769: [PATCH] process.c (rb_fork_internal): remove cloexec setting
Seems reasonable. nobu (Nobuyoshi Nakada)
05:49 AM Bug #8769 (Closed): [PATCH] process.c (rb_fork_internal): remove cloexec setting
The close-on-exec flag is already set via:
pipe_nocrash -> rb_pipe -> rb_cloexec_pipe
Calling fcntl here is redundant.
normalperson (Eric Wong)
09:09 AM Revision f61f11a9 (git): * lib/rexml/parsers/sax2parser.rb (REXML::Parsers::SAX2Parser#parse):
Support NDATA in external entity declaration.
* test/rexml/parser/test_sax2.rb: Add tests for the above case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
09:08 AM Revision 3e5f5f5c (git): * lib/rexml/parsers/baseparser.rb
(REXML::Parsers::BaseParser#pull_event): Support optional NDATA
in parameter entity declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
09:07 AM Feature #6225: Hash#+
I think new method proposal should be a new ticket. nobu (Nobuyoshi Nakada)
09:01 AM Revision ce89dedd (git): * NEWS (REXML::Parsers::SAX2Parser): Add about this change.
* lib/rexml/parsers/sax2parser.rb (REXML::Parsers::SAX2Parser#parse):
Fix wrong number of arguments. Document says "an array of the
entity declaration" but it passes two or more arguments.
This is a bug but it break backward compat...
Sutou Kouhei
09:01 AM Revision 7e8b4368 (git): * NEWS (REXML::Parsers::SAX2Parser): Add about this change.
* lib/rexml/parsers/sax2parser.rb (REXML::Parsers::SAX2Parser#parse):
Fix wrong number of arguments. Document says "an array of the
entity declaration" but it passes two or more arguments.
This is a bug but it break backward compat...
Sutou Kouhei
08:43 AM Revision 99ed561b (git): * test/rexml/parser/test_sax2.rb: Add SAX2 API test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
07:53 AM Revision e315aa0c (git): Revert r42502 "ext/-test-/*/depend: TEST_INIT_FUNCS"
Makefiles should be re-configured by extract_makefile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:31 AM Revision 49826b4b (git): file.c: internal function
* file.c (rb_str_normalize_ospath0): make the internal function
static.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:11 AM Revision c6282e9b (git): parse.y: non-local/const attrset
* parse.y (rb_enc_symname_type): allow ID_ATTRSET for ID_INSTANCE,
ID_GLOBAL, ID_CLASS, ID_JUNK too. [Bug #8756]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:56 AM Bug #8766 (Closed): RDoc documentation bug: Symbol literal
This issue was solved with changeset r42500.
Tsuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* doc/syntax/literals.rdoc: Use single quotes instead of doub...
Anonymous
04:59 AM Bug #8767: IO.copy_stream should write in binary mode.
"godfat (Lin Jen-Shin)" <godfat@godfat.org> wrote:
> This patch makes `IO.copy_stream' always copy in binary mode,

I think your patch makes sense.

> fixing the following scenario:
>
> require 'tempfile'
> requ...
normalperson (Eric Wong)
03:02 AM Bug #8767 (Closed): IO.copy_stream should write in binary mode.
This patch makes `IO.copy_stream' always copy in binary mode,
fixing the following scenario:
require 'tempfile'
require 'stringio'
Encoding.default_internal = 'UTF-8'
out = Tempfile.new('out')
out.binmode
...
godfat (Lin Jen-Shin)
04:41 AM Bug #8768 (Closed): [PATCH] tempfile: undefine finalizer on unlink
* lib/tempfile.rb (Tempfile#unlink): undefine finalizer

running the finalizer on an unlinked Tempfile leads to a confusing
"removing ...done" message when using --debug. We can rely on
normal GC to close. rb_io_fptr_finalize w...
normalperson (Eric Wong)
04:23 AM Revision dc548ba0 (git): * include/ruby/encoding.h: Reduce ENCODING_INLINE_MAX to 127 as this
should be sufficient to represent all the encodings Ruby supports.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Charlie Somerville
04:04 AM Revision bf2ed963 (git): * file.c (rb_str_normalize_ospath): fix mixed code and declaration warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Charlie Somerville
03:43 AM Revision cef46a5e (git): [DOC] update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:10 AM Revision f4670f73 (git): ML ref. added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:59 AM Revision 93bb4899 (git): * process.c (rb_clock_gettime): New method.
This is accepted in the meeting:
https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20130809
This method is accepted as a CRuby feature.
I.e. Other Ruby implementations don't need to implement it.
git-svn-id: svn+ssh...
akr (Akira Tanaka)
01:44 AM Revision 2e04bc77 (git): * lib/time.rb: [DOC] Correcting rdoc visibility of time.rb constants
Reported by Tanaka Akira [ruby-core:56517]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)

08/10/2013

11:55 PM Revision 3a589c69 (git): ext/-test-/*/depend: TEST_INIT_FUNCS
* ext/-test-/{bignum,debug,exception,string}/depend: TEST_INIT_FUNCS
is created by globbing in extconf.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:55 PM Revision 51705124 (git): dir.c: normalization
* dir.c (glob_helper): re-enalbe normalization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:34 PM Bug #7716: Readdressing Autoload
= Abstract
Autoload's require should be hookable.
= Background
I'm making my own load system. It is badly handicapped because current autoload
uses Ruby's internal require and I cannot hook it. I want to hook it to my
load system...
trans (Thomas Sawyer)
06:25 PM Bug #7716: Readdressing Autoload
I have DevelopersMeeting20130831Japan and we can discuss about this there.
So could you prepare a slide? and we discuss about this and provide our view.
Anyway thank you for summarize but it is still confusing.
I wrote your propos...
naruse (Yui NARUSE)
02:43 PM Bug #7716: Readdressing Autoload
So it wasn't discussed. Thanks bunches. trans (Thomas Sawyer)
11:04 PM Bug #8766 (Closed): RDoc documentation bug: Symbol literal
RDoc page http://www.ruby-doc.org/core-2.0/doc/syntax/literals_rdoc.html#label-Symbols has a description and an example:
Like strings, a single-quote may be used to disable interpolation:
:"my_symbol#{1 + 1}" #=> :"my_symbo...
sawa (Tsuyoshi Sawada)
10:59 PM Feature #8765 (Feedback): Literal for symbol with interpolation
=begin
I propose a symbol literal `%S` with interpolation
foo = 3
%s{#{foo}} # => :"\#{foo}"
%S{#{foo}} # => :"3"
The conventional `:""` literal looks as if it is a unary operator to a string. Since there are both `%...
sawa (Tsuyoshi Sawada)
08:58 PM Feature #6225: Hash#+
Charlie, any chances to reopen this ticket so that Matz could evaluate the usage of using `|` instead of `+`? rosenfeld (Rodrigo Rosenfeld Rosas)
08:56 PM Feature #6225: Hash#+
I agree that the operation not being an addition is not a big deal. No one would expect it from a Hash. Groovy does have this operator working exactly as a merge and I don't see anyone complaining about it. But I don't see any problems e... rosenfeld (Rodrigo Rosenfeld Rosas)
02:43 PM Feature #6225 (Rejected): Hash#+
Also, since this specific feature (Hash#+) has been rejected by matz, I'm marking this ticket as rejected. Anonymous
02:41 PM Feature #6225: Hash#+
I think what matz means by "not a mere addition" is that in the cases of `String#+` and `Array#+`, both operands are wholly represented by the result.
In Hash#merge, the return value might not be made up of whole of both operands. So ...
Anonymous
02:31 PM Feature #6225: Hash#+
> So if the *original reporter*...
That would be me, but I am not going to make a slide. Some one else can if they like. Personally I think it's obvious. `#merge` is one of the most commonly used methods of Hash, so having an operator...
trans (Thomas Sawyer)
09:36 AM Feature #6225: Hash#+
At DevelopersMeeting20130809 matz said:
> 17:26 charliesome: So it's rejected?
> ...
So if the original reporter still wishes to make this a feature please make a slide with a short justification and a few examples for the next m...
drbrain (Eric Hodel)
08:56 PM Revision a5c3ca07 (git): * doc/syntax/literals.rdoc: Use single quotes instead of double quotes
[Bug #8766] [ruby-core:56514]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Charlie Somerville
08:45 PM Revision 579bc39f (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:44 PM Revision 9962aad7 (git): * file.c (rb_str_normalize_ospath):
HFS Plus (Mac OS Extended) uses a variant of Normal Form D in which
U+2000 through U+2FFF, U+F900 through U+FAFF, and U+2F800 through
U+2FAFF are not decomposed (this avoids problems with round trip
conversions from old Mac text en...
naruse (Yui NARUSE)
07:29 PM Feature #8643: Add Binding.from_hash
(13/08/09 23:34), SASADA Koichi wrote:
> What is conversion from `Hash` to `Binding`?
> ...
`Binding.from_hash` ?
nobu (Nobuyoshi Nakada)
06:26 PM Revision 06ed1c78 (git): * bignum.c (bitsize): Fix a conditional expression.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:19 PM Feature #8707: Hash#reverse_each
Hash in Ruby1.9+ is hash table + double linked list - this is classic structure for LRU cache.
Simple LRU cache could be build with:
class LRU
def initialize
@hash = {}
end
def []=(k, v)
@hash.del...
funny_falcon (Yura Sokolov)
05:44 PM Revision fe26dc97 (git): * lib/time.rb: [DOC] Document constants by @markijbema [Fixes GH-377]
https://github.com/ruby/ruby/pull/377
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
05:00 PM Revision d2d01d43 (git): * 2013-08-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:59 PM Revision 55b6fff7 (git): * configure.in: Revert r42458.
It removes the HAVE_CLOCK_GETTIME from config.h.
http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20130809T044800Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:02 PM Revision 5ac6776b (git): * 2013-08-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision 2f3915d4 (git): merge revision(s) 42439,42453: [Backport #8752]
* test/coverage/test_coverage.rb (TestCoverage#test_big_code): use `1'
instead of `p' to get rid of a side effect.
Kernel#p without any argument seems to do nothing, but flushes stdout.
and, if stdout is red...
nagachika (Tomoyuki Chikanaga)
01:53 PM Bug #8756 (Closed): SEGFAULT caused by `p Struct.new(:q?).instance_methods`
This issue was solved with changeset r42490.
Trent, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
parse.y: non-local/const attrset
* parse.y (rb_id_attrset): all...
nobu (Nobuyoshi Nakada)
12:18 AM Bug #8756 (Assigned): SEGFAULT caused by `p Struct.new(:q?).instance_methods`
Glass_saga (Masaki Matsushita)
12:53 PM Bug #8701: REXML bug in parsing notation declarations
ありがとうございます!
既存のテストを整理してから取り込んだので遅くなってしまいました。
DOCTYPEの中のやつは全部\Aを意図していそうだったのでそうしました。DOCTYPEの外のやつはパッと見だと判断がつかなかったのでまだそのままにしてあります。
kou (Kouhei Sutou)
11:34 AM Bug #8701 (Closed): REXML bug in parsing notation declarations
This issue was solved with changeset r42482.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::P...
kou (Kouhei Sutou)
05:46 AM Bug #8755 (Closed): 'Document' RSS::Trackback
This issue was solved with changeset r42478.
Steve, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rss/trackback.rb: [DOC] Hide RSS::Trackback from rdoc
Pa...
zzak (zzak _)
05:02 AM Revision 22bfbc94 (git): * numeric.c: [DOC] fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
04:53 AM Revision 0dd8ec36 (git): parse.y: non-local/const attrset
* parse.y (rb_id_attrset): allow other than ID_ATTRSET.
* parse.y (intern_str): ditto. try stem ID for ID_INSTANCE,
ID_GLOBAL, ID_CLASS, ID_JUNK too. [Bug #8756]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42490 b2dd03c8-39d4-...
nobu (Nobuyoshi Nakada)
04:45 AM Bug #8760 (Assigned): irb automatically exits after opening
zzak (zzak _)
04:00 AM Bug #8760: irb automatically exits after opening
Sorry there's a typo in the description and title.
I wanted to say EXITS, irb closes itself. Just try to execute it and you will see.
spastorino (Santiago Pastorino)
04:37 AM Bug #8763 (Third Party's Issue): Error in improve the docs webpage
zzak (zzak _)
04:37 AM Bug #8763: Error in improve the docs webpage
Thank you for the report! Unfortunately we don't maintain ruby-doc.org, but I will forward this to the maintainer.
We have our own contributing file, which you can find here: https://github.com/ruby/ruby/blob/trunk/doc/contributing.rd...
zzak (zzak _)
03:53 AM Bug #8764 (Closed): Test failure introduced by r42468
=begin
r42468 introduced a new test (test_require_nonascii_path_shift_jis) that is failing in RubyInstaller CI:
http://ci.rubyinstaller.org/job/ruby-trunk-x64-test-all/1757/console
TestRequire#test_require_nonascii_path_shift_j...
luislavena (Luis Lavena)
03:51 AM Revision 90749b1f (git): * lib/rexml/parsers/baseparser.rb
(REXML::Parsers::BaseParser::CDATA_END): Use "\A" instead of "^".
It is not an used constant but I fix it. (Or shuold I remove it?)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
03:48 AM Revision 265c2f8e (git): * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser):
Fix wrong constant name. "]>" pattern match is the same but
it is used for "<!DOCTYPE" end mark not "<![CDATA[" end mark.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
03:46 AM Revision 43b082d9 (git): * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser):
Use "\A" instead of "^" in document type declaration patterns
because they are used as the head match in content not the head
match in line. They don't cause any problems in the current code
but it should be fixed.
git-svn-id: sv...
Sutou Kouhei
03:40 AM Revision 8a4567b2 (git): * test/rexml/parse/test_document_type_declaration.rb: Add tests for
parsing document type declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
03:02 AM Revision 122f5c37 (git): Add missing "Patch by". Sorry. Thanks to Ippei Obayashi!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
03:01 AM Revision 6b2c0ca2 (git): * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::SYSTEM):
Fix loose "head" match regular expression. It doesn't cause any
problem in the current code but it should be fixed because readers
may confuse it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42484 b2dd03c8-39d4-4d8f-98ff-823f...
Sutou Kouhei
02:59 AM Revision b729f2da (git): * test/rexml/parse/test_notation_declaration.rb (#test_system_public):
Add a test for PUBLIC notation and SYSTEM notation order case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
02:34 AM Revision 6d18dd8e (git): * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::PUBLIC):
Fix loose "head" match regular expression.
[Bug #8701] [ruby-dev:47551]
Patch by Ippei Obayashi. Thanks!!!
* test/rexml/parse/test_notation_declaration.rb (#test_system_public):
Add a test for the above case.
git-svn-id: svn+ssh:...
Sutou Kouhei
12:21 AM Revision e9f7bd3f (git): * NEWS: [DOC] typo in example reported by @moretea
https://github.com/ruby/ruby/commit/a39e724#commitcomment-3831489
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
12:19 AM Revision ff1abb03 (git): * proc.c: [DOC] rdoc code formatting
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
12:12 AM Revision 70973af1 (git): parse.y: check for attr
* parse.y (rb_id_attrset): check if the argument is valid type as an
attribute.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

08/09/2013

11:53 PM Bug #8754: Stop checking for old REXML versions
Thanks! I've merged it.
The code was written before lib/rss/ is bundled in Ruby.
kou (Kouhei Sutou)
11:50 PM Bug #8754 (Closed): Stop checking for old REXML versions
This issue was solved with changeset r42474.
Steve, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rss/rexmlparser.rb: Remove needless REXML version check.
...
kou (Kouhei Sutou)
01:34 AM Bug #8754 (Assigned): Stop checking for old REXML versions
zzak (zzak _)
11:53 PM Feature #8643: Add Binding.from_hash
(2013/08/09 22:10), rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
>
> ...
Ok. Maybe I misunderstood your proposal.
What is conversion from `Hash` to `Binding`?
I think it is `Binding` has a local variables which specified pairs in Ha...
ko1 (Koichi Sasada)
10:10 PM Feature #8643: Add Binding.from_hash
In other words, I want an easier way to convert a hash to a binding. I first thought about Hash#to_binding but it didn't feel right to me... rosenfeld (Rodrigo Rosenfeld Rosas)
10:08 PM Feature #8643: Add Binding.from_hash
I don't quite understand how that would help me, Koichi.
How could I use #8761 to get the same result as the example in the description?
ERB.new(IO.read 'template.erb').result Binding.from_hash(template_local: 'example')
My curr...
rosenfeld (Rodrigo Rosenfeld Rosas)
06:56 PM Feature #8643: Add Binding.from_hash
What do you think about [Feature #8761]?
Usage:
```ruby
def get_empty_binding
binding
end
...
b = get_empty_binding
hash.each{|k, v|
b.local_variable_set(k, v)
}
# use b
```
I think that `Binding#local_variable_set...
ko1 (Koichi Sasada)
11:29 PM Bug #8763 (Third Party's Issue): Error in improve the docs webpage
First of all apologies if this isn't the correct bug tracker for this, it was the most closely related one I could find, but please point me elsewhere if this isn't the correct place.
On this page:
http://ruby-doc.org/improve-the-doc...
markijbema (Mark IJbema)
11:28 PM Bug #8756: SEGFAULT caused by `p Struct.new(:q?).instance_methods`
Such a name like :q? or :q! should not be allowed as an attribute of a Struct.
Here is a patch:
diff --git a/struct.c b/struct.c.new
index 60f4ebe..a777ded 100644
--- a/struct.c
+++ b/struct.c.new
@@ -211,6 +211,9 @@ setup_stru...
phasis68 (Heesob Park)
12:50 AM Bug #8756 (Closed): SEGFAULT caused by `p Struct.new(:q?).instance_methods`
Printing the instance methods for a Struct with a member name ending in a question mark causes a seg fault. I've confirmed this using the 2.0.0p247 on OS X and linux.
Here's the minimal test case for reproducing from a shell:
$ rub...
misfo (Trent Ogren)
10:52 PM Bug #8762 (Rejected): CFLAGS and LDFLAGS are not set properly in Makefile when they are already set as environment variables
No, it's not the culprit. nobu (Nobuyoshi Nakada)
07:36 PM Bug #8762 (Rejected): CFLAGS and LDFLAGS are not set properly in Makefile when they are already set as environment variables
When the environment variable CFLAGS does not exist, running the ./configure script outputs this to the Makefile:
# ./configure && grep ^CFLAGS Makefile
...configure output...
CFLAGS = ${cflags} $(ARCH_FLAG)
However, ...
Anonymous
10:51 PM Bug #8759 (Closed): Error compiling miniruby
This issue was solved with changeset r42472.
Santiago, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
configure.in: CoreFoundation framework option
* configure.in...
nobu (Nobuyoshi Nakada)
07:37 PM Bug #8759: Error compiling miniruby
I can reproduce this locally. I believe this is the problem: #8762 Anonymous
07:28 PM Bug #8759: Error compiling miniruby
Santiago, do you already have the CFLAGS or LDFLAGS environment variables set in your shell when you invoke ./configure? Anonymous
05:03 PM Bug #8759 (Feedback): Error compiling miniruby
I can't reproduce it and r42457 includes such configure.in changes.
Could you confirm there's something wrong?
naruse (Yui NARUSE)
04:12 PM Bug #8759 (Closed): Error compiling miniruby
I'm getting an error compiling miniruby after this change https://github.com/ruby/ruby/commit/c04f402f0f7692f6105c930f19d81b332d6a93d5 nobu added ...
linking miniruby
Undefined symbols for architecture x86_64:
"_CFRelease", refere...
spastorino (Santiago Pastorino)
10:21 PM Bug #8753 (Closed): __FILE__.encoding is wrong
This issue was solved with changeset r42468.
贾, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
ruby.c: use String path version parser functions
* ruby.c (load_fil...
nobu (Nobuyoshi Nakada)
08:46 PM Revision 8f61bbf3 (git): * lib/rss/trackback.rb: [DOC] Hide RSS::Trackback from rdoc
Patch by Steve Klabnik [Bug #8755] [ruby-core:56456]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
08:45 PM Feature #8751: Add offsets to method#source_location
Maybe it is easy to extend Proc#source_location and easy to know locations of chaining blocks.
foo{...}.bar{...}.baz{...}
Blocks are in same line and difficult to know which block is.
ko1 (Koichi Sasada)
08:16 PM Feature #8751: Add offsets to method#source_location
We can already do a fairly reliable method extraction in Pry, we simply start reading from the first line of the method definition until we get a complete expression, there are a few situations where this breaks but in 90% of cases (in m... banister (john mair)
08:34 PM Feature #3753: value of def-expr
Yes, I think Module#define_method should return a symbol as def statement does.
Matz.
matz (Yukihiro Matsumoto)
07:55 PM Revision 180d461a (git): * bignum.c (big_div_struct): Use size_t.
(bigdivrem1): Ditto.
(bigdivrem_num_extra_words): Ditto.
(bigdivrem_single): Ditto.
(bigdivrem_normal): Ditto.
(bary_divmod): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:47 PM Feature #8465 (Rejected): Proc set_binding
Difficult to implement. ko1 (Koichi Sasada)
07:45 PM Feature #8572: Fiber should be a Enumerable
Use case?
ko1 (Koichi Sasada)
07:39 PM Feature #8726: Class#source_location
ちょっと追えていないのですが、元の提案自体は reject という感じでしょうか。 ko1 (Koichi Sasada)
07:35 PM Feature #8725: Possibility to get a signal handler without changing it
Do you have an idea of interface?
ko1 (Koichi Sasada)
07:28 PM Feature #8576: Add optimized method type for constant value methods
Memo - Discussion on twitter:
https://twitter.com/charliesome/status/350901225010638850
ko1 (Koichi Sasada)
06:52 PM Feature #8761 (Closed): Binding#local_variable_get, set, defined?
I propose new 3 methods of Binding.
- Binding#local_variable_get(sym)
- Binding#local_variable_set(sym)
- Binding#local_variable_defined?(sym)
Maybe you can imagine the behavior.
These methods help the following cases:
(1) ...
ko1 (Koichi Sasada)
05:06 PM Bug #8760 (Closed): irb automatically exits after opening
After executing irb it automatically exists itself
✗ irb
irb(main):001:0>

This regression was introduced in this commit https://github.com/ruby/ruby/commit/d2fa5dff127bcc7ef481d7b3adca7637db3637e0
spastorino (Santiago Pastorino)
04:38 PM Bug #8702: POSTLINK fails in test/mkmf/test_framework.rb although RUBY_CODESIGN is given
Backported to ruby_1_9_3 at r42463. usa (Usaku NAKAMURA)
03:27 PM Revision 9e46ca7d (git): * 2013-08-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:27 PM Revision eca115c3 (git): * ext/readline/readline.c (insert_ignore_escape): suppress
logical-op-parentheses warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
02:50 PM Revision 81527501 (git): * lib/rss/rexmlparser.rb: Remove needless REXML version check.
Both RSS Parser and REXML are bundled in Ruby. RSS Parser can
always use the latest REXML. [Bug #8754] [ruby-core:56454]
Patch by Steve Klabnik. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42474 b2dd03c8-39d4-4d8f-9...
Sutou Kouhei
01:56 PM Revision c59ba9ce (git): io-console.gemspec: drop 1.9
* ext/io/console/io-console.gemspec: drop 1.9 support since
rb_cloexec_open() is mandatory now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:51 PM Revision 6e563a4e (git): configure.in: CoreFoundation framework option
* configure.in (XLDFLAGS, LIBRUBYARG_STATIC): CoreFoundation framework
option is now needed always, regardless enable-shared.
[ruby-core:56467] [Bug #8759]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42472 b2dd03c8-39d4-4d8f-9...
nobu (Nobuyoshi Nakada)
01:41 PM Revision 23f039f3 (git): re.c: suppress warning
* re.c (rb_memsearch): suppress parentheses warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:41 PM Revision ca3b9bbf (git): bignum.c: suppress warning
* bignum.c (rb_big_mul_karatsuba): suppress logical-op-parentheses
warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:24 PM Revision 90981c50 (git): proc.c: tabify
* proc.c (check_local_id): tabify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:20 PM Revision e941e505 (git): ruby.c: use String path version parser functions
* ruby.c (load_file_internal): use rb_parser_compile_string_path and
rb_parser_compile_file_path, String path name versions. [Bug #8753]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:20 PM Revision a1a6481a (git): * ChangeLog: fix the reason.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:08 PM Bug #8697 (Rejected): Fixnum complement operator issue
Anonymous
12:05 PM Bug #8697: Fixnum complement operator issue
Can we close this issue? The original report confuses MRI implementation details (storing of small integers in Fixnum VALUEs) with language-level operations, which I believe has been explained sufficiently. This is a non-issue. phluid61 (Matthew Kerwin)
10:52 AM Bug #7716: Readdressing Autoload
Sure. I'll lay it out in it's more basic terms, step by step:
* Ruby allows us to override the Kernel #require and #load methods.
* That may seem dangerous, but used carefully it allows us to do useful and/or interesting things wit...
trans (Thomas Sawyer)
02:03 AM Bug #7716: Readdressing Autoload
Could you summarize this?
This is hard to read for me.
Or Abstract/Background/Detail/Use case/Conclusion structure may help me.
naruse (Yui NARUSE)
10:49 AM Feature #8693 (Closed): lambda invoked by yield acts as a proc with respect to return
This issue was solved with changeset r42455.
First, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_insnhelper.c (vm_invoke_block): returning from lambda proc
...
ktsj (Kazuki Tsujimoto)
10:41 AM Bug #8722: Refinements remain active beyond the end of an evaled string
naruse (Yui NARUSE) wrote:
> > private/public/protectedなども同様ですね。
(snip)
> ...
ご確認ありがとうございました。
何か他に指摘があれば説明を追加するようにします。
shugo (Shugo Maeda)
02:52 AM Bug #8722: Refinements remain active beyond the end of an evaled string
test for ruby-dev's mail-count/post_id naruse (Yui NARUSE)
01:40 AM Bug #8722: Refinements remain active beyond the end of an evaled string
shugo (Shugo Maeda) wrote:
> naruse (Yui NARUSE) wrote:
> ...
少なくとも rubyspec ではひっかかりませんでした。
naruse (Yui NARUSE)
10:18 AM Revision ecab6908 (git): * ext/io/console/console.c: delete redefinition of rb_cloexec_open.
This function is always defined by io.c and is declared as non-static
in a header file, so this declaration causes a compilation error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Charlie Somerville
10:14 AM Revision a39e724d (git): * NEWS: update about new methods for Binding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:53 AM Feature #8738: Integer#single_bit? (Actually Fixnum#single_bit? and Bignum#single_bit?)
2013/8/5 stomar (Marcus Stollsteimer) <redmine@ruby-lang.org>:
> Issue #8738 has been updated by stomar (Marcus Stollsteimer).

> Regarding the naming, I find
>
> 8.single_bit? # => true
>
> a little strange (that's 4 b...
akr (Akira Tanaka)
09:51 AM Revision 568c5a81 (git): * proc.c: add Binding#local_variable_get/set/defined?
to access local variables which a binding contains.
Most part of implementation by nobu.
* test/ruby/test_proc.rb: add a tests for above.
* vm.c, vm_core.h (rb_binding_add_dynavars): add a new function
to add a new environment to cre...
ko1 (Koichi Sasada)
08:55 AM Bug #8758 (Closed): Add initial documentation for SSLServer
In last few days I was struggling with SSLServer, so I decide to add some documentation to that class. Here is my first attempt to describe how use it. lisukorin (Rafał Lisowski)
07:38 AM Revision d720aebb (git): merge revision(s) 42223: [Backport #8702]
* lib/mkmf.rb (xsystem): expand environment variable in all macros not
expanded with RbConfig. [Bug #8702]
* test/mkmf/test_framework.rb (create_framework): replace all $@ not
only once.
git-svn-id: svn+ss...
U.Nakamura
07:22 AM Revision 69492b4d (git): merge revision(s) 40606,40607,40635: [Backport #8375]
test_scanner_events.rb: assert_location
* test/ripper/test_scanner_events.rb (TestRipper#assert_location):
rename so skipped in backtraces.
* parse.y (parser_yylex): fail if $, @, @@ are not followed by a valid
...
U.Nakamura
06:57 AM Revision 5ee60048 (git): * lib/net/http.rb (Net::HTTP#send_request_with_body_stream): use
String#bytesize instead of String#length.
reported by shekhei (shek hei wong) at [ruby-core:53775]
[Backport #8176].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@42461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:53 AM Revision e6716b5e (git): merge revision(s) 40001: [Backport #8609]
* win32/win32.c (wrename): use MoveFileExW instead of MoveFileW,
because the latter fails on cross device file move of some
environments.
fix [ruby-core:53492] [Bug #8109]
reported by mitchellh (Mi...
U.Nakamura
05:47 AM Bug #8483: SEGV under high concurrency
@nagachika Yes, but I really think the problem isn't related to that.
@naruse Not yet. I'm still trying to reproduce the problem.
Right now, I've found some more info. After a increase in server memory(we added 4GBs of ram), we stopped ...
diego.plentz (Diego Plentz)
05:05 AM Revision a62d6e64 (git): * tool/make-snapshot: Fix order of priority for option parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
04:42 AM Revision f67c1b0a (git): configure.in: clock_gettime
* configure.in: use the result of AC_CHECK_LIB(rt, clock_gettime) as
clock_gettime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:06 AM Revision c04f402f (git): file.c: normalize Form C
* file.c (rb_str_normalize_ospath): normalize to Normalization Form C
using CFString.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:56 AM Revision f9cbf0e8 (git): * time.c (get_timeval, get_new_timeval): use rb_obj_class()
instead of CLASS_OF() because CLASS_OF() may return
a singleton class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
01:49 AM Revision 214cbdc9 (git): * vm_insnhelper.c (vm_invoke_block): returning from lambda proc
now always exits from the Proc. [ruby-core:56193] [Feature #8693]
* NEWS, test/ruby/test_lambda.rb: ditto. Patch by nobu.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
12:39 AM Bug #8755 (Closed): 'Document' RSS::Trackback
This file is entirely internal, so just a top-level comment and some :nodoc:.
steveklabnik (Steve Klabnik)
12:33 AM Revision d8a84ddb (git): merge revision(s) 42453:
suppress warning introduced by r42439 [ruby-dev:47040]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@42454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:28 AM Bug #8591: [BUG] Segmentation fault ruby 2.0.0p195 (2013-05-14) [x64-mingw32]
Hi, I can confirm phasis68's solution works. I've just came through these steps on Windows 8 (x64) with Ruby 2.0.0-p247 (x64), MySQL 5.6.13 (x86, 64-bit).
I haven't used the connector 6.0.2. At first I compiled new libmysql.lib (as de...
alpracka (Nikos Timiopulos)

08/08/2013

11:48 PM Bug #8754 (Closed): Stop checking for old REXML versions
Given that Ruby 2.0 ships with REXML 3.1.7.3, and both REXML and RSS are in the standard library, there should be no way to have an REXML < 2.5.
steveklabnik (Steve Klabnik)
11:01 PM Feature #7609 (Closed): Class#singleton_class?
This issue was solved with changeset r42449.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
object.c: Module#singleton_class?
* object.c (rb_mod_single...
nobu (Nobuyoshi Nakada)
10:13 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return
I've pasted the path at the description text... nobu (Nobuyoshi Nakada)
08:17 PM Bug #8753 (Closed): __FILE__.encoding is wrong
=begin
A bug introduced by change r42183
(({__FILE__}))'s encoding is wrong.
In file ((%ruby.c%)) and function (({load_file_internal})) type (({VALUE})) convert to (({char*})), and lost the encoding info
const char *orig_fname = St...
jiayp@glodon.com (贾 延平)
05:28 PM Feature #8751: Add offsets to method#source_location
Sorry, I should have added some usecases to this description. I would like this feature mainly to:
1. Extract source code from the source file so that I can:
a) Show it on error pages
b) Use ripper to parse and perform transfor...
tenderlovemaking (Aaron Patterson)
02:03 PM Feature #8751 (Closed): Add offsets to method#source_location
Hello,
I would like to have byte offsets returned on the source_location for methods. For example:
def foo(&b)
b.source_location # => [file_name, line_number, start_byte, end_byte]
end
If we had the start and end byte for a...
tenderlovemaking (Aaron Patterson)
04:27 PM Revision 4a7afb71 (git): suppress warning introduced by r42439 [ruby-dev:47040]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:15 PM Revision 8fba9bbc (git): common.mk: install arch
* common.mk (do-install-arch): install architecture dependent files
all, including libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:10 PM Revision 2f301754 (git): * 2013-08-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:10 PM Revision 8d644d6a (git): enumerator.c: fix non-single argument
* enumerator.c (lazy_zip_func): fix non-single argument. fix
out-of-bound access and pack multiple yielded values.
[ruby-core:56383] [Bug #8735]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42450 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
02:56 PM Bug #8722 (Closed): Refinements remain active beyond the end of an evaled string
This issue was solved with changeset r42437.
Charlie, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* NEWS: add description of incompatibility introduced by r4239...
shugo (Shugo Maeda)
02:42 PM Bug #8722: Refinements remain active beyond the end of an evaled string
naruse (Yui NARUSE) wrote:
> > 仕様変更としてNEWSファイルに書けば良いことだと思います。
> ...
ではそのように対応します。
# ちなみにjruby 1.6.7で試したら今のtrunkの挙動と同じでした。
private/public/protectedなども同様ですね。
c = Class.new {
eval "private"
def foo
end
}
c.new.foo
他に何...
shugo (Shugo Maeda)
01:56 PM Bug #8722 (Assigned): Refinements remain active beyond the end of an evaled string
matz (Yukihiro Matsumoto) wrote:
> 仕様変更としてNEWSファイルに書けば良いことだと思います。
> ...
はい。「変えた」ということにし、NEWSに書いてあれば異議はありません。
naruse (Yui NARUSE)
01:01 PM Bug #8722: Refinements remain active beyond the end of an evaled string
仕様変更としてNEWSファイルに書けば良いことだと思います。
Matz.
matz (Yukihiro Matsumoto)
12:18 PM Bug #8722 (Feedback): Refinements remain active beyond the end of an evaled string
naruse (Yui NARUSE) wrote:
> m = Module.new {
> ...
うーん、これ対応すべきでしょうか?
module_functionはスコープに作用するものなのでeval内で使用した場合の挙動は自明ではないと思います。
実際のアプリケーションでどんなケースで困るでしょうか?
shugo (Shugo Maeda)
11:36 AM Bug #8722 (Assigned): Refinements remain active beyond the end of an evaled string
m = Module.new {
eval "module_function"
def test1() end
}
r = m.respond_to?(:test1)
の r が r42396 以降 true から false に変わっています
naruse (Yui NARUSE)
02:01 PM Revision a25d02b1 (git): object.c: Module#singleton_class?
* object.c (rb_mod_singleton_p): new method Module#singleton_class? to
return whether the receiver is a singleton class or not.
[ruby-core:51087] [Feature #7609]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42449 b2dd03c8-39d4-...
nobu (Nobuyoshi Nakada)
01:09 PM Revision 44aa21d4 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:59 PM Revision fef170e8 (git): * time.c (time_overflow_p): Avoid signed integer overflow.
(rb_time_new): Fix overflow condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:34 PM Revision 685597fd (git): Fix the previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:25 PM Bug #8739: Range#last と#last(n)で挙動の統一がされていない
呼ばれたので返事をすると、2.1.0 で warning 出して 2.1.1 で変えるか、2.0.x で warning 出して 2.1 で変えるというところが妥当と思いますが、後者はもう期限切れな気がします。 hsbt (Hiroshi SHIBATA)
10:27 AM Bug #8739 (Closed): Range#last と#last(n)で挙動の統一がされていない
This issue was solved with changeset r42431.
Tomoya, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
range.c: revert r42400
* range.c (range_last): revert r42400. ...
nobu (Nobuyoshi Nakada)
01:36 AM Bug #8739: Range#last と#last(n)で挙動の統一がされていない
コメントいただきありがとうございます。
リビジョン 42400の変更のようになると、直感的でうれしいとは思いましたが、
「非互換性を導入するだけの価値」をあまり念頭に置いていない上での発言でした。
揃えてほしいという意見は変わりませんが、
非互換の影響を目にし、それ以上のメリットを私には説明することもできません。
ご判断お願い致します。
to_ueda (Tomoya Ueda)
12:13 PM Revision 319dc9f6 (git): * time.c (time_overflow_p): Avoid signed integer overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:00 AM Revision 2391ee2c (git): * thread.c (rb_threadptr_pending_interrupt_check_mask):
use RARRAY_RAWPTR() instead of RARRAY_PTR() because
there is no new reference.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
10:58 AM Revision e0932e3a (git): * string.c (rb_str_format_m): use RARRAY_RAWPTR() instead of
RARRAY_PTR() because there is no new reference.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
10:56 AM Revision 3aea31c1 (git): * include/ruby/ruby.h: define USE_RGENGC_LOGGING_WB_UNPROTECT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
10:53 AM Bug #8742 (Rejected): JSON.parse can not handle tab in string
naruse (Yui NARUSE)
08:15 AM Bug #8742: JSON.parse can not handle tab in string
=begin
Confirm that tabs are not allowed in JSON strings according to the spec (((<RFC4627|URL:http://tools.ietf.org/html/rfc4627#page-4>))).
Only characters that can be included unquoted are (({0x20}))-(({0x21})), (({0x23}))-(({0x5...
henrikhodne (Henrik Hodne)
07:51 AM Bug #8742: JSON.parse can not handle tab in string
I don't think literal tabs are allowed in strings, per the JSON spec. Anonymous
09:45 AM Feature #6225: Hash#+
There is another proposition, but for `#reverse_merge`: #7739.
Another relevant proposal: #7738.
alexeymuranov (Alexey Muranov)
03:40 AM Feature #6225: Hash#+
mame (Yusuke Endoh) wrote:
> BTW, I don't think that `Hash#merge` is so frequently-used operation enough to have such a short notation.
> ...
I use `Hash#merge` a lot in a Rails project to manage valid attributes for testing scenarios....
jimweirich (Jim Weirich)
12:45 AM Feature #6225: Hash#+
zzak (Zachary Scott) wrote:
> matz, if you can make a decision on this alias it would be appreciated!
matz explicitly said that he was not positive:
https://bugs.ruby-lang.org/issues/6225#note-8
So it is reasonable to look for ...
mame (Yusuke Endoh)
07:50 AM Revision c9d01961 (git): * include/ruby/ruby.h: add old macro name `RUBY_EVENT_SWITCH'.
This macro name is obsolete because it is renamed to
RUBY_INTERNAL_EVENT_SWITCH, but it has compatibility problem
using this macro name like ruby-prof.
I want to remove this macro after ruby 2.1.
git-svn-id: svn+ssh://ci.ruby-la...
ko1 (Koichi Sasada)
07:09 AM Revision eb369d43 (git): merge revision(s) 42439:
* test/coverage/test_coverage.rb (TestCoverage#test_big_code): use `1'
instead of `p' to get rid of a side effect.
Kernel#p without any argument seems to do nothing, but flushes stdout.
and, if stdout is red...
U.Nakamura
06:42 AM Revision f21d6210 (git): * test/coverage/test_coverage.rb (TestCoverage#test_big_code): use `1'
instead of `p' to get rid of a side effect.
Kernel#p without any argument seems to do nothing, but flushes stdout.
and, if stdout is redirected to file, fsync() will be called on
Windows. so, when running test-all on Windows with ...
U.Nakamura
06:00 AM Bug #8750 (Closed): unit test fix for CVE-2013-4073 seems to be incomplete
This issue was solved with changeset r42429.
Antonio, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/openssl/test_ssl.rb: Fix test for CVE-2013-4073.
Patc...
Anonymous
05:43 AM Bug #8750: unit test fix for CVE-2013-4073 seems to be incomplete
This should fix the issue. terceiro (Antonio Terceiro)
05:42 AM Bug #8750 (Closed): unit test fix for CVE-2013-4073 seems to be incomplete
Hello, I was just testing some Ruby versions against vulnerability against Hostname check bypassing vulnerability in SSL client (CVE-2013-4073), and it looks like the unit test added together with the fix for that issue passes even witho... terceiro (Antonio Terceiro)
05:56 AM Revision 8de705ee (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:56 AM Revision 7b046395 (git): * NEWS: add description of incompatibility introduced by r42396.
[ruby-core:56329] [Bug #8722]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
05:54 AM Revision a9a4da92 (git): * common.mk (mini): portable target to build miniruby
* common.mk (bisect): run git-bisect with miniruby
* common.mk (bisect-ruby): run git-bisect with ruby
* tool/bisect.sh: script for git-bisect
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:48 AM Revision d1ede0c1 (git): proc.c: constifiy
* proc.c (rb_proc_call_with_block): constifiy argv.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:35 AM Revision 5812f34d (git): test_range.rb: remove invalid assertions
* test/ruby/test_range.rb: remove invalid assertions for [Bug #8739].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:38 AM Feature #8155 (Closed): Improve support for streaming responses in WEBrick
This issue was solved with changeset r42427.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/webrick/httpresponse.rb: Allow #body to be an IO-like obje...
drbrain (Eric Hodel)
03:14 AM Revision 647fc21a (git): * test/webrick/test_httpresponse.rb (test_send_body_*_chunked): these
expectations assumes that the IOs are binmode. fixed test failures
introduced at r42427 on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:16 AM Revision edde0291 (git): Follow r42431
Follow tests to revert r42400. [Bug #8739]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:27 AM Revision 0be97c70 (git): range.c: revert r42400
* range.c (range_last): revert r42400. [Bug #8739]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:26 AM Revision 354028ab (git): file.c: rb_str_normalize_ospath
* file.c (rb_str_normalize_ospath): extract and move from dir.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:18 AM Feature #8696 (Assigned): Process.setproctitle
この追加、まつもとさんの了解取ってませんよね?
coreクラスのAPIの変更は今後はまつもとさんの了解を得てからにして下さい。
この提案どう思いますか?>まつもとさん
naruse (Yui NARUSE)

08/07/2013

11:12 PM Feature #8696 (Closed): Process.setproctitle
This issue was solved with changeset r42425.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Add Process.setproctitle().
* ruby.c (Process.setproctitle):...
knu (Akinori MUSHA)
10:56 PM Bug #8749 (Closed): Readline.readline stops STDOUT?
=begin
r42402 で、以下のようなスクリプトの挙動が変わっています。
(Enter を押すかどうかは関係なくて、)Readline.readline を実行中に標準出力への出力が出来なくなっているように見えます。
$ cat rl.rb
require "readline"

th = Thread.new do
p Readline.readline("> ")
end

loop do
p :hi
...
no6v (Nobuhiro IMAI)
10:50 PM Feature #6225: Hash#+
Operator overloading is for convenience and to "least surprise". Since `+` puts two numbers together, and `+` puts two strings together, and `+` puts two arrays together, `+` should also put two hashes together -- in the way that makes t... alexch (Alex Chaffee)
03:22 AM Feature #6225: Hash#+
To put an end to the bikeshedding, and because I'd like this ticket to get a resolution:
The original request was to alias `Hash#+` to `Hash#merge`.
matz, if you can make a decision on this alias it would be appreciated!
To all ...
zzak (zzak _)
09:51 PM Feature #8748 (Rejected): Integer#popcount (Fixnum#popcount and Bignum#popcount)
How about adding `Integer#popcoun` t method?
(actually `Fixnum#popcount` and `Bignum#popcount` )
```
0.popcount #=> 0
1.popcount #=> 1
255.popcount #=> 8
256.popcount #=> ...
akr (Akira Tanaka)
09:00 PM Revision 88514703 (git): * test/openssl/test_ssl.rb: Fix test for CVE-2013-4073.
Patch by Antonio Terceiro. [Bug #8750] [ruby-core:56437]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Charlie Somerville
08:58 PM Bug #7921 (Third Party's Issue): Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
I'm closing this out as 3rd party issue (mingw-w64 incorrect header package)
This has been solved in latest versions of mingw-w64 packages.
Thank you.
luislavena (Luis Lavena)
12:51 PM Bug #7921 (Feedback): Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
What is this status? naruse (Yui NARUSE)
06:38 PM Revision b01b3e22 (git): * 2013-08-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:38 PM Revision 9dff71ad (git): * lib/webrick/httpresponse.rb: Allow #body to be an IO-like object
that responds to #readpartial and #read.
[ruby-trunk - Feature #8155]
* NEWS: NEWS for above
* test/webrick/test_httpresponse.rb: Tests for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42427 b2dd03c8-39d4-4d8f-98ff-823f...
drbrain (Eric Hodel)
06:13 PM Bug #8739: Range#last と#last(n)で挙動の統一がされていない
Rejectされているの気づかず、うっかり変更してしまいましたが、revertしますかねぇ。
ただし、net/http/header.rbのように、last(1)[0]と同じモノが欲しいケースはあるのではないかと思います。
rubyspectの件は、("1.9"..."1.9.3").to_aを使うのはまずいってことですねぇ。
やっぱりrevertかな。
nobu (Nobuyoshi Nakada)
12:17 PM Bug #8739: Range#last と#last(n)で挙動の統一がされていない
kosaki (Motohiro KOSAKI) wrote:
> だれかが、ギャっと言ったら君主豹変スで態度を変えてrevertすべきなんじゃないですかねえ。
だいたい「ぎゃっ」というのはリリース後な上に、だいたいblogやtwitterでの愚痴として露出することになるところ、
標準ライブラリでの2件に加えてrubyspec (mspec)も踏んでるあたり、これはもう予告無しでの変更はアウトだろうと思うんですよ。
柴田さん側での見解も聞きますかね。
naruse (Yui NARUSE)
10:00 AM Bug #8739: Range#last と#last(n)で挙動の統一がされていない
だれかが、ギャっと言ったら君主豹変スで態度を変えてrevertすべきなんじゃないですかねえ。
kosaki (Motohiro KOSAKI)
02:53 AM Bug #8739: Range#last と#last(n)で挙動の統一がされていない
なんかrubyspecのこけ方がおかしいと思ったのでよく見てみたら、rubyspec自体(=mspec)が
Range#last を ruby_version_is "1.9"..."1.9.3" とかの判定で使っているようで、
見事に踏んだようです。
http://c64b.rubyci.org/~chkbuild/ruby-trunk/log/20130806T090301Z.diff.html.gz
最低でも移行措置必要じゃないですかねぇ。
naruse (Yui NARUSE)
02:37 AM Bug #8739 (Assigned): Range#last と#last(n)で挙動の統一がされていない
仕様を変えるときは NEWS に書いて下さい。
あと、rdoc もちゃんと追従させて下さい。
naruse (Yui NARUSE)
12:01 AM Bug #8739 (Closed): Range#last と#last(n)で挙動の統一がされていない
むむ、リビジョン 42400で最後の要素を返す(結果として挙動を揃える非互換な方向の)変更が行われてますね。
これを機会に改めて考えると、終端は「end」メソッドを使うようにして、「last」の挙動は他のEnumerableと揃えることにしましょう。
非互換ですが、なんとかなる、でしょう、多分。
標準添付ライブラリにあった非互換問題は、リビジョン 42403、42404、42407で修正されています。
ちょっと押し切られた感じですが、まあ、長い目で見...
matz (Yukihiro Matsumoto)
04:39 PM Bug #8746 (Closed): TestWEBrickCGI#test_cgi fails with mswin64 on English version of Windows
This issue was solved with changeset r42421.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/webrick/test_cgi.rb (TestWEBrickCGI#{start_cgi_server,tes...
usa (Usaku NAKAMURA)
04:39 PM Bug #8746 (Closed): TestWEBrickCGI#test_cgi fails with mswin64 on English version of Windows
題名の通り。 usa (Usaku NAKAMURA)
04:12 PM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
The check should be removed as following:
```diff
diff --git a/lib/xmlrpc/client.rb b/lib/xmlrpc/client.rb
index ced3d01..6aa7c1f 100644
--- a/lib/xmlrpc/client.rb
+++ b/lib/xmlrpc/client.rb
@@ -509,8 +509,6 @@ module XMLRPC # :n...
naruse (Yui NARUSE)
04:08 PM Misc #8741: email notification on bugs.ruby-lang.org is broken
I complained about the same a while ago (ruby-core:52371) but nothing changed :/ I also opened ticket for ruby-lang.org redmine (https://github.com/asakusarb/redmine4ruby-lang/issues/28) but that remains without response as well. vo.x (Vit Ondruch)
02:12 PM Revision d5ecd17a (git): Add Process.argv0.
* ruby.c (Process.argv0): New method to return the original value
of $0. [Feature #8696]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
02:12 PM Revision 34bb945c (git): Add Process.setproctitle().
* ruby.c (Process.setproctitle): New method to change the title of
the running process that is shown in ps(1). [Feature #8696]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
12:54 PM Bug #8483 (Feedback): SEGV under high concurrency
Could you provide a reproducible code? naruse (Yui NARUSE)
12:24 PM Bug #8012 (Assigned): Performance degradation in 2.0.0p0
naruse (Yui NARUSE)
12:23 PM Bug #7847 (Closed): gem release of io-console is broken on Windows
http://rubygems.org/gems/io-console/versions/0.4.2 is released at February 16, 2013. naruse (Yui NARUSE)
12:22 PM Bug #7699 (Assigned): rubyspec failed: BigDecimal#divmod Can be reversed with * and +
naruse (Yui NARUSE)
12:20 PM Bug #5703 (Feedback): Ruby 1.9.3p0 segmentation fault (during autoload?)
Could you provide a reproducible code? naruse (Yui NARUSE)
11:08 AM Revision fe627397 (git): * bignum.c (rb_big_odd_p): Check the bignum length.
(rb_big_even_p): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:31 AM Revision ff84827e (git): * bignum.c (dbl2big): A condition simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:53 AM Feature #8639: Add Queue#each
\# Please assume
\# @q_buf is current buffer (array) of queue in following example.
\# @q_lock is lock of this Queue.
People think Queue#each should be:
(1) Infinite loop
~~~ruby
# iterate forever
def each
loop{...
ko1 (Koichi Sasada)
09:49 AM Feature #8155: Improve support for streaming responses in WEBrick
assigning to me per: http://twitter.com/nahi/status/364910788529500160 drbrain (Eric Hodel)
08:21 AM Bug #7965 (Closed): Segmentation fault when running OpenSSL tests
Anonymous
07:46 AM Bug #8745 (Closed): Add documentation for RSS::Utils
This issue was solved with changeset r42415.
Steve, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rss/utils.rb: [DOC] RSS::Utils by Steve Klabnik [Bug #8745]
zzak (zzak _)
04:07 AM Bug #8745: Add documentation for RSS::Utils
Sure thing, whatever you think is best :)
I think that since 0 is a special case, we can get away with one level of indirection.
steveklabnik (Steve Klabnik)
04:05 AM Bug #8745 (Assigned): Add documentation for RSS::Utils
zzak (zzak _)
04:05 AM Bug #8745: Add documentation for RSS::Utils
I like the non-instance_eval example better, it is more clear zzak (zzak _)
03:56 AM Bug #8745: Add documentation for RSS::Utils
I have attached a better patch that explains an edge case of an extra method, as well as fixes indentation for code samples. steveklabnik (Steve Klabnik)
03:31 AM Bug #8745 (Closed): Add documentation for RSS::Utils
This adds both top-level as well as method-level documentation for RSS::Utils. steveklabnik (Steve Klabnik)
07:40 AM Revision 0df9d815 (git): * ChangeLog: missed ticket number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
07:39 AM Revision d3831282 (git): * test/webrick/test_cgi.rb (TestWEBrickCGI#{start_cgi_server,test_cgi}):
mswin is not only mswin32 but also mswin64. [Bug #8746]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:19 AM Revision 382abb75 (git): * cont.c (rb_fiber_start): use RARRAY_RAWPTR() instead of
RARRAY_PTR() because there is no new reference.
* proc.c (curry): ditto.
* proc.c (rb_proc_call): remove line break.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
04:20 AM Revision 8741a397 (git): * random.c (random_load): use RARRAY_RAWPTR() instead of
RARRAY_PTR() because there is no new reference.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
03:59 AM Revision 7a23eb1c (git): * thread.c (thread_start_func_2): use RARRAY_RAWPTR() instead of
RARRAY_PTR() because there is no new reference.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
02:18 AM Bug #8441: /Users/Chandan/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/utils.rb:132: [BUG] Segmentation fault ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-darwin11.4.2]
It's been a while. Have you been able to reproduce this on 1.9.3? Can you give us the code? steveklabnik (Steve Klabnik)
02:14 AM Bug #8411: Wrong value returned when arity called on a method created through define_method with default arguments
On my Ruby 2.0.0 and 2.1.0-dev, I get -1 and -1, so something was fixed somewhere. steveklabnik (Steve Klabnik)
12:02 AM Revision aa66f59c (git): * string.c: [DOC] Description of rb_str_equal [Fixes GH-375]
Based on a patch by @markijbema
https://github.com/ruby/ruby/pull/375
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
 

Also available in: Atom