Project

General

Profile

Activity

From 07/05/2015 to 07/11/2015

07/11/2015

11:28 PM Bug #11344: Thread.handle_interrupt(TimeoutError => :never) が効かない
少なくとも Thread.handle_interrupt では Timeout::Error の指定は効かなかったので、しかたなく内部クラスの Timeout::ExitException を使ってたというライブラリもあるかもしれな... tommy (Masahiro Tomita)
12:13 AM Bug #11344: Thread.handle_interrupt(TimeoutError => :never) が効かない
`Timeout::ExitException`は内部用のクラスという認識でした。`:nodoc:`だし。 nobu (Nobuyoshi Nakada)
09:43 PM Revision 370cadcc (git): * 2015-07-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:42 PM Revision a3d6de4a (git): Simple testing for StringIO#sysread
* test/stringio/test_stringio.rb (test_sysread): add a test for
StringIO#sysread. [Fix GH-966]
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
08:43 PM Bug #10871: Sclass thread unsafe due to CREF sharing
Hi,
I pushed a branch containing ko1's patch onto https://github.com/nagachika/ruby/tree/ruby_2_2_singleton_class_...
nagachika (Tomoyuki Chikanaga)
12:16 PM Revision 8c0b261d (git): stringio.c: Fix an example doc [ci skip]
* ext/stringio/stringio.c (Init_stringio): [DOC] Fix an example,
StringIO#puts should be set "\n" at last. [Fix GH...
nobu (Nobuyoshi Nakada)
03:55 AM Revision e7d6fc01 (git): * ChangeLog: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:45 AM Revision a2b889f4 (git): timeout.rb: fix backtrace
* lib/timeout.rb (Timeout#timeout): remove regexp with wrong line
nuber and fix caller depth.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
12:11 AM Bug #10968: [BUG] object allocation during garbage collection phase in /opt/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/ssl.rb:177
`crash_thin.txt` seems related to EventMachine.
Maybe it didn't acquire GVL properly.
nobu (Nobuyoshi Nakada)
12:07 AM Feature #11266 (Assigned): [PATCH] WEBrick: allow subclassing of Response and Request
nobu (Nobuyoshi Nakada)

07/10/2015

11:48 PM Revision 0d70cc5c (git): * 2015-07-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:47 PM Revision 8d7058db (git): test_timeout.rb: add an assertion
* test/test_timeout.rb (test_custom_exception): assert that the
given exception will raise on timeout.
git-svn-id:...
nobu (Nobuyoshi Nakada)
07:14 PM Feature #11266: [PATCH] WEBrick: allow subclassing of Response and Request
Nobu, is there something else I can do? julik (Julik Tarkhanov)
06:10 PM Bug #10968: [BUG] object allocation during garbage collection phase in /opt/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/ssl.rb:177
Upload failed for one of the stack traces I mentioned in the preceding comment. Here is that file. grey-owl (Steve Torrence)
06:09 PM Bug #10968: [BUG] object allocation during garbage collection phase in /opt/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/ssl.rb:177
I have recently experienced two crashes (stack traces attached) that appear similar to Mr. Rigart's. Both appear to i... grey-owl (Steve Torrence)
03:39 PM Feature #10594: Comparable#clamp
Ferdinand Niedermann wrote:
> That doesn't really change anything
You're right, of course. I'm not sure why I rea...
0x0dea (D.E. Akers)
05:32 AM Feature #10594: Comparable#clamp
D.E. Akers wrote:
> Ferdinand Niedermann wrote:
> > Here you go: https://github.com/ruby/ruby/pull/962
>
> The f...
nerdinand (Ferdinand Niedermann)
03:36 PM Bug #9115: Logger traps all exceptions; breaks Timeout
I confirm that this bug is reproducible up to 2.2 and it's pretty easy to trigger.
~~~
require 'timeout'
require...
astratto (Stefano Tortarolo)
03:05 PM Bug #11342: ruby 2.2.2 will not compile on Solaris 11.2 32 or 64 bit
Aderium also linked in this document for isainfo, in case that helps:
http://docs.oracle.com/cd/E19082-01/819-2380...
shevegen (Robert A. Heiler)
02:57 PM Bug #11342: ruby 2.2.2 will not compile on Solaris 11.2 32 or 64 bit
Hello, some feedback in-between, from #ruby IRC.
Aderium says that uname yields wrong information because somethin...
shevegen (Robert A. Heiler)
10:32 AM Bug #11342: ruby 2.2.2 will not compile on Solaris 11.2 32 or 64 bit
Ok downloading the diff and testing compile with r50089
Make failed
./ext/extmk.rb:227:in `load': failed to loa...
aderium (Anthony Palermo)
10:31 AM Bug #11342: ruby 2.2.2 will not compile on Solaris 11.2 32 or 64 bit
make && sudo make install still fails but you are correct. I tried a couple of times and looks like the last one I fo... aderium (Anthony Palermo)
12:59 AM Bug #11342: ruby 2.2.2 will not compile on Solaris 11.2 32 or 64 bit
this may be fixed wit h r50089 ngoto (Naohisa Goto)
01:48 PM Bug #11344: Thread.handle_interrupt(TimeoutError => :never) が効かない
一度は(それも結構長いあいだ) raise する例外が Timeout::ExitException になっていたことから、バックポート時は互換性を考えると `ExitException = Timeout::Error` とかしてお... nagachika (Tomoyuki Chikanaga)
01:28 PM Bug #11344: Thread.handle_interrupt(TimeoutError => :never) が効かない
本題ではないですが、
2.0.0は脆弱性じゃなければ全部WONTFIXでOKです。
が、いちいち変えるの面倒なので、私も他のを変えるついで以外では変えてませんし、
特に気にせずREQUIREDにして頂いてもかまいません。
...
usa (Usaku NAKAMURA)
01:16 PM Bug #11344: Thread.handle_interrupt(TimeoutError => :never) が効かない
2.1にはそのままバックポートできるか分かりませんが、REQUIREDにしておきます。
2.0も動作は同じなのですが、`throw`/`catch`を使うようにするところからバックポートしないといけないので、とりあえずWONTFIX...
nobu (Nobuyoshi Nakada)
01:06 PM Bug #11344 (Closed): Thread.handle_interrupt(TimeoutError => :never) が効かない
Applied in changeset r51213.
----------
timeout.rb: removed and use Timeout::Error
* lib/timeout.rb (ExitException)...
nobu (Nobuyoshi Nakada)
10:32 AM Bug #11344 (Closed): Thread.handle_interrupt(TimeoutError => :never) が効かない
るりま <http://docs.ruby-lang.org/ja/2.2.0/method/Thread/s/handle_interrupt.html> によると、`Thread.handle_interrupt(TimeoutE... tommy (Masahiro Tomita)
01:05 PM Revision 0f663b24 (git): timeout.rb: removed and use Timeout::Error
* lib/timeout.rb (ExitException): removed internal exception class
and use Timeout::Error instead, as using throw/c...
nobu (Nobuyoshi Nakada)
12:50 PM Revision 498b6f47 (git): zlib.c: GC guards
* ext/zlib/zlib.c: prevent from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51212 b2dd03c8-39d4-4d8f-98ff-...
nobu (Nobuyoshi Nakada)
12:49 PM Revision 41bd073d (git): zlib.c: protoize
* ext/zlib/zlib.c (do_checksum): protoize the definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51211 b2...
nobu (Nobuyoshi Nakada)
12:49 PM Revision d85096ad (git): compressed mantypes
* configure.in (--with-mantype): add compressed mantypes.
* tool/rbinstall.rb (man): compress man pages if specified...
nobu (Nobuyoshi Nakada)
11:28 AM Bug #11336 (Closed): TestProcess#test_exec_fd_3_redirect failed on Solaris 10
Applied in changeset r51209.
----------
* process.c (rb_f_exec): rb_exec_without_timer_thread should be
used on ev...
ngoto (Naohisa Goto)
09:52 AM Bug #11336: TestProcess#test_exec_fd_3_redirect failed on Solaris 10
I forgot to mention that this was reproduced on x86_64 Linux. ngoto (Naohisa Goto)
09:46 AM Bug #11336: TestProcess#test_exec_fd_3_redirect failed on Solaris 10
The following example can reproduce the problem that the timer thread reads fd=3 after the redirection to fd=3 is set... ngoto (Naohisa Goto)
11:27 AM Revision 4d23a784 (git): * process.c (rb_f_exec): rb_exec_without_timer_thread should be
used on every OS, not only on Mac OS X or Haiku, to prevent
timer thread communications using file descriptor 3 aft...
ngoto (Naohisa Goto)
08:42 AM Bug #11343 (Closed): random.c: getrandom compile error with clang

```
random.c:526:8: error: implicit conversion loses integer precision: 'long' to 'int' [-Werror,-Wshorten-64-to-3...
Hanmac (Hans Mackowiak)
08:41 AM Revision d8f628e5 (git): dir.c: get attributes by fd
* dir.c (is_case_sensitive): get attributes by the file descriptor
of open directory, instead of using mount point ...
nobu (Nobuyoshi Nakada)
01:46 AM Revision f7946774 (git): stringio.c: remove unnecessary check
* ext/stringio/stringio.c (writable): remove unnecessary check for
deprecated safe level 4. [Fix GH-963]
git-svn-...
nobu (Nobuyoshi Nakada)
01:23 AM Revision 53934115 (git): * 2015-07-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:22 AM Revision 54d9c77c (git): extmk.rb: silently skip never-installed extensions
* ext/extmk.rb (extmake): as extension libraries start with '-'
are not installed always, no problems if no errors ...
nobu (Nobuyoshi Nakada)

07/09/2015

11:44 PM Bug #11342 (Feedback): ruby 2.2.2 will not compile on Solaris 11.2 32 or 64 bit
Anthony Palermo wrote:
> make & sudo make install
> [1] 23519
> Password:
You may want to run `make && sudo mak...
nobu (Nobuyoshi Nakada)
10:17 PM Bug #11342: ruby 2.2.2 will not compile on Solaris 11.2 32 or 64 bit
ruby 2.1.x compiles just fine aderium (Anthony Palermo)
10:16 PM Bug #11342 (Closed): ruby 2.2.2 will not compile on Solaris 11.2 32 or 64 bit
~~~
make & sudo make install
[1] 23519
Password:
~~~
(snip)
~~~
option.c:886:33: error: expected declaration...
aderium (Anthony Palermo)
11:29 PM Bug #11341 (Third Party's Issue): Rails server command is not working fine
You load an extension library for 2.0 from 2.2.
Probably the usual rvm's bug.
~~~
0 ruby ...
nobu (Nobuyoshi Nakada)
05:03 PM Bug #11341: Rails server command is not working fine
The file which i uploaded is wrong one. sorry. This is the original one EshVal (Esh Val)
04:59 PM Bug #11341 (Third Party's Issue): Rails server command is not working fine
I wanted to run the rails server command and it's showing some log and it is crashed. EshVal (Esh Val)
11:12 PM Feature #10594: Comparable#clamp
Ferdinand Niedermann wrote:
> Here you go: https://github.com/ruby/ruby/pull/962
The failure condition should be ...
0x0dea (D.E. Akers)
08:28 PM Feature #10594: Comparable#clamp
Here you go: https://github.com/ruby/ruby/pull/962 nerdinand (Ferdinand Niedermann)
07:33 AM Feature #10594: Comparable#clamp
> That `min > max` should raise an `ArgumentError` seems the only logical conclusion.
I agree. I'll send another p...
nerdinand (Ferdinand Niedermann)
07:54 AM Revision 3e972a11 (git): test_process.rb: test for [Bug #11340]
* test/ruby/test_process.rb (test_wait_exception): test for r51202
and r51203. [Bug #11340]
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
06:38 AM Revision b3544b25 (git): * win32/win32.c (waitpid): fixed return value of previous commit. thanks, nobu!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
06:11 AM Bug #11340 (Closed): Windows で Timeout.timeout を使って Process.waitpid を監視しても timeout が正しく動かない
Applied in changeset r51202.
----------
* win32/win32.c (waitpid): return immediately if interrupted.
reported by ...
usa (Usaku NAKAMURA)
05:00 AM Bug #11340 (Closed): Windows で Timeout.timeout を使って Process.waitpid を監視しても timeout が正しく動かない
以下のような、コードでプロセスの実行時間監視をしていたところ、
Windows とその他の環境で異なります。
~~~ruby
require 'timeout'
pid = Process.spawn('sleep',...
takkanm (三村 益隆)
06:10 AM Revision fcb79d53 (git): * win32/win32.c (waitpid): return immediately if interrupted.
reported by <takkanm AT gmail.com> [ruby-dev:49176] [Bug #11340]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
U.Nakamura
05:16 AM Feature #10829: Add to_proc method to the Array class
Have you seen Functors before?
https://www.ruby-forum.com/topic/4402886
baweaver (Brandon Weaver)
04:04 AM Revision f23adf74 (git): * vm_insnhelper.c (vm_search_super_method): use CI_SET_FASTPATH().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
02:10 AM Revision d53e1a79 (git): * vm_core.h: remove rb_call_info_t::klass because
rb_callable_method_entry_t has information about defined class.
* vm_insnhelper.c (vm_search_method): don't set ci->k...
ko1 (Koichi Sasada)
01:19 AM Revision ea67287a (git): * lib/net/http/responses.rb: Added 308 status to CODE_TO_OBJ list.
[fix GH-961] Patch by @billinghamj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51199 b2dd03c8-39d4-4d8f-98ff-8...
hsbt (Hiroshi SHIBATA)
12:35 AM Revision dc2eb0c6 (git): * vm_core.h (rb_control_frame_t): fix comments (layout index).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
12:27 AM Bug #11327 (Closed): Improve duplicate key warning.
Applied in changeset r51196.
----------
* parse.y: Improve duplicate key warning with patch by @andremedeiros
[Fix...
zzak (zzak _)
12:27 AM Revision 701024f9 (git): * 2015-07-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:27 AM Revision d5e6c167 (git): * parse.y: Improve duplicate key warning with patch by @andremedeiros
[Fix GH-938] https://github.com/ruby/ruby/pull/938 [Bug #11327]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5...
zzak (zzak _)

07/08/2015

05:39 PM Bug #11152 (Feedback): Resolv::DNS should use Search Domains provided in /etc/resolv.conf by default
Hi,
It should parse your `/etc/resolv.conf` file. Can you post your `/etc/resolv.conf`? Maybe it's a problem wit...
tenderlovemaking (Aaron Patterson)
04:08 PM Feature #10594: Comparable#clamp
> I think there is even another option: Swapping the min and max values if they are passed in the wrong order.
I s...
0x0dea (D.E. Akers)
01:00 PM Feature #10594: Comparable#clamp
I think there is even another option: Swapping the min and max values if they are passed in the wrong order.
This ...
nerdinand (Ferdinand Niedermann)
11:35 AM Revision 39051ba1 (git): leakchecker.rb: close console
* test/lib/leakchecker.rb (LeakChecker#find_fds): close console
before find open FDs for each time.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
11:21 AM Bug #11316: ruby 2.2 on Windows generates incorrect BAT files for gems
Update: just tested with rubygems 2.4.8 and it generates BAT files correctly. I hope this version is planned for incl... jekader (Jeka Der)
10:08 AM Bug #11316: ruby 2.2 on Windows generates incorrect BAT files for gems
Hi and sorry for delay. My gem version is 2.4.5:
~~~
C:\Windows\system32>gem --version
2.4.5
C:\Windows\syste...
jekader (Jeka Der)
11:03 AM Bug #11336: TestProcess#test_exec_fd_3_redirect failed on Solaris 10
> Also, maybe the __APPLE__ || __HAIKU__ code above is suitable for all
OS, too.
I think so, and the following pa...
ngoto (Naohisa Goto)
02:58 AM Bug #11336: TestProcess#test_exec_fd_3_redirect failed on Solaris 10
[email protected] wrote:
> ~~~
> $ ruby -e 'a = IO.pipe; b = IO.pipe; p a; p b; pid = fork { exec("ruby", "-e"...
normalperson (Eric Wong)
12:47 AM Bug #11336: TestProcess#test_exec_fd_3_redirect failed on Solaris 10
Sometimes ASYNC BUG occurs, but it cannot be reproduced with truss.
~~~
$ ruby -e 'a = IO.pipe; b = IO.pipe; p a;...
ngoto (Naohisa Goto)
06:09 AM Revision 6c3d366b (git): resolver.rb: fix fd leaks
* lib/rubygems/resolver.rb (resolve): close UI output unless
debugging.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
05:05 AM Revision 023835f4 (git): basicsocket.c: swap examples [ci skip]
* ext/socket/basicsocket.c (bsock_do_not_reverse_lookup),
(bsock_do_not_reverse_lookup_set): [DOC] swap examples. t...
nobu (Nobuyoshi Nakada)
05:05 AM Revision ee750a8a (git): pass saved errno
* ext/socket/socket.c (socket_s_ip_address_list): pass saved errno
to rb_syserr_fail.
* ext/readline/readline.c (r...
nobu (Nobuyoshi Nakada)
01:59 AM Bug #11327: Improve duplicate key warning.
Agreed.
Matz
matz (Yukihiro Matsumoto)

07/07/2015

10:43 PM Revision 601c10e6 (git): * lib/csv.rb: typo fix [ci skip][fix GH-958] Patch by @henrik
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
10:38 PM Bug #11336: TestProcess#test_exec_fd_3_redirect failed on Solaris 10
Can you try a higher fd number instead of 3?
Also, truss output would be useful.
Thanks.
normalperson (Eric Wong)
10:21 PM Bug #11336: TestProcess#test_exec_fd_3_redirect failed on Solaris 10
>Was there any output in stderr from this test?
nothing
Recently, the failure message is changed to below.
It ...
ngoto (Naohisa Goto)
04:58 PM Bug #11336: TestProcess#test_exec_fd_3_redirect failed on Solaris 10
Was there any output in stderr from this test? Thanks. normalperson (Eric Wong)
09:36 AM Bug #11336 (Closed): TestProcess#test_exec_fd_3_redirect failed on Solaris 10
On Solaris 10, TestProcess#test_exec_fd_3_redirect failed since r51146 (where the test was added).
~~~
1) Failu...
ngoto (Naohisa Goto)
09:59 PM Feature #11339 (Closed): [PATCH] io.c: avoid kwarg parsing in C API
~~~
rb_scan_args and hash lookups for kwargs in the C API are clumsy and
slow. Instead of improving the C API for ...
normalperson (Eric Wong)
07:51 PM Bug #11338 (Closed): [PATCH] iseq.c (iseq_data_to_ary): dump kw_arg as symbol
Applied in changeset r51190.
----------
iseq.c (iseq_data_to_ary): dump kw_arg as symbol
Fix RubyVM::InstructionSeq...
Anonymous
07:41 PM Bug #11338 (Closed): [PATCH] iseq.c (iseq_data_to_ary): dump kw_arg as symbol
iseq.c (iseq_data_to_ary): dump kw_arg as symbol
Fix RubyVM::InstructionSequence#to_a after r49517
Keywords were ...
normalperson (Eric Wong)
07:50 PM Revision 011347e4 (git): iseq.c (iseq_data_to_ary): dump kw_arg as symbol
Fix RubyVM::InstructionSequence#to_a after r49517
Keywords were made symbols to fix [Bug #10831] [ruby-core:68031],
s...
Eric Wong
06:29 PM Bug #11327: Improve duplicate key warning.
If matz will approve, and no objection, I will commit it. zzak (zzak _)
04:22 PM Feature #10594: Comparable#clamp
In the case of `min > max`, the options seem to be these:
* return `nil`
* return the receiver
* raise an `Argum...
0x0dea (D.E. Akers)
03:57 PM Revision fe94eaa5 (git): * test/ruby/test_method.rb (TestMethod#test_{instance,define}_method): assumed
default external is UTF-8. fixed failures introduced at r51175.
* test/-ext-/symbol/test_type.rb
(Test_Symbol::Te...
U.Nakamura
03:42 PM Revision 3294c272 (git): * 2015-07-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:41 PM Revision d4397258 (git): * test/ruby/test_array.rb
(TestArray#test_short_heap_array_sort_bang_memory_leak): seems to need more
margin.
git-svn-id: svn+ssh://ci.ruby...
U.Nakamura
01:38 PM Feature #11337 (Closed): Allow rescue without begin inside blocks
While it's possible to have rescue's without begin in method definitions it's not possible to have the same facility ... rosenfeld (Rodrigo Rosenfeld Rosas)
09:21 AM Revision 4f66d02c (git): * random.c (fill_random_bytes_syscall): fix compile error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:20 AM Revision 7c94c028 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:48 AM Revision 2fb7e7df (git): compile.c (COMPILE_ERROR): reduce GET_THREAD() calls
Shorten a long line and reduce global variable access, giving
a minor code size reduction (at least on 32-bit x86):
...
Eric Wong
07:46 AM Revision 50c0a200 (git): random.c: fix failures on old Linux
This follows the behavior of fill_random_bytes_urandom and fixes
the following failures I encountered on my old machi...
Eric Wong
06:26 AM Revision bcd96d92 (git): random.c: try getrandom
* random.c (fill_random_bytes_syscall): try getrandom system call
on Linux if supported by the kernel.
git-svn-id:...
nobu (Nobuyoshi Nakada)
06:25 AM Revision e96955e8 (git): random.c: separate fill_random_bytes
* random.c (fill_random_bytes): separate into functions by system
call and by direct read of urandom device.
git-s...
nobu (Nobuyoshi Nakada)
06:02 AM Revision 8a0ab36d (git): file.c: skip invalid byte
* file.c (rb_str_normalize_ospath): skip invalid byte sequence not
to loop infinitely. this case usually does not ...
nobu (Nobuyoshi Nakada)
05:41 AM Revision 548497d5 (git): * vm_backtrace.c: remove debug flag introduced accidentaly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:40 AM Bug #11221: Fix indentation in Zlib documentation
ruby_2_1 r51178 merged revision(s) 50834. usa (Usaku NAKAMURA)
04:40 AM Revision c7458b51 (git): merge revision(s) 50834: [Backport #11221]
* ext/zlib/zlib.c: Fix indentation for rdoc.
[Bug #11221][ruby-core:69465]
git-svn-id: svn+ssh://ci.ruby-...
U.Nakamura
04:38 AM Bug #11249: Fix require paths for BigDecimal and io-console
ruby_2_1 r51177 merged revision(s) 50860. usa (Usaku NAKAMURA)
04:37 AM Revision a0cf0fbd (git): merge revision(s) 50860: [Backport #11249]
* ext/bigdecimal/bigdecimal.gemspec: Fix require paths for released gem.
[fix GH-929] Patch by @voxik
...
U.Nakamura
04:24 AM Revision e25bb03e (git): merge revision(s) 50972:
test_gem_remote_fetcher.rb: get rid of errors
* test/rubygems/test_gem_remote_fetcher.rb (start_ssl_server):...
U.Nakamura
03:49 AM Revision c53464c7 (git): symbol.c: preserve encoding
* symbol.c (rb_check_id, rb_check_symbol): preserve encoding of
the given name.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
03:08 AM Revision 135c7572 (git): * cont.c (cont_free): remove mysterious fflush()
introduced at r19890, maybe accidentaly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51174 b2dd03c8-39d4-4d8...
ko1 (Koichi Sasada)
02:52 AM Revision c5dad98c (git): * proc.c (rb_method_call): because data->me should be non-NULL,
do not check data->me
* proc.c (method_inspect): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51173 b2...
ko1 (Koichi Sasada)
02:41 AM Revision f395c5be (git): * vm_core.h: remove rb_iseq_t::orig because rb_iseq_clone()
no longer exists.
* iseq.c: don't use rb_iseq_t::orig.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51172 b2d...
ko1 (Koichi Sasada)
02:27 AM Revision 16a68369 (git): * iseq.c, internal.h (rb_iseq_clone): removed because we don't need to
clone iseq any more.
* class.c (clone_method): share iseq between cloned methods. All of
method dependent informati...
ko1 (Koichi Sasada)

07/06/2015

07:45 PM Revision bbf7495f (git): string.c: ensure String#freeze resizes internal buffer
rb_str_freeze may resize oversized buffers to save memory, so favor
it over rb_obj_freeze. This is useful because IO...
Eric Wong
07:13 PM Revision 57f2c607 (git): * vm.c (vm_define_method): remove an unused local variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:08 PM Revision 5c4d7b9a (git): * vm_core.h: remove rb_iseq_t::defined_method_id because it is not
needed.
* eval.c (frame_func_id): simplify. rb_callable_method_entry_t
has enough information.
* eval.c (frame_call...
ko1 (Koichi Sasada)
06:48 PM Revision ce457442 (git): * vm_core.h: remove a useless declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:44 PM Revision 02d58689 (git): * vm_core.h: remove rb_iseq_t::klass to reduce dynamic data.
* internal.h, iseq.c (rb_iseq_klass): remove it because
rb_iseq_t::klass is removed.
* vm_insnhelper.c (vm_super_ou...
ko1 (Koichi Sasada)
04:54 PM Revision 202643de (git): * cont.c (fiber_init): initialize control frame correctly.
This fix does not affect any ordinal execution, but
affects debug prints.
git-svn-id: svn+ssh://ci.ruby-lang.org...
ko1 (Koichi Sasada)
04:49 PM Revision bba7c4b0 (git): * 2015-07-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:49 PM Revision 73c0f4f7 (git): * test/ruby/test_array.rb
(TestArray#test_short_heap_array_sort_bang_memory_leak): relax the threshold
to get rid of a false positive failure...
U.Nakamura
03:26 PM Feature #10594: Comparable#clamp
I tried the basic implementation (adaption of `#between?`). What should we do about cases like these?
```
irb(main)...
nerdinand (Ferdinand Niedermann)
01:49 PM Revision 62147303 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:03 AM Bug #3351 (Closed): stack overflow on super
Applied in changeset r51161.
----------
* vm_insnhelper.c (vm_search_super_method): do not skip calling
same metho...
ko1 (Koichi Sasada)
08:38 AM Bug #3351: stack overflow on super
Agreed.
Matz.
matz (Yukihiro Matsumoto)
09:02 AM Revision c8854d2c (git): * vm_insnhelper.c (vm_search_super_method): do not skip calling
same methods in super.
[Bug #3351]
* test/ruby/test_super.rb: fix a test.
git-svn-id: svn+ssh://ci.ruby-lang.org...
ko1 (Koichi Sasada)
09:00 AM Revision 415e9cef (git): * ext/tk/tcltklib.c: removed deprecated safe level.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:35 AM Revision b07e78fa (git): * method.h, proc.c (rb_method_entry_location): make it static
and remoev prefix `rb_' because it is used only in proc.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51159...
ko1 (Koichi Sasada)
08:27 AM Revision 4d419a54 (git): * test/lib/memory_status.rb: removed redundant path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
04:55 AM Bug #11316 (Closed): ruby 2.2 on Windows generates incorrect BAT files for gems
and imported to trunk at r49511. usa (Usaku NAKAMURA)
04:48 AM Bug #11316 (Rejected): ruby 2.2 on Windows generates incorrect BAT files for gems
Fixed at https://github.com/rubygems/rubygems/commit/f9232680 nobu (Nobuyoshi Nakada)
02:24 AM Revision 0918c27a (git): string.c: register_fstring
* string.c (register_fstring): separate registration from
rb_fstring().
* string.c (rb_fstring_new): skip argument...
nobu (Nobuyoshi Nakada)

07/05/2015

11:03 PM Revision 87954dd8 (git): fix multiple load
* test/rubygems/test_gem_commands_install_command.rb: previously
load rubygems/request_set which will be required i...
nobu (Nobuyoshi Nakada)
08:55 PM Revision 77eea6f9 (git): test/ruby/test_array.rb: longer timeout for memory leak test
This was causing CI failures on ko1's test box
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51155 b2dd03c8-39d4...
Eric Wong
04:18 PM Revision 1f3971e0 (git): * 2015-07-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:18 PM Revision ecb6ea2a (git): parallel.rb: upper directory
* test/lib/test/unit/parallel.rb: make @@project_dir one level
upper as this file had moved one level deeper.
git-...
nobu (Nobuyoshi Nakada)
02:54 PM Revision 9b37b750 (git): Fix typo in optparse library [ci skip] [Fix GH-956]
* lib/optparse.rb: [DOC] Fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51152 b2dd03c8-39d4-4d8f-98ff-8...
nobu (Nobuyoshi Nakada)
11:27 AM Bug #11335 (Closed): `ruby -r debug` catchpoint problem
With a `test-debug.rb` like this:
~~~
raise 'test'
~~~
And starting the debugger like this:
~~~
ruby -r d...
sigsys (Math Ieu)
09:28 AM Revision 4f1178ac (git): gc.c (gc_profile_record_get): fix spelling error in keys
This may cause compatibility problems for some users, but maybe
nobody tracked it closely in the past because it is d...
Eric Wong
08:05 AM Bug #11316: ruby 2.2 on Windows generates incorrect BAT files for gems
No issue with a fresh ruby-2.2.2-p95-x86-mingw either.
Deka, what do you get for "gem --version" ? Check which gem...
leriksen (Leif Eriksen)
03:42 AM Bug #11316 (Third Party's Issue): ruby 2.2 on Windows generates incorrect BAT files for gems
It's generated by rubygems, not ruby's installer. nobu (Nobuyoshi Nakada)
02:20 AM Bug #11316: ruby 2.2 on Windows generates incorrect BAT files for gems
I tested this against ruby 2.2.2p95 x64-mingw without issue.
rhc.bat appears to be correct.
~~~
@ECHO OFF
IF ...
leriksen (Leif Eriksen)
05:58 AM Bug #11037: Time Parse Documentation Incorrect - Undefined method getlocal
Hi,
I think it is useful Time.parse specifications on the document.
This patch is fix operation to along specific...
nkmrya (Yasuhiro Nakamura)
05:54 AM Revision cd56fbdf (git): * README.md: fix a typo pointed out by raoulvdberge. [ci skip] [DOC]
https://github.com/ruby/ruby/pull/953#commitcomment-11998186
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51150...
nagachika (Tomoyuki Chikanaga)
03:56 AM Revision 7f3ab1cc (git): Update README.md [ci skip] [Fix GH-953]
* README.md: Added link HowToReport bugs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51149 b2dd03c8-39d4-4d8f...
nobu (Nobuyoshi Nakada)
03:03 AM Bug #11332: Arrayの操作でcrubyインタプリタのメモリリークが起きる
rev.51148 で実行して直っていることを確認しました metanest (Makoto Kishimoto)
01:52 AM Bug #11332 (Closed): Arrayの操作でcrubyインタプリタのメモリリークが起きる
Applied in changeset r51147.
----------
array.c: fix memory leak
* array.c (rb_ary_sort_bang): the original array m...
nobu (Nobuyoshi Nakada)
12:41 AM Bug #11332: Arrayの操作でcrubyインタプリタのメモリリークが起きる
`pop`だけで起きるのはOSXのlibc固有のようでした。
Linuxではたしかに4要素から3要素に減らしたあとでsort!した場合だけのようです。
nobu (Nobuyoshi Nakada)
02:03 AM Revision 46062034 (git): test_process.rb: reap pid
* test/ruby/test_process.rb (test_exec_fd_3_redirect): should reap
the grandchild process, in common.
git-svn-id: ...
nobu (Nobuyoshi Nakada)
01:51 AM Revision 48129219 (git): array.c: fix memory leak
* array.c (rb_ary_sort_bang): the original array may not be
embedded even if a substitution array is embedded, as i...
nobu (Nobuyoshi Nakada)
12:40 AM Revision 033e8e5b (git): test/ruby/test_process.rb: test for fd=3 usability in child
Ensure we can redirect anything to fd=3 in a child process. This
test exists because fd=3 is a commonly reserved FD ...
Eric Wong
 

Also available in: Atom