Activity
From 05/08/2014 to 05/14/2014
05/14/2014
-
10:12 PM Feature #6074: Allow alias arguments to have a comma
- Special cases always make me cringe. Why is alias a special case anyway? It seems very odd since alias_method is a me...
-
08:11 PM Bug #9840 (Third Party's Issue): [darwin] configure script fails if an empty file named `Info.plist` exists in the user's home directory
- On OS X 10.9.2, the ruby-2.1.2 configure script fails if an empty file named `Info.plist` exists in the user's home d...
-
07:58 PM Feature #9614: ordering of non-Hash items which use st_ internally
- [email protected] wrote:
> Adding similar data structure can also increase complexity.
> At least, I like same interfa... -
08:17 AM Feature #9614: ordering of non-Hash items which use st_ internally
- > ko1: adding flag for ordering might complicate the st code even more.
> I think st should only be for implementi... -
06:59 AM Feature #9614: ordering of non-Hash items which use st_ internally
- Hi, thank you for the comments!
ko1: adding flag for ordering might complicate the st code even more.
I think st... -
05:50 AM Feature #9614: ordering of non-Hash items which use st_ internally
- I suspect that tests for `local_variables` would need fixing too.
-
05:48 AM Feature #9614: ordering of non-Hash items which use st_ internally
- How is it the rate of reduction?
Since I wasn't very positive to make the ordering a spec, I'm not against it.
Bu... -
05:29 AM Feature #9614: ordering of non-Hash items which use st_ internally
- Just a comment.
I think it should be another parameter of st_table.
Now all st_tables have order.
But most of ... -
12:58 AM Feature #9614: ordering of non-Hash items which use st_ internally
- [email protected] wrote:
> Hi matz, I would like your permission to remove the order preservation from
> any or... -
07:28 PM Bug #9835: IGNORE signal handler has possible race condition in Ruby 2.1.2
- It looks like a race condition in your code. You were lucky to not hit
it in 1.8.7 or with a different use of trap... -
06:20 PM Bug #9835: IGNORE signal handler has possible race condition in Ruby 2.1.2
- Nobuyoshi Nakada,
Please take a second look at the ticket and attached source, you failed to address two things:
... -
01:38 AM Bug #9835 (Rejected): IGNORE signal handler has possible race condition in Ruby 2.1.2
- It's your bug, just sending a signal before the children trap `SIGUSR1`.
-
07:14 PM Bug #9836: Bad Implementation of Time.strptime
- Sorry for the unclear wording. I would expect that it behaves similar to `DateTime`'s implementation and to not ignor...
-
06:28 AM Bug #9836: Bad Implementation of Time.strptime
- I guess the OP expects `%U` not to be ignored.
~~~diff
diff --git a/lib/time.rb b/lib/time.rb
index 3728fef..ec4... -
04:16 PM Bug #9839 (Feedback): Segment fault in http
- What is the version of openssl?
It seems known problem of ruby 2.1.1.
Please try ruby 2.1.2. -
03:22 PM Bug #9839 (Rejected): Segment fault in http
- I've got segment fault in ruby 2.1.1
/home/ubuntu/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/http.rb:920: [BUG] Seg... -
12:50 PM Bug #9705: Installing ruby 2.1.1 fails while compiling (after: rvm install 2.1.1)
- Great tip, thanks a lot Heesob Park!
In line 67 in Ruby 2.1.2 Makefile, one simply has to change `-msse2` to `-msse`... -
10:52 AM Bug #9705: Installing ruby 2.1.1 fails while compiling (after: rvm install 2.1.1)
- Athlon XP processor does not have SSE2 support.
SSE2 support was added with the Athlon 64 processor.
But the genera... -
10:10 AM Bug #9705: Installing ruby 2.1.1 fails while compiling (after: rvm install 2.1.1)
- I have exactly the same issue with my Athlon XP 2600+.
The compilation process stops every time at the same point as... -
10:56 AM Feature #9612 (Open): Gemify OpenSSL
- Modified.
But current version doesn't work on 2.1.2 or before.
-
10:55 AM Feature #9612 (Closed): Gemify OpenSSL
- Applied in changeset r45944.
----------
* ext/openssl/depend: remove dependency from internal headers.
[Featur... -
10:55 AM Revision 7093a2cb (git): * ext/openssl/depend: remove dependency from internal headers.
- [Feature #9612]
* ext/openssl/ossl.c (ossl_fips_mode_set): ditto.
* ext/coverage/depend: ditto.
* include/ruby/thread... -
09:04 AM Revision 1b03f51f (git): * gc.c: enable RGENGC_AGE2_PROMOTION.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:03 AM Revision b4d9f9ca (git): * gc.c (rgengc_rememberset_mark): promote remembered object earlier.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:38 AM Revision fac59ac7 (git): * common.mk: need to quote $BASERUBY because it may includes options.
- this change is only for release management, not bug fix.
[Backport #9837] [ruby-dev:48218]
git-svn-id: svn+ssh://... -
02:07 AM Revision 6e2a2dd3 (git): * LEGAL: added license infomation of ccan files.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
05/13/2014
-
11:40 PM Bug #9836 (Feedback): Bad Implementation of Time.strptime
- I am not sure what behavior you are referring as "extremely naive".
Please be concrete. How do you think it should ... -
07:59 PM Bug #9836 (Closed): Bad Implementation of Time.strptime
- According to the documentation, `Time.strptime` "parses +date+ using `Date._strptime` and converts it to a Time objec...
-
04:29 PM Bug #9835: IGNORE signal handler has possible race condition in Ruby 2.1.2
- This script produces the same "Caught SignalException: SIGUSR1" message on Ubuntu Precise.
I couldn't get it to trig... -
04:13 PM Bug #9835 (Closed): IGNORE signal handler has possible race condition in Ruby 2.1.2
- I'm migrating an application from 1.8.7 to 2.1.1/2.1.2, so I'm not sure when this was introduced. Attached is a demo...
- 03:47 PM Revision 5e023d68 (git): * 2014-05-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:47 PM Revision 9fd859b8 (git): make-snapshot: -digests option
- * tool/make-snapshot (package): add -digests option to select
digest algorithms to be shown.
git-svn-id: svn+ssh:/... -
03:47 PM Revision bebbbc39 (git): make-snapshot: -package option
- * tool/make-snapshot (package): add -package option to select
packages to be made.
git-svn-id: svn+ssh://ci.ruby-l... -
03:47 PM Revision 26db9bb2 (git): make-snapshot: unused variables
- * tool/make-snapshot (package): remove variables no longer used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4... -
12:27 PM Feature #9834: Float#{next_float,prev_float}
- Thank you for an interesting implementation.
Heesob Park wrote:
> if (self==Float::NAN || y==Float::N... -
10:28 AM Feature #9834: Float#{next_float,prev_float}
- Here is a pure ruby implementation of `Float#{next_float,prev_float}` (adopted from http://golang.org/src/pkg/math/ne...
-
09:48 AM Feature #9834 (Closed): Float#{next_float,prev_float}
- I'd like to add Float#next_float and Float#prev_float which
returns next representable floating-point number and
pr... -
10:09 AM Revision f6786463 (git): make-snapshot: SHA512
- * tool/make-snapshot (package): add SHA512.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45935 b2dd03c8-39d4-4d... -
10:09 AM Revision 944ff17f (git): make-snapshot: support xz
- * tool/make-snapshot (package): support xz. no longer runs with
1.8 or earlier.
git-svn-id: svn+ssh://ci.ruby-lan... -
10:05 AM Revision a03eeb00 (git): set svn:ignore property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:01 AM Bug #9833 (Closed): OpenSSL::X509::Certificate#inspect がわかりにくくなっている
- SSL/TLS の証明書の簡易的なチェックに OpenSSL::X509::Certificate#inspect を便利に使っていたのですが、最近の ruby だと subject などに内容が出なくなってわかりにくくなっているので...
-
07:38 AM Feature #9632: [PATCH 0/2] speedup IO#close with linked-list from ccan
- (2014/05/13 16:29), Eric Wong wrote:
> Tanaka Akira <[email protected]> wrote:
>> Anyone use doxygen?
>> If no one ... -
07:38 AM Feature #9632: [PATCH 0/2] speedup IO#close with linked-list from ccan
- Tanaka Akira <[email protected]> wrote:
> I found that doxygen produces many warnings in ccan/ directory.
> http://www.... -
07:08 AM Feature #9632: [PATCH 0/2] speedup IO#close with linked-list from ccan
- 2014-05-11 8:50 GMT+09:00 Eric Wong <[email protected]>:
> Eric Wong <[email protected]> wrote:
>> Any com... -
04:09 AM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
- [email protected] wrote:
> "linux-gnu" in "target_os" is substituted by "linux", so your AS_CASE never match.
> Y... -
03:22 AM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
- "`linux-gnu`" in "`target_os`" is substituted by "`linux`", so your `AS_CASE` never match.
You should check for `lib... -
02:58 AM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
- Attached patch to use jemalloc by default on GNU/Linux iff
jemalloc is already installed. Maybe we can integrate/fo...
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
-
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
-
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... -
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]... -
02:05 PM Bug #9726: Incorrect Proc parsing
- r45637 was backported into `ruby_2_1` branch at r45929.
-
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... -
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.
-
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_... -
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.
-
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... -
12:33 PM Misc #9832: better concurrency in threads
- cougar => puma
-
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... -
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
-
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... -
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. -
09:47 AM Feature #9826: Enumerable#slice_between
- I updated the patch to simplify argument handling.
-
09:47 AM Feature #9071: Enumerable#slice_after
- I updated the patch to simplify argument handling.
-
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...
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. -
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:
~~~... -
08:44 PM Bug #9829: Contradictions in docs for FileUtils::ln (and related functions)
- Agreed, this is very confusing.
-
07:52 PM Bug #9829 (Assigned): Contradictions in docs for FileUtils::ln (and related functions)
-
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...
-
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... -
06:49 PM Bug #8358: TestSprintf#test_float test failure
- An update.
Before this patch:
https://gist.github.com/luislavena/beb9bff73fdca800debc
With patch applied:
... -
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:/... -
05:48 PM Bug #9827 (Assigned): Segmentation fault when running `gem`
- 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
-
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-... -
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... -
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... -
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 ...
... -
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... -
10:08 AM Feature #9632: [PATCH 0/2] speedup IO#close with linked-list from ccan
- 4. Should we use it on compile.c?
-
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... -
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... -
08:55 AM Feature #8840: Yielder#state
- I have another idea now.
How about combining Enumerator.new and Enumerator#lazy addition to closure?
```
class... -
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... -
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... -
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... -
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:...
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... - 11:49 PM Revision 7992b0ff (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 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... -
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... -
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... -
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...
-
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... -
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 ... -
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... -
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...
-
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::... -
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...
-
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... -
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.
-
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.
- 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
-
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... -
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...
-
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... -
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?
-
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...
-
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... -
03:01 PM Revision 78358a72 (git): merge revision(s) r45901:
- envutil.rb: successfully terminated process
* test/ruby/envutil.rb (FailDesc): allow successfully terminated... -
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.... -
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... -
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... -
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... -
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... -
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... -
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... -
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: ... -
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... -
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... -
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... -
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... -
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... -
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... -
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... -
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
> ... -
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... -
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... -
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... -
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... -
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] -
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
-
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...
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
-
11:44 PM Bug #7395: Negative numbers can't be primes by definition
- > ayumin
this issue seems incompatible changes. it should be add NEWS. -
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 ... -
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...
-
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 ...
-
10:02 PM Bug #9822 (Assigned): Ruby doesn't respect system OpenSSL configuration
-
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... -
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...
-
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 ... - 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
-
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 ... -
03:05 PM Bug #9820: miniruby -e 'Process.kill(:INT, $$)' hang under cron
- GVL があるので変なことはまず起こらない気がしますが、起こるとしたらどういう状況ですかね。
-
03:02 PM Bug #9820: miniruby -e 'Process.kill(:INT, $$)' hang under cron
- `SIG_IGN`ではないときだけ、というところでrace conditionになったりしないですかね。
-
03:00 PM Bug #9820: miniruby -e 'Process.kill(:INT, $$)' hang under cron
- 自分自身に送るときは、即座に届かないと困ることがあった気がします。
例外が発生するはずがその先まで実行されてしまうとか。
思うに、自分自身(だけ)に送るときは signal を使わないで、直接 signal handler を... -
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... -
02:16 PM Bug #9820: miniruby -e 'Process.kill(:INT, $$)' hang under cron
- r39819で、自分自身にシグナルを送ったときにはすぐシグナルを処理するために受信するまで待つようになっていますが、`SIG_IGN`の場合は送られないのでそこでずっと待機してしまうということのようです。
シグナルの遅延が予測できな... -
01:06 PM Bug #9820: miniruby -e 'Process.kill(:INT, $$)' hang under cron
- さらに調べた結果、どうも cron から動かしたプログラムでは SIGINT の signal handler が
SIG_IGN になっているようです。
以下のようにして、端末からでも再現できました。
以下を実行すると h... -
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... -
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... -
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... -
01:57 PM Revision 058b5bce (git): [DOC]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:27 PM Bug #9821 (Third Party's Issue): Segfault when using gruff/RMagick/Rails 3.2.17
- Seems it occurs in RMagick.
-
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...
-
06:12 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
- メソッド名は分かりませんが、
a.foo(b)
という書き方は対称性を崩していて何となく気持ち悪いので、どうせなら
String.foo(a, b)
という書き方も見当していただけないでしょうか... -
05:40 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
- Yui NARUSE wrote:
> > (あと numericcmp は cc という同じ文字の並びの間で単語が分かれるというのが、
> > ぱっとみたときに単語分割しにくいように思います。)
>
> それは、akrさん... -
05:32 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
- tadayoshi funaba wrote:
> 名前はともかく俺が欲しいのは filevercmp のほうかもしれない。
仕様が明確に決まっているのと、バージョン比較というわたしのユースケースには影響がないので、
それで... -
02:48 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
- 2014-05-08 7:54 GMT-04:00 Tadayoshi Funaba <[email protected]>:
> 名前はともかく俺が欲しいのは filevercmp のほうかもしれない。
>
> ~~~
... -
02:28 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
- Feature#5861 の時と違って、色々とバックグランドの話が提示されたので私は説得されました。
+1
> ~~~diff
> + def test_numericcmp
> + assert... -
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... -
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... -
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 ... -
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.
-
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... -
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...
- 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
-
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.
-
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... -
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 ...
-
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?
-
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...
05/08/2014
-
11:46 PM Feature #9816: 文字列内の数字を数値として比較するメソッド
- Yui NARUSE wrote:
> なお、メソッド名は String#numericcmp としています。
"2.9" と "2.10" の比較を考えると、
整数の並びの辞書順の比較として 2.9 が大きいとするか、... -
02:25 PM Feature #9816: 文字列内の数字を数値として比較するメソッド
- `versioncmp`は'-'と'.'だけ特別扱いって感じですかね。
あと、片方だけが数字で終わっているときの終端チェックが抜けているような。
~~~diff
diff --git i/string.c w/string.... -
11:58 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
- 名前はともかく俺が欲しいのは filevercmp のほうかもしれない。
~~~
x #=> ["2.1.10", "2.1.2", "8 layers", "8 layers 2", "8 layers 2.nki", "8... -
10:58 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
- Kazuhiro NISHIYAMA wrote:
> numericcmp だと複数の数値が入っている文字列を比較するものというのがわかりにくいと思いました。
>
> 最初に思いついたのは versioncmp という名前で... -
10:15 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
- numericcmp だと複数の数値が入っている文字列を比較するものというのがわかりにくいと思いました。
最初に思いついたのは versioncmp という名前でしたが、
puppet などで使われているようです。
http... -
09:50 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
- +1
自分でいちいち書くのも面倒だし、Gem::Versionをこのために持ってくるのも……という類のメソッドですよね。 -
09:37 AM Feature #9816 (Assigned): 文字列内の数字を数値として比較するメソッド
- 文字列内の数字を数値として比較するメソッドを追加しませんか
そのような比較は一般的な用途としてはGUIシェルのファイラーが比較に用いており、
Windows では StrCmpLogicalW が、OS X では NSStri... -
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 ...
-
09:00 PM Bug #9814 (Assigned): Improving documentation example for Enumerator#peek
-
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...
-
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...
-
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
-
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
-
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
- 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
-
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... -
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... -
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... -
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...
-
09:43 AM Feature #9772: IO#statfs and File::Statfs
- Akira Tanaka wrote:
> Yui NARUSE wrote:
> >
> > 他の方が互換実装を提供することに反対はしませんが、わたしがわざわざ実装する動機は欠けますね。
>
> とすると、statvf... -
04:31 AM Feature #9772: IO#statfs and File::Statfs
- Yui NARUSE wrote:
>
> 他の方が互換実装を提供することに反対はしませんが、わたしがわざわざ実装する動機は欠けますね。
とすると、statvfs があるときは少なくとも statvfs の情報は提供するこ... -
02:09 AM Feature #9772: IO#statfs and File::Statfs
- Akira Tanaka wrote:
> Yui NARUSE wrote:
>
> > statfs では f_type の類がとれないからですね。[ruby-core:62150]
>
> なるほど。
>
>... -
09:40 AM Bug #9815: attr_reader doesn't warn on a uninitialized instance variable
- どういう意図でしたっけ。
ちょっとググったけど見当たらず。
-
09:32 AM Bug #9815 (Closed): attr_reader doesn't warn on a uninitialized instance variable
- 意図的なものです。
`rb_ivar_get`と`rb_attr_get`の差です。 -
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」みたいなのが出ないんですが、そういうもんでしょうか。
...- 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
-
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.
... -
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... -
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... -
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... -
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... -
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... -
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 ...
Also available in: Atom