Project

General

Profile

Activity

From 08/18/2009 to 08/24/2009

08/24/2009

10:54 PM Bug #1991: ruby should use twolevel namespace on OS X
=begin
2009/8/24 Shyouhei Urabe <redmine@ruby-lang.org>:
> Issue #1991 has been updated by Shyouhei Urabe.
>
>
> If -flat_namespace was the default for linking, we could safely omit that and we were all happy.  There were reasons fo...
hramrach (Michal Suchanek)
10:29 PM Bug #1991: ruby should use twolevel namespace on OS X
=begin
If -flat_namespace was the default for linking, we could safely omit that and we were all happy. There were reasons for that explicit option (back when OS X was 10.1 -- the time of that flag addition). As you know, when you com...
shyouhei (Shyouhei Urabe)
09:44 PM Bug #1991: ruby should use twolevel namespace on OS X
=begin
2009/8/24 Michal Suchanek <hramrach@centrum.cz>:
> 2009/8/24 Shyouhei Urabe <redmine@ruby-lang.org>:
>> Issue #1991 has been updated by Shyouhei Urabe.
>>
>>
>> Remember, 1.8.6 was released in May 2007, which is before-Leopa...
hramrach (Michal Suchanek)
09:33 PM Bug #1991: ruby should use twolevel namespace on OS X
=begin
2009/8/24 Shyouhei Urabe <redmine@ruby-lang.org>:
> Issue #1991 has been updated by Shyouhei Urabe.
>
>
> Remember, 1.8.6 was released in May 2007, which is before-Leopard ara.  As far as I know there was no problems on flat ...
hramrach (Michal Suchanek)
08:38 PM Bug #1991: ruby should use twolevel namespace on OS X
=begin
Remember, 1.8.6 was released in May 2007, which is before-Leopard ara. As far as I know there was no problems on flat namespaces then.

I'm not against to abandon flat namespace for future ruby, but for old ones like 1.8.6, ...
shyouhei (Shyouhei Urabe)
08:14 PM Bug #1991 (Rejected): ruby should use twolevel namespace on OS X
=begin
Details:

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/344658

Note: the patch is taken from a package that changes more than the namespace

- change namespace to twolevel
- add -Wl in front of linke...
hramrach (Michal Suchanek)
05:16 PM Revision 24dc34e3 (git): * configure.in (DLDFLAGS): use linker_flag and changed undefined
and multiply_defined behaviors. cf [ruby-core:25086].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:37 PM Bug #1986 (Closed): st_cleanup_safe is not safe
=begin
Applied in changeset r24637.
=end
nobu (Nobuyoshi Nakada)
04:03 PM Bug #1986 (Closed): st_cleanup_safe is not safe
=begin
st_cleanup_safe has the same problem as st_delete_safe. see #1985.
=end
yugui (Yuki Sonoda)
04:37 PM Bug #1985 (Closed): st_delete_safe is not safe
=begin
Applied in changeset r24637.
=end
nobu (Nobuyoshi Nakada)
04:02 PM Bug #1985 (Closed): st_delete_safe is not safe
=begin
st_delete_safe causes BUS error with the following code
st_table *tbl = st_init_numtable();
ID k = 1, v = 1;
st_insert(tbl, k, v);
st_delete_safe(tbl, &k, &v, 100);

This is because st_delete_safe does not support...
yugui (Yuki Sonoda)
02:56 PM Feature #1889: Teach Onigurma Unicode 5.0 Character Properties
=begin
I fully agree. One could even go as far as having a policy to use the
Unicode beta versions (5.2 at this time;
http://www.unicode.org/versions/Unicode5.2.0/) for trunk and the latest
Unicode stable version (currently 5.1;
...
duerst (Martin Dürst)
07:33 AM Feature #1889: Teach Onigurma Unicode 5.0 Character Properties
=begin
> I updated your script and uploaded on http://github.com/nurse/onig/tree/master
>
> And I published my fork of Ruby which is applied this change.
> http://github.com/nurse/ruby/tree/onig-unicode

Thanks! :-) I'm traveling a...
runpaint (Run Paint Run Run)
02:03 AM Feature #1889: Teach Onigurma Unicode 5.0 Character Properties
=begin
I updated your script and uploaded on http://github.com/nurse/onig/tree/master

And I published my fork of Ruby which is applied this change.
http://github.com/nurse/ruby/tree/onig-unicode
=end
naruse (Yui NARUSE)
02:01 PM Bug #1984 (Closed): unable to require '.so' files with full directory path
=begin
where c:\dev\go.rb exists

c:\dev>irb
>> require "\\dev\\go"
=> true

you can require it by absolute path.

However with c:\dev\go.so exists, you cannot.
Thanks.
=end
rogerdpack (Roger Pack)
01:53 PM Bug #1690: backticks don't set $? in windows
=begin
Perhaps we could at least set
$?
to nil after running system()? [so that it's more obvious that this discrepancy exists]?
=end
rogerdpack (Roger Pack)
01:24 PM Bug #1983: Struct doesn't define instance methods for valid method names
=begin
Good point; struct is consistent with attr_*. Both use the same low-level check: (rb_is_local_id(id) || rb_is_const_id(id))

I'd like attr_reader :foo? to work too. It's a common convention for booleans. And for Struct, this ...
bitsweat (Jeremy Daer)
12:30 PM Bug #1983: Struct doesn't define instance methods for valid method names
=begin
Since

irb(main):012:0> class C
irb(main):013:1> attr_accessor :foo?
irb(main):014:1> end
NameError: invalid attribute name `foo?'

I would rather think that the same error should be raised by Struct.new.

BT...
tmat (Tomas Matousek)
11:18 AM Bug #1983 (Rejected): Struct doesn't define instance methods for valid method names
=begin
>> foo = Struct.new(:foo?, :foo!).new(true, true)
=> #<struct :foo?=true, :foo!=true>
>> foo.foo?
NoMethodError: undefined method `foo?' for #<struct :foo?=true, :foo!=true>
from (irb):3
from /usr/local/bin/irb19:12:i...
bitsweat (Jeremy Daer)
12:32 PM Revision ecce9381 (git): * 2009-08-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:32 PM Revision bcffee69 (git): * lib/rss/maker/base.rb, test/rss/test_maker_2.0.rb: fix a bug
that RSS Maker doesn't accept 'false' as guid's isPermaLink.
Reported by Joe Holt. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
12:31 PM Revision b0947c5e (git): * lib/rss/maker/base.rb, test/rss/test_maker_2.0.rb: fix a bug
that RSS Maker doesn't accept 'false' as guid's isPermaLink.
Reported by Joe Holt. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
10:00 AM Revision 9096abd3 (git): * include/ruby/missing.h (vsnprintf): rollback a part of r24179, because
it's meaningless.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:36 AM Revision 355e0f4e (git): * st.c (st_delete_safe): deals with packed entries.
[ruby-core:25080]
* st.c (st_cleanup_safe): ditto. [ruby-core:25081]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:24 AM Revision 16fc2951 (git): * win32/Makefile.sub (MAKEDIRS): define.
* common.mk (capi): using $(MAKEDIRS), so depends on $(PREP).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:23 AM Revision 012a1318 (git): * win32/Makefile.sub (MAKEDIRS): define.
* common.mk (capi): using $(MAKEDIRS), so depends on $(PREP).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:14 AM Revision 4f867ddd (git): * configure.in (RUBY_CHECK_SIZEOF): set cross_compiling only when
universal binary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:55 AM Revision d93cb9e0 (git): * 2009-08-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:55 AM Revision 3bf1ea22 (git): * win32/Makefile.sub (enc/unicode/name2ctype.h): use md instead of
$(MAKEDIRS).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:12 AM Feature #1951: openのBOM指定拡張
とりあえず`BOM|UTF-*`への変更をr24605で入れました。
naruse (Yui NARUSE)

08/23/2009

06:24 AM Revision 7c2d363b (git): * bootstraptest/runner.rb (main): "usage" description updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:15 AM Revision 0ebb7c1c (git): * bootstraptest/runner.rb (Dir.mktmpdir): updated to latest.
(in_temporary_working_directory): temporary directory name changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:44 AM Feature #1981: [PATCH] CSV Parsing Speedup
=begin
I just wanted to state that I am aware of this patch and do plan to apply something like it. I'm purposefully waiting a bit to see how the new FasterCSV release, which uses a similar non-regex approach, fairs in the wild. When ...
JEG2 (James Gray)
04:44 AM Feature #1981 (Closed): [PATCH] CSV Parsing Speedup
=begin
This patch replaces the regex used in the Ruby 1.9 CSV parser with ruby code.

Running all CSV tests (ts_all.rb) is much faster (36% on my machine). Probably because they don't have to rebuild the regex over and over again. I...
ender672 (Timothy Elliott)
05:32 AM Bug #1982 (Closed): Kernel.load(..., true) --> scope problem
=begin
In a file loaded with "Kernel.load(..., true)", the way constants are looked up has changed since 1.8. The attached script "helloworld.rb" works in Ruby 1.8, but fails in Ruby 1.9. It should be invoked like below to provoke the e...
johan556 (Johan Holmberg)

08/22/2009

04:19 PM Revision e709b204 (git): * 2009-08-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:19 PM Revision 832fd682 (git): * thread.c (rb_thread_schedule): don't recur infinitely.
(rb_threadptr_execute_interrupts): ditto.
[ruby-dev:38060]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:00 AM Bug #1801: parse error on variable/method collision
=begin
Hi,

At Wed, 22 Jul 2009 00:47:03 +0900,
Yukihiro Matsumoto wrote in [ruby-core:24480]:
> Ah, sorry for my weak memory. I remember the conversation now.
> Now it's a issue of trade off, between compatibility and
> intuitiv...
nobu (Nobuyoshi Nakada)
07:27 AM Bug #1801: parse error on variable/method collision
=begin
I have looked for examples of where this behavior is used in the wild, but I can't find any. Maybe I imagined them.
=end
coatl (caleb clausen)
07:04 AM Bug #1978: fixed crash in lib/logger.rb from dependency on svn keywork expansion
=begin
On Fri, Aug 21, 2009 at 3:38 PM, Stephen Bannasch<redmine@ruby-lang.org> wrote:
> Issue #1978 has been updated by Stephen Bannasch.
>
>
> While the dependence on the subversion keyword expansion has been present for a while t...
wyhaines (Kirk Haines)
06:37 AM Bug #1978: fixed crash in lib/logger.rb from dependency on svn keywork expansion
=begin
While the dependence on the subversion keyword expansion has been present for a while the crash only started after this commit by shyouhei:

svn rev: 22283
branch: ruby_1_8_6
Fri Feb 13 2009 05:18:12 GMT-0500 ...
stepheneb (Stephen Bannasch)
06:26 AM Bug #1978 (Closed): fixed crash in lib/logger.rb from dependency on svn keywork expansion
=begin
When I build Ruby 1_8_6 from a git checkout logger.rb crashes because it operates on a string that it expects to be expanded when the sources are checked out with Subversion.

This is a problem when building Ruby from source...
stepheneb (Stephen Bannasch)
06:42 AM Revision 00b8444c (git): fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:23 AM Revision 97ed18f1 (git): YAML parser don't need identity hash.
revert the part of previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:07 AM Bug #1494: tempfile#unlink may silently fail on windows
=begin
Luis Lavena:
> Seems to rescue Errno::EACCES on Windows, and silently fail.

Actually, Ruby 1.9's Tempfile already does that. I just removed the 'close' call in the #unlink method. I'd rather advocate letting the exception ...
hongli (Hongli Lai)
04:52 AM Revision dfc3fcce (git): * ext/syck/rubyext.c (id_hash_new): new function to create a hash
which key is compared by object id.
(syck_parser_load): use id_hash_new for bonus->data.
(syck_parser_load_documents): ditto.
(syck_emitter_reset): ditto.
* lib/yaml.rb (YAML.quick_emit): give the object itself to eimitter.
don'...
akr (Akira Tanaka)
04:17 AM Revision 0570b996 (git): * Makefile.in: use CP and MV macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:40 AM Revision c8971492 (git): fix rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:19 AM Revision b2a83ef6 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:08 AM Revision b3efcdcb (git): * lib/test/unit.rb (Test::Unit.run=, Test::Unit.run?): fixed rdoc.
[ruby-core:25034]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:21 AM Bug #1977 (Closed): test failed in test_isdigit in test/dl/test_func.rb on sparc-solaris-2.10 (64bit)
=begin
sparc-solaris-2.10 にて64ビットコンパイルした場合、Bug #1967
([ruby-dev:39146])のパッチを適用した後では、以下の2つのdl関連
のテストが失敗(Failure)します。

1) Failure:
test_isdigit(DL::TestFunc) [/XXX/test/dl/test_func.rb:21]:
Failed assertion, no message given...
ngoto (Naohisa Goto)
12:17 AM Bug #1963 (Closed): redo'ing deadlock causes [BUG]
=begin
Applied in changeset r24616.
=end
mame (Yusuke Endoh)

08/21/2009

08:48 PM Bug #1654: Segmentation fault after a "make install" under OpenSolaris 2009.06
=begin
Hello Yuki,

I can confirm that at least with ruby 1.9.2dev (2009-08-21 trunk 24613) [i386-solaris2.11] the above mentioned problem is gone.

Best regards, Pedro
=end
saraiva (Pedro Saraiva)
07:50 PM Bug #1965 (Closed): the strange thing in Iconv under windows(GBK)
=begin
> Is there some setting to make the IO read all files using :encoding=>'utf-8' by default
Encoding.default_external gives the default.
Rails may use this and set as UTF-8, so you shouldn't change this.


following gives...
naruse (Yui NARUSE)
05:43 PM Bug #1494: tempfile#unlink may silently fail on windows
=begin
Hi guys. Let me re-explain the issue:

There are times when you just need a large anonymous disk-backed byte buffer. For example, when you're writing a web server and you want to buffer the client's upload data. In cases like...
hongli (Hongli Lai)
05:04 PM Bug #1494: tempfile#unlink may silently fail on windows
=begin
On Thu, Aug 20, 2009 at 8:52 PM, Yukihiro Matsumoto<matz@ruby-lang.org> wrote:
> Hi,
>
> In message "Re: [ruby-core:25011] Re: [Bug #1494] tempfile#unlink may silently fail on windows"
>    on Fri, 21 Aug 2009 08:37:35 +0900,...
luislavena (Luis Lavena)
10:41 AM Bug #1494: tempfile#unlink may silently fail on windows
=begin
To begin with, What situation did the original post encount?
I doubt that they tried to check the existence of the file after unlink.

About Tempfile, it is nonsense to check the existence.
There are another proper ways o...
usa (Usaku NAKAMURA)
08:53 AM Bug #1494: tempfile#unlink may silently fail on windows
=begin
Hi,

In message "Re: [ruby-core:25011] Re: [Bug #1494] tempfile#unlink may silently fail on windows"
on Fri, 21 Aug 2009 08:37:35 +0900, Nobuyoshi Nakada <nobu@ruby-lang.org> writes:

|At Fri, 21 Aug 2009 07:36:27 +0900,...
matz (Yukihiro Matsumoto)
08:37 AM Bug #1494: tempfile#unlink may silently fail on windows
=begin
Hi,

At Fri, 21 Aug 2009 07:36:27 +0900,
Shyouhei Urabe wrote in [ruby-core:25008]:
> Seems it's (currently) 1.9.x specific so I moved this issue to 1.9 category.
>
> I've also assigned it to matz because revision r23494 w...
nobu (Nobuyoshi Nakada)
07:36 AM Bug #1494: tempfile#unlink may silently fail on windows
=begin
Seems it's (currently) 1.9.x specific so I moved this issue to 1.9 category.

I've also assigned it to matz because revision r23494 was checed in by him.

Matz, can I revert this? Or do you want to do so?
=end
shyouhei (Shyouhei Urabe)
06:32 AM Bug #1494: tempfile#unlink may silently fail on windows
=begin
On Thu, Aug 20, 2009 at 6:24 PM, Jeremy Kemper<redmine@ruby-lang.org> wrote:
> Issue #1494 has been updated by Jeremy Kemper.
>
>
> Please revert this change. It's causing major issues for everyone BUT windows.
>
> http://g...
luislavena (Luis Lavena)
06:24 AM Bug #1494: tempfile#unlink may silently fail on windows
=begin
Please revert this change. It's causing major issues for everyone BUT windows.

http://groups.google.com/group/rack-devel/browse_thread/thread/a2aab3a4720f34c4

Please restore the previous, sane behavior and come up a dif...
bitsweat (Jeremy Daer)
04:29 PM Revision 7e97b9af (git): * lib/mkmf.rb (rm_f, rm_rf): pass the last hash through if exists.
[ruby-dev:39153]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:51 PM Revision 461bd62f (git): * enumerator.c (ary2sv): add dup argument.
(enumerator_next): call ary2sv with dup=0.
(enumerator_peek): call ary2sv with dup=1 to return duplicated array.
(enumerator_peek_values_m): new function to return duplicated array.
(Init_Enumerator): use enumerator_peek_values_m a...
akr (Akira Tanaka)
03:18 PM Revision 7609494f (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:14 PM Revision 72ef8173 (git): * 2009-08-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision f72b854c (git): * thread.c (rb_check_deadlock): decrease number of sleepers before
deadlock detection because the deadlock exception makes main thread
run. [ruby-dev:39142]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:07 PM Bug #1971 (Closed): Segmentation fault in readline
=begin
Applied in changeset r24604.
=end
naruse (Yui NARUSE)
07:42 AM Bug #1971 (Closed): Segmentation fault in readline
=begin
Following code from trunk, -r24602, segfaults in Linux 2.6.15.5:

require 'readline'
Readline::readline("(rdb:1)", true)

I've narrowed this down to 8/20/09 change to ext/readline/readline.c, -r24594 (rl_prep_terminal()...
mark-moseley (Mark Moseley)
01:39 PM Revision 3a855da4 (git): * enumerator.c (get_next_values): extracted from
enumerator_next_values.
(enumerator_next_values): use get_next_values.
(enumerator_peek_values): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:00 PM Bug #1960: errors in configure on AIX
=begin
It seemed that 1.8.6p383 need to back port r15777 and r15779.
At least, I was able to install rubygems by using attached patch.
This issue did not occur on ruby_1_8.

% gem env
RubyGems Environment:
- RUBYGEMS VERSI...
kanemoto (Yutaka Kanemoto)
08:28 AM Bug #1972 (Closed): Changing ENV['TZ'] of a running process should change behavior of Time
=begin
Running the attached rb1.rb prints "EST AST EST AST" on Mac OS and Linux. But it prints the following output on Windows Vista with 1.8.6p287 as well as 1.9.1p129.

Ame
Asi
Pacific Standard Time
Pacific Standard Time

...
shri (Shri Borde)
08:01 AM Revision a7b92068 (git): * enc/unicode/name2ctype.h: split from enc/unicode.c and made a
perfect hash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:37 AM Revision a606038c (git): * enc/utf_8.c (code_to_mbc): suppressed a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:17 AM Revision 7fa73456 (git): Rename FMODE_STRIP_BOM to FMODE_SETENC_BY_BOM.
* include/ruby/io.h, io.c (FMODE_SETENC_BY_BOM):
renamed from FMODE_STRIP_BOM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:16 AM Revision f7207fa2 (git): Change modestr syntax for BOM to "BOM|UTF-*".
* io .c (rb_io_fmode_modestr): change modestr syntax for BOM
to "BOM|UTF-*".
* io.c (parse_mode_enc): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:13 AM Bug #1970: Pathname#to_str doesn't appear to work anymore
=begin
And, you can use Pathname#glob.
=end
bitsweat (Jeremy Daer)
06:12 AM Bug #1970: Pathname#to_str doesn't appear to work anymore
=begin
It's intentional. See r6114 http://github.com/shyouhei/ruby/commit/4ded52b623ebd1b3de12db82f8b54cc156c1fd28#diff-11
=end
bitsweat (Jeremy Daer)
03:54 AM Bug #1970 (Rejected): Pathname#to_str doesn't appear to work anymore
=begin
It seems as though Pathname#to_str was removed in 1.9. Was this intentional? It breaks all usage of Pathname in cases like: Dir[@pathname].
=end
wycats (Yehuda Katz)
06:04 AM Revision 75104687 (git): use rl_prep_terminal only on Windows. [ruby-core:25009]
* ext/readline/readline.c (readline_readline): use rb_prep_terminal
only on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

08/20/2009

11:48 PM Feature #1966: windows unicode mkdir
=begin
I also left there non unicode code branch, but I feel it should be abandoned.
=end
vo.x (Vit Ondruch)
11:36 PM Feature #1966: windows unicode mkdir
=begin
Needed to say that encoding support on POSIX system is in worser shape than on windows. If UTF-8 string is used, then everything is fine, however, every other encoding is problematic. It means that dir_s_mkdir_internal should be ...
vo.x (Vit Ondruch)
11:34 PM Feature #1966: windows unicode mkdir
=begin
I also forgot that check_dirname is not unicode encoding aware and should be fixed.
=end
vo.x (Vit Ondruch)
09:04 PM Feature #1966: windows unicode mkdir
=begin
Snippet of appropriate rubyspec test case.
=end
vo.x (Vit Ondruch)
09:02 PM Feature #1966 (Closed): windows unicode mkdir
=begin
Dear Ruby developers,

I'm interested in proper unicode support on windows, therefor I dive into Ruby sources and prepared initial patch (see in attachemet) which adds unicode support for mkdir. It is heavily inspired by code...
vo.x (Vit Ondruch)
11:42 PM Bug #1965: the strange thing in Iconv under windows(GBK)
=begin
Thanks so much,it works fine now!
Is there some setting to make the IO read all files using :encoding=>'utf-8' by default,or should the IO check the file encoding and auto set this before read it?
Rails read files use File.re...
phoenix (junchen wu)
11:09 PM Bug #1965: the strange thing in Iconv under windows(GBK)
=begin
Oh I see.
You should s=IO.readlines('test.utf8',:encoding=>'utf-8').join.
or s=IO.read('test.utf8',:encoding=>'utf-8')
=end
naruse (Yui NARUSE)
10:04 PM Bug #1965: the strange thing in Iconv under windows(GBK)
=begin
Maybe I need try another iconv.dll to make the s==utf return true,but then both s=~/ab/ and utf=~/ab/ will raise the ArgumentError: invalid byte sequence in GBK.
I want to read my string from my utf-8 file,and compile it with r...
phoenix (junchen wu)
05:27 PM Bug #1965: the strange thing in Iconv under windows(GBK)
=begin
This seems to be caused by iconv library.
Please try another iconv.dll.
=end
naruse (Yui NARUSE)
04:43 PM Bug #1965 (Closed): the strange thing in Iconv under windows(GBK)
=begin
I have a file encoding in utf-8,this is the content:

#掉
config

I read it and then match it with =~/ab/,it will raise: ArgumentError: invalid byte sequence in GBK.
There is something strange:
irb> s=IO.readlines('t...
phoenix (junchen wu)
10:35 PM Bug #1967 (Rejected): Segmentation fault at test_qsort1 and test_qsort2 in test/dl/test_func.rb running on sparc-solaris-2.10
=begin
sparc-solaris-2.10 で 64ビットコンパイルした場合、
make check が test/dl/test_func.rb の test_qsort1 にて
Segmentation fault になります。

原因は、引数の型でした。
void qsort(void *base, size_t nmemb, size_t size,
int(*compar)(c...
ngoto (Naohisa Goto)
10:25 PM Revision 09cbac3f (git): * lib/rdoc/ri/gemdirs.rb: split from lib/rdoc/ri/paths.rb to get
rid of loading rubygems and searching all gems always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:14 PM Revision 7439c06a (git): * configure.in (RUBY_PROGRAM_VERSION, RUBY_RELEASE_DATE): extracts
from version.h for cross-compiling.
* template/fake.rb.in (RUBY_VERSION, RUBY_DESCRIPTION): use above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:32 PM Feature #1889: Teach Onigurma Unicode 5.0 Character Properties
=begin
> One that stands out as wrong is [[:Cntrl:]].
I think, CR_Cntrl is correct.
http://unicode.org/reports/tr18/

How about do you think, matz?

> I'm defining Cn as any character in the Unicode range that does not appea...
naruse (Yui NARUSE)
09:39 AM Feature #1889: Teach Onigurma Unicode 5.0 Character Properties
=begin
Hi,

At Thu, 20 Aug 2009 03:58:22 +0900,
Run Paint Run Run wrote in [ruby-core:24984]:
> There are 15 new scripts there, e.g. 'Vai'. These will need to be added to the '#ifdef USE_UNICODE_PROPERTIES' section, starting on line...
nobu (Nobuyoshi Nakada)
03:58 AM Feature #1889: Teach Onigurma Unicode 5.0 Character Properties
=begin
How does http://gist.github.com/170542 look? That's the categories from UnicodeData.txt, the scripts from Scripts.txt, and the POSIX character classes. (The new parser script is still at http://github.com/runpaint/onig/tree/maste...
runpaint (Run Paint Run Run)
05:22 PM Revision a0343dd9 (git): * 2009-08-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:22 PM Revision 811aaf6c (git): Backport #1001; handle EBADF in select() to avoid Interpreter-wide deadlock when native close() is called on fd which is currently being IO#select()ed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wyhaines (Kirk Haines)
04:00 PM Feature #1952: cannot stop with Ctrl+C
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39141] Re: [Bug #1952] cannot stop with Ctrl+C"
on Thu, 20 Aug 2009 14:47:18 +0900, "U.Nakamura" <usa@garbagecollect.jp> writes:

|In message "[ruby-dev:39140] Re: [Bug #1952] canno...
matz (Yukihiro Matsumoto)
02:47 PM Feature #1952: cannot stop with Ctrl+C
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:39140] Re: [Bug #1952] cannot stop with Ctrl+C"
on Aug.20,2009 13:22:10, <usa@garbagecollect.jp> wrote:
> パッチは用意してみましたが、そもそもなぜここでは例外を無視し
> ていたのでしょう?>ささださん
> 普通に考えると、ここで起きうる例外って自身に...
usa (Usaku NAKAMURA)
01:22 PM Feature #1952: cannot stop with Ctrl+C
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:39131] Re: [Bug #1952] cannot stop with Ctrl+C"
on Aug.19,2009 17:49:23, <usa@garbagecollect.jp> wrote:
> > * kill -9を必要とするのは問題である。ので、main threadは割
> > り込み可能にしておくべき
>
> とり...
usa (Usaku NAKAMURA)
09:47 AM Feature #1952 (Closed): cannot stop with Ctrl+C
=begin
Applied in changeset r24591.
=end
matz (Yukihiro Matsumoto)
03:08 PM Revision e22b92dc (git): * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been obsolete.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:06 PM Revision cb5fdf4e (git): * 2009-08-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:06 PM Revision 4b82d3b6 (git): * io.c (rb_sysopen_internal): removed const qualifier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:56 PM Revision 36c9cddf (git): * io.c (rb_sysopen): moved sysopen_struct from rb_sysopen_internal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:53 PM Bug #1963 (Closed): redo'ing deadlock causes [BUG]
=begin
#1951 に関係があるようなないような話ですが、以下のスクリプトが[BUG]で落ちます。
プラットフォーム依存はありません。

th = Thread.new{ Thread.stop }
1.times do
begin
Thread.stop
ensure
redo
end
end
=end
usa (Usaku NAKAMURA)
02:42 PM Revision 4c5d7d53 (git): * parse.y (reduce_nodes_gen): preserve NODE_FL_NEWLINE flag during
node reducing. [ruby-core:24463]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:20 PM Feature #1961: Kernel#__dir__
=begin
Hi.

I think nice idea and interesting proposal.

The following patch add Kernel#__dir__.
(from Nobuyoshi Nakada, thanks)


Index: prelude.rb
===================================================================
...
authorNari (Narihiro Nakamura)
05:44 AM Revision 681754c2 (git): Fix: change terminal's size on Widows when the window size is changed
* ext/readline/readline.c (readline_get): add rl_prep_terminal(1).
insited by jitte [ruby-list:43546]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:11 AM Revision bfc94fde (git): * parse.y (ENABLE_SELECTOR_NAMESPACE): defaulted to 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:09 AM Revision 4a7cf763 (git): * parse.y (ivar2_hash_type): disabled for now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:09 AM Bug #1919: sparc-solaris-2.10 で 1.9.2-preview1 がビルドできない
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39132] Re: [Bug #1919] sparc-solaris-2.10 で 1.9.2-preview1 がビルドできない"
on Wed, 19 Aug 2009 22:42:58 +0900, Naohisa GOTO <ngoto@gen-info.osaka-u.ac.jp> writes:

|> Solaris の readdir_...
matz (Yukihiro Matsumoto)
12:42 AM Revision ec5e3c55 (git): * thread.c (rb_thread_terminate_all): do not ignore interrupt when
reaping threads on termination. [ruby-dev:39107]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)

08/19/2009

11:57 PM Feature #1961 (Closed): Kernel#__dir__
=begin
= Proposal

Kernel#__dir__
returns the value of File.dirname(__FILE__)

According to the google code search, about 60% of uses of __FILE__
are of the form File.dirname(__FILE__). Ruby 1.9.2 provides
require_re...
yhara (Yutaka HARA)
10:43 PM Bug #1919: sparc-solaris-2.10 で 1.9.2-preview1 がビルドできない
=begin
後藤といいます。自己レスです。

On Tue, 11 Aug 2009 12:49:55 +0900
Naohisa Goto wrote:

> Solaris の readdir_r について調べてみたところ、
> "readdir_r considered harmful"
> http://womble.decadentplace.org.uk/readdir_r-advisory.html
> という文章を見つけました。これに...
ngoto (Naohisa Goto)
08:27 PM Bug #1960 (Closed): errors in configure on AIX
=begin
running on AIX 5.2, with:
./configure CC=cc --prefix=/opt/build/ruby CFLAGS='-g -qlanglvl=extc89 -q32'

i get:
./configure[17927]: /ruby: not found
./configure[17927]: ${exec_prefix}/lib: not found
./configure[1793...
ittayd (Ittay Dror)
08:26 PM Revision ce46bc63 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:21 PM Revision fb994161 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:52 PM Feature #1889: Teach Onigurma Unicode 5.0 Character Properties
=begin
Yukihiro Matsumoto wrote:
> In message "Re: [ruby-core:24975] [Feature #1889] Teach Onigurma Unicode 5.0 Character Properties"
> on Wed, 19 Aug 2009 11:57:12 +0900, Yui NARUSE <redmine@ruby-lang.org> writes:
>
> |My inte...
naruse (Yui NARUSE)
05:55 PM Feature #1889: Teach Onigurma Unicode 5.0 Character Properties
=begin
Hi,

In message "Re: [ruby-core:24975] [Feature #1889] Teach Onigurma Unicode 5.0 Character Properties"
on Wed, 19 Aug 2009 11:57:12 +0900, Yui NARUSE <redmine@ruby-lang.org> writes:

|My intention is like following:

...
matz (Yukihiro Matsumoto)
11:57 AM Feature #1889: Teach Onigurma Unicode 5.0 Character Properties
=begin
My intention is like following:

diff --git a/enc/unicode.c b/enc/unicode.c
index 2dfcbba..f8fd25e 100644
--- a/enc/unicode.c
+++ b/enc/unicode.c
@@ -3863,3820 +3863,7 @@ static const OnigCodePoint CR_Assigned[] = {
...
naruse (Yui NARUSE)
03:20 AM Feature #1889: Teach Onigurma Unicode 5.0 Character Properties
=begin
Yui,

Thanks for your help. :-) I've written a script (http://github.com/runpaint/onig/tree/master) which parses UnicodeData.txt to create the consts for the property mappings. It runs on 1.8.7 and `miniruby`. The output is a...
runpaint (Run Paint Run Run)
05:49 PM Feature #1952: cannot stop with Ctrl+C
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:39129] Re: [Bug #1952] cannot stop with Ctrl+C"
on Aug.19,2009 17:06:30, <matz@ruby-lang.org> wrote:
> これなんですが、そもそもなぜInterruptがTAG_FATALなんでしょう
> か。1.8では普通にTAG_RAISEだと思います。もちろん、うささん...
usa (Usaku NAKAMURA)
05:06 PM Feature #1952: cannot stop with Ctrl+C
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39128] Re: [Bug #1952] cannot stop with Ctrl+C"
on Wed, 19 Aug 2009 16:35:56 +0900, "U.Nakamura" <usa@garbagecollect.jp> writes:

|In message "[ruby-dev:39127] Re: [Bug #1952] canno...
matz (Yukihiro Matsumoto)
04:36 PM Feature #1952: cannot stop with Ctrl+C
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:39127] Re: [Bug #1952] cannot stop with Ctrl+C"
on Aug.19,2009 16:00:28, <matz@ruby-lang.org> wrote:
> うーん、ensureでraiseしたり、その外でrescueでretryしたりして
> いるわけですから、無限ループそのものは「意図通り」なのではな
>...
usa (Usaku NAKAMURA)
04:00 PM Feature #1952: cannot stop with Ctrl+C
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39126] Re: [Bug #1952] cannot stop with Ctrl+C"
on Wed, 19 Aug 2009 15:47:18 +0900, "U.Nakamura" <usa@garbagecollect.jp> writes:

|おそらく、(3)のTAG_FATALが忘れ去られるのが問題で、外側のrescue
|節に入らないよ...
matz (Yukihiro Matsumoto)
03:47 PM Feature #1952: cannot stop with Ctrl+C
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:39107] [Bug #1952] cannot stop with Ctrl+C"
on Aug.18,2009 23:50:32, <redmine@ruby-lang.org> wrote:
> 以下のスクリプトがCtrl+Cで停止せず、Ctrl+C押下後はkill -9でしか殺せません。

調査を進めてみました。

当初はpthreadな環境...
usa (Usaku NAKAMURA)
05:47 PM Feature #1951: openのBOM指定拡張
まつもと ゆきひろです

In message "Re: [ruby-dev:39106] [Feature #1951] openのBOM指定拡張"
on Tue, 18 Aug 2009 23:47:17 +0900, Yui NARUSE <redmine@ruby-lang.org> writes:

>この問題に対する解決案として、
>* `UTF-*-BOM` はBOMを捨てるだけ。別のencodingだった場合は例外
...
matz (Yukihiro Matsumoto)
01:24 AM Feature #1951: openのBOM指定拡張
こんにちは、なかむら(う)です。

In message "[ruby-dev:39111] [Feature #1951] openのBOM指定拡張"
on Aug.19,2009 01:10:38, <redmine@ruby-lang.org> wrote:
> 現状の機能は、
> 「BOMに従って`encoding`を設定するが、BOMがない場合のデフォルト値を指定できる」
> というものですが、現状の指定方法である「`UTF-...
usa (Usaku NAKAMURA)
01:10 AM Feature #1951: openのBOM指定拡張
記述が正確でないという指摘を受けたので訂正します。

現状の機能は、
「BOMに従ってencodingを設定するが、BOMがない場合のデフォルト値を指定できる」
というものですが、現状の指定方法である「`UTF-*-BOM`」から見て直観的ではありません。
ゆえに、「`BOM|UTF-*`」と変更する案です。

念のため、「`BOM|UTF-*`」の動作をおさらいしますと、
冒頭にU+FEFFがあった場合、これをBOMとみなし、それに基...
naruse (Yui NARUSE)
05:32 PM Revision 0c0f7544 (git): * enumerator.c (next_init): don't clear feedvalue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:36 PM Revision 3b4949ff (git): * enumerator.c: implement Enumerator#{next_values,peek_values,feed}
and StopIteration#result. [ruby-dev:39109]
(struct enumerator): replace no_next by stop_exc.
new field feedvalue.
(enumerator_mark): mark feedvalue and stop_exc.
(enumerator_init): initialize feedvalue and stop_exc.
(enumerato...
akr (Akira Tanaka)
04:10 PM Revision b307bd98 (git): * 2009-08-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:10 PM Revision 529f149b (git): * dir.c (DEFINE_STRUCT_DIRENT): use union to allocate sufficient
memory space for Solaris. a patch from Naohisa GOTO
<ngoto at gen-info.osaka-u.ac.jp> in [ruby-dev:39132].
[ruby-dev:39062]
* configure.in (SIZEOF_STRUCT_DIRENT_TOO_SMALL): Solaris dirent
check.
git-svn-id: svn+ssh://ci.ruby-lan...
matz (Yukihiro Matsumoto)
01:53 PM Revision d5d105db (git): * 2009-08-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:53 PM Revision 9c3ecf6f (git): Backport #1232. Fixed sprintf buffer corruption.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wyhaines (Kirk Haines)
06:23 AM Bug #1676: only last "return" is traced by set_trace_func
=begin
遠藤さん、ありがとうございます。Mark さんへの説明も重ね重ねありがとうございます。
自明のことかもしれませんが、自分で困ったので念のため
proc {return}.call のようなときにも問題があることを報告させていただきます。
=end
wanabe (_ wanabe)
03:06 AM Bug #1676 (Open): only last "return" is traced by set_trace_func
=begin
テストを追加した際、間違って close してしまいました。
eval("return") はまだ修正していません。
何度もすみません。
=end
mame (Yusuke Endoh)
02:57 AM Bug #1676 (Closed): only last "return" is traced by set_trace_func
=begin
Applied in changeset r24581.
=end
mame (Yusuke Endoh)
01:27 AM Bug #1676 (Open): only last "return" is traced by set_trace_func
=begin
直した直後に気がつきましたが、eval("return") の場合に問題が残ります。

$ ./ruby -e '
set_trace_func(proc{|*a| p a if a[0] == "call" || a[0] == "return"})
def foo
eval("return")
end
foo
'
["call", "-e", 3, :foo, #<Binding:0x8224b44>, Obj...
mame (Yusuke Endoh)
01:17 AM Bug #1676 (Closed): only last "return" is traced by set_trace_func
=begin
Applied in changeset r24579.
=end
mame (Yusuke Endoh)
01:07 AM Bug #1676: only last "return" is traced by set_trace_func
=begin
Hi,

2009/08/09 1:29 に Mark Moseley<redmine@ruby-lang.org> さんは書きました:
> Patch to fix this:
>
> --- compile.c (revision 24476)
> +++ compile.c (working copy)
> @@ -2959,6 +2959,8 @@
> COMPILE_(ret, "BLOCK body", ...
mame (Yusuke Endoh)
05:20 AM Feature #1873: MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
=begin
Thanks, Erik. I tried the patch out and it works well. :-)
=end
runpaint (Run Paint Run Run)
02:43 AM Bug #1955 (Closed): Ruby-YAML interpretation of accented characters
=begin
in a yaml file containing an entry with an e with diaresis (ë), the entry is converted to false - see the attached code snippet.
=end
stephen.richards (Stephen Richards)
02:32 AM Revision e1c9ac6b (git): * enc/unicode.c (CodeRanges): initialized statically.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:02 AM Bug #1914: ruby-1.9.1-p243 failed to build from source on aix 5.3 with gcc 4.2.0
=begin
Yes, I reach to get rid of 'Circular dependencies', issue with miniruby which failed to build callback* files and finaly build ruby-1.9.1-p243 :<)

I will post the results of my investigation soon.

Cheers,
J.
=end
rubisher (Joel Soete)
02:02 AM Bug #1954 (Closed): line number 0?
=begin
$DEBUG = true の時に出てくる例外発生位置の行番号が 0 になってしまうことがあるようです。

% cat t0.rb
$DEBUG = true
Thread.start do
begin
Process.kill(:INT, $$)
ensure
raise
end
end.join
% ruby-trunk t0.rb
Exception `Interrupt'...
znz (Kazuhiro NISHIYAMA)

08/18/2009

11:54 PM Bug #1953 (Closed): empty range in String#tr causes unexpected behavior
=begin
Are these intentional?

"ABC".tr("ABC", "pq-a") #=> "pqq"
"ABC".tr("ABC", "pq-ar") #=> "prr"
"ABC".tr("ABC", "pq-ars") #=> "prs"
"ABC".tr("ABC", "pq-arst") #=> "prs"

I expect that an exception is rais...
mame (Yusuke Endoh)
11:50 PM Feature #1952 (Closed): cannot stop with Ctrl+C
=begin
以下のスクリプトがCtrl+Cで停止せず、Ctrl+C押下後はkill -9でしか殺せません。

Thread.new do
begin
begin
sleep
ensure
raise
end
rescue
retry
end
end.join
=end
usa (Usaku NAKAMURA)
11:47 PM Feature #1951 (Closed): openのBOM指定拡張
#747と#802で議論された、openのBOM指定拡張ですが、現在の仕様は、
* BOMを捨てる
* BOMを見てencodingを設定する
という2つの機能が混在しています。
このために、たとえば「`UTF-8-BOM`」という指定でも、
BOMがUTF-16LEを示していた場合には実際に返ってくるStringはUTF-16LEになってしまいます。
この問題に対する解決案として、
* UTF-*-BOM はBOMを捨てるだけ。別のe...
naruse (Yui NARUSE)
10:44 PM Bug #1950 (Assigned): 警告が正しく発っせられない
=begin

=end
naruse (Yui NARUSE)
10:33 PM Bug #1950 (Closed): 警告が正しく発っせられない
=begin
a.rb にある警告対象が、a.rb 自体を参照しても発っせられないのに b.rb な
どから間接的に呼んだ場合には (b.rb のこととして) 発っせられることがある。

$ cat a.rb
/[aa]/ =~ 'a'
$ cat b.rb
require 'a'

$ ./ruby -w -I. a.rb
$ ./ruby -w -I. b.rb
b.rb:1: warning: character clas...
tadf (tadayoshi funaba)
10:25 PM Feature #1949 (Closed): Warn needless escaped characters
=begin
正規表現内での不必要なエスケープに警告を出しませんか。

動機としては、/\uXXXX/の非互換性の話があります。

これは、Ruby 1.8において、不必要なエスケープであった/\u/が、
Ruby 1.9においては\uXXXXという構文が追加されたがために、
エラーが出たり意味が変わってしまったりしたという話でした。

このような不幸な出来事は、/\u/と書いたら警告を出すようにしていたら、
未然に防ぐことができた...
naruse (Yui NARUSE)
07:41 PM Feature #1889: Teach Onigurma Unicode 5.0 Character Properties
=begin
> I looked around a while back at how various languages implemented access to
> Unicode character metadata, and the results were universally ugly.

Ruby 1.9's implementation is in onigenc_unicode_is_code_ctype in unicode.c ...
naruse (Yui NARUSE)
07:27 PM Feature #1889: Teach Onigurma Unicode 5.0 Character Properties
=begin
> In that case, could I get confirmation that my original patches are along the right lines?
> If they are I'll handle this the week after next.

CR_* are structured as {length, [from, to]*}.
So your patch should be like ...
naruse (Yui NARUSE)
05:55 PM Revision 43d0c726 (git): * test/ruby/test_settracefunc.rb (test_return, test_return2): add two
tests for [ruby-dev:38701] and [ruby-core:24463].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
04:15 PM Revision db09f6e8 (git): * 2009-08-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:15 PM Revision 74dc18c9 (git): * compile.c (NODE_RETURN): fire return event at explicit return.
[ruby-dev:38701]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:08 PM Feature #1947 (Rejected): rb_w32_getenv has naive implementation
=begin
There is a patch to use GetEnvironmentVariable() instead of using GetEnvironmentStrings(), written by Nobu.

http://www.atdot.net/sp/readonly/hk3kok

However, this patch is as you see complex at the same level of curren...
usa (Usaku NAKAMURA)
12:02 PM Revision 2772c80c (git): * enumerator.c (enumerator_peek): new method Enumerator#peek.
(enumerator_next): don't rewind at end.
[ruby-dev:38932]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:47 AM Bug #1588 (Closed): ブロックの中断でset_trace_funcのreturnイベントが呼び出されない
=begin
Applied in changeset r24574.
=end
wanabe (_ wanabe)
11:18 AM Revision ec490ab2 (git): * load.c (rb_feature_provided): suppressed warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:17 AM Revision f165ddb2 (git): properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:46 AM Bug #1881: [PATCH] Build Documentation for Kernel#gem and Gem
=begin
It resolves to the standard web site for me, I think Chad let the registration slip for a day or two.
=end
drbrain (Eric Hodel)
08:30 AM Bug #1881: [PATCH] Build Documentation for Kernel#gem and Gem
=begin
rubygems.org has been typo-squatted, and rubygem.org doesn't resolve, so links to both should be removed from the RDoc before it's built.
=end
runpaint (Run Paint Run Run)
09:31 AM Feature #1857: install *.h and *.inc
=begin
Hello,

In message "[ruby-core:24950] Re: [Feature #1857] install *.h and *.inc"
on Aug.17,2009 22:03:35, <rogerdpack@gmail.com> wrote:
> With 1.9+ you've got
> >> RUBY_DESCRIPTION
> => "ruby 1.9.1p129 (2009-05-12 revis...
usa (Usaku NAKAMURA)
08:37 AM Bug #1948: RDoc Fails with Non-ASCII Pathnames
=begin
I prefer the RubyForge tracker, but I look here too :)
=end
drbrain (Eric Hodel)
08:27 AM Bug #1948 (Closed): RDoc Fails with Non-ASCII Pathnames
=begin
`rdoc` fails when the pathname is non-ASCII. This happens with or without the 'charset' option set to UTF-8. For example:


$ cat möbius.rb
# coding: utf-8
class Integer

def mobius
case
...
runpaint (Run Paint Run Run)
05:19 AM Bug #1676: only last "return" is traced by set_trace_func
=begin
As a note, this is fixed by a patch discussed here
http://github.com/mark-moseley/ruby-debug/issues/#issue/1/comment/36731
If that's any help.
=end
rogerdpack (Roger Pack)
04:52 AM Revision 7e41da2c (git): Tue Aug 18 13:46:14 2009 TAKANO Mitsuhiro (takano32) <tak@no32.tk>
* touch test/rdoc/empty.dat to run test_rdoc_parser.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
takano32 (Mitsuhiro TAKANO)
02:44 AM Revision 38a22404 (git): * vm_insnhelper.c (vm_call_cfunc): ensure hook c-return.
[Bug #1588]
* test/ruby/test_settracefunc.rb (TestSetTraceFunc#test_raise):
follow above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
wanabe (_ wanabe)
 

Also available in: Atom