Activity
From 03/18/2009 to 03/24/2009
03/24/2009
-
10:45 PM Revision cc11923a (git): * configure.in (target_alias): replaces cpu with universal too.
- * configure.in (target): replaces cpu with arch by --with-arch.
* mkconfig.rb (TOPDIR): chops arch in config instead of
RUBY_PLATFORM which varies on universal_binary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23068 b2dd03c8... - 10:44 PM Revision 9eb6a24f (git): * 2009-03-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:44 PM Revision e5ffb6df (git): * mkconfig.rb (MAJOR, MINOR, TEENY): reads from version.h always.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:02 PM Bug #1313: gem install not working on windows server 2008
- =begin
You need to obtain the exact version of DLLs, follow these instructions:
http://www.garbagecollect.jp/ruby/mswin32/en/documents/install.html
Since the release is this one:
http://www.garbagecollect.jp/ruby/mswin32/... -
08:55 PM Bug #1313 (Rejected): gem install not working on windows server 2008
- =begin
I tried to run:
gem install mysql
after installing
and got prompted for missing dlls
ssleay32 zlib and vsinit
I tried downloading these from http://www.dll-files.com
however when they were installed obtained:
... -
03:36 PM Bug #1312: String#rindex(Regexp, offset) doesn't seem to match greedily
- =begin
Hi,
At Tue, 24 Mar 2009 15:16:12 +0900,
David Ellis wrote in [ruby-core:23009]:
> I may be wrong but I was expecting:
> "abcdefg ".rindex(/\w+/,10)
> to return 0.
Wrong expectation.
String#rindex returns the rightmo... -
03:19 PM Bug #1312 (Rejected): String#rindex(Regexp, offset) doesn't seem to match greedily
- =begin
I may be wrong but I was expecting:
"abcdefg ".rindex(/\w+/,10)
to return 0.
This is what actually happens:
irb(main):003:0> "abcdefg ".rindex(/\w+/,10)
=> 6
irb(main):004:0> $~
=> #<MatchData "g">
irb(ma... - 03:21 PM Revision 8f3eeafd (git): * 2009-03-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:21 PM Revision 45b794e8 (git): * lib/cgi.rb: $KCODE always holds its value in upper case.
- * lib/jcode.rb: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:23 AM Revision 22a3520d (git): * configure.in (RUBY_CHECK_SIZEOF): need to include $4.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:11 AM Revision be974b81 (git): * 2009-03-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:11 AM Revision 6c024efb (git): * io.c (rb_io_inspect): Cannot access fptr->fd if fptr is NULL.
- This fixes a coredump caused by: ruby -e "class X < IO; def
initialize; end; end; p X.new.inspect"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:15 AM Bug #1311: YAML::dump creates strings YAML::load cannot parse
- =begin
Correction: should read "the second line (after the initial *newline*)"
=end
-
04:56 AM Bug #1311 (Closed): YAML::dump creates strings YAML::load cannot parse
- =begin
This case seems to occur whenever
* the string begins with a newline, and
* the last line doesn't end in whitespace (except, perhaps, newlines), and
* the second line (after the initial whitespace) begins with more whitesp...
03/23/2009
-
03:02 PM Bug #1310 (Closed): HEAP_SIZE で不具合?
- =begin
=end
-
12:57 PM Bug #1310: HEAP_SIZE で不具合?
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:38187] Re: [Bug #1310] HEAP_SIZE で不具合?"
on Mon, 23 Mar 2009 07:15:37 +0900, Narihiro Nakamura <authornari@gmail.com> writes:
|ご指摘ありがとうございます.
|
|diff --git a/gc.c b/gc.c
|index ... -
07:18 AM Bug #1310: HEAP_SIZE で不具合?
- =begin
nari です.
うぅ,失礼しました..
ご指摘ありがとうございます.
diff --git a/gc.c b/gc.c
index 835ef5d..829fa7f 100644
--- a/gc.c
+++ b/gc.c
@@ -922,6 +922,9 @@ init_heap(rb_objspace_t *objspace)
add = HEAP_MIN_SLOTS / HEAP_OBJ_LIMIT;
... -
06:56 AM Bug #1310: HEAP_SIZE で不具合?
- =begin
なかだです。
At Sun, 22 Mar 2009 22:48:24 +0900,
Narihiro Nakamura wrote in [ruby-dev:38185]:
> @@ -922,6 +922,9 @@ init_heap(rb_objspace_t *objspace)
>
> add = HEAP_MIN_SLOTS / HEAP_OBJ_LIMIT;
>
> + if (add)
> + ... -
01:12 PM Bug #1307 (Closed): rb_w32_spawn broken - builds fail
- =begin
=end
-
12:28 PM Bug #1307: rb_w32_spawn broken - builds fail
- =begin
Hi Nobu,
Ah, you are right. The latest revision does work for me. Sorry for the noise - my mistake.
Charlie
=end
-
11:22 AM Bug #1307: rb_w32_spawn broken - builds fail
- =begin
Hi,
At Mon, 23 Mar 2009 07:22:35 +0900,
Charlie Savage wrote in [ruby-core:22996]:
> I tested r23017 (ok), r23023 (breaks here), r23025 (still
> broken) and r23031 (still broken). So the error is still
> occurring. The d... -
07:25 AM Bug #1307: rb_w32_spawn broken - builds fail
- =begin
Hi Nobu,
I tested r23017 (ok), r23023 (breaks here), r23025 (still broken) and r23031 (still broken). So the error is still occurring. The data I pasted from the bug report above was generated using r23031.
Let me kno... -
07:20 AM Bug #1307: rb_w32_spawn broken - builds fail
- =begin
Hi,
At Sun, 22 Mar 2009 16:09:48 +0900,
Charlie Savage wrote in [ruby-core:22988]:
> Author: Charlie Savage
> Status: Open, Priority: High
> Target version: 1.9.1
> ruby -v: Latest trunk
What is the revision?
I thin... -
01:02 PM Revision 4a0bb2dc (git): * time.c (time_timespec): use NUM2TIMET.
- (time_s_at): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:54 PM Revision cc5585f5 (git): * process.c: Eliminate an "unused variable" warning.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:53 PM Revision 8d31e446 (git): * process.c (Init_process): Better patch for eliminating an
- "unused variable".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:45 PM Revision 38d2bcd9 (git): * ext/dbm/dbm.c (fdbm_initialize): Make the file variable
- volatile, because FilePathValue() currently does not protect the
given variable from GC. (Probably it should)
* ext/sdbm/init.c (fsdbm_initialize): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23057 b2dd03c8-39d4-4d8f-9... - 12:20 PM Revision 24894b3d (git): * ext/stringio/stringio.c (StringIO#ungetbyte): New method
- backported from 1.9
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:18 PM Bug #1309: dl tests
- =begin
Hi Nobu,
Let's take the dll naming issue back to ruby-core, I'll post there in the next couple of days.
I'd still like this test to use sitearch. Is there any good reason why it can't?
Charlie
=end
-
11:21 AM Bug #1309: dl tests
- =begin
Hi,
At Mon, 23 Mar 2009 07:54:54 +0900,
Charlie Savage wrote in [ruby-core:22997]:
> First is philosophical. Using "sitearch" seems more apppriate
> than "RUBY_SO_NAME" - that is the point of sitearch isn't it?
RUBY_SO_N... -
07:57 AM Bug #1309: dl tests
- =begin
Two reasons.
First is philosophical. Using "sitearch" seems more apppriate than "RUBY_SO_NAME" - that is the point of sitearch isn't it?
Second is practical. I continue to hope that I'll be able to convince ruby core t... -
07:25 AM Bug #1309: dl tests
- =begin
Hi,
At Sun, 22 Mar 2009 16:55:56 +0900,
Charlie Savage wrote in [ruby-core:22990]:
> However, instead of getting the runtime library name from the
> dll name, it seems more appropriate to use the site-arch
> config setting... - 12:17 PM Revision 8ed83793 (git): * process.c: Stick with the K&R style in 1.8.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:15 PM Revision 3a1de825 (git): Mention IO#ungetbyte(), which I have accidentally committed together
- with other changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:07 PM Revision 2fddf6ec (git): * 2009-03-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:07 PM Revision e8b0f173 (git): * array.c (ary_resize_capa): Remove an unused function.
- * array.c, bignum.c, dir.c, enumerator.c, gc.c, io.c, numeric.c,
object.c, re.c, string.c, struct.c: Mixing two styles is not a
good thing. Stick with the K&R style in 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/rub... - 10:22 AM Revision 61e6f9b8 (git): * file.c (rb_file_s_lstat): Back out.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:17 AM Revision 78630e3a (git): merge revision(s) 22011:
- * ext/thread/thread.c (rb_queue_pop, rb_queue_push): should not lock
mutex if got an exception while waiting, and should ensure unlocked
after signaled. [ruby-dev:37545]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
10:16 AM Revision fffffd6d (git): merge revision(s) 22011:
- * ext/thread/thread.c (rb_queue_pop, rb_queue_push): should not lock
mutex if got an exception while waiting, and should ensure unlocked
after signaled. [ruby-dev:37545]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... - 10:00 AM Revision fe3de995 (git): * file.c (rb_file_s_stat, rb_file_s_lstat): Remove repeated type
- checks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:28 AM Revision e8122fad (git): merge revision(s) 17874,17886:
- * eval.c (rb_thread_join): new API.
* ext/thread/thread.c (wait_mutex, lock_mutex): wait until the locking
thread exits. [ruby-dev:34856]
* eval.c (rb_thread_value): missed to change at r17874. [ruby-core:1759... -
09:26 AM Revision 14579de4 (git): merge revision(s) 17874,17886:
- * eval.c (rb_thread_join): new API.
* ext/thread/thread.c (wait_mutex, lock_mutex): wait until the locking
thread exits. [ruby-dev:34856]
* eval.c (rb_thread_value): missed to change at r17874. [ruby-core:1759... -
08:44 AM Revision e6f839c4 (git): merge revision(s) 22654:22661:
- * file.c (file_load_ok): checks if regular file, except for the
platform disallows to open directories, e.g. dosish.
[ruby-dev:38097], [Bug #1221]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@2304... -
08:41 AM Revision caaa35f0 (git): merge revision(s) 22654:22661:
- * file.c (file_load_ok): checks if regular file, except for the
platform disallows to open directories, e.g. dosish.
[ruby-dev:38097], [Bug #1221]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@2303... -
05:58 AM Revision 5cb55eca (git): * gc.c (init_heap): set default to heap slots length
- if HEAP_OBJ_LIMIT is larger than HEAP_MIN_SLOTS. [Bug #1310]
(set_heaps_increment): increment next_heaps_length if
next_heaps_length and heaps_used are same.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23037 b2dd03c8-39d4-4d8... -
05:32 AM Revision 2c772139 (git): * win32/win32.c (rb_w32_spawn): use original command if not found.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:32 AM Bug #1306: exception when exiting from IRB if test/unit is loaded
- =begin
thanks for applying this patch
=end
03/22/2009
-
10:51 PM Bug #1310: HEAP_SIZE で不具合?
- =begin
nariです.
どうやら HEAP_SIZE が大きすぎると,追加する heap_slot 数の計算がおかしくなるようです.
以下の様に修正すると直りました.
宜しければコミットしたいのですがいかがでしょうか.
diff --git a/gc.c b/gc.c
index 835ef5d..8280ec1 100644
--- a/gc.c
+++ b/gc.c
@@ -922,6 +922,9 @... -
10:38 PM Bug #1310 (Closed): HEAP_SIZE で不具合?
- =begin
はじめまして.
東京大学の相川と申します.
gc.cのHEAP_SIZEの値を変化させてみたところ,
#define HEAP_SIZE 0x20000
とし,
$ make miniruby
とすると,ビルドは通るのですが,minirubyを実行するとSEGVが出ました.
とりあえず報告させていただきます.
$ ./miniruby -v
[BUG] Segmentation f... -
09:51 PM Revision 15265f8b (git): * enc/depend (link_so): replaces $(TARGET) with basename of the
- target. [ruby-talk:330286]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:58 PM Bug #1309 (Rejected): dl tests
- =begin
The dl tests now pass again on windows (thanks!).
However, instead of getting the runtime library name from the dll name, it seems more appropriate to use the site-arch config setting.
Patch attached.
=end
-
04:44 PM Bug #1308 (Closed): bigdecimal debug code prevents tests from running
- =begin
Trying to get ruby's test suite running on windows (not passing, just running).
If compiled with -DEBUG set, the bigdecimal extension prints out a bunch of information (it really shoulnd't) and then asks for user input via g... -
04:12 PM Bug #1307 (Closed): rb_w32_spawn broken - builds fail
- =begin
The recent change to rb_w32_spawn have totally broken it. First, it no longer quotes program names correctly. Second, it causes a buffer overflow corrupting the stack, causing the build to fail. And third, it may leak memory (... -
11:40 AM Revision 548027ef (git): * ChangeLog: fixed grammo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:39 AM Revision 21bc28ae (git): * 2009-03-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:39 AM Revision cdf2a958 (git): * lib/test/unit.rb: use Kernel.exit to get rid of using
- IRB::ExtendCommandBundle#exit. a patch from Dmitry Vazhov by
[ruby-core:22986].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:51 AM Revision 6a64e9e4 (git): * win32/win32.c (rb_w32_spawn, rb_w32_aspawn): use NULL as
- application name for batch files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:47 AM Bug #1306 (Closed): exception when exiting from IRB if test/unit is loaded
- =begin
tested on versions 1.8.6 and 1.8.7
steps to reproduce:
1) load irb
2) require 'test/unit'
3) type "exit" or hit ^D
4) result: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb.rb:76:in `throw...
03/21/2009
-
11:32 PM Bug #1092: miniruby cause SEGV on x64-mswin64_90
- =begin
This is not a bug.
You tried to build 64bit ruby with 32bit compiler. If you didn't specify the target, you will succeed to build 32bit ruby.
There are several command prompts in Visual Studio 2008 Tools.
You should not ... -
08:27 AM Bug #1304 (Closed): Kernel#system bug
- =begin
Applied in changeset r23023.
=end
-
08:08 AM Revision 5bdeb55a (git): rdoc update.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:56 AM Revision 7fd155cf (git): * ext/openssl/ossl_ssl.c (write_would_block): defined.
- (read_would_block): defined.
(ossl_start_ssl): add nonblock argument.
(ossl_ssl_connect): follow ossl_start_ssl change.
(ossl_ssl_connect_nonblock): new method.
(ossl_ssl_accept): follow ossl_start_ssl change.
(ossl_ssl_accept_... -
12:51 AM Revision f65d7065 (git): * ext/dl: updated svn:ignore.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/20/2009
-
11:52 PM Revision 1e94f2f4 (git): * test/ruby/test_process.rb (test_popen_shell): test for [ruby-core:22960].
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:44 PM Bug #1302: Strange behavior of callcc
- =begin
Hi
Thank you very much. I realized some tests that show what's going on. The code runs the above code with 5 different impelementations of Array.map. When i did the first test, i made the assertion that, on contrary to array.m... -
09:59 AM Bug #1302: Strange behavior of callcc
- =begin
Hi,
At Thu, 19 Mar 2009 04:33:40 +0900,
Christophe Calves wrote in [ruby-core:22933]:
> The code runs "[0].map" with a block which uses callcc to
> stop the execution of map and return the continuation. Later
> this contin... -
01:32 AM Bug #1302: Strange behavior of callcc
- =begin
I just tried on ruby 1.8
# ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
There is the same bug.
=end
-
01:27 AM Bug #1302: Strange behavior of callcc
- =begin
I did the same code in scheme. I tried under drscheme and petite-chez-scheme, both give the same result:
x1 = (1)
x2 = (2)
x3 = (3)
as expected.
To run the code:
petite --script testcallcc.scm
=end
-
11:28 PM Revision c9cc612c (git): * test/ruby/test_process.rb: skips tests need fd inheritance.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:22 PM Revision 56451784 (git): * win32/win32.c (rb_w32_conv_from_wstr): added.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:19 PM Revision f60de59a (git): * process.c (rb_exec): prints error message only on platforms
- neither close-on-exec nor spawnv is supported.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:17 PM Revision ba1a1217 (git): * win32/win32.c (rb_w32_spawn, rb_w32_aspawn): omit program name
- if actual program path is found. [ruby-core:22960]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:25 PM Revision 148f58c2 (git): * io.c (pipe_open): should pass program name even if multiple
- arguments are given. fix for TestProcess::test_argv0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:15 PM Bug #1304: Kernel#system bug
- =begin
According to the document of CreateProcess (http://msdn.microsoft.com/en-us/library/ms682425.aspx) :
To run a batch file, you must start the command interpreter; set lpApplicationName to cmd.exe and set lpCommandLine to the fol... -
04:15 PM Bug #1304: Kernel#system bug
- =begin
I am sorry that I mislead you. It turns out that the parameter needs to be in quoutations too (as if it's another file with a space in it)
my exact test case:
BackwardCopy.cmd:
@copy %2 %1
Test.rb:
system('"C:\... -
11:58 AM Bug #1304: Kernel#system bug
- =begin
puts RUBY_DESCRIPTION
#=> ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mswin32_90]
system('"C:\\Documents and Settings\\batchfile.bat" myparam')
(No problem)
daz
=end
-
11:33 AM Bug #1304 (Feedback): Kernel#system bug
- =begin
=end
-
11:32 AM Bug #1304: Kernel#system bug
- =begin
Hi,
At Fri, 20 Mar 2009 02:42:11 +0900,
Borislav Stanimirov wrote in [ruby-core:22960]:
> To reproduce on Windows:
> Create a batch file with one argument in a folder that has a space in its name. In Ruby call:
> ... -
02:44 AM Bug #1304 (Closed): Kernel#system bug
- =begin
To reproduce on Windows:
Create a batch file with one argument in a folder that has a space in its name. In Ruby call:
system('"c:\\your full path\\batchfile.bat" yourparam')
It will behave as if the quotations ... -
06:53 PM Feature #1102: Prepend Module
- =begin
On Feb 7, 10:42 pm, Roger Pack <rogerdp...@gmail.com> wrote:
> > Currently when a module is included into a classes, it is appended to the class hierarchy (ie. > the method lookup order). This of course makes sense, but ther... - 05:39 PM Revision f6e1b6ec (git): * 2009-03-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:39 PM Revision 17a085ea (git): * ext/openssl/lib/openssl/buffering.rb
- (OpenSSL::Buffering#write_nonblock): new method.
* ext/openssl/ossl_ssl.c (ossl_ssl_write_nonblock): new method.
(ossl_ssl_write_internal): defined.
(ossl_ssl_write): use ossl_ssl_write_internal.
git-svn-id: svn+ssh://ci.ruby-lang... - 01:56 PM Revision caf54157 (git): * object.c (rb_convert_type, rb_to_integer)
- (rb_check_convert_type): Improve error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:43 AM Revision f1f12658 (git): * array.c (Array#try_convert): New method backported from 1.9.
- * hash.c (Hash#try_convert): New method backported from 1.9.
* io.c (IO#try_convert): New method backported from 1.9.
* re.c (Regexp#try_convert): New method backported from 1.9.
* string.c (String#try_convert): New method backported ... -
09:37 AM Bug #1305 (Closed): target_os が darwin 系の場合に動的リンク不可能な実行形式が生成される場合がある
- =begin
Applied in changeset r23014.
=end
-
06:27 AM Bug #1305 (Closed): target_os が darwin 系の場合に動的リンク不可能な実行形式が生成される場合がある
- =begin
configure.in の --enable-shared を処理する部分で、target_os が darwin 系の場合、LIBRUBY_DLDFLAGS が
if test "$load_relative" = yes; then
libprefix='@executable_path/..'
else
libprefix='$(libdir)'... -
09:25 AM Revision 88db4af3 (git): * win32/win32.c (errmap): added ERROR_MOD_NOT_FOUND.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:04 AM Revision 885b6c6e (git): * 2009-03-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:04 AM Revision 69ca9dc5 (git): * ext/openssl/ossl_digest.c (GetDigestPtr): use StringValueCStr
- instead of STR2CSTR.
* ext/openssl/ossl_pkey_ec.c (ossl_ec_key_initialize): ditto.
(ossl_ec_group_initialize): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:33 AM Revision 8aad1432 (git): * ChangeLog: a patch was being attached to [Bug#1305].
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:23 AM Revision 9bd7249f (git): * configure.in (libprefix): must not append "lib" after $(libdir),
- when load_relative is not used on darwin. [ruby-dev:38182]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:20 AM Revision 835ad8b3 (git): * ChangeLog: commit miss.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/19/2009
-
11:41 PM Feature #855: HTTP/1.1 fixes and other enhancements to webrick
- =begin
I have made individual patches for all these issues and posted them onto github. There are three separate branches:
http://github.com/candlerb/webrick/commits/master
http://github.com/candlerb/webrick/commits/ruby18
http... -
06:52 PM Feature #855: HTTP/1.1 fixes and other enhancements to webrick
- =begin
There is an additional problem in setup_header, which prevents use of send_body_proc to stream bodies to HTTP/1.0 clients where no Content-Length has been set.
elsif @header['content-length'].nil?
unless @bod... -
10:32 PM Bug #1301: Poor RegExp Matching Performance
- =begin
Andreas Grau schrieb:
> BTW, a trivial optimization would be to test matching of the regexp using
> fast DFA/NFA automat and in case of a matching, use backtracking...
The new Ruby regex interpreter Oniguruma works on "very ex... -
08:19 PM Bug #1301: Poor RegExp Matching Performance
- =begin
> Theory about regular expressions (formal language theory)
> says there shouldn't be any difference, but Ruby regular
> expressions (same for Perl, Python, and so on) are not
> really regular expressions in the formal sens... -
11:16 AM Bug #1301 (Rejected): Poor RegExp Matching Performance
- =begin
=end
-
11:02 AM Bug #1301: Poor RegExp Matching Performance
- =begin
At 23:53 09/03/18, Andreas Grau wrote:
>Bug #1301: Poor RegExp Matching Performance
>http://redmine.ruby-lang.org/issues/show/1301
>
>Author: Andreas Grau
>Status: Open, Priority: Normal
>Category: core
>ruby -v: 1.9.0 (20... -
01:36 AM Bug #1301: Poor RegExp Matching Performance
- =begin
Excerpts from Marius Mårnes Mathiesen's message of Wed Mar 18 17:43:04 +0200 2009:
> Issue #1301 has been updated by Andreas Grau.
>
>
> Using this regexp
> regexp = /^(\d*\s+){8,8}+\d+$/
>
> This matches on any line st... -
12:45 AM Bug #1301: Poor RegExp Matching Performance
- =begin
Using this regexp
regexp = /^(\d*\s+){8,8}+\d+$/
This matches on any line starting with up to 8 number separated by by blanks and a final number
if the string is now in the wrong format, e.g.
str=" ... -
12:36 AM Bug #1301: Poor RegExp Matching Performance
- =begin
Excerpts from Marius Mårnes Mathiesen's message of Wed Mar 18 16:53:08 +0200 2009:
> Bug #1301: Poor RegExp Matching Performance
> http://redmine.ruby-lang.org/issues/show/1301
>
> Author: Andreas Grau
> Status: Open, Prior... -
05:45 PM Bug #1295: SEGFAULT in RHEL 4
- =begin
I downloaded the stable release from ruby lang. Nothing special, untar the tar.gz, configure, make, make install. All was working fine, even that script, but after the weekend I found a lot of error logs in the cronjob. I tried t... -
02:39 PM Bug #1295: SEGFAULT in RHEL 4
- =begin
Hmm, my environment seems not suffering this problem. Your backtrace says line 17 exists on your script, but there are only 13 lines on it. So it seems your ruby binary was broken. How did you install that ruby?
=end
-
04:30 PM Feature #1303: A name considered a local variable on RHS of an assignment that defines it
- =begin
You're basically saying that it's a matter of syntactic structure, not control flow structure and I agree. There is still a choice to be made while parsing the assignment expression: the parser might "visit" RHS first and then de... -
04:23 PM Feature #1303: A name considered a local variable on RHS of an assignment that defines it
- =begin
Agreed
Considering
def f; 123; end
defined? f #=> "method"
defined? f() #=> "method"
f=nil
defined? f #=> "local-variable"
defined? f() #=> "method"
Calling a method with () is safe always.
=... -
04:01 PM Feature #1303: A name considered a local variable on RHS of an assignment that defines it
- =begin
I agree with Shyouhei. There are many such cases where a variable may not yet have been assigned, but for consistency all future references should treat it as a variable.
Would you expect f to refer to the method or the vari... -
03:52 PM Feature #1303: A name considered a local variable on RHS of an assignment that defines it
- =begin
Agreed, but that confusion may be sourced from your defining nonintuitive method / variable names.
=end
-
02:57 PM Feature #1303: A name considered a local variable on RHS of an assignment that defines it
- =begin
It is very confusing.
case 1
def f;123;end
g = f.inspect
f = g
puts f #=> 123
case 2
def f;123;end
f = g = f.inspect
puts f #=> nil
=end
-
02:48 PM Feature #1303: A name considered a local variable on RHS of an assignment that defines it
- =begin
I don't think it being a bug, but a language design. You can always resolve a method
by prefixing "self." to the method name, but you can never add a qualifier to a local
variable, so in cases of naming conflict between loca... -
01:56 PM Feature #1303 (Rejected): A name considered a local variable on RHS of an assignment that defines it
- =begin
The following script defines a method "f" and then a variable "f" by an assignment [1]. There is a reference to "f" on RHS of the assignment. The parser treats this reference as a reference to the local variable "f", not to the m... - 03:31 PM Revision 6de469ae (git): * 2009-03-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:31 PM Revision 2208c990 (git): update rdoc and NEWS.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:19 PM Revision df19ebff (git): * 2009-03-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:19 PM Revision 6bbd8a58 (git): * ext/openssl/ossl_ssl.c: revert incomplete read_nonblock
- implemenatation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:45 PM Revision 758f9510 (git): use IO::WaitWritable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:40 AM Revision c4049f4c (git): * io.c (rb_mWaitReadable): defined.
- (rb_mWaitWritable): defined.
(io_getpartial): extend IO::WaitReadable on EWOULDBLOCK and EAGAIN.
(rb_io_write_nonblock): extend IO::WaitWritable on EWOULDBLOCK and
EAGAIN.
* error.c (make_errno_exc): extracted from rb_sys_fail.
... -
09:49 AM Revision b7800329 (git): * configure.in (RUBY_CHECK_SIZEOF): allows qualified name.
- * configure.in (RUBY_REPLACE_TYPE): checks more strictly.
* configure.in (struct stat.st_size, struct stat.st_blocks),
(struct stat.st_ino): check for size.
* lib/mkmf.rb (check_sizeof): allows qualified name.
* file.c (rb_stat_ino,... -
04:36 AM Bug #1302 (Rejected): Strange behavior of callcc
- =begin
The code runs "[0].map" with a block which uses callcc to stop the execution of map and return the continuation. Later this continuation is called three times with three different values. The expected behavior is that these calls...
03/18/2009
-
11:55 PM Bug #1301 (Rejected): Poor RegExp Matching Performance
- =begin
I noticed a very poor performance on matching regular expressions.
Running following code using ruby 1.9.0 on a Core2Duo (2x2Ghz) takes more than 20s to complete.
regexp = /[b]+.+.+.+.+.+.+.+.+[a]/
str="bbbbbbbbbbbbbb... -
04:47 PM Bug #1300 (Closed): Failure: test_open(TestSyslog) - =begin
Applied in changeset r23001.
=end
-
04:37 PM Bug #1300 (Closed): Failure: test_open(TestSyslog)
- =begin
http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/last
6) Failure:
test_open(TestSyslog) [/home/akr/chkbuild/tmp/build/ruby-trunk/20090318T130900/ruby/test/test_syslog.rb:69]:
<<#Syslog: opened=false>> expected but w... -
12:19 PM Revision 0ff55a1b (git): pattern refined for ldd on OpenBSD.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:06 PM Bug #1227: [BUG] object allocation during garbage collection phase
- =begin
Hi,
At Wed, 18 Mar 2009 11:14:05 +0900,
Nobuyoshi Nakada wrote in [ruby-core:22925]:
> It was a bug of ruby-prof. It tries to allocate an object
> during mark phase.
This patch might not be enough. You would need to ma... -
11:18 AM Bug #1227 (Third Party's Issue): [BUG] object allocation during garbage collection phase
- =begin
=end
-
11:16 AM Bug #1227: [BUG] object allocation during garbage collection phase
- =begin
Hi,
At Mon, 9 Mar 2009 19:24:33 +0900,
daz wrote in [ruby-core:22781]:
> Maybe this, from:
> http://rubyforge.org/scm/?group_id=1814
>
> svn checkout http://ruby-prof.rubyforge.org/svn/
> or
> svn checkout svn://rubyfo... -
08:04 AM Revision 867cd899 (git): * ext/socket/ancdata.c: not use pktinfo.ipi_spec_dst if not defined
- * ext/socket/extconf.rb: define HAVE_IPI_SPEC_DST
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:01 AM Revision a8aa5c44 (git): * test/test_syslog.rb (TestSyslog#test_open): check
- param after block again. because detect not to call block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:40 AM Revision 950bd573 (git): * test/test_syslog.rb (TestSyslog#test_open): check
- block parameter in block. [ruby-dev:38180]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:48 AM Revision 402b8f5d (git): * error.c (report_bug): rb_bug can be caused by extension
- libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:44 AM Bug #1299 (Closed): Build failure on i586
- =begin
Build fails on i586, where it succeeds on x86_64. Using gcc44. The snippet of log is:
==
gcc -shared -Wl,-soname,libruby.so.1.9 dln.o encoding.o prelude.o array.o bignum.o class.o compar.o complex.o dir.o enum.o enumerat...