Project

General

Profile

Activity

From 10/05/2009 to 10/11/2009

10/11/2009

10:08 PM Revision 4aa531ea (git): * thread.c: Doc fix for Thread#raise
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
08:52 PM Revision 67e11229 (git): * regparse.c (fetch_token): warn invalid back reference
and subexp call. (\k and \g).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:49 PM Revision 5e4d54a9 (git): * 2009-10-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:49 PM Revision 8ab02203 (git): * marshal.c (has_encoding): added for check the regexp
is dumped by 1.8 or 1.9.
* marshal.c (r_object0): use has_encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:00 PM Bug #2192 (Closed): warning in irb/context.rb
=begin
This issue was solved with changeset r25297. Suraj, thank you for your reporting of the issue. You have greatfully contributed toward Ruby. May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
04:55 AM Bug #2192 (Closed): warning in irb/context.rb
=begin
I always use RUBYOPT=-w and here is one warning I see:

/usr/lib/ruby/1.9.1/irb/context.rb:166: warning: method redefined; discarding old irb_name

Thanks for your consideration.
=end
sunaku (Suraj Kurapati)
03:31 PM Feature #2061: Named Unicode Character Escapes
=begin
I must have been unclear: I am not able to implement this feature. It requires changes over multiple source files and a familiarity with the lexxer. In addition, it is not clear to me what the ideal data structure is.
=end
runpaint (Run Paint Run Run)
01:38 AM Feature #2061 (Closed): Named Unicode Character Escapes
=begin
Reopen this when you done it.
=end
naruse (Yui NARUSE)
03:12 PM Feature #1784: More encoding (Big5 series) support?
=begin
On 2009/10/11 1:53, Yui NARUSE wrote:
> Issue #1784 has been updated by Yui NARUSE.
>
>
> Is Big5-YAO still working?

It is still being worked on. Please wait another week or two. Thanks.

> ----------------------------...
duerst (Martin Dürst)
01:53 AM Feature #1784: More encoding (Big5 series) support?
=begin
Is Big5-YAO still working?
=end
naruse (Yui NARUSE)
01:56 PM Bug #853 (Closed): Rake のテストが無い
=begin
r25199 で追加しました。
=end
nobu (Nobuyoshi Nakada)
12:40 PM Bug #843: RubyGems include useless libraries
=begin
> * rubygems/test_utilities.rb : テスト専用なので名前を変えて test/ 以下に移動?
> * rubygems/timer.rb : デバッグと簡易ベンチマーク用。通常は使われていない。

この二つはgem作者用なのではないかと思います。rubygemsにはgem作成
とインストール、ランタイムの機能が全部ひとまとめになっていますか
ら、もし分けるとするならtest/以下ではなく作成機能自体の分離・...
nobu (Nobuyoshi Nakada)
01:22 AM Bug #843 (Assigned): RubyGems include useless libraries
=begin
* rubygems/test_utilities.rb : for test. this should be moved to under test/.
* rubygems/timer.rb : for debug and benchmark.
* rubygems/digest/digest_adapter.rb : don't need in Ruby1.9.1
=end
naruse (Yui NARUSE)
09:34 AM Revision 334241e3 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:39 AM Revision 3e54f0ee (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:54 AM Revision 5d1364df (git): * ext/gdbm/gdbm.c (fgdbm_select): fixed rdoc. a patch from Justin
Collins in [ruby-core:26050].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:54 AM Revision bffae002 (git): * ext/gdbm/gdbm.c (fgdbm_select): fixed rdoc. a patch from Justin
Collins in [ruby-core:26050].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:53 AM Bug #1148: CGI::prettyの正規表現の改良
=begin
そのうちにパッチを当てようと思っていました。
せかされたので近いうちに当てます。
=end
xibbar (Takeyuki FUJIOKA)
01:30 AM Bug #1148 (Assigned): CGI::prettyの正規表現の改良
=begin
これどうなりました?
lines = string.gsub(/(?!\A)<.*?>/m, "\n\\0").gsub(/<.*?>(?!\n)/m, "\\0\n")
が一番シンプルでかつ理屈の上では同じ意味ですが。
=end
naruse (Yui NARUSE)
04:54 AM Revision 433073cf (git): * test/rake/test_application.rb: not executable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:53 AM Revision bbaf5966 (git): * test/rake/test_namespace.rb: not executable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:52 AM Bug #2189: Math.atanh(1) & Math.atanh(-1) should not raise an error
=begin
I "fixed" it in JRuby, actually (http://github.com/jruby/jruby/commit/493da7a26d3df0d6cb784356ad8f3fca65ae1cce).

If we deem that Math.atanh(1)=Infinity, of course, JRuby will have to revert that change. This change might go ...
hasari (Hiro Asari)
03:41 AM Bug #2189: Math.atanh(1) & Math.atanh(-1) should not raise an error
=begin
I should have mentioned that JRuby also returns ±Infinity for atanh(±1).

I would also recommend that whatever choice is made, Ruby 1.8.x should behave the same way as Ruby 1.9 (at least for x >= 8).
=end
marcandre (Marc-Andre Lafortune)
02:23 AM Bug #2189 (Open): Math.atanh(1) & Math.atanh(-1) should not raise an error
=begin
I should have ran make test-all, I'm sorry. I also should have realized that the correct solution should have been more careful about platform independence. I'll be more careful in the future. I will also have to find out why I c...
marcandre (Marc-Andre Lafortune)
02:46 AM Bug #368: 境界における Math.atanh 等の動作
=begin
この件ですが、最近コミッタに加わったMarc-Andre Lafortuneさんが、Bug #2189 で仕様変更を提案しています。
ご興味のある方は参加ください。

なお、Redmineがこのチケットに関連する斎藤さんのメールを終えていないのでこちらも参照ください。
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-dev/35669
=end
naruse (Yui NARUSE)
01:58 AM Feature #1840 (Rejected): Hash に要素追加して self を返すメソッド
=begin
Hash#update でいいですよね。
=end
naruse (Yui NARUSE)
01:57 AM Bug #1654 (Closed): Segmentation fault after a "make install" under OpenSolaris 2009.06
=begin

=end
naruse (Yui NARUSE)
01:55 AM Bug #1787: URI ライブラリの正規表現パターン
=begin
検討および対応していただき、どうもありがとうございます。

<http://redmine.ruby-lang.org/issues/show/1787#note-2> の件もよろしくお願いします。
問題解決のための差分を添えておきます。(r3)
ついでにインデントの混在を整理した差分も添えてあります。(r3-w)
=end
drry (drry  )
01:49 AM Bug #1904: cmp required?
=begin
一時的なバグだったんですっけ?これ。
今も再現しますかね。
=end
naruse (Yui NARUSE)
01:47 AM Feature #1269 (Assigned): warning when Kernel#p is used
naruse (Yui NARUSE)
01:46 AM Feature #1431 (Rejected): Object#__class__
=begin

=end
naruse (Yui NARUSE)
01:43 AM Feature #1597 (Rejected): ObjectSpace.count_nodes
=begin

=end
naruse (Yui NARUSE)
01:42 AM Feature #1153 (Rejected): Enumerable#uniq
=begin

=end
naruse (Yui NARUSE)
01:42 AM Feature #1089 (Rejected): Stable sorting for sort and sort_by
naruse (Yui NARUSE)
01:36 AM Bug #1036 (Rejected): 1.9.1 build failing at mt.exe
=begin

=end
naruse (Yui NARUSE)
01:35 AM Bug #1080 (Feedback): SSL error when running the program "gem"
=begin
Does this still happen?
=end
naruse (Yui NARUSE)
01:34 AM Feature #1106 (Rejected): Script encoding vs. default_internal: Implicitly transcode strings/regexps
=begin
script encoding affects only literals in the script.
I don't think that mixing different source is a problem.
=end
naruse (Yui NARUSE)
01:30 AM Bug #1172 (Rejected): [sparc] *** glibc detected *** ruby1.9: free(): invalid pointer: 0xf7ef6a54 ***
=begin
SPARC is not supported.
=end
naruse (Yui NARUSE)
01:27 AM Revision 7af35646 (git): * lib/irb/context.rb (IRB::Context#irb_name): removed duplicated
attr_reader. [ruby-core:26047]
* lib/irb/ruby-lex.rb (RubyLex#lex_int2): removed duplicated
character class range.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:27 AM Feature #1159 (Rejected): StringScanner に文字ベースでのインデックスを返すメソッドがほしい
=begin

=end
naruse (Yui NARUSE)
01:26 AM Bug #865 (Assigned): [Fwd: some mistakes in Rake RDoc]
=begin
これってどうなったの?
=end
naruse (Yui NARUSE)
01:25 AM Bug #866 (Assigned): gem(1) gemrc(5)
=begin
これってどうなったの?
=end
naruse (Yui NARUSE)
01:24 AM Feature #767 (Rejected): Module#const_getでネストした定数の値を得られてもよいと思う
=begin

=end
naruse (Yui NARUSE)
01:23 AM Feature #643 (Rejected): __DIR__
=begin

=end
naruse (Yui NARUSE)
01:19 AM Feature #928 (Rejected): RDoc encoding conversion
=begin
Use UTF-8 for rdoc.
=end
naruse (Yui NARUSE)
01:16 AM Feature #1031: -U オプションの説明が --help にない
=begin
これってどうなってるんでしょう。
なお、担当者は Developer 以上にしかできないらしい。
=end
naruse (Yui NARUSE)
01:06 AM Revision e0e3d15f (git): * regparse.c (fetch_token_in_cc): warn when \p is not
followed by property name.
* regparse.c (fetch_token): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:48 AM Revision c506f190 (git): * regerror.c (onig_vsnprintf_with_pattern): added.
* regparse.c (onig_syntax_warn): use above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:04 AM Revision 2503de61 (git): * include/ruby/ruby.h (RB_GC_GUARD_PTR): workaround for gcc
optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

10/10/2009

11:48 PM Revision eac0bd97 (git): * include/ruby/ruby.h (ruby_exec_node): declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:50 PM Bug #2189 (Assigned): Math.atanh(1) & Math.atanh(-1) should not raise an error
=begin
This is from [ruby-dev:35669] (sorry for forgot describe this in r18252's log.
We discussed in it about differences of the result of Math.atanh(1).

In NetBSD 4, atanh(1) is NaN.

RETURN VALUES
If |x|>=1, atanh(...
naruse (Yui NARUSE)
02:53 PM Bug #2189 (Closed): Math.atanh(1) & Math.atanh(-1) should not raise an error
=begin
Regression caught by RubySpec.

$ rubydev -v -e 'p Math.atanh(1)'
ruby 1.9.2dev (2009-10-09 trunk 25274) [x86_64-darwin10.0.0]
-e:1:in `atanh': Numerical argument out of domain - atanh (Errno::EDOM)
from -e:1:in `<main...
marcandre (Marc-Andre Lafortune)
06:12 PM Revision 8e9fb2e1 (git): * regparse.c (onig_syntax_warn): added.
* regparse.c (CC_ESC_WARN, CLOSE_BRACKET_WITHOUT_ESC_WARN,
CC_DUP_WARN, UNKNOWN_ESC_WARN): use onig_syntax_warn.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:07 PM Bug #2048: Thread#raise: Handling of Current Exception
=begin
If you change interpreter or VM of Ruby, please get an approval by matz in ruby-core/Redmine (or ruby-dev).
Sorry for this was an implicit rule,
but it is important to let core developers know such critical changes.

Anyw...
naruse (Yui NARUSE)
05:58 PM Bug #2048 (Closed): Thread#raise: Handling of Current Exception
=begin
Sorry, it comes feeling right.
And seems rdoc doesn't mention the no argument case.
=end
nobu (Nobuyoshi Nakada)
05:30 PM Bug #2048 (Open): Thread#raise: Handling of Current Exception
=begin
I think r25278 is wrong.
The point should be that rescue clause restores its originating exception in 1.8 but it doesn't in 1.9.
Still I'm not sure if this is intentional change.
=end
nobu (Nobuyoshi Nakada)
02:17 PM Bug #2048 (Closed): Thread#raise: Handling of Current Exception
=begin
Applied in changeset r25278.
=end
marcandre (Marc-Andre Lafortune)
04:20 PM Feature #2190 (Closed): FileUtils::chmod - allow symbolic mode
=begin
Hello,

I request that FileUtils::chmod() and FileUtils::chmod_R() accept
symbolic modes, which are strings like "u+x,g-w,o=" (see "symbolic
mode" in `man chmod` for details), in addition to the numeric modes
they c...
sunaku (Suraj Kurapati)
03:14 PM Revision 95b3da63 (git): * marshal.c (marshal_dump, marshal_load): prevent from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:57 PM Revision 89afd642 (git): * file.c (path_check_0): prevent from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:51 PM Revision 5d4b63d2 (git): * transcode.c (rb_transcoding, str_transcoding_resize): fixed
types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:22 PM Bug #2171 (Closed): Kernel#respond_to_missing? Invoked for Unimplemented Methods
=begin

=end
marcandre (Marc-Andre Lafortune)
12:11 PM Revision 89154445 (git): * transcode.c: reverted r25277.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:38 AM Revision 6b7e6f08 (git): * math.c (math_atanh): reverted r25279.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
10:49 AM Revision f65dbbd2 (git): * ext/curses/curses.c: use rb_thread_blocking_region to avoid
rb_read_check. This makes other threads runnable in getstr and
wgetstr.
(getch_func): extracted from curses_getch.
(curses_getch): use rb_thread_blocking_region with getch_func.
(getstr_func): extracted from curses_getstr.
(cu...
akr (Akira Tanaka)
09:59 AM Revision 7c669071 (git): * configure.in (cflags, cxxflags): remove duplicating options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:19 AM Revision 66150a89 (git): * configure.in, Makefile.in (LIBRUBY_SO), common.mk (ruby.imp),
win32/mkexports.rb (each_export): exclude _threadptr_ functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:57 AM Revision 478d3535 (git): * eval.c (rb_threadptr_errinfo): renamed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:55 AM Revision d45189ba (git): * eval.c (rb_threadptr_errinfo): renamed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:03 AM Revision aa963d33 (git): * eval.c (ruby_exec_node): removed unused argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:28 AM Revision f87132b4 (git): * include/ruby/intern.h (Init_jump): removed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:24 AM Feature #2152: Split functionality of Float#inspect and Float#to_s
=begin

=end
marcandre (Marc-Andre Lafortune)
01:06 AM Feature #2152: Split functionality of Float#inspect and Float#to_s
=begin
re: Float#to_s and Float#inspect being split to do different functionality.

Would a patch be accepted?
Thanks.
-r
=end
rogerdpack (Roger Pack)
05:56 AM Revision 243400fb (git): * math.c (math_atanh): Fix bug for Math.atanh(+/-1). It now returns +-Infinity. [ruby-core:26028]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:13 AM Revision 8571bdbd (git): * thread.c (rb_threadptr_execute_interrupts_rec, rb_threadptr_raise): Thread#raise with no argument will now re-raise the current exception if there is one [ruby-core:25367]
* eval.c (get_errinfo, rb_rubylevel_thread_errinfo): Getter for current exception for a given thread
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
03:21 AM Revision c4ff156d (git): * transcode.c (rb_transcoding, str_transcoding_resize): fixed
types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:20 AM Revision 589d54f4 (git): * 2009-10-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:20 AM Revision 7081875a (git): * enc/unicode/name2ctype.h: update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:18 AM Feature #1811: Default BasicSocket.do_not_reverse_lookup to true
=begin
Interestingly, when I apply this patch, then run make test-all, two tests that previously broke:

2) Error:
test_cookie(TestCookie):
NoMethodError: undefined method `shutdown' for nil:NilClass
/home/rdp/dev/downlo...
rogerdpack (Roger Pack)
01:00 AM Feature #1811: Default BasicSocket.do_not_reverse_lookup to true
=begin
Here's a patch that does it. None of the documentation seems to mention that it defaults to true, so this should be enough for now.
Socket doesn't appears to have a maintainer [1] so anybody want to?
Thanks.
-r
[1] http:...
rogerdpack (Roger Pack)
12:50 AM Bug #2188 (Closed): patch to show the rdoc's for Registry.rb
=begin
currently the rdoc's for registry.rb use a very old format. This patch brings them up to date.
=end
rogerdpack (Roger Pack)
12:46 AM Feature #839: Add code on each line of a backtrace output to the screen
=begin
I like this patch (nobu's). Would it be possible to get it applied?
-r
=end
rogerdpack (Roger Pack)

10/09/2009

04:06 PM Bug #2186: Fwd: Segfaults after multiple call of ruby_node_run
=begin
ruby_exec_node() isn't in any of the headers in /usr/include, but it works with an implicit declaration warning of the compiler. Will this function be added in the headers too?
Also a hint in README.EXE about this behaviour wi...
unexist (Christoph Kappel)
01:13 PM Bug #2186 (Rejected): Fwd: Segfaults after multiple call of ruby_node_run
=begin
ruby_run_node() implies ruby_cleanup().
Don't call ruby_cleanup() twice or more.
Use ruby_exec_node() instead.
=end
nobu (Nobuyoshi Nakada)
12:37 PM Bug #2186 (Rejected): Fwd: Segfaults after multiple call of ruby_node_run
=begin
Just forwarding to the redmine so that it recognizes the new issue.

---------- Forwarded message ----------
From: Christoph Kappel <unexist@dorfelite.net>
Date: 2009/10/9
Subject: [ruby-core:26012] Segfaults after mult...
yugui (Yuki Sonoda)
02:52 PM Revision 4631523b (git): * vm_method.c (rb_method_boundp): should exclude NOEX_RESPONDS.
based on the patch from Nikolai Lugovoi. [ruby-core:25949]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
12:17 PM Revision 2ea82d33 (git): * lib/resolv.rb (Resolv::DNS::Requester::ConnectedUDP): disable
reverse lookup.
(Resolv::DNS::Requester::UnconnectedUDP): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:00 AM Bug #1225 (Closed): Curses::getmouse
=begin
Fixed in r25267 & r25269.

This is not a ncurses library bug, since it states that initscr() must be called before any other function of the lib. Many functions of Curses made sure that the lib was initialized, but many didn'...
marcandre (Marc-Andre Lafortune)
01:14 AM Revision 696eec1e (git): * lib/irb/context.rb (IRB::Context#initialize):
remove warnings when $VERBOSE is set as true in .irbrc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

10/08/2009

11:25 PM Bug #1214: Build issues
=begin

=end
marcandre (Marc-Andre Lafortune)
06:07 PM Revision 5a4ce608 (git): * tool/enc-unicode.rb: optimized.
* enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt,
enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src:
U+100000-U+10FFFD is assigned, not Cn.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25271 b2dd03c8-39d4-4d8f-98ff...
naruse (Yui NARUSE)
05:47 PM Revision d13255aa (git): ext/curses/curses: more whitespace
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:47 PM Revision c7a8fb0a (git): * ext/curses/curses.c: Many functions of module Curses could cause a crash if the ncurses library was not properly initialized.
Fix pointed out by Alexander Beisig [ruby-core:22592]
Functions fixed: attroff, attron, attrset, bkgd, bkgdset, can_change_color, close_screen, closed, color_content, curs_set, def_prog_mode, delch, deleteln, getmouse, getstr, has_colo...
Marc-Andre Lafortune
05:47 PM Revision 203c2e45 (git): ext/curses/curses.c: fix whitespace
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:12 PM Revision f0cdcf6f (git): * ext/curses/curses.c: Many functions of module Curses could cause a crash if the ncurses library was not properly initialized.
Fix pointed out by Alexander Beisig [ruby-core:22592]
Functions fixed: attroff, attron, attrset, bkgd, bkgdset, can_change_color, close_screen, closed, color_content, curs_set, def_prog_mode, delch, deleteln, getmouse, getstr, has_colo...
Marc-Andre Lafortune
04:11 PM Revision 4b62641c (git): * compile.c (ADD_TRACE): fire coverage event in ensure clause.
[ruby-dev:39303]
* iseq.h, iseq.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:34 PM Revision a5818fa5 (git): * 2009-10-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:34 PM Revision 4432d3a5 (git): * lib/net/telnet.rb (cmd): Pass FailEOF options: patch by Brian Candler [ruby-core:22723]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
03:34 PM Revision c2c679bc (git): * lib/net/telnet.rb (cmd): Pass FailEOF options: patch by Brian Candler [ruby-core:22723]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
03:01 PM Revision 98bcdc60 (git): * 2009-10-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision abd31dc2 (git): * ext/socket/lib/socket.rb (Socket.udp_server_recv): extracted from
Socket.udp_server_loop_on.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:13 PM Bug #1080: SSL error when running the program "gem"
=begin

=end
marcandre (Marc-Andre Lafortune)
11:57 AM Bug #2185 (Closed): 漢字がprintableと見なされない
=begin
Applied in changeset r25260.
=end
naruse (Yui NARUSE)
01:18 AM Bug #2185 (Assigned): 漢字がprintableと見なされない
=begin

=end
nobu (Nobuyoshi Nakada)
01:16 AM Bug #2185 (Closed): 漢字がprintableと見なされない
=begin
なかだです。

ひらがな、カタカナはpで表示されますが、漢字はエスケープされています。

$ cat a.rb
# -*- coding: utf-8 -*-
p "あいうえお"
p "春夏秋冬"

$ ./ruby -v a.rb
ruby 1.9.2dev (2009-10-07 trunk 25257) [i386-darwin9.0]
"あいうえお"
"\u6625\u590F\u79CB\u5...
nobu (Nobuyoshi Nakada)
02:54 AM Bug #2184: Blocks strange behavior
=begin

On Oct 7, 2009, at 00:39 , Ivan Samsonov wrote:

> Bug #2184: Blocks strange behavior
> http://redmine.ruby-lang.org/issues/show/2184
>
> Author: Ivan Samsonov
> Status: Open, Priority: Normal
> Category: core
> ruby -v...
zenspider (Ryan Davis)
02:49 AM Revision 866c79e2 (git): * tool/enc-unicode.rb: parse range notation of UnicodeData.txt.
* enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt,
enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src:
follow above change. [ruby-dev:39444]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25260 b2dd03c8-39d4-4d8f-98ff-...
naruse (Yui NARUSE)
01:27 AM Feature #578 (Closed): add method to disassemble Proc objects
=begin
Applied in changeset r25258.
=end
nobu (Nobuyoshi Nakada)
01:06 AM Feature #578: add method to disassemble Proc objects
=begin
Roger Pack wrote::
>> Yea, a patch from Nobu in [ruby-core:24169] needs permission from
>> Koichi.
>
> Ok. Koichi do you have any feedback on the patch?

no. go ahead.

--
// SASADA Koichi at atdot dot net
=end
ko1 (Koichi Sasada)

10/07/2009

05:46 PM Revision ec0e370e (git): * string.c (rb_str_inspect): copy by chunks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:47 PM Bug #2181 (Closed): Segmentation fault for test/drb/* -- possible bug in Marshal/GC
=begin
Applied in changeset r25256.
=end
nobu (Nobuyoshi Nakada)
04:33 PM Bug #2181: Segmentation fault for test/drb/* -- possible bug in Marshal/GC
=begin
On Wed, Oct 7, 2009 at 6:01 AM, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
> Does this patch fix it?
>
> Index: marshal.c
> ===================================================================
> --- marshal.c   (revision 25...
nlugovoi (Nikolai Lugovoi)
12:01 PM Bug #2181: Segmentation fault for test/drb/* -- possible bug in Marshal/GC
=begin
Hi,

At Tue, 6 Oct 2009 22:18:47 +0900,
Nikolai Lugovoi wrote in [ruby-core:25969]:
> After changeset r25230 in marshal.c I see some segfaults (at
> various places)when running make test-all or only test suite
> test/drb/*,...
nobu (Nobuyoshi Nakada)
04:39 PM Bug #2184 (Closed): Blocks strange behavior
=begin
1.8.7:
a = lambda {|x,y| x <=> y}
[1,2,3].max(&a) # => 3

1.9.1:
z = lambda {|x,y| x <=> y}
[3,2,1].max(&z) # => ArgumentError: wrong number of arguments (1 for 2)

But it works in 1.9:
z = lambda {|x| x[0] <=> ...
kronos (Ivan Samsonov)
04:29 PM Bug #2176: [rubygems] $LOAD_PATH includes bin directory
=begin
On Wed, Oct 7, 2009 at 9:14 AM, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
> Hi,
>
> At Mon, 5 Oct 2009 21:40:08 +0900,
> Luis Lavena wrote in [ruby-core:25941]:
>> In latest RubyGems (1.3.5) this process of loading gem bi...
luislavena (Luis Lavena)
04:15 PM Bug #2176: [rubygems] $LOAD_PATH includes bin directory
=begin
Hi,

At Mon, 5 Oct 2009 21:40:08 +0900,
Luis Lavena wrote in [ruby-core:25941]:
> In latest RubyGems (1.3.5) this process of loading gem binaries has
> been changed to use Gem::bin_path
>
> Of course, gems installed with ...
nobu (Nobuyoshi Nakada)
04:23 PM Revision 0f408e10 (git): * iseq.c (iseq_s_disasm): accept proc objects. [ruby-core:18762]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:35 PM Revision 8d79d612 (git): update comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:19 AM Bug #2179: 1.9.2において block のスコープがおかしいときがある
=begin
ミムラです。

2009年10月6日22:04 Nobuhiro IMAI <nov@yo.rim.or.jp>:
> これはブロックが一度も評価されてないからですね。
>
> $ ruby1.9.1 -ve '"25".upto("5"){raise}'
> ruby 1.9.1p243 (2009-07-16 revision 24175) [i486-linux]
> -e:1:in `block in <main>': unhand...
takkanm (三村 益隆)
01:07 AM Bug #2179 (Closed): 1.9.2において block のスコープがおかしいときがある
=begin
Applied in changeset r25249.
=end
matz (Yukihiro Matsumoto)
07:42 AM Revision 90ce6d23 (git): * marshal.c (mark_dump_arg, mark_load_arg): ignore already cleaned
data. [ruby-core:25969]
* marshal.c (clear_dump_arg, clear_load_arg): clear freed fields.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:06 AM Revision d167cfd1 (git): * include/ruby/ruby.h (rb_long2int): evalates the argument only
once.
* struct.c (rb_struct_alloc): check array length overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:35 AM Revision be9766c3 (git): * string.c (rb_str_inspect): don't assign -1 to unsigned int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

10/06/2009

11:18 PM Bug #1787: URI ライブラリの正規表現パターン
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39438] Re: [Bug #1787] URI ライブラリの正規表現パターン"
on Tue, 6 Oct 2009 14:19:32 +0900, "NARUSE, Yui" <naruse@airemix.jp> writes:

|> [[:alnum:]]とかですか。Unicode意識でよいんじゃないでしょうか。
|
|一方で、Perl ...
matz (Yukihiro Matsumoto)
02:19 PM Bug #1787: URI ライブラリの正規表現パターン
=begin
成瀬です。

[[:alnum:]] のような、POSIX 文字クラスは、先日の話では、
以下の通り Unicode 準拠とするという話になりました。

2009/08/16 23:09, Yukihiro Matsumoto wrote:
> In message "Re: [ruby-dev:39088] [Bug #1787] URI ライブラリの正規表現パターン"
> on Sun, 16 Aug 2009 22:46:...
naruse (Yui NARUSE)
11:14 PM Revision b661aa0c (git): * time.c (NUM2TIMET): defined because some platforms, such as
NetBSD5/amd64 and NetBSD6/i386, has time_t which size is different
from long. (NetBSD 5 uses 32bit time_t for all, including 64bit,
platforms. NetBSD 6 uses 64bit time_t for all, including 32bit,
platforms.)
(TIMET2NUM): define...
akr (Akira Tanaka)
10:42 PM Feature #578: add method to disassemble Proc objects
=begin
Hi,

In message "Re: [ruby-core:25962] [Feature #578] add method to disassemble Proc objects"
on Tue, 6 Oct 2009 20:55:57 +0900, Roger Pack <redmine@ruby-lang.org> writes:

|Would it be possible for somebody to commit th...
matz (Yukihiro Matsumoto)
08:55 PM Feature #578: add method to disassemble Proc objects
=begin
Would it be possible for somebody to commit this? Do we need more approval?
Thanks.
-r
=end
rogerdpack (Roger Pack)
10:18 PM Bug #2181 (Closed): Segmentation fault for test/drb/* -- possible bug in Marshal/GC
=begin
After changeset r25230 in marshal.c I see some segfaults (at various places)when running make test-all or only test suite test/drb/*, see attached file test-crash.txt

Removing gc marks for elements of struct load_arg seems ...
nlugovoi (Nikolai Lugovoi)
10:04 PM Bug #2179: 1.9.2において block のスコープがおかしいときがある
=begin
いまいです。

From: 益隆 三村 <redmine_at_ruby-lang.org>
Date: Tue, 6 Oct 2009 21:14:10 +0900

> rubyspecを流しているときに気づいたのですが、
> ruby1.9.2 の trunk(rev 25243) にて blockのスコープが正しく動いてないように見えます。
> # 対応するrubyspecは core/string/upto_spec.rb:21
...
no6v (Nobuhiro IMAI)
09:14 PM Bug #2179 (Closed): 1.9.2において block のスコープがおかしいときがある
=begin
rubyspecを流しているときに気づいたのですが、
ruby1.9.2 の trunk(rev 25243) にて blockのスコープが正しく動いてないように見えます。
# 対応するrubyspecは core/string/upto_spec.rb:21
% ruby -v
ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin9.8.0]
% irb
ruby-1....
takkanm (三村 益隆)
08:56 PM Feature #1045: nicer icon for ruby.exe
=begin
You can close this ticket, as well. Distributors can come up with their own icons I suppose :)
-r
=end
rogerdpack (Roger Pack)
07:56 PM Bug #2178 (Closed): in gem_prelude.rb: encoding error
=begin
When running the head ruby with a home directory that does contain non-ASCII characters, line 75 of gem_prelude.rb reports an exception because of invalid bytes in a string (interpreted as US-ASCII).
gem_prelude.rb:75:
...
duerst (Martin Dürst)
07:44 PM Bug #1776 (Closed): make fails when compiling socket
=begin
We haven't observed this problem for a long time anymore, so I think this bug should be closed.
=end
duerst (Martin Dürst)
03:58 PM Revision a1205690 (git): * string.c (rb_str_upto): RDoc updated. a patch from Nobuhiro
IMAI <nov at yo.rim.or.jp> in [ruby-dev:39440]. [ruby-dev:39439]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:31 PM Revision 69c63f76 (git): * 2009-10-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:31 PM Revision cb0244a0 (git): * 2009-10-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:31 PM Revision 230411ca (git): * lib/resolv.rb (Resolv::DNS.bind_random_port): bind to "::" for IPv6.
(Resolv::DNS::ConnectedUDP#initialize): specify is_ipv6 argument of
bind_random_port.
[ruby-core:25970]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:31 PM Revision 095e133c (git): * lib/resolv.rb (Resolv::DNS.bind_random_port): bind to "::" for IPv6.
(Resolv::DNS::ConnectedUDP#initialize): specify is_ipv6 argument of
bind_random_port.
[ruby-core:25970]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:07 PM Revision e1797bc7 (git): * lib/delegate.rb (Delegator::public_api): take snapshot of
public method at the beginning time.
* lib/delegate.rb (SimpleDelegator#initialize): use
Delegator.public_api since public_method might be added after
initialization. [ruby-dev:39383]
* lib/delegate.rb (DelegateClass): ditto.
git...
matz (Yukihiro Matsumoto)
12:31 PM Revision 1c544fcc (git): * io.c (io_reopen): avoid close if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:25 AM Bug #2171 (Open): Kernel#respond_to_missing? Invoked for Unimplemented Methods
=begin

=end
marcandre (Marc-Andre Lafortune)
08:30 AM Bug #2171: Kernel#respond_to_missing? Invoked for Unimplemented Methods
=begin
Actually, i pasted wrong patch in previous message.

This one is working and does not break as much -- using (ex & 0x7F):

--- a/vm_method.c
+++ b/vm_method.c
@@ -512,7 +512,7 @@ rb_method_boundp(VALUE klass, ID id, ...
nlugovoi (Nikolai Lugovoi)
07:55 AM Bug #2171: Kernel#respond_to_missing? Invoked for Unimplemented Methods
=begin
This update introduced some strange/broken behaviour of RSS parser -- test/rss/ were severely failing.

I had to use following patch to restore its work:

diff --git a/vm_method.c b/vm_method.c
index a31fb8b..22b4700 10...
nlugovoi (Nikolai Lugovoi)
10:07 AM Revision d1521f4b (git): * struct.c (rb_struct_select): Struct#select should return
enumerator when no block given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
05:46 AM Revision 516aa726 (git): * **/*.ja: set mime-type charset.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:46 AM Revision 5ef0d9c7 (git): * **/*.ja: set mime-type charset.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

10/05/2009

09:40 PM Bug #2176: [rubygems] $LOAD_PATH includes bin directory
=begin
On Mon, Oct 5, 2009 at 2:20 PM, Rick DeNatale <rick.denatale@gmail.com> wrote:
> On Sun, Oct 4, 2009 at 11:47 PM, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
>> Hi,
>>
>> What is the reason that bin is needed in $LOAD_PATH? ...
luislavena (Luis Lavena)
09:20 PM Bug #2176: [rubygems] $LOAD_PATH includes bin directory
=begin
On Sun, Oct 4, 2009 at 11:47 PM, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
> Hi,
>
> What is the reason that bin is needed in $LOAD_PATH?  AFAIK,
> bin directory is for executable files, but not for libraries.
>

I beli...
RickDeNatale (Rick DeNatale)
12:47 PM Bug #2176 (Closed): [rubygems] $LOAD_PATH includes bin directory
=begin
Hi,

What is the reason that bin is needed in $LOAD_PATH? AFAIK,
bin directory is for executable files, but not for libraries.


Index: gem_prelude.rb
==============================================================...
nobu (Nobuyoshi Nakada)
09:29 PM Revision 3daae0f0 (git): * 2009-10-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:29 PM Revision d8812e2a (git): * ext/tk/lib/tk/canvas.rb: *** POTENTIALLY INCOMPATIBLE ***
'tags' option of a TkcItem object gives a list of TkcTag objects.
* ext/tk/lib/tkextlib/vu/dial.rb: fix logical bug.
* ext/tk/lib/tk/canvas.rb, ext/tk/lib/tkextlib/blt/component.rb:
lack of support for methodcall_optkeys.
git-svn-id:...
nagai (Hidetoshi Nagai)
09:29 PM Revision fd36be89 (git): * 2009-10-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:29 PM Revision cb732bbb (git): * ext/tk/lib/tk/canvas.rb: *** POTENTIALLY INCOMPATIBLE ***
'tags' option of a TkcItem object gives a list of TkcTag objects.
* ext/tk/lib/tkextlib/vu/dial.rb: fix logical bug.
* ext/tk/lib/tk/canvas.rb, ext/tk/lib/tkextlib/blt/component.rb:
lack of support for methodcall_optkeys.
git-svn-id:...
nagai (Hidetoshi Nagai)
08:22 PM Feature #2170 (Rejected): Visibility Predicates for Method Objects
=begin

=end
yugui (Yuki Sonoda)
12:34 PM Feature #2170 (Closed): Visibility Predicates for Method Objects
=begin

=end
marcandre (Marc-Andre Lafortune)
05:48 AM Feature #2170: Visibility Predicates for Method Objects
=begin
Feel free to close.
=end
runpaint (Run Paint Run Run)
02:35 PM Revision 40229f89 (git): * array.c (rb_ary_{times, shuffle_bang, sample}): reducing macro
calls inside of the loop by keeping pointers in local
variables. a patch from Masahiro Kanai (CanI) in [ruby-dev:39406].
It was found and fixed at Security and Programming camp 2009.
* string.c (rb_str_{times, split_m}): ditto.
* s...
matz (Yukihiro Matsumoto)
11:27 AM Revision c984f771 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:07 AM Bug #2171 (Closed): Kernel#respond_to_missing? Invoked for Unimplemented Methods
=begin
Applied in changeset r25234.
=end
matz (Yukihiro Matsumoto)
 

Also available in: Atom