Activity
From 03/27/2011 to 04/02/2011
04/02/2011
-
05:34 PM Bug #4549: Can't start class names with non us-ascii chars
- =begin
irb(main):003:0> #encoding: UTF-8
irb(main):004:0* class Åäö; end
SyntaxError: (irb):4: class/module name must be CONSTANT
class Åäö; end
^
from /usr/local/bin/irb:12:in `<main>'
... -
05:33 PM Bug #4549 (Rejected): Can't start class names with non us-ascii chars
- =begin
irb(main):003:0> #encoding: UTF-8
irb(main):004:0* class Åäö; end
SyntaxError: (irb):4: class/module name must be CONSTANT
class Åäö; end
^
from /usr/local/bin/irb:12:in `<main>'
=end
-
07:23 AM Feature #4538: [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
- =begin
Charles Nutter <[email protected]> wrote:
> I wonder, though, if depending on this behavior is leading Ruby more
> and more down the GVL path. The designers of the JVM's core IO
> libraries, for example, were unable to re...
04/01/2011
-
07:01 PM Feature #4538: [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
- =begin
Understood. I read through a bit more code and saw that Ruby uses pthread signalling and RUBY_VM_CHECK_INTS after blocking regions to interrupt blocking operations.
I wonder, though, if depending on this behavior is leading Rub... -
07:29 AM Feature #4538: [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
- =begin
Charles Nutter <[email protected]> wrote:
> Is it possible to interrupt/wakeup a thread that's doing a direct
> blocking IO call? I always understood that as the primary reason for
> doing the select logic.
Yes for n... -
05:46 PM Bug #4547 (Closed): RUBY_HEAP_MIN_SLOTS is not reflected
- =begin
nariです。
環境変数RUBY_HEAP_MIN_SLOTSから値を取得して、一番最初のヒープサイズを指定できる機能(rb_gc_set_params())が r31044 にて追加されています。
ですが、ヒープを最初に作成するInit_heap()がrb_gc_set_params()よりも前に呼び出されてしまうため、環境変数RUBY_HEAP_MIN_SLOTSの値がヒープサイズに反映されません。
そこで、rb_gc_set_para... -
02:15 PM Bug #4476: [PATCH] URI('http://hoge/b/').route_to('http://hoge/b') wrongly returns './'
- =begin
I confirmed. Could you please commit your patch?
=end
-
01:29 PM Bug #4534: ri does not open $PAGER with program name only
- =begin
(('+1'))
=end
-
01:26 PM Revision 8a6e9ec0 (git): * ext/syslog/syslog.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:08 AM Bug #4546: ruby-indent-beg-re の値が壊れている
- =begin
新しい Redmine に慣れてなくて、patch が崩れてしまいました。
以下に再掲します。
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
index c799d8c..9023b77 100644
--- a/misc/ruby-mode.el
+++ b/misc/ruby-mode.el
@@ -72,7 +72,7 @@
"Regexp to match")
... -
10:06 AM Bug #4546 (Closed): ruby-indent-beg-re の値が壊れている
- vim-ruby の indent/ruby.vim を修正しようと思い ruby-mode.el を読んでいたところ
ruby-indent-beg-re の値が壊れているような気がしたので報告します。
r19205 で regexp-opt を使って正規表現を最適化するよう改善されていますが、
そのときに \\| が抜けてしまっています。
r19204 の 場合:
"\\(\\s *\\(class\\|module\\|def\\)\\)\\|i... - 10:02 AM Revision cc8bc6b7 (git): Fri Apr 1 18:53:06 2011 NAKAMURA, Hiroshi <[email protected]>
- * lib/webrick/cookie.rb (WEBrick::Cookie.parse): 'white space is
permitted between tokens' according to RFC2965. Though 'Netscape
spec' does not define the syntax clearly, make it tolerant as a
server. As a ... -
04:19 AM Revision 9d0fbe23 (git): * vm_core.h (RUBY_VM_CHECK_INTS_TH): merge a patch by ko1
- in [ruby-dev:43373].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/31/2011
-
11:32 PM Bug #3660: Trace events seem to be missing
- =begin
Keiju was this expected? I'm thinking it wasn't...
=end
-
11:15 PM Bug #4545 (Closed): [PATCH] syslog extension documentation improvements and fixes
- =begin
Small documentation fixes for the syslog extension.
The patch is a GIT patch on top of 7487298584145058f2340dc7a6e4da8d21fe5248.
Please let me know if you need a SVN patch instead.
Cheers,
Jonas
=end
-
10:43 PM Bug #4544 (Closed): Ripperで「:"a \n b \n c"」を正常にパースできない
- =begin
Ripper::SexpBuilder.new(%Q!:"a \n b \n c"!).parse にて、on_tstring_content メソッドが二回連続で呼び出されます。
検証済みバージョン
* ruby 1.9.3dev (2011-03-31 trunk 31223) [i686-linux]
* ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]
* ruby 1.9... -
10:24 PM Bug #4543: Ripperで"<<-eos\neos"を正常にパースできない
- =begin
require 'ripper'
class Parser < Ripper::SexpBuilder
ms = Ripper::SexpBuilder.new('').methods
defs = ms.map { |s| s.to_s }
.select { |s| s.start_with?('on_') }
.map { |s| %Q{
def #{s}(*args)
print... -
10:23 PM Bug #4543: Ripperで"<<-eos\neos"を正常にパースできない
- =begin
----"<<-eos\neos"----
on_heredoc_beg: ["<<-eos"]
on_string_content: []
on_string_literal: [[]]
on_nl: ["\n"]
on_stmts_new: []
on_stmts_add: [[], [[]]]
on_program: [[[], [[]]]]
----"<<-eos\n\neos----
on_heredoc... -
10:01 PM Bug #4543 (Closed): Ripperで"<<-eos\neos"を正常にパースできない
- =begin
Ripper::SexpBuilder.new(%Q!<<-eos\neos!).parse
にて、on_heredoc_end メソッドが呼び出されません。
■検証済みバージョン
ruby 1.9.3dev (2011-03-31 trunk 31223) [i686-linux]
ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]
ruby 1.9.1p431 (2011-02... -
05:23 PM Bug #4536: 定数参照について1.8と1.9の違い
- =begin
前田です。
2011年3月29日18:37 Shugo Maeda <[email protected]>:
>> # しかし,なんで Module::B なんだ.
>
> こっちはまだ見てませんが、何なんでしょうね…。
vm_get_ev_const()の中でroot_crefが正しく設定されないケースが
あったせいのようです。
修正したところ、test_eval.rbの以下のテストが失敗するようになりました... -
05:23 PM Bug #4536: 定数参照について1.8と1.9の違い
- =begin
前田です。
2011年3月29日18:37 Shugo Maeda <[email protected]>:
>> # しかし,なんで Module::B なんだ.
>
> こっちはまだ見てませんが、何なんでしょうね…。
vm_get_ev_const()の中でroot_crefが正しく設定されないケースが
あったせいのようです。
修正したところ、test_eval.rbの以下のテストが失敗するようになりました... -
04:44 PM Feature #4541 (Rejected): Inconsistent Array.slice()
- Array `slice`/`[]` method is a bit inconsistent. Is it just poorly documented "feature" or a bug? In API doc I can't find this behaviour mentioned as a "special case".
```ruby
def test_array_slice
array = ['a', 'b', 'c']
a... -
03:37 PM Feature #4538: [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
- =begin
Is it possible to interrupt/wakeup a thread that's doing a direct blocking IO call? I always understood that as the primary reason for doing the select logic.
=end
- 03:12 PM Revision 92b7d39e (git): * 2011-04-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:10 PM Revision 0916f978 (git): * ChangeLog: fix typo of r31205
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:15 PM Revision 2cda6302 (git): * misc/ruby-mode.el (ruby-brace-to-do-end, ruby-do-end-to-brace):
- adjust space between block beginning and block arguments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:42 AM Revision eb239b43 (git): * ext/strscan/strscan.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:07 AM Revision 74872985 (git): * vm_insnhelper.c (vm_get_ev_const): should ignore crefs with
- the NODE_FL_CREF_PUSHED_BY_EVAL flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:52 AM Revision 4273aa8e (git): * vm_insnhelper.c (vm_get_ev_const): search root cref properly.
- [ruby-dev:43365]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:54 AM Revision 3044423f (git): * 2011-03-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:54 AM Revision e3d7e34e (git): * eval.c (rb_mod_s_constants): should ignore crefs with
- the NODE_FL_CREF_PUSHED_BY_EVAL flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/30/2011
-
03:23 PM Bug #4536: 定数参照について1.8と1.9の違い
- =begin
前田です。
2011年3月30日8:28 Yukihiro Matsumoto <[email protected]>:
> テストでエラーが増えないようならコミットしていただけませんか?
test/ruby/test_defined.rbが失敗するようになりましたが、このバグに依存した
テストだったのでclass_evalを使わないように修正してcommitしました。
--
Shugo Maeda
=end
-
03:23 PM Bug #4536: 定数参照について1.8と1.9の違い
- =begin
前田です。
2011年3月30日8:28 Yukihiro Matsumoto <[email protected]>:
> テストでエラーが増えないようならコミットしていただけませんか?
test/ruby/test_defined.rbが失敗するようになりましたが、このバグに依存した
テストだったのでclass_evalを使わないように修正してcommitしました。
--
Shugo Maeda
=end
-
08:29 AM Bug #4536: 定数参照について1.8と1.9の違い
- =begin
まつもと ゆきひろです
テストでエラーが増えないようならコミットしていただけませんか?
In message "Re: [ruby-dev:43367] Re: [Ruby 1.9 - Bug #4536][Open] 定数参照について1.8と1.9の違い"
on Tue, 29 Mar 2011 18:37:47 +0900, Shugo Maeda <[email protected]> writes:
|
... -
08:29 AM Bug #4536: 定数参照について1.8と1.9の違い
- =begin
まつもと ゆきひろです
テストでエラーが増えないようならコミットしていただけませんか?
In message "Re: [ruby-dev:43367] Re: [Ruby 1.9 - Bug #4536][Open] 定数参照について1.8と1.9の違い"
on Tue, 29 Mar 2011 18:37:47 +0900, Shugo Maeda <[email protected]> writes:
|
... -
01:55 PM Revision 633cf770 (git): * misc/ruby-mode.el (ruby-toggle-block): toggle do/end and {}.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:54 PM Revision 764c486b (git): * misc/ruby-mode.el (ruby-move-to-block): move to opening of
- block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:48 PM Revision 3e2a0184 (git): * ext/date: use timev.h in toplevel.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:21 AM Feature #4539 (Rejected): Array#zip_with
- Inspired by Haskell's `zipWith` function, I hacked on together for Ruby:
```ruby
[1,2,3].zip_with([6,5,4], :+) #=> [7, 7, 7]
[1,2,3].zip_with([6,5,4]) { |a,b| 3*a+2*b } #=> [15, 16, 17]
```
So far I only have a Ruby version of i... -
05:38 AM Revision 3b20c218 (git): * vm_insnhelper.h (COPY_CREF): should copy
- the NODE_FL_CREF_PUSHED_BY_EVAL flag to hide constants from
methods defined by class_eval. [ruby-dev:43365]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:52 AM Revision 089462f5 (git): fixing syntax error in 1.8
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:38 AM Revision 9e448999 (git): converting require_relative to just regular requires
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:29 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- =begin
Eric Wong <[email protected]> wrote:
> On a related note:
>
> Ruby also still needlessly checks for read/writability with select()[2]
> even though though we have support for blocking regions. I think
> tha... -
03:23 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- =begin
KOSAKI Motohiro <[email protected]> wrote:
<snip>
Thanks again for your reply and support :>
> 2011/3/29 Eric Wong <[email protected]>:
> > I mainly think select() is a horrible interface and having extensi... -
03:23 AM Feature #4532: [PATCH] add IO#pread and IO#pwrite methods
- KOSAKI Motohiro <[email protected]> wrote:
> 2011/3/29 Eric Wong <[email protected]>:
> > KOSAKI Motohiro <[email protected]> wrote:
> >> Do we really need to introduce new method? Why can't we overload
> >> ... -
03:22 AM Feature #4538 (Closed): [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
- =begin
Please look at http://redmine.ruby-lang.org/issues/4535 before
this one. That one actually fixes a bug I noticed while working
on this patch.
Ruby 1.9 no longer depends on multiplexed non-blocking I/O
to do its threading a...
03/29/2011
-
10:05 PM Feature #4468 (Closed): String() should call to_str before to_s
- =begin
r31209 で変更しました。
=end
-
09:23 PM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- =begin
2011/3/29 Eric Wong <[email protected]>:
> KOSAKI Motohiro <[email protected]> wrote:
>> > ref: [ruby-core:35527]
>> >
>> > This adds a new C API function with the following prototype:
>> >
>> > Â rb_io_poll_fd... -
09:07 PM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- =begin
=end
-
02:23 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- =begin
KOSAKI Motohiro <[email protected]> wrote:
> > ref: [ruby-core:35527]
> >
> > This adds a new C API function with the following prototype:
> >
> > rb_io_poll_fd(int fd, short events, int timeout);
> >
> > ... -
01:59 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- =begin
Added a contrived test case, using a high RLIMIT_NOFILE (e.g. ulimit -n 16384) is recommended to make the results more apparent.
=end
-
09:23 PM Feature #4532: [PATCH] add IO#pread and IO#pwrite methods
- 2011/3/29 Eric Wong <[email protected]>:
> KOSAKI Motohiro <[email protected]> wrote:
>> 2011/3/28 Eric Wong <[email protected]>:
>> > Issue #4532 has been reported by Eric Wong.
>> >
>> > ---------------------... -
03:23 AM Feature #4532: [PATCH] add IO#pread and IO#pwrite methods
- KOSAKI Motohiro <[email protected]> wrote:
> 2011/3/28 Eric Wong <[email protected]>:
> > Issue #4532 has been reported by Eric Wong.
> >
> > ----------------------------------------
> > Feature #4532: [PATCH] add ... -
08:06 PM Bug #4537: Incorrectly creating private method via attr_accessor
- The following fails with a failure to call "`x=`" private method
```ruby
String.send(:attr_accessor, :x)
s = ""
s.x = 100
```
The following works:
```ruby
class String
self.send(:attr_accessor, :x)
end
s = ""
s.x = 10... -
08:04 PM Bug #4537 (Closed): Incorrectly creating private method via attr_accessor
- The following fails with a failure to call "`x=`" private method
```ruby
String.send(:attr_accessor, :x)
s = ""
s.x = 100
```
The following works:
```ruby
class String
self.send(:attr_accessor, :x)
end
s = ""
s.x = 10... -
07:23 PM Bug #4536: 定数参照について1.8と1.9の違い
- =begin
ささだです.
(2011/03/29 18:37), Shugo Maeda wrote:
> 以下のようにCOPY_CREFでフラグを伝搬させるとこの部分に関しては1.8と同じ動作になるようです。
>
> diff --git a/vm_insnhelper.h b/vm_insnhelper.h
> index 979c342..31ef216 100644
> --- a/vm_insnhelper.h
> +... -
07:23 PM Bug #4536: 定数参照について1.8と1.9の違い
- =begin
ささだです.
(2011/03/29 18:37), Shugo Maeda wrote:
> 以下のようにCOPY_CREFでフラグを伝搬させるとこの部分に関しては1.8と同じ動作になるようです。
>
> diff --git a/vm_insnhelper.h b/vm_insnhelper.h
> index 979c342..31ef216 100644
> --- a/vm_insnhelper.h
> +... -
07:23 PM Bug #4536: 定数参照について1.8と1.9の違い
- =begin
前田です。
2011年3月29日17:55 SASADA Koichi <[email protected]>:
> module A; B = 42; end
> A.class_eval{p B}
> #=> `block in <main>': uninitialized constant Module::B (NameError)
>
> なので,それが動くのはまずいかもしれませんね.少し考えさせてください.
以下... -
07:23 PM Bug #4536: 定数参照について1.8と1.9の違い
- =begin
前田です。
2011年3月29日17:55 SASADA Koichi <[email protected]>:
> module A; B = 42; end
> A.class_eval{p B}
> #=> `block in <main>': uninitialized constant Module::B (NameError)
>
> なので,それが動くのはまずいかもしれませんね.少し考えさせてください.
以下... -
06:23 PM Bug #4536: 定数参照について1.8と1.9の違い
- =begin
ささだです.
(2011/03/29 17:41), Yukihiro Matsumoto wrote:
> 以下のプログラムは1.8ではエラーになりますが、1.9ではエラーを
> 示さず動作します。定数参照は(できるだけ)静的スコープで、とい
> う設計方針に従えば、1.8の方が正しいと思います。
>
> どうやって直したら良いと思いますか? あるいは直さずに今後は
> 1.9的挙動が正としますか?
>
... -
06:23 PM Bug #4536: 定数参照について1.8と1.9の違い
- =begin
ささだです.
(2011/03/29 17:41), Yukihiro Matsumoto wrote:
> 以下のプログラムは1.8ではエラーになりますが、1.9ではエラーを
> 示さず動作します。定数参照は(できるだけ)静的スコープで、とい
> う設計方針に従えば、1.8の方が正しいと思います。
>
> どうやって直したら良いと思いますか? あるいは直さずに今後は
> 1.9的挙動が正としますか?
>
... -
05:41 PM Bug #4536 (Closed): 定数参照について1.8と1.9の違い
- =begin
以下のプログラムは1.8ではエラーになりますが、1.9ではエラーを
示さず動作します。定数参照は(できるだけ)静的スコープで、とい
う設計方針に従えば、1.8の方が正しいと思います。
どうやって直したら良いと思いますか? あるいは直さずに今後は
1.9的挙動が正としますか?
module A
B = 42
end
A.class_eval do
def self.f
p B
end
end
A... -
05:59 PM Bug #4502 (Assigned): strange Module.new behaviour
- =begin
=end
- 03:25 PM Revision 66ead6f2 (git): * 2011-03-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:25 PM Revision 80fb9c7b (git): * ext/stringio/stringio.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:01 PM Revision 76cc9bf0 (git): * fix a typo in ChangeLog
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:56 PM Revision a64103fb (git): * string.c (rb_String): Kernel#String should call to_str before to_s.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:37 AM Bug #4535: [PATCH] fix race in blocking send_io/recv_io
- =begin
I managed to get a reproducible test case working on a machine I have access to.
=end
-
06:23 AM Bug #4535 (Closed): [PATCH] fix race in blocking send_io/recv_io
- =begin
There is no need to call select() before entering a blocking I/O
region since other threads may run. select() cannot guarantee
readability if the IO is shared across different
threads/processes. Furthermore, we actually need... -
05:49 AM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
co-worker found tip in [[https://github.com/drewblas/aws-ses#readme]] to set
this environment variable:
RUBYOPT=-r openssl
Confirmed fixed the segfault I was running into on OSx 10.6.6 w/ 1.9.2p136 and IMAP over ssl.
Hopt... - 01:29 AM Revision d084c4f4 (git): * test/webrick/test_filehandler.rb
- (WEBrick::TestFileHandler#test_short_filename): the cgi doesn't exist
on current directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/28/2011
-
09:23 PM Feature #4532: [PATCH] add IO#pread and IO#pwrite methods
- 2011/3/28 Eric Wong <[email protected]>:
>
> Issue #4532 has been reported by Eric Wong.
>
> ----------------------------------------
> Feature #4532: [PATCH] add IO#pread and IO#pwrite methods
> http://redmine.ruby-lang... -
02:06 PM Feature #4532 (Closed): [PATCH] add IO#pread and IO#pwrite methods
- =begin
These methods are useful for safe/concurrent file I/O in
multi-thread/process environments and also fairly standard
nowadays especially in systems supporting pthreads.
pread() is already used internally for IO.copy_stream
=... -
09:23 PM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
- =begin
> ref: [ruby-core:35527]
>
> This adds a new C API function with the following prototype:
>
> Â rb_io_poll_fd(int fd, short events, int timeout);
>
> It is emulated using select() for platforms that we do not support
> po... -
11:48 AM Feature #4531 (Closed): [PATCH 0/7] use poll() instead of select() in certain cases
- =begin
ref: [ruby-core:35527]
This adds a new C API function with the following prototype:
rb_io_poll_fd(int fd, short events, int timeout);
It is emulated using select() for platforms that we do not support
poll() for. It... -
08:20 PM Revision d8ac44fc (git): * ext/socket/raddrinfo.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:29 PM Bug #4534 (Assigned): ri does not open $PAGER with program name only
- =begin
=end
-
06:03 PM Bug #4534 (Closed): ri does not open $PAGER with program name only
- =begin
When doing "ri String#unpack" on the shell prompt with environment variables
* RI unset
* PAGER set to "less"
* PATH including "/usr/bin"
and less being /usr/bin/less the pager won't be called. If I change PAGER to the full ... -
05:35 PM Bug #4533 (Rejected): rake db:migrate ----Segmentation fault
- rake db:migrate
(in H:/Ruby192/apps/simple_cms)
H:/Ruby192/apps/simple_cms/mysql/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_
support/notifications.rb:74: [BUG] Segmentation fault
ruby 1.9.2p180 (2011-02-18) [i386-mingw32]
-- c... - 04:52 PM Revision 1c2b0f4f (git): * 2011-03-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:52 PM Revision 5988d8cb (git): * test/webrick/test_filehandler.rb (test_short_filename):
- read real short filename by cmd because smb mounted files
have different naming convention.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:41 PM Revision 73dae42f (git): merges r30772,r30773 and r30776 from trunk into ruby_1_9_2.
- --
* ext/zlib/zlib.c (gzfile_reader_get_unused): use rb_str_new_shared
because gz->z.input is hidden string. [ruby-core:35057]
--
e ext/zlib/zlib.c (gzfile_reader_get_unused): use rb_str_resurrect
--
* ext/zlib/zlib.c (gzfile_reader_ge... -
01:40 PM Revision bb40ff92 (git): merges r30763 from trunk into ruby_1_9_2.
- --
* ext/psych/lib/psych/visitors/to_ruby.rb: ARG_ENCODING_NONE regular
expressions can round trip. [ruby-core:34969]
* test/psych/test_yaml.rb: test for ARG_ENCODING_NONE regex
* ext/sych/lib/syck/rubytypes.rb: ARG_ENCODING_NONE regul... -
01:40 PM Revision 67db9280 (git): merges r30743 from trunk into ruby_1_9_2.
- --
* thread.c (thread_start_func_2): check deadlock condition before
release thread stack. fix memory violation when deadlock detected.
reported by Max Aller. [Bug #4009] [ruby-core:32982]
git-svn-id: svn+ssh... -
01:40 PM Revision 4ed5cda9 (git): merges r30741 from trunk into ruby_1_9_2.
- --
* lib/irb/locale.rb (IRB::Locale::#search_file):
Gem might be undefined if --disable-gems. [ruby-core:34990]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:40 PM Revision 03a7970e (git): merges r30736,r30738 and r30739 from trunk into ruby_1_9_2.
- --
* array.c (rb_ary_uniq_bang): call ARY_SET_LEN(ary, 0) before
rb_resize_capa because rb_resize_capa expects resized length is
smaller than current array length. call rb_ary_unshare before
rb_resize_capa because rb_resize_capa lo... -
01:40 PM Revision b70f6464 (git): merges r30733 from trunk into ruby_1_9_2.
- --
* test/dl/test_dl2.rb (TestDL#test_sin): math functions do not
work on x86_64 due to the design of DL2.
* test/dl/test_func.rb (DL::TestFunc#test_{sinf,sin): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31... - 01:38 PM Revision 8d68d956 (git): * 2011-03-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:38 PM Revision ed086464 (git): merges r30727 and r30731 from trunk into ruby_1_9_2.
- --
* enc/emacs_mule.c (emacsmule_islead): fix inverse condition.
--
* enc/emacs_mule.c (emacsmule_islead): 7bit range is also leading
byte.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31197 b2dd03c8-39d4-4d8f-98ff-... -
01:38 PM Revision b243ccc4 (git): merges r30725 from trunk into ruby_1_9_2.
- --
* configure.in: Mac OS X wrongly reports it has fdatasync(3).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:11 AM Revision f2b3d517 (git): Fix test.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:41 AM Revision 09a4ae1b (git): * ext/date/date_core.c (date_s_today): use int for year.
- * ext/date/date_core.c (datetime_s_now): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:08 AM Revision 0dcb387a (git): * ext/extmk.rb: set MFLAGS from MAKEFLAGS when using nmake.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:07 AM Revision 96cf5ef0 (git): * 2011-03-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:07 AM Revision 8df70581 (git): * common.mk (love): all you need is love.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/27/2011
-
02:16 PM Revision 94a53351 (git): * ext/socket/ipsocket.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:23 AM Feature #4529: date_core と long 型
- =begin
> longは避けるべきという話は、「こういう運動」が指していると思われるwarning消し
> とは別の話で、可搬性の話です。
なんで別の話をしているのか、というのが胡散臭い理由なんでしょうね。ちょっ
と前の無理な修正と考え合せるととても不審に思います。理解してもらえると
思いますが。
> long を使うなという点は合意頂けてないので勝手に入れないとして、
> とりあえず y は int、jd と offset は... -
09:23 AM Feature #4529: date_core と long 型
- =begin
> longは避けるべきという話は、「こういう運動」が指していると思われるwarning消し
> とは別の話で、可搬性の話です。
なんで別の話をしているのか、というのが胡散臭い理由なんでしょうね。ちょっ
と前の無理な修正と考え合せるととても不審に思います。理解してもらえると
思いますが。
> long を使うなという点は合意頂けてないので勝手に入れないとして、
> とりあえず y は int、jd と offset は... -
07:29 AM Feature #4529: date_core と long 型
- =begin
(2011/03/26 21:40), Tadayoshi Funaba wrote:
>> 大きなユリウス日を将来的に扱えるようにしたいという話は理解できます。
>> で、ならば long ではなく int64_t を使った方がよいのではないかと。
>> long だと 32bit 環境はもちろん、LLP64 な環境 (64bit Windows) で残念なことになるので。
>
> 特に 64bit 欲しいわけではなく、比較的小さ... -
07:29 AM Feature #4529: date_core と long 型
- =begin
(2011/03/26 21:40), Tadayoshi Funaba wrote:
>> 大きなユリウス日を将来的に扱えるようにしたいという話は理解できます。
>> で、ならば long ではなく int64_t を使った方がよいのではないかと。
>> long だと 32bit 環境はもちろん、LLP64 な環境 (64bit Windows) で残念なことになるので。
>
> 特に 64bit 欲しいわけではなく、比較的小さ... -
07:55 AM Revision 1f1c31e3 (git): * misc/ruby-mode.el (ruby-mode-map): remove unnecessary
- binding. fixes
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468952
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:45 AM Revision 69a6b860 (git): * misc/ruby-mode.el: suppress warnings at byte compile. fixes
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502926
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:23 AM Revision e4d29d97 (git): * 2011-03-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:20 AM Revision ea490ced (git): * ext/date/date_core.c: removed unused variables.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e