Project

General

Profile

Activity

From 08/30/2009 to 09/05/2009

09/05/2009

11:11 PM Revision c06c7709 (git): * io.c (argf_next_argv): fixed indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:24 PM Revision 233cda04 (git): * 2009-09-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:23 PM Revision a535975b (git): * io.c: Add rdoc for ARGF.
contributed by Run Paint Run Run. [ruby-core:23854]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:39 PM Feature #2034: Consider the ICU Library for Improving and Expanding Unicode Support
=begin
> If ICU was not available could we not fall back to the current behaviour?

No, if so, it lose portability of scripts.
Codes will depend both Ruby's version and whether ICU is installed or not.
Codes wrote with ICU runs ...
naruse (Yui NARUSE)
05:26 AM Feature #2034: Consider the ICU Library for Improving and Expanding Unicode Support
=begin
Thank you, naruse.

> First, the dependency to ICU seems a problem.
> ICU is well portable library, but Ruby is also portable.
> We may be in trouble in some environment.

If ICU was not available could we not fall ba...
runpaint (Run Paint Run Run)
04:35 PM Revision 0cf8e307 (git): merge revision(s) 24369:
* win32/win32.c (rb_w32_connect): return value was broken when some
error occurred.
[ruby-core:24234]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@24763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
10:47 AM Bug #1996 (Closed): ||= &&= doesn't return rval, but result of method
=begin
Applied in changeset r24757.
=end
nobu (Nobuyoshi Nakada)
10:42 AM Bug #2051 (Closed): alias_method :foo, :__send__
=begin
Already fixed.
=end
nobu (Nobuyoshi Nakada)
08:58 AM Bug #2051: alias_method :foo, :__send__
=begin
I can reproduce on 1.9 trunk:

$ ruby -e "class Object; alias_method :try, :__send__; end "
-e:1: [BUG] rb_add_method: unsupported method type (8)

ruby 1.9.2dev (2009-07-18 trunk 24186) [i386-darwin10.0.0]

-- cont...
wycats (Yehuda Katz)
08:54 AM Bug #2051: alias_method :foo, :__send__
=begin
Looks like a regression, I tried on a different machine:

$ruby19 -e "class Object; alias_method :foo, :__send__; end; p 'test'.foo(:upcase) "
"TEST"
$ ruby19 -v
ruby 1.9.2dev (2009-07-02 trunk 23934)[i386-darwin10.0.0]...
mattetti (Matt Aimonetti)
08:43 AM Bug #2051 (Closed): alias_method :foo, :__send__
=begin
This is a bug that can be experienced when using Rails' ActiveSupport and Ruby 1.9.2:
activesupport/lib/active_support/core_ext/try.rb:29



$ ruby1.9 -e "class Object; alias_method :foo, :__send__; end "
-e:1: [BUG] ...
mattetti (Matt Aimonetti)
08:57 AM Feature #1882 (Closed): MatchData#==
=begin
Applied in changeset r24753.
=end
nobu (Nobuyoshi Nakada)
08:27 AM Bug #2050 (Closed): Abbreviated Assignment Operators No Longer Return rvalue
=begin
$ cat /tmp/h.rb
class H
def [](k) k end
def []=(k, v) [k, v] end
end

a = H.new
a[123] = 2
b = (a[123] += 2)
p b

$ ruby -v /tmp/h.rb
ruby 1.9.2dev (2009-09-03 trunk 24741) [i68...
runpaint (Run Paint Run Run)
08:04 AM Bug #1747: Immediate Values Can be Frozen
=begin

=end
nobu (Nobuyoshi Nakada)
06:50 AM Feature #1697: Object#<=>
=begin
Hi,

At Sun, 28 Jun 2009 10:48:45 +0900,
Marc-Andre Lafortune wrote in [ruby-core:24063]:
> Other comparison operators like <, <=, >=, > would also gain
> in consistency if they were defined in terms of <=>. This
> way, 0 <...
nobu (Nobuyoshi Nakada)
06:41 AM Revision ef2c92dd (git): * numeric.c (flo_quo, int_round): added rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:21 AM Revision c76e698f (git): * compile.c (iseq_compile_each): op_asgn to aref should return rhs.
[ruby-core:25387]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:14 AM Bug #2049 (Closed): String#upto: Possible Regression
=begin
Prior to r24562:

a = []
"25".upto("5") { |s| a << s }
a #=> ["25"]

Now:

a = []
"25".upto("5") { |s| a << s }
a #=> []

IOW, previously when the argument was a stringified number that was les...
runpaint (Run Paint Run Run)
05:37 AM Revision 7a05e1ea (git): * compile.c (FIXNUM_OR): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:34 AM Revision 47b31a44 (git): * compile.c (FIXNUM_INC, FIXNUM_OR): trivial optimizations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:50 AM Bug #1755: IO#reopen Doesn't Fully Associate with Given Stream on 1.9; Ignores pos on 1.8
=begin
> On your platform, ruby 1.8 seems to copy the position in the stream
> when 1.9 don't. 1.8 does simply use dup2 + fdopen, where no standard
> define if position information is shared among such file descriptors
> or not, ...
runpaint (Run Paint Run Run)
02:12 AM Feature #2043 (Assigned): incompatible character encodings
=begin
Sorry, what is "possible conversion to ASCII" ?
=end
naruse (Yui NARUSE)
02:10 AM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
greg:
> But using a GPL3 library is problematic for a different reason. It is
> not compatible with GPL2, nor is it compatible with Matz's license.

Exactly.
If we want to link GPL3 (or later :p) library with Ruby, we ...
kazuhiko (Kazuhiko Shiozaki)
01:24 AM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
On Fri, Sep 4, 2009 at 5:38 AM, Shyouhei Urabe<redmine@ruby-lang.org> wrote:
> Issue #2032 has been updated by Shyouhei Urabe.
>
>
> My understanding is that if ruby links to readline6, not only ruby itself is "tainted" by GP...
sandal (Gregory Brown)
01:58 AM Bug #2048 (Closed): Thread#raise: Handling of Current Exception
=begin
$ cat /tmp/thread.rb
t = Thread.new do
begin
1/0
rescue ZeroDivisionError
sleep 3
end
end

Thread.pass while t.status and t.status != "sleep"
t.raise
t.value
t.kill
...
runpaint (Run Paint Run Run)
01:50 AM Revision 8a9960a3 (git): * compile.c (iseq_compile_each): &&= and ||= should return rhs.
[ruby-dev:39163] (#1996), [ruby-core:25143]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:38 AM Revision 96c50e47 (git): * compile.c (iseq_compile_each): &&= and ||= should return rhs.
[ruby-dev:39163] (#1996), [ruby-core:25143]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:35 AM Bug #2047 (Closed): Time#<=> Raises NoMethodError on Incomparable Argument
=begin
$ cat /tmp/time-spaceship.rb
p Time.now <=> Object.new

$ ruby8 -v /tmp/time-spaceship.rb
ruby 1.8.8dev (2009-09-04) [i686-linux]
nil

$ ruby -v /tmp/time-spaceship.rb
ruby 1.9.2dev (2009-09-03 trunk ...
runpaint (Run Paint Run Run)
12:40 AM Revision 78a54607 (git): update comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:33 AM Revision 7b9024f7 (git): * re.c (Init_Regexp): new methods. [ruby-core:24748]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:29 AM Bug #1852: Enumerable's #hash Raises ArgumentError When Recursive Values are Present
=begin
If this is, as matz implies, a regression, it would be useful to get it fixed before the 1.9.2 freeze.
=end
runpaint (Run Paint Run Run)

09/04/2009

11:51 PM Revision 605e7d4a (git): * re.c (update_char_offset): position should be long.
* re.c (match_hash, match_equal): new methods. [ruby-core:24748]
* re.c (reg_match_pos, rb_reg_eqq, rb_reg_s_quote): get rid of use
VALUE as int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24754 b2dd03c8-39d4-4d8f-98ff-823fe...
nobu (Nobuyoshi Nakada)
11:49 PM Revision 7633eb4c (git): * re.c (update_char_offset):
* re.c (rb_reg_equal):
* re.c (reg_match_pos):
* re.c (rb_reg_eqq):
* re.c (static VALUE):
* re.c (Init_Regexp):
[ruby-core:24748]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:08 PM Feature #2043 (Rejected): incompatible character encodings
=begin
Why the following example fails with the "Encoding::CompatibilityError: incompatible character encodings: Windows-1250 and UTF-8" exception?

s = "\u017Elu\u0165ou\u010dk\u00fd"
a = s.encode 'cp1250'
b = s.encode 'utf-8'
...
vo.x (Vit Ondruch)
09:30 PM Revision 15ec8e65 (git): * test/ruby/test_io.rb (test_binmode_after_closed): test for [ruby-core:25363].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:29 PM Revision d24f4c0f (git): * io.c (rb_io_binmode): check if closed regardless platforms.
[ruby-core:25363]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:38 PM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
My understanding is that if ruby links to readline6, not only ruby itself is "tainted" by GPLv3, but also other libraries that ruby links, such as openssl, zlib, mysql adaper, are also tainted. I don't think it being realistic f...
shyouhei (Shyouhei Urabe)
07:25 AM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
On Thu, Sep 3, 2009 at 3:29 PM, Bill Kelly<billk@cts.com> wrote:
>
> From: "Gregory Brown" <gregory.t.brown@gmail.com>
>>
>> On Thu, Sep 3, 2009 at 2:23 PM, Bill Kelly<billk@cts.com> wrote:
>> >
>> > I tried to locate some ...
sandal (Gregory Brown)
04:30 AM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin

From: "Gregory Brown" <gregory.t.brown@gmail.com>
> On Thu, Sep 3, 2009 at 2:23 PM, Bill Kelly<billk@cts.com> wrote:
> >
> > I tried to locate some information regarding the FSF
> > not considering the Ruby License a free s...
spatulasnout (B Kelly)
04:17 AM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
On Thu, Sep 3, 2009 at 2:23 PM, Bill Kelly<billk@cts.com> wrote:
>
> From: "Gregory Brown" <gregory.t.brown@gmail.com>
>>
>> The trouble is that the Ruby License (on its own) is not considered a
>> free software license by t...
sandal (Gregory Brown)
03:23 AM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin

From: "Gregory Brown" <gregory.t.brown@gmail.com>
>
> The trouble is that the Ruby License (on its own) is not considered a
> free software license by the FSF, which makes it incompatible with the
> GPL.
> The only thing t...
spatulasnout (B Kelly)
11:40 AM Revision 0cf0b0ee (git): * numeric.c (round): added declaration. [ruby-dev:39222]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:40 AM Revision 64346281 (git): * numeric.c (round): added declaration. [ruby-dev:39222]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:17 AM Bug #2037 (Closed): [PATCH] Alias Dir#path to Dir#to_path
=begin
Applied in changeset r24744.
=end
matz (Yukihiro Matsumoto)
02:35 AM Bug #2037 (Closed): [PATCH] Alias Dir#path to Dir#to_path
=begin
The Dir class does not have a #to_path method. This means that although it calls #to_path on arguments it expects to be directories, its instances cannot be used as such arguments. The File class has #to_path as an alias for #pat...
runpaint (Run Paint Run Run)
08:06 AM Revision 6da90f39 (git): * bignum.c (rb_big_idiv): added rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:01 AM Feature #859 (Closed): open-uri doesn't allow redirection to https
=begin

=end
shyouhei (Shyouhei Urabe)
05:40 AM Revision e825a2c0 (git): * bignum.c (rb_big_div, rb_big_idiv): fixed indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:57 AM Bug #2038 (Closed): [PATCH] Fix Typo in Random#rand Documentation
=begin
Applied in changeset r24743.
=end
nobu (Nobuyoshi Nakada)
04:02 AM Bug #2038 (Closed): [PATCH] Fix Typo in Random#rand Documentation
=begin
The documentation for Random#rand confuses Random#rand with Random.rand in one place. This patches fixes it.
=end
runpaint (Run Paint Run Run)
04:48 AM Bug #1822 (Closed): WEBrick::HTTPServlet::AbstractServlet#do_OPTIONS raises an exception
=begin
Applied in changeset r24742.
=end
nobu (Nobuyoshi Nakada)
03:53 AM Bug #1822: WEBrick::HTTPServlet::AbstractServlet#do_OPTIONS raises an exception
=begin
Bump
=end
tenderlovemaking (Aaron Patterson)
03:35 AM Feature #2034 (Assigned): Consider the ICU Library for Improving and Expanding Unicode Support
=begin
The main reason is resource.
We worked around encoding independent area so far.

Anyway, if we have ICU library, we still have some problems:
* dependency
* non-Unicode
* where to implement

First, the dependency ...
naruse (Yui NARUSE)
01:30 AM Feature #2034: Consider the ICU Library for Improving and Expanding Unicode Support
=begin
>> If ICU is unfeasible, I'd appreciate understanding why.

> It converts everything to UTF-16 internally.

Thank you, Nikolai. I understand how that would make its conversion or transliteration APIs problematic, but for ...
runpaint (Run Paint Run Run)
01:05 AM Revision cb3a1c5f (git): merge revision(s) 24283:24296:
* io.c (argf_eof): go to the next file if called after ARGF.close
or ARGF.skip. a patch from Mike Kasick at [ruby-core:24561].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@24747 b2dd03c8-39d4-4d8f-98ff-823...
shyouhei (Shyouhei Urabe)
12:55 AM Revision 92a4740c (git): * 2009-09-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:55 AM Revision 86ec5cf3 (git): * NEWS: forgot to mention about new looser splats.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)

09/03/2009

11:07 PM Revision 7a426e02 (git): * dir.c (Init_Dir): alias Dir#path to Dir#to_path. [ruby-core:25326]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
10:05 PM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
On Thu, Sep 3, 2009 at 4:36 AM, Eleanor
McHugh<eleanor@games-with-brains.com> wrote:
> On 3 Sep 2009, at 02:18, Eric Hodel wrote:
>>
>> Issue #2032 has been updated by Eric Hodel.
>>
>>
>> On my platforms (OS X and FreeBSD...
sandal (Gregory Brown)
05:36 PM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
On 3 Sep 2009, at 02:18, Eric Hodel wrote:
> Issue #2032 has been updated by Eric Hodel.
>
>
> On my platforms (OS X and FreeBSD) there is no GNU readline, instead
> libedit is used which is not GPL licensed (no compatibil...
feyeleanor (Eleanor McHugh)
10:18 AM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
On my platforms (OS X and FreeBSD) there is no GNU readline, instead libedit is used which is not GPL licensed (no compatibility problem).

Why not change to a less restrictive license like MIT?
=end
drbrain (Eric Hodel)
07:49 PM Revision 299d8fb1 (git): * random.c (random_rand): fixed rdoc. [ruby-core:25332]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:46 PM Revision c0a09d95 (git): * lib/webrick/httpservlet/abstract.rb (do_OPTIONS): method names
are symbols now. [ruby-core:24580]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:28 PM Bug #2035 (Closed): Segfault in parser (list_concat_gen)
=begin
The following code:

a = :a; "#{a} " "#{a} " "value #{a}"

causes a segfault in list_concat_gen.

A attached a new test (patch) for this in bootstraptest/test_literal.rb.

Here is a gdb session:
$ cat a.rb ...
Cezary (Cezary Baginski)
10:36 AM Feature #2034 (Rejected): Consider the ICU Library for Improving and Expanding Unicode Support
=begin
Has consideration been recently given to employing the ICU library (http://site.icu-project.org/) in Ruby? The bindings are in C and the library mature. My ignorance of the Ruby source not withstanding, this would allow existing...
runpaint (Run Paint Run Run)
08:57 AM Revision fb03cb82 (git): * parse.y (literal_concat_gen): concat body from dstr instead of
nd_next. [ruby-core:25284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:47 AM Revision 468c258d (git): * 2009-09-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:47 AM Revision 9691894b (git): * parse.y (fname): removed duplication.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:33 AM Feature #2017: String#/(sep)
=begin
成瀬です。

Yukihiro Matsumoto wrote:
> 今回数えたものの中では最少ということになりますね。
> いずれにしてもそれなりには需要はあるということは認めます。

String の中でも特に数の多そうなものを選んで挙げていますからね。
まぁ、この点はこれ以上述べる必要はないと思います。

つまり String#/ は、
* alias 元である String#split は十分に使われている
→ 1文字メ...
naruse (Yui NARUSE)
03:32 AM Feature #2017: String#/(sep)
=begin
I don't object to this proposal, but note that it leads to unfortunate syntax when _sep_ is a `/`-delimited regex. For example:

>> 'f o o' / / /
=> ["f", "o", "o"]

Even adding the optional parentheses doesn't help rea...
runpaint (Run Paint Run Run)

09/02/2009

11:06 PM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
On Wed, Sep 2, 2009 at 8:01 AM, Michal Suchanek<hramrach@centrum.cz> wrote:

>> So please change the Ruby's license to GPLv3 (and GPLv2) compat.
>
> I am not sure this is so easy as just changing a line somewhere.
>
> You w...
sandal (Gregory Brown)
09:02 PM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
2009/9/2 Yui NARUSE <redmine@ruby-lang.org>:
> Feature #2032: Change the license to "GPLv2+ or Ruby's original".
> http://redmine.ruby-lang.org/issues/show/2032
>
> Author: Yui NARUSE
> Status: Open, Priority: Normal
>
> T...
hramrach (Michal Suchanek)
05:44 PM Feature #2032 (Closed): Change the license to "GPLv2+ or Ruby's original".
=begin
This is moved ticked from ruby-dev.
Original post and ticket is #2000 in English.

----- Original Post -----

Hello.

Recently readline 6.0 was released and its license was changed from
GPLv2+ (GPL version 2 and a...
naruse (Yui NARUSE)
07:14 PM Feature #1966 (Closed): windows unicode mkdir
=begin

=end
naruse (Yui NARUSE)
05:51 PM Feature #1966: windows unicode mkdir
=begin
Can somebody close this issue please? This issue is rendered obsolete by [ruby-core:25220] discussion.

Vit
=end
vo.x (Vit Ondruch)
05:50 PM Bug #2026: String encodings are not supported by most of IO on Linux
=begin
Great! I will check it out. It seems that it is doing exactly what I have required. Thank you.

Vit
=end
vo.x (Vit Ondruch)
05:11 PM Bug #2026: String encodings are not supported by most of IO on Linux
=begin
Hello,

In message "[ruby-core:25268] [Bug #2026] String encodings are not supported by most of IO on Linux"
on Sep.02,2009 16:47:45, <redmine@ruby-lang.org> wrote:
> I just want to clarify that if there could be ensured ...
usa (Usaku NAKAMURA)
05:03 PM Bug #2026 (Closed): String encodings are not supported by most of IO on Linux
=begin

=end
nobu (Nobuyoshi Nakada)
05:01 PM Bug #2026: String encodings are not supported by most of IO on Linux
=begin
Hi,

At Wed, 2 Sep 2009 16:43:15 +0900,
Vit Ondruch wrote in [ruby-core:25267]:
> Ok, may be I started from wrong side. What I am trying to
> achieve is unicode support on Windows.

Check out win32-unicode-test branch.

...
nobu (Nobuyoshi Nakada)
04:47 PM Bug #2026: String encodings are not supported by most of IO on Linux
=begin
I just want to clarify that if there could be ensured some file system encoding, it would be easier to do explicit conversion into Windows encoding. That is my interest of whole topic.

Vit
=end
vo.x (Vit Ondruch)
04:42 PM Bug #2026: String encodings are not supported by most of IO on Linux
=begin
Ok, may be I started from wrong side. What I am trying to achieve is unicode support on Windows. I started playing with Dir.mkdir method which seems to be pretty simple. However, at the end it calls POSIX mkdir method, which from...
vo.x (Vit Ondruch)
04:08 PM Bug #2026: String encodings are not supported by most of IO on Linux
=begin
Hi,

In message "Re: [ruby-core:25241] [Bug #2026] String encodings are not supported by most of IO on Linux"
on Tue, 1 Sep 2009 16:46:18 +0900, Vit Ondruch <redmine@ruby-lang.org> writes:

|And the same apply also for U...
matz (Yukihiro Matsumoto)
02:56 PM Bug #2026: String encodings are not supported by most of IO on Linux
=begin
I have nothing against binary encoding of filenames, but it should be option, not a default. Or there should be some way how to support OS X or Windows, which is not current case.

Vit
=end
vo.x (Vit Ondruch)
04:57 PM Bug #2030 (Closed): Math.gamma(x) seg faults for integer x larger than 2<<63-1
=begin
Applied in changeset r24738.
=end
nobu (Nobuyoshi Nakada)
03:39 PM Bug #2030: Math.gamma(x) seg faults for integer x larger than 2<<63-1
=begin
Hi,

At Wed, 2 Sep 2009 14:45:56 +0900,
Hiro Asari wrote in [ruby-core:25263]:
> Yes, the patch appers to work.
>
> surfboard:ruby[svn:24735]$ make math.S && sed -n '/^_math_gamma:/,/^[._]/p' math.S
> gcc -O3 -g -Wall -Wn...
nobu (Nobuyoshi Nakada)
02:45 PM Bug #2030: Math.gamma(x) seg faults for integer x larger than 2<<63-1
=begin
Yes, the patch appears to work.

surfboard:ruby[svn:24735]$ make math.S && sed -n '/^_math_gamma:/,/^[._]/p' math.S
gcc -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wno-missing-field-initializers -Wshorten-64-to-32 -Wp...
hasari (Hiro Asari)
02:40 PM Bug #2030: Math.gamma(x) seg faults for integer x larger than 2<<63-1
=begin
Hi,

At Wed, 2 Sep 2009 14:30:25 +0900,
Hiro Asari wrote in [ruby-core:25261]:
> That could very well be dependent. I used GCC came with Snow Leopard.
>
> Indeed, I still have 1.9.1 that I built with 10.5.7, and it appears...
nobu (Nobuyoshi Nakada)
02:29 PM Bug #2030 (Feedback): Math.gamma(x) seg faults for integer x larger than 2<<63-1
=begin

=end
nobu (Nobuyoshi Nakada)
02:28 PM Bug #2030: Math.gamma(x) seg faults for integer x larger than 2<<63-1
=begin
That could very well be dependent. I used GCC came with Snow Leopard.

Indeed, I still have 1.9.1 that I built with 10.5.7, and it appears to be OK.

$ ~/.multiruby/install/1.9.1-p243/bin/ruby -v -e 'puts Math.gamma(2<<25...
hasari (Hiro Asari)
02:27 PM Bug #2030: Math.gamma(x) seg faults for integer x larger than 2<<63-1
=begin
Hi,

At Wed, 2 Sep 2009 12:52:23 +0900,
Hiro Asari wrote in [ruby-core:25257]:
> Incidentally, the URL at the end of this output should be updated. (Is that a separate ticket?)

Now I've created a new ticket,
<http://redmi...
nobu (Nobuyoshi Nakada)
02:13 PM Bug #2030: Math.gamma(x) seg faults for integer x larger than 2<<63-1
=begin
Hi,

At Wed, 2 Sep 2009 12:52:23 +0900,
Hiro Asari wrote in [ruby-core:25257]:
> $ ruby19 -e 'puts Math.gamma(2<<63-1); puts Math.gamma(2<<63)'
> Infinity
> -e:1: [BUG] Segmentation fault
> ruby 1.9.2dev (2009-09-02 trunk ...
nobu (Nobuyoshi Nakada)
12:52 PM Bug #2030 (Closed): Math.gamma(x) seg faults for integer x larger than 2<<63-1
=begin
$ ruby19 -e 'puts Math.gamma(2<<63-1); puts Math.gamma(2<<63)'
Infinity
-e:1: [BUG] Segmentation fault
ruby 1.9.2dev (2009-09-02 trunk 24735) [i386-darwin10.0.0]

-- control frame ----------
c:0004 p:---- s:0011 b:001...
hasari (Hiro Asari)
04:44 PM Feature #2000: Change the license to "GPLv2+ or Ruby's original".
=begin
> We really should go to ruby-core.
Agree. Then how will this ticket be handled or someone change this ticket to ruby-core?
(I don't know how tickets are processed.)

I don't think that it is good idea to leave this tick...
taca (Takahiro Kambe)
11:48 AM Feature #859: open-uri doesn't allow redirection to https
=begin
Hi,

At Tue, 3 Feb 2009 17:53:36 +0900,
Roman Shterenzon wrote in [ruby-core:21797]:
> I quote from [ruby-core:21234] :
>
> But first of all the HTTP --> HTTPS redirection should be still considered ok.

Then your previo...
nobu (Nobuyoshi Nakada)
07:50 AM Revision 3fe5402d (git): * math.c (math_gamma): get rid of direct comparison between too
big double and integer, with gcc on x86_64. [ruby-core:25257]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:47 AM Revision 6f14520a (git): * math.c (domain_check): simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:47 AM Revision 274fa77e (git): * math.c (domain_check): simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:32 AM Revision dc697b19 (git): * math.c (math_gamma): constified fact_table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:37 AM Revision a4b94c44 (git): * gc.c (obj_free): fix to free method table (fix memory leak).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
02:18 AM Bug #1768 (Closed): json で Kernel に追加されるメソッドは private であるべき
=begin
json 1.1.9でとりこまれました
=end
naruse (Yui NARUSE)
12:30 AM Revision cb3c0b4a (git): * tool/instruction.rb: executable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

09/01/2009

11:27 PM Bug #2026: String encodings are not supported by most of IO on Linux
=begin
2009/9/1 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> Michal Suchanek wrote:
>> 2009/9/1 Yui NARUSE <redmine@ruby-lang.org>:
>>> Issue #2026 has been updated by Yui NARUSE.
>>>
>>>
>>> Current Ruby thinks the filesystem encod...
hramrach (Michal Suchanek)
08:32 PM Bug #2026: String encodings are not supported by most of IO on Linux
=begin
Michal Suchanek wrote:
> 2009/9/1 Yui NARUSE <redmine@ruby-lang.org>:
>> Issue #2026 has been updated by Yui NARUSE.
>>
>>
>> Current Ruby thinks the filesystem encoding of Unix is binary.
>> Because our initial research sh...
shyouhei (Shyouhei Urabe)
08:22 PM Bug #2026: String encodings are not supported by most of IO on Linux
=begin
As I stated, our initial research shows Unix user expects filesystem encoding to be binary.
For example, matz used UTF-8 locale with EUC-JP files.
see [ruby-dev:34923] in Japanese

So you must have counterarguments or res...
naruse (Yui NARUSE)
08:10 PM Bug #2026: String encodings are not supported by most of IO on Linux
=begin
2009/9/1 Yui NARUSE <redmine@ruby-lang.org>:
> Issue #2026 has been updated by Yui NARUSE.
>
>
> Current Ruby thinks the filesystem encoding of Unix is binary.
> Because our initial research shows users of Unix expect it.
>...
hramrach (Michal Suchanek)
07:57 PM Bug #2026: String encodings are not supported by most of IO on Linux
=begin
Current Ruby thinks the filesystem encoding of Unix is binary.
Because our initial research shows users of Unix expect it.

As you know, Windows is UTF-16LE/Locale (see also win32-unicode-test),
and Mac OS X is UTF-8.
I...
naruse (Yui NARUSE)
04:46 PM Bug #2026: String encodings are not supported by most of IO on Linux
=begin
Actually it is simpler from Ruby point of view, since if you want to cover all the cases you named, it is enough to use UTF-16 functionality and everybody will be just happy. The only question is how to ensure that string coming ...
vo.x (Vit Ondruch)
04:13 PM Bug #2026: String encodings are not supported by most of IO on Linux
=begin
>
> If I work on Windows, I expect that every filename will be stored in UTF-16LE, otherwise I'm in trouble again.

On Windows the situation is somewhat more complicated. It does store
the filenames in UTF-16 but it also has ...
hramrach (Michal Suchanek)
04:02 PM Bug #2026: String encodings are not supported by most of IO on Linux
=begin
Hello,

Working on Ubuntu, I have set following environment variable: LANG="cs_CZ.UTF-8" so it means my system expects IO operations to be UTF-8 encoded. Otherwise Nautilus, command line or every other application cannot corr...
vo.x (Vit Ondruch)
05:31 AM Bug #2026: String encodings are not supported by most of IO on Linux
=begin
2009/8/31 Yukihiro Matsumoto <matz@ruby-lang.org>:
> Hi,
>
> In message "Re: [ruby-core:25220] [Bug #2026] String encodings are not supported by most of IO on Linux"
>    on Tue, 1 Sep 2009 00:27:14 +0900, Vit Ondruch <redmin...
hramrach (Michal Suchanek)
04:02 AM Bug #2026: String encodings are not supported by most of IO on Linux
=begin
Hi,

In message "Re: [ruby-core:25220] [Bug #2026] String encodings are not supported by most of IO on Linux"
on Tue, 1 Sep 2009 00:27:14 +0900, Vit Ondruch <redmine@ruby-lang.org> writes:

|If string used as path has di...
matz (Yukihiro Matsumoto)
12:27 AM Bug #2026 (Closed): String encodings are not supported by most of IO on Linux
=begin
If string used as path has different than UTF-8, the path created on file system is incorrect. The described faulty behavior is common for most of Dir and IO actions. Attached script demonstrates the behavior on sample of Dir#mkd...
vo.x (Vit Ondruch)
10:48 PM Revision 61d983df (git): * tool/instruction.rb (RubyVM::InstructionsLoader#make_stackcaching_insns):
simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:23 PM Bug #1914: ruby-1.9.1-p243 failed to build from source on aix 5.3 with gcc 4.2.0
=begin
Hello all,

Here are the tips I implement for my latest successful build.

After reading in more details <http://www.ibm.com/developerworks/aix/library/au-gnu.html> and associated <http://download.boulder.ibm.com/ibmdl/pu...
rubisher (Joel Soete)
08:07 PM Bug #2024 (Closed): memory leak in eval with TOPLEVEL_BINDING
=begin
Applied in changeset r24726.
=end
ko1 (Koichi Sasada)
05:35 PM Revision d17fe8a4 (git): NaN is now 0.0/0 because of 1.8/1.9 compat.
* ext/json/lib/json/common.rb (NaN): Change definition
of NaN to 0.0/0 for 1.8/1.9 compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:34 PM Revision d99ac4f8 (git): Add tests of JSON 1.1.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:18 PM Revision 596b68cc (git): * 2009-09-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:17 PM Revision c719ecb5 (git): * ext/json: Update to JSON 1.1.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:46 PM Feature #2022: Patch for openssl-1.0
=begin
Hi,

At Mon, 31 Aug 2009 08:32:19 +0900,
Jeroen van Meeuwen wrote in [ruby-core:25210]:
> Attached is a patch for ruby-1.8.6 to enable it to compile
> with and use openssl-1.0

It could compile with openssl 0.9.8k, though ...
nobu (Nobuyoshi Nakada)
10:58 AM Revision d2d0d733 (git): * vm_eval.c (eval_string_with_cref): fix to check local_table_size.
[ruby-dev:39205] [Bug #2024]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
02:38 AM Feature #2017: String#/(sep)
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39208] [Feature #2017] String#/(sep)"
on Mon, 31 Aug 2009 20:25:40 +0900, Yui NARUSE <redmine@ruby-lang.org> writes:

|> String#/は str.split(sep) の形式のものだけ数えるべきではない
|> でしょうか。もちろん、st...
matz (Yukihiro Matsumoto)
01:11 AM Revision 907680b5 (git): * 2009-09-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:09 AM Revision 9055042f (git): * tool/file2lastrev.rb: executable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

08/31/2009

08:42 PM Bug #2025 (Closed): problem with pthread handling on non NPTL platform
=begin
I tried to fix some testsuite failures on GNU/kFreeBSD,
http://bugs.debian.org//cgi-bin/bugreport.cgi?bug=542927.
I observed some problems in the pthread related code.
The hang in 1st test in
http://redmine.ruby-lang.org/...
Petr.Salinger@seznam.cz (Petr Salinger)
08:25 PM Feature #2017: String#/(sep)
=begin
> String#/は str.split(sep) の形式のものだけ数えるべきではない
> でしょうか。もちろん、str / "" でも表現可能でしょうが、あま
> り意図を表現しているとは思えませんから。

ふむ、なるほど。.と(を入れてgrepするようにしてみました。
% grep '.split(' **/*.rb|wc -l
430
% grep '.gsub(' **/*.rb|wc -l
...
naruse (Yui NARUSE)
07:28 AM Feature #2017: String#/(sep)
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39203] [Feature #2017] String#/(sep)"
on Mon, 31 Aug 2009 02:35:51 +0900, Yui NARUSE <redmine@ruby-lang.org> writes:

|以前から、Array#*(sep) との対称性から String#/(sep) の採用は求められてきました。
|しかし、対...
matz (Yukihiro Matsumoto)
02:35 AM Feature #2017 (Rejected): String#/(sep)
=begin
String#/(separator) を String#join(separator) の alias として追加しませんか?

以前から、Array#*(sep) との対称性から String#/(sep) の採用は求められてきました。
しかし、対称性だけでは根拠が弱く、入ることなく今に至っています。

今回は、String#split の出現頻度を調べてみました。
Rubyのソースで調べてみると、
% grep spli...
naruse (Yui NARUSE)
03:56 PM Bug #2024 (Closed): memory leak in eval with TOPLEVEL_BINDING
=begin
以下のスクリプトが無限にメモリを消費します。
なお1.8では問題ありませんし、TOPLEVEL_BINDINGの代わりにbindingを渡した場合も問題ありません。

loop do
eval("", TOPLEVEL_BINDING)
GC.start
end
=end
usa (Usaku NAKAMURA)
11:42 AM Feature #2022: Patch for openssl-1.0
=begin
Hi,

At Mon, 31 Aug 2009 08:32:19 +0900,
Jeroen van Meeuwen wrote in [ruby-core:25210]:
> Attached is a patch for ruby-1.8.6 to enable it to compile
> with and use openssl-1.0

Other versions have no problem?
And it can c...
nobu (Nobuyoshi Nakada)
08:55 AM Feature #2022: Patch for openssl-1.0
=begin
Thanks. I will take a look at it very soon.
=end
wyhaines (Kirk Haines)
08:31 AM Feature #2022 (Closed): Patch for openssl-1.0
=begin
Attached is a patch for ruby-1.8.6 to enable it to compile with and use openssl-1.0
=end
kanarip (Jeroen van Meeuwen)
07:40 AM Feature #2018: [irb] BasicObject.new doesn't have an inspect
=begin
On Mon, 31 Aug 2009, Yukihiro Matsumoto wrote:

> Hi,
>
> In message "Re: [ruby-core:25201] Re: [Bug #2018] [irb] BasicObject.new doesn't have an inspect"
> on Mon, 31 Aug 2009 02:49:19 +0900, "David A. Black" <dblack@rub...
dblack (David Black)
07:36 AM Feature #2018: [irb] BasicObject.new doesn't have an inspect
=begin
Hi,

In message "Re: [ruby-core:25201] Re: [Bug #2018] [irb] BasicObject.new doesn't have an inspect"
on Mon, 31 Aug 2009 02:49:19 +0900, "David A. Black" <dblack@rubypal.com> writes:

|> Bug #2018: [irb] BasicObject.new...
matz (Yukihiro Matsumoto)
02:51 AM Feature #2018: [irb] BasicObject.new doesn't have an inspect
=begin
I thought the whole point of BasicObject is that it doesn't have any methods.
=end
hongli (Hongli Lai)
02:49 AM Feature #2018: [irb] BasicObject.new doesn't have an inspect
=begin
Hi --

On Mon, 31 Aug 2009, Daniel Bovensiepen wrote:

> Bug #2018: [irb] BasicObject.new doesn't have an inspect
> http://redmine.ruby-lang.org/issues/show/2018

Why is that a bug?


David

--
David A. Black / Ruby...
dblack (David Black)
02:43 AM Feature #2018 (Closed): [irb] BasicObject.new doesn't have an inspect
=begin
Using BasicObject.new in irb:

daniel@boviAir# ruby19 --version
ruby 1.9.2dev (2009-08-30 trunk 24718) [i386-darwin9.8.0]
daniel@boviAir# irb19 --version
irb 0.9.6(09/06/30)
daniel@boviAir# irb19
i...
DanielBovensiepen (Daniel Bovensiepen)
07:21 AM Revision 9b062c96 (git): * class.c (make_singleton_class): variable name changed.
removed an unnecessary conditional.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
05:55 AM Revision e056ac59 (git): * class.c: refactored singleton class related matters.
Handles eigenclasses and plain classes transparently.
(make_metaclass): renamed from make_metametaclass.
(METACLASS_OF): new utility macro
(META_CLASS_OF_CLASS_CLASS): ditto.
(ENSURE_EIGENCLASS): ditto.
(make_singleton_class):...
yugui (Yuki Sonoda)
04:17 AM Bug #1885: Proper comparison of recursive Struct & Range
=begin
Here is a patch for the latest 1.9.x that fixes comparison between recursive Struct. The right result is now returned, instead of looping forever. Note: this fixes Struct only; Range has not been patched. Rubyspecs have been upda...
marcandre (Marc-Andre Lafortune)
01:41 AM Revision 7fed5457 (git): * test/ruby/test_argf.rb (assert_src_expected): refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:00 AM Bug #2016 (Rejected): Windows (win32.c) command line argument parsing bug
=begin
Fix:
file: \win32\win32.c
routine: rb_w32_cmdvector
line:
memcpy(p - ((slashes + 1) >> 1), p + (~slashes & 1),
base + len - p);

add 1 to the length so we include the trailing zero:
memcpy(p - ((slashes + 1) >>...
deleyd (David Deley)

08/30/2009

05:12 PM Feature #1961: Kernel#__dir__
=begin

On Aug 30, 2009, at 00:14 , NARUSE, Yui wrote:

> You should see solutions in the original post:
>> (1) add a toplevel constant __DIR__
>> pros: looks like __FILE__
>> cons: adding new keyword
>>
>> (2) add Kernel#__DIR_...
zenspider (Ryan Davis)
04:14 PM Feature #1961: Kernel#__dir__
=begin
Hongli Lai wrote:
> I think it should be __DIR__ for consistency. There are no other __ things in Ruby
> that are lowercase. I think whether __dir__ is a keyword or a function should be an
> implementation detail.

You shoul...
naruse (Yui NARUSE)
05:56 AM Feature #1961: Kernel#__dir__
=begin
Hi,

In message "Re: [ruby-core:25184] Re: [Feature #1961] Kernel#__dir__"
on Sun, 30 Aug 2009 04:10:55 +0900, Hongli Lai <hongli@plan99.net> writes:

|I think it should be __DIR__ for consistency. There are no other __ ...
matz (Yukihiro Matsumoto)
04:31 AM Feature #1961: Kernel#__dir__
=begin

On Aug 29, 2009, at 12:10 , Hongli Lai wrote:

> I think it should be __DIR__ for consistency. There are no other __
> things in Ruby
> that are lowercase. I think whether __dir__ is a keyword or a
> function should be...
zenspider (Ryan Davis)
03:51 AM Feature #1961: Kernel#__dir__
=begin
Hi,

In message "Re: [ruby-core:25182] Re: [Feature #1961] Kernel#__dir__"
on Sun, 30 Aug 2009 02:57:44 +0900, Magnus Holm <judofyr@gmail.com> writes:

|Wouldn't it be a little confusing to remember that __FILE__ is uppe...
matz (Yukihiro Matsumoto)
02:57 AM Feature #1961: Kernel#__dir__
=begin
Wouldn't it be a little confusing to remember that __FILE__ is uppercase and
__dir__ is downcase? Doesn't sound very POLS to me...

//Magnus Holm


On Wed, Aug 19, 2009 at 16:57, Yutaka HARA <redmine@ruby-lang.org> wrote:
...
judofyr (Magnus Holm)
12:00 AM Feature #1961: Kernel#__dir__
=begin
Hi,

In message "Re: [ruby-core:24982] [Feature #1961] Kernel#__dir__"
on Wed, 19 Aug 2009 23:57:07 +0900, Yutaka HARA <redmine@ruby-lang.org> writes:

|= Proposal
|
| Kernel#__dir__
| returns the value of File.dirn...
matz (Yukihiro Matsumoto)
05:07 PM Bug #1950 (Closed): 警告が正しく発っせられない
=begin
Applied in changeset r24716.
=end
naruse (Yui NARUSE)
02:53 PM Feature #2013 (Rejected): [PATCH] a = *b calls b.*@
=begin
This makes the * operator operate more similarly to the + and - operators. The binary versions of + and - call methods named + and -, while the unary versions call methods named +@ and -@. The binary * operator calls the metho...
jeremye (Jeremy Evans)
02:44 PM Revision 44320bc3 (git): * time.c (find_time_t): use mktime for the first guess.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:21 PM Feature #2012 (Closed): Set event_flags on thread creation if hook exists
=begin
In ruby-debug, when a user sets a breakpoint that ends up executed by a later-created thread, then nothing will happen.

The only solution that I have at this point is to always set RUBY_EVENT_VM for all living threads every ...
mark-moseley (Mark Moseley)
08:06 AM Revision 18b17dcd (git): Revert wrong commit r24715 "* thread.c (do_select): suppress warnings."
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:00 AM Revision 6ab36c6e (git): *regparse.c (CC_DUP_WARN): use rb_compile_warn if ScanEnv has source
information. [ruby-dev:39105]
*re.c (rb_reg_compile): add sourcefile and sourceline to the arguments.
*re.c (make_regexp): ditto.
*re.c (rb_reg_initialize): ditto.
*re.c (rb_reg_initialize_str): ditto.
*re.c (rb_reg_compile): ditto....
naruse (Yui NARUSE)
08:00 AM Revision 2a12798d (git): * thread.c (do_select): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:39 AM Revision 4119b548 (git): * parse.y (rb_enc_symname2_p): not depend on nul terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:12 AM Revision d380745c (git): * gc.c (gc_sweep): makes new room if object space is full of
finalized objects and has no free objects. [ruby-dev:39201]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:51 AM Revision eac84339 (git): * gc.c: removed garbage spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:13 AM Revision ab0d1d27 (git): * common.mk: dependencies updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:01 AM Revision dcf2aad3 (git): * time.c (add): shortcut implemented for fixnums.
(sub): ditto.
(mul): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:34 AM Bug #1375: Zlib::GzipReaderに対するエンコーディング指定
=begin
設定方法は
Zlib::GzipReader.open('test.txt.gz', encoding: 'UTF-8')
であっています。

Zlib::GzipReader#read では設定されたエンコーディングが反映されない、というのがこのバグでした。
=end
naruse (Yui NARUSE)
01:27 AM Bug #1375 (Closed): Zlib::GzipReaderに対するエンコーディング指定
=begin
Applied in changeset r24704.
=end
naruse (Yui NARUSE)
01:26 AM Revision 570d8f55 (git): * time.c (eq): apply RTEST.
(ne): ditto.
(add): avoid method dispatch for bignums.
(sub): ditto.
(mul): ditto.
(mod): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:46 AM Revision fc6be8cd (git): * bignum.c (bigmul1_single): new function specialized respect to
multiply two single digit bignums.
(bigmul0): use bigmul1_single.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
 

Also available in: Atom