Activity
From 07/16/2012 to 07/22/2012
07/22/2012
-
11:11 PM Revision aec333b7 (git): Suppress unused variable warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:05 PM Feature #6669: A method like Hash#map but returns hash
- It would introduce an incompatibility, but probably not as much as you might think since #map has become the more commonly used method and it is used even less frequently on a Hash.
I think it makes good sense to have a known set of m... -
06:50 AM Feature #6669: A method like Hash#map but returns hash
- Hi,
duerst (Martin Dürst) wrote:
> Wouldn't it be really confusing that for Arrays, #map and #collect are
> ...
It could be confusing, and would also introduce incompatibilities. Also, if the proposal for associate/categorize is a... -
05:47 PM Feature #6758: Object#sequence
- I prefer Enumerable.seq and Kernel#seq.
-
04:55 PM Revision 216b8330 (git): * test/uri/test_generic.rb (URI#test_find_proxy): add tests with empty *_proxy env variables.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:50 PM Revision 89a03079 (git): fix failures
- * test/uri/test_generic.rb (URI#with_env): unset proxy related env
variables. [Bug #6774]
* test/uri/test_generic.rb (URI#test_find_proxy): fix failures
when proxy related env variables already set. [Bug #6774]
git-svn-id: svn+ss... -
04:48 PM Revision 4ed06c9c (git): Use assert_normal_exit to avoid stack on buggy implementations.
- fix for r36492.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:09 PM Revision c7eb9739 (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:04 PM Revision 480d1139 (git): * 2012-07-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:04 PM Revision ee755e2c (git): * thread.c (rb_threadptr_execute_interrupts_common): increase
- running_time_us on THREAD_TO_KILL like on THREAD_RUNNABLE.
This cause not to siwtch from a thread which is to be killed
on FreeBSD and Mac OS X. see also the test.
This issue maybe exist for long time but happens after r36430.
git... -
11:03 AM Feature #6767: Utility method to get a duplicated string whose encoding is ASCII-8BIT
- naruse (Yui NARUSE) wrote:
> ある String を ASCII-8BIT にしたいことはしばしばあります。
> ...
# encoding: UTF-8
の場合、\xAB とかが String リテラルに出てきたらその文字列を binary とみなすのは将来的にありかと思います。まだ UTF-8 以外のソースも結構ある間には早すぎるかと思います。
> (2) dup.force_encoding(Encoding::ASCII... -
03:20 AM Feature #6767 (Closed): Utility method to get a duplicated string whose encoding is ASCII-8BIT
- ある String を ASCII-8BIT にしたいことはしばしばあります。
それだけならばまだ force_encoding しろよという話なのですが、
#6361 の例のように、バイナリ文字列にさらにバイナリ文字列を結合していく場合、
毎行毎行 force_encoding を書いていくのにはつらいものがあります。
解決案としては、
(1) バイナリリテラルの導入
(2) dup.force_encoding(Encoding::ASCII_8BI... -
10:04 AM Feature #6769 (Assigned): rbinstall.rb: install both src and batch files separetely
- =begin
Hello,
Current behavior of rbinstall.rb is to concat bin scripts (erb, rake, rdoc, etc) along with a batchfile stub in a single file, resulting in erb.bat, rdoc.bat etc.
Those files works OK when invoked directly, but they ... -
09:34 AM Bug #6665: Import RubyGems 1.8.24 into trunk
- ping?
-
09:33 AM Bug #6024 (Closed): Failure to execute test_modify_expand_memory_leak under Windows (MinGW)
- This appears to be solved long time ago.
Closing this out. -
07:23 AM Bug #6764: IO#read(size, buf) causes can't set length of shared string in trunk (2.0.0dev)
- On Sun, Jul 22, 2012 at 2:32 AM, naruse (Yui NARUSE) <naruse@airemix.jp> wrote:
> This report is not contain small reproducible program.
> Why don't you introduce ruby-zip/zlib's case?
Indeed I should have tried. Let me try.
... -
02:32 AM Bug #6764 (Assigned): IO#read(size, buf) causes can't set length of shared string in trunk (2.0.0dev)
- This report is not contain small reproducible program.
Why don't you introduce ruby-zip/zlib's case? -
07:12 AM Bug #6768 (Closed): Changes for r36338 are not complete
- The changes for r36338 are incomplete. TARGET is in enc/depend. The general strategy of going from TARGET to TARGET_NAME to TARGET_ENTRY I think will create more and more issues.
The current changes causes enc.mk to not have the -eI... -
06:38 AM Feature #6636: Enumerable#size
- Hi,
On Sat, Jul 21, 2012 at 2:43 AM, naruse (Yui NARUSE) <naruse@airemix.jp> wrote:
> How about adding Enumerator#receiver and define yourself with it.
I agree `receiver` could be helpful. One would also need the `method` and the ... -
04:07 AM Bug #6766 (Closed): Unable to run tests for different builds due fixed port for Net::HTTPS
- This issue was solved with changeset r36491.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Use 0 for webrick's port and get the actual port. [Bug #6766] -
12:09 AM Bug #6766 (Closed): Unable to run tests for different builds due fixed port for Net::HTTPS
- =begin
Hello,
I found that (({test_https.rb})) uses a fixed port number to run its tests, which results in failures due Errno::EADDRINUSE sometimes due clash with another build in my system:
20) Error:
test_verify_none(TestNet... -
12:33 AM Bug #6765 (Assigned): test_filename_utf8_raw_name and test_filename_euc_jp (test_dir_m17n.rb) fail on non-JapaneseWindows
- =begin
Thank you Oleg,
I can confirm new patch works:
# Running tests:
Finished tests in 0.785099s, 15.2847 tests/s, 28.0219 assertions/s.
12 tests, 22 assertions, 0 failures, 0 errors, 0 skips
ruby -v: ruby 2.0.0dev ... -
12:30 AM Bug #6765: test_filename_utf8_raw_name and test_filename_euc_jp (test_dir_m17n.rb) fail on non-JapaneseWindows
- The patch updated to make test_filename_euc_jp pass on Windows-1252.
-
12:11 AM Feature #4985: Add %S[] support for making a list of symbols
- =begin
Seems like ((%ext/ripper/eventids2.c%)) misses (({tSYMBOLS_BEG})).
=end
07/21/2012
-
11:40 PM Feature #4985: Add %S[] support for making a list of symbols
- =begin
The latest ((%percent_i.patch%)) seems almost fine, except for a conflict in ((%parse.y%)).
=end
-
11:12 PM Bug #6761 (Closed): cannot crosscomiple ruby-trunk for arm cortex a8
- This issue was solved with changeset r36487.
lei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
thread_pthread.c: STACK_GROW_DIR_DETECTION
* thread_pthread.c (ru... -
01:21 AM Bug #6761: cannot crosscomiple ruby-trunk for arm cortex a8
- ruby git:(trunk) ✗ make --version
GNU Make 3.82
Built for x86_64-pc-linux-gnu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: ... -
01:19 AM Bug #6761: cannot crosscomiple ruby-trunk for arm cortex a8
- the ruby version is:
Commit 1ea6c81762ff15f5a4fc9c4e458a312492045c39
Author: nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Fri Jul 20 07:27:28 2012 +0000
-
01:16 AM Bug #6761 (Closed): cannot crosscomiple ruby-trunk for arm cortex a8
- env:
gentoo64+ angstrom cross compile tool chain.
angstrom-2011.03-x86_64-linux-armv7a-linux-gnueabi-toolchain.tar.bz2
autoreconf
CC=arm-angstrom-linux-gnueabi-gcc env ac_cv_func_setpgrp_void=yes ./configure --host=arm-angstro... -
11:10 PM Bug #4799 (Closed): M17N tests are too JP specific
- A patch for this has been submitted in #6765
-
10:40 PM Bug #6765 (Feedback): test_filename_utf8_raw_name and test_filename_euc_jp (test_dir_m17n.rb) fail on non-JapaneseWindows
- =begin
Thank you Oleg for the patch.
I just tested it, but still have a failure:
Before patch:
# Running tests:
[ 4/10] TestDir_M17N#test_filename_euc_jp = 0.08 s
1) Failure:
test_filename_euc_jp(TestDir_M17N) [C:/U... -
09:04 PM Bug #6765 (Closed): test_filename_utf8_raw_name and test_filename_euc_jp (test_dir_m17n.rb) fail on non-JapaneseWindows
- It looks like the problem is related to http://bugs.ruby-lang.org/issues/4799
The problem is that these test use "\u3042" as a file name to create and to test its name in ASCII-8BIT mode.
But it expects "\x82\x40" as a result, but this... -
08:34 PM Feature #5053: ruby コマンドと libruby の食い違いチェック
- テスト用にconfigureオプションを消していたのを忘れてました。
-
08:07 PM Feature #5053 (Feedback): ruby コマンドと libruby の食い違いチェック
- ちょっと前(r36277)に、Makefileにrunnableというターゲットを追加しました。
今のところLinuxとMac OS Xしか対応していませんが、--enable-load-relativeを指定しておくと./bin/rubyでビルドしたバイナリが実行できるはずです。
こういったものではまずいでしょうか。
一応、RUBY_REVISIONとconfig.hのチェックサムで一致しない場合にエラーになるようにするパッチも作ったは作ったので、置いておき... -
07:53 PM Feature #6669: A method like Hash#map but returns hash
- On 2012/07/21 18:12, matz (Yukihiro Matsumoto) wrote:
>
> Issue #6669 has been updated by matz (Yukihiro Matsumoto).
>
>
> Since Hash#reject, Hash#select does return a hash, I think it's OK for Hash#collect to return a hash.
... -
06:12 PM Feature #6669: A method like Hash#map but returns hash
- Since Hash#reject, Hash#select does return a hash, I think it's OK for Hash#collect to return a hash.
I believe Hash#map should return an array as before, just like find_all does.
Matz.
-
07:07 PM Revision 478d37da (git): Use 0 for webrick's port and get the actual port. [Bug #6766]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:03 PM Bug #6764 (Closed): IO#read(size, buf) causes can't set length of shared string in trunk (2.0.0dev)
- =begin
http://travis-ci.org/#!/nahi/httpclient/jobs/1842569
Error: test_post_with_custom_multipart_and_file(TestHTTPClient)
RuntimeError: can't set length of shared string
/home/vagrant/builds/nahi/httpclient/lib/httpclient... -
03:53 PM Feature #6762: Control interrupt timing
- > * Thread.control_interrupt
> * Thread.check_interrupt
Eek. Please don't use 'interrupt' word. It makes a lot of confusing to
Unix programmer.
>
> Rdoc documents are:
>
> call-seq:
> Thread.control_interr... -
07:53 AM Feature #6762: Control interrupt timing
- SASADA Koichi <ko1@atdot.net> wrote:
> I understand what you want.
>
> In my ticket, I proposed two things.
>
> (1) Introducing the concept to "interrupt control"
> (2) Introducing primitives to achieve (1)
>
> Ma... -
05:23 AM Feature #6762: Control interrupt timing
- (2012/07/21 4:48), Eric Wong wrote:
> "ko1 (Koichi Sasada)" <redmine@ruby-lang.org> wrote:
>> * Un-safe ensure clause: Generally, ensure clause should not interrupt
>> because it contains important tasks such as freeing resources.... -
04:11 AM Feature #6762 (Closed): Control interrupt timing
- =begin
= Abstract
Add asynchronous interrupt timing control feature. Control with the following three modes:
* immediate: process interrupt immediately
* never: never process interrupt
* on_blocking: delay interrupt until block... -
03:51 PM Revision e2f75afb (git): Set false to @proxy_from_env to suppress uninitialized warning.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:45 PM Revision bae2c78f (git): * 2012-07-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:45 PM Revision 07a6d0e9 (git): * lib/net/http.rb (Net::HTTP.newobj): return back for compatibility.
- * lib/net/http.rb (Net::HTTP.new): set default_port if proxy port is
not given.
* lib/net/http.rb (Net::HTTP#initialize): ditto.
* lib/net/http.rb (Net::HTTP#proxy?): return true or false.
* lib/net/http.rb (Net::HTTP#proxy_address)... -
03:43 PM Feature #6636: Enumerable#size
- How about adding Enumerator#receiver and define yourself with it.
diff --git a/enumerator.c b/enumerator.c
index f01ddd5..8e3ae9a 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -942,6 +942,32 @@ enumerator_inspect(VALUE obj)
}
... -
02:53 PM Feature #6694: Thread.new without block.
- > I don't think I understand your question. To summarize my objection to this proposed API change: Thread stack size should be something set at the VM level completely outside of Ruby code. Ruby code should not be coupled with implement...
-
06:51 AM Feature #6694: Thread.new without block.
- I will comment on stack sizing on the other issue.
As far as passing params and not starting the thread, it doesn't seem like a bad API. There are other thread characteristics that could be passed at construction time like abort_on_ex... -
01:27 AM Feature #6694: Thread.new without block.
- ko1 (Koichi Sasada) wrote:
> (2012/07/20 22:42), brixen (Brian Ford) wrote:
> ...
Thread#name doesn't require a new API for Thread.new. Thread#name makes sense as something that can be set any time.
The pthread_create() design ratio... -
02:12 PM Revision 36c45154 (git): thread_pthread.c: STACK_GROW_DIR_DETECTION
- * thread_pthread.c (ruby_init_stack): STACK_GROW_DIR_DETECTION is
necessary on platforms with unknown stack direction. [Bug #6761]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:12 PM Feature #2643 (Closed): test/unit redefinition check of test_* method
- This issue was solved with changeset r36484.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/test/unit.rb: warn when test_* method is redefined.
Pat... -
08:54 AM Feature #6758: Object#sequence
- trans (Thomas Sawyer) wrote:
> Nice, but why Object method and not Kernel method?
Thank you.
If you mean Kernel public method, no difference.
If you mean Kernel private method that is, function style, I prefer having a receiver... -
01:07 AM Feature #6758: Object#sequence
- Nice, but why Object method and not Kernel method?
-
08:41 AM Bug #6759 (Closed): rdoc for Logger class (improve example)
- This issue was solved with changeset r36483.
Marcus, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/logger.rb: Updated example in Logger comment to match ot... -
08:29 AM Feature #6763: Introduce Flonum technique to speedup floating computation on th 64bit environment - Hi,
In message "Re: [ruby-core:46577] [ruby-trunk - Feature #6763][Open] Introduce Flonum technique to speedup floating computation on th 64bit environment"
on Sat, 21 Jul 2012 04:59:05 +0900, "ko1 (Koichi Sasada)" <redmine@r... -
04:59 AM Feature #6763 (Closed): Introduce Flonum technique to speedup floating computation on th 64bit environment
- =begin
= Abstract
Introducing Flonum technique, which is similar to Fixnum against Integer, to speedup floating number calculation on the 64bit CPU.
On our measurements, we can achieve x2 performance improvement for simple float... -
08:16 AM Feature #6482: Add URI requested to Net::HTTP request and response objects
- =begin
naruse (Yui NARUSE) wrote:
> drbrain (Eric Hodel) wrote:
> ...
I think I don't understand. My patch uses the host part of URI for initialize to set req['Host']. Also, if you set req['Host'] the URI is updated correctly. Which ... -
07:02 AM Feature #6695: Configuration for Thread/Fiber creation
- Stack size:
I will agree in part with Brian's statement about stack size being too implementation-dependent. It's also 32/64-bit dependent. On the JVM, it's also platform-dependent (Windows will have different stack layout than Linux)... -
02:59 AM Feature #6695: Configuration for Thread/Fiber creation
- (2012/07/21 1:23), brixen (Brian Ford) wrote:
> I object to this API for setting stack size from Ruby for at least the two following reasons:
>
> 1. Stack size is an implementation detail and coupling Ruby code to details of a pa... -
01:23 AM Feature #6695: Configuration for Thread/Fiber creation
- I object to this API for setting stack size from Ruby for at least the two following reasons:
1. Stack size is an implementation detail and coupling Ruby code to details of a particular implementation is undesirable. Applications may ... -
06:14 AM Revision d5a190c9 (git): * lib/test/unit/testcase.rb(method_added): refactoring.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:17 AM Revision 3b15805c (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:12 AM Revision 7773a911 (git): * lib/test/unit.rb: warn when test_* method is redefined.
- Patch by mame (Yusuke Endoh). [Feature #2643] [ruby-core:27790]
* test/testunit/test_redefinition.rb: Test for above.
* test/testunit/test4test_redefinition.rb: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36484 b2dd03c8-3... -
01:54 AM Bug #6760: unexpected behavior in Enumerable method all? if collection is empty
- thx for your explanation now it's clear.
I think this bug can be closed
bunch of thanks, i don't thought about this problem from "Vacuous truth" side %-) -
01:23 AM Bug #6760 (Rejected): unexpected behavior in Enumerable method all? if collection is empty
- This is not a bug. This behavior is clear from the documentation, both in the form with and without a block:
"The method returns true if the block never returns false or nil."
"If the block is not given [...] will return true o... -
01:11 AM Bug #6760 (Rejected): unexpected behavior in Enumerable method all? if collection is empty
- if collection is empty all? always return true even if we call it with undefined method
for example
-> [].all?(&:undefined_mathod) #=> true
-> {}.all?(&:undefined_mathod) #=> true
etc.
my fix for it un ruby:
module ...
07/20/2012
-
11:53 PM Feature #6694: Thread.new without block.
- (2012/07/20 22:42), brixen (Brian Ford) wrote:
> I don't think I understand your question. To summarize my objection to this proposed API change: Thread stack size should be something set at the VM level completely outside of Ruby cod... -
10:42 PM Feature #6694: Thread.new without block.
- ko1 (Koichi Sasada) wrote:
> (2012/07/20 15:32), brixen (Brian Ford) wrote:
> ...
I don't think I understand your question. To summarize my objection to this proposed API change: Thread stack size should be something set at the VM leve... -
05:29 PM Feature #6694: Thread.new without block.
- Also, I'd like to let you know that pthread_create() comes with their design decisions as RATIONALE.
http://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_create.html
Please read it. -
05:26 PM Feature #6694: Thread.new without block.
- ko1 (Koichi Sasada) wrote:
> (2012/07/20 15:46), shyouhei (Shyouhei Urabe) wrote:
> ...
So?
I'm not against adding a new thread constructor.
The problem is that new one do not start.
> But I prefer 1.
What happens when Thr... -
04:23 PM Feature #6694: Thread.new without block.
- (2012/07/20 15:46), shyouhei (Shyouhei Urabe) wrote:
> Forgot to mention to @_ko1 that both POSIX and Windows API starts threads immediately when they are created.
>
> It is not that obvious what should happen when a thread that ... -
03:59 PM Feature #6694: Thread.new without block.
- (2012/07/20 15:55), SASADA Koichi wrote:
> This ticket only propose thread configuration before thread creation.
Sorry, "configurable thread before running".
--
// SASADA Koichi at atdot dot net -
03:59 PM Feature #6694: Thread.new without block.
- (2012/07/20 15:32), brixen (Brian Ford) wrote:
>
> I object to this API for at least the two following reasons:
>
> 1. Stack size is an implementation detail and coupling Ruby code to details of a particular implementation is ... -
03:46 PM Feature #6694: Thread.new without block.
- Forgot to mention to @_ko1 that both POSIX and Windows API starts threads immediately when they are created.
It is not that obvious what should happen when a thread that was created is not running. For instance, to join that thread s... -
03:32 PM Feature #6694: Thread.new without block.
- I object to this API for at least the two following reasons:
1. Stack size is an implementation detail and coupling Ruby code to details of a particular implementation is undesirable. Applications may be developed on one implementatio... -
11:41 PM Revision c4827de9 (git): * lib/logger.rb: Updated example in Logger comment to match other
- examples and fixed a bug. Patch by Marcus Stollsteimer.
[Bug #6759]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:10 PM Bug #6759 (Closed): rdoc for Logger class (improve example)
- =begin
the patch improves the main example
* more consistent with the other examples (log -> logger)
* avoids syntax errors
=end
- 03:08 PM Revision e641eba9 (git): * 2012-07-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:08 PM Revision 6dea097e (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:38 PM Feature #6758 (Open): Object#sequence
- =begin
== Object#sequence
Let me propose a new method ((*Object#sequence*)).
次のような実装の((*Object#sequence*))を提案します。
class Object
def sequence(init=true, &blk)
x = self
Enumerator.new do |y|
... -
11:47 AM Feature #6757 (Closed): [PATCH] Add Process.getsid
- setsid(2) に相当する Process.setsid はありますが、getsid(2) に
相当する Process.getsid がありません。
Process.getsid を追加するパッチを添付します。 -
10:56 AM Feature #6546 (Closed): Net::HTTP to check for HTTP_PROXY environment setting.
- This issue was solved with changeset r36476.
Jacob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/http.rb: Net::HTTP now automatically detects and uses... -
10:47 AM Bug #6756 (Closed): FileUtils.rm_rf がアクセス権のない空ディレクトリを削除しない
- =begin
UNIX の rm コマンドは、(({rm -rf dir})) でアクセス権がない空ディレクトリを
削除しますが、(({FileUtils.rm_rf("dir")})) は削除してくれません。
$ mkdir -m 0 empty-noperm-dir
$ sudo ls -la empty-noperm-dir
合計 8
d--------- 2 fumiyas fumiyas 4096 7月 20 01:10 .
... -
09:40 AM Bug #6692 (Closed): TestSocket::test_udp_server always fails on OS X with Back to my Mac enabled
- This issue was solved with changeset r36475.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/socket/test_socket.rb: Ignore IPv6 unique local addresses... -
08:20 AM Revision 1abd3d4e (git): random.c: refine error message
- * random.c (rb_random_real): refine error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:17 AM Feature #6492 (Closed): Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
- Committed in r36473
-
07:43 AM Feature #6494 (Closed): Send Accept-Encoding for all HTTP requests
- This issue was solved with changeset r36473.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/http/response.rb: Automatically inflate gzip and
def... -
07:27 AM Revision 1ea6c817 (git): remove garbage spaces
- * insns.def, parse.y: remove garbage spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:21 AM Bug #6753 (Rejected): Comparing Date::Infinity with Date/DateTime
- Date::Infinity was designed as a numeric class.
same as:
Float::INFINITY < Date.new
this undocumented class was provided only for internal use.
and now it is just for backward compatibility.
-
07:09 AM Bug #6753 (Assigned): Comparing Date::Infinity with Date/DateTime
-
07:09 AM Revision cfb55aca (git): test_array.rb: refine assertions
- * test/ruby/test_array.rb: refine assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:23 AM Feature #6739: One-line rescue statement should support specifying an exception class - On Jul 19, 2012, at 3:45 AM, Quintus (Marvin Gülker) wrote:
> ~~~ruby
> ...
I like "when" and "then"
~~~ruby
File.read("myfile.txt") rescue when Errno::ENOENT then puts "No file there"
~~~ -
02:05 AM Revision daf16764 (git): * NEWS: Updated net/http for automatic proxy detection (#6546) and
- automatic gzip and deflate compression (#6492, #6494).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:56 AM Revision 9416becd (git): * lib/net/http.rb: Net::HTTP now automatically detects and uses
- proxies from the environment. A proxy may also be specified as
before.
Net::HTTP::Proxy still creates anonymous classes, but these classes
are only used to store configuration information. When an HTTP
instance is created the ... -
12:40 AM Revision f35b1d06 (git): * test/socket/test_socket.rb: Ignore IPv6 unique local addresses on OS
- X (iCloud Back to my Mac addresses) for test_udp_socket since they do
not act as loopback addresses. [Bug #6692]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:32 AM Revision 3efea48a (git): * ext/socket/raddrinfo.c (addrinfo_ipv6_unique_local_p): Added
- Addrinfo#ipv6_unique_local? to detect RFC 4193 unique local
addresses. Part of #6692
* ext/socket/rubysocket.h: Add IN6_IS_ADDR_UNIQUE_LOCAL macro if
missing.
* test/socket/test_addrinfo.rb: Test for ipv6_unqiue_local?
git-svn-i...
07/19/2012
-
10:43 PM Revision b1a0509b (git): * lib/net/http/response.rb: Automatically inflate gzip and
- deflate-encoded response bodies. [Feature #6942]
* lib/net/http/generic_request.rb: Automatically accept gzip and
deflate content-encoding for requests. [Feature #6494]
* lib/net/http/request.rb: Updated documentation for #6494.
* ... - 06:43 PM Revision ef19dcf9 (git): * 2012-07-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:43 PM Revision 7e9c25d0 (git): * thread_pthread.c: use #ifdef, not #if.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:25 PM Bug #6753 (Rejected): Comparing Date::Infinity with Date/DateTime
- Depending on the order you use for comparing, this works or throws an error. A snippet from IRB
irb(main):001:0> require 'date'
=> true
irb(main):002:0> DateTime.now < Date::Infinity.new
=> true
irb(main):003:0> Date::Infinity.new... -
05:45 PM Feature #6739: One-line rescue statement should support specifying an exception class
- > A `rescue` clause (non-modifier) can be followed by arbitrary expressions which would return a class or a module, so the syntax in your proposal is unclear.
As said, I wasn’t happy with the syntax either, it was more about the actua... -
03:41 PM Bug #4971 (Closed): Module#class_variables
- This issue was solved with changeset r36466.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* variable.c (rb_mod_class_variables): return inherited variable... -
03:16 PM Feature #6546: Net::HTTP to check for HTTP_PROXY environment setting.
- OK, commit it.
-
02:19 PM Revision f4a8db64 (git): * thread.c (rb_thread_s_control_interrupt,
- rb_thread_s_check_interrupt): added for
Thread.control_intgerrupt and Thread.check_interrupt.
See details on rdoc.
I'll make an ticket for this feature.
* test/ruby/test_thread.rb: add a test for Thread.control_intgerrupt.
* thread... -
01:47 PM Revision 422e8d5a (git): * test/ruby/test_io.rb: remove temporally files early.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:21 PM Revision f0810814 (git): extmk.rb: hack for -framework
- * ext/extmk.rb (mf.macro): replace NULs with spaces also in exts.mk
which is used when dissable-shared. fix r36437.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:14 PM Revision ff331d14 (git): suppress fragile warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:42 AM Feature #6752 (Closed): Replacing ill-formed subsequencce
- =begin
== 概要
Stringになんらかの理由で不正なバイト列が含まれている時に、それを置換文字で置き換えたい。
== ユースケース
実際に確認されているユースケースは以下の通りです。
* twitterのtitle
* IRCのログ
* ニコニコ動画の API
* Webクローリング
これらの不正なバイト列の生成過程は、おそらく、バイト単位で文字列を切り詰めた時に末尾が切れて、
末尾がおかしい不正な文字列が作られます。(前二者)
これ... -
06:41 AM Revision 1f03c90d (git): * variable.c (rb_mod_class_variables): return inherited variables
- except when the optional argument is set to false.
[ruby-dev:44034] [Bug #4971]
* variable.c (rb_mod_constants): fix typo in documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:23 AM Feature #6724: waaaaaaant! (ISeq.load)
- On Wed, Jul 18, 2012 at 3:45 PM, Aaron Patterson
<tenderlove@ruby-lang.org> wrote:
>
> Glad we could get this working on windows! ;-)
>
:-)
>
> As a side note, maybe we should fix DEFAULT? Any ideas what's wrong on
> window... -
03:53 AM Feature #6724: waaaaaaant! (ISeq.load) - On Wed, Jul 18, 2012 at 09:13:45AM +0900, Luis Lavena wrote:
> On Tue, Jul 17, 2012 at 6:27 PM, Aaron Patterson
> <tenderlove@ruby-lang.org> wrote:
> >
> > class RubyVM
> > class InstructionSequence
> > address =... -
06:06 AM Revision 0e60c710 (git): test_eval.rb: adjust indent
- * test/ruby/test_eval.rb (test_instance_eval_{string,block}_basic):
adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:05 AM Revision f58feecd (git): test_eval.rb: use block
- * test/ruby/test_eval.rb (forall_TYPE): use block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:30 AM Revision c5617b35 (git): internal.h: move mark functions
- * internal.h: move mark function declarations that should be private.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:20 AM Revision 2574b80d (git): * ext/socket/init.c (rsock_init_sock): need to update max fd on all
- platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:15 AM Revision 5e7fa03b (git): thread.c: remove deprecated
- * thread.c (rb_gc_mark_threads): remove deprecated function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:29 AM Revision b72fc095 (git): * test/net/http/test_http.rb (TestNetHTTPLocalBind#test_bind_to_local*):
- re-enable the tests because now it's OK on windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:27 AM Revision 8e66cbcc (git): * ext/socket/extconf.rb: now enable IPv6 by default on mswin.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:52 AM Feature #2565: adding hooks for better tracing
- I've attached a new patch that contains a sed script for converting the .d file to a .h file.
When a user tries to install Ruby, if they do not have dtrace, the sed script will convert the .d file to a dummy header file. The dummy he... -
01:50 AM Bug #6746: test_bind_to_local_host(TestNetHTTPLocalBind) fails.
- serverを::1にしてクライアントを::1以外にすると経路がないから通信できないんですが、
両方::1にすればいいだけの話でした。
ちょっとひっかかりはするんですが。 -
01:48 AM Bug #6746 (Closed): test_bind_to_local_host(TestNetHTTPLocalBind) fails.
- This issue was solved with changeset r36453.
Shyouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
use localhost for both local and remote. [Bug #6746] -
01:43 AM Feature #5482: Rubinius as basis for Ruby 2.0
- mruby should be the basis of Ruby 3.0.
-
12:54 AM Feature #5341: Add SSL session reuse to Net::HTTP
- Eric, nahi and I discussed this a while ago and I think we all agreed finally? I remember I was OK with it :)
-
12:36 AM Revision 1ec93d92 (git): * ext/psych/emitter.c (initialize): allow a configuration object to be
- passed to the constructor so that mutation isn't required after
instantiation.
* ext/psych/lib/psych/handler.rb: add configuration object
* ext/psych/lib/psych/visitors/emitter.rb: use configuration object if
extra configuration is...
07/18/2012
-
11:20 PM Revision ac80ad66 (git): * test/ruby/test_file.rb: remove temporally files early.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:39 PM Revision 939b0e9c (git): fixed: can't delete unix domain sockets problem
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:37 PM Bug #6751 (Closed): remove tempfiles early.
- cgi.rb で、テンポラリファイル (Tempfile) をなるべく早く消すようにすると良いと
思うのですがいかがでしょうか。
いずれ GC で消されるはずなので、Bug というほどの話ではありませんが。
./ruby test/runner.rb test/cgi の各テストでテンポラリファイルが残らないように
したものを cgi-tempfile.patch として作ってみました。
* read_multipart で params に入れな... -
06:48 PM Revision 7d4e7fe8 (git): * bignum.c: Added #include <strings.h> for ffs(). Patch by Perry
- Smith. Thank you. [Bug #6748]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:59 PM Revision 0501be6f (git): * include/ruby/intern.h (rb_num_zerodiv): Added NORETURN.
- Patched by Xi Wang. [Bug #6736]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:48 PM Revision da78490c (git): use localhost for both local and remote. [Bug #6746]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:33 PM Bug #6746: test_bind_to_local_host(TestNetHTTPLocalBind) fails.
- それは困りましたね。手元の環境には::1しかありません。
% /usr/local/bin/ruby -rsocket -e'p Socket.ip_address_list'
[#<Addrinfo: 127.0.0.1>, #<Addrinfo: ::1>]
::1ではダメなのは何か理由がありますか? -
04:11 PM Feature #6735 (Closed): curses: support linking against pdcurses
- This issue was solved with changeset r36436.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/curses/extconf.rb: support PDCurses. patched by Luis Laven... -
04:05 PM Bug #5214 (Closed): "not (true)" should not warn "(...) interpreted as grouped expression"
- This issue was solved with changeset r36434.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (primary): allow an empty grouped expression as the
o... -
04:05 PM Bug #6674 (Closed): 1.9 parser regression: not ()
- This issue was solved with changeset r36434.
Ryan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (primary): allow an empty grouped expression as the
o... - 03:23 PM Revision 64b7aa9e (git): * 2012-07-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:23 PM Revision c96b913e (git): increment @tmp_count.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:57 PM Revision c0087df0 (git): pack.c: round down too long uuencode width
- * pack.c (pack_pack): round down too long uuencode width. folding
width in uuencode format cannot be longer than 63 bytes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:20 PM Revision 68a01f9c (git): test_syntax.rb: update
- * test/ruby/test_syntax.rb (test_warn_grouped_expression): update for
r36434. [ruby-core:39050][Bug #5214]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:09 PM Revision 7624e5d3 (git): * ext/dbm/dbm.c (fdbm_empty_p): fix wrong condtion introduced in r36438.
- * ext/sdbm/init.c (fsdbm_empty_p): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:09 PM Revision 5b7b60bb (git): * test/ruby/test_beginendblock.rb: remove temporally files early.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:43 PM Revision bc893dcf (git): * test/ruby/test_autoload.rb: remove temporally files early.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:21 PM Feature #5341: Add SSL session reuse to Net::HTTP
- drbrain (Eric Hodel) wrote:
> Updated patch
If Martin checked this patch, I'm ok; commit it. -
01:00 PM Revision d5e9b696 (git): * test/ruby/test_argf.rb: use temporally directory.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:57 PM Bug #6610 (Closed): Fix Benchmark.benchmark output with an empty caption
- This issue was solved with changeset r36427.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/benchmark.rb: Fix Benchmark.benchmark output with an empt... -
12:07 PM Revision ea3edd27 (git): mkmf.rb: fix typo
- * lib/mkmf.rb (configuration): fix typo, should never return nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:07 AM Bug #6743: Add documentation for debug library
- I think matz would need to rule on the name change from DEBUGGER__ to Debugger, so please file it as a separate issue.
I was unsure on the nodocs since they weren't added to all the methods. While debug.rb seems to be only usable fro... -
10:43 AM Bug #6743: Add documentation for debug library
- Hi Eric,
Thank you for taking the time to review this. I was actually trying to rename from DEBUGGER__ to Debugger, which made things nicer for Rdoc. This may just be me not understanding how to properly generate docs though.
P.S.:... -
10:02 AM Bug #6743: Add documentation for debug library
- I like the documentation, but I can't apply the rename from Debugger to DEBUGGER__.
The nodoc additions seem excessive and random too, so I omitted them. -
10:02 AM Bug #6743 (Closed): Add documentation for debug library
- This issue was solved with changeset r36426.
Oscar, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/debug.rb: Added toplevel documentation. Based on patch b... -
10:42 AM Revision 4db96fe4 (git): * test/openssl/test_config.rb: remove temporally files early.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:27 AM Bug #6738 (Closed): Typos / corrections in rdoc for Logger library
- This issue was solved with changeset r36424.
Marcus, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/logger.rb: Updated typos and output to match modern Logg... -
09:25 AM Revision 0ff01339 (git): fix typo
- * error.c (rb_builtin_type_name): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:23 AM Feature #6724: waaaaaaant! (ISeq.load)
- On Tue, Jul 17, 2012 at 6:27 PM, Aaron Patterson
<tenderlove@ruby-lang.org> wrote:
>
> class RubyVM
> class InstructionSequence
> address = DL::Handle::DEFAULT['rb_iseq_load']
> func = Fiddle::Function.ne... -
06:29 AM Feature #6724: waaaaaaant! (ISeq.load) - On Thu, Jul 12, 2012 at 08:58:36AM +0900, zenspider (Ryan Davis) wrote:
>
> Issue #6724 has been reported by zenspider (Ryan Davis).
>
> ----------------------------------------
> Bug #6724: waaaaaaant! (
> https://bugs.ruby-lan... -
08:45 AM Revision 6e018e3f (git): error.c: map by index
- * error.c (rb_builtin_type_name): map by index.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:41 AM Revision 40ce1eb4 (git): warning: no indirect flag
- * regparse.c (is_onechar_cclass): remove "found" indirect flag to
suppress warnings by gcc 4.7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:40 AM Revision 02f802f2 (git): vm.c: remove unused variables
- * vm.c (invoke_block_from_c), vm_insnhelper.c (vm_call_cfunc): remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:15 AM Feature #6688: Object#replace
- 1.become(2) should certainly raise an exception as I meant. But I caught what the problem have you probably meant:
a=1
a.become(2)
I don't know if there're simple workarounds to understand how to behave with constant classes such as N... -
08:04 AM Feature #6620 (Closed): Add ' to CGI's HTML escaping
- This issue was solved with changeset r36422.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Wed Jul 18 07:59:29 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org... -
07:44 AM Revision f9c014d0 (git): empty_p: optimize and warnings
- * ext/dbm/dbm.c (fdbm_empty_p): not empty if first key exists.
suppress warnngs by gcc 4.7 -Wstrict-overflow.
* ext/sdbm/init.c (fsdbm_empty_p): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36438 b2dd03c8-39d4-4d8f-98ff-8... -
07:17 AM Revision 5a03c256 (git): mkmf.rb: hack for -framework
- * lib/mkmf.rb (have_framework): get rid of separating -framework
option and its argument and dealing with the argument as a library
or an object name. if $LDFLAGS were an array...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@... -
07:13 AM Bug #6750 (Closed): Comment above rb_iseq_struct.local_size gives out of date description
- The description of rb_iseq_struct.local_size says that it is sizeof(local vars) + 1 for class and method frames, but just sizeof(local vars) for block frames. I think this is no longer the case. local_size is always sizeof(local vars) + ...
-
07:11 AM Revision 5d743d76 (git): * ext/curses/extconf.rb: support PDCurses. patched by Luis Lavena.
- [ruby-core:46485] [Feature #6735]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:08 AM Revision 83dd5556 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:05 AM Revision bbaf9b28 (git): * parse.y (primary): allow an empty grouped expression as the
- operand of the not operator (e.g., not ()).
[ruby-core:45976] [Bug #6674]
* parse.y (parser_yylex): show no warning for a grouped expression
as the operand of the not operator (e.g., not (a)) or as an
argument of a method call wit... -
06:47 AM Revision e9a91d2c (git): * thread.c (rb_thread_call_without_gvl2): added.
- it can skip last CHECK_INTS. See document for more details.
Document about it was updated a bit.
* include/ruby/thread.h (decl. of rb_thread_call_without_gvl2): added.
* thread.c (rb_thread_call_with_gvl): remove "EXPERIMENTAL!"
war... -
05:53 AM Revision 6684ade9 (git): configure.in: EXTDLDFLAGS
- * configure.in (EXTDLDFLAGS): split options for each extension
libraries, and unused in ruby.pc. [Bug #6734]
* lib/mkmf.rb (MakeMakefile#configuration): add EXTDLDFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36432 b2dd03... -
05:47 AM Revision eff4b2b2 (git): * thread.c: fix last commit miss.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:46 AM Revision 28144433 (git): * thread.c (rb_threadptr_async_errinfo_*): manage async errors queue.
- Async events such as an exception throwed by Thread#raise,
Thread#kill and thread termination (after main thread termination)
will be queued to th->async_errinfo_queue.
- clear: clear the queue.
- enque: enque err object into que... -
05:29 AM Revision 18c04b88 (git): add casts
- * pack.c: (ditto) bitwise operations are not char. Apply explicit
casts on them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:13 AM Bug #6749 (Closed): rdoc of Time class (incorrect explanation of leap seconds)
- The patch fixes the documentation of Time#sec,
where an incorrect explanation of leap seconds is given. -
04:46 AM Revision 8c36fc30 (git): add casts
- * encoding.c (load_encoding): explicit cast to suppress warning.
Though the cast truncates some bits, from heuristic analysis I
believe it is OK to do so here.
* bignum.c (rb_cstr_to_inum): ditto.
git-svn-id: svn+ssh://ci.ruby... -
04:09 AM Bug #5915 (Closed): Array#join with explicit nil should not use $,
- Added in r36421.
-
03:56 AM Revision 39b33658 (git): * lib/benchmark.rb: Fix Benchmark.benchmark output with an empty
- caption. patched by Benoit Daloze. [ruby-core:45719] [Bug #6610]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:45 AM Bug #6745 (Third Party's Issue): Segmentation fault in postgresql_adapter.rb:607
- It crashes on pgresult_values(), so it seems pg_ext's bug.
6 pg_ext.bundle 0x0000000109dd6578 pgresult_values + 200 (pg_result.c:735)
Could you report this to pg_ext? -
01:02 AM Revision 9844bc02 (git): * lib/debug.rb: Added toplevel documentation. Based on patch by Oscar
- Del Ben. [Bug #6743], fixes #146 on github.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:36 AM Revision 7a514fc6 (git): * test/win32ole/test_win32ole_event.rb (TestWIN32OLE_EVENT): use
- standard skip method to skip tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:27 AM Revision fe6aa0e1 (git): * lib/logger.rb: Updated typos and output to match modern Logger
- output. Patch by Marcus Stollsteimer. [Bug #6738]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/17/2012
- 11:04 PM Revision 08f46f08 (git): Wed Jul 18 08:01:10 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
- * test/rss/test_dublincore.rb: update test for CGI.escapeHTML.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:04 PM Revision c47cca2f (git): Wed Jul 18 07:59:29 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
- * lib/cgi/util.rb (CGI.escapeHTML,unescapeHTML): Add ' for HTML5 escaping.
[Feature #6620]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:30 PM Bug #6645: Segmentation fault in net/http.rb
- sorry for my late reply.
It was a bit difficult for me to reproduce this problem with a minimal set of code, and haven't found the one which gives a broken array.
Anyone can reproduce this?
-
07:07 PM Revision ba2ed2ed (git): Add documentation about Array#join(nil). [Bug#5915]
- We talked about this and it is like following:
* maybe ary.join(nil) should always use empty string as a separator,
but it disables to specify $, as a seprator through variables.
* if nil means '', the conversion is to_s. to_s is not a... -
06:08 PM Revision 85dc1ab2 (git): Add tests for r36415.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:46 PM Bug #6746 (Assigned): test_bind_to_local_host(TestNetHTTPLocalBind) fails.
- このテストは [Feature #6617] に対するもので、HTTP 接続時にローカル側のホストとポートを指定するためのものです。
r36416 で適切な IPv6 アドレスが CONFIG に設定されていればテストが通るようにしました。
が、手元では ::1 ではダメなようなので、適切な IPv6 アドレスをポータブルにどうやって指定するかは卜部さんの方でお願いします。 -
05:41 PM Bug #6746 (Closed): test_bind_to_local_host(TestNetHTTPLocalBind) fails.
- This issue was solved with changeset r36416.
Shyouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Support IPv6 address. [Bug #6746] -
02:45 PM Bug #6746 (Closed): test_bind_to_local_host(TestNetHTTPLocalBind) fails.
- 手元の環境でtest_bind_to_local_host(TestNetHTTPLocalBind)が失敗しています。
55) Error:
test_bind_to_local_host(TestNetHTTPLocalBind):
NoMethodError: undefined method `ip_address' for nil:NilClass
/src/test/net/http/test_http.rb:660:in `_selec... -
04:47 PM Bug #5694 (Closed): Proc#arity doesn't take optional arguments into account.
- This issue was solved with changeset r36415.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* proc.c (rb_proc_arity): return normal value (not -n-1) if... -
01:21 AM Bug #5694: Proc#arity doesn't take optional arguments into account.
- matz (Yukihiro Matsumoto) wrote:
> Because non-lambda proc and lamdba behave differently.
> ...
Oh, I'm not blaming anyone.
> Nobu, could you update r36411 according to our discussion?
I'm sorry about r36411. I reverted it when I... -
12:50 AM Bug #5694: Proc#arity doesn't take optional arguments into account.
- Because non-lambda proc and lamdba behave differently.
You can blame me about inconsistency. I should have designed proc more consistently.
But I sometimes made mistakes and it's too late to fix this.
At least for 2.0.
Nobu, could ... -
12:39 AM Bug #5694 (Open): Proc#arity doesn't take optional arguments into account.
- Hi,
akr (Akira Tanaka) wrote:
> We discussed this issue at a developer meeting.
> ...
Good.
> Note that we should not change proc {...}.arity.
I missed this the first time.
Why?
Lambdas and Proc have the same `arity` for... -
12:19 AM Bug #5694 (Closed): Proc#arity doesn't take optional arguments into account.
- This issue was solved with changeset r36411.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Revert r33924.
* proc.c (rb_proc_arity): Fix Proc#arity in... - 04:13 PM Revision 3d68a736 (git): * 2012-07-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:13 PM Revision b69f55a6 (git): * lib/open-uri.rb: delete space.
- * test/psych/test_alias_and_anchor.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:17 PM Revision cb0d4805 (git): * lib/open-uri.rb: call io.close! for Tempfile.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:23 AM Feature #6587: proposal: adding new methods File.rootname and Pathname#rootname - まつもと ゆきひろです
In message "Re: [ruby-dev:45967] Re: [ruby-trunk - Feature #6587] proposal: adding new methods File.rootname and Pathname#rootname"
on Tue, 17 Jul 2012 10:37:18 +0900, "U.Nakamura" <usa@garbagecollect.jp> writes:
... -
11:10 AM Feature #6587 (Rejected): proposal: adding new methods File.rootname and Pathname#rootname
-
10:53 AM Feature #6587: proposal: adding new methods File.rootname and Pathname#rootname
- こんにちは、なかむら(う)です。
In message "[ruby-dev:45944] [ruby-trunk - Feature #6587] proposal: adding new methods File.rootname and Pathname#rootname"
on Jul.14,2012 00:16:18, <matz@ruby-lang.org> wrote:
> となると、rootnameを作ってもUNIXとWind... -
11:12 AM Feature #6737: Add Hash#read and alias as #[].
- =begin
Oh, thanks Shyouhei. That is very helpful breakdown. So I infer then, #[] (aka read) can be defined via #fetch as:
def [](key)
fetch(key, default, &default_proc)
end
(And if so, save converting to C, this would be... -
07:10 AM Feature #6737: Add Hash#read and alias as #[].
- trans (Thomas Sawyer) wrote:
> Has #fetch always had second default argument?
I think so.
> ...
The behaviour of #[] is, to say in English,
(1) seek for the key
(2) if the hash conains the key, returns that
(3) else if the ha... -
09:27 AM Feature #6735: curses: support linking against pdcurses
- Thanks for your time and details Thomas.
However, as mentioned in my previous comment, ncurses does not compile properly with either MinGW or mingw-w64 toolchains that I use to build RubyInstaller.
While getting ncurses to work pro... -
08:57 AM Feature #4788: resolv.rb refactoring
- @ioquatix isn't the only one who's interested in it (read: me too).
-
08:41 AM Revision da74f0f4 (git): Support IPv6 address. [Bug #6746]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:53 AM Feature #6731: add new method "Object.present?" as a counter to #empty?
- Hum, wouldn't this conflict with Rails? In Rails, " ".present? is
falseclass Object
>
> def present?
> !(respond_to?(:empty?) ? empty? : !self)
> end
>
> end
>
> --
<lay trum/> -
07:47 AM Revision c2bcae86 (git): * proc.c (rb_proc_arity): return normal value (not -n-1) if it is not
- a labmda, or it is a labmda and no arg_opts. [Bug #5694]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:35 AM Bug #6745: Segmentation fault in postgresql_adapter.rb:607
- You can install Ruby yourself:
cd ruby
autoconf
configure --prefix=/tmp
make & make install -
07:16 AM Bug #6745 (Third Party's Issue): Segmentation fault in postgresql_adapter.rb:607
- I can reproduce the bug, but it only occurs in a script that I can't share. Fails each time in 1.9.3-p194. Attempted to get RVM's ruby-head running locally, but brew's openssl install is not brave enough to update OS X's and attempt to h...
-
06:20 AM Feature #6744 (Feedback): ruby unable to run system commands that require elevated privileges
- Examples, download this file:
http://sourceforge.net/projects/smplayer/files/SMPlayer/0.6.9/smplayer-0.6.9-win32.exe
then attempt
>> system("./smplayer-0.6.9-win32.exe")
=> nil
(it should have worked, but displayed an elevated p... -
02:52 AM Bug #6743: Add documentation for debug library
- https://github.com/ruby/ruby/pull/146
-
02:51 AM Bug #6743 (Closed): Add documentation for debug library
- Added initial documentation for the library.
I've refactored DEBUGGER__ to Debugger so that it can appear in the documentation listing. -
02:48 AM Bug #6742: Emacs compilation-shell-minor-mode misconfiguration
- Somehow I managed to avoid including the patch file. Let's try that again.
-
02:30 AM Bug #6742 (Closed): Emacs compilation-shell-minor-mode misconfiguration
- In the definition of inferior-ruby-mode, compilation-shell-minor-mode is enabled before it's variables are set. The way compilation shell is written, this will cause very strange highlighting in the inferior buffer, and inconsistent and ...
-
02:06 AM Bug #6719: Documentation Error for String.sub()
- I think this needs to be resubmitted without all the reformatting.
07/16/2012
-
11:48 PM Bug #6203: Array#values_at does not handle ranges with end index past the end of the array
- matz (Yukihiro Matsumoto) wrote:
> The trailing nil must be a bug.
Was there a reason to change the behavior of `[].values_at(42..100)`? Could this not lead to incompatibilities?
Nobu: is there a reason not to fix `rb_range_beg_le... -
11:45 PM Feature #6739 (Feedback): One-line rescue statement should support specifying an exception class
- A `rescue` clause (non-modifier) can be followed by arbitrary expressions which would return a class or a module,
so the syntax in your proposal is unclear.
We had discussed about arguments to `rescue`-modifier when adding it, but no... -
06:49 AM Feature #6739 (Feedback): One-line rescue statement should support specifying an exception class
- Hi there,
When wrapping up a single line inside a `begin`/`rescue` block I feel constantly annoyed that I have to create a whole lot of bloated code just to rescue from a specific exception. For example:
~~~ruby
begin
File.read... -
10:52 PM Bug #6741 (Closed): (1 << 103).to_f.to_s is "10141204801825835000000000000000.0"
- This issue was solved with changeset r36409.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* numeric.c (flo_to_s): use the exponential form if the integer ... -
09:07 PM Bug #6741 (Closed): (1 << 103).to_f.to_s is "10141204801825835000000000000000.0"
- 気がついたのですが、Float#to_s が実際には 0 でない桁を 0 とした文字列を生成することがあります。
% ./ruby -ve '1.upto(200) {|i| p [i, (1 << i).to_f.to_s] }'
ruby 2.0.0dev (2012-07-15 trunk 36395) [x86_64-linux]
[1, "2.0"]
[2, "4.0"]
[3, "8.0"]
[4, "16.0"]
... -
10:42 PM Feature #4788: resolv.rb refactoring
- *Bump*
-
10:08 PM Bug #6740 (Closed): [readline] RDoc for basic_word_break_characters
- This issue was solved with changeset r36408.
Nobuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/readline/readline.c: fixed docs. [Bug #6740][ruby-core:... -
09:30 AM Bug #6740 (Closed): [readline] RDoc for basic_word_break_characters
- Default characters of basic_word_break_characters include a space (" ").
http://git.savannah.gnu.org/cgit/bash.git/tree/lib/readline/complete.c#n261
-
08:31 PM Feature #6737: Add Hash#read and alias as #[].
- @shyouhei
Well, you learn something new every day! Has #fetch always had second default argument?
I think that can work for #6442 then. The inefficiency I was concerned about was just about the error rescue.
Although... I imagine th... -
08:21 PM Feature #6737: Add Hash#read and alias as #[].
- @dbrian In part I wanted to submit this on it's own merits as well. I hesitated to even bring up #6442. I personally find having word forms for "symbol" methods a good thing in itself because they have semantic value and read better, whi...
-
03:58 PM Feature #6737: Add Hash#read and alias as #[].
- #fetch takes optional second argument. Tell us how inefficient it is.
-
02:41 PM Feature #6737 (Feedback): Add Hash#read and alias as #[].
- Based on the note in #6442, it is probably best you submit patches related to that feature request (such as this one for #read) there. There's no need to create separate issues for the patches you are going to submit. If you don't wish...
-
05:25 AM Feature #6737: Add Hash#read and alias as #[].
- > What is wrong with #fetch ?
There's one important difference, `#fetch` raises an error when a key isn't present, whereas #read returns nil. I worked on the design in pure Ruby, and at first I did try using #fetch, but ultimately concl... -
04:53 AM Feature #6737: Add Hash#read and alias as #[].
- What is wrong with #fetch?
-
02:08 AM Feature #6737 (Feedback): Add Hash#read and alias as #[].
- Just, generally speaking it is nice to have a word named method for things when that suites readability better. Most operators (outside of numerical math, of course) have word equivalents. I actually hope you will accept this request bas...
-
07:00 PM Revision 7d1f53e7 (git): * ext/psych/lib/psych/visitors/to_ruby.rb: strings with YAML anchors
- are properly referenced. Patched by Joe Rafaniello via Github:
https://github.com/tenderlove/psych/pull/69
* ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
* test/psych/test_alias_and_anchor.rb: test for change
git-svn-id: svn+ssh... -
06:09 PM Bug #3589 (Closed): Converting Bignums to Float for equality checks is wrong
- This issue was solved with changeset r36404.
Tomasz, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* bignum.c (rb_big_float_cmp): compare an integer and float pre... -
05:15 PM Bug #6708 (Closed): Remove useless parameter
- This issue was solved with changeset r36400.
Oscar, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/fileutils.rb (uptodate?): remove useless parameter.
patc... -
04:02 PM Feature #6183: Enumerator::Lazy performance issue
- Here's an update:
Finally I've fixed the last test for Enumerator::Lazy#inspect - now it supports procs chaining too.
Nobuyoshi Nakada, please, see diff attached and let me know your thoughts about this.
Thanks. - 03:28 PM Revision 43395d53 (git): Revert of r36411, as does not distinguish proc from lambda
- * proc.c (rb_proc_arity): Fix Proc#arity in case of optional arguments
[bug #5694] [rubyspec:b8b259] [rubyspec:184c8100f]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:19 PM Revision 1e18c8eb (git): * 2012-07-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:19 PM Revision 466f7f6c (git): Revert r33924.
- * proc.c (rb_proc_arity): Fix Proc#arity in case of optional arguments
[bug #5694] [rubyspec:b8b259] [rubyspec:184c8100f]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:30 PM Revision fae19d62 (git): * bignum.c (rb_integer_float_cmp): use FIXNUM_MIN and FIXNUM_MAX,
- instead of LONG_MIN and LONG_MAX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:52 PM Revision 0e2aa330 (git): * numeric.c (flo_to_s): use the exponential form if the integer part
- is longer than or equal DBL_DIG.
[ruby-dev:45960] [ruby-trunk - Bug #6741]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:08 PM Revision e985c49e (git): * ext/readline/readline.c: fixed docs. [Bug #6740][ruby-core:46501]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:39 AM Revision 04f09ef8 (git): * bignum.c (rb_integer_float_eq): new function.
- (rb_big_eq): use rb_integer_float_eq.
* internal.h (rb_integer_float_eq): declared.
* numeric.c (flo_eq): use rb_integer_float_eq.
(fix_equal): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36407 b2dd03c8-39d4-4d8f-98ff... -
10:02 AM Revision 858a832d (git): * bignum.c (rb_integer_float_cmp): rename a local variable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:54 AM Feature #6735: curses: support linking against pdcurses
- Actually the page on gnu.org is a copy (with some minor changes) of the file on my site.
I see that my faq didn't provide a link to the 5.8 release where MinGW was listed -
http://invisible-island.net/ncurses/announce-5.8.html
and y... -
09:41 AM Revision cf469774 (git): * bignum.c (rb_integer_float_cmp): renamed from rb_big_float_cmp.
- * internal.h: follow the above change.
* numeric.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:08 AM Revision 94735e9e (git): * bignum.c (rb_big_float_cmp): compare an integer and float precisely.
- [ruby-core:31376] [Bug #3589] reported by Tomasz Wegrzanowski.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:44 AM Revision 984729ba (git): * bignum.c (rb_big_float_cmp): support fixnum for argument x.
- * numeric.c (fix_equal): use rb_big_float_cmp.
(fix_cmp): ditto.
(fix_gt): ditto.
(fix_ge): ditto.
(fix_lt): ditto.
(fix_le): ditto.
(flo_eq): ditto.
(flo_cmp): use rb_big_float_cmp for fixnum argument.
(flo_gt): ditto.
... -
08:15 AM Revision 3fe481ae (git): fixed ChangeLog
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:15 AM Revision d570a76c (git): * test/fileutils/test_fileutils.rb: add test for FileUtils#uptodate?
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:15 AM Revision e6021a1b (git): * lib/fileutils.rb (uptodate?): remove useless parameter.
- patched by Oscar Del Ben.[Bug #6708][ruby-core:46256]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:38 AM Revision 8d0b1c25 (git): * bignum.c (rb_big_eq): use rb_big_float_cmp.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:02 AM Revision 6dd65bb3 (git): * internal.h (rb_big_float_cmp): declared.
- * bignum.c (rb_big_float_cmp): extracted from rb_big_cmp and big_op.
(rb_big_cmp): use rb_big_float_cmp.
(big_op): ditto.
* numeric.c (flo_cmp): use rb_big_float_cmp.
(flo_gt): ditto.
(flo_ge): ditto.
(flo_lt): ditto.
(flo_l... - 05:15 AM Revision 06e9e202 (git): * 2012-07-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:15 AM Revision 4cd00ffe (git): * bignum.c (enum big_op_t): new type.
- (big_op): use enum big_op_t.
(big_gt): ditto.
(big_ge): ditto.
(big_lt): ditto.
(big_le): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:10 AM Feature #6721: Object#yield_self
- drbrain (Eric Hodel) wrote:
> Your current names are less clear than using a local variable. Using a local variable reveals your intentions very clearly:
Well, using method chains with blocks is always less clear than using local var... -
03:00 AM Bug #6738: Typos / corrections in rdoc for Logger library
- =begin
Update examples for log format (especially time) to current Ruby version.
=end
-
02:19 AM Bug #6738 (Closed): Typos / corrections in rdoc for Logger library
- =begin
The attached patch fixes typos in the rdoc of lib/logger.rb.
=end