Activity
From 12/06/2018 to 12/12/2018
12/12/2018
-
11:48 PM Bug #15390: Error installing nokogiri on ruby-2.6.0-rc1
- For what it's worth, if I comment out a line in configure.ac, I can still build and install ruby locally and the version I install can then build and install nokogiri. However, my guess is that the altered code wouldn't build properly on...
-
10:03 PM Bug #15390: Error installing nokogiri on ruby-2.6.0-rc1
- I absolutely hate to waste anyone's time with speculation, but this may not be a problem with nokogiri, per-se. I mention this based on having spent a little time tracking this one down on my own and coming to partial conclusions when it...
-
11:37 PM Bug #15405: Endless range docs
- Thanks!
-
09:45 PM Bug #15405: Endless range docs
- Fixed, thanks
-
08:28 PM Bug #15405: Endless range docs
- @marcandre Thanks!
https://github.com/ruby/ruby/commit/296bd00e02573a231ec52da538fc3b7d9745f688#diff-dbb13b1d844c49e5b1350ddf0a5ca8cbR1490 -- It looks like something went wrong in this line ("...represents **and** semi-infinite ranges.") -
07:47 PM Bug #15405 (Closed): Endless range docs
- Thanks for the patch!
I've modified it slightly and committed it. -
06:47 PM Bug #15405 (Closed): Endless range docs
- Sorry if this is the redundant work and the core team plans to do it themselves, but I noticed that new endless ranges have no mentions in Range documentation.
Trying to fix that. -
10:04 PM Revision 31dc65b2 (git): string.c: [DOC] fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:03 PM Revision 2930317b (git): range.c: [DOC] fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:45 PM Revision c3fe2cb6 (git): range.c: Typo fix [DOC] [ci skip] [#15405]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:35 PM Feature #15393: Add compilation flags to freeze Array and Hash literals
- I had the same thought as shevy, that it'd be nice to have a:
~~~ ruby
# frozen_literals: true
~~~
It might also be worth considering a separate `frozen_array_literal` and `frozen_hash_literal`. I have files where I'd initially o... - 09:17 PM Revision 27ed9b25 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:17 PM Revision 68bdef00 (git): Add test cases of rb_arithmetic_sequence_extract
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:59 PM Bug #15406 (Closed): Loaded iseq may cause SEGV on GC
- Attached `test.rb` causes SEGV on trunk r66370.
`test.log` is stderr log.
I don't known what `[0, 13, 0]` means, but I guess environment dependent.
`./miniruby test.rb 4 17 0` also causes SEGV on mn environment but `./miniruby test.... - 07:51 PM Revision fc4029b8 (git): NEWS: Mention (1...) in addition to (1..) [DOC]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:49 PM Revision 296bd00e (git): range.c: Documentation on endless ranges.
- Based on patch by Victor Shepelev [DOC] [#7552]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:47 PM Bug #15400: Ruby 2.6.0 broken string literal assignment to a local variable in Dir.tmpdir
- nice! thank you. that was a bizarre one.
-
02:32 PM Bug #15400 (Third Party's Issue): Ruby 2.6.0 broken string literal assignment to a local variable in Dir.tmpdir
- I found a bug of webmock.
https://github.com/bblimke/webmock/pull/788
Not a ruby matter :p -
01:59 PM Bug #15400: Ruby 2.6.0 broken string literal assignment to a local variable in Dir.tmpdir
- I can reproduce it on my environment and am debugging now.
-
05:16 PM Revision 103e8d5b (git): skip a test.
- * test/ruby/test_literal.rb (test_debug_frozen_string_in_array_literal):
skip last test if `RUBY_ISEQ_DUMP_DEBUG` is specified because round-trip
(iseq <-> binary/array) doesn't support this feature.
git-svn-id: svn+ssh://ci.ruby-l... -
05:12 PM Revision 447b4dae (git): param.flags.has_kw flag should be FALSE before setting param.keyword.
- * compile.c (ibf_load_iseq_each): iseq_mark assumes that if
param.flags.has_kw is TRUE, then param.keyword is not NULL.
To confirm this assumption, make it FALSE before param.keyword
is initialized.
git-svn-id: svn+ssh://ci.ruby-... -
04:00 PM Bug #15395: Stack consistency error (2.6.0-rc1, JIT)
- r66366 で治るんじゃないかと思うんですが、試して頂けませんでしょうか。
よろしくお願いします。 -
03:59 PM Bug #15395 (Closed): Stack consistency error (2.6.0-rc1, JIT)
- Applied in changeset trunk|r66366.
----------
restore `catch_except_p` flag.
* compile.c: we need to restore `catch_except_p` flag at
`load_from_binary`. [Bug #15395] -
04:00 PM Bug #6030 (Feedback): Thread-local "leak" in rb_exec_recursive*
- This ticket was discussed at today's developer meeting.
Nobu said that per-method entries are removed when it becomes unneeded. So, the "leak" is one hash object per thread. Correct? If so, it is not a big deal. Let us know if we ... -
03:59 PM Revision 8f0a0f40 (git): restore `catch_except_p` flag.
- * compile.c: we need to restore `catch_except_p` flag at
`load_from_binary`. [Bug #15395]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:45 PM Revision 1ca0d427 (git): * 2018-12-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:45 PM Revision 7510eef7 (git): remove `compiled_` prefix. [Feature #15287]
- * vm_trace.c: remove `compiled_` prefix from the following methods:
* `compiled_eval_script`
* `compiled_instruction_sequence`
[Feature #15287]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66364 b2dd03c8-39d4-4d8f-98ff-823fe... -
03:44 PM Bug #15404: Endless range has inconsistent chaining behaviour
- Thank you for your report.
valich (Valentin Fondaratov) wrote:
> ## Why it's important
> ...
I understand the problem. But, it is not specific to endless range, is it? In fact, `(1..1)..1` does parse, and fails to run.
It is po... -
01:08 PM Bug #15404 (Rejected): Endless range has inconsistent chaining behaviour
- Everything below is tested on `Ruby 2.6.0-rc1`. Particular sexp column coordinates are wrong because I've had some leading spaces in the file, sorry.
## The essence of the bug
Syntactically, chaining normal ranges is prohibited. Fo... -
01:25 PM Revision 1a1f9ecb (git): Added entry of Psych.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:07 PM Bug #15303: Return tracepoint doesn't fire when tailcall optimization is applied
- Thank you! That works for me too, and will solve the majority of the cases :)
-
06:06 AM Bug #15303: Return tracepoint doesn't fire when tailcall optimization is applied
- Matz decided to remove tailcall opt from core libraries.
r66349 was committed by nobu.
-
05:46 AM Bug #15303 (Closed): Return tracepoint doesn't fire when tailcall optimization is applied
- Applied in changeset trunk|r66349.
----------
Disable tailcall optimization [Bug #15303] -
11:43 AM Bug #15403 (Closed): Some methods of Date available in Ruby 2.5 are not available since r66329
- Applied in changeset trunk|r66362.
----------
Revise Date#hour, #min, #sec
For ActiveSupport. [ruby-core:90443] [Bug #15403] -
10:58 AM Bug #15403: Some methods of Date available in Ruby 2.5 are not available since r66329
- > This seems incompatible changes. Is it not possible to make it deprecate
> ...
You are probably right there. I assume it may not have been intentional
for 2.6.x; perhaps not even to deprecate it but most certainly not for
removal.
... -
10:34 AM Bug #15403 (Closed): Some methods of Date available in Ruby 2.5 are not available since r66329
- In r66329, some methods were moved to DateTime from Date.
This makes it not available to use methods that were available in Ruby 2.5, like `hour`.
It may not have been intentional that these methods could be used in Date. But Rail... -
11:43 AM Revision c1534d20 (git): Revise Date#hour, #min, #sec
- For ActiveSupport. [ruby-core:90443] [Bug #15403]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:24 AM Revision 90fc1ef7 (git): test/test_open3.rb: skip a fd redirection test on windows
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:06 AM Feature #15066 (Closed): Documentation and providing better API for accessing Complex numbers functions in C extensions
- Applied in changeset trunk|r66360.
----------
complex.c: new APIs for Complex
[Feature #15066] -
11:06 AM Feature #15066: Documentation and providing better API for accessing Complex numbers functions in C extensions
- At the meeting today, mrkn also wanted these APIs.
-
11:06 AM Revision c6ef5bc3 (git): complex.c: new APIs for Complex
- [Feature #15066]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:06 AM Revision dc8afd38 (git): complex.c: rb_complex_new_polar
- * complex.c (rb_complex_new_polar): renamed with _new to clarify
that it creates a new instance, but is not an instance method.
* complex.c (rb_complex_polar): deprecated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66359 b2dd0... -
09:40 AM Revision dd046c59 (git): Bump version to 1.3.0 same as the latest version of rubygems.org.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:17 AM Misc #15347: Require C99
- duerst (Martin Dürst) wrote:
> So what I'm proposing is to use an option that says that we are on C90, and gives a warning for `//` comments and for declarations after statements and so no.
This effectively kills 64 bit integer capab... -
07:57 AM Revision 0d674f53 (git): Bump library version same as released version of rubygems.org
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:41 AM Revision e913ecfd (git): Backport https://github.com/ruby/irb/pull/2
- Fix and improve version string by @stomar
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:37 AM Misc #14610 (Closed): Enhance Proc docs
- Applied in changeset trunk|r66355.
----------
Enhance Proc docs [Misc #14610]
From: Victor Shepelev <zverok.offline@gmail.com> -
01:52 AM Misc #14610: Enhance Proc docs
- I'll try to have a look at it later today or tomorrow.
-
07:37 AM Revision 57a67eb8 (git): Enhance Proc docs [Misc #14610]
- From: Victor Shepelev <zverok.offline@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:34 AM Revision 80762b9f (git): Backport https://github.com/ruby/shell/pull/1
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:16 AM Revision 31eb48a0 (git): enumerator.c: Add rb_arithmetic_sequence_components_t
- Add rb_arithmetic_sequence_components_t struct for encapsulating
the components of ArithmeticSequence.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:59 AM Feature #10771: An easy way to get the source location of a constant
- We picked `constant_source_location`. We will experiment with this method in 2.7 development.
Matz.
-
06:55 AM Bug #15401 (Third Party's Issue): Problem with Ruby interpreter or library extensions
- From the backtrace, it looks ruby2d's issue.
-
06:31 AM Bug #15401 (Feedback): Problem with Ruby interpreter or library extensions
- Changed subject to English.
I don't think we support Ruby 2.3 anymore, please update to a newer version and try again.
Also, please provide a script that reproduces this bug. -
06:48 AM Revision c8cb0565 (git): open3.rb don't use keyword splat (**).
- revert r43582, r49173 and r49177.
open3 arguments uses spawn-like keyword arguments.
Both symbol and integer keys are used.
```
Open3.capture2(*command, :in => IO::NULL, 3 => IO::NULL)
``
This style cannot be supported with keyword spl... - 06:39 AM Revision 914a2903 (git): enumerator.c: rb_arithmetic_sequence_extract
- New public C-API for extracting components of Enumerator::ArithmeticSequence
or Range.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:22 AM Bug #14450: Enchance MatchData docs
- Adding examples looks nice, thank you for contributing.
-
06:10 AM Bug #14450 (Closed): Enchance MatchData docs
- Applied in changeset trunk|r66350.
----------
Enchance MatchData docs [Bug #14450]
From: Victor Shepelev <zverok.offline@gmail.com> -
06:10 AM Revision 3a637971 (git): Enchance MatchData docs [Bug #14450]
- From: Victor Shepelev <zverok.offline@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:52 AM Feature #15287: New TracePoint events to support loading features
- Matz decided to remove `compiled_` prefix.
I'll commit it soon.
-
05:48 AM Misc #15342: DevelopersMeeting20181212Japan
- * [Bug #15114] Ruby で定義したメソッドに `&:hoge` を渡しても refinements が有効にならない
* [Feature #14609] `Kernel#p` without args shows the receiver -
05:46 AM Revision 241dced6 (git): Disable tailcall optimization [Bug #15303]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:38 AM Revision c33e716d (git): mention Pathname change.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:07 AM Revision 7f9bf068 (git): Merge rubygems@21f12a8 from upstream.
- * [BudlerVersionFinder] set .filter! and .compatible? to match only on major versions https://github.com/rubygems/rubygems/pull/2515
* Fix broken symlink that points to ../* https://github.com/rubygems/rubygems/pull/2516
git-svn-id: s... -
05:07 AM Revision 53a5b276 (git): Use File class methods to avoid pipe execution
- Following methods use corresponding File class methods
instead of IO class methods.
- Pathname#each_line
- Pathname#read
- Pathname#binread
- Pathname#write
- Pathname#binwrite
- Pathname#readlines
Reported by ooooooo_q.
git-svn-i... -
04:32 AM Bug #15114: Ruby で定義したメソッドに `&:hoge` を渡しても refinements が有効にならない
- こちら、わたしの方でも調査しているんですが、ちょっと時間がかかりそうなので、引き続きわたしの方でも調査しますが詳しい方に見てもらえると助かります。
- 02:31 AM Revision 337cabf7 (git): Fix location of NEWS for native coroutine.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:28 AM Bug #15376: Default gems: how will it work exactly?
- >1) I believe we need to provide documentation for this. The NEWS file doesn't have much at all. The respective READMEs also have no relevant information and are misleading (see https://github.com/ruby/ostruct/pull/6). I'll be glad to wr...
-
01:51 AM Feature #10344: [PATCH] Implement Fiber#raise
- @ko1 do you think we can aim for 2.6? I don't mind reviewing this patch and merging it if you are happy with it.
-
01:51 AM Feature #10344: [PATCH] Implement Fiber#raise
- I think this is a good idea. I already ended up implementing it by hand, but it's messy.
https://github.com/socketry/async/blob/e169aac7bc47f251ae7c6ebe94820b41bc2d063f/lib/async/task.rb#L43-L55 -
12:38 AM Revision 03bf85f2 (git): bootstraptest/runner.rb: increase timeout for --jit-wait
- because test_io.rb:33 randomly fails
http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/1519055
checking MJIT.enabled? on driver might not make sense for target, but as
long as the CI is -DMJIT_FORCE_ENABLE, I believe it works for ... -
12:17 AM Revision e4922abd (git): Update version number on Bundler section.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:00 AM Bug #15335: Ruby 2.6.0 is not properly fortified
- I've fixed x86 implementation too, now that it was confirmed the previous effort to fix x64 worked as expected. This issue should be completely resolved now (dc6908ab44c3a3fc78319422410b57d3b7fb6c0c / r66341).
12/11/2018
- 11:56 PM Revision ace30f4d (git): Explain which architectures are supported in NEWS.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:55 PM Feature #14739 (Closed): Improve fiber yield/resume performance
- This is now implemented across: arm32, arm64, ppc64le, win32, win64, x86, amd64. Thanks to everyone who helped with this. This is a really awesome first step to improving Ruby Fiber performance.
-
11:49 PM Bug #15335 (Closed): Ruby 2.6.0 is not properly fortified - Applied in changeset trunk|r66341.
----------
Ensure x86 stack is fortified, fixed #15335. - 11:49 PM Revision dc6908ab (git): Ensure x86 stack is fortified, fixed #15335.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:49 PM Revision 20c99b1f (git): * 2018-12-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:49 PM Revision 61c20225 (git): Add NEWS about coroutine implementation.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:20 PM Bug #15303: Return tracepoint doesn't fire when tailcall optimization is applied
- Hello! I have very similar views to alanwu.
The original proposal of extending the API to be able to distinguish between regular method calls and tail calls sounds good to me in principle and looks like it would solve the problem in t... -
10:05 PM Bug #14450: Enchance MatchData docs
- > Added by zverok (Victor Shepelev) 10 months ago.
> ...
Sorry, is it possible to have this merged before 2.6 release? What can I do for it?.. -
10:04 PM Misc #14610: Enhance Proc docs
- > Added by zverok (Victor Shepelev) 9 months ago.
> ...
Sorry, is it possible to have this merged before 2.6 release? What can I do for it?.. -
08:43 PM Misc #15402 (Open): Shrinking excess retained memory of container types on promotion to uncollectible
- I've been toying with the idea of the viability of attempting to reclaim over provisioned memory from buffer capacity of container objects like `Array` and `String`, effectively reducing the footprint of retained memory of such objects.
... -
08:29 PM Bug #15401 (Third Party's Issue): Problem with Ruby interpreter or library extensions
- I have the next issue when i use de ruby2d gem:
bundle exec ruby snake.rb
/Library/Ruby/Gems/2.3.0/gems/ruby2d-0.5.1/lib/ruby2d/ruby2d.bundle: [BUG] Segmentation fault at 0x00000000000dd1e0
ruby 2.3.7p456 (2018-03-28 revision 630... -
08:04 PM Bug #15398: TestThread#test_signal_at_join fails on FreeBSD
- naruse@airemix.jp wrote:
> https://bugs.ruby-lang.org/issues/15398
Odd, r65495 could've solved it, but didn't...
> https://rubyci.org/logs/rubyci.s3.amazonaws.com/freebsd11zfs/ruby-trunk/log/20180826T003001Z.diff.html.gz
>
> N... -
09:10 AM Bug #15398 (Closed): TestThread#test_signal_at_join fails on FreeBSD
- Since r64538 or r64539, TestThread#test_signal_at_join is failing on our FreeBSD CI.
```
+ <n>) Error:
+TestThread#test_signal_at_join:
+Timeout::Error: execution of assert_separately expired timeout (120 sec)
+pid 80587 killed by... -
06:54 PM Bug #15400: Ruby 2.6.0 broken string literal assignment to a local variable in Dir.tmpdir
- Also I've replicated this failure on ruby-head as of a few minutes ago.
Based on the nature of the test, it is plausible that something is happening related to the 2.6.0 ruby changes to introduce the write_timeout -- but whatever is b... -
06:48 PM Bug #15400 (Closed): Ruby 2.6.0 broken string literal assignment to a local variable in Dir.tmpdir
- I think I've found a critical bug in ruby 2.6.0 unfortunately the failure condition is not easy to replicate or convert to a minimal example, or for me to even guess what the problem could be caused by.
To replicate:
~~~
git clone... -
06:24 PM Bug #14541: Class variables have broken semantics, let's fix them
- Inheritance of @@class variables is precisely what makes them useful, since they're truly one single global value.
And in addition to what matz points out rubocop has the Cop::Style::ClassVars warning.
As someone who manages a 10 y... -
11:53 AM Bug #15385: Ruby process hang in ensure
- I didn't confirm this can be reproduced on ruby_2_4 too.
After a quick code reading, I think it might be. -
04:14 AM Bug #15385 (Closed): Ruby process hang in ensure
- Applied in changeset trunk|r66326.
----------
Fix infinite loop by ensure
* compile.c (iseq_insert_nop_between_end_and_cont): insert nop so
that the end of rescue and continuing points are not same, to
get rid of infinite loop. [B... -
11:02 AM Revision 36d93e83 (git): Merge Bundler 1.17.2 from upstream.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:55 AM Revision 23ff1abc (git): Same as r66334 add Errno::EISDIR
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:54 AM Bug #15399 (Closed): [PATCH] insns.def (duparray, duphash): add dtrace hooks
- insns.def (duparray, duphash): add dtrace hooks
They are considered Array and Hash creation events, so
allow dtrace (and systemtap) to track those creations.
I guess they are, at least something is needed to get dtrace
tests ... - 09:49 AM Revision 0046a4a5 (git): test/dtrace: use TracePoint.__enable
- "TracePoint.enable" is implemented in prelude.rb since
r66003 / commit 96990203b71184003cf8a9bad5cc177645820fd4
and not available in miniruby. I tried using regular "ruby"
for testing, but it proved noisy and caused test failures.
git-... - 09:49 AM Revision 349f6a32 (git): test/dtrace: improve diagnostics
- These will help us track down test failures more easily
(on FreeBSD 11.2)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:44 AM Revision 785ace12 (git): CentOS-7 (1810)'s header has O_TMPFILE but kernel doesn't support it
- http://rubyci.s3.amazonaws.com/centos7/ruby-trunk/log/20181206T080003Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:28 AM Feature #13581: Syntax sugar for method reference
- @matz This `pipe_operator` syntax actually looks very similar to https://github.com/matz/streem!
url.pipe { URI.parse | Net::HTTP.get | JSON.parse }
"https://api.github.com/repos/ruby/ruby".pipe do
URI.parse
N... -
07:31 AM Revision ed2ad8fc (git): remove unused (redundant) chapter names
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:35 AM Revision 2b9ad058 (git): doc/contributing.rdoc: remove IA-64 from active platform list
- Now takano32-san has no IA-64 machine for test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:37 AM Bug #15395: Stack consistency error (2.6.0-rc1, JIT)
- 再現コードを小さくしていただきありがとうございます。非常に助かります。
-
04:16 AM Bug #15395: Stack consistency error (2.6.0-rc1, JIT)
- これで再現しました。ただ、temple/map.rb そのままじゃないと再現しないので、何が引っかかっているのか。
Gemfile
~~~ ruby
source "https://rubygems.org"
gem "bootsnap", require: false
gem "temple"
~~~
test.rb
~~~ ruby
require 'bundler/setup'
require 'bootsnap'
Bootsnap.... -
04:05 AM Bug #15395: Stack consistency error (2.6.0-rc1, JIT)
- 承知しました。切り分けの助けになります、ありがとうございます。
> なお明記しませんでしたが、SEGVはしていません。
これに関して、"--jitなしでrailsを起動している最中bootsnapでSEGVしてしまった" のはload_from_binary内で、cfp consistency errorとは全く別の問題の話でした。混同させてしまったようでしたらすみません。
いずれにせよ、これら2つの問題からbootsnapが現在Ruby 2.6では正しく... -
03:36 AM Bug #15395: Stack consistency error (2.6.0-rc1, JIT)
- bootsnapを無効にしたところ、再現しなくなりました。
なお明記しませんでしたが、SEGVはしていません。
ただしPumaがfatalが起きても動き続けていたせいか、`^C`で落とせずにKILLしました。
追試:
* bootsnapを有効にしつつ、bootsnapのキャッシュを削除して起動→再現せず
* そのままPumaを再起動→再現、かつ [BUG] vm_call_cfunc: cfp consistency error (0x000056342... -
05:09 AM Revision 8c69f7ec (git): test/date: removed unnecessaruy `__send__`
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:09 AM Revision 1a0e374b (git): ext/date: Fix !NDEBUG code
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:35 AM Revision b5727054 (git): date_core.c: moved some methods to DateTime
- * ext/date/date_core.c (Init_date_core): moved methods which make
sense only for DateTime to that class, instead of defining
private methods in Date and making them public in DateTime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru... -
04:30 AM Revision 73400c01 (git): date_core.c: reorder ComplexDateData
- * ext/date/date_core.c (ComplexDateData): reordered to adjust
common part with SimpleDateData.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:26 AM Revision eec23088 (git): NEWS: add a ticket number
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:14 AM Revision b91599c4 (git): Fix infinite loop by ensure
- * compile.c (iseq_insert_nop_between_end_and_cont): insert nop so
that the end of rescue and continuing points are not same, to
get rid of infinite loop. [Bug #15385]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66326 b2dd03c8... - 04:13 AM Revision 8e9aa75d (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:13 AM Revision 28eb1474 (git): Modify insn list only when compiling
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:31 AM Bug #15397 (Rejected): Ruby process doesn't release memory back to os on CentOS
- I'm not familiar with low level knowledge, so I'm not sure if this issue belongs to Ruby or CentOS, sorry for this, but it's very easy to produce the problem.
## Reproducer:
ruby -v, I have test this script in both 2.5.1 and 2.5.3,... -
03:07 AM Revision 91533d9a (git): Downgrade Bundler 1.17.x from 2.0.0.
- We have the platform issue on heroku:
* https://gist.github.com/schneems/26452540f6e2bbbcf2ea144f45f6b305
* https://github.com/heroku/heroku-buildpack-ruby/issues/833
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66323 b2dd0... -
12:47 AM Bug #15394: Ruby adds unexpected HTTP header value when using symbol key
- Thanks!!
-
12:44 AM Revision 448e86d7 (git): add clarification about details of update to Unicode 11.0.0 [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:36 AM Bug #15292: Since r64852, on Solaris with Oracle Developer Studio 12.6, compile error of iseq.c
- 実は既に2017年7月頃に正式リリース済です。
https://www.oracle.com/technetwork/server-storage/developerstudio/downloads/index.html
日本語翻訳のページはベータ時のまま放置されているため、誤解されても仕方ないとは思います。
Oracleに報告しようと試みましたが、窓口が不明のため中断しています。
私が実用上不便に感じたらWorkaroudを入れるかもしれません。
-
12:36 AM Revision f6e800da (git): ReFix r663197
- Stringify after downcase, to restrict arguments.
[Bug#15394]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:05 AM Revision 0bdc2287 (git): Fix r663197
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:05 AM Feature #5400: Remove flip-flops in 2.0
- I only got to know it after having read the news entry just now. :-)
I think the impact of its removal will be very, very little - not
many need it; and I am sure even less depend on it. Personally after
having seen it, I would not ...
12/10/2018
-
11:55 PM Bug #15394: Ruby adds unexpected HTTP header value when using symbol key
- Sounds reasonable.
I merged your patch with replacing `to_s` by `to_str` because `to_s` is too loose for the original code
which accepts only `key` which receives `downcase` method.
thanks! -
11:54 PM Bug #15394 (Closed): Ruby adds unexpected HTTP header value when using symbol key
- Applied in changeset trunk|r66319.
----------
Preserve HTTP header key as string [Bug #15394]
to prevent send Host header twice accidentally.
From: Sangyong Sim <sangyong-sim@cookpad.com> -
11:54 PM Revision 1bf066dc (git): Preserve HTTP header key as string [Bug #15394]
- to prevent send Host header twice accidentally.
From: Sangyong Sim <sangyong-sim@cookpad.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:52 PM Revision 8a758e87 (git): Sort [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:47 PM Bug #15292 (Third Party's Issue): Since r64852, on Solaris with Oracle Developer Studio 12.6, compile error of iseq.c
- さすがにこれはOracle Developer Studio 12.6のバグっぽいので、まだBetaなようですしコンパイラ側に報告してもらえませんか。
-
11:40 PM Revision 0c0ec3ad (git): Add the deprecation of flip-flops to NEWS page [ci skip]
- [Fix GH-2047]
From: Junichi Ito <jit@sonicgarden.jp>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:23 PM Revision 8b13cbce (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:22 PM Revision 3a5cc345 (git): Native coroutine implementation for ppc64le Linux
- * configure.ac: enable fiber coroutine for powerpc64le-linux
* coroutine/ppc64le/Context.S: coroutine_transfer implementation
* coroutine/ppc64le/Context.h: coroutine implementation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66... -
11:12 PM Revision dff1e89b (git): add a test to make sure some unassigned codepoints do not get converted
- In test/ruby/enc/test_case_mapping.rb, add a test to make sure the
unassigned codepoints in the Georgian MTAVRULI range (U+1CBB, U+1CBC)
do not get converted to unrelated codepoints by String#capitalize.
(It turns out that this test was ... -
10:11 PM Feature #5400: Remove flip-flops in 2.0
- Could you list this change on NEWS page?
This is because flip-flop is not used so often, but many people know it as one of Ruby's strange features. So this must be an important change.
Please refer my pull request: https://github.c... -
09:11 PM Feature #15287: New TracePoint events to support loading features
- Eregon (Benoit Daloze) wrote:
> How about #source_code or #source or #eval_script instead?
I named `eval_script` because we can not get source code other than `*eval` methods (not by `require` and `load`).
> ...
We can get ISeq on... -
07:48 PM Feature #15287: New TracePoint events to support loading features
- I agree with @eregon. The user has to subscribe to the "compiled_script" event, so the fact that the script has been compiled is already known.
For example:
~~~ ruby
tp = TracePoint.new(:script_compiled) do |e|
p e.compiled_ev... -
01:38 PM Feature #15287: New TracePoint events to support loading features
- "compiled" for the source code seems unnatural.
How about #source_code or #source or #eval_script instead?
instruction_sequence already implies "compiled" so I think the prefix is not needed there too. -
07:36 AM Feature #15287: New TracePoint events to support loading features
- English naming question!
As I mentioned in commit log, I introduced the following two methods:
* `TracePoint#compiled_instruction_sequence` method to get compiled `RubyVM::InstructionSequence` instance.
* `TracePoint#compiled_... -
08:25 PM Bug #15361: [backport] Import Ruby/OpenSSL 2.1.2
- Gentoo has a patch to make Ruby 2.4.5 build against OpenSSL 1.1 without deprecated API: https://github.com/gentoo/gentoo/blob/31f02c1d3c575a5d3cb0f0cbb3dfacf356a17c32/dev-lang/ruby/files/2.4/012-openssl_1.1.patch
-
08:10 PM Feature #15393: Add compilation flags to freeze Array and Hash literals
- Eregon (Benoit Daloze) wrote:
> One alternative idea which would achieve a similar goal is having #deep_freeze on core types, and recognizing `{ 'a' => ['b', { 'c' => 'd' }] }.deep_freeze`.
> ...
I thought about doing this with ".freez... -
01:13 PM Feature #15393: Add compilation flags to freeze Array and Hash literals
- On Mon, Dec 10, 2018 at 1:55 AM <shyouhei@ruby-lang.org> wrote:
> Off topic:
> ...
Interesting code :)
But also inefficient of course, making extra copies (changing identity) and allocations. -
12:55 AM Feature #15393: Add compilation flags to freeze Array and Hash literals
- Off topic:
Eregon (Benoit Daloze) wrote:
> One alternative idea which would achieve a similar goal is having #deep_freeze on core types, and recognizing `{ 'a' => ['b', { 'c' => 'd' }] }.deep_freeze`.
> ...
Object#deep_freeze can be... -
05:13 PM Bug #15250: Concurrent fibers segfault when thread caching is disabled
- Yes! I can confirm that this now appears to be fixed on trunk.
- 03:48 PM Revision 6e99af14 (git): * 2018-12-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:48 PM Revision 2f18a95c (git): fix r66311
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:58 PM Bug #15293 (Closed): Since r64852, on Solaris with Oracle Developer Studio 12.4, syntax error
- Applied in changeset trunk|r66311.
----------
Define HAVE_STMT_AND_DECL_IN_EXPR and use it [Bug #15293] -
01:58 PM Revision 7405bbda (git): Define HAVE_STMT_AND_DECL_IN_EXPR and use it [Bug #15293]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:43 PM Revision 8bb7c992 (git): LEGAL: gathered util.c [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:32 PM Bug #15396: Please backport r62621 for LLP64 environment
- ruby_2_5 r66309 merged revision(s) 62621.
-
12:28 PM Bug #15396: Please backport r62621 for LLP64 environment
- Thank you very much wanabe-san.
r62621 is reasonable candidate of fix for SEGV on mswin and can be cleanly backported.
I will backport it soon. -
10:52 AM Bug #15396 (Closed): Please backport r62621 for LLP64 environment
- Sometimes ruby 2.5.4 occurs SEGV on mswin64.
https://ci.appveyor.com/project/ruby/ruby/builds/20707563
It can be reproduced on my environment.
```
C:\ruby>miniruby.exe -v -e 'RubyVM::InstructionSequence.compile("[]<</1/").to_bi... -
12:31 PM Revision 6473d94d (git): merge revision(s) 62621: [Backport #15396]
- compile.c: do not truncate VALUE to long
* compile.c (ibf_dump_object_regexp): do not truncate VALUE to
long. it makes invalid VALUE on IL32LLP64 platforms where long
is shorter than VALUE.
git-svn-id: svn+... -
11:42 AM Bug #15395: Stack consistency error (2.6.0-rc1, JIT)
- 手元でHamlを使った簡単なアプリ https://github.com/k0kubun/railsapp/tree/bug15398 を作ったところ再現できました。
デバッグ中に--jitなしでrailsを起動している最中bootsnapでSEGVしてしまったのでbootsnapを無効にしてみたところ、再現しなくなりました。もしお使いの開発環境でbootsnapを有効にしている場合、Gemfileの `gem 'bootsnap'` とconfig/boot.rbの... -
07:19 AM Bug #15395 (Closed): Stack consistency error (2.6.0-rc1, JIT)
- ものは試しと Rails 5.2.2 app をJIT下で動かしたところ、Stack consistency error になりました。
OS: Ubuntu 18.04.1 TLS
GCC: 7.3.0-27ubuntu1~18.04
Puma Started as: $ ruby --jit-verbose=1 --jit-save-temps bin/rails server -pXXXX
Ruby versions:
ruby 2.6.0rc1 (... -
08:07 AM Misc #15347: Require C99
- shyouhei (Shyouhei Urabe) wrote:
> duerst (Martin Dürst) wrote:
> ...
Both what was there before r54895 and after, and what's discussed in issue #12336, is all about C99. But as I understand, we are still on C90. So what I'm proposing ... -
07:04 AM Misc #15347: Require C99
- duerst (Martin Dürst) wrote:
> As long as we keep the policy of not using new C features, I wonder why the ./configure script (or whatever else is responsible) doesn't set the relevant warnings. It's okay to check on the continuous inte... -
06:18 AM Misc #15347: Require C99
- duerst (Martin Dürst) wrote:
> k0kubun (Takashi Kokubun) wrote:
> ...
I was bitten again a little bit later (r66135, fixed by Koichi Sasada at r66137).
As long as we keep the policy of not using new C features, I wonder why the ./... -
07:37 AM Misc #15342: DevelopersMeeting20181212Japan
- * [Bug #15394] Ruby adds unexpected HTTP header value when using symbol key
* This is a small change I think, but could make codes less buggy -
07:11 AM Feature #14832 (Closed): Net::ReadTimeout and Net::WriteTimeout should tell the cause socket
- Applied in changeset trunk|r66308.
----------
Net::ReadTimeout and Net::WriteTimeout should tell the cause socket
* lib/net/protocol.rb (ReadTimeout, WriteTimeout): Net::ReadTimeout and Net::WriteTimeout should tell the cause socket
... - 07:11 AM Revision 5f91cace (git): Net::ReadTimeout and Net::WriteTimeout should tell the cause socket
- * lib/net/protocol.rb (ReadTimeout, WriteTimeout): Net::ReadTimeout and Net::WriteTimeout should tell the cause socket
[Feature #14832] [ruby-core:87440]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66308 b2dd03c8-39d4-4d8f-98ff... -
07:10 AM Bug #15332 (Closed): coverage and InstructionSequence regression
-
06:56 AM Feature #14813: [PATCH] gc.c: make gc_enter+gc_exit pairs dtrace probes, too
- sorry to left this issue.
I have no strong idea. If it will help for systemtap user. I don't care.
(I feel changinge "gc_enter" to "GC_ENTER" is a bit difficult to read, but I understand why...).
-
06:48 AM Bug #14817: TracePoint#parameters for bmethod's return event should return the same value as its Method#parameters
- 2.6では known issue にします。
2.7 で、define_method したら ISeq 作るようにするとどうかな、と思っているので、それで一気に解決します。 -
06:47 AM Feature #14888: Add trace point for eval (and related functions)
- @ko1 that sounds great, I will try it out.
-
06:46 AM Feature #14888: Add trace point for eval (and related functions)
- sorry to left this ticket.
`script_compiled` solves it?
[Feature #15287] -
06:26 AM Bug #15390: Error installing nokogiri on ruby-2.6.0-rc1
- hsbt (Hiroshi SHIBATA) wrote:
> I can reproduce this. But I can install `nokogiri` with `brew install libxml2 libxslt` and `gem install nokogiri -- --use-system-libraries=true`.
> ...
It works. Thank you very much. I can run Rails on 2... -
02:34 AM Bug #15390 (Third Party's Issue): Error installing nokogiri on ruby-2.6.0-rc1
- See https://github.com/sparklemotion/nokogiri/pull/1820
-
02:33 AM Bug #15390 (Feedback): Error installing nokogiri on ruby-2.6.0-rc1
- I can reproduce this. But I can install `nokogiri` with `brew install libxml2 libxslt` and `gem install nokogiri -- --use-system-libraries=true`.
Can you try it? -
05:01 AM Feature #15195: Deal with new Japanese era
- There has been an announcement recently in the Japanese news that the Japanese government will make sure the new era name is being published at least one month before the era change. The era change is planned for May 1st, 2019. This mean...
-
04:46 AM Feature #14802 (Closed): Update Unicode data to Unicode Version 11.0.0
- Some hints for future Unicode updates:
* Check early whether modification to algorithms,... are necessary.
* For tests, these are the main ones:
test/test_unicode_normalize.rb
test/ruby/enc
test/ruby/test_m17n*
test/rub... -
04:41 AM Feature #14839 (Closed): How to deal with capitalizing Georgian in Unicode 11.0.0
- I have implemented this so that `String#capitalize` on Georgian text produces all-lowercase results.
This means that formally, `'string'.capitalize` can be defined as `'string'.downcase.capitalize`. This means that for Georgian text, ... -
04:12 AM Feature #13581: Syntax sugar for method reference
- > It conflicts with existing `|` methods.
> ...
@nobu That's just an alias for syntactic sugar - the actual method is named `__pipe__`! My thinking was that it's pretty similar to how we commonly use `send` (which can have conflicts in ... -
02:25 AM Feature #13581: Syntax sugar for method reference
- shuber (Sean Huber) wrote:
> What do you guys think about this alternative syntax? (working proof of concept: https://github.com/LendingHome/pipe_operator)
It conflicts with existing `|` methods.
```ruby
p 1.|2 #=> 3
```
-
02:58 AM Revision 2ea54f0c (git): win32/Makefile.sub: missing dependency of mjit_config.h
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:01 AM Bug #15299 (Closed): hash.c: warning: ‘bin’ may be used uninitialized in this function
- Applied in changeset trunk|r66306.
----------
Initialize bin
* hash.c (linear_update): initialize `bin` just to silence false
warnings by old gcc 4.8. [Bug #15299] -
02:01 AM Revision 485f3b57 (git): Initialize bin
- * hash.c (linear_update): initialize `bin` just to silence false
warnings by old gcc 4.8. [Bug #15299]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:58 AM Revision f798ff4c (git): Limit uplevel travarsing
- * tool/vcs.rb (VCS.detect): limit level of travarsing parent
directories, 0 by the default. curretly always detecting at the
source directory itself.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66305 b2dd03c8-39d4-4d8f-98ff-8... -
01:58 AM Revision fec4b222 (git): Detection order
- * tool/vcs.rb (VCS.detect): detect each VCS while travarsing
parent directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:57 AM Revision 93cb2b35 (git): Updated dates in man pages
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:24 AM Bug #15392: Crash in RubyVM::InstructionSequence#to_binary
- It seems fixed on my machine. Can be a dup of #14897 ?
- 12:05 AM Revision 0c889c07 (git): * 2018-12-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:05 AM Revision ce8a8c10 (git): Remove unnecessary require of fileutils
- Today I updated my ruby core clone, and I run the usual steps to compile
ruby. When running "make", I run into the following error:
```
(... stuff ...)
encdb.h unchanged
Traceback (most recent call last):
5: from ./tool/mkconfig...
12/09/2018
-
11:14 PM Revision 3628eae2 (git): implement special behavior for Georgian for String#capitalize
- The modern Georgian script is special in that it has an 'uppercase'
variant called MTAVRULI which can be used for emphasis of whole words,
for screamy headlines, and so on. However, in contrast to all other
bicameral scripts, there is no... -
10:19 PM Feature #13581: Syntax sugar for method reference
- > matz (Yukihiro Matsumoto) wrote:
> ...
@matz and @nobu
What do you guys think about this alternative syntax? (working proof of concept: https://github.com/LendingHome/pipe_operator)
-9.pipe { abs | Math.sqrt | to_i }
#=... -
12:35 PM Revision 596d7bde (git): test/rdoc/minitest_helper.rb: partially revert r66286
- to resurrect r65613
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:46 AM Revision 4f131605 (git): conceptually partial backport from r63103, r65567.
- All ISeq#to_binary should rescue to skip when running with coverage.
current trunk (2.6-) has assert_iseq_to_binary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@66298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:53 AM Bug #15394 (Closed): Ruby adds unexpected HTTP header value when using symbol key
- ## Problem
Because of this, Ruby will set Host header twice if user uses symbol key.
In other words, host header should be set when host header is not given.
See code: https://github.com/ruby/ruby/blob/0777262b1b08722ee99d73fb8c9703... -
05:38 AM Revision 352e8e9c (git): merge revision(s) 61535:
- iseq.c: fix build error when VM_CHECK_MODE is enabled
Follow up of r61534. Sorry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@66297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:25 AM Bug #15299: hash.c: warning: ‘bin’ may be used uninitialized in this function
- nobu (Nobuyoshi Nakada) wrote:
> What version of cc?
[duerst@stazersee ruby2]$ gcc --version
gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-7)
-
02:32 AM Bug #15299: hash.c: warning: ‘bin’ may be used uninitialized in this function
- What version of cc?
It is a false warning.
`bin` is initialized if the hash is not empty, and otherwise `existing` is `FALSE`.
And the line is in a block of `if (existing)`, so unintialized `bin` never reaches there. -
02:17 AM Bug #14959: Writing a "link_to" method and a "url_helper" with a request parameter under certain "if else" statement in Rails helper crashes with KERN_INVALID_ADDRESS at 0x0000000000000000
- Seems 2.5.4 has been fixed.
-
02:08 AM Revision 0777262b (git): Break lines in LEGAL texts [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:02 AM Revision c2d8078e (git): delete Unicode 10.0.0 related files, no longer needed [#14802]
- This line, and those below, will be ignored--
D enc/unicode/10.0.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 AM Revision bb0b0ec9 (git): Blockquote LEGAL [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:34 AM Revision a2bc831e (git): raise instead of rb_bug
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:22 AM Revision 455dcfa9 (git): Removed never-happening case
- get_uniq_filename never returns NULL but raises an exception on
failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/08/2018
- 10:04 PM Revision ab73ef6b (git): Revert "thread_pthread.c: fix memory leak from fork loop leapfrog (v2)"
- This reverts r66290 / commit 043047a8fd5315d98eac38ddbd04ebe8db361817.
Still fails on CI, and I'm not able to reproduce the failure, either :<
http://ci.rvm.jp/results/trunk-test@ruby-sky1/1508228
git-svn-id: svn+ssh://ci.ruby-lang.org... - 09:45 PM Revision 043047a8 (git): thread_pthread.c: fix memory leak from fork loop leapfrog (v2)
- Constantly forking a single-threaded process in a loop leads to
a memory leak when using POSIX timers.
v2: disarm before timer_delete
==> fork_leapfrog.rb <==
require 'io/wait'
Dir.chdir '/proc'
prev = 0
loop do
pid = fork
exit!(0)... - 08:36 PM Revision 1a17766e (git): Revert "thread_pthread.c: fix memory leak from fork loop leapfrog"
- Oops, CI failures...
This reverts r66288 / commit 2b1dcc1dd1eb260fd20ff1e6e0dfb0e5624a3cc6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:25 PM Revision 2b1dcc1d (git): thread_pthread.c: fix memory leak from fork loop leapfrog
- Constantly forking a single-threaded process in a loop leads to
a memory leak when using POSIX timers.
==> fork_leapfrog.rb <==
require 'io/wait'
Dir.chdir '/proc'
prev = 0
loop do
pid = fork
exit!(0) if pid
# show the number of ... -
05:58 PM Feature #15393: Add compilation flags to freeze Array and Hash literals
- One alternative idea which would achieve a similar goal is having #deep_freeze on core types, and recognizing `{ 'a' => ['b', { 'c' => 'd' }] }.deep_freeze`.
This would be more general, since it would also work for freezing non-constant... -
01:58 PM Feature #15393: Add compilation flags to freeze Array and Hash literals
- About the name - some suggestions if only to show which variants may be
better than others. :)
frozen: true # could say "ruby, freeze as much as you possibly can!"
In other words, that setting/flag could mean that strings, hash... -
12:42 AM Feature #15393 (Open): Add compilation flags to freeze Array and Hash literals
- Hi,
I would like to add VM compilation options to freeze array and hash literals. For example:
~~~ ruby
frozen = RubyVM::InstructionSequence.compile(<<-eocode, __FILE__, nil, 0, frozen_string_literal: true, frozen_hash_and_array_... - 05:39 PM Revision 726ea30a (git): * 2018-12-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:39 PM Revision 18911e99 (git): Merge RDoc 6.1.0.beta3 from upstream
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:00 AM Bug #15284: Unintentional warnings with node.h
- ruby_2_5 r66285 merged revision(s) 65667.
-
08:00 AM Revision 2eadd924 (git): merge revision(s) 65667: [Backport #15284]
- Fix for bison 3.2 [Bug #15284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@66285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:52 AM Revision f6a38e18 (git): Duplicate header name only if found
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:33 AM Bug #15303: Return tracepoint doesn't fire when tailcall optimization is applied
- ko1 (Koichi Sasada) wrote:
> Cancel tailcall opt when `return` event is specified.
I think anyone who goes through all the trouble to enable tailcall elimination right now relies on it to avoid stack overflow.
Why else would someone... -
01:31 AM Bug #15303: Return tracepoint doesn't fire when tailcall optimization is applied
- Ah, I have another strong idea (forgot to propose).
Cancel tailcall opt when `return` event is specified.
-
03:32 AM Revision 0b343021 (git): Fix compile error at r66280
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:20 AM Bug #15391 (Closed): JIT does not respect configuration options
- Applied in changeset trunk|r66282.
----------
Honor configured ruby header locations as the MJIT header path
[Bug #15391] -
02:20 AM Revision 7aea1e65 (git): Honor configured ruby header locations as the MJIT header path
- [Bug #15391]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:05 AM Revision 96339a9e (git): Removed unnecessary dependency on mjit_config.h
- MJIT_MIN_HEADER is passed via a command line option for
mjit_build_dir.so.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:50 AM Revision e15d9d86 (git): Give the MJIT header path name
- Give the whole MJIT header path name by preloaded shared library
mjit_build_dir.so, than building the path from a given directory
name and the embedded base name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66280 b2dd03c8-39d4-4d8... -
01:49 AM Revision 2301054a (git): Use BUILDDIR in ruby-runner.h from config.status
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/07/2018
-
08:57 PM Bug #15356: Rack::Deflater on Rails responds with no data on Ruby 2.6.0
- Thanks so much for both of you! I've finally dug into this a little bit further.
First, I could confirm that the problem I first reported here for the simple Rails app with just `Rack::Deflater` added is fixed on `ruby 2.6.0dev (2018-... -
01:33 PM Bug #15356: Rack::Deflater on Rails responds with no data on Ruby 2.6.0
- me@dmitry.it wrote:
> though this patch leads to described behavior, it looks like
> the actual problem can be solved by putting `Rack::Deflater`
> to the proper place in middleware stack:
Asking users to change app config to migr... -
11:49 AM Bug #15356: Rack::Deflater on Rails responds with no data on Ruby 2.6.0
- normalperson (Eric Wong) wrote:
> OK, I'm pretty sure r66268 fixes it. It's still my fault, not
> ...
though this patch leads to described behavior, it looks like the actual problem can be solved by putting `Rack::Deflater` to the pro... -
07:22 AM Bug #15356: Rack::Deflater on Rails responds with no data on Ruby 2.6.0
- OK, I'm pretty sure r66268 fixes it. It's still my fault, not
because of non-blocking I/O, but because of a misguided zlib
optimization, so I'm still a moron :<
Fortunately the damage was limited and the majority of the zlib
memo... -
01:07 AM Bug #15356: Rack::Deflater on Rails responds with no data on Ruby 2.6.0
- Sorry for the delay in getting back to this. Just for your information, unfortunately, I noticed this problem coming back on ruby 2.6.0rc1 (2018-12-06 trunk 66253) [x86_64-linux]. Below is an example Rails app: https://github.com/zunda/m...
-
07:33 PM Bug #15385: Ruby process hang in ensure
- > ujihisa (Tatsuhiro Ujihisa) wrote:
> ...
Could it be related then to https://bugs.ruby-lang.org/issues/14959#note-7 and https://bugs.ruby-lang.org/issues/15392 then? -
04:53 PM Bug #15250: Concurrent fibers segfault when thread caching is disabled
- Sounds like a duplicate of #14561. It should be fixed on trunk already.
- 04:48 PM Revision 3458e824 (git): * 2018-12-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:48 PM Revision 6fd34802 (git): Fix memory leak when failed to build pch path
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:19 PM Bug #15392 (Closed): Crash in RubyVM::InstructionSequence#to_binary
- The following program causes a crash in Ruby 2.5.3 and 2.5.1 (but not in 2.4.4):
RubyVM::InstructionSequence.compile('a(b: 0) if false').to_binary -
02:37 PM Revision 42ab1fd2 (git): Array#any? just returns true/false
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:29 PM Bug #15391 (Feedback): JIT does not respect configuration options
- > there are 80+ JIT test cases failed
Then, we can't merge, right?
Also most of the changed places are mostly written by @nobu. Reassigning this to him because TBH I have no idea about how multi-arch build is working. -
10:44 AM Bug #15391 (Closed): JIT does not respect configuration options
- JIT does not respect configuration options, mainly the header location options --with-rubyhdrdir, --with-rubyarchhdrdir, but it also ignores --with-ruby-version if I am not mistaken.
So far I came up with the patch attached. But while... -
12:12 PM Revision 0c003350 (git): should not use Internet Explorer
- * spec/ruby/library/win32ole/fixtures/classes.rb: add
SYSTEM_MONITOR_CONTROL_AVAILABLE.
* spec/ruby/library/win32ole/win32ole_method/event_spec.rb: Internet
Explorer is not available in some environment. Instead, try to use
System... -
12:03 PM Bug #15389 (Closed): 9 elements or more larger Hash doesn't show an entry
- Applied in changeset trunk|r66274.
----------
Adjust reserved hash values
The reserved hash values in hash.c must be consistend with st.c.
[ruby-core:90356] [Bug #15389] -
09:30 AM Bug #15389: 9 elements or more larger Hash doesn't show an entry
- @kou you need to debug what sym is, it looks like that it thinks that some of them are already existing
it might also be a bad idea to use such objects as hash keys?
Or debug why hash thinks it already has that key? -
04:25 AM Bug #15389 (Closed): 9 elements or more larger Hash doesn't show an entry
- I don't know this problem is a problem of Racc or Ruby itself yet but I'll share this.
Here is a Ruby script that reproduce this case:
```ruby
require "racc/grammar"
hash = {}
[
[false, 0],
[:error, 1],
[:END, 2],
... -
12:03 PM Revision d60738f6 (git): Adjust reserved hash values
- The reserved hash values in hash.c must be consistend with st.c.
[ruby-core:90356] [Bug #15389]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:45 AM Revision 1e9eb839 (git): Should use the proper constant
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:43 AM Feature #14844: Future of RubyVM::AST?
- Hello. Sorry to step in with a frivolous suggestion, but I just noticed the name `RubyVM::AbstractSyntaxTree` in the RC1 announcement and was surprised by the length of the word when the shorter name "AST" would suffice.
mame (Yusuke ... -
10:06 AM Feature #15317 (Closed): How to deal with obsolete property values in Unicode 11.0.0
- naruse (Yui NARUSE) wrote:
> `/\p{Grapheme_Cluster_Break=E_Modifier}/` is specially introduced for `/\X/`.
> ...
Ok. `/\p{Grapheme_Cluster_Break=E_Modifier}/` now produces an error. If we get any bug reports, we can still revisit thi... -
10:00 AM Revision a610b1f0 (git): Bump rake-12.3.2 on bundled gems.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:57 AM Feature #15182 (Closed): Update extended grapheme cluster implementation for Unicode 11
- Implemented though a long series of patches, centered on regparse.c.
Related patches start at r65085 and end at r66269. The main patch is r66213.
New tests are at test/ruby/enc/test_grapheme_breaks.rb and test/ruby/enc/test_emoji_bre... -
09:22 AM Feature #15378: URI::InvalidURIError (bad URI(is not URI?)
- ipatovanton (Anton Ipatov) wrote:
> Thank you!
> ...
As far as I can see from the info you gave us, it seems the problem has nothing to do with encodings. -
09:01 AM Revision a3798256 (git): replace hardcoded emoji version by RbConfig::CONFIG['UNICODE_EMOJI_VERSION']
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:51 AM Feature #15341 (Closed): Provide emoji version as RbConfig::CONFIG['UNICODE_EMOJI_VERSION']
- Applied in changeset trunk|r66270.
----------
Add UNICODE_EMOJI_VERSION to RbConfig [Feature #15341] -
08:51 AM Revision a8307939 (git): Add UNICODE_EMOJI_VERSION to RbConfig [Feature #15341]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:32 AM Bug #11335: `ruby -r debug` catchpoint problem - I was able to reproduce the issue on newer Ruby.
```
$ ruby -v
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-openbsd]
```
sigsys (Math Ieu) wrote:
> By looking at `lib/debug.rb`, it looks like that the `set_trace_func` call... -
07:22 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
- > https://bugs.ruby-lang.org/issues/14968
So I'm hoping this can be revisited in the 2.7 timeframe even
if I'm not around.
IMHO it's too late for 2.6, now, but [Bug #15356] was resolved
and it doesn't seem like this had anything... -
07:20 AM Revision 9bb2da28 (git): convert check for array length to assertion and comment out
- In regparse.c, in function node_extended_grapheme_cluster,
we used a raw if() with exit(1) as a cross-check for our
length calculations for the common node array. Convert this
to an assertion and comment it out because it is not needed
f... - 07:09 AM Revision cc9b57a2 (git): zlib (gzfile_write_raw): do not resize string after .write call
- Apparently, a component of Rails implements a buffering .write
method which keeps the String buffer around and makes it unsafe
for us to clear it after calling .write.
This caused Rack::Deflater to give empty results when enabled.
Fort... -
07:04 AM Revision 7780553c (git): remove code duplication and put everything into forward order
- In file regparse.c, in function node_extended_grapheme_cluster(),
eliminate code duplication of CRLF and '.' (any character). This
uses the fact that both for Unicode encodings and for non-Unicode
encodings, the first alternative is CRLF... -
06:57 AM Bug #15390 (Third Party's Issue): Error installing nokogiri on ruby-2.6.0-rc1
- I am having issues with installing nokogiri on my Mac, Mojave 10.14.1 (18B75).
~~~ text
nedims-MacBook-Pro:~ nedim$ rvm use ruby-2.6.0-rc1
Using /Users/nedim/.rvm/gems/ruby-2.6.0-rc1
nedims-MacBook-Pro:~ nedim$ gem install nokogi... -
03:24 AM Bug #15388 (Closed): CSV parsing behaviour in > 2.5.0
- OK. I'll close this.
-
03:05 AM Bug #15388: CSV parsing behaviour in > 2.5.0
- kou (Kouhei Sutou) wrote:
> It seems that this has been fixed in csv master.
> ...
Thanks. Working fine with version 3.0.1. -
02:07 AM Bug #15388 (Assigned): CSV parsing behaviour in > 2.5.0
- Arguments validation may be better but we need more works for it. For example, we need to add similar logic to `CSV.read` for this case.
Anyone who wants to work on argument validation should send pull requests to https://github.com/r... -
01:59 AM Bug #15388: CSV parsing behaviour in > 2.5.0
- It seems that this has been fixed in csv master.
I've released csv gem 3.0.1. Can you try it? -
01:44 AM Bug #15388: CSV parsing behaviour in > 2.5.0
- dharshandj@gmail.com (Dharshan Bharathuru) wrote:
> I needed a object-key reference in future references instead of index based references.
It doesn't need to write headers. -
12:49 AM Bug #15388: CSV parsing behaviour in > 2.5.0
- nobu (Nobuyoshi Nakada) wrote:
> Why do you want to write headers when parsing?
I needed a object-key reference in future references instead of index based references. -
12:31 AM Bug #15388: CSV parsing behaviour in > 2.5.0
- Maybe an error is expected?
```diff
diff --git i/lib/csv.rb w/lib/csv.rb
index dca2a45b6a..e4ad55085c 100644
--- i/lib/csv.rb
+++ w/lib/csv.rb
@@ -687,8 +687,9 @@
# You pass your +str+ to read from, and an optional +options+ ... -
12:02 AM Bug #15388: CSV parsing behaviour in > 2.5.0
- Why do you want to write headers when parsing?
-
02:25 AM Bug #13880 (Closed): `BigDecimal(string)` should raise on invalid values in `string`
- Fixed in r66222
-
02:24 AM Bug #13848 (Closed): BigDecimal.new('200.') raises an exception
- Fixed in r66222
-
02:23 AM Feature #13984 (Closed): BigDecimal should be immutable/frozen and return itself on #dup
- Fixed in r66222
-
02:23 AM Bug #15366 (Closed): bigdecimal.c:3699:1: warning: ‘Zero’ defined but not used
- Fixed in r66222
-
01:42 AM Revision 15a7ddf5 (git): Dump the tested timestamp itself
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/06/2018
-
11:51 PM Revision 29730310 (git): Dump more timestamps
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:26 PM Revision 33dab9cd (git): accept_loop_spec.rb: avoid random hang
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:16 PM Revision cbff1944 (git): test_gem_package_task.rb: suppress random failure
- by Bundler.
http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/1500762
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:06 PM Bug #15382 (Closed): Stack overflow in int_or()
- Applied in changeset trunk|r66262.
----------
Warn redefinitions of some methods on Object
[Bug #5473] [Bug #14670] [Bug #15382] -
11:06 PM Revision 76e3af82 (git): Warn redefinitions of some methods on Object
- [Bug #5473] [Bug #14670] [Bug #15382]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:03 PM Revision 973f84ef (git): Show the class of the receiver [Feature #15231]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:56 PM Revision 3a94b881 (git): should not use Microsoft Internet Controller
- * spec/ruby/library/win32ole/win32ole_method/helpcontext_spec.rb:
Use FileSystemObject. Microsoft Internet Explorer is not available
in some environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66260 b2dd03c8-39d4-4d8f-98f... - 06:28 PM Revision 2f1c9e2a (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:28 PM Revision 2f378478 (git): Speed up hash literals by duping
- This commit replaces the `newhashfromarray` instruction with a `duphash`
instruction. Instead of allocating a new hash from an array stored in
the Instruction Sequences, store a hash directly in the instruction
sequences and dup it on e... - 06:20 PM Revision 00a31080 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:20 PM Revision bf41340e (git): Add benchmark for hash small literals
- Co-Authored-By: Krzysztof Rybka <krzysztof.rybka@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:47 PM Bug #15388 (Closed): CSV parsing behaviour in > 2.5.0
- Hi,
It seems like CSV library in 2.5.0 is not behaving as intended while parsing.
~~~ ruby
header = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q"]
csv_str = "10.4710|859.5170|9000.0000|Y||... -
04:29 PM Bug #15114: Ruby で定義したメソッドに `&:hoge` を渡しても refinements が有効にならない
- ありがとうございます。
こちらでも再現できたのでもう少し調査してみます。 - 03:33 PM Revision ea921abd (git): * 2018-12-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:33 PM Revision 0cee9e98 (git): Add missing declaration to export
- Additional fix for r66200:
https://rubyci.org/logs/rubyci.s3.amazonaws.com/icc-x64/ruby-trunk/log/20181206T130002Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:56 PM Revision 1692ccaf (git): add NEWS entries about script_compiled event
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:53 PM Revision 69914cd8 (git): add tests for script_compiled TP event.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:42 PM Feature #15287 (Closed): New TracePoint events to support loading features
- Applied in changeset trunk|r66249.
----------
`script_compiled` TracePoint event [Feature #15287]
* vm_trace.c: add `script_compiled` event. This event invoked
after script compiling and before evaluating compiled script.
Also the ... - 01:42 PM Revision a352ee89 (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:42 PM Revision 5ac990e8 (git): `script_compiled` TracePoint event [Feature #15287]
- * vm_trace.c: add `script_compiled` event. This event invoked
after script compiling and before evaluating compiled script.
Also the following methods are added:
`TracePoint#compiled_instruction_sequence` method to get compiled
... -
01:19 PM Revision 586e018c (git): Added News entries about RubyGems and Bundler.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:35 PM Revision 8b14bd4e (git): Should be true fix for r66200
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:14 PM Bug #15387 (Closed): Backport r66242 (io.c (io_write_nonblock): add RB_GC_GUARD, io_fflush may switch threads)
- This is a ticket for backport management.
-
11:38 AM Bug #15386 (Open): [PATCH] io.c (rb_io_check_char_readable): do not io_fflush buffered sockets
- ```
This is a rare corner-case probably nobody cares about. (because
socket has IO#sync=false by default). Not critical to fix
or change before 2.6 (I'm not sure if there's a compatibility risk).
Would much appreciate an extra set... -
11:05 AM Misc #15007: Let all Init_xxx and extension APIs frequently called from init code paths be considered cold
- r66228 merged https://github.com/ruby/ruby/pull/2005/files#diff-b6f26affdb29910802b4d97a901fe689R92, thanks!
-
10:52 AM Revision d3aad159 (git): Return same ISeq object for one src.
- * iseq.c: before this patch, RubyVM::InstructionSequence.of(src) (ISeq in
short) returns different ISeq (wrapper) objects point to one ISeq internal
object. This patch changes this behavior to cache created ISeq (wrapper)
objects a... -
10:42 AM Revision e39a83a1 (git): suppress warning: unused variable 'vbits'
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:41 AM Revision 0d4ba7b5 (git): io.c (io_fflush): eliminate redundant rb_io_check_closed
- There is no need to call this function twice in a row since
thread switching won't happen in-between calls to it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:09 AM Revision aa6dfe71 (git): NEWS: fix typo (maesured => measured) [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:09 AM Revision 48324dd4 (git): io.c (io_write_nonblock): add RB_GC_GUARD, io_fflush may switch threads
- Since io_fflush may block on mutex or rb_io_wait_readable and
switch threads, we need to ensure the `str' VALUE returned by
`rb_obj_as_string` is visible to GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66242 b2dd03c8-39d4-4d8f-... -
10:02 AM Revision 956d35e2 (git): refix of r66200
- Though internal.h has the prototype, it still shows symbol lookup error...
https://rubyci.org/logs/rubyci.s3.amazonaws.com/icc-x64/ruby-trunk/log/20181206T050002Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66241 b2dd... -
09:54 AM Revision 9d170240 (git): remove an unused variable
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:16 AM Revision c114e275 (git): make sure all nodes are freed on error in node_extended_grapheme_cluster()
- regparse.c: In function node_extended_grapheme_cluster(), use function-global
array node_common and use it for list and alternate construction. This is done
so that in case of error, all nodes that have already been constructed can be
co... -
08:37 AM Feature #15230: RubyVM.resolve_feature_path
- It returns false as path when feature is already loaded.
Is it intentional?
```
% rbenv exec irb --simple-prompt -r irb/completion
>> RubyVM.resolve_feature_path('set')
=> [:rb, false]
``` -
06:40 AM Feature #15230 (Closed): RubyVM.resolve_feature_path
- Applied in changeset trunk|r66237.
----------
load.c (RubyVM.resolve_feature_path): New method. [Feature #15230] -
07:49 AM Feature #15378: URI::InvalidURIError (bad URI(is not URI?)
- Thank you!
What do you think is the problem with the encoding?
-
12:42 AM Feature #15378 (Third Party's Issue): URI::InvalidURIError (bad URI(is not URI?)
- ipatovanton (Anton Ipatov) wrote:
> ~~~ ruby
> ...
Thank you!
The problem is the "\n" at the very beginning of `self.url`. This is in fact a bad URI.
To fix this, please remove that before calling `URI()`. -
07:49 AM Revision 98e65d9d (git): Prefer rb_check_arity when 0 or 1 arguments
- Especially over checking argc then calling rb_scan_args just to
raise an ArgumentError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:40 AM Revision 0cd28199 (git): load.c (RubyVM.resolve_feature_path): New method. [Feature #15230]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:34 AM Bug #15384 (Assigned): ssl_certs are duplicated in RubyGems and Bundler
-
06:18 AM Bug #15376 (Assigned): Default gems: how will it work exactly?
-
05:29 AM Revision 98ff2bbd (git): Show diff in failure messages
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:29 AM Revision 8a52020f (git): Add separator for test/-ext-
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:25 AM Bug #15385: Ruby process hang in ensure
- This reproduces even without timeout library.
~~~ ruby
def doh
raise
ensure
123 if false
end
doh
~~~
looks like this is because the optimizer removed `if false` or `if nil` without adding `nop` iseq. -
01:40 AM Bug #15385 (Closed): Ruby process hang in ensure
- While playing with mutation testing of my code I've found a weird mutation that hangs Ruby process. The isolated code which triggers this freeze is:
~~~ ruby
require 'timeout'
puts Process.pid
def raise_before_returning
ra... -
04:46 AM Revision 456a696f (git): remove code duplication and streamline identifiers
- In regparse.c:
* Reduce coode duplication by merging the almost identical functions
create_sequence_node and create_alternate_node into a new function
create_node_from_array, adding a parameter that distinguishes between
creating... -
02:57 AM Revision ce37214a (git): fix r66200 again
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:12 AM Bug #14634 (Closed): Queue#push seems to crash after fork
-
12:05 AM Revision e824e21b (git): remove obsolete data from unicode.c
- * unicode.c: Remove the arrays onigenc_unicode_GCB_ranges_GAZ,
onigenc_unicode_GCB_ranges_E_Base, and onigenc_unicode_GCB_ranges_Emoji,
because they are not needed anymore for Unicode 11.0.0.
* regparse.c: Remove external declaratio...