Activity
From 09/29/2015 to 10/05/2015
10/05/2015
-
10:22 PM Revision 36ca18b8 (git): Put an line before "frozen_string_literal: true" for emacs.
- https://bugs.ruby-lang.org/issues/8976#note-49
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:55 PM Revision a22d6f55 (git): * iseq.c (rb_iseq_free): free iseq::variable_body to avoid memory
- leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:35 PM Feature #11569 (Closed): Optimize Proc#call
- Applied in changeset r52050.
----------
* proc.c: enable optimization of Proc#call.
[Feature #11569]
* NEWS: write about this optimization and incompatibilities.
* test/ruby/test_backtrace.rb: catch up this fix. -
09:32 PM Feature #11569 (Closed): Optimize Proc#call
- Some years ago, I added optimized Proc#call that skips construction of a method frame for Proc#call and call block directly.
That time, test-all shows some failures.
However, I tried it now it doesn't show any errors.
So that I will... -
09:34 PM Revision 0018a711 (git): * proc.c: enable optimization of Proc#call.
- [Feature #11569]
* NEWS: write about this optimization and incompatibilities.
* test/ruby/test_backtrace.rb: catch up this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:27 PM Bug #11559: ビジーループの thread と YAML.parse を組み合わせたときの実行時間が 2.2.3 で遅くなっている
- 一報、スレッドのほうはというと Bug #11030 だけなので、見るからに関係なさそう
-
08:41 PM Feature #11568 (Closed): Misleading warning for duplicate keys in a hash
- When a hash literal has duplicate keys as follows,
~~~ruby
{
a: "foo",
a: "bar",
}
~~~
the warning message goes as follows:
~~~
warning: duplicated key at line 3 ignored: :a
~~~
This message gives the impression ... -
08:12 PM Bug #11515: CreateProcessW() can cause "Invalid access to memory location"
- I found an alternative code version here: http://stackoverflow.com/questions/4514027/createprocessw-acess-violation-in-rtlinitunicodestring
~~~
//I'm copying the string here because CreateProcessW mutates its arguments
wchar_t *tmpC... -
01:30 PM Bug #11515: CreateProcessW() can cause "Invalid access to memory location"
- Nobuyoshi Nakada wrote:
> `CreateChild` is never called with a constant `cmd`, as it is build at the runtime.
Am I reading the code wrong then? The function declaration says `prog` is a `const WCHAR *`.
~~~
CreateChild(const WCH... -
07:44 PM Revision 9b77261a (git): * vm_insnhelper.c: solve goto spaghetti.
- Change all goto statement across blocks to tail call functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:29 PM Revision 237332fc (git): string.c: optimize rb_str_resurrect
- * string.c (rb_str_resurrect): optimize by short circuit to copy
hidden string without checking length, encoding and so on.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:29 PM Revision 355a0d8a (git): compile.c: dstr head type
- * compile.c (compile_dstr_fragments): head of dstr must be a
string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:23 PM Bug #11567 (Closed): Segmentation fault CFUNC :gets
- Running the below code under 2.2.3 results in a segmentation fault. Runs without issue on 2.1.6. Output attached as a text file.
```ruby
require 'open3'
require 'pp'
data_accessor = Mutex.new
results = {}
threads = []
200.ti... -
05:02 PM Bug #11456: Hash リテラル中で rescue をもちいると SyntaxError になる
- r50409, r51616, r51617 and r51624 were backported into `ruby_2_2` branch at r52046.
r50409 により { %w"key": 0 } が SyntaxError になるという(おそらく誰も使っていないと思われる)非互換が入ります。
この変更の全体が必要とは限らないと思いますが、必要なところだけ切り取れる自信がなかったのでまるごと backport します。
-
05:00 PM Bug #10653: do-end block in ternary operator is syntax error
- r50409, r51616, r51617 and r51624 were backported into `ruby_2_2` branch at r52046.
With r50409 a minor incompatibility is introduced ({ %w"key": 0 } cause SyntaxError).
I'm not confident the incompatibility is essential part of this f... -
04:47 PM Revision df51beda (git): merge revision(s) 50409,51616,51617,51624: [Backport #10653] [Backport #11456]
- parse.y: %-string cannot be a label
* parse.y (parser_yylex): %-string cannot be a label even if
terminated by single/double quotes.
* parse.y: fix syntax error at do-block after a conditional
operator. sepa... - 04:43 PM Revision 52788324 (git): * 2015-10-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:43 PM Revision c295d936 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:23 PM Revision 3afe772e (git): * test/ruby/test_thread.rb (test_handle_interrupt_blocking): check if
- exception handling was postponed until sleep.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:27 PM Revision 805c20a8 (git): * lib/pp.rb: Use frozen_string_literal: true.
- * lib/prettyprint.rb: Ditto.
* lib/resolv.rb: Ditto.
* lib/tmpdir.rb: Ditto.
* test/test_pp.rb: Ditto.
* test/test_prettyprint.rb: Ditto.
* tool/transcode-tblgen.rb: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52042 ... -
01:23 PM Feature #8976: file-scope freeze_string directive
- I see.
The error is happen without -*- frozen-string-literal: true -*-.
I understand that my emacs problem is not related to -*-.
-
01:14 PM Feature #8976: file-scope freeze_string directive
- That is, "(void-variable ruby-font-lock-keywords)" means ruby-mode.el doesn't support your Emacs.
It's irrelevant to frozen-string-literal at all. -
01:10 PM Feature #8976: file-scope freeze_string directive
- 21...
Does ruby-mode.el work? -
07:14 AM Feature #8976: file-scope freeze_string directive
- Nobuyoshi Nakada wrote:
> What line did you put?
> ...
This file still shows "File mode specification error: (void-variable ruby-font-lock-keywords)" in minibuffer.
```
boron% cat z.rb
#
# -*- frozen-string-literal: true -*-... -
07:04 AM Feature #8976: file-scope freeze_string directive
- What line did you put?
Emacs opens this file fine.
~~~ruby
#
# -*- frozen-string-literal: true -*-
p "".frozen?
~~~
-
05:55 AM Feature #8976: file-scope freeze_string directive
- Sutou-san's objection apeal me.
I occur "File mode specification error: (void-variable ruby-font-lock-keywords)" with emacs.
Nakada-san's workaround (another line before it) didn't help.
There is no problem with vim which is my fa... -
11:44 AM Revision fab171e5 (git): * test/ruby/test_thread.rb: fix potential race condition.
- The thread could have a "sleep" status because it tries
to acquire the mutex, but does not have it yet.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:10 AM Revision 37ab3ed9 (git): vm_core.h: vm_thread_with_frame
- * vm_core.h (vm_thread_with_frame): skip function call in
GET_THREAD which is empty unless OPT_CALL_CFUNC_WITHOUT_FRAME is
enabled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:10 AM Revision 8b4cf7b7 (git): eval_intern.h: pass_passed_block
- * eval_intern.h (pass_passed_block): make helper inline function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:42 AM Bug #11555 (Closed): [PATCH] Documentation for general use of Numeric class
- Applied in changeset r52037.
----------
* numeric.c: [DOC] Overview for Numeric class by Joe Corcoran
This patch was created at ROSSConf Berlin 2015 [Bug #11555] - 06:42 AM Revision 57149f76 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:42 AM Revision 2c5a139a (git): * numeric.c: [DOC] Overview for Numeric class by Joe Corcoran
- This patch was created at ROSSConf Berlin 2015 [Bug #11555]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:35 AM Bug #11566 (Closed): Segfault when enumerating from a bad constructor.
- Applied in changeset r52036.
----------
proc.c: set ep properly
* proc.c (proc_new): link ep to calling block.
[ruby-core:70980] [Bug #11566] -
04:52 AM Bug #11566: Segfault when enumerating from a bad constructor.
- I found out that this regression is caused by 51995
(https://github.com/ruby/ruby/commit/c90550c251f0c598458d52dd2cbd5445e8d26c65)
(And same type segfault happen on rails travis-ci, so I also test `segf_try.rb`.)
```ruby
# segf_t... -
01:57 AM Bug #11566 (Closed): Segfault when enumerating from a bad constructor.
- ```ruby
Enumerator.new(&:foo).to_a
```
This should raise a `NoMethodError` as it does for older Rubies, but the recent modifications to the internals of `Symbol#to_proc` seem to have elided the CFP information necessary to realize t... -
06:34 AM Revision 2475db57 (git): proc.c: set ep properly
- * proc.c (proc_new): link ep to calling block.
[ruby-core:70980] [Bug #11566]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:29 AM Revision c09cdd9f (git): ruby-runner.c.in: ignore empty env
- * template/ruby-runner.c.in (main): ignore empty or separator-only
value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:29 AM Revision 24e4a93e (git): ruby-runner.c.in: make macros
- * template/ruby-runner.c.in (PATH_SEP, RUBY_INSTALL_NAME): move
configured values as macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:19 AM Revision 12c367ca (git): specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/04/2015
-
06:42 PM Bug #11471: min, min_by, max, max_by with optional parameter return a wrong value
- Backported into `ruby_2_2` branch at r52032.
-
02:42 PM Bug #11471 (Closed): min, min_by, max, max_by with optional parameter return a wrong value
- Applied in changeset r52026.
----------
* enum.c (nmin_filter): Fix limit value.
patch by Helder Pereira.
[Bug #11471] [ruby-core:70477] -
06:42 PM Revision 4758d658 (git): merge revision(s) 52026: [Backport #11471]
- * enum.c (nmin_filter): Fix limit value.
patch by Helder Pereira.
[Bug #11471] [ruby-core:70477]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@52032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:45 PM Feature #11473: Immutable String literal in Ruby 3
- Akira Tanaka wrote:
> I think the usability can be improved.
> ...
That argument doesn't make sense for me. The argument only explains "usability for performance", so it's not usability per se, it's rather about performance.
> I agr... -
03:53 PM Revision 4d753671 (git): dir.c: make ASCII-8BIT
- * dir.c (rb_dir_getwd): make ASCII-8BIT if filesystem encoding is
US-ASCII, like as Dir.glob.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:52 PM Revision 3c534a09 (git): configure.in: remove garbage spaces
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:44 PM Revision 967cb34d (git): * 2015-10-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:43 PM Revision b1a7ef98 (git): configure.in: add ruby-runner only if needed
- * configure.in (PREP): add ruby-runner only if needed to pass the
environment variable for library path as /bin/sh clears it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:42 PM Revision 8595d309 (git): add a comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:41 PM Revision ddb3fbc6 (git): * enum.c (nmin_filter): Fix limit value.
- patch by Helder Pereira.
[Bug #11471] [ruby-core:70477]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:19 PM Bug #11565 (Closed): Error: recipe for target 'ruby-runner' failed
- Applied in changeset r52025.
----------
Makefile.in: ruby-runner with exeext
* Makefile.in (PREP): fix dependent file name with exeext suffix.
[Bug #11565] -
05:39 AM Bug #11565 (Closed): Error: recipe for target 'ruby-runner' failed
- When executing "make up; make install-nodoc" as I do almost everyday, I got the following error:
make[1]: Leaving directory '/cygdrive/c/Data/ruby-public'
gcc -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parenth... -
02:19 PM Revision b0f62ba6 (git): Makefile.in: ruby-runner with exeext
- * Makefile.in (PREP): fix dependent file name with exeext suffix.
[Bug #11565]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:06 PM Feature #11375 (Closed): Decreased Object Allocation in Pathname.rb
- Applied in changeset r52024.
----------
add ref. [Feature #11375] [ruby-core:70043] -
01:06 PM Revision ca7c9e31 (git): add ref. [Feature #11375] [ruby-core:70043]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:05 PM Revision 7ab70c35 (git): * ext/pathname/lib/pathname.rb: freeze string literals for
- reduced object allocation.
patch by schneems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:35 PM Revision 53672aa9 (git): gmake.mk: test order
- * common.mk (test-almost): rename target to test other than
test-frameworks.
* defs/gmake.mk (test-almost): run after test-testframework.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:25 AM Revision 95d80760 (git): refix through 52016,52017,52019,52020 [Bug #11486]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:56 AM Revision ec0793e4 (git): euc_jp.c: fix compile error
- * enc/euc_jp.c (mbc_case_fold): no longer use get_lower_case
result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:51 AM Revision 3dced308 (git): test_m17n_comb.rb: message
- * test/ruby/test_m17n_comb.rb (test_bug11486): add failure
message to r52017.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:50 AM Revision 54c332d2 (git): test_symbol.rb: relax
- * test/ruby/test_symbol.rb (test_to_proc): relax timeout of r51991
too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:25 AM Bug #11486: euc-jpな文字列に対してgsubするとSEGVします
- r52016 で修正しました、報告ありがとうございます。
おそらくbm_search_icを使っているのは意図的なもので、その条件はマルチバイトに対応しているかではなく、
誤マッチが発生するか否かです。
EUC-JPで誤マッチが発生するのは、対象文字列中の2バイト文字の2バイト目から、検索文字列の1バイト目がマッチするケースですが、
この場合はis_allowed_reverse_match()内の(c <= 0x7e || c == 0x8e || c... -
06:14 AM Bug #11486 (Closed): euc-jpな文字列に対してgsubするとSEGVします
- Applied in changeset r52016.
----------
* enc/euc_jp.c (mbc_case_fold): check given string is valid or not,
and if invalid, return 1. [Bug #11486] -
06:18 AM Revision 717be3df (git): add a test for r52016
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:13 AM Revision db152cd2 (git): * enc/euc_jp.c (mbc_case_fold): check given string is valid or not,
- and if invalid, return 1. [Bug #11486]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:42 AM Feature #8976: file-scope freeze_string directive
- I agree with Yusuke Endoh and Kouhei Sutou: requiring -*- creates unnecessary variation among directives. Also, putting another line before it (as Nobu suggests) to avoid problems in Emacs is counter to the idea that all these directives...
-
02:32 AM Revision 5f0bb434 (git): file.c: get rid of intermediate objects
- * file.c (rb_str_normalize_ospath): place normalized strings to
the result string directly, to get rid of intermediate objects
and copying.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:18 AM Revision 87a9dcf1 (git): test_dir_m17n.rb: fix test
- * test/ruby/test_dir_m17n.rb (test_pwd): fix test on some
platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:25 AM Revision 85e83e9f (git): runruby.rb: fallback to ruby
- * tool/runruby.rb: use ruby-runner only when exists and fallback
to ruby itself.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:10 AM Revision c604000a (git): dir.c: normalize cwd
- * dir.c (rb_dir_getwd): normalize OS path to UTF-8 on OS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/03/2015
-
11:17 PM Revision 8bcf8188 (git): test_symbol.rb: reduce iteration
- * test/ruby/test_symbol.rb (test_to_proc): reduce iteration
count more.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:28 PM Revision f1fbc6b8 (git): template/ruby-runner.c.in: POSIX for setenv
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:12 PM Feature #8976: file-scope freeze_string directive
- Kouhei Sutou wrote:
> I object `-*- frozen_string_literal: true -*-` because it shows the following buffer on Emacs when I save or open the file.
Put another line before it. -
11:40 AM Feature #8976: file-scope freeze_string directive
- I object `-*- frozen_string_literal: true -*-` because it shows the following buffer on Emacs when I save or open the file.
```text
The local variables in a.rb
contains values that may not be safe (*).
Do you want to apply it? Y... -
10:42 AM Feature #8976 (Open): file-scope freeze_string directive
- > Anyway it is orthogonal to frozen_string_literal itself.
I do NOT think so.
The current problem I concern is that "frozen_string_literal" requires `-*-`. This feature is the key test that decides Ruby's feature. If people fail ... -
05:59 AM Feature #8976 (Closed): file-scope freeze_string directive
- Yusuke Endoh wrote:
> Since `encoding` magic comments do not require `-*-`, I don't expect frozen_string_literal requires it.
> ...
I also surprised that.
However, I, you and Richard Schneeman find -*- correctly.
Richard Schnee... -
03:11 AM Feature #8976 (Open): file-scope freeze_string directive
- Akira Matsuda wrote:
> ## the magic comment
> ...
This does not work correctly. The current implementation needs `-*-`.
~~~
# -*- frozen_string_literal: true -*-
~~~
Since `encoding` magic comments do not require `-*-`, I don'... - 03:10 PM Revision 69f0a134 (git): * 2015-10-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:09 PM Revision a4fd2a79 (git): ruby-runner
- * template/ruby-runner.c.in: wrapper to set dynamic loading path
environment variable. /bin/sh on Mac OS X 10.11 (El Capitan)
clears DYLD_LIBRARY_PATH.
it must:
- do nothing even if current directory is not present
- do not se... - 02:11 PM Revision 8b6e42a9 (git): * 2015-10-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:11 PM Revision 0d324c84 (git): common.mk: separate tests
- * common.mk (check): separate test-testframework and test-all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/02/2015
-
03:58 PM Feature #11375: Decreased Object Allocation in Pathname.rb
- Updated to use the `# -*- frozen_string_literal: true -*-` invocation.
-
09:52 AM Bug #11564 (Third Party's Issue): Segementation fault while doing rake db:migrate
- I am using ruby
ruby 2.1.7p400 (2015-08-18 revision 51632) [x86_64-linux]
rails: Rails 3.2.13
I recently upgraded from ruby 2.0.0 to ruby 2.1.7,
now when I am trying to do rake db:migrate
I am getting a segmentation fault. -
04:50 AM Revision e54808bb (git): test_method.rb: remove unlinked method entry test
- * test/ruby/test_method.rb: remove test for unlinked method entry
which is no longer vaild since r50728.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:35 AM Revision 8d19c414 (git): test_symbol.rb: reduce iteration
- * test/ruby/test_symbol.rb (test_to_proc): reduce iteration
count. actually it reproduced in 2 times.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:59 AM Revision 44d56b67 (git): test_method.rb: finite loop
- * test/ruby/test_method.rb (test_unlinked_method_entry_in_method_object_bug):
do not expect timeout as normal result. [Bug #8100]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:23 AM Revision b75de9d5 (git): test_thread.rb: handshake
- * test/ruby/test_thread.rb (test_handle_interrupt_blocking): add
handshake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:31 AM Revision 337bf75b (git): test_thread.rb: thread leak
- * test/ruby/test_thread.rb (test_handle_interrupt_blocking): fix
thread leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:23 AM Feature #11562 (Closed): Update Unicode character normalization to Unicode Version 8.0.0
- Completed with r52000.
-
12:08 AM Feature #11562 (Closed): Update Unicode character normalization to Unicode Version 8.0.0
- Unicode character normalization data (the data for String#unicode_normalize,...) needs to be updated to Unicode Version 8.0.0.
-
12:20 AM Revision ae8c13f5 (git): common.mk, lib/unicode_normalize/tables.rb: Change Unicode
- Version for character normalization data from 7.0.0 to 8.0.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:10 AM Feature #11563 (Closed): Update Onigmo regular expression engine to Unicode Version 8.0.0
- The Unicode data for the Onigmo regular expression engine needs to be updated to Unicode Version 8.0.0.
-
12:05 AM Feature #11561 (Closed): Update Unicode data to Unicode Version 8.0
- As done regularly, Ruby should be updated to the newest version of Unicode, 8.0.
For details, please see http://www.unicode.org/versions/Unicode8.0.0/ and http://www.unicode.org/standard/standard.html.
[This is a summary issue, I'll...
10/01/2015
-
04:41 PM Revision 9b73d896 (git): fix indent (tabify) [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:51 PM Revision 92ad578a (git): test_symbol.rb: relax
- * test/ruby/test_symbol.rb (test_to_proc): relax the timeout.
[ruby-core:70961] [Bug #11560]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:21 PM Revision 58ddc7a0 (git): * 2015-10-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:19 PM Bug #11560 (Closed): crash in rb_vm_proc_envval after symbol change
- Applied in changeset r51996.
----------
proc.c: fix symbol proc mark
* proc.c (proc_mark): block.ep of Proc from Symbol is now NULL.
[ruby-core:70961] [Bug #11560] -
01:19 PM Bug #11560 (Closed): crash in rb_vm_proc_envval after symbol change
somewhere in "git diff c2310ba..c90550c" where was some kind of heisenbug (its hard to debug because sometimes the crash does not happen)
below is the backtrace i got from running with gdb
#0 rb_vm_proc_envval (proc=proc@entry...-
03:18 PM Revision 63c7d911 (git): proc.c: fix symbol proc mark
- * proc.c (proc_mark): block.ep of Proc from Symbol is now NULL.
[ruby-core:70961] [Bug #11560]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:18 PM Misc #11548: FileUtils#remove_tailing_slash is a poor method name
- I have created a patch. This is my first contribution here. Sorry if I am doing something wrong.
Thank you very much. -
10:52 AM Revision c90550c2 (git): vm_args.c: fix marking symbol ifunc
- * vm_args.c (vm_caller_setup_arg_block): store new ifunc for
symbol in control frame proc to be marked.
* proc.c (proc_new), vm_insnhelper.c (vm_yield_with_cfunc):
block->proc may be an ifunc now.
git-svn-id: svn+ssh://ci.ruby-lang... -
10:51 AM Revision de2c8c9d (git): * string.c (rb_sym_proc_call): constify
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:50 AM Revision a7f64368 (git): revert r51991
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:57 AM Bug #11556 (Open): [PERF] app_strconcat
-
06:46 AM Bug #11556: [PERF] app_strconcat
- @nobu could we reopen this?
I compiled locally instead of using Docker which I use for RubyBench and got the following results.
-----------------------------------------------------------
benchmark results:
Execution time (sec)... - 02:57 AM Revision eee3546b (git): * 2015-10-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:57 AM Revision 32289fbe (git): vm_args.c: GC guard
- * vm_args.c (vm_caller_setup_arg_block): prevent newly created
ifunc object from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/30/2015
-
12:57 PM Bug #11559: ビジーループの thread と YAML.parse を組み合わせたときの実行時間が 2.2.3 で遅くなっている
- YAML の psych は 2.2.3 で変わっていないので Ruby 本体の Thread まわりのなにかだと思います。
-
10:25 AM Bug #11559 (Closed): ビジーループの thread と YAML.parse を組み合わせたときの実行時間が 2.2.3 で遅くなっている
- ビジーループするスレッドと YAML.parse を並行して実行するような以下のようなコードが 2.2.2 と 2.2.3 で、
数倍遅くなっているようです。trunk でも遅いことを確認してます。
~~~
require 'thread'
require 'yaml'
puts RUBY_VERSION
y = (1..1000).to_a.to_yaml
t = Thread.new do
while true; 1;end
end... -
12:07 PM Feature #11558: Time related C APIs
- Yui NARUSE wrote:
> > > struct tm * localtime_with_gmtoff_zone(const time_t *t, struct tm *result, long *gmtoff, const char **zone);
> ...
アプリケーションに time_t の値が与えられるのであればそうでしょうが、
アプリケーションが time_t の値を生成するのであれば、表現できなかったらどうするかというのは問題になる... -
10:12 AM Feature #11558: Time related C APIs
- Akira Tanaka wrote:
> Yui NARUSE wrote:
> ...
time_tは入力なので、このAPIが考える必要は必ずしもないのではありませんか。
内部処理はyearはint64_tでやって、struct tmにつっこむときにエラーを返せばいいかな。
> zone を char * で返すのはメモリ管理に責任を持てなくなるので、よくないと思います。
これは確かにNULLを渡すことしか考えていなかったので、zoneを削除したも... -
08:55 AM Feature #11558: Time related C APIs
- Yui NARUSE wrote:
> Time関連のC APIを追加して欲しいです。
要望は理解できます。
> ...
いいんじゃないでしょうか。
> 現在時刻をstruct timespecで欲しいです。
> ...
Ruby の定義であることがわかる prefix が名前に必要だと思います。
> 既存の非公開APIを公開してください。
> ...
time_t を使うと 2038年問題を考慮しないといけないので、よくないと思います。... -
05:59 AM Feature #11558 (Closed): Time related C APIs
- Time関連のC APIを追加して欲しいです。
具体的には以下のようなものが欲しいです。
struct timespecとoffsetを取って、Timeを返してください。
VALUE rb_time_timespec_new(const struct timespec *ts, int offset);
趣旨としては、[秒, ナノ秒, offset]からTimeを作って欲しいと言うことです。
(rb_time_num_new(Rational, offse... -
08:12 AM Revision 563127d7 (git): dir.c: give pathlen from callers
- * dir.c (glob_helper): move pathlen to argument which is known in
the callers almost.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:47 AM Revision ae739c75 (git): vm_args.c: optimize symbol block passing
- * vm_args.c (vm_caller_setup_arg_block): bypass Symbol#to_proc
call to optimize symbol block passing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:36 AM Revision 66296d37 (git): proc.c: include symbol name
- * proc.c (proc_to_s): include the original symbol name in string
form.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:42 AM Bug #11557 (Closed): Capturing Limits
-
04:10 AM Bug #11557 (Closed): Capturing Limits
- Ruby 2.2
In IRB and via normal ruby file.rb, you can create unexpected behavior via capture groups.
Via IRB
~~~
"asdf".match(/(.)/)
$1
=> "a"
$2000000
=> nil
$2000000000000000
RangeError: integer 2467954688 too big to...
09/29/2015
-
06:46 PM Bug #11509: Incorrect fraction_digits calculation in lib/rss/rss.rb:41 Time#w3cdtf
- Backported into `ruby_2_2` branch at r51987.
-
08:34 AM Bug #11509: Incorrect fraction_digits calculation in lib/rss/rss.rb:41 Time#w3cdtf
- ruby_2_1 r51977 merged revision(s) 51766,51767.
-
06:45 PM Revision 3d6acf9d (git): merge revision(s) 51766,51767: [Backport #11509]
- * lib/rss/rss.rb (Time#w3cdtf): fix zero-trimmed width of fraction
digits. [ruby-core:70667] [Bug #11509]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@51987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:43 PM Bug #11488: String#index and #include? broken for wide encodings
- Backported into `ruby_2_2` branch at r51986.
-
08:30 AM Bug #11488: String#index and #include? broken for wide encodings
- ruby_2_1 r51976 merged revision(s) 51685.
-
06:42 PM Revision a6268be7 (git): merge revision(s) 51685,51821: [Backport #11488]
- * re.c (rb_memsearch_wchar, rb_memsearch_qchar): test matching
till the end of string. [ruby-core:70592] [Bug #11488]
* test/ruby/test_m17n.rb (test_include?, tet_index): add tests by
Tom Stuart.
* ... -
06:33 PM Bug #11457: miniruby SEGVs on CentOS 5
- Backported into `ruby_2_2` branch at r51985.
-
08:23 AM Bug #11457: miniruby SEGVs on CentOS 5
- ruby_2_1 r51975 merged revision(s) 51626.
-
06:32 PM Revision 6ce7bd6f (git): merge revision(s) 51626: [Backport #11457]
- * thread_pthread.c (reserve_stack): ensure the memory is really
allocated. [Bug #11457]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@51985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:32 PM Bug #10653: do-end block in ternary operator is syntax error
- r51616 should be backported too?
-
06:22 PM Bug #10653: do-end block in ternary operator is syntax error
- After backporting r50409 and r51617, TestSyntax#test_block_after_cond failed.
-
05:48 PM Bug #11556: [PERF] app_strconcat
- > It seems worse than before on your system, while it was better on my system...
Ah I missed this. Hmm is there more information I can provide to help you? -
04:54 PM Bug #11556: [PERF] app_strconcat
- Ah yes I have to add it in manually to https://github.com/ruby-bench/ruby-bench-suite.
Also, I'm seeing a regression on this issue. Let me know if you need more information :)
Ran locally.
```
total: 2 trial(s) (2 trial(s) f... -
03:29 PM Bug #11556: [PERF] app_strconcat
- Guo Xiang Tan wrote:
> Currently the new commits will appear whenever I rebase my fork of the Ruby repo. Do you know who I can reach out to in order to insert a Github hook into the Ruby repro?
I meant http://rubybench.org/ruby/ruby/... -
03:26 PM Bug #11556: [PERF] app_strconcat
- Guo Xiang Tan wrote:
> Currently the new commits will appear whenever I rebase my fork of the Ruby repo. Do you know who I can reach out to in order to insert a Github hook into the Ruby repro?
@hsbt could manage it, I think.
> ..... -
03:06 PM Bug #11556: [PERF] app_strconcat
- Hi Nobu!
Currently the new commits will appear whenever I rebase my fork of the Ruby repo. Do you know who I can reach out to in order to insert a Github hook into the Ruby repro?
Thanks for fixing the issue! -
07:40 AM Bug #11556: [PERF] app_strconcat
- Thank you.
BTW, when will a new benchmark appear there? -
07:39 AM Bug #11556 (Closed): [PERF] app_strconcat
- Applied in changeset r51970.
----------
compile.c: fix performance of strconcat
* compile.c (compile_dstr_fragments): fix performance by omitting
the first empty string only for keeping literal encoding if
other literals are too. ... -
04:47 PM Revision c2310baf (git): parse.y: reorder conditions
- * parse.y (token_info_pop): scan lex buffer only when token info
is enabled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:38 PM Revision aad3a867 (git): parse.y: token length
- * parse.y (token_info_push, token_info_push): add token length
parameter instead of strlen.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:36 PM Revision e1c189be (git): * 2015-09-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:34 PM Revision 17ff3b9b (git): parse.y: fix memory leak
- * parse.y (parser_free): fix memory leak at syntax error when
warn-indent is enabled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:29 PM Revision b881747b (git): * parse.y: fix minor typo. [ci skip][fix GH-1038].
- Patch by @ltratt.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:50 PM Bug #11450: HTTPHeader.content_range throws error on non-byte units
- Raised a [PR](https://github.com/ruby/ruby/pull/1018)
-
12:13 PM Revision 13d53f9a (git): parse.y: mark
- * parse.y (parser_mark): mark compile option hash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:40 AM Bug #11519: "#{nil}" produces string as US-ASCII rather than current encoding
- ruby_2_1 r51978 merged revision(s) 51820.
- 08:40 AM Revision d3fb88d0 (git): merge revision(s) 51820: [Backport #11519]
- * parse.y (literal_concat_gen, evstr2dstr_gen): keep literal
encoding beginning with an interpolation same as the source file
encoding. [ruby-core:70703] [Bug #11519]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bra... - 08:34 AM Revision 4a4a83c9 (git): merge revision(s) 51766,51767: [Backport #11509]
- * lib/rss/rss.rb (Time#w3cdtf): fix zero-trimmed width of fraction
digits. [ruby-core:70667] [Bug #11509]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@51977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:30 AM Revision d69ae6f9 (git): merge revision(s) 51685: [Backport #11488]
- * re.c (rb_memsearch_wchar, rb_memsearch_qchar): test matching
till the end of string. [ruby-core:70592] [Bug #11488]
* test/ruby/test_m17n.rb (test_include?, tet_index): add tests by
Tom Stuart.
git-svn-i... - 08:22 AM Revision 431b9dbd (git): merge revision(s) 51626: [Backport #11457]
- * thread_pthread.c (reserve_stack): ensure the memory is really
allocated. [Bug #11457]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@51975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:18 AM Revision b19d2e9a (git): * version.h (RUBY_VERSION): bump RUBY_VERSION to 2.1.8.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@51974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:03 AM Revision ecefee85 (git): bm_vm3_gc.rb: no shebang
- * benchmark/bm_vm3_gc.rb: remove unnecessary shebang line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:00 AM Revision a136301d (git): unicode_norm_gen.tmpl: end marker
- * template/unicode_norm_gen.tmpl: pragma needs the end marker too,
not only the beginning marker.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:54 AM Revision 1fb502ca (git): tool/unicode_norm_gen.tmpl, lib/unicode_normalize/tables.rb:
- get rid of many .freeze commands by using frozen_string_literal
pragma.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:37 AM Revision ed8b452e (git): compile.c: fix performance of strconcat
- * compile.c (compile_dstr_fragments): fix performance by omitting
the first empty string only for keeping literal encoding if
other literals are too. [ruby-core:70930] [Bug #11556]
* string.c (rb_str_append_literal): append but keep... -
12:21 AM Revision 06b37027 (git): bm_vm_symbol_block_pass.rb: rename
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e