Activity
From 04/21/2013 to 04/27/2013
04/27/2013
-
11:30 PM Revision 7e70b8ac (git): * ext/curses/curses.c: Update Curses::Window example for nicer output
- Patch by Michal Suchanek [Bug #8121] [ruby-core:53520]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:26 PM Bug #8213 (Closed): No documentation for `ri YAML`
- This issue was solved with changeset r40499.
Lee, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/yaml.rb: Documentation for YAML module [Bug #8213] -
11:11 PM Revision e781aeef (git): * README.EXT: Update note from r40504, by Jeremy Evans [Bug #7982]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:04 PM Revision 817dda53 (git): * README.EXT: Add note to warn use of %i in Exceptions [Bug #7982]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:50 PM Feature #6242: Ruby should support lists
- I doubt that ruby is LISP.
http://www.ifeel.edu.in -
06:28 PM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- Hello,
I think this is really a bug: error hiding *is* harmful.
Anyway, is it OK to commit this to trunk now that 2.0 is released and in a separate branch? -
05:48 PM Revision d7b32fb4 (git): * configure.in: Fix a typo. Should check endgrent() instead of
- endgrnam().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:24 PM Bug #8337: Test failure and memory leak with OpenSSL::BN
- naruse (Yui NARUSE) wrote:
> Sure, commit please.
Additionally, ALLOC_N for Fixnum can be simply ALLOCA_N. -
05:23 PM Bug #8337: Test failure and memory leak with OpenSSL::BN
- Sure, commit please.
-
03:29 PM Bug #8337 (Closed): Test failure and memory leak with OpenSSL::BN
- I noticed test failure of test_to_bn.
http://ci.rubyinstaller.org/job/ruby-trunk-x64-test-all/1137/console
1) Failure:
test_to_bn(OpenSSL::TestBN) [C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_bn.rb:36]... - 03:38 PM Revision 8583a7df (git): * 2013-04-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:38 PM Revision 1a67580e (git): * process.c (obj2gid): Don't call endgrnam() if not exist.
- Bionic (Android's libc) don't have endgrnam().
* configure.in: Check endgrnam function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:54 PM Revision b5e8e33d (git): * lib/yaml.rb: add security warning to YAML documentation
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:26 PM Revision 3e1fad84 (git): * lib/yaml.rb: Documentation for YAML module [Bug #8213]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:27 PM Feature #8237: Logical method chaining via inferred receiver
- wardrop (Tom Wardrop) wrote:
> =begin
> ...
Object#tap wasn't introduced to avoid unnecessary temporary variable assignments. #tap is an implementation of the K combinator which has lots of uses beyond avoiding unnecessary temporaries.... -
11:21 AM Revision ab750920 (git): * thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION.
- This fixes a compilation failure while cross-compiling for Tensilica
Xtensa Processor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:07 AM Bug #8336 (Closed): Segfault in :=~
- Seems same as #8100.
-
08:15 AM Bug #8336 (Closed): Segfault in :=~
- Just had this happen a few times, seems to be GC related, releasing memory pressure worked around it.
https://gist.github.com/SamSaffron/5471044 -
10:33 AM Revision 5c1d4c2a (git): * thread.c: fix typos and documentation
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:06 AM Revision 5cbc3e15 (git): * sparc.c: Use __asm__ instead of asm for gcc.
- gcc doesn't provide asm keyword if -ansi option is given.
http://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:52 AM Bug #8335: Performance regression with many threads
- Mike - also fixed @ https://github.com/sstephenson/ruby-build/pull/351
-
02:43 AM Bug #8335 (Closed): Performance regression with many threads
- Thank you for confirmation.
-
02:23 AM Bug #8335: Performance regression with many threads
- Confirmed. I rebuilt 2.0.0 with RUBY_CFLAGS="-O3" and now performance is as good or better than 1.9.3. You may close this issue.
-
02:04 AM Bug #8335: Performance regression with many threads
- I have some concern about #8211 so here's the info. Each VM was installed via rbenv.
> ruby -v
ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-darwin12.3.0]
> ...
ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-darwin12.3.0]
... -
01:08 AM Bug #8335 (Closed): Performance regression with many threads
- I've created a simple case to reproduce a performance problem with Sidekiq. A customer is using 200 worker threads to process background jobs and finding it to be quite slow. To process 50,000 jobs, it takes Ruby 1.9.3 about 200 second...
-
08:23 AM Revision ef215077 (git): * ext/socket/extconf.rb: Redundant test removed.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:00 AM Revision fbbd7e29 (git): * ext/socket/extconf.rb (test_recvmsg_with_msg_peek_creates_fds):
- Extracted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:52 AM Revision d907adec (git): * internal.h (SIGNED_INTEGER_TYPE_P): New macro.
- (SIGNED_INTEGER_MAX): Ditto.
(SIGNED_INTEGER_MIN): Ditto.
(UNSIGNED_INTEGER_MAX): Ditto.
(TIMET_MAX): Use SIGNED_INTEGER_MAX and UNSIGNED_INTEGER_MAX.
(TIMET_MIN): Use SIGNED_INTEGER_MIN.
* thread.c (TIMEVAL_SEC_MAX): Use SIGNED... -
03:30 AM Revision e88a692a (git): * thread.c (TIMEVAL_SEC_MAX, TIMEVAL_SEC_MIN): Consider environments,
- sizeof(time_t) is smaller than sizeof(tv_sec), such as
OpenBSD 5.2 (amd64).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:02 AM Revision 825a8923 (git): test_syntax.rb: split test_syntax
- * test/ruby/test_syntax.rb (test_syntax): split to improve throuthput
by reducing objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/26/2013
-
11:53 PM Bug #8302: REXML::Text の entity_filter が有効でない
- テストを追加して取り込みました!
何に使うんでしょうねぇ。。。 -
11:36 PM Bug #8302 (Closed): REXML::Text の entity_filter が有効でない
- This issue was solved with changeset r40484.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rexml/text.rb (REXML::Text.normalize): Fix a bug that all
... -
11:00 PM Bug #8301: REXML::Attributes#to_a
- テストを追加して取り込みました!
-
10:56 PM Bug #8301 (Closed): REXML::Attributes#to_a
- This issue was solved with changeset r40482.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rexml/element.rb (REXML::Attributes#to_a): Support
names... -
10:25 PM Feature #8331 (Closed): Update config.guess and config.sub for AArch64 (ARM64)
- ふと cross compile のやり方を知ってしまって、いろいろと試していると、
AArch64 (ARM64) で configure で失敗することに気がつきました。
% ruby -v
ruby 2.1.0dev (2013-04-24 trunk 40443) [x86_64-linux]
% cd
% B=$HOME/b
% mkdir $B
% cd $B
% wget http://buildroot.u... -
08:18 PM Bug #8330 (Rejected): WEBrick::HTTPUtils::parse_query replaces plus (+) with space
- According to RFC1738, the plus character (+) is a reserved character and may be used unencoded within a URL. Webrick however replaces plus signs with spaces, which violates the spec and causes a loss of information. An encoded plus chara...
-
07:26 PM Feature #3289: Division of negative numbers - Given the context, Ruby choice seems right to me. But the real core of the problem is
the minus sign. My father says, that minus simply represents an unfinished operation,
intention to subtract. Citing anonymous Wikipedia contributor:
"... -
05:31 PM Revision 506ee0c1 (git): merge revision(s) 39687,39776,40438: [Backport #8064]
- * io.c (rb_update_max_fd): use ATOMIC_CAS because this function
is used from timer thread too.
* io.c (rb_fd_fix_cloexec): use rb_update_max_fd().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40490... -
05:06 PM Revision f2d84ac8 (git): * configure.in: use quadrigraphs. workaround for autoconf 2.64.
- a patch provided by Hessob Park. [ruby-core:53157] [Backport #8020]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:18 PM Misc #8329 (Rejected): Cannot change \r\n to \n (Windows/DOS to Unix)
- This BTS is not to ask about your bugs, but language specs and implementations.
As for you bug, newline code is already converted by reading in text mode. -
11:32 AM Misc #8329 (Rejected): Cannot change \r\n to \n (Windows/DOS to Unix)
- I want to change all of my ruby files to UTF-8 encoded and Unix format, but after the running of the following program, the files' formats are still Windows/DOS (\r\n) but not Unix (\n). How could I do?
===============================
... -
04:17 PM Bug #8159 (Assigned): Build failure introduced by Rinda changes
-
12:50 AM Bug #8159: Build failure introduced by Rinda changes
- Committed at r40472 to fix test failure. If there are problems, please fix it.
-
12:43 AM Bug #8159 (Closed): Build failure introduced by Rinda changes - This issue was solved with changeset r40472.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
ring.rb: specify multicast interface
* lib/rinda/ring.rb (Rinda:... -
04:15 PM Revision c72e5e70 (git): merge revision(s) 40413,40414,40415,40423: [Backport #8290]
- * string.c (rb_str_inspect): NUL should not be represented as
"\0" when octal digits may follow.
* string.c (rb_str_inspect): NUL should not be represented as "\0"
when octal digits may follow. [ruby-core:54... - 04:14 PM Revision e38b66fc (git): * 2013-04-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:13 PM Revision b22fa276 (git): fix typo (r40195, r40428)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:29 PM Bug #8310: resque-web crashes with segfault on Ruby 2.0.0-p0 only, Resque 1.24.1, Redis 2.6.12
- Can you try this with trunk?
On Apr 22, 2013 5:38 PM, "vaharoni (Amit Aharoni)" <amit.sites@gmail.com>
wrote:
>
> Issue #8310 has been updated by vaharoni (Amit Aharoni).
>
>
> To clarify, after running resque-web, you ... -
02:49 PM Revision a2ac434a (git): merge revision(s) 40476: [Backport #8332]
- * thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION.
This fixes a compilation failure while cross-compiling for ARM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40485 b2dd03c8-39d4-4d8f-98ff... - 02:36 PM Revision 4e44eeae (git): * lib/rexml/text.rb (REXML::Text.normalize): Fix a bug that all
- entity filters are ignored. [ruby-dev:47278] [Bug #8302]
Patch by Ippei Obayashi. Thanks!!!
* test/rexml/test_entity.rb (EntityTester#test_entity_filter): Add
a test of the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
02:32 PM Revision 4a90d9e8 (git): merge revision(s) 40475,40480,40481:
- * lib/rss/atom.rb: Documentation for RSS::Atom based on a patch by
Michael Denomy
* lib/rss/maker.rb: Documentation for RSS::Maker also by @mdenomy
* lib/rss/maker.rb (RSS::Maker): Fix indent of document comme... -
02:08 PM Feature #6367: #same? for Enumerable
- Possible names: #same_by?, #all_equal_by?, #equal_by?, #identical_by?, #uniform_by? I think same_by? looks the most natural.
set_of_words.same_by?(&:length)
numbers.same_by{|number| number % 3 }
card_in_hand.same_by?(&:color) - 01:56 PM Revision 562648e4 (git): * lib/rexml/element.rb (REXML::Attributes#to_a): Support
- namespaced attributes. [ruby-dev:47277] [Bug #8301]
Patch by Ippei Obayashi. Thanks!!!
* test/rexml/test_attributes.rb
(AttributesTester#test_to_a_with_namespaces): Add a test of the
above change.
git-svn-id: svn+ssh://ci.ruby-la... - 12:48 PM Revision b486e504 (git): * lib/rss/atom.rb (RSS::Atom::Entry): Fix indent of document comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:21 PM Revision 2df0d9a1 (git): * lib/rss/maker.rb (RSS::Maker): Fix indent of document comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:42 AM Revision 56e982d4 (git): * ext/socket/extconf.rb: Use a block of enable_config() for
- --{enable,disable}-close-fds-by-recvmsg-with-peek configure option
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:16 AM Revision 847fe27e (git): * dir.c (dir_set_pos): Fix a compilation error when seekdir() is not
- exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:45 AM Revision 6d2662d4 (git): add comments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:43 AM Revision ed9e1f9a (git): * thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION.
- This fixes a compilation failure while cross-compiling for ARM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:35 AM Bug #8299 (Assigned): Minor error in float parsing
- phasis68 (Heesob Park) wrote:
> 2013/4/25 naruse (Yui NARUSE) <naruse@airemix.jp>:
> ...
There's already "strongly recommended VC++ 10 or later".
Note that VC++2003 or later has /fp:precise and it is default
> >
> ...
Your patch ... -
05:36 AM Revision 1eb50046 (git): * lib/rss/atom.rb: Documentation for RSS::Atom based on a patch by
- Michael Denomy
* lib/rss/maker.rb: Documentation for RSS::Maker also by @mdenomy
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:51 AM Revision 66938f38 (git): dd comment about AC_FUNC_SETPGRP.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:43 AM Revision a36cd96c (git): * ext/curses/extconf.rb: Test linkability of curses_version at first.
- * ext/socket/extconf.rb: Test the behavior of fd passing with MSG_PEEK
only if recvmsg(), msg_control member, AF_UNIX and SCM_RIGHTS are
available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40473 b2dd03c8-39d4-4d8f-98ff-82... -
12:19 AM Bug #7856 (Closed): The usage of try_run in extconf.rb is broken when crosscompiling
- I modified ext/socket/extconf.rb (r40464 and r40466)
and ext/curses/extconf.rb (r40468).
I think they don't use try_run while cross compiling after r40468.
04/25/2013
-
09:02 PM Bug #8326: Running Redmine unter Ruby 2.0.0 produces an "Illegal instruction(coredump)" under AIX 7.1
- Also tried it with Redmine 2.2.4 under ruby 1.9.3 p392, with the same results, see dump below:
#> dbx /opt/pware/ruby/1.9.3/bin/ruby core
Type 'help' for help.
[using memory image in core]
reading symbolic information ...
Il... -
09:02 PM Bug #8326: Running Redmine unter Ruby 2.0.0 produces an "Illegal instruction(coredump)" under AIX 7.1
- Same problem occures without redmine plugins and with older ruby version 1.9.3 p392
-
09:02 PM Bug #8326 (Closed): Running Redmine unter Ruby 2.0.0 produces an "Illegal instruction(coredump)" under AIX 7.1
- We compiled Ruby under AIX 7.1 and everthing work fine throughout testing, but when we install Redmine 2.3.0 an go through the normal navigation, we can reproduce the following error by only clicking multiple links consecutively in the a...
-
05:55 PM Bug #7859: Readline: Incorrect arrow key behavior in vi_editing_mode insert mode with Readline 6.2 - I have different, but perhaps related, problems with Readline.vi_editing_mode in Ruby 1.9.3p392 with MacPorts' readline 6.2 on MacOS 10.6.8. Please let me know if I should open a new 1.9.3 bug report instead of commenting here.
Using... -
05:53 PM Bug #8299: Minor error in float parsing
- 2013/4/25 naruse (Yui NARUSE) <naruse@airemix.jp>:
>
> Issue #8299 has been updated by naruse (Yui NARUSE).
>
>
> phasis68 (Heesob Park) wrote:
>> 2013/4/25 naruse (Yui NARUSE) <naruse@airemix.jp>:
>> >
>> > Issue #829... -
05:12 PM Bug #8299: Minor error in float parsing
- phasis68 (Heesob Park) wrote:
> 2013/4/25 naruse (Yui NARUSE) <naruse@airemix.jp>:
> ...
Use newer compiler.
> AMD CPUs prior to Athlon 64, including all Socket A-based CPUs
> ...
Use -mfpmath=sse,387.
As I wrote before, if yo... -
02:53 PM Bug #8299: Minor error in float parsing
- 2013/4/25 naruse (Yui NARUSE) <naruse@airemix.jp>:
>
> Issue #8299 has been updated by naruse (Yui NARUSE).
>
>
> phasis68 (Heesob Park) wrote:
>> 2013/4/25 naruse (Yui NARUSE) <naruse@airemix.jp>:
>> > Therefore use SSE2... -
02:53 PM Bug #8299: Minor error in float parsing
- 2013/4/25 David MacMahon <davidm@astro.berkeley.edu>:
>
> On Apr 24, 2013, at 7:03 PM, Heesob Park wrote:
>
>> 2013/4/25 David MacMahon <davidm@astro.berkeley.edu>
>>>
>>> Nice work tracking this down!
>>>
>>> I don't understand... -
01:53 PM Bug #8299: Minor error in float parsing
- On Apr 24, 2013, at 7:03 PM, Heesob Park wrote:
> 2013/4/25 David MacMahon <davidm@astro.berkeley.edu>
>>
>> Nice work tracking this down!
>>
>> I don't understand how it fixes the compiler specific aspect of the
>> problem yo... -
11:41 AM Bug #8299: Minor error in float parsing
- phasis68 (Heesob Park) wrote:
> 2013/4/25 naruse (Yui NARUSE) <naruse@airemix.jp>:
> ...
double arithmetics with SSE2 is double-precision.
see also gcc's -mfpmath=sse option
http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/i386-and-x86_00... -
11:23 AM Bug #8299: Minor error in float parsing
- 2013/4/25 naruse (Yui NARUSE) <naruse@airemix.jp>:
>
> Issue #8299 has been updated by naruse (Yui NARUSE).
>
>
> phasis68 (Heesob Park) wrote:
>> I found the issue is due to the difference of the floating point precision.
... -
11:23 AM Bug #8299: Minor error in float parsing
- 2013/4/25 David MacMahon <davidm@astro.berkeley.edu>
>
> Nice work tracking this down!
>
> I don't understand how it fixes the compiler specific aspect of the
> problem you found where gcc 4.5.2 on MinGW had the problem but gc... -
06:49 AM Bug #8299: Minor error in float parsing
- phasis68 (Heesob Park) wrote:
> I found the issue is due to the difference of the floating point precision.
> ...
It specify fraction as 53 bit (other IEEE 754 FPU's 52 bit with economized form), but its internal exponent is still 15 b... -
02:23 AM Bug #8299: Minor error in float parsing
- Nice work tracking this down!
I don't understand how it fixes the compiler specific aspect of the problem you found where gcc 4.5.2 on MinGW had the problem but gcc 4.7.2 on MinGW did not. Does gcc 4.7.2 on MinGW already automatical... -
04:02 PM Feature #8217 (Closed): OpenSSL::BN.new with integers
- This issue was solved with changeset r40461.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl_bn.c (ossl_bn_initialize): allow Fixnum and Big... -
03:43 PM Revision 93ed9f08 (git): ring.rb: specify multicast interface
- * lib/rinda/ring.rb (Rinda::RingServer#initialize): accept array
arguments of address to specify multicast interface.
* lib/rinda/ring.rb (Rinda::RingServer#make_socket): add optional
arguments for multicast interface.
* test/rinda... - 03:36 PM Revision 0cfa2e54 (git): * 2013-04-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:36 PM Revision b721c38f (git): ring.rb: add a socket to @sockets in make_socket()
- * lib/rinda/ring.rb (Rinda::RingServer#initialize): add a socket
to @sockets in make_socket() to close sockets on shutdown even if
make_socket() is called after initialize.
* lib/rinda/ring.rb (Rinda::RingServer#make_socket): ditto.... -
03:36 PM Revision e9c8509e (git): test_rinda.rb: Use KILL on Windows
- * test/rinda/test_rinda.rb (TupleSpaceProxyTest#test_take_bug_8215):
use KILL on Windows since TERM doen't work and ruby process remains
after test-all on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40469 b2dd03c8-39d... -
02:27 PM Bug #8103 (Closed): Fix for URI.decode_www_form ArgumentError
- This issue was solved with changeset r40460.
Trent, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/uri/common.rb (URI.decode_www_form): follow current URL St... -
02:17 PM Revision 5e9dc52b (git): * ext/curses/extconf.rb: Implement
- --with-curses-version={function,variable} configure option for
cross-compiling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:03 PM Bug #8312 (Closed): Fix weird performance of Hash#shift - This issue was solved with changeset r40457.
Yura, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* benchmark/bm_hash_shift.rb: add benchmark for Hash#shift
* has... -
01:18 PM Revision 6fd0dac2 (git): merge revision(s) 40455:
- * array.c: Improve rdoc for eql?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:49 PM Bug #8245 (Feedback): Segfault installing gems on Linux PowerPC with Ruby 2.0.0p0
- patch is welcome
-
12:44 PM Feature #8321: Ripper: I would like coordinates for keywords
- Could you illustrate?
-
08:10 AM Feature #8321 (Open): Ripper: I would like coordinates for keywords
- =begin
Ripper gives the (({[line, column]})) coordinates for identifiers, strings, and numbers.
I would like it if it appended those coordinates to most of the block keywords,
including (({:program})), (({:if})), (({:while})), (({:u... -
12:12 PM Feature #8295: Float や Rational から(可能であれば)正確な BigDecimal を生成する機能
- Gist に置いた概念コードでだいたいの考え方を示したつもりなんですが、
BigDecimal に「変換される」側のオブジェクト(たとえばRationalの
インスタンス)が、自分が正確に変換できるかどうか判断するという
設計にするのが綺麗かな、という風に考えました。 -
11:58 AM Feature #8324 (Rejected): Net::Telnet.new のオプション
- Net::Telnet.new はオプションのハッシュのキーとして String だけ受け付けるようになっていますが、 Symbol も受け付けるようにしてほしいです。
-
09:17 AM Revision a0fa43b0 (git): * ext/socket/extconf.rb: Don't use WIDE getaddrinfo by default.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:57 AM Revision 0ff2e1d5 (git): * ext/socket/extconf.rb: Remove obsolete options: ---with-ipv6-lib and
- --with-ipv6-libdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:45 AM Revision 79b80711 (git): * ext/socket/extconf.rb: Implement
- --{enable,disable}-close-fds-by-recvmsg-with-peek configure option
for cross-compiling.
Make --{enable,disable}-wide-getaddrinfo configure option
cross-compiling friendly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40464 ... -
07:57 AM Revision adb49240 (git): ext/openssl/ossl_bn.c: fix implicit conversion
- * ext/openssl/ossl_bn.c (ossl_bn_initialize): fix precision loss by
implicit conversion.
* ext/openssl/ossl_bn.c (ossl_bn_initialize): check Bignum overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40463 b2dd03c8-39d4-4d8f-... -
07:11 AM Revision 91fb5bc8 (git): io.c: conversion from bom encoding
- * io.c (rb_io_ext_int_to_encs, parse_mode_enc): bom-prefixed name is
not a real encoding name, just a fallback. so the proper conversion
should take place even if if the internal encoding is equal to the
bom-prefixed name, unless ... -
07:02 AM Revision 8b29525d (git): * ext/openssl/ossl_bn.c (ossl_bn_initialize): allow Fixnum and Bignum.
- [ruby-core:53986] [Feature #8217]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:27 AM Revision 4a50d447 (git): * lib/uri/common.rb (URI.decode_www_form): follow current URL Standard.
- It gets encoding argument to specify the character encoding.
It now allows loose percent encoded strings, but denies ;-separator.
[ruby-core:53475] [Bug #8103]
* lib/uri/common.rb (URI.decode_www_form): follow current URL Standard.
... -
05:25 AM Revision 5a3fab59 (git): * st.c (st_shift): remove unused variable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:06 AM Revision 10c3c560 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:03 AM Revision 5d7b5481 (git): * benchmark/bm_hash_shift.rb: add benchmark for Hash#shift
- * hash.c (rb_hash_shift): use st_shift if hash is not being iterated to
delete element without iterating the whole hash.
* hash.c (shift_i): remove function
* include/ruby/st.h (st_shift): add st_shift function
* st.c (st_shift): di... -
04:49 AM Bug #8314: Segmentation fault
- Thank you
-
03:03 AM Revision ed33fcae (git): * ext/socket/extconf.rb: Extract C programs as toplevel constants.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:19 AM Bug #8318 (Closed): Fix debug listing when called from the same file the debug module has been required from
- This issue was solved with changeset r40450.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
debug.rb: Fix debug listing
* lib/debug.rb (display_list): Fi...
04/24/2013
- 10:12 PM Revision 017f0ffe (git): * array.c: Improve rdoc for eql?
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:35 PM Bug #8320 (Third Party's Issue): Ruby interpreter crashes when running pcaprub
- Here's the code (taken from examples) that caused the crash:
require 'rubygems'
require 'pcaprub'
capture = PCAPRUB::Pcap.open_live('eth0', 65535, true, 0)
capture.setfilter('icmp')
capture.each do |packet|
puts capture.dump(... -
08:58 PM Feature #8237: Logical method chaining via inferred receiver - rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> So, how the "trying" approach would be implemented?
I overlooked the earlier null pattern discussion here. Apologies. I read Avdi's text months
ago, and I remember Avdi sayin, that null ... -
07:33 PM Feature #8237: Logical method chaining via inferred receiver
- phluid61 (Matthew Kerwin) wrote:
> I find myself drifting more to the -1 side for this feature.
> ...
Apologies for replying to myself, but I've just convinced myself against this whole proposal. In the above code I originally had the... -
05:53 PM Feature #8237: Logical method chaining via inferred receiver
- On 24/04/13 01:10, wardrop (Tom Wardrop) wrote:
>
> Issue #8237 has been updated by wardrop (Tom Wardrop).
>
>
> Law of Demeter is blurry in Ruby. In Ruby, almost everything is a
> method call. Technically, (({5 + 5 + 5})) i... -
12:10 PM Feature #8237: Logical method chaining via inferred receiver
- wardrop (Tom Wardrop) wrote:
> =begin
> ...
I don't like the "last object to receive a method" idea. For one you'd have to refine it to "the last object receive a method in the current scope", possibly with a "but not in the current e... -
09:10 AM Feature #8237: Logical method chaining via inferred receiver
- =begin
Law of Demeter is blurry in Ruby. In Ruby, almost everything is a method call. Technically, (({5 + 5 + 5})) is a violation of the Law of Demeter if it's to be taken literally. The fact that Ruby also uses plain-old methods as acce... -
08:21 PM Feature #8295: Float や Rational から(可能であれば)正確な BigDecimal を生成する機能
- metanest (Makoto Kishimoto) wrote:
> > IEEE754 の環境において BigDecimal(0.1, nil) で何が与えられることを期待していますか?
> ...
なるほど〜。理屈はわかりました。Rational とやり方は同じなので難しくありませんね。
やってみます。 -
08:16 PM Feature #8295 (Assigned): Float や Rational から(可能であれば)正確な BigDecimal を生成する機能
-
06:31 PM Feature #8295: Float や Rational から(可能であれば)正確な BigDecimal を生成する機能
- > IEEE754 の環境において BigDecimal(0.1, nil) で何が与えられることを期待していますか?
```
#=> #<BigDecimal:8011820c8,'0.1000000000 0000000555 1115123125 7827021181 5834045410 15625E0',63(72)>
```
を期待しているのですが、やはりちょっと無茶ですかねぇ。 -
06:24 PM Bug #8313: rubygem 2.0 can't communicate with remote sources http://rubygems.org/
- With wireshark I test and capture all traffic with the http://production.s3.rubygems.org server. The firewalls aren't the problem. All packets send/receive with success. And the last TCP/HTTP exchange send a result "HTTP/1.1 200 OK", siz...
-
04:11 AM Bug #8313: rubygem 2.0 can't communicate with remote sources http://rubygems.org/
- >$ sudo gem list --remote -V --backtrace
Password:
*** REMOTE GEMS ***
GET http://rubygems.org/latest_specs.4.8.gz
302 Moved Temporarily
GET http://production.s3.rubygems.org/latest_specs.4.8.gz
connection reset after 1 request... -
12:21 AM Bug #8313 (Third Party's Issue): rubygem 2.0 can't communicate with remote sources http://rubygems.org/
- I try to use Ruby 2.0 on my MAC OSX Mountain Lion with macports. The "sudo port install ruby2.0" and "sudo port select --set ruby ruby2.0" was success. But when I try to install gem package I have these errors:
>$ sudo gem list -r --deb... -
05:23 PM Revision 2667cb2d (git): configure.in: RUBY_RM_RECURSIVE
- * configure.in (RUBY_RM_RECURSIVE): this hack is needed by only
autoconf 2.69 or earlier on darwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:22 PM Revision 096d5273 (git): tracer.rb: File.readlines
- * lib/tracer.rb (get_line): simply read by File.readlines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:21 PM Revision 181a4ea8 (git): debug.rb: Fix debug listing
- * lib/debug.rb (script_lines): get source lines from SCRIPT_LINES__ or
read from the file.
* lib/debug.rb (display_list): use script_lines instead of recursion.
[Bug #8318]
* lib/debug.rb (line_at): use script_lines same as display_l... - 04:19 PM Revision 7dd8c1f2 (git): * 2013-04-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:19 PM Revision 9e97f6ca (git): debug.rb: Fix debug listing
- * lib/debug.rb (display_list): Fix debug listing when called from the
same file it has been required. patch by Dario Bertini <berdario AT
gmail.com> [Bug #8318] [fix GH-280]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40450 ... -
04:05 PM Bug #8299: Minor error in float parsing
- I found the issue is due to the difference of the floating point precision.
Here is a patch for this issue:
diff --git a/numeric.c b/numeric.c.new
index 97ba104..c548c0f 100644
--- a/numeric.c
+++ b/numeric.c.new... -
03:43 PM Revision 7cc4acd4 (git): merge revision(s) 40441:
- update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:42 PM Revision 917f13a9 (git): merge revision(s) 40440:
- update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:40 PM Revision 02d1ebe3 (git): merge revision(s) 40437:
- * numeric.c: Fix wiki link on Float imprecision in overview, patched
by Makoto Kishimoto [Bug #8304] [ruby-dev:47280]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:40 PM Revision 8a4fa092 (git): merge revision(s) 40435:
- Typo by @windwiny [Fixes GH-295]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:39 PM Revision 072ac9a2 (git): merge revision(s) 40434:
- * string.c: Document String#setbyte return value by @gjmurakami-10gen
[Fixes GH-294]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:38 PM Revision 1914720c (git): merge revision(s) 40431:
- * ext/socket/lib/socket.rb: Doc typos by @vipulnsward [Fixes GH-292]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:58 PM Bug #8316 (Assigned): Can't pass hash to first positional argument; hash interpreted as keyword arguments
-
07:52 AM Bug #8316: Can't pass hash to first positional argument; hash interpreted as keyword arguments
- TylerRick (Tyler Rick) wrote:
> I'm able to pass any other type of object to my first argument:
> ...
Additionally, calling foo({opt:1}) throws ArgumentError: wrong number of arguments (0 for 1)
This issue can be worked around by ca... -
07:44 AM Bug #8316: Can't pass hash to first positional argument; hash interpreted as keyword arguments
- =begin
http://jp.rubyist.net/magazine/?Ruby200SpecialEn-kwarg#f01 said:
Be careful when passing hashes to methods with both variable length argument lists and keyword arguments.
but in this example, the argument list is ((*not*))... -
07:41 AM Bug #8316 (Closed): Can't pass hash to first positional argument; hash interpreted as keyword arguments
- I'm able to pass any other type of object to my first argument:
def foo(hash, opt: true)
puts "hash: #{hash}, opt: #{opt.inspect}"
end
foo 'a' # => hash: a, opt: true
foo [{a:1}] # => hash: [{... -
02:57 PM Bug #8315: mkmf does not include include paths from pkg_config anymore
- ups i assiged it to the wrong nobu, can someone change that?
-
05:51 AM Bug #8315 (Closed): mkmf does not include include paths from pkg_config anymore
- #6504 does that, for cpp files `$CFLAGS` is not used anymore, so the problems are the include paths:
* there is no `$CXXFLAGS` global variable defined
* pkg_config does not add the includes paths to the correct `*FLAGS`
so my ge... -
02:08 PM Bug #8304 (Closed): follow RDP floats_imprecise URL changed (patch)
- This issue was solved with changeset r40437.
Makoto, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* numeric.c: Fix wiki link on Float imprecision in overview, pa... -
01:22 PM Revision 66ad210d (git): describe the reason to check mblen().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:52 PM Revision 4ddce7a6 (git): * configure.in: Check mblen().
- * eval_intern.h (CharNext): Don't use mblen() is not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:50 PM Revision 2265bdfa (git): update doc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:44 PM Bug #8318 (Closed): Fix debug listing when called from the same file the debug module has been required from
- =begin
From ((<GitHub#280|URL:https://github.com/ruby/ruby/pull/280>))
with this minimal ruby code
require 'debug'
puts
when trying to list the code, it'll fail like so:
(rdb:1) l
[-3, 6] in script.rb
No sourcefil... -
12:41 PM Revision 83c10e89 (git): update doc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:40 PM Feature #8317 (Closed): URI: no_proxy with whitespaces and leading dots.
- From [GitHub#285](https://github.com/ruby/ruby/pull/285)
The previous implementation wouldn't allow for white-spaces nor a leading dot
in the `no_proxy` list. The latter is described in the wget documentation as a valid case.
By b... -
08:37 AM Bug #8312: Fix weird performance of Hash#shift
- +1
-
12:21 AM Bug #8312: Fix weird performance of Hash#shift
- Other way to fix: add st_shift method, which shifts first element in one step.
Patch attached.
-
08:16 AM Bug #8314 (Closed): Segmentation fault - Duplicate of #8100. This will be fixed in the next patchlevel of 2.0.0
-
04:56 AM Bug #8314 (Closed): Segmentation fault
- Occasionally happens on Travis CI with 2.0.0p0
By occasionally i mean that same code sometimes works sometimes does not.
Full backtrace here - https://travis-ci.org/espresso/rear/jobs/6530839
Never happens on 1.9x
=====
... -
06:22 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
- I should mention that Exception#backtrace_locations is implemented in JRuby on master (1.7.4) in ruby 2.0 mode. I had not intended to add it before MRI, but it's there. We may remove it before release, but this would give folks a change ...
-
06:19 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- JRuby master (1.7.4) now has a new ext io/try_nonblock that implements just the IO portion of wycats's patch (I did not implement the StringIO and SSLSocket logic).
Numbers for each of the three modes (errnos with backtraces (slow due... -
05:25 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Trying to kick this one forward. I'm going to implement this in JRuby, perhaps via an ext (require 'io/try_nonblock' or something). It will give an opportunity to play with the API in-place using JRuby master builds or JRuby 1.7.4+.
W... -
05:22 AM Revision 498c8763 (git): parse.y: setup_fake_str
- * parse.y (setup_fake_str): extract function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:15 AM Revision 6edde68b (git): * io.c (rb_fd_fix_cloexec): use rb_update_max_fd().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:13 AM Bug #8208: Raise cached exceptions for nonblocking IO to avoid allocation/stack-copying costs
- I'm not sure this is really a CommonRuby feature. It would bend some existing behavior (relevant Errno raised by nonblock would no long have a valid trace, except in debug or verbose mode) but other than that behavior remains largely the...
-
05:08 AM Revision 704abdc3 (git): * numeric.c: Fix wiki link on Float imprecision in overview, patched
- by Makoto Kishimoto [Bug #8304] [ruby-dev:47280]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:04 AM Revision 531329a2 (git): parse.y: disallow $-
- * parse.y (parser_yylex): disallow $- without following identifier
character. [ruby-talk:406969]
* parse.y (is_special_global_name): mere $- is not a valid global
variable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@404... -
05:01 AM Revision c262fda9 (git): Typo by @windwiny [Fixes GH-295]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:55 AM Revision 6dc1ee17 (git): * string.c: Document String#setbyte return value by @gjmurakami-10gen
- [Fixes GH-294]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:51 AM Revision 6500760b (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:47 AM Revision 0b4214ad (git): * class.c: Example of Object#methods by @windwiny [Fixes GH-293]
- * ruby.c: Document return values of Kernel #sub, #gsub, and #chop
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:55 AM Revision 360843ef (git): * ext/socket/lib/socket.rb: Doc typos by @vipulnsward [Fixes GH-292]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:28 AM Revision 00ecebe6 (git): * array.c: Fix documentation for Array#index and #replace aliases
- Based on a patch by @phiggins [Fixes GH-282]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:27 AM Bug #8308: Segmentation fault
- Please find the crash report in this gist.
https://gist.github.com/jaredbeck/5446063#file-ruby_2013-04-22-104237_clover-crash
I have included the Gemfile and Gemfile.lock in the same gist, though I have updated my bundle once since y...
04/23/2013
-
11:45 PM Bug #8312 (Closed): Fix weird performance of Hash#shift
- rb_hash_shift has an optimization for case when #shift is called outside hash iteration.
But in fact it is deoptimization, cause it uses rb_hash_foreach, which initiate safe
iteration, so that deletion is delayed and whole hash travers... -
09:59 PM Feature #8295 (Rejected): Float や Rational から(可能であれば)正確な BigDecimal を生成する機能
- > Rational も分母が 2 と 5 以外の約数を持たない場合
これを実現するパッチはすでに持っていて、精度の問題を解決してから取り込もうと考えていました。
先に入れても良さそうなので、近いうちにマージします。
> ...
IEEE754 の環境において BigDecimal(0.1, nil) で何が与えられることを期待していますか?
> Rationalについては、任意の n 進法 を指定して正確な文字列表現にできる場合には変換するという機... -
09:36 PM Bug #8308 (Feedback): Segmentation fault
- What Gemfile and Gemfile.lock are you using?
-
04:54 PM Bug #8308: Segmentation fault - Could you please attach a crash log?
- 08:29 PM Revision 913f3204 (git): * 2013-04-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:29 PM Revision cd9e93d4 (git): * Typo in defining EWOULDBLOCKWaitReadable on platforms where
- EAGAIN != EWOULDBLOCK.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:47 PM Bug #8309: Editorializing in rexml::ie_hack documentation
- The new text now reads:
# ie_hack::
# This hack inserts a space before the /> on empty tags to address
# a limitation of Internet Explorer. Defaults to false
I suspect that this was an old version of Internet Exp... -
05:41 PM Bug #8309 (Closed): Editorializing in rexml::ie_hack documentation
- This issue was solved with changeset r40420.
Charles, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
lib/rexml/document.rb, lib/rexml/element.rb,
lib/rexml/formatt... -
04:54 PM Bug #8309: Editorializing in rexml::ie_hack documentation
- Don't hold back...
http://www.mikeperham.com/2010/12/08/contributing-to-ruby/
-
04:07 AM Bug #8309 (Closed): Editorializing in rexml::ie_hack documentation
- I noticed some rather shameful editorializing while perusing the official documentation for REXML::Document, specifically in the description of the ie_hack parameter. See here: http://ruby-doc.org/stdlib-1.9.3/libdoc/rexml/rdoc/REXML/Doc...
-
03:22 PM Bug #8306 (Rejected): Bug In OptionParser accepted parsing
- Use placed argument "--a_param [A]".
-
02:32 PM Revision c967493b (git): merge revision(s) 40346: [Backport #8284]
- * vm_method.c (rb_mod_public_method): fix visibility on anonymous
module. set visibility of singleton method, not method in base
class. [ruby-core:54404] [Bug #8284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bran... -
01:51 PM Revision 96de351e (git): merge revision(s) 40419: [Backport #8281]
- * lib/net/imap.rb (getacl_response): parse the mailbox of an ACL
response correctly. [ruby-core:54365] [Bug #8281]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:26 PM Revision 69da79fa (git): merge revision(s) 40418:
- typo s/Singelton/Singleton
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:25 PM Revision 71fba687 (git): merge revision(s) 40411:
- fix minor code comment typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:24 PM Revision a5fadaad (git): * string.c (rb_str_inspect): refix r40413, on Ruby 1.9 usual character
- escape uses hex/Unicode escapes, so fix to use Unicode escape on
Unicode strings and hex on others. [ruby-core:54458] [Bug #8290]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:27 AM Revision bac8fa5f (git): * missing/isnan.c (isnan): Don't define if isnan() macro is defined.
- This fixes a compilation failure on uClibc based Gentoo system.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:19 AM Revision 7194acb6 (git): merge revision(s) 40182,40221: [Backport #8311]
- test_curses.rb: add sentinel
* test/test_curses.rb (TestCurses#run_curses): add sentinel to get rid
of read pty output after the child process terminated, which causes
EIO on Linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
11:15 AM Bug #8299: Minor error in float parsing
- I guess this is a compiler specific issue.
I tested some cases with different compilers with Ruby 1.9.3-p392 on the same machine.
gcc 4.5.2 built version(rubyinstaller version) shows not disired result.
But gcc 4.7.2 and MSVC v16.0 ... -
08:59 AM Feature #8237: Logical method chaining via inferred receiver
- I don't care about Law of Demeter, I only care about how good my code reads. If it reads nice even though it violates LoD, then it's fine. Most of the time my code respects LoD, but that just happens by accident, not because I target it.
-
07:40 AM Feature #8237: Logical method chaining via inferred receiver
- I don't want to detract from the request/discussion too much, but I have a question about whether the Law of Demeter applies to structured data provided by a third party (e.g. a data API). The other day I wrote the following code in a r...
-
06:34 AM Feature #8237: Logical method chaining via inferred receiver
- @enebo I care about the Law of Demeter too and seriously don't like that this encourages ignoring sound practice so freely.
I feel that this 'syntax' exposes Ruby developers and existing software to far more problems than it solves an... -
02:26 AM Feature #8237: Logical method chaining via inferred receiver
- I don't know how many people care about Law of Demeter, but this operator would encourage violating it. Does Ruby want to actively help violate it?
-
08:41 AM Revision e5ce9579 (git): lib/rexml/document.rb, lib/rexml/element.rb,
- lib/rexml/formatters/pretty.rb: remove opinionated
language in documentation. [Bug #8309],
reported by Charles Beckmann
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:38 AM Bug #8310: resque-web crashes with segfault on Ruby 2.0.0-p0 only, Resque 1.24.1, Redis 2.6.12
- To clarify, after running resque-web, you have to wait 1-5 minutes for it to crash. Typically I click on "live-poll" at the bottom-left part of the webpage that opened, though that might be unnecessary.
-
06:26 AM Bug #8310 (Rejected): resque-web crashes with segfault on Ruby 2.0.0-p0 only, Resque 1.24.1, Redis 2.6.12
- To reproduce (assuming redis-server is running on your computer):
$ rvm use 2.0@clean
$ gem install resque
$ gem install redis
$ resque-web -F
This works on 1.9.3.
See crash reports and further details here:
https://github.com... -
05:07 AM Revision 8541ed6d (git): * lib/net/imap.rb (getacl_response): parse the mailbox of an ACL
- response correctly. [ruby-core:54365] [Bug #8281]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:02 AM Revision 3ae96e8c (git): typo s/Singelton/Singleton
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:58 AM Revision 596ca948 (git): string.c: fix for UTF-32
- * string.c (rb_str_scrub): fix for UTF-32. strlen() on strings
contain NUL returns wrong result, use sizeof operator instead.
[ruby-dev:45975] [Feature #6752]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40417 b2dd03c8-39d4-4d... -
02:58 AM Revision eae1366b (git): string.c: suppress warnings
- * string.c (rb_str_scrub): suppress maybe-uninitialized and empty body
in an else-statement. [ruby-dev:45975] [Feature #6752]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:27 AM Revision 0a13d383 (git): * test/ruby/test_module.rb
- (TestModule#test_const_get_invalid_name)
(test_const_defined_invalid_name): Fix expected values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:54 AM Revision 8c5b6ca5 (git): Add references.
- * string.c (rb_str_inspect): NUL should not be represented as "\0"
when octal digits may follow. [ruby-core:54458] [Bug #8290]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:52 AM Revision ade2ba57 (git): * string.c (rb_str_inspect): NUL should not be represented as
- "\0" when octal digits may follow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/22/2013
-
11:53 PM Bug #8299: Minor error in float parsing
- (2013/04/22 12:43), David MacMahon wrote:
> Do Float constants like EPSILON, MIN, and MAX differ between x87 systems and modern FPUs?
On i486-linux,
DBL_EPSILON: 2.22045e-16
DBL_MAX: 1.79769e+308
DBL_MIN: 2.22507e-308
DBL... -
04:05 PM Bug #8299: Minor error in float parsing
- The story on x87 is not precisely as you say. Yes, everything is stored in 80 bits. However, you can set precision as well as rounding mode. If the precision is set to DP, the mantissa is rounded to 53 bits, just like double precision...
-
02:53 PM Bug #8299: Minor error in float parsing
- I wrongly sent previous mail.
2013年4月22日月曜日 David MacMahon davidm@astro.berkeley.edu:
>
> On Apr 21, 2013, at 7:18 PM, naruse (Yui NARUSE) wrote:
>
> > marcandre (Marc-Andre Lafortune) wrote:
> >> For any float f, the ... -
02:23 PM Bug #8299: Minor error in float parsing
- 2013年4月22日月曜日 David MacMahon davidm@astro.berkeley.edu:
>
> On Apr 21, 2013, at 7:18 PM, naruse (Yui NARUSE) wrote:
>
> > marcandre (Marc-Andre Lafortune) wrote:
> >> For any float f, the two following conditions should hol... -
12:53 PM Bug #8299: Minor error in float parsing
- On Apr 21, 2013, at 7:18 PM, naruse (Yui NARUSE) wrote:
> marcandre (Marc-Andre Lafortune) wrote:
>> For any float f, the two following conditions should hold:
>> (1) f.to_s.to_f == f (round trips)
>
> Yeah, unless you tr... -
11:18 AM Bug #8299: Minor error in float parsing
- I wrote this is because of x87.
Did you read it?
marcandre (Marc-Andre Lafortune) wrote:
> naruse (Yui NARUSE) wrote:
> ...
Yeah, unless you transfer the result of to_s to another environment.
> (2) f.to_s.chop.to_f != f (mini... -
01:58 AM Bug #8299: Minor error in float parsing
- Can anyone on [i386-mingw32] report which of the two following is false:
-1.1505945e-05 != -1.1505945000000001e-05
"\xBE\xE8!5\n\x1D\x17A".unpack('G').first.to_s == "-1.1505945e-05"
If the first is false, then parsing is buggy ... -
01:57 AM Bug #8299 (Open): Minor error in float parsing
- naruse (Yui NARUSE) wrote:
> > 1) Float#to_s must be minimal while round-tripping. This is clearly not the case in the given examples.
> ...
Sorry, I do not understand what you said. What I meant to say is ([ruby-core:30145]):
For a... -
11:52 PM Bug #8308 (Rejected): Segmentation fault
- $ be rails s
=> Booting WEBrick
=> Rails 3.2.13 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2013-04-22 10:42:30] INFO WEBrick 1.3.1
[2013-04-22 10:42:30] INFO ... -
09:52 PM Feature #8237: Logical method chaining via inferred receiver - > And the pattern isn't a && a.b && a.b.c, but (a.nil ? nil : (a.b.nil? ? nil : a.b.c)).
class NullObject
def method_missing sym, *a, &b; self end
def to_s; "null" end
end
class Integer # patch it with #b, #c
def b; self + 1 end
... - 07:40 PM Revision 1f4e5348 (git): * 2013-04-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:40 PM Revision 5d85df5d (git): fix minor code comment typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:36 PM Bug #8207 (Closed): Array#delete_if docs can be confusing to beginners
- Thanks for your patch. I applied this patch at r40409.
-
03:06 PM Feature #8269: stdlib: Add Find.each_file to accompany Find.find
- Is there a use-case for each_directory as well?
(Attached patch is only for each_file method, and includes basic tests) - 01:57 PM Revision 4f683e16 (git): * insns.def (opt_mod): Use % operator if both operands are positive for
- a significant performance improvement. Thanks to @samsaffron.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:35 AM Revision e9b63c1a (git): enhanced Array#delete_if docs by johnnymugs
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:09 AM Revision 67b18074 (git): marshal.c: fix marshal_load ivar
- * marshal.c (r_object0): copy all instance variables not only generic
ivars, before calling post proc. [ruby-core:51163] [Bug #7627]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:13 AM Revision 16dc6c29 (git): More tests.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:59 AM Revision 18adfc7d (git): * 2013-04-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:59 AM Revision ca57db4c (git): Specify --disable-gems
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:59 AM Revision f544ca4e (git): * util.c (ruby_hdtoa): revert r29729.
- If you want ruby to behave as before on x86, specify to use SSE like
-msse2 -mfpmath=sse for gcc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:23 AM Bug #8306 (Rejected): Bug In OptionParser accepted parsing
- =begin
program:
require 'optparse'
options = {}
OptionParser.new do |opts|
opts.on("-a", "--a_param A", "A") do |a|
options[:a] = a
end
opts.on("-b", "--b_param B", "B") do |b|
options[:b] = b
...
04/21/2013
-
11:53 PM Bug #8254: Ruby segfaults on second SystemStackError from parser
- charliesome discovered that the reason of this issues is longjmp from
segv handler.
After receiving SIGSEGV, segv handler runs on the altstack.
And returns by *longjmp* ruby's world if it is caused by stack overflow.
https://... -
09:35 PM Bug #8254 (Closed): Ruby segfaults on second SystemStackError from parser - This issue was solved with changeset r40402.
Charlie, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* configure.in: Use sigsetjmp by default so jumping out of sig... -
11:52 PM Bug #8305 (Closed): Segfault on Mac OS X
-
11:52 PM Bug #8305: Segfault on Mac OS X
- It's been fixed at r39727, which is Backport #7999.
Use the latest ruby_2_0_0 branch.
-
01:43 PM Bug #8305 (Closed): Segfault on Mac OS X
- =begin
Running this piece of ((<test|URL:https://github.com/headius/thread_safe/blob/master/test/test_cache_loops.rb>)) segfaults happen on every run.
This behaviour exists in thread_safe gem, use by rails internally.
Crash Repo... -
03:57 PM Bug #8299: Minor error in float parsing
- Student (Nathan Zook) wrote:
> Double calculations are not in themselves platform dependent except in the IEEE-754 boundary cases. These boundaries are extremely narrow, such as half way from min normal to max denormal. If there is a ... -
12:44 PM Bug #8299: Minor error in float parsing
- Double calculations are not in themselves platform dependent except in the IEEE-754 boundary cases. These boundaries are extremely narrow, such as half way from min normal to max denormal. If there is a platform dependence, then the li...
-
10:30 AM Bug #8299 (Rejected): Minor error in float parsing
- marcandre (Marc-Andre Lafortune) wrote:
> Actually, this is a bug.
> ...
If the given value cannot be represented by binary, it won't be minimal while round-tripping.
> 2) Float#to_s must be platform independent
double calculatio... -
07:41 AM Bug #8299 (Open): Minor error in float parsing
- Actually, this is a bug.
1) Float#to_s must be minimal while round-tripping. This is clearly not the case in the given examples.
2) Float#to_s must be platform independent
On OS X, I get the correct string conversion.
$ ruby -v... - 02:23 PM Revision e9679c9a (git): * configure.in: Revert using sigsetjmp by default due to performance
- problems on some systems (eg. older Linux)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:35 PM Revision c032cf6e (git): * configure.in: Use sigsetjmp by default so jumping out of signal
- handlers properly restores the signal mask and SS_ONSTACK flag.
[ruby-core:54175] [Bug #8254]
* configure.in: Manually check for presence of sigsetjmp. It is not a
function on some systems, so AC_CHECK_FUNCS cannot be used.
git-svn... -
10:12 AM Bug #8304 (Closed): follow RDP floats_imprecise URL changed (patch)
- Floatのドキュメントの参考先URLの移動に追随(see patch)
-
10:04 AM Revision 595825dc (git): Replace use of obsolete variable `last-command-char` by @maser [fix GH-290]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e