Activity
From 09/14/2011 to 09/20/2011
09/20/2011
-
11:53 PM Bug #5343: Unexpected blocking behavior when interrupt Socket#accept
- (2011/09/20 2:22), Tomoyuki Chikanaga wrote:
>
> Issue #5343 has been updated by Tomoyuki Chikanaga.
>
>
> Hi,
>
> I've found that this issue is not specific problem of TCPServer#accept.
>
> The following script a... -
07:14 PM Bug #5343 (Assigned): Unexpected blocking behavior when interrupt Socket#accept
- Aghh. This is regression since 1.9.3.
-
06:22 PM Bug #5343: Unexpected blocking behavior when interrupt Socket#accept
- Hi,
I've found that this issue is not specific problem of TCPServer#accept.
The following script also rarely blocks forever.
require "thread"
queue = Queue.new
r, w = IO.pipe
th = Thread.start {
queue.push(nil)
r.read... -
02:48 PM Bug #5343 (Closed): Unexpected blocking behavior when interrupt Socket#accept
- In CentOS release 5.6 (Kernel: 2.6.18-238.12.1.el5, glibc 2.5),
the following sample script rarely (about once every 1000) blocks at Thread#join with 1.9.3-head.
require "socket"
require "thread"
queue = Queue.new
th = Thread.... -
06:40 PM Bug #5340 (Feedback): mysql2.bundle: [BUG] Segmentation fault
-
09:23 AM Bug #5340: mysql2.bundle: [BUG] Segmentation fault
- da Bee <[email protected]> wrote:
> HQ:simple_cms rich$ rails g controller demo index
> /Users/rich/.rvm/gems/ruby-1.9.2-p290/gems/mysql2-0.3.7/lib/mysql2/mysql2.bundle: [BUG] Segmentation fault
> ruby 1.9.2p290 (2011-07-09 re... -
01:09 AM Bug #5340 (Rejected): mysql2.bundle: [BUG] Segmentation fault
- HQ:simple_cms rich$ rails g controller demo index
/Users/rich/.rvm/gems/ruby-1.9.2-p290/gems/mysql2-0.3.7/lib/mysql2/mysql2.bundle: [BUG] Segmentation fault
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin10.8.0]
-- control... -
06:34 PM Bug #5305: YAML::DBM#update、#replace のコメントの間違いを修正する
- I think, YAML::DBM#update be able to rewrite without #keys.
--- lib/yaml/dbm.rb
+++ lib/yaml/dbm.rb
@@ -185,8 +185,8 @@ class DBM < ::DBM
#
# Returns +self+.
def update( hsh )
- hsh.keys.each do |k|
- ... -
05:59 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- 2011/9/17 Masahiro TANAKA <[email protected]>:
> I have not been watching ruby-core, but let me give a comment for this issue.
> I proposed Numeric#step algorithm for Float in [ruby-dev:20177],
> but that was only for the in... -
05:53 PM Bug #5333: Coverage library giving wrong results
- Hello, sorry for late reply. I had a short trip.
2011/9/17 Christoph Olszowka <[email protected]>:
> I'm the author of the simplecov gem, a wrapper on top of the Coverage library.
Thank you for the useful gem! simpleco... -
05:02 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Motohiro KOSAKI wrote:
> > Actually I am building Ruby 1.9.3 from SRPM [1] in mock, i.e. using Koji [2]. Here [3] you can see the build output and the build failures (note that the output slightly differs, since the test are not stable ... -
03:04 PM Revision e0d1292e (git): merge revision(s) r33303:
- ------------------------------------------------------------------------
r33303 | naruse | 2011-09-20 21:16:08 +0900 (Tue, 20 Sep 2011) | 3 lines
Avoid cfp consistency error by LLVM.
volatile is not enough.
----------------------------... -
12:16 PM Revision 192292af (git): Avoid cfp consistency error by LLVM.
- volatile is not enough.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:09 AM Revision f9576738 (git): * vm_insnhelper.c (vm_get_cvar_base): reduce duplicated checks and
- move a warning outside the loop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:35 AM Feature #5341: Add SSL session reuse to Net::HTTP
- The original patch has unrelated changes.
-
06:55 AM Feature #5341 (Closed): Add SSL session reuse to Net::HTTP
- SSL session reuse allows reconnection to an HTTPS server to avoid an SSL handshake which avoids extra computations and network round-trips and increases the performance of SSL connections.
-
07:18 AM Revision 3a902c4d (git): Skip patented algorithms: IDEA and RC5 on NetBSD.
- On NetBSD, if it uses patented algorithms without explicit option,
openssl will abort.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:23 AM Revision c7b58831 (git): Explicitly close the tcp connection.
- Without this, the connection will be alive without GC after exit
the block and the test will fail as "TCPServer was closed and SSLServer
is still alive" on 64bit Unix: at least CentOS, Ubuntu, and FreeBSD.
git-svn-id: svn+ssh://ci.ruby-... -
01:02 AM Bug #5339 (Closed): ERB generates extra newlines on Windows
- Steps to reproduce:
(1) Create files from this gist: https://gist.github.com/1226780.
(2) Run `ruby erbug.rb`.
(3) If you're on windows, you'll see something like
* 1
* 2
* 3
Otherwise, it will be like this:
* 1
...
09/19/2011
-
07:34 PM Feature #5337 (Closed): Use outbufs in FileUtils.compare_stream
- This issue was solved with changeset r33297.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/fileutils.rb (module FileUtils): improve performance of
... -
06:01 PM Feature #5337 (Closed): Use outbufs in FileUtils.compare_stream
- =begin
I propose using outbufs in FileUtils.compare_stream.
It will increase performance.
I executed the following code to performance test.
require 'fileutils'
require "stringio"
str = "hoge" * 100000000
a = StringI... - 06:30 PM Revision 35c065ae (git): * 2011-09-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:30 PM Revision fbf4c1d2 (git): OepnSSL supports TLS extension from 0.9.8f.
- http://www.openssl.org/news/changelog.html
Reported by Eric Wong. [ruby-core:39617] [Bug #4961]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:35 PM Bug #5336 (Closed): [PATCH] test_ssl_session: wait for callbacks to run in server thread
- test/openssl/test_ssl_session.rb: wait for callbacks to run in server thread
Closing the SSL connection on the client side does not ensure the
server side has closed and called all the needed callbacks in
the server thread. Using T... -
03:33 PM Bug #4961: [ext/openssl] SSLSession#initialize fails with OpenSSL 0.9.7
- I'm getting the following error on CentOS 5.6, perhaps the version check needs
to be bumped? I am using: OpenSSL 0.9.8e-rhel5 01 Jul 2008
1) Error:
test_session_exts_read(OpenSSL::TestSSLSession):
ArgumentError: unknown type: expe... -
10:34 AM Revision 6ec841b2 (git): * lib/fileutils.rb (module FileUtils): improve performance of
- FileUtils.compare_stream. a patch by Masaki Matsushita.
[Feature #5337] [ruby-core:39622]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:47 AM Revision d4db53a0 (git): * test/-ext-/old_thread_select/test_old_thread_select.rb:
- select() with timeout may return early in old Linux kernels
with 250 Hz tickrate and no dynticks, so skip everything older
than 2.6.32 (which has long term support).
And, Make the timing assertions consistently use assert_operator ... -
07:54 AM Bug #5274 (Closed): [ruby-dev:44460] Class の clone と Class の生成を組み合わせたときのバグ
- This issue was solved with changeset r33292.
Kenta, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c (rb_obj_clone): singleton class should be attached
... -
12:32 AM Revision cb5f093e (git): Hide Makefile and extconf.rb
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:28 AM Revision 7c371d46 (git): * test/openssl/test_ssl.rb (class OpenSSL): Test
- OpenSSL::SSL::SSLSocket#session and #session=.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/18/2011
-
11:25 PM Bug #5334 (Closed): Segmentation fault in InternetExplorer IServiceProvider interface
- The following code causes a segmentation fault in Ruby 1.9.2:
require 'win32ole'
browser = WIN32OLE.new("InternetExplorer.Application")
provider = browser.ole_query_interface("{6D5140C1-7436-11CE-8034-00AA006009FA}")
provider.ole_o... - 10:54 PM Revision 3b17a1d0 (git): * 2011-09-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:54 PM Revision 125b62e7 (git): * object.c (rb_obj_clone): singleton class should be attached
- singleton object to. a patch by Satoshi Shiba <shiba AT rvm.jp>
at [ruby-dev:44460]. [Bug #5274]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:16 PM Feature #5310: Integral objects
- @Brian, if i understood correctly, the proposal is intending to fix the problem that Float and BigDecimal should not respond to #to_int, and in some other cases #to_int should raise an Error on some inputs.
Sorry, this sounds like a tau... -
07:07 PM Feature #5310: Integral objects
- Hello, i also do not understand very well the issue.
Am i right that it has to do with the difference between #to_int and #to_i methods, similar to the difference between #to_ary and #to_a methods?
Do i understand correctly that #to_a i... -
06:53 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- On 17 September 2011 07:05, Yusuke ENDOH <[email protected]> wrote:
> Hello,
>
> 2011/9/17 Tanaka Akira <[email protected]>:
>> But in the following script, which changes "a...b" to "a..b" from the above
>> script, the result length doesn'... -
08:29 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- 2011/9/17 Yusuke ENDOH <[email protected]>:
> Maybe this "consideration" causes the following behavior:
>
> p (1.0..12.7).step(1.3).all? {|n| n <= 12.7 } #=> false
> p (1.0..12.7).step(1.3).to_a
> #=> [1.0, 2.3, 3.6, 4.9...
09/17/2011
-
11:58 PM Bug #5333 (Third Party's Issue): Coverage library giving wrong results
- I'm the author of the simplecov gem, a wrapper on top of the Coverage library. You can find it on Github at https://github.com/colszowka/simplecov
I keep getting reports from users that code they have cleary tested is not reported as ... -
07:23 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- I have not been watching ruby-core, but let me give a comment for this issue.
I proposed Numeric#step algorithm for Float in [ruby-dev:20177],
but that was only for the include_end-case.
> (1...6.3).step.to_a # => [1.0, 2.0, 3.0, 4.0, ... -
06:29 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- (2011/09/17 16:14), Yusuke ENDOH wrote:
> Hello,
>
> 2011/9/17 NARUSE, Yui <[email protected]>:
>> In my current understanding, the error is
>> fabs(beg) * epsilon + fabs(unit) * epsilon * n + fabs(end) * epsilon
>> = (fabs... -
04:23 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- Hello,
2011/9/17 NARUSE, Yui <[email protected]>:
> In my current understanding, the error is
> fabs(beg) * epsilon + fabs(unit) * epsilon * n + fabs(end) * epsilon
> = (fabs(beg) + fabs(end) + fabs(end-beg)) * epsilon
> //... -
04:23 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- 2011/9/17 Yusuke ENDOH <[email protected]>:
> Maybe this "consideration" causes the following behavior:
>
> p (1.0..12.7).step(1.3).all? {|n| n <= 12.7 } #=> false
> p (1.0..12.7).step(1.3).to_a
> #=> [1.0, 2.3, 3.6, 4.9... -
03:59 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- (2011/09/17 9:07), Tanaka Akira wrote:
> So my understanding of this problem is that no one implemented
> proper exclude_end support with well considered float errors, yet.
In my current understanding, the error is
fabs(beg) ... -
02:23 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- Hello,
2011/9/17 Tanaka Akira <[email protected]>:
> But in the following script, which changes "a...b" to "a..b" from the above
> script, the result length doesn't vary.
>
> % ./ruby -e '
> h -
09:23 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- 2011/9/17 Tanaka Akira <[email protected]>:
>
> I don't think the patch is a appropriate fix for this problem.
>
> The test, "n*unit+beg < end", is fragile.
I made a sample script to show the fragileness on x86_64 to explain
t... -
07:29 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- 2011/9/17 Marc-Andre Lafortune <[email protected]>:
>
> I'd like to thank Vit Ondruch and Aleš Mareček for pointing out this issue, investigating it and providing insight as to how to fix it.
>
> I am sorry that this problem h... -
01:10 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- I'd like to thank Vit Ondruch and Aleš Mareček for pointing out this issue, investigating it and providing insight as to how to fix it.
I am sorry that this problem has not been fixed yet. I completely agree that this is a bug and tha... -
12:42 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- Marc-Andre Lafortune wrote:
> On Tue, Sep 13, 2011 at 9:13 AM, Shyouhei Urabe <[email protected]> wrote:
> ...
I'm pretty sure Matz wasn't interested in the current implementation. He always says what he wants i.e. his statements... -
12:05 AM Bug #4576 (Open): Range#step miss the last value, if end-exclusive and has float number
- Hi,
Michal Suchanek wrote:
> == is meaningless with floats.
> ...
If `foo != bar`, it doesn't tell you all that much about `foo` and `bar`, as they could differ by a lot, or possibly by very little due to a calculation rounding.
... -
02:34 PM Revision c4d77cb4 (git): * parse.y (parser_data_type): inherit the core type in ripper so
- that checks in core would work. [ruby-core:39591] [Bug #5331]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:21 PM Revision b4519b3b (git): * 2011-09-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:21 PM Revision 3be8a6a9 (git): * vm.c (rb_vm_make_env_object, rb_vm_get_sourceline): export as a
- workaround for ruby-debug19 for the time being.
[ruby-core:38972] [Bug #5193]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:23 PM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
- Hi,
(11/09/16 18:44), Charlie Savage wrote:
> But instead of discussing that here, should a new ticket be opened for a creating an official debugger api for 1.9.4?
I (and maybe nobu) will try them. Actually, I've needed to ... -
10:44 AM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
- > So we had requested the API proposal and its use cases
> ...
First, is there anything else we need to do for ruby 1.9.3? The current status is that both ruby-debug-base19 and ruby-debug-base19x (JetBrain's fork) both compile now. ru... - 03:51 AM Revision 19c312af (git): * 2011-09-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:49 AM Revision d52be39f (git): * lib/find.rb (Find.find): add documentation that Find.find
- without block returns an enumerator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/16/2011
-
11:53 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- On 16 September 2011 16:18, Yusuke ENDOH <[email protected]> wrote:
> Hello,
>
> 2011/9/16 Michal Suchanek <[email protected]>:
>> == is meaningless with floats.
>
> I guess it is not essential for the problem Marc-Andre says.
> W... -
11:23 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- Hello,
2011/9/16 Michal Suchanek <[email protected]>:
> == is meaningless with floats.
I guess it is not essential for the problem Marc-Andre says.
We can read it as follows without ==:
(foo...bar).step(baz).all? ... -
11:23 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- 2011/9/16 Michal Suchanek <[email protected]>:
> == is meaningless with floats.
>
> The previous issue ( the value before the excluded end of the range
> not being reached) was most likely the result of guarding against
>... -
11:23 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- On 16 September 2011 15:49, Tanaka Akira <[email protected]> wrote:
> 2011/9/16 Marc-Andre Lafortune <[email protected]>:
>
>> Yes, floats can be complicated. No I wouldn't recommend to anyone to play with tight limits with floats. ... -
10:53 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- 2011/9/16 Marc-Andre Lafortune <[email protected]>:
> Yes, floats can be complicated. No I wouldn't recommend to anyone to play with tight limits with floats. But here, it is simply not acceptable that `(foo...bar).step(baz).to... -
05:53 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- Hello,
In message "[ruby-core:39580] [Ruby 1.9 - Bug #4576] Range#step miss the last value, if end-exclusive and has float number"
on Sep.16,2011 17:04:46, <[email protected]> wrote:
> (2) specify -ffloat-store or similar o... -
05:04 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- For people who get this issue, I describe additional comment,
CRuby doesn't specify its internal calculation of floatin point numbers, and ISO C also not.
This issue is by x87 FPU's internal calculation behavior.
x87 always calcul... -
04:23 PM
Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- PS: I should have modified the commit message to say that this fixes
the problem for i386 (not amd64, I misread Michal's message)
On Fri, Sep 16, 2011 at 2:45 AM, Marc-Andre Lafortune
<[email protected]> wrot... -
04:18 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- Marc-Andre Lafortune wrote:
> I re-committed as r33285 because
> ...
Such style doesn't get consensus over the thread [ruby-core:39260].
> Before reverting a commit, please give an example of a problem it can
> ...
See following ... -
03:53 PM
Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- I re-committed as r33285 because
* Ruby should not keep it platform dependent with default compile
flags [ruby-core:39566], [ruby-core:28212]
* this commit has corresponding test [rubyspec:a9525edcd]
Before reverting a commit... -
03:53 PM
Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- Hi,
On Thu, Sep 15, 2011 at 8:57 PM, Kenta Murata <[email protected]> wrote:
> I cannot find tests for the commit r33282. Please tell me where the tests are.
> If you write the tests in RubySpec, please describe the commit hash... -
10:23 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- 2011/9/16 Kenta Murata <[email protected]>:
> On Friday, September 16, 2011 at 02:14 , Marc-Andre Lafortune wrote:
>> The patch has been committed as r33282
>
> I cannot find tests for the commit r33282. Please tell me where the tes... -
09:59 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- Hi,
On Friday, September 16, 2011 at 02:14 , Marc-Andre Lafortune wrote:
> The patch has been committed as r33282
I cannot find tests for the commit r33282. Please tell me where the tests are.
If you write the tests in... -
02:14 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- Hi,
In this long thread, I could not find a single argument against the (3-line) patch.
Does the patch cause a problem? No
Does the patch fix a platform inconsistency? Yes
The patch has been committed as r33282
The questio... -
03:28 PM Bug #5273: Float#round returns the wrong floats for higher precision
- Yui NARUSE wrote:
> I can't your English of this line, I think you are saying you can't understand [ruby-core:39443].
No, I understood what you are saying. I meant the tour argument is not valid justification for the current behavior... -
02:50 PM Bug #5273 (Assigned): Float#round returns the wrong floats for higher precision
- Marc-Andre Lafortune wrote:
> I'm not sure, are you trying to be rude or irritating by rejecting for a second time this issue in this way?
> ...
Ah sorry, I intended to close this ticket without comment.
"r33186" is wrong comment.
(t... -
02:13 AM Bug #5273 (Open): Float#round returns the wrong floats for higher precision
- On Mon, Sep 12, 2011 at 8:30 PM, Yui NARUSE <[email protected]> wrote:
> Issue #5273 has been updated by Yui NARUSE.
> ...
I'm not sure, are you trying to be rude or irritating by rejecting for a second time this issue in this way?
... -
02:43 PM Bug #5330 (Rejected): Bug Report: wrong backtrace
- =begin
I would like to report a ruby1.9 bug. I tried to create a new ticket in redmine. After registration(wonderix) I tried to login, but I didn't succeed. After 4 password resets I gave up.
So here is my description:
a.rb:
te... -
01:53 PM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
- Hi,
At Fri, 16 Sep 2011 11:32:04 +0900,
Charlie Savage wrote in [ruby-core:39570]:
> > No, it keeps thread objects. But I'm not sure if allowing
> > GC is necessary. Seems a thread object will be removed
> > from the table ... -
11:32 AM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
- > No, it keeps thread objects. But I'm not sure if allowing
> ...
Since I don't know the code, I don't the answer. Mark would be best to answer that.
> I'm uncertain of "the need". You mean that you won't
> ...
Yes. To compile rub... -
10:23 AM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
- Hi,
At Fri, 16 Sep 2011 02:03:39 +0900,
Charlie Savage wrote in [ruby-core:39564]:
> > The reason for _id2ref is that threads are stored in
> > debug contexts as object IDs, and reversed when accessing
> > with checking if ... -
02:03 AM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
- Thanks Nobu for looking at this.
> The reason for _id2ref is that threads are stored in
> ...
Could this be to avoid holding a reference to a thread object, and thus not allowing it to be GCed?
> Current state is https://github.co... -
07:09 AM Revision 8ccd05c9 (git): Revert "* numeric.c (ruby_float_step): Avoid error on i386 and amd64."
- This reverts commit r33285 because of the message of r33284.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:44 AM Revision fd47fed2 (git): * numeric.c (ruby_float_step): Avoid error on i386 and amd64.
- Patch by Vit Ondruch. Issue #4576 [rubyspec:a9525edcd]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:12 AM Revision 23d47216 (git): Revert "* numeric.c (ruby_float_step): Avoid error on i386 and amd64."
- r33282 challenged the precision of floating point but:
* Ruby keeps it as platform dependent
* amd64 won't get this issue because compilers for amd64 uses SSE2 to
calculate floating point numbers instead of x87 FPU.
* this change won't...
09/15/2011
- 05:13 PM Revision f6b16290 (git): * 2011-09-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:13 PM Revision 22420b14 (git): * numeric.c (ruby_float_step): Avoid error on i386 and amd64.
- Patch by Vit Ondruch. Issue #4576.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:08 PM Revision f6316e23 (git): * NEWS: cosmetic changes.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:36 PM Revision f80196ed (git): * 2011-09-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:35 PM Revision 24addf1f (git): Revert r33276.
- These changes are not the cause of Windows test failures.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:29 PM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
- Hi,
At Wed, 14 Sep 2011 10:36:09 +0900,
Motohiro KOSAKI wrote in [ruby-core:39536]:
> Symbol exposing doesn't have any regression risk. So, it can
> be commited into 193 if nobu agreed. But, I strongly hope to
> add explicitly di... -
03:26 PM Bug #5328 (Rejected): Splat args are treated wrongly in instance_exec and class_exec
- This gist demonstrates the issue:
https://gist.github.com/1218664
On 1.8.7, instance_exec and class_exec treat splat block args the same as method splat args. On 1.9, it is treated differently and this is very unexpected. -
02:05 PM Revision c3ae81e1 (git): Revert indentation improvement.
- r31061, r31065, r31076, r31308.
Because of half baked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:00 PM Revision 21e5a1da (git): * 2011-09-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:00 PM Revision 80710d42 (git): Revert r32944 and r33092.
- Those commits break tests on Windows and no response.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:24 AM Revision 6ca73ab9 (git): * iseq.c (get_line_info, rb_iseq_line_no): fix indent.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:53 AM Feature #5310: Integral objects
- Hi Matz,
On Wed, Sep 14, 2011 at 1:31 AM, Yukihiro Matsumoto <[email protected]> wrote:
> Hi,
>
> I strongly disagree to use to_int (currently working for integer
> conversion) as integral conversion. Â Note that I don't disagre... -
02:40 AM Revision 7db23668 (git): * vm.c (rb_vm_get_sourceline): fix indent.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:39 AM Revision 89e490f1 (git): * gc.c (mark_entry, mark_key, mark_keyvalue): adjust callback
- argument types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:37 AM Bug #5326 (Rejected): goruby build failed @ ruby_1_9_3
-
12:36 AM Bug #5327 (Rejected): goruby build failed @ trunk
-
12:00 AM Bug #5327 (Rejected): goruby build failed @ trunk
- $ make goruby
cc goruby.c -o goruby
In file included from goruby.c:3:
main.c:13:18: error: ruby.h: No such file or directory
In file included from debug.h:16,
from main.c:14,
from goruby.c:3:...
09/14/2011
-
11:56 PM Bug #5326 (Rejected): goruby build failed @ ruby_1_9_3
- $ make goruby
compiling goruby.c
gcc -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorte... -
10:44 PM Bug #5324 (Closed): Bug in CreateChild in win32.c
- Revision 31811 by yugui (http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=31811) which was merged from the trunk contains a bug. It should be lstrlen instead of lstrlenW as its a char* not a wchar_t*. This has caused us...
-
10:39 PM Bug #5323 (Closed): Bug in CreateChild in win32.c
- Revision 31811 by yugui (http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=31811) which was merged from the trunk contains a bug. It should be lstrlen instead of lstrlenW as its a char* not a wchar_t*. This has caused us...
-
10:23 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- On 13 September 2011 17:19, Yusuke ENDOH <[email protected]> wrote:
> Hello,
>
> 2011/9/13 Vit Ondruch <[email protected]>:
>> Please first see the commit [1] and then tell me why the original test case should fail? Actually it fail... -
01:02 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- Alers, what version of ruby do you use?
1.9.2p290, 1.9.3-preview1, and 1.9.4dev works well:
$ ruby-1.9-head -ve 'p (1...64.quo(10)).step(18.quo(10)).to_a'
ruby 1.9.4dev (2011-09-06 trunk 33199) [x86_64-darwin11.1.0]
[1, (14/5), (... -
12:48 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- Hi Kenta, thanks for the hint.
The bug is about "three-dotted" range, not "double-dotted". Test with Bigdecimal works, with "quo" does NOT, with "quo" using rational lib does.
$ ruby -rbigdecimal -e 'p (BigDecimal("1.0")...BigDecimal("... -
12:23 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- Hello,
2011/9/13 Vit Ondruch <[email protected]>:
> Please first see the commit [1] and then tell me why the original test case should fail? Actually it fails on i386 and succeeds on x86_64 which is a bit suspicious. So I dig a b... -
12:03 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- Also, you can use Rational:
ruby-1.9-head -ve 'p (1 .. 68.quo(10)).step(19.quo(10)).to_a'
ruby 1.9.4dev (2011-09-06 trunk 33199) [x86_64-darwin11.1.0]
[1, (29/10), (24/5), (67/10)]
-e:1: warning: (...) interpreted as grouped expres... -
12:01 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- Hi,
you can use BigDecimal as following:
ruby-1.9-head -rbigdecimal -ve 'p (BigDecimal("1.0")..BigDecimal("6.8")).step(BigDecimal("1.9")).to_a'
ruby 1.9.4dev (2011-09-06 trunk 33199) [x86_64-darwin11.1.0]
-e:1: warning: (...) int... -
07:14 PM Bug #5322 (Closed): URI.decode_www_form_component very slow with certain inputs
-
06:19 PM Bug #5322: URI.decode_www_form_component very slow with certain inputs
- Looks like a duplicate of #5149 to me...
-
06:10 PM Bug #5322 (Closed): URI.decode_www_form_component very slow with certain inputs
- When calling the following I get what I'd expect. An error.
URI.decode_www_form_component("aaaaaaaaaaaaaaaaaaaa%")
Here's the IRB output:
ruby-1.9.2-p290 :003 > URI.decode_www_form_component("aaaaaaaaaaaaaaaaaaaa%")
Argument... -
05:53 PM Bug #1792: Fixnum#& 等が、Rational などを受けつける
- Hi,
In message "Re: [ruby-core:39540] [Ruby 1.9 - Bug #1792][Open] Fixnum#& 等が、Rational などを受けつける"
on Wed, 14 Sep 2011 13:28:57 +0900, Kenta Murata <[email protected]> writes:
|I reopen this ticket because I rethink [ruby... -
01:28 PM Bug #1792 (Open): Fixnum#& 等が、Rational などを受けつける
- I reopen this ticket because I rethink [ruby-core:39491] is bug.
But, unfortunately, I don't know how to fix this.
Using to_int cannot fix the original problem.
May Numeric#coerce is used for bitwise operation?
-
05:53 PM Feature #5310: Integral objects
- Hi,
I strongly disagree to use to_int (currently working for integer
conversion) as integral conversion. Note that I don't disagree (yet)
to introduce concept of integrals to Ruby in the future. But
recycling name is not id... -
10:53 AM Feature #5310: Integral objects
- On Tue, Sep 13, 2011 at 5:18 PM, Kenta Murata <[email protected]> wrote:
> Hi,
>
> On Wednesday, September 14, 2011 at 06:23 , brian ford wrote:
>> There is some inconsistency between your proposal and what has been implemented:... -
09:23 AM Feature #5310: Integral objects
- Hi,
On Wednesday, September 14, 2011 at 06:23 , brian ford wrote:
> There is some inconsistency between your proposal and what has been implemented:
We can change the implementation according to the proposal if accepted.
... -
06:29 AM Feature #5310: Integral objects
- Hi,
On Mon, Sep 12, 2011 at 7:30 PM, Kenta Murata <[email protected]> wrote:
> Â I believe you are misreading of the topic.
There is some inconsistency between your proposal and what has been implemented:
# integral.rb
class ... - 05:25 PM Revision 762e4c0c (git): * 2011-09-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:25 PM Revision 2fecb27e (git): Merge branch 'tk_utf8' into trunk
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:20 PM Feature #5321 (Rejected): Introducing Numeric#exact? and Numeric#inexact?
- Ruby has several numeric classes such as Integer.
These classes are classified whether their instances represent numbers exactly.
According to this, Integer and Rational are exact, and Float and BigDecimal are inexact because they're a... -
12:23 PM Bug #5306: Application Hangs Due to Recent rb_thread_select Changes
- 2011/9/13 Eric Wong <[email protected]>:
> Motohiro KOSAKI <[email protected]> wrote:
>> File old_thread_select.patch added
>>
>> > static void
>> > rb_fd_rcopy(fd_set *dst, rb_fdset_t *src)
>> > {
>> > Â Â size_t size -
12:23 PM Bug #5306: Application Hangs Due to Recent rb_thread_select Changes
- > BTW, I've checked kosaki-san's patch with x64-mswin64.
> No problem was reported in test.
>
> P.S.
> kosaki-san, I want to add a guard to your patch.
>
> --- thread.c.bak     2011-09-13 03:40:05.948172400 +0900
> +++ thr... -
10:36 AM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
- At first, I have to put a disclaimer. The following comment is only my personal opinion, but not commiters consensus.
Symbol exposing doesn't have any regression risk. So, it can be commited into 193 if nobu agreed. But, I strongly ho... -
08:25 AM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
- Bringing this one up again - can we get resolution for the 1.9.3 release?
Thanks - Charlie -
09:33 AM Bug #5317: rubyのヘッダファイルを使った拡張を行う際にoff_tの宣言回避をする事が出来ない。
- > システムに _off_t があったら、__int64 ではなく _off_t を使うようにすればいいんですかね。
> ...
そうですね。
もしくはconfig.hのSIZEOF_OFF_T宣言を無効化出来るとか。
#ifndef SIZEOF_OFF_T
#define SIZEOF_OFF_T 8
#endif
まぁoff_tに限った話でもなさそうですが。
-
06:25 AM Bug #5317: rubyのヘッダファイルを使った拡張を行う際にoff_tの宣言回避をする事が出来ない。
- システムに _off_t があったら、__int64 ではなく _off_t を使うようにすればいいんですかね。
いや、_off64_t か? -
12:58 AM Bug #5317: rubyのヘッダファイルを使った拡張を行う際にoff_tの宣言回避をする事が出来ない。
- vimのpatchとしてはそうしました。
https://groups.google.com/d/topic/vim_dev/VM_AgsF1_K4/discussion
ただ、あまりお作法が良いとは思えませんでした。
出来ればどのプロジェクトでも
#undef off_t
しなくても良い形がのぞましいと思ってます的な意味でfeature requestです。:)
-
06:04 AM Revision d6693a42 (git): Fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:40 AM Revision 9151ed22 (git): * configure.in: do not use gcc-4.2 as the default compiler.
- * NEWS: describe the issue about Xcode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:46 AM Revision fe3306bf (git): merge revision(s) 33266:
- * thread.c (rb_fd_rcopy): added an argument guard.
Patch by NAKAMURA Usaku. [Bug #5306] [ruby-core:39435]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:45 AM Revision 9da539cc (git): * 2011-09-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:44 AM Revision d24e1dac (git): * thread.c (rb_fd_rcopy): added an argument guard.
- Patch by NAKAMURA Usaku. [Bug #5306] [ruby-core:39435]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:54 AM Feature #5315: config.hからコンパイラのバージョンチェックを外して欲しい
- 残念ながら筋の良いガードの仕方はないです。このあたりはWindowsのDLLの問題ですね。
それでもあえて言えばRubyがランタイムライブラリの生成するオブジェクトを、
I/Fを通じて外と直接やりとりする設計になってるのも筋は良くないね、とは指摘しておきます。
もちろんそんなことでI/Fを変えるのがコストに見合わないことは理解した上での「あえて」です。