Project

General

Profile

Activity

From 05/06/2014 to 05/12/2014

05/12/2014

03:15 PM Revision 30a0ef1c (git): * 2014-05-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:15 PM Revision 2b319c29 (git): * ChangeLog: fix a typo for r45930.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
02:57 PM Bug #9831 (Closed): C99-like atan2 check test failure under MinGW-w64
Applied in changeset r45930.
----------
configure.in: check atan2
* configure.in (rb_cv_atan2_inf_c99): check wheth...
nobu (Nobuyoshi Nakada)
02:57 PM Revision f0fc13aa (git): configure.in: check atan2
* configure.in (rb_cv_atan2_inf_c99): check whether runtime atan2
handles Inf as C99. ruby-core:62536] [Bug #9831]...
nobu (Nobuyoshi Nakada)
02:05 PM Bug #9726: Incorrect Proc parsing
r45637 was backported into `ruby_2_1` branch at r45929. nagachika (Tomoyuki Chikanaga)
02:04 PM Revision d5cf6c11 (git): merge revision(s) r45637: [Backport #9726]
* parse.y (primary): flush cmdarg flags inside left-paren in a
command argument, to allow parenthesed do-bl...
nagachika (Tomoyuki Chikanaga)
01:50 PM Bug #9759: [TracePoint API] return event missing when raising exception
r45758 and r45759 were backported into `ruby_2_1` branch at r45928. nagachika (Tomoyuki Chikanaga)
01:49 PM Revision 86f8f5d9 (git): merge revision(s) r45758,r45759: [Backport #9759]
* vm.c (invoke_block_from_c): add VM_FRAME_FLAG_BMETHOD to record
it is bmethod frame.
* vm.c (vm_...
nagachika (Tomoyuki Chikanaga)
01:19 PM Bug #9651: __dir__ returns nil in instance_eval/module_eval
r45360 and r45361 were backported to `ruby_2_1` branch at r45927. nagachika (Tomoyuki Chikanaga)
01:18 PM Revision 3cbfd634 (git): merge revision(s) r45360,r45361: [Backport #9651]
* vm_eval.c (eval_string_with_cref): Use file path even if scope is
given. Related to [ruby-core:56099] [Bu...
nagachika (Tomoyuki Chikanaga)
12:33 PM Misc #9832: better concurrency in threads
cougar => puma ariveira (Alexandre Riveira)
12:31 PM Misc #9832 (Open): better concurrency in threads
My application runs on top of rainbows using workers with multi-threaded.
I realized that in ruby ​​running on linux...
ariveira (Alexandre Riveira)
11:33 AM Revision b063dd01 (git): * configure.in: Invoke AC_REPLACE_FUNCS for each function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:57 AM Revision 8be5c76f (git): * gc.c: count young object correctly and show it in GC.stat
on RGENGC_AGE2_PROMOTION.
* gc.c (RVALUE_PROMOTE_YOUNG): decrement young object count on
YOUNG->OLD.
* gc.c (obj_fr...
ko1 (Koichi Sasada)
10:33 AM Bug #8358: TestSprintf#test_float test failure
Luis Lavena wrote:
> If you don't object, going to apply Shirosaki's patch and request backport to 2.1.
Go ahead.
nobu (Nobuyoshi Nakada)
09:47 AM Feature #9826: Enumerable#slice_between
I updated the patch to simplify argument handling. akr (Akira Tanaka)
09:47 AM Feature #9071: Enumerable#slice_after
I updated the patch to simplify argument handling. akr (Akira Tanaka)
01:35 AM Revision 4f8c0b90 (git): signal.c: check the next page too
* signal.c (check_stack_overflow): check the next page too. SP in
ucontext is not decremented yet when `push` fail...
nobu (Nobuyoshi Nakada)

05/11/2014

10:59 PM Bug #9739 (Assigned): TestException#test_machine_stackoverflow(_by_define_method) failures on x64-mingw32
Nobu,
Can you review, reject or approve so we can resolve these test failures?
Thank you.
luislavena (Luis Lavena)
10:35 PM Bug #9831 (Closed): C99-like atan2 check test failure under MinGW-w64
After introduction of Feature #9799 (r45805) I started to see this failure when running tests under mingw-w64:
~~~...
luislavena (Luis Lavena)
08:44 PM Bug #9829: Contradictions in docs for FileUtils::ln (and related functions)
Agreed, this is very confusing. Eregon (Benoit Daloze)
07:52 PM Bug #9829 (Assigned): Contradictions in docs for FileUtils::ln (and related functions)
zzak (zzak _)
06:59 PM Bug #9829 (Closed): Contradictions in docs for FileUtils::ln (and related functions)
In the FileUtils module, to add simplicity and avoid duplication of code, a sort of coding paradigm exists for action... MikeVastola (Mike Vastola)
08:34 PM Feature #9830 (Assigned): Support for GOST private/public keys
Hello everyone.
We're required to use GOST encryption algorithms for signing requests, interacting with HTTPS serv...
Envek (Andrey Novikov)
06:49 PM Bug #8358: TestSprintf#test_float test failure
An update.
Before this patch:
https://gist.github.com/luislavena/beb9bff73fdca800debc
With patch applied:
...
luislavena (Luis Lavena)
05:26 PM Bug #8358 (Assigned): TestSprintf#test_float test failure
Hello nobu,
Ping on this? this is still an issue on trunk and ruby_2_1 branch:
~~~
TestSprintf#test_float [C:/...
luislavena (Luis Lavena)
05:48 PM Bug #9827 (Assigned): Segmentation fault when running `gem`
luislavena (Luis Lavena)
04:31 PM Revision 642e3ae9 (git): * 2014-05-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:31 PM Revision 543b402f (git): * ext/socket/ifaddr.c (IS_IFADDRS): Unused macro removed.
* ext/strscan/strscan.c (BUFSIZE): Ditto.
* ext/zlib/zlib.c (OBJ_IS_FREED): Ditto.
git-svn-id: svn+ssh://ci.ruby-...
akr (Akira Tanaka)
01:29 PM Revision dd5d029d (git): * compile.c (BUFSIZE): Unused macro removed.
* vm.c (BUFSIZE): Ditto.
* pack.c (INT64toNUM): Ditto.
(UINT64toNUM): Ditto.
(BYTEWIDTH): Ditto.
* time.c (lshi...
akr (Akira Tanaka)
12:24 PM Revision 49771dd3 (git): * pack.c (swaps): Unused macro removed.
(swapi): Ditto.
(swapl): Ditto.
(swapll): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45920 b2dd0...
akr (Akira Tanaka)
11:09 AM Feature #9632: [PATCH 0/2] speedup IO#close with linked-list from ccan
Eric Wong <[email protected]> wrote:
> Before: st_table_entry->rb_thread_t->st_table_entry->rb_thread_t ...

...
normalperson (Eric Wong)
10:58 AM Feature #9632: [PATCH 0/2] speedup IO#close with linked-list from ccan
[email protected] wrote:
> 1. How performance improved?

There is less pointer chasing for iteration:

Before: st_t...
normalperson (Eric Wong)
10:08 AM Feature #9632: [PATCH 0/2] speedup IO#close with linked-list from ccan
4. Should we use it on compile.c? ko1 (Koichi Sasada)
10:07 AM Feature #9632: [PATCH 0/2] speedup IO#close with linked-list from ccan
Sorry for late response.
Just curious (I'm not against of this change).
1. How performance improved?
2. Should...
ko1 (Koichi Sasada)
10:40 AM Revision c1268be4 (git): test_process.rb: duplicate assertions
* test/ruby/test_process.rb (test_status_{kill,quit}): remove
duplicate assertions
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
08:55 AM Feature #8840: Yielder#state
I have another idea now.
How about combining Enumerator.new and Enumerator#lazy addition to closure?
```
class...
akr (Akira Tanaka)
03:19 AM Revision 61cd4e9d (git): test_process.rb: WIFEXITED and so on are system dependent
* test/ruby/test_process.rb (test_status_kill): WIFEXITED and so
on are available only if signal is supported by th...
nobu (Nobuyoshi Nakada)
01:02 AM Revision a3656d42 (git): signal.c: directly deliver non-handlable signals
* signal.c (rb_f_kill): directly deliver signals which cannot be
handled, i.e., SIGKILL and SIGSTOP.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
12:33 AM Revision c6e9e411 (git): configure.in: check typeof
* configure.in (rb_cv_typeof): check typeof extension for ccan
headers.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
12:25 AM Revision 7c68a312 (git): vm.c: suppress a warning
* vm.c (rb_vm_living_threads_foreach): suppress "uninitialized"
warning where "typeof" is unavailable.
git-svn-id:...
nobu (Nobuyoshi Nakada)

05/10/2014

11:58 PM Feature #9632: [PATCH 0/2] speedup IO#close with linked-list from ccan
Eric Wong <[email protected]> wrote:
> Any comment? My main concern is it's a large import of new code;
> but...
normalperson (Eric Wong)
11:49 PM Revision 7992b0ff (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:48 PM Revision f11db2a6 (git): vm*: doubly-linked list from ccan to manage vm->living_threads
A doubly-linked list for tracking living threads guarantees
constant-time insert/delete performance with no corner ca...
Eric Wong
10:48 PM Bug #7395: Negative numbers can't be primes by definition
Endo-san

Your opinion seems right.

IMHO, I think Rdoc should be updated.
This method should evaluate the...
ayumin (Ayumu AIZAWA)
12:20 AM Bug #7395 (Assigned): Negative numbers can't be primes by definition
Read the rdoc carefully:
> Returns true if +self+ is a prime number, false for a composite.
By definition, a co...
mame (Yusuke Endoh)
06:56 PM Bug #9827 (Closed): Segmentation fault when running `gem`
I have been [told](https://github.com/rubygems/rubygems/issues/911#issuecomment-42749165) by the [owner](https://gith... rafalchmiel (Rafal Chmiel)
04:10 PM Revision 3771a370 (git): thread.c: always deliver signal immediately
* thread.c (ruby_kill): always deliver signal immediately, without
check for main thread. no longer called in othe...
nobu (Nobuyoshi Nakada)
04:10 PM Bug #9820 (Closed): miniruby -e 'Process.kill(:INT, $$)' hang under cron
Applied in changeset r45911.
----------
signal.c: directly enqueue
* signal.c (`rb_f_kill`): directly enqueue ...
nobu (Nobuyoshi Nakada)
04:10 PM Revision 77af38d0 (git): signal.c: directly enqueue
* signal.c (rb_f_kill): directly enqueue an ignored signal to self,
except for SIGSEGV and SIGBUS. [ruby-dev:48203...
nobu (Nobuyoshi Nakada)
04:04 PM Bug #9823: Segmentation fault using DL
That makes sense. After implementing what you've shown me above, I no longer encounter a segmentation fault in the ex... chrahunt (Christopher Hunt)
02:46 PM Bug #9823: Segmentation fault using DL
According to the document http://ruby-doc.org/stdlib-1.9.3/libdoc/dl/rdoc/DL/CPtr.html#method-c-malloc ,
~~~
DL::...
phasis68 (Heesob Park)
02:04 PM Bug #9823: Segmentation fault using DL
Thanks for your help and clear explanation. Do you know why the segmentation fault was prevented by the various condi... chrahunt (Christopher Hunt)
01:49 PM Bug #9823: Segmentation fault using DL
This bug is not due to ruby but to your code.
You used the inappropriate method ref on a variable of DL::CPtr type...
phasis68 (Heesob Park)
04:32 AM Bug #9823: Segmentation fault using DL
Additionally, you may find the errors for 1.9.3 and 2.1.2 here: https://gist.github.com/chrahunt/5af5639f6410ee87919c. chrahunt (Christopher Hunt)
04:26 AM Bug #9823: Segmentation fault using DL
Sorry, please find the gist here with the required files: https://gist.github.com/chrahunt/89bd596fdb8485556c64. chrahunt (Christopher Hunt)
03:52 PM Revision 23fce754 (git): * 2014-05-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:52 PM Revision a5b9624f (git): thread_pthread.c: variable for errno
* thread_pthread.c (rb_thread_wakeup_timer_thread_fd): use a local
variable for errno.
* thread_pthread.c (consume...
nobu (Nobuyoshi Nakada)
03:37 PM Bug #9824: mkmf.rb top_srcdir not printed in Makefile of ext/openssl
Ok, please help me to understand. If Visual C++ is supported, why doesn't $(top_srcdir) get set in the generated Make... djberg96 (Daniel Berger)
03:23 PM Bug #9824: mkmf.rb top_srcdir not printed in Makefile of ext/openssl
Directs lib/mkmf.rb to sets some variables for header and library directories, e.g.: `$top_srcdir`.
And Visual C++ c...
nobu (Nobuyoshi Nakada)
02:39 PM Bug #9824: mkmf.rb top_srcdir not printed in Makefile of ext/openssl
What does ext/extmk.rb do exactly? There's no documentation for it. Could it be modified to work with the VS compiler? djberg96 (Daniel Berger)
12:28 PM Bug #9824 (Rejected): mkmf.rb top_srcdir not printed in Makefile of ext/openssl
Currently openssl extension is tightly bound with the core due to thread handling, so build without `ext/extmk.rb` is... nobu (Nobuyoshi Nakada)
11:17 AM Bug #9824 (Rejected): mkmf.rb top_srcdir not printed in Makefile of ext/openssl
Hi,
First of all, apologies in advance for the lack of technical knowledge about Ruby, I'm pretty new to it, but I...
IgnacioRodrigo (Ignacio Rodrigo)
03:01 PM Revision 78358a72 (git): merge revision(s) r45901:
envutil.rb: successfully terminated process
* test/ruby/envutil.rb (FailDesc): allow successfully terminated...
nagachika (Tomoyuki Chikanaga)
02:48 PM Revision 3385f6a0 (git): thread_pthread.c: timer_thread_pipe struct
* thread_pthread.c (timer_thread_pipe): aggregate timer thread
pipe stuff into a struct.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
02:47 PM Revision 779ce6b0 (git): thread_pthread.c: compare with pthread_equal
* thread_pthread.c (ubf_select): compare thread_id with
pthread_equal() but not directly.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
02:25 PM Revision 4b1eca7e (git): merge revision(s) r45891,r45893,r45895:
test_beginendblock.rb, test_signal.rb: run with default handler
* test/ruby/test_beginendblock.rb (test_prop...
nagachika (Tomoyuki Chikanaga)
01:38 PM Bug #9825 (Closed): Ruby option -Ke and -KE doesn't work well on Mac OSX 10.9.2
Applied in changeset r45904.
----------
dir.c: match in UTF-8
* dir.c (push_glob): match in UTF-8 on Mac OS X.
[r...
nobu (Nobuyoshi Nakada)
11:39 AM Bug #9825 (Closed): Ruby option -Ke and -KE doesn't work well on Mac OSX 10.9.2
手元の環境でビルドした環境でテストしたころ、TestRubyOptions#test_kanji で EUC-JP が invalid byte sequence in EUC-JP と判定されて失敗します。
その他のエンコード(W...
ayumin (Ayumu AIZAWA)
01:37 PM Revision 1f30b743 (git): dir.c: match in UTF-8
* dir.c (push_glob): match in UTF-8 on Mac OS X.
[ruby-dev:48213] [Bug #9825]
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
01:37 PM Bug #9806: URI#encode doesn't encode characters '[' and ']'. They should be encoded as %5B and %5D respectively.
I'm unfamiliar with URI spec, but I guess RFC 2732 is related.
http://www.ietf.org/rfc/rfc2732.txt
> This docum...
mame (Yusuke Endoh)
12:15 PM Revision 6add0613 (git): test_io_console.rb: show failure details
* test/io/console/test_io_console.rb (test_noctty): use
`assert_ruby_status` to show failure details.
git-svn-id: ...
nobu (Nobuyoshi Nakada)
12:15 PM Revision 765a0d53 (git): envutil.rb: rubybin: keyword
* test/ruby/envutil.rb (invoke_ruby): add rubybin: keyword option
to specify the command to run scripts.
git-svn-i...
nobu (Nobuyoshi Nakada)
12:15 PM Revision ac65855d (git): envutil.rb: successfully terminated process
* test/ruby/envutil.rb (FailDesc): allow successfully terminated
process without a signal.
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
11:57 AM Feature #9826 (Closed): Enumerable#slice_between
I'd like to add a new method, Enumerable#slice_between.
It is similar to Enumerable#slice_before but it can use
n...
akr (Akira Tanaka)
11:35 AM Feature #9071: Enumerable#slice_after
I implemented `Enumerable#slice_after`.
I found two request for this feature:
This issue and
http://stackoverflo...
akr (Akira Tanaka)
04:41 AM Revision 55d4afc7 (git): process.c: use ruby_stop
* process.c (rb_exit): call ruby_stop() which calls ruby_cleanup(),
instead of calling ruby_finalize() directly.
g...
nobu (Nobuyoshi Nakada)
04:32 AM Bug #9751 (Closed): Process.wait does not work correctly in a thread
Applied in changeset r45899.
----------
thread.c: stop if forked in a sub-thread
* thread.c (`thread_start_fun...
nobu (Nobuyoshi Nakada)
02:58 AM Bug #9751: Process.wait does not work correctly in a thread
The following one-liner fixes the case where "exit" is called.
However, when "exit"/"exit!" is omitted entirely, i...
normalperson (Eric Wong)
01:28 AM Bug #9751: Process.wait does not work correctly in a thread
[email protected] wrote:
> ~~~ruby
> def test
> if pid = fork

\<snip\>
> ~~~ruby
> else
> ...
normalperson (Eric Wong)
04:32 AM Revision 9883632d (git): thread.c: stop if forked in a sub-thread
* thread.c (thread_start_func_2): stop if forked in a sub-thread,
the thread has become the main thread.
[ruby-co...
nobu (Nobuyoshi Nakada)
04:32 AM Revision a46e21c8 (git): thread_pthread.c: variable for errno
* thread_pthread.c (timer_thread_sleep): use a local variable for
errno.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
01:00 AM Revision ae290361 (git): test_signal.rb: test iff SIGQUIT is supported
* test/ruby/test_signal.rb (test_trap_system_default): test only
if SIGQUIT is supported, which is platform depende...
nobu (Nobuyoshi Nakada)
12:41 AM Feature #9508 (Assigned): Add method coverage and branch coverage metrics
Sam Rawlins wrote:
> I was largely inspired by the visualization and analysis of Istanbul [1], the standard Javascri...
mame (Yusuke Endoh)
12:33 AM Bug #9773 (Closed): broken link in man/ruby.1
Applied in changeset r45896.
----------
* man/ruby.1: remove deadlink. [ruby-core:62145][Bug #9773]
hsbt (Hiroshi SHIBATA)
12:33 AM Revision 03c39e11 (git): * man/ruby.1: remove deadlink. [ruby-core:62145][Bug #9773]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:32 AM Revision 2acad064 (git): test_thread.rb: run with default handler
* test/ruby/test_thread.rb (test_thread_timer_and_interrupt): run
with default handler.
* test/ruby/test_thread.rb...
nobu (Nobuyoshi Nakada)

05/09/2014

11:48 PM Revision 08928bb5 (git): * signal.c (trap): Return "SYSTEM_DEFAULT" if SIG_DFL is set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:44 PM Bug #7395: Negative numbers can't be primes by definition
> ayumin
this issue seems incompatible changes. it should be add NEWS.
hsbt (Hiroshi SHIBATA)
11:36 PM Bug #9823 (Feedback): Segmentation fault using DL
Hello,
There is a require to mwe that is not defined. Please include all the code or provide a gist with multiple ...
luislavena (Luis Lavena)
11:34 PM Bug #9823 (Closed): Segmentation fault using DL
I receive a segmentation fault when calling OpenProcessToken from DL, demonstrated by running the attached 'runner.rb... chrahunt (Christopher Hunt)
11:19 PM Feature #4788: resolv.rb refactoring
I'm happy to se this has been completed. I just thought I'd mention that I reimplemented the DNS resolver in RubyDNS ... ioquatix (Samuel Williams)
10:02 PM Bug #9822 (Assigned): Ruby doesn't respect system OpenSSL configuration
zzak (zzak _)
09:24 PM Bug #9822 (Closed): Ruby doesn't respect system OpenSSL configuration
Hello.
I need to work with SSL (HTTPS) with GOST encryption, but ruby doesn't connect to the servers that requires...
Envek (Andrey Novikov)
05:04 PM Feature #9508: Add method coverage and branch coverage metrics
Hi Yusuke, thanks for the comments! I want to first defend the Demand and Use Case. And thank you for the Review comm... srawlins (Sam Rawlins)
04:15 PM Revision 5d488225 (git): test_signal.rb: missing argv
* test/ruby/test_signal.rb (test_hup_me): add missing argv.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45893 ...
nobu (Nobuyoshi Nakada)
03:13 PM Revision 800c2d39 (git): * 2014-05-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:13 PM Revision a738b98f (git): test_beginendblock.rb, test_signal.rb: run with default handler
* test/ruby/test_beginendblock.rb (test_propagate_signaled): run
with default handler.
* test/ruby/test_signal.rb ...
nobu (Nobuyoshi Nakada)
03:05 PM Bug #9820: miniruby -e 'Process.kill(:INT, $$)' hang under cron
GVL があるので変なことはまず起こらない気がしますが、起こるとしたらどういう状況ですかね。 akr (Akira Tanaka)
03:02 PM Bug #9820: miniruby -e 'Process.kill(:INT, $$)' hang under cron
`SIG_IGN`ではないときだけ、というところでrace conditionになったりしないですかね。 nobu (Nobuyoshi Nakada)
03:00 PM Bug #9820: miniruby -e 'Process.kill(:INT, $$)' hang under cron
自分自身に送るときは、即座に届かないと困ることがあった気がします。
例外が発生するはずがその先まで実行されてしまうとか。
思うに、自分自身(だけ)に送るときは signal を使わないで、直接 signal handler を...
akr (Akira Tanaka)
02:35 PM Bug #9820: miniruby -e 'Process.kill(:INT, $$)' hang under cron
元々シグナルがすぐ配送されるとは限らないわけで、とりあえずタイムアウトをつけてみるのはどうでしょうか。
~~~diff
diff --git i/thread.c w/thread.c
index dfa91a8..209a...
nobu (Nobuyoshi Nakada)
02:16 PM Bug #9820: miniruby -e 'Process.kill(:INT, $$)' hang under cron
r39819で、自分自身にシグナルを送ったときにはすぐシグナルを処理するために受信するまで待つようになっていますが、`SIG_IGN`の場合は送られないのでそこでずっと待機してしまうということのようです。
シグナルの遅延が予測できな...
nobu (Nobuyoshi Nakada)
01:06 PM Bug #9820: miniruby -e 'Process.kill(:INT, $$)' hang under cron
さらに調べた結果、どうも cron から動かしたプログラムでは SIGINT の signal handler が
SIG_IGN になっているようです。
以下のようにして、端末からでも再現できました。
以下を実行すると h...
akr (Akira Tanaka)
08:06 AM Bug #9820 (Closed): miniruby -e 'Process.kill(:INT, $$)' hang under cron
最近、しばたさんが運用を始めた chkbuild で、
TestBeginEndBlock#test_propagate_signaled が hang しています。
http://chkbuild002.hsbt.org/chk...
akr (Akira Tanaka)
02:31 PM Revision ed37579c (git): thread_*.c: constify
* thread_{pthread,win32}.c (native_cond_timedwait): constify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4589...
nobu (Nobuyoshi Nakada)
02:31 PM Revision b60fbca8 (git): signal.c: if to switch
* signal.c (ruby_signal): turn multiple `if` statements into a
`switch`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
01:57 PM Revision 058b5bce (git): [DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:27 PM Bug #9821 (Third Party's Issue): Segfault when using gruff/RMagick/Rails 3.2.17
Seems it occurs in RMagick.
nobu (Nobuyoshi Nakada)
11:26 AM Bug #9821 (Third Party's Issue): Segfault when using gruff/RMagick/Rails 3.2.17
Our Rails 3.2.17 project uses gruff, which uses RMagick. It worked fine with Ruby 1.9 (FreeBSD 8.3). Then we moved to... rfc2822 (R H)
06:12 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
メソッド名は分かりませんが、
a.foo(b)
という書き方は対称性を崩していて何となく気持ち悪いので、どうせなら
String.foo(a, b)
という書き方も見当していただけないでしょうか...
sawa (Tsuyoshi Sawada)
05:40 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
Yui NARUSE wrote:
> > (あと numericcmp は cc という同じ文字の並びの間で単語が分かれるというのが、
> > ぱっとみたときに単語分割しにくいように思います。)
>
> それは、akrさん...
nobu (Nobuyoshi Nakada)
05:32 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
tadayoshi funaba wrote:
> 名前はともかく俺が欲しいのは filevercmp のほうかもしれない。
仕様が明確に決まっているのと、バージョン比較というわたしのユースケースには影響がないので、
それで...
naruse (Yui NARUSE)
02:48 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
2014-05-08 7:54 GMT-04:00 Tadayoshi Funaba <[email protected]>:
> 名前はともかく俺が欲しいのは filevercmp のほうかもしれない。
>
> ~~~
...
kosaki (Motohiro KOSAKI)
02:28 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
Feature#5861 の時と違って、色々とバックグランドの話が提示されたので私は説得されました。

+1

> ~~~diff
> + def test_numericcmp
> + assert...
kosaki (Motohiro KOSAKI)
05:52 AM Revision 77811031 (git): extmk.rb: check if parent is build
* ext/extmk.rb (extmake): don't build nested libraries if parent
library isn't build.
* ext/{dl/callback,tk/tkutil...
nobu (Nobuyoshi Nakada)
05:52 AM Revision ecb8b52f (git): extmk.rb: fix extstatic
* ext/extmk.rb: fix variable name for --extstatic option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45886 b2...
nobu (Nobuyoshi Nakada)
05:27 AM Bug #9818 (Closed): __builtin_setjmp and __builtin_longjmp caused a build failure on PPC Linux with gcc 4.4.0
Applied in changeset r45885.
----------
configure.in: check for `setjmp` type with `CCDLFLAGS`
* configure.in ...
nobu (Nobuyoshi Nakada)
04:38 AM Bug #9818: __builtin_setjmp and __builtin_longjmp caused a build failure on PPC Linux with gcc 4.4.0
You can use `--with-setjmp-type=_setjmp` `configure` option. nobu (Nobuyoshi Nakada)
05:27 AM Revision 9ee25c70 (git): configure.in: check for setjmp type with CCDLFLAGS
* configure.in (RUBY_SETJMP_TYPE): check for setjmp type after
CCDLFLAGS is appended to CFLAGS, since __builtin_set...
nobu (Nobuyoshi Nakada)
04:35 AM Bug #9819 (Closed): changed documentation for enumerable methods find and detect
The docs right now under the enumerable method "find" contains only 2 examples using detect, and no examples with fin... JumpHigh777 (Rachel Logie)
03:58 AM Revision 48a9d171 (git): * tool/release.sh: fix for neon.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:14 AM Feature #6074 (Rejected): Allow alias arguments to have a comma
As Akinori stated, alias is special to be special.
In your case, forget alias and always use alias_method.
Matz.
matz (Yukihiro Matsumoto)
02:34 AM Feature #6074: Allow alias arguments to have a comma
Akinori MUSHA wrote:
> I believe the lack of comma is an important sign that alias is not really a method call in wh...
shugo (Shugo Maeda)
02:05 AM Feature #6074: Allow alias arguments to have a comma
I believe the lack of comma is an important sign that alias is not really a method call in which directive arguments ... knu (Akinori MUSHA)
02:30 AM Bug #9800: Ship 2.1.2 with GC_HEAP_OLDOBJECT_LIMIT_FACTOR of 1.3
How about performance down of this change? hsbt (Hiroshi SHIBATA)
01:00 AM Bug #9800: Ship 2.1.2 with GC_HEAP_OLDOBJECT_LIMIT_FACTOR of 1.3
Sorry for late response.
I can agree this proposal because current default "2" also has no evidence to use.
I thi...
ko1 (Koichi Sasada)

05/08/2014

11:46 PM Feature #9816: 文字列内の数字を数値として比較するメソッド
Yui NARUSE wrote:
> なお、メソッド名は String#numericcmp としています。
"2.9" と "2.10" の比較を考えると、
整数の並びの辞書順の比較として 2.9 が大きいとするか、...
akr (Akira Tanaka)
02:25 PM Feature #9816: 文字列内の数字を数値として比較するメソッド
`versioncmp`は'-'と'.'だけ特別扱いって感じですかね。
あと、片方だけが数字で終わっているときの終端チェックが抜けているような。
~~~diff
diff --git i/string.c w/string....
nobu (Nobuyoshi Nakada)
11:58 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
名前はともかく俺が欲しいのは filevercmp のほうかもしれない。
~~~
x #=> ["2.1.10", "2.1.2", "8 layers", "8 layers 2", "8 layers 2.nki", "8...
tadf (tadayoshi funaba)
10:58 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
Kazuhiro NISHIYAMA wrote:
> numericcmp だと複数の数値が入っている文字列を比較するものというのがわかりにくいと思いました。
>
> 最初に思いついたのは versioncmp という名前で...
naruse (Yui NARUSE)
10:15 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
numericcmp だと複数の数値が入っている文字列を比較するものというのがわかりにくいと思いました。
最初に思いついたのは versioncmp という名前でしたが、
puppet などで使われているようです。
http...
znz (Kazuhiro NISHIYAMA)
09:50 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
+1
自分でいちいち書くのも面倒だし、Gem::Versionをこのために持ってくるのも……という類のメソッドですよね。
usa (Usaku NAKAMURA)
09:37 AM Feature #9816 (Assigned): 文字列内の数字を数値として比較するメソッド
文字列内の数字を数値として比較するメソッドを追加しませんか
そのような比較は一般的な用途としてはGUIシェルのファイラーが比較に用いており、
Windows では StrCmpLogicalW が、OS X では NSStri...
naruse (Yui NARUSE)
09:13 PM Bug #9818 (Closed): __builtin_setjmp and __builtin_longjmp caused a build failure on PPC Linux with gcc 4.4.0
From a certain revision around r45503 to r45515, Ruby began to use `__builtin_setjmp` and `__builtin_longjmp` on PPC ... ReiOdaira (Rei Odaira)
09:00 PM Bug #9814 (Assigned): Improving documentation example for Enumerator#peek
zzak (zzak _)
08:07 AM Bug #9814 (Closed): Improving documentation example for Enumerator#peek
The existing example for **Enumerator#peek** doesn't effectively document the behavior when peeking after an enumerat... futureperfect (Erik Hollembeak)
07:51 PM Feature #9781: Feature Proposal: Method#super_method
I've only ever needed to do this in codebases like Rails, where there's an insane amount of inheritance. However, Rai... josh.cheek (Josh Cheek)
07:02 PM Revision 2ff10784 (git): * lib/delegate.rb: Fix example of using delegator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
06:46 PM Revision 8b6a874a (git): * lib/shell.rb: add documentation in lib/shell.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
06:32 PM Revision 529461df (git): * lib/fileutils.rb: show fileutils require at top.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
06:22 PM Revision 9fdf3e3e (git): * 2014-05-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:22 PM Bug #7395 (Closed): Negative numbers can't be primes by definition
Applied in changeset r45878.
----------
* lib/prime.rb (Prime#prime?): negative numbers can't be primes
by definit...
ayumin (Ayumu AIZAWA)
06:22 PM Revision bef8e455 (git): * lib/prime.rb (Prime#prime?): negative numbers can't be primes
by definition. reported by Ivan Kataitsev. [Bug #7395]
* test/test_prime.rb: add test.
git-svn-id: svn+ssh://ci.ruby...
ayumin (Ayumu AIZAWA)
03:34 PM Bug #9817: The extconf.rb for OpenSSL assumes MingW
I didn't notice this by now, because there was no problem for building mswin at all.
Are these lines really necessar...
usa (Usaku NAKAMURA)
03:14 PM Bug #9817 (Closed): The extconf.rb for OpenSSL assumes MingW
It appears that the extconf.rb file for openssl assumes mingw. The problem is that gdi32 and wsock32 need to be linke... djberg96 (Daniel Berger)
09:43 AM Feature #9772: IO#statfs and File::Statfs
Akira Tanaka wrote:
> Yui NARUSE wrote:
> >
> > 他の方が互換実装を提供することに反対はしませんが、わたしがわざわざ実装する動機は欠けますね。
>
> とすると、statvf...
naruse (Yui NARUSE)
04:31 AM Feature #9772: IO#statfs and File::Statfs
Yui NARUSE wrote:
>
> 他の方が互換実装を提供することに反対はしませんが、わたしがわざわざ実装する動機は欠けますね。
とすると、statvfs があるときは少なくとも statvfs の情報は提供するこ...
akr (Akira Tanaka)
02:09 AM Feature #9772: IO#statfs and File::Statfs
Akira Tanaka wrote:
> Yui NARUSE wrote:
>
> > statfs では f_type の類がとれないからですね。[ruby-core:62150]
>
> なるほど。
>
>...
naruse (Yui NARUSE)
09:40 AM Bug #9815: attr_reader doesn't warn on a uninitialized instance variable
どういう意図でしたっけ。
ちょっとググったけど見当たらず。
ko1 (Koichi Sasada)
09:32 AM Bug #9815 (Closed): attr_reader doesn't warn on a uninitialized instance variable
意図的なものです。
`rb_ivar_get`と`rb_attr_get`の差です。
nobu (Nobuyoshi Nakada)
09:25 AM Bug #9815 (Rejected): attr_reader doesn't warn on a uninitialized instance variable

attr_reader で定義したメソッドでは、-w 時に、未設定の警告「warning: instance variable @bar not initialized」みたいなのが出ないんですが、そういうもんでしょうか。
...
ko1 (Koichi Sasada)
06:31 AM Revision 2a83260a (git): fixed previous commit mistake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:45 AM Revision 16b8aadc (git): object.c: no longer copy tables of classes/modules
* object.c (init_copy): no longer copy tables of classes/modules,
since r45874 rb_mod_init_copy() does it instead.
...
nobu (Nobuyoshi Nakada)
05:34 AM Bug #9813 (Closed): Module#initialize_copy does not clean the tables
Applied in changeset r45874.
----------
class.c: always clear tables first
* class.c (`rb_mod_init_copy`): alw...
nobu (Nobuyoshi Nakada)
04:38 AM Bug #9813 (Closed): Module#initialize_copy does not clean the tables
`Module#initialize_copy`で定数やインスタンス変数を持たない`Module`をコピーしても、元の定数やインスタンス変数が残っています。
~~~ruby
m = Module.new do
def x...
nobu (Nobuyoshi Nakada)
05:34 AM Revision 7c072b35 (git): class.c: always clear tables first
* class.c (rb_mod_init_copy): always clear instance variable,
constant and method tables first, regardless the sour...
nobu (Nobuyoshi Nakada)
01:57 AM Revision 97cd982a (git): * configure.in: OpenBSD needs to include sys/param.h before include
sys/mount.h. [ruby-dev:48167]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45873 b2dd03c8-39d4-4d8f-98ff-823fe6...
naruse (Yui NARUSE)
01:17 AM Revision 719804b5 (git): webrick/httpserver.rb: Stop handling requests on shutdown
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): stop
handling requests on shutdown, even if the socket is re...
nobu (Nobuyoshi Nakada)
12:28 AM Feature #9777: Feature Proposal: Proc#to_lambda
Beware! The answer on Stack Overflow (http://stackoverflow.com/a/2946734) is wrong, because it does not preserve the ... kernigh (George Koehler)

05/07/2014

11:21 PM Revision b9f770ae (git): refactored to test Socket and TCPSocket/TCPServer more consistently.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:32 PM Bug #9685: psych-2.0.5 のバックポート
backported a part of r45453 into ruby_2_0_0.
I decided to update only libyaml and not psych itself.
usa (Usaku NAKAMURA)
05:30 PM Revision 30340160 (git): merge revision(s) r45453: [Backport #9798]
* ext/psych/yaml/config.h: ditto.
* ext/psych/yaml/scanner.c: ditto.
* ext/psych/yaml/yaml_private....
U.Nakamura
05:09 PM Bug #9657: Segfault in bigdecimal/util.rb Float#to_d
backported into ruby_2_0_0 at r45869.
I couldn't reproduce SEGV with wanabe's script, but I believe the fix is right...
usa (Usaku NAKAMURA)
05:07 PM Revision 9bececb7 (git): merge revision(s) 45015: [Backport #9657]
* ext/bigdecimal/bigdecimal.c (BigDecimal_initialize): Insert GC guard.
* ext/bigdecimal/bigdecimal.c (BigDe...
U.Nakamura
05:00 PM Bug #9743: memory leak in openssl ossl_pkey_verify leaks memory
backported into ruby_2_0_0 at r45868. usa (Usaku NAKAMURA)
04:59 PM Revision b786887a (git): merge revision(s) 45595: [Backport #9743]
* ext/openssl/ossl_pkey.c (ossl_pkey_verify): as EVP_VerifyFinal()
finalizes only a copy of the digest cont...
U.Nakamura
04:22 PM Bug #9586: Unable to build Ruby 2.1.1 on NetBSD
r45190, r45202, r45204 and r45713 were backported into `ruby_2_1` at r45867. nagachika (Tomoyuki Chikanaga)
04:21 PM Revision 65b76d92 (git): merge revision(s) r45190,r45202,r45204,r45713: [Backport #9586]
configure.in: define SET_THREAD_NAME
* configure.in (SET_THREAD_NAME): define according to
pthread_setname...
nagachika (Tomoyuki Chikanaga)
03:49 PM Revision b4946035 (git): merge revision(s) r44619:
test_gc.rb: relax assertion
* test/ruby/test_gc.rb (test_profiler_total_time): GC time may be
shorter than...
nagachika (Tomoyuki Chikanaga)
03:43 PM Revision 87083e76 (git): * 2014-05-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:43 PM Revision d4d04585 (git): gc.c: fix argument types for st_foreach
* gc.c ({free,mark}_{method,const}_entry_i): fix argument types as
st_data_t for st_foreach().
* gc.c (rgengc_unpr...
nobu (Nobuyoshi Nakada)
03:36 PM Bug #9750: OpenSSL::SSL::SSLServer can not accept a Socket as it's first parameter
I think this introduces no incompatibility and should be backported. nagachika (Tomoyuki Chikanaga)
12:48 PM Bug #9750 (Closed): OpenSSL::SSL::SSLServer can not accept a Socket as it's first parameter
Applied in changeset r45863.
----------
* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#accept):
Conside...
akr (Akira Tanaka)
02:18 PM Feature #6074: Allow alias arguments to have a comma
Request for syntax change. nobu (Nobuyoshi Nakada)
06:15 AM Feature #6074: Allow alias arguments to have a comma
Salvaged. https://github.com/ruby/ruby/pull/609 nobu (Nobuyoshi Nakada)
01:12 PM Bug #5330 (Rejected): Bug Report: wrong backtrace
Ulrich Kramer wrote:
>
> a.rb:
> test = Class.new(Object)
> test.class_eval(File.read("b.rb"),"b.rb",1)
> ...
akr (Akira Tanaka)
12:48 PM Revision 2dbae9b1 (git): * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#accept):
Consider Socket#accept as well as TCPServer#accept.
Reported by Sam Stelfox. [ruby-core:62064] [Bug #9750]
git-...
akr (Akira Tanaka)
12:22 PM Revision 1386a230 (git): refactoring to extract tcp_pair.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:58 AM Bug #9760: mkmf does not allow for linking against custom libraries when a system library is present
In the meantime, third parties can work around this problem by a monkey patch like this:
https://github.com/sparkl...
knu (Akinori MUSHA)
08:24 AM Bug #9811 (Closed): Numeric#step ignores `to` silently by keyword arguments.
Applied in changeset r45861.
----------
numeric.c: check keyword arguments
* numeric.c (`num_step_scan_args`):...
nobu (Nobuyoshi Nakada)
08:16 AM Bug #9811 (Closed): Numeric#step ignores `to` silently by keyword arguments.
Numeric#stepにキーワード引数を指定すると、終了値が無視されます。
無効なキーワードでもエラーになりません。
~~~ruby
1.step(10, foo: nil)
~~~
nobu (Nobuyoshi Nakada)
08:24 AM Revision a352b0a2 (git): numeric.c: check keyword arguments
* numeric.c (num_step_scan_args): check keyword arguments and fail
if they conflict with positional arguments.
[r...
nobu (Nobuyoshi Nakada)
08:10 AM Revision f8661f7f (git): numeric.c: merge miss
* numeric.c (num_step_scan_args): fix merge miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45860 b2dd03c8-3...
nobu (Nobuyoshi Nakada)
08:05 AM Revision ba90ac25 (git): numeric.c: num_step_scan_args
* numeric.c (num_step_scan_args): turn a macro into a function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45...
nobu (Nobuyoshi Nakada)
07:34 AM Revision 5c518025 (git): numeric.c: indent
* numeric.c (ruby_num_interval_step_size): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45858 b2...
nobu (Nobuyoshi Nakada)
07:03 AM Bug #9677: OpenSSL::PKey::EC#to_text causes a segmentation fault
I found that the segmentation fault occurs when a public_key is not set.
Here is a patch.
~~~
diff --git a/ossl_...
phasis68 (Heesob Park)
06:58 AM Bug #5328: Splat args are treated wrongly in instance_exec and class_exec
Thanks. I'm still trying to wrap my head around it but that's quite helpful. myronmarston (Myron Marston)
05:54 AM Feature #9807: String.new with block
Michael Kohl wrote:
> After a discussion in our team chat today, I wondered if it would be a good idea to have a ver...
duerst (Martin Dürst)
04:26 AM Revision 082a8864 (git): vm_eval.c: hide intermediate hash
* vm_eval.c (rb_f_local_variables): hide intermediate hash and use
rb_hash_keys() directly.
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
04:26 AM Revision 5bec2d8c (git): hash.c: make rb_hash_keys extern
* hash.c (rb_hash_keys): make an internal public function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45856 b...
nobu (Nobuyoshi Nakada)
04:26 AM Revision c8221b4c (git): vm_eval.c: symbol identity
* vm_eval.c (local_var_list_add): use symbol identity, and get rid
of method calls.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
04:26 AM Revision 766478f6 (git): vm_eval.c: valid name IDs only
* vm.c (vm_collect_local_variables_in_heap): use struct local_var_list
instead of VALUE directly.
* vm_eval.c (loc...
nobu (Nobuyoshi Nakada)
04:26 AM Revision a1bc138f (git): vm.c: clear intermediate hash
* vm.c (rb_f_local_variables): clear intermediate hash after
extracting its keys.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
03:07 AM Revision d4672274 (git): * benchmark/driver.rb: remove debug output and output results into
specified file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
02:57 AM Revision 1ddb9c53 (git): * benchmark/driver.rb: add '--rawdata-output=[FILE] option to output
raw results into FILE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
02:25 AM Revision 11eb8701 (git): vm_eval.c: exclude hidden variables
* vm_eval.c (rb_f_local_variables): exclude variables hidden by
shadowing. [ruby-core:60501] [Bug #9486]
* vm.c (c...
nobu (Nobuyoshi Nakada)
02:00 AM Revision c8dbc43d (git): * 2014-05-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:00 AM Revision c60e282b (git): rename variables
* vm.c (vm_collect_local_variables_in_heap): rename an argument.
* vm_eval.c (rb_f_local_variables): rename a local ...
nobu (Nobuyoshi Nakada)
12:23 AM Bug #9372: Date function cweek reports innaccurately for the date December 30, 2013
This is a repeated question, so it feels nice to add examples. nobu (Nobuyoshi Nakada)
12:17 AM Bug #9809 (Closed): Date.new(2000,1,1).cweek should == 1
matz (Yukihiro Matsumoto)
12:08 AM Feature #9777: Feature Proposal: Proc#to_lambda
If a user wanted to write it as a proc, then it means that he/she doesn't want it to raise error, doesn't it? nobu (Nobuyoshi Nakada)

05/06/2014

11:45 PM Bug #5328: Splat args are treated wrongly in instance_exec and class_exec
I can remember several documents.
* The document of Proc#lambda?.
* The thread from ruby-core:47453 "yield plus s...
akr (Akira Tanaka)
04:38 PM Bug #5328: Splat args are treated wrongly in instance_exec and class_exec
Thanks for taking the time to explain.
This surprises me a bit because I've followed ruby development closely for ...
myronmarston (Myron Marston)
01:05 PM Bug #5328 (Rejected): Splat args are treated wrongly in instance_exec and class_exec
Ruby 1.9 changes block arguments behavior.
Non-lambda block arguments always expands single array.
(Ruby 1.8 expand...
akr (Akira Tanaka)
11:01 PM Bug #5828: Non anonymous classes can't be frozen, cloned and then inspected
I'm happy for this bug to be closed, as I don't have a need to freeze and clone a class. agrimm (Andrew Grimm)
01:50 PM Bug #5828 (Feedback): Non anonymous classes can't be frozen, cloned and then inspected
The name of anonymous class is searched and cached when it is first inspected.
The cache is implemented as a hidden ...
akr (Akira Tanaka)
09:13 PM Bug #9806: URI#encode doesn't encode characters '[' and ']'. They should be encoded as %5B and %5D respectively.
Notes:
* Per RFC 2396 section 2.4.3 "Data corresponding to excluded characters **must** be escaped in order to be pr...
charlez (Charles Leu)
01:29 AM Bug #9806 (Closed): URI#encode doesn't encode characters '[' and ']'. They should be encoded as %5B and %5D respectively.
The subject says it all.
IRB session demonstrating the problem:
charlez$ irb
head :001 > RUBY_VERSION
=> "2.2....
charlez (Charles Leu)
05:25 PM Bug #9810 (Closed): Numeric#step behavior with mixed Float, String arguments inconsistent with documentation
The `Numeric#step` documentation states:
"If any of the arguments are floating point numbers, all are converted to...
brixen (Brian Shirai)
05:21 PM Bug #9809: Date.new(2000,1,1).cweek should == 1
This looks like correct behaviour. From a previous issue #9372:
A period of time of seven days within a calendar y...
avit (Andrew Vit)
04:54 PM Bug #9809: Date.new(2000,1,1).cweek should == 1
I see https://bugs.ruby-lang.org/issues/9372
If this is not a bug, please close it, thank you.
zfben (Ben Zhu)
04:41 PM Bug #9809 (Rejected): Date.new(2000,1,1).cweek should == 1
I run `Date.new(2000,1,1).cweek`, the result is 52.
My Ruby version is 2.1.1
zfben (Ben Zhu)
05:17 PM Feature #9777: Feature Proposal: Proc#to_lambda
Another possible reason to convert a Proc to a lambda is to for raising error on arguments
```
foo = -> { puts "h...
schneems (Richard Schneeman)
02:40 PM Feature #9808 (Feedback): Enumerable#argmin_by, #argmax_by
Could you explain what it does? nobu (Nobuyoshi Nakada)
02:00 PM Feature #9808 (Rejected): Enumerable#argmin_by, #argmax_by
What about introducing `Enumerable` `#argmin_by` (and `#argmax_by` too, of course) method?
Use cases are wide from m...
prijutme4ty (Ilya Vorontsov)
02:35 PM Bug #9486 (Closed): Multiple Kernel#local_variables entries with block local parameters
Applied in changeset r45847.
----------
missed ref. [ruby-core:60501] [Bug #9486]
nobu (Nobuyoshi Nakada)
02:35 PM Revision f8366016 (git): missed ref. [ruby-core:60501] [Bug #9486]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:29 PM Revision b5cae382 (git): parse.y: no duplicated names
* parse.y (new_bv_gen): no duplicated names, if already added in
shadowing_lvar().
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
02:28 PM Revision d750b62d (git): parse.y: remove duplicated names
* parse.y (local_tbl_gen): remove local variables duplicated with
arguments.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
02:28 PM Revision 8a57bb7b (git): parse.y: unused return values
* parse.y (arg_var_gen, local_var_gen): make void since the result
values are not used.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
02:18 PM Bug #9019 (Rejected): encoding: EUC-KR or EUC-JP does not seem to work
nobu (Nobuyoshi Nakada)
01:57 PM Bug #9344 (Assigned): warning origin incorrect with instance_eval
nobu (Nobuyoshi Nakada)
11:38 AM Feature #9807: String.new with block
>
> That could be a nice solution to avoid all the Array#join and "".tap
hacks for string creation.
>

Which ha...
phluid61 (Matthew Kerwin)
11:22 AM Feature #9807 (Open): String.new with block
After a discussion in our team chat today, I wondered if it would be a good idea to have a version of String.new that... citizen428 (Michael Kohl)
09:52 AM Feature #6216: SystemStackError backtraces should not be reduced to one line
https://github.com/ruby/ruby/pull/608 nobu (Nobuyoshi Nakada)
09:50 AM Revision e4b05d91 (git): * lib/time.rb (Time.make_time): Adjust the time zone of "now".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:37 AM Revision d85c226f (git): * io.c (io_{read,write}_nonblock): use rb_get_kwargs instead of
rb_hash_aref.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
09:04 AM Revision 915ef9ed (git): * lib/time.rb (Time.make_time): Argument validation code moved from
Time.parse and Time.strptime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45841 b2dd03c8-39d4-4d8f-98ff-823f...
akr (Akira Tanaka)
08:54 AM Revision d03eabd5 (git): eval.c: method name
* eval.c (setup_exception): add the method name to system stack
error message.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
08:38 AM Revision 854fffe9 (git): fix typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:36 AM Bug #9521: [Doc] Fix error in Time.parse documentation (in lib/time)
It seems the original document of that part written by gsinclair used GMT.
But I mistakenly modified to use JST.
...
akr (Akira Tanaka)
08:18 AM Bug #9521 (Closed): [Doc] Fix error in Time.parse documentation (in lib/time)
Applied in changeset r45837.
----------
* lib/time.rb (Time.parse): [DOC] Fix an example in the documentation.
Rep...
akr (Akira Tanaka)
08:27 AM Revision 1c3f862f (git): [DOC] Use EST for previous documentation fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:18 AM Bug #9682 (Closed): [Doc] Improve Time.parse documentation (in lib/time)
Applied in changeset r45837.
----------
* lib/time.rb (Time.parse): [DOC] Fix an example in the documentation.
Rep...
akr (Akira Tanaka)
08:18 AM Revision 252afcd9 (git): * lib/time.rb (Time.parse): [DOC] Fix an example in the documentation.
Reported by Marcus Stollsteimer.
[ruby-core:60778] [Bug #9521] and [ruby-core:61718] [Bug #9682]
git-svn-id: svn...
akr (Akira Tanaka)
 

Also available in: Atom