Activity
From 06/24/2016 to 06/30/2016
06/30/2016
- 07:36 PM Revision 35291b7d (git): * 2016-07-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:36 PM Revision 6f10a4af (git): * .gdbinit (rb_ps_thread): show ruby level backtrace.
- Usually you can call `rb_ps` to show ruby leve backtraces
for all living threads.
Note that it can call with core file like `gcore <pid>`
and `gdb ruby core.<pid>`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55548 b2dd03c8-... -
10:23 AM Bug #12454: Regexp: Segfault due to Invalid Read in regcomp.c : add_char_opt_map_info
- More shorter code, probably same issue:
```
$ ruby -e 'Regexp.new("((?<v>))\\g<0>")'
-e:1:in `initialize': undefined type (bug): /((?<v>))\g<0>/ (RegexpError)
from -e:1:in `new'
from -e:1:in `<main>'
``` -
10:20 AM Bug #12536 (Closed): SIGABRT during GC on Debian GNU/Linux 8 (x86_64) due to insufficient string buffer allocation related with term fill
- Applied in changeset r55547.
----------
* string.c: Fix memory corruptions when using UTF-16/32 strings.
[Bug #12536] [ruby-dev:49699]
* string.c (TERM_LEN_MAX): Macro for the longest TERM_FILL length,
the same as largest value of ... -
09:35 AM Bug #12536 (Closed): SIGABRT during GC on Debian GNU/Linux 8 (x86_64) due to insufficient string buffer allocation related with term fill
- x86_64 の Debian GNU/Linux 8.4 にて、いつの間にか、 make test-all が途中で突然死して失敗するようになりました。
```
[ 2025/16989] REXMLTests::EncodingTester#test_parse_utf16 = 0.18 s
[ 2026/16989] REXMLTests::EncodingTester#test_parse_utf16_with_utf8_default_inte
r... -
10:20 AM Revision f2ee2237 (git): * string.c: Fix memory corruptions when using UTF-16/32 strings.
- [Bug #12536] [ruby-dev:49699]
* string.c (TERM_LEN_MAX): Macro for the longest TERM_FILL length,
the same as largest value of rb_enc_mbminlen(enc) among encodings.
* string.c (str_new, rb_str_buf_new, str_shared_replace): Allocate
... -
08:24 AM Revision 893bb61b (git): case-folding.rb: define version numbers
- * enc/unicode/case-folding.rb: define Unicode version numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:13 AM Revision 753ce99e (git): case-folding.rb: check version numbers
- * enc/unicode/case-folding.rb: check if version numbers in each
data files match.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:13 AM Revision 7d4db056 (git): test_stringio.rb: reduce retry count
- * test/stringio/test_stringio.rb (test_overflow): reduce maximum
retry count to get rid of timeout on some platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:31 AM Revision 7d1d8b11 (git): Move unicode tables timestamp
- * common.mk (.unicode-tables.time): move from the top source
directory to the unicode source data directory which contains
its version number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:24 AM Feature #12525 (Closed): Get some inspiration from the Red programming language!
- Could you separate into tickets each specific feature?
Issues on a issue tracker should have a specific goal to close.
And Ruby's feature request should have concrete real use case.
Note that ruby-core ML is open to such an abstr... -
05:17 AM Feature #12525: Get some inspiration from the Red programming language!
- Robert A. Heiler wrote:
> I do not even understand what this means.
Well I have not yet investigated this, but the sentence you mentioned is coming from the Red blog post http://www.red-lang.org/2016/06/061-reactive-programming.htm... -
03:55 AM Feature #12525: Get some inspiration from the Red programming language!
- Reactive Programming:
"It is a way to link one or more object fields to other fields or global words, by specifying relationships in a block of code (can be a single expression or a complex multi-step computation)."
I do not even u... -
05:45 AM Revision 22825418 (git): Magic numbers
- * ext/cgi/escape/escape.c (optimized_unescape_html): remove magic
numbers for literal lengths.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:16 AM Revision 38d340f6 (git): * 2016-06-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:16 AM Revision 7175ee79 (git): Initialize ID
- * ext/cgi/escape/escape.c (accept_charset): initialize the static
ID for theha class variable once at first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:51 AM Feature #12534: Refinements: refine modules as well
- Interesting. I was not aware of this.
It is however mentioned in the documentation:
http://ruby-doc.org/core-2.3.1/doc/syntax/refinements_rdoc.html
Quote:
"Refinements only modify classes, not modules so the argument must b... -
12:27 AM Bug #12535 (Rejected): are there 2 sleep methods defined?
- No.
You are prepending the method on 2 different **objects**, `main` and `Kernel`.
06/29/2016
-
01:34 PM Feature #12533: Refinements: allow modules inclusion, in which the module can call internal methods which it defines.
- Hi Tiago, the syntax is
~~~ruby
your(code).goes here
~~~
Sorry for offtop. -
12:12 PM Feature #12533: Refinements: allow modules inclusion, in which the module can call internal methods which it defines.
- Sorry about the UI for the gist, apparently I don't know anymore how to properly declare code blocks in redmine...
-
12:11 PM Feature #12533 (Closed): Refinements: allow modules inclusion, in which the module can call internal methods which it defines.
- Right now this isn't possible:
~~~ruby
module Extensions
def vegetables ; potatoe ; end
def potatoe ; "potatoe" ; end
end
module Refinary
refine String do
# this doesn't work
include Extensions
# this would work... -
01:26 PM Bug #3817 (Closed): current ruby-openssl impl wrongly utilizes CRYPTO_EX_DATA in X509_STORE
- This hasn't caused any further issues, and OpenSSL 1.1.0 finally added ex_data functions for X509_STORE. So I think this can be closed now.
-
01:24 PM Revision c68da0fd (git): * ext/psych/lib/psych_jars.rb: removed needless file required to JRuby.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:21 PM Revision c2329831 (git): openssl: fix for OpenSSL 1.0.0t
- * ext/openssl/ossl_ocsp.c: The "reuse" behavior of d2i_ functions does
not work well with OpenSSL 1.0.0t. So avoid it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:17 PM Bug #12514: Refinements: when including Module as refinement, can't call other module methods
- Tiago Cardoso wrote:
> Thx, will do. Do you have a link to the reject ticket? Maybe it would be wise to read about the reasons against before filling a similar ticket.
local rebinding was discussed in #4085.
Today, Matz stated tha... -
12:04 PM Bug #12514: Refinements: when including Module as refinement, can't call other module methods
- Thx, will do. Do you have a link to the reject ticket? Maybe it would be wise to read about the reasons against before filling a similar ticket.
-
03:31 AM Bug #12514: Refinements: when including Module as refinement, can't call other module methods
- Tiago Cardoso wrote:
> Don't get me wrong, but you're trying to explain me why it doesn't work. I'm making the point it should work. Why?
> ...
If you don't like the current behavior, please file another ticket as a feature request.
... -
01:16 PM Bug #10398 (Closed): Server Name Indication support broken when reusing a (dead) session
- This should have been fixed by r52682 (in [Bug #11401], as Michiel suggests), and the root cause was also fixed by r55191 (in [Bug #11724]).
-
01:13 PM Misc #12532 (Rejected): OpenSSL is so Difficult to find for Ruby Build Scripts that it Introduces a Security flaw
- Martin Vahi wrote:
> The result is that people do
> ...
~~~
$ gem install <something>
Error: while executing gem (Gem::Exception)
Unable to require openssl. install openSSL and rebuilt ruby (preferred) or use non HTTPs sources
~... -
10:23 AM Misc #12532: OpenSSL is so Difficult to find for Ruby Build Scripts that it Introduces a Security flaw
- you don't want to ship an intree copy of openssl.
the proper solution is that people should use their package manager and *understand* how to use them.
maybe we should make ruby's build hard fail when linking openssl fails. -
10:14 AM Misc #12532: OpenSSL is so Difficult to find for Ruby Build Scripts that it Introduces a Security flaw
- Actually, build scripts might try to
use the operating system version of the OpenSSL
and if they fail to use the operating system
version, then they should use the embedded
OpenSSL source as a backup option. -
10:08 AM Misc #12532 (Rejected): OpenSSL is so Difficult to find for Ruby Build Scripts that it Introduces a Security flaw
The result is that people do
http://stackoverflow.com/a/25186429
~~~
gem source -r https://rubygems.org/
gem source -a http://rubygems.org/
~~~
leading to simplified man-in-the-middle attacks.
Gems have build/installatio...-
12:47 PM Bug #12535 (Rejected): are there 2 sleep methods defined?
- I'm updating this gem which "patches" the sleep method to use prepend, as I wanted to drop support to ruby < 2.0 . (previous implementation was using alias method chain like solution)
So I came across this funny behaviour:
```ruby
... -
12:37 PM Revision 685a18c4 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:19 PM Feature #12534 (Closed): Refinements: refine modules as well
- Refinements were added as a feature to scope monkey-patches on ruby core elements. This works for elements such as String, Array (all classes), but not for modules (Enumerable, Timeout...).
This might be related to refinements not wo... -
09:48 AM Bug #12527 (Assigned): warning: macro redefined: REG_PC and REG_SP on Solaris 10
-
09:46 AM Misc #12529: LEGAL file covering all the license information within Ruby
- +1 Thank you. This should be updated.
-
06:23 AM Revision 8fe1d91f (git): * insns.def (opt_succ): optimize like r55515. (but this argument is
- consntant)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:00 AM Bug #12528: Ruby 2.3.1 Fails to Compile on FreeBSD 8.4-STABLE
- Martin Vahi wrote:
> It seems that You are right, the `--enable-shared` solved the problem.
> ...
It is a different story. `--disable-shared` isn't working should be a bug.
Could you show `rbconfig.rb` and `ext/bigdecimal/mkmf.log` ... -
04:37 AM Revision 8361dab9 (git): VC6 error
- * win32/win32.c (GetSystemWindowsDirectoryW): use
GetWindowsDirectoryW for VC6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:37 AM Revision 91ec3d8f (git): VC6 error
- * random.c (int_pair_to_real_inclusive): get rid of VC6 compile
error C2520: conversion from unsigned __int64 to double not
implemented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:37 AM Revision df8c48a3 (git): Use LONG_LONG
- * missing/crypt.h (B64): use LONG_LONG instead of long long
directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:45 AM Bug #12491 (Closed): TestRefinement#test_prepend_after_refine_wb_miss too slow
- Applied in changeset r55532.
----------
* test/ruby/test_refinement.rb: skip
test_prepend_after_refine_wb_miss on ARM or MIPS.
[ruby-core:76031] [Bug #12491] -
03:45 AM Revision a1d17c59 (git): * test/ruby/test_refinement.rb: skip
- test_prepend_after_refine_wb_miss on ARM or MIPS.
[ruby-core:76031] [Bug #12491]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:27 AM Feature #12079: Loosening the condition for refinement
- I agree that would be nicer to users. My concern is performance penalty.
Matz.
-
03:25 AM Bug #12530 (Rejected): Module Refinements
- This is not a bug, but an expected behavior.
However, changing this behavior is being discussed in #12079.
06/28/2016
-
11:46 PM Bug #12531 (Closed): Segmentation fault occurred when execute curry with block
- Applied in changeset r55531.
----------
Passed block symbol to proc
* proc.c (passed_block): convert passed block symbol to proc.
based on the patch by Daisuke Sato in [ruby-dev:49695].
[Bug #12531] -
09:58 PM Bug #12531: Segmentation fault occurred when execute curry with block
- Remove useless tests.
-
09:46 PM Bug #12531 (Closed): Segmentation fault occurred when execute curry with block
- When I execute code below:
~~~
$ ./ruby -e '-> { true }.curry.call(&:to_s)'
~~~
I create a patch for fix and test. I hope for your help :)
And logs:
~~~
[trunk][~/devel/ruby]$ ./ruby -e 'proc { true }.curry.call(&:to_s)' ... -
11:45 PM Revision 86a756ae (git): Passed block symbol to proc
- * proc.c (passed_block): convert passed block symbol to proc.
based on the patch by Daisuke Sato in [ruby-dev:49695].
[Bug #12531]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:03 PM Revision e3503ee2 (git): Octal mode in un.rb
- * lib/fileutils.rb (FileUtils#symbolic_modes_to_i): revert r55524.
* lib/un.rb (install, chmod): support octal mode string. fix up
r55513.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:37 PM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
- Kazuki Yamaguchi wrote:
> This is based on r55162 (openssl: drop OpenSSL 0.9.6/0.9.7 support) so backporting 1.1.0 support is not so simple.
well, openssl 0.9.x is long gone from all supported Debian releases, so including that would... -
07:00 PM Bug #12514: Refinements: when including Module as refinement, can't call other module methods
- Don't get me wrong, but you're trying to explain me why it doesn't work. I'm making the point it should work. Why?
If I reopen the string class and include the extensions module, it just works. This is the expected meta-behaviour, as ... -
01:49 AM Bug #12514: Refinements: when including Module as refinement, can't call other module methods
- Tiago Cardoso wrote:
> potatoe is not a variable, but a method call. The method is defined right after. That should be the whole point of it, right?
The potatoe is defined in Extension, but String is only refined in the scope where u... - 06:42 PM Revision f29d43a3 (git): * 2016-06-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:42 PM Revision 236b5e97 (git): * bignum.c (rb_big2ulong): the old logic seems to try to avoid
- calculating `-(long)(num-1)-1` if `num` is not LONG_MIN. (Note that
`-LONG_MIN` may be larger than LONG_MAX) But C compilers can
optimize it into single NEG instruction.
Therefore those two conditions can be single if-body.
* bign... -
05:55 PM Bug #12528: Ruby 2.3.1 Fails to Compile on FreeBSD 8.4-STABLE
- Nobuyoshi Nakada wrote:
> What configure options do you use?
> ...
It seems that You are right, the `--enable-shared` solved the problem.
Is it possible to make the `--enable-shared` to be switched on by default?
If it is de facto m... -
02:50 PM Bug #12528 (Feedback): Ruby 2.3.1 Fails to Compile on FreeBSD 8.4-STABLE
- What configure options do you use?
Could you try `--enable-shared` if it is not used? -
11:40 AM Bug #12528 (Closed): Ruby 2.3.1 Fails to Compile on FreeBSD 8.4-STABLE
Build commands:
~~~
make clean
CFLAGS=" -mtune=native -ftree-vectorize " CXXFLAGS=" -mtune=native -ftree-vectorize " ./configure --prefix=/www/apache/domains/www.softf1.com/private_tree_1/m_local/bin_p/Ruby/v_2_3_1 --enable-mul...-
03:03 PM Bug #12530 (Rejected): Module Refinements
- Hi guys, I noticed strange situation with module refinements.
There is difference with using methods which you refine.
*User.new.users* will return ["a", "b", "c", "d%"]
*User.new.users_not_work* will fail with error **"undefine... -
02:03 PM Feature #6943: pstore in FIPS mode
- Seems nothing to block, since md5 seems used just to see if the data is modified.
https://github.com/ruby/ruby/compare/trunk...nobu:feature/6943-pstore-checksum_algorithm -
12:13 PM Feature #6943: pstore in FIPS mode
- Using internal implementation is just hiding the issue. I don't think this would be acceptable solution for FIPS certification, what would be the point then? It is quite easy to generate colliding hashes these days. It might not be that ...
-
01:55 PM Revision c9df0f82 (git): PStore::CHECKSUM_ALGO
- * lib/pstore.rb (PStore::CHECKSUM_ALGO): extract the algorithm for
checksum, instead of qualified names for each times.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:39 PM Bug #11844: Please update unicode-licensed files (license issue)
- > I am going to open/write new issue page for this kind of issue because above issue have already been closed.
Created, though it is focusing on LEGAL file.
https://bugs.ruby-lang.org/issues/12529
-
12:06 PM Bug #11844: Please update unicode-licensed files (license issue)
- Jun Aruga wrote:
> I could not find the license information for enc/trans/GB/*.src from the mapping page. [1]
> ...
I am going to open/write new issue page for this kind of issue because above issue have already been closed.
Sorry for... -
01:36 PM Misc #12529 (Closed): LEGAL file covering all the license information within Ruby
- # Summary
LEGAL file is used to describe the licenses and the files that Ruby license does not cover.
Below Japanese archive is the old discussion in 2001 about the LEGAL file.
This said "please tell me if there is lacked or wrong... -
01:29 PM Revision cafeeb4b (git): bootstraptest/runner.rb may run on older ruby
- * bootstraptest/runner.rb: do not use safe navigation operator.
this runner may run on older ruby. partially revert r53110
(GH-1142 patched by @mlarraz).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55526 b2dd03c8-39d4-4d8f-98... -
01:14 PM Bug #12520 (Closed): CIFS raises Errno::EACCES for chown while UID not found in remote system
- Applied in changeset r55525.
----------
Tue Jun 28 22:09:09 2017 Akio Tajima <artonx@yahoo.co.jp>
* lib/fileutils.rb: rescue Errno:EACCES for chown.
[Bug #12520] -
01:14 PM Revision f2f16f2a (git): Tue Jun 28 22:09:09 2017 Akio Tajima <artonx@yahoo.co.jp>
- * lib/fileutils.rb: rescue Errno:EACCES for chown.
[Bug #12520]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:03 PM Feature #12519 (Rejected): Expansion of modifier_if and modifier_unless
- Agreed to Marcus.
Matz.
-
12:33 PM Revision d34b3c9a (git): Octal mode
- * lib/fileutils.rb (symbolic_modes_to_i): support octal mode
string. fix up r55513.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:54 AM Bug #12527 (Closed): warning: macro redefined: REG_PC and REG_SP on Solaris 10
- Solaris 10 上にて、vm.c のコンパイル中に、以下のマクロ再定義のwarningが出ます。
```
cc -errtags=yes -xO4 -xtarget=sparc64viiplus -m64 -DRUBY_EXPORT -I/usr/local/64/lib/libffi-3.0.10/include -I/usr/local/64/include -D_XOPEN_SOURCE=500 -I. -I.ext/include/spar... -
10:31 AM Bug #12526 (Rejected): Error trying to compile enc/euc_jp.c
- On a fresh checkout of ruby trunk on a fresh installation of cygwin, I get the error below.
gperf (3.0.4) is available, but it may not always have been available during the build process. For commands such as `make enc/jis/props.h`, I g... -
09:42 AM Bug #12524 (Closed): Excess semicolons in ext/digest and ext/openssl
- Applied in changeset r55523.
----------
* ext/digest/md5/md5ossl.h: Remove excess semicolons.
Suppress warning on Solaris with Oracle Solaris Studio 12.
[ruby-dev:49692] [Bug #12524]
* ext/digest/md5/md5cc.h: ditto.
* ext/diges... -
09:30 AM Bug #12524 (Closed): Excess semicolons in ext/digest and ext/openssl
- ext/digest については r49564 以降、 ext/openssl については r55285 以降、
Solaris 10 上の Oracle Solaris Studio 12.x によるコンパイル時に以下のwarningが出ます。
```
compiling md5init.c
"md5ossl.h", line 11: warning: syntax error: empty declaration (E_EMPTY_DECLARATIO... -
09:42 AM Revision 8b251c6c (git): * ext/digest/md5/md5ossl.h: Remove excess semicolons.
- Suppress warning on Solaris with Oracle Solaris Studio 12.
[ruby-dev:49692] [Bug #12524]
* ext/digest/md5/md5cc.h: ditto.
* ext/digest/sha1/sha1cc.h: ditto.
* ext/digest/sha1/sha1ossl.h: ditto.
* ext/digest/sha2/sha2cc.h: ditto.
* ext... -
09:37 AM Feature #12525 (Closed): Get some inspiration from the Red programming language!
- I know this is probably not the right place for a this, but I love Ruby and I can't resist sharing the following information with you, hoping that it will sparkle something interesting in the Ruby language development community.
On Ma... -
07:04 AM Revision ad724308 (git): Move CaseTest
- * test/ruby/enc/test_case_comprehensive.rb (CaseTest): move under
the test case not to pollute the global name space.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:56 AM Bug #12433 (Closed): uncommon.mk:614: recipe for target 'yes-test-almost' failed - missing UnicodeData.txt
- Applied in changeset r55521.
----------
Skip unavailable tests
* test/ruby/enc/test_case_comprehensive.rb: noting to test if
Unicode data files are available.
[ruby-core:76160] [Bug #12433]
* test/test_unicode_normalize.rb: ditto. -
04:07 AM Bug #12433: uncommon.mk:614: recipe for target 'yes-test-almost' failed - missing UnicodeData.txt
- Yes, they show that the Unicode data files didn't get downloaded, and therefore, it's not possible to run the tests in test_case_comprehensive.rb and test_unicode_normalize.rb.
-
06:56 AM Revision 023aaa51 (git): Skip unavailable tests
- * test/ruby/enc/test_case_comprehensive.rb: noting to test if
Unicode data files are available.
[ruby-core:76160] [Bug #12433]
* test/test_unicode_normalize.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55521 b2dd03c8... -
06:20 AM Revision 5026a663 (git): Cache no proxy case
- * lib/net/http.rb (Net::HTTP#proxy_uri): cache the case no proxy
is used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:19 AM Revision 8ff99ded (git): Use conditional operator
- * lib/net/http.rb (Net::HTTP#proxy): use conditional operator to
get rid of confusing ruby-mode.el.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:38 AM Revision 0e585b37 (git): Revert "Use gperf 3.0.4"
- It is wrong commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:52 AM Feature #12523: `Object#values_at`
- I'm not that strongly against it, but wonder if it has actual usage where it is convenient. Do you have any use cases?
-
12:56 AM Revision f1707e44 (git): Fix typo [ci skip]
- * object.c (rb_mod_eqq): [DOC] Fix typo in RDoc. [Fix GH-1393]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/27/2016
- 06:30 PM Revision fc1b4bd6 (git): * 2016-06-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:30 PM Revision 1e791f43 (git): * insns.def (opt_plus): use `- 1` instead of `& (~1)` to allow
- compilers to use x86 LEA instruction (3 operand).
Even if 3 operand LEA's latency is 3 cycle after SandyBridge,
it reduces code size and can be faster because of super scalar.
* insns.def (opt_plus): calculate and use rb_int2big.
... -
06:30 PM Revision 4b31485a (git): Use gperf 3.0.4
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:20 PM Bug #12514: Refinements: when including Module as refinement, can't call other module methods
- the error message in the example is wrong, my bad, it is "potatoe" the undefined method, not "vegetables".
-
03:02 PM Bug #12514: Refinements: when including Module as refinement, can't call other module methods
- potatoe is not a variable, but a method call. The method is defined right after. That should be the whole point of it, right?
-
02:59 PM Feature #12523 (Open): `Object#values_at`
- It might be convenient to have a method that returns multiple attributes of an object.
~~~ruby
class A
attr_accessors :foo, :bar, :baz
def initialize foo, bar, baz; @foo, @bar, @baz = foo, bar, baz end
end
a = A.new("a", ... -
02:05 PM Bug #12433: uncommon.mk:614: recipe for target 'yes-test-almost' failed - missing UnicodeData.txt
- I experiencing two issues with preview1:
```
1) Failure:
TestComprehensiveCaseFold#test_AAAAA_data_files_available [/builddir/build/BUILD/ruby-2.4.0-preview1/test/ruby/enc/test_case_comprehensive.rb:223]:
File /builddir/build/BUI... -
01:26 PM Feature #11195: Add "no_proxy" parameter to Net::HTTP.new
- +1, I'm also having issues with this.
-
12:02 PM Bug #12520: CIFS raises Errno::EACCES for chown while UID not found in remote system
- まぁそれはそれとして入れといていいんじゃないでしょうか。
そういう環境があるということであれば。 -
09:55 AM Bug #12520 (Feedback): CIFS raises Errno::EACCES for chown while UID not found in remote system
- installは次の2点がcp_rと違って、あまり使いたくはないというのが本音です。
1. file_compareで内容を比較する=> 実行ファイルのインストールなら理解できますが、サイズが違うかどうかで十分(この場合、全体量が数100GBあるので中まで読ませたくない。インストールならせいぜい100MB程度~数GB程度が対象とは思う)
2. やりたいことはinstallではなく、再帰的なコピー(名前重要)
とはいえ、代替案としては許容範囲でしょうね。
(もうち... -
01:30 AM Bug #12520 (Assigned): CIFS raises Errno::EACCES for chown while UID not found in remote system
-
10:11 AM Bug #10802: strict-aliasing warning on RHEL/CentOS 6
- I could see still this error on trunk
http://rubyci.s3.amazonaws.com/c64b/ruby-trunk/log/20160627T090203Z.log.html.gz
```
compiling string.c
string.c: In function ‘rb_fstring_new’:
string.c:349: 警告: dereferencing pointer ‘fake_... -
08:02 AM Bug #12522 (Rejected): Keyword arguments should supercede double-splat arguments
- ```ruby
foo **{x: 'fallback'}, x: 1
``` -
06:10 AM Bug #12522 (Rejected): Keyword arguments should supercede double-splat arguments
- I propose that it is more intuitive (and much better for FREST functions; see #12521) if explicit keyword arguments supercede the double-splat argument, rather than the opposite as it is now.
This:
```ruby
def foo(x:)
p "Foo x:... -
07:58 AM Revision 2a5183c2 (git): FileUtils#install: symbolic mode
- * lib/fileutils.rb (FileUtils#install): accecpt symbolic mode, as
well as chmod.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:55 AM Revision 10fcca8f (git): FileUtils#install: owner/group options
- * lib/fileutils.rb (FileUtils#install): add owner and group
options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:17 AM Bug #12521: Syntax for retrieving argument without removing it from double-splat catch-all
- #12522 is a related issue; keyword arguments lvalues have a related issue.
-
06:03 AM Bug #12521 (Closed): Syntax for retrieving argument without removing it from double-splat catch-all
- There is an interesting style of programming that is *almost* really easy to do in Ruby. It would work elegantly with a simple change. A double-colon keyword argument should be available that will still leave the same argument captured b...
-
01:24 AM Revision 71db7bd3 (git): Refactor
- * lib/fileutils.rb (FileUtils::Entry_#copy_metadata): eliminate
common statements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:22 AM Feature #12519: Expansion of modifier_if and modifier_unless
- variable = true ? 1 : 2
isnt that short enough? -
12:32 AM Feature #12519: Expansion of modifier_if and modifier_unless
- Yes, confusing and also not very pretty.
06/26/2016
-
11:57 PM Bug #12517 (Closed): def_delegators broken on ruby-head?
- Applied in changeset r55509.
----------
Coverage on non-positive lines
* compile.c (ADD_TRACE): ignore trace instruction on non-positive
line.
* parse.y (coverage): get rid of ArgumentError when the starting
line number is not posi... -
11:53 PM Bug #12517: def_delegators broken on ruby-head?
- Thanks!
-
12:06 PM Bug #12517: def_delegators broken on ruby-head?
- Here's the repro (OS X 10.11.5 / FreeBSD 10.2):
~~~ruby
require 'coverage'
require 'forwardable'
Coverage.start
class Fail
extend Forwardable
def_delegator :foo, :bar
end
~~~ - 11:56 PM Revision 4c4f809e (git): * 2016-06-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:56 PM Revision f5404751 (git): Coverage on non-positive lines
- * compile.c (ADD_TRACE): ignore trace instruction on non-positive
line.
* parse.y (coverage): get rid of ArgumentError when the starting
line number is not positive. [ruby-core:76141] [Bug #12517]
git-svn-id: svn+ssh://ci.ruby-lang... -
06:17 PM Bug #12520: CIFS raises Errno::EACCES for chown while UID not found in remote system
- 試してはいないのですが、`FileUtils.install(preserve: true)` ではどうでしょうか。
-
11:43 AM Bug #12520 (Closed): CIFS raises Errno::EACCES for chown while UID not found in remote system
- `FileUtils`を利用した`:preserve => true`の`cp_r`中に例外となります。(題名が真の原因かは不明。それ以外に思い当たる点がない)
システムはDebian jessieです。
~~~
Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt2... -
11:02 AM Feature #12519: Expansion of modifier_if and modifier_unless
- Matthew Kerwin wrote:
> It's too confusing.
Agree.
-
06:42 AM Feature #12519: Expansion of modifier_if and modifier_unless
- I am against.
It seems to rewrite the precedence of modifier if. I would expect it to evaluate like this:
~~~ruby
false ? (variable = 1) : 2
~~~
Also does it only apply to assignment? How about other method calls? What would h... -
05:05 AM Feature #12519 (Rejected): Expansion of modifier_if and modifier_unless
- Hi all.
I propose a syntax change to allow the below to be valid ruby.
```ruby
variable = 1 if false else 2
```
This is an extension of the current `modifier_if` below which accomplishes the same result.
```ruby
variable =... -
10:35 AM Revision 06c57968 (git): Convert arguments first
- * ext/win32/lib/Win32API.rb (Win32API#initialize): convert
arguments before dlopen.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:00 AM Bug #12518 (Feedback): You may have encountered a bug in the Ruby interpreter or extension libraries.
- The C level backtrace information you sent says the bug is inside libmysqlclient.20.dylib. Is it possible for you to ask its authors if it is their issue or not? I guess a procedure to reproduce this situation is vital to track this ki...
-
01:20 AM Revision 1f235900 (git): Explicit ".dll" suffix
- * ext/win32/lib/Win32API.rb (Win32API#initialize): Cygwin
2.5.2-1 (perhaps) seems to no longer append ".dll" suffix
implicitly.
* ext/win32/lib/win32/resolv.rb (Win32::Resolv): ditto. Fix the
error reported by yamataka AT u08.itsc... - 12:28 AM Revision 1e03af80 (git): * 2016-06-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:28 AM Revision 60a063d8 (git): Remove -jN option
- * {cygwin,template}/GNUmakefile.in (MAKEFLAGS): remove -jN option
from MAKEFLAGS as well as MFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/25/2016
-
11:45 PM Bug #12517: def_delegators broken on ruby-head?
- I couldn't reproduce it with r55504 on OS X 11.11.5 and Ubuntu 16.04.
-
06:47 AM Bug #12517 (Feedback): def_delegators broken on ruby-head?
- Could you show a small code to reproduce?
-
06:16 AM Bug #12517 (Closed): def_delegators broken on ruby-head?
- I found the following issue:
https://travis-ci.org/ioquatix/build-files/jobs/140181966
~~~
/home/travis/.rvm/rubies/ruby-head/lib/ruby/2.4.0/forwardable.rb:200:in `compile': negative array size (or size too big) (ArgumentError)
... -
11:19 PM Bug #11102 (Feedback): Segmentation fault while running the db:create command in Rails
- Please try with Ruby 2.2.5 or 2.3.1
-
06:09 PM Bug #12518 (Third Party's Issue): You may have encountered a bug in the Ruby interpreter or extension libraries.
- You ask me to send you this crash report
-
08:54 AM Revision fc1af699 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:01 AM Feature #11653: Add to_proc on Hash
- Jörg W Mittag wrote:
> This is basically a subset of what I proposed a year ago in #11262.
Commenting on a closed issue won't help much to move an open issue forward. One thing that might help is to split Feature #11262 into smalle... -
02:32 AM Revision 38f6fe64 (git): Refine assertion
- * test/openssl/test_ocsp.rb: assert_in_delta for better message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:08 AM Revision 5ff2e418 (git): openssl: ignore test failure caused by LibreSSL bug
- * test/openssl/test_ocsp.rb: Ignore errors caused by bugs that exist in
LibreSSL >= 2.3.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/24/2016
-
05:33 PM Bug #12353 (Closed): Regression with Marshal.dump on ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
- Applied in changeset r55500.
----------
No respond_to? as if the default definition
* vm_method.c (vm_respond_to): try method_missing if respond_to?
is undefined, as if it is the default definition.
[ruby-core:75377] [Bug #12353] -
09:48 AM Bug #12353: Regression with Marshal.dump on ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
- Using Ruby 2.3, Marshal.dump(1.day) works with ActiveSupport 4.2.6 but not 4.1.15 because ActiveSupport::Duration inherits from BasicObject in 4.1.15 and Object in 4.2.6.
The issue is that as of Ruby 2.3, Marshal.dump no longer works ... - 05:33 PM Revision 2fb292b6 (git): * 2016-06-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:33 PM Revision b51174a6 (git): No respond_to? as if the default definition
- * vm_method.c (vm_respond_to): try method_missing if respond_to?
is undefined, as if it is the default definition.
[ruby-core:75377] [Bug #12353]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55500 b2dd03c8-39d4-4d8f-98ff-823fe6... -
03:12 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- Let's leave `TrueClass`/`FalseClass`!!
-
07:23 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
- Loren Segal wrote:
> This actually comes up fairly often:
> ...
The search results aren't very convincing to me. Where there's a `Boolean` `class` or `module`, it's usually really tiny. And there are checks for `TrueClass` and `False... -
12:47 PM Bug #9962 (Rejected): Numeric.new
-
12:45 PM Bug #9962: Numeric.new
- 使ってる人がいるならしゃーないですね、と思ってそのままでした。
値の定義がないNumericオブジェクトの存在意義はわからないですし、Numericの子クラスでnewできることの意味もわからないですし、意味があるなら自分でnew定義して正しく意味を付与せよとも思いますが、使ってる人にとっては何らかの意味はあるのでしょうね、多分。 -
07:26 AM Bug #9962 (Feedback): Numeric.new
-
09:07 AM Revision 9de2af7b (git): Fixed accidentally commit miss.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:06 AM Bug #11988 (Closed): YAML.dump doesn't quote string starting with 0 which will be recognized as float in YAML 1.2
- Applied in changeset r55497.
----------
* ext/psych/*, test/psych/*: Upate psych 2.1.0
This version fixed [Bug #11988][ruby-core:72850] - 09:06 AM Revision ae3cb8bc (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:06 AM Revision a099c542 (git): * ext/psych/*, test/psych/*: Upate psych 2.1.0
- This version fixed [Bug #11988][ruby-core:72850]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:43 AM Feature #11262: Make more objects behave like "Functions"
- Note that [`Hash#to_proc`](http://ruby-doc.org/core/Hash.html#method-i-to_proc) has already been implemented as part of another proposal: #11653
-
08:34 AM Feature #11653: Add to_proc on Hash
- Daniel P. Clark wrote:
> Procs can be called the same way a hash is with `[]`. But a Hash is not mappable as a Proc.
> ...
This is basically a subset of what I proposed a year ago in #11262. I additionally proposed that `Hash` also im... -
08:02 AM Feature #11735: Porting String#squish and String#squish! from Ruby on Rails' Active Support
- I don't stop you to do what you want.
But you are requesting it into core. There are so many miserably misused APIs around the world. Isn't it just another example of such thing? Isn't it "too easy to fail"? For instance is it OK ... -
06:52 AM Bug #11147 (Feedback): [SEGFAULT] While looping gets
- Please try with Ruby 2.2.5 or 2.3.1
-
06:51 AM Feature #12399 (Feedback): Restricted, safe version of `Kernel#eval`
-
06:47 AM Bug #12429 (Feedback): http.rb:933: [BUG] Segmentation fault at 0x00000000000000
- Please try with Ruby 2.3.1
-
06:46 AM Bug #12451 (Rejected): ruby yaml strangely parses string as fixnum
-
06:45 AM Bug #12453 (Feedback): 2.3.1p112 version running demo of array methods about 3x slower than running it with 2.2.0p0 version
-
06:32 AM Bug #12516 (Feedback): rails server aborts
- Please attach log file and show an instruction of reproducing server aborts.
-
06:22 AM Feature #12079: Loosening the condition for refinement
- > I would like to propose to loosen the condition for refinement so that as long as the relevant construction (such as the use of & to provoke Symbol#to_proc or calling of send or __send__) is within the valid scope of refinement, allow ...
-
06:14 AM Bug #12491 (Assigned): TestRefinement#test_prepend_after_refine_wb_miss too slow
- Christian Hofstaedtler wrote:
> In Debian we've recently enabled the full test suite (make test-all) on all architectures.
> ...
(snip)
> Please consider bumping the timeout and/or excluding the test?
Does the following fix work?
... -
05:41 AM Bug #12514 (Rejected): Refinements: when including Module as refinement, can't call other module methods
- > #=> in <main>': undefined methodvegetables' for "tomatoe":String
On my box, the following exception is raised instead:
```
t.rb:2:in `vegetables': undefined local variable or method `potatoe' for "tomatoe":String (NameError)
f... -
05:29 AM Revision 656c4586 (git): Read CaseFolding.txt in binary mode
- * enc/unicode/case-folding.rb (CaseFolding#load): read in binary
mode to deal with non-ASCII charater in CaseFolding.txt.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:13 AM Revision bddf4b02 (git): * lib/rubygems.rb, lib/rubygems/*, test/rubygems/*:
- Update rubygems 2.6.5 and 2.6.6.
Release note of 2.6.5: https://github.com/rubygems/rubygems/commit/656f5d94dc888d78d0d00f3598a4fa37391aac80
Release note of 2.6.6: https://github.com/rubygems/rubygems/commit/ccb9c3300c063f5b565666997... -
12:23 AM Revision eff68733 (git): touch
- * enc/unicode/case-folding.rb: touch the destination file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:17 AM Revision 417a000d (git): * 2016-06-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:17 AM Revision d1e2c50a (git): Updating casefold.h
- * common.mk (lib/unicode_normalize/tables.rb): should not depend
on Unicode data files unless ALWAYS_UPDATE_UNICODE=yes, to get
rid of downloading Unicode data unnecessary. [ruby-dev:49681]
* common.mk (enc/unicode/casefold.h): upda...