Activity
From 01/29/2011 to 02/04/2011
02/04/2011
-
06:37 PM Revision 780678da (git): * lib/fileutils.rb (FileUtils::LowMethods): make low level methods
- in NoWrite and DryRun to do nothing. [ruby-dev:43129]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:35 PM Revision ab53367b (git): * test/fileutils/fileasserts.rb: add message arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:34 PM Revision f38aad8d (git): * test/fileutils/fileasserts.rb (Test::Unit::Assertions#assert_block):
- show the given message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:09 PM Revision f6b4cba6 (git): * parse.y (lex_getline, parser_set_encode): set encoding of lines
- in SCRIPT_LINES__ as source encoding. [ruby-dev:43168]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:08 PM Revision 09589235 (git): * vm.c (ruby_thread_data_type): add prefix.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:05 PM Revision cae6eed6 (git): * 2011-02-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:05 PM Revision 034540db (git): * vm_core.h (GetThreadPtr): use TypedData_Get_Struct() instead
- CoreDataFromValue() because we need type check. Otherwise,
type mismatch can cause segmentation fault crash.
[ruby-core:35086] [Ruby 1.9-Bug#4367]
* vm.c (thread_data_type): remove static.
git-svn-id: svn+... -
01:30 PM Bug #4343: Dir.glob does match files without extension
- =begin
On 02/03/2011 09:38 PM, mathew wrote:
> On Sun, Jan 30, 2011 at 23:07, Jeremy Bopp <jeremy@bopp.net> wrote:
>> On 01/30/2011 06:30 PM, mathew wrote:
>>> On Sat, Jan 29, 2011 at 11:49, Jeremy Bopp <jeremy@bopp.net> wrote:
>>>>... -
12:40 PM Bug #4343: Dir.glob does match files without extension
- =begin
On Sun, Jan 30, 2011 at 23:07, Jeremy Bopp <jeremy@bopp.net> wrote:
> On 01/30/2011 06:30 PM, mathew wrote:
>> On Sat, Jan 29, 2011 at 11:49, Jeremy Bopp <jeremy@bopp.net> wrote:
>>> Where possible, Ruby scripts should see *Ru... -
12:24 PM Feature #4197: Improvement of the benchmark library
- =begin
2011/2/4 Benoit Daloze <eregontp@gmail.com>:
> Hi,
> On 1 February 2011 05:38, KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
>> Hi
>>
>> The change log says, test/benchmark has been changed only warnings issue
>> by th... -
01:49 AM Feature #4197: Improvement of the benchmark library
- =begin
Hi,
On 1 February 2011 05:38, KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> Hi
>
> The change log says, test/benchmark has been changed only warnings issue
> by this commit. However it has more widely change and it ma... -
12:17 PM Bug #4366 (Closed): UTF-8文字列に対しての部分文字列取得操作で結果にゴミがつくことがある
- =begin
This issue was solved with changeset r30779.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----
* string.c (str_utf8_nth): fixed a conditon of optimiz... -
12:11 PM Bug #4366 (Closed): UTF-8文字列に対しての部分文字列取得操作で結果にゴミがつくことがある
- =begin
test.rb
-----------------------------------
# coding: utf-8
str="あいうえお"
p str[2,17]
-----------------------------------
結果
% ./ruby -v test.rb
ruby 1.9.3dev (2011-02-04 trunk 30761) [x86_64-linux]
"... -
10:14 AM Revision 113de008 (git): * enc/trans/utf8_mac.trans: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:21 AM Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
- Hi,
2011/2/3 James M. Lawrence <redmine@ruby-lang.org>:
> Yusuke Endoh:
> ...
I see. Sorry for my misunderstanding.
But anyway, it is difficult to meet your expectation in 1.9.
Inheriting file/line from a binding is actually inte... -
06:55 AM Bug #4364 (Closed): Ripper loses MLHS variables in the presence of an LHS splat
- =begin
Ripper.sexp currently mis-parses the following LHS forms:
*b, c = ...
*, a = ...
a, *, b = ...
Specifically, in all 3 cases, the variables after the splat are not present in the resulting AST. The cause is simply mi... -
06:13 AM Bug #2618: Win32OLE RuntimeError due CoInitialize not being called
- =begin
http://www.linuxbloke.com/2010/06/26/ever-tried-calling-a-win32ole-com-object-from-rubys-drb/ is also related, for followers.
=end
-
05:16 AM Bug #4363 (Rejected): Ruby segfaults when any gem module is required
- =begin
Test file 1 (test.rb):
# Begin
require "mysql"
# End
Test file 2 (test2.rb):
# Begin
require "active_record"
# End
Test case:
ruby test.rb
Output:
<internal:lib/rubygems/custom_require>:29: [... -
03:14 AM Revision e0d1e245 (git): * string.c (str_utf8_nth): fixed a conditon of optimized lead
- byte counting. [Bug #4366][ruby-dev:43170]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/03/2011
-
10:43 PM Feature #4362 (Closed): Process.kill should accept -SIGXXX with implicit conversion
- =begin
Process.kill の第一引数は Fixnum か Symbol、String でシグナルの種類を指定し、
文字列の時は先頭に - をつけることでプロセスグループへシグナル送信するようになっています。
実際には Fixnum, Symbol, String 以外のオブジェクトを渡すと to_str で文字列への
暗黙の変換が行なわれるようになっているのですが、この時に先頭の - を認識しません。
またシンボルの時も先頭の - が解... -
10:10 PM Bug #4340: Encoding of result string for String#gsub is not consistent
- =begin
Yes, you can; please commit it with a test.
=end
-
09:36 PM Bug #4361 (Closed): SCRIPT_LINES__ mechanism should treat magic-comment.
- =begin
SCRIPT_LINES__に格納されるソースのエンコーディングがUS-ASCIIになっています。
そのため、ソースコード中に日本語が含まれる場合に問題になることがあります。
具体的には、デバッガなどがソースコードを表示しようとしたタイミングでエラーとなることがあります。
ソースのマジコメを反映したエンコーディングを付加しているべきではないかと思いますが、いかがでしょうか。
=end
-
06:37 PM Bug #4360 (Closed): Zlib::GzipReader#unused raises "called on hidden object" error when called
- =begin
This issue was solved with changeset r30772.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----
* ext/zlib/zlib.c (gzfile_reader_get_unused): use rb_str_n... -
10:33 AM Bug #4360: Zlib::GzipReader#unused raises "called on hidden object" error when called
- =begin
See also [ruby-talk:377703]
=end
-
10:31 AM Bug #4360 (Closed): Zlib::GzipReader#unused raises "called on hidden object" error when called
- =begin
When reading concatenated gzip streams #unused is provided for accessing the data that has been read from the IO but not consumed by libz. Unfortunately calling this method raises an exception:
$ ruby19 -v t.rb
ruby 1... -
04:54 PM Revision aa36d4df (git): * string.c (count_utf8_lead_bytes_with_word): wrote function
- comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:19 PM Revision b0d216c8 (git): * property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:15 PM Revision b6371b55 (git): * ext/zlib/zlib.c (gzfile_reader_get_unused): no need to dup
- before rb_str_resurrect.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:57 PM Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
- Yusuke Endoh:
>> Since source_location claims to be "the ruby source filename and line
> ...
Did you misunderstand? It's not my expectation--the next sentence said
it was wrong, and indeed I rely on the current behavior.
My expecta... -
01:19 PM Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
- Hi,
2011/2/3 James M. Lawrence <redmine@ruby-lang.org>:
> The initial problem I encountered was
> ...
Hmm. It is indeed irritating for `Kernel#eval` to prefer implicit filename
of a binding to explicitly-specified filename.
This ... -
01:19 PM Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
- Hi,
2011/2/3 Rocky Bernstein <rockyb@rubyforge.org>:
> See also
> ...
I'd like to positively call it a "best practice" :-)
> A place where setting the file and line is used is in template systems like
> ...
I'm not sure that I... -
11:23 AM Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
- > Why do you think only a binding location as a problem?
The initial problem I encountered was
~~~ruby
eval %{def g ; end}, nil, "(eval)", 99
p method(:g).source_location #=> ["(eval)", 99]
eval %{def f ; end}, binding, "(eval... -
12:48 AM Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
- Hi,
2011/2/2 James M. Lawrence <redmine@ruby-lang.org>:
> Thank you for that detailed explanation. The problem for me is the
> ...
What kind of tools are you talking about?
Even if a binding location is discarded, we can still fake... -
11:38 AM Revision b3c80c05 (git): fix a typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:05 AM Revision 41d0788e (git): * ext/curses/curses.c (CHECK): unused macro removed.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:42 AM Bug #3780 (Closed): RDoc::Parser.binary? broken for some utf8 files longer than 1024 bytes
- =begin
Fixed by import of RDoc 3.5
=end
-
10:41 AM Bug #3967 (Closed): rdoc generates bad HTML output for '...' in parameter list, call-seq: with multiple values
- =begin
Fixed by import of RDoc 3.5.1
=end
-
10:40 AM Bug #4163 (Closed): RubyGems uses deprecated API: YAML.quick_emit.
- =begin
Fixed by import of RubyGems 1.5
=end
-
10:36 AM Bug #4311 (Closed): ruby setup.sb fails to install ruby gems
- =begin
Fixed by RubyGems 1.5.0.
=end
-
09:56 AM Revision b4940b61 (git): e ext/zlib/zlib.c (gzfile_reader_get_unused): use rb_str_resurrect
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:35 AM Revision d6d24991 (git): * ext/zlib/zlib.c (gzfile_reader_get_unused): use rb_str_new_shared
- because gz->z.input is hidden string. [ruby-core:35057]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:37 AM Revision 10354c7b (git): * enc/shift_jis.c (code_to_mbc): cast as int from the subtraction of pointers.
- * enc/utf_16le.c (utf16le_mbc_enc_len): use ptrdiff_t.
* enc/utf_32be.c (utf32be_left_adjust_char_head): ditto.
* enc/utf_32le.c (utf32le_left_adjust_char_head): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30771 b2dd03c8-... -
07:37 AM Revision a3b4b499 (git): * include/ruby/missing.h: don't use HAVE_STDDEF_H because it never
- defined by configure though configure.bat defines it.
* include/ruby/ruby.h: move include stddef.h to defines.h
* include/ruby/defines.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:27 AM Bug #4358 (Closed): ARG_ENCODING_NONE has no constant exposed to ruby - =begin
This issue was solved with changeset r30765.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----
* re.c (Init_Regexp): added a constant for ARG_ENCODING_N... -
07:15 AM Bug #4358 (Closed): ARG_ENCODING_NONE has no constant exposed to ruby
- =begin
A regular expression like this: //n
Has options equal to ARG_ENCODING_NONE, but this constant is not available to Ruby.
=end
-
07:26 AM Bug #4359 (Rejected): regular expressions created with Regexp::FIXEDENCODING have incorrect inspect
- =begin
irb(main):001:0> x = //
=> //
irb(main):002:0> y = Regexp.new('', Regexp::FIXEDENCODING)
=> //
irb(main):003:0> [x.inspect, y.inspect]
=> ["//", "//"]
irb(main):004:0> [x.options, y.options]
=> [0, 16]
irb(main):0... -
07:07 AM Bug #4342 (Closed): YAML raises an exception while parsing certain regular expressions - =begin
This issue was solved with changeset r30763.
Andrew, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----
* ext/psych/lib/psych/visitors/to_ruby.rb: ARG_ENCODING_... -
06:39 AM Bug #4300: Merge keys not working as expected in psych yaml parser
- =begin
On Wed, Feb 02, 2011 at 10:05:55AM +0900, Matthew Conway wrote:
> Issue #4300 has been updated by Matthew Conway.
>
>
> Thanks!
> Do I have to do anything special to get this backported to 1.9.2?
I don't think so. I've... -
01:46 AM Revision 742d6ffb (git): Properly set ignores for generated files in ext/-test-
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:38 AM Revision c008ca5a (git): * include/ruby/encoding.h (rb_enc_step_back): cast 4th argument 'n'
- as int because Ruby usually treats length value as long but
onigenc_step_back's 4th argument is int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:25 AM Revision 8f84a1f5 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/02/2011
-
10:22 PM Revision b93c74c6 (git): * ext/psych/lib/psych/visitors/to_ruby.rb: use Regexp::NOENCODING
- rather than magic number.
* ext/syck/lib/syck/rubytypes.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:18 PM Revision 89ef6628 (git): * re.c (Init_Regexp): added a constant for ARG_ENCODING_NONE
- [ruby-core:35054]
* test/ruby/test_regexp.rb: corresponding test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:05 PM Revision 71bf292b (git): * 2011-02-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:05 PM Revision cc6b1b3c (git): * ext/psych/lib/psych/visitors/to_ruby.rb: ARG_ENCODING_NONE regular
- expressions can round trip. [ruby-core:34969]
* test/psych/test_yaml.rb: test for ARG_ENCODING_NONE regex
* ext/sych/lib/syck/rubytypes.rb: ARG_ENCODING_NONE regular
expressions can round trip.
* test/syck/test_yaml.rb: test for ARG_EN... -
09:49 PM Bug #4354: File.realdirpath is expected to test for real file.
- =begin
On Wed, Feb 2, 2011 at 12:32 AM, Tanaka Akira <akr@fsij.org> wrote:
> 2011/2/2 Luis Lavena <redmine@ruby-lang.org>:
>
>> If 'real' is attempting to check for real files, also realdir should be behaving similar, correct?
>
> ... -
09:48 PM Bug #4354 (Rejected): File.realdirpath is expected to test for real file.
- =begin
=end
-
12:32 PM Bug #4354: File.realdirpath is expected to test for real file.
- =begin
2011/2/2 Luis Lavena <redmine@ruby-lang.org>:
> If 'real' is attempting to check for real files, also realdir should be behaving similar, correct?
The statement, "The last component of the real pathname can be nonexistent."... -
11:04 AM Bug #4354 (Rejected): File.realdirpath is expected to test for real file.
- =begin
Hello,
Comparing File.realpath behavior with File.realdirpath behavior, they don't match:
-
06:30 PM Bug #4341 (Open): baserubyに1.8.xを指定すると make benchmark がエラー
- =begin
=end
-
02:36 PM Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
- Thank you for that detailed explanation. The problem for me is the
connection to `source_location`, which should be usable by tools.
Shouldn't `source_location` give the file and line of a method or block
definition? If so then `sou... -
12:46 PM Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
- Hi,
2011/2/1 James M. Lawrence <redmine@ruby-lang.org>:
> Knowing the line of an error inside eval is useful. Passing a binding
> ...
I understand you, but the behavior is intended.
A binding also has its own information of filen... -
05:35 AM Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
- I came across this issue when I noticed that source_location gives non-useful info when a binding is passed to eval. Thus the patch fixes two somewhat different problems: eval backtrace and source_location. If changing the backtrace is ...
-
02:15 PM Bug #4355: Segmentation Fault
- =begin
[user1@hoho6 ~]$ gem list ruby-debug
*** LOCAL GEMS ***
ruby-debug-base19 (0.11.25.jb3, 0.11.24)
ruby-debug-ide (0.4.17.alpha, 0.4.16, 0.4.15)
ruby-debug19 (0.11.6)
[user1@hoho6 ~]$
=end
-
02:14 PM Bug #4355 (Third Party's Issue): Segmentation Fault
- =begin
I was working in the RubyMine debugger. I think the program went off to update something in the Database (postgresql) and then I saw this report in my log file.
=end
-
10:05 AM Bug #4300: Merge keys not working as expected in psych yaml parser
- =begin
Thanks!
Do I have to do anything special to get this backported to 1.9.2?
=end
-
08:43 AM Bug #4340: Encoding of result string for String#gsub is not consistent
- =begin
The attached patch fixes this problem, may I commit?
=end
-
08:11 AM Revision 3722e3a2 (git): * io.c (rb_io_fdatasync): Use fsync(2) if if the underlying
- operating system does not support fdatasync(2).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:52 AM Revision de15b194 (git): Commit files I forgot to add
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:24 AM Bug #4353 (Feedback): Missing Patch Level on ruby-lang.org FTP
- =begin
=end
-
01:48 AM Bug #4353: Missing Patch Level on ruby-lang.org FTP
- =begin
I don't know what you're referring to.
There is no such 1.9.2-p174 out, latest patchlevel officially released is 1.9.2-p136
RUBY_PATCHLEVEL constant defines it:
>ruby -ve "puts RUBY_PATCHLEVEL"
ruby 1.9.2p136 (20... -
01:44 AM Bug #4353 (Rejected): Missing Patch Level on ruby-lang.org FTP
- =begin
ruby_source_code uses the FTP to grab the Ruby source for whatever patch level is installed. Currently if ruby-1.9.2-p174 is installed, it fails because the file is missing from the FTP.
Specifically, it's looking here.
... -
12:32 AM Revision cc2a16d9 (git): Import RDoc 3.5.1
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:03 AM Revision 918f625a (git): Ignore -test- and tmpdir
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/01/2011
- 03:32 PM Revision af3167d5 (git): * 2011-02-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:32 PM Revision 6909ea44 (git): * include/ruby/st.h (st_table): Added comment why we need __extension__.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:39 PM Feature #4197: Improvement of the benchmark library
- =begin
Hi
> * lib/benchmark.rb: fix benchmarck to work with current ruby.
> patched by Benoit Daloze [ruby-core:33846] [ruby-dev:43143]
> merged from https://github.com/eregon/ruby/commits/benchmark
>
> * lib/benchmark (Report... -
01:17 AM Feature #4197 (Closed): Improvement of the benchmark library
- =begin
This issue was solved with changeset r30747.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----
* lib/benchmark.rb: fix benchmarck to work with current ... -
01:17 PM Revision eb70987c (git): doc/NEWS-1.9.2: add File#size
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:47 AM Revision 0f7fc546 (git): * enc/encdb.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:31 AM Bug #4352 (Closed): [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
- =begin
def ex_message
begin
yield
rescue => e
p e.message
end
end
ex_message { eval('raise') }
ex_message { eval('raise', binding) }
eval('def f ; end')
p method(:f).source_location
eval('def g... - 06:15 AM Revision c4bf3eba (git): * test/ruby/test_require.rb (TestRequire#test_require_with_unc):
- use ``127.0.0.1'' instead of ``localhost'' as host name, because
XP or earlier cannot resolv it as NBT hostname.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:33 AM Revision 6e2a194f (git): * test/benchmark/test_benchmark.rb (#capture_bench_output):
- Added explict sleep. Windows have imprecise time support.
Thus Tms.new.Add!{} may be or may be not equal 0. The
test failure started since r30747.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30753 b2dd03c8-39... - 03:11 AM Revision ec84bfc9 (git): Import rubygems 1.5.0 (released version @ 1fb59d0)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:17 AM Bug #4341 (Closed): baserubyに1.8.xを指定すると make benchmark がエラー
- =begin
This issue was solved with changeset r30747.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----
* lib/benchmark.rb: fix benchmarck to work with curren... -
12:04 AM Feature #4351: Server Name Indication (SNI) for net/http
- =begin
へぇ、こんなものが、知りませんでした。
わたしは賛成です、入れてしまっていいんじゃないでしょうか。
=end
01/31/2011
-
11:01 PM Revision f4234c9b (git): * ext/io/console/console.c (console_set_winsize): new method to set
- console size. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:56 PM Revision c90d5be8 (git): * ext/io/console/console.c (console_winsize): use GetWriteFD.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:11 PM Feature #4351 (Closed): Server Name Indication (SNI) for net/http
- =begin
ふと、SSL で name based vitual をやる話 (SNI - RFC 3546) はどうなったんだっけ、
と思って探したら、以下を見つけたので、net/http にも対処を
入れるのはどうですかね。
ssl - OpenSSL Server Name Indication support in Ruby - Stack Overflow
http://stackoverflow.com/questions/46857... -
06:37 PM Bug #4350: Segmentation fault and Bus Error
- =begin
It seems related to #2295
=end
-
06:34 PM Bug #4350 (Rejected): Segmentation fault and Bus Error
- =begin
My server crashes 0-4 times a day with segmentation faults.
The fault seems related to activerecord transaction, but it is not always a same spot, so the attached are just examples of some occurrence.
The application is a... - 05:31 PM Revision fb672259 (git): * include/ruby/win32.h, win32/win32.c: add rb_w32_inet_ntop.
- inet_ntop's minimum supported client is Vista.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:11 PM Revision b32992e8 (git): * 2011-02-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:11 PM Revision 979ec8df (git): * lib/benchmark.rb: fix benchmarck to work with current ruby.
- patched by Benoit Daloze [ruby-core:33846] [ruby-dev:43143]
merged from https://github.com/eregon/ruby/commits/benchmark
* lib/benchmark (Report#width): update documentation
* lib/benchmark: document the return value of #benchmark a... -
03:21 PM Bug #4349 (Closed): typo of rdoc in marshal.c
- =begin
--- marshal.c 2011-01-31 15:15:25.000000000 +0900
+++ marshal.c.new 2011-01-31 15:16:39.000000000 +0900
@@ -864,7 +864,7 @@
/*
* call-seq:
- * dump( obj [, anIO] , limit=--1 ) -> anIO
+ * dump(... -
02:47 PM Bug #4345 (Closed): IRB fails with --disable-gems and Ubuntu default LANG variable
- =begin
This issue was solved with changeset r30741.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----
* lib/irb/locale.rb (IRB::Locale::#search_file):
Gem mi... -
02:30 PM Bug #4345: IRB fails with --disable-gems and Ubuntu default LANG variable
- =begin
=end
-
05:37 AM Bug #4345: IRB fails with --disable-gems and Ubuntu default LANG variable
- =begin
IRB's localization support appears to try using RubyGems to load the localized file?
This was the commit that added it. Does not appear to exist in 1.9.2:
commit 09aefc43a54bff5c27c856de71af4d18e9223d59
Author: yug... -
02:29 PM Revision 6b06ba0c (git): * node.c (add_id): remove duplicated rb_id2str() call.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:07 PM Bug #4343: Dir.glob does match files without extension
- =begin
On 01/30/2011 06:30 PM, mathew wrote:
> On Sat, Jan 29, 2011 at 11:49, Jeremy Bopp <jeremy@bopp.net> wrote:
>> Where possible, Ruby scripts should see *Ruby* as the platform, not
>> Linux, not OSX, and not Windows.
>
> If t... -
09:30 AM Bug #4343: Dir.glob does match files without extension
- =begin
On Sat, Jan 29, 2011 at 11:49, Jeremy Bopp <jeremy@bopp.net> wrote:
> Where possible, Ruby scripts should see *Ruby* as the platform, not
> Linux, not OSX, and not Windows.
If that's true, are Ruby filenames case-sensitive o... -
01:08 PM Revision ff4ba406 (git): * missing/langinfo.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:59 PM Revision 7fb70b4e (git): * configure.in: revert r30698.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:40 PM Revision a2ba50d9 (git): * thread.c (thread_start_func_2): check deadlock condition before
- release thread stack. fix memory violation when deadlock detected.
reported by Max Aller. [Bug #4009] [ruby-core:32982]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:57 AM Revision d07940ee (git): * ChangeLog: fix typos.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:20 AM Bug #1145: IRB adds trailing quote to wtring methods when performing auto-completion
- =begin
Yes, unfortunately it still happens.
Except for JRuby, all the following "rubies" have this defect:
* ruby-1.9.2-p136 [ x86_64 ]
* rbx-1.2.0-20101221 [ ]
* ree-1.8.7-2010.02 [ x86_64 ]
* ruby-1.8.7-p330 [ x86_64 ]
... -
08:42 AM Feature #4326: Fiber should respond to call() and []
- =begin
New patch without Fiber#[]
=end
-
08:37 AM Feature #4326: Fiber should respond to call() and []
- =begin
On Sat, Jan 29, 2011 at 10:15:31AM +0900, Yusuke ENDOH wrote:
> Hi,
>
> 2011/1/27 Kurt Stephens <redmine@ruby-lang.org>:
> > Shouldn't Fiber#[] behave like Thread#[]?
>
> I think more notice should be taken of Kurt's rem... -
08:26 AM Feature #4326: Fiber should respond to call() and []
- =begin
On Sun, Jan 30, 2011 at 01:47:06PM +0900, Charles Oliver Nutter wrote:
> On Sat, Jan 29, 2011 at 11:41 AM, Aaron Patterson
> <aaron@tenderlovemaking.com> wrote:
> >> 1. subroutines are a specialization of coroutines. Then it's... -
07:32 AM Bug #4346: Sort_by! causes uniq! to crash on array of hashes
- =begin
Thank you. I tested with SVN revision stated above and the bug is gone.
=end
-
06:07 AM Bug #4346 (Closed): Sort_by! causes uniq! to crash on array of hashes
- =begin
This issue was solved with changeset r30738.
Chris, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----
Add ML Reference and a test for r30736 [ruby-core:34997]
... -
03:12 AM Bug #4346 (Closed): Sort_by! causes uniq! to crash on array of hashes
- =begin
Summary:
Sorting an array of hashes before doing a uniq! causes ruby to crash on uniq!.
Program to reproduce:
a = [
{ :color => "blue", :name => "water" },
{ :color => "red", :name => "fire" },
{ :color => "w... -
06:29 AM Feature #4147: Array#sample で重みを指定したい
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:43148] [Ruby 1.9-Feature#4147] Array#sample で重みを指定したい"
on Sun, 30 Jan 2011 19:14:20 +0900, Yoji Ojima <redmine@ruby-lang.org> writes:
|遅くなりましたが、簡単にまとめると、
|
|- choice というネーミングは単一選... -
05:46 AM Revision 9a89f325 (git): * lib/irb/locale.rb (IRB::Locale::#search_file):
- Gem might be undefined if --disable-gems. [ruby-core:34990]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:32 AM Feature #4347 (Closed): Tracing cannot be re-enabled after callcc [patch]
- =begin
% patch -p1 < test_continuation_tracing.patch
patching file test/ruby/test_continuation.rb
% ./ruby -v test/ruby/test_continuation.rb
ruby 1.9.3dev (2011-01-30 trunk 30735) [i386-darwin9.8.0]
Run options:
# Runni... -
03:44 AM Revision 48de1e29 (git): * addr2line.c: suppressed shorten-64-to-32 warnings.
- * regcomp.c: ditto.
* regexec.c: ditto.
* regint.h: ditto.
* regparse.c: ditto.
* regparse.h: ditto.
* time.c: ditto.
* variable.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/30/2011
-
10:18 PM Feature #4326: Fiber should respond to call() and []
- =begin
This might go in a slightly different direction, but I would really love Fiber to define #to_proc allowing things like [1, 2, 3].each(&fiber).
Also note that in ANSI smalltalk (which has a rather common object model to Ruby) a... -
01:50 PM Feature #4326: Fiber should respond to call() and []
- =begin
On Fri, Jan 28, 2011 at 9:28 PM, Jim Weirich <jim.weirich@gmail.com> wrote:
> I wouldn't say Knuth is wrong, but a natural language "is-a" is not always
> an indication of subtype (c.f. the square/rectangle paradox where a squa... -
01:47 PM Feature #4326: Fiber should respond to call() and []
- =begin
On Sat, Jan 29, 2011 at 11:41 AM, Aaron Patterson
<aaron@tenderlovemaking.com> wrote:
>> 1. subroutines are a specialization of coroutines. Then it's perfectly
>> valid for subroutines to define things coroutines do not.
>
>... -
02:41 AM Feature #4326: Fiber should respond to call() and []
- =begin
On Sat, Jan 29, 2011 at 09:45:30AM +0900, Charles Oliver Nutter wrote:
> On Fri, Jan 28, 2011 at 5:29 PM, Aaron Patterson
> <aaron@tenderlovemaking.com> wrote:
> > My point is that it seems that LSP is broken. Either Fiber sh... -
09:47 PM Revision f83d4b17 (git): Additional fix for r30736
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:00 PM Revision a924b176 (git): Add ML Reference and a test for r30736 [ruby-core:34997]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:42 PM Revision a6d0cd44 (git): * 2011-01-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:42 PM Revision 88a9b878 (git): * array.c (rb_ary_uniq_bang): call ARY_SET_LEN(ary, 0) before
- rb_resize_capa because rb_resize_capa expects resized length is
smaller than current array length. call rb_ary_unshare before
rb_resize_capa because rb_resize_capa losts the reference to
original shared array.
git-svn-id: svn+ssh:... -
07:14 PM Feature #4147: Array#sample で重みを指定したい
- =begin
>機能的な必要性/十分性については私には判断がつきませんが、私
>には問題なさそうに見えます。ただし、each_sample, each_choice
>という名前に若干の違和感がありますので、ruby-coreの人たちの
>意見も聞きたいところです。
遅くなりましたが、簡単にまとめると、
- choice というネーミングは単一選択のニュアンスがあるので望ましくない
- 復元抽出をオプション repeat: true... -
11:36 AM Bug #4343: Dir.glob does match files without extension
- =begin
Here is some more results of Dir.glob on Windows.
irb(main):001:0> Dir.glob('bla*')
=> ["bla", "bla.rb"]
irb(main):002:0> Dir.glob('bla.rb')
=> ["bla.rb"]
irb(main):003:0> Dir.glob('bla.rb...........')
=> ["bla.... -
03:01 AM Bug #4343: Dir.glob does match files without extension
- =begin
Ok, the confusion comes from the differences between platforms. Lets have file named "foo.bar".
On Windows, the filename consist of two parts, the filename "foo" and the extension "bar". These two parts are traditionally se... -
02:49 AM Bug #4343: Dir.glob does match files without extension
- =begin
On 01/29/2011 11:09 AM, Vít Ondruch wrote:
> Well glob should behave on Windows by Windows conventions and on Unix by
> Unix conventions. It is like if you will insist that file creation has
> to behave the same way on Unix as... -
02:26 AM Bug #4343: Dir.glob does match files without extension
- =begin
On 1/29/2011 12:09 PM, Vít Ondruch wrote:
> Well glob should behave on Windows by Windows conventions and on Unix
> by Unix conventions. It is like if you will insist that file creation
> has to behave the same way on Un... -
02:00 AM Bug #4343: Dir.glob does match files without extension
- =begin
On 01/29/2011 10:33 AM, Vít Ondruch wrote:
> Dne 29.1.2011 17:27, Jeremy Bopp napsal(a):
>> On 01/29/2011 10:19 AM, Nobuyoshi Nakada wrote:
>>> Issue #4343 has been updated by Nobuyoshi Nakada.
>>>
>>>
>>>> Why there is for... -
01:27 AM Bug #4343: Dir.glob does match files without extension
- =begin
On 01/29/2011 10:19 AM, Nobuyoshi Nakada wrote:
> Issue #4343 has been updated by Nobuyoshi Nakada.
>
>
>> Why there is for the first case listed "bla." instead of just "bla".
>
> Because you gave "bla.". Dir.glob respe... -
01:25 AM Bug #4343: Dir.glob does match files without extension
- =begin
If they are the same, then my original scenario has to list also "bla", otherwise you are not consistent.
=end
-
01:19 AM Bug #4343: Dir.glob does match files without extension
- =begin
> Why there is for the first case listed "bla." instead of just "bla".
Because you gave "bla.". Dir.glob respects the given pattern as possible.
And "bla." and "bla" are same on NTFS.
=end
-
12:38 AM Bug #4343: Dir.glob does match files without extension
- =begin
Well by displaying the "dir" output I tried to point out that it is not that expected.
Btw. these are other not so logical outputs:
c:\temp>ruby -e "p Dir.glob('bla.{,*}')"
["bla.", "bla.rb"]
c:\temp>ruby -e "p D... -
12:25 AM Bug #4343 (Feedback): Dir.glob does match files without extension
- =begin
=end
-
12:24 AM Bug #4343: Dir.glob does match files without extension
- =begin
Yes, it is a expected result, as you specified the pattern with extension.
=end
-
12:10 AM Bug #4343 (Rejected): Dir.glob does match files without extension
- =begin
C:\temp\pat>dir bla.*
Svazek v jednotce C je Windows7_x64_OS.
Sériové číslo svazku je 2C6E-5F69.
Výpis adresáře C:\temp\pat
29.01.2011 15:37 0 bla
29.01.2011 15:37 0 bla.rb
... -
08:20 AM Revision 627e79f1 (git): * missing/crypt.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:40 AM Revision ce000710 (git): * test/rubygems/test_gem_security.rb (TestGemSecurity): valid only
- if OpenSSL is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:15 AM Revision 59064a75 (git): * test/dl/test_dl2.rb (TestDL#test_sin): math functions do not
- work on x86_64 due to the design of DL2.
* test/dl/test_func.rb (DL::TestFunc#test_{sinf,sin): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:10 AM Revision 2418e5ca (git): * strftime.c (rb_strftime_with_timespec): %G produces 4 digits.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:13 AM Revision b4be48e8 (git): * enc/emacs_mule.c (emacsmule_islead): 7bit range is also leading
- byte.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:09 AM Bug #4345 (Closed): IRB fails with --disable-gems and Ubuntu default LANG variable
- =begin
Hello,
-
04:03 AM Revision 46142e47 (git): * hash.c (rb_hash_fetch_m): use useful message for longer key, not a
- nonsense id value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:01 AM Revision f989f7c7 (git): * string.c (rb_str_ellipsize): new function to ellipsize a string.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:57 AM Bug #4344 (Closed): [ext/openssl] BN comparison to nil fails
- =begin
This issue was solved with changeset r30724.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----
* ext/openssl/ossl_bn.c (GetBNPtr): add missing nil case... -
03:19 AM Bug #4344 (Closed): [ext/openssl] BN comparison to nil fails
- =begin
Hi all,
this currently fails in all 1.9.2 versions including trunk:
require 'openssl'
bn = OpenSSL::BN.new("1")
bn == nil
=> in `eql?': Cannot convert into OpenSSL::BN (TypeError)
The reason is that Get... -
03:56 AM Revision 4dcc883d (git): * include/ruby/encoding.h (rb_enc_step_back): new function to step
- back n characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:53 AM Revision 286615d4 (git): * enc/emacs_mule.c (emacsmule_islead): fix inverse condition.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:02 AM Revision 2a5177e7 (git): io.c (struct argf): char behaves like an unsigned char by default on AIX.
- http://publib.boulder.ibm.com/infocenter/comphelp/v111v131/index.jsp?topic=/com.ibm.xlcpp111.aix.doc/language_ref/ch.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/29/2011
-
11:03 PM Revision 33671c82 (git): * configure.in: Mac OS X wrongly reports it has fdatasync(3).
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:18 PM Bug #4342 (Closed): YAML raises an exception while parsing certain regular expressions
- =begin
Roundtripping does not work for the regular expresion //n , and this appears to be distinct from Backport87 bug 1639.
irb -d
ruby-head :001 > require "yaml"
Exception `NameError' at /Users/agrimm/.rvm/rubies/ruby-head/li... -
08:35 PM Bug #4341 (Closed): baserubyに1.8.xを指定すると make benchmark がエラー
- =begin
trunkをビルドするとき、baserubyを指定する必要があるのですが、多くの人はruby-1.8.xを
指定していると思います(それが推奨と以前聞きました)。
しかしながら、make benchmarkがbaseruby指定時にbaserubyとビルドしたrubyとの性能比較モードで
動作するため以下のエラーが出ます。
---------------------------------------------------... -
06:48 PM Revision 53234071 (git): * ext/openssl/ossl_bn.c (GetBNPtr): add missing nil case.
- patched by Martin Bosslet. [ruby-core:34987]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:06 PM Revision eea774d0 (git): * include/ruby/ruby.h: Added NUM2MODET() and MODET2NUM() default definition.
- Because r30686 introduced win32 build failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:33 PM Revision 29b1c2a5 (git): * 2011-01-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:33 PM Revision 674ea103 (git): * array.c (rb_ary_join): [].join.encoding must be US-ASCII.
- [ruby-list:47790]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:07 PM Feature #3908: private constant
- =begin
Hi, matz
May I introduce these methods in relation to private constants?
- Module#public_constants, as alias to Module#constants
(corresponding to Ojbect#public_methods)
- Module#private_constants, which returns... -
11:23 AM Revision 1195ba66 (git): * benchmark/driver.rb (BenchmarkDriver#measure): Show command line
- when abnormal exiting occur.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:42 AM Feature #4326: Fiber should respond to call() and []
- =begin
On Fri, Jan 28, 2011 at 7:15 PM, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
> Hi,
>
> 2011/1/27 Kurt Stephens <redmine@ruby-lang.org>:
>> Shouldn't Fiber#[] behave like Thread#[]?
>
> I think more notice should be taken of Kurt'... -
10:16 AM Feature #4326: Fiber should respond to call() and []
- =begin
Hi,
2011/1/27 Kurt Stephens <redmine@ruby-lang.org>:
> Shouldn't Fiber#[] behave like Thread#[]?
I think more notice should be taken of Kurt's remark :-)
--
Yusuke Endoh <mame@tsg.ne.jp>
=end
-
09:47 AM Feature #4326: Fiber should respond to call() and []
- =begin
On Fri, Jan 28, 2011 at 6:45 PM, Charles Oliver Nutter
<headius@headius.com> wrote:
> LSP says the opposite. Assuming (from your interpretation of Knuth and
> LSP) that coroutines (Fibers) are a generalization of subroutines
... -
09:45 AM Feature #4326: Fiber should respond to call() and []
- =begin
On Fri, Jan 28, 2011 at 5:29 PM, Aaron Patterson
<aaron@tenderlovemaking.com> wrote:
> My point is that it seems that LSP is broken. Either Fiber should
> respond to "call" and "[]", or Proc should respond to "resume". Reall... -
08:29 AM Feature #4326: Fiber should respond to call() and []
- =begin
On Sat, Jan 29, 2011 at 02:58:46AM +0900, Charles Nutter wrote:
> Issue #4326 has been updated by Charles Nutter.
>
>
> RPRR and Nobu make good points.
>
> Fibers are coroutines...agreed.
>
> If we go by Knuth, a subr... -
02:57 AM Feature #4326: Fiber should respond to call() and []
- =begin
RPRR and Nobu make good points.
Fibers are coroutines...agreed.
If we go by Knuth, a subroutine "is a" coroutine, but you're thinking about the relationship wrong. A Hash "is a" Object. We don't expect Object (coroutine... -
10:34 AM Bug #4340: Encoding of result string for String#gsub is not consistent
- =begin
Your beginning-of-string substitutions don't use the "hi" variable in either case. It doesn't affect the result, though.
JRuby behaves differently, apparently using the pattern's encoding in gsub and the original's encoding ... -
09:54 AM Bug #4340 (Closed): Encoding of result string for String#gsub is not consistent
- =begin
Depending upon where the replacement occurs, the encoding of the result of String#gsub is not consistent.
When the replacement happens at the beginning of the string the encoding of the result is the encoding of the replacem... -
09:54 AM Bug #4337: rubygems calls chdir directly, actions should be enclosed in a block
- =begin
This should be fixed in trunk now as well, please verify.
=end
-
06:55 AM Bug #4337 (Closed): rubygems calls chdir directly, actions should be enclosed in a block
- =begin
Unfortunately your supplied patch did not pass the tests.
I committed a different version which allowed the tests to pass to rubygems trunk. It will be imported when RubyGems 1.5 is released at the end of January.
=end
-
01:44 AM Bug #4337 (Closed): rubygems calls chdir directly, actions should be enclosed in a block
- =begin
When installing gems, windows_stub_script is called in installer.rb which
directly calls Dir.chdir.
If this were to be called inside another Dir.chdir call with a block passed to
it, it would spew warnings.
Instead ... -
08:26 AM Revision d81eaaf1 (git): * property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:54 AM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
- =begin
If you move the code into a gem, I can add the same bits for JRuby so people can gem install it in 1.8.7 and 1.9.2 modes. I will probably just implement all in Ruby for now.
=end
-
02:57 AM Bug #4325: [ext/openssl] Encoding of subclasses fails when it shouldn't
- =begin
Hi,
I found a imo quite reasonable use case for sublassing Sequence or Set.
Imagine you have an instance of a rather large sequence or set permanently
stored in a variable somewhere - and this instance gets encoded to DER... -
02:01 AM Revision 5b74e4f0 (git): * vm_insnhelper.c (vm_get_ev_const): no-scope reference to toplevel
- private constant has been prohibited incorrectly.
* test/ruby/test_module.rb (test_toplevel_private_constant): add a
test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e