Project

General

Profile

Activity

From 02/16/2012 to 02/22/2012

02/22/2012

11:38 PM Bug #6062 (Closed): test/yaml/test_yaml.rb tries to use Test::Unit::TestSuite to run
This block of code appears at the bottom of test/yaml/test_yaml.rb, for running the file directly. It prevents running the file directly, since Test::Unit::TestSuite no longer exists. Logic in minitest/testunit will run the test anyway w... headius (Charles Nutter)
11:35 PM Bug #6061: test/iconv/test_option.rb is disabled and should be enabled or removed
Yui: Thank you. I will be adding this to our suite and excluding anything that fails. I won't worry too much about it since our iconv is implemented atop Java NIO Charset API. headius (Charles Nutter)
11:29 PM Bug #6061: test/iconv/test_option.rb is disabled and should be enabled or removed
Just FYI, implementations rescued in those tests are also valid
because those tests depends glibc iconv/GNU libiconv vendor specific extensions.
naruse (Yui NARUSE)
11:27 PM Bug #6061 (Closed): test/iconv/test_option.rb is disabled and should be enabled or removed
This issue was solved with changeset r34750.
Charles, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/iconv/test_option.rb: enabled. [ruby-core:42802][Bug #...
nobu (Nobuyoshi Nakada)
10:58 PM Bug #6061: test/iconv/test_option.rb is disabled and should be enabled or removed
FWIW, we (JRuby) would appreciate if whatever change is made gets backported to 1.9.3, since we're running 1.9.3 test suite as part of our normal dev process. headius (Charles Nutter)
10:57 PM Bug #6061 (Closed): test/iconv/test_option.rb is disabled and should be enabled or removed
The only test class in test/iconv/test_option.rb is guarded by this line:
...
end if false and defined?(TestIconv)
If this test is still valid, it should be enabled. If it is not valid, it should be removed.
headius (Charles Nutter)
11:10 PM Revision 9efce27a (git): merge revision(s) 33873:
* win32/win32.c (rb_w32_uchmod): typo. [Bug#5671] [ruby-dev:44898]
* test/ruby/test_file.rb (TestFile#test_chmod_m17n): test of above bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34756 b2dd03c8-39d4-4d...
nobu (Nobuyoshi Nakada)
08:59 PM Bug #6057: URI - Nonsensical Behavior
> In my opinion, URI should model the behavior of Pathname.

I totally agree.

Additionally I absolutely dislike using global methods instead of class
factory methods. I think it isn't at all obvious and it poisons the
global name...
Anonymous
11:45 AM Bug #6057: URI - Nonsensical Behavior
Ah. That's the issue.
1.9.3-p125 :016 > uri = URI("http://google.com/foo/bar/")
=> #<URI::HTTP:0x007fd97a891038 URL:http://google.com/foo/bar/>
1.9.3-p125 :017 > uri + "baz"
=> #<URI::HTTP:0x007fd97a887ab0 URL:http://google.com/...
sgonyea (Scott Gonyea)
11:10 AM Bug #6057: URI - Nonsensical Behavior
I have only done a few quick tests, but it seems that the '+' operator implements relative resolution (see http://tools.ietf.org/html/rfc3986#section-5.2). For URIs, this makes a lot of sense. duerst (Martin Dürst)
10:57 AM Bug #6057: URI - Nonsensical Behavior
Another example:
URI.join("http://foo.com/baz", "bar", "bim")
# => #<URI::HTTP:0x1005412e URL:http://foo.com/bim>
Also, if we did model the behavior of Pathname, then joining of "/baz" would reset the path which I do think is acc...
sgonyea (Scott Gonyea)
10:36 AM Bug #6057: URI - Nonsensical Behavior
I'd be happy to write this improved functionality. But would it be welcome? sgonyea (Scott Gonyea)
10:35 AM Bug #6057: URI - Nonsensical Behavior
Edit: Moronic comment redacted. sgonyea (Scott Gonyea)
10:34 AM Bug #6057 (Closed): URI - Nonsensical Behavior
The behavior of Ruby's URI is confusing, to say the least.
```
URI("http://foo.com/bar") + "baz"
# => #<URI::HTTP:0x710713de URL:http://foo.com/baz>
URI.join("http://foo.com/baz", "bar")
# => #<URI::HTTP:0x29fd5dc4 URL:http://f...
sgonyea (Scott Gonyea)
06:59 PM Revision dfb1a712 (git): * lib/ostruct.rb (delete_field): Bug fix so previous value is returned.
Patch by Nick Recobra [Bug #6063]
* test/ostruct/test_ostruct.rb: Test for above
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
05:33 PM Revision 9c8d348d (git): * 2012-02-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:33 PM Revision 4341c58c (git): * io.c (rb_io_extract_modeenc): fail only if conflicting
text/binary modes given explicitly. [ruby-dev:45268][Bug #6055]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:29 PM Bug #5931: Random SEGV during execution on YARD specs
Vit Ondruch <v.ondruch@tiscali.cz> wrote:
> I gave it try with ruby 2.0.0dev (2012-02-21 trunk 34723)
> [x86_64-linux] and it does not segfaulted in 1000 runs. Now I'm
> wondering what was the fix, since I'd love to see it backpor...
normalperson (Eric Wong)
04:53 PM Bug #5931: Random SEGV during execution on YARD specs
I gave it try with ruby 2.0.0dev (2012-02-21 trunk 34723) [x86_64-linux] and it does not segfaulted in 1000 runs. Now I'm wondering what was the fix, since I'd love to see it backported to Ruby 1.9.3. vo.x (Vit Ondruch)
03:15 PM Revision 0894d6d6 (git): * 2012-02-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:15 PM Revision 3e661a7e (git): merge revision(s) 34750:
* test/iconv/test_option.rb: enabled. [ruby-core:42802][Bug #6061]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:27 PM Revision f56c6318 (git): * test/iconv/test_option.rb: enabled. [ruby-core:42802][Bug #6061]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:04 PM Bug #6058: Stack overflow in SEGV Handler
Motohiro KOSAKI wrote:
> スタックオーバーフローだとしたら犯人はわたしなのですが、そもそもいまのSEGVハンドラだと実質printfしかしてないのでprintfだけでスタックを突き破らないと行けなくて、ありうるかなあ・・と悩んでます。が、まず第一弾としてALT STACKにもPROT_NONEなスタックガードページくっつけてスタックオーバーフローがメモリ破壊ではなくクラッシュになるようにすべきでしょうね。そのあと、落ちたときのバックトレースみて...
authorNari (Narihiro Nakamura)
12:37 PM Bug #6058 (Assigned): Stack overflow in SEGV Handler
スタックオーバーフローだとしたら犯人はわたしなのですが、そもそもいまのSEGVハンドラだと実質printfしかしてないのでprintfだけでスタックを突き破らないと行けなくて、ありうるかなあ・・と悩んでます。が、まず第一弾としてALT STACKにもPROT_NONEなスタックガードページくっつけてスタックオーバーフローがメモリ破壊ではなくクラッシュになるようにすべきでしょうね。そのあと、落ちたときのバックトレースみてスタック消費の内訳から対策考えましょう。引き取ります kosaki (Motohiro KOSAKI)
11:38 AM Bug #6058 (Closed): Stack overflow in SEGV Handler
nariです。
以下のようにたまにSEGVのテストで落ちることがありまして、
http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20120221T130301Z.log.html.gz
原因を調査したところ、SIGSEGVハンドラの中でスタックオーバフローしている
ようでした。
# uname -orv
2.6.18-274.el5 #1 SMP Fri Jul 22 04:43:29 ED...
authorNari (Narihiro Nakamura)
01:04 PM Revision 35bf8099 (git): merge revision(s) 34735,34736:
* io.c (rb_io_s_foreach): return enumerator including kerword
arguments. [ruby-dev:45267][Bug #6054]
* io.c (rb_io_s_foreach): argument check before making Enumerator.
[ruby-dev:31525]
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
12:46 PM Revision 01433e4d (git): * ext/curses/curses.c: use defined() to suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:45 PM Revision 7c80d151 (git): * ext/curses/extconf.rb: refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:44 PM Revision fa1a2ae1 (git): * configure.in: remove workaround replacement from gcc to gcc-4.2.
[Backport #6043]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:54 AM Bug #6033: Digest issue in 1.9.3
I found the source of the bug. My ~/.profile defined $C_INCLUDE_PATH and $CPLUS_INCLUDE_PATH. Having this here did not affect Ruby 1.8.7 or 1.9.2. It did, however, screw up portions of 1.9.3. How strange. sgonyea (Scott Gonyea)
11:44 AM Revision c01d52e8 (git): * ext/curses/extconf.rb: try to distinguish curses_version is a
function or variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:48 AM Revision fa65fc9a (git): * ext/curses/extconf.rb: show the chosen header and library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:23 AM Revision 8cd604c6 (git): * reverted 34739 for test/date.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
10:09 AM Revision 9fc31792 (git): * ext/curses/extconf.rb: refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:47 AM Revision 1a6b0bab (git): * lib/test/unit.rb (setup_options): add option "--retry" as opposite
for "--no-retry"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
09:47 AM Revision c0ec3efc (git): * lib/test/unit.rb (setup_options): add option "--show-skip" to
cancel "--hide-skip" (-q)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
09:34 AM Revision b67bc8d7 (git): * test/date, test/rdoc: exclude tests dependent on unbundled libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:06 AM Revision 9e4ddb8f (git): Revert "* common.mk (test-all): shut up nonsense skipping messages."
This reverts commit r34734.
Use -q on your environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:57 AM Revision e322989b (git): merge revision(s) 34719,34720: [Backport #6059]
* gc.c : remove gc_clear_mark_on_sweep_slots() and use
rest_sweep() instead of it, because some dead objects might be
marked in next the mark phase by false pointers.
[ruby-core:42672]
git-svn-id: svn+ssh:...
naruse (Yui NARUSE)
08:36 AM Revision 31d8a976 (git): * io.c (rb_io_s_foreach): argument check before making Enumerator.
[ruby-dev:31525]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:08 AM Bug #6036: Test failures in Fedora Rawhide/17
Akira Tanaka wrote:
> 2012/2/20 Vit Ondruch <v.ondruch@tiscali.cz>:
> ...
I am afraid that the test results differs if you run the whole test suite in once or if you run just part of the test suite, as you did.
vo.x (Vit Ondruch)
07:24 AM Bug #6036: Test failures in Fedora Rawhide/17
2012/2/20 Vit Ondruch <v.ondruch@tiscali.cz>:
>
> The test_pathname appears to hang somewhere. The TestPathname#test_pathsubext_510 is the last output which appears in my log, however there might be some entries lost due to not flus...
akr (Akira Tanaka)
08:07 AM Revision 873b56fd (git): * io.c (rb_io_s_foreach): return enumerator including kerword
arguments. [ruby-dev:45267][Bug #6054]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:47 AM Revision e093cfae (git): * common.mk (test-all): shut up nonsense skipping messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:39 AM Revision 0c881159 (git): * ChangeLog: remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:02 AM Feature #1400: Please add a method to enumerate fields in OpenStruct
It was also recommended to me to suggest #to_h here.
def to_h
@table.dup
end
It would be a much easier way of working with the underlying table, such as getting field names.
openstruct.to_h.keys
And of cou...
trans (Thomas Sawyer)
04:00 AM Feature #1400: Please add a method to enumerate fields in OpenStruct
If #each_pair, why not #each? I realize it's an exception to the fields that can be used, but since a few of those are inevitable no matter what, it seems like an acceptable one.
trans (Thomas Sawyer)
03:55 AM Feature #6056: Enhancements to OpenStruct
I've updated the pull request. trans (Thomas Sawyer)
03:51 AM Feature #6056: Enhancements to OpenStruct
Hi,
Thomas Sawyer wrote:
> Each change should be separate pull request or just a separate commit?
Ideally, both. It makes it easier to accept only some of the parts. As I said, "in the future"; no need to split your existing comm...
marcandre (Marc-Andre Lafortune)
03:45 AM Feature #6056: Enhancements to OpenStruct
Each change should be separate pull request or just a separate commit?
I knew about issue #6029, I was just trying to take care of that a couple of other features while I was involved with the code.
I see what you are saying about...
trans (Thomas Sawyer)
03:17 AM Feature #6056: Enhancements to OpenStruct
Hi.
In the future, please break requests in independent parts.
- new_ostruct_member will be protected
- `==` is already defined. I don't think any coercion can be accepted in this case. You can't compare a Set and an Array direc...
marcandre (Marc-Andre Lafortune)
03:50 AM Revision 86716b97 (git): remove unbalanced parenthesis
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:22 AM Revision a23f0635 (git): * configure.in: allow llvm-gcc because it work fine with r34278.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:03 AM Revision b7906783 (git): * regparse.c (fetch_token): don't use // comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:32 AM Revision 8e799c3e (git): * test/mkmf/test_framework.rb: try CoreFoundation framework, than
Cocoa which is dependent on QuickTime SDK which has separated
since Xcode 4.3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:18 AM Revision 1aa4e11d (git): * common.mk (test-all, test-ruby): more dependencies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

02/21/2012

11:16 PM Feature #6056 (Closed): Enhancements to OpenStruct
This patch fixes one issue, protecting #new_ostruct_member method, and possibly another by dup'ing marshal_dump, but I need more feedback on the later b/c I've also been told it is not needed.
The rest of this patch provides enhanceme...
trans (Thomas Sawyer)
11:02 PM Revision 9dc0d6fe (git): * file.c (rb_f_test): Fix formatting of Kernel#test rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
10:23 PM Bug #5671 (Closed): windows でのマルチバイト文字列を含むファイルへの File.chmod
r33873 で修正されていました。ありがとうございます。
チケットを放置してしまいすみませんでした。
wanabe (_ wanabe)
09:35 PM Feature #3944: Add Fiber#root? method
Any progress on this? godfat (Lin Jen-Shin)
09:13 PM Revision 8963f50f (git): * ext/dbm/extconf.rb: check DBM_SUFFIX for Mac OS X.
Its ndbm.h doesn't include db.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:04 PM Revision 80a6b147 (git): * 2012-02-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:04 PM Revision eac1d9cf (git): * ext/dbm/dbm.c (fdbm_initialize): disable Berkeley DB error messages.
* ext/dbm/extconf.rb: check DBC type for above.
[ruby-dev:45269]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:49 PM Bug #5931: Random SEGV during execution on YARD specs
It crashed on 8th retry with ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux]. Going to try with trunk ... vo.x (Vit Ondruch)
05:12 PM Bug #6011 (Open): ruby-1.9.3-p0/lib/webrick/utils.rb:184: [BUG] Segmentation fault
I don't have ARM knowledge.
If someone has an idea, contribution is welcome.
naruse (Yui NARUSE)
04:44 PM Bug #6011: ruby-1.9.3-p0/lib/webrick/utils.rb:184: [BUG] Segmentation fault
Yui NARUSE wrote:
> Vit Ondruch wrote:
> ...
Of course I test also on i686 and x86_64 and I cannot reproduce it there.
vo.x (Vit Ondruch)
09:55 AM Bug #6011: ruby-1.9.3-p0/lib/webrick/utils.rb:184: [BUG] Segmentation fault
Vit Ondruch wrote:
> Unfortunately, it still fails: http://arm.koji.fedoraproject.org/koji/getfile?taskID=451175&name=build.log
Hmm, is it only reproduced on ARM?
naruse (Yui NARUSE)
01:12 AM Bug #6011: ruby-1.9.3-p0/lib/webrick/utils.rb:184: [BUG] Segmentation fault
Unfortunately, it still fails: http://arm.koji.fedoraproject.org/koji/getfile?taskID=451175&name=build.log vo.x (Vit Ondruch)
04:08 PM Bug #6048 (Closed): {Unbound}Method#hash doesn't always return the right value
This issue was solved with changeset r34717.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* proc.c (rb_hash_proc): get wrapped pointer properly. [Bu...
nobu (Nobuyoshi Nakada)
04:07 PM Bug #6048 (Open): {Unbound}Method#hash doesn't always return the right value
nobu (Nobuyoshi Nakada)
09:13 AM Bug #6048 (Closed): {Unbound}Method#hash doesn't always return the right value
This issue was solved with changeset r34715.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* proc.c (method_hash, proc_hash): Fix {Unbound}Method#hash...
marcandre (Marc-Andre Lafortune)
12:23 AM Bug #6048: {Unbound}Method#hash doesn't always return the right value
Hi,

On Mon, Feb 20, 2012 at 3:24 AM, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
>
> Issue #6048 has been updated by Nobuyoshi Nakada.
> One thing.
>
> rb_method_definition_t* hasn't been used as function interface, rb_m...
Anonymous
01:47 PM Feature #5995: calling io_advise_internal() in read_all()
Some file systems(e.g. ext3, ext4) use do_sync_read() for general read.
http://lxr.linux.no/#linux+v3.2.6/fs/ext3/file.c#L55
http://lxr.linux.no/#linux+v3.2.6/fs/ext4/file.c#L231
In read process, do_generic_file_read() is called fin...
Glass_saga (Masaki Matsushita)
11:23 AM Revision ca9b0f56 (git): * hash.c (rb_any_hash): treat Qundef like as other special constants.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:22 AM Revision bc3b4ddd (git): * hash.c (hash_foreach_iter): fix signature.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:40 AM Revision 25df75e1 (git): * ext/curses/curses.c (Init_curses): use curses_version() for
Curses::VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:41 AM Revision c98fd7da (git): revert a file which is committed wrong.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
09:35 AM Revision 0d44bf83 (git): * gc.c : remove gc_clear_mark_on_sweep_slots() and use
rest_sweep() instead of it, because some dead objects might be
marked in next the mark phase by false pointers.
[ruby-core:42672]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
authorNari (Narihiro Nakamura)
09:27 AM Revision 4103e718 (git): merge revision(s) 33326:
warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:08 AM Revision 2e733be0 (git): * proc.c (rb_hash_proc): get wrapped pointer properly. [Bug #6048]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:41 AM Revision a5e49f99 (git): * template/ruby.pc.in: added rubylibprefix, {rubylib,vendor,site}dir
and {ruby,vendor,site}archdir. [ruby-core:42766][Feature #6052]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:59 AM Bug #6053 (Closed): Enumerator#rewind goes to beginning instead of decrementing one step.
This issue was solved with changeset r34712.
Chris, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enumerator.c (enumerator_rewind): update the documentation.
...
matz (Yukihiro Matsumoto)
02:29 AM Bug #6053: Enumerator#rewind goes to beginning instead of decrementing one step.
It is a bug in documentation. #rewind method rewinds the sequence to the beginning.
matz (Yukihiro Matsumoto)
01:31 AM Bug #6053 (Closed): Enumerator#rewind goes to beginning instead of decrementing one step.
From the ruby docs:
rewind → e
Rewinds the enumeration sequence by one step.
In practice, however, it fully rewinds (either change documentation or have it do what it says. Going back one step is nice though):
irb(main):001...
tyre77 (Chris Maddox)
12:13 AM Revision f12c14d3 (git): * proc.c (method_hash, proc_hash): Fix {Unbound}Method#hash
[Bug #6048]. Isolate hash computation for proc
* internal.h: Declaration for above
* vm_method.c (rb_method_definition_hash): Computation for
hash part of a method definition
* method.h: Declaration for above
* test/ruby/test_metho...
Marc-Andre Lafortune

02/20/2012

11:55 PM Revision 80ca7d23 (git): * 2012-02-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:55 PM Revision a81a8172 (git): merge revision(s) 34712:
* enumerator.c (enumerator_rewind): update the documentation.
fixed: #6053
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
11:40 PM Bug #6049 (Closed): Build failure on enc/mktable.so with VC 2010Build failure on enc/mktable.so with VC 2010
This issue was solved with changeset r34708.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enc/depend: ignore mktable.c because it's not encoding librar...
usa (Usaku NAKAMURA)
06:02 PM Bug #6049 (Closed): Build failure on enc/mktable.so with VC 2010Build failure on enc/mktable.so with VC 2010
I got the following failure on Windows XP with VC 2010 while building trunk.
C:\work\snapshot>nmake
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
...
phasis68 (Heesob Park)
10:27 PM Bug #6036: Test failures in Fedora Rawhide/17
The test_pathname appears to hang somewhere. The TestPathname#test_pathsubext_510 is the last output which appears in my log, however there might be some entries lost due to not flushed log. vo.x (Vit Ondruch)
10:02 PM Bug #6036: Test failures in Fedora Rawhide/17
Tests passes with following command: "make check TESTS="-v -x test_pathname.rb -x test_drbssl.rb -x test_parse.rb -x test_x509cert.rb"
The test_drbssl.rb and test_x509cert.rb might be related to the OpenSSL changes?
vo.x (Vit Ondruch)
04:39 PM Bug #6036 (Assigned): Test failures in Fedora Rawhide/17
Bohuslav Kabrda wrote:
> Well, thanks for fixing the gdbm support, but the other 16 failures and 20 errors are the main reason why I reported the bug... Could you have a look at that?
> ...
Vit, could you inspect this?
naruse (Yui NARUSE)
04:12 PM Bug #6036: Test failures in Fedora Rawhide/17
Well, thanks for fixing the gdbm support, but the other 16 failures and 20 errors are the main reason why I reported the bug... Could you have a look at that?
Thanks.
Anonymous
09:30 PM Feature #4970 (Closed): FileUtils refactored
This issue was solved with changeset r34706.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/fileutils.rb: revert a line modified accidentally at r346...
Anonymous
07:37 PM Bug #6035 (Third Party's Issue): 2F in TestReadline
Yui NARUSE wrote:
> これ、libedit 側のバグですね。
> ...
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=46059 本家に報告しました。
libedit はバージョン取れないので Third Party's Issue ってことにします。
naruse (Yui NARUSE)
05:59 PM Revision 3052f75d (git): * enumerator.c (enumerator_rewind): update the documentation.
fixed: #6053
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
05:24 PM Bug #6048: {Unbound}Method#hash doesn't always return the right value
One thing.
rb_method_definition_t* hasn't been used as function interface, rb_method_entry_t* might be preferable.
nobu (Nobuyoshi Nakada)
05:21 PM Bug #6048: {Unbound}Method#hash doesn't always return the right value
Seems fine. nobu (Nobuyoshi Nakada)
03:19 PM Bug #6048 (Closed): {Unbound}Method#hash doesn't always return the right value
{Unbound}Method#hash doesn't always return the right value.
map, collect = Array.instance_method(:map), Array.instance_method(:collect)
map.eql?(collect) # => true
map.hash == collect.hash # => false
I'm te...
marcandre (Marc-Andre Lafortune)
03:59 PM Revision 8e6dfeec (git): * tool/rubytest.rb: separate errors from dots.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:00 PM Revision e5cb1bb9 (git): * 2012-02-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision a1292c72 (git): update comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:40 PM Revision 07d8dffe (git): * enc/depend: ignore mktable.c because it's not encoding library.
[ruby-core:42760] [Bug #6049]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:48 PM Bug #5961 (Closed): regular expression positive look-behind
Fixed by mergin Onigmo 5.13.1 in Ruby 2.0. naruse (Yui NARUSE)
01:48 PM Bug #5208 (Closed): \b and \B don't match properly
Fixed by merging Onigmo 5.13.1. naruse (Yui NARUSE)
12:43 PM Bug #5676 (Closed): miniruby linking error: undefined reference to ___stack_chk_guard
Jon Forums wrote:
> I think you're right on runtime library mismatch, but shouldn't it fail when miniruby is used later in the build process, not at miniruby link time?
The mismatch between the compiler and the runtime library. It can'...
nobu (Nobuyoshi Nakada)
04:29 AM Bug #5676: miniruby linking error: undefined reference to ___stack_chk_guard
Thanks for checking. Trunk builds fine using the old default gcc 4.2.1 and configure adds `-fstack-protector` to Makefile.
I think you're right on runtime library mismatch, but shouldn't it fail when miniruby is used later in the build ...
jonforums (Jon Forums)
12:41 PM Revision b17bc954 (git): * ext/curses/extconf.rb: fold too long lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:30 PM Revision 5cfba33a (git): * lib/fileutils.rb: revert a line modified accidentally at r34669.
This fixes mingw test errors in TestDir_M17N.
[ruby-core:42728] [Feature #4970]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
h.shirosaki (Hiroshi Shirosaki)
12:10 PM Revision 83f742f8 (git): * ext/curses/curses.c (Init_curses): define Curses::VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:09 PM Revision 9f6f0788 (git): * ext/curses/extconf.rb: restore $libs and $defs for each
header/library choice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:05 AM Revision faf4c9db (git): * ext/dbm/extconf.rb: weaken header/library consistency check if db is
"ndbm". It seems several (possibly historical) distributions
provide libndbm. However the content of libndbm vary: Berkeley DB,
GDBM or even 4.3BSD NDBM. (Mandriva, Tru64 UNIX, OpenSuSE,
SCO OpenServer, ...)
"ndbm" is not sear...
akr (Akira Tanaka)
10:16 AM Revision f8015c23 (git): * ext/dbm/extconf.rb: refine variable names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:53 AM Feature #6023: Add "a ?= 2" support for meaning "a = a.nil? ? 2 : a"
Magnus Holm <judofyr@gmail.com> writes:

> If we want something like this, we should provide a non-assignment
> version too. Perl uses // for the same purpose:
>
> sub foo {
> my ($foo, %options) = @_;
> $foo //=...
Anonymous
05:53 AM Feature #6023: Add "a ?= 2" support for meaning "a = a.nil? ? 2 : a"
> I've just proposed this idea to Groovy and I thought the same semantics would be interesting to have in Ruby too:
>
> http://jira.codehaus.org/browse/GROOVY-5306
>
> This is a minor, but important, difference to the "a ||= 2" synt...
judofyr (Magnus Holm)
06:50 AM Revision aa27e42f (git): * 2012-02-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:50 AM Revision 032d0a4c (git): * configure.in: check if -fstack-protector is really available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:52 AM Feature #5995: calling io_advise_internal() in read_all()
Yusuke Endoh wrote:
> Hello, Martin
> ...

Hi Yusuke,
you're right, my apologies! I just read 'read_all' and
'a lot of reallocs' and was immediately reminded of what
I noticed on a different note :) I opened Issue #6047 for
thi...
MartinBosslet (Martin Bosslet)
05:47 AM Feature #6047 (Closed): read_all: Grow buffer exponentially in generic case
In the general case, read_all grows its buffer linearly by just the amount that is currently read from the underlying source. This results in a linear number of reallocs, It might turn out beneficial if the buffer were grown exponentiall... MartinBosslet (Martin Bosslet)
05:22 AM Feature #2740: Extend const_missing to pass in the nesting
Bump tenderlovemaking (Aaron Patterson)
05:19 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Worth pointing out that the cost of allocating an exception every time could be blunted by always raising the *same* exception object. This avoids the backtrace, construction cost, *and* mixin overhead in one shot, provided you're ok wit... headius (Charles Nutter)
04:41 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
I never got to weigh in on this thread back in the day, and I'm working on IO stuff more recently, so a few thoughts...
Eric Wong wrote:
> * Exceptions with the current *_nonblock methods are expensive.
> ...
This is really poor fo...
headius (Charles Nutter)

02/19/2012

04:15 PM Bug #6035 (Open): 2F in TestReadline
これ、libedit 側のバグですね。
rl_outstream セットしてるのに、file_complete.c で el->el_outfile を見てる。
naruse (Yui NARUSE)
02:44 PM Revision 05a2cd70 (git): add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:44 PM Revision d7bf156a (git): * ext/dbm/extconf.rb: show header and library found.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:25 PM Bug #5676: miniruby linking error: undefined reference to ___stack_chk_guard
FYI, I could build ruby on FreeBSD 9.0 amd64 with gcc 4.6 in ports. naruse (Yui NARUSE)
10:57 AM Bug #5676 (Feedback): miniruby linking error: undefined reference to ___stack_chk_guard
The symbol in question differs, so sounds like a runtime library mismatch.
Does it fail with the default package?
If it occurs only with the non-default, and also simplified code without ruby, it should be reported to the gcc team.
nobu (Nobuyoshi Nakada)
03:23 AM Bug #5676: miniruby linking error: undefined reference to ___stack_chk_guard
I've recently adopted FreeBSD 9.0 (in my "A New Year, A New OS" resolution) and have apparently run into this problem on trunk when trying to build with the non-default gcc-4.6.2 package. The issue goes away when I remove -fstack-protect... jonforums (Jon Forums)
02:14 PM Revision 0e8cd8ae (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:02 PM Revision 95f3f982 (git): * ext/dbm/dbm.c (Init_dbm): refine DBM::VERSION definition.
* ext/dbm/extconf.rb: provide RUBYDBM_GDBM_HEADER macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:27 PM Bug #6046 (Third Party's Issue): Berkeley DB dbm_open in libc is called even if --with-dbm-type=gdbm_compat is specified on FreeBSD
FreeBSD 8.2 で、--with-dbm-type=gdbm_compat として ext/dbm に GDBM を
使わせようとしたときに、(libc 中の) Berkeley DB の dbm_open を呼んで
しまうようです。
再現手順は以下のとおりです。
% uname -a
FreeBSD freebsd82-64 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18...
akr (Akira Tanaka)
11:25 AM Feature #5995: calling io_advise_internal() in read_all()
Hello, Martin
I guess that your point is off topic from this ticket.
As I and Masaki showed, in normal cases, File#read does
not reallocate a memory. (Let me know if I'm wrong)
But I think your point is valid for the general IO#...
mame (Yusuke Endoh)
10:18 AM Revision 87a15a69 (git): revert r34691 and r34689
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
08:33 AM Revision 1efa1416 (git): add assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:08 AM Revision 460bb8a8 (git): * test/dbm/test_dbm.rb (test_dbmfile_suffix): check pag and dir is
empty for 4.3BSD ndbm.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:36 AM Revision 310c2adf (git): * enc/mktable.c (ENC_INFO): constify to suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:11 AM Revision f0e9fa3c (git): * gc.c (gc_clear_mark_on_sweep_slots): remove a unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
03:29 AM Revision 95c3026f (git): merge revision(s) 33327:
* configure.in: ignore all warnings from an arbitrary
header in /usr/local/include.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:07 AM Revision 55e6e9e3 (git): * gc.c (gc_clear_mark_on_sweep_slots): uses slot_sweep() for
unsweeped slots, because some dead objects might be marked in
next the mark phase by false pointers. [ruby-core:42672]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
authorNari (Narihiro Nakamura)
01:53 AM Feature #4970: FileUtils refactored
(12/02/18 14:56), Thomas Sawyer wrote:
> Looks like someone had simply misspelled "mignw". I am guessing that's actually the older code, and `fu_windows?` is the newer. Is that right?

Right. I fixed it at r34146, in the last Dec...
nobu (Nobuyoshi Nakada)
01:51 AM Revision 541e1aff (git): * regparse.c: fix warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

02/18/2012

06:05 PM Revision c509bec7 (git): cosmetic change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:01 PM Revision 62debc95 (git): * test/dbm/test_dbm.rb (test_dbmfile_suffix): check magic numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:06 PM Revision 0187905a (git): * ext/dbm/extconf.rb: detect GDBM's ndbm.h by testing dbm_clearerr is
an empty macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:41 PM Revision 0ffc74de (git): * regcomp.c, regexec.c: fix-up warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:31 PM Revision ca5a0db6 (git): * 2012-02-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:31 PM Revision fcd8f78e (git): * ext/dbm/extconf.rb: don't choose 'dbm' if _GDB_H_ is defined which
is available since GDBM 1.9 because 'gdbm_compat' is appropriate
choise since GDBM 1.8.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:56 PM Feature #4970: FileUtils refactored
Looks like someone had simply misspelled "mignw". I am guessing that's actually the older code, and `fu_windows?` is the newer. Is that right?
The refactoring I did did not touch that line, so I am guessing it was changed between the ...
trans (Thomas Sawyer)
10:43 AM Feature #4970: FileUtils refactored
r34669 (trunk): * lib/fileutils.rb: refactored FileUtil methods
seems to cause test errors with mingw32.
TestDir_M17N#test_filename_as_bytes_extutf8 = 0.12 s = E
TestDir_M17N#test_filename_extutf8_inteucjp_unrepresentable = 0.18 s =...
h.shirosaki (Hiroshi Shirosaki)
02:28 PM Revision 923bff74 (git): * random.c: remove a duplicated comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
10:06 AM Revision 90cc1164 (git): simplify a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:47 AM Revision fc0111cc (git): * ext/dbm/extconf.rb (dblib): prefer recent GDBM over older GDBM.
(have_declared_libvar): new function to check a declared variable
exists in a library.
(have_undeclared_libvar): renamed from renamed from have_libvar.
(headers.db_check2): check that GDBM version variable if GDBM header
is choos...
akr (Akira Tanaka)
09:00 AM Revision b570f60d (git): * 2012-02-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:00 AM Revision cfdd154b (git): merges r28134 from trunk into ruby_1_9_2.
--
Allow bin/* install from dot-dirs. Fixes rvm and multiruby installations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:59 AM Revision 80e35fa2 (git): merges r33532 from trunk into ruby_1_9_2.
--
* include/ruby/ruby.h (SIZE_MAX): define SIZE_MAX if not defined.
patched by The Written Word Inc. [ruby-core:40422] [Bug #5489]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34675 b2dd03c8-39d4-4d8f-98ff-823fe69b...
yugui (Yuki Sonoda)
08:23 AM Bug #6040: Transcoding test failure: Big5 to UTF8 not defined (MinGW)
If you could do that will be really appreciated.

Thank you.

Sorry for top posting. Sent from mobile.
On Feb 17, 2012 8:08 PM, "NARUSE, Yui" <naruse@airemix.jp> wrote:

> (2012/02/18 7:54), Luis Lavena wrote:
> > On Fri...
luislavena (Luis Lavena)
08:23 AM Bug #6040: Transcoding test failure: Big5 to UTF8 not defined (MinGW)
(2012/02/18 7:54), Luis Lavena wrote:
> On Fri, Feb 17, 2012 at 7:47 PM, Yui NARUSE <naruse@airemix.jp> wrote:
>>
>> Issue #6040 has been updated by Yui NARUSE.
>>
>> Luis Lavena wrote:
>>>
>>> This justifies another patc...
naruse (Yui NARUSE)
07:59 AM Bug #6040: Transcoding test failure: Big5 to UTF8 not defined (MinGW)
On Fri, Feb 17, 2012 at 7:47 PM, Yui NARUSE <naruse@airemix.jp> wrote:
>
> Issue #6040 has been updated by Yui NARUSE.
>
> Luis Lavena wrote:
>>
>>  This justifies another patchlevel release? Big5 encoding seems
>>  important for...
luislavena (Luis Lavena)
07:47 AM Bug #6040: Transcoding test failure: Big5 to UTF8 not defined (MinGW)
Luis Lavena wrote:
> On Thu, Feb 16, 2012 at 9:55 PM, Yui NARUSE <naruse@airemix.jp> wrote:
> ...
This affect only on packaging.
So I repacked it.
naruse (Yui NARUSE)
07:23 AM Bug #6040: Transcoding test failure: Big5 to UTF8 not defined (MinGW)
On Thu, Feb 16, 2012 at 9:55 PM, Yui NARUSE <naruse@airemix.jp> wrote:
>
> Issue #6040 has been updated by Yui NARUSE.
>
> Status changed from Open to Closed
>
> This should be fixed r34650 in trunk / 1.9.3-p127.
> Could you chec...
luislavena (Luis Lavena)
04:54 AM Revision 4c1ea85d (git): * test/dbm/test_dbm.rb (test_dbmfile_suffix): DBM::VERSION should
be Berkeley DB if foo.db is created by DBM.open.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:42 AM Feature #5221: LoadEerror#path
I've updated the patch to include a test:
https://gist.github.com/1855072
tenderlovemaking (Aaron Patterson)
04:41 AM Revision 48a97f2c (git): * test/dbm/test_dbm.rb (test_dbmfile_suffix): test dbm file suffix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:51 AM Revision e7a1d4a3 (git): * ext/dbm/dbm.c (DBM::VERSION): define it by detecting _GDBM_H_ or
_DBM_IOERR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:09 AM Feature #5964: Make Symbols an Alternate Syntax for Strings

On 16/02/2012, at 12:28 PM, Charles Oliver Nutter wrote:
> ... someone might rely on the same symbol having
> ...
The only "safe" object_id is a monotonic one that is not tied to a memory address; by definition, a collector will reus...
kstephens (Kurt Stephens)
02:54 AM Feature #5995: calling io_advise_internal() in read_all()
Motohiro KOSAKI wrote:
> Because of, when we read whole file contents, we only need _one_ read syscall if the file is regular. In other words, current read_all() suck. It read a few kilo bytes and append them to a string. That's said...
MartinBosslet (Martin Bosslet)
02:47 AM Revision 62276906 (git): * tool/enc-unicode.rb: don't use 1.9 feature on tools.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:27 AM Feature #5654: Introduce global lock to avoid concurrent require
Finally looping back to this to add some thoughts. Sorry for the delay.
The biggest problem with concurrent code in Ruby (at least from the JRuby perspective) has not been thread safe collections, deadlocks, or anything in the core ru...
headius (Charles Nutter)

02/17/2012

06:47 PM Feature #5959 (Rejected): Addrinfo#inspectname
並列動作を考えると libcurl 使ったほうが賢い気がしてきたので reject します naruse (Yui NARUSE)
06:44 PM Bug #6035 (Assigned): 2F in TestReadline
I succeeded to reproduce this issue.
This is libedit dependent issue.
naruse (Yui NARUSE)
12:25 PM Bug #6035 (Closed): 2F in TestReadline
This issue was solved with changeset r34657.
Kouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
merge revision(s) 34255: [Backport #6035]
* test/readline/tes...
naruse (Yui NARUSE)
05:59 PM Revision e0f059a1 (git): * 2012-02-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:59 PM Revision ace46301 (git): * lib/fileutils.rb: refactored FileUtil methods to use the
`define_command` API. Patch from 7rans <transfire@gmail.com>
* test/fileutils/test_dryrun.rb: corresponding test refactoring
* test/fileutils/test_nowrite.rb: ditto
* test/fileutils/test_verbose.rb: ditto
git-svn-id: svn+ssh://ci.ruby-...
tenderlovemaking (Aaron Patterson)
04:42 PM Feature #5820 (Closed): Merge Onigmo to Ruby 2.0
This issue was solved with changeset r34663.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* Merge Onigmo-5.13.1. [ruby-dev:45057] [Feature #5820]
https://...
naruse (Yui NARUSE)
02:31 PM Feature #5221: LoadEerror#path
Bump. Any news on this? tenderlovemaking (Aaron Patterson)
01:24 PM Bug #5801 (Closed): Enumerable#take_while の proc を外に出して使うと Segv
This issue was solved with changeset r34661.
satoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enum.c: move work variables to objects not to let called blo...
nobu (Nobuyoshi Nakada)
01:16 PM Bug #6042 (Rejected): DateTime::jd off by 12 hours(?)
As rdoc of DateTime.jd says, its argument is Chronological Julian Day number. naruse (Yui NARUSE)
01:05 PM Bug #6042 (Rejected): DateTime::jd off by 12 hours(?)
I am deeply reluctant to file a bug against something so fundamental as DateTime, and wonder whether I might have missed something, but:
When passed an integral value, DateTime::jd returns a DateTime object whose time is set to midnig...
Steeljack (Dan Martinez)
12:41 PM Revision 92e7c2d3 (git): * ext/dbm/extconf.rb: remove dbm.
forgotten in r34666.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:35 PM Bug #6011 (Feedback): ruby-1.9.3-p0/lib/webrick/utils.rb:184: [BUG] Segmentation fault
naruse (Yui NARUSE)
12:29 PM Revision 6d1f7512 (git): * ext/dbm/extconf.rb: refine header/libraty mismatch detection.
check only for ndbm.h except libc. check _GDBM_H_ for gdbm.
check _DBM_IOERR for the original ndbm.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:10 PM Revision fbca1d0d (git): * ext/dbm/extconf.rb: don't check libdbm. It is not a ndbm
implementation. (libdbm in Version 7 Unix is database library
for single database per process.)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:46 AM Bug #6034 (Closed): Error in test_Big5(TestTranscode)
パッケージ (tar.gz とか zip とかのファイル) を ruby 1.8 で作るとダメだったようです。
コードとしては r34650 / 1.9.3-p127 で修正しました。
パッケージ自体は修正して最アップロードします。
naruse (Yui NARUSE)
09:55 AM Bug #6040 (Closed): Transcoding test failure: Big5 to UTF8 not defined (MinGW)
This should be fixed r34650 in trunk / 1.9.3-p127.
Could you check and reopen this if not fixed?
naruse (Yui NARUSE)
09:29 AM Bug #6040: Transcoding test failure: Big5 to UTF8 not defined (MinGW)
Thank you Nobu and Jeremy, I've used 1.9.3-p0 as base ruby so shouldn't be
that.

I'll try build 1.9.3 branch again tomorrow just to confirm.

Sorry for top posting. Sent from mobile.
luislavena (Luis Lavena)
09:11 AM Bug #6040: Transcoding test failure: Big5 to UTF8 not defined (MinGW)
I've seen this failure when I made enc/trans/*.c with ruby 1.8, but nothing wrong when made with ruby 1.9 or later.
Therefore, seems a bug in the conversion script.
Or a packaging issue.
nobu (Nobuyoshi Nakada)
06:13 AM Bug #6040: Transcoding test failure: Big5 to UTF8 not defined (MinGW)
I can confirm that this error occurs on both OpenBSD amd64 and i386. This happens both when the whole test suite is run and when just test_transcode is run in isolation. jeremyevans0 (Jeremy Evans)
06:03 AM Bug #6040 (Closed): Transcoding test failure: Big5 to UTF8 not defined (MinGW)
Hello,
While testing 1.9.3-p125 (released), discovered this bug which was not present in previous builds:
luislavena (Luis Lavena)
08:18 AM Revision 242994f3 (git): * ChangeLog: removed duplicated entry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:17 AM Revision 39d69386 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:42 AM Revision 0424e152 (git): * Merge Onigmo-5.13.1. [ruby-dev:45057] [Feature #5820]
https://github.com/k-takata/Onigmo
cp reg{comp,enc,error,exec,parse,syntax}.c reg{enc,int,parse}.h
cp oniguruma.h
cp tool/enc-unicode.rb
cp -r enc/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34663 b2dd03c8-39d4-4d8f-98ff-...
naruse (Yui NARUSE)
06:20 AM Revision 5362e7fc (git): * enum.c (enum_each_slice): arrays to be yielded can be newly
created in the block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:55 AM Bug #6033: Digest issue in 1.9.3
Weird. It's happening on both of my laptops, but not a fresh one. I guess something is screwed up from when Lion first came out. Time to format... (go ahead and reject) sgonyea (Scott Gonyea)
04:31 AM Bug #6037 (Rejected): #freeze bug
Rejecting, as this is per spec. Behavior can not be changed without breaking a lot of code.
Note that I also would like a deep freeze (see http://bugs.ruby-lang.org/issues/show/2509 ) but that is a feature request, not a bug report.
marcandre (Marc-Andre Lafortune)
03:56 AM Bug #6037 (Rejected): #freeze bug
freeze should deep freeze, to avoid inconsistent behavior:
array = ['a', 'b'].freeze
array[0] = 'b'
array[0].gsub!(/.+/s, 'b')
array
>> RUBY_VERSION
=> "1.9.3"
> ...
=> ["a", "b"]
>> array[0] = 'b'
RuntimeError: can't modify...
ddebernardy (Denis de Bernardy)
04:26 AM Bug #6038: #instance_eval bug
Might be a good idea to keep things simple:
do_stuff = lambda do |&block|
puts "Object id is #{block.object_id}"
end
chain = lambda{}
do_stuff.call(&chain)
chain.instance_eval{}
do_stuff.call(&c...
marcandre (Marc-Andre Lafortune)
03:57 AM Bug #6038 (Closed): #instance_eval bug
instance_eval seems to change the object_id in some cases:
begin
stack = []
do_stuff = lambda do |&chain|
puts "Actual: #{chain.object_id}"
chain.call
end
chain = lambda do
if filter = stack.shift
...
ddebernardy (Denis de Bernardy)
04:24 AM Revision 41e331cc (git): * enum.c: move work variables to objects not to let called blocks
access stack area out of scope. [Bug #5801]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:24 AM Revision d8168ded (git): merge revision(s) 34652:
* lib/mkmf.rb (create_header): log the content of header.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:17 AM Bug #6039: lambda vs proc; #to_ary w/ splat bug
Possibly related: http://bugs.ruby-lang.org/issues/5694 ddebernardy (Denis de Bernardy)
04:09 AM Bug #6039: lambda vs proc; #to_ary w/ splat bug
Possibly related:
http://bugs.ruby-lang.org/issues/5759
ddebernardy (Denis de Bernardy)
03:59 AM Bug #6039 (Rejected): lambda vs proc; #to_ary w/ splat bug
to_ary apparently gets called in edge cases when a proc has a splat argument:
good = Class.new do
def to_ary
[:bad]
end
end.new
foo = lambda { |*bar| bar.first }
foo.call(good)
foo = lambda { |bar, *baz| bar }
fo...
ddebernardy (Denis de Bernardy)
04:17 AM Bug #5694: Proc#arity doesn't take optional arguments into account.
Possibly related: http://bugs.ruby-lang.org/issues/6039 ddebernardy (Denis de Bernardy)
04:09 AM Bug #5759: flatten calls to_ary on everything
Possibly related:
http://bugs.ruby-lang.org/issues/6039
ddebernardy (Denis de Bernardy)
03:37 AM Revision 3b243514 (git): * tool/merger.rb: remove borders from the commit message which is used
when the commit doesn't change ChangeLog.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:27 AM Revision 95433b2b (git): merge revision(s) 34268:
* test/readline/test_readline.rb (test_completion_proc_empty_result):
ensure clearance of Readline's line_buffer after the test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34658 b2dd03c8-39d4-4d8f-98ff-82...
naruse (Yui NARUSE)
03:25 AM Revision c1303fbe (git): merge revision(s) 34255: [Backport #6035]
* test/readline/test_readline.rb (test_completion_proc_empty_result): rescue NoMemoryError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:50 AM Revision 68262a20 (git): * common.mk (btest, btest-ruby, test-sample test-knownbugs)
(test-all, test-ruby): depend on prog.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:47 AM Revision 54209dd1 (git): merge revision(s) 34115:
* test/readline/test_readline.rb (test_line_buffer__point): use
lambda not to exit entire method by "return". or "next" for
proc. [ruby-dev:45042] [Bug #5802]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/r...
naruse (Yui NARUSE)
01:16 AM Revision c3230878 (git): merge revision(s) 34644:
* ext/dbm/extconf.rb: check _DB_H_ macro unavailable except
Berkeley DB library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:14 AM Revision 35586754 (git): merge revision(s) 34646:
* test/dbm/test_dbm.rb: fix skip condition for libgdbm 1.8.0 or prior.
reported by Bohuslav Kabrda.
[ruby-core:42685] [ruby-trunk - Bug #6036]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34653 b2...
naruse (Yui NARUSE)
12:56 AM Revision 7d0066c5 (git): * lib/mkmf.rb (create_header): log the content of header.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:54 AM Revision bae9e4a0 (git): merge revision(s) 34650:
* tool/transcode-tblgen.rb (import_ucm): don't use \h because the
script should work with ruby 1.8.
* tool/enc-unicode.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34651 b2dd03c8-39d4-4d...
naruse (Yui NARUSE)
12:53 AM Revision 375fd315 (git): * tool/transcode-tblgen.rb (import_ucm): don't use \h because the
script should work with ruby 1.8.
* tool/enc-unicode.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:38 AM Revision a81c7663 (git): Fix debug line of ext/dbm/extconf.rb in r34641. [Backport #6021]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:25 AM Bug #6036 (Closed): Test failures in Fedora Rawhide/17
This issue was solved with changeset r34646.
Bohuslav, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/dbm/test_dbm.rb: fix skip condition for libgdbm 1.8.0 ...
akr (Akira Tanaka)

02/16/2012

11:33 PM Bug #6036 (Closed): Test failures in Fedora Rawhide/17
Hi, I'm getting these test failures [1] on both Fedora 17 and Rawhide. The tests unfortunately don't run all, because there is probably an endless loop in one of them, which I can't reproduce when running tests separately (is there a way... Anonymous
10:33 PM Revision f5d724ab (git): * enum.c (id_lshift): use constant ID.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:32 PM Revision 2f92a267 (git): * ext/dbm/extconf.rb: refactored to split too long conditions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:27 PM Feature #5995: calling io_advise_internal() in read_all()
I ran Endoh-san's code.
average time of 10 times:
F: 0.2892
T(use posix_fadvise()): 0.2226
I think posix_fadvise() makes sense at least on my environment.
Can anyone reproduce this?
Anyway, I agree with Endoh-san because I ha...
Glass_saga (Masaki Matsushita)
09:55 PM Feature #5995 (Rejected): calling io_advise_internal() in read_all()
Hello,
There is indeed something wrong, but anyway, I agree with
kosaki's point; we cannot import the patch until we know
the exact reason why it brings performance improvement.
So please reopen this ticket if you find the reason.
...
mame (Yusuke Endoh)
09:12 PM Feature #5995 (Assigned): calling io_advise_internal() in read_all()
Hi,
Yusuke Endoh wrote at [ruby-core:42663]:
> I think there is something wrong.
Agreed. Reopening this ticket.
sorah (Sorah Fukumori)
03:23 AM Feature #5995: calling io_advise_internal() in read_all()
Hello,

2012/2/15 Motohiro KOSAKI <kosaki.motohiro@gmail.com>:
> It doesn't. Because of, when we read whole file contents, we only need _one_ read syscall if the file is regular. In other words, current read_all() suck.  It read a fe...
mame (Yusuke Endoh)
08:18 PM Bug #6035 (Third Party's Issue): 2F in TestReadline
Mac OS X 10.6.8 で以下のような Failure が発生します。
% make test-all TESTS="readline/test_readline.rb"
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.e...
kyanagi (Kouhei Yanagita)
07:58 PM Bug #6034 (Closed): Error in test_Big5(TestTranscode)
Mac OS X 10.6.8 で test_Big5(TestTranscode) が Error になります。
ruby 1.9.3p105 の時点では問題が発生していないことは確認しています。
% make test-all TESTS="ruby/test_transcode.rb"
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable...
kyanagi (Kouhei Yanagita)
05:52 PM Bug #6033 (Feedback): Digest issue in 1.9.3
I can't reproduce this.
Anyone can do?
naruse (Yui NARUSE)
05:18 PM Bug #6033 (Third Party's Issue): Digest issue in 1.9.3
This only happens to me on Ruby 1.9.3, in Mac OS X Lion (10.7.3). 1.9.2/1.8.7 are not affected by this issue.
After building ruby-1.9.3-p0 OR ruby-1.9.3-p122 (via rvm), I get the following issue attempting to require 'digest/sha1' (or...
sgonyea (Scott Gonyea)
03:25 PM Revision d698ea89 (git): * test/dbm/test_dbm.rb: fix skip condition for libgdbm 1.8.0 or prior.
reported by Bohuslav Kabrda.
[ruby-core:42685] [Bug #6036]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:05 PM Revision 2e544c33 (git): * 2012-02-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:05 PM Revision 078b3cf9 (git): * ext/dbm/extconf.rb: check _DB_H_ macro unavailable except
Berkeley DB library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:59 AM Feature #5964: Make Symbols an Alternate Syntax for Strings
On 16/02/2012, at 12:28 PM, Charles Oliver Nutter wrote:

> On Sun, Feb 5, 2012 at 12:25 AM, Kurt Stephens <redmine@ruby-lang.org> wrote:
>> True, CRuby Symbols are not collected. However, in general, this is not required for every...
cjheath (Clifford Heath)
10:29 AM Feature #5964: Make Symbols an Alternate Syntax for Strings
On Sun, Feb 5, 2012 at 12:25 AM, Kurt Stephens <redmine@ruby-lang.org> wrote:
> True, CRuby Symbols are not collected.  However, in general, this is not required for every implementation of "symbols".  There is an open bug to make CRu...
headius (Charles Nutter)
09:47 AM Feature #5964: Make Symbols an Alternate Syntax for Strings
No, there's quite a lot of such code. Though, if they're explicitly checking for the class type, as I'd imagine most of them would be, then they shouldn't break. wardrop (Tom Wardrop)
09:08 AM Feature #5964: Make Symbols an Alternate Syntax for Strings
=begin
This may break RubyGems which depends on the difference between Symbol and String keys in ((%~/.gemrc%)).
Symbol keys set RubyGems options and String keys set ((%gem%)) command default arguments.
I'm sure RubyGems isn't the...
drbrain (Eric Hodel)
08:34 AM Feature #5964: Make Symbols an Alternate Syntax for Strings
@Matz, the === proposal was more for example. Indeed at the moment, #eql? would be the method for type-sensitive string comparison, where as == would be for value comparison of string-like objects (Strings and Symbols). I'd also like to ... wardrop (Tom Wardrop)
08:56 AM Revision de889a30 (git): * ext/dbm/extconf.rb: merge trunk's ext/dbm/extconf.rb and
related functions of lib/mkmf.rb. [Backport #6021]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:22 AM Feature #6019: Revision r34582 significantly slows down rails app
Rails already include fix against this issue into its trunk: https://github.com/rails/rails/pull/5039
Any way, could second parameter have more variants? So that:
- `respond_to?(:meth)` and `respond_to?(:meth, nil)` will test for pub...
funny_falcon (Yura Sokolov)
08:10 AM Bug #6030: Thread-local "leak" in rb_exec_recursive*
It would be possible to bloat up memory use by calling many method names that all hit this logic; saving a hash per name and never releasing it seems unnecessary.
If it's not a big enough deal for MRI to fix, so be it...it was an issu...
headius (Charles Nutter)
05:54 AM Bug #6030: Thread-local "leak" in rb_exec_recursive*
Hi.
I'm not sure I see where there is a problem.
If `Array#==`, say, is called in a given thread, it's quite likely that it will be called again later on, so why not keep the reference to the empty hash ready for next call?
As l...
marcandre (Marc-Andre Lafortune)
03:49 AM Bug #6030: Thread-local "leak" in rb_exec_recursive*
I forgot to point out a couple things...
* By "leak" I mean this will hold references to data longer than it should. It's not a true leak in that it is bounded.
* It is bounded, but only by method names; recursive_list_access keys ...
headius (Charles Nutter)
03:41 AM Bug #6030 (Closed): Thread-local "leak" in rb_exec_recursive*
I believe there may be a "leak" in the rb_exec_recursive* functions in thread.c.
We have ported these methods for recursion detection in JRuby, and as in MRI they use a map inside a thread-local to track method name + object reference...
headius (Charles Nutter)
05:41 AM Feature #1125 (Closed): [*x] (array consisting only of a splat) does not necessarily return a new array
This issue was solved with changeset r34633.
Daniel, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* insns.def (splatarray): make new array if flag is set.
* comp...
nobu (Nobuyoshi Nakada)
03:53 AM Feature #4970: FileUtils refactored
Hello,

2012/2/16 Aaron Patterson <tenderlove@ruby-lang.org>:
> Ya, I think it's basically fine.

Agreed. Also looks good to me. Thanks.

--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
03:23 AM Feature #4970: FileUtils refactored
On Thu, Feb 16, 2012 at 02:26:10AM +0900, Thomas Sawyer wrote:
>
> Issue #4970 has been updated by Thomas Sawyer.
>
>
> Aaron Patterson looked at it, his only remarks were that I forgot to remove a spurious comment and that I ch...
Anonymous
02:26 AM Feature #4970: FileUtils refactored
Aaron Patterson looked at it, his only remarks were that I forgot to remove a spurious comment and that I changed the indention on `private`. Since, he said nothing about the implementation itself, I am assuming it looked okay to him.
...
trans (Thomas Sawyer)
12:26 AM Revision 4ec9395b (git): merge revision(s) 32730:
* configure.in (enable_pthread): use -pthread on OpenBSD without
explicit option. patched by Jeremy Evans. [ruby-core:38572]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34640 b2dd03c8-39d4-4d8f-98ff-823fe6...
naruse (Yui NARUSE)
12:25 AM Revision 4f05bf85 (git): merge revision(s) 32731,32734,32738:
------------------------------------------------------------------------
r32731 | naruse | 2011-07-29 16:17:35 +0900 (Fri, 29 Jul 2011) | 3 lines
Use setrlimit(NOFILE,1) on OpenBSD.
Because on OpenBSD it freezes if limit=0.
-----------...
naruse (Yui NARUSE)
 

Also available in: Atom