Activity
From 10/28/2012 to 11/03/2012
11/03/2012
-
11:25 PM Bug #6896 (Feedback): Ruby crash bringing default http://localhost:3000 page
- From my experience, this kind of issues is often caused by a bug of the extension library.
I'd like to know why ibm_db maintainer(s) thought that this is Ruby's bug.
Of course, I cannot deny the possibility of Ruby's bug.
But anyw... -
09:02 PM Bug #7110 (Assigned): CGI: Add support for HTML5 <header> tag
- xibbar, are you willing to include this in 2.0.0?
If so, please commit it ASAP, before preview2 (planned at 1 Dec.) at the latest.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:52 PM Bug #6864: bad value for range when using infinity with date or time
- I see, thank you. Then, addressing this issue requires
changing Range's spec, which is too heavy from this time.
I postpone this to next minor.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:38 PM Bug #6864: bad value for range when using infinity with date or time
- this asymmetry is intentional.
i don't want to accept aNum + aDate.
Range's spec is variable. -
12:47 PM Bug #6864 (Assigned): bad value for range when using infinity with date or time
- This is caused by the following behavior.
p Date.today <=> 1.0 #=> 1
p 1.0 <=> Date.today #=> nil
Funaba-san, what do you think?
It may be good to provide Date#coerce.
--
Yusuke Endoh <mame@tsg.ne.jp> - 07:51 PM Revision 7ba2f1a9 (git): * 2012-11-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:51 PM Revision 129dafda (git): * ChangeLog: fix ML link for r37444 and r37447.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:39 PM Revision d4199057 (git): * complex.c: modified doc.
- * rational.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:11 PM Feature #4872: REXML::XMLDecl#encodingがStringではなくEncodingを返すようにする
- kou (Kouhei Sutou) wrote:
> * REXML::XMLDecl#encodingはEncodingを返すようにする。
これはやらないことにしました。
これをやりたかったもともとの理由は、ユーザーとしてエンコーディング情報を正規化した状態で扱いたかった(UTF-8かutf-8かとか気にしたくない)からでした。が、よく見てみたら、XMLDecl#encodingはupcaseして正規化していました。(utf-8を気にせずに常にUTF-... -
01:53 PM Bug #6832: Module#instance_method and Module#method_defined? act inconsistently w.r.t #respond_to_missing?
- +1, at least for instance_method returning an UnboundMethod.
On Fri, Nov 2, 2012 at 11:25 PM, mame (Yusuke Endoh) <mame@tsg.ne.jp> wrote:
>
> Issue #6832 has been updated by mame (Yusuke Endoh).
>
> Status changed from O... -
12:25 PM Bug #6832 (Assigned): Module#instance_method and Module#method_defined? act inconsistently w.r.t #respond_to_missing?
- Let me summarize:
class Foo
def method_missing(name, *args)
return super unless name =~ /^foo_/
puts name
end
def respond_to_missing?(name, include_private)
super || name =~ /^foo_... -
01:47 PM Bug #7230 (Closed): Updating Documentation for Dir::glob
- This issue was solved with changeset r37447.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* dir.c (Dir#glob):
Documentation for pattern section, backslas... - 01:39 PM Revision 64bb9749 (git): * ext/date/date_core.c: modified doc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:27 PM Bug #7179 (Closed): IO doc: wrong/misleading text for mode
- This issue was solved with changeset r37443.
Roman, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (IO#new):
Documentation for IO#open modes and formattin... -
01:27 PM Bug #7267: Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- Just another reason why Unicodes sucks.
Anyway, I know your feeling and I wish I could help you. The problem is, the world isn't built on top of Mac OS. So there're virtually thousands of different formats of hard disks, with differ... -
07:50 AM Bug #7267: Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- The problem I encountered here was that although the encoding is also UTF-8, apparently there are several flavours of UTF-8, NFC or NFD. This is not something most Ruby users will be familiar with, and I'm not sure it's really the same a...
-
04:18 AM Bug #7267: Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- meta (mathew murphy) wrote:
> Seems to me Ruby should pick one of the standard normalization forms
No, Ruby's M17N design is that it never picks one standard form of strings. Strings have various encodings and it's you, not ruby, wh... -
03:54 AM Bug #7267: Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- Relevant links:
http://search.cpan.org/~tomita/Encode-UTF8Mac-0.03/lib/Encode/UTF8Mac.pm
Seems to me Ruby should pick one of the standard normalization forms for all UTF-8 data, and convert when necessary.
Apparently there are O... -
12:40 PM Bug #6839: 1.9.3p194 [BUG] Segmentation fault
- What is `Tweet' class? Is it provided by some gem?
Can you reproduce this issue with out rails dependency?
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:35 PM Bug #6848 (Rejected): bundle install fails
- Another reference.
http://blog.55minutes.com/2012/01/fixing-a-segmentation-fault-in-ruby-193/
This looks a known issue of openssl binary bundled with Mac OS X.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:31 PM Bug #6825 (Assigned): forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- Kosaki-san, do you have any idea to addres this issue?
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:29 PM Feature #6177 (Closed): array.cのrb_ary_equal()の高速化
- r37438でrb_equal()後にArrayのサイズがiより小さくなっていない事をチェックするよう修正してコミットしました。
-
12:25 PM Feature #6177 (Assigned): array.cのrb_ary_equal()の高速化
- 2012年11月3日 2:45 znz (Kazuhiro NISHIYAMA) <redmine@ruby-lang.org>:
> 以下のようにすると p1, p2 の操作で配列の範囲外にアクセスしてしまうようです。
> ...
ご指摘ありがとうございます。
for文の継続条件に引っかかってくれるので実際に参照してしまう事はないのですが、不正なポインタを作ってしまうのは良くないですね。
修正します。 -
02:45 AM Feature #6177: array.cのrb_ary_equal()の高速化
- 以下のようにすると p1, p2 の操作で配列の範囲外にアクセスしてしまうようです。
p1++ などのポインタ操作だけで参照までは行かなかったですが。
A = Array.new(3){|n| n.to_s }
B = A.dup
obj = Object.new
def obj.==(o)
A.clear
B.clear
GC.start
true
end
A[1] = obj
A == B
-
12:23 PM Bug #7112: File.extname documentation fix
- Eregon, what do you suggest?
I sorta feel like covering every special case would be bad, but maybe add a few more examples? -
12:20 PM Bug #6820 (Assigned): Time#to_s on NEWS
- Aaron, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:17 PM Feature #6810 (Assigned): `module A::B; end` is not equivalent to `module A; module B; end; end` with respect to constant lookup (scope)
- As Xavier Noria said, this is actually an intended behavior. So I'm moving this ticket to the feature tracker.
And assigning to matz, though I think it is hopeless to change this basic behavior...
At least, matz can explain the ration... -
12:11 PM Bug #6805 (Rejected): heroku connection failure
- Agreed with Sorah.
This looks a famous issue of openssl binary bundled with Mac OS X.
See the following site in detail.
http://blog.55minutes.com/2012/01/fixing-a-segmentation-fault-in-ruby-193/
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:06 PM Feature #6783 (Closed): Infinite loop in inspect, not overriding inspect, to_s, and no known circular references. Stepping into inspect in debugger locks it up with 100% CPU.
-
11:43 AM Bug #6776 (Rejected): segment fault for 1.9.3 trunk crosscompiled runing on am335x
- Sorry, there is no arm maintainer. Please try to create a patch yourself
if you need.
If you provide the patch for us, please open a ticket. We will check if
it is benign for other platforms and may apply to trunk.
--
Yusuke En... -
11:35 AM Bug #6773 (Assigned): "You may have encountered a bug in the Ruby interpreter or extension libraries."
- The reproducing process is stated in http://railscasts.com/episodes/366-sidekiq, right?
No one can repro this? Sorah, could you try?
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:13 AM Bug #6756 (Assigned): FileUtils.rm_rf がアクセス権のない空ディレクトリを削除しない
- 以下のパッチで直りますが、影響無いですかね。make check は通りました。
反対がなさそうならコミットします。が、問題が起きたら revert となります。
diff --git a/lib/fileutils.rb b/lib/fileutils.rb
index 67cc79f..b18ca30 100644
--- a/lib/fileutils.rb
+++ b/lib/fileutils.rb
@@ -1534,6 +1534,7 @... -
10:58 AM Bug #6750 (Assigned): Comment above rb_iseq_struct.local_size gives out of date description
- Thank you. Ko1, do you apply his patch? It is clearly benign.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:56 AM Bug #6645: Segmentation fault in net/http.rb
- At least, we need your whole source code to reproduce. Can you provide?
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:52 AM Feature #6744 (Assigned): ruby unable to run system commands that require elevated privileges
- Usa-san, Tarui-san, Shirosaki-san, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:44 AM Bug #6742 (Assigned): Emacs compilation-shell-minor-mode misconfiguration
- Nobu, please check this.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:40 AM Bug #6718 (Rejected): ruby segfault in abstract_mysql_adapter.rb when trying to run from command-line
- The reproducing process is incomplete (what is contained in "schoolyard/releases/20120710202724"?), and no feedback.
We cannot investigate this issue any more. Please reopen with the information if you need.
--
Yusuke Endoh <mame@... -
10:37 AM Feature #3346 (Closed): __DIR__ revisted
- This issue was solved with changeset r37432.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval.c (f_current_dirname): add the new method for Kernel.
... -
10:37 AM Bug #6704 (Rejected): Random core dump
- If it happens again, please reopen this ticket with how to reproduce.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:12 AM Feature #4085: Refinements and nested methods
- headius (Charles Nutter) wrote:
> Ok, early notes from writing up specs and starting to explore an implementation for JRuby.
Thanks.
> ...
The current behavior is mainly for an implementation reason, but Matz and ko1 seem not to l... -
02:12 AM Feature #4085: Refinements and nested methods
- Adding a couple additional positive notes:
* For now, I don't see a reason for using and refine to be keywords.
using and refine basically just add some additional state to modules and methods.
For refine:
* add to the module... -
02:06 AM Feature #4085: Refinements and nested methods
- Ok, early notes from writing up specs and starting to explore an implementation for JRuby.
* Refinements in modules and class hierarchies does not seem like a problem to me yet.
* Refinements are "used" in temporal order...methods ad... -
09:41 AM Revision 65b746be (git): * vm.c (rb_vm_rewrite_ep_in_errinfo, vm_rewrite_ep_in_errinfo):
- merge code and remove `rb_vm_rewrite_ep_in_errinfo'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:29 AM Bug #7269 (Closed): Refinement doesn't work if using locate after method
- Refinement doesn't work if using locate after method.
(I eliminate discussion because my laptop doesn't have enough power...)
class C
def foo
p :C_foo
end
end
module M1
refine C do
def foo
p :M1_foo
... -
09:25 AM Bug #6995 (Feedback): Code converter not found (UTF-8 to EUC-TW)
- We don't have UTF-8:EUC-TW converter yet.
If you want it, make a feature request ticket.
But as far as I know EUC-TW is not widely used, it is only used in goverment.
Instead of EUC-TW, many people use Big5.
Do you really need EUC-... -
09:23 AM Bug #2154: filesystem encoding of UNIX
- >> 2) ロケールはUTF-8だけどファイルシステムエンコーディングはUTF8MACな某OS
>>
>> というパターンだと思うので、これをケアする必要があるならAPIが必要そうに思えます。要望を上がってこない所をみるとあんまり困ってないのかな
>
> 後者に関してはリクエストが来てますね([ruby-core:48745] [Bug #7267])、否定的な返答しちゃったけど。
まったく技術的じゃない感覚論でいうと、Macユーザロケール... -
05:23 AM Bug #2154: filesystem encoding of UNIX
- On 11/02/2012 01:56 PM, KOSAKI Motohiro wrote:
>>> とくに指定しなければ、default external は locale から設定されるので、
>>> 「UNIXにおけるfilesystem encodingはlocaleである」というのはそれほど
>>> 変ではないのではないでしょうか。
>>
>> ふむ。
>> とすると、本当は、filesystem encodingを明示して設定するA... -
04:59 AM Bug #2154: filesystem encoding of UNIX
- >> とくに指定しなければ、default external は locale から設定されるので、
>> 「UNIXにおけるfilesystem encodingはlocaleである」というのはそれほど
>> 変ではないのではないでしょうか。
>
> ふむ。
> とすると、本当は、filesystem encodingを明示して設定するAPIが
> 合ったほうがいいんでしょうかね。
> 2.0.0にも間に合わなわなさそうなので今は深入りを... -
09:18 AM Revision 049ace58 (git): * vm.c, proc.c: avoid unnecessary `rb_vm_rewrite_ep_in_errinfo'
- calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:14 AM Revision c1dbeada (git): * ChangeLog: fix.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:07 AM Feature #6762: Control interrupt timing
- and maybe undeferred is better than immediate. :)
because 'immediate' can't guarantee an interrupt fire immediately when running heavy weight C code.
-
08:36 AM Feature #6762: Control interrupt timing
- > It still remains naming consideration.
> ...
After while thinking, I prefer to suggest this control_interrupt() method doesn't support to mask trap handler.
because of,
- people only want to defer Interrupt exception. trap hander... -
08:33 AM Feature #6762: Control interrupt timing
- > >> * Thread.control_interrupt
> ...
>
> Okay. Give us a good name.
How's this?
control_interrupt() => defer_async_raise() or defer_unwinding()
"control" is unclear and don't explain what action does. Actually this procedur... - 08:56 AM Revision 98d69f42 (git): * bin/testrb: Use only Test::Unit::AutoRunner in test-unit gem
- compatible API to be available by both test/unit bundled in Ruby
and test-unit gem.
* lib/test/unit.rb (Test::Unit::AutoRunner): Move codes from testrb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37455 b2dd03c8-39d4-4d8f-98ff-... - 05:59 AM Revision 0ae90522 (git): * ext/date/date_parse.c (parse_eu): should capture apostrophe too.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:47 AM Revision d55aa2bf (git): * ext/date/date_parse.c (date__parse): revised the tight parser.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:44 AM Revision 6bc138b0 (git): * lib/rexml/xmldecl.rb (REXML::XMLDecl#content): Add missing \A
- and \z.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:43 AM Revision 04f41f01 (git): * lib/rexml/output.rb (REXML::Output#initialize): Use normalized
- encoding name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:42 AM Revision ac9a8ac6 (git): * lib/rexml/output.rb (REXML::Output): Don't output BOM in middle
- of the output string.
* test/rexml/test_document.rb: Add a test for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:11 AM Revision 15a743b3 (git): * NEWS: Add an item about REXML::Document#write.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:05 AM Feature #5422: File.fnmatch != Dir.glob # {no,sets}
- Thanks for your agreement Thomas.
Hey Ruby-core developers, we have agreed on the following API, where passing a File::FNM_EXTGLOB flag (the name "extglob" comes from the Bash/Zsh option for extended globbing) to the File.fnmatch meth... - 04:58 AM Revision 82aef2ae (git): * test/rexml/test_document.rb: Fix tests that expect encoding name
- isn't normalized.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:47 AM Revision c420f844 (git): * dir.c (Dir#glob):
- Documentation for pattern section, backslash subsection
Patch by Eric Bouchut
[ruby-core#48528] [Bug #7230]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:46 AM Revision bdbc8c5b (git): Revert r37439 and r37441
- r37439:
* lib/rexml/xmldecl.rb (REXML::XMLDecl): Stop using REXML::Encoding
module because XMLDecl doesn't convert encoding. This causes
removing XML encoding name normalization (encoding.upcase).
En... -
04:40 AM Revision 4aca275e (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:28 AM Revision c442d221 (git): * io.c (IO#new):
- Documentation for IO#open modes and formatting
[ruby-core#48052] [Bug #7179]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:27 AM Revision 4d422778 (git): * io.c (IO#new):
- Documentation for IO#open modes and formatting
[ruby-core#48052] [Bug #7179]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:22 AM Bug #6460 (Closed): `unexpected return' occurs when a proc is called in ensure
- やっぱり全部辿らないとまずいですね。
r37430でコミットしました。 -
01:14 AM Bug #6460: `unexpected return' occurs when a proc is called in ensure
- =begin
辻本です。
なかださんのパッチだと、例えば以下のようなコードでunexpected returnとなってしまいます。
class C
def m1
m2{|e|
return
}
end
def m2
begin
yield :foo
ensure
begin
begin
... -
04:10 AM Bug #7264: Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4
- =begin
I can reproduce it doing the build manually with (({./configure; make})). Logs attached. gcc version:
erlang:ruby-2.0.0-preview1 lambda$ gcc-4.2 --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build ... - 04:03 AM Revision dbfb5dea (git): * test/rexml/test_encoding.rb (EncodingTester#test_in_different_out):
- Fix a test that expects encoding in XML declaration is changed by
Output's encoding. It is dropped feature.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:55 AM Revision 9c606a0a (git): * test/rexml/test_core.rb (Tester#test_ticket_88): Follow the
- change that encoding name in XML declaration isn't normalized.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:53 AM Revision 3f817764 (git): * lib/rexml/document.rb (REXML::Document#write): Document encoding
- option. Now different encoding between XML file's encoding and
XML declaration's encodiong is support.
[Feature #4872] (work in progress)
* lib/rexml/xmldecl.rb (REXML::XMLDecl#write): Always use XMLDecl's
encoding.
* test/rexml/te... - 03:41 AM Revision 69eedf6a (git): * lib/rexml/xmldecl.rb (REXML::XMLDecl): Stop using REXML::Encoding
- module because XMLDecl doesn't convert encoding. This causes
removing XML encoding name normalization (encoding.upcase).
Encoding name in XML declaration is what user specifies.
I think this is reasonable change.
* test/rexml/test_... -
03:21 AM Revision c032c5bc (git): * array.c (recursive_equal): fix not to make invalid pointers when
- self and other are resized to same size in #== of their elements.
[ruby-dev:46373] [Feature #6177]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:06 AM Revision bd202416 (git): * test/rexml/test_xml_declaration.rb (TestXmlDeclaration#test_*):
- Remove needless prefix from test names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:05 AM Revision 9a2dc8f9 (git): * test/rexml/test_xml_declaration_parent_child.rb: Rename to ...
- * test/rexml/test_xml_declaration.rb: ... this.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:45 AM Revision 63e9bc50 (git): * hash.c (rb_hash_delete): Correct grammar
- Patch by Glenn Oppegard
[Fixes #208 Github]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:35 AM Revision 41663902 (git): * NEWS: add a news about GC::Profiler.raw_data.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:35 AM Revision e2f95165 (git): * NEWS: add a news about rb_newobj_of() and NEWOBJ_OF().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:37 AM Revision 805b08f2 (git): * eval.c (f_current_dirname): add the new method for Kernel.
- This method almotst same as File.dirname(__FILE__). One
different behavior is it returns nil when __FILE__ returns nil.
[Feature #3346]
* NEWS: ditto
* test/ruby/test_method.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.or... -
01:01 AM Feature #6173: re.cのrb_memsearch()におけるmemchr()の利用
- ベンチマークの負荷が小さすぎて非常に短い時間で終わってしまい、他の要因に左右されている可能性を否定できないと思ったので、
文字列の大きさと繰り返し回数を増やしてベンチマークを取り直しました。
require 'benchmark'
str = " " * 10_0000 + "\n"
Benchmark.bm do |x|
x.report do
10000.times do
str.index("\n")
e... -
12:09 AM Revision d2fd7f32 (git): * test/ruby/test_refinement.rb (test_new_method_by_send,
- test_new_method_by_method_object): add tests for Kernel#send and
Kernel#method with refinements.
* test/ruby/test_refinement.rb (test_symbol_to_proc): add a test
calling a proc created by Symbol#to_proc outside the scope where
a r...
11/02/2012
-
11:30 PM Bug #7092: StringScanner start-of-line matches false positives, while lookbehind for a newline gives false negatives
- I guess it would be intentional.
'^' and '\A' are `beginning of the target' (and beginning of a line for ^) anchors, so seems reasonable that it matches the beginning of the part to be matched. -
10:12 PM Bug #7092: StringScanner start-of-line matches false positives, while lookbehind for a newline gives false negatives
- FYI: You may want to use StringScanner#beginning_of_line?.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:11 PM Bug #7092 (Feedback): StringScanner start-of-line matches false positives, while lookbehind for a newline gives false negatives
- Sorry for late reply.
Honestly, it is difficult to say whether it is intended or a bug because there is no strscan maintainer.
But since 1.8, StringScanner#scan has behaved so. I guess there is some existing programs that depends on... -
08:33 PM Bug #7092: StringScanner start-of-line matches false positives, while lookbehind for a newline gives false negatives
- I've now reproduced this in 2.0.0-preview1. Is anyone out there...?
-
11:27 PM Bug #7264: Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4
- Bad news. Nobu failed to reproduce this issue.
Could you try to build preview1 without ruby-build?
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:13 PM Bug #7264 (Assigned): Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4
- Thank you for the report! Sorah will check it early next week.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:11 PM Bug #7264 (Third Party's Issue): Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4
- =begin
I tried installing ruby-2.0.0-preview1 using rbenv install on Mac OS X 10.7.4. It crashed in miniruby while generating encdb.h
CC = gcc-4.2
LD = ld
LDSHARED = gcc-4.2 -dynamic -bundle
CFLAGS = -O3 -fno-fast-math -ggdb3 ... -
09:10 PM Feature #3388: regexp support for start_with? and end_with?
- headius (Charles Nutter) wrote:
> JRuby currently does have a global cache for regexps. If you're interested, one of us can show you how it works.
Interesting. I see it's implemented using a SoftReference map.
I'm not aware of somet... -
08:53 PM Bug #2154: filesystem encoding of UNIX
- こんにちは、なかむら(う)です。
In message "[ruby-dev:46310] Re: [ruby-trunk - Bug #2154][Assigned] filesystem encoding of UNIX"
on Oct.29,2012 10:57:06, <akr@fsij.org> wrote:
> その時点の記憶はすでにないのですが、おそらく、
> locale と異なる encoding でパス名を扱いたい場合... -
08:32 PM Bug #7267: Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- Output of the test.rb script:
Tested on Ruby 2.0.0-preview and 1.9.3 on Mac OS X
1.9.3x86_64-darwin11.4.0
Inline string works as expected
Source encoding: UTF-8
External encoding: UTF-8
Name: "./Testé.txt"
Encoding: UTF-8
Chars... -
07:54 PM Bug #7267 (Closed): Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- Tested on Ruby 1.9.3-p194 and ruby-2.0.0-preview1 on Mac OS X 10. 7.5
When calling file system methods with Ruby on Mac OS X, it is not possible to manipulate the resulting file name as a normal UTF-8 string, even though it reports th... -
08:21 PM Bug #6675 (Rejected): Raise exception when convert encoding of a character from GBK to UTF
- No feedback, closing.
2012/7/2 "Martin J. Dürst" <duerst@it.aoyama.ac.jp>:
> \ue863 is in the Unicode private use area. Therefore, conversion to GBK
> ...
I guess Justen expected round-trip.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:05 PM Bug #6508 (Rejected): Add an (optional) GNU configure option to demand libyaml before continuing, when compiling ruby from source
-
08:05 PM Bug #6431 (Rejected): Segmentation Fault When Using RightAWS with Delayed Job To Connect to Amazon S3
- Agreed with naruse-san. Looks like os x's broken openssl issue.
Please try the workaround, and reopen this ticket if the issue still occurs.
See also #6217.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:03 PM Bug #6355 (Closed): arm-linux build test suite fails: on : /lib/ruby/1.9.1/arm-linux/digest/md5.so: [BUG] Segmentation fault
-
08:03 PM Bug #6363 (Rejected): mak test fail on hpux 11.31 ia
- No feedback, we cannot grasp the current situation. Closing.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:02 PM Bug #6358 (Closed): arm-linux : sleep() time dependent threading bug
-
08:02 PM Bug #7265 (Closed): r37414 breaks building with BSD make and nmake.
- This issue was solved with changeset r37426.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
mkmf.rb: timestamp_file
* lib/mkmf.rb (MakeMakefile#timestamp_f... -
04:08 PM Bug #7265 (Closed): r37414 breaks building with BSD make and nmake.
- # IRCでなかださんにも伝えましたけど、直さないで寝たっぽいので
# チケット化しておきます。
表題の通りですが、例えばBSD makeで普通にビルドしようとすると
...
compiling bigdecimal.c
linking shared-object bigdecimal.so
make: don't know how to make ./.@RUBYLIBDIR@!bigdecimal.time. Stop
make: ... -
08:01 PM Bug #6356 (Rejected): arm linux build test suite fails on test/socket
- No feedback, we cannot grasp the current situation. Closing.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:00 PM Bug #5680 (Rejected): IPPROTO_GGP undeclared when compiling ext/socket/constants.c
- No feedback, closing.
Please open a new ticket if anyone creates a patch.
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:59 PM Bug #5882 (Rejected): segfault in miniruby in ruby1.9.3 crosscompile for ARM
- No feedback, closing.
Please open a new ticket if anyone creates a patch.
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:47 PM Bug #6217 (Rejected): Bundle crash
- Agreed with Luis. Closing.
This looks the famous known issue of the openssl binary bundled in OS X.
Please try his advice, and reopen this ticket if the issue still occurs.
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:14 PM Revision f7894e42 (git): vm.c: rewrite all catch points
- * vm.c (rb_vm_rewrite_ep_in_errinfo): rewrite all catch points in
errinfo, not only the topmost frame. based on the patch by
ktsj (Kazuki Tsujimoto) in [ruby-dev:45656]. [Bug #6460]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun... -
06:34 PM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- tarui (Masaya Tarui) wrote:
> I think reasonable to change specification to stop calling to_path
> ...
I agree with that. to_path of T_STRING may be less-useful.
Then I'm going to stop calling to_path of T_STRING in rb_get_path_check... -
03:53 PM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster - Hi,
In message "Re: [ruby-core:48738] Re: [ruby-trunk - Bug #7158] require is slow in its bookkeeping; can make Rails startup 2.2x faster"
on Fri, 2 Nov 2012 14:42:16 +0900, SASADA Koichi <ko1@atdot.net> writes:
|
|(2012/... -
02:53 PM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- (2012/11/01 21:10), Masaya TARUI wrote:
> shirosaki-san, sasada-san, endoh-san, what do you think?
I don't have any idea on it.
Matz:
Please decide it.
--
// SASADA Koichi at atdot dot net -
12:23 PM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- Thank you for the careful work.
Although I saw patch, compatibility is maintained now or it cannot
have confidence.
ex) OK even if String#to_path is defined after constructing expand_path?
I think reasonable to change spec... -
09:10 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- Just wanted to update with some test results. I tried Hiroshi's patch along with my DTrace patches to time require searches against a small Rails application. Without GC running, before Hiroshi's patch, require searching took about 30%...
-
06:11 PM Bug #7262 (Assigned): module extension (#include/#prepend) in refinements
-
06:11 PM Bug #7262: module extension (#include/#prepend) in refinements
- 匿名ユーザ wrote:
> ということは、通常のメソッドを追加するだけであればrefinement
> ...
prependの方はちょっと変な挙動になっているようなので少し考えさせてください。
class C
def foo
[:C]
end
end
module M1
def foo
super << :M1
end
end
module M2
def foo
super <<... -
05:54 PM Bug #7262: module extension (#include/#prepend) in refinements - まつもと ゆきひろです
In message "Re: [ruby-dev:46351] [ruby-trunk - Bug #7262] module extension (#include/#prepend) in refinements"
on Fri, 2 Nov 2012 12:04:27 +0900, "shugo (Shugo Maeda)" <redmine@ruby-lang.org> writes:
|まとめる... -
12:04 PM Bug #7262: module extension (#include/#prepend) in refinements
- matz (Yukihiro Matsumoto) wrote:
> refinementの中でモジュールのincludeやprependがしたい(かつ、そのスコープの範囲内だけで有効にしたい)なんて思ったんですが、きっと困難ですよね。
> ...
# 以下では"refinement"はrefineのブロック中のselfになる匿名モジュールを指します。
Enumerableにはeachは定義されていないので、以下のようにしたいということでしょうか。
mo... -
06:12 AM Bug #7262 (Closed): module extension (#include/#prepend) in refinements
- refinementの中でモジュールのincludeやprependがしたい(かつ、そのスコープの範囲内だけで有効にしたい)なんて思ったんですが、きっと困難ですよね。
「無理」と思ったら遠慮なくrejectしてください。
module Experiment
refine String do
include Enumerable
def foo; p :foo; end
end
end
using... -
05:56 PM Bug #6897 (Closed): With --no-retry option parallel test-all result
- This issue was solved with changeset r37425.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/test/unit.rb (_run_parallel): Delete status line before ... -
04:25 PM Bug #6914 (Feedback): unable to build ruby-head
- 1. In Mountain Lion, crash logs are in ~/Library/Logs/DiagnosticReports or /Library/Logs/DiagnosticReports. Please check these places and attach if you found.
2. try again after cleaning ruby-head gemset and ruby-head installation if yo... -
04:23 PM Bug #6577 (Closed): GC中にstack overflowが発生するとSEGVする
- そうですね、よいとおもいます、ありがとうございました。
なお、聞くべき対象はわたしなので feedback じゃなくて assgined であるべきだったかと。
Feedback は開発者出ない報告者か、誰ともなく助けを求めるときのためのものなので。 -
04:04 PM Feature #6177 (Closed): array.cのrb_ary_equal()の高速化 - This issue was solved with changeset r37420.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* array.c (recursive_equal): performance improvement.
[ruby-dev... - 03:28 PM Revision 0446be77 (git): * 2012-11-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:28 PM Revision 2f3068fd (git): * ChangeLog: add explanation about how performace is improved in r37420.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:48 PM Bug #7261 (Closed): Symbol#to_proc to retrieve a method from current refinement
- This issue was solved with changeset r37418.
Yukihiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c (sym_to_proc, sym_call): A Proc created by Symbol#... -
05:52 AM Bug #7261 (Closed): Symbol#to_proc to retrieve a method from current refinement
- Currently Symbol#to_proc retrieves the global definition of the method, since refinement is a lexical scope.
But if possible, it is better that Symbol#to_proc can retrieve a method from current refinement.
module Silly
refine ... -
02:48 PM Feature #6609 (Closed): Toplevel as self extended module
- This issue was solved with changeset r37417.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
proc.c: main.define_method
* proc.c (top_define_method): new m... -
02:37 PM Feature #7028 (Assigned): Please Repatch FileUtils.compare_stream
-
12:47 PM Bug #7263 (Rejected): ruby 2.0.0-preview1 does not detect readline on Fedora 17 x86-64
- Thank you, feel free to report any other things you notice!
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:43 PM Bug #7263: ruby 2.0.0-preview1 does not detect readline on Fedora 17 x86-64
- Nevermind, close this! Built ruby 2.0.0-preview1 manually and that fixed the problem.
-
12:32 PM Bug #7263 (Rejected): ruby 2.0.0-preview1 does not detect readline on Fedora 17 x86-64
- I just installed ruby 2.0.0-preview1 using ruby-build [1] on Fedora 17 x86-64. However, it appears ./configure did not detect Fedora's readline 6.2 (/usr/lib64/libreadline.so.6 and /usr/include/readline/):
$ ruby-build -k 2.0.0-pr... -
11:54 AM Feature #4085: Refinements and nested methods
- headius (Charles Nutter) wrote:
> I would like to request time to implement refinements as they stand today in JRuby.
> ...
Thanks for your consideration of Refinements.
Please inform me if the current behavior of Refinements is hard ... -
07:03 AM Feature #4085: Refinements and nested methods
- I would like to request time to implement refinements as they stand today in JRuby.
We have not had much time to look into how refinements will affect the way we optimize Ruby code, structure class hierarchies, and so on. The impact c... -
11:11 AM Revision 5f06ee7e (git): mkmf.rb: timestamp_file
- * lib/mkmf.rb (MakeMakefile#timestamp_file): remove @ which looks like
configure variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:02 AM Revision e627955d (git): mkmf.rb: timestamp_file
- * lib/mkmf.rb (MakeMakefile#timestamp_file): use .-. instead of !, a
special character of NMAKE and BSD make. [Bug #7265]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:40 AM Bug #6460 (Open): `unexpected return' occurs when a proc is called in ensure
- =begin
これどうしましょうか。
最低限のパッチはこんな感じみたいです。
index d4d4ebb..3f31558 100644
--- i/vm.c
+++ w/vm.c
@@ -493,9 +494,20 @@ rb_vm_make_env_object(rb_thread_t * th, rb_control_frame_t *cfp)
return envval;
}
+static int vm_... -
09:35 AM Bug #7198: No documentation of Psych on ruby-doc.org
- Thanks Eric, I wasn't sure if TPI was considered resolved.
-
07:38 AM Bug #7198 (Third Party's Issue): No documentation of Psych on ruby-doc.org
- Closed and Third Party Issue are separate resolutions
-
08:56 AM Revision 7f6d2173 (git): * lib/test/unit.rb (_run_parallel): Delete status line before showing
- results. Patch by Hiroshi Shirosaki. [Bug #6897] [ruby-core:47250]
* lib/test/unit.rb (_run_parallel): Fix strange result when disabled retrying.
Patch by Hiroshi Shirosaki. [Bug #6897] [ruby-core:47250]
git-svn-id: svn+ssh://ci.ruby... -
08:53 AM Revision b14e2b44 (git): * object.c (rb_mod_to_s): Module#{to_s,inspect}, when invoked on
- a refinement, returns a string in the format #<refinement:C@M>,
where C is a refined class and M is a module at which the refinemet
is defined.
* eval.c (rb_mod_refine): store information on a refinement for the
above change.
* t... -
08:35 AM Bug #7260 (Closed): make realclean でError
- r37414で修正しました。
-
02:52 AM Bug #7260 (Closed): make realclean でError
- tkを削除しようとするときにエラーが出ているようです。
$ make realclean
sed 's/{\$([^(){}]*)[^{}]*}//g' common.mk > uncommon.mk
cd -P . && exec autoconf
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --prefix=/Users/ayumin/temp/ruby --with-arch=x86_64 --wi... -
08:20 AM Feature #2565: adding hooks for better tracing
- Aaron,
At the developers' meeting, matz entirely leaved this up to Yugui.
I must say "please confirm Yugui"... But I know she is absence a while,
and I believe she would accept it willingly.
So, please go ahead. ASAP. It will b... -
05:07 AM Feature #2565: adding hooks for better tracing
- I've attached an updated version of the dtrace probes.
@mame-san may I commit this to trunk? @ko1 said I should ask you. :-) -
08:00 AM Revision a8b3d67e (git): * vm_dump.c (rb_vm_bugreport): Because of many log directories,
- making directory lists readable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:52 AM Revision 8db54e07 (git): * vm_dump.c (rb_vm_bugreport): add ~/Library/Logs/DiagnosticReports
- in the locations list of crash reports.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:16 AM Revision 584afabc (git): * ChangeLog: added a missed space
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:04 AM Revision da9f6cdc (git): * array.c (recursive_equal): performance improvement.
- [ruby-dev:45412] [Feature #6177]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:16 AM Bug #5990 (Feedback): Random Segmentation Fault when running on Linux Fedora
- This is either a GC bug or a bug in Nokogiri. nari-san fixed GC bugs for us, but I'm not sure what patch level. Blair, can you try this with the latest 1.9.3 patch level? If there is still a problem on 1.9.3, then it's probably a bug ...
- 05:48 AM Revision fb4e75c1 (git): * 2012-11-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:48 AM Revision bb504213 (git): * string.c (sym_to_proc, sym_call): A Proc created by Symbol#to_proc
- should close over the current refinements.
[ruby-dev:46345] [Bug #7261]
* vm_eval.c (rb_call0, rb_search_method_entry,
rb_funcall_passing_block_with_refinements): add a new argument
`refinements' for the above changes.
* test/rub... -
05:04 AM Feature #5690 (Closed): Module#qualified_const_get
- I committed this in r37340 and r37335
-
04:50 AM Bug #7085: Subversion → GitHub gateway stops.
- I vote for time-to-time manual sync until automatic sync is set up.
Matz.
-
04:46 AM Bug #7085: Subversion → GitHub gateway stops.
- I heard that they tagged 2.0.0's preview. Should I re-sync that by hand or wait for Evan to set up his environment?
-
03:23 AM Feature #6083: Hide a Bignum definition
- 2012/11/2 SASADA Koichi <ko1@atdot.net>:
> (2012/11/01 11:05), shyouhei (Shyouhei Urabe) wrote:
>> +1 for next major.
>
> +1 for next major or next minor.
>
> We need discussion about how to break binary compatibility in ano... -
02:53 AM Feature #6083: Hide a Bignum definition
- (2012/11/01 11:05), shyouhei (Shyouhei Urabe) wrote:
> +1 for next major.
+1 for next major or next minor.
We need discussion about how to break binary compatibility in another
thread :)
--
// SASADA Koichi at atdo... -
02:05 AM Feature #6083: Hide a Bignum definition
- +1 for next major.
No one is against this basic concept of hiding Bignums, meseems. It's just a bad timing for us. -
01:33 AM Feature #6083: Hide a Bignum definition
- > If there's no big opposition, I can accept this proposal.
Sorry, but I must voice big opposition.
Unfortunately, hiding RBignum will cause significant incompatibility.
The macro RBIGNUM_BDIGITS uses RBignum internally. Many ext... -
02:07 AM Bug #7259 (Closed): ruby-debug-base19x does not compile on 2.0.0-head
- I'm trying to make ruby-debug-base19x used by IDE debugger work on 2.0.0-head. I've managed to get it mostly compiling (latest sources are at https://github.com/ruby-debug/ruby-debug-base19) and found one major problem: rb_vm_get_sourcel...
-
12:53 AM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
- On 31/10/12 13:03, alexeymuranov (Alexey Muranov) wrote:
>
> Issue #6973 has been updated by alexeymuranov (Alexey Muranov).
>
>
> regularfry (Alex Young) wrote:
>
>>
>> So if I knowingly and correctly construct a calc... -
12:13 AM Feature #7258 (Rejected): Update Rdoc
- Eric Hodel is planning to update Rdoc by the end of November.
See [ruby-core:48212].
Eric, please do it asap.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:13 AM Feature #7257 (Rejected): Update Rubygems
- Eric Hodel is planning to update Rubygems by the end of November.
See [ruby-core:48212].
Eric, please do it asap.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:11 AM Feature #7256 (Closed): Update Rake
- Eric Hodel is planning to update Rake by the end of November.
See [ruby-core:48212].
Eric, will you update it to the version 10?
If so, do you think the incompatibility is not a problem?
(ko1 told me that it has not a small numbe... -
12:05 AM Bug #6401: Windows bug with File.pos
- I can confirm this bug has been fixed in Ruby 1.9.3-p286. Thanks!
11/01/2012
-
11:53 PM Feature #7252: version number of 2.0 release
- On 11/01/2012 02:33 AM, KOSAKI Motohiro wrote:
>>> 旧来の開発版/開発版とかもういらないんじゃないですかね。
>>> trunkが開発版、リリースされたら安定版、で。
>>
>> その行為が開発を促進するか停滞させるかは意見の分かれるところでしょう。
>>
>> 1.8がなくて1.9だけしかなかったらYARVは怖くて突っ込めなかったと思いますよ。
>
> 2.x は全部安定版にしてしま... -
06:06 PM Feature #7252: version number of 2.0 release
- matz (Yukihiro Matsumoto) wrote:
> まつもと ゆきひろです
> ...
お返事ありがとうございます!では、"2.0.0" は確定としましょう。
ルールやブランチの切り方は、おいおい考えましょう。
--
Yusuke Endoh <mame@tsg.ne.jp> -
05:53 PM Feature #7252: version number of 2.0 release
- あいざわです
基本的に成瀬さんの意見に賛成で、2.0.x系統は頑張って互換性を保つように頑
張ってメンテをするということでいいと思います。
なにかしら非互換な変更が入りそうならその時になってからそれを2.1.xの中に
収めるか3.0にするか考えればいいのではないでしょうか。
# 個人的には3.0は相当将来の夢のリリースであっていて欲しいとおもっています。 -
05:53 PM Feature #7252: version number of 2.0 release
- >> 旧来の開発版/開発版とかもういらないんじゃないですかね。
>> trunkが開発版、リリースされたら安定版、で。
>
> その行為が開発を促進するか停滞させるかは意見の分かれるところでしょう。
>
> 1.8がなくて1.9だけしかなかったらYARVは怖くて突っ込めなかったと思いますよ。
2.x は全部安定版にしてしまって、開発版が欲しくなるぐらいの重量級の機能が入ったら
3.0にバージョンアップしたて、またバージョンルールを定義... -
03:23 PM Feature #7252: version number of 2.0 release
- あいざわです
いちマーケターの意見としては、2/24には"2.0.0-p0" またはもっとシンプルに "2.0" で出すべきかなと思います。
その後の取扱を考えると"2.0.0-p0" を基本としてメッセージングとしては "2.0" を露出させていくのがよいかと。
ちなみにHerokuでは 2/28にwazaというテクニカルイベントを予定しており、2.0のリリースに合わせてHeroku
の環境下ですぐに ruby2.0を試してもらえるように社内調整を進... -
01:29 PM Feature #7252: version number of 2.0 release
- naruse (Yui NARUSE) wrote:
> 旧来の開発版/開発版とかもういらないんじゃないですかね。
> ...
その行為が開発を促進するか停滞させるかは意見の分かれるところでしょう。
1.8がなくて1.9だけしかなかったらYARVは怖くて突っ込めなかったと思いますよ。 -
01:08 PM Feature #7252: version number of 2.0 release
- 旧来の開発版/開発版とかもういらないんじゃないですかね。
trunkが開発版、リリースされたら安定版、で。
1.9/1.8 の時みたいに dev/stable の2系統持つという案もあり得るとは思いますが、
releaseブランチのメンテだけでも手一杯なのにstable ブランチの維持はちょっと出来る気があんまり……。
というので、正確には stable ブランチの復活に反対という意見かも。
まとめると、わたしは以下の通りにするのがよいと思います。(基... -
12:49 PM Feature #7252: version number of 2.0 release
- まつもと ゆきひろです
1.8の頃のルールに戻すかどうかはまだ迷っているのですが、インパクトの観点から2/24にリリースするものは2.0.0にしたいです。
-
12:46 PM Feature #7252: version number of 2.0 release
- usa (Usaku NAKAMURA) wrote:
> よって、ポイントは、
> ...
予定は考えていませんでした。そろそろ引き締めないと。ありがとうございます。
提案ですが、(2) で、1.8 の時代に戻しませんか?
つまり 2.0 はすべて安定版、2.1 はすべて開発版。2 月にリリースするのは 2.0.0 。
今晩あたり実装予定 feature の告知の意味で preview1 をリリースしたいと画策して
いますので、まつもとさんが反対で... -
11:08 AM Feature #7252: version number of 2.0 release
- 2.0.1 だとキャッチーさが薄れるのでお誕生日イベントの盛り上がり的には 2.0.0 or 2.0 のほうがいいなあ(ぼそっ
-
09:56 AM Feature #7252 (Closed): version number of 2.0 release
- 2月にリリースされるモノのバージョン番号はどうなる予定でしょうか?
例えばredmineでは「対象バージョン」に「2.0.0」とか書いてあるので、
2.0.0になるのかと思われがちですが、バージョン番号付けルールは
[ruby-dev:15923] にあるように、
1.9.0からは末尾0が開発版、1以降が安定版
とされており、以降変更されていない、と理解しています。
よって、ポイントは、
(1) 2月に出すのは安定版ですか? それと... -
11:53 PM Feature #6083: Hide a Bignum definition - Hi,
In message "Re: [ruby-core:48640] Re: [ruby-trunk - Feature #6083] Hide a Bignum definition"
on Wed, 31 Oct 2012 15:31:08 +0900, KOSAKI Motohiro <kosaki.motohiro@gmail.com> writes:
|> Target version changed from 2.0.... -
03:53 AM Feature #6083: Hide a Bignum definition
- On Wed, Oct 31, 2012 at 9:26 AM, SASADA Koichi <ko1@atdot.net> wrote:
> (2012/10/31 0:31), KOSAKI Motohiro wrote:
>>> Target version changed from 2.0.0 to next minor
>>> I am sorry but it's too late. I admit my fault.
>>
>> Ma... -
11:24 PM Revision 499b5a91 (git): proc.c: main.define_method
- * proc.c (top_define_method): new method, main.define_method.
[ruby-core:45715] [Feature #6609]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:23 PM Revision 603fcafd (git): eval.c: fix message
- * eval.c (top_include): fix a warning message, main is not a class or
module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:02 PM Feature #3346: __DIR__ revisted
- Hi.
yhara (Yutaka HARA) wrote:
> mame (Yusuke Endoh) wrote:
> ...
I've created a patch for Kernel#__dir__. How about it? -
08:01 PM Feature #7250: A mechanism to include at once both instance-level and class-level methods from a module
- I have fantasized a bit more about an alternative Object Model for
Ruby. Here is what i imagined:
1. Objects are allowed to keep their methods more or less the same way as they keep attributes in instance variables. Methods are con... -
07:48 PM Revision 71dcc25f (git): suppress warning: 'val' may be used uninitialized in this function
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:47 PM Bug #7247 (Closed): r37079以降Solaris10でthread_pthread.cがコンパイルエラー
- This issue was solved with changeset r37402.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
thread_pthread.c: RUBY_STACK_MIN
* thread_pthread.c (RUBY_STA... -
07:41 PM Revision 1d4ec583 (git): mkmf.rb: timestamp_file
- * lib/mkmf.rb (MakeMakefile#timestamp_file): use ! instead of %, a GNU
make special character.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:40 PM Revision 27f41491 (git): test_process.rb: use never existing file
- * test/ruby/test_process.rb (test_execopts_preserve_env_on_exec_failure):
use never existing file in the current temporary directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:24 PM Revision 082e1344 (git): * tool/merger.rb: add feature to tag preview/rc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:23 PM Feature #7241: Enumerable#to_h proposal
- >
> I wouldn't say it is over. See #4151. ...
Is #each_with a better name?
>
Has anyone suggested `map_to`? I think `map_to` has a clearer intention
than `each_with`, because you're mapping the collection onto somethin... -
05:49 PM Feature #7241: Enumerable#to_h proposal
- =begin
I wouldn't say it is over. See #4151.
I still like:
module Enumerable
def each_with(x={})
each{ |e| yield(x,e) }
x
end
end
Is #each_with a better name?
=end -
05:10 PM Feature #7241: Enumerable#to_h proposal
- Just in case, here is some relevant discussion on StackOverflow with benchmarks:
http://stackoverflow.com/questions/3230863/ruby-rails-inject-on-hashes-good-style -
12:29 PM Feature #7241: Enumerable#to_h proposal
- >
> I think it should go in to ActiveSupport first.
>
> matz.
>
Thanks for your reply! The pull request has just been rejected on
ActiveSupport, so I guess that's th... -
12:23 PM Feature #7241: Enumerable#to_h proposal - Hi,
In message "Re: [ruby-core:48690] Re: [ruby-trunk - Feature #7241] Enumerable#to_h proposal"
on Thu, 1 Nov 2012 08:07:11 +0900, Nathan Broadbent <nathan.f77@gmail.com> writes:
|@matz: Do you think this `each_with_has... -
12:23 PM Feature #7241: Enumerable#to_h proposal
- >
> Almost no one uses #each_with_object as it is. #each_with_hash is hardly
> better. We need a short method name. Moreover I don't think this method's
> behavior is really the best approach to the real use case.
>
It's tr... -
11:53 AM Feature #7241: Enumerable#to_h proposal
- Almost no one uses #each_with_object as it is. #each_with_hash is hardly
better. We need a short method name. Moreover I don't think this method's
behavior is really the best approach to the real use case.
On Wed, Oct 31,... -
06:24 PM Revision 072ab753 (git): lib/mkmf.rb: fix for if config["libdir"] is nil.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:22 PM Revision b2bbfb3e (git): * tool/make-snapshot: fix wrong regexp for releasing preview.
- patched by mame.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:45 PM Feature #7251 (Closed): using usings in usinged Module
- This issue was solved with changeset r37399.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval.c (rb_using_module): using should be used indirectly.
[... -
02:07 PM Feature #7251 (Assigned): using usings in usinged Module
-
01:29 PM Revision 98c96a69 (git): * NEWS: add a news about objspace,
- ObjectSpace.reachable_objects_from.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:09 PM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- I noticed one compatibility issue.
rb_file_expand_path_fast calls to_path method before to_str, but to_path was ignored.
I fixed to_path is called before to_str. If StringObject has to_path, the object are expended every time becau... - 01:04 PM Revision a3e5a865 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_new),
- test/bigdecimal/test_bigdecimal.rb:
Fix exception message of BigDecimal constructor with a Float.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:03 PM Revision 2e6b5ece (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_add),
- test/bigdecimal/test_bigdecimal.rb:
need to specify precision for converting Rational and Float.
[ruby-core:48045] [Bug #7176]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:48 PM Feature #6895 (Assigned): TracePoint API
- I need to consider about:
- TracePoint enable/disable API [ruby-core:47305]
- Add interface to get returned/raised value [ruby-core:47259]
- trace block enter/leave interface
Sorry for my late response.
This ticket should be ope... -
12:46 PM Revision a5fc96a5 (git): * test/ruby/test_process.rb: Revert r37404. My ubuntu box has
- actually the directory named "/nonexistent"... Sorry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:33 PM Revision de082042 (git): * test/ruby/test_process.rb: Process.exec raised EACCES on Linux
- 3.5.0-17-generic. This is a temporal fix to rescue that exception.
Needs kosaki's review.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:20 PM Revision 0c4a27a5 (git): iseq.c: fix r37397
- * iseq.c (set_relation): parent_iseq need to be set regardless iseq
type. fix r37397.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:47 AM Revision 5aa7ff2b (git): thread_pthread.c: RUBY_STACK_MIN
- * thread_pthread.c (RUBY_STACK_MIN): may not a compile time constant.
fix r37079. [ruby-dev:46322] [Bug #7247]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:30 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
- On Wed, Oct 31, 2012 at 3:43 PM, Eric Wong <normalperson@yhbt.net> wrote:
> "headius (Charles Nutter)" <headius@headius.com> wrote:
>> * For folks doing crypto stuff that want to know exactly how big the
>> buffer is right away,... -
05:53 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
- "headius (Charles Nutter)" <headius@headius.com> wrote:
> * For folks doing crypto stuff that want to know exactly how big the
> buffer is right away, this provides a way to do so.
I'm not sure exactly what you mean. Do you ... -
05:53 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
- > So we have something like this:
>
> Platforms known to not support any sort of O(1) realloc: JVM
>
> Platforms that may not support O(1) realloc: OS X, others?
>
> Platforms that do (should?) support O(1) realloc: Linux
... -
05:06 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
- So we have something like this:
Platforms known to not support any sort of O(1) realloc: JVM
Platforms that may not support O(1) realloc: OS X, others?
Platforms that do (should?) support O(1) realloc: Linux
In any case, I st... -
07:48 AM Revision ba1bd089 (git): * NEWS: add note for Module#refine, Module#refinements,
- Module#using, and Kernel#using.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:45 AM Revision 5f0b7f8c (git): * ChangeLog: fix indentation.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:45 AM Revision 7a58c65a (git): * eval.c (rb_using_module): using should be used indirectly.
- [ruby-dev:46326] [Feature #7251]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:43 AM Feature #7051: Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
- I concur with ko1's objection to having the bindings available. It would introduce *massive* performance overhead and kill many optimizations we implementers do currently or hope to do in the future.
Having the classes available is al... -
05:40 AM Feature #6216: SystemStackError backtraces should not be reduced to one line
- Some details on the JRuby side of things:
* SystemStackError is not consistently raised. There are a decreasing number of places in JRuby's codebase where we attempt to rescue Java's StackOverflowError and reraise it as SystemStackErr... -
05:36 AM Feature #5481: Gemifying Ruby standard library
- FWIW, here's how we're handling the gemification of OpenSSL...
Background: Previously, JRuby's 'openssl' support was always distributed as a gem, since we did not want to ship crypto (bouncycastle). Starting with JRuby 1.7, however, w... -
05:29 AM Feature #5123: Alias Hash 1.9 as OrderedHash
- I was only proposing an alias for now. Maybe `OHash`, `OSet`?
-
05:09 AM Feature #5123: Alias Hash 1.9 as OrderedHash
- The decision is already made. Hash has been ordered since 1.9.1 (or 1.9.2?) and changing it now would break all code that expects ordering. Ordering also does not necessarily limit options for implementation...it just makes certain imple...
-
05:22 AM Feature #3388: regexp support for start_with? and end_with?
- JRuby currently does have a global cache for regexps. If you're interested, one of us can show you how it works.
-
05:21 AM Feature #5378: Prime.each is slow
- JRuby numbers for the various implementations proposed (best times out of ten in-process iterations):
mconigliario's version:
user system total real
primes_up_to 2.100000 0.000000 2.100000 ... - 04:17 AM Revision 94d10fbb (git): * 2012-11-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:17 AM Revision 130bb41d (git): iseq.c: simplify
- * iseq.c (set_relation): simplify and merge same conditions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:41 AM Bug #5627 (Closed): [ASYNC BUG] thread_timer: select
- > The error.log suggests that any module (I'm suspecting old Passenger)
> ...
This is known issue and we already solved it on current trunk.
see [ruby-core:37727] Issue of Passenger and ruby-trunk.
Jeff may need to upgrade both ruby...
10/31/2012
-
10:36 PM Feature #6083: Hide a Bignum definition
- (2012/10/31 0:31), KOSAKI Motohiro wrote:
>> Target version changed from 2.0.0 to next minor
>> I am sorry but it's too late. I admit my fault.
>
> Matz, I don't like this decision. I believe we should choose next _major_
> o... -
03:53 PM Feature #6083: Hide a Bignum definition
- > Target version changed from 2.0.0 to next minor
> I am sorry but it's too late. I admit my fault.
Matz, I don't like this decision. I believe we should choose next _major_
or 2.0.0. minor release should not have binary incomp... -
02:06 AM Feature #6083: Hide a Bignum definition
- I am sorry but it's too late. I admit my fault.
Matz.
-
10:23 PM Feature #6643: io.seek(off, :end)
- Akira Tanaka wrote:
> StringIO は修正すれば済むわけですが、
> ...
そうですね。
最新のパッチ(patch2.diff)では、そういう懸念があるのでIO::SEEK_*の値は変えずにIntegerもSymbolも受け付けるようにしています。 -
10:19 PM Bug #6175 (Rejected): watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault
- Closing because this ticket is too clueless.
There is no C trace, no reproducing process, and no feedback...
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:07 PM Bug #5627 (Assigned): [ASYNC BUG] thread_timer: select
- Providing a video is a good idea, but it was deleted...
Please make a ticket self-contained.
The error.log suggests that any module (I'm suspecting old Passenger)
closes an pipe for internal timer thread communication.
Kosaki-san... -
10:03 PM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
- regularfry (Alex Young) wrote:
>
> ...
Alex, can you give an example, please?
-
10:03 PM Bug #5519 (Rejected): Enumerator#next skips c-return hooks
- kernigh is right; this is a spec. Closing.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:01 PM Bug #5385 (Rejected): ~/gems/gems/posix-spawn-0.3.6/lib/posix_spawn_ext.bundle: [BUG] Segmentation fault ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.1.0]
- I'm closing this ticket.
There is no C trace, no reproducing code (octopress directory), and no feedback...
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:53 PM Bug #6215 (Assigned): print "#{RUBY_PATCHLEVEL.slice(2,3)}\n" results in crash
- Anyone can reproduce? Sorah-don, could you give it a try?
I think that textmate looks irrelevant in the following trace.
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> ...
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:41 PM Bug #7198 (Closed): No documentation of Psych on ruby-doc.org
-
09:36 PM Bug #6182 (Closed): ruby crashed with trace inof below !(Ruby interpreter or extension libraries)
- I think that this issue has been already fixed at r32749. Closing.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:56 PM Feature #5431 (Rejected): Check issue with ruby-1.9.3-rc1
- Supporting s390 is considered a new feature.
And then I'm rejecting this issue because of no feedback.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:55 PM Feature #7251: using usings in usinged Module
- s/suspect/expect/
-
08:41 PM Feature #7251 (Closed): using usings in usinged Module
- I suspect Kernel#using to using all the already usinged Refinements in usinged Module. For example:
module X
refine Fixnum do
def foo; p :foo; end
end
end
module Y
refine Fixnum do
def bar; p :... -
08:51 PM Bug #6125 (Rejected): Exception Report
- Closing this ticket because it is too clueless.
OP seems to be gone. I guess we cannot get a feedback.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:50 PM Bug #6084 (Rejected): Ruby 1.9.3p125 Segfault while running nanoc compile
- Closing this ticket because it is too clueless.
OP seems to be gone. I guess we cannot get a feedback.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:47 PM Bug #5739 (Rejected): [BUG] object allocation during garbage collection phase
- The trace seems to be truncated because it is too long.
Please attach the log file instead of pasting the content.
OP did not answer to ko1's question long time; I guess we
cannot get a feedback from OP. So, I'm closing this ticket... -
08:44 PM Bug #5931 (Assigned): Random SEGV during execution on YARD specs
- Usa-san, please!
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:41 PM Bug #5990 (Assigned): Random Segmentation Fault when running on Linux Fedora
- Aaron, do you know anything?
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:37 PM Bug #3744 (Rejected): Fails to compile on OpenSolaris
- Thanks Goto-san! Then, closing this ticket as "invalid".
--
Yusuke Endoh <mame@tsg.ne.jp> -
05:32 PM Bug #3744: Fails to compile on OpenSolaris
- From the error message, the dynamic linker of the OS could not find OpenSSL shared library.
To solve the issue quickly, please set LD_LIBRARY_PATH environment variable to the location of OpenSSL library, for example, LD_LIBRARY_PATH=/... -
08:18 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- apotonick (Nick Sutterer) wrote:
> =begin
> ...
I am sorry, i used your thread to propose my own feature request in a sense, i have already corrected this with #7250. I hoped that maybe there would be no need for inheritable `self.inclu... -
07:45 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- =begin
Ah ok, now I understand you, Alexey. Instead of having a keyword (inclusive/inheritable) you want to have a special "namespace" as in
module M
def to_be_inherited.m; end
which would include the class method #m when includi... -
07:24 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- apotonick (Nick Sutterer) wrote:
>
> ...
If i understood correctly, Thomas suggested the `include!` method name simply to not change the current behavior of `include`, but it seems that he also prefers a single method.
I do not t... -
07:01 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- =begin
Interesting points, mates. I don't know about the method tables so all I can do is summarizing what we came up with so far.
== 1. Explicitely define inheritable class methods.
module M
inclusive/inheritable
def self.i_wi... -
06:32 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- I'll open a feature request do discuss module inclusion separately.
Update: #7250 -
06:02 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- =begin
trans (Thomas Sawyer) wrote:
> I'm not sure I like this idea --I still think it would be better just to make it the usual behavior of (({#include})), but it is an option.
I think that there would be issues with "including" met... -
12:54 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- =begin
I have always thought module class methods should be included. Matz has stated his opposition to it b/c he sees it as a hindrance for some use cases, for example, internal methods spilling in when including the Math module. But I... -
07:34 AM Feature #7240: Inheritable #included/#extended Hooks For Modules
- In my opinion, the most common use case for the `included` hook in modules is adding class methods. However, to me this looks hackish -- hard to follow and understand. I would have preferred if there was a way to define both instance-l...
-
05:44 AM Feature #7240: Inheritable #included/#extended Hooks For Modules
- Sorry, I didn't read my own output, please disregard.
-
05:42 AM Feature #7240: Inheritable #included/#extended Hooks For Modules
- =begin
What is wrong with using super?
$ cat t.rb
module A
def self.included mod
puts "#{mod} included A"
end
end
module B
def self.included mod
puts "#{mod} included B"
super
... -
07:12 PM Bug #7008 (Feedback): rake is crashing when trying to compile ffi gem
-
06:59 PM Feature #7250 (Open): A mechanism to include at once both instance-level and class-level methods from a module
- =begin
I have simply commented first on #7240, but i feel i need to start a ticket in order to not post off topic.
This seems to be a big feature request, so i didn't feel confident to suggest, but when i read in #7240 that (({Module... -
04:27 PM Bug #3523 (Third Party's Issue): win32 exception c0000029 on exit using fibers
- Although it is too late, I think that we don't handle this now,
so change this ticket as TPI.
-
03:39 PM Feature #6421: Add zlibwapi to extconf.rb file for zlib library
- Sorry, I can't understand the conclusion.
(1) should apply the 1 line patch because it doesn't cause any problem.
(2) no need to apply the patch because the zlibwapi users should change the names of the dll and the lib.
Which?
... -
01:23 PM Bug #7248 (Closed): Shouldn't Enumerator::Lazy.new be private?
- Is there a reason why Enumerator::Lazy.new is not private?
Lazy enumerators should be created with `Enumerable#lazy`. Moreover, there is no doc, and it can give unexpected results too. -
01:20 PM Feature #6636: Enumerable#size
- I added support for lazy enumerators.
Yusuke, Matz, did I address your questions/concerns? -
11:19 AM Bug #5756 (Feedback): crashs when Twitter.update_with_media with rails
- seems crashing on openssl. please try building ruby again with openssl NOT COMES WITH OS X (building by your hand, including using homebrew or macports or some)
-
01:52 AM Bug #5756 (Assigned): crashs when Twitter.update_with_media with rails
- OP provided a feedback. Sorah, please check it.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:19 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- tarui (Masaya Tarui) wrote:
> it seems almost good.
> ...
Thank you. I agreed.
I will change to expand NonStringObject(TYPE(v) != T_STRING) every time and not freeze it. -
09:31 AM Bug #6433 (Closed): rb_thread_blocking_region(): ubf() function is executed with GVL
- I updated the documentation in r37393 and r37394 for natural english and to mention that the ubf() may not be called from the GVL.
-
09:22 AM Revision 25a973e8 (git): * gc.c (gc_profile_record): don't define unused variables when
- GC_PROFILE_MORE_DETAIL is 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:22 AM Revision 9fd08911 (git): * gc.c (gc_prof_mark_timer_stop): count is not initialized.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:59 AM Bug #7221: Unable to compile kgio under 1.9.3 with error: ruby-1.9.3-<plvl>/lib/ruby/1.9.1/mkmf.rb:597:in `Integer': can't convert nil into Integer (TypeError)
- Thank you. In addition, could you show us mkmf.log?
--
Yusuke Endoh <mame@tsg.ne.jp> -
04:27 AM Bug #7221: Unable to compile kgio under 1.9.3 with error: ruby-1.9.3-<plvl>/lib/ruby/1.9.1/mkmf.rb:597:in `Integer': can't convert nil into Integer (TypeError)
- OK, I changed the line back to the original return Integer(f.gets) and attempted a reinstall of kgio under 1.9.3-p286.
The output from the build is still: ruby-1.9.3-p286/lib/ruby/1.9.1/mkmf.rb:597:in `Integer': can't convert nil into... -
06:23 AM Feature #7241: Enumerable#to_h proposal
- Em 30-10-2012 16:23, Aaron Patterson escreveu:
> On Tue, Oct 30, 2012 at 07:58:33PM +0900, rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
>> Issue #7241 has been updated by rosenfeld (Rodrigo Rosenfeld Rosas).
>>
>>
>> Maybe .hash... -
03:29 AM Feature #7241: Enumerable#to_h proposal - On Tue, Oct 30, 2012 at 07:58:33PM +0900, rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
>
> Issue #7241 has been updated by rosenfeld (Rodrigo Rosenfeld Rosas).
>
>
> Maybe .hash_map? each_with_object is a too long name for a ... -
03:13 AM Bug #7059 (Third Party's Issue): rb_name_err_mesg_new at shut down appears to cause: [BUG] object allocation during garbage collection phase
- harrison.uhl (Harrison Uhl) wrote:
> Having read about a "object allocation during garbage collection" issue in WxRuby,
Could you give me a pointer?
> ...
What made you thought so?
I don't know wxRuby's architecture, but the ba... -
02:55 AM Feature #6545 (Closed): inconvinient require order of DL
- I've fixed this in r37391. The fix isn't optimal, but it is the smallest patch to fix the bug.
-
02:26 AM Bug #4508 (Rejected): Ability class for CanCan for Rails
-
02:24 AM Bug #7085: Subversion → GitHub gateway stops.
- I'm also expecting a revival of the github mirror :-)
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:23 AM Feature #6373 (Feedback): public #self
- The point is when we see the code like:
~~~ruby
[1,2,3,4,5,1,2,2,3].group_by(&:self)
~~~
sometimes it would be less intuitive that self refers elements in the array, not self in the scope.
I think this cause YAM syndrome here. W... -
02:19 AM Feature #6241 (Rejected): Module#method_defined? with inherited flag
- Tomas has a point. We cannot accept the original idea.
So I reject this proposal. Try again.
In general I am not a big fun of inherited flag, since most inheritance works rather as composition in Ruby.
Matz.
-
02:18 AM Bug #5659: bug releasing a gem created with rails 3.1
- luislavena (Luis Lavena) wrote:
> mame (Yusuke Endoh) wrote:
> ...
Thanks. Then, emboss, do you know?
The trace looks similar to #6886 which was closed as 3PI.
What do you think?
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:03 AM Bug #5659: bug releasing a gem created with rails 3.1
- mame (Yusuke Endoh) wrote:
> Luis, do you know the status?
> ...
No, I was unable to reproduce with any of my installed versions of Ruby. -
01:41 AM Bug #5659 (Assigned): bug releasing a gem created with rails 3.1
- Luis, do you know the status?
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:14 AM Feature #6216 (Assigned): SystemStackError backtraces should not be reduced to one line
- I don't feel I exactly understand the situation, since the specified line in CRuby backtrace does not appear in JRuby's.
That might mean avoiding backtrace truncation has no meaning, or CRuby could have yet another bug.
Do you have a... -
02:07 AM Feature #5877 (Rejected): Poor performance of initial and final UTF-8 substrings
- Not a bug. "forthcoming" did not come.
Please try to make your proposal self-contained.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:03 AM Bug #5872 (Rejected): Memoery issue
- I'm closing this ticket because it is too clueless.
Please reopen if you can provide additional information.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:58 AM Bug #5559 (Assigned): Intermittent Seg fault when using net-ssh
- Looks os x issue. Nobu, could you check this?
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:56 AM Bug #5401 (Assigned): Ruby 1.9.3 interpreter crash
- Sorah, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp>
-
01:47 AM Bug #5721 (Rejected): require_relative
- I'm closing this ticket because akr guessed that it is an intended behavior, and because of no OP's rebuttal.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:38 AM Bug #5530 (Assigned): SEEK_SET malfunctions when used with 'append' File.open mode
- kosaki (Motohiro KOSAKI) wrote:
> Which documentation bring you confusing?
IO.new does not say that append mode ignores fseek.
That said, I don't like to make rdoc messy.
How about adding just "See fopen(3) man pages"?
Kosaki-s... -
01:19 AM Bug #5496 (Rejected): ext/bigdecimal build failure on HP-UX 11.23/IA, 11.31/IA
-
01:18 AM Bug #5340 (Rejected): mysql2.bundle: [BUG] Segmentation fault
- Sorry, but I'm closing this ticket because it is too clueless and OP did not answer.
Please tell us if you can repro.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:17 AM Bug #5019 (Rejected): Ruby runtime crashes and indicates a 'Bus Error' bug
- Sorry, but I'm closing this ticket because it is too clueless and OP did not answer.
Please tell us if you can repro.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:00 AM Bug #5200: Ruby Crash Segmentation fault
- Please tell us how to reproduce.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:58 AM Bug #7246: FileUtils.cp_r does not preserve attributes of directories
- The following code might be a proper bugfix.
(({require 'fileutils'
module FileUtils
class Entry_
def wrap_traverse(pre, post)
pre.call self
if directory?
entries.each do |ent|
ent.wrap... -
12:42 AM Bug #7246 (Closed): FileUtils.cp_r does not preserve attributes of directories
- (({FileUtils.cp_r})) does not preserve the file attributes of directories because the attributes are set before copying to the directory.
The following monkey patch fixes this behaviour. However the monkey patch relies on the contents o... -
12:57 AM Bug #4923: [ext/openssl] test_ssl.rb: test_client_auth fails
- Martin and NaHi,
Is there any concrete plan to address this issue?
If not, I'd like to close this ticket now.
You can reopen it whenever you find any clue to make a progres.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:52 AM Bug #7247 (Closed): r37079以降Solaris10でthread_pthread.cがコンパイルエラー
- r37079以降、Solaris10のccでは以下のエラーが出て失敗します。(以下はr37390にて確認)
cc -O -xtarget=sparc64viiplus -m64 -DRUBY_EXPORT -I/usr/local/64/lib/libffi-3.0.10/include -I/usr/local/64/include -I. -I.ext/include/sparc64-solaris2.10 -I./include -I. -o thre... -
12:40 AM Bug #5050 (Rejected): unable remap error when 'make test' on cygwin
- I guess that this is the cygwin's spec; rebaseall is needed?
Feel free to reopen this if you know anything that we can do in the ruby-side.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:32 AM Bug #5055 (Rejected): ruby-1.9.2-p290 Test Error @Cygwin
- 返答が遅くなった上で申し訳ないですが、cygwin はサポートされていません。
一旦閉じますが、パッチを送って頂ければ取り込みを検討しますので reopen してください。
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:29 AM Revision 7ae466f1 (git): * thread.c (rb_thread_call_without_gvl2): Note that ubf() may or may
- not be called with the GVL. Hinted that rb_thread_call_with_gvl()
can be used to access ruby functionality. [ruby-trunk - #6433]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:18 AM Bug #4488 (Third Party's Issue): Segmentation fault when calling new (or in rspec)
- I succeeded to repro:
$ gem install hallon
$ ruby -rhallon -e 'def (Hallon::Session).instance(*args, &block); @__instance__ ||= new(*args, &block); end; Hallon::Session.instance("invalid")'
/home/mame/work/local/lib/ruby/gems/2.0.... -
12:07 AM Revision 5562411c (git): * thread.c (rb_thread_call_without_gvl2): Update documentation to
- natural English.
* thread.c (rb_thread_call_with_gvl): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:02 AM Bug #4350 (Rejected): Segmentation fault and Bus Error
- Sorry but I'm closing this ticket because it is too clueless.
I guess eventmachine is involved to this issue, but I can make no hypothesis any more.
Feel free to reopen this if you have any clue.
--
Yusuke Endoh <mame@tsg.ne.jp>
10/30/2012
-
11:58 PM Bug #7244 (Closed): ArgumentError of refine
- This issue was solved with changeset r37390.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval.c (rb_mod_refine): fix the error message when no block... -
10:02 PM Bug #7244 (Closed): ArgumentError of refine
- refine は 1 個しか引数をとらないはずなのにブロックを渡さずに引数 1 個で呼び出すと (0 for 1..3) という ArgumentError になります。
% ruby -v
ruby 2.0.0dev (2012-10-30 trunk 37389) [x86_64-linux]
% ruby -e 'Class.new{|c|refine}'
-e:1:in `refine': wrong number of arguments... -
11:56 PM Bug #7245 (Rejected): Float.round result not as expected
- This is the spec.
Float is internally stored in binary representation which cannot represent 1.005 precisely.
So the literal "1.005" becomes an approximate Float object actually less than its mathematical value.
$ ruby -e 'p (1.... -
10:42 PM Bug #7245 (Rejected): Float.round result not as expected
- In my second example below I would expect "1.01" as result.
1.9.3-p286 :001 > 1.05.round(1)
=> 1.1
1.9.3-p286 :002 > 1.005.round(2)
=> 1.0
1.9.3-p286 :003 > 1.006.round(2)
=> 1.01
Is this a bug or am I wrong? -
11:48 PM Feature #5481: Gemifying Ruby standard library
- Hi, I'd like to question once more some parts of the proposal in wiki [1].
* After installing updated stdlib gems, those should be treated as regular gems.
The only viable solution is proposal 1. It seems that there was some work s... -
11:42 PM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- shirosaki-san,
Thank you for fast patch.
it seems almost good.
one point, freezed NonStringObject can return different result by redefining to_str method in class scope.
if expand it everytime as same as home dirs, It is not neces... -
01:39 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- Thank you for review.
> 1) support both ENV and getpwnam.
My intention is 1) since I would like see (G4) merged.
Additional patch.
https://gist.github.com/3964679#file_0004_fix_compatibility_of_require.patch
No cache for '~'... -
11:26 PM Feature #6875: Make test/unit default gem
- kou (Kouhei Sutou) wrote:
> I comment on this issue.
> ...
Well, yes, it would be probably better to discuss some points there :)
>
> ...
Yes, that make sense. Actually it is one issues I complained in #6124
> > > > 2) The gem... -
10:54 PM Bug #3744: Fails to compile on OpenSolaris
- Goto-san, can you check this ticket?
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:51 PM Bug #4508: Ability class for CanCan for Rails
- Hello,
I'm closing this ticket as "worksforme".
I guess that OP talked about "cancan" gem.
I installed it and tried the script, but it terminated successfully:
$ gem install cancan
$ ruby -rcancan t.rb
$
I think that... -
10:40 PM Bug #4737 (Rejected): Ruby crasshes and config.xml becomes a 0 kb file
- Hello,
I'm closing this ticket as "worksforme".
I don't know what rally is, but I guess OP followed the process explained in the URL:
http://www.rallydev.com/help/subversion-installation-user-guide
I tried it, but I cannot ... -
09:28 PM Bug #7221: Unable to compile kgio under 1.9.3 with error: ruby-1.9.3-<plvl>/lib/ruby/1.9.1/mkmf.rb:597:in `Integer': can't convert nil into Integer (TypeError)
- I checked the discussion of github.
I think the problem here is why f.gets fails.
The proposed patch is NOT acceptable; it just hides the real problem by returning a *bogus* result.
So, could you please tell us how to reproduce th... -
08:36 PM Bug #7242 (Assigned): Bignum mathematical accuracy regression in r31695
- Hello,
2012/10/30, mhall (Matthew Hall) <mhall@mhcomputing.net>:
> Attached to this bug I have a simplified example test case which will pass
> ...
Good catch! I created a more simplified example.
$ ruby toom3-bug.py.rb
... -
07:34 AM Bug #7242 (Closed): Bignum mathematical accuracy regression in r31695
- We have some pure Ruby code which performs a DH (Diffie Hellman) cryptographic
handshake.
If I upgrade to using the Ruby 1.9.3 interpreter instead of 1.9.2, the unit
tests around the code fail, because the client and server can no ... -
08:23 PM Feature #6609: Toplevel as self extended module
- 2012/10/30, Nobuyoshi Nakada <nobu@ruby-lang.org>:
> At Sat, 27 Oct 2012 11:39:04 +0900,
> mame (Yusuke Endoh) wrote in [ruby-core:48433]:
>> - Matz accepted "define_method in Toplevel". We need a patch. Nobu,
>> could you?
... -
03:59 AM Feature #6609: Toplevel as self extended module
- Hi,
At Sat, 27 Oct 2012 11:39:04 +0900,
mame (Yusuke Endoh) wrote in [ruby-core:48433]:
> - Matz accepted "define_method in Toplevel". We need a patch. Nobu, could you?
Sorry, I haven't followed this topic. To where sho... -
08:23 PM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
- On 29/10/12 22:12, alexeymuranov (Alexey Muranov) wrote:
>
> Issue #6973 has been updated by alexeymuranov (Alexey Muranov).
>
>
>> >> Floats are precise, just like Integers are. *Operations* on floats are
>> >> n... -
09:23 AM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
- On 30 October 2012 08:12, alexeymuranov (Alexey Muranov)
<redmine@ruby-lang.org> wrote:
>
> Issue #6973 has been updated by alexeymuranov (Alexey Muranov).
>
>> >> Floats are precise, just like Integers are. *Operations* o... -
07:12 AM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
- > >> Floats are precise, just like Integers are. *Operations* on floats are
> ...
I guess the question is: what would be a point in calling this method on a Float? A Float value is rarely exact in the sense that it rarely coincides ... -
07:58 PM Feature #7241: Enumerable#to_h proposal
- Maybe .hash_map? each_with_object is a too long name for a very common needed method. Many have asked for a method like it (including me) because they couldn't find "each_with_object" and they ended up learning here after asking for such...
-
08:53 AM Feature #7241: Enumerable#to_h proposal
- OK, no problem! Thanks for your response!
A bit unrelated, but is it strange that each_with_object and inject have a
different order for the block params?
[1,2,3].inject({}) {|obj, el| obj[el] = el * 2; obj } #=> {... -
08:53 AM Feature #7241: Enumerable#to_h proposal
- Thanks! Sorry, I didn't know about each_with_object.
Do you think it would still be worth shortening
`each_with_object(Hash.new([])) { ... }` to `to_h([]) { ... }`, and are any
of the other cases worth supporting?
Best,... -
08:37 AM Feature #7241 (Rejected): Enumerable#to_h proposal
-
08:37 AM Feature #7241: Enumerable#to_h proposal
- Your idea of to_h is interesting, but it adds too much behavior in one method.
Besides that, since to_s, to_a, to_i etc. are used for implicit conversion, to_h is not a proper name for the method.
Nice try, we will wait for next one.... -
08:27 AM Feature #7241: Enumerable#to_h proposal
- Or
1.9.3-p0 :001 > Hash[ [1,2,3,4,5].map{|el| [el, el*2]} ]
=> {1=>2, 2=>4, 3=>6, 4=>8, 5=>10} -
08:23 AM Feature #7241: Enumerable#to_h proposal - On Tue, Oct 30, 2012 at 07:23:29AM +0900, nathan.f77 (Nathan Broadbent) wrote:
>
> Issue #7241 has been reported by nathan.f77 (Nathan Broadbent).
>
> ----------------------------------------
> Feature #7241: Enumerable#to_h... -
07:23 AM Feature #7241 (Rejected): Enumerable#to_h proposal
- I often use the `inject` method to build a hash, but I always find it annoying when I need to return the hash at the end of the block.
This means that I often write code like:
[1,2,3,4,5].inject({}) {|hash, el| hash[el] = el * 2;... -
07:33 PM Bug #7239 (Closed): Can't read from subprocess when run with rubyw on windows
- This issue was solved with changeset r37388.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* process.c (redirect_dup2): set standard handles when new fd i... -
02:32 AM Bug #7239 (Assigned): Can't read from subprocess when run with rubyw on windows
- 05:54 PM Revision 974c1b40 (git): * 2012-10-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:54 PM Revision 4b1df2ae (git): * ext/dl/lib/dl/struct.rb: fix strange require order. [ruby-dev:45702]
- * ext/dl/lib/dl/value.rb: ditto
* test/dl/test_c_struct_entry.rb: remove strange require order from
tests.
* test/dl/test_c_union_entity.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37391 b2dd03c8-39d4-4d8f-98ff-823fe... -
03:13 PM Feature #1482: Kernel.exec doesn't respect COMSPEC environment variable on Windows
- Can you write a test for this patch, nobu?
If so, please commit them(=this patch and the test). -
02:58 PM Revision e46471e9 (git): * eval.c (rb_mod_refine): fix the error message when no block is
- given. [ruby-dev:46319] [Bug #7244]
* test/ruby/test_refinement.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 PM Feature #6643: io.seek(off, :end)
- 2012年10月30日 8:47 ko1 (Koichi Sasada) <redmine@ruby-lang.org>:
>
> Issue #6643 has been updated by ko1 (Koichi Sasada).
>
> Target version set to 2.0.0
>
> 田中さんに一応聞いておきたいところ.
最新のパッチは確認していないのですが、
IO::SEEK_* の値をシンボルに変えてし... -
08:47 AM Feature #6643: io.seek(off, :end)
- 田中さんに一応聞いておきたいところ.
-
12:13 PM Revision 05ba9069 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:32 AM Revision ee271803 (git): * process.c (redirect_dup2): set standard handles when new fd is stdio,
- because if there is no allocated console at the moment Windows does
not automatically associate it for child process's standard handle.
this is adhoc workaround.
reported by Martin Thiede at [ruby-core:48542] [Bug #7239].
* io.c (... -
09:40 AM Bug #4387 (Closed): test_socket_connect_nonblock(TestSocketAddrinfo) がまれに失敗する
- This issue was solved with changeset r37387.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Check if there is no error before reconnect [Bug #4387] -
09:31 AM Bug #1341: pthread_cond_timedwait failing in 1.9.1-p0 thread tests on HP-UX 11i v2
- Please tell us if you have HP-UX.
-
09:31 AM Bug #3600: HP-UX compilation
- Please tell us if you have HP-UX.
-
09:16 AM Bug #7097 (Closed): Thread locals don't work inside Enumerator
- This "feature" was introduced.
-
09:15 AM Bug #6577 (Feedback): GC中にstack overflowが発生するとSEGVする
- 再帰しなくなったんで,もういいんでしたっけ?
-
09:14 AM Bug #6433: rb_thread_blocking_region(): ubf() function is executed with GVL
- Need to check document (someone's helps are welcome!)
-
09:13 AM Bug #6117: Transfers allowed into Fibers that have resumed into other fibers
- Please give me a time.
-
09:13 AM Bug #6416: Deadlock when calling Thread#join from signal interrupt context
- Please give me a time.
-
09:12 AM Bug #5912 (Closed): Interpreter crashes when trying to invoke implicit block via Binding#eval
- Close this ticket because I can't reproduce it on trunk (2.0).
Please re-open if you can reproduce this issue.
-
09:10 AM Bug #5249 (Closed): C の Proc の比較のバグ
- これ,直ってるような.
-
09:09 AM Bug #4583 (Rejected): trace doesn't work for methods set up by attr_*
- No feedback.
-
09:08 AM Bug #4443: odd evaluation order in a multiple assignment
- ...これバグなんだっけ? feature のような気もしますが.
2.0 には無理っぽいので,next minor にしておきます. -
09:01 AM Feature #6710: new special binding specifier :isolated
- Yes, (small) performance issue.
Okay, let's discuss how to make such binding. I think we have several choice.
- Binding.new
- Binding.new(:isolated)
Or do we need to discuss jballanc's proposal in another ticket and reject this... -
08:47 AM Feature #6710: new special binding specifier :isolated
- Ko1, explain why you need modify eval, where we can create new isolated binding.
I don't think small performance improvement is a good excuse.
Matz.
-
08:48 AM Feature #3206 (Rejected): Problems manipulating the signal mask with Ruby
- No feedback.
-
08:46 AM Feature #5958 (Rejected): ThreadGroup#join
- Now, I reject this ticket.
I think your proposal is very useful.
To introduce thread set manipulation is needed.
But I feel it is not mature.
Please re-design `ThreadGroup` and make another tickets.
-
08:44 AM Feature #5669 (Rejected): Random thread scheduling based on a seed
- No feedback.
-
08:43 AM Feature #4589 (Feedback): add Queue#each() method and include Enumerable
- Professional's comments are very welcome.
I can't determine it should be worth or not.
-
08:43 AM Feature #4146 (Rejected): Improvement of Symbol and Proc
- 文法が気に入らないのでreject。
Matz.
-
08:41 AM Feature #4146: Improvement of Symbol and Proc
- 進んでないので,中田さん,どうぞよろしく.
-
08:40 AM Feature #3944 (Assigned): Add Fiber#root? method
-
08:39 AM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
- ping.
I think it can be introduce into Ruby 2.0 if there is a nice implementation.
-
07:08 AM Feature #7240 (Feedback): Inheritable #included/#extended Hooks For Modules
- An inheritable hook mechanism for modules would be a great way for module/gem authors to simplify their implementations.
The Problem
-----------
Let's say I have the following module.
module A
def self.included(base)
... -
03:09 AM Bug #6809 (Closed): Deprecation of Config
- This issue was solved with changeset r37386.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
rbconfig/obsolete.rb: Config
* lib/rbconfig/obsolete.rb (Confi... -
12:40 AM Revision 643f5308 (git): Check if there is no error before reconnect [Bug #4387]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/29/2012
-
09:57 PM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- Hi,
I re-checked behavior, and found some compatibility issues.
first,
rb_file_expand_path_fast depends on not only current working directory but also home directories too.
it uses ENV["HOME"] and getpwnam (normally).
secon... -
01:59 PM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- Which way insertion into sorted array takes same O(n) time? Do you mean
cost of memcpy after finding position for insert? Despite memcpy (which I
be leave cheap on this amounts) cost of insertion is O(log n).
Can you show result with... -
08:55 PM Bug #7239: Can't read from subprocess when run with rubyw on windows
- I tested this with Windows 7
-
08:53 PM Bug #7239 (Closed): Can't read from subprocess when run with rubyw on windows
- File.open 'res.txt', 'w' do |f|
f << `dir`
end
when run with "rubyw", the file "res.txt" will be empty, when run with "ruby" it will contain the output of the "dir" command
the problem is present in Ruby versions 1.9.1, 1.9.2 and... -
07:53 PM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
- On 27/10/12 05:26, mame (Yusuke Endoh) wrote:
>
> Issue #6973 has been updated by mame (Yusuke Endoh).
>
> Status changed from Open to Assigned
> Assignee changed from mame (Yusuke Endoh) to mrkn (Kenta Murata)
> Target vers... -
06:08 PM Revision bd89d0cb (git): rbconfig/obsolete.rb: Config
- * lib/rbconfig/obsolete.rb (Config): re-introduce warnings for a
lame-duck. [ruby-core:46836] [Bug #6809]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:43 PM Feature #6670: str.chars.last should be possible
- If #lines is to become no longer an alias for #each_line, there should be no point in supporting lines {} any more. It should emit a deprecation warning and get unsupported in the future.
-
05:39 PM Feature #1482: Kernel.exec doesn't respect COMSPEC environment variable on Windows
- Does this patch help?
- 05:22 PM Revision e33cbc0f (git): * 2012-10-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:22 PM Revision 2285319b (git): * thread.c: added Thread#thread_variable_(get|set),
- Thread#thread_variable?, and Thread#thread_variables for operating
on variables that are local to threads. [ruby-core:47790]
* vm.c: ditto
* test/ruby/test_thread.rb: tests for thread variables.
git-svn-id: svn+ssh://ci.ruby-lang.or... -
02:48 PM Feature #6636: Enumerable#size
- Hi.
My understanding was this new feature would make it into Ruby 2.0. Did I misunderstand?
The implementation can be seen here: https://github.com/marcandre/ruby/compare/marcandre:trunk...marcandre:enum_size
Although the combin... -
11:25 AM Feature #6936: Forbid singleton class and instance variabls for float
- ko1 (Koichi Sasada) wrote:
> (2012/10/27 10:45), SASADA Koichi wrote:
> ...
それも含めて現状に合わせておきました。 -
10:59 AM Bug #2154: filesystem encoding of UNIX
- 2012年10月29日 10:31 usa (Usaku NAKAMURA) <usa@garbagecollect.jp>:
>
> と、いうことだったのですが、r25782において意図的にdefault externalに戻されています。
> 理由を発見できなかったのですが、なぜでしょう?
その時点の記憶はすでにないのですが、おそらく、
locale と異なる encoding でパス名を扱いたい場合に、
設定できるようにするためでは... -
10:31 AM Bug #2154 (Assigned): filesystem encoding of UNIX
- と、いうことだったのですが、r25782において意図的にdefault externalに戻されています。
理由を発見できなかったのですが、なぜでしょう? -
10:53 AM Feature #6697: [PATCH] Add Kernel#Symbol conversion method like String(), Array() etc.
- On 2012/10/27 20:12, mame (Yusuke Endoh) wrote:
>
> Issue #6697 has been updated by mame (Yusuke Endoh).
>
> Assignee changed from mame (Yusuke Endoh) to matz (Yukihiro Matsumoto)
>
> In Ruby, it is not a good idea to propos... -
10:32 AM Bug #6865: GC::Profiler.report might create a huge String and invoke a few GC cycles
- authorNari (Narihiro Nakamura) wrote:
> This issue was solved with changeset r37343 by Eregon.
> ...
Oh, sorry, I forgot to mention the issue in the commit log.
I also meant to come back to this issue to thank you for the review and... -
09:58 AM Bug #6865 (Closed): GC::Profiler.report might create a huge String and invoke a few GC cycles
- This issue was solved with changeset r37343 by Eregon.
Thank you. -
09:31 AM Revision b9cba071 (git): load.c: adjust style
- * load.c (loaded_feature_path): adjust style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:23 AM Revision 56f9574d (git): stringio.c: close separatedly
- * ext/stringio/stringio.c (strio_close): close separatedly per each
instances, as well as IO.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:52 AM Revision 897a3fce (git): Use assert_normal_exit to split process
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:35 AM Feature #1400 (Closed): Please add a method to enumerate fields in OpenStruct
- This issue was solved with changeset r37372.
Tomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/ostruct.rb (each_pair): Add #each_pair [#1400] -
06:20 AM Feature #6056 (Closed): Enhancements to OpenStruct
- This issue was solved with changeset r37376.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/ostruct.rb: Add [] and []=, base on a patch by Thomas Saw... -
06:19 AM Feature #7007 (Closed): Make OpenStruct#new accept OpenStruct object
- This issue was solved with changeset r37375.
Ilya, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/ostruct.rb: Also accept {Open}Struct as argument to new
[ru... -
06:19 AM Bug #6029 (Closed): Should OpenStruct implement #eql? and #hash?
- This issue was solved with changeset r37373.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/ostruct.rb: Add OpenStruct#eql? and OpenStruct#hash
[... -
04:07 AM Bug #7232 (Closed): StringIO#gets(nil, nil) raises TypeError, IO/File#gets do not
- Is this a bug?
sasha:rubinius brian$ irb
1.9.3p286 :001 > require 'stringio'
=> true
1.9.3p286 :002 > s = StringIO.new "abc"
=> #<StringIO:0x000001008b3d90>
1.9.3p286 :003 > s.gets nil, nil
TypeError: no implicit conversion ... -
04:00 AM Bug #7231 (Closed): StringIO inconsistently raises IOError or RuntimeError if the string is frozen
- StringIO#ungetc, #ungetbyte raise RuntimeError if the data string is frozen. StringIO#write raises IOError.
Why?
1.9.3p286 :001 > require 'stringio'
=> true
1.9.3p286 :002 > s = StringIO.new x = "abc"
=> #<StringIO:0x00000101... -
03:21 AM Bug #7228 (Closed): Matrix#determinant_e returns rank
- This issue was solved with changeset r37368.
py, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/matrix.rb: Fix determinant_e [ruby-dev:46305] [Bug #7228] -
03:19 AM Revision 78625e58 (git): gc.c: PRIuSIZE
- * gc.c (gc_profile_dump_on): use PRIuSIZE instead of 'zu'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:11 AM Feature #5185 (Rejected): Set#merge acts in place but Hash#merge does not
- On second thought recalling my original intention, I would say #update doesn't really fit for sets.
The word "update" indicates that some data may be lost through an operation by overwriting, but Set#merge does not cause any data loss... -
01:53 AM Bug #7230 (Closed): Updating Documentation for Dir::glob
- Hi
I updated the Dir:glob documentation (pattern section, backslash subsection).
I escaped the backslash character and surrounded code examples with code tags when they were missing.
This is my first contribution to the Ruby docume... -
01:25 AM Revision 9d27ced3 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:23 AM Revision 0f930791 (git): * ext/psych/lib/psych/handlers/recorder.rb: added a class for
- recording YAML parse and emit events.
* ext/psych/lib/psych/handler.rb: adding a list of events so that
handler classes can more easily be meta-programmed.
* test/psych/handlers/test_recorder.rb: tests for the change.
git-svn-id: sv... -
12:53 AM Bug #7085: Subversion → GitHub gateway stops.
- 2012/10/19 Evan Phoenix <evan@phx.io>:
> Sorry for the delay. I'll set this up this weekend.
>
Hello Evan,
Please apologize for constantly nagging you, but have any progress on
this? May I be of any assistance?
Thank you in ... -
12:23 AM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- (2012/10/28 22:59), banister (john mair) wrote:
>
> No problem, our current code skips CFUNC frames too :)
Okay.
> Are you thinking of exposing this API to Ruby (in core or stdlib) or just as a C API ?
I think it sho...
10/28/2012
-
11:38 PM Feature #6720 (Rejected): Discrepancy between DateTime#strftime('%s') and Time#strftime('%s') before 1582-10-15
-
11:33 PM Feature #5677: IO C API
- Currently Ruby doesn't provide an abstract layer dedicated for IO and IO-like classes.
Or, in other words, Ruby provide such layer by method dispatching by OOP (polymorphism).
I guess it's difficult to introduce another dispatch me... -
11:11 PM Feature #3946: Array#packのqQ指定子に機種依存サイズフラグ!を追加
- 読み直してみましたが、決着していないのは例外をどれにするかでしょうか。
私は、新規の例外を定義するのは大げさ過ぎると思っています。
ArgumentError と NotImplementedError のどちらにするかは、とくに意見はありません。
-
10:59 PM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- No problem, our current code skips CFUNC frames too :)
Are you thinking of exposing this API to Ruby (in core or stdlib) or just as a C API ? -
09:23 PM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- Thank you for your explanation.
(2012/10/28 21:08), banister (john mair) wrote:
> # return the binding for the nth caller, where Binding.of_caller(0) == binding
> Binding.of_caller(n)
`Kernel.binding' can't return binding... -
09:08 PM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- The API is this:
class methods
--
# return the binding for the nth caller, where Binding.of_caller(0) == binding
Binding.of_caller(n)
# return an array of all the caller bindings (this is useful when you want to take a snap-shot of t... -
05:29 AM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- (2012/10/28 5:14), banister (john mair) wrote:
> Unfortunately I can't make it to rubconf2012.
>
> What we need for Ruby 2.0 is the `binding_of_caller` gem working (https://github.com/banister/binding_of_caller/blob/ruby-2.0/ext... -
05:14 AM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- @ko1
Unfortunately I can't make it to rubconf2012.
What we need for Ruby 2.0 is the `binding_of_caller` gem working (https://github.com/banister/binding_of_caller/blob/ruby-2.0/ext/binding_of_caller/binding_of_caller.c ). We need to g... - 09:20 PM Revision 87b248dc (git): Update Changelog
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:20 PM Revision e44e356b (git): * lib/ostruct.rb: Add [] and []=, base on a patch by Thomas Sawyer
- [ruby-core:42779] [Feature #6056]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:19 PM Revision 3785d267 (git): * lib/ostruct.rb: Also accept {Open}Struct as argument to new
- [ruby-core:47476] [Feature #7007]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:19 PM Revision 22115ec8 (git): * lib/ostruct.rb: Simplify code
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:19 PM Revision b4300d25 (git): * lib/ostruct.rb: Add OpenStruct#eql? and OpenStruct#hash
- [ruby-core:42651] [Bug #6029]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:18 PM Revision 15d4862b (git): * lib/ostruct.rb (each_pair): Add #each_pair [#1400]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:18 PM Revision 2dafb0f4 (git): * lib/ostruct.rb: Protect new_ostruct_member [ruby-core:42779] [#6056]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:18 PM Revision af29f7d2 (git): * lib/ostruct.rb: Remove rdoc details on marshal_{load|dump} and fix rdoc
- [ruby-core:42557] [ruby-core:42780]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:25 PM Feature #6727: Add Array#rest (with implementation)
- duckinator (Nick Markwell) wrote:
> Regarding examples of it used in practice:
> ...
Thank you for searching for examples!
I guess you are aware many of these examples are using String#[1..-1].
A few examples are using MatchData#[1... -
11:25 AM Feature #6727: Add Array#rest (with implementation)
- Sorry that I forgot to check this again before.
I've done a bit of thinking and poking around since I ran across this again today.
Regarding [].rest == nil vs [].rest == []:
[] is treated as a truthy value, so there if rest re... - 06:21 PM Revision 8c163b85 (git): * 2012-10-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:21 PM Revision 23798cd6 (git): * lib/matrix.rb: Fix determinant_e [ruby-dev:46305] [Bug #7228]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:28 PM Bug #7228 (Closed): Matrix#determinant_e returns rank
- http://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/37328/entry/lib/matrix.rb#L1090
> def determinant_e
> ...
rank_e からコピーして直し忘れたように見えます。
-
03:43 PM Feature #4872 (Closed): REXML::XMLDecl#encodingがStringではなくEncodingを返すようにする
- This issue was solved with changeset r37355.
Kouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rexml/document.rb (REXML::Document#write): Add :encoding ... - 02:54 PM Revision 4e235053 (git): * test/rexml/test_document.rb: Remove needless indent.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:53 PM Feature #6757: [PATCH] Add Process.getsid
- > こういうシステム系の機能は判断する自信ないです。
> 一家言ありそうな akr さんに振ってみます。
こういう単に情報取得するだけの機能はノータイムで入れていいという認識。
逆にちゃんと考えないといけないのは、Cと同じ使い方をどうやっても提供できないケースで例えば
・IO: Ruby独自のバッファリングとエンコードの話があるのでsysread/syswriteが混ぜるな危険になる
・fork: ruby scriptをasync s... - 02:53 PM Revision 5f18ce9a (git): * test/rexml/test_document.rb: Add tests for parsing XML encoded
- by UTF-8 with BOM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:52 PM Revision 718813ca (git): * lib/rexml/source.rb: Move encoding detection code to base class.
- * lib/rexml/encoding.rb: Remove needless encoding detection code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:51 PM Bug #7227 (Rejected): failed to build native extension for bcrypt-ruby gem under cygwin on windows xp
- I am setting up a testing agent on Windows XP for a Rails App. This question was posted by me on Stackoverflow, where, members of the community suggested that this was in fact a Ruby Bug I should report here. For consistency purposes, th...
-
12:52 PM Revision 7ba54654 (git): * ChangeLog: add ML and ticket ref for r37343.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:42 PM Revision a7322e36 (git): * lib/rexml/parsers/baseparser.rb: Fix a bug that UTF-8 is used
- for UTF-16XX encoded XML that doesn't have encoding="UTF-16" in
XML declration.
* test/rexml/test_document.rb: Add tests for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:39 PM Revision a750424c (git): * test/rexml/test_document.rb: Group tests that they parse
- UTF-16XX encoded XML that has encoding="UTF-16" in XML declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:31 PM Revision 2a42c1bd (git): * lib/rexml/source.rb (REXML::IOSource#initialize): Reduce
- @line_break initialize code. It should be done only in #encoding=.
* lib/rexml/parsers/baseparser.rb: Don't set UTF-16 encoding to
source by encoding="UTF-16" in XML declaration because UTF-16XX
source encoding should be set in Sourc... -
12:24 PM Feature #4085: Refinements and nested methods
- ko1 (Koichi Sasada) wrote:
> Any problem now?
I like the current behavior of Refinements, so please give me feedback if you don't like it.
Some objections to Refinements are summarized below:
* Refinements are too complex.
* R... - 12:19 PM Revision 100b3be9 (git): * test/rexml/test_document.rb: Add tests for parsing XML encoded
- by UTF-16 with BOM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:20 AM Revision f774c96b (git): Revert r37358
- * lib/rexml/source.rb (REXML::IOSource#initialize): Use
encode("UTF-16XX") instead of UTF-16XX encoded byte string by
hand.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:57 AM Revision 054ae037 (git): * lib/rexml/source.rb (REXML::IOSource#initialize): Use
- encode("UTF-16XX") instead of UTF-16XX encoded byte string by
hand.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:29 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- Sasada-san, thank you for the review. You're right, patch (4) should (and doesn't) invalidate the cache when the working directory changes. I believe Yura is right that it should also invalidate the cache when the filesystem encoding c...
-
08:53 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- (2012/10/28 8:03), Hiroshi Shirosaki wrote:
> Yes. I think no behavior changed except "freeze $LOAD_PATH" by (G3)
> if I didn't overlook anything.
Thank you for your clarification.
Maybe Tarui-san will review them.
Plea... -
08:23 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- On Sun, Oct 28, 2012 at 7:36 AM, SASADA Koichi <ko1@atdot.net> wrote:
> I'm very happy if you describe the "changed behavior/assumption".
> Your explanation is "how to do it".
> But we need to know "what changed".
> Sorry if I m... -
07:53 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- (2012/10/28 7:10), h.shirosaki (Hiroshi Shirosaki) wrote:
> I think (S1) is more compatible trunk. It expands only relative load path always. Trunk expands all load path always.
> If load path has many relative load path, (G1) to (G... -
07:10 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- ko1 (Koichi Sasada) wrote:
> Could you give us the explanation of compatibility impact?
> ...
Hi,
I think (S1) is more compatible trunk. It expands only relative load path always. Trunk expands all load path always.
If load path h... -
04:29 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- Hi,
(2012/10/27 23:40), h.shirosaki (Hiroshi Shirosaki) wrote:
> Indeed in Greg's patch (4) load path cache remains when current working directory was changed. But so far I cannot find any test cases which fail with Greg's patch.... - 10:16 AM Revision 9f773625 (git): * ext/date/date_parse.c (iso8601_{ext,bas}_time): should not match
- empty string.
- この行以下は無視されます --
M ChangeLog
M ext/date/date_parse.c
M test/date/test_date_parse.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:53 AM Revision b4c6d6a3 (git): * ext/date/date_parse.c (date__parse): revised the tight parser.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:49 AM Bug #7171: test-all failure on OS X (RubyCI)
- mrkn (Kenta Murata) wrote:
> OS のファイアウォールが ON のときに該当のエラーが発生し、OFF のときに発生しない事を確認しました。
なるほど、道理で手元で起きないはずだ。
こんなこともあろうかと、なかださんが r35559 でrubyバイナリにコード署名する機能を足していまして、
コード署名していると「署名されているソフトウェアが外部からの接続を受け入れるのを自動で許可」がONになっていれば、
firewallが有効にな... -
09:03 AM Feature #3222 (Closed): Can bignums have singleton class & methods?
- This issue was solved with changeset r37348.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* bignum.c (bignew_1): Bignum instances are frozen.
Featu... -
08:23 AM Feature #3222: Can bignums have singleton class & methods?
- (2012/10/28 8:13), Yukihiro Matsumoto wrote:
> Ah, some programs might expect modifying instance variables of fixnums.
> But I think you can ignore such programs for most of the case. Try it.
Roger, boss.
--
// SASADA ... -
08:23 AM Feature #3222: Can bignums have singleton class & methods? - Hi,
In message "Re: [ruby-core:48497] Re: [ruby-trunk - Feature #3222] Can bignums have singleton class & methods?"
on Sun, 28 Oct 2012 05:33:45 +0900, SASADA Koichi <ko1@atdot.net> writes:
|> Accepted.
|
|Should I c... -
06:59 AM Feature #3222: Can bignums have singleton class & methods?
- (2012/10/28 6:45), Eregon (Benoit Daloze) wrote:
>> > class Fixnum; def fib; @fib ||= (self-1).fib + (self-2).fib; end; end; [0,1].each { |i| i.instance_eval { @fib = i } }
> => [0, 1]
>> > 42.fib
> => 267914296
>
> This is... -
06:45 AM Feature #3222: Can bignums have singleton class & methods?
- ko1 (Koichi Sasada) wrote:
> (2012/10/27 22:20), Eregon (Benoit Daloze) wrote:
> ...
I think it's to custom Numeric subclasses authors to chose for them to be frozen or not,
but I think having all core Numeric subclasses instances fro... -
05:53 AM Feature #3222: Can bignums have singleton class & methods?
- (2012/10/27 23:25), matz (Yukihiro Matsumoto) wrote:
>
> Issue #3222 has been updated by matz (Yukihiro Matsumoto).
>
> Assignee changed from matz (Yukihiro Matsumoto) to ko1 (Koichi Sasada)
>
> Accepted.
Should I co... - 06:43 AM Revision af83fcfe (git): * lib/rexml/document.rb (REXML::Document#write): Add :encoding option
- to support custom XML encoding.
[Feature #4872] (work in progress)
* test/rexml/test_document.rb: Add tests for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:39 AM Feature #6609: Toplevel as self extended module
- > We thought your slide included multiple requests.
Basically there were only two. It might seem like more b/c it is comprehensive in scope, covering many details in one go, i.e. Toplevel as a self extended module would provide #defin... -
06:39 AM Feature #6609: Toplevel as self extended module
- > We thought your slide included multiple requests.
Basically there were only two. It might seem like more b/c it is comprehensive in scope, covering many details in one go, i.e. Toplevel as a self extended module would provide #defin... - 06:01 AM Revision 292c659b (git): * lib/rexml/document.rb (REXML::Document#write): Remove needless
- indent in document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:59 AM Revision de2e09e0 (git): * lib/rexml/document.rb (REXML::Document#write): Accept options
- Hash as argument.
* test/rexml/test_document.rb: Add tests for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:45 AM Feature #7226: Add Set#join method as a shortcut for to_a.join
- Sorry, previous patch contained a typo. Here's an updated patch.
-
05:38 AM Feature #7226 (Rejected): Add Set#join method as a shortcut for to_a.join
- I was surprised that `Set.new.join` gives me a NoMethodError.
This patch that adds a #join method to Set, which is a shortcut for `to_a.join`.
- 05:10 AM Revision 134ded5d (git): * lib/rexml/document.rb (REXML::Document#write): Fix wrong usage
- in document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:05 AM Revision 64c46476 (git): * lib/rexml/document.rb (REXML::Document#write): Fix wrong method
- names in document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:02 AM Bug #6809 (Assigned): Deprecation of Config
- Eregon (Benoit Daloze) wrote:
>
> ...
I do thin the warning should stay longer considering it was "recently" introduced in 1.9.3
While lot of projects have updated their code, there are still lot of extensions and libraries that use... -
01:13 AM Revision f8d34b2a (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: `tree` should return the
- same thing on every call.
* test/psych/visitors/test_yaml_tree.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:06 AM Revision dbe6250a (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: YAML Tree object should
- be able to take an emitter object as it's output.
* test/psych/visitors/test_yaml_tree.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:49 AM Feature #4299 (Closed): no warning: found = in conditional, should be ==
- This issue was solved with changeset r37344.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
parse.y: warn static content assign in cond
* parse.y (assig... -
12:42 AM Feature #2255: unicode parameters cannot be passed to ruby
- Thank you!
-
12:09 AM Feature #6372: More specific error for uncaught throw
- =begin
Is your objection to `#thrown?`. If so, that's not the feature request. It is just an example of usage. Consider this example instead from MiniTest:
##
# Fails unless the block throws +sym+
def assert_throws sym, msg... -
12:06 AM Feature #3388: regexp support for start_with? and end_with?
- I had a try implementing a global persistent cache for Regexps.
Is a global persistent cache OK? It seems bad for dynamically created regexps.
Maybe some kind of weak reference map?
akr: What kind of cache did you think to? -
12:03 AM Revision f3e5f2cd (git): * bignum.c (bignew_1): Bignum instances are frozen.
- Feature #3222
* include/ruby/ruby.h: Fixnum instances are also frozen.
* class.c (singleton_class_of): check Bignum before
singleton cheking.
* test/ruby/test_bignum.rb: add a test.
* test/ruby/test_fixnum.rb: ditto.
* test/ruby/marsha...