Project

General

Profile

Activity

From 05/06/2011 to 05/12/2011

05/12/2011

11:41 PM Revision 7ed51785 (git): * lib/rdoc/rdoc.rb: Output summary after documentation report.
* lib/rdoc/stats/normal.rb: Don't output information for users when
we're not on a TTY
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
11:09 PM Bug #4675 (Third Party's Issue): rails script/server abort trap [BUG] Segmentation fault
Ruby 1.8 and 1.9 makes this bug. I have no idea how this began, but I cannot fix it. Please help. I'm trying to start rails server.
This information is for 1.9...
When I type script/server I see:
/_myshit/gems/gems/mongrel-1.1....
wheredatranny (james ivy)
11:01 PM Bug #4612: Segmentation fault in fiber GC mark cycle
Awesome, thank you very much!
And thanks for the explanation on fiber deallocation, now it makes much more sense to me.
serge_balyuk (Serge Balyuk)
10:49 PM Revision 57580b76 (git): * lib/fileutils.rb: Hide internal methods from RDoc. Patch by Darragh
Curran. [Ruby 1.9 - Bug #4684]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
10:40 PM Bug #4674 (Closed): rb_fd_copy()の仕様を r31395以前に戻す
備忘録として。
r31395 でrb_fd_copy()の引数が変わっていて、そのときは
1) だれも使ってない
2) Windows で実装されてない関数なんて公開APIとは認めない(rb_fd_copyに関してはifdefの関係で宣言すらされてなかったんだけどね)
とかいう理由で確信犯的にさっくり変えてしまったのですが、[Ruby 1.9 - Bug #4666] での Lucasさんと Debian developerたちの悲哀をみて心を入れ替...
kosaki (Motohiro KOSAKI)
10:37 PM Revision d6e3bc4c (git): * lib/webrick/httpservlet/erbhandler.rb: Add documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
10:28 PM Bug #4673 (Rejected): URI::Generic registry is not properly set.
irb(main):043:0> URI("info:bibcode/foo/123").registry
=> nil
irb(main):044:0> URI("info:dlf/Aquifer/AssetActions/getWebView").registry
=> nil
More info:
* http://www.ietf.org/rfc/rfc2396.txt
* http://info-uri.info/registry/
* ...
vbatts (Vincent Batts)
10:04 PM Revision 8c47d518 (git): * lib/mathn.rb: Fix indentation. Patch by Jason Dew.
[Ruby 1.9 - Feature #4682]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
09:51 PM Revision 6e10135d (git): * lib/mathn.rb: Add documentation. Patch by Jason Dew. [Ruby 1.9 -
Feature #4667]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
08:45 PM Revision f1542269 (git): * lib/logger.rb (class Logger): Document Logger#datetime_format.
Patch by Sergio Gil Pérez de la Manga. [Ruby 1.9 - Bug #4678]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
08:39 PM Revision e2b3183f (git): * re.c (Init_Regexp): Document option constants. Patch by Vincent
Batts. [Ruby 1.9 - Bug #4677]
* lib/uri/common.rb (module URI): Documentation for URI. Patch by
Vincent Batts. [Ruby 1.9- Bug #4677]
* lib/uri/ftp.rb (module URI): ditto
* lib/uri/generic.rb (module...
drbrain (Eric Hodel)
08:17 PM Revision 78e06ab1 (git): * lib/rss/atom.rb (module RSS): Document URIs. Patch by Mark Turner.
[Ruby 1.9 - #4671]
* lib/rss/rss.rb (module RSS): Document exception classes. Patch by
Mark Turner. [Ruby 1.9 - #4671]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
07:23 PM Feature #4666: set ruby compatibility version to 1.9.3 in trunk
Hi lucas,

(05/12/2011 04:48 PM), Lucas Nussbaum wrote:
> However, I am still wondering whether 1.9.3 is really ABI-compatible
> with 1.9.{1,2}, which is required if we want to ship it as a drop-in
> replacement (same SONAME)....
shyouhei (Shyouhei Urabe)
05:23 PM Feature #4666: set ruby compatibility version to 1.9.3 in trunk
On 12/05/11 at 09:48 +0900, NARUSE, Yui wrote:
> 2011/5/12 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> >> - enable users to co-install (1.9.1 or 1.9.2) and 1.9.3. In debian, 1.9.3 could be provided as a separate ruby1.9.3 package.
...
lucas (Lucas Nussbaum)
10:23 AM Feature #4666: set ruby compatibility version to 1.9.3 in trunk
2011/5/12 Urabe Shyouhei <shyouhei@ruby-lang.org>:
>> Even if 1.9.3 is still binary-compatible with 1.9.1, I think that it would be easier to change
>
> Easier to whom?  You?  You know I have compilers so it's 100% OK for me to
> ...
naruse (Yui NARUSE)
08:23 AM Feature #4666: set ruby compatibility version to 1.9.3 in trunk
> Even if 1.9.3 is still binary-compatible with 1.9.1, I think that it would be easier to change

Easier to whom? You? You know I have compilers so it's 100% OK for me to
recompile my extension libraries, but I think that's not ...
shyouhei (Shyouhei Urabe)
03:23 AM Feature #4666: set ruby compatibility version to 1.9.3 in trunk
Lucas Nussbaum <lucas@lucas-nussbaum.net> wrote:
> Even if 1.9.3 is still binary-compatible with 1.9.1,

There are symbol visibility changes with newer GCC that break
things for extensions relying on functions not declared in
...
normalperson (Eric Wong)
01:29 AM Feature #4666 (Third Party's Issue): set ruby compatibility version to 1.9.3 in trunk
Hi,
(I am one of the Debian maintainers for Ruby)
The trunk branch of Ruby still has a ruby compatibility version of 1.9.1, according to include/ruby/version.h.
The confusion between ruby version and ruby compatibility version c...
lucas (Lucas Nussbaum)
07:12 PM Bug #921: autoload is not thread-safe
Sorry for commenting this dated ticket.
Charles: I agree with Nobu that it's not autoload specific issue but a thereaded require issue.
my_file.rb:
module XXX
class Foo
# HERE
def bar; ... end
end
end
my_...
nahi (Hiroshi Nakamura)
05:16 PM Revision 73707bb4 (git): * 2011-05-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:16 PM Revision 836a8cf2 (git): * io.c (select_internal): remove unused variable (interrupt_flag).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
04:05 PM Feature #4672 (Closed): [PATCH] openssl: enable SSL_MODE_RELEASE_BUFFERS if available
Available in OpenSSL 1.0.0a and later, this can save up to 34KB
per idle connection.
Using the test script below run with the time(1) command on 64-bit
Linux (needs /proc/$PID/status to grab VmRSS:)
before
------
conn_clients: ...
normalperson (Eric Wong)
02:57 PM Feature #4602 (Assigned): naming ruby dll (win32/64)
(回答待ち) usa (Usaku NAKAMURA)
12:23 PM Feature #4657: add option to hide skip messages on unit/test
こんにちは、なかむら(う)です。

In message "[ruby-dev:43511] Re: [Ruby 1.9 - Feature #4657][Closed] add option to hide skip messages on unit/test"
on May.10,2011 15:24:02, <kosaki.motohiro@jp.fujitsu.com> wrote:
> > > -q, --hide-skipでskip...
usa (Usaku NAKAMURA)
12:23 PM Feature #4657: add option to hide skip messages on unit/test
こんにちは、なかむら(う)です。

In message "[ruby-dev:43511] Re: [Ruby 1.9 - Feature #4657][Closed] add option to hide skip messages on unit/test"
on May.10,2011 15:24:02, <kosaki.motohiro@jp.fujitsu.com> wrote:
> > > -q, --hide-skipでskip...
usa (Usaku NAKAMURA)
12:18 PM Revision 9fac3321 (git): * object.c: format comments to keep 80 columns in a line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
11:31 AM Feature #4671 (Closed): basic documentation patch for RSS and RSS::Atom
Added some basic descriptions of RSS error classes as well as descriptions of some constants in RSS::Atom. amerine (Mark Turner)
09:58 AM Feature #4667 (Closed): documentation patch for mathn
first ruby patch -- hope its acceptable! jasondew (Jason Dew)
09:38 AM Feature #4424 (Assigned): [ext/openssl] Allow public/private key creation from arbitrary data
Hi all,
I applied
http://redmine.ruby-lang.org/issues/show/4421,
http://redmine.ruby-lang.org/issues/show/4422 and
http://redmine.ruby-lang.org/issues/show/4423.
When again looking at this I realized that there is no
need fo...
MartinBosslet (Martin Bosslet)
09:31 AM Revision 4902517f (git): * configure.in: limit to "T" type for prefix of external symbols
because x86_64-w64-mingw32-gcc on Debian GNU/Linux generates the
following symbol:
0000000068483390 D _GLOBAL__F__conftest_external
Approved by nobu.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31531 b2dd03c8-39d4-4d8f-9...
Sutou Kouhei
08:17 AM Bug #4665 (Closed): Add nodoc comments for Set methods
This issue was solved with changeset r31527.
Pete, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/set.rb (class Set): Add nodoc to internal-use methods. Pa...
drbrain (Eric Hodel)
08:10 AM Bug #4665: Add nodoc comments for Set methods
By default, Ruby generates ri with --all so private methods will be picked up.
Method visibility is up to the library maintainer so I don't think it's appropriate to change visibility in a documentation patch.
Occasionally private ...
drbrain (Eric Hodel)
07:44 AM Bug #4665: Add nodoc comments for Set methods
Hi Loren,
Rdoc excluding private methods in its output but considering them undocumented sounds like an issue with rdoc. I'll take that up with Eric.
Set#flatten_merge needs to remain protected so that it can be called on other ins...
phiggins (Pete Higgins)
08:05 AM Feature #4423 (Closed): [ext/openssl] Allow encryption for PEM-encoding Elliptic Curve private keys
This issue was solved with changeset r31526.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Thu May 12 08:01:14 2011 Martin Bosslet <Martin.Bosslet@googl...
Anonymous
07:59 AM Bug #4664: documentation updates 2011-05-10
I made a few changes to your patch, mostly removing +Blah+ around constants in order to have those automatically be linked in HTML output.
Also, for connect_internal in Socket the parameter should be surrounded with +param+ when menti...
drbrain (Eric Hodel)
07:56 AM Bug #4664 (Closed): documentation updates 2011-05-10
This issue was solved with changeset r31525.
Vincent, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c (rb_obj_equal): Add documentation. Patch by Vince...
drbrain (Eric Hodel)
07:27 AM Bug #4422 (Closed): [ext/openssl] Fix DSA public key PEM encoding
This issue was solved with changeset r31523.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Thu May 12 08:18:45 2011 Martin Bosslet <Martin.Bosslet@googl...
Anonymous
06:51 AM Bug #4421 (Closed): [ext/openssl] Fix RSA public key encoding
This issue was solved with changeset r31520.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Thu May 12 07:27:31 2011 Martin Bosslet <Martin.Bosslet@googl...
Anonymous
05:51 AM Revision dd4dca8f (git): * test/dl/test_base.rb (Fiddle::LIBC_SO): its always msvc*.dll on
mswin/mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:48 AM Revision 9a7d41ae (git): * lib/mkmf.rb (Logging.postpone): copy only when tmporary logfile
exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:22 AM Revision baf2eff2 (git): * ext/openssl/ossl_ssl.c: By trunk@31346, function check of SSLv2 is executed.
However, the problem is not revised in this.
This adds the control of using function of SSLv2 in made macro by function check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
iwamatsu (Nobuhiro Iwamatsu)
03:13 AM Bug #4651: Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
Just to be clear, this is still an issue on Ruby 1.9.2-head but it's fixed in trunk (1.9.3). Maybe I'm using the wrong terminology for branches? Sorry about that. Just wanted to clarify. sferik (Erik Michaels-Ober)
01:06 AM Bug #4199: make test ruby-1.9.2-p0 failed on Solaris10 x86
Still fails on ruby 1.9.2p180 on Solaris 10 x86
test_thread.rb .............................................bootstraptest.tmp.rb:3: [BUG] rb_register_sigaltstack. malloc error
ruby 1.9.2p180 (2011-02-18 revision 30909) [i386-solari...
dwaller (David Waller)
12:12 AM Bug #4581: Documentation for Process.times is outdated
Hi,
Thank you for your reporting this.
I wrote a tiny patch. I'll check in this later.
Any corrections are welcome :)
-------------------------------------
diff --git a/process.c b/process.c
index 24e7bf9..6699484 100644
--- a...
nagachika (Tomoyuki Chikanaga)

05/11/2011

11:43 PM Bug #4612: Segmentation fault in fiber GC mark cycle
Hi,
Sorry for late reply, and thank you for your reporting bug :)
I've checked I can reproduce segv and your patch fix the problem.
And make test-all reports no extra error.
I think your patch is reasonable. I'll check in it to t...
nagachika (Tomoyuki Chikanaga)
10:53 PM Bug #4612: Segmentation fault in fiber GC mark cycle
I'd like to bring attention to the issue again. Can I get some feedback? Maybe I haven't set some important property like target version or category, but unfortunately I can't change those now, given current permissions.
serge_balyuk (Serge Balyuk)
11:23 PM Feature #4362: Process.kill should accept -SIGXXX with implicit conversion
まつもと ゆきひろです

In message "Re: [ruby-dev:43524] [Ruby 1.9 - Feature #4362] Process.kill should accept -SIGXXX with implicit conversion"
on Wed, 11 May 2011 22:07:07 +0900, Tomoyuki Chikanaga <nagachika00@gmail.com> writes:
|
...
matz (Yukihiro Matsumoto)
11:23 PM Feature #4362: Process.kill should accept -SIGXXX with implicit conversion
まつもと ゆきひろです

In message "Re: [ruby-dev:43524] [Ruby 1.9 - Feature #4362] Process.kill should accept -SIGXXX with implicit conversion"
on Wed, 11 May 2011 22:07:07 +0900, Tomoyuki Chikanaga <nagachika00@gmail.com> writes:
|
...
matz (Yukihiro Matsumoto)
10:07 PM Feature #4362: Process.kill should accept -SIGXXX with implicit conversion
この Process.kill の引数の処理についてですが、
引数に受け付けるものが増えるだけで困ることはあまりないでしょうし、
もうしばらく待って反対意見がなければ入れてしまおうと思います。
nagachika (Tomoyuki Chikanaga)
11:17 PM Revision 6eaa5cb3 (git): * lib/set.rb (class Set): Add nodoc to internal-use methods. Patch by Pete Higgins. [Ruby 1.9 - Bug #4665]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
11:05 PM Revision f14d97e1 (git): Thu May 12 08:01:14 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_pkey_ec.c: Allow encryption when PEM-encoding
Elliptic Curve private keys.
[ruby-core:35329] [Bug #4423]
Previous revision: 31525
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31526 b2dd03c8...
MartinBosslet (Martin Bosslet)
10:56 PM Revision 615e7987 (git): * object.c (rb_obj_equal): Add documentation. Patch by Vincent Batts.
[Ruby 1.9 - Bug #4664]
* lib/rexml: ditto
* lib/mkmf.rb: ditto
* ext/socket/lib/socket.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
10:31 PM Revision 83d7aca7 (git): * Various .document files: Update .document files to match files which
have documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
10:27 PM Revision bc75259b (git): Thu May 12 08:18:45 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_pkey_dsa.c: Use generic X.509 SubjectPublicKeyInfo
format for PEM-encoding DSA public keys.
[ruby-core:35328] [Bug #4422]
Previous revision: 31520
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
MartinBosslet (Martin Bosslet)
10:24 PM Revision adaab0f9 (git): Remove empty directories
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
09:51 PM Revision 8578b590 (git): * 2011-05-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:51 PM Revision 1915a913 (git): Thu May 12 07:27:31 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_pkey_rsa.c: Use generic X.509 SubjectPublicKeyInfo
format for encoding RSA public keys.
[ruby-core:35327] [Bug #4421]
Previous revision: 31507
M ChangeLog
M ext/openssl/ossl_pkey_rsa.c
git...
MartinBosslet (Martin Bosslet)
09:23 PM Revision f0a2b08d (git): merges r30919 from trunk into ruby_1_9_2.
--
* signal.c (sig_trap): avoid pthread_sigmask(xx, &mask, &mask) usage
because FreeBSD don't permit it. If it's used, it behave as
pthread_sigmask(xx, NULL, &mask).
* signal.c (init_sigchld): ditto.
git-svn-id: svn+ssh://ci.ruby-l...
yugui (Yuki Sonoda)
09:23 PM Revision 9765712c (git): merges r30916 from trunk into ruby_1_9_2.
--
* vm_insnhelper.c (vm_check_if_namespace): guard temporary object
from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:23 PM Revision e37dc263 (git): merges r30894 from trunk into ruby_1_9_2.
--
* compile.c (get_exception_sym2type): guard temporary object from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:23 PM Revision ad558ae1 (git): merges r30856 from trunk into ruby_1_9_2.
--
* lib/date.rb (Date#===): [ruby-core:35127]
--
* test/date/test_date.rb (TestDate#test_coerce):
test for [ruby-core:35127].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31516 b2dd03c8-39d4...
yugui (Yuki Sonoda)
09:23 PM Revision 6a2bd5fc (git): merges r30842 from trunk into ruby_1_9_2.
--
* test/ruby/test_m17n_comb.rb (TestM17NComb#test_str_scan):
assert_raise does not check exception message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:23 PM Revision f2636ad4 (git): merges a part of r30840 from trunk into ruby_1_9_2.
--
* gc.h (RUBY_FREE_UNLESS_NULL): get rid of double free.
[ruby-core:35192]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:23 PM Revision a3a5b7d3 (git): merges r30837 and r30839 from trunk into ruby_1_9_2.
--
* test/ruby: uniquify test names.
--
* test/ruby/test_transcode.rb (test_from_cp50221): fix wrong
assertion and move back.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:23 PM Revision fbb6e25a (git): merges r30820 from trunk into ruby_1_9_2.
--
* process.c (proc_setgroups): add GC guard to prevent intermediate
variable from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:23 PM Revision 8c7f9f5c (git): merges r30817 from trunk into ruby_1_9_2.
--
* lib/benchmark.rb (Benchmark#bmbm): use ensure clause instead of
Object#tap to restore STDOUT.sync.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:23 PM Revision 5b0cef85 (git): merges r30805 and r30809 from trunk into ruby_1_9_2. fixes #4365
--
* parse.y (words, qwords): dispatch array events. based on a
patch from Michael Edgar. [Bug #4365].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:23 PM Revision b7db271c (git): merges r30799 from trunk into ruby_1_9_2.
--
* parse.y (mlhs_basic): include mlhs_post for ripper. a patch
from Michael Edgar at [ruby-core:35078].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:23 PM Revision 5d397b48 (git): merges r30791 and r30792 from trunk into ruby_1_9_2.
--
* ext/json/parser/parser.h (GET_PARSER): check if initialized.
[ruby-core:35079]
* ext/json/parser/parser.rl (cParser_initialize): ditto.
--
* ext/json/parser/parser.h (GET_PARSER): raise TypeError.
* ext/json/parser/parser.rl (cPar...
yugui (Yuki Sonoda)
12:03 PM Bug #4665: Add nodoc comments for Set methods
I noticed that Set#do_with_enum is already marked as private-- most likely so that it does not show up in documentation (at least using the default rdoc arguments). Therefore, is :nodoc: really necessary here? I point to http://ruby-doc.... lsegal (Loren Segal)
11:38 AM Bug #4665 (Closed): Add nodoc comments for Set methods
Set#flatten_merge and Set#do_with_enum are called internally by other Set methods. Add nodoc comments to them so they don't show up in the list of undocumented things. phiggins (Pete Higgins)
11:12 AM Revision fcd7300b (git): * lib/forwardable.rb: support 'delegate :foo => :bar' for to meet
by specification of RDOC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
keiju (Keiju Ishitsuka)
10:22 AM Revision 1111afbe (git): * lib/csv.rb: fix a typo.
* lib/logger.rb: ditto
* lib/rss.rb: ditto
* lib/webrick/httpauth/authenticator.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
09:29 AM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
2011/5/11 Yusuke ENDOH <mame@tsg.ne.jp>:
> この問題は、map やら select やらが Array を返すこと前提で、内部的に
> rb_ary_push を呼んでしまっているため、中間データ生成を回避しようが
> ないということです。なので mapL 、selectL というように各メソッドごとに
> 対応していかざるを得ません。
たしかに。実装みたらそんな感じでした… 残念。
# 別のクラスを作...
sorah (Sorah Fukumori)
09:29 AM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
2011/5/11 Yusuke ENDOH <mame@tsg.ne.jp>:
> この問題は、map やら select やらが Array を返すこと前提で、内部的に
> rb_ary_push を呼んでしまっているため、中間データ生成を回避しようが
> ないということです。なので mapL 、selectL というように各メソッドごとに
> 対応していかざるを得ません。
たしかに。実装みたらそんな感じでした… 残念。
# 別のクラスを作...
sorah (Sorah Fukumori)
09:23 AM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
遠藤です。

2011年5月10日23:09 Shota Fukumori <sorah@tubusu.net>:
> 共通なconvensionを用意すると発散すると書かれていたのにやってしまいましたが、
>
> Enumerator#deferを定義してこのような形にすると良いのではと思いました。

見栄えはいいですが、残念ながら共通の convension にはなりません。

$ ./ruby -e 'p [1, 2, 3]....
mame (Yusuke Endoh)
09:23 AM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
遠藤です。

2011年5月10日23:09 Shota Fukumori <sorah@tubusu.net>:
> 共通なconvensionを用意すると発散すると書かれていたのにやってしまいましたが、
>
> Enumerator#deferを定義してこのような形にすると良いのではと思いました。

見栄えはいいですが、残念ながら共通の convension にはなりません。

$ ./ruby -e 'p [1, 2, 3]....
mame (Yusuke Endoh)
03:10 AM Bug #4663: Add initial documentation for RSS
I made a few modifications to the original patch:
Added a module RSS after the comment to attach the documentation properly.
Maintained the author's license line
Maintained a link to the author's tutorial as it still seems valid...
drbrain (Eric Hodel)
03:07 AM Bug #4663 (Closed): Add initial documentation for RSS
This issue was solved with changeset r31503.
Steve, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rss.rb: Add documentation. Patch by Steve Klabnik.
[Ru...
drbrain (Eric Hodel)
02:27 AM Bug #4663: Add initial documentation for RSS
Due to writing this at 5am, I misspelled 'Syndication." Whoops. Here's the corrected patch. steveklabnik (Steve Klabnik)
01:04 AM Bug #4664 (Closed): documentation updates 2011-05-10
per http://blog.segment7.net/2011/05/09/ruby-1-9-3-documentation-challenge
The attached patch addresses the following items needing documentation.
vbatts (Vincent Batts)

05/10/2011

11:37 PM Revision 8c2a5293 (git): * lib/webrick: Add documentation for WEBrick::HTTPAuth
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
11:09 PM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
共通なconvensionを用意すると発散すると書かれていたのにやってしまいましたが、
Enumerator#deferを定義してこのような形にすると良いのではと思いました。
個人的に見栄えはこれが一番しっくりくるなあ、と思います。
[1,2,3].map.defer{|x| x*2 }.each_with_index.map.defer do |x,i|
"#{x}: #{i}"
end.each {|x| puts x }
いかがでし...
sorah (Sorah Fukumori)
02:23 PM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
(05/09/2011 05:21 PM), Akinori MUSHA wrote:
> At Mon, 9 May 2011 16:35:31 +0900,
> Urabe Shyouhei wrote:
>> でまあやはりflat_mapがある以上なんとか_mapがいちばん通りやすいと思うんですけど
>> どうですかね。lazy_mapとか。
>
> ベタ路線なら map_enum がいいと思います。動作を表す語が複数並んで
> い...
shyouhei (Shyouhei Urabe)
02:23 PM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
(05/09/2011 05:21 PM), Akinori MUSHA wrote:
> At Mon, 9 May 2011 16:35:31 +0900,
> Urabe Shyouhei wrote:
>> でまあやはりflat_mapがある以上なんとか_mapがいちばん通りやすいと思うんですけど
>> どうですかね。lazy_mapとか。
>
> ベタ路線なら map_enum がいいと思います。動作を表す語が複数並んで
> い...
shyouhei (Shyouhei Urabe)
06:07 PM Revision 6626b0a2 (git): * 2011-05-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:07 PM Revision b3073556 (git): * lib/rss.rb: Add documentation. Patch by Steve Klabnik.
[Ruby 1.9 - Bug #4663]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
03:23 PM Feature #4657: add option to hide skip messages on unit/test
> -q, --hide-skipでskipメッセージが表示されなくなります。

skip のメッセージを隠す「だけ」なのに -q という指定は違和感を感じるのですがどうなんでしょうか。
-q ってつけると全部のメッセージが消えるイメージが。
whiteleaf (whiteleaf _)
03:23 PM Feature #4657: add option to hide skip messages on unit/test
> -q, --hide-skipでskipメッセージが表示されなくなります。

skip のメッセージを隠す「だけ」なのに -q という指定は違和感を感じるのですがどうなんでしょうか。
-q ってつけると全部のメッセージが消えるイメージが。
whiteleaf (whiteleaf _)
02:54 PM Feature #4657 (Closed): add option to hide skip messages on unit/test
r31502 でコミットしました。
-q, --hide-skipでskipメッセージが表示されなくなります。
sorah (Sorah Fukumori)
02:03 PM Bug #4663 (Closed): Add initial documentation for RSS
As part of the Ruby 1.9.3 documentation challenge[1], here's my first shot at adding some documentation to the RSS portion of the standard library. I've just added an overview with two examples, but I plan on fleshing out the rest of RSS... steveklabnik (Steve Klabnik)
09:29 AM Bug #4421: [ext/openssl] Fix RSA public key encoding
On Tue, May 10, 2011 at 07:37:13AM +0900, Martin Bosslet wrote:
>
> Issue #4421 has been updated by Martin Bosslet.
>
>
> Hi all,
>
> now that I have SVN access - would it be fine if I assigned the issues that I reported and ...
tenderlovemaking (Aaron Patterson)
09:01 AM Bug #4421: [ext/openssl] Fix RSA public key encoding
Great :) Thanks for all the help so far! MartinBosslet (Martin Bosslet)
07:59 AM Bug #4421: [ext/openssl] Fix RSA public key encoding
Welcome to committers!
Yeah you can change the assignee and commit the patch.
naruse (Yui NARUSE)
07:37 AM Bug #4421: [ext/openssl] Fix RSA public key encoding
Hi all,
now that I have SVN access - would it be fine if I assigned the issues that I reported and that are still open to myself?
What about those already assigned?
Regards,
Martin
MartinBosslet (Martin Bosslet)
08:53 AM Feature #3436: Spawn the timer thread lazily
I'm repeating what I said in another thread to catch people that have subscribed to this bug.
Suraj Kurapati wrote:
> It seems Mark was the only person to review ((<Ko1's patch|URL:http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ru...
Spakman (Mark Somerville)
05:53 AM Revision 64495a2f (git): * lib/test/unit.rb: Add option for hiding skip messages when test
ends. #4657
* test/testunit/test_hideskip.rb, test/testunit/test4test_hideskip.rb:
test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
03:19 AM Bug #4662 (Assigned): Date#strftime %v gives allcaps instead of normal caps
Tell me when the patch is OK. I can pull it. shyouhei (Shyouhei Urabe)
02:55 AM Bug #4662: Date#strftime %v gives allcaps instead of normal caps
I have submitted a pull request for convenience:
https://github.com/ruby/ruby/pull/18
d-snp (Tinco Andringa)
02:53 AM Bug #4662 (Closed): Date#strftime %v gives allcaps instead of normal caps
Since the big strftime changes of past month strftime gives a capitalised month abbreviation like so:
'%v'=>[' 3-FEB-2001' {:mday=>3,:mon=>2,:year=>2001}]
This is different from before where:
'%v'=>[' 3-Feb-2001',{:md...
d-snp (Tinco Andringa)
03:03 AM Revision f47ff482 (git): Use UTF-8 for rdoc-coverage and silence progress reporter
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
01:54 AM Revision 7f2a943c (git): * common.mk (rdoc): Add rdoc-coverage rule
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
01:23 AM Bug #4655: String#to_c does not support scientific notation
> Issue #4655 has been updated by Kenta Murata.
>
> Status changed from Open to Closed

Thanks for accepting my patch! :) I'm a bit of a beginner with C, I
plan on submitting patches to bugs I find every now and then. Please
...
d-snp (Tinco Andringa)
12:13 AM Revision 071a678a (git): * lib/webrick: Add Documentation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)

05/09/2011

11:23 PM Feature #4657: add option to hide skip messages on unit/test
(2011/05/09 20:50), Shota Fukumori (sora_h) wrote:
> 2011/5/9 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
>>> デフォルト抑制についてはchkbuildへの影響など影響が多いことから今回はパスという流れでした。
>>
>> 具体的には、なにが起きますでしょうか?
>
> とりあえずchkbuildには修正が必要なようです (...
naruse (Yui NARUSE)
11:23 PM Feature #4657: add option to hide skip messages on unit/test
(2011/05/09 20:50), Shota Fukumori (sora_h) wrote:
> 2011/5/9 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
>>> デフォルト抑制についてはchkbuildへの影響など影響が多いことから今回はパスという流れでした。
>>
>> 具体的には、なにが起きますでしょうか?
>
> とりあえずchkbuildには修正が必要なようです (...
naruse (Yui NARUSE)
09:23 PM Feature #4657: add option to hide skip messages on unit/test
2011/5/9 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
>> デフォルト抑制についてはchkbuildへの影響など影響が多いことから今回はパスという流れでした。
>
> 具体的には、なにが起きますでしょうか?

とりあえずchkbuildには修正が必要なようです (naruseさん曰く)。
他のCIシステムなどはわかりません。

--
Shota Fukumori a....
sorah (Sorah Fukumori)
09:23 PM Feature #4657: add option to hide skip messages on unit/test
2011/5/9 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
>> デフォルト抑制についてはchkbuildへの影響など影響が多いことから今回はパスという流れでした。
>
> 具体的には、なにが起きますでしょうか?

とりあえずchkbuildには修正が必要なようです (naruseさん曰く)。
他のCIシステムなどはわかりません。

--
Shota Fukumori a....
sorah (Sorah Fukumori)
08:23 PM Feature #4657: add option to hide skip messages on unit/test
2011/5/9 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
>> (05/09/2011 06:31 PM), Shota Fukumori wrote:
>> > 最近test-allでSkipが多いので、skipのメッセージ表示を抑制するオプションを追加してはどうでしょう。
>>
>> 賛成です。個人的にもtest-all結果からはskipをまず消してから読んでいます(という
>> スク...
sorah (Sorah Fukumori)
08:23 PM Feature #4657: add option to hide skip messages on unit/test
2011/5/9 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
>> (05/09/2011 06:31 PM), Shota Fukumori wrote:
>> > 最近test-allでSkipが多いので、skipのメッセージ表示を抑制するオプションを追加してはどうでしょう。
>>
>> 賛成です。個人的にもtest-all結果からはskipをまず消してから読んでいます(という
>> スク...
sorah (Sorah Fukumori)
07:23 PM Feature #4657: add option to hide skip messages on unit/test
(05/09/2011 06:31 PM), Shota Fukumori wrote:
> 最近test-allでSkipが多いので、skipのメッセージ表示を抑制するオプションを追加してはどうでしょう。

賛成です。個人的にもtest-all結果からはskipをまず消してから読んでいます(という
スクリプトを書いてしまった程度には邪魔)。
shyouhei (Shyouhei Urabe)
07:23 PM Feature #4657: add option to hide skip messages on unit/test
(05/09/2011 06:31 PM), Shota Fukumori wrote:
> 最近test-allでSkipが多いので、skipのメッセージ表示を抑制するオプションを追加してはどうでしょう。

賛成です。個人的にもtest-all結果からはskipをまず消してから読んでいます(という
スクリプトを書いてしまった程度には邪魔)。
shyouhei (Shyouhei Urabe)
06:31 PM Feature #4657 (Closed): add option to hide skip messages on unit/test
最近test-allでSkipが多いので、skipのメッセージ表示を抑制するオプションを追加してはどうでしょう。
ちなみに、ruby-jaで以下のような流れがありました。
>nurse: そういえば、うささんの今のtest-allのskipって、test-allの最後で表示されたほうが嬉しいの?
> ...
以下のパッチを適用するとtest/unit (test-all)に--hide-skipオプションが追加され、
--hide-skipオプションを付けて...
sorah (Sorah Fukumori)
11:13 PM Bug #4600: date/date_parse.c errors are breaking MinGW build
Thank you tadayoshi funaba for fixing this.
I'm was trying to build ruby-trunk and use 1.8.7 as baseruby, that is why ruby -v mention 1.8.7
The issue is now solved.
luislavena (Luis Lavena)
09:05 PM Bug #4600 (Closed): date/date_parse.c errors are breaking MinGW build
switch hitter does not support 1.8.x.
anyway, closed.
tadf (tadayoshi funaba)
09:55 PM Bug #4656 (Rejected): Float#to_s can produce too many digits
Because they are different values.
$ ruby -e 'p 1.323333333333333 == 3970 / 3000.0'
false
$ ruby -e 'p 1.3233333333333333 == 3970 / 3000.0'
true
nobu (Nobuyoshi Nakada)
02:54 PM Bug #4656 (Rejected): Float#to_s can produce too many digits
In trunk, Float#to_s can produce too many digits.
$ ./miniruby -ve 'puts Float::DIG, 3970 / 3000.0'
ruby 1.9.3dev (2011-05-09 trunk 31491) [x86_64-darwin10.7.0]
15
1.3233333333333333
In the above example, Float::DIG is 15, so th...
mrkn (Kenta Murata)
08:32 PM Bug #4658: Minitest - invalid return code when using MiniTest::Unit.after_tests
minitest has an upstream.
Could report same issue to at the following url?
http://rubyforge.org/tracker/?atid=4097&group_id=1040&func=browse
sorah (Sorah Fukumori)
08:27 PM Bug #4658 (Rejected): Minitest - invalid return code when using MiniTest::Unit.after_tests
If test fails and MiniTest::Unit.after_tests is used then the program returned code is 0 but it should not be.
Here is my current workaround:
MiniTest::Unit.after_tests do
status = ($! && $!.respond_to?(:status) && $!.status) ||...
rupert (Robert Pankowecki)
07:22 PM Revision 7e3ec1db (git): * 2011-05-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:22 PM Revision 38b4876b (git): * lib/webrick/log.rb: Hide copyright info from ri
* lib/webrick/httpstatus.rb: ditto
* lib/webrick/htmlutils.rb: ditto
* lib/webrick/httpversion.rb: ditto
* lib/webrick/version.rb: ditto
* lib/webrick/httpauth/userdb.rb: ditto
* lib/webrick/httpau...
drbrain (Eric Hodel)
06:35 PM Bug #4652 (Closed): Improvement for documentation of String#start_with? and end_with?
This issue was solved with changeset r31493.
Andrew, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c: Improve documentation for String#start_with? and
...
naruse (Yui NARUSE)
05:24 PM Bug #4655 (Closed): String#to_c does not support scientific notation
mrkn (Kenta Murata)
10:23 AM Bug #4655: String#to_c does not support scientific notation
Hi,

In message "Re: [ruby-core:36049] [Ruby 1.9 - Bug #4655] String#to_c does not support scientific notation"
on Mon, 9 May 2011 09:32:35 +0900, Kenta Murata <muraken@gmail.com> writes:

|Issue #4655 has been updated by ...
matz (Yukihiro Matsumoto)
09:32 AM Bug #4655: String#to_c does not support scientific notation
Sorry, I misunderstood that this issue is about Complex, so I assigned this to tadayoshi.
But, correctly, this is about String.
I assign this to matz again.
mrkn (Kenta Murata)
08:56 AM Bug #4655: String#to_c does not support scientific notation
I've submitted a pull request for this bug:
https://github.com/ruby/ruby/pull/16
d-snp (Tinco Andringa)
07:45 AM Bug #4655 (Closed): String#to_c does not support scientific notation
Specs have been added for this but I did not find an issue for it so I report it here.
Example:
assert_equals('2e3+2e4i'.to_c, Complex(2e3, 2e4))
d-snp (Tinco Andringa)
05:23 PM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
卜部です。

(05/09/2011 12:35 AM), Yusuke ENDOH wrote:
>>>> いきなりmapの戻り値の型が変わるのでも私はいいですけど
>>>> ちょっとやりすぎかとも思います。
>>>
>>> 2.0 でなら、これもいいと思います。
>>
>> mathnみたいにrequireすると挙動が上書きされて、いやでもそれは状態がグローバルだ
>> からよくなくてselector namespaceがないと...
shyouhei (Shyouhei Urabe)
05:23 PM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
卜部です。

(05/09/2011 12:35 AM), Yusuke ENDOH wrote:
>>>> いきなりmapの戻り値の型が変わるのでも私はいいですけど
>>>> ちょっとやりすぎかとも思います。
>>>
>>> 2.0 でなら、これもいいと思います。
>>
>> mathnみたいにrequireすると挙動が上書きされて、いやでもそれは状態がグローバルだ
>> からよくなくてselector namespaceがないと...
shyouhei (Shyouhei Urabe)
01:23 AM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
遠藤です。

2011年5月9日0:07 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> 遅延評価であるとみなせるのは事実としても遅延評価っていう言い方をしなきゃいけな
> いことはないですよね。

絶対にいけないことはないですが、一般的な言葉があるならなるべく合わせる
べきでしょう。


> 特に私の用途の場合は途中で配列を作らないというだけの話で
> あって、結局全部評価するわけです...
mame (Yusuke Endoh)
01:23 AM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
遠藤です。

2011年5月9日0:07 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> 遅延評価であるとみなせるのは事実としても遅延評価っていう言い方をしなきゃいけな
> いことはないですよね。

絶対にいけないことはないですが、一般的な言葉があるならなるべく合わせる
べきでしょう。


> 特に私の用途の場合は途中で配列を作らないというだけの話で
> あって、結局全部評価するわけです...
mame (Yusuke Endoh)
12:23 AM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
(05/08/2011 11:21 PM), Yusuke ENDOH wrote:
> 遠藤です。
>
> 2011年5月8日23:01 Shyouhei Urabe <shyouhei@ruby-lang.org>:
>> というわけでmapなんだけど配列じゃなくてEnumeratorを返すmapの変種があ
>> るといいとおもうのですがどうでしょうか。
>
> 賛成です。以下のようなコードを書くときいつも気になってました。
>...
shyouhei (Shyouhei Urabe)
12:23 AM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
(05/08/2011 11:21 PM), Yusuke ENDOH wrote:
> 遠藤です。
>
> 2011年5月8日23:01 Shyouhei Urabe <shyouhei@ruby-lang.org>:
>> というわけでmapなんだけど配列じゃなくてEnumeratorを返すmapの変種があ
>> るといいとおもうのですがどうでしょうか。
>
> 賛成です。以下のようなコードを書くときいつも気になってました。
>...
shyouhei (Shyouhei Urabe)
12:35 PM Revision c980b87d (git): fixed indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
11:57 AM Revision c1f80caa (git): * test/ruby/test_{complex,rational}.rb: added tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
11:31 AM Revision 6c81a8e4 (git): * complex.c (string_to_c_internal): a refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
09:35 AM Revision 140e1f0b (git): * string.c: Improve documentation for String#start_with? and
String#end_with?. fixes #4652
patched by Andrew Grimm <andrew.j.grimm at gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:52 AM Revision ca927d60 (git): * complex.c (string_to_c_internal): support scientific notation.
patched by Tinco Andringa. https://github.com/ruby/ruby/pull/16
[ruby-core:36046][Bug #4655]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
02:53 AM Revision d3e5a293 (git): * 2011-05-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:53 AM Revision 074818f3 (git): * numeric.c (int_ord): remove K&R style.
patched by Daehyub Kim. https://github.com/ruby/ruby/pull/17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:23 AM Feature #4197 (Assigned): Improvement of the benchmark library
naruse (Yui NARUSE)
12:19 AM Feature #4197: Improvement of the benchmark library
Hello,
I said I would soon make it pass, but I unfortunately did not take the time yet to report the feature, I'm sorry.
However, the code is already there, I just need to split it correctly into commits.
Also, I believe my code should...
Eregon (Benoit Daloze)
12:11 AM Bug #4651: Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
I just tried reproducing on trunk with '-O0 -ggdb3' but I could not reproduce the error.
I'm not sure if a binary compiled on Snow Leopard crashes on Lion or vice versa. I think the binary I had previously compiled for Snow Leopard wa...
sferik (Erik Michaels-Ober)

05/08/2011

11:23 PM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
遠藤です。

2011年5月8日23:01 Shyouhei Urabe <shyouhei@ruby-lang.org>:
> というわけでmapなんだけど配列じゃなくてEnumeratorを返すmapの変種があ
> るといいとおもうのですがどうでしょうか。

賛成です。以下のようなコードを書くときいつも気になってました。

big_ary.map {|x| ... }.max

ただ、map だけでなく、select や...
mame (Yusuke Endoh)
11:23 PM Feature #4653: [PATCH 1/1] new method Enumerable#rude_map
遠藤です。

2011年5月8日23:01 Shyouhei Urabe <shyouhei@ruby-lang.org>:
> というわけでmapなんだけど配列じゃなくてEnumeratorを返すmapの変種があ
> るといいとおもうのですがどうでしょうか。

賛成です。以下のようなコードを書くときいつも気になってました。

big_ary.map {|x| ... }.max

ただ、map だけでなく、select や...
mame (Yusuke Endoh)
11:01 PM Feature #4653 (Assigned): [PATCH 1/1] new method Enumerable#rude_map
shyouhei (Shyouhei Urabe)
11:00 PM Feature #4653 (Rejected): [PATCH 1/1] new method Enumerable#rude_map
From e6dd7bd9b5769bae5d81416da7a2b4003a43ba06 Mon Sep 17 00:00:00 2001
Message-Id: <e6dd7bd9b5769bae5d81416da7a2b4003a43ba06.1304863013.git.shyouhei@ruby-lang.org>
From: URABE, Shyouhei <shyouhei@ruby-lang.org>
Date: Sun, 8 May 2011 2...
shyouhei (Shyouhei Urabe)
10:57 PM Feature #4197: Improvement of the benchmark library
=begin
Hi, Benoit.
How about following skipped test?
it 'correctly guess the label width even when not given' do
skip :not_implemented
capture_bench_output(:bm).must_equal BM_OUTPUT
end
=end
naruse (Yui NARUSE)
09:51 PM Bug #4652 (Closed): Improvement for documentation of String#start_with? and end_with?
=begin
The documentation for (({String#start_with?})) and (({String#end_with?})) has a typo, and the English grammar can be improved. A patch fixing it is attached.
=end
agrimm (Andrew Grimm)
01:18 PM Revision 10c4a861 (git): * test/ruby/test_{complex2,complexrational}.rb: use skip.
* test/date/*.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
12:23 PM Feature #4328: export rb_thread_call_with_gvl()
I should note that even Rubinius has this function in it's C API. normalperson (Eric Wong)
12:03 PM Revision e2ab17e8 (git): never skip
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
12:01 PM Revision 6b8bc66e (git): fixed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
11:56 AM Revision a4ecf14d (git): * test/date/*.rb: NEVER SKIP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
11:38 AM Revision 5518dc64 (git): * test/date/*.rb: reverted 31432.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
11:33 AM Revision dbe8aba7 (git): * test/date/*.rb: reverted 31483.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
11:15 AM Revision bf92aa8b (git): Revert r31478.
In CRuby's test-all, skip is for something to be fixed.
When some external library is missing, it should silently return;
don't flood the test result with meaningless messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31483 b2d...
naruse (Yui NARUSE)
10:46 AM Revision 19f52b87 (git): * thread_pthread.c (native_cond_timedwait): add to care EINTR.
* thread_pthread.c (thread_timer): remove EINTR check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
10:08 AM Revision 09993337 (git): * lib/time.rb (xmlschema): avoid passing any negative numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
09:41 AM Revision 1348dd26 (git): * ext/date/date_{parse,strptime}.c: introduced some macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
09:09 AM Bug #4651: Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
OK, then could you show the crash log from the short code on the trunk compiled with '-O0 -ggdb3'?
And,
* does a binary compiled on Snow Leopard crash on Lion?
* does a binary compiled on Lion crash on Snow Leopard?
nobu (Nobuyoshi Nakada)
09:03 AM Bug #4651 (Open): Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
nobu (Nobuyoshi Nakada)
08:52 AM Revision 1816a4a6 (git): revert r31474. we cann't call xmalloc under FGLOCK.
Thansk, nagachika-san.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
08:18 AM Revision 847b4614 (git): * test/date/*.rb: use skip /w messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
08:06 AM Revision d54240d3 (git): * ext/date/lib/date/format.rb (_httpdate): omitted to call zone_to_diff.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
07:58 AM Revision ca5401e4 (git): * ext/date/date_core.c (date_s_test_*): use macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
04:27 AM Revision 23f22858 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:54 AM Revision c878761f (git): * thread_pthread.c (add_signal_thread_list): use xmalloc instead
of malloc.
* thread_pthread.c (remove_signal_thread_list): use xfree instead
of free.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
01:50 AM Revision a3fd4cf5 (git): * thread_pthread.c: cleanup signal_thread_list related ifdef.
1) we don't have to use #ifdef FOO-PLATFORM directly 2) About
half #ifdef didn't care symbian properly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)

05/07/2011

10:47 PM Bug #4651: Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
=begin
* Yes,
* yes,
* and yes.
=end
sferik (Erik Michaels-Ober)
05:03 PM Bug #4651 (Feedback): Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
=begin
Does it reproduce
* with just those 2 lines?
* with `configure optflags=-O0 debugflags=-ggdb3'?
* with trunk?
=end
nobu (Nobuyoshi Nakada)
02:38 PM Bug #4651 (Closed): Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
=begin
The following code crashes with a Bus Error on Ruby 1.9.2-p136 and 1.9.2-p180 built for x86_64-darwin11.0.0 (Lion). The same code works on both of those versions of Ruby built for x86_64-darwin10.0.0 (Snow Leopard).
(({require...
sferik (Erik Michaels-Ober)
08:21 PM Revision f23fa4b0 (git): * test/io/wait/test_io_wait.rb: Linux socketpair(2) only support
AF_UNIX, but windows socketpair doesn't support it. we can't
avoid platform check. sigh!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:23 PM Feature #4647: [PATCH] io/wait: add IO#wait_writable method
Eric Wong <normalperson@yhbt.net> wrote:
> Issue #4647 has been reported by Eric Wong.

Oops, this is a duplicate of #4646 I screwed up using my web browser.
normalperson (Eric Wong)
03:17 PM Revision c9da3d68 (git): * 2011-05-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision 16846eb9 (git): * test/io/wait/test_io_wait.rb: use Socket.pair instaed of pipe.
Windows can only treat a socket.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:57 PM Revision 70e92016 (git): * test/io/wait/test_io_wait.rb: skip tests if the platform is
mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:52 PM Revision 21fcb1c3 (git): * test/ruby/test_io.rb (TestIO#test_readpartial_lock),
(TestIO#test_read_lock): get rid of GVL fairness problem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:44 PM Revision 76734388 (git): * thread.c (rb_fd_zero): remove redundant zero fill.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
01:40 PM Revision 9468e945 (git): * thread.c (rb_fd_init): remove volatile qualifier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
01:36 PM Revision 156ccab7 (git): * thread.c (rb_fd_init_copy): new internal api. It provide efficient
copy constructor semantics.
* thread.c (do_select): use rb_fd_init_copy().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
01:22 PM Revision ddcd5c29 (git): r31460 is wrong fix. fix it again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
10:47 AM Revision 68417aa5 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:28 AM Revision 1bd2c78b (git): * thread_pthread.c (USE_MONOTONIC_COND): check the availability
more strictly.
* thread_pthread.h (rb_thread_cond_t): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:22 AM Revision 562a1a79 (git): remove debugging code
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
06:20 AM Revision fa319c57 (git): fix incorrect native_cond_signal call when deadlock was detected.
* thread.c (lock_func): timedwait don't touch cond_waiting and
cond_notifid variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
06:17 AM Revision 94e4d61b (git): fix win32 native_cond_timedwait() makes SIGSEGV.
* thread_win32.h (rb_thread_cond_struct): add prev field instead of last.
(ie cond_event_entry is now using double linked list instead of single)
* thread_win32.c (cond_event_entry): add prev field.
* thread_win32.c (__cond_timedwait)...
kosaki (Motohiro KOSAKI)
03:43 AM Revision 471fb33b (git): fix mutex deadlock test hang-up.
* thread_win32.c (abs_timespec_to_timeout_ms): fix 1000x calculation
mistake. (ie fix hang-up native_cond_timedwait())
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:24 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
> Issue #4531 has been updated by Eric Wong.
>
> File 0001-rb_wait_for_single_fd-use-ppoll-instead-of-poll.patch added
>
> I've uploaded a new patch to use ppoll() instead of poll()
>
> Also pullable from git://bogomips.org/...
kosaki (Motohiro KOSAKI)
12:24 AM Feature #4531: [PATCH 0/7] use poll() instead of select() in certain cases
> Eric Wong <normalperson@yhbt.net> wrote:
>> Instead the io/wait extension should be expanded to be able to check for
>> writability, too.  Maybe by adding a new method:
>>
>>       IO#wait_writable(timeout
kosaki (Motohiro KOSAKI)
12:02 AM Feature #4531 (Closed): [PATCH 0/7] use poll() instead of select() in certain cases
kosaki (Motohiro KOSAKI)

05/06/2011

10:05 PM Bug #4650 (Rejected): sub/gsub with named group captures discards numbered group captures
nobu (Nobuyoshi Nakada)
10:04 PM Bug #4650: sub/gsub with named group captures discards numbered group captures
It's spec.
Cited from doc/re.rdoc:
*Note*: A regexp can't use named backreferences and numbered
backreferences simultaneously.
nobu (Nobuyoshi Nakada)
05:33 PM Bug #4650 (Rejected): sub/gsub with named group captures discards numbered group captures
puts "ab".sub(/(?<g>.)(.)/, "0=\\0 1=\\1 2=\\2 g=\\k<g>") # outputs "0=ab 1= 2= g=a"
Expected: "0=ab 1=b 2= g=a"
(or maybe "0=ab 1= 2=b g=a"? Though I think it's the former)
Phlogistique (Noé Rubinstein)
06:17 PM Revision 7ac6b706 (git): sleep_cond use monotonic time if possible.
* thread_pthread.c (native_thread_init): change sleep_cond
attribute to monotonic.
* thread_pthread.c (native_sleep): use native_cond_timeout().
* thread_pthread.c (native_cond_timeout): add overflow care.
* thread_win32.c (native_con...
kosaki (Motohiro KOSAKI)
06:14 PM Revision 2d7a5f65 (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:50 PM Revision 604a1e2e (git): fix win32 compile error.
* thread_win32.c (RB_CONDATTR_CLOCK_MONOTONIC): define
RB_CONDATTR_CLOCK_MONOTONIC always.
* thread_pthread.c (RB_CONDATTR_CLOCK_MONOTONIC): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31455 b2dd03c8-39d4-4d8f-98ff-823f...
kosaki (Motohiro KOSAKI)
05:39 PM Revision b2ea836a (git): mutex: deadlock check timeout use monotonic time.
* thread_pthread.c (native_cond_timeout): new internal api.
it calculate a proper time for argument of native_cond_timedwait().
* thread_win32.c (native_cond_timeout): ditto.
* thread_pthread.c (thread_timer): use native_cond_timeout(...
kosaki (Motohiro KOSAKI)
04:56 PM Revision 54b50fbb (git): * thread_pthread.c (get_ts): add monotonic clock capability.
* thread_pthread.c (rb_thread_create_timer_thread): use monotonic
clock if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
04:47 PM Revision 17707b2d (git): * 2011-05-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:47 PM Revision a1cfaf4b (git): * thread_pthread.h (rb_thread_cond_t): add clockid field. it's
no longer an alias of pthread_cond_t.
* thread_pthread.c: adapt new rb_thread_cond_t type.
* thread.c (mutex_alloc): ditto.
* thread_win32.c (native_cond_initialize): ditto.
* configure.in: add check for pthread_cond_attr_setclock() and
...
kosaki (Motohiro KOSAKI)
03:55 PM Bug #4594: Don't depend on extension automagic
Nathan McSween wrote:
> Extensions in ruby are built automatically by what is found at compile time, this is bad as dependencies won't be tracked w.r.t package managers (yum, etc).
If package managers want to manage ruby's bundled ex...
naruse (Yui NARUSE)
03:34 PM Bug #4639 (Feedback): net http segmentation fault in ruby 1.9.2-head/1.9.2-p180
Can you show a reproducible code? naruse (Yui NARUSE)
03:19 PM Bug #4571 (Closed): YAML.load given an ISO8601 timestamp creates an incorrect value for usec
This issue was solved with changeset r31441.
Brian, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
YAML.load time correctly parse usecs smaller than 1 fixes #4571
...
shyouhei (Shyouhei Urabe)
08:23 AM Bug #4571: YAML.load given an ISO8601 timestamp creates an incorrect value for usec
On Thu, May 05, 2011 at 11:31:14AM +0900, Shyouhei Urabe wrote:
>
> Issue #4571 has been updated by Shyouhei Urabe.
>
>
> Hi Aaron, how do you feel the patch?
>
> I can pull it when you are OK.

It seems good to me. Please...
tenderlovemaking (Aaron Patterson)
02:58 PM Revision 4a9883e9 (git): * thread.c (rb_wait_for_single_fd): use ppoll() instead of poll()
if possible. based on a patch from Eric Wong. [ruby-core:36003].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:18 PM Revision 066eecf5 (git): * configure.in: remove nanosleep check. we no longer use it.
r20124 removed last usage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:02 PM Revision 31ae13c9 (git): set properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:36 PM Revision 54aa0b12 (git): * ext/syck/rubyext.c (mktime_do): extra digits are not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:44 AM Revision 957ec6fc (git): * ext/syck/rubyext.c (mktime_do): remove unused variable offset.
* ext/syck/syck.h: use #ifdef instead of #if DEBUG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:38 AM Revision 1f6a7c18 (git): * ext/date/date_core.c (DAY_IN_NANOSECONDS): refix: 31438.
check with LONG_MAX and cast as long; without this the calculation
will be done as int and overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:19 AM Revision 534388dd (git): * 2011-05-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:19 AM Revision e3a69233 (git): * ext/syck/rubyext.c (mktime_do): avoid buffer overrun, by
silently ignoring lesser significant digits. Required buffer
length can be computable so you might at first think of
allocating enough memory space on the fly using alloca(). That
is a wrong idea because when using alloca there i...
shyouhei (Shyouhei Urabe)
06:19 AM Revision be237a9d (git): ChangeLog for it
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
06:19 AM Revision dbbfac20 (git): YAML.load time correctly parse usecs smaller than 1 fixes #4571
Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
05:53 AM Feature #4649: Adding parallel constructors to Ruby 2.0
You're right Joel. Maybe the syntax I'm requesting to be included in standard Ruby should be something like:
concurrently do
task {...}
...
end
But, although the implementation is simple, having a standard idiom for that com...
rosenfeld (Rodrigo Rosenfeld Rosas)
02:17 AM Feature #4649: Adding parallel constructors to Ruby 2.0
IMO this is not really about parallel computation, but about syntax and scope, and it can be solved without changing ruby.
One solution that seems fairly idiomatic to me is:
def get_response_from_service_a; "a response"; end
def g...
vjoel (Joel VanderWerf)
 

Also available in: Atom