Activity
From 03/21/2016 to 03/27/2016
03/27/2016
-
11:19 PM Revision 7d378a5b (git): sprintf.c: refactor Rational f
- * sprintf.c (rb_str_format): refactor floating point format of
Rational by using gereric Integer functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:18 PM Revision 21102e16 (git): * 2016-03-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:18 PM Revision 9ae4c2d5 (git): sprintf.c: fix buffer overflow
- * sprintf.c (rb_str_format): fix buffer overflow, length must be
greater than precision. reported by William Bowling <will AT
wbowling.info>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:35 PM Bug #12118: ruby2.3: Segfaults on m68k due to improper stack allocation
- I just verified that ruby2.3 works fine on m68k with both the changes from ruby-core:74537 and in rb_locale_charmap_index applied!
Thanks for fixing this issue. And please make sure to backport the fixes to ruby2.3 so that the next up... -
04:57 PM Feature #12133: Ability to exclude start when defining a range
- Ryan Hosford wrote:
> Here you've used the case statement to exclude start on the middle range. The problem is the code is largely static while the values of the endpoints (and which ranges should include those endpoints) may change. Ph... -
01:10 PM Feature #12222: Introducing basic statistics methods for Enumerable (and optimized implementation for Array)
- > Especially I want to provide Enumerable#mean and Enumerable#variance as built-in features because they should be implemented by precision compensated algorithms.
Sorry, I don't want to make them be a built-in features. But I want to... -
01:06 PM Feature #12222 (Closed): Introducing basic statistics methods for Enumerable (and optimized implementation for Array)
- As python has statistics library for calculating mean, variance, etc. of arrays and iterators from version 3.4,
I would like to propose to introduce such features for built-in Enumerable, and optimized implementation for Array.
Espec... -
12:15 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
- Yusuke Endoh wrote:
Thank you for your answer!
> I don't care the behavior of restarting coverage because I have no actual use case. Do you have any? I don't think that ruby/spec is.
Indeed, although tests usually improve the ... -
06:43 AM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
- Tsuyoshi Sawada wrote:
> Yusuke Endoh wrote:
> ...
Heh, you said "my interpretation is that Benoit Daloze wants the key-value pairs to be removed when the value is an empty array". My interpretation is the same.
> >Did you read #... -
06:11 AM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
- Yusuke Endoh wrote:
>the first implementation actually did completely remove the key-value pairs when `Coverage.result` is called, as eregon requested.
I can't find what eregon's request is.
> ...
I may have not understood it. But... -
05:39 AM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
- Tsuyoshi Sawada wrote:
> Yusuke Endoh wrote:
> ...
I think I correctly understood eregon's request. As far as I recall, the first implementation actually did completely remove the key-value pairs when `Coverage.result` is called, as e... -
05:16 AM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
- Yusuke Endoh wrote:
> As I recall correctly, the first implementation did so, but the behavior changed by an ticket #4796. I don't recall why it is needed, but the OP seemed to think it useful.
I might be wrong, but my interpretatio... -
04:08 AM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
- Coverage is a very special module. Please use it just as rdoc says:
> ~~~
> ...
I don't care the behavior of restarting coverage because I have no actual use case. Do you have any? I don't think that ruby/spec is.
This module i... -
09:42 AM Bug #12221 (Rejected): Enumerable#sort_by method doesn't work properly when the array has more than 6 elements and you pass nil to the block
- Tsuyoshi Sawada wrote:
> What is wrong with it?
To expand on this, you tell Ruby that all the values in the array should be 'valued' at nil. Therefore, they are equal, and any order will be correct. You can exchange nil with any othe... -
08:24 AM Bug #12221: Enumerable#sort_by method doesn't work properly when the array has more than 6 elements and you pass nil to the block
- What is wrong with it?
-
08:02 AM Bug #12221 (Rejected): Enumerable#sort_by method doesn't work properly when the array has more than 6 elements and you pass nil to the block
- ~~~
%w(1 2).sort_by { |i| nil }
# => ["1", "2"]
# ...
%w(1 2 3 4 5 6).sort_by { |i| nil }
# => ["1", "2", "3", "4", "5", "6"]
~~~
So far, so good...
But look what happens when you have 7 or more elements:
~~~
%w(1 2 3 4... -
03:55 AM Revision d1e2d6a9 (git): sprintf.c: simplify
- * sprintf.c (rb_str_format): remove repeated calculations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:13 AM Revision ee2f3c6d (git): sprintf.c: Rational f by generic Integer functions
- * sprintf.c (rb_str_format): convert Rational to floating point
format by using gereric Integer functions, not by methods which
can be overwritten.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54302 b2dd03c8-39d4-4d8f-98ff-823f... - 01:18 AM Revision 3ce3e196 (git): * 2016-03-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:18 AM Revision 4719d4ec (git): gen_dummy_probes.rb: argument names
- * tool/gen_dummy_probes.rb: preserve macro argument names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/26/2016
-
09:00 PM Bug #12220 (Closed): Why does Coverage keep previously-loaded files as empty arrays?
- For instance,
ruby -e 'require "coverage"; Coverage.start; require "set"; Coverage.result; Coverage.start; require "tmpdir"; p Coverage.result'
{".../lib/ruby/2.2.0/set.rb"=>[],
".../lib/ruby/2.2.0/tmpdir.rb"=>[nil, nil, n... -
06:26 PM Bug #12120: [target/sh4] error: 'asm' operand requires impossible reload
- Hi!
Just a quick update: I have started a discussion in the gcc bug tracker [1] since I am not so sure whether this is actually a bug in ruby or in gcc. One of the gcc developers, Oleg Endo, has suggested adding "-mlra" to gcc to use ... -
06:18 PM Bug #11946: Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
- I have the same setup, Rails 4.2, Ruby 2.3, Active Admin, and I got this bug as soon as I installed the country_select gem https://github.com/stefanpenner/country_select
-
05:12 PM Bug #12198: Hash#== sometimes returns false incorrectly
- Tsuyoshi Sawada wrote:
> I thought you had previously written:
> ...
I've reported it as an issue with `Hash#==` method initially. The lack of `Set#rehash` has been pointed out by you and I suppose it should be implemented.
> Furth... -
03:29 PM Bug #12198: Hash#== sometimes returns false incorrectly
- Sebastian Skalacki wrote:
> `Set#rehash` is required
I thought you had previously written:
> ...
Furthermore, is this even a bug? -
02:57 PM Bug #12198: Hash#== sometimes returns false incorrectly
- IMHO documentation on Hash#== is incorrect at the moment. It says:
> Equality—Two hashes are equal if they each contain the same number of keys and if each key-value pair is equal to (according to Object#==) the corresponding elements... -
03:29 PM Feature #12133: Ability to exclude start when defining a range
- Yui NARUSE wrote:
>
> ...
Here you've used the case statement to exclude start on the middle range. The problem is the code is largely static while the values of the endpoints (and which ranges should include those endpoints) may chang... -
01:38 PM Feature #12133: Ability to exclude start when defining a range
- Ryan Hosford wrote:
> I think this is useful because it would give the ruby language a more complete implementation of ranges/intervals. I recently built a feature that requires me to cover the range from **a** to **b** with 2 to 5 sub-... -
02:07 PM Feature #12208: Improve ri command
- I like and use ri. It's nice that it works offline but there _are_ some inconveniences; two of them that come to my mind right now:
* For common method names the output is rather confusing, implementations from core and stdlib and ins... -
01:53 PM Bug #12202: nkf.c static void mime_putc the variable being used for loop used for outer loop too
- I sent a pull request to its upstream (yes, nkf has its own project). So it's really up to its mainteners. I don't think this needs a hotfix in our copy.
-
12:36 PM Bug #12219 (Closed): JSON.parse does not resolve to specific Class by 'json_class' attribute, when symbolize_names:true
When I enable symbolize_names, than parser does not match the 'json_class' attribute. The Hash instance is returned instead of expected instance of class defined in 'json_class' attribute.
~~~
JSON.parse(json, :create_additions =...-
02:03 AM Revision 48597149 (git): test_integer.rb: refine test_round
- * test/ruby/test_integer.rb (test_round): refine assertions and
borrow from rubyspec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:55 AM Revision 23e5b482 (git): numeric.c: rb_int2str
- * numeric.c (rb_int2str): conversion function to String for
generic Integer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:54 AM Revision e9dc649d (git): numeric.c: rb_int_round
- * numeric.c (rb_int_round): rounding function for generic
Integers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:54 AM Revision 79b209f1 (git): numeric.c: basic arithmetic
- * numeric.c (rb_int_{uminus,plus,minus,mul,idiv,modulo}): basic
arithmetic functions for generic Integers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:52 AM Revision ed47a0ec (git): numeric.c: Fixnum predicts
- * numeric.c (FIXNUM_{POSITIVE,NEGATIVE,ZERO}_P): predict macros
only for Fixnum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:42 AM Bug #12216: Class inherited Singleton method exclude argument from protected method accessing
- Nobuyoshi Nakada wrote:
> Protected methods can be called from a same class instance.
So far I though, A and B is a different class instance, just they are in inheritance relationship.
But I see now,
class instance != object ins... -
01:22 AM Bug #12216: Class inherited Singleton method exclude argument from protected method accessing
- Nobuyoshi Nakada wrote:
> Expected behavior.
> ...
Thank you very much!
My mistake, I mixed up with the private scope.
I'm terrible sorry for this.
Best regards,
Adam L. -
01:34 AM Revision 3f519a7b (git): compile.c: explicit address
- * compile.c (prepare_compile_error): add & to explicit address of
functions to suppress warnings by old VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:58 AM Feature #12211: introduce Date#first_of_month and Date#last_of_month
- Shyouhei Urabe wrote:
> Naming-wise, Rails (ActiveSupport) has Date#beginning_of_month. That name can be more familiar to other devs.
> ...
I think Date#beginning_of_month is bit verbose but okay too. How about to have an alias to Dat...
03/25/2016
-
10:12 PM Feature #12133: Ability to exclude start when defining a range
- On Fri, Mar 25, 2016 at 9:58 PM, Matthew Kerwin wrote:
>
> ...
Ah right, in the case a Range is used mostly for #include? and co, then .next is not really a good fix.
Please disregard my comment then.
Maybe Range should use another ... -
08:43 PM Feature #12133: Ability to exclude start when defining a range
- Ryan Hosford wrote:
> I'm not proposing we support non-matching parenthesis or brackets. Here's what I'm proposing:
Am I missing something or the ability to exclude start could be done with just (start.next..last) ?
If that's the ca... -
09:44 PM Bug #12218 (Closed): Undefined behaviour
- Applied in changeset r54293.
----------
use more suitable ticket [Bug #12218] -
07:34 PM Bug #12218 (Closed): Undefined behaviour
- This patch fixes undefined behaviour.
-
09:44 PM Revision 08b08c1f (git): use more suitable ticket [Bug #12218]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:41 PM Bug #12118: ruby2.3: Segfaults on m68k due to improper stack allocation
- Thanks, I also merged the patch for rb_locale_charmap_index.
-
09:14 PM Bug #12118: ruby2.3: Segfaults on m68k due to improper stack allocation
- Hi!
Thank you very much for your input.
Andreas Schwab just provided a second patch which actually fixed the problem for me. After applying the patch, ruby-2.3 builds fine on m68k.
Here's the patch:
~~~
Index: ruby-2.3.0/loc... -
09:40 PM Revision 4e637ade (git): Add patch author of r54291
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:35 PM Revision 2709170e (git): * localeinit.c (rb_locale_charmap_index): fix prototype. [Bug #12118]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:05 PM Bug #12202: nkf.c static void mime_putc the variable being used for loop used for outer loop too
- Shyouhei Urabe wrote:
> This is (surprisingly) safe, because that `mimeout_state.count = 0;` line purposefully terminates outer loop. It works as expected; just in a ultimately complicated way.
Is this ok? It can be complicated for ... -
03:16 PM Bug #11870: Eradication of typical misspellings
- Tadashi Saito wrote:
> Nobu and stable branch maintainer: Is there any chance to correct it?
done.
> ...
You're welcome :) -
02:58 PM Bug #11870: Eradication of typical misspellings
- Thank you for acceptance of the patch.
Unfortunately, I've found my (personal) mistake... Email address in my patch was wrong.
I've attached small patch to fix it.
Nobu and stable branch maintainer: Is there any chance to correct ... - 03:13 PM Revision d525dbd0 (git): * ChangeLog: [ci skip] correct a mail address. cf. [Bug #11870]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:12 PM Revision b4843d9a (git): * 2016-03-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:12 PM Revision 38dc45ba (git): * ChangeLog: [ci skip] correct a mail address. cf. [Bug #11870]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:00 PM Bug #9810: Numeric#step behavior with mixed Float, String arguments inconsistent with documentation
- The change for ruby_2_1 has been reverted.
I think this is a kind of bug, but incompatible change from another point of view. -
09:29 AM Bug #9810: Numeric#step behavior with mixed Float, String arguments inconsistent with documentation
- ruby_2_1 r54276 merged revision(s) 53949.
- 01:56 PM Revision a0c09867 (git): revert r54276 because of incompatibility.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:53 PM Revision 2d5e2cc2 (git): * test/openssl/utils.rb (start_server): check nil.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:42 AM Bug #12121: 異なる名前空間にある同名の定数により Module.constans の結果の並びが変わる
- ruby_2_1 r54285 merged revision(s) 54231.
- 09:42 AM Revision b3f1ffd7 (git): merge revision(s) 54231: [Backport #12121]
- * variable.c: Added documentation about order of `Module#constants`
[ci skip][Bug #12121][ruby-dev:49505][fix GH-1301]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:41 AM Bug #12204: Invalid range of capital letters at Greek alphabet
- ruby_2_1 r54284 merged revision(s) 54210.
- 09:41 AM Revision e4a39e0e (git): merge revision(s) 54210: [Backport #12204]
- * string.c (enc_succ_alnum_char): try to skip an invalid character
gap between GREEK CAPITAL RHO and SIGMA.
[ruby-core:74478] [Bug #12204]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54284 b2dd03c8... -
09:40 AM Bug #11844: Please update unicode-licensed files (license issue)
- ruby_2_1 r54283 merged revision(s) 54129,54130,54132.
- 09:39 AM Revision df557d28 (git): merge revision(s) 54129,54130,54132: [Backport #11844]
- * enc/trans/JIS: update Unicode's notice. [Bug #11844]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:36 AM Bug #12069: [PATCH] document OpenSSL::SSL::SSLContext#setup as MT-unsafe
- ruby_2_1 r54282 merged revision(s) 54097.
- 09:36 AM Revision 32299d98 (git): merge revision(s) 54097: [Backport #12069]
- * ext/openssl/ossl_ssl.c (ossl_sslctx_setup): document as MT-unsafe
[ruby-core:73803] [Bug #12069]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:35 AM Bug #11893: Ruby keyword typo in Tk (require)
- ruby_2_1 r54281 merged revision(s) 54022.
- 09:35 AM Revision 3e98a649 (git): merge revision(s) 54022: [Backport #11893]
- * ext/tk/lib/tkextlib/tcllib/tablelist_tile.rb: fix method name typo.
[ruby-core:72513] [Bug #11893] The patch provided by Akira Matsuda.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54281 b2dd03c8-39d4-4d8f-... -
09:34 AM Bug #11891: Initializer method name typo in Tk
- ruby_2_1 r54280 merged revision(s) 54021.
- 09:34 AM Revision f73e2f53 (git): merge revision(s) 54021: [Backport #11891]
- * ext/tk/lib/tkextlib/tcllib/toolbar.rb: fix method name typo.
[ruby-core:72511] [Bug #11891] The patch provided by Akira Matsuda.
[ruby-core:72510] [Bug #11890] The patch provided by Akira Matsuda.
git-svn-id: svn+... -
09:33 AM Bug #11890: Initializer method name typo in Tk
- ruby_2_1 r54279 merged revision(s) 54020.
- 09:33 AM Revision 5464a947 (git): merge revision(s) 54020: [Backport #11890]
- * ext/tk/lib/tkextlib/blt/tree.rb: fix method name typo.
[ruby-core:72510] [Bug #11890] The patch provided by Akira Matsuda.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:32 AM Bug #11886: Font name typo in Tk library and samples
- ruby_2_1 r54278 merged revision(s) 54018.
- 09:32 AM Revision ba94b8ce (git): merge revision(s) 54018: [Backport #11886]
- * ext/tk/lib/tk/menubar.rb: fix a typo in font name. [ruby-core:72505]
[Bug #11886] The patch provided by Akira Matsuda.
* ext/tk/sample/*.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@5427... -
09:31 AM Bug #12044: net/ftp.rb: add NullSocket#closed? to fix closing not yet opened connection
- ruby_2_1 r54277 merged revision(s) 53810.
- 09:31 AM Revision fb28e643 (git): merge revision(s) 53810: [Backport #12044]
- * net/ftp.rb: add NullSocket#closed? to fix closing not opened
connection. [Fix GH-1232]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:29 AM Revision facd0251 (git): merge revision(s) 53949: [Backport #9810]
- * numeric.c (num_step_scan_args): comparison String with Numeric
should raise TypeError. it is an invalid type, but not a
mismatch the number of arguments. [ruby-core:62430] [Bug #9810]
git-svn-id: svn+ssh://ci.rub... -
09:25 AM Bug #12192: Wrong nth_ref_max check in parse.y
- ruby_2_1 r54275 merged revision(s) 54172.
- 09:25 AM Revision 4e125b59 (git): merge revision(s) 54172: [Backport #12192]
- * parse.y (parse_numvar): NTH_REF must be less than a half of
INT_MAX, as it is left-shifted to be ORed with back-ref flag.
[ruby-core:74444] [Bug#12192] [Fix GH-1296]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bra... -
09:20 AM Bug #12188: Backport r54105 and r54136 (fix Marshal.load violation for invalid dump format)
- ruby_2_1 r54274 merged revision(s) 54105,54108,54136,54138.
- 09:19 AM Revision 477c282a (git): merge revision(s) 54105,54108,54136,54138: [Backport #12188]
- * marshal.c (r_object0): Fix Marshal crash for corrupt extended object.
* marshal.c (r_object0): raise ArgumentError when linking to undefined
object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54... -
09:08 AM Bug #9905: Fiber does not work on AIX
- ruby_2_1 r54273 merged revision(s) 46373.
- 09:08 AM Revision d86cba89 (git): merge revision(s) 46373: [Backport #9905]
- * cont.c (rb_fiber_struct): keep context.uc_stack.ss_sp and context.uc_stack.ss_size
for later use. Patch by Rei Odaira. [ruby-core:62945] [Bug #9905]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54273 b2dd03... -
09:06 AM Bug #12168: Backport r48224 to 2.1
- ruby_2_1 r54272 merged revision(s) 46108,46209,46223,46297,48223,48224.
- 09:06 AM Revision d82440ff (git): merge revision(s) 46108,46209,46223,46297,48223,48224: [Backport #12168]
- * test/openssl: Join threads.
* ext/openssl/ossl_ssl.c (ossl_ssl_close): Fix sync_close to work
when SSL is not started.
This fix the fd leak by test_https_proxy_authentication in
test/net/http/test... -
08:48 AM Bug #12158: Fixnum#% doesn't show its name on ZeroDivisionError
- ruby_2_1 r54271 merged revision(s) 54028.
- 08:48 AM Revision 6827f86c (git): merge revision(s) 54028: [Backport #12158]
- * insns.def (opt_mod): show its method name on ZeroDivisionError.
[Bug #12158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:46 AM Bug #12154: Backport r54010 (avoid a setgid test on AIX)
- ruby_2_1 r54269 merged revision(s) 54010.
-
08:45 AM Bug #12155: Backport r47837 (AIX does not allow getsid(pid) when pid is in a different session)
- ruby_2_1 r54270 merged revision(s) 47837.
- 08:45 AM Revision ce094d1d (git): merge revision(s) 47837: [Backport #12155]
- * test/ruby/test_process.rb (TestProcess#test_setsid): AIX
does not allow Process::getsid(pid) when pid is in a
different session.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54270 b2dd03c8-39d4-4d... - 08:43 AM Revision 560c2da3 (git): merge revision(s) 54010: [Backport #12154]
- * test/ruby/test_process.rb (test_execopts_gid): Skip a test
that is known to fail on AIX. AIX allows setgid to
a supplementary group, but Ruby does not allow the "-e"
option when setgid'ed, so the test does... -
08:41 AM Bug #12152: Backport r54004 (the fifth argument to getsockopt(2) is not modified correctly on return in AIX)
- ruby_2_1 r54268 merged revision(s) 54004.
- 08:41 AM Revision d76f4652 (git): merge revision(s) 54004: [Backport #12152]
- * test/rinda/test_rinda.rb (test_make_socket_ipv4_multicast):
The fifth argument to getsockopt(2) should be modified to
indicate the actual size of the value on return,
but not in AIX. This is a know bug. Sk... -
08:35 AM Bug #12151: Backport r54002 (zconf.h in zlib does not recognize _LARGE_FILES in AIX)
- ruby_2_1 r54267 merged revision(s) 54002.
- 08:35 AM Revision 6a7c3138 (git): merge revision(s) 54002: [Backport #12151]
- * test/zlib/test_zlib.rb (test_adler32_combine, test_crc32_combine):
Skip two tests on AIX because zconf.h in zlib does not correctly
recognize _LARGE_FILES in AIX. The problem was already reported
to zlib, ... -
08:34 AM Bug #12150: Backport r54005 (ipv6_v4compat? and ipv6_v4mapped? are broken on AIX)
- ruby_2_1 r54266 merged revision(s) 54005.
- 08:34 AM Revision 39301197 (git): merge revision(s) 54005: [Backport #12150]
- * test/socket/test_addrinfo.rb (test_ipv6_address_predicates):
IN6_IS_ADDR_V4COMPAT and IN6_IS_ADDR_V4MAPPED are broken
on AIX, so skip related tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54... -
08:32 AM Bug #12149: Backport r51930 (test_s_open_lock hangs on AIX)
- ruby_2_1 r54265 merged revision(s) 51930.
- 08:32 AM Revision 09298fae (git): merge revision(s) 51930: [Backport #12149]
- * test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_lock): skip
this test on AIX. The issue is the same as on Solaris.
[ruby-dev:47631]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54265 b2dd03c8-39d4-4d... -
08:28 AM Bug #12148: Backport r54000 (__pi_stacksize returned by pthread_getthrds_np() is wrong on AIX)
- ruby_2_1 r54264 merged revision(s) 54000.
- 08:28 AM Revision c3ec5fd6 (git): merge revision(s) 54000: [Backport #12148]
- * thread_pthread.c (getstack): __pi_stacksize returned by
pthread_getthrds_np() is wrong on AIX. Use
__pi_stackend - __pi_stackaddr instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54264 b2dd03... -
08:22 AM Bug #11969: [PATCH] IRB: Final newline missing in truncated backtraces
- ruby_2_1 r54263 merged revision(s) 53943.
- 08:22 AM Revision 26154da3 (git): merge revision(s) 53943: [Backport #11969]
- * lib/irb.rb: avoid to needless truncation when using back_trace_limit option.
[fix GH-1205][ruby-core:72773][Bug #11969]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:19 AM Bug #11843: enc/windows_1250.c syntax error with fcc on Solaris -- C++(C99)-style comments should not be used
- ruby_2_1 r54262 merged revision(s) 53202.
- 08:19 AM Revision 32089305 (git): merge revision(s) 53202: [Backport #11843]
- * enc/windows_1250.c: Should not use C++ style comments (C99 feature).
[Bug #11843]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:18 AM Bug #11838: Please backport r52883, r52884, r53046, r53198
- ruby_2_1 r54261 merged revision(s) 52883,52884,53046,53198.
- 08:18 AM Revision 25ce249d (git): merge revision(s) 52883,52884,53046,53198: [Backport #11838]
- * enc/iso_8859_4.c: Added missing lower/upper-case character
pair (U+014A and U+014B, LATIN CAPITAL/SMALL LETTER ENG)
* enc/iso_8859_13.c: Added three missing lower/upper-case
character pairs (from Kimihito M... -
08:13 AM Bug #11834: Backport r53168, r53169 (String#scrub, #encode infection)
- ruby_2_1 r54260 merged revision(s) 49096,51353,53168,53169.
- 08:13 AM Revision 2703953c (git): merge revision(s) 49096,51353,53168,53169: [Backport #11834]
- test_m17n.rb: split test_scrub
* test/ruby/test_m17n.rb (TestM17N#test_scrub): split into some
tests.
* include/ruby/ruby.h: add raw FL macros, which assume always the
argument object is not a special constan... -
07:40 AM Revision 8006157c (git): * test/ruby/enc/test_case_mapping.rb: Additional tests title case;
- some not yet activated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:59 AM Feature #12211: introduce Date#first_of_month and Date#last_of_month
- Naming-wise, Rails (ActiveSupport) has Date#beginning_of_month. That name can be more familiar to other devs.
I'm against floor(:month) and such, especially against Time class. The concept of "the second that a day begins" is not th... -
04:38 AM Bug #12182 (Closed): openssl: NPN may be disabled by OpenSSL configuration
- Applied in changeset r54258.
----------
openssl: fix build when NPN is disabled by OpenSSL
* ext/openssl/extconf.rb: check SSL_CTX_set_next_proto_select_cb
function rather than OPENSSL_NPN_NEGOTIATED macro. it exists
even if it is ... -
04:38 AM Revision b20b9e0a (git): openssl: fix build when NPN is disabled by OpenSSL
- * ext/openssl/extconf.rb: check SSL_CTX_set_next_proto_select_cb
function rather than OPENSSL_NPN_NEGOTIATED macro. it exists
even if it is disabled by OpenSSL configuration.
[ruby-core:74384] [Bug #12182]
* ext/openssl/ossl_ssl.c:... -
02:17 AM Bug #12216 (Rejected): Class inherited Singleton method exclude argument from protected method accessing
- Expected behavior.
In the `inherited` method, `self` and `klass` are `A` and `B` respectively, which are instances of `Class`.
Protected methods can be called from a same class instance. -
12:20 AM Bug #12216 (Rejected): Class inherited Singleton method exclude argument from protected method accessing
- Dear Ruby Lang developers.
I would like to ask about why the following code can work?
Or is it a valid scenario and "as expected" behavior to ignore public call on a protected method.
Thank you guys for the brilliant!
```ru... -
02:08 AM Bug #12215 (Closed): URI::HTTP.new example is incorrect
- Applied in changeset r54257.
----------
fix URI::HTTP.new example
* lib/uri/http.rb (URI::HTTP#initialize): [DOC] fix example,
missing mandatory arguments. [ruby-core:74540] [Bug #12215] -
02:08 AM Revision 1ac12c40 (git): fix URI::HTTP.new example
- * lib/uri/http.rb (URI::HTTP#initialize): [DOC] fix example,
missing mandatory arguments. [ruby-core:74540] [Bug #12215]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:02 AM Bug #10257: Generate X.509 certificate/request/CRL with elliptic curve keys
- As a developer trying to use `OpenSSL::PKey::EC`, I don't see a problem with breaking the `#private_key` and `#public_key` interfaces by changing the type of the return value. The values they return currently aren't usable as-is for anyt...
03/24/2016
-
11:25 PM Bug #12215: URI::HTTP.new example is incorrect
- You are right.
```ruby
uri = URI::HTTP.new('http', nil, "www.example.com", nil, "/path", "query", 'fragment')
```
Triggers the error. Should be changed. -
07:26 PM Bug #12215 (Closed): URI::HTTP.new example is incorrect
- On this page (http://ruby-doc.org/stdlib-2.3.0/libdoc/uri/rdoc/URI/HTTP.html) the example for URI::HTTP.new will result in an error (ArgumentError: wrong number of arguments (`given 7, expected 9..11)`).
A working example (2.3.0-dev)... -
04:58 PM Feature #12214: Inconsistent behaviour and lack of warnings/errors when referencing duplicated _variables
- Oh, I forgot to add the third case:
def foo _, _=2
p _
end
foo 1, 3
gives `1` (and not `3`).
-
04:48 PM Feature #12214 (Open): Inconsistent behaviour and lack of warnings/errors when referencing duplicated _variables
- _, _ = [1, 2]
p _
gives `2`
def foo _, _
p _
end
foo 1, 2
gives `1`
def foo _, _=2
p _
end
foo 1
gives `2`
In other words, referencing duplicated variables starting with an underscore gives inconsiste... -
04:51 PM Bug #12118 (Closed): ruby2.3: Segfaults on m68k due to improper stack allocation
- Applied in changeset r54256.
----------
* thread_pthread.c (reserve_stack): fix reserving position where
the stack growing bottom to top. [Bug #12118] -
04:42 PM Bug #12118: ruby2.3: Segfaults on m68k due to improper stack allocation
- As far as I understand, the fix should be following:
```diff
diff --git a/thread_pthread.c b/thread_pthread.c
index ef43b36..1fdf3f5 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -693,17 +693,31 @@ reserve_stack(volatil... -
09:30 AM Bug #12118: ruby2.3: Segfaults on m68k due to improper stack allocation
- Here's the complete backtrace:
~~~
(sid-m68k-sbuild)root@z6:/build/ruby2.3-dCWwvL/ruby2.3-2.3.0# ./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems -r./m68k-linux-gnu-fake ./tool/rbinstall.rb --m... -
09:27 AM Bug #12118: ruby2.3: Segfaults on m68k due to improper stack allocation
- Hi!
Since my first post was a bit confusing, here is for clarification:
The above patch helped with ruby2.2, but it does not help with ruby2.3, so this seems to be a different problem.
Trying to debug the issue now.
Adrian -
04:51 PM Revision 88291c19 (git): * thread_pthread.c (reserve_stack): fix reserving position where
- the stack growing bottom to top. [Bug #12118]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:30 PM Feature #12133: Ability to exclude start when defining a range
- Please accept apologies for confusion caused by non-matching parenthesis/brackets -- this notation is just a standard way of denoting intervals in mathematics (ref. [ISO 31-11](https://en.wikipedia.org/wiki/ISO_31-11) & [Wikipedia entry ...
-
04:10 PM Revision 22f1db4b (git): mkmf: Unquote directory strings
- * lib/mkmf.rb (find_executable0): On Windows, it is actually valid
to surround individual PATH directory entries with double
quotes. Remove these before joining the path as otherwise the
literal quotes would become part of the path... -
04:04 PM Revision e7e0eeb0 (git): test_find_executable.rb: each_exts
- * test/mkmf/test_find_executable.rb (each_exts): extract common
setup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:49 PM Revision dc54e380 (git): strftime.c: Bignum conversion
- * strftime.c (format_value): convert from Bignum to String,
instead of rb_str_format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:12 PM Revision 24602147 (git): strftime.c: set buffer length
- * strftime.c (FMTV): set the buffer length before appending to
keep just put part.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:01 PM Revision f4f7d497 (git): * 2016-03-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:01 PM Revision 7d488c4e (git): strftime.c: refine r54248
- * strftime.c (FMT_PRECISION): eliminate side effects.
[Bug #12213]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:39 PM Revision 5c233dcd (git): ChangeLog: remove duplicate entry [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:38 PM Bug #12213 (Closed): Lots of warnings: operation on ‘precision’ may be undefined
- Applied in changeset r54248.
----------
strftime.c: remove recursive-assignments
* strftime.c (FMT, FMTV): remove recursive-assignments to get rid
of undefined behavior. [ruby-core:74532] [Bug #12213] -
09:57 AM Bug #12213 (Closed): Lots of warnings: operation on ‘precision’ may be undefined
- When compiling ruby trunk on cygwin, I get a long list of warnings starting with the following:
strftime.c:290:14: warning: operation on ‘precision’ may be undefined [-Wsequence-poin t]
precision = FMT_PRECISI... -
01:38 PM Revision 20215f01 (git): strftime.c: remove recursive-assignments
- * strftime.c (FMT, FMTV): remove recursive-assignments to get rid
of undefined behavior. [ruby-core:74532] [Bug #12213]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:02 PM Feature #12210: Add IdentitySet class that compares members by identity
- I submitted this as a patch because the std lib already contains one subclass of Set (SortedSet) and a commented-out implementation of another (RestrictedSet).
I don’t expect that this class will change beyond the initial implementati... -
01:47 AM Feature #12210: Add IdentitySet class that compares members by identity
- If you want a new class, why not start as a separate gem for it?
-
01:40 AM Feature #12210: Add IdentitySet class that compares members by identity
- I think that rather than creating a new class, adding an option on Set.new (e.g. Set.new([a_str, a_str, "b", "b"], compare_by: :identity)) is more Ruby-like.
-
11:52 AM Bug #12185: Missing symbol inspect_tcpi_msec
- Backported into `ruby_2_2` branch at r54247.
-
11:52 AM Revision a9b42f17 (git): merge revision(s) 54139: [Backport #12185]
- * ext/socket/option.c (inspect_tcpi_msec): more accurate condition
for TCPI msec member inspection function.
[ruby-core:74388] [Bug #12185]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54247 b2dd03c... -
09:42 AM Bug #12212: Parsing a URI of "mailto:?subject=hi" with `URI.parse` raises an exception
- Mark Dodwell wrote:
> Parsing a URI of "mailto:?subject=hi" with `URI.parse` raises an exception. I believe this is a valid "mailto" URI, as defined in RFC6068.
As one of the co-authors of RFC 6068, I have to agree with you. See the ... -
08:59 AM Bug #12212 (Closed): Parsing a URI of "mailto:?subject=hi" with `URI.parse` raises an exception
- Parsing a URI of "mailto:?subject=hi" with `URI.parse` raises an exception. I believe this is a valid "mailto" URI, as defined in RFC6068.
Behavior observed:
```ruby
>> URI.parse("mailto:?subject=hi")
NoMethodError: undefined met... -
09:00 AM Bug #12209: Array#pack("G") problem
- This is obviously a bug in the Ruby-side.
The original code, after swapping the bytes of a double, assigns it to a double.
~~~
d = (..., d);
~~~
At this point, bit pattern of the right-hand expression ends with f67f, which is ... -
06:08 AM Bug #12209: Array#pack("G") problem
- I am aware of the x87 vs. SSE2 differences, but I don't think this issue has anything to do with that.
Note that my example demonstrated that a given Float, when processed by pack("G") + unpack("G") is changed into another bit pattern... -
04:20 AM Bug #12209 (Feedback): Array#pack("G") problem
- It looks because of x87 FPU's internal calculation behavior.
x87 always calculates floating points with 80bit precision on their register, even if the number is 64bit double.
And only when the number is assigned to a 64bit double var... -
08:44 AM Revision 743f2bf8 (git): strftime.c: fix FMTV
- * strftime.c (FMT_PADDING): extract format for padding.
* strftime.c (FMT_PRECISION): extract precision formula.
* strftime.c (FMTV): append formatted string to expand the result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54246 ... -
08:36 AM Feature #12211: introduce Date#first_of_month and Date#last_of_month
- IMHO, consistent approach would be "allow Date/Time to be rounded to any component", there are many uses for this. Maybe something like `ceil`/`floor`/`round` methods set with Symbol argument? Like `floor(:month)` and `ceil(:month)`?
-
08:23 AM Feature #12211 (Open): introduce Date#first_of_month and Date#last_of_month
- Proposes new methods Date#first_of_month and Date#last_of_month which can be very helpful in reporting applications which need the first and the last day of a month very frequently.
~~~
class Date
def first_of_month
Date.... -
08:25 AM Bug #12120: [target/sh4] error: 'asm' operand requires impossible reload
- Hi Nobuyosh!
Nobuyoshi Nakada wrote:
> What constraints does `DTRACE_PROBE4` macro have?
Sorry for the late reply, I apparently didn't get a notification.
I'm not sure where to retrieve that information. Can you point me to whe... -
07:16 AM Bug #12100 (Rejected): CSV converters fail when using single arg proc
-
05:20 AM Revision 44a247c7 (git): strftime.c: case conversion
- * strftime.c (STRFTIME): deal with case conversion flags for
recursive formats.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:27 AM Revision 0f4c580b (git): date_core.c: unused variable
- * ext/date/date_core.c (dt_lite_jisx0301): remove no longer used
variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:43 AM Revision 8d23c8bf (git): date_core.c: append strings
- * ext/date/date_core.c (dt_lite_iso8601): strftimev() always
returns a String, so append them directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:43 AM Revision c85040d4 (git): date_core.c: fix jisx0301 and iso8601
- * ext/date/date_core.c (d_lite_jisx0301, iso8601_timediv),
(dt_lite_jisx0301): format by the format string in local buffer
to prevent intermediate strings from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54242 b2dd03c8-39d... -
03:42 AM Revision c4f51b71 (git): date_core.c: fix inspect
- * ext/date/date_core.c (mk_inspect_raw, mk_inspect): inspect by
"%+"PRIsVALUE, to prevent intermediate strings from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:43 AM Revision ec3d8950 (git): * 2016-03-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:43 AM Revision f3de12aa (git): strftime.c: fix false failure
- * strftime.c (rb_strftime_with_timespec): remove unnecessary
check, as `s` equals to `endp` when recursed STRFTIME resized
the capacity same as the size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54239 b2dd03c8-39d4-4d8f-98f... -
02:20 AM Feature #12208: Improve ri command
- I think it would be great to somehow integrate the 'do_you_mean' functionality into ri.
Also, a bit more interactivity may help. As an example, if I write "ri each", I get just a concatenation of the doc for many different 'each' meth...
03/23/2016
-
09:42 PM Feature #12157: Is the option hash necessary for future Rubys?
- You forget that some people - like me - may use a hash because it is a lot simpler and more convenient too.
I don't have to wonder about any positional arguments ever and I don't want to have to think.
With a hash I don't have to t... -
09:34 PM Feature #12208: Improve ri command
- ri is a bit weird, perhaps it is just that I got used to it not being that hugely important back in 2003 or
2004 or so.
I had to ask on stackoverflow how to obtain information from ri/rdoc, for use in a REPL.
The API is something ... -
06:31 AM Feature #12208: Improve ri command
- We could add the `ri` commands for each method on the Ruby [doc HTML pages](http://ruby-doc.org/core-2.3.0/) at just under the method signature line (like shown in the image attached) or some place else. That way anyone who visits the R...
-
05:22 AM Feature #12208 (Closed): Improve ri command
- Ruby has well documented in rdoc.
It also has a frontend CLI.
But people seems not using `ri`...
At first, write your request here to improve ri command! -
07:26 PM Feature #12210 (Closed): Add IdentitySet class that compares members by identity
- This subclass of Set handles a use case that we ran into where we needed to track instances of objects that might compare as equal.
I was surprised that there was not a core way to do this. IdentitySet allows you to do the following (... -
05:24 PM Bug #12206: undef_method on prepended module undefines same-name method on prepending class
- Kazuhiro NISHIYAMA wrote:
> How about using `remove_method` instead of `undef_method` ?
It worked, thanks! Behavior is still confusing since I undef'd the method on the module rather than the class, but this solves my problem. -
01:36 PM Bug #12206: undef_method on prepended module undefines same-name method on prepending class
- How about using `remove_method` instead of `undef_method` ?
-
04:49 PM Bug #12209 (Closed): Array#pack("G") problem
- Array#pack("G") gives incorrect result *sometimes*. The problem occurs with:
* all Ruby versions I have tried: 2.0.0, 2.3.0 and Subversion-trunk (all built from source)
* only with 32-bit builds (not 64-bit)
* only with GCC (not CLA... - 12:50 PM Revision aeb0be6a (git): * enum.c (ary_inject_op): put subtract operation out of if-clause.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:41 PM Revision e324d29e (git): * enum.c (ary_inject_op): Use Kahan's compensated summation algorithm
- for summing up float values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:57 AM Revision 5396d8a1 (git): strftime.c: format in String
- * strftime.c (rb_strftime_with_timespec): append formatted results
to the given string with expanding, and also deal with NUL chars.
* strftime.c (rb_strftime, rb_strftime_timespec): return formatted
string, not the length put in the... -
05:25 AM Revision 63436b3f (git): * lib/rdoc/ri/driver.rb (interactive): rescue NotFoundError raised in
- expand_name. (display_name rescues NotFoundError by itself,
the original logic looks buggy...)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:44 AM Revision 7bfeb1c2 (git): remove SIGN_EXTEND_CHAR macro
- * marshal.c (r_long): cast to `signed char`, which is used
already, instead of SIGN_EXTEND_CHAR.
* parse.y: SIGN_EXTEND_CHAR is no longer used. [Fix GH-1302]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54234 b2dd03c8-39d4-4d8f-... -
02:38 AM Bug #12199 (Closed): About msys2 path conversion measures in make test-all
- Applied in changeset r54233.
----------
GNUmakefile.in: fix MSYS2_ARG_CONV_EXCL
* cygwin/GNUmakefile.in (MSYS2_ARG_CONV_EXCL_PARAM):
* add missing parentheses and remove double quotes.
* rename to get rid of recursive references.
... -
01:26 AM Bug #12199 (Open): About msys2 path conversion measures in make test-all
-
02:38 AM Revision 6c8efc0d (git): GNUmakefile.in: fix MSYS2_ARG_CONV_EXCL
- * cygwin/GNUmakefile.in (MSYS2_ARG_CONV_EXCL_PARAM):
* add missing parentheses and remove double quotes.
* rename to get rid of recursive references.
* as --excludes-dir option is for a path name, its argument
should be convert... -
01:39 AM Bug #12121 (Closed): 異なる名前空間にある同名の定数により Module.constans の結果の並びが変わる
- Applied in changeset r54231.
----------
* variable.c: Added documentation about order of `Module#constants`
[ci skip][Bug #12121][ruby-dev:49505][fix GH-1301] - 01:39 AM Revision ea6372de (git): * 2016-03-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:39 AM Revision b33841b3 (git): * variable.c: Added documentation about order of `Module#constants`
- [ci skip][Bug #12121][ruby-dev:49505][fix GH-1301]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/22/2016
-
08:38 PM Bug #12207 (Closed): [BUG] Segmentation fault at 0x00000000000000 ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]
- ```
/Users/mdowns/github/partner-api/lib/demandbase/generate_response_service.rb:20: [BUG] Segmentation fault at 0x00000000000000
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]
[1] 62509 abort bundle exec rspec... -
07:07 PM Bug #12206 (Closed): undef_method on prepended module undefines same-name method on prepending class
- 1. Define a class with a method
2. Define a module with a same-name method
3. Prepend the module on the class
4. Undefine the same-name method on the module, not touching the original method on the class
5. Observe the class method t... -
03:54 PM Bug #12199: About msys2 path conversion measures in make test-all
- 対応ありがとうございました。
確認したところ、期待の動作にならなかったのでデバッグしました。
パッチを添付します。
次の1~3、(および4)の修正実施により、期待通りにパス変換が抑制されることを、
MSYS2 installer環境と、RubyInstallerのmsys2化版で確認しました。
1. $() が必要でした。"$MSYS2_ARG_CONV_EXCL"は、"SYS2_ARG_CONV_EXCL"と評価されていました。
2. 1.を直... -
03:34 PM Feature #12205: update missing/strl{cat,cpy}.c
- Shyouhei Urabe wrote:
> The code is much cleaner so I would +1, but it seems the upstream has more recent revisions (strlcat.c 1.16 and strlcpy.c 1.13). Why to avoid them?
The current revisions would require defining a function-like... -
12:02 PM Feature #12205: update missing/strl{cat,cpy}.c
- The code is much cleaner so I would +1, but it seems the upstream has more recent revisions (strlcat.c 1.16 and strlcpy.c 1.13). Why to avoid them?
-
11:43 AM Feature #12205 (Closed): update missing/strl{cat,cpy}.c
- The attached git diff updates `missing/strlcat.c` from 1.8 to 1.15,
`missing/strlcpy.c` from 1.5 to 1.12 and also the `LEGAL` file.
There is no important reason. But there was a license change:
new style-BSD to a less restrictive I... - 12:08 PM Revision d864828f (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:08 PM Revision 2f455cec (git): * include/ruby/oniguruma.h: Additional flag for characters that are titlecase.
- * enc/unicode/case-folding.rb, casefold.h: Using above flag in data.
* enc/unicode.c: Marking capitalized character as unmodified if it is
already titlecase.
* test/ruby/enc/test_case_mapping.rb: Tests for above functionality.
git-sv... -
11:49 AM Bug #12203 (Assigned): dumper.c static int yaml_emitter_dump_scalar two variables have the same value
- They are passed to a macro. I guess the author intentionally separated these two because merging them makes the code less intuitive. It seems OK to be optimized.
-
11:19 AM Bug #12202: nkf.c static void mime_putc the variable being used for loop used for outer loop too
- This is (surprisingly) safe, because that `mimeout_state.count = 0;` line purposefully terminates outer loop. It works as expected; just in a ultimately complicated way.
-
05:19 AM Revision bf99f859 (git): parse.y: lambda indentation check
- * parse.y (lambda_body, parser_yylex): warn mismatched indentation
of lambda block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:13 AM Revision 8c22a641 (git): test_rubyoptions.rb: other indentation checks
- * test/ruby/test_rubyoptions.rb (test_indentation_check): assert
warnings against other keyword mismatches.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:41 AM Revision 15af93fc (git): * time.c (wmul): wrong condition.
- fixed many test failures on 32bit and LLP64 platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 AM Bug #12177 (Assigned): Using `if:` as symbol in hash with new hash syntax in irb console is not working
- 01:37 AM Revision 6957898a (git): * time.c (wdiv, wmod): wdivmod0() assumes the 3rd and the 4th arguments
- are valid pointers.
maybe checking them in wdivmod0() is better manner, but I guess that
passing real dummy pointers may be faster than checking and branching
in wdivmod0().
this commit fixes SEGV on 32bit and LLP64 platforms.
... - 01:24 AM Revision 0dbbcdb6 (git): * time.c (divmodv): void function never returns any value.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:11 AM Revision 66225416 (git): test/unit.rb: defer failures in non-replace mode
- * test/lib/test/unit.rb (Test::Unit::StatusLine#failed): print
failed messages only if replacing mode, otherwise defer them
until the end, to get rid of interleaving failures with progress
messages. refix r54195.
git-svn-id: svn+...
03/21/2016
-
07:14 PM Revision 52065079 (git): fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:57 PM Revision 03d0501f (git): * time.c (MUL_OVERFLOW_FIXWV_P): defined for FIXWV.
- * time.c (wmul): use MUL_OVERFLOW_FIXWV_P and only switch.
* time.c (wmul): use mul which has Fixnum optimization.
* time.c (rb_time_magnify): If WIDEVALUE_IS_WIDER, wmul() has the same
optimized logic, else mul() has also the simila... -
06:57 PM Revision 74d7b281 (git): fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:19 PM Revision 69bedfca (git): * 2016-03-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:19 PM Revision 849bbc65 (git): * time.c (divmodv): add the case both arguments are Fixnum.
- * time.c (wquo): use quo which has Fixnum optimization.
* time.c (wdivmod0): added for WIDEVALUE_IS_WIDER.
* time.c (wdivmod): use wdivmod0 and divmodv.
divmodv has Fixnum optimization.
* time.c (wdiv): use wdivmod0 and div to avoid... -
05:20 PM Feature #12026: Support warning processor
- Tsuyoshi Sawada wrote:
> Can we have additional syntax that is analogous to `rescue` (but a little different)? Maybe something that takes a regex (instead of exception class) for matching, and an optional `=>` that assigns `message` (an... -
02:00 PM Feature #12116: `Fixnum#divmod`, `Bignum#divmod` with multiple arguments
- My proposal remains as I proposed above, but I just wanted to note that there is another natural way to generalize the notion of `divmod` with multiple divisors, and that people be aware of the difference.
* The proposed generalizatio... -
01:53 PM Revision 3176a634 (git): suppress warning
- * iseq.c (rb_iseq_compile_with_option): suppress
maybe-uninitialized warning by gcc 4.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:36 PM Revision 51c4ffa4 (git): * internal.h (rb_fix_divmod_fix): like r54213, use FIX2NUM only if
- x == FIXNUM_MIN && y == -1. This must be a rare case and it is
expected compiler to handle well.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:31 PM Revision 2118eccc (git): time.c (quo): fix missing return
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:21 PM Revision 65478879 (git): fix commit miss
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:17 PM Revision f5715289 (git): * time.c (mod): Add Fixnum case.
- * time.c (quo): c can be Fixnum except a == FIXNUM_MIN && b == -1.
Such case can be optimized out because quo()'s argument is constant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:09 PM Revision d17852b9 (git): internal.h: fix no-DLONG case
- * internal.h (rb_fix_mul_fix): multiply converted values, not
object VALUEs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:18 AM Bug #12199 (Closed): About msys2 path conversion measures in make test-all
- Applied in changeset r54211.
----------
suppress msys2 pathname conversion
* common.mk (TEST_EXCLUDES, EXCLUDE_TESTFRAMEWORK): use full spell
long option.
* cygwin/GNUmakefile.in (MSYS2_ARG_CONV_EXCL): suppress path name
conversion... -
11:18 AM Revision 61cefc13 (git): suppress msys2 pathname conversion
- * common.mk (TEST_EXCLUDES, EXCLUDE_TESTFRAMEWORK): use full spell
long option.
* cygwin/GNUmakefile.in (MSYS2_ARG_CONV_EXCL): suppress path name
conversions by msys2. [ruby-dev:49525] [Bug #12199]
git-svn-id: svn+ssh://ci.ruby-lan... -
10:09 AM Bug #12204 (Closed): Invalid range of capital letters at Greek alphabet
- Applied in changeset r54210.
----------
string.c: skip invalid char gap
* string.c (enc_succ_alnum_char): try to skip an invalid character
gap between GREEK CAPITAL RHO and SIGMA.
[ruby-core:74478] [Bug #12204] -
10:09 AM Revision 0f327839 (git): string.c: skip invalid char gap
- * string.c (enc_succ_alnum_char): try to skip an invalid character
gap between GREEK CAPITAL RHO and SIGMA.
[ruby-core:74478] [Bug #12204]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:55 AM Revision 90c543e4 (git): node.c: mark u3 of NODE_MATCH2
- * node.c (rb_gc_mark_node): NODE_MATCH2 can have nd_args, u3,
since r54100.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:55 AM Revision d5a97351 (git): test/unit.rb: show crashed file
- * test/lib/test/unit.rb (after_worker_down): show failed file name
if worker crashed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e