Project

General

Profile

Activity

From 01/31/2011 to 02/06/2011

02/06/2011

11:36 PM Feature #4197: Improvement of the benchmark library
=begin
> Hi,
>
> Well, Nakada-san already said almost all my points.
>
>>Anyway, I am going to propose to move that print behavior in Report/Job, and I will probably use IO#flush, to make things simpler.
> I see. It's better than c...
kosaki (Motohiro KOSAKI)
11:19 PM Feature #4197: Improvement of the benchmark library
=begin
Hi,

Well, Nakada-san already said almost all my points.

>Anyway, I am going to propose to move that print behavior in Report/Job, and I will probably use IO#flush, to make things simpler.
I see. It's better than chang...
nagachika (Tomoyuki Chikanaga)
11:07 AM Feature #4197: Improvement of the benchmark library
=begin
Hi,

At Sun, 6 Feb 2011 03:38:48 +0900,
Benoit Daloze wrote in [ruby-core:35103]:
> (If it is an Interrupt, I think restoring STDOUT's sync is not relevant.)

A library should not leave such globally shared states changed.
...
nobu (Nobuyoshi Nakada)
03:38 AM Feature #4197: Improvement of the benchmark library
=begin
Hi,
On 5 February 2011 16:08, Tomoyuki Chikanaga wrote:
> Hi,
> In Benchmark#bmbm, I think it's better to use ensure clause instead of Object#tap to restore STDOUT.sync.

Do you have a particular scenario in mind ?
(I...
Eregon (Benoit Daloze)
12:08 AM Feature #4197: Improvement of the benchmark library
=begin
Hi,
In Benchmark#bmbm, I think it's better to use ensure clause instead of Object#tap to restore STDOUT.sync. How about a patch below?

diff --git a/lib/benchmark.rb b/lib/benchmark.rb
index 052b9ad..ac17ba4 100644
--- ...
nagachika (Tomoyuki Chikanaga)
07:27 PM Bug #4373 (Feedback): http.rb:677: [BUG] Segmentation fault
=begin
Does your application access to web via HTTP using net/http(s)?

I think need the following things for fix:

* Is OpenSSL installed from homebrew? rvm? macports?
* Could you produce the reproducing code? (net/http code)...
sorah (Sorah Fukumori)
06:49 PM Bug #4373 (Open): http.rb:677: [BUG] Segmentation fault
=begin
thanks.
=end
sorah (Sorah Fukumori)
06:35 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
The latest crash log file: ruby_2011-02-05-181943_Christian-Fazzinis-MacBook-Pro.crash

Process: ruby [490]
Path: /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/bin/ruby
Identifier: ruby
Version: ...
krz (Christian Fazzini)
06:22 PM Bug #4373 (Feedback): http.rb:677: [BUG] Segmentation fault
=begin
Hi,

On darwin/osx, you should have crash logs under ~/Library/Logs/CrashReporter/.
Could you show crash log file?

--sora_h
=end
sorah (Sorah Fukumori)
05:48 PM Bug #4373 (Third Party's Issue): http.rb:677: [BUG] Segmentation fault
=begin
Where is this error coming from?

The following happens after I start the rails server via "rails s":

rails s
=> Booting WEBrick
=> Rails 3.0.3 application starting in development on http://0.0.0.0:3000
=> Call wi...
krz (Christian Fazzini)
03:49 PM Bug #4343: Dir.glob does match files without extension
=begin
mathew,

First of all, let me assure that I'm well aware of engineering trade
offs. I suggested that consistency be maintained where feasible, not
always and at the expense of sanity. I also suggested that extensions
would...
javanthropus (Jeremy Bopp)
03:16 PM Bug #4372 (Feedback): Segmentation fault - hpricot
=begin

=end
sorah (Sorah Fukumori)
01:24 PM Bug #4372: Segmentation fault - hpricot
=begin
Hi,

At Sun, 6 Feb 2011 12:39:41 +0900,
Linus Oleander wrote in [ruby-core:35108]:
> ruby -v: ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0]

On darwin, you should have crash logs under
~/Library/Logs/Cra...
nobu (Nobuyoshi Nakada)
12:57 PM Bug #4372: Segmentation fault - hpricot
=begin
It seams like it has something to do with this:
https://github.com/hpricot/hpricot/issues/#issue/33
=end
oleander (Linus Oleander)
12:39 PM Bug #4372 (Rejected): Segmentation fault - hpricot
=begin
Here is the output https://gist.github.com/813091

Here is the rspec code that caused the error.
https://gist.github.com/813098

I can bin the code that is being tested if it's necessary.
=end
oleander (Linus Oleander)
03:16 PM Bug #4370 (Rejected): Abort trap in net/http
=begin

=end
sorah (Sorah Fukumori)
02:39 PM Bug #4370: Abort trap in net/http
=begin
Finally found the problem: I installed MySQL from MacPorts, which the mysql2 gem was linking to, causing the MacPorts libssl to be loaded rather than the system libssl. Installing the official MySQL package (which use system lib...
electrum (David Phillips)
11:24 AM Bug #4370 (Feedback): Abort trap in net/http
=begin

=end
nobu (Nobuyoshi Nakada)
11:12 AM Bug #4370: Abort trap in net/http
=begin
Hi,

At Sun, 6 Feb 2011 08:19:41 +0900,
David Phillips wrote in [ruby-core:35104]:
> Minimal reproduction:
>
> rails new foo -d mysql
> cd foo
> bundle install
> rails console

I can't reproduce it only with the follo...
nobu (Nobuyoshi Nakada)
08:19 AM Bug #4370: Abort trap in net/http
=begin
Minimal reproduction:

rails new foo -d mysql
cd foo
bundle install
rails console

require 'net/http'
http = Net::HTTP.new('s3.amazonaws.com', 443)
http.use_ssl = true
http.start {|h| h.request(Net::HTTP::Get....
electrum (David Phillips)
12:56 PM Bug #4340 (Closed): Encoding of result string for String#gsub is not consistent
=begin
Fixed by r30806 (with test)
=end
drbrain (Eric Hodel)
11:23 AM Bug #4363: Ruby segfaults when any gem module is required
=begin
Hi,

At Fri, 4 Feb 2011 05:16:32 +0900,
Geoff W. wrote in [ruby-core:35076]:
> ruby -v: ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-linux]
>
> Test file 1 (test.rb):
> # Begin
> require "mysql"
> # End
>
> Tes...
nobu (Nobuyoshi Nakada)
10:59 AM Revision 28937bf8 (git): * thread_pthread.c (register_cached_thread_and_wait): move invalid
storage class function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:56 AM Revision 9b68d667 (git): * ext/pty/pty.c (chfunc): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:38 AM Revision 088474a2 (git): * ext/pty/pty.c (chfunc): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:48 AM Revision b5f628a8 (git): * ext/json/lib/json/common.rb (JSON::MissingUnicodeSupport.iconv):
should not drop rest of the result. use Iconv.conv instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:54 AM Revision edaf78df (git): Ensure result encoding is the same as input encoding for String#gsub. [Bug #4340].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
03:18 AM Revision b1986003 (git): * parse.y (words, qwords): dispatch array events. based on a
patch from Michael Edgar. [Bug #4365].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:13 AM Revision 58195557 (git): * test/fileutils/fileasserts.rb (FileAssertions): separate module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:29 AM Revision 2eb8b115 (git): * 2011-02-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:29 AM Revision adfcc591 (git): * ext/dbm/dbm.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

02/05/2011

09:57 PM Bug #4364 (Closed): Ripper loses MLHS variables in the presence of an LHS splat
=begin
This issue was solved with changeset r30799.
Michael, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* parse.y (mlhs_basic): include mlhs_post for ripper. ...
nobu (Nobuyoshi Nakada)
12:53 PM Bug #4364: Ripper loses MLHS variables in the presence of an LHS splat
=begin
Test patch attached. Thanks!
=end
adgar (Michael Edgar)
09:31 AM Bug #4364 (Feedback): Ripper loses MLHS variables in the presence of an LHS splat
=begin
Thank you, it seems fine.
Couldn't you make test case for it too?
=end
nobu (Nobuyoshi Nakada)
04:57 PM Bug #4371 (Closed): assert_blockで ArgumentError が起きます
=begin
This issue was solved with changeset r30796.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* lib/test/unit/assertions.rb (Test::Unit::Assertions#...
kosaki (Motohiro KOSAKI)
04:27 PM Bug #4371 (Closed): assert_blockで ArgumentError が起きます
=begin
昨日からtrunkで4件エラーが増えました

2) Error:
test_cv_timed_wait(TestCV):
ArgumentError: assertion message must be String or Proc, but NilClass was given.
/home/kosaki/linux/ruby-svn/ruby/test/fileutils/fileasserts.rb:12:in `a...
kosaki (Motohiro KOSAKI)
03:44 PM Bug #4370 (Rejected): Abort trap in net/http
=begin
This crash occurred while using the s3 gem in the Rails console. The HTTP request was using SSL.

ruby-1.9.2-p136 :013 > s3 = S3::Service.new(:access_key_id => AwsConfig.aws_access_key, :secret_access_key => AwsConfig.aws_se...
electrum (David Phillips)
01:48 PM Revision 0efad539 (git): Surpress warnings: possibly useless use of :: in void context
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:06 PM Revision e66eec92 (git): * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
revert r30796. r30797 and r30798 are an alternative fix.
[ruby-dev:43174]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:47 PM Revision 476ba908 (git): * parse.y (mlhs_basic): include mlhs_post for ripper. a patch
from Michael Edgar at [ruby-core:35078].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:22 PM Revision dd9341f0 (git): * lib/test/unit/assertions.rb (assert_block): move from
test/fileutils/fileasserts.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:40 AM Revision 790f43a3 (git): * test/fileutils/fileasserts.rb (assert_block): pass arguments
as-is. [ruby-dev:43174]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:26 AM Bug #4343 (Rejected): Dir.glob does match files without extension
=begin
File.fnmatch?("bla.*", "bla") returns false, so "bla" cannot be
returned by Dir.glob("bla.*").
=end
nobu (Nobuyoshi Nakada)
04:30 AM Bug #4343: Dir.glob does match files without extension
=begin
On Fri, Feb 4, 2011 at 12:11, Jeremy Bopp <jeremy@bopp.net> wrote:
> On 02/04/2011 10:33 AM, mathew wrote:
>> % man -s3 glob
[...]
> That implementation is provided by libc:

And libc is part of Unix. The glob() library cal...
meta (mathew murphy)
03:12 AM Bug #4343: Dir.glob does match files without extension
=begin
On 02/04/2011 10:33 AM, mathew wrote:
> On Thu, Feb 3, 2011 at 22:29, Jeremy Bopp <jeremy@bopp.net> wrote:
>> Globs aren't implemented by the OS or the filesystem.
>
> Wrong.
>
> % man -s3 glob
>
> GLOB(3) ...
javanthropus (Jeremy Bopp)
01:34 AM Bug #4343: Dir.glob does match files without extension
=begin
On Thu, Feb 3, 2011 at 22:29, Jeremy Bopp <jeremy@bopp.net> wrote:
> Globs aren't implemented by the OS or the filesystem.

Wrong.

% man -s3 glob

GLOB(3) Linux Programmer's Manual GLOB...
meta (mathew murphy)
07:50 AM Revision 49f8799a (git): * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
msg can be passed nil. [Bug #4371] [ruby-dev:43174]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
06:20 AM Revision 8aa89529 (git): Import RDoc 3.5.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
03:47 AM Bug #4331 (Closed): FileUtils::DryRun.copy_entry makes changes.
=begin
This issue was solved with changeset r30787.
Hanae, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* lib/fileutils.rb (FileUtils::LowMethods): make low leve...
nobu (Nobuyoshi Nakada)
03:05 AM Revision d8ebf382 (git): * ext/syck/rubyext.c (syck_node_init_copy): SyckNode is not
copiable. [ruby-core:35094]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:48 AM Revision 74e6dd40 (git): * ext/openssl/ossl_cipher.c (ossl_cipher_alloc): leave data ptr
NULL.
* ext/openssl/ossl_cipher.c (ossl_cipher_new, ossl_cipher_initialize):
allocate internal structure. [ruby-core:35094]
* ext/openssl/ossl_cipher.c (ossl_cipher_copy): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3079...
nobu (Nobuyoshi Nakada)
02:29 AM Revision 1069e5d6 (git): * ext/json/parser/parser.h (GET_PARSER): raise TypeError.
* ext/json/parser/parser.rl (cParser_initialize): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:17 AM Bug #4361 (Closed): SCRIPT_LINES__ mechanism should treat magic-comment.
=begin
This issue was solved with changeset r30784.
Kyosuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* parse.y (lex_getline, parser_set_encode): set encodin...
nobu (Nobuyoshi Nakada)
01:38 AM Bug #4340: Encoding of result string for String#gsub is not consistent
=begin
Can I ask why regexps are not affected by
# encoding: UTF-8
declarations?


mathew
=end
meta (mathew murphy)
01:30 AM Revision 9cc62abc (git): * ext/json/parser/parser.h (GET_PARSER): check if initialized.
[ruby-core:35079]
* ext/json/parser/parser.rl (cParser_initialize): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:13 AM Revision bc1e4b4e (git): * ext/json/parser/parser.rl: add local variables for emacs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:09 AM Revision bf794afb (git): * load.c (rb_get_expanded_load_path): always expand load paths.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:38 AM Revision e9cc5184 (git): * transcode.c (encoded_dup): extract.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

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
nobu (Nobuyoshi Nakada)
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 nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)
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 nobu (Nobuyoshi Nakada)
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 svn[bot]
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+...
kosaki (Motohiro KOSAKI)
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:
>>>>...
javanthropus (Jeremy Bopp)
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...
meta (mathew murphy)
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...
kosaki (Motohiro KOSAKI)
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...
Eregon (Benoit Daloze)
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...
kosaki (Motohiro KOSAKI)
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]
"...
kosaki (Motohiro KOSAKI)
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 akr (Akira Tanaka)
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...
mame (Yusuke Endoh)
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...
adgar (Michael Edgar)
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
rogerdpack (Roger Pack)
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: [...
gomysql (Geoff W.)
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
kosaki (Motohiro KOSAKI)

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 で文字列への
暗黙の変換が行なわれるようになっているのですが、この時に先頭の - を認識しません。
またシンボルの時も先頭の - が解...
nagachika (Tomoyuki Chikanaga)
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
naruse (Yui NARUSE)
09:36 PM Bug #4361 (Closed): SCRIPT_LINES__ mechanism should treat magic-comment.
=begin
SCRIPT_LINES__に格納されるソースのエンコーディングがUS-ASCIIになっています。
そのため、ソースコード中に日本語が含まれる場合に問題になることがあります。
具体的には、デバッガなどがソースコードを表示しようとしたタイミングでエラーとなることがあります。

ソースのマジコメを反映したエンコーディングを付加しているべきではないかと思いますが、いかがでしょうか。
=end
moro (Kyosuke MOROHASHI)
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...
naruse (Yui NARUSE)
10:33 AM Bug #4360: Zlib::GzipReader#unused raises "called on hidden object" error when called
=begin
See also [ruby-talk:377703]
=end
drbrain (Eric Hodel)
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...
drbrain (Eric Hodel)
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
kosaki (Motohiro KOSAKI)
03:19 PM Revision b0d216c8 (git): * property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)
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...
quix (James M. Lawrence)
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 ...
mame (Yusuke Endoh)
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...
mame (Yusuke Endoh)
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...
quix (James M. Lawrence)
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...
mame (Yusuke Endoh)
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 akr (Akira Tanaka)
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 akr (Akira Tanaka)
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
drbrain (Eric Hodel)
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
drbrain (Eric Hodel)
10:40 AM Bug #4163 (Closed): RubyGems uses deprecated API: YAML.quick_emit.
=begin
Fixed by import of RubyGems 1.5
=end
drbrain (Eric Hodel)
10:36 AM Bug #4311 (Closed): ruby setup.sb fails to install ruby gems
=begin
Fixed by RubyGems 1.5.0.
=end
drbrain (Eric Hodel)
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 naruse (Yui NARUSE)
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
naruse (Yui NARUSE)
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-...
naruse (Yui NARUSE)
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
naruse (Yui NARUSE)
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...
Anonymous
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
tenderlovemaking (Aaron Patterson)
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...
tenderlovemaking (Aaron Patterson)
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_...
Anonymous
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...
tenderlovemaking (Aaron Patterson)
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 drbrain (Eric Hodel)
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
naruse (Yui NARUSE)
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 znz (Kazuhiro NISHIYAMA)

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
tenderlovemaking (Aaron Patterson)
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
tenderlovemaking (Aaron Patterson)
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 svn[bot]
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...
tenderlovemaking (Aaron Patterson)
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?
>
> ...
luislavena (Luis Lavena)
09:48 PM Bug #4354 (Rejected): File.realdirpath is expected to test for real file.
=begin

=end
luislavena (Luis Lavena)
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."...
akr (Akira Tanaka)
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:

luislavena (Luis Lavena)
06:30 PM Bug #4341 (Open): baserubyに1.8.xを指定すると make benchmark がエラー
=begin

=end
naruse (Yui NARUSE)
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...
quix (James M. Lawrence)
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...
mame (Yusuke Endoh)
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 ... quix (James M. Lawrence)
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
bobgus (Bob Gustafson)
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
bobgus (Bob Gustafson)
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
wr0ngway (Matthew Conway)
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
drbrain (Eric Hodel)
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
kosaki (Motohiro KOSAKI)
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 drbrain (Eric Hodel)
03:24 AM Bug #4353 (Feedback): Missing Patch Level on ruby-lang.org FTP
=begin

=end
luislavena (Luis Lavena)
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...
luislavena (Luis Lavena)
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.
...
jfelchner (Jeff Felchner)
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 drbrain (Eric Hodel)
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 drbrain (Eric Hodel)

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 svn[bot]
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 kosaki (Motohiro KOSAKI)
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...
kosaki (Motohiro KOSAKI)
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 ...
naruse (Yui NARUSE)
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 znz (Kazuhiro NISHIYAMA)
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 akr (Akira Tanaka)
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...
quix (James M. Lawrence)
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
U.Nakamura
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...
kosaki (Motohiro KOSAKI)
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 Ryan Davis
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...
naruse (Yui NARUSE)
12:04 AM Feature #4351: Server Name Indication (SNI) for net/http
=begin
へぇ、こんなものが、知りませんでした。
わたしは賛成です、入れてしまっていいんじゃないでしょうか。
=end
naruse (Yui NARUSE)

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
nobu (Nobuyoshi Nakada)
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 nobu (Nobuyoshi Nakada)
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...
akr (Akira Tanaka)
06:37 PM Bug #4350: Segmentation fault and Bus Error
=begin
It seems related to #2295
=end
qianthinking (Leon Li)
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...
qianthinking (Leon Li)
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
Masaya Tarui
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 svn[bot]
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...
naruse (Yui NARUSE)
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(...
phasis68 (Heesob Park)
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...
yugui (Yuki Sonoda)
02:30 PM Bug #4345: IRB fails with --disable-gems and Ubuntu default LANG variable
=begin

=end
yugui (Yuki Sonoda)
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...
headius (Charles Nutter)
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 nagachika (Tomoyuki Chikanaga)
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...
javanthropus (Jeremy Bopp)
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...
meta (mathew murphy)
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 akr (Akira Tanaka)
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 kosaki (Motohiro KOSAKI)
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
nagachika (Tomoyuki Chikanaga)
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 nagachika (Tomoyuki Chikanaga)
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 ]
...
adrianomitre (Adriano Mitre)
08:42 AM Feature #4326: Fiber should respond to call() and []
=begin
New patch without Fiber#[]
=end
tenderlovemaking (Aaron Patterson)
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...
tenderlovemaking (Aaron Patterson)
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...
tenderlovemaking (Aaron Patterson)
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
squarism (Chris Dillon)
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]
...
naruse (Yui NARUSE)
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...
squarism (Chris Dillon)
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 というネーミングは単一選...
matz (Yukihiro Matsumoto)
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
yugui (Yuki Sonoda)
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...
quix (James M. Lawrence)
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
naruse (Yui NARUSE)
 

Also available in: Atom