Activity
From 06/04/2013 to 06/10/2013
06/10/2013
-
11:43 PM Feature #8509 (Assigned): Use 128 bit integer type in Bignum
- I'm ok about introducing this.
Anyway as far as I confirm, gcc 4.1 supports __int128_t and __uint128_t on x64. -
09:59 PM Feature #8509 (Closed): Use 128 bit integer type in Bignum
- How about Bignum uses 128 bit integer type?
I found that recent gcc (since gcc 4.6) supports 128 bit integer type,
__int128, on some platforms.
http://gcc.gnu.org/gcc-4.6/changes.html
It seems gcc supports it on x86_64 and not on... -
11:11 PM Feature #8481: Module#using
- * It's OK that send(:using) do not work
* we will not provide magic send in the near future (no plan at all)
Matz.
-
09:17 PM Feature #8481: Module#using
- I do not currently have a problem with Module level #using, provided it is still lexical. The same mechanism for file-level #using would work here: if a "using" call is present in the code, we'll treat all calls in that scope as potentia...
- 10:14 PM Revision c0ce8773 (git): * eval_error.c (error_print): keep that errat is non-shady object.
- and guard errat from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:09 PM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
- I confirmed the problem. I consider how to resolve this problem. Please wait.
I don't like that response header is changed in Inflater. It seems that header should be changed by response itself.
Here is a workaround:
require 'xm... -
09:10 PM Bug #8508: Invalid byte sequence in UTF-8 (ArgumentError) in win32/registry.rb
- Hi there!
Line 173 in the registry.rb file here on my PC is this one:
super msg.tr("\r", '').chomp
I'm sorry, I don't know how to set locale_charmap
and I'm not sure what a codepage is.
I'm running the App (Vagrant) using Cygw... -
04:33 PM Bug #8508 (Feedback): Invalid byte sequence in UTF-8 (ArgumentError) in win32/registry.rb
- That line in 1.9.1 is a comment, so it would be 1.9.3.
But why is Encoding.locale_charmap UTF-8 on Windows?
Are you using codepage 65001?
-
08:06 AM Bug #8508 (Closed): Invalid byte sequence in UTF-8 (ArgumentError) in win32/registry.rb
- Hi guys!
I'm using Vagrant and the VMware workstation plugin to provision a VMware workstation VM
but in the end this doesn't work because I get an error in win32/registry.rb:
"C:/HashiCorp/Vagrant/embedded/lib/ruby/1.9.1/win32/re... -
09:09 PM Feature #8468: Remove $SAFE
- headius (Charles Nutter) wrote:
> So at this point, the only thing that is being removed is the sandboxing provided by $SAFE=4, correct?
Yes.
> ...
$SAFE < 4 is a fail-safe feature to detect bugs of applications, so it's not so se... -
08:50 PM Feature #8468: Remove $SAFE
- So at this point, the only thing that is being removed is the sandboxing provided by $SAFE=4, correct?
I should note that my concerns about using $SAFE as a security mechanism (coupled with taint/untrust) is still just as prone to hol... -
06:51 PM Feature #8468: Remove $SAFE
- matz (Yukihiro Matsumoto) wrote:
> I agree with Shugo's plan. Shugo, could you make it raise exceptions to keep you away from worrying on $SAFE any longer?
I'll do it. Thanks.
-
06:43 PM Feature #8468: Remove $SAFE
- I agree with Shugo's plan. Shugo, could you make it raise exceptions to keep you away from worrying on $SAFE any longer?
Matz.
-
05:56 PM Feature #8468 (Assigned): Remove $SAFE
- Thanks for your feedback, guys.
It's OK for me to leave $SAFE < 3 because it's just a fail-safe feature.
However, safe level 4 is considered harmful, because it provides a pseudo sandbox, which is vulnerable by design.
People tend t... -
01:46 PM Feature #8468: Remove $SAFE
- jballanc (Joshua Ballanco) wrote:
> ... Clojure community recently went through with regards to *read-eval* (a discussion that took place in response to the recent Rails/YAML vulnerabilities), as well as the ultimate conclusion that it ... -
08:24 PM Bug #8115 (Assigned): make install DESTDIR=/my/install/path fails
- Hello, Josef.
Thank you for your report.
I reopen this ticket. -
08:14 PM Bug #8115: make install DESTDIR=/my/install/path fails
This doesn't seem to help.
I am still getting the following error with the generated Makefile[1]
```
+ ruby extconf.rb --vendor --with-mysql-config
checking for mysql_ssl_set()... yes
checking for rb_str_set_len()... yes
checki...-
08:23 PM Feature #6065: Allow Bignum marshalling/unmarshalling from C API
- 2013/6/5 Tanaka Akira <akr@fsij.org>:
>
> At first time I see that, I guess there is no application of "nails" argument.
>
> Now I think I know several applications:
>
> * Integer#to_s(radix) for radix is power of 2
> Fo... - 08:06 PM Revision 33e6f434 (git): * 2013-06-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:06 PM Revision 8c6674ef (git): * ext/racc/cparse/cparse.c: use rb_ary_entry() and
- rb_ary_subseq() instead of RARRAY_PTR.
Based on a patch by Dirkjan Bussink. See Bug #8399.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:14 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
- Eregon (Benoit Daloze) wrote:
> Could you share that benchmark?
> ...
This was not against a sole benchmark of this. What I meant with the statement is that this difference was never measurable in benchmarks of code using a C extensi... -
05:21 PM Feature #8506: Object#iter_for / Object#to_iter
- nobu (Nobuyoshi Nakada) wrote:
> You may want to show the implementation in ruby (and tests)?
Here is an implementation: https://gist.github.com/phluid61/5747216 -
05:20 PM Feature #8506: Object#iter_for / Object#to_iter
- Here is the related blogpost: http://alindeman.github.io/2013/06/10/porting-iterate-to-ruby.html
-
02:44 PM Feature #8506: Object#iter_for / Object#to_iter
- You may want to show the implementation in ruby (and tests)?
-
12:38 AM Feature #8506: Object#iter_for / Object#to_iter - Btw., regarding Qbject#to_enum, what is your opinion? Do you use it often? Or is there something about it that makes it less useful?
-
03:35 PM Bug #8501 (Closed): exit code when an exception raised in at_exit hook
- This issue was solved with changeset r41205.
Sam, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
eval_error.c: restore errinfo
* eval_error.c (error_print): resto... -
02:54 PM Revision 0ab44dbc (git): fix a typo
- * array.c (rb_ary_new_from_values): fix a typo. pointed out by nagachika.
http://d.hatena.ne.jp/nagachika/20130610/ruby_trunk_changes_41199_41220
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41221 b2dd03c8-39d4-4d8f-98ff-823fe69b... -
02:47 PM Bug #8507: Keyword splat does not convert arg to Hash
- You didn't explain why "it is nice". Could elaborate? Do we really need it?
FYI, in the early stage of Ruby, types are more flexible; integers can be treated as strings, nil can be treated as empty array. `nil.to_a` => `[]` is a le... -
01:32 PM Bug #8507: Keyword splat does not convert arg to Hash
- To return to the original question:
> Do you really want to do `splat(**nil)`?
I find that Ruby's flexibility has been nice when providing public interfaces in gems and libraries. It's nice to be able to pass in `*nil` to a public ... -
01:29 PM Bug #8507: Keyword splat does not convert arg to Hash
- Is there logic behind the current state that I'm unaware of? Consistency is predictability, which is important when learning a new interface. If splatted nils are swallowed, why not double-splatted nils? One raising where the other doesn...
-
08:23 AM Bug #8507 (Feedback): Keyword splat does not convert arg to Hash
- I hate consistency as a reason to change. Do you really want to do `splat(**nil)`?
Matz.
-
03:27 AM Bug #8507 (Rejected): Keyword splat does not convert arg to Hash
- A single splat is useful to convert an object to an array as it passes from one method to the next, so I expected the double-splat to do the same and convert the object to a hash.
~~~ruby
def splat *args
p args
end
def double_sp... -
01:51 PM Revision 46bb1a9f (git): Update comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:28 PM Revision baabb76c (git): * test/ruby/test_beginendblock.rb (test_exitcode_in_at_exit): fix NameError.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:10 PM Revision 780ab06a (git): Update a comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:51 PM Revision e214b1b6 (git): * ext/socket/raddrinfo.c (nogvl_getaddrinfo): Fix indent.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:50 PM Revision f6921a3c (git): * ext/socket/raddrinfo.c (nogvl_getaddrinfo): Add missing return
- value assignment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:59 AM Revision 52a802a4 (git): * ext/socket/raddrinfo.c (nogvl_getaddrinfo): work around for Ubuntu
- 13.04's getaddrinfo issue with mdns4. [ruby-list:49420]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:55 AM Revision 67356336 (git): Update doc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:37 AM Revision 0e8caa7d (git): * bignum.c (rb_integer_pack): Returns sign instead of words.
- (absint_numwords_generic): Follow the above change.
(big2str_base_powerof2): Follow the above change.
* internal.h: Ditto.
* hash.c (rb_hash): Ditto.
* pack.c (pack_pack): Ditto.
* random.c (int_pair_to_real_inclusive): Ditto.
(r... -
08:21 AM Revision a8aaf133 (git): * gc.c (rgengc_remember): permit promoted object.
- (rb_gc_writebarrier -> remember)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:15 AM Revision a03ac78b (git): * gc.c (RVALUE_PROMOTE): fix parameter name (`x' to `obj')
- and make it inline function (like RVALUE_PROMOTE).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:00 AM Revision d917e651 (git): fix a typo of r41205
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:00 AM Revision 1188d929 (git): add missing space
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:23 AM Revision f8ba9a1f (git): * array.c (rb_ary_new_from_values): add assertion
- (ary should be young object).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:12 AM Revision dd96561f (git): * gc.c (wmap_mark): check allocation of `w->obj2wmap'.
- (no-allocation `w->obj2wmap' will be NULL pointer reference)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:36 AM Revision 09de2b05 (git): eval_error.c: use checking functions
- * eval_error.c (error_print): use checking functions instead of
catching exceptions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:35 AM Revision b82ded24 (git): eval_error.c: restore errinfo
- * eval_error.c (error_print): restore errinfo for the case new
excecption raised while printing the message. [ruby-core:55365]
[Bug #8501]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:34 AM Revision 222d0288 (git): eval_error.c: reduce setjmp
- * eval_error.c (error_print): reduce calling setjmp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:33 AM Revision c2b4f88f (git): test_beginendblock.rb: rename methods
- * test/ruby/test_beginendblock.rb: rename methods, tests always what
"should" happen.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:57 AM Bug #8498: core dump, occurs repeatedly while running tests
- Thanks, I'm not skilled in reading these kinds of reports. Can be closed.
-
03:12 AM Revision 8c239f35 (git): * bignum.c (integer_unpack_num_bdigits_small: Extracted from
- rb_integer_unpack.
(integer_unpack_num_bdigits_generic): Ditto.
(integer_unpack_num_bdigits_bytes): New function.
(rb_integer_unpack): Use above functions.
Return a Bignum for INTEGER_PACK_FORCE_BIGNUM evenwhen the result
is ze...
06/09/2013
-
10:34 PM Feature #8506: Object#iter_for / Object#to_iter - +1
-
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... -
08:55 PM Feature #8505 (Closed): rake file dsl -
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.
-
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. -
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 - 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
-
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 -
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
-
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-... -
12:37 PM Feature #8490: Bring ActiveSupport Enumerable#index_by to core
- key_by
-
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... -
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... -
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, -
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... -
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
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.
-
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... -
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)
-
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.
-
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... -
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... -
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?
-
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... -
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... -
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 -
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 -
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 -
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-... -
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 -
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 - 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
-
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
-
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 -
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... -
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
-
02:25 PM Feature #8430: Rational number literal
- different symbol changes the interpretation.
http://www.jaro.in/international-MBA-1-year.html -
02:20 PM Feature #6242: Ruby should support lists
- I think ruby is a LISP.
http://www.jaro.in/international-MBA-1-year.html -
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
-
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
-
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 -
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 -
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... -
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 - 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 - 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 -
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 -
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
-
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 -
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... -
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 -
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... -
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... -
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 -
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:... -
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 -
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
-
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... -
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のほうが... -
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が... -
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に入れて手動で... -
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
-
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 -
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 -
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
-
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... -
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
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
-
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
-
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... -
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 ... -
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 ... -
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
-
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
-
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 -
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 -
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... -
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
-
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... - 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
-
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.
... -
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 はそろそろ終わるはずなのでやってません)
>
> うを。なんと、もうできたとは。もうこれでいいじゃん!出力想像してたよりも
> ずっと綺麗だし。
そうい... -
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] -
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というファ... -
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 ファイルをそのまま標準出力に出すのはよろしくないですよね。
>>>
... -
12:53 AM Feature #8469: ABI checker とか導入しませんか
- 2013年6月6日 3:29 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>
>> まぁそれはつけるとして、悩みどころは出力かなぁ。
>>
>> 今は標準出力に垂れ流したのをひとつのファイルとして記録しているのですが、
>> HTML ファイルをそのまま標準出力に出すのはよろしくないですよね。
>>
>> chkbuild 的に簡単なのは w3m あたりでテキストにして標準出力に出してしまうとい... -
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
-
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
-
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 -
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 -
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
-
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 -
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'
~~~ -
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 -
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.
-
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... -
03:22 AM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
- +1
-
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/\> -
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. -
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]... -
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 -
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... -
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
-
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 - 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 - 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 -
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/
-
07:22 AM Bug #5538 (Feedback): ruby memory error running minitests
-
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
-
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
-
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 -
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 -
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
- 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... -
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
-
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... -
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
- 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 ... - 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
- 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 -
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
- 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 - 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
-
01:23 AM Revision f1a8f228 (git): typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
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 - 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
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
-
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
-
10:45 PM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
- +1
-
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. -
05:20 PM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport - +1
-
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`.
-
04:59 PM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
- Or enhance the existing methods?
-
04:51 PM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
- I could fix the description.
-
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?
-
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... -
04:13 PM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
- +1
-
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 ... -
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... -
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 - 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 - 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
-
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
-
09:21 PM Revision 3d8f6f1e (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 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
-
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 -
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... -
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. -
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 ... -
03:54 PM Feature #8497: private, protected, private_constなどがブロックを受け取るようにする
- headius が反対しているという事実を指摘しておきます。 [ruby-core:47572]
卜部は英語として読み下した時の違和感が気になります。 [ruby-core:47556] -
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.
-
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 - 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 -
01:01 PM Revision b1411888 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
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
-
12:23 PM Feature #3753: value of def-expr
- RubyKaigiのたびに思い出されるネタなわけですが、そういうわけで再浮上。
-
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... - 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 -
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... -
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... -
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.
-
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 -
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 - 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
-
03:29 AM Feature #8469: ABI checker とか導入しませんか
- >>> 比較対象を用意しないといけないのが面倒くさそうでほったらかしてたんですが。
>>
>> それが受け入れられないとするとglibc みたいに公開するシンボルを全部別ファイルに記述させて、
>
> 別に受け入れられないことはなくて、おっくう、くらいの感じです。
なるほど。じゃあ、いちど今提案している比較方式で走ってみて問題が多いようなら
再議論ということで。
> で、試してみたんですが、--enable-shared ... -
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
-
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 -
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... -
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 ... -
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?
-
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... - 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 -
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... -
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...
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.
-
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.
-
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... -
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... -
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);.
-
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.
-
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.
-
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... -
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... -
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?
-
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(), ... -
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... -
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... -
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
- 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... -
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
- 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 -
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 - 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
- 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 -
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 ... -
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 -
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? */);... -
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 -
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
- 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
- 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
-
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. -
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 -
10:53 AM Feature #8469: ABI checker とか導入しませんか
- 2013年6月4日 15:26 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>> 比較対象を用意しないといけないのが面倒くさそうでほったらかしてたんですが。
>
> それが受け入れられないとするとglibc みたいに公開するシンボルを全部別ファイルに記述させて、
別に受け入れられないことはなくて、おっくう、くらいの感じです。
で、試してみたんですが、--enable-shared が必... -
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. -
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
-
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
-
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 - 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 ... -
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
-
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 -
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...
06/04/2013
-
11:52 PM Bug #8303 (Assigned): YAML does not persist Exception#backtrace
-
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.
[... -
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
-
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... -
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...
-
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 -
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... -
08:33 PM Bug #8486: Random segmentation fault
- I forgot to mention : I tried with ruby 2.0.0 and updated bundle, changed nothing...
-
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... - 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
- 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 -
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 -
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
-
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.) -
02:06 AM Feature #8461: Easy way to disable certificate checking in XMLRPC::Client
- The new maintainer accepted.
Matz.
-
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 -
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... -
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... -
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... -
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 ... -
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... -
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 -
03:29 PM Feature #8469: ABI checker とか導入しませんか
- >> CI って誰に相談すればいいんですかね。今のツールだと比較対象のバイナリまたは
>> ABI情報をぶっこぬいたXMLファイル群をtarアーカイブしたものを比較対象として
>> どこかにおいておかないといけなくて、1.9.3だとp0からはもう差異があるのはわかってるので
>> 最新のパッチリリースをCIに置きたいところなんですけど。
>
> 誰に、といわれると chkbuild に関しては私でしょうが、
> 後でちょっと見てみます。
>... -
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に置きたいところなんですけ... -
02:29 PM Feature #8469: ABI checker とか導入しませんか
- > CIに組み込んでもらえるとちょー助かる感じですぅ
CI って誰に相談すればいいんですかね。今のツールだと比較対象のバイナリまたは
ABI情報をぶっこぬいたXMLファイル群をtarアーカイブしたものを比較対象として
どこかにおいておかないといけなくて、1.9.3だとp0からはもう差異があるのはわかってるので
最新のパッチリリースをCIに置きたいところなんですけど。 -
02:00 PM Feature #8469: ABI checker とか導入しませんか
- CIに組み込んでもらえるとちょー助かる感じですぅ
- 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
-
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 -
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... -
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 -
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 -
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... -
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: ... -
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... -
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 -
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 -
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]... -
11:27 AM Bug #5774: [PATCH] xmlrpc client handling cookies
- This was lib/xmlrpc/client.rb, please check it
-
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... -
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.
-
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". ...
-
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
-
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 -
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... - 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... -
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... -
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
-
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... -
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...
-
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.