Activity
From 06/06/2013 to 06/12/2013
06/12/2013
-
11:34 PM Feature #8481 (Closed): Module#using
- This issue was solved with changeset r41261.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval.c (mod_using): new method Module#using, which activates
... -
11:20 PM Feature #8468 (Closed): Remove $SAFE
- This issue was solved with changeset r41259.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* safe.c (rb_set_safe_level, safe_setter): raise an ArgumentErro... -
09:54 PM Bug #8514: Rounding off error
- Sorry.. moment of stupidity.
-
07:00 AM Bug #8514 (Rejected): Rounding off error
- No, Ruby correctly rounds the imprecise value of the IEEE floating point number:
$ ruby -e 'puts "%0.30f" % (10/3.0)'
3.333333333333333481363069950021
$ ruby -e 'puts "%0.30f" % (11/3.0)'
3.666666666666666518636930049979
Please ... -
01:08 AM Bug #8514 (Rejected): Rounding off error
- The expression (10/3.0) returns "3.3333333333333335". It should actually be "3.3333333333333333".
The expression (11/3.0) returns "3.6666666666666665". It should actually be "3.6666666666666667".
(13/3) is evaluated correctly though. -
09:13 PM Revision 2b1c2b72 (git): * bignum.c (integer_unpack_num_bdigits_small): Fix a comple error on
- clang -Werror,-Wshorten-64-to-32
Reported by Eric Hodel. [ruby-core:55467] [Bug #8522]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:41 PM Feature #8520 (Feedback): Distinct to_s methods for Array, Hash...
- I apologize if something like this has already been proposed in the past, if it was, I can't find it at the moment.
Ruby 2.0 rightfully changed to behaviour of inspect (not delegating to to_s anymore), as inspect was effectively disab... -
08:32 PM Revision d3412765 (git): * ext/socket/extconf.rb: Enable RFC 3542 IPV6 socket options for OS X
- 10.7+. [ruby-trunk - Bug #8517]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:41 PM Bug #8518 (Closed): assertion failed in rb_ary_sort_bang
- This issue was solved with changeset r41253.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
array.c: fix false assertions
* array.c (rb_ary_sort_bang): ... -
12:58 PM Bug #8518 (Closed): assertion failed in rb_ary_sort_bang
- -DARRAY_DEBUG の続きです。
test/ruby/test_array.rb の test_sort! の以下に相当する部分で assertion failed になります。
% ./miniruby -e 'a=Array[4, 1, 2, 3]; a.sort! {|m, n| a.replace([9, 8, 7]); m <=> n }'
miniruby: .../ruby/array.c:2336: rb_ary_sort_ban... - 03:18 PM Revision 80a474a1 (git): * 2013-06-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:18 PM Revision aaa1461d (git): * bignum.c (rb_integer_unpack_2comp): New function.
- (rb_integer_unpack_internal): Extracted from rb_integer_unpack and
nlp_bits_ret argument added.
(integer_unpack_num_bdigits_small): nlp_bits_ret argument added to
return number of leading padding bits.
(integer_unpack_num_bdigits... - 03:03 PM Revision 3190cb8f (git): * 2013-06-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:03 PM Revision 1135cc35 (git): merge revision(s) 41019,41020,41021,41041,41045,41057: [Backport #8463]
- vm_insnhelper.c: add comments
* vm_insnhelper.c (vm_yield_setup_block_args): break a long line and
add comments. remove useless code.
* vm_insnhelper.c (vm_yield_setup_block_args): split single parameter
if ... -
02:33 PM Revision 17f1cdaa (git): * eval.c (mod_using): new method Module#using, which activates
- refinements of the specified module only in the current class or
module definition. [ruby-core:55273] [Feature #8481]
* test/ruby/test_refinement.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41261 b2dd03c8-39d... -
02:23 PM Revision 63bc35ff (git): merge revision(s) 41250: [Backport #8516]
- * io.c (io_getc): fix 7bit coderange condition, check if ascii read
data instead of read length. [ruby-core:55444] [Bug #8516]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41260 b2dd03c8-39d4-4d8f-98ff-823f... -
02:20 PM Revision 1f828497 (git): * safe.c (rb_set_safe_level, safe_setter): raise an ArgumentError
- when $SAFE is set to 4. $SAFE=4 is now obsolete.
[ruby-core:55222] [Feature #8468]
* object.c (rb_obj_untrusted, rb_obj_untrust, rb_obj_trust):
Kernel#untrusted?, untrust, and trust are now deprecated.
Their behavior is same as t... -
01:25 PM Revision b53a183c (git): * bignum.c (integer_unpack_num_bdigits_generic): Rewritten without
- rb_funcall.
(integer_unpack_num_bdigits_bytes): Removed.
(rb_integer_unpack): integer_unpack_num_bdigits_bytes invocation
removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:19 AM Revision 007fb3b1 (git): * lib/xmlrpc/client.rb (XMLRPC::Client#parse_set_cookies): Extract.
- Sorry for forgetting it in r41236.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:53 AM Feature #8515: don't allow irb to dump output for forever and ever
- You can run irb with --noecho option, or set `IRB.conf[:ECHO] = false' in .irbrc.
-
03:23 AM Feature #8515: don't allow irb to dump output for forever and ever - On 06/11/2013 09:41 AM, crankharder (Josh Sharpe) wrote:
> Feature #8515: don't allow irb to dump output for forever and ever
> https://bugs.ruby-lang.org/issues/8515
Agreed, it would be nice to have LESS(1) functionality in ir... -
01:41 AM Feature #8515 (Feedback): don't allow irb to dump output for forever and ever
- You've done this before, I know you have. You were screwing around in IRB and you ran something stupid and IRB just started dumping output. LOTS of output. Output that would scroll by for an hour if you don't go kill it. Output going...
-
09:21 AM Revision 4e0685fa (git): * bignum.c (validate_integer_pack_format): supported_flags argument
- added and validate given flags.
(rb_integer_pack_internal): Specify supported_flags.
(rb_integer_unpack): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:56 AM Feature #8042: Add Addrinfo#socket to create a socket that is not connected or bound
- matz, I need your approval to add Addrinfo#unbound_socket which creates a connectionless socket that allows you to set further socket options before connect or to use in a connectionless manner.
-
08:54 AM Bug #8479: make for ruby-1.9.3-p392 fails on rdoc, error 134 (Ubuntu 12.04.2 LTS)
- I am moving this bug to unassigned as rdoc is pure-ruby and this is a GC-related bug.
- 08:48 AM Revision 2a23bd62 (git): Add Appendix C containing a pointer to mkmf.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:46 AM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
- Here is a possible patch that only checks Content-Length if the Content-Encoding was handled by Net::HTTP. Unfortunately I don't have an XMLRPC service available to test it against.
-
08:36 AM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
- This patch updates the 308 patch to update the Content-Length in Response instead of Inflater and fixes the variable name ("deflated length" is the original value, but only when deflate-encoded). It also adds documentation describing whe...
-
08:12 AM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
- =begin
Consider this example:
http.request req do |res|
expected = res['Content-Length'] # size of encoded content
actual = 0
res.read_body { |chunk| actual += chunk.bytesize }
raise 'too short' unless expec... -
08:05 AM Revision 2eadce67 (git): test_io.rb: fix test error
- * test/ruby/test_io.rb (TestIO#test_write_32bit_boundary): retry to
remove the temporary file while EACCES occurs because of syncing in
the system probably. rescue ENOSPC from IO#tell. [ruby-core:55457]
[Bug #8519]
git-svn-id: s... -
07:41 AM Revision 221496de (git): array.c: fix false assertions
- * array.c (rb_ary_sort_bang): remove duplicated assertions.
ARY_HEAP_PTR() implies ary not to be embedded. [ruby-dev:47419]
[Bug #8518]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:08 AM Revision c3b81910 (git): Update rdoc for pkg_config() and move :stopdoc: below to enable it.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:54 AM Bug #8511: gsub("\\","\\\\") works incorrect
- =begin
No, it works as expected, please read the documentation for String#gsub:
If replacement is a String it will be substituted for the
matched text. It may contain back-references to the pattern's capture groups
of the for... - 06:41 AM Revision bccf874c (git): Elaborate on side-effects of mkmf functions.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:50 AM Bug #8508: Invalid byte sequence in UTF-8 (ArgumentError) in win32/registry.rb
- And btw. "chcp" gives me:
Aktive Codepage: 850. -
03:44 AM Revision ab64f237 (git): io.c: fix 7bit coderange condition
- * io.c (io_getc): fix 7bit coderange condition, check if ascii read
data instead of read length. [ruby-core:55444] [Bug #8516]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:35 AM Revision ff6104ba (git): * pack.c (pack_pack): Use rb_integer_pack_2comp.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:21 AM Feature #8422: add Enumerable#reverse_sort and Enumerable#reverse_sort_by
- Neither `Prime.each.reverse_sort.take 10` nor `Prime.each.sort.take 10` will return as there is no last value for infinite streams. You can neither reverse nor sort an infinite stream.
I believe adding the feature to `Enumerable` does... -
03:09 AM Revision 174e3fb6 (git): * sprintf.c (rb_str_format): Fix a dynamic format string.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:04 AM Revision 7fa5e608 (git): array.c: freeze in callback
- * array.c (rb_ary_uniq_bang): must not be modified once frozen even in
a callback method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:03 AM Revision da786437 (git): array.c: freeze in callback
- * array.c (rb_ary_sort_bang): must not be modified once frozen even in
a callback method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:00 AM Revision ff7bb472 (git): array.c: fix false assertion
- * array.c (FL_SET_EMBED): shared object is frozen even when get
unshared.
* array.c (rb_ary_modify): ARY_SET_CAPA needs unshared array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:00 AM Revision 299d96ca (git): parse.y: non-shady ruby_debug_lines
- * parse.y (parser_set_encode): get rid of making ruby_debug_lines
non-shady.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:00 AM Revision 6ff25d13 (git): array.c: assertion
- * array.c (ary_shrink_capa): additional assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:00 AM Revision a5acd8c8 (git): fix indent (use tab instead of spaces)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:05 AM Bug #8115: make install DESTDIR=/my/install/path fails
- @jstribny, how did you configure p214?
06/11/2013
-
10:35 PM Bug #8512: gsub() works incorrect
- For the record, you can also use the hash or block replacement forms, because those doesn't use regexp back-references:
"\\".gsub("\\", "\\"=>"\\\\") #=> "\\\\"
"\\".gsub("\\") { "\\\\" } #=> "\\\\" -
10:15 PM Bug #8512: gsub() works incorrect
- Hanmac (Hans Mackowiak) wrote:
> =begin
> ...
Thanks for the explanation. -
09:45 PM Bug #8512: gsub() works incorrect
- =begin
the docs says:
((*If replacement is a String it will be substituted for
the matched text. It may contain back-references to the pattern's capture
groups of the form \\\d, where d is a group number, or \\\k<n>, where n is
... -
09:45 PM Bug #8512: gsub() works incorrect
- This should be documented in Regexp's overview though.
-
09:41 PM Bug #8512 (Rejected): gsub() works incorrect
- This is due to Regexp replace syntax and literal strings.
In literal strings, you need two \ to produce one \ character (a single is the start of an escape character like \t, \n, ...).
And in Regexp replacement strings, you need to esca... -
06:30 PM Bug #8512 (Rejected): gsub() works incorrect
- irb(main):005:0> "\\".gsub("\\", "\\\\").length
=> 1
irb(main):006:0> "\\".gsub("\\", "XX").length
=> 2
bug is duplicated with rejected bug #8511 -
10:33 PM Revision e39523b7 (git): * random.c (rand_int): Use rb_big_uminus.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:17 PM Revision 28d975a6 (git): * struct.c: Improve documentation: replace "instance variable" with
- "member", recommend the use of a block to customize structs, note
that member accessors are created, general cleanup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:09 PM Bug #8320: Ruby interpreter crashes when running pcaprub
- Reported. Please consider this issue closed, and sorry for the wrong report.
-
09:39 PM Revision 0c9a719d (git): * internal.h (INTEGER_PACK_NEGATIVE): Defined.
- (rb_integer_unpack): sign argument removed.
* bignum.c (rb_integer_unpack): sign argument removed.
Non-negative integers generated by default.
INTEGER_PACK_NEGATIVE flag is used to generate non-positive integers.
* pack.c (pack_unp... -
05:33 PM Bug #8511: gsub("\\","\\\\") works incorrect
- Should I open new bug?
-
05:24 PM Bug #8511: gsub("\\","\\\\") works incorrect
- nobu (Nobuyoshi Nakada) wrote:
> I'm not sure what you expect, it works as expected.
irb(main):005:0> "\\".gsub("\\", "\\\\").length
=> 1
irb(main):006:0> "\\".gsub("\\", "XX").length
=> 2
I thought that the length must return ... -
04:49 PM Bug #8511 (Rejected): gsub("\\","\\\\") works incorrect
- I'm not sure what you expect, it works as expected.
-
04:34 PM Bug #8511 (Rejected): gsub("\\","\\\\") works incorrect
- DL is deprecated, please use Fiddle
irb(main):001:0> a = "\\"
=> "\\"
irb(main):002:0> a.gsub("\\", "\\\\")
=> "\\"
irb(main):003:0> a.gsub("\\", ".")
=> "."
irb(main):004:0> a.gsub(".", "\\\\")
=> "\\"
irb(main):005:0> a = "\\"... -
04:37 PM Revision a338c4ed (git): Unused variable removed.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:15 PM Bug #8510 (Closed): assertion failed in ary_resize_capa
- This issue was solved with changeset r41227.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
array.c: fix false assertion in ary_make_shared
* array.c (a... -
10:01 AM Bug #8510 (Assigned): assertion failed in ary_resize_capa
-
09:47 AM Bug #8510 (Closed): assertion failed in ary_resize_capa
- -DARRAY_DEBUG を付けていると enc.mk のあたりで make が通りません。
generating enc.mk
miniruby: .../ruby/array.c:153: ary_resize_capa: Assertion `!(!!((!(((VALUE)(ary) & RUBY_IMMEDIATE_MASK) || !!(((VALUE)(ary) & ~((VALUE)RUBY_Qnil)) == 0)) && (int)(((s... -
03:53 PM Bug #7915 (Closed): Rubygems stub shebang is wrongly expanded
- This seems to be fixed in "ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-linux]". Thanks.
- 03:09 PM Revision 72eed1fd (git): * 2013-06-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:08 PM Revision 3acd222f (git): * lib/xmlrpc/client.rb (XMLRPC::Client#parse_set_cookies): Extract.
- * test/xmlrpc/test_client.rb (XMLRPC::ClientTest#test_cookie_simple):
Add a test for the extracted method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:57 PM Revision 83c02765 (git): * test/xmlrpc/test_client.rb (XMLRPC::ClientTest::Fake::HTTP#started):
- Add a missing empty line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:40 PM Revision b23d9a8a (git): * bignum.c (validate_integer_pack_format): Don't require a word order
- flag if numwords is 1 or less.
(absint_numwords_generic): Don't specify a word order for
rb_integer_pack.
* hash.c (rb_hash): Ditto.
* time.c (v2w_bignum): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41234 b2dd03c8-... -
02:21 PM Feature #8481: Module#using
- headius (Charles Nutter) wrote:
> A few other clarifications I think are important:
> ...
Agreed. Reflection API should not care refinements in Ruby 2.1.
> Because of the invasive nature of the changes required, we are not comforta... -
02:02 PM Revision c4b12333 (git): * bignum.c (validate_integer_pack_format): Refine error messages.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:28 PM Revision 06b16711 (git): * bignum.c (validate_integer_pack_format): numwords argument added.
- Move a varidation from rb_integer_pack_internal and rb_integer_unpack.
(rb_integer_pack_internal): Follow above change.
(rb_integer_unpack): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41232 b2dd03c8-39d4-4d8f-98ff-82... -
01:15 PM Revision 17a5321c (git): rb_integer_pack tests refined.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:06 PM Revision d5a3818f (git): * bignum.c (rb_integer_pack_internal): Renamed from rb_integer_pack
- and overflow_2comp argument added.
(rb_integer_pack): Just call rb_integer_pack_internal.
(rb_integer_pack_2comp): New function.
* internal.h (rb_integer_pack_2comp): Declared.
* sprintf.c (rb_str_format): Use rb_integer_pack and
... -
09:37 AM Bug #8508: Invalid byte sequence in UTF-8 (ArgumentError) in win32/registry.rb
- It actually seems this only happens when using Cygwin with the mintty.exe terminal.
Any idea how to solve this? - 08:25 AM Revision b7597efb (git): Update documentation for pkg_config().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:20 AM Feature #8460: PATCH: optparse: add `keep_unknown` option
- Can anyone please take a look at a bug http://bugs.ruby-lang.org/issues/7537#change-37695 considering command-line arguments containing negative numbers (which're erroneously treated ass options) and my patch for it.
I'm afraid that kee... -
05:13 AM Feature #8460: PATCH: optparse: add `keep_unknown` option
- I like this patch, I could use this feature in RDoc's option parser which ignores arguments that were valid for previous versions.
- 08:01 AM Revision 83252551 (git): Fix the mail address of Matz; ruby-lang.jp does not exist.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:15 AM Revision c5c201f6 (git): array.c: fix false assertion in ary_make_shared
- * array.c (ary_shrink_capa): shrink the capacity so it fits just with
the length.
* array.c (ary_make_shared): release never used elements from frozen
array to be shared. [ruby-dev:47416] [Bug #8510]
git-svn-id: svn+ssh://ci.ruby-l... -
06:57 AM Revision 4cdd6f6a (git): * eval_error.c (error_print): reduce RARRAY_AREF().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:56 AM Bug #8507: Keyword splat does not convert arg to Hash
- Hm... `nil.to_h => {}` is brand-new and creates an analog to `nil.to_a`, so why would we remove `nil.to_a`?
`(**nil)` would be another tool that a programmer could use when handing arguments off between methods. One can currently use ... -
05:14 AM Bug #8399 (Open): Remove usage of RARRAY_PTR in C extensions when not needed
- I merged it with a couple changes (subseq len and unused variable).
I will submit a pull request to https://github.com/tenderlove/racc.
To continue the main discussion,
who is to decide whether to avoid RARRAY_PTR in most extensions... -
05:06 AM Bug #8399 (Closed): Remove usage of RARRAY_PTR in C extensions when not needed
- This issue was solved with changeset r41222.
Dirkjan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/racc/cparse/cparse.c: use rb_ary_entry() and
rb_ary_su... -
03:50 AM Revision df4abd9b (git): * doc/re.rdoc: Rename to doc/regexp.rdoc
- * re.c: Update rdoc include for rename of file
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:23 AM Feature #8509: Use 128 bit integer type in Bignum
- I think it should be merged.
I'm trying to change the bigdecimal's precision treatment
so that it's independent of the size of internal type (such as BDIGIT).
Bigdecimal's precision should be the number of decimal figures.
Af...
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...