Project

General

Profile

Activity

From 06/03/2013 to 06/09/2013

06/09/2013

10:34 PM Feature #8506: Object#iter_for / Object#to_iter
+1 Anonymous
10:31 PM Feature #8506 (Rejected): Object#iter_for / Object#to_iter
=begin
Ruby's (({Enumerator})) and (({#enum_for})) methods are very powerful and I use them very often. However, (({Object#enum_for})) requires a method that yields, usually in some sort of loop.
Many objects in Ruby have methods tha...
alindeman (Andy Lindeman)
08:55 PM Feature #8505 (Closed): rake file dsl
Anonymous
08:44 PM Feature #8505: rake file dsl
This feature can be closed/ deleted. I don't know how to do it. I only find an "Update" button. MarcWeber (Marc Weber)
06:45 PM Feature #8505 (Closed): rake file dsl
https://github.com/jimweirich/rake/issues/203
should be easy to fix once its fixed there.
MarcWeber (Marc Weber)
08:39 PM Revision 192085ba (git): * bignum.c (absint_numwords_small): New function.
(absint_numwords_generic): Use absint_numwords_small if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:08 PM Revision 79042bee (git): * 2013-06-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:08 PM Revision f30d662c (git): * bignum.c (absint_numwords_bytes): New function.
(absint_numwords_generic): Extracted from rb_absint_numwords.
(rb_absint_numwords): Use absint_numwords_bytes if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:03 PM Revision d395be13 (git): Update an error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:37 PM Revision 9cb14523 (git): * bignum.c (rb_absint_numwords): Return (size_t)-1 when overflow.
Refine variable names.
(rb_absint_size): Refine variable names.
* internal.h (rb_absint_size): Refine an argument name.
(rb_absint_numwords): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41197 b2dd03c8-39d4-4d8f-98ff-...
akr (Akira Tanaka)
12:37 PM Feature #8490: Bring ActiveSupport Enumerable#index_by to core
key_by trans (Thomas Sawyer)
07:53 AM Revision f5ad120b (git): * bignum.c (rb_absint_numwords): Renamed from rb_absint_size_in_word.
* internal.h (rb_absint_numwords): Follow the above change.
* pack.c (pack_pack): Ditto.
* random.c (rand_init): Ditto.
(limited_big_rand): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41196 b2dd03c8-39d4-4d8f-98ff-823...
akr (Akira Tanaka)
05:53 AM Revision 837392b4 (git): * bignum.c (rb_integer_pack): numwords_allocated argument removed.
* internal.h (rb_integer_pack): Follow the above change.
* hash.c (rb_hash): Ditto.
* time.c (v2w_bignum): Ditto.
* pack.c (pack_pack): Ditto.
* random.c (int_pair_to_real_inclusive): Ditto.
(rand_init): Ditto.
(random_load): Dit...
akr (Akira Tanaka)
02:41 AM Bug #8115: make install DESTDIR=/my/install/path fails
Sorry for late response.
I've merged r39841 to ruby_2_0_0 at r41193.
Vit:
Please check ruby-2.0.0 patchlevel 214 or higher.
If this issue is not fixed, please reopen this ticket or create a new one.
Regards,
nagachika (Tomoyuki Chikanaga)
02:37 AM Bug #8115 (Closed): make install DESTDIR=/my/install/path fails
This issue was solved with changeset r41193.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
merge revision(s) 39841: [Backport #8115]
* lib/mkmf.rb (install...
nagachika (Tomoyuki Chikanaga)
12:36 AM Revision f6757f08 (git): * bignum.c (big2str_base_powerof2): New function.
(rb_big2str0): Use big2str_base_powerof2 if base is 2, 4, 8, 16 or 32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)

06/08/2013

11:48 PM Bug #8498 (Third Party's Issue): core dump, occurs repeatedly while running tests
binding_of_caller is not a bundled library. nobu (Nobuyoshi Nakada)
07:09 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
dbussink (Dirkjan Bussink) wrote:
> The problem is not rb_ary_new4 itself, but that RARRAY_PTR needs to be called before. Since there's no guarantee on what with happen with that RARRAY_PTR() it suffers from all the drawbacks here. I th...
Eregon (Benoit Daloze)
07:01 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
<Removed> (bad copy-paste and redmine forgot my reply) Eregon (Benoit Daloze)
06:47 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
I've attached an updated version of the patch that uses rb_ary_subseq instead of manually creating an array. That means it could be implemented in an efficient way under the hood here in different implementations. dbussink (Dirkjan Bussink)
05:57 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
Eregon (Benoit Daloze) wrote:
> I guess it is mostly fine, but what about the for loop instead of rb_ary_new4() (which is memcpy()).
> ...
The problem is not rb_ary_new4 itself, but that RARRAY_PTR needs to be called before. Since ther...
dbussink (Dirkjan Bussink)
02:35 AM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
dbussink (Dirkjan Bussink) wrote:
> Besides the discussion about the exact approach for the future, is it possible to merge in the originally proposed patch for racc? Or are there any reasons why this can't / should not happen?
I gue...
Eregon (Benoit Daloze)
01:52 AM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
Besides the discussion about the exact approach for the future, is it possible to merge in the originally proposed patch for racc? Or are there any reasons why this can't / should not happen? dbussink (Dirkjan Bussink)
05:37 PM Revision fdae1084 (git): merge revision(s) 39841: [Backport #8115]
* lib/mkmf.rb (install_dirs, with_destdir): prefix with DESTDIR
directories to install only unless bundled extension libraries.
[ruby-core:53502] [Bug #8115]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby...
nagachika (Tomoyuki Chikanaga)
05:24 PM Revision f31a47fd (git): merge revision(s) 41175: [Backport #8502]
* class.c (include_modules_at): invalidate method cache if included
module contains constants
* test/ruby/test_module.rb: add test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41192 b2dd03c8-39d4-4...
nagachika (Tomoyuki Chikanaga)
05:03 PM Revision b41becd2 (git): merge revision(s) 40783 (partially): [Backport #8413]
* win32/Makefile.sub (config.status): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:54 PM Revision d51ef830 (git): merge revision(s) 40913: [Backport #8434]
* intern.h: remove dangling rb_class_init_copy declaration
[ruby-core:55120] [Bug #8434]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:49 PM Revision 4ff3b7cf (git): Revert r41179 "partially revert r41163 because r41173 didn't fix failure"
r41173 is not actually tested; it seems good.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:35 PM Revision 52cdd867 (git): merge revision(s) 41091: [Backport #8415]
* lib/net/imap.rb (capability_response): should ignore trailing
spaces. Thanks, Peter Kovacs. [ruby-core:55024] [Bug #8415]
* test/net/imap/test_imap_response_parser.rb: related test.
git-svn-id: svn+ssh://ci.ruby-...
nagachika (Tomoyuki Chikanaga)
04:21 PM Revision 6340583f (git): merge revision(s) 41184:
Fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:00 PM Revision e3bc7eec (git): * hash.c (rb_hash): Use rb_integer_pack to obtain least significant
long integer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:57 PM Revision 893a8bb6 (git): * 2013-06-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:57 PM Revision 58e67628 (git): Fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:57 PM Revision 633e4949 (git): * numeric.c (rb_num_to_uint): Use rb_absint_size instead of
RBIGNUM_LEN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:41 PM Feature #8422: add Enumerable#reverse_sort and Enumerable#reverse_sort_by
drbrain (Eric Hodel) wrote:
> How do you sort an infinite `Enumerable`?
> ...
I'm not sure what your point is. How is that different from `p Prime.each.sort.take 10`? Moreover, an alternative request could be to add `Array#reverse_sort...
marcandre (Marc-Andre Lafortune)
02:26 PM Revision ceb6d942 (git): fix a typo of r41163
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:25 PM Feature #8430: Rational number literal
different symbol changes the interpretation.
http://www.jaro.in/international-MBA-1-year.html
rohansoni619 (Rohan Soni)
02:20 PM Feature #6242: Ruby should support lists
I think ruby is a LISP.
http://www.jaro.in/international-MBA-1-year.html
rohansoni619 (Rohan Soni)
02:14 PM Revision 5a9984d7 (git): * marshal.c (r_object0): Use rb_integer_unpack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:31 PM Revision 874f10cb (git): * time.c (v2w): Use rb_absint_size instead of RBIGNUM_LEN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:00 PM Revision e431c67e (git): partially revert r41163 because r41173 didn't fix failure
http://ruby-mswin.cloudapp.net/vc10-x64/ruby-trunk/log/20130608T101707Z.log.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:48 PM Revision f1a6b64b (git): * time.c (v2w_bignum): Simplified using rb_integer_pack.
(rb_big_abs_find_maxbit): Removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:05 PM Revision 747894a3 (git): * bignum.c (rb_absint_singlebit_p): New function.
* internal.h (rb_absint_singlebit_p): Declared.
* time.c (v2w_bignum): Use rb_absint_singlebit_p instead of
rb_big_abs_find_minbit.
(rb_big_abs_find_minbit): Removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41177 b2dd03...
akr (Akira Tanaka)
11:25 AM Revision af612be8 (git): * time.c (rb_big_abs_find_maxbit): Use rb_absint_size.
(bdigit_find_maxbit): Removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:48 AM Revision b512e61c (git): * class.c (include_modules_at): invalidate method cache if included
module contains constants
* test/ruby/test_module.rb: add test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Charlie Somerville
10:33 AM Revision 6c5000b5 (git): * random.c (limited_big_rand): declare rnd, lim and mask as uint32_t
to avoid 64 bit to 32 bit shorten warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Charlie Somerville
10:26 AM Revision 1ba82b76 (git): * win32/Makefile.sub: r41163 changed win32/win32.c and configure.in
but it didn't treat about mswin32/mswin64, so fix it.
NOTE: this needs a review by usa whether additional condition is
required or not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:07 AM Revision 14140eb1 (git): * random.c: Unused RBignum internal accessing macros removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:05 AM Revision a76abae5 (git): * random.c (limited_big_rand): The argument, limit, is changed to
VALUE. Use rb_integer_pack and rb_integer_unpack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:09 AM Bug #8501 (Closed): exit code when an exception raised in at_exit hook
=begin
Actual Behaviour:
Running this file:
class MyStupidClass
def self.inspect
raise "LOOOOOL"
end
end
at_exit { p $! }
at_exit { MyStupidClass.nope }
gives a 0 exit code and the following output...
samphippen (Sam Phippen)
08:15 AM Revision 483cbff8 (git): * random.c (make_seed_value): Fix the length given for
rb_integer_unpack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:42 AM Bug #7445: strptime('%s %z') doesn't work
but you can't preserve offset with `mktime`(3).
if you want substring which denote `%z`, you can call `_strptime`.
~~~ruby
DateTime._strptime('0 +0100', '%s %z') #=> {:seconds=>0, :zone=>"+0100", :offset=>3600}
~~~
you told abou...
tadf (tadayoshi funaba)
06:32 AM Bug #7445: strptime('%s %z') doesn't work
tadf (tadayoshi funaba) wrote:
> `DateTime` also does.
> ...
~~~
./test '0 +0100' '%s' '%s %z'
0
0 +0100
~~~
~~~C
#define _XOPEN_SOURCE
#include <stdio.h>
#include <time.h>
int main(int argc, char *argv[]) {
struct tm tm...
felipec (Felipe Contreras)
07:40 AM Revision d35616e6 (git): * bignum.c (rb_integer_unpack): Don't use rb_funcall if possible.
* random.c: Use uint32_t for elements of seed.
(make_seed_value): Use rb_integer_unpack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:01 AM Revision 8a160904 (git): * random.c (rand_init): Add a cast to fix clang compile error:
random.c:410:32: error: implicit conversion loses integer precision:
'size_t' (aka 'unsigned long') to 'int' [-Werror,-Wshorten-64-to-32]
This cast doesn't cause a problem because len is not bigger than
MT_MAX_STATE.
git-svn-id:...
akr (Akira Tanaka)
06:46 AM Revision ccce83c4 (git): * random.c (rand_init): Use rb_integer_pack.
(roomof): Removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:00 AM Revision 90b1a8f4 (git): Remove a trailing space
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:00 AM Revision 0056591f (git): * internal.h (INTEGER_PACK_FORCE_BIGNUM): New flag constant.
* bignum.c (rb_integer_unpack): Support INTEGER_PACK_FORCE_BIGNUM.
* random.c (int_pair_to_real_inclusive): Use
INTEGER_PACK_FORCE_BIGNUM to use rb_big_mul instead of rb_funcall.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41...
akr (Akira Tanaka)
05:59 AM Feature #8469: ABI checker とか導入しませんか
2013年6月8日 4:36 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>>
>> あるいは abi-checker.rb は ruby 本体に入れる想定なのかなぁ。
>> 今から 1.9.3 や 2.0.0 ブランチに入れるのかという話はありますが。
>
> 最初、chkbuildに組み込むところまで、考えてなくてRubyに入れて手動で実行するイメージだったんですが、明らかにchkbuildのほうが...
akr (Akira Tanaka)
05:29 AM Feature #8469: ABI checker とか導入しませんか
>> confname.hというファイルで大量に出ているようなんですが、これは何でしたっけ。
>
> /usr/include/bits/confname.h っぽいですが、なんですかねぇ。

trunk だと、defines.hがunistd.h をincludeするようになったので、C拡張からみると
ruby.h をインクルードした時に定義されるSymbolが増えているということだと思います。

このへんの Severity rankが...
kosaki (Motohiro KOSAKI)
04:53 AM Feature #8469: ABI checker とか導入しませんか
> 入れた commit:
> https://github.com/akr/chkbuild/commit/8fbf082a694938604a8d8275172f3de3284058d6
>
> あるいは abi-checker.rb は ruby 本体に入れる想定なのかなぁ。
> 今から 1.9.3 や 2.0.0 ブランチに入れるのかという話はありますが。

最初、chkbuildに組み込むところまで、考えてなくてRubyに入れて手動で...
kosaki (Motohiro KOSAKI)
05:40 AM Revision 4d6ac811 (git): Re-add removed entries by r41163.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:17 AM Revision 5713c595 (git): win32.c: NET_LUID
* configure.in: check for NET_LUID. header macro varies across
complier versions.
* win32/win32.c: use configured macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:01 AM Revision 6b5be413 (git): * random.c (int_pair_to_real_inclusive): Use rb_funcall instead of
rb_big_mul because rb_integer_unpack can return a Fixnum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:18 AM Revision 8ca1e123 (git): * random.c (int_pair_to_real_inclusive): Use rb_integer_pack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:53 AM Feature #8490: Bring ActiveSupport Enumerable#index_by to core
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> I'd prefer index_by! to raise an exception instead...
! is not used for exception-raising methods in ruby core and stdlib.
> ...
There should be some possibility to merge duplicates lik...
Eregon (Benoit Daloze)
12:50 AM Revision 479b17ed (git): * random.c (int_pair_to_real_inclusive): Use rb_integer_unpack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

06/07/2013

11:12 PM Revision 9ebd008f (git): * random.c (random_load): Use rb_integer_pack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:56 PM Bug #8498 (Feedback): core dump, occurs repeatedly while running tests
=begin RD
We are not espers, so we need the following information to confirm this issue:
* What configure and compile options did you specify to build your ruby?
* How do we reproduce this issue?
=end
mrkn (Kenta Murata)
10:29 PM Feature #8490: Bring ActiveSupport Enumerable#index_by to core
I can't show you my code, but here are some common usage you can find on Github open source code:
https://github.com/dim/plexigrid/blob/6358f11af7806849de756c226791c53f39521efc/rails_plugin/plexigrid/lib/plexi_grid/column_model.rb#L21...
rosenfeld (Rodrigo Rosenfeld Rosas)
09:50 PM Feature #8490: Bring ActiveSupport Enumerable#index_by to core
I'd prefer index_by! to raise an exception instead... What if you know that any duplicate would actually map to the same object?
Also, you can't judge how my ORM should work (anyway, all the ORM I've worked with, both in Ruby, Groovy ...
rosenfeld (Rodrigo Rosenfeld Rosas)
04:40 PM Feature #8490: Bring ActiveSupport Enumerable#index_by to core
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> Eregon (Benoit Daloze) wrote:
> ...
I think your ORM should do it (or you should use a different technique in the code).
In this case it is highly preferable to raise an exception if there ...
Eregon (Benoit Daloze)
10:16 PM Revision 97b5a9c1 (git): Refine error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:16 PM Revision b0f14c8b (git): * random.c (numberof): Removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:01 PM Revision 8bc16423 (git): * random.c: include internal.h.
(mt_state): Use rb_integer_unpack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:56 PM Revision 8ce912bd (git): * bignum.c (integer_pack_loop_setup): word_num_nailbytes_ret argument
removed.
(rb_integer_pack): Follow the above change.
(rb_integer_unpack): Follow the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:39 PM Revision 3dcea601 (git): * bignum.c (validate_integer_pack_format): Renamed from
validate_integer_format.
(integer_pack_loop_setup): Renamed from integer_format_loop_setup.
(integer_pack_fill_dd): Renamed from int_export_fill_dd.
(integer_pack_take_lowbits): Renamed from int_export_take_lowbits.
(integer_unpa...
akr (Akira Tanaka)
03:10 PM Revision dac364db (git): Delete an empty line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:06 PM Feature #6373: public #self
trans (SYSTEM ERROR) wrote:
> Why no answer for: "Why not just public `#self`"? Why add YAMS?
> ...
Because explicit identity element is a VIP of the functional space.
Summary of the discussion thus far + my opinions follow:
Propos...
Anonymous
03:02 PM Revision 860c83a5 (git): * 2013-06-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision f31aed62 (git): * bignum.c (rb_integer_pack): Arguments changed. Use flags to
specify word order and byte order.
(rb_integer_unpack): Ditto.
(validate_integer_format): Follow the above change.
(integer_format_loop_setup): Ditto.
* pack.c: Ditto.
* internal.h: Ditto.
(INTEGER_PACK_MSWORD_FIRST): Defined.
...
akr (Akira Tanaka)
02:53 PM Feature #8469: ABI checker とか導入しませんか
2013年6月7日 2:08 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:

>> 1.9.3 と 2.0.0 はそれぞれの p0 との比較です。
>> ついでに trunk は 2.0.0p0 と比較してみました。
>> (1.8.7 はそろそろ終わるはずなのでやってません)
>
> うを。なんと、もうできたとは。もうこれでいいじゃん!出力想像してたよりも
> ずっと綺麗だし。

そうい...
akr (Akira Tanaka)
02:53 PM Feature #8469: ABI checker とか導入しませんか
2013年6月7日 12:31 Nobuyoshi Nakada <nobu@ruby-lang.org>:

> confname.hというファイルで大量に出ているようなんですが、これは何でしたっけ。

/usr/include/bits/confname.h っぽいですが、なんですかねぇ。
--
[田中 哲][たなか あきら][Tanaka Akira]
akr (Akira Tanaka)
12:53 PM Feature #8469: ABI checker とか導入しませんか
(13/06/07 0:42), Tanaka Akira wrote:
> http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20130606T130700Z.log.html.gz#abi-check
>
> 1.9.3 と 2.0.0 はそれぞれの p0 との比較です。
> ついでに trunk は 2.0.0p0 と比較してみました。

confname.hというファ...
nobu (Nobuyoshi Nakada)
02:23 AM Feature #8469: ABI checker とか導入しませんか
2013/6/6 Tanaka Akira <akr@fsij.org>:
> 2013年6月6日 3:29 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>>
>>> まぁそれはつけるとして、悩みどころは出力かなぁ。
>>>
>>> 今は標準出力に垂れ流したのをひとつのファイルとして記録しているのですが、
>>> HTML ファイルをそのまま標準出力に出すのはよろしくないですよね。
>>>
...
kosaki (Motohiro KOSAKI)
12:53 AM Feature #8469: ABI checker とか導入しませんか
2013年6月6日 3:29 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>
>> まぁそれはつけるとして、悩みどころは出力かなぁ。
>>
>> 今は標準出力に垂れ流したのをひとつのファイルとして記録しているのですが、
>> HTML ファイルをそのまま標準出力に出すのはよろしくないですよね。
>>
>> chkbuild 的に簡単なのは w3m あたりでテキストにして標準出力に出してしまうとい...
akr (Akira Tanaka)
02:22 PM Revision fb4c8c3a (git): * variable.c (rb_const_set): fix missing semicolon.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
01:25 PM Revision 083e7e39 (git): * variable.c (rb_const_set): fix variable type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:17 PM Revision bcd5328c (git): * lib/rubygems/specification.rb (Gem::Specification#to_yaml):
use Gem::NoAliasYAMLTree.create instead of Gem::NoAliasYAMLTree.new
to suppress deprecated warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:41 PM Revision a08b0011 (git): * bignum.c (rb_integer_pack): Renamed from rb_int_export.
(rb_integer_unpack): Renamed from rb_int_import.
* internal.h, pack.c: Follow the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:16 PM Revision 07b72b8c (git): Update comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:06 PM Revision 8f7a3075 (git): * bignum.c (integer_format_loop_setup): Extracted from rb_int_export
and rb_int_import.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:02 PM Feature #8422: add Enumerable#reverse_sort and Enumerable#reverse_sort_by
How do you sort an infinite Enumerable?
~~~
ruby -rprime -e 'p Prime.each.reverse_sort.take 10'
~~~
drbrain (Eric Hodel)
10:49 AM Revision de1b0c96 (git): * bignum.c (validate_integer_format): Extracted from rb_int_export and
rb_int_import.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:37 AM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
I meant `Hash#select` and `Hash#reject` by "the existing methods".
i.e.:
~~~ruby
hash = other_hash.select(:key1, :key2, :key3)
hash = other_hash.reject(:key1, :key2, :key3)
~~~
But `Hash#slice` and `Hash#except` seems fine.
nobu (Nobuyoshi Nakada)
07:53 AM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
On Fri, Jun 7, 2013 at 1:50 AM, Zachary Scott <zachary@zacharyscott.net> wrote:
>> Please update description if the proposal has changed (ie: `Hash#[]`)

I mentioned `Hash#[]` as the reply to nobu's comment #6.
It has not change...
mrkn (Kenta Murata)
03:22 AM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
+1 vipulnsward (Vipul Amler)
12:53 AM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
Yay, +1 for `slice` & `except`
BTW, makes no sense to me if `h[:foo, :bar]` returns keys and values in a
hash while `h[:foo]` returns a value.
---
\<lay trum/\>
claytrump (Clay Trump)
12:38 AM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
prijutme4ty (Ilya Vorontsov) wrote:
> mrkn (Kenta Murata) wrote:
> ...
My proposal primaliry consists of Hash#slice, Hash#except, and bang versions of them.
Hash#[] is optional.
mrkn (Kenta Murata)
12:15 AM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
mrkn (Kenta Murata) wrote:
> nobu (Nobuyoshi Nakada) wrote:
> ...
There was a proposal (can't find it) to make indexing by multiple arguments to work as nested hashes so that `hsh[:a,:b,:c]` works as `(hsh[:a] && hsh[:a][:b] && hsh[:a]...
prijutme4ty (Ilya Vorontsov)
10:24 AM Revision 84d8e582 (git): * bignum.c (rb_absint_size): Use numberof.
(rb_int_export): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:01 AM Revision bd15d4ca (git): * internal.h (numberof): Gathered from various files.
* array.c, math.c, thread_pthread.c, iseq.c, enum.c, string.c, io.c,
load.c, compile.c, struct.c, eval.c, gc.c, parse.y, process.c,
error.c, ruby.c: Remove the definitions of numberof.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
akr (Akira Tanaka)
09:40 AM Revision 8e65ff7e (git): Fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:25 AM Revision e54d7088 (git): * bignum.oc (rb_absint_size): Declare a variable, i, just before used
to suppress a warning.
(rb_int_export): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:41 AM Revision f8cf4370 (git): * bignum.c (rb_absint_size): explicit cast to BDIGIT to avoid implicit
64 bit to 32 bit shortening warning
* bignum.c (rb_int_export): ditto
* bignum.c (int_import_push_bits): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Charlie Somerville
08:31 AM Revision 97b825bd (git): * internal.h (RCLASS_SUPER): use descriptive variable name
* internal.h (RCLASS_SET_SUPER): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Charlie Somerville
07:24 AM Bug #3353 (Closed): Building 32-bit only on Snow Leopard (dylib failed to build)
I maintain the CI for 32-bit OS X.
You can check the result of it in http://rubyci.org/
mrkn (Kenta Murata)
07:22 AM Bug #5538 (Feedback): ruby memory error running minitests
mrkn (Kenta Murata)
06:57 AM Revision e8c6835f (git): fix a typo for r41123
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:57 AM Revision 7f0a2479 (git): fix a typo for r41128
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:45 AM Revision cac2f455 (git): * ext/json/fbuffer/fbuffer.h (fbuffer_append_str): change the place of
RB_GC_GUARD. it should be after the object is used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:25 AM Revision b309a369 (git): * gc.c (before_gc_sweep): noinline can also avoid the segv instead of
-O0 of r41084. this way is expected less slow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:52 AM Revision 83db393e (git): adjust style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:50 AM Revision 5385ae9a (git): * rational.c (numeric_quo): move num_quo in numeric.c to numeric_quo
in rational.c to refer canonicalization state for mathn support.
[ruby-core:41575] [Bug #5736]
* numeric.c (num_quo): ditto.
* test/test_mathn.rb: add a test for the change at r41109.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
Kenta Murata
02:49 AM Revision 0b87f8d4 (git): * gc.c (gc_clear_slot_bits): used only if no RGenGC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:41 AM Revision 147775ac (git): use NUM2SIZET and SIZET2NUM
* configure.in: revert r41106. size_t may not be unsigned
* bignum.c (rb_absint_size_in_word, rb_int_export, rb_int_import): use
NUM2SIZET() and SIZET2NUM() already defined in ruby/ruby.h.
* ext/-test-/bignum/export.c (rb_int_export...
nobu (Nobuyoshi Nakada)
02:36 AM Revision 432321d7 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:32 AM Revision f37d0629 (git): * gc.c: use oldgen bitmap as initial mark bitmap when mijor gc.
so can skip oldgen bitmap check around mark & sweep.
* gc.c (slot_sweep_body): change scan algorithm for performance:
from object's pointer base to bitmap one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41128 ...
Masaya Tarui
02:28 AM Revision 1f23dca9 (git): * gc.c: introduce oldgen bitmap for preparing performance tuning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masaya Tarui
02:25 AM Revision 5a06ae3b (git): * gc.c (MARKED_IN_BITMAP, MARK_IN_BITMAP, CLEAR_IN_BITMAP): bring
bitmap macros in one place, and introduce BITMAP_BIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masaya Tarui
02:21 AM Revision 2af3621a (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:20 AM Revision 7185eac5 (git): * array.c (ary_new): change order of allocation in order
to remove FL_OLDGEN operation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masaya Tarui
02:18 AM Revision b1bbe884 (git): * tool/rdocbench.rb: add gc total time infomation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masaya Tarui
01:23 AM Revision f1a8f228 (git): typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
01:17 AM Revision e7dfa869 (git): * gc.c: remove "Sunny" terminology.
"Sunny" doesn't mean antonym of "Shady" (questionable, doubtful, etc).
Instead of "Suuny", use "non-shady" or "normal".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
12:29 AM Revision 3ebd1ff0 (git): * bignum.c (rb_int_import): explicitly casting BDIGIT_DBL to BDIGIT
to prevent warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata

06/06/2013

11:05 PM Revision a8c4a952 (git): Arguments renamed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:05 PM Revision e0bb10be (git): Fix the class name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:45 PM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
+1 rosenfeld (Rodrigo Rosenfeld Rosas)
10:43 PM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
mrkn (Kenta Murata) wrote:
> I think `Hash#[]` with the multiple arguments can be an alternative of `Hash#slice`.
`Hash#[]` should return the values, not the pairs.
nobu (Nobuyoshi Nakada)
05:20 PM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
+1 Anonymous
05:10 PM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
nobu (Nobuyoshi Nakada) wrote:
> Or enhance the existing methods?
I think `Hash#[]` with the multiple arguments can be an alternative of `Hash#slice`.
mrkn (Kenta Murata)
04:59 PM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
Or enhance the existing methods? nobu (Nobuyoshi Nakada)
04:51 PM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
I could fix the description. mrkn (Kenta Murata)
04:28 PM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
zzak (Zachary Scott) wrote:
> Hello,
> ...
Yes, It's my mistake!
How can I edit the issue description?
mrkn (Kenta Murata)
04:23 PM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
Hello,
On Thu, Jun 6, 2013 at 4:12 PM, mrkn (Kenta Murata) <muraken@gmail.com> wrote:
> On Rails, they can be written in the following forms by using ActiveSupport's features.
> ...
Do you mean "`other_hash.except(...)`"? There is a...
zzak (zzak _)
04:13 PM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
+1 sorah (Sorah Fukumori)
04:12 PM Feature #8499 (Closed): Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
According to my experiences, the following two idioms often appeare in application codes.
1. `hash = other_hash.select { |k, | [:key1, :key2, :key3].include? k }`
2. `hash = other_hash.reject { |k, | [:key1, :key2, :key3].include? k ...
mrkn (Kenta Murata)
10:31 PM Bug #5736 (Closed): Numeric#quo should convert with #to_r
This issue was solved with changeset r41109.
John, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* numeric.c (num_quo): Use to_r method to convert the receiver to...
mrkn (Kenta Murata)
10:31 PM Revision d1f3d41f (git): * internal.h (rb_int_export): countp argument is split into
wordcount_allocated and wordcount.
* bignum.c (rb_int_export): Follow the above change.
* pack.c (pack_pack): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:18 PM Revision 7ba52b04 (git): * NEWS: describe a compatibility issue of Numeric#quo
introduced at r41109.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
10:16 PM Revision b465a2b4 (git): * NEWS: fix style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
09:49 PM Revision 896619c7 (git): * numeric.c: remove unused ID id_to_r introduced in r41109.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
09:21 PM Revision 3d8f6f1e (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:20 PM Revision a3b833c0 (git): * 2013-06-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:20 PM Revision c9c67d2f (git): * bignum.c (rb_int_import): New function.
(int_import_push_bits): Ditto.
* internal.h (rb_int_import): Declared.
* pack.c (pack_unpack): Use rb_int_import for BER compressed integer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:29 PM Feature #8468: Remove $SAFE
Hi,

I use $SAFE in ActiveScriptRuby (IActiveScript interface for ruby) for
implementing IObjectSafety interface (Ixxx is defined by Component
Object Model specification but I think it's not your concern so I don't
describe it...
arton (Akio Tajima)
07:35 PM Bug #8500 (Closed): date_core testing address not value of variable on stack
coding error;
but, it seems to lack effects.
thanks.
tadf (tadayoshi funaba)
05:09 PM Bug #8500 (Closed): date_core testing address not value of variable on stack
=begin
This line appears ten times in date_core.c:
decode_year(y, ns ? -1 : +1, &nth2, ry);
The type of ns is int*, and it seems to always be populated with the address of a stack variable, with the effect that the condition is ...
teleological (Riley Lynch)
03:54 PM Feature #8497: private, protected, private_constなどがブロックを受け取るようにする
headius が反対しているという事実を指摘しておきます。 [ruby-core:47572]
卜部は英語として読み下した時の違和感が気になります。 [ruby-core:47556]
shyouhei (Shyouhei Urabe)
02:42 PM Bug #8313 (Third Party's Issue): rubygem 2.0 can't communicate with remote sources http://rubygems.org/
Closed per author's request. drbrain (Eric Hodel)
02:40 PM Revision 64ed7df5 (git): vm_method.c: change argument of set_visibility
* vm_method.c (set_visibility): use rb_method_flag_t as well as
set_method_visibility() and rename argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:31 PM Revision 7708560b (git): * numeric.c (num_quo): Use to_r method to convert the receiver to
rational. [ruby-core:41575] [Bug #5736]
* test/ruby/test_numeric.rb: add a test for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
01:01 PM Revision b1411888 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:58 PM Revision 58eac249 (git): Specify dependencies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:23 PM Feature #3753: value of def-expr
RubyKaigiのたびに思い出されるネタなわけですが、そういうわけで再浮上。 usa (Usaku NAKAMURA)
11:57 AM Revision 9fea8758 (git): * configure.in: Invoke RUBY_REPLACE_TYPE for size_t.
Don't invoke RUBY_CHECK_PRINTF_PREFIX for size_t to avoid conflict
with RUBY_REPLACE_TYPE.
* internal.h (rb_absint_size): Declared.
(rb_absint_size_in_word): Ditto.
(rb_int_export): Ditto.
* bignum.c (rb_absint_size): New functio...
akr (Akira Tanaka)
10:33 AM Revision c247e628 (git): * ext/date/date_core.c: fixed coding error [ruby-core:55337].
reported by Riley Lynch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
10:04 AM Bug #5515 (Closed): Integer#quo(aFloat) の結果が Rational になる
This issue was solved with changeset r41099.
tadayoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* numeric.c (num_quo): should return a Float for a Float arg...
mrkn (Kenta Murata)
06:54 AM Feature #6373: public #self
laise (Alexey Chernenkov) wrote:
> Quote: "I think that tap method can be improved to be used without block yielding self."
> ...
Because it's called "tap." Tap doesn't "return self", it taps into an execution flow, extracting an inte...
phluid61 (Matthew Kerwin)
02:45 AM Feature #6373: public #self
Quote: "I think that tap method can be improved to be used without block yielding self."
+1
It is a VERY usefull feature! Can't understand why #tap still need to be used with block only.
laise (Alexey Chernenkov)
05:18 AM Revision fbece268 (git): * ext/objspace/object_tracing.c: rename allocation_info to
lookup_allocation_info. At times I confused "struct
allocation_info" with "function allocation_info".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
authorNari (Narihiro Nakamura)
05:10 AM Revision 15d26c3f (git): * ext/objspace/object_tracing.c: allocation_info function isn't
called by any other file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
authorNari (Narihiro Nakamura)
04:53 AM Revision 68abc248 (git): Remove empty directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
03:29 AM Feature #8469: ABI checker とか導入しませんか
>>> 比較対象を用意しないといけないのが面倒くさそうでほったらかしてたんですが。
>>
>> それが受け入れられないとするとglibc みたいに公開するシンボルを全部別ファイルに記述させて、
>
> 別に受け入れられないことはなくて、おっくう、くらいの感じです。

なるほど。じゃあ、いちど今提案している比較方式で走ってみて問題が多いようなら
再議論ということで。


> で、試してみたんですが、--enable-shared ...
kosaki (Motohiro KOSAKI)
03:00 AM Revision 907e3885 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:27 AM Revision 37fe2987 (git): vm_method.c: top_private rdoc
* vm_method.c (top_private): copy rdoc from top_public.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:25 AM Feature #8490: Bring ActiveSupport Enumerable#index_by to core
Eregon (Benoit Daloze) wrote:
> The name does not indicate clearly what it does (which is chosen if multiple yield the same key) and it is a possibly lossy operation. Can you give a couple examples where it is much better than #group_by...
rosenfeld (Rodrigo Rosenfeld Rosas)
12:27 AM Feature #8490: Bring ActiveSupport Enumerable#index_by to core
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> And what is wrong with the semantics?
The name does not indicate clearly what it does (which is chosen if multiple yield the same key) and it is a possibly lossy operation. Can you give a ...
Eregon (Benoit Daloze)
12:18 AM Feature #8490: Bring ActiveSupport Enumerable#index_by to core
I don't see any issues with index_by, but how about map_by? And what is wrong with the semantics? rosenfeld (Rodrigo Rosenfeld Rosas)
12:16 AM Feature #8490: Bring ActiveSupport Enumerable#index_by to core
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> if you read index as a name, then you're correct, but in index_by it is a verb, meaning that you're indexing an enumerable by something, by transforming it on a hash indexed by that something...
Eregon (Benoit Daloze)
01:04 AM Revision febc42d0 (git): * numeric.c (num_quo): should return a Float for a Float argument.
[ruby-dev:44710] [Bug #5515]
* test/ruby/test_fixnum.rb: Add an assertion for the above change.
* test/ruby/test_bignum.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
12:25 AM Bug #8498 (Third Party's Issue): core dump, occurs repeatedly while running tests
Process: ruby [42772]
Path: /Users/USER/*/ruby
Identifier: ruby
Version: 0
Code Type: X86-64 (Native)
Parent Process: fish [469]
User ID: 502
Date/Time: 2013-06-05 17:14:28.22...
mdemare (Michiel de Mare)
12:05 AM Bug #8496 (Closed): String#b does not check the code range properly
This issue was solved with changeset r41092.
Akinori, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c (String#b): Allow code range scan to happen later s...
knu (Akinori MUSHA)

06/05/2013

11:53 PM Feature #8490: Bring ActiveSupport Enumerable#index_by to core
if you read index as a name, then you're correct, but in index_by it is a verb, meaning that you're indexing an enumerable by something, by transforming it on a hash indexed by that something... Please reconsider. rosenfeld (Rodrigo Rosenfeld Rosas)
09:15 AM Feature #8490 (Rejected): Bring ActiveSupport Enumerable#index_by to core
I don't think "index" is a proper term here. Array#index, Enumerable#find_index, Enumerable#with_index all treat "index" as an offset to an item in the enumerables. Whereas this method (index_by) is not related to offsets.
Matz.
matz (Yukihiro Matsumoto)
01:30 AM Feature #8490 (Rejected): Bring ActiveSupport Enumerable#index_by to core
It seems to be a common sense to have the useful implementation of Enumerable#index_by as in ActiveSupport.
index_by acts like group_by but only maps a single record, instead of an array, keeping the last match only. It's usually used...
rosenfeld (Rodrigo Rosenfeld Rosas)
11:26 PM Feature #8497 (Rejected): private, protected, private_constなどがブロックを受け取るようにする
RubyKaigi 2013のときにまつもとさんと話したことをチケットにします。
先に提案を書きます。
`private`, `protected`, `private_const`など可視性を変更するメソッドがブロックを受け取るようにして、そのブロック内の可視性を変更するようにしてはどうか。
例:
~~~ruby
private do
def some_private_method
end
end
def some_pub...
kou (Kouhei Sutou)
11:13 PM Bug #8496: String#b does not check the code range properly
coderange_scan may cost too much time, so commit it with ENC_CODERANGE_CLEAR(str);. naruse (Yui NARUSE)
09:41 PM Bug #8496: String#b does not check the code range properly
A patch is attached.
This problem also applies to ruby_2_0_0.
knu (Akinori MUSHA)
09:35 PM Bug #8496 (Closed): String#b does not check the code range properly
Currently "abc".b.ascii_only? returns false, which should be true. knu (Akinori MUSHA)
10:23 PM Feature #6065: Allow Bignum marshalling/unmarshalling from C API
2012/2/25 Yusuke Endoh <mame@tsg.ne.jp>:

> I agree with akr; Martin's proposal depends on the type long, which
> is not "portable" enough. For designing the APIs, I think we should
> refer gmplib, which is a giant in this area...
akr (Akira Tanaka)
09:53 PM Bug #8495: include/ruby/win32.h assumes that __STRICT_ANSI__ isn’t set
On Wed, Jun 5, 2013 at 11:20 AM, luislavena (Luis Lavena)
<luislavena@gmail.com> wrote:
>
> Issue #8495 has been updated by luislavena (Luis Lavena).
>
> Status changed from Open to Feedback
>
> Hello Nikolai,
>
> Than...
Anonymous
06:20 PM Bug #8495 (Feedback): include/ruby/win32.h assumes that __STRICT_ANSI__ isn’t set
Hello Nikolai,
Thanks for the report.
Can you provide us with a concrete example where this issue is happening?
Also, seems you've already dig into this to provide this feedback, any particular resolution suggestion?
luislavena (Luis Lavena)
06:18 PM Bug #8495 (Closed): include/ruby/win32.h assumes that __STRICT_ANSI__ isn’t set
Hi!
include/ruby/win32.h assumes that __STRICT_ANSI__ isn’t set when it uses _controlfp() in rb_w32_pow(). This isn’t the case if you give, for example, -std=c99 to gcc. If __STRICT_ANSI__ is set, float.h won’t define _controlfp(), ...
now (Nikolai Weibull)
09:38 PM Bug #8488: Refactor rbinstall.rb for maintenance, clarity, reuse
I have filed a pull request with RubyGems to better support default gems: https://github.com/rubygems/rubygems/pull/566
The existing format in MRI 2.0 remains supported, but would be deprecated in favor of using unmodified gemspecs fr...
headius (Charles Nutter)
04:26 PM Feature #8494 (Open): Safe method for defensive copies. alternative to 'dup'
As a developer
I want a simple method that will return a "safe" version of my object
So I can make defensive copies easily and safely
This is related to issue 1844: http://www.ruby-forum.com/topic/3650325
I have tried using 'du...
ellipsoid (Andrew Northrop)
04:16 PM Revision b43d6331 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:15 PM Revision 3a17a592 (git): * gc.c (gc_mark): get rid of pushing useless objests.
* gc.c (rgengc_rememberset_mark): bypass gc_mark() in order to push
sunny old object at minor gc.
* gc.c (gc_mark_children): move sunny old check to gc_mark().
* gc.c (rgengc_check_shady): remove DEMOTE that alr...
Masaya Tarui
04:01 PM Revision 2b78c325 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:57 PM Revision 5d10f351 (git): * gc.c (rgengc_rememberset_mark): change scan algorithm for performance:
from object's pointer base to bitmap one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masaya Tarui
03:32 PM Revision 6e4cfd94 (git): * win32/win32.c (NET_LUID): define it on MinGW32.
mingw-w64 has NET_LUID but mingw32 (mingw.org) still doesn't have
NET_LUID. reported by taco on IRC
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:05 PM Revision dcd8cdbf (git): * 2013-06-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:05 PM Revision 91538a38 (git): * string.c (String#b): Allow code range scan to happen later so
ascii_only? on a result string returns the correct value.
[ruby-core:55315] [Bug #8496]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:02 PM Bug #8493 (Closed): Random Segmentation fault in sass
Hi,
Unfortunately I do not have a good repro for this. It happens several times a day on our Ubuntu 12.04 build agents during a sprockets asset precompile. Most precompiles go just fine. This has happened with old versions of ruby as ...
aaronjensen (Aaron Jensen)
01:44 PM Revision 61b8250a (git): * lib/net/imap.rb (capability_response): should ignore trailing
spaces. Thanks, Peter Kovacs. [ruby-core:55024] [Bug #8415]
* test/net/imap/test_imap_response_parser.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
12:45 PM Bug #8492 (Closed): ObjectSpace.after_gc_start_hook aborts with GC.stress
以下を実行すると assert(during_gc > 0) に失敗して abort します。
ruby -robjspace -e'ObjectSpace.after_gc_start_hook=proc{};GC.stress=true;{}'
gc.c:3818 の
gc_event_hook(objspace, RUBY_INTERNAL_EVENT_GC_START, 0 /* TODO: pass minor/immediate flag? */);...
naruse (Yui NARUSE)
12:17 PM Revision 13bba43d (git): * bignum.c (big_fdiv): Use nlz() instead of bdigbitsize().
(bdigbitsize): Removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:53 AM Revision 4a97761c (git): add description of test in comment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:35 AM Revision 27e92c66 (git): * include/ruby/ruby.h: fix alignment in comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
11:32 AM Revision 3264042e (git): add parentheses for clarity
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Charlie Somerville
11:27 AM Feature #7022 (Closed): add event hook for garbage collection
Fixed at r40940.
(ticket is here: https://bugs.ruby-lang.org/issues/8107)
Thank you.
authorNari (Narihiro Nakamura)
11:07 AM Revision 99638b5d (git): * random.c (int_pair_to_real_inclusive): Add a cast to BDIGIT.
(random_load): Fix shift width for fixnums.
Re-implement bignum extraction without ifdefs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:53 AM Feature #8469: ABI checker とか導入しませんか
2013年6月4日 15:26 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:

>> 比較対象を用意しないといけないのが面倒くさそうでほったらかしてたんですが。
>
> それが受け入れられないとするとglibc みたいに公開するシンボルを全部別ファイルに記述させて、

別に受け入れられないことはなくて、おっくう、くらいの感じです。

で、試してみたんですが、--enable-shared が必...
akr (Akira Tanaka)
07:25 AM Bug #8485: Incorrect period index for Gregorian Dates at beginning of each CM_PERIOD
different alignments are intentional.
nearly all parts don't require normalized nth and jd.
however, <=> is an exception.
thanks.
tadf (tadayoshi funaba)
06:36 AM Revision 3fb267e5 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:31 AM Revision c0089b4d (git): use attribute is more simple way for r41083
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:27 AM Revision 77857bfc (git): * gc.c (before_gc_sweep): don't optimize it to avoid segv on Ubuntu
10.04 gcc 4.4.
http://u32.rubyci.org/~chkbuild/ruby-trunk/log/20130527T190301Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:38 AM Revision 6ef15ce5 (git): merge revision(s) 40887,40888,40894,40896: [Backport #8431]
* win32/win32.c (setup_overlapped, finish_overlapped): extract from
rb_w32_read() and rb_w32_write().
* win32/win32.c (setup_overlapped): check the error code in addition
to the result of SetFilePointer() to ...
U.Nakamura
01:43 AM Revision 2ae30c3f (git): * tool/mkrunnable.rb: fix for native mswin compile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:48 AM Revision 0094cd8c (git): * test/fileutils/test_fileutils.rb (TestFileUtils#test_mkdir): add
EACCES for Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:33 AM Feature #7510 (Closed): irb --help が古い
This issue was solved with changeset r41071.
Sho, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/irb/lc/ja/help-message: update help messages.
following r4...
ayumin (Ayumu AIZAWA)

06/04/2013

11:52 PM Bug #8303 (Assigned): YAML does not persist Exception#backtrace
ayumin (Ayumu AIZAWA)
11:47 PM Bug #8487 (Closed): Fix documentation for Hash(nil)
This issue was solved with changeset r41066.
Stefan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c (rb_Hash): fix docs. patched by Stefan Schüßler.
[...
ayumin (Ayumu AIZAWA)
09:12 PM Bug #8487 (Closed): Fix documentation for Hash(nil)
=begin
(({Kernel#Hash(nil)})) returns (({{}})) as said in the documentation: ((*"Returns an empty Hash when arg is nil or []."*)) The example however shows a return value of (({nil})).
=end
sos4nt (Stefan Schüßler)
11:37 PM Bug #8488: Refactor rbinstall.rb for maintenance, clarity, reuse
Here is a first pass breaking rbinstall.rb into a set of component libraries and reducing the use of global state. Starting to look a bit more like a library, which I think is what we want.
There's no functionality change in this patc...
headius (Charles Nutter)
09:27 PM Bug #8488 (Rejected): Refactor rbinstall.rb for maintenance, clarity, reuse
tool/rbinstall.rb is used to install many parts of Ruby at "make install" time, but it has grown to a rather cumbersome size. It also houses some logic that could/should be reused by other implementations, like the default gem installati... headius (Charles Nutter)
11:15 PM Revision 14ec81b0 (git): * bignum.c (rb_big_pow): Don't need to multiply SIZEOF_BDIGITS.
Use nlz instead of bitlength_bdigit.
(bitlength_bdigit): Removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:23 PM Bug #8486: Random segmentation fault
Can you reproduce without rails and ruby 2.0.0-p195

On Tuesday, June 4, 2013, manudwarf (Emmanuel Bourgerie) wrote:

>
> Issue #8486 has been updated by manudwarf (Emmanuel Bourgerie).
>
>
> I forgot to mention : I trie...
zzak (zzak _)
08:33 PM Bug #8486: Random segmentation fault
I forgot to mention : I tried with ruby 2.0.0 and updated bundle, changed nothing... manudwarf (Emmanuel Bourgerie)
08:19 PM Bug #8486 (Closed): Random segmentation fault
Hello,
Before starting, this is my first bug report here, feel free to tell me if I need to add/modify anything.
I came across a weird segmentation fault, and I apologies for not being able to be more precise about what is happenin...
manudwarf (Emmanuel Bourgerie)
10:18 PM Revision 4eabe819 (git): * ext/date/date_core.c (d_lite_cmp, d_lite_equal): simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
10:09 PM Revision 551bcc63 (git): * ext/date/date_core.c: fixed a bug [ruby-core:55295]. reported
by Riley Lynch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
09:54 PM Revision 091c24d5 (git): * lib/rubygems: Update to RubyGems 2.0.3
* test/rubygems: Tests for the above.
* NEWS: Added RubyGems 2.0.3 note.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
09:35 PM Revision 0454c0a2 (git): * doc/marshal.rdoc: Add description of Marshal format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
09:32 PM Feature #8461: Easy way to disable certificate checking in XMLRPC::Client
Thanks for accepting it.
I'll check this and other XMLRPC related tickets. (I go traveling in this week.)
kou (Kouhei Sutou)
02:06 AM Feature #8461: Easy way to disable certificate checking in XMLRPC::Client
The new maintainer accepted.
Matz.
matz (Yukihiro Matsumoto)
04:16 PM Revision ed318080 (git): * array.c (Array#+): fix documentation example.
Patch by Logan Serman. [Fixes GH-324]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
03:56 PM Feature #8478: The hash returned by Enumerable#group_by should have an empty array for its default value
duerst (Martin Dürst) wrote:
> I don't think I agree with the proposer. The example looks good, but what about something like:
> ...
I certainly didn't intend for the default value to have some idea of the type of comparison done by th...
phiggins (Pete Higgins)
03:51 PM Feature #8478: The hash returned by Enumerable#group_by should have an empty array for its default value
marcandre (Marc-Andre Lafortune) wrote:

> First of, it's a really bad idea to set the default of a hash to a mutable object:
Yes, I didn't consider the problem of returning the same array for every key, and that would have to be c...
phiggins (Pete Higgins)
03:52 PM Bug #8485 (Closed): Incorrect period index for Gregorian Dates at beginning of each CM_PERIOD
=begin
In Ruby 1.9-2.0 date_core, the year and chronological Julian day of a Date are stored as offsets from an indexed period relative to 0j, -4712-01-01 in the Julian calendar. Each period consists of exactly 194,796 Julian years, i.e...
teleological (Riley Lynch)
03:44 PM Revision cc94db60 (git): merge revision(s) 41014: [Backport #8467]
* ext/zlib/zlib.c (gzfile_read, gzfile_read_all, gzfile_getc),
(gzreader_gets): check EOF. [ruby-core:55220] [Bug #8467]
* ext/zlib/zlib.c (gzfile_read, gzfile_read_all, gzfile_getc),
(gzreader_gets): check ...
nagachika (Tomoyuki Chikanaga)
03:34 PM Revision 21538b21 (git): merge revision(s) 39899:
* test/ruby/test_require.rb: Remove temporally files in the tests.
* test/ruby/test_rubyoptions.rb: Ditto.
* test/logger/test_logger.rb: Ditto.
* test/psych/test_psych.rb: Ditto.
* test/readline/test_r...
nagachika (Tomoyuki Chikanaga)
03:33 PM Revision ee9c279e (git): * lib/irb/lc/ja/help-message: update help messages.
following r41028. [ruby-dev:46707] [Feature #7510]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ayumin (Ayumu AIZAWA)
03:29 PM Feature #8469: ABI checker とか導入しませんか
>> CI って誰に相談すればいいんですかね。今のツールだと比較対象のバイナリまたは
>> ABI情報をぶっこぬいたXMLファイル群をtarアーカイブしたものを比較対象として
>> どこかにおいておかないといけなくて、1.9.3だとp0からはもう差異があるのはわかってるので
>> 最新のパッチリリースをCIに置きたいところなんですけど。
>
> 誰に、といわれると chkbuild に関しては私でしょうが、
> 後でちょっと見てみます。
>...
kosaki (Motohiro KOSAKI)
02:29 PM Feature #8469: ABI checker とか導入しませんか
2013年6月4日 14:23 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>
> CI って誰に相談すればいいんですかね。今のツールだと比較対象のバイナリまたは
> ABI情報をぶっこぬいたXMLファイル群をtarアーカイブしたものを比較対象として
> どこかにおいておかないといけなくて、1.9.3だとp0からはもう差異があるのはわかってるので
> 最新のパッチリリースをCIに置きたいところなんですけ...
akr (Akira Tanaka)
02:29 PM Feature #8469: ABI checker とか導入しませんか
> CIに組み込んでもらえるとちょー助かる感じですぅ

CI って誰に相談すればいいんですかね。今のツールだと比較対象のバイナリまたは
ABI情報をぶっこぬいたXMLファイル群をtarアーカイブしたものを比較対象として
どこかにおいておかないといけなくて、1.9.3だとp0からはもう差異があるのはわかってるので
最新のパッチリリースをCIに置きたいところなんですけど。
kosaki (Motohiro KOSAKI)
02:00 PM Feature #8469: ABI checker とか導入しませんか
CIに組み込んでもらえるとちょー助かる感じですぅ usa (Usaku NAKAMURA)
03:10 PM Revision a76f5eb0 (git): * 2013-06-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:10 PM Revision 5eab13c3 (git): * marshal.c (r_object0): Generalize a round up expression.
Use BDIGIT instead of int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:09 PM Revision 0c91b249 (git): merge revision(s) 40925: [Backport #8451]
* dir.c (bracket): fix copy-paste error. When the first and last
characters of fnmatch range have different length, fnmatch may
have wrongly matched a path that does not really match.
Coverity Scan found th...
nagachika (Tomoyuki Chikanaga)
03:05 PM Revision 28b78663 (git): merge revision(s) 40920: [Backport #8450]
* string.c (rb_str_quote_unprintable): check if argument is a string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:47 PM Revision aff64b94 (git): * object.c (rb_Hash): fix docs. patched by Stefan Schüßler.
[ruby-core:55299] [Bug #8487]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ayumin (Ayumu AIZAWA)
02:47 PM Revision 90490d67 (git): merge revision(s) 39637,40900: [Backport #8440]
load.c: reorder conditions
* load.c (loaded_feature_path): reorder conditions so simple
comparision comes first.
* load.c (loaded_feature_path): fix invalid read by index underflow.
the beginning of name is a...
nagachika (Tomoyuki Chikanaga)
02:34 PM Revision 205b5c9c (git): merge revision(s) 40915: [Backport #8448]
* variable.c (set_const_visibility): use rb_frame_this_func() instead
of rb_frame_callee() for getting the name of the called method
* test/ruby/test_module.rb: add test for private_constant with no args
git-svn-id: ...
nagachika (Tomoyuki Chikanaga)
02:30 PM Revision 2392c12b (git): merge revision(s) 40992: [Backport #8040]
* vm_insnhelper.c (vm_callee_setup_keyword_arg,
vm_callee_setup_arg_complex): consider a hash argument for keyword
only when the number of arguments is more than the expected
mandatory parameters. [ruby-cor...
nagachika (Tomoyuki Chikanaga)
02:17 PM Revision 5f55e23f (git): * lib/irb/completion.rb: Use %w literal construction for long lists.
Patch by Dave Goodchild. [Fixes GH-299]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
02:09 PM Revision 71b6077a (git): * ext/objspace/objspace.c: improve wording and remove duplicated comment.
Based on a patch by Dave Goodchild. [Fixes GH-299]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
12:33 PM Bug #8484 (Closed): Restoring conditions through the ruby method call during VM processing
r41041 で、ブロック呼び出し前の VM 内の処理中に Ruby のメソッドが何らかの理由で呼ばれると argv が壊れるという問題を直しました。
具体的には、
~~~ruby
y = Object.new
def y.s(a)
yield(a)
end
m = Object.new
def m.method_missing(*a)
super
end
assert_equal [m, nil], y.s(m){|a,b|[a,b]...
naruse (Yui NARUSE)
11:27 AM Bug #5774: [PATCH] xmlrpc client handling cookies
This was lib/xmlrpc/client.rb, please check it zzak (zzak _)
10:12 AM Feature #8481: Module#using
boris_stitnicky (Boris Stitnicky) wrote:
> Then, if it works lexically, it is not a function of Module, but of ... of ... Kernel? If it modified the module logically, it would be Module's concern. But like this, it is a concern of the i...
shugo (Shugo Maeda)
08:23 AM Feature #8481: Module#using
As I already told you, I can accept (or even encourage) this change.
I am interested in how implementers of other Ruby.
Matz.
matz (Yukihiro Matsumoto)
12:05 AM Feature #8481: Module#using
Then, if it works lexically, it is not a function of Module, but of ... of ... Kernel? If it modified the module logically, it would be Module's concern. But like this, it is a concern of the interpreter, imao. Something like "private". ... Anonymous
09:42 AM Revision d8930828 (git): * bignum.c (bitlength_bdigit): Fix an off-by-one error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:23 AM Revision 5c113844 (git): adjust style
* process.c (rb_execarg_get): adjust style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:01 AM Bug #8483 (Closed): SEGV under high concurrency
Follow a few segfaults from /var/log/messages https://gist.github.com/plentz/5701752
I'm using sidekiq at my production servers and the ruby process dies with a segfault constantly(it's dying constantly since the last 2 weeks). I'm us...
diego.plentz (Diego Plentz)
06:37 AM Revision 1699396f (git): * ext/bigdecimal/lib/bigdecimal/util.rb (Float#to_d): fix the number
of figures. Patch by Vipul A M <vipulnsward@gmail.com>.
https://github.com/ruby/ruby/pull/323 fix GH-323
* test/bigdecimal/test_bigdecimal_util.rb: fix for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41058 b...
Kenta Murata
04:55 AM Bug #8482 (Closed): native rake gem has broken path
`which rake` has the result /usr/bin/rake but when I try
rake
it fails with the following error
/usr/bin/rake:23:in `load': cannot load such file -- /usr/lib/ruby/gems/2.0.0/gems/rake-0.9.6/bin/rake (LoadError)
from /us...
dknight (Amitav Mohanty)
03:47 AM Revision dd87e463 (git): Add more comment about r41041
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:49 AM Feature #8462: Module.remove_const inconsistant naming
(Sorry for the duplicate post, this one can be deleted)
kyledecot (Kyle Decot) wrote:
> I understand that it's a dangerous operation but how does naming it inconsistently make any less so other than making it difficult to find in the do...
kyledecot (Kyle Decot)
02:42 AM Feature #8462: Module.remove_const inconsistant naming
I understand that it's a dangerous operation but how does naming it inconsistently make any less so other than making it difficult to find in the documentation? The fact that it's a private method I would think should be protection enoug... kyledecot (Kyle Decot)
12:12 AM Feature #8053: Make coercion if #=== operator doesn't know what to do
Sorry, Ilya, I already did some thinking, but didn't finish that flex-coerce yet. Anonymous

06/03/2013

10:58 PM Feature #8481 (Closed): Module#using
As I said at RubyKaigi2013, refinements in Ruby 2.0 have a problem that it's impossible to use incompatible refinements in the same file.
And at RubyKaigi, I've proposed the new option using: of instance_eval, by which you can activate ...
shugo (Shugo Maeda)
06:29 PM Feature #8478: The hash returned by Enumerable#group_by should have an empty array for its default value
There are always different ways to work with hash:
counters = Hash.new{|h,k| 0}
list.each{|e| counters[e]+=1}
some_thing_count = counters[some_thing]
compared to
counters = {}
list.each{|e| counters[e] = (...
funny_falcon (Yura Sokolov)
03:57 PM Feature #8478: The hash returned by Enumerable#group_by should have an empty array for its default value
I don't think I agree with the proposer. The example looks good, but what about something like:
a = [1, 2, 3, "a", "b"]
g = a.group_by {|o| o.class }
puts "Fixnums: #{g[Fixnum].size}"
puts "Strings: #{g[String].size}"
puts "Zero...
duerst (Martin Dürst)
01:40 PM Feature #8478: The hash returned by Enumerable#group_by should have an empty array for its default value
Right, that the behavior is changing and that this could break existing code. It might have been an interesting idea at the time `group_by` was introduced, but I doubt that Matz will feel the change is compelling enough to break compatib... marcandre (Marc-Andre Lafortune)
12:18 PM Feature #8478: The hash returned by Enumerable#group_by should have an empty array for its default value
@marcandre: What do you mean by incompatibility? That the behavior is not the same as before, or something deeper? Anonymous
05:08 AM Feature #8478: The hash returned by Enumerable#group_by should have an empty array for its default value
I understand the idea, but there are problems with this.
First of, it's a really bad idea to set the default of a hash to a mutable object:
a = [1, 2, 3, "a", "b"]
g = a.group_by {|o| o.class }
g[Array] << [:foo]
...
marcandre (Marc-Andre Lafortune)
04:37 AM Feature #8478 (Assigned): The hash returned by Enumerable#group_by should have an empty array for its default value
Without this patch, nil checks might need to be done on the return value of Enumerable#group_by:
$ cat test_group_by.rb
a = [1, 2, 3, "a", "b"]
g = a.group_by {|o| o.class }
puts "Fixnums: #{g[Fixnum].size}"
puts "Strings: #{g[...
phiggins (Pete Higgins)
06:15 PM Feature #8053 (Rejected): Make coercion if #=== operator doesn't know what to do
Objects except for numbers does not have coerce protocol. I am not sure how far OP wants to dig in.
Design and implement coerce protocol? Or special kind of coercion for case statement?
In that sense, this proposal is half-baked.
...
matz (Yukihiro Matsumoto)
05:24 PM Feature #8468: Remove $SAFE
I agree with charliesome that sandboxing is best handled by the running system, and not as a language feature. Still, I think we can include support for such facilities (where they are available) in a standardized way. Might I suggest so... jballanc (Joshua Ballanco)
03:49 PM Revision e377d3bb (git): merge revision(s) 40887,40888,40894,40896: [Backport #8431]
* win32/win32.c (setup_overlapped, finish_overlapped): extract from
rb_w32_read() and rb_w32_write().
* win32/win32.c (setup_overlapped): check the error code in addition
to the result of SetFilePointer() to ...
nagachika (Tomoyuki Chikanaga)
03:46 PM Revision 5be46423 (git): add EEXIST for Linux
* test/fileutils/test_fileutils.rb (TestFileUtils#test_mkdir): add
EEXIST for Linux. (suggested by nurse)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
03:27 PM Revision e6ae0db3 (git): merge revision(s) 40791,40806: [Backport #8424]
* eval_intern.h (TH_PUSH_TAG): ensure jmpbuf to be accessible before
pushing tag to get rid of unaccessible tag by stack overflow.
* vm_core.h (rb_vm_tag): move jmpbuf between tag and prev so ensure to
be acc...
nagachika (Tomoyuki Chikanaga)
03:01 PM Revision 44187374 (git): * 2013-06-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision 1739ecda (git): FileUtils.rmdir use remove_tailing_slash
* lib/fileutils.rb (FileUtils.rmdir): use remove_tailing_slash.
* test/fileutils/test_fileutils.rb: test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
02:57 PM Revision 44658707 (git): merge revision(s) 40807: [Backport #8416]
* compile.c (iseq_compile_each): forward anonymous and first keyword
rest argument one. [ruby-core:55033] [Bug #8416].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:49 PM Revision 935d39a5 (git): * bignum.c (bitlength_bdigit): New function.
(rb_big_pow): Use bitlength_bdigit instead of ffs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:46 PM Revision bf386e58 (git): Don't run test-all because it often happens false positive
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:22 PM Revision 2b463226 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:20 PM Revision cef3f2eb (git): * lib/fileutils.rb: fix behavior when mkdir/mkdir_p accepted "/".
* test/fileutils/test_fileutils.rb: add test for above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ayumin (Ayumu AIZAWA)
11:23 AM Feature #8461: Easy way to disable certificate checking in XMLRPC::Client
(2013/06/03 10:13), kou (Kouhei Sutou) wrote:
> By the way, I can become a maintainer of lib/xmlrpc/ If nobody objects it, I will handle this ticket.

Great!

--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
11:23 AM Feature #8461: Easy way to disable certificate checking in XMLRPC::Client
Whoops! :+1:

On Mon, Jun 3, 2013 at 10:13 AM, kou (Kouhei Sutou) <kou@cozmixng.org> wrote:
>
> Issue #8461 has been updated by kou (Kouhei Sutou).
>
>
> It seems that lib/xmlrpc/ doesn't have maintainer. (cf. https://bugs...
zzak (zzak _)
10:13 AM Feature #8461: Easy way to disable certificate checking in XMLRPC::Client
It seems that lib/xmlrpc/ doesn't have maintainer. (cf. https://bugs.ruby-lang.org/projects/ruby/wiki/Maintainers )
So I'm not a maintainer of lib/xmlrpc/. I don't know why I was assigned this ticket. (I think zzak mistook. :-)
By th...
kou (Kouhei Sutou)
10:02 AM Revision 482f0e6b (git): dir.c: use fd to fstatfs
* dir.c (is_hfs): use the file descriptor instead of a path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:16 AM Revision c120db45 (git): * vm_insnhelper.c (vm_yield_setup_block_args): add comment for r41041.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:24 AM Bug #8479 (Assigned): make for ruby-1.9.3-p392 fails on rdoc, error 134 (Ubuntu 12.04.2 LTS)
luislavena (Luis Lavena)
07:22 AM Bug #8479 (Closed): make for ruby-1.9.3-p392 fails on rdoc, error 134 (Ubuntu 12.04.2 LTS)
Attempt to build progressed fin up to RDoc, then make choked. Make log:
--------------------------------------------
Parsing sources...
lib/mkmf.rb:1117:29: Couldn't find STRING_OR_FAILED_FORMAT. Assuming it's a module
lib/irb/in...
greysondn (Dorian Greyson)
04:20 AM Feature #6183: Enumerator::Lazy performance issue
Indeed append_method was exctracted by nobu 2 weeks ago as a refactoring of enumerator_inspect. But that's it, nothing was merged yet. I'm not sure I'll be able to rebase patch in next few weeks - got only android tablet with me. I'll le... gregolsen (Innokenty Mikhailov)
02:38 AM Revision 7a8a7864 (git): * lib/cgi/cookie.rb (inspect): add inspect for debug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Takeyuki FUJIOKA
02:37 AM Revision 94b120fe (git): add some rdoc
* add reference to spawn to fork
* add an example which runs ruby
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
 

Also available in: Atom