Project

General

Profile

Activity

From 01/05/2011 to 01/11/2011

01/11/2011

11:37 PM Revision 23733f10 (git): * 2011-01-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:37 PM Revision 79654f3f (git): * hash.c (hash_i): return different values for inverse hash.
[ruby-core:34334]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:21 PM Bug #4256: [BUG] Segmentation fault ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
=begin
Sorry, forgot to mention application is using watir 1.6.7 to support the functionality in X.rb mentioned above.

and we added the code to intialize the win32ole by using WIN32API.coInitiallize(), to get the access to the wind...
mahendravadar (Rama Mahendravada)
10:05 PM Bug #4256: [BUG] Segmentation fault ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
=begin
As mentioned I am very new to the ROR, please ask me specific questions so that I can provide you the required data.

1. Uninstalled the mysql2. (which was installed in the ruby directory, we are not using it)
2. bundle in...
mahendravadar (Rama Mahendravada)
08:17 PM Bug #4256: [BUG] Segmentation fault ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
=begin
Also, forgot to mention but win32-* gems that are binaries (win32-api 1.4.6 mingw32) do not contain binaries for Ruby 1.9.2, similar to JSON example I mentioned before.

Proceed to removal in case you're not using them or fol...
luislavena (Luis Lavena)
08:15 PM Bug #4256: [BUG] Segmentation fault ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
=begin
Can you please check what "C:/Program Files/waftt/lib/script_worker2.rb:152" is requiring in that line?

It is triggering a dependency on one library (that ActiveSupport is loading) but there is no indication in the backtrace...
luislavena (Luis Lavena)
07:44 PM Bug #4256: [BUG] Segmentation fault ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
=begin
@Shota : I am new to ruby can tell me what does it mean by "native extensions" of delayed_work? As we are using delayed_job gem not delayed_work.

@Luis : No need for the JSON gem, so removed it and still getting the same err...
mahendravadar (Rama Mahendravada)
10:39 PM Feature #4247: New features for Array#sample, Array#choice
=begin
Hi,

2011/1/8 Benoit Daloze <eregontp@gmail.com>:
> Is there a reason to change Array#sample instead of using the
> enumerator form with take(n) to get an Array of n random elements ?
>
> I find weird to have a method (#sam...
mame (Yusuke Endoh)
09:43 PM Bug #4263 (Rejected): `pack': can't convert Fixnum into String (TypeError)
=begin
I get the following error:
C:/Ruby192/lib/ruby/1.9.1/Win32API.rb:22:in `pack': can't convert Fixnum into String (TypeError)
from C:/Ruby192/lib/ruby/1.9.1/Win32API.rb:22:in `block in call'
from C:/Ruby192/lib/ruby/1.9.1/W...
SamTreweek (Samuel Treweek)
07:28 PM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
This patch could be written as a C ext/*.so if MRI had an API for callbacks functions before and after each of the GC phases.
=end
kstephens (Kurt Stephens)
07:13 PM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
Topic branch: trunk-weakref-c

Fixed: Free cached WeakRef instances after they are unreferenced.

https://github.com/kstephens/ruby/commit/3d4ab8de8231f7d0bd0e9543a41f0c45e08dbfc8

=end
kstephens (Kurt Stephens)
06:08 PM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
See commit in branch from trunk:

http://github.com/kstephens/ruby/commit/0942a955c649c39d3be4db13dbfb0bacfd634994

Probably not the same API as WeakReference.


=end
kstephens (Kurt Stephens)
03:54 PM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
I'm working on a patch to implement weak refs in C.
=end
kstephens (Kurt Stephens)
12:52 PM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
Maybe it's time to implement weakrefs in C that work well with MRI's collector.

http://www.haible.de/bruno/papers/cs/weak/WeakDatastructures-writeup.html

=end
kstephens (Kurt Stephens)
04:57 AM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
Some clarification about Weak/Soft/Phantom references.

* Weak: not considered as references by the GC. Objects that are only weakly referenced could be garbage collected at any time. Weak references can be traversed to reach...
headius (Charles Nutter)
12:43 AM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
After further review, I found the synchronization issue is definitely with Rubinius and that not synchronizing breaks on other Rubies where hash operations are not atomic. Reverted patch files attached.
=end
bdurand (Brian Durand)
03:58 PM Feature #4262 (Closed): {key=>val}.hash is always equal to {val=>key}.hash
=begin
$ irb
irb(main):001:0> {1=>2}.hash
=> -381777873
irb(main):002:0> {2=>1}.hash
=> -381777873
irb(main):003:0> {123=>"abc"}.hash
=> 661749683
irb(main):004:0> {"abc"=>123}.hash
=> 661749683

This happens for Rub...
phasis68 (Heesob Park)
03:39 PM Bug #4261 (Closed): readline compilation error
=begin
r30496 causes compilation error of ext/readline on MacOS X 10.5.

It seems because libedit does not have neither RL_PROMPT_START_IGNORE nor RL_PROMPT_END_IGNORE.

compiling ../../../../ext/readline/readline.c
../../.....
yugui (Yuki Sonoda)
03:08 PM Bug #4260 (Closed): some SEGVs in test/ruby/test_enum.rb
=begin
うまく説明できないんですが、r30494以後、test/ruby/test_enum.rbを実行するとSEGVが起きるようになりました。

(1) 単にtest-allで全テストを実行するとtest_sort_byでSEGV。再現性あり。
(2) test_enum.rbのみを実行するとtest_sort_byに辿りつく前にtest_dropでSEGV。再現性あり。
(3) test_enum.rbをtest_drop抜きで実行すると正常...
usa (Usaku NAKAMURA)
12:33 PM Bug #4259 (Rejected): Symbol syntactic sugar in Hashes does not work with quotes
=begin
Matz said this is true spec. Please write feature request if you want.

http://twitter.com/yukihiro_matz/status/24669795119013888
In English,
>This is not a bug. But I can understand if this is feature request.

Closi...
sorah (Sorah Fukumori)
12:17 PM Bug #4259: Symbol syntactic sugar in Hashes does not work with quotes
=begin
I think this is spec...

--sora_h
=end
sorah (Sorah Fukumori)
12:06 PM Bug #4259 (Rejected): Symbol syntactic sugar in Hashes does not work with quotes
=begin
To reproduce the problem, try the following in irb:

>> hash = {Alabama: "AL"}
=> {:Alabama=>"AL"}
>> puts hash[:"Alabama"]
AL
=> nil
>> hash2 = {"Rhode Island": "RI"}
SyntaxError: (irb):3: syntax error, unexpecte...
tbenst (Tyler Benster)
11:34 AM Revision 5a17f4c4 (git): fix spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:33 AM Revision 391d81e5 (git): * variable.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:29 AM Feature #4254: Allow method transplanting
=begin
Hi,

In message "Re: [ruby-core:34319] Re: [Ruby 1.9-Feature#4254][Open] Allow method transplanting"
on Tue, 11 Jan 2011 10:24:55 +0900, Ryan Davis <ryand-ruby@zenspider.com> writes:

|> Although I trust the programmers,...
matz (Yukihiro Matsumoto)
10:25 AM Feature #4254: Allow method transplanting
=begin

On Jan 10, 2011, at 14:30 , Yukihiro Matsumoto wrote:

> Hi,
>
> In message "Re: [ruby-core:34291] Re: [Ruby 1.9-Feature#4254][Open] Allow method transplanting"
> on Mon, 10 Jan 2011 16:15:40 +0900, Ryan Davis <ryand-r...
zenspider (Ryan Davis)
07:33 AM Feature #4254: Allow method transplanting
=begin
Hi,

In message "Re: [ruby-core:34303] Re: [Ruby 1.9-Feature#4254][Open] Allow method transplanting"
on Mon, 10 Jan 2011 20:50:32 +0900, Benoit Daloze <eregontp@gmail.com> writes:

|As Ryan mentioned, I think it is a dan...
matz (Yukihiro Matsumoto)
07:30 AM Feature #4254: Allow method transplanting
=begin
Hi,

In message "Re: [ruby-core:34291] Re: [Ruby 1.9-Feature#4254][Open] Allow method transplanting"
on Mon, 10 Jan 2011 16:15:40 +0900, Ryan Davis <ryand-ruby@zenspider.com> writes:

|You've argued that being able to de...
matz (Yukihiro Matsumoto)
06:17 AM Feature #4254: Allow method transplanting
=begin


On 1/10/2011 2:15 AM, Ryan Davis wrote:
> If the method transplanted is pure ruby, why not allow it?
>

I should follow up on this because I was thinking the same thing. Is
there a way to detect that a method is "native...
lsegal (Loren Segal)
11:04 AM Bug #4258 (Closed): valgrind ./ruby -ve ''
=begin
以下のように、ruby -ve '' としたときに、
不適切なアクセスが valgrind で検出されます。

% valgrind ./ruby -ve ''
==15880== Memcheck, a memory error detector
==15880== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==15880== Using Valgrind...
akr (Akira Tanaka)
06:34 AM Revision 489d6a24 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
05:06 AM Bug #4255: When on a case-insensitive filesystem, "loaded features" search in require should ignore case
=begin

On Jan 10, 2011, at 06:41 , Benoit Daloze wrote:

> On 10 January 2011 14:47, Nobuyoshi Nakada <redmine@ruby-lang.org> wrote:
>> This issue was solved with changeset r30508.
>>
>> * include/ruby/defines.h (CASEFOLD_FILESY...
zenspider (Ryan Davis)
04:47 AM Bug #4255: When on a case-insensitive filesystem, "loaded features" search in require should ignore case
=begin
Benoit is right, the issue is more complicated than this.

* OS X can have either case-sensitive or insensitive HFS+
* Any OS can mount remote drives (e.g. NFS or Windows sharing) that has different case-sensitivity than th...
headius (Charles Nutter)
04:09 AM Revision 113b645b (git): * 2011-01-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:09 AM Revision c480ca0f (git): * array.c (rb_ary_resize): should care of embeded array when extending
the array.
* array.c (rb_ary_resize): need to set capa when changing the real
size of the array.
these are latent bugs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura

01/10/2011

11:41 PM Bug #4255: When on a case-insensitive filesystem, "loaded features" search in require should ignore case
=begin
On 10 January 2011 14:47, Nobuyoshi Nakada <redmine@ruby-lang.org> wrote:
> This issue was solved with changeset r30508.
>
> * include/ruby/defines.h (CASEFOLD_FILESYSTEM): HFS+ is case insensitive.

That is not always true,...
Eregon (Benoit Daloze)
10:47 PM Bug #4255 (Closed): When on a case-insensitive filesystem, "loaded features" search in require should ignore case
=begin
This issue was solved with changeset r30508.
Charles, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
04:45 PM Bug #4255 (Rejected): When on a case-insensitive filesystem, "loaded features" search in require should ignore case
=begin
This should not re-load the same library when running on a system with case-insensitive filenames:

require 'blah'
require 'BLAH'

The resource in question has been loaded, and should not be reloaded again, even if i...
headius (Charles Nutter)
09:52 PM Feature #4257 (Closed): switch_hitter - an acceleration of date library
=begin
switch_hitter'ed already passed nearly all of tests (except some tests
of class name and some confirmations of format of inspect).

* The constructors may return Date::Light instead of Date.
* as fast as home_run when it ...
tadf (tadayoshi funaba)
09:32 PM Bug #4256: [BUG] Segmentation fault ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
=begin
Hello,

Also note the follow: JSON binary gem is not compatible with Ruby 1.9.2, it only provides binaries for Ruby 1.8.6, and you need to compile yourself.

Please search for this on on Google (json ruby 1.9.2 windows) w...
luislavena (Luis Lavena)
05:32 PM Bug #4256 (Feedback): [BUG] Segmentation fault ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
=begin
Thank you for your report, but it needs feedback.

* Can you produce small reproducing code?
* Does delayed_work gem include native extensions?

See also: http://redmine.ruby-lang.org/wiki/ruby/HowtoReport
=end
sorah (Sorah Fukumori)
05:02 PM Bug #4256 (Closed): [BUG] Segmentation fault ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
=begin
Scenario : upgraded the existing ROR application from 1.8.6/2.8.1 => 1.9.2/3.0.1

Steps followed by us:

1. Installed latest ruby 1.9.2 p0 for windows on xp machine.
2. upgraded all the gems.
3. Migrated the database...
mahendravadar (Rama Mahendravada)
08:50 PM Feature #4254: Allow method transplanting
=begin
Hi,
On 10 January 2011 02:14, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
> Hi,
> Class to class method transplanting could cause serious problem, but
> it might be able to relax module to module transplanting.
>         ...
Eregon (Benoit Daloze)
04:20 PM Feature #4254: Allow method transplanting
=begin
On Mon, Jan 10, 2011 at 1:15 AM, Ryan Davis <ryand-ruby@zenspider.com> wrote:
> Matz,
>
> You've argued that being able to define != contradictory with == (a serious problem in my mind) is ok because we trust rubyists to do th...
headius (Charles Nutter)
04:15 PM Feature #4254: Allow method transplanting
=begin

On Jan 9, 2011, at 16:05 , Yukihiro Matsumoto wrote:

> Class to class method transplanting could cause serious problem, but
> it might be able to relax module to module transplanting.

Matz,

You've argued that being a...
zenspider (Ryan Davis)
02:55 PM Feature #4254: Allow method transplanting
=begin
Hi,
: At Mon, 10 Jan 2011 10:14:34 +0900,
: Yukihiro Matsumoto wrote in [ruby-core:34283]:
No, I am thinking of methods defined for modules, that have no
assumption of the type of receivers. Ruby methods in C does not check
...
nobu (Nobuyoshi Nakada)
12:58 PM Feature #4254: Allow method transplanting
=begin
On Sun, Jan 9, 2011 at 7:14 PM, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
> |Are you thinking of a method is defined in C that uses Data_Wrap_Struct ?
>
> No, I am thinking of methods defined for modules, that have no
> ...
headius (Charles Nutter)
10:14 AM Feature #4254: Allow method transplanting
=begin
Hi,

In message "Re: [ruby-core:34281] Re: [Ruby 1.9-Feature#4254][Open] Allow method transplanting"
on Mon, 10 Jan 2011 09:37:07 +0900, "Jonas Pfenniger (zimbatm)" <jonas@pfenniger.name> writes:

|Are you thinking of a ...
matz (Yukihiro Matsumoto)
09:37 AM Feature #4254: Allow method transplanting
=begin
2011/1/10 Yukihiro Matsumoto <matz@ruby-lang.org>:
> Hi,
>
> Class to class method transplanting could cause serious problem, but
> it might be able to relax module to module transplanting.
>
>                              ...
zimbatm (zimba tm)
09:06 AM Feature #4254: Allow method transplanting
=begin
Hi,

Class to class method transplanting could cause serious problem, but
it might be able to relax module to module transplanting.

matz.

In message "Re: [ruby-core:34267] [Ruby 1.9-Feature#4254][Open] Allow metho...
matz (Yukihiro Matsumoto)
08:56 AM Feature #4254: Allow method transplanting
=begin

On 2011-01-09, at 2:53 PM, Loren Segal wrote:

>
> Although it would be great to see #bind (and define_method) support this out of the box, adding this behaviour through a gem isn't *so* bad.
>

I just gave force_bind a...
lsegal (Loren Segal)
05:33 AM Feature #4254: Allow method transplanting
=begin
On Sun, Jan 9, 2011 at 1:53 PM, Loren Segal <lsegal@soen.ca> wrote:
> FWIW I've implemented something similar a while back as a gem called
> "force_bind". You call .force_bind on an UnboundMethod instead of bind.
>
> https://...
headius (Charles Nutter)
04:57 AM Feature #4254: Allow method transplanting
=begin


On 1/9/2011 2:53 PM, Loren Segal wrote:
> FWIW I've implemented something similar a while back as a gem called
> "force_bind". You call .force_bind on an UnboundMethod instead of bind.
>

By the way, if this patch is ac...
lsegal (Loren Segal)
04:53 AM Feature #4254: Allow method transplanting
=begin
On 1/9/2011 8:17 AM, Jonas Pfenniger (zimbatm) wrote:
> I agree it's not the cleanest, but it's not like I would be adding any
> feature. rubyspec doesn't give me any addition error, expect the one
> that explicitly tests for ...
lsegal (Loren Segal)
01:46 PM Revision dd55661f (git): * include/ruby/defines.h (CASEFOLD_FILESYSTEM): HFS+ is case
insensitive.
* load.c (loaded_feature_path, rb_feature_p, load_lock): on a
case-insensitive filesystem, loaded features search should
ignore case. [ruby-core:34297]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30508 b2dd03c8-3...
nobu (Nobuyoshi Nakada)
12:34 PM Revision 3e82d923 (git): * common.mk (showflags): show LD commands.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:32 AM Revision fd7c5303 (git): * test/ruby/test_method.rb (TestMethod#test_define_method): method
transplanting between class and module is impossible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:51 AM Revision 594793f5 (git): * misc/rdoc-mode.el (rdoc-mode): show trailing whitespace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:24 AM Revision ee0f448f (git): * util.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

01/09/2011

11:44 PM Bug #3150: net/https peer verification doesn't do anything
=begin
Using Ubuntu 10.04 and OpenSSL 1.0.0c, I get the expected exception.
=end
MartinBosslet (Martin Bosslet)
10:44 PM Revision 1ca87609 (git): * misc/README: mention rdoc-mode.el and ruby-style.el.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:44 PM Revision 0b47f776 (git): * 2011-01-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:44 PM Revision 57e0bf96 (git): fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:17 PM Feature #4254: Allow method transplanting
=begin
2011/1/9 Haase, Konstantin <Konstantin.Haase@student.hpi.uni-potsdam.de>:
> Wouldn't that be unnecessary if matz' trait proposal would be implemented?

I agree it's not the cleanest, but it's not like I would be adding any
fe...
zimbatm (zimba tm)
10:08 PM Feature #4254: Allow method transplanting
=begin
Wouldn't that be unnecessary if matz' trait proposal would be implemented?

On Jan 9, 2011, at 13:58 , Jonas Pfenniger wrote:

> Feature #4254: Allow method transplanting
> http://redmine.ruby-lang.org/issues/show/4254
>
...
rkh (Konstantin Haase)
10:01 PM Feature #4254: Allow method transplanting
=begin

On Jan 9, 2011, at 04:58 , Jonas Pfenniger wrote:

> Feature #4254: Allow method transplanting
> http://redmine.ruby-lang.org/issues/show/4254
>
> Author: Jonas Pfenniger
> Status: Open, Priority: Normal
> Category: cor...
zenspider (Ryan Davis)
09:58 PM Feature #4254 (Closed): Allow method transplanting
=begin
Is there a technical reason to not allow re-binding a method from one module to any other module ?

module M
def foo; "foo"; end
end
module N; end
N.send(:define_method, :foo, M.instance_method(:foo)) #=> sho...
zimbatm (zimba tm)
02:57 PM Feature #3616 (Closed): IRB + readline incorrectly counts non-printing characters in prompt
=begin
This issue was solved with changeset r30496.
Sung, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
kouji (Kouji Takao)
11:38 AM Revision 41c93065 (git): * transcode.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:39 AM Revision 45493bb2 (git): * io.c (Kernel.#syscall): implemented on LP64/LLP64 environments too.
also uses __syscall if available for *BSD on 64bit architecture.
[ruby-core:34062]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
07:39 AM Revision b128f7ff (git): * lib/irb/locale.rb (IRB::Locale::LOCALE_NAME_RE):
some platoform has a locale without territory but with
encoding.
(#each_sub_locale): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
05:54 AM Revision 0c560941 (git): * 2011-01-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:54 AM Revision 38f5ffef (git): * ext/readline/readline.c: apply a patch from Nobuyoshi Nakada.
fixed #3616 [ruby-core:31484] IRB + readline incorrectly counts
non-printing characters in prompt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kouji (Kouji Takao)
01:44 AM Bug #4248 (Rejected): r30483 might cause underflow
=begin
Hi,

2011/1/8 Yukihiro Matsumoto <matz@ruby-lang.org>:
> The following is the problem case given from Ray:
>
> def mul(len)
> x = (1<<len) - 1
> y = (1<<len) - 1
> return x * y
> end
> puts '%X' % mul(22...
mame (Yusuke Endoh)

01/08/2011

03:29 PM Bug #4251: Segmentation fault when using ruby-prof and Ruby 1.9.2
=begin
On Sat, Jan 08, 2011 at 12:34:39PM +0900, Evan Chaney wrote:
> Bug #4251: Segmentation fault when using ruby-prof and Ruby 1.9.2
> http://redmine.ruby-lang.org/issues/show/4251
>
> Author: Evan Chaney
> Status: Open, Priori...
tenderlovemaking (Aaron Patterson)
12:33 PM Bug #4251 (Third Party's Issue): Segmentation fault when using ruby-prof and Ruby 1.9.2
=begin
ISSUE

Segmentation faults occur when profiling Rails 3 controller actions that add new objects to the database using Ruby 1.9.2 and ruby-prof.

EXPECTED BEHAVIOR

- ruby-prof profile of controller action produced wi...
evanchaney (Evan Chaney)
01:07 PM Revision d3b337c5 (git): fix spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:48 PM Revision 113f27ba (git): * enum.c (enum_sort_by): use rb_ary_resize.
(ary_cutoff): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:25 PM Revision 8eec9c94 (git): * pack.c (swapf): compilation condition simplified.
(swapd): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:52 AM Revision 13c4c551 (git): * pack.c (swapd): remove duplicated code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:51 AM Revision b85ed255 (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:29 AM Revision c36ad781 (git): * thread.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:21 AM Bug #4248: r30483 might cause underflow
=begin
Hi,

In message "Re: [ruby-core:34218] [Ruby 1.9-Bug#4248][Open] r30483 might cause underflow"
on Fri, 7 Jan 2011 21:21:00 +0900, Yusuke Endoh <redmine@ruby-lang.org> writes:

|Hi, matz (or Ray Chason) --
|
|http://svn...
matz (Yukihiro Matsumoto)
02:59 AM Bug #3150: net/https peer verification doesn't do anything
=begin
I tested this again in OS X 10.6.6 yesterday, and the problem still exists. I used Aaron's code from 09/09/2010 03:42 AM and no exceptions were raised.

ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]
=> #<...
nbibler (Nathaniel Bibler)
02:47 AM Feature #4247: New features for Array#sample, Array#choice
=begin
On 7 January 2011 18:14, Aaron Patterson <aaron@tenderlovemaking.com> wrote:
> Why not provide "samples" that returns an Enumerator?  Then you could
> say:
>
>  list.samples.each { |x| ....  }
>  list.samples.map { |x| .... ...
Eregon (Benoit Daloze)
02:15 AM Feature #4247: New features for Array#sample, Array#choice
=begin
On Fri, Jan 07, 2011 at 08:08:03PM +0900, Yusuke ENDOH wrote:
> Hi,
>
> 2011/1/7 Yoji Ojima <redmine@ruby-lang.org>:
> > We are planning to add the following features of the random sampling to Array.
> >
> > 1. Weighted ra...
tenderlovemaking (Aaron Patterson)

01/07/2011

11:59 PM Feature #4247: New features for Array#sample, Array#choice
=begin
On 7 January 2011 14:14, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
> 2011/1/7 Benoit Daloze <eregontp@gmail.com>:
>> Did you consider having another option to {each_,}sample to allow replacement ?
>> Such as:
>> ary.sample 3, repl...
Eregon (Benoit Daloze)
10:14 PM Feature #4247: New features for Array#sample, Array#choice
=begin
Hi.

2011/1/7 Benoit Daloze <eregontp@gmail.com>:
> Did you consider having another option to {each_,}sample to allow replacement ?
> Such as:
> ary.sample 3, replace: true

The word "replace" gives impression of modificat...
mame (Yusuke Endoh)
09:30 PM Feature #4247: New features for Array#sample, Array#choice
Hi,

On 7 January 2011 12:08, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
> Hi,
>
> 2011/1/7 Yoji Ojima <redmine@ruby-lang.org>:
>> We are planning to add the following features of the random sampling to Array.
>>
>> 1. Weighte...
Eregon (Benoit Daloze)
08:08 PM Feature #4247: New features for Array#sample, Array#choice
Hi,
2011/1/7 Yoji Ojima <redmine@ruby-lang.org>:
> We are planning to add the following features of the random sampling to Array.
> ...
I'm adding complementary information.
There are two reasons why the name "choice" is selected...
mame (Yusuke Endoh)
07:20 PM Feature #4247 (Rejected): New features for Array#sample, Array#choice
=begin
We are planning to add the following features of the random sampling to Array.

1. Weighted random sampling.
2. Sampling with replacement.
3. Iteration.

It is discussed in ruby-dev (Feature #3647 and #4147).


...
oj (Yoji Ojima)
10:06 PM Bug #4249 (Closed): Net::IMAP gets a parse error response while sending multibyte mail
=begin
RFC3501 which defines IMAP version 4 rev 1 said:

"A literal is a sequence of zero or more octets (including CR and LF), prefix-quoted with an octet count
in the form of an open brace ("{"), the number of octets, close brac...
niw (Yoshimasa Niwa)
09:57 PM Bug #4242 (Closed): ruby-mode for emacs syntax highlighting breaks on regular expressions
=begin
This issue was solved with changeset r30484.
Nguma, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
09:20 PM Bug #4248 (Rejected): r30483 might cause underflow
=begin
Hi, matz (or Ray Chason) --

http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30483

> Author: matz
> Date: Fri Jan 7 00:17:06 2011 UTC (9 hours, 45 minutes ago)
> Log Message:
> * bignum.c (bigmul1_kar...
mame (Yusuke Endoh)
07:42 PM Bug #4245: Array index with Range inconsistency
=begin
Yes, it's a bit odd, but it is clearly noted in the docs that this special case exists.

Marc-Andre: - For me at least I'm not sure that thinking about it as 'the element after the nth one' is totally helpful - eg:

> a =...
sdsykes (Stephen Sykes)
04:28 AM Bug #4245 (Rejected): Array index with Range inconsistency
=begin
This is per spec.

Think of it this way:

[5..-1]: give me all elements after the 5th one and up to the last one. There are none, so []
[6..-1]: give me all elements after the 6th one and up to the last one. Say what? T...
marcandre (Marc-Andre Lafortune)
01:14 AM Bug #4245 (Rejected): Array index with Range inconsistency
=begin
I've come across what I believe to be a possible inconsistency in the implementation of the Range array index method. The following example describes my case:

array = [1,2,3,4,5]

tests
a) array[0..5] // [1,2,3,4,5]
...
kristianpd (Kristian PD)
06:45 PM Bug #4210 (Rejected): id rather than object_id used in 1.9 rdoc for ObjectSpace
=begin
> Yes, sorry, I missed that it was a block parameter. Apologies for the noise.

np :)
=end
usa (Usaku NAKAMURA)
06:28 PM Bug #4210: id rather than object_id used in 1.9 rdoc for ObjectSpace
=begin
Yes, sorry, I missed that it was a block parameter. Apologies for the noise.

I'm not able to close this issue..
=end
noodl (Vincent Bray)
02:46 PM Bug #4210: id rather than object_id used in 1.9 rdoc for ObjectSpace
=begin
The docs look correct to me. #{id} is referencing the parameter passed into the Proc, which can be named anything, but in this case `id`.

No problem?
=end
mitchellh (Mitchell Hashimoto)
04:32 PM Revision 6fd9c371 (git): * 2011-01-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:32 PM Revision 8e96c2c5 (git): reverting r30451 until I can figure out what is wrong.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
04:11 PM Bug #4244 (Assigned): Psych.to_json generate incorrect JSON
=begin

=end
yugui (Yuki Sonoda)
04:11 PM Bug #4244: Psych.to_json generate incorrect JSON
=begin

=end
yugui (Yuki Sonoda)
12:04 AM Bug #4244 (Closed): Psych.to_json generate incorrect JSON
=begin
Psych.to_json could be presumed to return JSON because of its name.
But Psych.to_json generate single-quoted string. It isn't valid JSON format.

>> require "psych"
=> true
>> Psych.to_json("aaa")
=> "'aaa'\n"
>> Ps...
nagachika (Tomoyuki Chikanaga)
02:07 PM Revision 35f78ac1 (git): * lib/mkmf.rb (configuration): backref needs to capture.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:07 PM Revision 64d04c7f (git): property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:57 PM Revision 29ed2f30 (git): * misc/ruby-mode.el (ruby-mode-variables), misc/ruby-style.el:
show trailing whitespace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:54 PM Revision a262f71f (git): * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): highlight
regexp after open bracket. [ruby-core:34183]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:00 AM Bug #4246: Net::HTTP does not timeout during SSL connection handshake
=begin
This script demonstrates the behavior. It opens a socket listening on port 6666, then opens a SSL connection to it. It should timeout after 5 seconds but it instead just hangs.
=end
marcs (Marc Slemko)
09:58 AM Bug #4246 (Closed): Net::HTTP does not timeout during SSL connection handshake
=begin
If you open a SSL connection and it hangs while doing the SSL connection handshake then it does not timeout unless you end up hitting a TCP keepalive timeout.

The problem is that the open_timeout is only applied to the actua...
marcs (Marc Slemko)
04:16 AM Bug #4241: IMAPTest#test_imaps_verify_none does not stop
=begin
On Fri, Jan 07, 2011 at 03:36:38AM +0900, Aaron Patterson wrote:
> On Thu, Jan 06, 2011 at 08:09:53PM +0900, Kazuhiro NISHIYAMA wrote:
> > Bug #4241: IMAPTest#test_imaps_verify_none does not stop
> Thanks, I'm working on it. ...
Cezary (Cezary Baginski)
03:36 AM Bug #4241: IMAPTest#test_imaps_verify_none does not stop
=begin
On Thu, Jan 06, 2011 at 08:09:53PM +0900, Kazuhiro NISHIYAMA wrote:
> Bug #4241: IMAPTest#test_imaps_verify_none does not stop
> http://redmine.ruby-lang.org/issues/show/4241
>
> Author: Kazuhiro NISHIYAMA
> Status: Open, P...
tenderlovemaking (Aaron Patterson)
12:17 AM Revision dc06b7b7 (git): * bignum.c (bigmul1_karatsuba): avoid overflow that make assertion
fail in certain case. this patch is contributed from Ray Chason
<chasonr at gmail.com> in personal communication.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)

01/06/2011

11:12 PM Feature #4243 (Closed): [PATCH] DRb should not forefully close connections on DRb#stop_service
=begin
When DRb#stop_service is called, all connections get terminated by
calling Thread.kill on them. It means that all code that is invoked trough
DRb must be exception-safe. This poses the same kind of issues we have
with Kern...
zimbatm (zimba tm)
11:01 PM Feature #4147: Array#sample で重みを指定したい
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:42968] [Ruby 1.9-Feature#4147] Array#sample で重みを指定したい"
on Thu, 6 Jan 2011 22:30:42 +0900, Yoji Ojima <redmine@ruby-lang.org> writes:

|>議論が大分入り組んで来たので、一旦現在の API とその実装の案を
|>まとめてみました...
matz (Yukihiro Matsumoto)
10:30 PM Feature #4147: Array#sample で重みを指定したい
=begin
>議論が大分入り組んで来たので、一旦現在の API とその実装の案を
>まとめてみました。sample_each は each_sample に改名してます。

これは、とりあえず意見は出尽くした感じですよね。
私としては遠藤さんがまとめられた案で問題ないと思いますが、まつもとさんのご意見はいかがでしょう?
命名についてはまだ議論の余地がありますが、ruby-core に投げるべきでしょうか。
=end
oj (Yoji Ojima)
09:58 PM Bug #4242 (Closed): ruby-mode for emacs syntax highlighting breaks on regular expressions
=begin
I'm not sure what category this one goes to so I apologise if I picked the wrong one.

I believe the syntax highlighting in the ruby-mode for emacs in /misc/ruby-mode.rl is broken for certain regular expressions. The RE will ...
amasal (Nguma Abojo)
08:09 PM Bug #4241 (Closed): IMAPTest#test_imaps_verify_none does not stop
=begin
IMAPTest#test_imaps_verify_none hangs up and can not stop with SIGINT.
I guess problem exists in ossl_ssl_shutdown, and running test does not stop with reverting r30451 .

% ruby-trunk test/net/imap/test_imap.rb -v -n test...
znz (Kazuhiro NISHIYAMA)
03:38 PM Revision b215d61d (git): * 2011-01-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:38 PM Revision df925d91 (git): * string.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:58 AM Revision a6fac6a6 (git): * lib/mkmf.rb (create_makefile): ignore rest from first dot from
TARGET to generate init function name.
this is followup of r30464.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
11:47 AM Bug #4238: GC.stress 下で OptionParser で設定のない引数をパースさせると core
=begin
Ubuntu 上で gcc-4.3.3, -O3 つきでビルドした ruby で再現しました。
再現コードを削ってみたところ以下でも起きました。

% cat bug4238.rb
def a(&blk)
blk.call do |i| p i end
end

GC.stress = true
a(&([0,1].method(:each)))

% ./ruby-trunk -v bug4238.rb
...
nagachika (Tomoyuki Chikanaga)
10:39 AM Bug #4238 (Closed): GC.stress 下で OptionParser で設定のない引数をパースさせると core
=begin
r29832 以降で起きます

以下のようなスクリプトを実行すると、

$ cat optparse-core.rb
require "optparse"

parser = OptionParser.new
GC.stress
parser.parse! ['-a']

以下のように core を吐きます。

$ ruby19 optparse-core.rb
/usr/local/lib/rub...
metanest (Makoto Kishimoto)
10:51 AM Bug #4237: SSL_shutdown should be called until it returns 0
=begin
On Thu, Jan 06, 2011 at 10:39:11AM +0900, Hiroshi NAKAMURA wrote:
> Issue #4237 has been updated by Hiroshi NAKAMURA.
>
>
> Here's a link to OpenSSL doc Aaron said: http://www.openssl.org/docs/ssl/SSL_shutdown.html
>
> Y...
tenderlovemaking (Aaron Patterson)
10:39 AM Bug #4237: SSL_shutdown should be called until it returns 0
=begin
Here's a link to OpenSSL doc Aaron said: http://www.openssl.org/docs/ssl/SSL_shutdown.html

You should read it directly, since it's not simple as "SSL_shutdown should be called until it returns 0". We should handle -1 as well...
nahi (Hiroshi Nakamura)
10:26 AM Bug #4237 (Closed): SSL_shutdown should be called until it returns 0
=begin
The documentation says SSL_shutdown should be called until it returns 0. I believe this was causing heap corruption that can be demonstrated through the steps listed here:

http://intertwingly.net/blog/2010/12/07/SQLite3-...
tenderlovemaking (Aaron Patterson)
10:30 AM Revision 693ffb33 (git): * ext/socket/{getaddrinfo,getnameinfo}.c: include winsock2.h only when
specified to use winsock2 by user.
this problem is reported by kosaki.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@30479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
09:13 AM Revision 0b2eedb2 (git): * win32/README.win32: fix the misunderstanding of previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@30478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
09:04 AM Revision 5e96492d (git): * 2011-01-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@30477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:04 AM Revision 24d22ea4 (git): * win32/README.win32: Add byacc and sed to required commands list.
It's documentaion bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@30476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:00 AM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
I found what may be a bug in my patch. When testing similar code on Rubinius, I found the process deadlocking. I believe what was happening is that a thread was stopped in order to run garbage collection when it was inside a sync...
bdurand (Brian Durand)
02:29 AM Revision 10284a04 (git): * ext/psych/lib/psych/json/tree_builder.rb (start_mapping): tags
should not be included in JSON mapping
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
01:11 AM Feature #4234 (Closed): Hash#default_proc= Doesn't Accept nil Argument
=begin
The initial value of a Hash's default Proc is the block passed to Hash.new or nil. Hash#default_proc= can set the default Proc to a given Proc, but can't reset it to nil. This is unsymmetrical.

The attached patch lets #def...
runpaint (Run Paint Run Run)
12:39 AM Revision b092e967 (git): use require_relative instead of File.expand_path
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
12:24 AM Revision 9bc8ccf4 (git): * lib/net/protocol.rb (eof?): BufferedIO should proxy eof? to the
underlying IO object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
12:20 AM Feature #4233 (Closed): autoload Can't Require Gems
=begin
Is it intentional that when used via `autoload`, `require` can't handle Gem names?

run@desktop:~/mir/ruby$ → ruby -e 'p require "nokogiri"'
true
run@desktop:~/mir/ruby$ → ruby -e 'autoload(:N, "nokogiri"...
runpaint (Run Paint Run Run)
12:18 AM Revision 5d0fb7c1 (git): * lib/mkmf.rb (configuration): fixing gsub when multiple error flags
are passed to GCC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
12:06 AM Bug #4058: __method__ does not return correct method name for aliased methods
=begin
> This is intended. Originally, __callee__ and __method__ were equivalent, except in aliased methods where the former returned the
> aliased name, and the latter returned the non-aliased name. Then, later, matz changed __call...
runpaint (Run Paint Run Run)

01/05/2011

08:47 PM Revision 56317927 (git): * ext/-test-/array/resize/resize.c (Init_resize): renamed method
for test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:25 PM Revision 65ea2eed (git): * array.c (rb_ary_modify): export.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:17 PM Revision be7e8ca7 (git): * random.c (random_rand): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:16 PM Revision 5528903d (git): * enc/{emacs_mule,euc_jp}.c (code_to_mbc): suppress warnings.
* enc/iso_8859_{1,2}.c (apply_all_case_fold): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:14 PM Revision d8d9bac5 (git): * ext/stringio/stringio.c (get_strio, strio_set_string)
(strio_reopen): check if frozen. [ruby-core:33648]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:12 PM Revision 8cc0ee4a (git): * ChangeLog: commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:10 PM Revision c8aaf31f (git): * array.c (rb_ary_resize): new utility function. [ruby-dev:42912]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:03 PM Revision 697a45b1 (git): * dln.c (init_funcname_len): ignore rest from first dot.
[ruby-dev:41774]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:54 PM Revision c9ed212b (git): property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:52 PM Revision 69c48478 (git): * vm.c (rb_vm_make_proc): fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:50 PM Revision 7d079c99 (git): * ChangeLog: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:08 PM Bug #4232: unexpected behavior of '#{}' in irb
=begin

=end
yugui (Yuki Sonoda)
03:25 PM Bug #4232 (Closed): unexpected behavior of '#{}' in irb
=begin
In Ruby 1.9.x,

C:\work>irb
irb(main):001:0> a = '#{%}'
irb(main):002:0"

C:\work>irb
irb(main):001:0> a = '#{#}'
irb(main):002:0>


In Ruby 1.8.6,

C:\work>irb
irb(main):001:0> a = '#{%}'
=> "\#{%}"...
phasis68 (Heesob Park)
05:57 PM Revision 46662e67 (git): * 2011-01-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:57 PM Revision e9e01ec4 (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: use YAML 1.0 output
format for serializing nil values. Thanks Eric Hodel!
* test/psych/test_nil.rb: test for nil values
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
10:09 AM Revision 58b06646 (git): * 2011-01-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@30458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:09 AM Revision 5d6121bb (git): * ext/socket/socket.c (make_addrinfo): skip IPv6 addresses when ruby
doesn't support IPv6 but system supports it.
[ruby-dev:42944] (#4230)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@30457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
09:54 AM Bug #4217: irb exits unexpectedly with non-ascii Regexp on Windows
=begin
Hello,

In message "[ruby-core:34028] Re: [Ruby 1.9-Bug#4217] irb exits unexpectedly with non-ascii Regexp on Windows"
on Jan.03,2011 16:02:26, <phasis@gmail.com> wrote:
| > Sorry, I missed a changeset on r30412.
| > I'v...
usa (Usaku NAKAMURA)
09:54 AM Bug #4217: irb exits unexpectedly with non-ascii Regexp on Windows
=begin
Hello,

In message "[ruby-core:33983] [Ruby 1.9-Bug#4217] irb exits unexpectedly with non-ascii Regexp on Windows"
on Dec.29,2010 10:32:06, <redmine@ruby-lang.org> wrote:
| I think r30412 is incomplete.

Sorry, I missed...
usa (Usaku NAKAMURA)
09:54 AM Bug #4217: irb exits unexpectedly with non-ascii Regexp on Windows
=begin
Hi,

2011/1/3 U.Nakamura <usa@garbagecollect.jp>:
> Hello,
>
> In message "[ruby-core:33983] [Ruby 1.9-Bug#4217] irb exits unexpectedly with non-ascii Regexp on Windows"
>    on Dec.29,2010 10:32:06, <redmine@ruby-lang.org>...
phasis68 (Heesob Park)
05:22 AM Revision f86ca534 (git): * string.c: fix rdoc typo.
https://github.com/shyouhei/ruby/pull/3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
05:18 AM Revision 89d68411 (git): Error#to_s should ensure that the value returned is a string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
05:17 AM Revision 68f8df9e (git): adding modified files to changelog, sorry folks! :-(
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
05:06 AM Revision ae931140 (git): * test/rdoc/test_rdoc_options.rb (TestRDocOptions#test_check_files):
skip on Windows because chmod 0 doesn't mean unreadable by owner.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:58 AM Revision 0d375e73 (git): * lib/net/http.rb (Net::HTTP#get): A header hash given should not
be modified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
04:57 AM Revision 76731871 (git): * SSL_shutdown should be called until the return value is non-zero:
http://www.openssl.org/docs/ssl/SSL_shutdown.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
03:13 AM Revision 20e2c4cb (git): * Use _WIN32 rather than checking for windows.h. Thanks Jon Forums!
[ruby-core:33977]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
01:13 AM Revision d56a76a6 (git): * 2011-01-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:13 AM Revision 09aefc43 (git): * lib/irb/locale.rb (IRB::Locale#search_file): make it possible
to load a localization from a gem.
(IRB::Locale#lc_path): obsoleted because of the change of #search_file
(IRB::Locale#each_localized_path): new private method, based on lc_path
(IRB::Locale#find): follows the change of #search_fil...
yugui (Yuki Sonoda)
 

Also available in: Atom