Project

General

Profile

Activity

From 05/22/2011 to 05/28/2011

05/28/2011

11:51 PM Bug #4795: Nested classes don't seem to resolve correctly when another class exists with the same name
But isn't Baz defined at the immediate Foo::Bar scope? Why does it keep going up the chain? jxfruby (John Feminella)
11:05 PM Bug #4795: Nested classes don't seem to resolve correctly when another class exists with the same name
The call to 'Baz' in method 'x' will look up the ancestor chain and find the Baz constant defined for Object(because of class Baz) and uses it. However, if you qualify the call to Baz like this:
def x
Foo::Bar::Baz.new.say
end
...
andhapp (Anuj Dutta)
10:39 PM Bug #4795 (Rejected): Nested classes don't seem to resolve correctly when another class exists with the same name
# in /tmp/foo.rb
module Foo
end
module Foo::Bar
class Baz; end
end
class Baz
def say
"::Baz"
end
end
class Foo::Bar::Baz
def say
"::Foo::Bar::Baz"
end
def x
Baz.new.say
end
end
...
jxfruby (John Feminella)
11:32 PM Revision 8cd1c4dd (git): merges r31113 from trunk into ruby_1_9_2.
--
* ext/openssl/lib/openssl/buffering.rb (module OpenSSL): #flush should
not change sync mode on exception.
* test/openssl/test_buffering.rb: added
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9...
yugui (Yuki Sonoda)
11:32 PM Revision b337563f (git): merges r31101 from trunk into ruby_1_9_2.
--
* lib/pstore.rb: Fix don't raise "nested transaction" when thread_safe
is true. Patch by Masaki Matsushita (Glass_saga). [ruby-dev:43337]
* test/test_pstore.rb: Test for above.
Patch by Masaki Matsushita (Glass_saga) [ruby-dev:43...
yugui (Yuki Sonoda)
11:32 PM Revision 0642b2a5 (git): merges r31086 from trunk into ruby_1_9_2.
--
* parse.y (parser_encode_length): add exception as UTF8-MAC for
magic comment's emacs newline specifier
patched by James M. Lawrence [ruby-core:35476] fixes #4489
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31...
yugui (Yuki Sonoda)
11:32 PM Revision 9eb4b2e5 (git): merges r31085 from trunk into ruby_1_9_2.
--
* parse.y (parser_encode_length): fix typo: the length of
"-dos" and "-mac" is not 5 but 4.
patched by James M. Lawrence [ruby-core:35476] fixes #4489
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31774 b2dd03c8...
yugui (Yuki Sonoda)
11:32 PM Revision 394c7da4 (git): merges r31050 from trunk into ruby_1_9_2.
--
* lib/pstore.rb: Delete variable @transaction and fix #4474. Patch by
Masaki Matsushita (Glass_saga).
* test/test_pstore.rb(test_thread_safe): Add test for #4474.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@317...
yugui (Yuki Sonoda)
11:32 PM Revision fee12c7f (git): merges r31028 from trunk into ruby_1_9_2.
--
* include/ruby/intern.h: fix a typo of prototype declaration.
rb_mutex_try_lock -> rb_mutex_trylock [ruby-dev:43213]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
11:31 PM Revision ce79ff70 (git): merges r31016 from trunk into ruby_1_9_2.
--
* test/ruby/test_process.rb (test_execopts_redirect): redirecting fd
>= 3 is not supported on Windows, so should not specify such options
when calling spawn or others.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9...
yugui (Yuki Sonoda)
11:31 PM Revision 6b47d60e (git): * strftime.c (STRFTIME): return 0 and ERANGE when precision is too
large. [ruby-dev:43284] fixes #4456
based on r31011.
* test/test_time.rb (TestTime#test_huge_precision): test for #4456.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
11:31 PM Revision aed90c7c (git): merges r30957 from trunk into ruby_1_9_2.
--
* ext/psych/lib/psych/scalar_scanner.rb: fix parsing timezone's whose
whose format is (+/-)hhmm. Thanks Gonçalo Silva!
* test/psych/test_scalar_scanner.rb: test for bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1...
yugui (Yuki Sonoda)
11:31 PM Revision cb5c87b7 (git): merges r30975 from trunk into ruby_1_9_2.
--
* lib/tempfile.rb: Fix example file paths in docs for tempfile.
https://github.com/ruby/ruby/pull/5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
11:31 PM Revision 137c52d9 (git): merges a part of r30931 from trunk into ruby_1_9_2.
--
* ext/psych/lib/psych/json/stream.rb: do not emit custom tags in maps
or sequences when emitting JSON.
* ext/psych/lib/psych/json/tree_builder.rb: do not emit custom tags in
sequences when emitting JSON.
* test/psych/json/test_str...
yugui (Yuki Sonoda)
11:18 PM Revision b0db8f0b (git): * 2011-05-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:18 PM Revision 1c0add85 (git): merges r30922 and r30924 from trunk into ruby_1_9_2.
--
* prevent temporary objects from GC, and should not use
RSTRING_PTR() for function calls since it evaluates the argument
a couple of times.
--
* thread.c (exec_recursive): prevent temporary objects from GC.
git-svn-id: svn+ssh://...
yugui (Yuki Sonoda)
10:23 PM Bug #3924: Performance bug (in require?)
Great work, Xavier!

I would like to try it but my RVM installation seems to be broken somehow:

rvm install ruby-head --patch /tmp/require-performance-fix.patch

Installing Ruby from source to:
/home/rodrigo/.rvm/rubies/...
rosenfeld (Rodrigo Rosenfeld Rosas)
10:11 AM Bug #3924: Performance bug (in require?)
My last problem was related to the build system pushing things into $" and bypassing require.
I now have a patch that I woud like to submit for consideration:
https://gist.github.com/996418
I am going to try and get some more eyeb...
xaviershay (Xavier Shay)
05:40 PM Bug #4794 (Closed): Improving documenation for const_missing
I added another example to const_missing's documentation to make it a little more obvious. andhapp (Anuj Dutta)
05:17 PM Revision e15b3c83 (git): * test/net/http/utils.rb (TestNetHTTPUtils#teardown): add nil check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
04:15 PM Bug #4683: [PATCH] io.c: copy_stream execute interrupts and retry
I think this is subtle but interesting issue. Thank you.
I'm not sure rb_thread_interrupted() is callable without GVL.
kosaki pointed mutual exclusion issue with interrupt_flag.
http://redmine.ruby-lang.org/issues/4770
Since the...
akr (Akira Tanaka)
04:04 PM Bug #1157: missing zlib.rb?
The error is due to zlib1g-dev is not installed by default. In ubuntu, to solve it:
1. sudo apt-get install zlib1g-dev # to install the dependent zlib
2. cd <ruby-src>/ext/zlib # go to ext/zlib in ruby source directory
2. ruby extconf...
weigui (wei gui)
03:26 PM Bug #4793 (Closed): 特定のSyntaxErrorでirbが落ちる
=begin
以下のコードでirbが落ちます。
$ ./ruby -Ilib bin/irb
irb(main):001:0> next
SyntaxError: (irb):1: Can't escape from eval with next
/home/k_tsj/work/ruby-trunk/lib/irb/workspace.rb:100:in `sub!': can't modify frozen String (RuntimeErr...
ktsj (Kazuki Tsujimoto)
03:24 PM Revision 25925517 (git): * 2011-05-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:24 PM Revision bde7a62f (git): * process.c (before_exec, after_exec): change from macro to function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
02:50 PM Feature #1081: add File::write() convenience method
Hello,
The status of this feature request is considered as "accepted".
If anyone writes a patch (in C) for this feature by the implementation deadline (the end of June) and if there is no objection to the patch, it will be imported i...
mame (Yusuke Endoh)
01:52 PM Revision ed02c412 (git): * process.c (before_exec, after_exec): change SIGPIPE handler to SIG_DFL
before calling execve(). Because r31760 reintroduced an issue that
system() may hang up (i.e. [ruby-dev:12261]).
* process.c (save_sigpipe, restore_sigpipe): new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31761 b2dd03c8-39d4...
kosaki (Motohiro KOSAKI)
08:47 AM Feature #4774: User Friendly Handling of "Encoding::ConverterNotFoundError"
=begin
Yui NARUSE wrote:
> > The basic action would be to extend the error message "Encoding::ConverterNotFoundError" like this:
> ...
This is not exactly true.
* I did something (filed issue #4738), and my problem was solved.
...
lazaridis.com (Lazaridis Ilias)
08:22 AM Bug #4791 (Closed): Doc: Clarification on allowed timeout values
This patch clarifies what is an acceptable timeout value in Net::HTTP and Timeout::timeout. The existing documentation does not clearly indicate that fractional seconds may be specified, leaving the reader to guess whether only integer v... amikula (Alf Mikula)
07:59 AM Bug #4776: DateTime.new! has been disabled
On Wed, May 25, 2011 at 09:26:10AM +0900, Aaron Patterson wrote:
>
> Issue #4776 has been reported by Aaron Patterson.
>
> ----------------------------------------
> Bug #4776: DateTime.new! has been disabled
> http://redmine.ru...
tenderlovemaking (Aaron Patterson)
07:11 AM Revision e39b50d4 (git): * signal.c (Init_signal, default_handler): change default SIGPIPE handler
from empty function to SIG_IGN. [ruby-dev:43215]
* signal.c (sigpipe): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:24 AM Bug #4789: rb_str_bytesize() should use LONG2NUM()
Indeed. I've commited this.
Thank you!
kosaki (Motohiro KOSAKI)
02:23 AM Bug #4789 (Closed): rb_str_bytesize() should use LONG2NUM()
This issue was solved with changeset r31756.
Nikolai, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c (rb_str_bytesize): rb_str_bytesize() should use LON...
kosaki (Motohiro KOSAKI)
01:41 AM Bug #4522 (Rejected): Net::HTTP persistent connections
Recommended use of Net::HTTP is like:
Net::HTTP.start("www.terra.com.br") do |h|
h.get("/")
end
So if a code is against this, it has some intention like the connection is one time connection.
On this recognition, current be...
naruse (Yui NARUSE)
01:20 AM Bug #4790 (Closed): [rdoc] attempt to clarify IO rdocs
As per some confusion over options for File.open [1], here is a patch to attempt to clarify.
[1] http://www.ruby-forum.com/topic/1731075
rogerdpack (Roger Pack)
01:06 AM Bug #4179 (Closed): OpenStruct#method_missing handles #[]= wrongly
Thanks for the patch.
It was modified so that:
- s[] also raises an error
- s[1]=2 states that "[]=" is the missing method (not "[]")
Applied as r31753, RubySpec updated as 9d36c78
marcandre (Marc-Andre Lafortune)

05/27/2011

11:45 PM Revision aede5b39 (git): update comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:39 PM Bug #4789 (Closed): rb_str_bytesize() should use LONG2NUM()
RSTRING_LEN() is a long, so LONG2NUM() should be used, not INT2NUM(). now (Nikolai Weibull)
10:46 PM Feature #4784 (Closed): Import the JSON library
This issue was solved with changeset r31749.
Lazaridis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* tool/rbinstall.rb (gem): install gemspec of json. fixed #...
nobu (Nobuyoshi Nakada)
10:26 PM Feature #4784 (Assigned): Import the JSON library
Current ext/json is not recognized as gem by RubyGems.
Nobu, please hack it :D
naruse (Yui NARUSE)
10:45 PM Bug #4732 (Closed): mingw no longer writes files with "\r\n" by default, presumably unexpectedly
This issue was solved with changeset r31748.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (validate_enc_binmode): do not clear textmode flag if
d...
nobu (Nobuyoshi Nakada)
10:28 PM Feature #4780 (Assigned): String#split with a block
naruse (Yui NARUSE)
10:20 PM Feature #4065 (Rejected): Rename or alias module#append_features to module#include_module
marcandre (Marc-Andre Lafortune)
08:26 PM Feature #4783: REXML::Text.new 引数がfreezeされていたとき
ありがとうございます! kou (Kouhei Sutou)
11:36 AM Feature #4783 (Closed): REXML::Text.new 引数がfreezeされていたとき
pullしておきました。 shyouhei (Shyouhei Urabe)
08:22 PM Bug #4522: Net::HTTP persistent connections
And if it's used like in example #1, and then there's an exception (which is rescued in user code), and then a new request is issued - would it still use Keep-Alive? Because if it will, then at least the bug can be worked-around... romanbsd (Roman Shterenzon)
06:06 PM Revision 9efb5a9d (git): * io.c (fill_cbuf): return MORE_CHAR_SUSPENDED when cbuf is not empty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:25 PM Revision 412e9ba1 (git): email addr fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
05:23 PM Revision 724b1c60 (git): * string.c (rb_str_bytesize): rb_str_bytesize() should use LONG2NUM().
Patch by Nikolai Weibull. [Bug #4789] [ruby-core:36511]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
05:09 PM Revision 78271e8c (git): * io.c (fill_cbuf): Fix test-all crash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
05:01 PM Feature #4788 (Closed): resolv.rb refactoring
このようなモンキーパッチが(私のコードではありませんが)
https://github.com/ioquatix/rubydns/blob/master/lib/rubydns/resolv.rb
#3835 ( [ruby-core:32407] )の結果、動かなくなっていたのでパッチを検討していたわけですが、
結論としてresolv.rbに以下のようなリファクタリングを施すのがいいのではないかと考えました。
パッチを添付します。
----
dif...
metanest (Makoto Kishimoto)
04:22 PM Feature #4786: RCR new Feature: Numeric#grouped
Ruby doesn't include Locale depended features on current policy.
So it should be done by ICU or ActiveSupport or something.
naruse (Yui NARUSE)
08:53 AM Feature #4786: RCR new Feature: Numeric#grouped
Hi,

At Fri, 27 May 2011 08:17:52 +0900,
Nobuyoshi Nakada wrote in [ruby-core:36495]:
> And not all locales use 3-digits separation.

According to
<http://en.wikipedia.org/wiki/Indian_numbering_system>, it's
more complic...
nobu (Nobuyoshi Nakada)
08:50 AM Feature #4786: RCR new Feature: Numeric#grouped
P.S. POSIX does specify printf("%'d"), but this does not define _how_ the numbers are grouped, because of course, by theory they cannot. shyouhei (Shyouhei Urabe)
08:46 AM Feature #4786: RCR new Feature: Numeric#grouped
-1.
As nobu said numbering system depends on locales. So far ruby has been strictly avoiding locale-dependent features. It is too careless to introduce such feature.
shyouhei (Shyouhei Urabe)
08:23 AM Feature #4786: RCR new Feature: Numeric#grouped
Hi,

At Fri, 27 May 2011 07:22:37 +0900,
Roger Pack wrote in [ruby-core:36494]:
> Background:
> Currently in ruby you can enter large numbers with digit grouping:
> a = 1_000_000_000
>
> however there is no convenient w...
nobu (Nobuyoshi Nakada)
07:18 AM Feature #4786 (Rejected): RCR new Feature: Numeric#grouped
Hello all.
As discussed in http://www.ruby-forum.com/topic/1060694#new with apparently no objection, this is a request for an easy way to get comma separated string values from numeric types.
Background:
Currently in ruby you can ...
rogerdpack (Roger Pack)
03:59 PM Revision 8858722d (git): * 2011-05-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:59 PM Revision a50bdcd6 (git): * lib/ostruct.rb (method_missing): Handle [] and []= correctly.
Based on a patch by Caius Durling, bug #4179 [ruby-core:33792]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
02:57 PM Revision 40e7d793 (git): * test/rexml/test_core.rb (Tester::test_text_frozen): split frozen
string test. refs #4783
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
01:55 PM Revision 7bb29d4b (git): * proc.c: Rdoc formatting, clarification & example fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
01:55 PM Revision ffd86054 (git): * object.c (rb_mod_attr_accessor, rb_mod_const_set): made rdoc
more precise by specifying Object can searched for Modules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
01:53 PM Feature #4787: Integer#each_modulo(n)
Hi,

I believe I've sent the following feature request to ruby-core,
but I sent to ruby-dev by mistake.

--
Kenta Murata
Sent with Sparrow (http://www.sparrowmailapp.com)

Forwarded Message:

> From: Kenta Murata <muraken@gm...
mrkn (Kenta Murata)
01:18 PM Feature #4787 (Closed): Integer#each_modulo(n)
I suggest a new feature of Integer to enumerate by iterated Integer#modulo.
An example implementation in Ruby is the following code:
```ruby
class Integer
def each_modulo(n)
raise ArgumentError, "argument must be an Integer"...
mrkn (Kenta Murata)
01:46 PM Revision c5719d9a (git): * tool/rbinstall.rb (gem): install gemspec of json. fixed #4784
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:45 PM Revision b5bc09d2 (git): * io.c (validate_enc_binmode): do not clear textmode flag if
default. fixed #4732
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:38 PM Revision 9909c675 (git): * io.c (fill_cbuf): finish reading at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:37 PM Revision faaf8ea8 (git): * test/ruby/test_io.rb (TestIO#test_ungetc2): get rid of busy loop.
* test/ruby/test_signal.rb (TestSignal#test_signal2): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:36 AM Bug #4141 (Closed): Tk extension is not accepting any type of parameter combination
This issue was solved with changeset r31742.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/tk/lib/tk.rb: hang-up at exit before calling Tk.mainloop.
...
nagai (Hidetoshi Nagai)
02:34 AM Revision 83e216b6 (git): ChangeLog for it
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
02:34 AM Revision 42f704a8 (git): prevent an error when passing a frozen string to REXML::Text.new
dup the string passed in instead of cloning so that it's frozen state is ignored
Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
01:01 AM Feature #4774: User Friendly Handling of "Encoding::ConverterNotFoundError"
> The basic action would be to extend the error message "Encoding::ConverterNotFoundError" like this:
In current situation, users can do nothing, so such message is useless.
Or such message is associated with the rdoc of the method w...
naruse (Yui NARUSE)

05/26/2011

11:55 PM Bug #4027 (Rejected): Signal.trap で busy loop に陥る
シグナルマスクに関しては #4765 に分離されました。
signal_buff の競合状態は、新しめの gcc や Windows だと ATOMIC_INC/ATOMIC_DEC がロックつきになることと、
#4765 でシグナルハンドラの実行がタイマースレッドに限定されれば発生しなくなるはずなのでこちらは閉じます。
nagachika (Tomoyuki Chikanaga)
11:48 PM Revision e65e24bd (git): * thread.c (ppoll): typo bug fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
11:36 PM Revision 542190ce (git): * ext/tk/lib/tk.rb: hang-up at exit before calling Tk.mainloop.
* ext/tk/lib/tk/extconf.rb: cannot make on MinGW [Ruby 1.9 - Bug #4141].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagai (Hidetoshi Nagai)
11:24 PM Feature #4783: REXML::Text.new 引数がfreezeされていたとき
引数の文字列オブジェクトに興味があるのではなくて、文字列の中身だけに興味があると思うので、freezeは落としちゃう方向でよいと思います。なので、取り込みたいと思うのですが、pullってもらってよいでしょうか?
テストは直したほうがよいと思うので、取り込んでもらった後に修正します。
kou (Kouhei Sutou)
03:16 PM Feature #4783 (Closed): REXML::Text.new 引数がfreezeされていたとき
lib/rexmlのメンテナの須藤さん:
pull requestが来ています。パッチ自体は妥当かなという気がしますので、そもそも現状が意図された状態なのか、それともこれはバグってことにするのか、その辺ご判断いただければと。よろしくおねがいします。
https://github.com/ruby/ruby/pull/22
shyouhei (Shyouhei Urabe)
10:32 PM Bug #4785 (Closed): CSV Documentation
This issue was solved with changeset r31739.
Ysiad, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/csv.rb: Documentation improvements from Ysiad Ferreiras.
...
JEG2 (James Gray)
04:52 PM Bug #4785 (Closed): CSV Documentation
Documentation updates only:
1. Specified that fastercsv was new as of 1.9, as "New" could be ambiguous.
2. Fixed a couple of minor typos.
ysiadf (Ysiad Ferreiras)
05:23 PM Feature #4784: Import the JSON library
RubyGems ! rkh (Konstantin Haase)
04:56 PM Feature #4784: Import the JSON library
Sakuro OZAWA wrote:
> $ ls path-to/ruby/1.9.1/json*
> ...
Actually this means that although ruby 1.9 *could* resolve the requirement, it does not do so.
Solution could be:
* Either ruby should signal "I have json code similar to...
lazaridis.com (Lazaridis Ilias)
04:23 PM Feature #4784: Import the JSON library
Ah, you again. That's a dm-serializer issue then, as their gemspec specifies the json gem as a dependency. Libraries imported to stdlib are not gems. There has been a discussion about shipping ruby with standard gems rather than putting... rkh (Konstantin Haase)
04:22 PM Feature #4784: Import the JSON library
$ ls path-to/ruby/1.9.1/json*
path-to/ruby/1.9.1/json.rb

path-to/ruby/1.9.1/json:
add/ common.rb ext.rb version.rb
>dm-serializer requires json 1.4.6
this means dm-serializer uses JSON *gem* for JSON parsing so it can ...
sakuro (Sakuro OZAWA)
04:13 PM Feature #4784: Import the JSON library
Shota Fukumori wrote:
> It has already included in ruby 1.9.
> ...
How can I test the version that you have included?
(I've ruby 1.9.2/180)
example:
gem install dm-serializer
ERROR: Error installing dm-serializer:
...
lazaridis.com (Lazaridis Ilias)
03:46 PM Feature #4784 (Rejected): Import the JSON library
It has already included in ruby 1.9.
is our including json gem not equal to yours?
sorah (Sorah Fukumori)
03:20 PM Feature #4784 (Closed): Import the JSON library
I've personally lost several hours with the JSON gem (and was still not able to resolve the problem in a way that is acceptable for end-users).
The JSON library is an important library.
It should be included into ruby 1.9, thus it ...
lazaridis.com (Lazaridis Ilias)
03:35 PM Revision 4aaea4c9 (git): * 2011-05-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:35 PM Revision a9c056f1 (git): * lib/csv.rb: Enhance each() to support Enumerator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e James Edward Gray II
01:32 PM Revision b74f5dee (git): * lib/csv.rb: Documentation improvements from Ysiad Ferreiras.
[Ruby 1.9 - Bug #4785]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
James Edward Gray II
11:52 AM Bug #921: autoload is not thread-safe
FYI: shyouhei is working for the fix. Here's commits for ruby_1_8 branch.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=31732&view=revision
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=31734&view=revision
And a little m...
nahi (Hiroshi Nakamura)
06:46 AM Revision db0f21e9 (git): ChangeLog for it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
06:44 AM Revision b1524728 (git): * 2011-05-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:44 AM Revision c0f09a8a (git): * lib/xmlrpc/parser.rb (FaultException): fix to_s and inspect
* test/xmlrpc/parser.rb: test for the above
Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
04:23 AM Feature #4772: Hash#add_keys
On Wed, May 25, 2011 at 3:20 PM, Joey Zhou <yimutang@gmail.com> wrote:

> 1) hash = Hash.new {|h,k| k.succ }
> 2) hash = Hash.new {|h,k| h[k] = k.succ }
>
> 1) and 2) are different, 2) will actually create any key/value pair t...
aprescott (Adam Prescott)
02:25 AM Bug #4762: Adding documentation for mathn
You're right. I did not include the original patch. Sorry about that.
I am adding both the patches now. The second one is just correcting spelling errors on my part.
Just ignore the first file from 5/21 :: 0001-Fixed-typos-on-mathn-d...
anilv (Anil V)
01:02 AM Bug #4781 (Closed): Engrish in comment in Regexp#=~
I see the following grammatical mistakes in ruby-doc, probably reflecting the comments in the source:
Regexp#=~
wrong: The assignment is not occur if the regexp is not a literal.
correct: The assignment does not occur if the reg...
sawa (Tsuyoshi Sawada)
12:05 AM Feature #4778: IO#each_chomped
Yes, I was confused by the fact that puts already chomps the argument... rosenfeld (Rodrigo Rosenfeld Rosas)

05/25/2011

11:43 PM Feature #4778: IO#each_chomped
Rodrigo Rosenfeld Rosas wrote:
> I wouldn't say this is about laziness, but about code readability. I agree this is a common use, but doesn't each_line already do that?
No, #each_line is just a synonym of #each.
yimutang (Joey Zhou)
11:11 PM Feature #4778: IO#each_chomped
I wouldn't say this is about laziness, but about code readability. I agree this is a common use, but doesn't each_line already do that? rosenfeld (Rodrigo Rosenfeld Rosas)
11:06 PM Feature #4778 (Rejected): IO#each_chomped
When manipulating text files, mostly, the input record separator(saying "\n") is scrap and will be chomped.
I suggest a method IO#each_chomped directly yielding the record with input record separator chomped.
Laziness is a virtue.....
yimutang (Joey Zhou)
11:41 PM Feature #4780 (Closed): String#split with a block
Mentioned before, in another (rejected) issue thread: http://redmine.ruby-lang.org/issues/4615
There are a few methods, which return an array without a trailing block, or also can be iterated with a block.
Such as `String#scan`.
...
yimutang (Joey Zhou)
11:23 PM Feature #4772: Hash#add_keys
Em 25-05-2011 10:54, Yusuke ENDOH escreveu:
> Hello,
>
> 2011/5/25 Rodrigo Rosenfeld Rosas<rr.rosas@gmail.com>:
>> Actually, as already noticed here, this could be just:
>>
>> ['a', 'b', 'c'].each {|k| hash[k]} # You don't n...
rosenfeld (Rodrigo Rosenfeld Rosas)
11:20 PM Feature #4772: Hash#add_keys
Rodrigo Rosenfeld Rosas wrote:
> Actually, as already noticed here, this could be just:
> ...
Well, it is very obscure here, easy to be confused.
1) hash = Hash.new {|h,k| k.succ }
2) hash = Hash.new {|h,k| h[k] = k.succ }
1) an...
yimutang (Joey Zhou)
10:59 PM Feature #4772: Hash#add_keys
Hello,

2011/5/25 Rodrigo Rosenfeld Rosas <rr.rosas@gmail.com>:
> Actually, as already noticed here, this could be just:
>
> ['a', 'b', 'c'].each {|k| hash[k]} # You don't need to assign to it.


The assignment is needed...
mame (Yusuke Endoh)
10:44 PM Feature #4772: Hash#add_keys
> In recent version, if I want to do the same thing, the code may be:
> ...
Actually, as already noticed here, this could be just:
['a', 'b', 'c'].each {|k| hash[k]} # You don't need to assign to it.
But I like your suggestion any...
rosenfeld (Rodrigo Rosenfeld Rosas)
10:38 PM Feature #4772: Hash#add_keys
Adam Prescott wrote:
> On Tue, May 24, 2011 at 9:36 AM, Joey Zhou <yimutang@gmail.com> wrote:
> ...
This doesn't create the actual key/value pair, the way seems not explicit, I'm afraid.
yimutang (Joey Zhou)
10:35 PM Feature #4772: Hash#add_keys
Yukihiro Matsumoto wrote:
> I see no reason to add a method to generate keys only. Hash is a set of key-value pairs, right? Can you elaborate why you want this method?
> ...
Maybe the method name leads to misunderstanding. What I mea...
yimutang (Joey Zhou)
06:29 PM Feature #4772: Hash#add_keys
On Tue, May 24, 2011 at 9:36 AM, Joey Zhou <yimutang@gmail.com> wrote:

> hash = Hash.new {|h,k| k.to_s + "foo" }
> hash.add_keys("a","b","c") # the value is hash's default obj or proc value
>

If there's a default proc, I c...
aprescott (Adam Prescott)
01:30 AM Feature #4772: Hash#add_keys
I see no reason to add a method to generate keys only. Hash is a set of key-value pairs, right? Can you elaborate why you want this method?
matz.
matz (Yukihiro Matsumoto)
10:13 PM Bug #4695 (Open): documentation updates: Zlib is 100%
And, set_comment, set_sync :-) mame (Yusuke Endoh)
09:19 AM Bug #4695 (Closed): documentation updates: Zlib is 100%
This issue was solved with changeset r31726.
Vincent, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/zlib/zlib.c: Fix Document-method declarations. Improve...
drbrain (Eric Hodel)
07:17 PM Bug #4777 (Feedback): Ruby 1.9.2-p180 ignoring INT, TERM, and QUIT until it receives CONT
Unfortunately, we are not ESPer. Please consider to make reproducer.
Now we have no way to digging your issue.
kosaki (Motohiro KOSAKI)
11:29 AM Bug #4777: Ruby 1.9.2-p180 ignoring INT, TERM, and QUIT until it receives CONT
Could you produce `ruby -v` ? (Like ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux])
And we don't think this issue "Urgent", however you thought "Urgent".
sorah (Sorah Fukumori)
10:30 AM Bug #4777 (Third Party's Issue): Ruby 1.9.2-p180 ignoring INT, TERM, and QUIT until it receives CONT
We're having an intermittent but fairly frequent issue with a resque worker process that we're daemonizing with daemontools on Ubuntu 10.04 LTS
When we send a QUIT or TERM signal to the process, it is not handled.
When we send a CONT...
nathansobo (Nathan Sobo)
03:26 PM Bug #4711: documentation updates: Net::POP3 and Net::Telnet are 100%
> What is the on_connect method for? Net::HTTP has an empty on_connect method also, is it for subclasses of Net::HTTP and Net::POP3?
I guess so.
usa (Usaku NAKAMURA)
09:31 AM Bug #4711: documentation updates: Net::POP3 and Net::Telnet are 100%
What is the on_connect method for? Net::HTTP has an empty on_connect method also, is it for subclasses of Net::HTTP and Net::POP3? drbrain (Eric Hodel)
09:30 AM Bug #4711 (Closed): documentation updates: Net::POP3 and Net::Telnet are 100%
This issue was solved with changeset r31728.
Vincent, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/pop.rb: Hide implementation details from RDoc.
[...
drbrain (Eric Hodel)
02:46 PM Revision 6e7544f1 (git): * lib/csv.rb: Improved stray quoting error message (patch by Edvard Majakari).
* lib/csv.rb: Remove debugging prints.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
James Edward Gray II
11:54 AM Bug #4748 (Closed): documentation updates: Curses and friends are 100% documented
This issue was solved with changeset r31731.
Vincent, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/curses/curses.c: Remove color constants block.
[Ruby...
drbrain (Eric Hodel)
09:57 AM Bug #4747 (Closed): documentation updates: Curses and friends are 76% documented
This issue was solved with changeset r31730.
Vincent, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/curses/curses.c: Add missing documentation for button s...
drbrain (Eric Hodel)
09:44 AM Revision 25be3930 (git): * variable.c (rb_const_get_0): Fix previous change. There were
possibilities when an autoload-specified library lacks
definition of the constant it was bound to. Once after such
library had already beed loaded, the autoload engine shall not
reload it. Instead the interpre...
shyouhei (Shyouhei Urabe)
09:40 AM Bug #4726: [doc] benchmark.rb
If the details of the yielded object are a specification we should document them, but the benchmark maintainer needs to agree first. drbrain (Eric Hodel)
09:38 AM Bug #4726 (Closed): [doc] benchmark.rb
This issue was solved with changeset r31729.
Sandor, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/benchmark.rb: Restore nodoc for Benchmark::Job and
Be...
drbrain (Eric Hodel)
07:46 AM Bug #4726: [doc] benchmark.rb
Hello,
Yusuke Endoh wrote:
> Hello,
> ...
I must agree, opening the internals would make harder sensible internal changes.
However, with :nodoc:, it is unclear which methods are available on the yielded object in Benchmark#{benchma...
Eregon (Benoit Daloze)
09:26 AM Bug #4710 (Closed): documentation updates: Net::FTP is 100%
This issue was solved with changeset r31727.
Vincent, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/ftp.rb: Add :nodoc: for private methods.
[Ruby 1...
drbrain (Eric Hodel)
09:26 AM Bug #4776 (Rejected): DateTime.new! has been disabled
After r31668, `DateTime.new!` no longer works. Is there a replacement? Or is this a mistake?
This code works before r31668, but breaks after 31668:
irb(main):001:0> require 'date'
=> true
irb(main):002:0> DateTime.new!
NoMetho...
tenderlovemaking (Aaron Patterson)
08:29 AM Bug #4694: ERB::Compiler documentation
I have hidden ERB::Compiler from documentation.
I am not always sure which things should be documented for users and which for developers, in this case I made a mistake.
In other areas I'm not sure if the current lack of documentat...
drbrain (Eric Hodel)
08:22 AM Bug #4694 (Closed): ERB::Compiler documentation
This issue was solved with changeset r31724.
Simon, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/erb.rb: Hide documentation for implementation details of ...
drbrain (Eric Hodel)
05:42 AM Bug #4775 (Closed): lib/cgi/*
Completed CGI documentation to be 100% kubaf (Kuba Fietkiewicz)
05:36 AM Revision 4f684149 (git): * 2011-05-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@31733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:36 AM Revision 74dcc22c (git): * variable.c (rb_autoload_load): There is a race condition while
autoloading. When two or more threads touch a single autoloaded
constant at a time, one of them does the require, but others
behave oddly. To fix this situation we now refrain from
deleting the autoload table while so...
shyouhei (Shyouhei Urabe)
02:54 AM Revision ce9d84a9 (git): * ext/curses/curses.c: Remove color constants block.
[Ruby 1.9 - Bug #4748]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
01:57 AM Feature #4774 (Closed): User Friendly Handling of "Encoding::ConverterNotFoundError"
Based on my own (user) experience with issue [#4738] (which was solved), I suggest the following enhancement.
=== 1st Step - Minimum ===
The basic action would be to extend the error message "Encoding::ConverterNotFoundError" like ...
lazaridis.com (Lazaridis Ilias)
01:42 AM Bug #4757 (Open): Attempt to make Enumerator docs more clear (patch included)
Hello,
- * p e.next #=> 1
- * p e.next #=> 2
- * p e.next #=> 3
- * p e.next #raises StopIteration
+ * puts e.next # => 1
+ * puts e.next # => 2
+ * puts e.next # => 3
+ * puts e.next # raises St...
mame (Yusuke Endoh)
12:57 AM Revision eab12253 (git): * ext/curses/curses.c: Add missing documentation for button state, MIN
and MAX comments. Add Curses. to TABSIZE= and ESCDELAY= methods.
[Ruby 1.9 - Bug #4747]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
12:55 AM Bug #4760 (Open): Some documentation improvements for Hash#key
Hello,
> Returns the key of the first occurrence of a given value.
Is this really guaranteed?
Writing a rdoc means deciding a spec.
Do not decide a spec without discussion.
Eric, please be careful to review a document patch.
...
mame (Yusuke Endoh)
12:38 AM Revision 5bf1c145 (git): * lib/benchmark.rb: Restore nodoc for Benchmark::Job and
Benchmark::Report. [Ruby 1.9 - Bug #4726]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
12:30 AM Revision 0441079b (git): * lib/net/pop.rb: Hide implementation details from RDoc.
[Ruby 1.9 - Bug #4711]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
12:26 AM Revision 9c711c0b (git): * lib/net/ftp.rb: Add :nodoc: for private methods.
[Ruby 1.9 - Bug #4710]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
12:19 AM Revision 9af99106 (git): * ext/zlib/zlib.c: Fix Document-method declarations. Improve
Zlib::GzipFile's method catalog. [Ruby 1.9 - Bug #4695]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)

05/24/2011

11:24 PM Revision 421875ee (git): * lib/erb.rb: Restore documentation for ERB::Util and ERB::DefMethod
(oops). [Ruby 1.9 - Bug #4694]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
11:22 PM Revision 373ea89e (git): * lib/erb.rb: Hide documentation for implementation details of ERB.
[Ruby 1.9 - Bug #4694]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
10:58 PM Revision c5c24555 (git): * lib/tempfile.rb (Tempfile.{mkdir,rmdir}): revert for backward
compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:28 PM Bug #4773 (Closed): require 'webrick/https' すると WEBrick::HTTPRequest#parse_uri が public になってしまう
require 'webrick/https' すると WEBrick::HTTPRequest#parse_uri が public になってしまいます。
以下のパッチで WEBrick::HTTPRequest#parse_uri は private になると思います。
Index: lib/webrick/https.rb
================================================================...
okkez (okkez _)
10:17 PM Bug #4726 (Open): [doc] benchmark.rb
Hello,
> Maybe you find it not useful, but to open up internals it would be nice to print internal docs.
Why do you want to open internal?
Generally, I don't think it is a good idea.
It limits future potential.
--
Yusuke End...
mame (Yusuke Endoh)
10:13 PM Revision 6cbe0e0f (git): * spec/README: update the description.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:12 PM Revision 9a7e2952 (git): * lib/tempfile.rb (Tempfile.{lock,unlock}_tempfile): refactor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:11 PM Feature #4569: Replace IPAddr with IPAddress
Julien A wrote:
> I just came across this issue and had a question about it: why not remove things from core instead of adding new ones ?
> ...
Hello Julien
I agree with you, there should be a decision whether to remove the standa...
ceresa@gmail.com (Marco Ceresa)
10:06 PM Bug #4748 (Open): documentation updates: Curses and friends are 100% documented
Hello,
+ * === Constants
+ *
+ * For whatever reason, these are not picked up in the RDoc
+ * These are Integer of the colors.
+ *
+ * * COLOR_BLACK = 0
+ * * COLOR_RED = 1
+ * * COLOR_GREEN = 2
+ * * COLOR...
mame (Yusuke Endoh)
09:54 PM Bug #4756 (Open): Cleanup and enhance docs for PTY (patch included)
Hello,
raise_from_check(cpid, status);
- return Qnil; /* not reached */
+ return Qnil;
Please do not remove such a comment in a document patch.
raise_from_check always raises an exception, so this
r...
mame (Yusuke Endoh)
09:42 PM Bug #4747 (Open): documentation updates: Curses and friends are 76% documented
Hello,
I think
+ * call-seq: TABSIZE=(value)
should be
+ * call-seq: Curses.TABSIZE=(value)
. The same goes for ESCDELAY=.
Personally, I like to write a receiver in all call-seq, like
+ * call-seq: box(vert, hor)
t...
mame (Yusuke Endoh)
09:31 PM Bug #4710 (Open): documentation updates: Net::FTP is 100%
Hello,
I guess that Net::FTP#send_type_command is not expected to be
used directly by user, and should be stated clearly.
Or please use :nodoc:.
The same goes for other private method in Net::FTP (sanitize,
putline, ...)
See #4...
mame (Yusuke Endoh)
09:25 PM Bug #4711 (Open): documentation updates: Net::POP3 and Net::Telnet are 100%
Hello,
+ # internal method for Net::POP3.start
def do_start(account, password)
+ # Does nothing
def on_connect
end
private :on_connect
+ # nil's out the:
+ # - mails
+ # - number counter ...
mame (Yusuke Endoh)
09:22 PM Revision 18684395 (git): * 2011-05-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:22 PM Revision 54bbfe81 (git): * lib/tempfile.rb (Tempfile.{mkdir,rmdir}): internal methods to be overridden in subclasses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:11 PM Bug #4695 (Open): documentation updates: Zlib is 100%
Hello,
/*
- * ???
+ * Document-method: Zlib::GzipFile#set_lineno
+ *
+ * Specify line number of the last row read from this file.
*/
set_lineno -> lineno=
set_mtime -> mtime=
set_orig_name -> orig_name=
...
mame (Yusuke Endoh)
09:04 PM Bug #4694 (Open): ERB::Compiler documentation
Hello,
Recent document patches are all outstanding work.
So I don't want to be a wet blanket, but I'm afraid if it is
not good that some of them (including this one) adds documents
to some private APIs.
I've considered that an...
mame (Yusuke Endoh)
05:36 PM Feature #4772 (Rejected): Hash#add_keys
Hi, do you want to add a new method Hash#add_keys in a new version?
hash = Hash.new {|h,k| k.to_s + "foo" }
hash.add_keys("a","b","c") # the value is hash's default obj or proc value
If there's a word list file, I want to make the...
yimutang (Joey Zhou)
04:42 PM Bug #3924: Performance bug (in require?)
I figured out how to make my branch compile (see my last comment), but I have no idea why I have to do this or why it works. It's a hack workaround, not a real fix. I can compile trunk no worries:
# First few steps the same as normal
...
xaviershay (Xavier Shay)
10:29 AM Bug #3924: Performance bug (in require?)
I'll try to dedicate some time to helping on this but I can't promise
anything. I'll take a longer look at Xavier's work later tonight or
tomorrow.

However, I needed the following trivial patch to build with gcc 4.4.5
on De...
normalperson (Eric Wong)
09:59 AM Bug #4509: Net::IMAP::ResponseParseError: unexpected token CRLF (expected NUMBER)
I can reproduce this bug on 1.8.7 as well, and the exact same patch fixes the problem. ghazel (Greg Hazel)
08:31 AM Revision 5c9c28b3 (git): * spec/README: fix typo.
patched by bowsersenior. https://github.com/ruby/ruby/pull/24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:37 AM Feature #4595 (Closed): TkPhotoImage documentation
This issue was solved with changeset r31717.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/tk/lib/tk.rb: fail to start Tk.mainloop (exit immediately) o...
nagai (Hidetoshi Nagai)
06:47 AM Bug #4758 (Closed): yaml file not human readable when saving utf-8
I've fixed this in r31715. tenderlovemaking (Aaron Patterson)
06:41 AM Bug #4758: yaml file not human readable when saving utf-8
Aaron Patterson wrote:
[...]
> Yes, it is YAML spec. However, if it's a valid UTF-8 string, I think it
> ...
[...]
Yes, you're right, it should:
The YAML specs have "easily readable by humans" as the top priority design goal:
...
lazaridis.com (Lazaridis Ilias)
03:23 AM Bug #4758: yaml file not human readable when saving utf-8
On Tue, May 24, 2011 at 02:51:16AM +0900, Eric Hodel wrote:
>
> Issue #4758 has been updated by Eric Hodel.
>
>
> This is the YAML spec, it is not a bug of ruby. See: http://www.yaml.org/spec/1.2/spec.html

Yes, it is YAML sp...
tenderlovemaking (Aaron Patterson)
02:51 AM Bug #4758: yaml file not human readable when saving utf-8
This is the YAML spec, it is not a bug of ruby. See: http://www.yaml.org/spec/1.2/spec.html drbrain (Eric Hodel)
01:35 AM Bug #4759 (Assigned): Successful URI.parse to URI::HTTP can result in an error in request_uri
naruse (Yui NARUSE)

05/23/2011

10:37 PM Revision 3ca633b8 (git): * ext/tk/lib/tk.rb: fail to start Tk.mainloop (exit immediately) on some environment (reported on [ruby-talk:381444]).
* ext/tk/lib/tk/canvas.rb: support creating a canvas item object from an item ID number.
* ext/tk/lib/tk/image.rb: import documents which are pull-requested. [Ruby 1.9 - Feature #4595]
* ext/tk/lib/tk/extconf.rb: search directories for...
nagai (Hidetoshi Nagai)
08:47 PM Bug #3924: Performance bug (in require?)
It appears this commit:
https://github.com/xaviershay/ruby/commit/d7d6c41524ec8bcda8d6672e7d8b7ae812abc239
breaks make clean && make with this error:
https://gist.github.com/cb99899d0918a840ab76
I have no idea why. Perhaps switch...
xaviershay (Xavier Shay)
07:56 PM Bug #3924: Performance bug (in require?)
Progress update:
Didn't make much impact on the graph in prior update, but also may have been to eager to blame slow rails loading on it - rails only has ~50 entries in the load path.
I added a cache to file expansion (so it remember...
xaviershay (Xavier Shay)
07:05 PM Revision 08f2c46c (git): * 2011-05-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:05 PM Revision 4eaf3d4a (git): * lib/yaml.rb: switch default YAML engine to Psych, old syck engine
may be enabled via YAML::ENGINE.yamler = "syck". [ruby-core:36374]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
12:25 PM Feature #4764: Whitespace fix for irb.rb
Ah quite, was working on an older repo.
Thank you for pointing that out :)
zmack (Andrei Bocan)
08:59 AM Feature #4764 (Rejected): Whitespace fix for irb.rb
We've already converted all the ruby files from tabs to spaces, maybe git trunk was a bit out of date when you did this work.
Sorry, I can't apply it.
drbrain (Eric Hodel)
12:11 AM Feature #4764 (Rejected): Whitespace fix for irb.rb
Just converting tabs to spaces, as per guidelines. zmack (Andrei Bocan)
11:00 AM Bug #4255 (Rejected): When on a case-insensitive filesystem, "loaded features" search in require should ignore case
Thanks, guys. I reverted r30508 at r31692 and r31712 (Separated just by my commit error.)
I close this ticket as 'Rejected' for 1.9, but as I stated above, hand-weaving of $LOADED_FEATURES can cause a similar problem. And we know that...
nahi (Hiroshi Nakamura)
10:32 AM Bug #4374: [ext/openssl] ASN1.decode wrong for infinite length values
Hi,
I fixed this bug and tried to simplify ossl_asn1_decode0 and
improve its performance.
Here is what I did:
- removed the "once" parameter
- added sanity checks that verify that all bytes are actually
read when parsing ...
MartinBosslet (Martin Bosslet)
06:01 AM Bug #4374 (Closed): [ext/openssl] ASN1.decode wrong for infinite length values
This issue was solved with changeset r31700.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl_asn1.c: Fix decoding of infinite length valu...
Anonymous
10:23 AM Feature #4766: Range#bsearch
Hi,

On 2011年5月23日月曜日 at 1:52, Yusuke Endoh wrote:
> You might think Array#bsearch is better. But Array#bsearch has some problems:
I think Range is better position than Array in which the bsearch method is, too.

I want this...
mrkn (Kenta Murata)
01:52 AM Feature #4766 (Closed): Range#bsearch
Hello,
I propose Range#bsearch for binary search:
ary = [0, 4, 7, 10, 12]
p (0..4).bserach {|i| ary[i] >= 4 } #=> 1
p (0..4).bserach {|i| ary[i] >= 6 } #=> 2
p (0.0...Float::INFINITY).bsearch {|x| Math.log(x) >= 0 } #=...
mame (Yusuke Endoh)
10:14 AM Bug #4769: Updated SMTP standards
Based on section 1.2 of RFC5321 (http://tools.ietf.org/html/rfc5321#section-1.2), it looks like there were only "editorial" and "clarification" changes which lead me to believe that the documentation had changed but the details did not. ... jrgarcia (J.R. Garcia)
09:39 AM Bug #4769: Updated SMTP standards
Does Net::SMTP follow RFC 2821 and 2822 or has it been updated to follow RFC 5231 and 5322? drbrain (Eric Hodel)
08:55 AM Bug #4769 (Rejected): Updated SMTP standards
The standards listed in the documentation for Net::SMTP (RFC2821, RFC2822) have been obsoleted by new ones (RFC5321, RFC5322). I have updated the documentation to reflect this (as well as the links in the documentation).
*Patch included
jrgarcia (J.R. Garcia)
09:46 AM Bug #4770 (Assigned): [Q] thread->interrupt_flag が適切に排他制御されていないように見える
kosaki (Motohiro KOSAKI)
09:45 AM Bug #4770 (Closed): [Q] thread->interrupt_flag が適切に排他制御されていないように見える
kosakiです

Ruby VM internal
に詳しい方々に質問です。現在、thread->interrupt_flagはどうやって排他制御されるデザインになっていますでしょうか?

といいますのは

1.ビットマスクとして使っているので排他制御しないとフラグがロストしてえらい事になりそう

#define RUBY_VM_SET_INTERRUPT(th) ((th)->interrupt_flag |= 0x02)
...
kosaki (Motohiro KOSAKI)
09:27 AM Bug #4768: Adding documentation for Net::SMTP::Response
I made some minor modifications, no big deal:
I switched your patch from tabs to two-space indent.
I formatted your link properly per RDoc (`ri RDoc::Markup` look for "link"):
# {Section 4.2 of RFC 5321}[http://tools.ietf.or...
drbrain (Eric Hodel)
09:21 AM Bug #4768 (Closed): Adding documentation for Net::SMTP::Response
This issue was solved with changeset r31710.
J.R., thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/smtp.rb: Document Net::SMTP::Response. Patch by J.R. ...
drbrain (Eric Hodel)
04:18 AM Bug #4768 (Closed): Adding documentation for Net::SMTP::Response
As part of the Ruby 1.9.3 documentation challenge, I'm sending a patch for documentation for the Net::SMTP::Response class. Everything in that class should be documented now. I plan on finishing up any loose ends in the SMTP library, but... jrgarcia (J.R. Garcia)
09:09 AM Bug #4767: [doc] lib/mathn
I changed the wording on some of the class comments to make it clear you could achieve different behavior after require 'mathn'. drbrain (Eric Hodel)
09:08 AM Bug #4767 (Closed): [doc] lib/mathn
This issue was solved with changeset r31707.
Sandor, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/mathn.rb: Improve documentation. Patch by Sandor Szucs....
drbrain (Eric Hodel)
03:34 AM Bug #4767 (Closed): [doc] lib/mathn
Enhanced documentation for mathn. sz (Sandor Szücs)
08:57 AM Bug #4762: Adding documentation for mathn
Is part of this patch missing? I can't find the context for this patch, for example, I can't find "will return Matrix" or "will retrun Matrix" in svn trunk. drbrain (Eric Hodel)
08:46 AM Bug #4761 (Closed): Open Struct Documentation
This issue was solved with changeset r31706.
Franklin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/ostruct.rb: Improve documentation. Patch by Franklin ...
drbrain (Eric Hodel)
08:37 AM Bug #4760 (Closed): Some documentation improvements for Hash#key
This issue was solved with changeset r31705.
Utkarsh, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* hash.c: Improve documentation of Hash#key. Patch by Utkars...
drbrain (Eric Hodel)
08:33 AM Bug #4757 (Closed): Attempt to make Enumerator docs more clear (patch included)
This issue was solved with changeset r31704.
David, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enumerator.c: Improve documentation. Patch by Dave Copeland....
drbrain (Eric Hodel)
07:23 AM Bug #4564: mingw-w64, truncate, ftruncate and ftello -- properly evalute it's existence
Hi,

At Mon, 23 May 2011 02:38:25 +0900,
Luis Lavena wrote in [ruby-core:36391]:
> Thing is that current 1.9.2 with MinGW do not work as you mentioned:
>
>
nobu (Nobuyoshi Nakada)
02:38 AM Bug #4564: mingw-w64, truncate, ftruncate and ftello -- properly evalute it's existence
Thank you Nobu,
Thing is that current 1.9.2 with MinGW do not work as you mentioned:
luislavena (Luis Lavena)
07:00 AM Bug #4765: signal が正しくマスクされておらず main thread でシグナルハンドラが動いている
Motohiro KOSAKI wrote:
> これは、くだんのテストが子プロセスにSIGINT送って送出されてくる例外を確認しているのですが、
> ...
実行するテストでのシグナル周りを失念していました.修正します…
sorah (Sorah Fukumori)
01:33 AM Bug #4765 (Closed): signal が正しくマスクされておらず main thread でシグナルハンドラが動いている
Bug#4027 から派生させます
> しかしメインスレッドその他の Thread に対応するスレッドのシグナルマスクは SIGSEGV と SIGVTALRM のみ
> ...
レビューした結果、rb_trap_restore_mask()がまったく不要だという意見に賛成します。
> というわけで添付のようなパッチを作成してみました。
> ...
原因は rb_syswait()にあります。現状 Process.wait()中は なぜか SIGHUP,...
kosaki (Motohiro KOSAKI)
04:49 AM Revision 109ea644 (git): merge revision(s) 31667:
merge revision(s) 28080:

* ext/zlib/zlib.c (zstream_append_input2): add RB_GC_GUARD.
This caused failure when test/csv is executed with GC.stress = true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28080 b2dd03...
shyouhei (Shyouhei Urabe)
04:49 AM Revision 396a0730 (git): merge revision(s) 31655:
* eval.c (rb_thread_atfork): When a ruby process forks, its random
seed shall be reinitialized to prevent CVE-2003-0900 situation.
This bug affects for 1.8 and earlier series, but not for 1.9.
fixed [ruby-co...
shyouhei (Shyouhei Urabe)
01:04 AM Revision 7d20942b (git): * include/ruby/defines.h (CASEFOLD_FILESYSTEM): Revert r30508. Forgot to
include this file in the commit r31692. __APPLE__ is not
CASEFOLD_FILESYSTEM again, from this time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
01:01 AM Revision 5b3dd702 (git): * ext/openssl/ossl_asn1.c: Do not parse zero-tagged values as EOC. Do
not let current length become negative for infinite length constructed
values. Support constructed values of length zero. Added tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
12:21 AM Revision 1cb6879c (git): * lib/net/smtp.rb: Document Net::SMTP::Response. Patch by J.R. Garcia.
[Ruby 1.9 - Bug #4768]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
12:13 AM Revision b452755c (git): * ChangeLog: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
12:10 AM Revision 6dc04881 (git): * lib/test/unit/parallel.rb: Never Ignore SIGINT. When received
Interrupt, immediately puts result and exit. [ruby-dev:43571]
* lib/test/unit.rb: When received Interrupt, wait results from workers
and correct them. [ruby-dev:43571]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31708 b2dd03c8-39...
sorah (Sorah Fukumori)
12:08 AM Revision 1e137867 (git): * lib/mathn.rb: Improve documentation. Patch by Sandor Szucs.
[Ruby 1.9 - Bug #4767]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)

05/22/2011

11:46 PM Revision c651520c (git): * lib/ostruct.rb: Improve documentation. Patch by Franklin Webber.
[Ruby 1.9 - Bug #4761]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
11:37 PM Revision 317e2a50 (git): * hash.c: Improve documentation of Hash#key. Patch by Utkarsh
Kukreti. [Ruby 1.9 - Bug #4760]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
11:33 PM Revision 6cfb4b61 (git): * enumerator.c: Improve documentation. Patch by Dave Copeland.
[Ruby 1.9 - Bug #4757]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
10:22 PM Revision b7576c3d (git): * NEWS (openssl): Infinite length support. Different behavior of
Constructive and Primitive constructors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
10:00 PM Revision 7d6529a4 (git): * ext/openssl/ossl_asn1.c: Forbid Constructives whose value is not an
Array to prevent segfault. Added test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
09:34 PM Revision a65d506d (git): * ext/openssl/ossl_asn1.c: Forbid Constructive without infinite
length. This also prevents a segfault. Added test and improved
documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
09:01 PM Revision e7d04f4b (git): * ext/openssl/ossl_asn1.c: Fix decoding of infinite length values.
Simplified ossl_asn1_decode0 by splitting it into three separate
functions. Add tests.
[Ruby 1.9 - Bug #4374][ruby-core:35123]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
07:38 PM Revision 2cf8b26b (git): * ext/openssl/ossl_asn1.c (ossl_asn1_initialize): Allow creation of
Constructives with an explicit tag_class parameter without
automatically setting tagging to :EXPLICIT. Fixes a bug when encoding
infinite length primitive values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31699 b2dd03c8-39d4-4d...
MartinBosslet (Martin Bosslet)
07:08 PM Revision efd99b78 (git): * ext/openssl/ossl_asn1.c (ossl_asn1_cons_to_der): Add an additional
EOC for infinite length Constructives that are supposed to be encoded
with explicit tagging. Also tabify method correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
06:55 PM Bug #4758 (Assigned): yaml file not human readable when saving utf-8
naruse (Yui NARUSE)
04:57 AM Bug #4758 (Closed): yaml file not human readable when saving utf-8
On a fresh ruby installation, I've stored some data within a yaml file.
The data does arrive there as "\x9B\xA6\xA1\xA0\xA3\xE3", thus I'm not able to edit something there.
I file this as a "Bug", because yaml is meant to be human-...
lazaridis.com (Lazaridis Ilias)
06:48 PM Revision 9253bd77 (git): * ext/openssl/ossl_asn1.c (ossl_asn1data_to_der): Remove redundant
flag tmp_cons.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
06:26 PM Feature #4754 (Closed): ruby_xcalloc implementation
This issue was solved with changeset r31690.
Artyom, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* gc.c (vm_xcalloc): use calloc provided by platforms.
fixes ...
nobu (Nobuyoshi Nakada)
01:30 AM Feature #4754 (Closed): ruby_xcalloc implementation
Hello!
Why there's no such function as 'vm_xcalloc' in 'gc.c'? Calloc is usually much faster than malloc + memset.
lomereiter (Artyom Tarasov)
03:54 PM Feature #4698 (Rejected): drop Ruby license completely
sorah (Sorah Fukumori)
03:53 PM Feature #4698: drop Ruby license completely
I had forgotten that we had this discussion already, sorry. I think that the ruby-core discussion documents fairly the status on this, and we have to agree to disagree.
Feel free to close that bug.
lucas (Lucas Nussbaum)
03:37 PM Revision 00cfe4d2 (git): * 2011-05-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:37 PM Revision 4eb36541 (git): * bignum.c (dump_bignum, bigmul1_balance, big_split, biglsh_bang,
bigrsh_bang, big_split3, bigmul1_toom3, bigmul0): implement Toom3 (Toom-Cook)
multiplication.
* include/ruby/defines.h: add format prefixes for BDIGIT and BDIGIT_DBL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31695 b2dd03c8-39...
Kenta Murata
03:33 PM Bug #3924: Performance bug (in require?)
Progress update:
Didn't get much time to work on this today, but came up with a benchmark to measure performance with a full $LOAD_PATH (suspected issue with slow rails loading), which indeed shows mine to have the same performance cu...
xaviershay (Xavier Shay)
02:27 PM Revision fbeca091 (git): * ext/openssl/ossl_asn1.c: Instead of rb_intern use static symbols to
improve performance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
12:58 PM Revision 4fc3431b (git): * ext/openssl/ossl_asn1.c: Use OpenSSL constants V_ASN1_xxx instead of
hardcoded numbers for initializing class_tag_map.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
12:52 PM Revision 27ddbc59 (git): * include/ruby/defines.h (CASEFOLD_FILESYSTEM): Revert r30508. See #4255.
Now __APPLE__ is not CASEFOLD_FILESYSTEM again.
* load.c (loaded_feature_path, rb_feature_p, load_lock): Revert r30508.
See #4255. Make $LOADED_FEATURES scanning case-sensitive again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
Hiroshi Nakamura
11:46 AM Bug #4756: Cleanup and enhance docs for PTY (patch included)
I told RDoc how to find the documentation for PTY::ChildExited like this:
/*
* Document-class: PTY::ChildExited
*
* Thrown when PTY#check is called for a pid that represents a process that
* has exited.
*/
drbrain (Eric Hodel)
11:45 AM Bug #4756 (Closed): Cleanup and enhance docs for PTY (patch included)
This issue was solved with changeset r31688.
David, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/pty/pty.c: Improve documentaton. Patch by David Copeland...
drbrain (Eric Hodel)
04:27 AM Bug #4756 (Closed): Cleanup and enhance docs for PTY (patch included)
This cleans up and expands the PTY rdoc davetron5000 (David Copeland)
11:28 AM Bug #4755: Cleanup and enhance docs for timeout (patch included)
I restored the "Note" paragraph from Timeout#timeout and completed the first line of the module Timeout. drbrain (Eric Hodel)
11:27 AM Bug #4755 (Closed): Cleanup and enhance docs for timeout (patch included)
This issue was solved with changeset r31687.
David, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/timeout.rb: Improve documentation. Patch by David Copela...
drbrain (Eric Hodel)
04:26 AM Bug #4755 (Closed): Cleanup and enhance docs for timeout (patch included)
The docs for timeout could use some cleanup davetron5000 (David Copeland)
11:21 AM Bug #4753 (Closed): [doc] ipaddr
This issue was solved with changeset r31686.
Sandor, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/ipaddr.rb: Improve documentation. Patch by Sandor Szucs...
drbrain (Eric Hodel)
11:14 AM Bug #4752 (Closed): [doc] forwardable def_delegator
This issue was solved with changeset r31685.
Sandor, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/forwardable.rb: Document def_delegator. Patch by Sandor...
drbrain (Eric Hodel)
11:13 AM Bug #4751 (Closed): Add example to FileUtils.cd documentation
Oops, typo'd the commit message, this is in r31684. drbrain (Eric Hodel)
11:08 AM Bug #4748 (Closed): documentation updates: Curses and friends are 100% documented
This issue was solved with changeset r31683.
Vincent, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/curses/curses.c: Complete documentation. Patch by Vinc...
drbrain (Eric Hodel)
10:47 AM Bug #4762 (Closed): Adding documentation for mathn
I added documentation for using mathn. Added examples for using Prime, Vector & Matrix. Maintained the Rdoc format.
Patch included.
anilv (Anil V)
10:17 AM Revision 75431b92 (git): * ext/openssl/ossl_asn1.c(ossl_asn1_default_tag): avoid using RCLASS_SUPER
to make it compilable. Plus, tabify and change variable definition style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
09:26 AM Revision 70b4b6dc (git): * gc.c (vm_xcalloc): use calloc provided by platforms.
fixes #4754
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:26 AM Revision 0d6d23b2 (git): * ext: remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:09 AM Bug #4761 (Closed): Open Struct Documentation
burtlo (Franklin Webber)
09:03 AM Feature #4309: [ext/openssl] ASN1 performance enhancement
I added only the hash lookup. The hash is not exposed as a Ruby
constant, it's just used internally instead.
Regards,
Martin
MartinBosslet (Martin Bosslet)
09:01 AM Feature #4309 (Closed): [ext/openssl] ASN1 performance enhancement
This issue was solved with changeset r31680.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl_asn1.c: Default tag lookup in constant time ...
Anonymous
08:09 AM Bug #4760 (Closed): Some documentation improvements for Hash#key
Added some documentation for Hash#key, when a Hash contains more than one key with the same value. utkarshkukreti (Utkarsh Kukreti)
07:57 AM Bug #4734 (Closed): [ext/openssl] DSA#sign error
I merged the tests from 1.8 and added further tests to test_pkey_dsa.rb.
Regards,
Martin
MartinBosslet (Martin Bosslet)
06:55 AM Bug #4759 (Closed): Successful URI.parse to URI::HTTP can result in an error in request_uri
When passing a weird-formed uri to URI.parse which gets successfully parsed, calling request_uri bombs out with undefined method.
The malformed uri: http:foo
Example code:
$ ruby -ruri -e 'URI.parse("http:foo").request_uri'
/ru...
mfn (Markus Fischer)
04:28 AM Bug #4757 (Closed): Attempt to make Enumerator docs more clear (patch included)
The Enumerator docs aren't super clear; these make it more clear, at least to me, and also more consistent. davetron5000 (David Copeland)
02:45 AM Revision 87dbea7b (git): * ext/pty/pty.c: Improve documentaton. Patch by David Copeland.
[Ruby 1.9 - Bug #4756]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
02:27 AM Revision 883fb2bb (git): * lib/timeout.rb: Improve documentation. Patch by David Copeland.
[Ruby 1.9 - Bug #4755]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
02:21 AM Revision 95e1fc5b (git): * lib/ipaddr.rb: Improve documentation. Patch by Sandor Szucs.
[Ruby 1.9 - Bug #4753]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
02:14 AM Revision bb34bcbe (git): * lib/forwardable.rb: Document def_delegator. Patch by Sandor Szucs.
[Ruby 1.9 - Bug #4752]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
02:12 AM Revision 55aa4dce (git): * lib/fileutils.rb: Document block behavior of FileUtils.cd. Patch by
Bil Kleb. [Ruby 1.9 - Bug 4751]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
02:08 AM Revision d235b822 (git): * ext/curses/curses.c: Complete documentation. Patch by Vincent
Batts. [Ruby 1.9 - Bug #4748]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
01:06 AM Revision 2a126b08 (git): test cleanup
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
12:31 AM Revision 20f635d6 (git): * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):
use spawn. it prevent that other tests inherit renamed $0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:01 AM Revision db874053 (git): * ext/openssl/ossl_asn1.c: Default tag lookup in constant time via hash
instead of previous linear algorithm.
[Ruby 1.9 - Feature #4309][ruby-core:34813]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
 

Also available in: Atom