Project

General

Profile

Activity

From 03/04/2012 to 03/10/2012

03/10/2012

09:40 PM Feature #6126 (Rejected): Introduce yes/no constants aliases for true/false
ujihisa (Tatsuhiro Ujihisa)
03:37 PM Feature #6126: Introduce yes/no constants aliases for true/false
@Dave wow, you win.
I just was jealous to this obj-c thing.
Anybody pls close the issue
homakov (Egor Homakov)
02:00 PM Feature #6126: Introduce yes/no constants aliases for true/false

#- You can please yourself in your own programs by
#- adding a couple of lines at the top.
#====================#
class Object
def yes?; self end
def no?; !self end
end
#====================#
def test(proposal_ac...
daz (Dave B)
01:20 PM Feature #6126: Introduce yes/no constants aliases for true/false
Egor Homakov wrote:
> 2. do you like it?
false
nobu (Nobuyoshi Nakada)
09:20 AM Feature #6126: Introduce yes/no constants aliases for true/false
@ujihisa hrm.. Are you trying to inject english grammar in the logic? And, What is wrong with
"Didn't you eat sushi?": "Yes I did" = false
There is an ambiguity if you only use x.didnt_you_do_y? instead of x.did_you_do_y? and that is a v...
homakov (Egor Homakov)
08:53 AM Feature #6126: Introduce yes/no constants aliases for true/false
I don't agree with the suggestion.
yes = either true or false
"Did you eat sushi?": "Yes I did" = true
"Didn't you eat sushi?": "Yes I did" = false
Giving Hai/Iie as true/false makes more sense in this case. Yes/no are ambiguous.
ujihisa (Tatsuhiro Ujihisa)
08:39 AM Feature #6126: Introduce yes/no constants aliases for true/false
It is good point but would you consider it like if/unless? they do same job but used in proper places.
p 1 if yes
p 2 unless no
Newbies learn rapidly. And 'yes/no' thing will be the first thing they will like in ruby(in the same tim...
homakov (Egor Homakov)
08:32 AM Feature #6126: Introduce yes/no constants aliases for true/false
New aliases lead to more code mess and mixing yes/no and true/false styles. Newbies would get only more confused seeing things like this. greyblake (Sergey Potapov)
07:00 AM Feature #6126: Introduce yes/no constants aliases for true/false
@sebastian Yes they are for programmers. And there were no need for C/C++/... because assembler commands were very well known among programmers. Is it fair enough?
PLs need to evolve. And move on with standards too.
I don't mind jokes ...
homakov (Egor Homakov)
06:42 AM Feature #6126: Introduce yes/no constants aliases for true/false
That wasn't offense at all. There was a hype on Twitter about your Borat-like sentences (which were treated positive and funny) so this was a little pinch to them.
Anyway, to say something on topic. I don't like the idea.
"much mor...
burnhype (Sebastian Sito)
06:21 AM Feature #6126: Introduce yes/no constants aliases for true/false
References:
http://www.otierney.net/objective-c.html
it's common practice to define constants YES Yes in all languages and it seems widely used.
Plain and straight syntax. It's all about ruby, isn't it? :
puts -> p
null -> nil
...
homakov (Egor Homakov)
05:57 AM Feature #6126: Introduce yes/no constants aliases for true/false
@sebastian will you forgive me if I ask you to align topic? homakov (Egor Homakov)
05:45 AM Feature #6126: Introduce yes/no constants aliases for true/false
Considering your poor english I'm able to belive that you are not joking. burnhype (Sebastian Sito)
05:29 AM Feature #6126 (Rejected): Introduce yes/no constants aliases for true/false
I propose to have predefined constants of TrueClass and FalseClass - yes/no accordingly.
Benefits:
1. 'truefalse'.size - 'yesno'.size = 4 (!)
2. much more understandable and reasonable words. Well known by everybody on this planet.
3...
homakov (Egor Homakov)
02:52 PM Revision 3007acfb (git): * st.c: pack tables also generic keys. patched by Sokolov Yura at
https://github.com/ruby/ruby/pull/84
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:52 PM Revision a73d958c (git): * st.c: add st_foreach_check for fixing iteration over packed table
and st_delete_safe. patched by Sokolov Yura at
https://github.com/ruby/ruby/pull/84
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:52 PM Revision efae6194 (git): * st.c: fix packed num_entries on delete_safe. patched by Sokolov
Yura at https://github.com/ruby/ruby/pull/84
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:33 PM Revision 0934e6c0 (git): * enumerator.c: remove trailing space.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
02:17 AM Bug #5973: Bus Error in simple project requiring YARD
Gabriel Gilder wrote:
> Sorry for the delay, I did not receive any email notification of an update on this thread.
> ...
As I wrote in [ruby-core:42390], ruby 1.9.3-p26 fixes some bugs around LLVM/clang's optimization.
So your issue s...
naruse (Yui NARUSE)
12:02 AM Feature #4514: #deep_clone and #deep_dup for Objects
Marc-Andre Lafortune wrote:
> Shyouhei Urabe wrote:
> ...
See https://github.com/kstephens/red_steak/blob/master/lib/red_steak/copier.rb
The problem is how to control how "deep" a copier should go, which objects need to have identit...
kstephens (Kurt Stephens)

03/09/2012

07:21 PM Revision c7c91247 (git): typo fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:54 PM Revision 05630f51 (git): * 2012-03-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:54 PM Revision 4dbafb0d (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:20 AM Feature #5096: offer Logger-compatibility for syslog ext
Ugh, I meant "Syslog::Logger comment" drbrain (Eric Hodel)
08:19 AM Feature #5096: offer Logger-compatibility for syslog ext
I think the implementation is fine, but the Syslog::Logger constant should be updated since the name was changed.
Also, should the rails references be removed or changed?
drbrain (Eric Hodel)
07:24 AM Feature #5096: offer Logger-compatibility for syslog ext
I've attached a patch. It imports sysloglogger as Syslog::Logger. Syslog::Logger is a logger that logs to Syslog, but has the same API as Logger. tenderlovemaking (Aaron Patterson)
06:21 AM Bug #5978 (Closed): YAML.load_stream should process documents as they are read
This issue was solved with changeset r34953.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/psych/lib/psych.rb (parse_stream, load_stream): if a bloc...
tenderlovemaking (Aaron Patterson)
05:52 AM Revision 3c45e3f1 (git): Rescue even if it test_readpartial_locktmp RuntimeError. [Bug#6099]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:34 AM Revision a21d0f72 (git): * enumerator.c (lazy_flat_map): add Enumerable::Lazy#flat_map.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
02:14 AM Feature #4514: #deep_clone and #deep_dup for Objects
Hi,
Shyouhei Urabe wrote:
> * It is not always obvious what a "deep" copy is. For instance it is very hard to define one for a Proc instance.
Agreed, but since Procs do no "contain" anything, I'd say Proc#deep_dup == Proc#dup (ex...
marcandre (Marc-Andre Lafortune)
01:13 AM Revision 5452b18f (git): * test/ruby/test_lazy_enumerator.rb: tests for r34951 and r34952.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:30 AM Feature #4890 (Closed): Enumerable#lazy
This issue was solved with changeset r34951.
Yutaka, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enumerator.c: add Enumerable#lazy. based on the patch by
In...
nobu (Nobuyoshi Nakada)

03/08/2012

09:31 PM Revision 240c9acb (git): * ext/psych/lib/psych.rb (load, parse): stop parsing or loading after
the first document has been parsed.
* test/psych/test_stream.rb: pertinent tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
09:21 PM Revision a2e3de1b (git): * ext/psych/lib/psych.rb (parse_stream, load_stream): if a block is
given, documents will be yielded to the block as they are parsed.
[ruby-core:42404] [Bug #5978]
* ext/psych/lib/psych/handlers/document_stream.rb: add a handler that
yields documents as they are parsed
* test/psych/test_stream.rb: ...
tenderlovemaking (Aaron Patterson)
07:50 PM Bug #6125 (Feedback): Exception Report
We need more information on the origin of this exception. The more code you provide that recreates the crash the better we will be able to help you.
The information you provided do not under which circumstances this failed.
Please ...
luislavena (Luis Lavena)
05:32 PM Bug #6125 (Rejected): Exception Report
问题签名:
问题事件名称: APPCRASH
应用程序名: ruby.exe
应用程序版本: 1.9.3.125
应用程序时间戳: 4f3d0330
故障模块名称: msvcrt-ruby191.dll
故障模块版本: 1.9.3.125
故障模块时间戳: 4f3d032f
异常代码: c0000005
异常偏移: 0014cc8a
OS 版本: 6.1.7600.2.0.0.256.48
区域设置 ID...
mghomn (Justin Peal)
07:09 PM Feature #4514: #deep_clone and #deep_dup for Objects
Some thoughts
* #deep_merge is a Rails method. If you only need Arrays + Hashs to be deep_dup'able, chances are they also should go into Rails.
* It is not always obvious what a "deep" copy is. For instance it is very hard to defin...
shyouhei (Shyouhei Urabe)
06:35 PM Feature #4514: #deep_clone and #deep_dup for Objects
No one wants to add anything? wardrop (Tom Wardrop)
07:04 PM Feature #5481: Gemifying Ruby standard library
Vit Ondruch wrote:
> Eric Hodel wrote:
> ...
And one more note. From Fedora's point of view, there is no difference between gems which originally comes with Ruby and the other Gems maintained by RPM. So it should be easy to merge the "...
vo.x (Vit Ondruch)
04:23 PM Feature #5481: Gemifying Ruby standard library
Eric Hodel wrote:
> =begin
> ...
Actually if the default gems will be in some directory which is accessible using GEM_PATH and it is not current GEM_HOME, the user will not be able to uninstall the default gems. Problem solved. No new ...
vo.x (Vit Ondruch)
11:16 AM Feature #5481: Gemifying Ruby standard library
Just let it follow URL change. nahi (Hiroshi Nakamura)
06:50 PM Feature #6096: Parser tweak - curly braces followed by a coma...
I agree, that would be nice, especially given that it would work the other way around, e.g. assert_equal do_stuff, {}. However, there are contexts in which a block literal followed by a comma is valid, e.g. var1, var2 = my_method { }, :s... wardrop (Tom Wardrop)
05:02 PM Bug #5973: Bus Error in simple project requiring YARD
Sorry for the delay, I did not receive any email notification of an update on this thread.
I've just tried with ruby 1.9.3p0 and it does work fine. However, I did see the same issue with 1.9.3 in a larger project... sorry, I know that...
ggilder (Gabriel Gilder)
04:34 PM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
Hiroshi Nakamura wrote:
> I wrote some existing issues of "fake gem" at https://bugs.ruby-lang.org/issues/5481#note-1 which is excerpted from https://bugs.ruby-lang.org/projects/ruby/wiki/StdlibGem.
> ...
Hiroshi,
I am aware of #548...
vo.x (Vit Ondruch)
11:14 AM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
I wrote some existing issues of "fake gem" at https://bugs.ruby-lang.org/issues/5481#note-1 which is excerpted from https://bugs.ruby-lang.org/projects/ruby/wiki/StdlibGem.
Please let us know at #5481 when you find additional issue of e...
nahi (Hiroshi Nakamura)
08:19 AM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
Just for comparison, I did the same for Arel, but I'm sure you can use other non-bundled gems:
C:\>gem list | find "arel"
arel (2.2.1, 2.0.10)
C:\>ruby -rarel -e "puts Arel::VERSION"
2.2.1
vo.x (Vit Ondruch)
08:17 AM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
Let's take json for example:
C:\>gem list | find "json"
json (1.6.3, 1.5.4)
C:\>ruby -rjson -e "puts JSON::VERSION"
1.5.4
RubyGems always loads the newest version if not specified otherwise, but it does not apply for gems whic...
vo.x (Vit Ondruch)
07:53 AM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
On Thu, Mar 08, 2012 at 05:38:05AM +0900, Vit Ondruch wrote:
>
> Issue #6124 has been updated by Vit Ondruch.
>
>
> Yes, the availability of gems in stdlib loadpath is wrong, since everything what is in loadpath is loaded prior ...
Anonymous
05:42 AM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
Anonymní wrote:
> On Wed, Mar 07, 2012 at 10:50:51PM +0900, Vit Ondruch wrote:
> ...
BTW it does not answer the original question :) If they are not in load path, they don't need to be gems and vice versa.
vo.x (Vit Ondruch)
05:38 AM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
Yes, the availability of gems in stdlib loadpath is wrong, since everything what is in loadpath is loaded prior gems. RubyGems loading mechanism is just fallback.
Regarding the backward compatibly, it comes into play only when you use...
vo.x (Vit Ondruch)
01:53 AM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
On Wed, Mar 07, 2012 at 10:50:51PM +0900, Vit Ondruch wrote:
>
> Issue #6124 has been reported by Vit Ondruch.
>
> ----------------------------------------
> Bug #6124: What is the purpose of "fake" gems in Ruby
> https://bugs.r...
Anonymous
03:35 PM Revision e7d4e659 (git): * enumerator.c (lazy_initialize, enumerable_lazy): no additional
arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:30 PM Revision 0b2c4f43 (git): * enumerator.c: add Enumerable#lazy. based on the patch by
Innokenty Mikhailov at <https://github.com/ruby/ruby/pull/101>
[ruby-core:37164] [Feature #4890]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:26 PM Revision e1606102 (git): * enumerator.c (enumerator_each, generator_each): pass arguments to
the block with yielder.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:25 PM Revision 0aa05d97 (git): * 2012-03-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:25 PM Revision e78ff089 (git): * array.c (rb_ary_cat): new function to concat objects into array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:34 PM Bug #6122: OpenSSL::PKCS7 verify
# not_after can not later than 2038-01-19 11:14:07
require 'OpenSSL'
class Rsa
attr_reader :key, :cert
@@sha = OpenSSL::Digest::SHA1.new
@@aes = OpenSSL::Cipher.new("aes-128-ofb")
def initialize serial, issuer...
mghomn (Justin Peal)
07:44 AM Revision 729e66b3 (git): * 2012-03-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:44 AM Revision eec65961 (git): * .gdbinit (rb_numtable_entry): update for recent refactoring of
st_table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

03/07/2012

10:51 PM Bug #6123: Properly gemify BigDecimal
Happily: #6124
Thank you.
vo.x (Vit Ondruch)
10:42 PM Bug #6123: Properly gemify BigDecimal
Vit Ondruch wrote:
> Could you please enlighten me what is the purpose of fake gem then? Even if you install updated BigDecimal from rubygems.org, the bundled version will won unless you use "gem 'bidgecimal'" somewhere in the code. Thi...
naruse (Yui NARUSE)
10:27 PM Bug #6123: Properly gemify BigDecimal
Could you please enlighten me what is the purpose of fake gem then? Even if you install updated BigDecimal from rubygems.org, the bundled version will won unless you use "gem 'bidgecimal'" somewhere in the code. This makes no sense. vo.x (Vit Ondruch)
10:15 PM Bug #6123 (Rejected): Properly gemify BigDecimal
This is not only for bigdecimal but also io-console, json, minitest, psych, rake, and rdoc.
It is because they are not true gem, they are fake gem.
naruse (Yui NARUSE)
10:06 PM Bug #6123: Properly gemify BigDecimal
Please note that I picked the BigDecimal just randomly. It applies to all other "gems" which are currently bundled in Ruby. vo.x (Vit Ondruch)
10:05 PM Bug #6123: Properly gemify BigDecimal
Better to say, the expected behavior is:
$ ruby --disable-gems -e "puts require('bigdecimal')"
-e:1:in `require': cannot load such file -- bigdecimal (LoadError)
from -e:1:in `<main>'
vo.x (Vit Ondruch)
10:02 PM Bug #6123 (Rejected): Properly gemify BigDecimal
BigDecimal is available as a gem, however, the version in Ruby is crippled. It just tries to mimic gems, but it is not gem. So currently:
$ ruby -e "puts require('bigdecimal')"
true
$ ruby --disable-gems -e "puts require('bigdecimal...
vo.x (Vit Ondruch)
10:50 PM Bug #6124 (Closed): remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
As I tried to point out in #6123, the "fake" gems which are distributed with Ruby breaks user's expectations. The following example should fail:
$ ruby --disable-gems -e "puts require('bigdecimal')"
true
However, it is not failing...
vo.x (Vit Ondruch)
10:37 PM Bug #6120: Float and BigDecimal bug in remainder in corner cases
Ruby's math should portably follow SuS. [ruby-core:28206]
You can fix it for Float/Math if it is obviously wrong and the right implementation is clear.
BigDecimal is little another world and it is up to mrkn.
naruse (Yui NARUSE)
02:51 PM Bug #6120 (Closed): Float and BigDecimal bug in remainder in corner cases
Currently:
4.2.remainder(+Float::INFINITY) # => 4.2, ok
4.2.remainder(-Float::INFINITY) # => NaN, should be 4.2
# (same with all signs reversed)
Reasons the remainder should be 4.2 and not NaN:
1) foo.remainder(bar) ...
marcandre (Marc-Andre Lafortune)
10:25 PM Bug #6121 (Assigned): [[Ruby 1.9:]] Etc.sysconfdir hides sysconfdir on windows
naruse (Yui NARUSE)
03:16 PM Bug #6121 (Closed): [[Ruby 1.9:]] Etc.sysconfdir hides sysconfdir on windows
While checking on this issue https://gist.github.com/1981223 I found out that Etc.sysconfdir is inconsistently behaving between Linux and Windows.
This issue is related to rubygems also: https://github.com/rubygems/rubygems/pull/291
...
mpapis (Michal Papis)
08:10 PM Bug #6122 (Closed): OpenSSL::PKCS7 verify
# not_after can not later than 2038-01-19 11:14:07
# verify can pass wrong certificate
require 'OpenSSL'
class Rsa
attr_reader :key, :cert
@@sha = OpenSSL::Digest::SHA1.new
@@aes = OpenSSL::Cipher.new("aes-128-ofb")...
mghomn (Justin Peal)
01:45 PM Revision 0c8ae916 (git): * lib/xmlrpc/client.rb (module XMLRPC): fix typo.
* test/xmlrpc/test_client.rb (test_async_call): add test for
XMLRPC::Client#call_async to check above fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
11:10 AM Feature #5922: Migrate equal? to identical?
=begin
The name of #equal? is part of a pattern.
In Common Lisp:
(eq a b) ; most strict
(eql a b)
(equal a b)
(equalp a b) ; least strict
In Ruby:
a == b # least strict
a.eql? b
a.equal? b # most stri...
kernigh (George Koehler)
10:49 AM Bug #6099 (Assigned): [BUG] probable buffer overflow
Masaki Matsushita wrote:
> IO#readpartialにも同様の問題があるようです。
> ...
IO#readpartial は
* It blocks only if <em>ios</em> has no data immediately available.
* The later means that readpartial is nonblocking-flag insensitive.
* It blocks...
naruse (Yui NARUSE)
10:13 AM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
たいして長くないので添付じゃなくインラインにしますが、
SNDCTL_DSP_SPEED = 0xc0045002 - 0x1_0000_0000
SNDCTL_DSP_STEREO = 0xc0045003 - 0x1_0000_0000
SNDCTL_DSP_SETFMT = 0xc0045005 - 0x1_0000_0000

AFMT_S16_LE = 0x00000010

open("/dev/dsp", "w:ASCII-...
metanest (Makoto Kishimoto)
08:41 AM Feature #5221 (Closed): LoadEerror#path
Applied in r34938 tenderlovemaking (Aaron Patterson)
08:21 AM Feature #5221: LoadEerror#path
I agree. matz (Yukihiro Matsumoto)
08:30 AM Feature #3090 (Closed): xml-rpc support for i8 data type
This issue was solved with changeset r34936.
Stas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/xmlrpc/parser.rb: support i8 types. Thanks Stas Kelvich!
...
tenderlovemaking (Aaron Patterson)
08:26 AM Feature #5096: offer Logger-compatibility for syslog ext
The repository is here: https://github.com/seattlerb/sysloglogger
I will attach a patch to this issue soon.
drbrain (Eric Hodel)
08:22 AM Bug #5354 (Closed): Module#remove_const documentation is confusing
Fixed by Nobu in r29519. Thanks for reporting this issue. marcandre (Marc-Andre Lafortune)
08:07 AM Bug #5324 (Closed): Bug in CreateChild in win32.c
Duplicate of #5325 marcandre (Marc-Andre Lafortune)
08:07 AM Bug #5323 (Closed): Bug in CreateChild in win32.c
Duplicate of #5325 marcandre (Marc-Andre Lafortune)
07:45 AM Bug #5660 (Closed): xmlrpc/client.rb issue
This issue was solved with changeset r34935.
Nathan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/xmlrpc/client.rb: assume servers that do not send a Conte...
tenderlovemaking (Aaron Patterson)
07:43 AM Bug #5252 (Closed): Segmentation Fault
Closing this, as apparently due to faulty proprietary C extension. marcandre (Marc-Andre Lafortune)
07:30 AM Revision 075d98c7 (git): * error.c (rb_load_fail): should honor encoding.
* load.c (load_failed): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:33 AM Bug #6119: Usage of CPPFLAGS during configure result in duplicated values for RbConfig CPPFLAGS information
I bet $CPPFLAGS and $cppflags are doing a two step. See if you have something similar to the following (from trunk) in the `lib\ruby\1.9.1\i386-mingw32\rbconfig.rb` file:
grep "S\[\"CPPFLAGS" config.status
S["CPPFLAGS"]="-DFD_SETSIZE...
jonforums (Jon Forums)
04:22 AM Bug #6119 (Closed): Usage of CPPFLAGS during configure result in duplicated values for RbConfig CPPFLAGS information
When attempted to use FD_SETSIZE preprocesor definition under Windows to increase number of file descriptions, found that configure script replicated it.
A simple configure invoke with `sh configure --enable-shared CPPFLAGS='-DFD_SETS...
luislavena (Luis Lavena)
05:22 AM Revision 8e07edf3 (git): * load.c (load_failed): no need to guard fname, it's stored in the exception to be raised.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:38 AM Revision 81809e27 (git): * ChangeLog: commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:26 AM Revision 72de92d1 (git): rb_load_fail
* error.c (rb_load_fail): use path as a string, not char*.
* internal.h: (rb_load_fail): moved from ruby/intern.h.
* ruby.c (load_file_internal): fname cannot be NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34941 b2dd03c8-39d...
nobu (Nobuyoshi Nakada)
01:28 AM Revision 293249fb (git): * test/xmlrpc/data/blog.xml: property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

03/06/2012

11:49 PM Revision a555b762 (git): updating changelog with ruby-core number
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
11:38 PM Revision d576a25c (git): * error.c (rb_loaderror_with_path): Adding the missing file as an
instance variable to the LoadError exception.
* load.c: call rb_loaderror_with_path so that the missing path is
added to the exception.
* ruby.c: call rb_loaderror rather than raising our own LoadError
exception.
* include/ruby/in...
tenderlovemaking (Aaron Patterson)
11:30 PM Revision c95cfa0a (git): use factory method for constructing Net::HTTP objects
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
11:30 PM Revision ce2f6986 (git): * lib/xmlrpc/parser.rb: support i8 types. Thanks Stas Kelvich!
[ruby-core:29246] [Feature #3090]
* test/xmlrpc/test_client.rb: supporting test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
10:45 PM Revision 9e9264c8 (git): * lib/xmlrpc/client.rb: assume servers that do not send a Content-Type
header are sending 'text/xml'. Thanks Nathan Leavitt!
[ruby-core:41204] [Bug #5660]
* test/xmlrpc/test_client.rb: supporting test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
10:40 PM Revision 8029539d (git): * 2012-03-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:40 PM Revision 1ac1163f (git): * test/xmlrpc/test_client.rb: adding a test for performing an XMLRPC
call.
* test/xmlrpc/data/blog.xml: supporting XML document for the response.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
10:40 PM Bug #5626 (Closed): io/console: Cannot disable raw mode
nobu (Nobuyoshi Nakada)
05:55 PM Feature #6118 (Feedback): Hash#keys_of(values), returns related keys of given values
Hash#key(value) の複数版がほしいです。
{a: 1, b: 2, c: 3, d: 1}.key(1)
=> :a
というメソッドはあるのですが、
{a: 1, b: 2, c: 3, d: 1}.keys_of(1)
=> [:a, :d]
というメソッドは現状ありません。
Ruby での実装例は以下のような感じになります。
どうでしょうか。
class Hash
def keys_of(*a)
each_...
naruse (Yui NARUSE)
04:19 PM Bug #4525 (Closed): Exponential performance when summing Enumerable
Hi,
Ivo Wever wrote:
> When you sum an Enumerable (using .inject(:+) or in a more verbose fashion), 1.8.7 and 1.9.2 show exponential performance, where JRuby and Rubinius show the expected linear behavior.
This is unrelated to `i...
marcandre (Marc-Andre Lafortune)
04:18 PM Bug #6117 (Closed): Transfers allowed into Fibers that have resumed into other fibers
Consider the following code:
```ruby
require 'fiber'
def foo
order = []
main_fiber = Fiber.current
a = Fiber.new do
order << 2
x = Fiber.new do
order << 4
main_fiber.transfer
...
loganb (Logan Bowers)
02:48 PM Bug #2788: nil.instance_eval pushes nil onto cref
test-all also points out that `@@class_level_variable` would then refer to `NilClass`/`FalseClass`/`TrueClass`'s class variables, contrary to other singleton classes. This would be consistent with `class << nil` vs `class << my_string`. marcandre (Marc-Andre Lafortune)
02:27 PM Bug #2788: nil.instance_eval pushes nil onto cref
Behavior is intended, as per tests in bootstraptest/test_eval.rb and [ruby-core:16808], but I'm don't think it's the right way to go, since `nil`, `true` and `false` do have singleton classes.
Koichi, do you agree the following patch ...
marcandre (Marc-Andre Lafortune)
01:46 PM Feature #4234: Hash#default_proc= Doesn't Accept nil Argument
Changing this to 'feature'.
I'm in favor of this change, with a small change to the doc. The interface should be read:
hsh.default_proc = proc_obj or nil
I think it is indeed not clear how to clear a default_proc. See:
http:/...
marcandre (Marc-Andre Lafortune)
01:32 PM Bug #3844 (Closed): Kernel.methods(false) not documented
Fixed in r33939. Thank you for reporting this issue. marcandre (Marc-Andre Lafortune)
01:20 PM Feature #6079 (Rejected): Hash#each_sorted
Closing as no implementation can improve on simple `sort.each`. marcandre (Marc-Andre Lafortune)
01:09 PM Bug #6106 (Closed): Ruby documentation ambiguous about mixed sign ranges in indexes
This issue was solved with changeset r34927.
Perry, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c (rb_str_aref): Improve rdoc, as per [bug #6106]
marcandre (Marc-Andre Lafortune)
10:11 AM Bug #6116 (Closed): IO#raw {|io| ...} で文字入力がエコーバックしない
This issue was solved with changeset r34917.
Sho, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/io/console/console.c (set_rawmode): clear ECHOE and ECHOK
...
nobu (Nobuyoshi Nakada)
09:56 AM Revision f4cda1e5 (git): merge revision(s) 33251,33259,33424:
* lib/test/unit/assertions.rb (assert_send): make arguments in
the default message clearer.
* lib/test/unit/assertions.rb (assert_send, assert_not_send):
parenthesize non-empty arguments.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
09:47 AM Revision 2fbc01fb (git): Fix typo.
reported by Nobuhiro IMAI.$
https://twitter.com/no6v/status/176959588531314688
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:44 AM Revision f35fa238 (git): Comment out unused lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:24 AM Revision bc6dde94 (git): * parse.y (parser_tokadd_string): escape simple regexp meta
character termninators.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:11 AM Revision a872bd3d (git): merge revision(s) 34927:
* string.c (rb_str_aref): Improve rdoc, as per [bug #6106]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
04:09 AM Revision 8a4de7ab (git): * string.c (rb_str_aref): Improve rdoc, as per [bug #6106]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
03:48 AM Revision 4257124d (git): merge revision(s) 34917:
* ext/io/console/console.c (set_rawmode): clear ECHOE and ECHOK
bits too.
* ext/io/console/console.c (echo_p): ignore ECHOE and ECHOK bits.
[ruby-dev:45309] [Bug #6116]
* ext/io/console/console.c (co...
nobu (Nobuyoshi Nakada)
03:40 AM Revision 9f8a7d00 (git): merge revision(s) 33786:
* ext/io/console/console.c (console_raw, console_set_raw)
(console_getch): optional parameters. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:39 AM Revision 7a208f4b (git): merge revision(s) 33785:
* ext/io/console/console.c (console_cooked, console_set_cooked):
new methods to reset cooked mode. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:32 AM Revision c7495f99 (git): merge revision(s) 34376:
* ext/io/console/console.c (io_getch): default delegating method
for StringIO. https://github.com/nobu/io-console/issues/4
* ext/stringio/stringio.c: moved some methods to hidden modules.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
03:31 AM Revision 9ca160c1 (git): merge revision(s) 33172,33968:
* ext/io/console/console.c (console_set_winsize): remove
unused variable.
* io.c (Init_IO): Mention io/console methods. [Ruby 1.9 - Bug #5602]
* ext/io/console/console.c: Mention that io/console must be required
...
nobu (Nobuyoshi Nakada)
03:27 AM Revision 0c493edc (git): merge revision(s) 32747:
* remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:06 AM Revision acc55c25 (git): merge revision(s) 34919:
* lib/yaml/rubytypes.rb (Exception.yaml_new): fix bug that causes
YAML serialization problem for Exception.
Exception#initialize doesn't use visible instance variable for
the exception message, so call the m...
nobu (Nobuyoshi Nakada)
03:03 AM Revision 383ad674 (git): merge revision(s) 34908:
* lib/yaml/rubytypes.rb (Exception.yaml_new): fix bug that causes
YAML serialization problem for Exception.
Exception#initialize doesn't use visible instance variable for
the exception message, so call the m...
nobu (Nobuyoshi Nakada)
02:43 AM Revision 0496299e (git): merge revision(s) 34908:
* ext/syck/lib/syck/rubytypes.rb (Exception.yaml_new): fix bug
that causes YAML serialization problem for Exception.
Exception#initialize doesn't use visible instance variable for
the exception message, so c...
nobu (Nobuyoshi Nakada)
01:34 AM Bug #6115 (Closed): A block after the do-block without parenthesis
This issue was solved with changeset r34913.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (block_call): rules for block_call after block_cal...
nobu (Nobuyoshi Nakada)
01:11 AM Revision dd9569de (git): * ext/io/console/console.c (set_rawmode): clear ECHOE and ECHOK
bits too.
* ext/io/console/console.c (echo_p): ignore ECHOE and ECHOK bits.
[ruby-dev:45309] [Bug #6116]
* ext/io/console/console.c (console_raw): fix rdoc.
* ext/io/console/console.c (console_set_echo): mentioned about
platform depe...
nobu (Nobuyoshi Nakada)
12:52 AM Feature #5583: Optionally typing
Hi,
Koichi Sasada wrote:
> Shugo Maeda wrote:
> ...
Once Matz rejected a proposal of method annotations because he didn't like that methods had such attributes at runtime. It might be acceptable if method annotations have comment-s...
shugo (Shugo Maeda)
12:09 AM Bug #6067: Conditional assignment of a nested constant raises a SyntaxError
One would think it would evaluate similar to:
(A::X = 1 if ! defined? A::X or A::X.nil? ; A::X)
For comparison, these also fail:
ruby -e 'module A; end; p A::X = 2; p A::X ||= 1'
ruby -e 'module B module Inner end end...
steakknife (Barry Allard)

03/05/2012

11:37 PM Bug #6116 (Closed): IO#raw {|io| ...} で文字入力がエコーバックしない
以下のドキュメントにならって、IO#raw で gets したところ入力がエコーバックしませんでした。
Yields +self+ within raw mode.
STDIN.raw(&:gets)
will read and return a line with echo back and line editing.
一方、以下のようにしてみたところ、Debian squeeze だと 1.9.3-p125 と、r34909 ...
sho-h (Sho Hashimoto)
10:59 PM Bug #6115 (Closed): A block after the do-block without parenthesis
=begin
= ((<pull request 102 by pasberth: A block after the do-block without parenthesis|URL:https://github.com/ruby/ruby/pull/102>))
((<patch|URL:https://github.com/pasberth/ruby/commit/2d6624238aae89110141a8e223f244bf92eb27a9>))
I...
nobu (Nobuyoshi Nakada)
10:19 PM Revision 2706b60c (git): * lib/xmlrpc/client.rb: switch net/http post2 calls to modern
`request_post` methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
09:48 PM Revision 8456c060 (git): only run `test_key` on ruby 2.0.0 or up
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
05:32 PM Revision 62ffffbe (git): * ext/psych/lib/psych/core_ext.rb: only extend Kernel if IRB is loaded
in order to stop method pollution.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
04:59 PM Feature #6070: The scope of for loop variables
(2012/03/05 16:10), Shugo Maeda wrote:
> For loops are syntactically close to while loops, but for loops are
> semantically more close to blocks, so I think it's better to make for
> loops consistent with blocks.

I like curre...
ko1 (Koichi Sasada)
04:23 PM Feature #6070: The scope of for loop variables
Hello,

2012/3/1 George Koehler <xkernigh@netscape.net>:
> This patch (for_loop_scope_fix_0224.diff) introduces a confusing change. With current Ruby, for loops and loops never have local variables. With this patch, for loops have...
shugo (Shugo Maeda)
04:34 PM Revision c46bdadb (git): * parse.y (block_call): rules for block_call after block_call.
based on a patch by pasberth https://github.com/ruby/ruby/pull/102
[ruby-dev:45308][Bug #6115]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:24 PM Revision 45f3651d (git): * parse.y (block_command, block_call): simplified rules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:17 PM Revision 68ff00d9 (git): * 2012-03-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:17 PM Revision 0827c384 (git): assert_valid_syntax
* test/ruby/test_syntax.rb (assert_valid_syntax): new assertion to
validate syntax.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:53 AM Bug #6112 (Closed): String#byteslice、BigMath.#log のコメントの typo など
This issue was solved with changeset r34899.
Sho, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/bigdecimal/lib/bigdecimal/math.rb: remove description about
...
naruse (Yui NARUSE)
11:49 AM Feature #6095: Question about block parameter syntax
なかだです。

(12/02/27 13:12), Yukihiro Matsumoto wrote:
> 添付のパッチで直りそう。だれか確認してもらえませんか?

よさそうです。r34832のテストは通ることを確認しました。

--
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
中田 伸悦
nobu (Nobuyoshi Nakada)
11:49 AM Feature #6095: Question about block parameter syntax
まつもと ゆきひろです

添付のパッチで直りそう。だれか確認してもらえませんか?

In message "Re: [ruby-dev:45290] Question about block parameter syntax"
on Sun, 26 Feb 2012 13:59:11 +0900, SASADA Koichi <ko1@atdot.net> writes:
|
| ささだです.
|
| 1.times{
...
matz (Yukihiro Matsumoto)
11:49 AM Feature #3946: Array#packのqQ指定子に機種依存サイズフラグ!を追加
こんにちは、なかむら(う)です。

古いチケットですが、r34507でまた踏んだので蒸し返します。

In message "[ruby-dev:42671] Re: [Ruby 1.9-Feature#3946][Open] Array#packのqQ指定子に機種依存サイズフラグ!を追加"
on Dec.02,2010 21:30:53, <akr@fsij.org> wrote:
> あまりよくわかっていないんですが、これって Q...
usa (Usaku NAKAMURA)
11:49 AM Bug #5952: コマンドラインモードで CGI.new を 2 回実行すると IOError が発生する
2012年1月31日9:34 Tomoyuki Chikanaga <nagachika00@gmail.com>:
>
> Issue #5952 has been updated by Tomoyuki Chikanaga.
>
> Category set to core
>
> r29781 以降 Kernel#readlines (ARGF.readlines) で EOF を検出すると stdin を close するようになってい...
kosaki (Motohiro KOSAKI)
11:49 AM Feature #5896: object representation in rb_enc_vsprintf()
redmineにコメント書いたんですが、MLと連携されてないように見えるので
こちらにも投稿しときます。

警告については、gccの拡張ですしPRINTF_ARGSを諦めるのどうですか?
拡張した時点でprintf書式に合わないのはしようがないと思います。

--
樽家昌也(Masaya TARUI)
No Tool,No Life.

2012年1月16日22:00 Nobuyoshi Nakada <nobu@ruby-la...
tarui (Masaya Tarui)
11:47 AM Feature #6065: Allow Bignum marshalling/unmarshalling from C API
2012/2/23 Martin Bosslet <Martin.Bosslet@googlemail.com>:
> Akira Tanaka wrote:
>> 2012/2/23 Martin Bosslet <Martin.Bosslet@googlemail.com>:
>>
>>  > Currently, there's no public C API to create a Bignum.
>>  > There is rb_big_pack...
naruse (Yui NARUSE)
11:47 AM Feature #5663: Combined map/select method
2012/2/1 Nobuyoshi Nakada <nobu@ruby-lang.org>

>
> Issue #5663 has been updated by Nobuyoshi Nakada.
>
> Yura Sokolov wrote:
> > I often wish to have methods, which likes to `inject` but do use return
> value of block for next i...
funny_falcon (Yura Sokolov)
11:46 AM Bug #5915: Array#join with explicit nil should not use $,
Array#join actually tries three coercions on elements: #to_str, followed by
#to_ary (for nested joins), followed by #to_s.

The separator is coerced with #to_str if it is not nil and not a
String. Note that this matters only for...
john_firebaugh (John Firebaugh)
11:46 AM Feature #5873: Adopt FFI over DL
(2012/01/14 12:30), KOSAKI Motohiro wrote:
>> To remove original DL completely, we have to bundle libffi itself
>> wholly.
>
> Why?

I have no idea about the original point and your question.

> Example, openssl is really impor...
Anonymous
11:46 AM Feature #5893: named return,next...
Hi,

In message "Re: [ruby-core:42115] Re: [ruby-trunk - Feature #5893][Open] named return,next..."
on Fri, 13 Jan 2012 23:26:36 +0900, Ondřej Bílka <neleai@seznam.cz> writes:

|> Doesn't throw/catch to that already?
|No...
matz (Yukihiro Matsumoto)
09:29 AM Revision bc4ef96c (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:11 AM Revision eb1eee03 (git): * ext/syck/lib/syck/rubytypes.rb (Exception.yaml_new): fix bug
that causes YAML serialization problem for Exception.
Exception#initialize doesn't use visible instance variable for
the exception message, so call the method with the message.
patched by Jingwen Owen Ou <jingweno AT gmail.com>.
...
nobu (Nobuyoshi Nakada)
07:52 AM Revision a2749dbb (git): * ext/socket/extconf.rb: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:51 AM Revision 842c6f60 (git): * test/ruby/test_sleep.rb (TestSleep#test_sleep_5sec): syntax error.
* test/ruby/test_sleep.rb (TestSleep#test_sleep_5sec): call uname
only on linux because it's a workaround for linux only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:40 AM Revision bfba60f8 (git): Remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:36 AM Revision 1d30263d (git): Fix condition of r34897.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:44 AM Revision 4a6e738a (git): * st.c (unpack_entries): chain entries directly. based on a patch
by Sokolov Yura <funny.falcon AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:44 AM Revision 4a8c531a (git): * st.c (unpack_entries): use union instead of casted pointer.
patched by Sokolov Yura <funny.falcon AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:43 AM Revision 5bd91964 (git): * st.c: use PACKED_ENT and FIND_ENTRY. patched by Sokolov
Yura <funny.falcon AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:43 AM Revision e5ac1599 (git): * st.c (unpack_entries): reallocate bins if packed array size
is not same as initial bins size. based on a patch by
Sokolov Yura <funny.falcon AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:53 AM Revision 697b53d8 (git): * ext/bigdecimal/lib/bigdecimal/math.rb: remove description about
BigMath#log. patched by Sho Hashimoto [ruby-dev:45307] [Bug #6112]
* string.c (str_byteslice): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:23 AM Bug #6084: Ruby 1.9.3p125 Segfault while running nanoc compile
I can't replicate with 1.9.3p134 or 1.9.3p155 [i386-mingw32] versions on Win7 32bit. One of my nanoc sites has a Rules file using `erubis`, `redcarpet`, and `colorize_syntax` https://github.com/thecodeshop/ruby/blob/gh-pages/_site_src/Ru... jonforums (Jon Forums)
01:16 AM Revision 2a70ec05 (git): * 2012-03-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:16 AM Revision 14e11379 (git): Old linux (at least CentOS 5.6, kernel 2.6.18) wakes up 4.99 sec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

03/04/2012

11:21 PM Feature #5484 (Closed): regexp comparison bug
This issue was solved with changeset r34896.
Denis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (parser_tokadd_string): regexp engine doesn't need
t...
nobu (Nobuyoshi Nakada)
09:57 PM Bug #6084 (Feedback): Ruby 1.9.3p125 Segfault while running nanoc compile
ktsj (Kazuki Tsujimoto)
09:48 PM Feature #4890: Enumerable#lazy
Rodrigo Rosenfeld Rosas wrote:
> Thomas, I think it only makes sense for enumerables to be lazy if you call take(n) on it.
> ...
I disagree, i think lazy versions of all methods that return arrays are useful, to avoid generating interm...
alexeymuranov (Alexey Muranov)
02:21 PM Revision 68a16f9a (git): * parse.y (parser_tokadd_string): regexp engine doesn't need
terminators to be escaped. [ruby-core:40364][Bug #5484]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:59 PM Revision b212b84f (git): * hash.c: remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
11:39 AM Revision 44281c81 (git): * 2012-03-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:39 AM Revision b586af26 (git): * ChangeLog: fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
11:35 AM Bug #6112 (Closed): String#byteslice、BigMath.#log のコメントの typo など
るりまを書いていて以下のコメントの間違いに気づきました。パッチを添付しますので、合ってるようであれば取り込んでやってください。
* String#byteslice の \u3042 を\u3942 と typo
* BigMath.#log がまだ残ってる
sho-h (Sho Hashimoto)
11:31 AM Bug #953 (Open): 深い入れ子の配列の取り扱いで落ちる
=begin
辻本です。
trunkで再現するようになっているのでreopenしておきます。
$ ./ruby -v ./nest.rb
ruby 2.0.0dev (2012-03-03 trunk 34892) [x86_64-linux]
./nest.rb:5: [BUG] Segmentation fault
=end
ktsj (Kazuki Tsujimoto)
12:22 AM Feature #6111 (Closed): Request for making ruby multiarchable
i ask to make it possible to install ruby in more multiarch compatible dirs ...
with configure allone it is not possible
so the libs where are named /usr/lib/libruby(version) should go to /usr/lib/(arch)/libruby(version)
for the c...
Hanmac (Hans Mackowiak)
 

Also available in: Atom