Activity
From 07/25/2009 to 07/31/2009
07/31/2009
- 11:06 PM Revision e286c417 (git): * 2009-08-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:00 PM Revision 29e10728 (git): * lex.c: update.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:52 PM Revision 17dc5b35 (git): * 2009-08-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:36 PM Revision c4641d6a (git): Can't use singlebyte optimization when the replacement is multibyte. [ruby-core:24612]
- * string.c (tr_trans): can't use singlebyte optimization when
the replacement is multibyte. [ruby-core:24612]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:07 PM Feature #1844: Immediates Should Not Respond to :dup
- =begin
There's try_dup in extlib [0], which returns self in various class,
i.e. NilClass, Symbol, TrueClass, FalseClass, Numeric, and Module.
I am not sure, but I think this is used to prevent from side-effect.
I am wondering, ... -
10:19 AM Feature #1844: Immediates Should Not Respond to :dup
- =begin
What about adding Kernel#dup? method that is an alias of Kernel#dup: a class that cannot be duplicated would implement dup that throws an exception and dup? that returns nil or self?
Tomas
-----Original Message-----
From: ... -
10:10 AM Feature #1844: Immediates Should Not Respond to :dup
- =begin
Hi --
On Fri, 31 Jul 2009, Shyouhei Urabe wrote:
> Issue #1844 has been updated by Shyouhei Urabe.
>
>
> Anyway when getting back to :dup story, I'm not against to make it
> more "reliable". But there seems to be sever... -
10:03 AM Feature #1844: Immediates Should Not Respond to :dup
- =begin
Hi --
On Fri, 31 Jul 2009, Hongli Lai wrote:
> Issue #1844 has been updated by Hongli Lai.
>
>
> I disagree.
>
> - Exceptions are expensive.
> - Rescuing a specific exception requires a multi-line statement,
> while ... -
09:46 AM Feature #1844: Immediates Should Not Respond to :dup
- =begin
Well, I was about to write the case of Rake::TaskArguments :p I agree that respond_to? should be reliable, but doing wrong here is fairly easy, especially when you write your method_missing to tweak method dispatches.
Anywa... -
09:07 AM Feature #1844: Immediates Should Not Respond to :dup
- =begin
Hongli, respond_to? may not be reliable in the case of proxy objects. Also, calling respond_to? adds an implicit API requirement that simply calling the method does not. For example: http://github.com/rails/rails/commit/78af27106... -
09:01 AM Feature #1844: Immediates Should Not Respond to :dup
- =begin
I agree that simply calling the method is ideal. However, rescuing an exception for such a common case may be very expensive in an inner loop.
Rails introduced Object#duplicable? for this reason: http://github.com/rails/rail... -
08:56 AM Feature #1844: Immediates Should Not Respond to :dup
- =begin
I disagree.
- Exceptions are expensive.
- Rescuing a specific exception requires a multi-line statement, while respond_to? allows one to write "bar.foo if bar.respond_to?(:foo)"
- How do you know the exception was raised... -
06:16 AM Feature #1844: Immediates Should Not Respond to :dup
- =begin
# This is a bit radical opinion, I admit.
From my point of view, "determining" whether an object has a method is a wrong idea.
Instead you should just call that method. Which is:
begin
obj.method
rescue
.... -
04:15 AM Feature #1844 (Rejected): Immediates Should Not Respond to :dup
- =begin
Immediate can't be dup'd but they :respond_to?(:dup). This leads to ugly logic for determining whether a value can be dup'd. I suggest that immediates return false for :respond_to?(:dup). This is consistent with methods that wou... -
02:34 PM Bug #1846 (Rejected): Unexpected behavior of hash of array
- =begin
This is a designed behaviour. Every time you change any key object of a hash, you have to call that hash's rehash method.
=end
-
02:16 PM Bug #1846 (Rejected): Unexpected behavior of hash of array
- =begin
I noticed some unexpected behaviors of hash with array key
irb(main):001:0> h={}
=> {}
irb(main):002:0> a=[]
=> []
irb(main):003:0> h[a]=1
=> 1
irb(main):004:0> a<<1
=> [1]
irb(main):005:0> h[a]=2
=> 2
ir... -
01:32 PM Feature #1831: Suggestion: warn on repeated character in character class
- =begin
Hi,
In message "Re: [ruby-core:24627] [Feature #1831] Suggestion: warn on repeated character in character class"
on Fri, 31 Jul 2009 08:01:30 +0900, Yui NARUSE <redmine@ruby-lang.org> writes:
|Patch updated.
|
|Matz,... -
08:01 AM Feature #1831: Suggestion: warn on repeated character in character class
- =begin
Patch updated.
Matz, can I commit this patch?
=end
-
08:00 AM Feature #1831: Suggestion: warn on repeated character in character class
- =begin
=end
-
08:00 AM Feature #1831 (Assigned): Suggestion: warn on repeated character in character class
- =begin
=end
-
09:24 AM Bug #1841: Float internal problem in ruby1.9.2dev (2009-07-18)
- =begin
Well, I'm according for this behavior for Float#inspect. But I'll prefer the old one for Float#to_s. As many people said.
Thanks for the answer.
=end
-
08:36 AM Bug #1841: Float internal problem in ruby1.9.2dev (2009-07-18)
- =begin
There was a discussion around Float's string representation after 1.9.1 was released.
http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-core/22325?22249-23532+split-mode-vertical
This change is due to that.
=end
-
06:39 AM Bug #1841: Float internal problem in ruby1.9.2dev (2009-07-18)
- =begin
Yeah, I know about the general problem of floats. Not the first time I got something unexpected.
I wouldn't wonder if it was the same behavior before.
But here it's different. It changed between 1.9.1 and 1.9.2. Why? I sup... -
02:30 AM Bug #1841 (Rejected): Float internal problem in ruby1.9.2dev (2009-07-18)
- =begin
Welcome to the real world. Take a little look at IEEE754.
=end
- 09:03 AM Revision 971f2bb7 (git): * lib/securerandom.rb (SecureRandom.random_bytes): return string should
- be ASCII-8BIT. [ruby-core:24640]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:34 AM Revision 076c8d9a (git): * NEWS: ditto.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:34 AM Revision 07acec57 (git): * 2009-07-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:33 AM Revision f82dc0ff (git): * parse.y: Support for { key: value } -style hash immediates.
- [ruby-core:21946][ruby-core:22286]
* keywords: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:37 AM Revision 00499c09 (git): Set encodings of stdio after setting default internal and external.
- * io.c (rb_stdio_set_default_encoding): added.
* ruby.c (process_options): call rb_stdio_set_default_encoding
after setting defualt internal and external.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24337 b2dd03c8-39d4-4d8f-98f... - 06:09 AM Revision bc70ea70 (git): * tool/compile_prelude.rb: too long string literal causes compile error
- on some platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:16 AM Revision a4362122 (git): * transcode.c (str_encode_bang): C99ism.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:48 AM Revision e5df8fd2 (git): * compile.c (iseq_compile_each): used more appropriate construct.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:41 AM Bug #1843: Symbol#inspect raises exception
- =begin
My impression is that such symbols should be forbidden to exist.
=end
-
02:22 AM Bug #1843 (Closed): Symbol#inspect raises exception
- =begin
If you can create an object, I think you should always be able to inspect it.
However Symbol#inspect raises an exception if it was made from a string with an invalid encoding.
>> "hello\xff".to_sym.inspect
ArgumentErr... -
02:36 AM Feature #1840: Hash に要素追加して self を返すメソッド
- =begin
Kimura Yoshihiro さんは書きました:
> 他の方の意見やアイデアも聞いてみたいです。
個人的にはHash#updateとかが好みですが、メジャーじゃないのかな。
Attachment: signature.asc
=end
-
01:54 AM Revision 5004e33f (git): * parse.y (literal_concat_gen): reduced unnecessary node at string
- literal concatenation with empty head dstr. [ruby-dev:38968]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:41 AM Bug #1842 (Closed): mspec で SIGABRT
- =begin
chkbuild のログを見ると mspec で SIGABRT が出ていますが、lib/mspec/mocks/mock.rb の一部の
SpecExpectation.fail_with(
"Mock '#{name_or_inspect obj}' expected to receive '#{key.last}' " \
"#{qualifier.to_s.sub('...
07/30/2009
-
11:32 PM Bug #1841 (Rejected): Float internal problem in ruby1.9.2dev (2009-07-18)
- =begin
ruby 1.9.1 and earlier
>> 729/10.0
=> 72.9
ruby 1.9.2dev (2009-07-18) [i386-mswin32_90]
build this morning with VC++Express08
>> 729/10.0
=> 72.90000000000001
or even
>> 72.9
=> 72.90000000000001
>> 72.9... -
09:47 PM Bug #1838 (Closed): str[0,1]||='H' results Stack consistency error
- =begin
Applied in changeset r24323.
=end
-
06:12 PM Bug #1838 (Closed): str[0,1]||='H' results Stack consistency error
- =begin
$ ruby -e '"hello"[0,1]||="H"'
-e:1: [BUG] Stack consistency error (sp: 7, bp: 6)
ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-linux]
-- control frame ----------
c:0003 p:0035 s:0007 b:0006 l:00149c d:0006cc EVAL ... -
08:49 PM Bug #1834: 1.9.2-dev fails to compile socket with IPv6 and MinGW 3.4.5
- =begin
On Wed, Jul 29, 2009 at 11:23 PM, U.Nakamura<usa@garbagecollect.jp> wrote:
> Hello,
>
> Sorry, I don't have much time now to resolve this problem.
Thank you Mr. Nakamura, no need to sorry for this. Wanted to verify wasn't m... -
11:23 AM Bug #1834: 1.9.2-dev fails to compile socket with IPv6 and MinGW 3.4.5
- =begin
Hello,
Sorry, I don't have much time now to resolve this problem.
Roughly summarize of my understanding.
(1) MinGW's IPv6 support seems to be broken.
VC++6 has same problem, I know.
So, mswin's ipv6 support is ... -
10:29 AM Bug #1834 (Closed): 1.9.2-dev fails to compile socket with IPv6 and MinGW 3.4.5
- =begin
Hello,
I'm running the One-Click Ruby Installer compile scripts on 32bits Windows 7. By default, it has IPv6 installed and enabled.
After configured Ruby with the following parameters:
--enable-shared --disable-ins... -
08:03 PM Feature #1840 (Rejected): Hash に要素追加して self を返すメソッド
- =begin
配列から Hash を作るときなどに、よく
a.inject({}) {|h, x| h[x] = ...; h }
みたいにするのはもはやイディオムと言ってよいと思いますが(*1)、
「; h」の部分が少々オマジナイっぽいのが気になっていました。
気になったついでに検索してみたら他にもそのような意見を目にしたので(*2)、
Hash に「要素追加して self を返す」ようなメソッドを追加することを
提案し... -
07:59 PM Bug #1836: Can change encoding on frozen String
- =begin
Well, force_encoding raises an exception even if you specify the same one it already has:
>> s = "abcd"
=> "abcd"
>> s.freeze.force_encoding(s.encoding)
RuntimeError: can't modify frozen string
So your new behavio... -
07:01 PM Bug #1836: Can change encoding on frozen String
- =begin
The current version raises an error even if encode! is a dummy operation, e.g. for
'abcd'.force_encoding(encoding_foo).freeze.encode!(encoding_foo)
Please comment on whether I can close this bug or not.
=end
-
06:47 PM Bug #1836 (Closed): Can change encoding on frozen String
- =begin
Applied in changeset r24322.
=end
-
05:36 PM Bug #1836: Can change encoding on frozen String
- =begin
working on a fix
=end
-
05:05 PM Bug #1836 (Closed): Can change encoding on frozen String
- =begin
String#encode! lets you change the encoding on a frozen String, as long as the character sequence is unchanged by the operation.
>> s = "hello"
=> "hello"
>> s.freeze
=> "hello"
>> s.encode!("ISO-8859-1")
=> "hello... -
06:46 PM Bug #1839: String#tr borked for UTF-8 0080..00FF
- =begin
Oops, I pasted ruby -v instead of ruby19 -v. The correct version is:
ruby 1.9.2dev (2009-07-18 trunk 24186) [i686-linux]
=end
-
06:44 PM Bug #1839 (Closed): String#tr borked for UTF-8 0080..00FF
- =begin
>> a = "uber"
=> "uber"
>> a.encoding
=> #<Encoding:UTF-8>
>> b = a.tr("u","ü")
=> "\xFCber"
>> b.encoding
=> #<Encoding:UTF-8>
What's more remarkable,
>> b.valid_encoding?
=> true
!!!
>> b << ... -
06:02 PM Revision 3129ed32 (git): * parse.y (literal_concat_gen): NODE_DSTR was incorrectly handled as
- NODE_STR. [ruby-dev:38968]
* bootstraptest/test_syntax.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:17 PM Bug #1837 (Closed): Test failure (test_block.rb) in Ruby 1.9.2 preview1 on FreeBSD 6.0
- =begin
> まず、この手の明白なバグはRedmineに入れていただいた方が忘れられづらいです。
了解しました。ということで改めて。
> さて、この問題ですが現在の最新はr24311とかですが、これでも再現しますか?
> とりあえず、1.9.2dev (2009-07-29 trunk 24311) [x86_64-freebsd7.2]では再現しません。
r24321で再現しました。FreeBSD6特有なのか、32bit特有なの... -
04:47 PM Bug #1833 (Closed): Class name encoding
- =begin
Applied in changeset r24321.
=end
-
11:45 AM Bug #1833 (Assigned): Class name encoding
- =begin
=end
-
10:12 AM Bug #1833 (Closed): Class name encoding
- =begin
Encoding of class name is not preserved.
#encoding: UTF-8
class Cß
end
p Cß.name #=> "C\xC3\x9F"
p Cß.name.encoding #=> #<Encoding:ASCII-8BIT>
I expect the encoding of the name to be UTF-8.
=end
-
03:57 PM Revision 22acf295 (git): * test/ruby/test_module.rb (test_ancestors, test_included_modules):
- ignore rake mixins.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:37 PM Feature #1831: Suggestion: warn on repeated character in character class
- =begin
I'm interested in your suggestion, and wrote a patch.
=end
- 03:35 PM Revision f3f74f49 (git): * 2009-07-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:34 PM Revision 447df195 (git): * vm_insnhelper.c (vm_call_cfunc): let set_trace_func use called_id
- instead of original_id.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:19 PM Feature #1835: 0x80.chr not equal to "\x80"
- =begin
Ruby 1.9 treats 0x00-0x7F specially because 0x00-0x7F is compatible with many other encodings. (ASCII compatible encosings)
But 0x80-0xFF doesn't.
=end
-
12:27 PM Feature #1835: 0x80.chr not equal to "\x80"
- =begin
"0x80" is just an example.
It means the ASCII code in the range of 0x80-0xFF.
It is inconsistent with the case of 0x00-0x7F.
=end
-
12:06 PM Feature #1835 (Assigned): 0x80.chr not equal to "\x80"
- =begin
Why you want it. "\x80" has any special reason?
=end
-
11:42 AM Feature #1835 (Rejected): 0x80.chr not equal to "\x80"
- =begin
I suggest 0x80.chr should be equal to "\x80" regardless of locale.
Here is the current behavior:
irb(main):001:0> 0x80.chr.encoding
=> #<Encoding:ASCII-8BIT>
irb(main):002:0> "\x80".encoding
=> #<Encoding:UTF-8>
... -
02:12 PM Revision b5b8e5e0 (git): * gem_prelude.rb (Gem.path): uses Gem.default_path as a default value
- so that ruby finds gems in ~/.gem/.
(Gem.user_home): reduced version of lib/rubygems.rb's.
Gem.default_path needs it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:12 PM Revision e6046303 (git): * tool/compile_prelude.rb: replaces "require" with in-place evaluation
- so that copy & paste for lib/rubygems/default.rb is not necessary.
* gem_prelude.rb: removes copied codes from lib/rubygems/defaults.rb.
uses require instead.
* common.mk (prelude.c): adds dependency for lib/rubygems/defaults.rb.
gi... -
12:57 PM Revision 045136d4 (git): * test/ruby/test_rand.rb: add tests for Random class.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:55 PM Revision fe22f83e (git): * random.c (init_genrand): ensure invariant of mt->next and mt->left.
- mt->next should always equal mt->state + N + 1 - mt->left.
In fact, 'r = Random.new(0); r == r.dup' has returned false.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:45 PM Revision 6937a3e2 (git): * random.c (random_bytes): use NUM2LONG instead of FIX2LONG because
- Random#bytes may receive bignum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:42 PM Revision df878f78 (git): * compile.c (iseq_compile_each): fix stack consistency error.
- [ruby-core:24611]
* bootstraptest/test_method.rb: add tests for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:40 AM Revision 5e85648b (git): * transcode.c: added check for frozen string for encode! (see Bug #1836)
- * test/ruby/test_transcode.rb: added tests for the above
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:45 AM Revision b8b083db (git): * insns.def (defineclass): preserve encoding of class/module
- names. [ruby-core:24600]
* variable.c (rb_set_class_path_string): set class path with a
string value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:43 AM Revision d919a67c (git): * variable.c (rb_class_path): fixed a variable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:39 AM Revision 8bc2fb5b (git): add a test.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:12 AM Revision 08fa9bad (git): * variable.c (Init_var_tables): initializes __classid__ ID.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:10 AM Revision d67e9aea (git): * variable.c: use st_data_t for st functions.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:10 AM Revision bd25b6a3 (git): * test/cgi/test_cgi_util.rb: properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:34 AM Revision cf81e3cc (git): * 2009-07-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:34 AM Revision 1976ef38 (git): * lib/cgi/util.rb (CGI::unescape): support encoding option.
- * lib/cgi/cookie.rb (CGI::Cookie.parse): fix for the encoded value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:31 AM Revision 3799f1bb (git): merge revision(s) 23740:
- * bignum.c (big_lshift, big_rshift): return Bignum always withou
normalization. [ruby-dev:38680]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@24313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/29/2009
-
04:49 PM Feature #1831: Suggestion: warn on repeated character in character class
- =begin
That should have said $VERBOSE=true, but it makes no difference
=end
-
04:45 PM Feature #1831 (Closed): Suggestion: warn on repeated character in character class
- =begin
Suggestion: warn if the same character appears more than once in a character class (or more restrictedly: if the character ':' appears both at the start and end of a character class)
This is to give some indication of the pr... -
04:48 PM Feature #1832 (Closed): irb -w
- =begin
It would be nice if either irb had a -w flag, or $VERBOSE defaulted to true in irb.
$ irb19
irb(main):001:0> $VERBOSE
=> false
=end
-
01:51 PM Bug #1826 (Closed): json で無駄な private 指定がある
- =begin
commit edf05962c018e9decf6c49c141d0133c716ac770
Author: matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Tue Jul 28 18:40:17 2009 +0000
* ext/json/lib/json/common.rb (JSON#recurse_proc): remove
unnece... -
11:46 AM Bug #1633 (Assigned): ARGF#close and ARGF#skip are Often Fatal on 1.9
- =begin
Should also be backported to 1.8.6.
=end
-
09:55 AM Bug #1828 (Rejected): 1/-20 == -1 ?
- =begin
=end
-
12:13 AM Bug #1828: 1/-20 == -1 ?
- =begin
100/-20 => -5
1/-20.0 => -0.05
sounds to me like an invalid bug report.
=end
-
02:44 AM Revision 1d18ec7e (git): merge revision(s) 23700:
- * io.c (argf_close): always call #close method. [ruby-core:23853]
* io.c (argf_skip): should close only when current_file is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@24312 b2dd03c8-39d4-4d8f-9...
07/28/2009
-
11:54 PM Bug #1828 (Rejected): 1/-20 == -1 ?
- =begin
Dividing positive number by negative number returns incorrect value.
irb(main):001:0> 1/-20
=> -1
irb(main):002:0> 30/-20
=> -2
irb(main):003:0> 20/-30
=> -1
=end
-
11:11 PM Revision 3ca25b5a (git): * parse.y (regexp): regexp literal at the top of dstr is still needed even if it is empty.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:34 PM Bug #1525: Deadlock in Ruby 1.9's VM caused by ConditionVariable.wait and fork?
- =begin
"none <" <tetsu.soh.dev@gmail.com> wrote:
> Eric Wong wrote:
>> It should be possible to fix the problem by keeping track of all mutexes as
>> they're created/initialized and registering pthread_atfork handlers
>> to ensure a... -
04:28 AM Bug #1525: Deadlock in Ruby 1.9's VM caused by ConditionVariable.wait and fork?
- =begin
Looking at trunk, there doesn't seem to be any accounting of mutexes to pass to
handlers for pthread_atfork; so the child process will just inherit the mutexes
in an unknown state.
It should be possible to fix the proble... -
06:40 PM Revision edf05962 (git): * ext/json/lib/json/common.rb (JSON#recurse_proc): remove
- unnecessary private specifier. [ruby-dev:38929]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:38 PM Revision 07de51fc (git): * vm_core.h, vm_insnhelper.c (vm_call_method): revive
- VM_CALL_OPT_SEND_BIT and use it to recognize "send" method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:14 PM Revision 8c0e6223 (git): * 2009-07-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:14 PM Revision 497ee63f (git): * proc.c (rb_method_entry_arity): support not_implemented method.
- (I have no idea to test it)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:15 PM Bug #1826 (Assigned): json で無駄な private 指定がある
- =begin
=end
-
12:03 PM Bug #1826 (Closed): json で無駄な private 指定がある
- =begin
json で無駄な private 指定があります。
module_function は指定されたメソッドを private メソッドかつ特異メソッドにしてくれるので、
private 指定は不要だと思います。実害は無いのですが報告しておきます。
Index: ext/json/lib/json/common.rb
========================================================... -
10:41 AM Revision 9050b61d (git): * proc.c (rb_method_entry_arity): support optimized method (send).
- * test/ruby/test_method.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:46 AM Revision 49991ff6 (git): * io.c (argf_eof): should call next_argv() before testing.
- [ruby-core:24561]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:02 AM Revision fc13dbdc (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:48 AM Revision 56057f9f (git): * eval.c (rb_event_all, rb_add_event_hook): merged thread-switch
- events for RubyCocoa. [ruby-dev:38924]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:41 AM Feature #1823 (Rejected): Readline Command Completion
- =begin
Readline lets you specify a character to append to the end of the string after command completion has succeeded (i.e. a space after a matched command or a '/' after a matched directory). In the command completion proc, I'm prov... -
06:40 AM Bug #1822 (Closed): WEBrick::HTTPServlet::AbstractServlet#do_OPTIONS raises an exception
- =begin
WEBrick::HTTPServlet::AbstractServlet#do_OPTIONS raises an exception when called:
NoMethodError: undefined method `sub' for :do_GET:Symbol
I've attached a patch with test that fixes this.
=end
-
05:38 AM Bug #1711: Marshal Failing to Round-Trip Certain Recurisve Data Structures
- =begin
On Jul 27, 2009, at 06:14, Yukihiro Matsumoto wrote:
> In message "Re: [ruby-core:24105] [Bug #1711] Marshal Failing to
> Round-Trip Certain Recurisve Data Structures"
> on Thu, 2 Jul 2009 02:30:15 +0900, Run Paint Run Ru...
07/27/2009
-
10:15 PM Bug #1711: Marshal Failing to Round-Trip Certain Recurisve Data Structures
- =begin
Hi,
In message "Re: [ruby-core:24105] [Bug #1711] Marshal Failing to Round-Trip Certain Recurisve Data Structures"
on Thu, 2 Jul 2009 02:30:15 +0900, Run Paint Run Run <redmine@ruby-lang.org> writes:
|I have attached a... -
10:15 PM Bug #1525: Deadlock in Ruby 1.9's VM caused by ConditionVariable.wait and fork?
- =begin
Hi,
In message "Re: [ruby-core:24565] Re: [Bug #1525] Deadlock in Ruby 1.9's VM caused by ConditionVariable.wait and fork?"
on Sun, 26 Jul 2009 22:11:41 +0900, Hongli Lai <hongli@plan99.net> writes:
|In any case, not b... - 07:43 PM Revision 8a44a334 (git): * 2009-07-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:42 PM Revision 71778508 (git): * ext/tk/lib/extconf.rb: bug fix and ignore invalid Tcl/Tk libraries.
- * ext/tk/lib/config_list.in: bug fix and add a new option.
* ext/tk/lib/README.tcltklib: update for a new option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:42 PM Revision 5ff79f0b (git): * 2009-07-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:40 PM Revision 8e7e28f1 (git): * ext/tk/lib/extconf.rb: bug fix and ignore invalid Tcl/Tk libraries.
- * ext/tk/lib/config_list.in: bug fix and add a new option.
* ext/tk/lib/README.tcltklib: update for a new option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:46 PM Bug #1814: unrecognized option --with-openssl-dir with 1.8.6-p369 (Solaris 10)
- =begin
Hi,
At Fri, 24 Jul 2009 07:27:08 +0900,
S. Collett wrote in [ruby-core:24545]:
> Receive this message when compiling ruby1.8.6-p369 in Solaris 10 with --with-openssl-dir specified:
>
> WARNING: unrecognized options: --wit... -
10:27 AM Bug #1803 (Closed): rdocがサイズ0のファイルのバイナリ判定に失敗する
- =begin
Applied in changeset r24297.
=end
-
10:03 AM Revision 2b2a9a23 (git): * include/ruby/intern.h (rb_*str_new_cstr, rb_str_buf_new_cstr),
- (rb_str_buf_cat2, rb_str_cat2, rb_exc_new2): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:25 AM Revision 1ac307dd (git): * lib/rdoc/parser.rb (RDoc::Parser.binary?): fix for empty files.
- [ruby-dev:38848]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:37 AM Revision a800d9c1 (git): * ChangeLog: forgotten ML ref, [ruby-core:24561].
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:37 AM Revision f9e7c3c3 (git): * ChangeLog: forgotten ML ref, [ruby-core:24561].
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/26/2009
-
06:37 PM Bug #1802 (Closed): Ruby 1.9.2: No longer possible to use send to call protected methods
- =begin
Applied in changeset r24280.
=end
-
03:33 PM Revision 62cc5d4e (git): merges r24229 and r24233 from trunk into ruby_1_9_1.
- --
* lib/irb.rb, lib/irb/init.rb, lib/irb/ext/save-history.rb: add
IRB::irb_at_exit. no use finalizer saving history. [ruby-dev-38563]
--
* lib/irb.rb: forget svn commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_... -
03:33 PM Revision 4adce79f (git): merges r24226 from trunk into ruby_1_9_1.
- --
* lib/tracer.rb: no show lines unkonwn line number. [ruby-core:22096],
no trace display c-call and c-return as default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:32 PM Revision 618bda1d (git): merges r24219 from trunk into ruby_1_9_1.
- --
* lib/tracer.rb: toplevel caller exists now. [ruby-core:24454]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:32 PM Revision ac0ef5ab (git): merges r24211 from trunk into ruby_1_9_1.
- --
* lib/matrix.rb (Matrix#rank): revert a part of r20859 to avoid
infinite loop. [Bug #1020]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:32 PM Revision cd516cbb (git): merges r24203 from trunk into ruby_1_9_1.
- --
* io.c (io_read): should taint the result. [ruby-dev:38826]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:32 PM Revision c02c2df7 (git): merges r24197 from trunk into ruby_1_9_1.
- --
use rb_enc_get to get the encoding of a Regexp object.
* re.c (reg_enc_error): use rb_enc_get to get the encoding of
a Regexp object. REGEXP(re)->ptr->enc is the encoding of the
regexp engin for patterns and target strings.
[ru... -
03:31 PM Revision 7e7ff077 (git): merges r24180 from trunk into ruby_1_9_1.
- --
* ext/tk/lib/tk.rb,ext/tk/lib/tk/grid.rb: Bug fix on grid_slaves().
Extend usage pattern of grid_column()/grid_row().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:31 PM Revision 6e4aa0c6 (git): merges r24179 from trunk into ruby_1_9_1.
- --
* include/ruby/win32.h: include winsock headers in extern "C++" for
C++ extension libraries.
* include/ruby/missing.h (vsnprintf): workaround for VC++.
[ruby-core:23096]
git-svn-id: svn+ssh://ci.r... - 03:21 PM Revision acc19b74 (git): * 2009-07-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:21 PM Revision 20a34d8e (git): merges r24171 and r24176 from trunk into ruby_1_9_1.
- --
* ext/readline/readline.c (Init_readline): use rl_catch_sigwinch only
when existing.
* ext/readline/extconf.rb: check existance of rl_catch_sigwinch, and
workaround for native Win32 readline port.
... -
10:17 AM Revision 27a9a7d1 (git): * io.c (argf_eof): go to the next file if called after ARGF.close
- or ARGF.skip. [ruby-core:24561]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:17 AM Revision b7f26835 (git): * io.c (argf_eof): go to the next file if called after ARGF.close
- or ARGF.skip. [ruby-core:24561]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:42 AM Revision b259db28 (git): * io.c (Init_IO): $FILENAME should correspond to the first element
- of ARGV initially.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:37 AM Revision 030aec1c (git): * test/ruby/test_argf.rb: partially backported from the trunk.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:36 AM Revision f9f1581f (git): * ChangeLog: removed extra spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:36 AM Revision 4f049973 (git): * ChangeLog: removed extra spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:30 AM Revision 00d61f1f (git): * vm_insnhelper.c (vm_call_method): __send__ can call protected
- methods. [ruby-core:24500]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:27 AM Revision 34df0e5c (git): * vm_insnhelper.c (vm_call_method): fixed indent.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/25/2009
-
05:24 PM Bug #924: encoding for stdio's
- =begin
成瀬さんが以前書かれた以下の前提は変わったと思うのですが、
現在でも標準入出力を自動変換しない理由をもう少し詳しく書いていただけないでしょうか。
> default_internal は導入されましたが、自動変換はデフォルトはオフになっています。
> このため、入力エンコーディングの自動変換はデフォルトだと働きません。
> この状態で、出力だけ自動変換をするというのはおかしいように思います。
あと標準入出力を自動変換しない場合、非 AS... - 03:24 PM Revision 9eef2ad2 (git): * include/ruby/defines.h [__SYMBIAN32__]: defined TRUE and FALSE to match changes in bignum.c and array.c.
- * ext/bigdecimal.c: moved BASE_FIG definition before it is used first time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:21 PM Revision f1587cc4 (git): * include/ruby/defines.h [__SYMBIAN32__]: defined TRUE and FALSE to match changes in bignum.c and array.c.
- * ext/bigdecimal.c: moved BASE_FIG definition before it is used first time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:19 PM Revision 6c4e4f9a (git): * include/ruby/defines.h [__SYMBIAN32__]: defined TRUE and FALSE to match changes in bignum.c and array.c.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:18 PM Revision 0a12f4ac (git): * 2009-07-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:18 PM Revision a34dc9dc (git): * ext/bigdecimal.c: moved BASE_FIG definition before it is used first time.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:22 PM Bug #1500: test_io runs forever in windows
- =begin
Also observed on Mac OS X 10.5.7 with Ruby 1.9.1-p243. After building with defaults (no options to configure or make), all tests pass except for #226, test_io.rb. That test fails with the message "not finished in 10 seconds [r... -
12:36 PM Revision 151087a8 (git): merge revision(s) 23624:
- * enum.c (first_i): Enumerator#first should consume only what is
needed. a patch from Marc-Andre Lafortune. [ruby-core:23661]
* enum.c (take_i): ditto.
* enum.c (enum_first): call to_int once for an argument.... -
08:49 AM Revision c689ee1a (git): * io.c (argf_eof): should not have reached EOF before trying to
- read. based on a patch by Heesob Park <phasis AT gmail.com> at
[ruby-core:24559]. [ruby-core:24557]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:44 AM Revision d6ab8283 (git): * complex.c (nucomp_hash), rational.c (nurat_hash): not to use
- hash value of class so that equality against subclasses can
work. [ruby-dev:38850]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:42 AM Revision 4fd61594 (git): * enc/big5.c: not executable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e