Project

General

Profile

Activity

From 08/26/2014 to 09/01/2014

09/01/2014

05:46 PM Bug #6592: test_call_double(DL::TestDL) fails on ARM HardFP
Fails with gcc-4.8.2 also.
~~~
$ make check
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3 -fno...
vjoel (Joel VanderWerf)
01:24 PM Bug #6592: test_call_double(DL::TestDL) fails on ARM HardFP
ping ... any update? Still an issue with ruby 2.2.0dev (2014-08-26 trunk 47288) [armv7hl-linux] vo.x (Vit Ondruch)
05:34 PM Bug #9976: ENV doesn't raise SecurityError except for aset and delete
Backported into `ruby_2_1` branch at r47346. nagachika (Tomoyuki Chikanaga)
05:34 PM Revision 3513d077 (git): merge revision(s) r46547: [Backport #9976]
* hash.c (env_aset, env_has_key, env_assoc, env_has_value),
(env_rassoc, env_key): prohibit tainted strings...
nagachika (Tomoyuki Chikanaga)
05:20 PM Bug #9971: potential stack overflow check deadlock (fixed at r46495)
見すごしていました。 test_machine_stack_size のタイムアウトは r46499 で収まったとみていいんでしょうか? nagachika (Tomoyuki Chikanaga)
05:17 PM Bug #9820: miniruby -e 'Process.kill(:INT, $$)' hang under cron
r45911, r45912, r45917, r45918 and r45919 were backported into `ruby_2_1` branch at r47345. nagachika (Tomoyuki Chikanaga)
05:16 PM Revision 06042f85 (git): merge revision(s) r45911,r45912,r45917,r45918,r45919: [Backport #9820]
* signal.c (rb_f_kill): directly enqueue an ignored signal to self,
except for SIGSEGV and SIGBUS. [ruby-d...
nagachika (Tomoyuki Chikanaga)
04:49 PM Feature #7517: Fixnum::MIN,MAX
An obvious use case would be to make algorithms know how large an integer they can represent in Fixnum without overfl... headius (Charles Nutter)
12:30 PM Bug #10192 (Assigned): Install local versions of bundeld gems
hsbt (Hiroshi SHIBATA)
12:06 PM Bug #10192 (Closed): Install local versions of bundeld gems
Trying to build recent version of Ruby in Fedora's builder, which has no access to the internet, the "make install" f... vo.x (Vit Ondruch)
11:17 AM Revision e8473a67 (git): * 2014-09-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:16 AM Revision c5487618 (git): * ext/win32ole/win32ole.c (rbtime2vtdate): try to convert millisecond
of Time object to millisecond of VT_DATE VARIANT.
* test/win32ole/test_win32ole_variant.rb
(test_conversion_time2da...
suke (Masaki Suketa)
06:21 AM Bug #10188: Regression of Benchmark.realtime
Eric Wong wrote:
> [email protected] wrote:
> > I investigate this on Amazon Linux 2014.3
>
> Is this...
hsbt (Hiroshi SHIBATA)
05:52 AM Bug #10191 (Closed): Possible memory leak using dup and setting an unassigned instance variable (Windows)
Steps:
1. Run the following code (tested on Window 7):
~~~ruby
class Leaky
attr_accessor :v
def ...
benhell (Ben Hellerstein)
02:44 AM Feature #10189: Coverage report with Simplecov
Eric Wong wrote:
> Can we keep it out-of-tree and use it like rubyspec?
Good point.
I implemented ```make update...
hsbt (Hiroshi SHIBATA)

08/31/2014

11:56 PM Bug #10190 (Closed): Segmentation fault when Thread::Queue#push is called through dRuby
The fix has been backported at patchlevel 170. nobu (Nobuyoshi Nakada)
09:52 PM Bug #10190 (Closed): Segmentation fault when Thread::Queue#push is called through dRuby
I found a segmentation fault when `Thread::Queue` is attached to a dRuby server as a front object and `#push` is call... itiut (Yuichi TANIKAWA)
08:16 AM Bug #9961: TracePoint can skip c_return with rb_rescue()
backported into `ruby_2_0_0` at r47342.
note:
* ruby 2.0.0にはa_call/a_returnがありません。
* ruby 2.0.0だとcoerceの冒頭でto_sが...
usa (Usaku NAKAMURA)
08:14 AM Revision b10c3b6d (git): merge revision(s) 46465,46469,46484: [Backport #9961]
* vm.c (rb_vm_rewind_cfp): add new function to rewind specified cfp
with invoking RUBY_EVENT_C_RETURN.
...
U.Nakamura
07:59 AM Revision 8bd2d31d (git): * lib/benchmark.rb: Fix a syntax error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:56 AM Bug #9964: TracePoint invoke unexpected b_call events with redo
backported into `ruby_2_0_0` at r47340.
(note that ruby 2.0.0 doesn't have a_call/a_return events.)
usa (Usaku NAKAMURA)
07:55 AM Revision 3ed06c80 (git): merge revision(s) 46471: [Backport #9964]
* compile.c (rb_iseq_compile_node): put start label of block after
trace (b_call).
[Bug #9964]
...
U.Nakamura
07:49 AM Bug #9959 (Assigned): TracePoint can invoke inconsistent call event with bmethod
2.0.0にはそもそも th->passed_bmethod_me がなくて、現在のtrunkのelse節に相当する部分がないんですけど、どうしたもんでしょうか? usa (Usaku NAKAMURA)
07:39 AM Bug #9957: TracePoint catch b_return at rescue/ensure
backported into `ruby_2_0_0` at r47339. usa (Usaku NAKAMURA)
07:39 AM Revision f6838bc9 (git): merge revision(s) 46463: [Backport #9957]
* vm_core.h: add VM_FRAME_MAGIC_RESCUE to recognize normal block or
rescue clause.
* vm.c (vm_exec...
U.Nakamura
07:35 AM Bug #9767: test-all parallel fails if a test is skipped after raise
backported into `ruby_2_0_0` at r47338. usa (Usaku NAKAMURA)
07:35 AM Revision 7b55994c (git): merge revision(s) 45953,45961: [Backport #9767]
* lib/test/unit/parallel.rb: fix test-all parallel failure if a test
is skipped after raise.
DL::...
U.Nakamura
07:26 AM Bug #9618: Pathname#cleanpath creates mixed path separators
backported into `ruby_2_0_0` at r47337. usa (Usaku NAKAMURA)
07:25 AM Revision 1f452734 (git): merge revision(s) 45827: [Backport #9618]
* ext/pathname/lib/pathname.rb (cleanpath_aggressive): make all
separators File::SEPARATOR from File::ALT_S...
U.Nakamura
07:24 AM Bug #9571: "Error: TestFileUtils#test_rmdir: Errno::EEXIST: File exists @ dir_s_rmdir - data" on Solaris
backported into `ruby_2_0_0` at r47336. usa (Usaku NAKAMURA)
07:23 AM Revision 7eb57e5a (git): merge revision(s) 45720: [Backport #9571]
* lib/fileutils.rb (rmdir): rescue Errno::EEXIST in addition to
ENOTEMPTY (and ENOENT), because SUSv3 descr...
U.Nakamura
07:22 AM Bug #9544: Ruby resolver not using autoport
backported into `ruby_2_0_0` at r47335. usa (Usaku NAKAMURA)
07:22 AM Revision 96fac49c (git): merge revision(s) 45144: [Backport #9544]
* lib/resolv.rb (bind_random_port): Rescue EPERM for FreeBSD which
security.mac.portacl.port_high is change...
U.Nakamura
07:19 AM Bug #9902: Regexp#[] ignores after NUL byte in named capture index
backported into `ruby_2_0_0` at r47334. usa (Usaku NAKAMURA)
07:19 AM Revision 6ffd2d5d (git): merge revision(s) 46344: [Backport #9902]
* re.c (match_aref): should not ignore name after NUL byte.
[ruby-dev:48275] [Bug #9902]
git-svn-id: svn+...
U.Nakamura
07:12 AM Bug #9759 (Assigned): [TracePoint API] return event missing when raising exception
(reminder) usa (Usaku NAKAMURA)
07:11 AM Bug #9913: Digest == throws TypeError when testing against nil
backported into `ruby_2_0_0` at r47333. usa (Usaku NAKAMURA)
07:11 AM Revision a102b685 (git): merge revision(s) 46368,46371: [Backport #9913]
* ext/digest/digest.c (rb_digest_instance_equal):
fix #== for non-string arguments. [ruby-core:62967] [Bug ...
U.Nakamura
06:57 AM Bug #9939: segfault by modifying array during Array#combination
backported into `ruby_2_0_0` at r47332. usa (Usaku NAKAMURA)
06:56 AM Revision bea02d1b (git): merge revision(s) 46417,46418: [Backport #9939]
* array.c (yield_indexed_values): extract from permute0(),
rpermute0(), and rcombinate0().
* array...
U.Nakamura
06:31 AM Bug #9942: reduce memory allocation in Array#permutation (fixed at r46416)
Backported into `ruby_2_0_0` at r47331. usa (Usaku NAKAMURA)
06:30 AM Revision 1abe5c8d (git): merge revision(s) 46416: [Backport #9942]
* array.c (rb_ary_permutation): `p` is the array of size `r`, as
commented at permute0(). since `n >= r` h...
U.Nakamura
06:05 AM Revision cf990c5a (git): benchmark.rb: Process::CLOCK_MONOTONIC_RAW may be unavailable
* lib/benchmark.rb (BENCHMARK_CLOCK): Process::CLOCK_MONOTONIC_RAW
is not supported on old linux.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
05:26 AM Feature #8923: Frozen nil/true/false
Matz, what do you think about it?
ko1 (Koichi Sasada)
02:49 AM Revision d723b930 (git): test_benchmark.rb: use assert_in_epsilon
* test/benchmark/test_benchmark.rb (test_realtime_output): use
assert_in_epsilon which compares in relative range, ...
nobu (Nobuyoshi Nakada)
02:38 AM Feature #10189: Coverage report with Simplecov
Can we keep it out-of-tree and use it like rubyspec?

I may also extract the terminal-friendly coverage output of ...
normalperson (Eric Wong)
02:16 AM Feature #10189 (Closed): Coverage report with Simplecov
I ported [simplecov](https://github.com/colszowka/simplecov) into ruby core for measurement of test coverage.
see....
hsbt (Hiroshi SHIBATA)

08/30/2014

11:58 PM Bug #10101: Zlib::GzipReader produce different outputs for different methods applied
[email protected] wrote:
> I don't have time to investigate this right now.
> And zlib has no maintainer accor...
normalperson (Eric Wong)
11:53 PM Bug #10101 (Closed): Zlib::GzipReader produce different outputs for different methods applied
Applied in changeset r47327.
----------
zlib: GzipReader#rewind preserves ZSTREAM_FLAG_GZFILE
* ext/zlib/zlib.c (gz...
Anonymous
10:03 PM Bug #10101: Zlib::GzipReader produce different outputs for different methods applied

`read` returns a string with external encoding. In your case it seems to be `UTF-8`. The encodings of the given `...
cremno (cremno phobia)
11:53 PM Revision 3bfd894a (git): * 2014-08-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:53 PM Revision 3cee6a22 (git): zlib: GzipReader#rewind preserves ZSTREAM_FLAG_GZFILE
* ext/zlib/zlib.c (gzfile_reset): preserve ZSTREAM_FLAG_GZFILE
[Bug #10101]
* test/zlib/test_zlib.rb (test_rewind)...
Eric Wong
10:30 PM Feature #7517: Fixnum::MIN,MAX
Even if the use-cases aren't really convincing, I think the informational purpose alone is a good enough argument to ... cremno (cremno phobia)
04:32 PM Bug #9607: Change the full GC timing
Thank you ko1 for providing a patch to `ruby_2_1`. I can apply it cleanly.
Ant thank you eric for your confirmation....
nagachika (Tomoyuki Chikanaga)
04:29 PM Revision 478a0180 (git): merge revision(s) r46387: [Backport #9607]
* gc.c: change full GC timing to keep lower memory usage.
Extend heap only at
(1) after major GC
...
nagachika (Tomoyuki Chikanaga)
04:09 PM Bug #10127: WIN32OLE segfaults
Backported into `ruby_2_1` branch at r47325. nagachika (Tomoyuki Chikanaga)
04:09 PM Revision 9fa0d836 (git): merge revision(s) r47153: [Backport #10127]
* ext/win32ole/win32ole.c (ole_create_dcom): use the converted
result if the argument can be converted to a...
nagachika (Tomoyuki Chikanaga)
04:05 PM Bug #9946: [Win32] redirection doesn't support non-codepage
Backported into `ruby_2_1` branch at r47324. nagachika (Tomoyuki Chikanaga)
04:04 PM Revision 6491d862 (git): merge revision(s) r46441: [Backport #9946]
* process.c (open): use UTF-8 version function to support
non-ascii path properly. [ruby-core:63185] [Bug ...
nagachika (Tomoyuki Chikanaga)
03:40 PM Feature #10173: Remove meaningless ensure
The patch looks good to me.
But rubygems has upstream repository.
https://github.com/rubygems/rubygems/
Please...
nagachika (Tomoyuki Chikanaga)
01:29 PM Revision b6c425aa (git): internal.h: WARN_UNUSED_RESULT
* internal.h (WARN_UNUSED_RESULT): warn unused result by gcc 3.4
or later.
* symbol.c: declare some functions with...
nobu (Nobuyoshi Nakada)
10:30 AM Revision 765e4e2e (git): symbol.c (rb_sym2id): do not return garbage object
The dynamic sym passed to rb_sym2id may be a garbage object
(as accounted for by dsymbol_check). This fixes an occas...
Eric Wong
06:38 AM Bug #10188: Regression of Benchmark.realtime
[email protected] wrote:
> I investigate this on Amazon Linux 2014.3

Is this shared machine/VM? What ke...
normalperson (Eric Wong)
05:56 AM Bug #10188 (Rejected): Regression of Benchmark.realtime
After r47260, rubyci is sometimes failed. It seems to relate https://bugs.ruby-lang.org/issues/10165 .
* http://c...
hsbt (Hiroshi SHIBATA)
06:30 AM Feature #10186 (Rejected): configure の with-out-ext オプション
残念ながらautoconfの--without-*では引数を取れないのです。 nobu (Nobuyoshi Nakada)
05:36 AM Feature #10186: configure の with-out-ext オプション
ごめんなさい。間違ってました。
--withext-out
じゃなくて
--without-ext
と書きたかったのでした。
--without-ext の方が --with-out-extより
単語の切れ目として自然だし...
suke (Masaki Suketa)
01:55 AM Feature #10186: configure の with-out-ext オプション
> ビルド対象から除外する拡張ライブラリを指定する configure のオプション
> が --with-out-extになっています。
> 個人的には、--withext-out の方がいいと思います。
根拠が無いと比較...
kosaki (Motohiro KOSAKI)
06:18 AM Revision 42e5ff99 (git): test_benchmark.rb: extend sleep time
* test/benchmark/test_benchmark.rb: extend sleep time, as 1ms is
too short on some environments.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
06:15 AM Revision 4274b797 (git): benchmark.rb: prefer Process::CLOCK_MONOTONIC_RAW
* lib/benchmark.rb (BENCHMARK_CLOCK): prefer Process::CLOCK_MONOTONIC_RAW
if available to more accurate measure.
g...
nobu (Nobuyoshi Nakada)
01:43 AM Feature #10187: minor iseq memory reductions
Missed patch 2/2 normalperson (Eric Wong)
01:42 AM Feature #10187 (Closed): minor iseq memory reductions
Pretty trivial and low impact, but I figure we might as well reduce
memory footprint a few kilobytes where we can an...
normalperson (Eric Wong)

08/29/2014

11:10 PM Feature #10185: [PATCH] iseq: free untranslated iseq->iseq at compile
Patch #2:
Subject: [PATCH] iseq (rb_iseq_t): remove iseq->iseq field
It is unnecessary and reduces transient ma...
normalperson (Eric Wong)
09:24 PM Feature #10185 (Closed): [PATCH] iseq: free untranslated iseq->iseq at compile
running "ruby -rpp -e 'pp GC.stat'", a reduction in
malloc usage is shown:
before:
:malloc_increase=>118784,
...
normalperson (Eric Wong)
10:28 PM Feature #10186 (Rejected): configure の with-out-ext オプション
ビルド対象から除外する拡張ライブラリを指定する configure のオプション
が --with-out-extになっています。
個人的には、--withext-out の方がいいと思います。
win32/configure....
suke (Masaki Suketa)
09:41 PM Revision 66d3b975 (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: fix NameError dumping and
loading. Fixes GH #85. Thanks @brentdax for the patch!
* test/psych/test_exception.rb: test for fix
git-svn-id: svn+...
tenderlovemaking (Aaron Patterson)
09:24 PM Revision 8662841a (git): * ext/psych/lib/psych/scalar_scanner.rb: fix loading strings that
look like integers but have a newline. Fixes GH #189
* test/psych/test_string.rb: test for fix
git-svn-id: svn+ssh:/...
tenderlovemaking (Aaron Patterson)
09:11 PM Revision 73645bb8 (git): * ext/psych/lib/psych/visitors/to_ruby.rb: merge keys with a hash
should merge the hash in to the parent.
* test/psych/test_merge_keys.rb: test for change. Fixes GH #202
git-svn-id: ...
tenderlovemaking (Aaron Patterson)
09:02 PM Revision 53220c49 (git): * 2014-08-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:02 PM Revision 7a5dedf2 (git): * ext/psych/lib/psych/visitors/to_ruby.rb: quoted "<<" strings
should not be treated as merge keys.
* ext/psych/lib/psych/visitors/yaml_tree.rb: hashes with keys
containing "<<" ...
tenderlovemaking (Aaron Patterson)
06:36 PM Feature #10177: Hash#has_key? and Hash#has_value? should be deprecated
I liked has_key? but if matz prefers the other way I am fine,
and I like that there is a consistent definition there...
shevegen (Robert A. Heiler)
06:33 PM Feature #10183: An alternative name for method `class`
The problem with object_class is that it is longer than self.class
Remember that object_id used to be called id in...
shevegen (Robert A. Heiler)
02:02 PM Feature #10183: An alternative name for method `class`
Thomas Sawyer wrote:
> I once suggested `object_class` to go along with `object_id`.
>
> Also, see https://bugs.r...
sawa (Tsuyoshi Sawada)
01:40 PM Feature #10183: An alternative name for method `class`
I once suggested `object_class` to go along with `object_id`.
Also, see https://bugs.ruby-lang.org/issues/6478 whi...
trans (Thomas Sawyer)
12:52 PM Feature #10183 (Open): An alternative name for method `class`
The method `class` is special in that it always has to have an explicit receiver in order to avoid crash with the key... sawa (Tsuyoshi Sawada)
06:30 PM Bug #10184: irb terminates with no method error
Indeed. I have a similar error but different:
def !; end # => :!
/usr/lib/ruby/2.1.0/irb/init.rb:250:in `r...
shevegen (Robert A. Heiler)
04:33 PM Bug #10184 (Closed): irb terminates with no method error
When I input the following lines in irb, the irb terminates.
~~~
$ irb
irb(main):001:0> def !; end
=> :!
irb(m...
sawa (Tsuyoshi Sawada)
05:11 PM Bug #10167: Prime#include?(mod) hangs up
It's difficult to delete `Prime.inlude?` method because this method is included by `include Enumerable`.
So, I ove...
nitoyon (Kenichi Saita)
04:22 PM Feature #10182: [PATCH] string.c: move frozen_strings table to rb_vm_t
(2014/08/29 10:20), [email protected] wrote:
>> > I belive fstring codes in string.c.
> OK.

I like current co...
ko1 (Koichi Sasada)
01:20 PM Feature #10182: [PATCH] string.c: move frozen_strings table to rb_vm_t
Koichi Sasada wrote:
> I belive fstring codes in string.c.
OK.
~~~diff
diff --git i/eval.c w/eval.c
index f...
nobu (Nobuyoshi Nakada)
08:53 AM Feature #10182: [PATCH] string.c: move frozen_strings table to rb_vm_t
(2014/08/29 5:30), [email protected] wrote:
>
> What about moving `fstring` stuffs to vm.c?

I belive fstring ...
ko1 (Koichi Sasada)
08:53 AM Feature #10182: [PATCH] string.c: move frozen_strings table to rb_vm_t
[email protected] wrote:
> What about moving `fstring` stuffs to vm.c?

Your patch looks good to me. ko1?
normalperson (Eric Wong)
08:30 AM Feature #10182: [PATCH] string.c: move frozen_strings table to rb_vm_t
What about moving `fstring` stuffs to vm.c? nobu (Nobuyoshi Nakada)
07:42 AM Feature #10182: [PATCH] string.c: move frozen_strings table to rb_vm_t
(2014/08/29 4:24), Eric Wong wrote:
> OK, I made r47312. I kept the initialization changes since I think
> it was...
ko1 (Koichi Sasada)
07:32 AM Feature #10182: [PATCH] string.c: move frozen_strings table to rb_vm_t
[email protected] wrote:
> (2014/08/28 19:51), [email protected] wrote:
> > Cleanup in case MVM development proc...
normalperson (Eric Wong)
06:53 AM Feature #10182: [PATCH] string.c: move frozen_strings table to rb_vm_t
(2014/08/28 19:51), [email protected] wrote:
> Cleanup in case MVM development proceeds.

Now, mvm is stoppin...
ko1 (Koichi Sasada)
06:33 AM Feature #10182: [PATCH] string.c: move frozen_strings table to rb_vm_t
[email protected] wrote:
> The dependency of string.o in common.mk will need `$(VM_CORE_H_INCLUDES)`.

Thanks, r...
normalperson (Eric Wong)
06:30 AM Feature #10182 (Closed): [PATCH] string.c: move frozen_strings table to rb_vm_t
Applied in changeset r47310.
----------
string.c: move frozen_strings table to rb_vm_t
Cleanup in case MVM developm...
Anonymous
02:17 AM Feature #10182: [PATCH] string.c: move frozen_strings table to rb_vm_t
The dependency of string.o in common.mk will need `$(VM_CORE_H_INCLUDES)`. nobu (Nobuyoshi Nakada)
09:03 AM Feature #10181: New method File.openat()
[email protected] wrote:
> I don't think it is possible to emulate `openat` family by FD in user space.
> So addi...
normalperson (Eric Wong)
08:53 AM Feature #10181: New method File.openat()
Joel VanderWerf <[email protected]> wrote:
> On 08/29/2014 01:21 AM, Eric Wong wrote:
> >Joel VanderWerf <j...
normalperson (Eric Wong)
08:44 AM Feature #10181: New method File.openat()
I don't think it is possible to emulate `openat` family by FD in user space.
So adding `rb_cloexec_open2()` is a bad...
nobu (Nobuyoshi Nakada)
08:23 AM Feature #10181: New method File.openat()
Joel VanderWerf <[email protected]> wrote:
> On 08/29/2014 12:55 AM, Eric Wong wrote:
> >Joel VanderWerf <j...
normalperson (Eric Wong)
08:03 AM Feature #10181: New method File.openat()
Joel VanderWerf <[email protected]> wrote:
> On 08/28/2014 02:53 PM, Eric Wong wrote:
> >I like this featur...
normalperson (Eric Wong)
08:57 AM Revision 7df9a77d (git): * test/net/imap/test_imap_response_parser.rb: removed needless code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:37 AM Revision f587cf79 (git): * test/rinda/test_rinda.rb: removed useless assignment variables.
* test/rss/rss-assertions.rb: ditto.
* test/rss/test_maker_itunes.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
hsbt (Hiroshi SHIBATA)
07:22 AM Revision 343f8b02 (git): string.c: remove vm_core.h dependency [ruby-core:64627]
* string.c: revert part of r47311, add rb_vm_fstring_table(),
remove vm_core.h dependency. [ruby-core:64627]
git-s...
Eric Wong
06:30 AM Revision 2bb4c268 (git): * 2014-08-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:30 AM Revision a1e95636 (git): string.c: move frozen_strings table to rb_vm_t
Cleanup in case MVM development proceeds.
* string.c: remove static frozen_strings
* string.c (Init_frozen_strings):...
Eric Wong
03:26 AM Bug #10164 (Closed): Reproducable segfault for 2.1
Hello, Genadi. Thank you for your report.
And thank you shibata san for your investigation.
Maybe this was alread...
nagachika (Tomoyuki Chikanaga)
01:30 AM Bug #10162 (Feedback): Error while installing ruby 2.1.2 on freebsd
Hello, yogesh. Thank you for your report.
Please show us command line options to configure.
And could you try to ...
nagachika (Tomoyuki Chikanaga)

08/28/2014

10:51 PM Feature #10182 (Closed): [PATCH] string.c: move frozen_strings table to rb_vm_t
Cleanup in case MVM development proceeds. normalperson (Eric Wong)
09:55 PM Feature #10181: New method File.openat()
I like this feature.

If matz approves, I assume you also want to add other *at functions?
e.g. fstatat, renameat...
normalperson (Eric Wong)
09:45 PM Feature #10181 (Open): New method File.openat()
The purpose of the openat() function is to enable opening files in directories other than the current working directo... technorama (Technorama Ltd.)
08:14 PM Feature #10177: Hash#has_key? and Hash#has_value? should be deprecated
@ Mr. Benoit Daloze
oh.. Yes, that's what I meant!
Thank you.
gogotanaka (Kazuki Tanaka)
12:29 PM Feature #10177: Hash#has_key? and Hash#has_value? should be deprecated
I guess your second sentence is meant the other way round:
"And I agree with him, I supposed Hash#key? should be p...
Eregon (Benoit Daloze)
02:44 PM Misc #10178: refinements unactivated within refine block scope?
I had posted some more code but remembered "send" doesn't apply yet! Sorry for my confusion. Any plans on indirect me... why-capslock-though (Alexander Moore-Niemi)
01:33 PM Misc #10178: refinements unactivated within refine block scope?
Nobuyoshi Nakada wrote:
> In general, the scope inside a method definition is different from outside.
> Consider me...
why-capslock-though (Alexander Moore-Niemi)
06:23 AM Misc #10178 (Closed): refinements unactivated within refine block scope?
In general, the scope inside a method definition is different from outside.
Consider method arguments and class/modu...
nobu (Nobuyoshi Nakada)
03:03 AM Misc #10178: refinements unactivated within refine block scope?
Here is an executable version of what I was roughing out above, I apologize for not vetting it beforehand to prevent ... why-capslock-though (Alexander Moore-Niemi)
02:50 AM Misc #10178: refinements unactivated within refine block scope?
Nobuyoshi Nakada wrote:
> I can't get your point.
> `Module#refine` requires a block, so your code doesn't work, si...
why-capslock-though (Alexander Moore-Niemi)
02:44 AM Misc #10178 (Feedback): refinements unactivated within refine block scope?
I can't get your point.
`Module#refine` requires a block, so your code doesn't work, simply.
nobu (Nobuyoshi Nakada)
02:10 AM Misc #10178 (Closed): refinements unactivated within refine block scope?
I doubt I am seeing a bug, but I was hoping someone could clarify for me the reason why I am seeing what I see. I tri... why-capslock-though (Alexander Moore-Niemi)
01:56 PM Revision dacc19e4 (git): io.c: fix uninitialized variable
* io.c (argf_next_argv): fix uninitialized variable in skipping
message when inplace edit without backup.
git-svn-...
nobu (Nobuyoshi Nakada)
12:01 PM Revision 8e99842d (git): test_io.rb: non UTF-8 pattern
* test/ruby/test_io.rb: (test_invalid_advise): fix pattern for non
UTF-8 environment.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
11:23 AM Bug #9154: Support for OpenSSL with MD5 disabled for certificate verification
Actually, 1.9.3 is affected by this issue as well. vo.x (Vit Ondruch)
11:17 AM Bug #9154: Support for OpenSSL with MD5 disabled for certificate verification
This seems to be fixed by r46899, r46903 and r46904, backported for Ruby 2.1 by r46908, but it would be nice to have ... vo.x (Vit Ondruch)
11:12 AM Bug #10180 (Rejected): #to_hash vs. #to_h
Ruby often has two conversion methods for an object, e.g. #to_s and #to_str, #to_i and #to_int, #to_h and #to_hash.
...
matz (Yukihiro Matsumoto)
10:54 AM Bug #10180 (Rejected): #to_hash vs. #to_h
The class Hash has a method try_convert, that is documented as "Try to convert obj into a hash, using #to_hash method... herwinw (Herwin Quarantainenet)
08:27 AM Revision 9c639efb (git): test_io_m17n.rb: leaked FDs
* test/ruby/test_io_m17n.rb (test_ignored_encoding_option): fix
leaked file descriptors by r47305.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
06:18 AM Revision 58c2571b (git): io.c: preserve encodings
* io.c (argf_next_argv): preserve encodings in warning messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4...
nobu (Nobuyoshi Nakada)
05:55 AM Revision ffa153f2 (git): io.c: preserve encodings
* io.c (rb_io_extract_encoding_option): preserve encodings in
warning messages.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
05:55 AM Revision 7a4f7046 (git): * 2014-08-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:55 AM Revision cdacaa0a (git): io.c: preserve encodings
* io.c (advice_arg_check): preserve encodings in warning messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
05:55 AM Revision 20da2394 (git): io.c: preserve encodings
* io.c (rb_io_s_new): preserve encodings in warning messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4730...
nobu (Nobuyoshi Nakada)
03:45 AM Feature #10123: Named capture groups don't set local vars when matched using ~
I'm not sure if this should be a bug or a new feature. nobu (Nobuyoshi Nakada)
03:10 AM Feature #10179: Net::HTTP::Get.new("https://google.com").basic_auth(user_name, password) should throw exception stating the need to set use_ssl to true
[email protected] wrote:
> Alternatively Net::HTTP could just detect https urls and do this for you.

This sounds...
normalperson (Eric Wong)
02:39 AM Feature #10179 (Open): Net::HTTP::Get.new("https://google.com").basic_auth(user_name, password) should throw exception stating the need to set use_ssl to true
Alternatively Net::HTTP could just detect https urls and do this for you.
I suggest:
raise Exception("Accessing h...
taterbase (George Shank)
02:12 AM Bug #10159 (Assigned): Ruby 2.x Syslog::Logger is newer than the one in Rubygems but version is the same
nagachika (Tomoyuki Chikanaga)
01:21 AM Feature #2324: Dir instance methods for relative path
Related PR: [GH-706](https://github.com/ruby/ruby/pull/706) nobu (Nobuyoshi Nakada)

08/27/2014

11:11 PM Feature #9867: Introduce each/else block into ruby
Sorry for the delay.
I don't think I am able in specifying it in needed level of detail: (. If that's up to me, the ...
Killa (Łukasz Strzebińczyk)
10:57 PM Feature #10177 (Open): Hash#has_key? and Hash#has_value? should be deprecated
I referred to this Matz's remark.
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/43765
And I agree...
gogotanaka (Kazuki Tanaka)
10:46 PM Feature #10176 (Open): Document how to perform net/http calls in parallel
The typhoeus gem is a big source of Ruby VM crashes. It seems to me that the only reason people use this gem is beca... mperham (Mike Perham)
07:52 PM Feature #10175 (Open): There’s no reason to prefer Proc.new over Kernel#proc anymore
We could’t use `Kernel#proc` if someone wanted to write code in the same way on both Ruby 1.8 and Ruby 1.9.
Now tha...
gogotanaka (Kazuki Tanaka)
05:39 PM Bug #10155 (Assigned): lib/shellwords.rb: proofreading documentation
nagachika (Tomoyuki Chikanaga)
04:51 PM Bug #10148 (Assigned): [TracePoint API] Extra block events generated
nagachika (Tomoyuki Chikanaga)
04:45 PM Bug #9559 (Assigned): build failure with clang 3.4
The patch can be applied cleanly to trunk (and 2.0.0/2.1).
It can be a new issue.
I move this ticket to ruby-trun...
nagachika (Tomoyuki Chikanaga)
02:47 PM Feature #10137: Introducing Incremental GC algorithm
Go ahead. We need to experiment in real use cases.
Matz.
matz (Yukihiro Matsumoto)
02:36 PM Revision c4ad649e (git): * lib/tempfile.rb: remove "require 'thread'". its features are no
longer used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
02:06 PM Revision 3644b94b (git): fix failed condition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:21 PM Feature #10174 (Closed): [PATCH] Removed meaningless #to_s methods in interpolation
Applied in changeset r47299.
----------
* lib/drb/acl.rb: Removed meaningless #to_s methods in interpolation.
[Fea...
hsbt (Hiroshi SHIBATA)
09:38 AM Feature #10174 (Closed): [PATCH] Removed meaningless #to_s methods in interpolation
I found meaningless #to_s methods in interpolation like ... `"Failed to load #{filename}, #{e.to_s}"`
So I cha...
gogotanaka (Kazuki Tanaka)
12:21 PM Revision e47fec1f (git): * lib/drb/acl.rb: Removed meaningless #to_s methods in interpolation.
[Feature #10174][ruby-core:64584]
* lib/erb.rb: ditto.
* lib/observer.rb: ditto.
* lib/rake/invocation_chain.rb: ditt...
hsbt (Hiroshi SHIBATA)
12:10 PM Feature #10172 (Closed): [PATCH] Module#attr is already deprecated
Applied in changeset r47298.
----------
* lib/drb/drb.rb: use attr_reader instead of Module#attr.
[Feature #10172]...
hsbt (Hiroshi SHIBATA)
09:12 AM Feature #10172 (Closed): [PATCH] Module#attr is already deprecated
Module#attr is already deprecated.
But I found Module#attr without boolean argument (it means this identical to at...
gogotanaka (Kazuki Tanaka)
12:10 PM Revision 3e8515bf (git): * lib/drb/drb.rb: use attr_reader instead of Module#attr.
[Feature #10172][ruby-core:64582]
* lib/irb/ruby-token.rb: ditto.
* lib/net/telnet.rb: ditto.
* lib/rdoc/ruby_token.r...
hsbt (Hiroshi SHIBATA)
10:57 AM Revision ef7b9bf3 (git): * ext/win32ole/win32ole.c (vtdate2rbtime): try to convert millisecond
of VT_DATE VARIANT to nsec of Time object.
* test/win32ole/test_win32ole_variant.rb
(test_conversion_dbl2date_with_...
suke (Masaki Suketa)
09:23 AM Feature #10173 (Closed): Remove meaningless ensure
I suppose 'empty ensure' like that ↓ has no meaning,
```
begin
r.document args
rescue Errno::EACCES => e
d...
gogotanaka (Kazuki Tanaka)
08:59 AM Feature #10171 (Rejected): [PATCH] File.exists? is already deprecated
It is already fixed in upstream https://github.com/rubygems/rubygems/blob/master/lib/rubygems/doctor.rb#L108 hsbt (Hiroshi SHIBATA)
08:53 AM Feature #10171 (Rejected): [PATCH] File.exists? is already deprecated
Ruby 2.1.0 deprecated the `File.exists?`
But I found `File#exists?` in `lib/rubygems/doctor.rb`, so I replaced `F...
gogotanaka (Kazuki Tanaka)
07:09 AM Bug #10170: Core dumped when using recursion in define_method
2.1.2p207 seems working. nobu (Nobuyoshi Nakada)
05:00 AM Bug #10170: Core dumped when using recursion in define_method
Okay, ruby 2.1.2 gives everytime
`abort (core dumped)`
for
`A.new.a`
in pry, irb and `ruby -e 'class A; def...
liligga (Igor Grebennikov)
03:25 AM Bug #10170 (Feedback): Core dumped when using recursion in define_method
Could you try newer versions? nobu (Nobuyoshi Nakada)
03:09 AM Bug #10170: Core dumped when using recursion in define_method
Initial issue is wrong a little.
So if we have this
> ~~~ruby
> class A
> define_method :a do
> a
> end...
liligga (Igor Grebennikov)
02:52 AM Bug #10170 (Closed): Core dumped when using recursion in define_method
So if we have this
```ruby
class A
define_method :a do
a
end
end
```
and call `A.new.a` we got `S...
liligga (Igor Grebennikov)
05:34 AM Feature #10169: It might be better to make Mathn class deprecated
@Hiroshi SHIBATA
I really appreciate you doing what I should do.
gogotanaka (Kazuki Tanaka)
04:25 AM Bug #2121: mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
Bravo! headius (Charles Nutter)
02:45 AM Bug #2121 (Closed): mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
mathn library is deprecated on trunk [Feature #10169] hsbt (Hiroshi SHIBATA)
02:58 AM Bug #8479 (Feedback): make for ruby-1.9.3-p392 fails on rdoc, error 134 (Ubuntu 12.04.2 LTS)
1.9.3-p392 is too old. Please try latest version of ruby 1.9 or 2.0/2.1 hsbt (Hiroshi SHIBATA)
02:10 AM Revision 66c2bbde (git): parse.y: use rb_ary_tmp_new_fill
* parse.y (coverage): use rb_ary_tmp_new_fill() instead of setting
internal structure directly.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
12:58 AM Revision e7bcea38 (git): * test/ruby/test_complex.rb: removed unreachable code.
* test/ruby/test_rational.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47295 b2dd03c8-39d4-4d8f-98ff...
hsbt (Hiroshi SHIBATA)

08/26/2014

11:24 PM Revision a12ee80b (git): compile.c: assigned in REALLOC_N
* compile.c (iseq_set_sequence): assigned in REALLOC_N, no further
assignment.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
11:00 PM Revision 3f9aa744 (git): * 2014-08-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:00 PM Revision 65f7aa19 (git): compile.c (iseq_set_sequence): check for multiplication overflow
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
08:22 PM Bug #10153: File.open block does not throw "No space left on device (Errno::ENOSPC)" if the data fits the buffer of IO.write
What is the conclusion for this post?
butching314 (Marvin Reyes)
08:14 AM Bug #10153: File.open block does not throw "No space left on device (Errno::ENOSPC)" if the data fits the buffer of IO.write
Seems intended to ignore `IOError` and `NoMethodError`. nobu (Nobuyoshi Nakada)
08:13 AM Bug #10153 (Closed): File.open block does not throw "No space left on device (Errno::ENOSPC)" if the data fits the buffer of IO.write
Applied in changeset r47288.
----------
io.c: do not swallow exceptions at end of block
* io.c (io_close): ignore o...
nobu (Nobuyoshi Nakada)
01:30 PM Revision 618dadaa (git): * test/ruby/test_complex.rb: cherry-picked working assertions from r47251.
* test/ruby/test_rational.rb: cherry-picked working assertions from r47263.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
hsbt (Hiroshi SHIBATA)
12:08 PM Bug #10086 (Closed): [PATCH] Remove exponents calculation from mathn.rb
Applied in changeset r47290.
----------
lib/mathn.rb: remove built-in methods
* lib/mathn.rb (Fixnum#**, Bignum#**,...
nobu (Nobuyoshi Nakada)
12:07 PM Revision 63683cb4 (git): lib/mathn.rb: remove built-in methods
* lib/mathn.rb (Fixnum#**, Bignum#**, Float#**, Rational#**):
remove as these are now built-in. [ruby-core:63973] ...
nobu (Nobuyoshi Nakada)
11:48 AM Revision 092c647c (git): * time.c (rb_time_unmagnify_to_float): Avoid double rounding.
Reported by Tsuyoshi Sawada.
https://bugs.ruby-lang.org/issues/10135#note-1
git-svn-id: svn+ssh://ci.ruby-lang.o...
akr (Akira Tanaka)
08:12 AM Revision febf2cef (git): io.c: do not swallow exceptions at end of block
* io.c (io_close): ignore only "closed stream" IOError and
NoMethodError, do not swallow other exceptions at the en...
nobu (Nobuyoshi Nakada)
06:19 AM Bug #10135: Time.at is inaccurate
Tsuyoshi Sawada wrote:
>
> the float stored by `Time.at` is not the same float:
>
> ~~~ruby
> Time.at(1381...
akr (Akira Tanaka)
06:02 AM Bug #10135 (Rejected): Time.at is inaccurate
John Smart wrote:
> It seems that somewhere in the MRI, someone is using floating-point math to represent a Time.
...
akr (Akira Tanaka)
04:51 AM Revision eec0176d (git): * template/fake.rb.in: fix failed to make install when srcdir != builddir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:44 AM Revision 949634f5 (git): * test/ruby/test_range.rb: added workaround for VERBOSE message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:39 AM Revision ab0fe78f (git): * test/test_mathn.rb: added workaround for VERBOSE messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:06 AM Bug #10167: Prime#include?(mod) hangs up
Even `Prime.include?(4)` hangs up too.
This method seems useless.
nobu (Nobuyoshi Nakada)
12:38 AM Bug #10167: Prime#include?(mod) hangs up
workaround:
~~~ruby
enumerables = []
module_include_p = Module.method(:include?).unbind
ObjectSpace.each_object...
znz (Kazuhiro NISHIYAMA)
02:44 AM Revision 1f48a338 (git): * lib/shell/process-controller.rb: removed commented-out code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:39 AM Revision f4e5a6f0 (git): * lib/thwait.rb (ThreadsWait): removed needless constant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:33 AM Feature #10169 (Open): It might be better to make Mathn class deprecated
hsbt (Hiroshi SHIBATA)
12:31 AM Feature #10169 (Closed): It might be better to make Mathn class deprecated
Applied in changeset r47282.
----------
* lib/mathn.rb: mathn library is deprecated on ruby 2.2.
[Feature #10169][...
hsbt (Hiroshi SHIBATA)
12:21 AM Feature #10169: It might be better to make Mathn class deprecated
Approved. Organize transition path.
Matz.
matz (Yukihiro Matsumoto)
12:31 AM Revision fb66bf2d (git): * lib/mathn.rb: mathn library is deprecated on ruby 2.2.
[Feature #10169][ruby-core:64553]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47282 b2dd03c8-39d4-4d8f-98ff-82...
hsbt (Hiroshi SHIBATA)
12:25 AM Revision 2530d3e3 (git): * 2014-08-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:25 AM Revision daa90738 (git): * lib/mathn.rb: removed commented-out code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
 

Also available in: Atom