Activity
From 11/05/2011 to 11/11/2011
11/11/2011
-
11:18 PM Bug #5619 (Closed): Segfault on OS X
- When I run 'roadie' gem specs on OS X, Ruby 1.9.3p0 segfaults.
Here's how to reproduce:
$ rvm use 1.9.3
$ git clone git://github.com/Mange/roadie.git
$ cd roadie
$ bundle install
$ bundle exec rake
I've attached the command ... -
10:49 PM Bug #5618 (Closed): Exceptions cause DRb connection to be closed
- If an exception is thrown in a DRb server of a class that is not defined in the client process, the DRb connection is closed abrubtly. In Ruby 1.8, the exception was translated to an instance generic exception class (DRb::DRbRemoteError)...
-
10:12 PM Feature #5617 (Assigned): Allow install RubyGems into dediceted directory
- Hello,
I would like to propose my patch, which allows to optionally install RubyGems library into dedicated directory, out of the default Ruby directory structure. This should enable to easily share one RubyGems library by more Ruby i... -
07:51 PM Feature #5534: Redefine Range class and introduce RelativeNumeric and RelativeRange
- I have just discovered that there is Range#cover? method which works how i would expect Range#include? to work. I would have preferred that these two behaved identically and that there were only one of them. Having the both looks t...
-
06:38 PM Feature #5607: Inconsistent reaction in Range of String
- Anonymous wrote:
> Yes, but if "X < AB" is false, "X" should not be *between* "A" and "AB".
> ...
I agree. `("A".."AB").to_a` seems inconsistent with ordering and with `("X".."AB").to_a`.
It seems that the behavior of `("A".."AB").to... -
04:23 AM Feature #5607: Inconsistent reaction in Range of String - Yes, but if "X < AB" is false, "X" should not be *between* "A" and "AB".
_md
-----Message d'origine-----
De : Alexey Muranov [mailto:muranov@math.univ-toulouse.fr]
Envoyé : jeudi 10 novembre 2011 18:15
À : ruby-core@ruby-lang... -
02:14 AM Feature #5607: Inconsistent reaction in Range of String
- This behavior of range seems consistent with
"X"<"AB" # => false
in Ruby 1.9.3. -
06:33 PM Bug #5616 (Closed): * /lib/net/imap.rb exception in IMAP.new when get_response returns nil
- The error occurred in ruby 1.8.7 when connecting to a buggy IMAP server. The error message was: Undefined method 'name' in imap.rb
It is this piece of code in line 915 (line 1067 in ruby 1.9.3):
@greeting = get_response
... -
05:02 PM Bug #5615 (Rejected): A memory leak in hash.c on Solaris (and every environment which defines __sun)
- putenv(3)は引数で与えたポインタをそのまま使うので、この時点では解放することができません。
ちなみに、該当部分の少し上で(現時点のtrunkなら2297行目)
if (!in_origenv(str)) free(str);
というコードがありますが、これが不要になったら解放するコードになります。
# ということを、私も今回初めて知りました。 -
02:56 PM Bug #5615 (Rejected): A memory leak in hash.c on Solaris (and every environment which defines __sun) - Reproducing steps: I didn't test the patch. Please do.
Result of `ruby -v`: ruby 2.0.0dev (2011-11-11 trunk 33704) [i686-linux]
What you expected: ruby should not have any memory leak.
What you happened: It seems to have a memory leak... -
04:50 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide - Nobuyoshi Nakada wrote:
> You should use RbConfig::CONFIG["LIBPATHENV"] instead of hardcoded "LD_LIBRARY_PATH".
Sorry, didn't notice I can use that, here is the proposed patch: https://gist.github.com/1357452 -
02:24 AM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- You should use RbConfig::CONFIG["LIBPATHENV"] instead of hardcoded "LD_LIBRARY_PATH".
-
02:17 PM Bug #5614 (Closed): Proc#source_location & #inspect shows wrong line number when chained
- When procs are chained, the line number for each proc is mis-calculated to be the 1st proc's line-number.
Eg.
class Foo
def bar(&blk)
pp blk.source_location
self
end
end
Foo.new.bar d... -
02:01 PM Revision db48bbdf (git): * ext/dbm/extconf.rb: db_prefix is not required now.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:21 PM Feature #5613 (Closed): Signal.termsigname メソッドの追加
- 現状、$?.termsigでシグナル番号が得られますが番号なんかもらってもちっとも嬉しくなく、
(シグナル番号はポータブルじゃないから)結局
signame = Signal.list.invert[$?.termsig]
とやってシグナル名に変換する必要があるように思います。毎回。
ばかばかしいので、 termsignameという文字列を返すメソッドの追加を提案します。 -
01:12 PM Feature #5612: bootstraptestをCtrl-Cで止まるようにしたい
- バグってた。こうかな?
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index df58ca5..eaed292 100755
--- a/bootstraptest/runner.rb
+++ b/bootstraptest/runner.rb
@@ -169,6 +169,8 @@ def show_progress(message = '')
$stderr... -
11:07 AM Feature #5612 (Closed): bootstraptestをCtrl-Cで止まるようにしたい
- タイトルのとおりですが、make test が途中でやめたくなっても(テストを始めた所でバグに気づくとかよくありますよね?)
Ctrl-Cが効かなくてイライラします。
ようするにSEGVを 'E' にするために、握りつぶしてる箇所に手を入れるだけな気がするので、
以下のパッチで十分なように思うのですがどうでしょうか
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index ... -
12:14 PM Revision 268f6c36 (git): * ext/gdbm/gdbm.c (fgdbm_initialize): use GDBM_CLOEXEC if available.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:03 PM Revision 266d0983 (git): * ext/dbm/extconf.rb: fix dbm_pagfno and dbm_dirfno detection with
- Berkeley DB. Macro definitions needs arguments to detect correctly.
SIZEOF_DSIZE needs -DDB_DBM_HSEARCH because db.h defines datum type
only if DB_DBM_HSEARCH is defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33708 b2... -
11:08 AM Feature #5562: Improvement of Windows IO performance
- > I checked "make test". It passed with no fails.
Good.
> ...
About this point, I am neutrality.
I think that priority may be given there if everyone says that
performance is more important.
-
10:48 AM Feature #5562: Improvement of Windows IO performance
- > # BTW, did you check "make test"?
> ...
I checked "make test". It passed with no fails.
Although I don't understand I/O canceling support mechanism yet, is there a way to overcome that? -
10:12 AM Feature #5562 (Assigned): Improvement of Windows IO performance
- Since this patch should repeal the existing I/O canceling support mechanism,
I am anxious about influence unexpected very broadly coming out.
However, it seems that such big influence has not come out as long as seeing your result.
# ... -
04:16 AM Feature #5562: Improvement of Windows IO performance
- Hiroshi Shirosaki wrote:
> I'm not sure how to do with test-all. mingw ruby seems not to pass all tests.
That is correct, if you add skip to the following two:
TestRequire#test_require_invalid_shared_object
TestRubyOptions#test_s... -
01:23 AM Feature #5562: Improvement of Windows IO performance
- I'm not sure how to do with test-all. mingw ruby seems not to pass all tests.
Anyway I tried to make test-all.
If ruby-core committers like this result, I hope this patch merged to trunk.
I have modified a patch to trunk. Previous p... -
09:42 AM Revision 6cedbce8 (git): * process.c (proc_seteuid): separate an internal wrapper function
- from the method implementation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:00 AM Feature #5588: add negation flag (v) to Regexp
- Allow me to explain the current embedded negated regexp implementation.
When parsing an embedded negated regexp (?v:r), we expand them into this:
OP_NEGATE_START(?:r)?OP_NEGATE_END.*?
Here, OP_NEGATE_START and OP_NEGATE_END ar... -
08:38 AM Feature #5588: add negation flag (v) to Regexp
- I did it! ^_^ Please take a look:
https://github.com/sunaku/ruby/compare/5588_regexp_v
There are a few issues remaining with the implementation:
* Store snegate on STACK support nested embedded negated regexps.
* Find a bett... -
08:40 AM Feature #5610: Allow strings as input for Process.uid=
- The request looks make sense to me.
-
06:20 AM Feature #5610: Allow strings as input for Process.uid=
- Oops, sorry. Not a bug, but a feature request. Hmm not sure how to change it ...
-
06:19 AM Feature #5610 (Closed): Allow strings as input for Process.uid=
- On my unix system I often have a "debug" user account, belonging to the "debug" group.
With:
Process.euid
You can find out the effective uid and you can change it via =.
Process.euid = 522
That works. Today I tried t... -
08:21 AM Revision 214fd6ce (git): * lib/mkmf.rb (have_library, find_library, have_func): allow
- arguments of function to be checked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:09 AM Revision 05e73548 (git): * vm_dump.c (HAVE_BACKTRACE): fallback to 0.
- * vm_dump.c (rb_vm_bugreport): show "Other runtime information"
header only when available.
* vm_dump.c (rb_vm_bugreport): get rid of modifying the content of
VM directly.
* vm_dump.c (rb_vm_bugreport): check if vm is non-null.
Poi... -
07:19 AM Bug #5611 (Closed): Segfault in net/http.rb
- =begin
Running a rails app with ruby 1.9.3, rails 3.1.1, with omniauth 1.0.0 and omniauth-facebook 1.0.0, I get this message trying to access (({/auth/facebook}))
[2011-11-10 23:01:08] INFO WEBrick 1.3.1
[2011-11-10 23:01:08]... -
03:41 AM Revision 0d746627 (git): * io.c (pipe_open): Remove fflush(stdin). it's no effect.
- Pointed out by Ikegami Daisuke <ikegami.da@gmail.com>.
Thank you.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:35 AM Revision 688e1b34 (git): add comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/10/2011
-
11:44 PM Feature #5562: Improvement of Windows IO performance
- Thank you and I will try `make test-all TESTS='-v'`
From my perspective, our challenge is to prove the patch works well against the current tests while keeping the issue from stagnating. It's great that the patch passes `make test` an... -
03:24 PM Feature #5562: Improvement of Windows IO performance
- Jon, thank you for your work.
I have same difficulty. I have two error dialogs while 'make test-all'. I have to click and close error dialog to continue tests.
We can know test case which stops test by 'make test-all TESTS="-v"'. TESTS... -
06:52 AM Feature #5562: Improvement of Windows IO performance
- I'm having a very difficult time getting you `make test-all` comparisons because of these types of failures
http://www.mediafire.com/imgbnc.php/aa869e92ba544fb74b7576986810b881e4fb826581f4ac448d02d50f7cf2ef366g.jpg
That said, her... - 11:35 PM Revision da7cefb0 (git): * 2011-11-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:35 PM Revision 661a936e (git): * lib/net/http.rb (Net::HTTP::SSL_ATTRIBUTES): Use symbol keys instead
- of string keys to avoid duplicating parameters in
OpenSSL::SSL:SSLContext#set_params.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:35 PM Bug #5608 (Open): make -j 16 sometimes fail
-
07:55 PM Bug #5608 (Assigned): make -j 16 sometimes fail
-
07:41 PM Bug #5608 (Closed): make -j 16 sometimes fail
- configureの後make -j 大きい数字でコンパイルすると時々失敗するようです。
make -j 16で3回やって2回失敗でした。
(試行の度にrm -fr ruby-1.9.3-p0して再度展開しています)
2回目に失敗した時のログでは、
/bin/mkdir: `../../.ext/common/dl' exists but is not a directory
make[2]: *** [../../.ext/common/dl] Erro... -
09:53 PM Feature #5607: Inconsistent reaction in Range of String
- See #2323. In particular, in note 2, Matz acknowledges that the situation is muddled when it comes to Ranges specified by Strings.
-
09:23 PM Feature #5607: Inconsistent reaction in Range of String - It should be forbidden to have a Class (here Range) whose instance
methods are linked by variable axiomatic relations, depending on the
actual instance. There are too many different concepts covered by the
same name Range.
Ac... -
08:12 PM Feature #5607: Inconsistent reaction in Range of String
- Hi,
This is indeed surprising.
Range#to_a is calling Range#each which has a special case for Strings to call String#upto, which is said to use String#succ.
However, in rb_str_upto (string.c:2995), there is a test that do not yield... -
06:46 PM Feature #5607 (Closed): Inconsistent reaction in Range of String
- =begin
When I tried to access excel file, I found some inconsistent behavior about range of string.
ruby-1.9.3-p0 :001 > ("A".."AB").to_a
=> ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R"... -
05:37 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide - Bohuslav Kabrda wrote:
> I believe that I have found a solution to this problem. The proposed patch is in the attached file.
And here is maybe a bit more systematic solution. -
05:19 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide - Vit Ondruch wrote:
> Motohiro KOSAKI wrote:
> ...
I believe that I have found a solution to this problem. The proposed patch is in the attached file. -
05:19 PM Feature #5606: String#each_match(regexp)
- 長い配列中のモチーフの存在位置のリストを作りたいので、位置(offset)が必要です。
String#scan ではダメかというと
longstring.scan(regex) do |matchstr|
m=Regexp.last_match
...
puts "#{m.begin(0)}-#{m.end(0)-1} some other info"
end
でとれば確かにとれるらしいけど、いかにもトリッキーな... -
02:48 PM Feature #5606: String#each_match(regexp)
- String#scan ではダメな理由を、ユースケースを添えて示す必要があると思います。
-
02:36 PM Feature #5606 (Feedback): String#each_match(regexp)
- 文字列上の正規表現に一致する場所のoffsetを順に処理できるような
イテレータが欲しかったのですが、
ざっと検索すると1996年
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-list/1206
の昔から話はあり、
http://stackoverflow.com/questions/6804557/how-do-i-get-the-match-data-for-all-occurrences-... -
01:08 PM Bug #5591: Windows bug when using "shortcut" syntax with output redirection
- I can reproduce this issue with trunk on Windows XP.
The changeset r33692 solves this bug too.
On Windows XP, fstat failed with errno EACCES when called with shortcut and redirected stdout.
-
12:46 PM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
- よく見たら、fcntlのときに IOCPARM_LEN を呼んでるのはバグですね。ioctlのcmdしか IOCPARM_LEN でデコードできません。これが動くのはfcntlの引数にstring渡す人が一人もいなかったからでしょうね。
-
08:10 AM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
- fcntl は全プラットフォーム int のようである。めでたい
== Linux
int fcntl(int fd, int cmd, ... /* arg */ );
https://www.kernel.org/doc/man-pages/online/pages/man2/fcntl.2.html
== FreeBSD
int fcntl(int fd, int cmd, ...);
http://fuse4bsd.creo.hu/loca... -
07:37 AM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
- 途中までやってみましたが、ioctlはunsigned longでもfcntl はintなので、もうちょっと工夫がいりますね。
-
12:29 PM Feature #5605: [PATCH] net/http: use IO.copy_stream for requests using body_stream
- Eric Hodel <drbrain@segment7.net> wrote:
> For the chunked? half, would looping over
> (({IO.copy_stream f, sock.io, 1024})) be faster?
Yes, but its a rare case, needs to depend on a non-portable ioctl(),
and isn't much faste... -
10:47 AM Feature #5605: [PATCH] net/http: use IO.copy_stream for requests using body_stream
- =begin
For the chunked? half, would looping over (({IO.copy_stream f, sock.io, 1024})) be faster?
=end
-
09:55 AM Feature #5605 (Closed): [PATCH] net/http: use IO.copy_stream for requests using body_stream
- This significantly reduces both user and system CPU usage in the
client while making uploads. When using plain HTTP with a
known Content-Length, IO.copy_stream may also use sendfile() to
further reduce user CPU time.
I tested usin... -
11:39 AM Revision e68f4ac7 (git): add comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:23 AM Bug #5556: SIGHUP no longer ignored when sent to process group from a subprocess
- > The use case is any reason someone would send a signal to the process group but not want the parent process to abort. I'm quite sure there is existing code that depends on this behavior even by accident. The fact that it changed will ...
-
03:27 AM Bug #5556: SIGHUP no longer ignored when sent to process group from a subprocess
- The use case is any reason someone would send a signal to the process group but not want the parent process to abort. I'm quite sure there is existing code that depends on this behavior even by accident. The fact that it changed will aff...
-
02:21 AM Bug #5556: SIGHUP no longer ignored when sent to process group from a subprocess
- In addition, signal handler is per-process resource. iow, changing sighandler is thread unsafe. then, we don't want unnecessary sighandler change. that's why I ask you usecase.
-
02:20 AM Bug #5556 (Feedback): SIGHUP no longer ignored when sent to process group from a subprocess
-
02:19 AM Bug #5556: SIGHUP no longer ignored when sent to process group from a subprocess
- > Is this change intentional? I discovered it running RubySpec, where there are specs for the behavior of sending SIGHUP to the process group.
In short. Yes, intentional. SIGHUP ignorance is mimic of csh. but current almost modern she... -
11:23 AM Feature #5341: Add SSL session reuse to Net::HTTP
- On Oct 26, 2011, at 6:06 AM, Hiroshi Nakamura wrote:
> On 10/26/2011 11:39 AM, Eric Hodel wrote:
>> Net::HTTP objects can be reused. You may start and finish a
>> connection as many times as you like (the net-http-persistent gem
>>... -
10:32 AM Feature #5588: add negation flag (v) to Regexp
- Alas, I was unable to resist the lure of implementing this, so I'm back to give this another try.
My current approach is to expand (?v:STUFF) into (?:(?!STUFF).) when the regexp AST is built.
The goal is to have an negated embedded... -
09:46 AM Feature #5588: add negation flag (v) to Regexp
- After several deep excursions into the regexp codebase, I've had enough. :)
As Tanaka(!) showed in 2007, negative *global* regexps are already there:
## http://www.ruby-forum.com/topic/133413#595368
>> "rubyperl" =~ /^((?!perl).)+... -
08:37 AM Bug #5604 (Closed): Remove extra ":" in errors created by ossl_raise
- Callers of ossl_raise do not need to provide a ":" at the end of the error string because ossl_raise calls ossl_make_error which will add the ":" if necessary.
Without this patch some OpenSSL errors look like "SSL_CTX_set_cipher_list:... -
08:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Aaron Patterson <tenderlove@ruby-lang.org> wrote:
> I spoke with matz about this issue at RubyConf. I *think* he said it
> was a good feature, but he wanted a different API. I can't remember
> exactly.
>
> Maybe matz can co... -
06:43 AM Revision 6c9a2359 (git): * ext/dbm/extconf.rb: set DB_DBM_HSEARCH macro to check dbm_pagfno and
- dbm_dirfno on older Debian.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:43 AM Revision fb1836ab (git): * ext/dbm/extconf.rb: check for dsize as LONG_LONG.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:13 AM Revision fc5f37f0 (git): * lib/mkmf.rb (try_func): ignore empty opts.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:02 AM Revision cfe220d8 (git): * lib/mkmf.rb (have_library, have_func, have_var, have_header):
- add compiler option parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:56 AM Bug #5493: Commit r33357 breaks build on Debian/sparc
- I've noticed that a failure to create a timer thread causes the following to appear in dmesg:
[ 2047.656289] FAULT[miniruby:2299]: 32-bit process reports 64-bit fault address [16fdf6d9d]
[ 2047.764409] TSTATE: 0000008011001600 TPC: 0... -
02:22 AM Bug #5082 (Closed): test_context_switch(TestMarshal) was failed on OS X 10.7 (Lion)
- llvm-gcc はサポートしないと決定されたほうですので、closeします
11/09/2011
-
11:45 PM Revision a5fc87bd (git): * ext/openssl/lib/openssl/ssl.rb (class OpenSSL::SSL::SSLContext):
- Document #set_params.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:23 PM Bug #5591: Windows bug when using "shortcut" syntax with output redirection
- Couldn't reproduce with 2.0.0 r32684 on Windows 7.
-
06:38 PM Feature #5588: add negation flag (v) to Regexp
- You are correct, Tanaka. I have been exploring the regexp implementation to understand why and I learned that the negate flag must be compiled as an opcode (similar to multiline and ignorecase) into the re_pattern_buffer->p string.
M... -
09:53 AM Feature #5588: add negation flag (v) to Regexp
- 2011/11/9 Suraj Kurapati <sunaku@gmail.com>:
> * We can pass '(?v:)' in embedded regexp but it does not take effect.
> The resulting regexp object's #options field does not reflect 'v'.
The option can be embedded to middle ... -
08:32 AM Feature #5588: add negation flag (v) to Regexp
- I tried to implement this feature in this patch:
https://github.com/sunaku/ruby/commit/79305ba55c7ece5501c9219942eaf30e01a370a9
I was able to make Ruby recognize 'v' as an embedded regexp flag,
and was able to create regexps via the... -
06:20 PM Feature #5578: Embedded YAML for Ruby 2.0
- Count me in on the "Nay" side: I strongly agree with Nikolai's and Alexey's points. Ruby as a language is already quote cool, and certainly cool enough for me. Ruby as a platform, on the other hand, has lots of bugs. Can we please do mor...
-
05:30 AM Feature #5578: Embedded YAML for Ruby 2.0
- I think that when two different languages are used in a same source file, especially a whitespace sensitive one and a non whitespace sensitive, it is good to have them clearly separated.
-
05:23 AM Feature #5578: Embedded YAML for Ruby 2.0
- On Tue, Nov 8, 2011 at 19:29, Thomas Sawyer <transfire@gmail.com> wrote:
> @kurt "Why does YAML need first class status?"
> But see my last post about the potential for deeper integration. In short, the later can only ever handle ... -
04:29 AM Feature #5578: Embedded YAML for Ruby 2.0
- On Nov 8, 2011, at 15:29 , Thomas Sawyer wrote:
>
> Issue #5578 has been updated by Thomas Sawyer.
>
>
> @kurt "Why does YAML need first class status?"
>
> On the surface it's just more elegant. e.g.
>
> x -
04:21 AM Feature #5578: Embedded YAML for Ruby 2.0
- =begin
This is valid ruby code:
x = ---
a
This is valid YAML:
p YAML.load "---\na: -> { Time.now }"
# => {"a"=>"-> { Time.now }"}
You seem to be proposing a new thing which collides with valid Ruby code and valid... -
03:29 AM Feature #5578: Embedded YAML for Ruby 2.0
- @kurt "Why does YAML need first class status?"
On the surface it's just more elegant. e.g.
x = ---
a: 1
b: 2
...
vs.
x = YAML %{
a: 1
b: 2
}
But see my la... -
01:23 AM Feature #5578: Embedded YAML for Ruby 2.0 - On Tue, Nov 08, 2011 at 04:14:02AM +0900, Magnus Holm wrote:
> On Mon, Nov 7, 2011 at 16:30, Kurt Stephens <ks.ruby@kurtstephens.com> wrote:
> > Why does YAML need first class status? Define a constructor on the YAML module, and use... - 05:10 PM Revision b5167b48 (git): * 2011-11-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:10 PM Revision 871c6923 (git): * thread_pthread.c (gvl_yield): don't prevent concurrent sched_yield().
- [Bug #5130] [ruby-core:38647]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:44 PM Bug #5571 (Rejected): Syntax Error when put String eql? with logical operation ("||") or "("&&")
- Yes, because command call (method call without parentheses) has lower precedence than || operator.
-
02:23 PM Revision c88d3561 (git): * io.c (rb_update_max_fd): fstat(2) can fail with other than
- EBADF. [ruby-dev:44837] [Bug #5593]. Cf.
http://pubs.opengroup.org/onlinepubs/9699919799/functions/fstat.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:20 PM Revision 1393e55d (git): * io.c (rb_update_max_fd): fstat(2) can fail with other than
- EBADF. [ruby-dev:44837] [Backport #4339]. Cf.
http://pubs.opengroup.org/onlinepubs/9699919799/functions/fstat.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:54 PM Revision 42b4255d (git): * io.c (rb_sysopen): max fd is updated in rb_sysopen_internal()
- already.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:26 PM Bug #5526 (Closed): SEGV: ./ruby -rfiber -ve'f=Fiber.new{f.resume};f.transfer'
- This issue was solved with changeset r33684.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* cont.c (rb_fiber_m_transfer, rb_fiber_resume): prohibit using
... -
01:26 PM Revision 3f289d92 (git): add comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:15 PM Revision 7df246bd (git): * test/ruby/test_file.rb (TestFile#test_utime_with_minus_time_segv):
- fixed previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:01 PM Bug #5598 (Feedback): man pages are in mdoc format
- Doesn't `make install MANTYPE=man' work?
-
11:40 AM Bug #5597 (Closed): ruby build isn't completely VPATH friendly
- This issue was solved with changeset r33683.
Rainer, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* template/Doxyfile.tmpl (INCLUDE_PATH): add srcdir and include... - 11:08 AM Revision 54cb6309 (git): * test/ruby/test_file.rb (TestFile#test_utime_with_minus_time_segv):
- add test for r33685.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:48 AM Bug #5602 (Closed): io/console methods are not listed in top-level IO documentation
- It's very hard to find the methods that apply to IO.console from the new 'io/console' library.
-
10:32 AM Bug #5594 (Closed): test -e in configure is unportable
- This issue was solved with changeset r33681.
Rainer, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* configure.in: should not use test -e for portability.
[ruby... -
10:25 AM Bug #5595 (Third Party's Issue): Avoid QUIET = NO in Doxyfile
-
10:02 AM Revision 0c215e34 (git): * test/ruby/test_fiber.rb: add tests for r33684 (Fiber#resume).
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:41 AM Bug #5532: Compile problem for bigdecimal on cygwin
- Yes, exactly. And the problem went away when I cd'd back to /cygdrive/c/Data/ruby/. Many thanks again!
-
08:37 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
- I have updated the patch against ruby-trunk:
https://github.com/sunaku/ruby/commit/137092768af325827f3d0764325713ec51387218
It is in my branch here:
https://github.com/sunaku/ruby/tree/2294_bind_stack - 07:43 AM Revision 572e4807 (git): * win32/win32.c (unixtime_to_filetime): should check the return value
- of localtime(). reported by snowjail at gmail.com.
[ruby-dev:44838] [Bug #5596]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:26 AM Revision 9cd8b76e (git): * cont.c (rb_fiber_m_transfer, rb_fiber_resume): prohibit using
- "resume" after "transfer" method are used. You should not mix
"resume" fiber and "transfer" fiber.
[Bug #5526]
* NEWS: add information about this change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33684 b2dd03c8-39d4-4d8f-... -
02:47 AM Bug #5600 (Assigned): OpenSSL::X509::Request can't sign() an OpenSSL::PKey::EC
-
02:36 AM Bug #5600 (Closed): OpenSSL::X509::Request can't sign() an OpenSSL::PKey::EC
- Unlike the PKey::DSA and PKey::RSA classes, PKey::EC provides a private_key?() rather than private?() method and is thus incompatible with the other OpenSSL classes that rely on them, i.e. it makes impossible to generate a certificate si...
-
02:40 AM Revision b2c44e7a (git): * template/Doxyfile.tmpl (INCLUDE_PATH): add srcdir and include.
- [ruby-core:40843] [Bug #5597]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:13 AM Bug #5524 (Closed): IO.wait_for_single_fd(closed fd) sticks on other than Linux
- This issue was solved with changeset r33677.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
FreeBSD 8.2 sticks this [ruby-dev:44726] [Bug #5524]
http://redmin... -
02:10 AM Bug #5524: IO.wait_for_single_fd(closed fd) sticks on other than Linux
- Motohiro KOSAKI wrote:
> なるせさんのテストプロは selectのmaxfds引数が間違っているので、動かないのは期待通りではないでしょうか。以下の修正をあててFreeBSDで
> ...
おぉ、なるほど、確かにそれだと FreeBSD だけ動きません。
FreeBSD 側のバグとして報告しました、当面 FreeBSD だけスキップするようにします。
http://www.freebsd.org/cgi/query-pr.cgi?pr=1... -
01:40 AM Bug #5524 (Feedback): IO.wait_for_single_fd(closed fd) sticks on other than Linux
-
01:40 AM Bug #5524: IO.wait_for_single_fd(closed fd) sticks on other than Linux
- なるせさんのテストプロは selectのmaxfds引数が間違っているので、動かないのは期待通りではないでしょうか。以下の修正をあててFreeBSDで
動かしてもらえませんか
~/projects/test/select_ebadf% diff -u select_badf.c.orig select_badf.c
diff -u select_badf.c.orig select_badf.c
--- select_badf.c.orig 2011-11-... -
02:06 AM Revision b10c3136 (git): * thread.c (do_select): fix cast, tv_sec is time_t.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:52 AM Feature #5562: Improvement of Windows IO performance
- Still looking great! I'm working on getting you profiling info and `test all` results/diffs.
Results for text line reads on 500,000 LF delimited file. Your patch is the `wio-ruby 1.9.3p0` results which beats the legacy `1.8.7p352` re... -
01:32 AM Revision e120e375 (git): * configure.in: should not use test -e for portability.
- [ruby-core:40841] [Bug #5594]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:32 AM Revision f9188dea (git): property
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK - On Tue, Nov 08, 2011 at 06:59:38AM +0900, Eric Wong wrote:
> Yehuda Katz <wycats@gmail.com> wrote:
> > Bug #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
>
> I don't want this issue to get dropped, s...
11/08/2011
-
11:37 PM Feature #5584: Array#sample!
- パッチをちょっと改善しました. (see by_sorah.diff)
* Array#sample, Array#sample! で処理が共通な部分が多いため,内部にさらに関数呼び出しを加え,フラグによって
動作の分岐をするようにした
本当はテストケースも書こうと思ったのですが,明日やります… -
10:53 PM Feature #5584: Array#sample!
- まつもと ゆきひろです
In message "Re: [ruby-dev:44825] Re: [ruby-trunk - Feature #5584][Open] Array#sample!"
on Mon, 7 Nov 2011 22:53:21 +0900, Yusuke Endoh <mame@tsg.ne.jp> writes:
|2011年11月7日15:43 Masaki Matsushita <glass.saga@g... -
09:52 PM Feature #5584: Array#sample!
- 確かにpickだけだと無作為に取り出す感じがありませんね。
pick_at_rand あるいは delete_at_rand はどうでしょう? -
09:48 PM Feature #5584: Array#sample!
- じゃあsample!になりますかねぇ...
pick からは少なくとも無作為抽出な動作を感じ取ることはできないですね. -
09:46 PM Feature #5584: Array#sample!
- 「無作為抽出」は random sampling という用語がありますので、多少長くても Enumerable#random_sampling(n) ぐらいが適切かと思います。
#sample! が駄目で、#random_sampling が長過ぎるとなれば、この概念を導入するのに相応しい名前は無いように思われます。 -
08:53 PM Feature #5584: Array#sample!
- むらたです。
(2011.11.08 15:39 ), Masaki Matsushita wrote:
> Mon, 7 Nov 2011 22:53:21 Yusuke Endoh <mame tsg.ne.jp>:
>> sample! という名前が最大のネックのようですので、他の名前をえるといいと思います。
>
> 思いつくものとしてはpickやdrawといったところでしょうか。
> 個人的にはpickがしっくりきます。
... -
03:39 PM Feature #5584: Array#sample!
- Mon, 7 Nov 2011 22:53:21 Yusuke Endoh <mame tsg.ne.jp>:
>sample! という名前が最大のネックのようですので、他の名前をえるといいと思います。
思いつくものとしてはpickやdrawといったところでしょうか。
個人的にはpickがしっくりきます。
Tue, 8 Nov 2011 00:44:07 近藤 充弘 <miche mac.com>:
> ...
Enumerator#nextでは列挙状... -
12:53 AM Feature #5584: Array#sample! - 近藤です
> 配列からランダムに要素を取り出したい場合には
>
> a = (1..5).to_a
> a.delete_at(rand(a.size)) #=> 3
> p a #=> [1, 2, 4, 5]
>
> などと書く必要がありましたが、
a = (1..5).to_a.shuffle.each
a.next #=> 3
> 引数を指定した場合は、その数だけレシーバから要素を取り除き、新たな配... -
11:35 PM Bug #5598 (Closed): man pages are in mdoc format
- Unfortunately, the ruby man pages are in mdoc format (as detected by grog).
The Solaris man/nroff commands cannot deal with that format, rendering the man
pages effectively useless.
Please provide them using only man macros instead ... -
11:33 PM Bug #5597 (Closed): ruby build isn't completely VPATH friendly
- While a VPATH build of ruby 1.9.2-p290 on Solaris 10 basically worked fine, I got
a couple of warnings that could (and should) be avoided:
During the doxygen step, I get
/vol/src/ruby/ruby-1.9.2-p290/ext/ripper/ripper.y:18: Warni... -
11:29 PM Bug #5595 (Third Party's Issue): Avoid QUIET = NO in Doxyfile
- When building ruby 1.9.2-p290 on Solaris 10, the build aborted very late:
Doxyfile updated
Warning: ignoring unsupported tag `SYMBOL_CACHE_SIZE =' at line 43, file Doxyfile
Warning: ignoring unsupported tag `LAYOUT_FILE ... -
11:25 PM Bug #5594 (Closed): test -e in configure is unportable
- When I tried to build ruby 1.9.2-p290 on Solaris 10 (both SPARC and x86), it failed with an
error in the configure script:
checking for cd using phisical directory... ./configure: test: argument expected
While the typo has been fi... -
09:38 PM Bug #5532: Compile problem for bigdecimal on cygwin
- Hi,
I noticed that the problem started when you executed "cd /cygdrive/c/Data/Ruby"
instead of "cd /cygdrive/c/Data/ruby".
Here is the test case.
$ mkdir -p /cygdrive/c/Data/ruby
$ cd /cygdrive/c/Data/Ruby
phasis@phasis-PC... -
07:25 PM Bug #5532 (Closed): Compile problem for bigdecimal on cygwin
- Hello Heesob,
Many thanks for solving this problem. You are right that it is about case differences in the path name. However, your description might be slightly misunderstood. The problem is not upper-case letters per se, but letters... -
01:01 AM Bug #5532: Compile problem for bigdecimal on cygwin
- I managed to reproduce this issue and found that it is due to the capital letter in the path name.
If you use capital letter in the path name like "/cygdrive/c/Data/Ruby",
in the line #157-159 of lib/mkmf.rb
topdir = File.dirname(F... -
07:54 PM Revision 4c63e027 (git): * ext/psych/lib/psych/tree_builder.rb: dump complex numbers,
- rationals, etc with reference ids.
* ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
* ext/psych/lib/psych/visitors/to_ruby.rb: loading complex numbers,
rationals, etc with reference ids.
* test/psych/test_object_references.rb: corres... -
06:32 PM Feature #5588: add negation flag (v) to Regexp
- Hello Matz,
What do you mean by positional information:
* anchors (\A, ^, $, \G, etc.) ?
* capture-group numbers ($1, $2, $3, etc.) ?
* MatchData#begin, #end, #offset ?
The v flag should only affect the low-level =~ and !~ ope... -
03:59 PM Feature #5588: add negation flag (v) to Regexp
- I would suggest to deal with it a new (sub)class instead: arbitrary boolean combinations of regexps, without regard for positional information.
-
02:11 PM Feature #5588: add negation flag (v) to Regexp
- How do you treat positional information with v flag?
-
01:54 PM Feature #5588: add negation flag (v) to Regexp
- Good idea, but negative lookahead isn't the same as negation:
$ irb
## ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
>> "rubyperl" =~ /(?!perl)/
0
> ...
4
>> "rubyperl" !~ /perl/
false
Thanks for your consideration. -
11:53 AM Feature #5588: add negation flag (v) to Regexp
- It is not to hard to negate a regexp, though. Simply wrap it as negative look-ahead.
Konstantin
On Nov 7, 2011, at 23:04 , Suraj Kurapati wrote:
>
> Issue #5588 has been updated by Suraj Kurapati.
>
>
> Note that I am no... -
11:04 AM Feature #5588: add negation flag (v) to Regexp
- Note that I am not asking for the ability to take an arbitrary regexp and construct its negated form (that is a hard problem). Instead, I am asking for a flag that simply inverts how a regexp is treated by the =~ and !~ operators (this ...
-
10:59 AM Feature #5588 (Closed): add negation flag (v) to Regexp
- Please add a negation flag (v) to regexps which inverts them:
"ruby" =~ /perl/v #=> true (turn on negation)
"ruby" !~ /perl/v #=> false (turn on negation)
"ruby" =~ /(?v:perl)/ #=> true (turn on negation)
... -
06:00 PM Bug #5591 (Closed): Windows bug when using "shortcut" syntax with output redirection
- How to reproduce:
---- snip ----
# test.rb
puts test
---- snip ----
Start Command Prompt with Ruby 1.9.3:
$ ruby test.rb
test
$ ruby test.rb > out
$ type out
test
$ test
test
$ test > out
[BU... -
05:52 PM Bug #5497: Math.log10(10_000) error on HP-UX/PA
- The Written Word Inc wrote:
> Yui NARUSE wrote:
> ...
Hmm, it is strange but I don't have any idea.
> > > (pa-risc)
> ...
OK, can you show a result without %a?
As Bílka says, this is because it is floating point, but it can be f... - 05:13 PM Revision 7bb2da2e (git): * 2011-11-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:13 PM Revision 3d855def (git): FreeBSD 8.2 sticks this [ruby-dev:44726] [Bug #5524]
- http://redmine.ruby-lang.org/issues/5524
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:34 PM Revision 0e4c2ce8 (git): * ext/dbm/dbm.c (fdbm_fetch, fdbm_key, fdbm_delete, fdbm_store)
- (fdbm_has_key, fdbm_has_value): get rid of overflow.
* ext/gdbm/gdbm.c (rb_gdbm_fetch2, rb_gdbm_nextkey)
(rb_gdbm_delete, fgdbm_store, fgdbm_has_key): ditto.
* ext/dbm/dbm.c (fdbm_delete_if): hide intermediate objects.
* ext/gdbm/gdbm.... -
02:31 PM Revision 4342469e (git): * addr2line.c (PATH_MAX): define if not defined. [ruby-core:40840]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:26 PM Revision ebe02802 (git): * ext/tk/tcltklib.c (rb_thread_critical): fix type.
- * ext/tk/tcltklib.c (eventloop_sleep, lib_eventloop_core): int is
enough for micro seconds. may need to check overflow in the
setter though.
* ext/tk/tcltklib.c (RSTRING_LENINT): check overflow if necessary.
* ext/tk/tcltklib.c (RbT... -
12:59 PM Feature #5590: Proposal for sustainable branch maintenance - -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
(2011/11/08 0:25), Yugui wrote:
>>> == Proposal Let's parallelize the bottle-neck. Review and tests
>>> are necessary for stability and compatibility of released
>>> branches bu... -
12:41 PM Feature #5590 (Closed): Proposal for sustainable branch maintenance
- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
== Background
I have been maintaining ruby_1_9_1 and ruby_1_9_2 branch.
Ruby 1.9 is now stable as Ruby 1.8 was, but it has not yet reached to
the bugless nirvana. So Ru... -
12:43 PM Feature #5589 (Rejected): Re: Proposal for sustainable branch maintenance
- Wrong ticket. See #5590 instead for this subject.
-
12:40 PM Feature #5589 (Rejected): Re: Proposal for sustainable branch maintenance
- >> * Another committer review the request. This reviewer checks if this
>> Â commit is good enough and backport it to the older branch.
>
> Do you mean the word "backport" as committing?
> If so, who changes patchlevel?
> The... -
11:51 AM Revision ddb9acd9 (git): * test/dbm/test_dbm.rb: split tests for read only database.
- * test/gdbm/test_gdbm.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:33 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
- Hi,
I'm the author behind Slop. Although I never considered Slop to ever hit Ruby trunk I of course think it's a great idea. That said, there's already two option parsing libraries in stdlib and I think adding another is just bloat.
... -
10:23 AM Feature #5562: Improvement of Windows IO performance
- Looks great so far. More info and profiling snapshot tomorrow, but here's what I get so far on my Win7 32bit:
C:\projects\rubyinstaller-git>rake ruby19 local=c:\Users\Jon\Documents\RubyDev\ruby-git nogems=1
...
sh-3.1$ make test-all... -
07:16 AM Feature #5562: Improvement of Windows IO performance
- Thank you for your help.
Previous patch have a bug of IO.copy_stream. So, many errors have occurred in rubygems and http tests.
I assume "This program cannot be run in DOS mode." is related to above issue. I had same error.
Does Rub... -
10:04 AM Revision c2c07079 (git): * ext/pty/pty.c (MasterDevice): define only when used.
- (SlaveDevice): ditto.
(deviceNo): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:02 AM Revision 4d365090 (git): * ext/-test-/old_thread_select/extconf.rb: ignore deprecated
- declaration warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:59 AM Revision 6bb4ddcb (git): * include/ruby/ruby.h (rb_long2int): define as a macro always, so
- that cpp conditionals can tell if it is provided.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:30 AM Revision 7c7514b2 (git): * lib/mkmf.rb (cpp_command): remove multiple -arch flags since cpp
- cannot work.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:26 AM Revision 452bf3b9 (git): * ext/pty/pty.c (get_device_once): FreeBSD 8 supported O_CLOEXEC flag
- for posix_openpt, but FreeBSD 9's posix_openpt doesn't support
O_CLOEXEC and fails if specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Yehuda Katz <wycats@gmail.com> wrote:
> Bug #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
I don't want this issue to get dropped, so I'm summarizing the
discussion so far for the benefit of folk... - 05:52 AM Revision 53881a8c (git): * io.c (io_fwrite): call rb_w32_write_console() only if FMODE_TTY is
- set. this is the one of the reason of IO writing slowness of Windows
in 1.9.3 or later.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:50 AM Revision 1b79efbb (git): * ChangeLog: commit miss of r33662.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:23 AM Feature #5578: Embedded YAML for Ruby 2.0
- On Mon, Nov 7, 2011 at 16:30, Kurt Stephens <ks.ruby@kurtstephens.com> wrote:
> Why does YAML need first class status? Define a constructor on the YAML module, and use interpolating heredoc.
>
> require 'pp'
> require 'yaml'
> de... -
12:30 AM Feature #5578: Embedded YAML for Ruby 2.0
- Why does YAML need first class status? Define a constructor on the YAML module, and use interpolating heredoc.
require 'pp'
require 'yaml'
def YAML.[]str; YAML.load(str); end
x = YAML[<<"..."]
a: 1
b: 2
c: #{ 1 + 1 }
...
... -
02:03 AM Revision ce19ae0e (git): * ext/pty/pty.c (get_device_once): FreeBSD's posix_openpt doesn't
- support O_CLOEXEC and fails if specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:58 AM Bug #5559: Intermittent Seg fault when using net-ssh
- I have created a minimal rails project that demonstrates the problem here:
https://github.com/kimptoc/samples-rails-net-ssh-crashing-193
Attached is the crash report log file
-
01:37 AM Bug #5576 (Closed): [Universal Newline]改行コードが"\r\n"で出力されない
- 禍根を残しそうなコードだが問題の対処にはなっているという事で、r33660にてバックポートしました。
11/07/2011
-
10:59 PM Feature #5584: Array#sample!
- 遠藤です。
2011年11月7日15:43 Masaki Matsushita <glass.saga@gmail.com>:
> ランダムに選択した要素をレシーバから取り除いて返すメソッドArray#sample!の追加を提案します。
この機能はかつてから要望がありますが、まつもとさんが強硬に
反対しています。[ruby-core:18104] [ruby-core:18165]
sample! という名前が最大のネックのようで... -
08:59 PM Feature #5584: Array#sample!
- もっと良いネーミングはない物でしょうかねえ.
ネーミングが微妙なような気がしてならない. -
03:43 PM Feature #5584 (Rejected): Array#sample!
- =begin
ランダムに選択した要素をレシーバから取り除いて返すメソッドArray#sample!の追加を提案します。
配列からランダムに要素を取り出したい場合には
a = (1..5).to_a
a.delete_at(rand(a.size)) #=> 3
p a #=> [1, 2, 4, 5]
などと書く必要がありましたが、Array#sample!があれば
a = (1..5).to_a
a.sample! #=> ... -
09:01 PM Revision bd3b3c1b (git): update doc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:23 PM Feature #5478: Add syntax to import Set into core
- I don't think it's impossible to parse. Ruby also manages to parse `p /a/m` as regexp rather than `p / a / m`.
Konstantin
-
06:32 AM Feature #5478: Add syntax to import Set into core
- What about simply { :a, :b, :c } ? It should be obvious to Ruby that this is not a hash.
In fact, how about specifying that internally Set is a form of Hash, and to have a lossless conversion Set->Hash->Set? I do not know the current i... -
05:05 AM Feature #5478: Add syntax to import Set into core
- Ruby stdlib already has `Set::[]`, a method that creates a literal set.
```
irb(main):001:0> require 'set'
=> true
irb(main):002:0> Set[1, 2, 3]
=> #<Set: {1, 2, 3}>
```
The proposed syntax `<1, 2, 3>` might be impossible to p... -
07:17 PM Feature #5583: Optionally typing
- TypeError exists in Ruby (`[1,2]["a"]`), why not to have optional static typing to avoid it when possible. I do not think it can hurt.
-
06:53 PM Feature #5583: Optionally typing
- +1
TL;DR
I love the idea!
I don't know if optional typing is the solution, but the more I use Ruby,
the more I miss the robustness that could provide powerful static analysis tools.
Moreover, I often read Ruby code, and it i... -
12:49 PM Feature #5583 (Rejected): Optionally typing
- Although I know all of you dislike static typing it cannot be denied that there are some people aspire for introducing it in ruby. The dartlang solved the problem in unique way called Optionally Typing. In Dart you can declare types for ...
- 05:48 PM Revision cb230eee (git): * 2011-11-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:48 PM Revision add77a59 (git): * include/ruby/encoding.h (ECONV_NEWLINE_DECORATOR_READ_MASK,
- ECONV_NEWLINE_DECORATOR_WRITE_MASK): new macro.
* io.c (rb_io_extract_modeenc, pipe_open, prep_stdio, argf_next_argv):
set TEXTMODE_NEWLINE_DECORATOR_ON_WRITE for textmode on creating IO
if the flag is available.
* io.c (make_write... - 04:33 PM Revision 08cd580f (git): * 2011-11-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:33 PM Revision dc08e762 (git): * io.c (make_writeconv): unversal_newline converter is for reading.
- so, if the io is text mode and has ECONV_UNIVERSAL_NEWLINE_DECORATOR
flag, use crlf_newline converter for writing.
this change fixes the problem about the luck of CR up Kernel.p and
Kernel.puts to stdout/stderr on Windows.
git-sv... - 02:45 PM Revision 520ab497 (git): * 2011-11-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:45 PM Revision 547584dd (git): * io.c (io_fflush): remove fsync().
- * io.c (rb_io_flush, rb_io_rewind): fsync() here.
These pathces are backports of trunk r33651 for [Bug #5585]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:05 PM Revision 47647564 (git): * ext/gdbm/gdbm.c (fgdbm_initialize): set close-on-exec flag.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:53 PM Bug #5576: [Universal Newline]改行コードが"\r\n"で出力されない
- 遠藤です。
2011年11月7日9:32 U.Nakamura <usa@garbagecollect.jp>:
> In message "[ruby-dev:44804] [ruby-trunk - Bug #5576] [Universal Newline]改行コードが"\r\n"で出力されない"
> on Nov.06,2011 15:29:58, <mame@tsg.ne.jp> wrote:
>> 2011/11/6 pegac... -
09:53 AM Bug #5576: [Universal Newline]改行コードが"\r\n"で出力されない
- こんにちは、なかむら(う)です。
In message "[ruby-dev:44804] [ruby-trunk - Bug #5576] [Universal Newline]改行コードが"\r\n"で出力されない"
on Nov.06,2011 15:29:58, <mame@tsg.ne.jp> wrote:
> 2011/11/6 pegacorn jp <subscriber.jp+ruby-redmine@gmail.com>:... -
12:53 PM Feature #5549: Comparable#min, Comparable#max
- 遠藤です。
2011年11月7日11:34 Nobuyoshi Nakada <nobu@ruby-lang.org>:
> ただ、この例ではmin,maxという名前はあまりふさわしくないように思
> います。サチュレーションとかクリッピングとか呼ばれることが多い気
> がします。
>
> some_method.clip_by(0..100)
#4574 でまさにそういう操作をする Numeric#within というメソッ... -
11:53 AM Feature #5549: Comparable#min, Comparable#max
- なかだです。
At Thu, 3 Nov 2011 19:52:44 +0900,
Yukihiro Matsumoto wrote in [ruby-dev:44793]:
> この提案だと a.min(b) というスタイルになり、Enumerableの「もっ
> とも小さい(大きい)要素を返す」という意味でなく、「ふたつの要素
> のうちより小さい(大きい)ものを返す」と記述しています。そのよう
> な記述のための語彙としてはmin,... -
12:34 PM Feature #5582 (Assigned): Allow clone of singleton methods on a BasicObject
- Currently I do not know of a way to implement something like 'clone' on a BasicObject subclass. This is as close as I've gotten but as you can see the singleton methods are not propagated to the clone.
require 'test/unit'
... -
12:16 PM Revision 733a57b8 (git): add comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:33 AM Revision e115627a (git): * ext/psych/lib/psych/scalar_scanner.rb: make sure strings that look
- like base 60 numbers are serialized as quoted strings.
* test/psych/test_string.rb: test for change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:27 AM Revision 8ff37e39 (git): * test/psych/test_yamlstore.rb: make test case inherit from MiniTest,
- load psych/helper so that psych is loaded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:22 AM Revision a27349a4 (git): * test/psych/test_yamldbm.rb: Test case should inherit from MiniTest,
- load psych/helper so that psych and friends are loaded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:17 AM Revision e4e5b7df (git): * ext/dbm/extconf.rb: check dbm_pagfno() and dbm_dirfno().
- * ext/dbm/dbm.c: use above to set close-on-exec flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:08 AM Revision 66595f38 (git): * io.c (io_fflush): remove fsync().
- * io.c (rb_io_flush, rb_io_rewind): fsync() here.
these changes reduces fsync() calls to improve performance.
first reported at [ruby-list:48515] by ak7 at mail.goo.ne.jp .
[Bug #5585]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk... -
10:44 AM Revision 987c03a3 (git): * io.c (rb_close_before_exec): use F_MAXFD if available.
- F_MAXFD is available on NetBSD since NetBSD 2.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:27 AM Revision 8c492668 (git): * test/ruby/test_io_m17n.rb
- (TestIO_M17N#test_default_stdout_stderr_mode): new test for
r33627-33629. see [backport #5565]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:23 AM Feature #5562: Improvement of Windows IO performance
- Hello,
In message "[ruby-core:40746] [ruby-trunk - Feature #5562] Improvement of Windows IO performance"
on Nov.05,2011 09:33:57, <h.shirosaki@gmail.com> wrote:
> 104) Failure:
> test_include_file_encoding_incompatible(... -
03:31 AM Feature #5562: Improvement of Windows IO performance
- Err...make that `debugflags='-gstabs+'`
-
03:26 AM Feature #5562: Improvement of Windows IO performance
- FYI, unrelated to the patch failure on my system (but related to Windows IO performance) I've found a way to build a profileable MRI on Windows (basically `optflags='-gstabs+'` for MinGW builds) and analyze with the freely available AQti...
-
08:25 AM Feature #5574: Make arrays comparable
- Ok so it does not yet exist because it can contain elements that are not comparable.
But in the example given with the 1, 2] < [1, 1] all elements are comparable. Ruby wants you to include Comparable.
But even when you do that, and... -
07:05 AM Feature #5578: Embedded YAML for Ruby 2.0
- Hey, btw, how do you get
-
07:04 AM Feature #5578: Embedded YAML for Ruby 2.0
- YAML defines `...` as end of document marker.
data = ---
a: 1
b: 2
c: 3
... <= this
Yes, it is something like HERE docs, but more concise. I also have this gut feeling that it could evolve... -
05:17 AM Feature #5578: Embedded YAML for Ruby 2.0
- =begin
Current Ruby can do
require 'yaml'
data = YAML.load <<EOF
a: 1
b: 2
c: 3
EOF
p data
Suppose that Ruby adds embedded YAML, and I change my program to
data = ---
a: 1
b: 2
c: 3
p ... -
01:40 AM Feature #5534: Redefine Range class and introduce RelativeNumeric and RelativeRange
- ADMIN! There is bad bug in the redmine interface that deletes the message if one tries to use the edit feature. I had to resubmit this post four times to get it show up again.
-
01:38 AM Feature #5534: Redefine Range class and introduce RelativeNumeric and RelativeRange
- "There are infinitely many numbers, even if you only count rationals, in the range (1..2)"
Ah, okay. See, I think that's a good case in point. I was thinking of range as a sequence, while you were thinking of it an interval.
Well, ... -
01:16 AM Feature #5534: Redefine Range class and introduce RelativeNumeric and RelativeRange
- Thomas Sawyer wrote:
> "This way it would be clear what a range is --- just an infinite set of a certain form, with methods to work with it."
> ...
There are infinitely many numbers, even if you only count rationals, in the range (1..2)
... -
12:41 AM Feature #5534: Redefine Range class and introduce RelativeNumeric and RelativeRange
- "This way it would be clear what a range is --- just an infinite set of a certain form, with methods to work with it."
How is that a Range at all? A Range is only "infinite" if one of the sentinels is infinite.
"Mathematically, ran... -
01:23 AM Feature #5531: deep_value for dealing with nested hashes
- Do you need hash or something like multidimensional hash class that uses [], each iterates on nested...
On Sun, Nov 06, 2011 at 05:48:52PM +0900, Thomas Sawyer wrote:
>
> Issue #5531 has been updated by Thomas Sawyer.
>
>
... -
01:21 AM Bug #5093 (Closed): DEBUGGER__::Context#debug_print_help に表示されないオプション
- This Issue was closed by r33647
-
12:58 AM Bug #5078 (Closed): test-all make SystemStackError on OS X 10.7 (Lion)
- そもそも今のtrunkだとllvm-gccでビルド不可能なので(configureではじいている)、再現確認は無理ですね
closeします -
12:51 AM Bug #5078 (Feedback): test-all make SystemStackError on OS X 10.7 (Lion)
- これってまだ再現しますか?しないようなら閉じちゃってください。
-
12:48 AM Bug #5560 (Closed): YAML installation not found and no /usr/local/lib/ruby/1.9.3
11/06/2011
-
11:33 PM Feature #5574: Make arrays comparable
- I remember that in ruby-core long ago matz explained that array don't include comparable because they could contain elements that are not comparable.
I dont see this as problem as this is violated in most classes when comparing field th... -
04:53 PM Feature #5574: Make arrays comparable
- Ruby Facets provides a Tuple class, which is an immutable Array that
is also Comparable. I believe I may have suggested Ruby provide such a
class in the past. If Array can not be Comparable for some reason,
perhaps this is a reaso... -
04:33 PM Feature #5574: Make arrays comparable
- Ruby Facets provides a Tuple class, which is an immutable Array that is also Comparable. I believe I may have suggested Ruby provide such a class in the past. If Array can not be Comparable for some reason, perhaps this is a reasonable a...
-
04:14 PM Feature #5574: Make arrays comparable
- I support this proposal. In a basic programming lecture, I just recently told students how to compare (<, <=, and so on) numbers and strings, and then mentioned that it would work the same way for Arrays. But then when I wanted to show t...
-
09:48 PM Bug #5571: Syntax Error when put String eql? with logical operation ("||") or "("&&")
- The || operator is binding the second test.eql? to "test", effectively turning the statement into
test.eql? ("test" || test.eql?) "test1" -
08:45 PM Bug #5560: YAML installation not found and no /usr/local/lib/ruby/1.9.3
- OK, I got it working. You can close the issue (apparently I can't).
How I did it: I fetched libyaml from http://pyyaml.org/wiki/LibYAML built and installed it with default settings (i.e. to /usr/local). Then configured Ruby with
... -
07:08 PM Bug #5560: YAML installation not found and no /usr/local/lib/ruby/1.9.3
- Luis, thank you for the information! Unfortunately libyaml is not a cygwin package so I'll have to compile it from source. Unfortunately I am struggling with other (apparently unrelated) issues with compilation on cygwin at the moment....
-
07:27 PM Feature #5534: Redefine Range class and introduce RelativeNumeric and RelativeRange
- I was not precise, i meant not equality, but *identity* --- that there be only one empty range: Range::EMPTY_SET. Like this:
(2..1) # => Range::EMPTY_SET
This way it would be clear what a range is --- just an infinite set of a certai... -
05:26 PM Feature #5534: Redefine Range class and introduce RelativeNumeric and RelativeRange
- What is the point of all this? I mean the equality thing is somewhat interesting but how is it really useful? And why does it have any bearing at all on slicing arrays? Really I for one can't make much sense of what you are proposing.
-
06:23 PM Bug #5576: [Universal Newline]改行コードが"\r\n"で出力されない
- 遠藤です。
2011年11月6日16:26 pegacorn jp <subscriber.jp+ruby-redmine@gmail.com>:
> Yusuke Endoh wrote:
>> > trunkでr33627-33629を当てると標準出力もTempfileも直ったので、
>> > 同じ問題だと思います。
>>
>> おお、確認ありがとうございます。(「ruby_1_9_3 で」、ですよね?)
>
> いいえ、tr... -
04:26 PM Bug #5576: [Universal Newline]改行コードが"\r\n"で出力されない
- Yusuke Endoh wrote:
> > trunkでr33627-33629を当てると標準出力もTempfileも直ったので、
> ...
いいえ、trunkのr33627の手前ではまだ"\n"で出力されることを確認して、
r33629までリビジョンを上げると"\r\n"に変わっていることを確認しました。
先程ruby_1_9_3ブランチにr33627-33629をマージして確認してみましたが、
こちらも"\r\n"で出力されるようになりました。
-
03:29 PM Bug #5576: [Universal Newline]改行コードが"\r\n"で出力されない
- 遠藤です。
2011/11/6 pegacorn jp <subscriber.jp+ruby-redmine@gmail.com>:
> すみません。#5565を見落としていました。
いえ、元スレッドの方に返信がなかったのでしょうがないです。
> ...
おお、確認ありがとうございます。(「ruby_1_9_3 で」、ですよね?)
それでは重複マークを付けておきます。
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:30 PM Bug #5576: [Universal Newline]改行コードが"\r\n"で出力されない
- すみません。#5565を見落としていました。
trunkでr33627-33629を当てると標準出力もTempfileも直ったので、
同じ問題だと思います。
-
11:35 AM Bug #5576: [Universal Newline]改行コードが"\r\n"で出力されない
- ありがとうございます。
最近 #5565 にバックポートチケットが上がっていて、[ruby-list:48514] を
受けたものかと思ってましたが、これとは別の問題ですかね?
もしよければ、trunk でテスト・再現できますか?
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:11 AM Bug #5576 (Closed): [Universal Newline]改行コードが"\r\n"で出力されない
- mswin/mingw版で、標準出力へのputsで改行コードが"\r\n"で出力されない。
[ruby-list:48514]より
C:¥>ruby -v
ruby 1.9.3p0 (2011-10-30) [i386-mingw32]
C:¥>ruby -e "puts 'test'" > 193.txt
C:¥>ruby -e "p open('193.txt','rb'){|f| f.read}"
"test¥n"
Tempfile#puts... -
05:48 PM Feature #5531: deep_value for dealing with nested hashes
- Probably best to use #[] internally too.
class Hash
def [](*keys)
keys.inject(self) {|container, key| value = container[key]; value ? value : return value}
end
end
@Alexey you may have a point. But I... -
05:35 PM Feature #5550: Hash#depth, Hash#flat_length for recursive hashes
- I take it you meant `nested hash`. I think your methods will infinite loop on recursive hash --and that needs to be considered.
I understand #depth, Array might use such a method too. But #flat_length, I don't quite get what is being ... -
12:46 AM Feature #5550: Hash#depth, Hash#flat_length for recursive hashes
- Excuse me, can you be more precise with your example please? Ruby does not accept it (after removing the dots "..."). Are you talking about nested hashes? How about creating a class Tree that would inherit from Hash and define addition...
-
05:11 PM Feature #5578 (Rejected): Embedded YAML for Ruby 2.0
- Way cool would be support for embedded YAML.
data = ---
a: 1
b: 2
c: 3
...
-
05:02 PM Feature #5552: Array#ljust, Array#rjust
- If you know pad length is greater than the array length then:
[:a,:b,:c].insert(5, nil)
Not sure about "rjust" though. I suppose there is always:
a.unshift(nil) until a.size == 5
Though that seems fairly inefficient.
- 04:18 PM Revision 2522df96 (git): * 2011-11-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:18 PM Revision ae1943be (git): * lib/debug.rb: add help for 'pp' and 'r[estart]'.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:45 PM Bug #5542: Ruby 1.9.3-p0 changed arity on default initialization method
- Thank you much for the information. This seems like a good compromise.
-
01:44 PM Feature #5543: rb_thread_blocking_region() API is poorly designed
- VALUE is actively misleading, given that a VALUE can not be constructed by the function, and the writer of the code will most likely not want to return a pre-constructed one. "void *" is the obvious choice, not carrying such an implicati...
-
01:17 PM Bug #5577 (Closed): test/testunit/test_parallel.rb causes NoMethodError when file descriptor is limited to 30.
- ulimit -n 30 として、file descriptor を 30個に制限した状態で、
test/testunit/test_parallel.rb をテストすると以下のように失敗します。
失敗する事自体は問題ではないのですが、
undefined method `close' for nil:NilClass (NoMethodError)
NoMethodError: undefined method `chomp' for nil:Ni... -
05:51 AM Revision 5cb63654 (git): * ext/socket/rubysocket.h (rsock_recvmsg): declared.
- * ext/socket/ancdata.c (rsock_recvmsg): extracted from
nogvl_recvmsg_func.
(nogvl_recvmsg_func): use rsock_recvmsg.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:01 AM Bug #5548: OpenSSL::Engine can't load some old engines/new engines
- Yui NARUSE wrote:
> I used a bundled openssl with NetBSD current.
> ...
I see, they integrated support directly with EVP now. Thanks for the link!
For now, I think it's OK to support it. Maybe users with older OpenSSL versions
woul... -
01:20 AM Feature #5562: Improvement of Windows IO performance
- I am seeing a strange issue with the patch on my Win7 32bit system. I'm not yet sure whether it's my setup or a real issue.
In summary, although the patch applies cleanly (with offsets) and tests pass, at runtime I get `This program c...
11/05/2011
-
11:47 PM Feature #5574 (Rejected): Make arrays comparable
- Why are arrays not comparable? _Array_ already defines _<=>_, so it seems only natural to mix-in the _Comparable_ module.
-
06:33 PM Revision 600fcacc (git): * test/openssl/test_engine.rb: add test for engine cipher. RC4 is used
- because AES is not supported by the "openssl" engine currently.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:14 PM Revision 273c900b (git): * 2011-11-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:14 PM Revision df334f52 (git): * lib/test/unit.rb (Test::Unit::Options#non_options): options[:ruby]
- should be an array. This fixes
"./ruby test/runner.rb test/testunit/test_parallel.rb"
[ruby-dev:44782]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:01 PM Feature #5572 (Closed): ブロックなしPathname#find呼び出しでEnumeratorを返す
- 辻本です。
Pathname#findをブロックなしで呼び出すとno block givenエラーとなりますが、
Find.findと同様にこの場合はEnumeratorを返すようにすることを提案します。
パッチを添付します。 -
11:30 AM Revision 642562c7 (git): insns.def: Some fixes and tweaks to English explanations
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:09 AM Bug #5542 (Rejected): Ruby 1.9.3-p0 changed arity on default initialization method
- Hi,
> I can access the former thread, but the later [ruby-core:32952] seems to
> ...
Indeed, the archive contains only half of the discussion about the revert. It starts at [ruby-core:32932]. Matz's [ruby-core:32952] is quoted in so... -
10:13 AM Revision 333c847f (git): * io.c (rb_cloexec_fcntl_dupfd): don't clear try_dupfd_cloexec if
- fcntl(F_DUPFD) failed as fcntl(F_DUPFD_CLOEXEC).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:33 AM Feature #5562: Improvement of Windows IO performance
- =begin
I'm sorry, previous comment failed to be submited. I don't know why.
104) Failure:
test_include_file_encoding_incompatible(TestRDocMarkupPreProcess) [c:/devruby/ru
by/test/rdoc/test_rdoc_markup_pre_process.rb:75]:
... -
09:15 AM Feature #5562: Improvement of Windows IO performance
- a\nb
-
06:14 AM Feature #5562: Improvement of Windows IO performance
- Thanks for trying this patch.
> * Which version of MinGW GCC are you using to build?
4.5.2
> ...
Windows XP SP3
> * Are you running Windows OS natively or on a VM like VirtualBox?
natively
I used rubyinstaller's latest source c... -
12:55 AM Feature #5562: Improvement of Windows IO performance
- I've downloaded your patch and will try with both `ruby_1_9_3` and `trunk`.
In the past, I've had many failures when running `make test-all`. I don't believe they've been resolved so I usually run `make test && make test-all TESTS='op... -
09:06 AM Revision a3521e02 (git): * ext/socket/socket.c (rsock_socketpair0): refactored.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:56 AM Revision 385a7d45 (git): * ext/socket/init.c (rsock_socket0): don't clear try_sock_cloexec if
- SOCK_CLOEXEC is not a reason for EINVAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:37 AM Revision c3749b6a (git): * ext/pathname/lib/pathname.rb, ext/tk/lib/multi-tk.rb,
- ext/tk/sample/demos-en/widget, lib/benchmark.rb, lib/irb/cmd/fork.rb,
lib/mkmf.rb, lib/net/ftp.rb, lib/net/smtp.rb, lib/open3.rb,
lib/pstore.rb, lib/rexml/element.rb, lib/rexml/light/node.rb,
lib/rinda/tuplespace.rb, lib/rss/maker/... -
06:46 AM Revision 0e68c46e (git): * ext/socket/init.c (rsock_socket0): extract single socket() call with
- CLOEXEC handling from rsock_socket.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:45 AM Bug #5571: Syntax Error when put String eql? with logical operation ("||") or "("&&")
- ruby-head :001 > test="test"
=> "test"
ruby-head :002 > if test.eql?"test" || test.eql?"test1" ; puts "true"; end
SyntaxError: (irb):2: syntax error, unexpected tSTRING_BEG, expecting keyword_then or ';' or '\n'
if test.eql?"test" ... -
04:36 AM Bug #5571 (Rejected): Syntax Error when put String eql? with logical operation ("||") or "("&&")
- There has a syntax error when try to connect two string eqls? with the logical operation ("||") and ("&&") as below
{code}
ruby-head :001 > test="test"
=> "test"
ruby-head :002 > puts test.eql?("test") || test.eql?("test1")
true
... - 02:19 AM Revision d05202a5 (git): * 2011-11-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:19 AM Revision df390d82 (git): * ext/socket/socket.c (rsock_socketpair0): don't clear
- try_sock_cloexec if SOCK_CLOEXEC is not a reason for EINVAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e