Activity
From 09/27/2015 to 10/03/2015
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
09/28/2015
-
08:47 PM Feature #11473: Immutable String literal in Ruby 3
- Oh, now I got it, sorry for the confusion and thanks for explaining. I didn't pay attention that the performance gains were due to saving allocations by sharing the same buffer everytime the same string is built. In that case, sorry, but...
-
07:59 PM Feature #11473: Immutable String literal in Ruby 3
- Rodrigo Rosenfeld Rosas wrote:
> No surprises at all. It just means that a and b won't get any performance improvements in this case because they will be unfrozen after (a << '1'). But it won't cause any backwards incompatibilities eith... -
07:20 PM Feature #11473: Immutable String literal in Ruby 3
- I don't follow your concerns. I've suggested something in an attempt to get the performance improvements when possible while keeping backwards compatibility. That means it should work like it currently does:
~~~
a = b = ''
a.object_... -
02:47 PM Feature #11473: Immutable String literal in Ruby 3
- Rodrigo Rosenfeld Rosas wrote:
> a.frozen? Should always return false unless explicitly frozen. That's the only way to keep backwards compatibility, right? Ruby might introduce some other method to get the information whether the string... -
12:43 PM Feature #11473: Immutable String literal in Ruby 3
- a.frozen? Should always return false unless explicitly frozen. That's the only way to keep backwards compatibility, right? Ruby might introduce some other method to get the information whether the string is still in the default initial f...
-
07:29 PM Bug #11553 (Rejected): Disable by default the DTrace support on Linux systems.
-
12:21 PM Bug #11553: Disable by default the DTrace support on Linux systems.
- Ok...
I didn't knew systemtap provided a dtrace binary, neither that it can use the DTrace probes just fine. I just tested it and it worked. Very interesting stuff.
So, I agree that is best keep the default as currently is.
I th... -
02:02 AM Bug #11553: Disable by default the DTrace support on Linux systems.
- > Then disable it if only dtrace4Linux is available?
I still doubt no such distribution, though.
-
12:47 AM Bug #11553: Disable by default the DTrace support on Linux systems.
- Then disable it if only `dtrace4Linux` is available?
How can we know `SystemTap` from `dtrace4Linux`? -
06:10 PM Revision 7f999728 (git): benchmark for symbol block passing
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:30 PM Revision 86695230 (git): proc.c: fix GC guard location
- * proc.c (proc_call): fix GC guard location after the use of its
content.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:11 PM Revision ca264b0a (git): * 2015-09-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:11 PM Revision 8007168b (git): vsnprintf.c: constify
- * vsnprintf.c (FILE::vextra): constify the return value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:43 AM Revision 275b3893 (git): * lib/net/ftp.rb (mtime): use usec instead of fractions to parse
- decimal fractions of a second correctly when the number of digits
is not 6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:10 AM Revision 040ae910 (git): * lib/net/ftp.rb (mtime): parse decimal fractions of a second as
- specified in RFC 3659.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:10 AM Bug #11556 (Closed): [PERF] app_strconcat
- total: 2 trial(s) (2 trial(s) for 1 benchmark(s))
..
-----------------------------------------------------------
benchmark results:
Execution time (sec)
name ruby 2.3.0dev (2015-09-10 trunk 51818) [x86_64-linux]
app_strconcat 0.92... -
02:40 AM Revision 4191a6b9 (git): preserve encodings in error messages
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:33 AM Revision 7d49923e (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:31 AM Revision 8254862f (git): * 2015-09-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:31 AM Revision d92470bb (git): * test/test_forwardable.rb: Write basic tests for lib/forwardable.
- [fix GH-1035] Patch by @kachick
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/27/2015
-
10:32 PM Bug #11553: Disable by default the DTrace support on Linux systems.
- If some distro doesn't support SystemTap and does support dtrace4linux officially, I'm ok to disable dtrace feature only on such distros. In the other hands, I have no seen any sense to disable it on Fedora/RHEL/CentOS.
I'm not sure U... -
03:35 PM Bug #11553: Disable by default the DTrace support on Linux systems.
- I assume that users will have to use --disable-dtrace to be on the safe side.
It is always a problem with binary yes/no enabling options since there is no middle ground in such a situation.
Ruby in general tries to enable whatever ... -
08:27 AM Bug #11553: Disable by default the DTrace support on Linux systems.
- There is SystemTap which works just fine. And if you don't have installed /usr/bin/dtrace, then it will be disabled anyway. So to say, I am against disabling.
-
04:59 PM Bug #11555 (Closed): [PATCH] Documentation for general use of Numeric class
- The Numeric class has never had any documentation about general things like:
1. what it is for;
2. how it differs from other numeric classes;
3. how to use it.
The attached patch adds documentation, with code examples. The patch ca... -
02:32 PM Revision eb47de30 (git): class.c: refine error messages
- * class.c (rb_define_class, rb_define_class_id_under): refine
error messages.
* class.c (rb_define_module, rb_define_module_id_under): ditto,
and make consistent with class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51958 b2... -
09:57 AM Revision dca6009c (git): tkutil.c: use local variables
- * ext/tk/tkutil/tkutil.c (cbsubst_table_setup): use local
variables instead of repeating RARRAY_PTR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:44 AM Revision 05b84472 (git): * ChangeLog: removed duplicated message.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:27 AM Revision 1fd890ea (git): test_rubyoptions.rb: test combinations
- * test/ruby/test_rubyoptions.rb (test_frozen_string_literal): test
combinations of command line option and pragma.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:47 AM Revision 832c74f4 (git): ruby.c: frozen-string-literal option
- * ruby.c (process_options): add an option to enable/disable
frozen-string-literal. [Feature #8976]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:44 AM Feature #8976 (Closed): file-scope freeze_string directive
- Applied in changeset r51953.
----------
fronzen-string-literal pragma
* compile.c (iseq_compile_each): override compile option by option
given by pragma.
* iseq.c (rb_iseq_make_compile_option): extract a function to
overwrite rb_co... -
06:44 AM Feature #9278 (Closed): Magic comment "immutable: string" makes "literal".freeze the default for that file
- Applied in changeset r51953.
----------
fronzen-string-literal pragma
* compile.c (iseq_compile_each): override compile option by option
given by pragma.
* iseq.c (rb_iseq_make_compile_option): extract a function to
overwrite rb_co... -
06:44 AM Revision 859337b1 (git): fronzen-string-literal pragma
- * compile.c (iseq_compile_each): override compile option by option
given by pragma.
* iseq.c (rb_iseq_make_compile_option): extract a function to
overwrite rb_compile_option_t.
* parse.y (parser_set_compile_option_flag): introduce pr... -
06:35 AM Revision 71730b42 (git): test/unit/assertions.rb: all_assertions
- * test/lib/test/unit/assertions.rb (all_assertions): try all
assertions and check if all passed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:52 AM Bug #10686: Memory leaking from torture test of symbol GC
- I would like to propose two changes in `test/ruby/test_symbol.rb (TestSymbol#test_symbol_fstr_leak)`.
First, this test checks only the increase in the virtual size, but it should check the rss as well. On Mac OS X, the memory leak of ... -
05:47 AM Revision 6b52b88d (git): ruby.c: abbreviated option name
- * ruby.c (name_match_p): allow option argument names to be
abbreviated for each words.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:23 AM Revision 7f13f878 (git): id_table.c: fix prototype names
- * id_table.c: fix prototype names, missing underscore prefixes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:17 AM Revision 33ed2983 (git): id_table.c: fix prototype names
- * id_table.c: fix prototype names, missing underscore prefixes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:10 AM Revision 6b64ffd2 (git): id_table.c: suppress warnings
- * id_table.c (UNUSED): mark implementation functions maybe-unused
to suppress warnings by old gcc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e