Activity
From 07/30/2011 to 08/05/2011
08/05/2011
-
10:28 PM Bug #5160 (Closed): Float::INFINITY and Float::NAN incorrect in big endian architecture
- This issue was solved with changeset r32863.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* numeric.c (rb_infinity, rb_nan): use WORDS_BIGENDIAN to get ... -
08:33 PM Bug #5160 (Closed): Float::INFINITY and Float::NAN incorrect in big endian architecture
- Big endian のCPUで、BYTE_ORDER が定義(#define)されておらず、かつ、INFINITY や NAN が未定義の環境では、Float::INFINITY および Float::NAN の値が化けてしまいます。(このため、make test-all でいくつかFが出ます。)
具体的には sparc Solaris 10 + gcc 4.4 で発生します。
% ./miniruby -v -e 'p Float::INFINITY; p... - 10:16 PM Revision 1b8e4727 (git): * 2011-08-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:14 PM Revision cb0f9d5f (git): * marshal.c (w_object): Fix exception message when _dump_data is not
- defined on a T_DATA object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:21 PM Revision ed93a37b (git): * lib/rdoc: Update to 3.9.1. Fixes === lines in verbatim sections.
- Fixes :nodoc: on class aliases. Fixes :stopdoc: creating references
to Object. Fixes spacing when class comments are merged in ri.
Fixes `ri []` crash. Fixes bug report URL when rdoc crashes. Adds
:doc: ... -
08:29 PM Revision cd347700 (git): Remove orphaned date in ChangeLog
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:19 PM Revision 3735b764 (git): * 2011-08-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:18 PM Revision e8ad0a3e (git): * lib/rdoc: Update to 3.9.1. Fixes === lines in verbatim sections.
- Fixes :nodoc: on class aliases. Fixes :stopdoc: creating references
to Object. Fixes spacing when class comments are merged in ri.
Fixes `ri []` crash. Fixes bug report URL when rdoc crashes. Adds
:doc: ... -
07:26 PM Bug #2550 (Closed): failed to build with Solaris's make
- I think the problem is solved with r32780.
On sparc Solaris10, make install succeeded with /usr/ccs/bin/make.
Warning message "make: Warning: Illegal dependency list for target `.DEFAULT'" is still displayed, but it seems it is no harm. -
07:23 PM Bug #5158: to_ary not respecting respond_to? - On Aug 5, 2011, at 6:06 AM, Adam Prescott wrote:
> I'm not sure why that changed happened, but at least that seems to be the source of the behaviour.
I believe it happened because respond_to? is unreliable in the presence of
meth... -
07:23 PM Bug #5158: to_ary not respecting respond_to?
- On Thu, Aug 4, 2011 at 11:37 PM, Ryan Davis <ryand-ruby@zenspider.com>wrote:
>
> Extra Info:
> http://tenderlovemaking.com/2011/06/28/til-its-ok-to-return-nil-from-to_ary/
>
Someone made a comment on that post linking to
... -
07:23 PM Bug #5158: to_ary not respecting respond_to?
- And I've just seen that http://redmine.ruby-lang.org/issues/5158 has been
opened and closed. Too slow, I guess. -
12:18 PM Bug #5158 (Closed): to_ary not respecting respond_to?
- This issue was solved with changeset r32855.
Ryan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_eval.c (check_funcall): try respond_to? first if redefined.
... -
11:17 AM Bug #5158 (Assigned): to_ary not respecting respond_to?
-
11:13 AM Bug #5158 (Closed): to_ary not respecting respond_to?
- class BadProxyObject
def initialize
@p = Object.new
def @p.to_ary
raise "I should never be called"
end
end
def respond_to?(*a)
p :bad_respond_to? => a
false
end
def method_missing(msg, *... -
05:26 PM Bug #5081 (Closed): LionでTestSyslog が一件 failure
- This issue was solved with changeset r32859.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/test_syslog.rb (TestSyslog#test_log): Do not be too
... -
04:23 PM Bug #5147: mkmf should not require static library when ruby is built with --enable-shared
- Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
> Eric Wong wrote in [ruby-core:38802]:
> > I've bisected r32833 to breaking many of my external C extension builds:
> >
> > $ ruby -rmkmf -e 'p have_func("rb_str_set_len")'
> > che... -
12:23 PM Bug #5147: mkmf should not require static library when ruby is built with --enable-shared
- Hi,
At Fri, 5 Aug 2011 08:26:59 +0900,
Eric Wong wrote in [ruby-core:38802]:
> I've bisected r32833 to breaking many of my external C extension builds:
>
> $ ruby -rmkmf -e 'p have_func("rb_str_set_len")'
> checking for r... -
08:33 AM Bug #5147 (Assigned): mkmf should not require static library when ruby is built with --enable-shared
- > I've bisected r32833 to breaking many of my external C extension builds:
> ...
Nobu? please answer this. -
08:26 AM Bug #5147: mkmf should not require static library when ruby is built with --enable-shared
- I've bisected r32833 to breaking many of my external C extension builds:
$ ruby -rmkmf -e 'p have_func("rb_str_set_len")'
checking for rb_str_set_len()... no
false
-
04:03 PM Bug #5159 (Closed): r32777のためSolaris上のgcc-4.4でCFLAGS="-std=gnu99"のときコンパイルエラー
- This issue was solved with changeset r32858.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* complex.c (f_signbit): fix compile error in gcc4 on Solaris ... -
03:43 PM Bug #5159 (Closed): r32777のためSolaris上のgcc-4.4でCFLAGS="-std=gnu99"のときコンパイルエラー
- Solaris上のgcc 4.4 にて、C99標準+gnu拡張を指定するコンパイル時オプション
-std=gnu99 を指定するとコンパイルエラーになります。
complex.c: In function ‘f_signbit’:
complex.c:1177: error: expected identifier or ‘(’ before ‘sizeof’
make: *** [complex.o] Error 1
gcc 4.x にて -s... -
02:10 PM Revision 1b0ff275 (git): * backport r32845 from trunk.
- * configure.in: when Solaris cc, use $(CC) to link shared libs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:28 PM Revision 9fb5dca9 (git): * numeric.c (rb_infinity, rb_nan): use WORDS_BIGENDIAN to get endian.
- fix [Bug #5160] [ruby-dev:44356]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:28 PM Revision 2bd1e021 (git): * numeric.c (rb_infinity, rb_nan): use WORDS_BIGENDIAN to get endian.
- fix [Bug #5160] [ruby-dev:44356]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:20 PM Revision 543ecd95 (git): * include/ruby/win32.h (frexp, modf): original macros.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:59 AM Feature #5101: allow optional timeout for TCPSocket.new
- Akira Tanaka <akr@fsij.org> wrote:
> File socket-tcp-connect-timeout.patch added
Looks good to me, thanks! - 11:31 AM Revision 1adf7962 (git): more clarified the license.
- updated version of r32830, but not included include/ruby/win32.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:00 AM Bug #4930 (Closed): $prefix/lib/ruby/gems and its subdirs are world writable
- This issue was solved with changeset r32852.
Sakuro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rubygems: Import RubyGems 1.8.7:
Added missing requir... -
08:54 AM Feature #5157 (Assigned): [PATCH] add -Wunused-variable to CFLAGS
- I've assigned it to me then.
-
08:53 AM Feature #5157: [PATCH] add -Wunused-variable to CFLAGS
- Motohiro KOSAKI <kosaki.motohiro@gmail.com> wrote:
> Eric, I think you contributed a lot of patches and you've proved you
> have enough development and communication skill. So, I'd like to
> suggest you get a commit right and comm... -
08:40 AM Feature #5157: [PATCH] add -Wunused-variable to CFLAGS
- Eric, I think you contributed a lot of patches and you've proved you have enough development and communication skill. So, I'd like to suggest you get a commit right and commit it by yourself.
I'll talk about it with matz and shugo. -
06:39 AM Feature #5157 (Closed): [PATCH] add -Wunused-variable to CFLAGS
- Unused variables are ugly.
As an often-careless C extension maintainer, I end up with a lot of unused
variables, so this compiler flag will propagate to extensions I maintain.
The core of Ruby is remarkably free of unused variable... -
08:53 AM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- > BuildRequires are just dependencies required for build, they do not usually
> propagates into runtime dependencies. The typical example of BuildRequires
> packages are the -devel packages, which contains header files, but you don'... -
07:00 AM Bug #5135 (Closed): Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- This issue was solved with changeset r32848.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/io/console/test_io_console.rb (test_noctty): daemon() on
... -
04:23 AM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide - Dne 4.8.2011 11:55, KOSAKI Motohiro napsal(a):
> 2011/8/4 Vit Ondruch<v.ondruch@tiscali.cz>:
>> Issue #5135 has been updated by Vit Ondruch.
>>
>>
>> Motohiro KOSAKI wrote:
>>> Fedora15 don't make any test failure. Can you p... -
12:07 AM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Nobuyoshi Nakada wrote:
> Can you try this patch?
mock-chroot> make test-all TESTS="test/io/console/test_io_console.rb"
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --r... -
08:34 AM Feature #4990: Proposal: Internal GC/memory subsystem API
- Shyouhei Urabe wrote:
> Don't blame valgind it supports such situation http://valgrind.org/docs/manual/mc-manual.html#mc-manual.mempools
I'm not "blaming" valgrind, I'm not even "blaming" gc.c. Valgrind has hooks for recognizing cus... -
07:58 AM Feature #4990: Proposal: Internal GC/memory subsystem API
- Kurt Stephens wrote:
> Because GC.disable doesn't leverage memory debuggers (valgrind) effectively; gc.c still continues to allocate large chunks (heaps) via malloc(); thus valgrind can not distinguish between (and instrument) RVALUEs ... -
04:18 AM Feature #4990: Proposal: Internal GC/memory subsystem API
- Yui NARUSE wrote:
> Why don't you use GC.disable ?
Because GC.disable doesn't leverage memory debuggers (valgrind) effectively; gc.c still continues to allocate large chunks (heaps) via malloc(); thus valgrind can not distinguish bet... -
02:34 AM Feature #4990: Proposal: Internal GC/memory subsystem API
- Kurt Stephens wrote:
> Branch is here: https://github.com/kstephens/ruby/tree/trunk-mem-api
> ...
Why don't you use GC.disable ? - 08:28 AM Revision c3d8ff4e (git): Fix a possible merge error.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:26 AM Revision 39eea54c (git): * test/test_syslog.rb (TestSyslog#test_log): Do not be too
- specific about the log line format. Fixes #5081.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:08 AM Bug #5111 (Closed): test/rubygems/test_gem_installer.rb reports a failure on windows
- Usaku NAKAMURA wrote:
> It seems OK. Please backport it.
Backported to ruby_1_9_3 branch in r32850
Closing this.
Thank you!
-
07:03 AM Revision 1a4d9503 (git): * complex.c (f_signbit): fix compile error in gcc4 on Solaris with
- CFLAGS="-std=gnu99". [ruby-dev:44355] fix [Bug #5159]
* math.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:03 AM Revision 700aeee7 (git): * complex.c (f_signbit): fix compile error in gcc4 on Solaris with
- CFLAGS="-std=gnu99". [ruby-dev:44355] fix [Bug #5159]
* math.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:55 AM Revision 1ded4dbd (git): * test/ruby/test_object.rb: tests that respond_to? returns false.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:35 AM Revision c3a750eb (git): * lib/xmlrpc/client.rb, lib/xmlrpc/server.rb: should use
- String#bytesize instead of String#size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:18 AM Revision 55148a25 (git): * vm_eval.c (check_funcall): try respond_to? first if redefined.
- [Bug #5158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:11 AM Revision 2205687c (git): * thread_pthread.c: fix typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:10 AM Revision c649882d (git): Merge commit r32846:
- * thread_pthread.c (native_cond_signal): retry to call pthread_cond_signal
and pthread_cond_broadcast if they return EAGAIN in
native_cond_signal and native_cond_broadcast, respectively.
It is for the pthread implementa... -
01:00 AM Revision 3434676e (git): * lib/rubygems: Import RubyGems 1.8.7:
- Added missing require for `gem uninstall --format-executable`.
The correct name of the executable being uninstalled is now displayed
with --format-executable.
Fixed `gem unpack uninstalled_gem` default ver... -
12:48 AM Revision b572d907 (git): * test/io/console/test_io_console.rb: for Fedora Rawhide, not OpenBSD.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:48 AM Revision d24997cc (git): * test/io/console/test_io_console.rb: for Fedora Rawhide, not OpenBSD.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/04/2011
-
10:53 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Hi,
At Thu, 4 Aug 2011 20:00:34 +0900,
Vit Ondruch wrote in [ruby-core:38786]:
> > > 28) Failure:
> > > test_noctty(TestIO_Console) [/builddir/build/BUILD/ruby-1.9.3-preview1/test/io/console/test_io_console.rb:183]:
> > > <["nil"... -
09:19 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Yui NARUSE wrote:
> Motohiro KOSAKI wrote:
> ...
I still can't find the way :/
mock-chroot> /builddir/build/BUILDROOT/ruby-1.9.3.review1-1.fc17.x86_64/usr/bin/ruby
/builddir/build/BUILDROOT/ruby-1.9.3.review1-1.fc17.x86_64/usr/bin/... -
08:47 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Motohiro KOSAKI wrote:
> > I was suggested by Jindrich Novy, the Fedora db4 maintainer, to implement own error handler, something along the lines:
> ...
May be something conditional for DB4? -
08:29 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- > I was suggested by Jindrich Novy, the Fedora db4 maintainer, to implement own error handler, something along the lines:
>
> dbp->set_errcall(dbp, my_error_handler);
>
> void
> my_error_handler(const char *error_prefix, char ... -
08:23 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Motohiro KOSAKI wrote:
> > Actually I am building Ruby 1.9.3 from SRPM [1] in mock, i.e. using Koji [2]. Here [3] you can see the build output and the build failures (note that the output slightly differs, since the test are not stabl... -
08:23 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Vit Ondruch wrote:
> Motohiro KOSAKI wrote:
> ...
I was suggested by Jindrich Novy, the Fedora db4 maintainer, to implement own error handler, something along the lines:
dbp->set_errcall(dbp, my_error_handler);
void
my_error_handler(c... -
08:00 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Motohiro KOSAKI wrote:
> And, below is rest comments.
> ...
mock-chroot> ls -lZ /dev/tty
crw-rw-rw-. root tty unconfined_u:object_r:mock_var_lib_t:s0 /dev/tty
> > 29) Failure:
> ...
Great! I'll test them later.
> > DB->del: at... -
07:23 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- > Actually I am building Ruby 1.9.3 from SRPM [1] in mock, i.e. using Koji [2]. Here [3] you can see the build output and the build failures (note that the output slightly differs, since the test are not stable for some reason I don't u...
-
07:22 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- And, below is rest comments.
> 28) Failure:
> ...
Please confirm two points. 1) does your system have /dev/tty? 2) Does your SELinux policy disallow to access it?
> 29) Failure:
> ...
This four failure has already been fixed.... -
06:59 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- 2011/8/4 Vit Ondruch <v.ondruch@tiscali.cz>:
>
> Issue #5135 has been updated by Vit Ondruch.
>
>
> Motohiro KOSAKI wrote:
>> Fedora15 don't make any test failure. Can you please elaborate your platform change in rawhide?
>> I su... -
06:09 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Motohiro KOSAKI wrote:
> Fedora15 don't make any test failure. Can you please elaborate your platform change in rawhide?
> ...
It is obvious from [1] that the minimal build root, which is used by mock, does not contain the 'procps' pac... -
06:03 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Actually I am building Ruby 1.9.3 from SRPM [1] in mock, i.e. using Koji [2]. Here [3] you can see the build output and the build failures (note that the output slightly differs, since the test are not stable for some reason I don't unde...
-
02:01 PM Bug #5135 (Feedback): Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Fedora15 don't make any test failure. Can you please elaborate your platform change in rawhide?
I suspect about half of them are false positive failure. example, your test machine failed to find ps command
and made one test error (see... -
10:39 PM Revision 3ddef8e5 (git): Backported r32804 from trunk
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:01 PM Bug #921: autoload is not thread-safe
- Updated the patch: https://github.com/nahi/ruby/compare/11667b9c...8b78a18e
Rewritten with strust instead of st_table. -
02:48 PM Bug #921: autoload is not thread-safe
- I created a patch: https://github.com/nahi/ruby/compare/48bc63fa...54327abc
Here's the branch: https://github.com/nahi/ruby/commits/autoload-threadsafe
* let Module keep 'UNDEF' in constant map until the end of autoloading
* let M... - 10:00 PM Revision 69dac452 (git): * 2011-08-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:00 PM Revision 5fd10124 (git): * test/io/console/test_io_console.rb (test_noctty): daemon() on
- OpenBSD seems not to detach the controlling terminal, when the
argument noclose is non-zero. ref: [Bug #5135]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:00 PM Revision f28755df (git): * test/io/console/test_io_console.rb (test_noctty): daemon() on
- OpenBSD seems not to detach the controlling terminal, when the
argument noclose is non-zero. ref: [Bug #5135]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:23 PM Bug #5139 (Closed): sigsegv のスタックオーバフロー
- This issue was solved with changeset r32844.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* error.c (report_bug): use a small message buffer instead of... -
02:05 PM Bug #5139 (Assigned): sigsegv のスタックオーバフロー
- BUFSIZを使ってるのが根本的に間違っているという認識なので、もっと小さくしようと思います。メッセージサイズとなんの関係もない定数じゃないかっ。
ちなみにBUFSIZはMacでは1024, Linuxでは8096のようです。
-
01:45 PM Bug #5139: sigsegv のスタックオーバフロー
- あと 1.9.3 で起きてたのは RHEL4 だけだったのでターゲットバージョンは再度 1.9.4 に戻します。お騒がせしてすみませんでした。
-
01:44 PM Bug #5139: sigsegv のスタックオーバフロー
- >結局heapとaltstackの位置関係が変わっているのがキモだとは思うんですが。
うーん、ということは altstack の位置が変わったためにスタックオーバフローしてもたまたま実害がなくなって現象が収まったということではないでしょうか。
なぜこんなにスタック使うのかというのを調べてみると、rb_bug() から呼ばれる report_bug() で
char buf[BUFSIZ];
とバッファをスタック上に確保しているためのようでした。
ためしに... - 03:06 PM Revision 1d69f7cc (git): * 2011-08-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:06 PM Revision 6a7081bb (git): * thread_pthread.c (native_cond_signal): retry to call pthread_cond_signal
- and pthread_cond_broadcast if they return EAGAIN in
native_cond_signal and native_cond_broadcast, respectively.
It is for the pthread implementation of Mac OS X 10.7 (Lion).
fixes #5155. [ruby-dev:44342].
* thread_pthread.c (nativ... -
02:18 PM Feature #4990: Proposal: Internal GC/memory subsystem API
- Branch is here: https://github.com/kstephens/ruby/tree/trunk-mem-api
Current progress:
Supports boot-time selection between the standard gc.c memory system (named "core") and a malloc-only system (named "malloc");
the "core" memor... -
11:36 AM Revision 3fb45695 (git): * configure.in: when Solaris cc, use $(CC) to link shared libs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:23 AM Revision 3abbda4f (git): * error.c (report_bug): use a small message buffer instead of BUFSIZ.
- It is needed for avoiding nested SIGSEGV on Linux.
Note: BUFSIZ is not proper buffer size. It's unrelated with maximum
filename length. :-/
[Bug #5139] [ruby-dev:44315]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32844 b2d... -
09:26 AM Feature #4985: Add %S[] support for making a list of symbols
- I've updated my patch to implement %i and %I. They have the same semantics as %w and %W (one with interpolation, one without).
What do you think of this matz? -
07:09 AM Revision 1c647cc2 (git): * ext/psych/psych.gemspec (files): remove extra commas.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:08 AM Revision 5f3a8912 (git): * tool/rbinstall.rb (gem): install all gemspecs under lib and ext.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:44 AM Revision f555a533 (git): * tool/rbinstall.rb (Gem::Specification): may not be defined when
- cross-compiling and BASERUBY is 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- 2011/8/4 Aaron Patterson <aaron@tenderlovemaking.com>:
> If the exceptions are not exceptional, that makes me wonder why are they
> exceptions at all? Since these aren't really exceptional cases, I would
> prefer not to rescue... -
02:59 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- On Wed, Aug 03, 2011 at 11:03:09PM +0900, Tanaka Akira wrote:
> 2011/8/2 Yehuda Katz <wycats@gmail.com>:
>
> > The current Ruby I/O classes have non-blocking methods (read_nonblock and write_nonblock). These methods will never block... -
04:29 AM Bug #5144: Remove GPL file from repository
- Urabe Shyouhei wrote:
> Anyway I'm not sure if the source codes in Ruby's
> repository are still valid for Artistic's restriction. We are not
> posting our source codes to uunet. See chapter 3:
>
> http://www.perlfoundation... -
03:12 AM Bug #3353: Building 32-bit only on Snow Leopard (dylib failed to build)
- Do you mean just "-arch=i386" ? I have tried that as a directive in .rvmrc. It results in the build failure originally described by Bryan Ross. Replacing "-arch=i386' with '--with-arch=i386" as an rvm directive causes immediate build ...
-
02:54 AM Revision 11667b9c (git): * include/ruby/missing.h: fix typo and so on.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:32 AM Revision d04697df (git): * include/ruby/missing.h: define __syscall on OpenBSD as r32702.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:21 AM Bug #5147 (Closed): mkmf should not require static library when ruby is built with --enable-shared
- This issue was solved with changeset r32833.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/mkmf.rb (link_command): use static library only for bundled
...
08/03/2011
-
11:57 PM Bug #4944: crash in FIPS mode after unchecked EVP_DigestInit_ex failure
- Output from r32273, before the fix, as a sanity check:
rhel6w-32 ~ $ export PATH=/bin:/sbin:/usr/bin:/usr/sbin
rhel6w-32 ~ $ export PATH=$HOME/ruby-snapshot-prefix/bin:$PATH
rhel6w-32 ~ $ export LD_LIBRARY_PATH=$HOME/ruby-snapshot-p... -
11:46 PM Bug #5139: sigsegv のスタックオーバフロー
- Tomoyuki Chikanaga wrote:
> ところで r32815 はメインスレッドの altstack を init_head() 後に確保しなおしているようですが、
> ...
なんででしょうねぇ。
力尽くで探索して求めた位置なので、よくわからんです。
結局heapとaltstackの位置関係が変わっているのがキモだとは思うんですが。
なお、メインスレッドしかない場合th_initの方のaltstack確保は必要ないので、
むしろメインス... -
07:29 PM Bug #5139: sigsegv のスタックオーバフロー
- 最新 trunk で RHEL4 で2度目の SEGV しているのは backtrace() の中とかなので glibc 古すぎとかかもしれません。
(gdb) where
#0 0x0000003feff07f2c in _Unwind_FindEnclosingFunction ()
from /lib64/libgcc_s.so.1
#1 0x0000003feff08e37 in _Unwind_Backtrace () from /lib... -
07:13 PM Bug #5139 (Closed): sigsegv のスタックオーバフロー
- RHEL4はもうplatform のほうがEOLなので深追いするだけ無駄だと思います。closeしましょう。
-
12:29 PM Bug #5139: sigsegv のスタックオーバフロー
- (B) の -O3 では確かに r32749 でも、その前の r32748 でも同じエラーが出ていました。
すみません、(B) の -O3 はしばらく test-all を流していなかったので気がついてませんでしたが、
2011/05/01 の r31399 まで遡ってもまだ発生するので、この環境ではだいぶ前からこの問題があったみたいです。
-
11:43 AM Bug #5139: sigsegv のスタックオーバフロー
- Tomoyuki Chikanaga wrote:
> (A) の 32bit マシンでは最新版の trunk で直っていました。
> ...
B) Red Hat Enterprise Linux ES release 4 (Nahant Update 8) って、r32751 より前ではきちんと動いてました? -
09:26 AM Bug #5139: sigsegv のスタックオーバフロー
- (A) の 32bit マシンでは最新版の trunk で直っていました。
しかし (B) の x86_64 -O3 つきではやはり "C level backtrace information" まで表示して SEGV しています。 -
09:23 AM Bug #5139: sigsegv のスタックオーバフロー
- 2011年8月3日9:00 Yui NARUSE <naruse@airemix.jp>:
>
> とりあえず r32815, r32821 にて boron では直ったんですが、chikanagaさんの環境ではどうですかね。
> http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/recent.html
この issue 自体とは関係なくてなんですが、recent.html は内容がどん... -
09:00 AM Bug #5139: sigsegv のスタックオーバフロー
- とりあえず r32815, r32821 にて boron では直ったんですが、chikanagaさんの環境ではどうですかね。
http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/recent.html -
12:33 AM Bug #5139 (Assigned): sigsegv のスタックオーバフロー
-
11:23 PM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- 2011/8/2 Yehuda Katz <wycats@gmail.com>:
> The current Ruby I/O classes have non-blocking methods (read_nonblock and write_nonblock). These methods will never block, and if they would block, they raise an exception instead (IO::WaitR... -
11:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Tanaka Akira <akr@fsij.org> wrote:
> 2011/8/2 Eric Wong <normalperson@yhbt.net>:
>
> > That use of select + readpartial is unsafe. Spurious wakeup is a
> > documented behavior of the select() system call, data can be received
... -
11:22 PM Bug #5144: Remove GPL file from repository
- Yusuke Endoh wrote:
> >> Must a binary for other platforms be distributed under GPL in the
> ...
No, because the binary doesn't include the code or related results. -
09:55 PM Bug #5144 (Rejected): Remove GPL file from repository
- Thank you for your helpful answers.
2011/8/3 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> (08/03/2011 09:30 AM), Yusuke ENDOH wrote:
> ...
I have no more reason if confusing is not enough.
So I'm closing this ticket.
>> So A win... -
10:23 AM Bug #5144: Remove GPL file from repository
- (08/03/2011 09:30 AM), Yusuke ENDOH wrote:
> I'm suggesting just renaming or moving, not removing the GPL file.
> Is it unacceptable?
I think you need a valid reason to do so, other than just "confusing".
> I also want you... -
09:53 AM Bug #5144: Remove GPL file from repository
- 2011/8/3 Shyouhei Urabe <shyouhei@ruby-lang.org>:
> I think *you* are blamed. You see the GPL file is confusing and that's because you are ignorant, he says.
Sorry. I want you to clarify the license because I'm ignorant.
I... -
07:17 AM Bug #5144: Remove GPL file from repository
- > > If they notice the GPL file and worry, they should learn.
> ...
I think *you* are blamed. You see the GPL file is confusing and that's because you are ignorant, he says. -
08:51 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Firstly, can you please run test _after_ 'make install'?
Now some tests depend on it unfortunately.
-
12:05 PM Bug #5135 (Assigned): Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
-
06:08 PM Revision e9ddb1a1 (git): * tool/rbinstall.rb: use rubygems to load gemspecs, copy actual
- gemspecs on install rather than generate fake ones for all gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:08 PM Revision 92f39045 (git): oops, fix author in the psych gemspec
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:49 PM Revision 03418c4e (git): * configure.in: set CXX variable to the C++ compiler that matches the
- C compiler specified by CC variable (e.g. use g++-4.2 for gcc-4.2).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:39 PM Revision ddcb133a (git): * configure.in: use build_os variable for checking C and C++ compilers
- matching.
* configure.in: use clang++ if clang is used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:21 PM Revision 36be8938 (git): * 2011-08-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:21 PM Revision ae513241 (git): * lib/mkmf.rb (link_command): use static library only for bundled
- extensions. [Bug #5147]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:21 PM Revision 32f8e989 (git): * lib/mkmf.rb (link_command): use static library only for bundled
- extensions. [Bug #5147]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:20 PM Revision 7150df45 (git): * ext/psych/psych.gemspec: property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:02 PM Revision 55d68f11 (git): installing psych as a gem
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:23 PM Feature #5123: Alias Hash 1.9 as OrderedHash
- > It would be nice if the ordered Hash in Ruby 1.9 was aliased as OrderedHash.
> That way people who rely on preserving the insertion order in some application (me, for example) could explicitly use OrderedHash, and developers of Ruby ... -
10:29 AM Feature #5123: Alias Hash 1.9 as OrderedHash
- IWon't this break orderedhash gem?
In any case, now that Hash preserves order, why would anyone ever think about changing it back and break old code?
-
04:10 PM Feature #5153 (Closed): Remove rb_add_suffix
- This issue was solved with changeset r32826.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* util.c, include/ruby/util.h (ruby_add_suffix): remove the functi... -
12:11 PM Feature #5153 (Closed): Remove rb_add_suffix
- rb_add_suffix in util.c is GPL and obsoleted code, so I want to remove it.
rb_add_suffix is drived from Perl's win32.c file and GPL/Artistic License.
The code is used when ruby runs with -i (inplace option).
Practically it works onl... -
03:40 PM Revision d7c026d0 (git): Mark a code is GPL or not.
- This is made the comparison between current and initial commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:38 PM Revision 9dd559a7 (git): * 2011-08-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:38 PM Revision c8c02c9c (git): Cosmetic change of Hash literal.
- 'BindAddress: var' => ':BindAddress => var' according to other configurations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:59 PM Bug #5154 (Closed): method_missing and module scope, regression in 1.9.3
- There is this bug against, factory_girl, for complete story
https://github.com/thoughtbot/factory_girl/issues/167
A minimum reproducible case is: -
12:42 PM Feature #5101: allow optional timeout for TCPSocket.new
- I made a pactch for connect_timeout for Socket.tcp.
with timeout:
% time ./ruby -rsocket -e 'Socket.tcp("192.0.2.1", 80, :connect_timeout=>1)'
/home/akr/ruby/tst1/lib/ruby/1.9.1/socket.rb:48:in `rescue in connect_internal': Connecti... -
12:24 PM Bug #5152: TestDateNew#test_civil が GC.stress = true 下で Failure
- すみません、ソースコードを良く読むと RB_GC_GUARD() を挿入しないといけないのはさっきのところじゃなくて関数の最後のほうに挿入する必要がありそうでした。
また parse_ddd_cb() にも GC 保護が必要な変数がありそうでした。
@@ -1323,6 +1324,7 @@ parse_ddd_cb(VALUE m, VALUE hash)
}
break;
}
+ RB_GC_GUA... -
10:13 AM Bug #5152 (Closed): TestDateNew#test_civil が GC.stress = true 下で Failure
- make test-all TESTS="-vq --gc-stress date/test_date_new.rb -n test_civil"
のように GC.stress = true 下で DateTime のテストが Failure します。
1) Failure:
test_civil(TestDateNew) [/home/chikanaga/opt/ruby-trunk/src/ruby/test/date/test_date_new.rb... -
12:18 PM Revision 454de1d5 (git): update doc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:54 AM Feature #4788: resolv.rb refactoring
- 元の問題は、lib/resolv.rb が、TCP へのフォールバックに対応して、その際に
make_requester --> make_udp_requester という名前の変更があったために、
(公開インターフェースではない)それに依存していたコードが動かなくなった、
というものです。
しかし、make_requester のような内部の非常に低いレイヤにあるメソッドに
rubydns ライブラリのコードが依存していた理由は、DNS#each_re... -
07:46 AM Bug #5150 (Closed): Ruby-trunk Crashed in running test-rubyspec
- This issue was solved with changeset r32823.
Ayumu, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* encoding.c (enc_find): mistakenly remained !. [Bug #5150] -
04:13 AM Bug #5150 (Closed): Ruby-trunk Crashed in running test-rubyspec
- trunk をMac OS X 10.6.8 でBuildしたのち、test-rubyspec を実行したら Crash しました。
ruby のバージョンと環境は以下のとおり。
実行ログと~/Library/Logs/CrashReporter にあったファイルを添付します。
$ bin/ruby -v
ruby 1.9.4dev (2011-08-03 trunk 32821) [x86_64-darwin10.8.0]
$ uname -srv... -
07:23 AM Bug #5151: test/socket/test_socket.rb fail when udp connection failed
- あいざわです
> まず、なんで失敗するんでしょうか。
>
> ちなみに、OpenBSD では (おそらく) OS のバグで失敗します。
> [ruby-core:38603]
わたしの環境の方の問題ですかね。
ちなみに Mac OS X 10.6.8 で実行しました。
ip_address_list でとってきているアドレスは
"::1",
"fe80::1%lo0",
"127.0.0.1",
"fd5e:b7ac:aaf8:9f02:... -
06:53 AM Bug #5151: test/socket/test_socket.rb fail when udp connection failed
- 2011/8/3 Ayumu AIZAWA <ayumu.aizawa@gmail.com>:
> test/socket/test_socket.rb の test_udp_server 内で Socket.ip_address_list で得られる
> アドレスに対して接続できないときに RuntimeError でテストが失敗します。
>
> 同じテストファイルの中の test_ip_address_list は成功しているので、取得して... -
06:53 AM Bug #5151: test/socket/test_socket.rb fail when udp connection failed
- 2011/8/3 Ayumu AIZAWA <ayumu.aizawa@gmail.com>:
> test/socket/test_socket.rb の test_udp_server 内で Socket.ip_address_list で得られる
> アドレスに対して接続できないときに RuntimeError でテストが失敗します。
>
> 同じテストファイルの中の test_ip_address_list は成功しているので、取得して... -
06:23 AM Bug #5151 (Closed): test/socket/test_socket.rb fail when udp connection failed
- =begin
test/socket/test_socket.rb の test_udp_server 内で Socket.ip_address_list で得られる
アドレスに対して接続できないときに RuntimeError でテストが失敗します。
同じテストファイルの中の test_ip_address_list は成功しているので、取得しているリスト
の中身自体は問題なさそうなので、接続できないときはスキップしてしまってよいのでは
ないかとおもい... - 07:10 AM Revision f9e9eee6 (git): * util.c, include/ruby/util.h (ruby_add_suffix): remove the function.
- [Bug #5153] [ruby-core:38736]
* io.c (argf_next_argv): remove the call of above function.
* ext/-test-/add_suffix, test/-ext-/test_add_suffix.rb: remove the test
extension module because this is only for testsing ruby_add_suffix().
... -
03:47 AM Revision f0fbf6c9 (git): * variable.c (check_before_mod_set): should be static.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:31 AM Bug #4834 (Closed): Adding documentation for prettyprint library
-
12:22 AM Revision deb0024a (git): * test/xmlrpc/webrick_testing.rb (WEBrick_Testing#start_server):
- Like r32795, bind address should be specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:01 AM Feature #5148 (Rejected): Constant Namespace/Scoping in Dynamic Classes/Modules
- When defining a dynamic class or module, the constants defined within it are not kept within it's namespace, but are tied to the outer scope's namespace.
c = Class.new do
module M; end
end
#=> #<Class:0xa601300>
...
08/02/2011
-
11:14 PM Bug #3353: Building 32-bit only on Snow Leopard (dylib failed to build)
- Sorry, it should be --with-arch=i386, of course.
-
10:59 PM Bug #3353 (Feedback): Building 32-bit only on Snow Leopard (dylib failed to build)
- Try --with-arch=x86_64 option.
-
04:52 AM Bug #3353: Building 32-bit only on Snow Leopard (dylib failed to build)
- This bug continues to prevent 32-bit builds on OSX Lion in 1.9.3 preview1.
It blocks use of the 32-bit version of Oracle InstantClient, which is the only InstantClient that works on OSX 10.7 Lion. -
11:08 PM Bug #5146 (Closed): Bug in Set#== on ruby 1.9.3-preview1
- It's a bug of Hash#hash and fixed at r32810.
-
07:28 PM Bug #5146 (Assigned): Bug in Set#== on ruby 1.9.3-preview1
- Don't worry, ruby-core is also a correct bug reporting place.
(and we can make a ticket from mail)
Your account is locked (I don't why), so I unlocked it and resent the account information -
07:18 PM Bug #5146 (Closed): Bug in Set#== on ruby 1.9.3-preview1
- Hi!
Sorry for reporting this bug here, but I can't log into redmine even after
having
requested a new password...
Set#== seems buggy in ruby 1.9.3, as illustrated by the following scenario.
I can't reproduce the bug with... -
10:53 PM Feature #4788: resolv.rb refactoring
- 2011/5/27 Makoto Kishimoto <redmine@ruby-lang.org>:
>
> このようなモンキーパッチが(私のコードではありませんが)
> https://github.com/ioquatix/rubydns/blob/master/lib/rubydns/resolv.rb
> #3835 ( [ruby-core:32407] )の結果、動かなくなっていたのでパッチを検討していたわけですが、
> 結論としてr... -
10:46 PM Revision a0b9f486 (git): * encoding.c (enc_find): mistakenly remained !. [Bug #5150]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:39 PM Revision 73407963 (git): Revert "* encoding.c (enc_find): simplified with RB_TYPE_P."
- This reverts commit r32817.
It has less code on the surface, but it needs more condition.
Moreover it doesn't need !.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:31 PM Bug #4964: open-uri failed to handle multiple "Set-Cookie" headers
- I think we can fix the problem without incompatibility.
(new method to return array of field bodies for a field name.)
It needs new feature, though.
-
10:26 PM Bug #5144: Remove GPL file from repository
- > No, GPL is GPL.
Sure. It is just renaming the filename. Does GPL prohibit doing so?
> ...
Sorry, I cannot understand you. What do they worry?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:58 PM Bug #5144: Remove GPL file from repository
- Yusuke Endoh wrote:
> > It is critical information when they distribute a binary for Windows.
> ...
No, GPL is GPL.
If they notice the GPL file and worry, they should learn. -
09:45 PM Bug #5144: Remove GPL file from repository
- > It is critical information when they distribute a binary for Windows.
Okay, then, how about renaming it to GPL.for_win ?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:32 PM Bug #5144: Remove GPL file from repository
- Yusuke Endoh wrote:
> Because it is confusing.
> ...
Ruby repository includes GPL codes is correct information.
It is critical information when they distribute a binary for Windows. -
09:22 PM Bug #5144: Remove GPL file from repository
- Because it is confusing.
I think that providing too many or confusing information is equivalent to hiding the correct information.
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:15 PM Bug #5144: Remove GPL file from repository
- Yusuke Endoh wrote:
> I agree with Vit. It is actually confusing.
> ...
I can't agree.
Why do you want to hide such important thing? -
09:10 PM Bug #5144 (Assigned): Remove GPL file from repository
- I agree with Vit. It is actually confusing.
Can we move it to doc/GPL?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:02 PM Bug #5144: Remove GPL file from repository
- Because GPL requires it:
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed. -
08:51 PM Bug #5144: Remove GPL file from repository
- I am sorry, but where is the consistency? In LEGAL file, there is listed myriad of licenses but GPL has dedicated file? Why not others?
-
04:28 PM Bug #5144 (Rejected): Remove GPL file from repository
- As written in LEGAL, Ruby repository still includes GPL licensed files.
-
04:16 PM Bug #5144 (Rejected): Remove GPL file from repository
- Since Ruby 1.9.3 is going to be licensed under Ruby and BSD licenses, the GPL file should be removed from the repository to avoid confusion.
-
10:08 PM Bug #5139 (Closed): sigsegv のスタックオーバフロー
- This issue was solved with changeset r32815.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* gc.c (init_heap): allocate sigaltstack after heaps are allo... -
01:11 PM Bug #5139: sigsegv のスタックオーバフロー
- 試した環境は 2つあります。
A) Ubuntu 10.04.03
$ uname -srvm
Linux 2.6.32-33-generic #70-Ubuntu SMP Thu Jul 7 21:09:46 UTC 2011 i686
$ gcc --version
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is ... -
11:59 AM Bug #5139: sigsegv のスタックオーバフロー - > すみませんターゲットバージョンは 1.9.3 にも入ったと勘違いしてました。
>
> それから ALT_STACK_SIZE を (SIGSTKSZ*2) (手元だと 16KB)に戻してやりなおしてみましたところ、
> チケットの説明文に書いたような $esp のオーバフローはしていないのに vm_backtrace_each() で SEGV していたので
> ちょっと別の問題が(も?)あるようです。
中田さんの報告だとディストリ依存... -
10:59 AM Bug #5139: sigsegv のスタックオーバフロー
- すみませんターゲットバージョンは 1.9.3 にも入ったと勘違いしてました。
それから ALT_STACK_SIZE を (SIGSTKSZ*2) (手元だと 16KB)に戻してやりなおしてみましたところ、
チケットの説明文に書いたような $esp のオーバフローはしていないのに vm_backtrace_each() で SEGV していたので
ちょっと別の問題が(も?)あるようです。
-
10:43 AM Bug #5139: sigsegv のスタックオーバフロー
- えっと、問題のコミットを入れたのはわたしなので、わたしが確認するべきと思います。
担当者を変更します。
また、問題のコミットは193ブランチには入れてないのでターゲットバージョンも変更します。
お手数をおかけして申し訳ありません。 -
10:23 AM Bug #5139 (Assigned): sigsegv のスタックオーバフロー
- こちらの環境(debian, 2.6.39-2-amd64, gcc-4.6.1)では再現しないのですが、gdbの結果を見る限りではそのようですね。
-
09:57 AM Bug #5139 (Closed): sigsegv のスタックオーバフロー
- 現在の trunk が Linux で test_segv_test(TestRubyOptions) が Failure になります。
$ ruby -e 'Process.kill :SEGV, $$'
のように実行すると表示されるはずのバックトレースや LOADED FEATURES の情報が表示されないためです。
おそらく r32751 からだと思うのですが、手元の環境(Ubuntu 10.4, Kernel 2.6.32-33-generic... -
08:50 PM Bug #5137: Ruby SVN Revision 32800: Cannot run installed ruby interpreter, Malformed Mach-o file
- I also just noticed that if I use `--enable-shared` with `./configure`, the library reference to the dylib disappears in the installed version, but remains in the source tree version:
SOLAR:~ chriswhite$ otool -L ~/Source/Repository/r... -
08:31 PM Bug #5137: Ruby SVN Revision 32800: Cannot run installed ruby interpreter, Malformed Mach-o file
- Yui NARUSE wrote:
> Try following:
> ...
I tried this and got the same result. I notice that the source tree ruby and the ruby installed in the target directory are different sizes. I don't see `strip` being used, so I'm not sure what'... -
03:21 PM Bug #5137: Ruby SVN Revision 32800: Cannot run installed ruby interpreter, Malformed Mach-o file
- Try following:
rm -rf /Users/chriswhite/Ruby/ruby-trunk
cd <source directory>
./configure --prefix=/Users/chriswhite/Ruby/ruby-trunk --with-gcc=gcc-4.2
make all install -
02:17 AM Bug #5137 (Rejected): Ruby SVN Revision 32800: Cannot run installed ruby interpreter, Malformed Mach-o file
- I have compiled Ruby trunk, with the following configure options:
./configure --prefix=/Users/chriswhite/Ruby/ruby-trunk
And after that:
make clean && make && make install
When I attempt to run the installed version, I get th... -
08:47 PM Bug #5147 (Closed): mkmf should not require static library when ruby is built with --enable-shared
- If libruby-static.a library is not present on the system, the following simple mkmf example fails:
$ ruby -r mkmf -e 'exit(have_func("rb_hash_foreach") ? 0 : 1)'
checking for rb_hash_foreach()... /usr/lib64/ruby/1.9.1/mkmf.rb:381:in ... -
08:18 PM Bug #5132 (Closed): test_parallel.rb fail when it run before 'make install'
- This issue was solved with changeset r32812.
Ayumu, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/testunit/test_parallel.rb: pass "--ruby" option to
test... -
07:53 PM Bug #5111: test/rubygems/test_gem_installer.rb reports a failure on windows
- It seems OK. Please backport it.
Thank you, Luis! -
06:23 AM Bug #5111 (Assigned): test/rubygems/test_gem_installer.rb reports a failure on windows
- Mr. NAKAMURA,
I've committed a fix for this, can you check out trunk?
If it works, will backport to ruby_1_9_3
Thank you. -
06:22 AM Bug #5111 (Closed): test/rubygems/test_gem_installer.rb reports a failure on windows
- This issue was solved with changeset r32804.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Correct RubyGems bin check on Windows. Bug #5111 -
03:31 AM Bug #5111: test/rubygems/test_gem_installer.rb reports a failure on windows
- This problem is also imported to ruby_1_9_3 branch.
-
05:48 PM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Shyouhei Urabe wrote:
> Instead of avoiding exceptions I would like to suggest making exceptions lightweight.
"Expected" exceptions used for control flow make $DEBUG output *really* noisy. IO is particularly bad at this.
I like ... -
01:01 PM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Here is a new patch that uses :wait_readable and :wait_writable
-
09:29 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Yehuda Katz
Chief Technologist | Strobe
(ph) 718.877.1325
On Mon, Aug 1, 2011 at 5:08 PM, Eric Wong <normalperson@yhbt.net> wrote:
> Yehuda Katz <wycats@gmail.com> wrote:
> > On Mon, Aug 1, 2011 at 4:07 PM, Eric Wong ... -
09:29 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
> (08/02/2011 08:48 AM), Eric Wong wrote:
> > Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
> >> (08/02/2011 08:35 AM), Eric Wong wrote:
> >>> Urabe Shyouhei <shyouhei@ruby-lang.or... -
09:29 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- 2011/8/2 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> (08/02/2011 08:14 AM), Eric Wong wrote:
>> Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
>>> So when you do a read loop, nothing bothers you, as long as you use
>>> readpar... -
09:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Yehuda Katz <wycats@gmail.com> wrote:
> On Mon, Aug 1, 2011 at 4:07 PM, Eric Wong <normalperson@yhbt.net> wrote:
> > Yehuda Katz <wycats@gmail.com> wrote:
> > > * :read_would_block
> > > * :write_would_block
> > > * :eof
> >... -
09:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- (08/02/2011 08:48 AM), Eric Wong wrote:
> Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
>> (08/02/2011 08:35 AM), Eric Wong wrote:
>>> Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
>>>> (08/02/2011 08:14 AM), Eric Wong wrote:
... -
09:02 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Here's an updated patch that returns nil for EOF and replaces the kgio variable with no_exceptions. The docs and tests are updated as well.
-
08:53 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
> (08/02/2011 08:35 AM), Eric Wong wrote:
> > Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
> >> (08/02/2011 08:14 AM), Eric Wong wrote:
> >>> Urabe Shyouhei <shyouhei@ruby-lang.or... -
08:53 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- (08/02/2011 08:35 AM), Eric Wong wrote:
> Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
>> (08/02/2011 08:14 AM), Eric Wong wrote:
>>> Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
>>>> So when you do a read loop, nothing bo... -
08:53 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
> (08/02/2011 08:14 AM), Eric Wong wrote:
> > Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
> >> So when you do a read loop, nothing bothers you, as long as you use
> >> readpar... -
08:53 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- (08/02/2011 08:14 AM), Eric Wong wrote:
> Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
>> So when you do a read loop, nothing bothers you, as long as you use
>> readpartial.
>
> That use of select + readpartial is unsafe... -
08:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- In practice, it is not more verbose. Here's some example code from
net/protocol, and once try_read_nonblock is used.
Existing code:
def rbuf_fill
begin
@rbuf << @io.read_nonblock(BUFSIZE)
rescue IO::WaitReadabl... -
08:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Yehuda Katz
Chief Technologist | Strobe
(ph) 718.877.1325
On Mon, Aug 1, 2011 at 4:07 PM, Eric Wong <normalperson@yhbt.net> wrote:
> Yehuda Katz <wycats@gmail.com> wrote:
> > Issue #5138 has been reported by Yehuda Ka... -
08:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
> So when you do a read loop, nothing bothers you, as long as you use
> readpartial.
That use of select + readpartial is unsafe. Spurious wakeup is a
documented behavior of t... -
08:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Yehuda Katz <wycats@gmail.com> wrote:
> Issue #5138 has been reported by Yehuda Katz.
>
> ----------------------------------------
> Bug #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
> http://... -
08:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- (08/02/2011 07:46 AM), Aaron Patterson wrote:
> This seems very handy for read loops. Always rescuing the exception
> bothered me. I think this would be very good functionality when writing
> pure ruby servers.
Well... the ... -
07:53 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- On Tue, Aug 02, 2011 at 07:35:15AM +0900, Yehuda Katz wrote:
>
> Issue #5138 has been reported by Yehuda Katz.
>
> ----------------------------------------
> Bug #5138: Add nonblocking IO that does not use exceptions for EOF and ... -
07:48 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Instead of avoiding exceptions I would like to suggest making exceptions lightweight.
"Check those return values every time you call this function" is nothing different from C. I would write my program totally in C if I have to do th... -
07:35 AM Feature #5138 (Closed): Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- The current Ruby I/O classes have non-blocking methods (read_nonblock and write_nonblock). These methods will never block, and if they would block, they raise an exception instead (IO::WaitReadable or IO::WaitWritable). In addition, if t...
-
05:27 PM Feature #5145 (Feedback): Function extension of Array#transpose
- Currently, Array#transpose doesn't transpose iliffe vector that
size of arrays in array are not same.
But iff the sequence of size is monotone nonincreasing, there is
natural transposition.
[[1, 2, 3], [4, 5], [6]].transpose
=> ... -
05:09 PM Bug #4517 (Third Party's Issue): ArgumentError when sorting array of objects
-
04:54 PM Feature #5123: Alias Hash 1.9 as OrderedHash
- As a corollary, for a few months I had one portion of my code which used Sets, and relied on the fact that Sets in 1.9 retain their order because they in turn use a Hash. The only real way I could document this requirement was to put com...
-
04:32 PM Feature #5123 (Assigned): Alias Hash 1.9 as OrderedHash
-
03:39 PM Revision ae1bccf7 (git): Refix r32815.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:29 PM Bug #5141 (Assigned): Inconsistent indentation in method call with args on multiple lines.
-
10:26 AM Bug #5141 (Closed): Inconsistent indentation in method call with args on multiple lines.
- The indentation of method call with arguments spread on multiple lines is inconsistent.
belongs_to(:foo,
:class_name => 'Foo',
:foreign_key => 'foo_id')
has_many(:bar,
:class_name => 'Bar',
:... - 03:26 PM Revision 6f75fbce (git): * 2011-08-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:26 PM Revision 2392f452 (git): * 2011-08-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:25 PM Revision 5bd45265 (git): * lib/prettyprint.rb: update document. [ruby-core:36776]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:25 PM Revision 642458fd (git): * lib/prettyprint.rb: update document. [ruby-core:36776]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:16 PM Feature #5142: Remove ruby-mode.el from ruby's repo
- 引き受けてくれて直されてるんならいいんですが、直ってないチケットが溜まっているので。
そもそも emacs 側でも http://git.savannah.gnu.org/cgit/emacs.git/log/lisp/progmodes/ruby-mode.el のように開発しているので、
emacs でやれと言いたい。
miscは作りました。 -
10:56 AM Feature #5142 (Assigned): Remove ruby-mode.el from ruby's repo
- このあたりのメンテナンスは中田さんが一手に引き受けてくれていたという認識なので、中田さん判断でいいと思います。
ところで、miscディレクトリ以下のissueは適切なカテゴリがないので、これを気にカテゴリ=miscを作りませんか? -
10:46 AM Feature #5142 (Rejected): Remove ruby-mode.el from ruby's repo
- ruby-mode.el は Emacs に添付されるようになりましたが、
今も Ruby のリポジトリ内に misc/ruby-mode.el として存在し続けています。
マスタが Ruby と Emacs の2つあるのも良くないですし、放置されているチケットも多いので、
Ruby のリポジトリからは削除してしまいませんか。
なお、ruby-mode.el 以外の *.el についてはこのチケットの管轄外とします。 -
02:50 PM Revision 048202f4 (git): * encoding.c (enc_find): simplified with RB_TYPE_P.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:27 PM Revision 48bc63fa (git): Fix r32811: add UNSPECIFIED_ENCODING case.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:08 PM Revision 027a15e9 (git): * gc.c (init_heap): allocate sigaltstack after heaps are allocated.
- [ruby-dev:44315] [Bug #5139]
* vm.c (thread_free): use free because objspace is not ready.
* vm.c (th_init): use malloc because objspace is not ready.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32815 b2dd03c8-39d4-4d8f-98ff-823... -
12:59 PM Bug #5143 (Closed): include not properly registering modular methods
- Ran into a bug when using a gem called FactoryGirl. The bug has to do with how 1.9.3 handles handles module inclusion, scope, and method_missing.
Here's a gist: https://gist.github.com/1119516 Where method missing is called, it's b... -
12:19 PM Revision 2cf05e58 (git): Remove an obsolete file, ToDo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:42 AM Bug #5136 (Closed): :"!".inspect の結果が1.9.3devと1.9.2とでは異なる
- This issue was solved with changeset r32809.
Ayumu, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (rb_enc_symname2_p): :! is valid symbol. [Bug #5136] -
01:54 AM Bug #5136 (Closed): :"!".inspect の結果が1.9.3devと1.9.2とでは異なる
- =begin
(({:"!".inspect})) とか (({:!.inspect})) の結果が1.9.3devと1.9.2 では異なるようです。
$ bin/ruby -v -e 'puts :!.inspect'
ruby 1.9.3dev (2011-08-01 revision 32798) [x86_64-darwin10.8.0]
:"!"
$ ruby -v -e 'puts :"!".inspect'
ruby 1.9.2p... -
11:26 AM Revision 2fb749fe (git): * test/testunit/test_parallel.rb: pass "--ruby" option to
- test/testunit/tests_for_parallel/runner.rb. [Bug #5132] [ruby-dev:44303]
Backported from trunk r32812.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:18 AM Revision 9864da84 (git): * test/testunit/test_parallel.rb: pass "--ruby" option to
- test/testunit/tests_for_parallel/runner.rb. [Bug #5132] [ruby-dev:44303]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:48 AM Bug #5140 (Assigned): Emacs ruby-mode major indentation bug with Ruby 1.9
-
10:11 AM Bug #5140 (Closed): Emacs ruby-mode major indentation bug with Ruby 1.9
- When spreading the arguments of a method call on multiple lines using the new hash syntax from Ruby 1.9, the level of indentation is retained even after the closing parenthesis. Example:
belongs_to(:foo,
class_name: 'Foo'... -
07:35 AM Revision faf295f1 (git): * encoding.c (str_to_encoding): rename from to_encoding and
- use str_to_encindex.
* encoding.c (str_to_encindex): split from to_encoding.
* encoding.c (rb_to_encoding): use str_to_encoding.
* encoding.c (rb_obj_encoding): don't bypass rb_encoding*.
If it uses rb_encoding*, it bypass encindex.... -
07:23 AM Feature #5101: allow optional timeout for TCPSocket.new
- 2011/8/2 Eric Wong <normalperson@yhbt.net>:
> I only want this timeout to affect connect() time, DNS timeout can
> be separate (Feature #5100). I don't know what to do about multiple
> IP addresses, it may be better on a case-... -
05:29 AM Feature #5101: allow optional timeout for TCPSocket.new
- Tanaka Akira <akr@fsij.org> wrote:
> 2011/7/30 Tanaka Akira <akr@fsij.org>:
>
> > I expected such code in client socket library because
> > socket library doesn't provide timeout feature (and Timeout exception class).
>
> ... -
05:12 AM Feature #5097: Supported platforms of Ruby 1.9.3
- > But mrkn, who has both 10.6 and 10.5 and is already a committer, comes
> ...
Excellent! I thought it was kind of strange that we'd be looking for someone on OSX...
I'll give them what help I can. :) -
03:03 AM Revision 0d6ef941 (git): * hash.c (recursive_hash): hash value of emptied hash should be
- equal to an empty hash. [ruby-core:38650]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:03 AM Revision 86bbfdad (git): * hash.c (recursive_hash): hash value of emptied hash should be
- equal to an empty hash. [ruby-core:38650]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:42 AM Revision ceb5e60c (git): * parse.y (rb_enc_symname2_p): :! is valid symbol. [Bug #5136]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:42 AM Revision 48fd404f (git): * parse.y (rb_enc_symname2_p): :! is valid symbol. [Bug #5136]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:39 AM Revision a781b402 (git): Revert r32803.
- Do you know "code freeze"?
Anyway this breaks make rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:15 AM Revision f1a7dc3f (git): * property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:15 AM Revision c2dbf585 (git): * property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:07 AM Feature #4845: Provide Class#cb_object_instantiated_from_literal(object)
- =begin
Follow-up issue #4893
=end
-
02:06 AM Feature #4893: Literal Instantiation breaks Object Model
- Lazaridis Ilias wrote:
> Nobuyoshi Nakada wrote:
> ...
Can please someone with access reopen the issue?
08/01/2011
-
11:40 PM Bug #5132 (Assigned): test_parallel.rb fail when it run before 'make install'
- Jeremy Evans も同じ話を [ruby-core:38572] で指摘していますね。
というわけでそらさんよろしく。 -
07:21 PM Bug #5132: test_parallel.rb fail when it run before 'make install'
- =begin
すみません、大事な情報が漏れていました。
Makefileを作る際に、./configure --prefix=/home/ayumin/ruby のようにインストール先を指定しています。
エラーのログを消すために以下のようなパッチをあてて実行すると
$ git diff
diff --git a/lib/test/unit.rb b/lib/test/unit.rb
index 09708d1..33301f9 100644
... -
06:28 PM Bug #5132 (Closed): test_parallel.rb fail when it run before 'make install'
- make install を実行する前にmake test-all をすると、test_parallel.rb が失敗します。
trunkとruby_1_9_3 で再現することまで確認しました。
$ uname -a
Linux Ubuntu11 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
$ make test-a... -
11:34 PM Feature #5133: Array#unzip as an alias of Array#transpose
- 「zip が transpose の逆になっているか」
を確認せず投稿したことがバレてしまいましたね。
私が欲しかったのは unzip のような zip の逆っぽいイメージの名前が付いている、
zip する前の配列のセットが返ってくるメソッドです。
きしもとさんの
> transpose は自己双対で、zip と双対というわけでもないので、
> ...
という意見については、確かにその通りだと思いましたので、
エイリアスではない方法で導入できるなら... -
10:53 PM Feature #5133: Array#unzip as an alias of Array#transpose
- (2011/08/01 20:54), KISHIMOTO, Makoto wrote:
> transpose は自己双対で、zip と双対というわけでもないので、
> エイリアスには反対、かなぁ。
> # [[1, 2, 3], [4, 5, 6], [7, 8, 9]].transpose に対応するものって
> # zip で簡単にできましたっけ?
irb(main):001:0> a = [[1, 2, 3], [4, 5, 6],... -
08:59 PM Feature #5133: Array#unzip as an alias of Array#transpose
- きしもとです
[1, 2, 3, 4] と ["a", "b", "c", "d"] から、
[[1, "a"], [2, "b"], [3, "c"], [4, "d"]] を作るのが zip で、
irb> [1, 2, 3, 4].zip ["a", "b", "c", "d"]
=> [[1, "a"], [2, "b"], [3, "c"], [4, "d"]]
[[1, "a"], [2, "b"], [3, "c"]... -
07:09 PM Feature #5133: Array#unzip as an alias of Array#transpose
- 逆とはどういう動作のことを言っていますか?
Array#zip が複数の配列から1つの配列を返す(かブロックを受け取ると別の動作)で、
Array#transpose が1つの配列から1つの配列を返す(ブロックは受け取らない)ということから
逆という印象は受けなかったので、逆というだけの説明だとよくわかりませんでした。 -
06:30 PM Feature #5133 (Rejected): Array#unzip as an alias of Array#transpose
- Array#zip の逆は Array#transpose なんですけど、
この対応関係が非常に分かり難いなと思いました。
Haskell には zip の逆をやる関数として unzip が用意されています。
unzip という名前は、「zip の逆をやりたい」と思ったときに
(transpose よりは) 思い付きやすい名前だと思います。
ということで Array#unzip を Array#transpose のエイリアスとして
導入してはどうで... -
11:26 PM Bug #5135 (Closed): Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- It would be nice if all test are green before release.
https://gist.github.com/1118196 -
10:50 PM Bug #4457: Time#strftime で %z 指定子などに大きな幅を指定した際の不具合
- とりあえずいいような気がします。
しかし、考えてみると strftime の API が腐っているという問題があるわけで、
そして、Ruby 1.9 では OS の strftime を使っていないのだから、
その API につきあう必要はないわけです。
というわけで、バッファが足りなかったときには必要な長さを返すようにするとか
まともな API を用意して使うのがいい気がしますね。
-
10:35 PM Revision fa25f260 (git): * test/net/http/test_http.rb (TestNetHTTP_version_1_1_methods#test_timeout_during_HTTP_session):
- If you connect to localhost, you should listen localhost.
* test/net/http/test_https.rb (TestNetHTTPS#test_timeout_during_SSL_handshake):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32806 b2dd03c8-39d4-4d8f-98ff-823fe69... -
10:23 PM Feature #5101: allow optional timeout for TCPSocket.new
- 2011/7/30 Tanaka Akira <akr@fsij.org>:
> I expected such code in client socket library because
> socket library doesn't provide timeout feature (and Timeout exception class).
On second thought, Errno::ETIMEDOUT can be a cand... -
10:18 PM Feature #859: open-uri doesn't allow redirection to https
- I'd like generic solution. Especially because open-uri doesn't provide a way to specify headers for each request for redirection.
- 09:22 PM Revision 35186277 (git): * 2011-08-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:22 PM Revision 9e49d29e (git): Correct RubyGems bin check on Windows. Bug #5111
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:57 PM Revision 8e627bc1 (git): * lib/rdoc: Update to 3.9.1. Fixes === lines in verbatim sections.
- Fixes :nodoc: on class aliases. Fixes :stopdoc: creating references
to Object. Fixes spacing when class comments are merged in ri.
Fixes `ri []` crash. Fixes bug report URL when rdoc crashes. Adds
:doc: ... - 06:27 PM Revision e2c24e16 (git): * 2011-08-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:27 PM Revision c2c6dc8d (git): * test/rake/test_rake_directory_task.rb (TestRakeDirectoryTask#
- test_directory_win32): fixed wrong test.
backported r32670 from trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
- 2011/7/27 Luis Lavena <luislavena@gmail.com>:
> On Mon, Jul 25, 2011 at 11:52 PM, Yui NARUSE <naruse@airemix.jp> wrote:
> ...
nobu says he is not the maintainer of mingw.
Will you be the maitainer of mingw32 and mingw-w64? -
05:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
- 2011/7/26 Steve Klabnik <steve@steveklabnik.com>:
>
> Issue #5097 has been updated by Steve Klabnik.
>
>
> I would like to help for OSX > 10.6, and maybe 10.5 if I can get a machine. I'm not exactly sure what 'maintainer's responsi... -
03:29 AM Feature #5097: Supported platforms of Ruby 1.9.3 - Dne 26.7.2011 12:45, KOSAKI Motohiro napsal(a):
> 2011/7/26 Eric Wong<normalperson@yhbt.net>:
>> Yui NARUSE<naruse@airemix.jp> wrote:
>>> If you want to support a platform, please declare.
>>> But when a platform dependent bug ... -
03:45 PM Bug #5114 (Closed): rake's tests imply the binary name of ruby
- This issue was solved with changeset r32797.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/rake/test_rake_functional.rb: Don't assume the binary name... -
02:23 PM Feature #5128: 日本語ドキュメントをUTF-8に - (2011/08/01 13:28), Nobuyoshi Nakada wrote:
> なかだです。
>
> At Mon, 1 Aug 2011 12:09:38 +0900,
> Urabe Shyouhei wrote in [ruby-dev:44295]:
>> (08/01/2011 11:52 AM), Nobuyoshi Nakada wrote:
>>> むしろ、メタ情報を設定しているにもかかわらずちゃんと表示できないコ... -
01:59 PM Feature #5128: 日本語ドキュメントをUTF-8に
- あいざわです
とりあえず、トップレベルにあるファイルとdoc/ 以下についてUTF-8に変更したものでpull request を更新しました。
https://github.com/ruby/ruby/pull/38
その他のファイルはどうしましょう。
時間があるときにテストを回しながら、各メンテナーの方々にきいてみて、影響ないモノについてはUTF-8にしていく
作業を引き取っても良いです。
> ChangeLog について... -
01:53 PM Feature #5128: 日本語ドキュメントをUTF-8に
- 2011年8月1日12:51 Ayumu Aizawa <ayumu.aizawa@gmail.com>:
> 文字化けは残念だなぁとおもって軽い気持ちで送ってみたのですが、改めて調べてみると nkf --guess で非ASCIIと
> 判定されるファイルがたくさんありますね。なかにはテストの都合などで敢えてそうしているものもあるんでしょうか。。。
>
> 個人的には明らかにドキュメントであるようなファイルについてはUTF-8に統一で良いとおもってい... -
01:29 PM Feature #5128: 日本語ドキュメントをUTF-8に
- なかだです。
At Mon, 1 Aug 2011 12:09:38 +0900,
Urabe Shyouhei wrote in [ruby-dev:44295]:
> (08/01/2011 11:52 AM), Nobuyoshi Nakada wrote:
> > むしろ、メタ情報を設定しているにもかかわらずちゃんと表示できないコード
> > ブラウザのバグでしょう。本末転倒だと思います。
>
> redmineに関してはバグ... -
01:29 PM Feature #5128: 日本語ドキュメントをUTF-8に
- なかだです。
At Mon, 1 Aug 2011 12:09:38 +0900,
Urabe Shyouhei wrote in [ruby-dev:44295]:
> (08/01/2011 11:52 AM), Nobuyoshi Nakada wrote:
> > むしろ、メタ情報を設定しているにもかかわらずちゃんと表示できないコード
> > ブラウザのバグでしょう。本末転倒だと思います。
>
> redmineに関してはバグ... -
12:53 PM Feature #5128: 日本語ドキュメントをUTF-8に
- pull request を送ったあいざわです。
文字化けは残念だなぁとおもって軽い気持ちで送ってみたのですが、改めて調べてみると nkf --guess で非ASCIIと
判定されるファイルがたくさんありますね。なかにはテストの都合などで敢えてそうしているものもあるんでしょうか。。。
個人的には明らかにドキュメントであるようなファイルについてはUTF-8に統一で良いとおもっています。
以下調査結果です。
- 非ASCII、... -
12:53 PM Feature #5128: 日本語ドキュメントをUTF-8に
- On 2011/08/01 12:04, KOSAKI Motohiro wrote:
> 現実問題としてASCIIの範囲で自分の名前を記述できない方がヨーロッパにもたくさんいるので
> これを機に ChangeLog等も UTF-8 で記述するというルールにしてしまってはどうでしょうか。
> パッチをContribute してくれたときの記載する謝辞は名前を省略・変形しないというのは
> それなりに一般的なマナーだと思います。
>
> ... -
12:23 PM Feature #5128: 日本語ドキュメントをUTF-8に
- 2011年8月1日12:04 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
> 現実問題としてASCIIの範囲で自分の名前を記述できない方がヨーロッパにもたくさんいるので
> これを機に ChangeLog等も UTF-8 で記述するというルールにしてしまってはどうでしょうか。
> パッチをContribute してくれたときの記載する謝辞は名前を省略・変形しないというのは
> それなりに一般的なマナーだと... -
12:23 PM Feature #5128: 日本語ドキュメントをUTF-8に
- (08/01/2011 11:52 AM), Nobuyoshi Nakada wrote:
> むしろ、メタ情報を設定しているにもかかわらずちゃんと表示できないコード
> ブラウザのバグでしょう。本末転倒だと思います。
redmineに関してはバグと呼ぶにやぶさかではありませんがgitにはメ
タ情報(という概念)がないわけで、githubをバグ呼ばわりするのは濡
れ衣といわざるをえません。 -
12:23 PM Feature #5128: 日本語ドキュメントをUTF-8に - (2011/08/01 11:10), Kenta Murata wrote:
> むらたです。
>
> On Monday, August 1, 2011 at 10:39 , Shyouhei Urabe wrote:
>> pull requestが来ています。
>>
>> https://github.com/ruby/ruby/pull/38
>>
>> 個人的にEUCに思い入れはない(すくなくともUTF8と同程... -
11:53 AM Feature #5128: 日本語ドキュメントをUTF-8に
- 提供者によると「redmine.ruby-lang の
リポジトリやGithubのコードブラウザで表示すると文字化けして見える」。
UTF-8 で直るのなら是非適応していただきたいです。
「なお、このパッチを適用する場合は、同時にsvnのメタ情報の方も変更の必要
があります。」とも書いてありますが、git にはそのようなメタ情報はないで
しょうか。
よろしくお願いします。 Martin.
On 2011/08/0... -
11:52 AM Feature #5128: 日本語ドキュメントをUTF-8に
- > Change encoding from EUC-JP to UTF-8.
> ...
むしろ、メタ情報を設定しているにもかかわらずちゃんと表示できないコード
ブラウザのバグでしょう。本末転倒だと思います。
-
11:37 AM Feature #5128: 日本語ドキュメントをUTF-8に
- 変更自体は賛成です。
pull request のパッチをみるとトップの *.ja だけですが、
変更するなら doc/*.ja なども変更してしまって良いのではないでしょうか。
% git ls-files|fgrep .ja|xargs nkf --guess|grep EUC
README.EXT.ja:EUC-JP
README.ja:EUC-JP
doc/etc.rd.ja:EUC-JP
doc/forwardable.rd.ja:EUC... -
11:23 AM Feature #5128: 日本語ドキュメントをUTF-8に
- むらたです。
On Monday, August 1, 2011 at 10:39 , Shyouhei Urabe wrote:
> pull requestが来ています。
>
> https://github.com/ruby/ruby/pull/38
>
> 個人的にEUCに思い入れはない(すくなくともUTF8と同程度には)ので、まあ、いいのではないかという気になっていますが、どうしますか。
我々日本人は EUC-JP でも U... -
10:39 AM Feature #5128 (Closed): 日本語ドキュメントをUTF-8に
- pull requestが来ています。
https://github.com/ruby/ruby/pull/38
個人的にEUCに思い入れはない(すくなくともUTF8と同程度には)ので、まあ、いいのではないかという気になっていますが、どうしますか。 -
02:23 PM Feature #5120: String#split needs to be logical - On Aug 1, 2011, at 12:37 AM, Kirill Radzikhovskyy wrote:
> I also find this behavior confusing
> mainly because:
>
> ruby-1.9.2-p290 :001 > 'a,b,,'.split ','
> -
01:37 PM Feature #5120: String#split needs to be logical
- Hi,
I also find this behavior confusing
mainly because:
ruby-1.9.2-p290 :001 > 'a,b,,'.split ','
=> ["a", "b"]
ruby-1.9.2-p290 :002 > ',,a,b'.split ','
=> ["", "", "a", "b"]
-
01:57 PM Feature #5129 (Assigned): Create a core class "FileArray" and make "ARGF" its instance
- I suggest to create a class "`FileArray`" whose instance behaves just like `ARGF` do.
And I think `ARGF` should be an instance of `FileArray`. Now when I "`p ARGF.class`", I get "`ARGF.class`", so `ARGF` is an instance of `ARGF.class`, ... -
01:18 PM Revision 4d9c0998 (git): * ChangeLog: fix a typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:10 PM Bug #5126 (Closed): Unicode character classes interpolated into regex throws exception
- This issue was solved with changeset r32791.
Xavier, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* insns.def (concatstrings): don't use initial ASCII-8BIT strin... -
09:31 AM Bug #5126 (Closed): Unicode character classes interpolated into regex throws exception
- The following script runs under 1.9.2-p290:
# encoding: UTF-8
letter = '\p{L}'
atext = "[#{letter}]"
/#{atext}/
Under 1.9.3-preview1 it raises an exception:
test.rb:6:in `<main>': invalid character propert... - 11:23 AM Revision b8d546db (git): * test/ruby/test_process.rb (TestProcess#windows?): new method.
- * test/ruby/test_process.rb (TestProcess#*): use above method.
* test/ruby/test_process.rb (TestProcess#test_execopts_redirect):
windows doesn't support FD_CLOEXEC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32799 b2dd03c8-39... -
10:12 AM Bug #5127: ruby 1.9.3 prev1 で Array#[]=( Array.new ) が1.9.2より2倍遅い
- Linux(Ubuntu 10.4 gcc 4.4.3) でも試してみたところやはり倍近く時間がかかっていました。1.9.3 ではなく trunk とですが。
$ ruby-1.9.2 bm_array.rb
user system total real
Array.new 2.340000 0.070000 2.410000 ( 2.... -
09:43 AM Bug #5127: ruby 1.9.3 prev1 で Array#[]=( Array.new ) が1.9.2より2倍遅い
- 重要な問題だと思いますので、チケット化しました。
-
09:42 AM Bug #5127 (Closed): ruby 1.9.3 prev1 で Array#[]=( Array.new ) が1.9.2より2倍遅い - Arrayオブジェクトを Array#[]= で設定する場合に、
ruby 1.9.3 prev1 が 1.9.2 p290 と比較して2倍ほど遅くなっているようなので
ご報告いたします。
(既知の現象であれば、申し訳ありませんがスルーしてください)
----
require 'benchmark'
Benchmark.bm(22) do |x|
x.report "Array.new" do
1_000_... -
08:09 AM Bug #5125 (Closed): obj.send() documentation issue
- Filing this as a bug per request of Eric Hodel on the ruby-talk mailing list. Excerpt from the mailing list post ( http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/386033 ):
================
obj.send(symbol [, args...]) ob... -
06:47 AM Revision 0da19771 (git): * test/rake/test_rake_functional.rb: Don't assume the binary name of
- ruby is "ruby". [Ruby 1.9 - Bug #5114]
* test/rake/helper.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:45 AM Revision f209dc72 (git): * test/rake/test_rake_functional.rb: Don't assume the binary name of
- ruby is "ruby". [Ruby 1.9 - Bug #5114]
* test/rake/helper.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:36 AM Revision 6851f29b (git): * test/io/console/test_io_console.rb (TestIO_Console#test_sync):
- Skip when PTY allocation failed (that's not our failt).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:22 AM Revision 3237f7dc (git): * test/xmlrpc/test_webrick_server.rb (Test_Webrick#setup_http_server):
- XMLRPC::Client.new3(), when called without host: argument, tries
to connect to a host where "localhost" resolves to. On the
other hand a WEBrick::HTTPServer.new(), when called without
BindAddress: argument, tries to li... -
05:25 AM Revision a429cafc (git): * lib/rdoc.rb: Import RDoc 3.9.1. Fixes bugs in the RDoc::Markup
- parser.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:21 AM Revision 7d2efc1f (git): remove duplicated entry
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:10 AM Revision d18f05af (git): * 2011-08-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:10 AM Revision db42bd04 (git): * insns.def (concatstrings): don't use initial ASCII-8BIT string.
- [ruby-core:38635] [Bug #5126]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:54 AM Bug #5110 (Feedback): Ruby SSL error - sslv3 alert unexpected message
- In my opinion Ruby reacts normal here. The OpenSSL::SSL::SSLContext is allocated using "SSLv23" by default for maximum compatibility. Here is what the official doc says:
SSLv23_method:
A TLS/SSL connection established with these method...
07/31/2011
-
11:16 PM Feature #4871: envのコンパクト化
- 辻本です。
--gc-stressオプションをつけた状態でtest-allを実行しましたが、
このパッチに起因するテストの失敗はなかったのでtrunkにコミットしました。
本格的な見直しは改めてということでお願いできればと思います。 -
11:00 PM Feature #4871 (Closed): envのコンパクト化
- This issue was solved with changeset r32781.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm.c (vm_make_env_each): don't save prev env value.
It is no ... -
08:22 PM Revision c6fcfd6d (git): merge revision(s) 32582:
- * cont.c (cont_save_thread): fix missing semicolon.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:29 PM Bug #5122: make test fails on OS X 10.7 (11A511)
- It, worked, thanks!
Had to do a "make distclean" first. -
03:46 PM Bug #5122 (Closed): make test fails on OS X 10.7 (11A511)
- Run configure with --with-gcc=gcc-4.2.
-
03:10 AM Bug #5122 (Closed): make test fails on OS X 10.7 (11A511)
- Trying to install ruby from source (ruby 1.9.2p290), I get the following output when running "make test":
flips:ruby-1.9.2-p290 filipp$ make test
sample/test.rb:assignment .............................................................. -
04:19 PM Feature #5123 (Rejected): Alias Hash 1.9 as OrderedHash
- I read that it was a controversial decision to make Hash in Ruby 1.9 ordered.
It is not clear if the present implementation is the best possible.
I would like to express my thought.
It would be nice if the ordered Hash in Ruby 1.9 w... -
03:49 PM Bug #4501 (Closed): 1.9.2-p180 fails to compile on OSX 10.7
- > Wayne
Run rvm install -C --with-gcc-4.2
> ...
The clang which is bundled with Xcode 4.1/4.2 beta is bit old and doesn't support ruby.
So don't use it.
But current svn version of clang supports ruby. -
03:24 PM Feature #5120: String#split needs to be logical
- I understand why
```ruby
",,1".split(',') # => ["","","1"]
```
and why
```ruby
".5".split('.') # => ["","5"]
```
But then `",1,".split(',')` should return `["", "1", ""]`.
It is not clear why one needs to do it l... -
02:23 PM Feature #5120: String#split needs to be logical
- On 2011/07/31 1:30, Yusuke ENDOH wrote:
> So, what does "aab".split('a') return?
> I think that only ["aab"] meets the condition.
> But it is also surprising to me.
It's much easier to think about if you replace 'a' with '... -
06:17 AM Feature #5120: String#split needs to be logical
- It is still not very clear why
"a".split('',-1) # => ["a", ""]
and not `["", "a", ""]` or `["a"]`,
(and why `"".split('',-1) # => []`)
Alexey. -
06:13 AM Feature #5120: String#split needs to be logical
- Thank you for the explanation.
Yes, Yusuke, my definition was wrong, i thought about "a maximal array of non-empty strings whose members don't contain any matching substrings".
Gary, I didn't read the documentation carefully, so i di... -
04:23 AM Feature #5120: String#split needs to be logical - On Jul 30, 2011, at 12:12 PM, Alexey Muranov wrote:
> Here are examples showing a surprising and inconsistent behavior of String#split method:
With only one argument, split discards trailing empty fields.
> "aa".split('a') # => ... -
01:53 AM Feature #5120: String#split needs to be logical
- 2011/7/31 Yusuke ENDOH <mame@tsg.ne.jp>:
> Hello,
>
> 2011/7/31 Alexey Muranov <muranov@math.univ-toulouse.fr>:
>> Â str1.split(str2) returns a maximal array of non-empty substrings of str1 which can be concatenated with copies of s... -
01:53 AM Feature #5120: String#split needs to be logical
- Hello,
2011/7/31 Alexey Muranov <muranov@math.univ-toulouse.fr>:
> Â str1.split(str2) returns a maximal array of non-empty substrings of str1 which can be concatenated with copies of str2 to form str1.
So, what does "aab".split('... -
01:12 AM Feature #5120 (Rejected): String#split needs to be logical
- Here are examples showing a surprising and inconsistent behavior of `String#split` method:
```ruby
"aa".split('a') # => []
"aab".split('a') # => ["", "", "b"]
"aaa".split('aa') # => ["", "a"]
"aaaa".split('aa') # => []
"aa... -
02:17 PM Revision 6280ce3b (git): Forward-ports r32779 from branches/ruby_1_9_3 to trunk. The original commit
- by ktsj.
--
configure.in: fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:17 PM Revision ddeccd20 (git): Forward-ports r32780 from branches/ruby_1_9_3 to trunk.
- --
* enc/Makefile.in (ECHO1): Same as the recent fix in common.mk.
":" in a make variable replacement cause a syntax error with
/usr/ccs/bin/make on Solaris. Uses $(NULLCMD) instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun... -
02:17 PM Revision 4270dbe6 (git): Forward-ports r32777 from branches/ruby_1_9_3 to trunk.
- --
* complex.c (f_signbit): gcc4 on Solaris DOES have signbit but does
not have it on header.
* math.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:17 PM Revision 05ec8392 (git): Forward-ports r32776 from branches/ruby_1_9_3 to trunk.
- --
* common.mk (node_name.inc): Use $(Q) for consistency.
* Makefile.in (INSNS): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:17 PM Revision 2dafa218 (git): Forward-ports r32778 from branches/ruby_1_9_3 to trunk.
- --
* lib/mkmf.rb (configuration:ECHO1): Same as the recent fix in
common.mk.
":" in a make variable replacement cause a syntax error with
/usr/ccs/bin/make on Solaris. Uses $(NULLCMD) instead.
git-svn-id: svn+ssh://ci.ruby-lang.o... -
02:17 PM Revision f037909a (git): Forward-ports r32775 from branches/ruby_1_9_3 to trunk.
- --
* common.mk (ECHO1): nmake does not allow parenthesis in make variable
replacement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:11 PM Revision 3441301d (git): * vm.c (check_env): print debug messages to stderr.
- [Feature #4871] [ruby-dev:43743]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:00 PM Revision 172ac007 (git): * vm.c (vm_make_env_each): don't save prev env value.
- It is no longer used. [Feature #4871] [ruby-dev:43743]
* vm.c (check_env): changed accordingly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:59 PM Revision 3c20af1d (git): * enc/Makefile.in (ECHO1): Same as the recent fix in common.mk.
- ":" in a make variable replacement cause a syntax error with
/usr/ccs/bin/make on Solaris. Uses $(NULLCMD) instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:45 PM Revision 100f2e67 (git): * configure.in: fix typos.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:21 PM Revision d2b78e79 (git): * lib/mkmf.rb (configuration:ECHO1): Same as the recent fix in
- common.mk.
":" in a make variable replacement cause a syntax error with
/usr/ccs/bin/make on Solaris. Uses $(NULLCMD) instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:21 PM Revision 10350735 (git): * complex.c (f_signbit): gcc4 on Solaris DOES have signbit but does
- not have it on header.
* math.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:18 PM Feature #5054 (Rejected): Compress a sequence of ends
-
12:10 PM Revision 7e50bb96 (git): * common.mk (node_name.inc): Use $(Q) for consistency.
- * Makefile.in (INSNS): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:59 AM Bug #5083: cref/cbase取得時にSEGV
- trunkと1.9.3にコミットしました。
-
11:32 AM Bug #5083 (Closed): cref/cbase取得時にSEGV - This issue was solved with changeset r32768.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm.c: check if cfp is valid. [Bug #5083] [ruby-dev:44208] -
11:40 AM Revision c06bef87 (git): * common.mk (ECHO1): nmake does not allow parenthesis in make variable
- replacement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:31 AM Revision 53d3b132 (git): Forwardports r32772 and r32773 from branches/ruby_1_9_3 to trunk.
- * common.mk (ECHO1): ":" in a make variable replacement cause a syntax
error with /usr/ccs/bin/make on Solaris. Uses $(NULLCMD) instead.
* configure.in (NULLCMD): new check.
* Makefile.in (NULLCMD): Reflects checking in configure.
... -
11:30 AM Revision 49828146 (git): Fixes a wrong part in the previous commit.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:27 AM Revision 2e3be737 (git): * common.mk (ECHO1): ":" in a make variable replacement cause a syntax
- error with /usr/ccs/bin/make on Solaris. Uses $(NULLCMD) instead.
* configure.in (NULLCMD): new check.
* Makefile.in (NULLCMD): Reflects checking in configure.
* win32/Makefile.sub (NULLCMD): new assignment.
git-svn-id: svn+ssh://ci... -
10:58 AM Bug #2729: `unexpected break' occurs when a proc is called in ensure
- A patch fixing the problem is attached, but it might be only a workaroud.
-
09:59 AM Revision f46cff64 (git): * io.c (rb_pipe): pipe on cygwin can succeed half but fail
- half.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:48 AM Revision b1b58cfd (git): * property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:57 AM Revision 31013d0f (git): * backport r32768 from trunk.
- * vm.c: check if cfp is valid. [Bug #5083] [ruby-dev:44208]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:32 AM Revision 70189a8c (git): * vm.c: check if cfp is valid. [Bug #5083] [ruby-dev:44208]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:19 AM Revision 89b601d1 (git): * lib/rdoc: Update to RDoc 3.9. Fixed `ri []`, stopdoc creating an
- object reference, nodoc for class aliases, verbatim === lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/30/2011
-
11:14 PM Bug #5119 (Closed): Infinite Loop with IO#pos and IO#each_byte
- This issue was solved with changeset r32758.
Max, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (rb_io_each_byte): rbuf can be refreshed during yield.
[B... -
10:20 PM Bug #5119 (Closed): Infinite Loop with IO#pos and IO#each_byte
- f = File.new(ARGV.shift)
i = 0
f.each_byte {puts "%08X" % (f.pos - 1) if (i += 1) % 16 == 1}
f.close
This code produces the expected output but never finishes the each_byte loop, instead hanging with 100% CPU usage.
The proc... -
10:41 PM Bug #4456 (Closed): Time#strftime で %F 指定子に大きな幅を指定した際の不具合
- This issue was solved with changeset r32757.
tadayoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* strftime.c (NEEDS): avoid SEGV due to integer overflow in ... -
04:50 PM Bug #4456: Time#strftime で %F 指定子に大きな幅を指定した際の不具合
- Motohiro KOSAKI wrote:
> 一週間たちましたが、こちら進捗はいかがでしょうか
無事にコミット権をもらえましたので、今日中にはtrunkとruby_1_9_3両方にコミットします。 -
01:52 PM Bug #4456: Time#strftime で %F 指定子に大きな幅を指定した際の不具合
- 一週間たちましたが、こちら進捗はいかがでしょうか
-
04:31 PM Revision 4ac69a57 (git): * io.c (rb_io_each_byte): remove unused variable e.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:26 PM Revision 1c8fd014 (git): * 2011-07-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:26 PM Revision 729c4b06 (git): Merge commit r32762:
- * test/bigdecimal/test_bigdecimal.rb (test_version): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:24 PM Revision 7f958b79 (git): * 2011-07-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:24 PM Revision 8a74797f (git): * test/bigdecimal/test_bigdecimal.rb (test_version): removed.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:53 PM Revision e613980e (git): * lib/cmath.rb (cbrt): should return a real number if possible.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:49 PM Revision 266755a6 (git): * ext/date/date_core.c: an issue that is same as [ruby-dev:44071].
- * ext/date/date_strftime.c: identical to [ruby-dev:44112].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:19 PM Revision 6466df87 (git): * defs/default_gems: separate from tool/rbinstall.rb.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:19 PM Revision 92b9c6bb (git): * defs/default_gems: separate from tool/rbinstall.rb.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:14 PM Revision 321346cf (git): * io.c (rb_io_each_byte): rbuf can be refreshed during yield.
- [Bug #5119]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:14 PM Revision 77ed5993 (git): * io.c (rb_io_each_byte): rbuf can be refreshed during yield.
- [Bug #5119]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:49 PM Bug #4457: Time#strftime で %z 指定子などに大きな幅を指定した際の不具合
- akrさん、nakadaさんのパッチはコミットしてしまっていいのでしょうか?
-
01:41 PM Revision cf310f97 (git): * strftime.c (NEEDS): avoid SEGV due to integer overflow in sparc-solaris2.10
- and i686-linux. fix [Bug #4456] [ruby-dev:43284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:41 PM Revision 875cea02 (git): * strftime.c (NEEDS): avoid SEGV due to integer overflow in sparc-solaris2.10
- and i686-linux. fix [Bug #4456] [ruby-dev:43284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:23 AM Feature #5097: Supported platforms of Ruby 1.9.3
- > Issue #5097 has been updated by Eric Wong.
>
> File 0001-allocate-th-altstack-early-run-GC-on-allocation-fail.patch added
>
> Jeremy: does my patch to allocate th->altstack in a place where xmalloc() is
> possible help?
>
... -
09:23 AM Feature #5097: Supported platforms of Ruby 1.9.3
- 2011/7/30 Jeremy Evans <merch-redmine / jeremyevans.net>:
> 16:28:55.962400 fe80::92fb:a6ff:feed:afa1.10000 > fe80::92fb:a6ff:feed:afa1.23171: [udp sum ok] udp 3 (len 11, hlim 64)
> ...
It is possible if OpenBSD doesn't support dynamic... -
08:35 AM Feature #5097: Supported platforms of Ruby 1.9.3
- =begin
It appears that OpenBSD has the correct behavior without including the pktinfo argument. I'm attaching a test program. Here's two examples of usage and the output of each.
Without including pktinfo in the server's sendmsg cal... -
07:23 AM Feature #5097: Supported platforms of Ruby 1.9.3
- 2011/7/30 Jeremy Evans <merch-redmine@jeremyevans.net>:
> It looks like the socket failure on OpenBSD is because in Socket.udp_server_recv, you are adding the pktinfo in the sendmsg call, and OpenBSD appears not to like that in all c... -
03:36 AM Feature #5097: Supported platforms of Ruby 1.9.3
- I forgot to mention that r32730, r32731, r32734, and r32738 should be merged into the 1.9.3 branch as they are currently only on trunk. Maybe r32731, r32734, and r32738 should be combined into a single patch when merging into 1.9.3.
-
03:23 AM Feature #5097: Supported platforms of Ruby 1.9.3
- > I can't understand why OpenBSD fails the test.
It looks like the socket failure on OpenBSD is because in Socket.udp_server_recv, you are adding the pktinfo in the sendmsg call, and OpenBSD appears not to like that in all cases, spec... -
12:53 AM Feature #5097: Supported platforms of Ruby 1.9.3
- 2011/7/28 Jeremy Evans <merch-redmine@jeremyevans.net>:
> The issue is that Socket.ip_address_list and Addrinfo.foreach return different things.
>
> $ ruby19 -rsocket -e 'p Socket.ip_address_list'
> [#<Addrinfo: ::1>, #<Add... -
10:38 AM Bug #5116 (Closed): Code example for URI::Parser is invalid
- The code example for URI::Parser#initialize is invalid Ruby code.
A patch is supplied. -
08:36 AM Revision 3761e00f (git): * test/win32ole/test_win32ole_variant.rb: use skip method to skip the test.
- * test/win32ole/test_win32ole_variant_outarg.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:39 AM Revision 086dd750 (git): Merge commit r32754:
- * ext/bigdecimal/bigdecimal.c (BigDecimal_version): version 1.1.0.
* ext/bigdecimal/bigdecimal.gemspec: turn into a default gem.
* tool/rbinstall.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32755 b... - 05:31 AM Revision 5edd7f07 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_version): version 1.1.0.
- * ext/bigdecimal/bigdecimal.gemspec: turn into a default gem.
* tool/rbinstall.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:57 AM Revision 70d89f2c (git): * ext/bigdecimal/lib/bigdecimal/util.rb (Rational#to_d):
- revive zero and implicit precision support as a deprecated feature.
* test/bigdecimal/test_bigdecimal_util.rb: modify a test for the above
change.
* NEWS: describes the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branche... -
03:25 AM Bug #5114: rake's tests imply the binary name of ruby
- Here's the patch I'm using to fix the rake test issues.
-
02:23 AM Revision cef42f30 (git): added ML ref
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:22 AM Revision ac397a9e (git): * vm_core.h (ALT_STACK_SIZE): use MINSIGSTKSZ*2 instead of SIGSTKSZ*2.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:58 AM Revision 64270d3d (git): merge revision(s) 32749:
- * vm.c (th_init): preallocate alternative stack.
NoMemoryError is better than rb_bug, of course.
Patch by Eric Wong. [ruby-core:38572][ruby-core:38594].
* signal.c (rb_register_sigaltstack): ditto.
*... -
01:57 AM Revision 18bc6c31 (git): * vm.c (th_init): preallocate alternative stack.
- NoMemoryError is better than rb_bug, of course.
Patch by Eric Wong. [ruby-core:38572][ruby-core:38594].
* signal.c (rb_register_sigaltstack): ditto.
* vm_core.h: moved ALT_STACK_SIZE definition from signal.c.
* vm.c (thread_free): us... -
12:53 AM Feature #5101: allow optional timeout for TCPSocket.new
- 2011/7/29 Eric Wong <normalperson@yhbt.net>:
> Like my original example in the ticket?
>
> addr = Socket.pack_sockaddr_in(9418, "127.0.0.1")
> s = Socket.new(:AF_INET, :SOCK_STREAM, 0)
> begin
> s.connect_no...