Project

General

Profile

Activity

From 09/10/2018 to 09/16/2018

09/16/2018

02:32 PM Revision 8b6f1beb (git): Propagate subprocess timeout scale option to worker processes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:22 PM Revision af0e536d (git): addr2line.c: fix -Wmaybe-uninitialized
../addr2line.c: In function ‘fill_lines’:
../addr2line.c:709:8: warning: ‘file’ may be used uninitialized in this fun...
k0kubun (Takashi Kokubun)
01:21 PM Misc #15129 (Closed): DevelopersMeeting20181010Japan
Please comment your favorite ticket numbers you want to ask to discuss with your *SHORT* comment or summary.
(your s...
mame (Yusuke Endoh)
12:04 PM Misc #15012: Testing on latest version gcc on Travis CI
I just noticed the environment variables line for gcc-8 test case on `.travis.yml` are removed by the great hack in `... Anonymous
04:18 AM Revision 1a6c2734 (git): lib/matrix: Fix potential bug of Vector#angle_with
Could happen for some linearly dependent vectors.
Patch by Vasiliy Petrov. [Fix GH-1803]
git-svn-id: svn+ssh://ci.ru...
Marc-Andre Lafortune
04:00 AM Revision 24924022 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:00 AM Revision c22b8537 (git): Alias Struct#select as Struct#filter. Patch by Kenichi Kamiya.
[Fix GH-#1862] [#1784]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
03:24 AM Revision 2b3982ad (git): node.c: Typo fix. Patch by Shuichi Tamayose. [ci skip] [Fix GH-1880]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
02:49 AM Revision 2521b079 (git): [DOC] Improve String#strip documentation.
Patch by Josh Goldberg. [Fix GH-1933] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64757 b2dd03c8-39d...
Marc-Andre Lafortune
02:45 AM Revision 18fe4959 (git): Add some missing documentation to Queue#{close|deq} [ci skip]
Patch by Lars Kanis. [Fix GH-1949]
* Describe the impact of Queue#close to Queue#deq .
git-svn-id: svn+ssh://ci.ru...
Marc-Andre Lafortune
02:42 AM Revision 4452e857 (git): array.c: Optimize rb_ary_and. Patch by Stefan Schüßler. [Fix GH-1938]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune

09/15/2018

04:27 PM Bug #15122 (Closed): Segfault when mashaling an IO object
Applied in changeset trunk|r64753.
----------
encoding.c: check external encoding
* encoding.c (rb_enc_get_index): ...
nobu (Nobuyoshi Nakada)
04:27 PM Revision 4e62527c (git): * 2018-09-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:27 PM Revision e0404651 (git): encoding.c: check external encoding
* encoding.c (rb_enc_get_index): external encoding may not be Data
object. [ruby-core:89016] [Bug #15122]
git-svn...
nobu (Nobuyoshi Nakada)
03:14 PM Bug #15116 (Closed): Fixing issues detected by an Analysis tool.
nobu (Nobuyoshi Nakada)
09:56 AM Bug #15116: Fixing issues detected by an Analysis tool.
Thank you for the analyzing.
jaruga (Jun Aruga) wrote:
> The summary is
> * Fix leaked storage in addr2line.c.
...
nobu (Nobuyoshi Nakada)
02:38 PM Feature #15123: Enumerable#compact proposal
Eregon (Benoit Daloze) wrote:
> No, #compact only removes `nil`: `["a" ,false ,nil].compact` => `["a", false]`.
L...
marcandre (Marc-Andre Lafortune)
11:06 AM Feature #15123: Enumerable#compact proposal
I think if the meaning is consistent (e. g. .compact meaning to eliminate
nil values from a given collection) then t...
shevegen (Robert A. Heiler)
07:45 AM Feature #15123: Enumerable#compact proposal
marcandre (Marc-Andre Lafortune) wrote:
> Also `compact` is roughly `select(&:itself)`, not `reject(&:nil?)` which w...
Eregon (Benoit Daloze)
02:37 AM Feature #15123: Enumerable#compact proposal
Proposal seems acceptable to me.
Just to be clear: I imagine that `Lazy#compact` would still be lazy. Also `compac...
marcandre (Marc-Andre Lafortune)
12:45 PM Bug #15080 (Closed): Work on Benchmark::Tms documentation
Applied in changeset trunk|r64752.
----------
Work on Benchmark::Tms documentation [ci skip]
[ruby-core:88874] [Bug...
nobu (Nobuyoshi Nakada)
12:45 PM Revision 97f8d0fb (git): Work on Benchmark::Tms documentation [ci skip]
[ruby-core:88874] [Bug #15080]
From: Richard Wardin <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
11:45 AM Revision 0d7facee (git): get rid of newer syntax for old versions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:59 AM Revision 89394916 (git): Fix issues detected by code analysis tool (mainly Coverity).
* Fix leaked storage in addr2line.c.
* Fix for "top_root" leaking the resource.
[Fix GH-1956]
From: Jun Aruga <jaru...
nobu (Nobuyoshi Nakada)
09:48 AM Revision 958817d5 (git): Expand spec files to realpaths
* spec/mspec/lib/mspec/utils/script.rb (MSpecScript#entries): expand
the given spec path to the realpath, not to re...
nobu (Nobuyoshi Nakada)
09:25 AM Revision 257d0022 (git): rid of warnings [Fix GH-1953]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:39 AM Revision aafeb4b7 (git): test_sprintf.rb: test for %p
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:32 AM Bug #15118: Method [] & []= does not respect frozen_string_literal: true comment
Fixed in
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/64745
chopraanmol1 (Anmol Chopra)
02:33 AM Bug #15078: Hash splat of empty hash should not create a positional argument.
mame (Yusuke Endoh) wrote:
> Yes. Your proposal looks the best semantics so far for Ruby 2.X, at least to me. Note...
marcandre (Marc-Andre Lafortune)
01:08 AM Bug #15078: Hash splat of empty hash should not create a positional argument.
marcandre (Marc-Andre Lafortune) wrote:
> I'm sorry if I sounded like I had a "complete" solution, since Akr-san is ...
mame (Yusuke Endoh)
02:20 AM Revision 0279a90c (git): * 2018-09-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:20 AM Revision 9580586b (git): Use opt_{aref,aset} over opt_{aref,aset}_with
* compile.c (iseq_compile_each0): Use `opt_aref`/`opt_aset` over
`opt_aref_with`/`opt_aset_with` when frozen_string...
nobu (Nobuyoshi Nakada)

09/14/2018

10:36 PM Bug #15122: Segfault when mashaling an IO object
`git bisect` shows this is from https://bugs.ruby-lang.org/projects/ruby-trunk/repository/ruby-git/revisions/a2c7d0ce... wanabe (_ wanabe)
05:07 PM Bug #15122 (Closed): Segfault when mashaling an IO object
When I run:
~~~
$ ruby -e "Marshal.dump(IO.pipe[1])"
~~~
## Expected behavior:
I would expect a TypeError
...
larskanis (Lars Kanis)
07:43 PM Feature #15123: Enumerable#compact proposal
I'm in favor of this proposal. It simplifies working with large and small collections so one doesn't have to remember... greggzst (Grzegorz Jakubiak)
05:30 PM Feature #15123 (Feedback): Enumerable#compact proposal
Hi!
While Enumerable does not provide `#compact` method, it requires changing code in some cases to substitute arr...
printercu (Max Melentiev)
06:04 PM Bug #15078: Hash splat of empty hash should not create a positional argument.
mame (Yusuke Endoh) wrote:
>
> Akr-san said that it would be impossible to create a "perfect" semantics to satisfy...
marcandre (Marc-Andre Lafortune)
11:10 AM Bug #15078: Hash splat of empty hash should not create a positional argument.
Marc-Andre,
marcandre (Marc-Andre Lafortune) wrote:
> * Proposed semantics *
I thought it looked good. Howeve...
mame (Yusuke Endoh)
02:25 PM Bug #15121: Memory Leak on rb_id2name(SYM2ID(sym))
I believe this is expected. Once you ask for the ID of a dynamic symbol, Ruby needs to create a real symbol, and onc... jeremyevans0 (Jeremy Evans)
02:00 PM Bug #15121 (Rejected): Memory Leak on rb_id2name(SYM2ID(sym))
@ohler55 mentioned in https://github.com/ohler55/oj/issues/501 that calling `rb_id2name(SYM2ID(sym))` seems to lock s... william101 (William Tabi)
01:58 PM Bug #15120: Segfault when using ActiveRecord
Added stdout/stdin. bobvanderlinden (Bob van der Linden)
01:00 PM Bug #15120 (Third Party's Issue): Segfault when using ActiveRecord
Whenever I do some of the MySQL migrations in my project I get a segfault. One example of a command that triggers thi... bobvanderlinden (Bob van der Linden)
01:48 PM Bug #15116: Fixing issues detected by an Analysis tool.
To be clear, those 9 issues about mainly leaked resource in the attached report file are marked as "important" by the... jaruga (Jun Aruga)
01:19 PM Revision fa457e65 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:19 PM Revision f021df00 (git): Partly reverted for ruby-style.el.
Revert "Removed old elisp files. New upstream repository was moved https://github.com/ruby/elisp."
This reverts co...
hsbt (Hiroshi SHIBATA)
12:37 PM Revision 23e8fc39 (git): Added entries for lldb files in misc directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:34 PM Revision 7eedd308 (git): Removed old elisp files. New upstream repository was moved https://github.com/ruby/elisp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
11:32 AM Bug #11174: threads memory leak
> It seems specific to glibc

That should be "glibc malloc"; and only old versions. The bug
is fixed in glibc 2....
normalperson (Eric Wong)
11:12 AM Bug #11174: threads memory leak
[email protected] wrote:
> Issue #11174 has been updated by hartator (Julien Khaleghy).

> Any idea if it's alre...
normalperson (Eric Wong)
09:17 AM Bug #11174: threads memory leak
ko1 (Koichi Sasada) wrote:
> Sorry I missed it.
Thanks for the awesome work on MRI.
I still have the same issu...
hartator (Julien Khaleghy)
10:43 AM Bug #15118: Method [] & []= does not respect frozen_string_literal: true comment
shevegen (Robert A. Heiler) wrote:
>
> Very good catch. May I ask, for curiosity, how you discovered it?
> I assu...
chopraanmol1 (Anmol Chopra)
09:44 AM Bug #15118: Method [] & []= does not respect frozen_string_literal: true comment
Interesting.
I just tested with this code:
~~~ruby
#!/System/Index/bin/ruby -w
# Encoding: ISO-8859-1
# froz...
shevegen (Robert A. Heiler)
06:57 AM Bug #15118 (Closed): Method [] & []= does not respect frozen_string_literal: true comment
Calling `["something"]` on object or proc (non-hash aref implementation) does not respect `frozen_string_literal: tru... chopraanmol1 (Anmol Chopra)
08:27 AM Revision 5c16b21f (git): PRI_64_PREFIX "u" is called PRIu64
See also ISO9899:1999 section 7.8.1 paragraph 3.
The #ifndef is for C compilers older than C99.
git-svn-id: svn+ss...
shyouhei (Shyouhei Urabe)
07:57 AM Revision 08af3f1b (git): forgot to expand tabs [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
07:44 AM Revision b80ea712 (git): * 2018-09-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:44 AM Revision 9c6bd0d8 (git): move ADD_PC around (take 2)
Now that we can say for sure if an instruction calls a method or
not internally, it is now possible to reroute the bu...
shyouhei (Shyouhei Urabe)
05:28 AM Bug #14364: Regexp last match variable in procs
This may be a specification. [This](https://docs.ruby-lang.org/ja/latest/method/Kernel/v/=7e.html)(it's written in ja... long_long_float (kazuki niimi)

09/13/2018

08:35 PM Feature #14097: Add union and difference to Array
Funny idea with the picture. :D shevegen (Robert A. Heiler)
07:09 AM Feature #14097: Add union and difference to Array
The final proposal seems reasonable. Accepted.
Matz.
matz (Yukihiro Matsumoto)
08:33 PM Feature #15022: Oneshot coverage
I think the consensus at the last ruby developer meeting in September 2018 was to go for
it ( https://docs.google.co...
shevegen (Robert A. Heiler)
04:23 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Thread::Light sounds ok to me personally. I think the more informal name "Lite"
may have some people wonder about th...
shevegen (Robert A. Heiler)
09:22 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
[email protected] wrote:
> The latest proposal includes time slice scheduling, so it is
> not a cooperative thread...
normalperson (Eric Wong)
08:17 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
The latest proposal includes time slice scheduling, so it is not a cooperative thread. I object to the name `Thread::... matz (Yukihiro Matsumoto)
04:07 PM Feature #15112: Introducing the short form of `STDERR.puts expr.inspect`.
I agree with both what Kenta Murata and what Jeremy Evans wrote (to explain,
I have no personal preference; I think ...
shevegen (Robert A. Heiler)
07:28 AM Feature #15112: Introducing the short form of `STDERR.puts expr.inspect`.
mrkn (Kenta Murata) wrote:
> I sometimes write `STDERR.puts obj.inspect` to print debug message to standard error.
...
jeremyevans0 (Jeremy Evans)
07:04 AM Feature #15112: Introducing the short form of `STDERR.puts expr.inspect`.
`#warn` writes to `STDERR`. What about `warn_p` or something similar?
duerst (Martin Dürst)
06:15 AM Feature #15112 (Assigned): Introducing the short form of `STDERR.puts expr.inspect`.
I sometimes write `STDERR.puts obj.inspect` to print debug message to standard error.
I want to write it as `STDERR....
mrkn (Kenta Murata)
03:53 PM Misc #15109: Improve safe navigation operator's docs
I think it is good to have more documentation. I would however
had perhaps replace the word Python with Ruby (or Duc...
shevegen (Robert A. Heiler)
03:49 PM Feature #15113: Show warnings on unused blocks with Enumerable#all? any? one? none?
I think nobu committed it already (if it is the same one)
https://git.ruby-lang.org/ruby.git/commit/?id=384fda18b8...
shevegen (Robert A. Heiler)
07:05 AM Feature #15113 (Closed): Show warnings on unused blocks with Enumerable#all? any? one? none?
Let Array#any? (and related enumerable methods alike) to express warnings in case blocks are left unused.
**Backgr...
fursich (Onishi Koji)
01:59 PM Revision 402001d6 (git): iseq.c: prefix rb_ to non-static iseq functions
I assume we always prefix rb_ to non-static functions to avoid conflict.
These functions are not exported and safe to...
k0kubun (Takashi Kokubun)
01:47 PM Bug #15116 (Closed): Fixing issues detected by an Analysis tool.
When running a code analysis tool including several sub tools (mainly Coverty [1]), some issues were detected by it.
...
jaruga (Jun Aruga)
12:29 PM Revision 519c62fd (git): vm_insnhelper.h: drop OPT_CALL_FASTPATH macro support
because cc->call is NULL by default and it is not overridden by
vm_search_super_method if OPT_CALL_FASTPATH is 0. So ...
k0kubun (Takashi Kokubun)
12:06 PM Feature #6823 (Closed): Where/how should ruby-mode issues be reported?
Applied in changeset trunk|r64734.
----------
Remove old ruby-mode.el
Use emacs bundled ruby-mode.el instead.
[Feat...
znz (Kazuhiro NISHIYAMA)
12:06 PM Revision f03e68ed (git): Remove old ruby-mode.el
Use emacs bundled ruby-mode.el instead.
[Feature #6823] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
znz (Kazuhiro NISHIYAMA)
11:10 AM Revision 384fda18 (git): warn unused blocks with Enumerable#all? any? one? none?
[Fix GH-1953]
From: Koji Onishi <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64733 b2dd03...
nobu (Nobuyoshi Nakada)
11:00 AM Revision cff6bdfc (git): Make qsort_r() flavor detecting work if qsort_r() is a macro
On FreeBSD we're going to switch to the GNU-ish version of qsort_r().
POSIX is also considering standardizing that on...
nobu (Nobuyoshi Nakada)
10:59 AM Revision 38122275 (git): thread.c: fix -Wformat warning where uint64_t is not unsigned long
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:56 AM Feature #15111: Make the number of arguments of `Hash#merge` variable
If no argument is given to `Hash#merge`, the receiver itself is returned. In this way, `Hash` instance can revieve `A... liwii (Koki Ryu)
05:57 AM Feature #15111 (Closed): Make the number of arguments of `Hash#merge` variable
# Abstract
Make the number of arguments of `Hash#merge` variable.
# Background
In many websites such as Stack ...
liwii (Koki Ryu)
08:45 AM Bug #15084 (Closed): Backport r64476
naruse (Yui NARUSE)
08:17 AM Misc #14981: DevelopersMeeting20180913Japan
* [Feature #15114] Ruby で定義したメソッドに `&:hoge` を渡しても refinements が有効にならない aycabta (aycabta .)
08:16 AM Misc #14632: [ANN] git.ruby-lang.org
Current status is here:
1. Migrate toolchain like `tool/make-snapshot` to git.ruby-lang.org from svn.ruby-lang.org...
hsbt (Hiroshi SHIBATA)
08:14 AM Bug #15114 (Closed): Ruby で定義したメソッドに `&:hoge` を渡しても refinements が有効にならない
## 概要
Ruby 2.4 で以下のように『refinements で追加したメソッドが `&:twice` で呼び出せる』ようになりました。
```ruby
# 新しく String#twice を refineme...
osyo (manga osyo)
07:53 AM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
> 0001-dir.c-performance-fix-with-braces.patch
> It would be more similar to trunk behavior than #13873 implementati...
naruse (Yui NARUSE)
07:53 AM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
Thank you for the patch, let's try, please commit the patch for braces. nobu (Nobuyoshi Nakada)
07:53 AM Bug #14908: Enumerator::Lazy creates unnecessary Array objects.
I'm the original author of Enumerator & Yielder and I don't think I particularly intended to make `<<` accept many ar... knu (Akinori MUSHA)
07:43 AM Bug #11984: DateTime.parse can parse invalid datetime string
Is it a specification? When you pass 'fg4534253dd' to `DateTime#parse`, [`parse_ddd`](https://github.com/ruby/ruby/bl... long_long_float (kazuki niimi)
07:33 AM Feature #14739: Improve fiber yield/resume performance
Hi, ioquatix.
I send an invitation of the ruby core team. Please check it.
hsbt (Hiroshi SHIBATA)
07:25 AM Feature #14739: Improve fiber yield/resume performance
OK, it sounds reasonable. We will give you commit privilege.
Matz.
matz (Yukihiro Matsumoto)
07:26 AM Feature #14888 (Assigned): Add trace point for eval (and related functions)
nobu (Nobuyoshi Nakada)
07:15 AM Misc #14956 (Closed): Remove staled branches in svn repository
I removed them from branches directory now.
https://svn.ruby-lang.org/repos/ruby/branches/
hsbt (Hiroshi SHIBATA)
06:20 AM Misc #14956: Remove staled branches in svn repository
I think you can just move them to under tags. knu (Akinori MUSHA)
06:19 AM Misc #14956: Remove staled branches in svn repository
```
half-baked-1.9
KEIJU
KOSAKO
matzruby
mvm
new_gc
rexml_adds_tests
ricsin
RUBY
ruby_m17n
SER
SHIGEO
SP...
hsbt (Hiroshi SHIBATA)
07:12 AM Revision 26a11ae7 (git): Revert "vm_insnhelper.h: simplify EXEC_EC_CFP implementation"
This reverts commit r64711, because EXEC_EC_CFP on JIT-ed code does not
call jit_func with the patch when catch_excep...
k0kubun (Takashi Kokubun)
06:49 AM Revision 8bc5c172 (git): thread.c: fix -Wformat warning
../thread.c:1219:18: warning: format specifies type 'unsigned long' but the argument has type 'rb_hrtime_t'
(ak...
k0kubun (Takashi Kokubun)
06:39 AM Revision bada0d24 (git): vm_insnhelper.h: simplify EXEC_EC_CFP implementation
and possibly memory access for iseq->body may be reduced.
No significant impact for performance on Optcarrot.
* bef...
k0kubun (Takashi Kokubun)
06:16 AM Feature #14609: Let `Kernel#p` without an argument print the receiver
I vote for #tapp.
Matz.
matz (Yukihiro Matsumoto)
06:04 AM Feature #14609: Let `Kernel#p` without an argument print the receiver
How about:
```ruby
self.P
```
:P
nobu (Nobuyoshi Nakada)
05:44 AM Feature #4475: default variable name for parameter
I have one idea. We can use `\it` (backslash-it) or `\1` instead of `it`. `\1` means the first argument and `\n` refe... long_long_float (kazuki niimi)
04:53 AM Revision 14ad11a9 (git): node.h: removed unused macros
* node.h (enum node_type): removed unused macros which redefine the
same name enum values, and probably had ended t...
nobu (Nobuyoshi Nakada)
03:46 AM Revision 6925c9c6 (git): move canary-related statements into macros
This is mostly cosmetic. Should generate a slightly readable
vm.inc output.
git-svn-id: svn+ssh://ci.ruby-lang.org...
shyouhei (Shyouhei Urabe)
01:45 AM Revision 63130b23 (git): appveyor.yml: increase timeout for vs
vs140 tends to die with 10s timeout on TestThreadQueue#test_queue_with_trap
https://ci.appveyor.com/project/ruby/ruby...
k0kubun (Takashi Kokubun)
01:43 AM Revision 8a7b4b39 (git): thread.c (rb_thread_atfork): reinitialize current th->interrupt_lock
Another thread may be holding th->interrupt_lock while our
current thread calls fork. Therefore we must reinitialize...
Eric Wong
01:34 AM Feature #15085: Decrease memory cache usage of MJIT
I see. Thank you for the experiment and taking time for the investigation. k0kubun (Takashi Kokubun)
12:10 AM Feature #15085 (Rejected): Decrease memory cache usage of MJIT
I am sorry in advance, I've decided to withdraw this ticket and its patch.
I tried to reveal what's going on and exp...
wanabe (_ wanabe)

09/12/2018

10:32 PM Bug #15050: GC after forking with fibers crashes
@normalperson
Eric,
Sorry been busy with 'this is a bigger mess than I thought' kinds of things.
I just ran ...
MSP-Greg (Greg L)
08:49 PM Bug #15050 (Closed): GC after forking with fibers crashes
Applied in changeset trunk|r64703.
----------
share VM stack between threads and fibers if identical in size
ec->vm...
normalperson (Eric Wong)
09:12 PM Feature #15074: Create 'official' C API documentation on ruby-doc.org
[email protected] wrote:

> @hsbt what do you think about writing the docs within C API
> files like `r...
normalperson (Eric Wong)
08:49 PM Revision 12409ad2 (git): fiber: fix crash on GC after forking
Remove the remainder of ROOT_FIBER_CONTEXT use and unnecessary
differences between the root and non-root fiber. This...
Eric Wong
08:49 PM Revision d40694de (git): cont.c (fiber_memsize): do not rely on ROOT_FIBER_CONTEXT
We can check if the fiber we're interested in is the
th->root_fiber for the owner thread, so there is no need to use
...
Eric Wong
08:49 PM Feature #15095 (Closed): [PATCH] share VM stack between threads and fibers if identical
Applied in changeset trunk|r64703.
----------
share VM stack between threads and fibers if identical in size
ec->vm...
normalperson (Eric Wong)
08:49 PM Revision 7ae24709 (git): cont.c (ec_set_vm_stack): avoid needless casting
Am I missing something, here? Casting was totally unnecessary
and ugly...
[ruby-core:88929]
git-svn-id: svn+ssh://...
Eric Wong
08:49 PM Revision c99b9eb0 (git): share VM stack between threads and fibers if identical in size
ec->vm_stack is always allocated with malloc, so stack cache for
root fiber (thread stack) and non-root fibers can be...
Eric Wong
08:32 PM Misc #14981: DevelopersMeeting20180913Japan
* [Feature #13618] auto-fiber name, is "Thread::Coro" OK?
How should Mutex work between coroutines?
Queue/SizedQue...
normalperson (Eric Wong)
08:32 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
> It goes on top of my coro-r64610 branch posted at [ruby-core:88800]:
> https://public-inbox.org/ruby-core/2018090...
normalperson (Eric Wong)
06:43 PM Misc #15109 (Closed): Improve safe navigation operator's docs
Reason: [current docs](http://ruby-doc.org/core-2.5.1/doc/syntax/calling_methods_rdoc.html) look this way (in "Receiv... zverok (Victor Shepelev)
04:05 PM Revision 2bd4c514 (git): * 2018-09-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:05 PM Revision c0f62450 (git): [DOC] aseq.each always return self [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:37 PM Revision 351b8a32 (git): time.c split time_utc_or_local
* time.c (time_utc_or_local): split into time_s_mkutc and
time_s_mktime without utc flag.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
01:32 PM Revision f7b0a791 (git): _mjit_compile_pc_and_sp.erb: forget about memcpy [ci skip]
because using memcpy here actually made performance worse.
In Optcarrot,
* for loop
fps: 55.90428960597268
fps: 57.2...
k0kubun (Takashi Kokubun)
12:14 PM Revision db4c91be (git): .travis.yml: run ruby/spec version guards check in parallel
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:51 AM Revision 98fa0ab4 (git): [DOC] Modify descriptions for ArithmeticSequence
[ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
08:36 AM Revision 1595421c (git): [DOC] Add the documentation of ArithmeticSequence
[ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
07:48 AM Feature #14982: Improve namespace system in ruby to avoiding top-level names chaos
Please allow me to humbly present [this design and implementation of import semantics](https://gitlab.com/lloeki/pak)... lloeki (Loic Nageleisen)
07:35 AM Revision 11ff6569 (git): enumerator.c: Fix ArithmeticSequence for complex step
Make sure Enumerator::ArithmeticSequence#each to work well
for a complex step value.
This reverts commit ca47fb329a1...
Kenta Murata
07:01 AM Revision f677ba88 (git): deduce versioned tools from CC
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:52 AM Revision ca47fb32 (git): Revert "enumerator.c: Fix ArithmeticSequence for complex step"
This reverts commit 0a0f8238d02a2dfff4cd2892408e14cb826cec7e.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6469...
Kenta Murata
05:44 AM Feature #14136: Implement #empty? on more classes
bozhidar (Bozhidar Batsov) wrote:
> > Yeah, in this case I'd argue that it's better to use some `top-level` methods ...
jeremyevans0 (Jeremy Evans)
05:12 AM Feature #14136: Implement #empty? on more classes
bozhidar (Bozhidar Batsov) wrote:
> phluid61 (Matthew Kerwin) wrote:
> > mikegee (Michael Gee) wrote:
> > >
> > ...
bozhidar (Bozhidar Batsov)
05:09 AM Feature #14136: Implement #empty? on more classes
phluid61 (Matthew Kerwin) wrote:
> mikegee (Michael Gee) wrote:
> >
> > I am proposing that all classes that impl...
bozhidar (Bozhidar Batsov)
05:35 AM Revision 0a0f8238 (git): enumerator.c: Fix ArithmeticSequence for complex step
Make sure Enumerator::ArithmeticSequence#each to work well
for a complex step value.
git-svn-id: svn+ssh://ci.ruby-l...
Kenta Murata
04:04 AM Revision 0f6708eb (git): resurrect the string to expect modifications
String#freeze can be redefined to be destructive. While such
redefinition is definitely weird, it should be possible...
shyouhei (Shyouhei Urabe)
03:39 AM Revision 02b52b27 (git): make opt_str_freeze leaf
Simply use DISPATCH_ORIGINAL_INSN instead of rb_funcall. This is,
when possible, overall performant because method d...
shyouhei (Shyouhei Urabe)
02:22 AM Bug #15103 (Rejected): undecipherable nil error for `+`
nobu (Nobuyoshi Nakada)
01:55 AM Revision 33c8171c (git): make opt_case_dispatch leaf
This instruction can be written without rb_funcall. It not only boosts
performance of case statements, but also makes...
shyouhei (Shyouhei Urabe)

09/11/2018

11:01 PM Feature #15074: Create 'official' C API documentation on ruby-doc.org
@hsbt what do you think about writing the docs within C API files like `ruby.h`, `intern.h` and `extension.h` itself ... v0dro (Sameer Deshmukh)
12:38 AM Feature #15074: Create 'official' C API documentation on ruby-doc.org
Alright. I think its a matter of adding the extension.rdoc file to the ruby-doc.org sources and then push changes to ... v0dro (Sameer Deshmukh)
09:55 PM Bug #15105 (Closed): `rb_debug_inspector_open` breaks lazy proc optimization
Calling `rb_debug_inspector_open` inside a block that uses lazy proc optimizations breaks the implementation. r60397... tenderlovemaking (Aaron Patterson)
04:16 PM Bug #15103: undecipherable nil error for `+`
Never mind, I found the error. Please close this.
They were not operationally exact.
This ``while num >= modk + r...
jzakiya (Jabari Zakiya)
04:02 PM Bug #15103 (Rejected): undecipherable nil error for `+`
I am experiencing the following error in a method I rewrote that makes no sense whatsover.
Here's the original met...
jzakiya (Jabari Zakiya)
03:14 PM Revision bddc28b2 (git): * 2018-09-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision 0325145f (git): _mjit_compile_insn.erb: move pc on JIT cancel
if and only if it's not moved yet, to avoid potential bugs in the future.
_mjit_compile_send.erb: ditto
git-svn-id:...
k0kubun (Takashi Kokubun)
03:12 PM Bug #15082: Memory leak in net/http/response and net/http/header
Thanks for pointing this PR. I ran it again with this specific memory_profiler version and there is no memory leaks.
...
alexis (Alexis Bernard)
05:16 AM Bug #15082: Memory leak in net/http/response and net/http/header
@alexis Look into this PR https://github.com/SamSaffron/memory_profiler/pull/59
Once merged this PR should fix th...
chopraanmol1 (Anmol Chopra)
02:38 PM Revision 9f6e9b40 (git): mjit_worker.c: atomically print main message and \n
To attempt to fix CI failure on rubyci freebsd:
https://rubyci.org/logs/rubyci.s3.amazonaws.com/freebsd11zfs/ruby-tru...
k0kubun (Takashi Kokubun)
02:10 PM Revision 6e3fe890 (git): bare_instructions.rb: use Hash#fetch to read attr
to raise descriptive KeyError instead of NoMethodError in case these
attrs are accidentally removed.
git-svn-id: svn...
k0kubun (Takashi Kokubun)
01:48 PM Revision 10ff0a2b (git): _mjit_compile_insn.erb: prefer insn.always_leaf?
rather than `trace_enablable_insns` which is hard to maintain.
This would make performance bad because new branches ...
k0kubun (Takashi Kokubun)
12:53 PM Revision 67bd8fb3 (git): _mjit_compile_pc_and_sp.erb: skip moving pc
when catch_except_p is false and insn.always_leaf? is true (never makes
arbitrary method call in the insn).
On Optca...
k0kubun (Takashi Kokubun)
11:26 AM Revision 24e30ef7 (git): transform_mjit_header.rb: add static to Init_*
as well, to make CI succeed with VM_CHECK_MODE > 1.
vm_insnhelper.c: drop unnecessary MJIT_HEADER ifdef. This is int...
k0kubun (Takashi Kokubun)
11:09 AM Revision 0f3bd3e6 (git): test_jit.rb: show extra debug info for #test_unload_units
failure
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
11:05 AM Revision 6f7fafbf (git): random.c: prefixed fill_random_bytes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:01 AM Revision db40f678 (git): vm_insnhelper.c: stop unnecessarily using rb_sprintf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
10:58 AM Revision 30011cbb (git): vm_insnhelper.c: fix -Wformat-security on rb_bug
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
09:48 AM Revision c2bfb4e9 (git): add new instruction attribute called leaf
An instruction is leaf if it has no rb_funcall inside. In order to
check this property, we introduce stack canary wh...
shyouhei (Shyouhei Urabe)
09:46 AM Revision ecda2d23 (git): * 2018-09-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:46 AM Revision 1a38555c (git): Use https instead of http
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:18 AM Feature #15092 (Rejected): Provide step count in Range constructor
mrkn (Kenta Murata)
01:16 AM Feature #15092: Provide step count in Range constructor
OK I'm convinced this is probably a bad idea since `step` returns an `ArithmeticSequence`
and is not a property of `...
v0dro (Sameer Deshmukh)
01:03 AM Feature #15092: Provide step count in Range constructor
We've already have Emuerator::ArithmeticSequence in trunk.
Please use it.
mrkn (Kenta Murata)
12:10 AM Bug #13931: correct install_name of libruby on macOS (libruby.2.5.0.dylib -> libruby.2.5.dylib)
Requesting backport to 2.4
https://github.com/Homebrew/homebrew-core/pull/31967#issuecomment-420100406
tmm1 (Aman Karmani)

09/10/2018

11:21 PM Misc #14981: DevelopersMeeting20180913Japan
* [Feature #13167] Dir.glob is 25x slower since Ruby 2.2 (ahorek)
* improves performance of a glob pattern with br...
ahorek (Pavel Rosický)
07:59 PM Bug #15088: Leaky behaviour when GC disabled
Thank you @normalperson & @ko1 for taking a look and for the explanation here 😀 william101 (William Tabi)
07:18 PM Bug #15097: Gem install fails on Ruby 2.5.1 with Cygwin (get_dns_server_list undefined)
nobu (Nobuyoshi Nakada) wrote:
> I can't reproduce it, with the trunk and 2.5.2 in the repository, using
Thanks f...
caspercg (Casper G)
09:31 AM Bug #15097: Gem install fails on Ruby 2.5.1 with Cygwin (get_dns_server_list undefined)
I can't reproduce it, with the trunk and 2.5.2 in the repository, using
```
$ LANG=C i686-pc-cygwin-gcc -v
Using...
nobu (Nobuyoshi Nakada)
03:52 AM Bug #15097 (Assigned): Gem install fails on Ruby 2.5.1 with Cygwin (get_dns_server_list undefined)
Compiled and installed Ruby 2.5.1 on Cygwin, and now gem install fails with:
~~~ ruby
ERROR: While executing gem...
caspercg (Casper G)
01:05 PM Revision 90245094 (git): appveyor.yml: try VS140
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:35 AM Revision 67dba250 (git): signal.c: consider non-sigaltstack platforms
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:23 AM Feature #15074: Create 'official' C API documentation on ruby-doc.org
At first, `ruby-doc.org` is not our `official` web resource. It's a third party resource.
But `ruby-doc.org` maybe...
hsbt (Hiroshi SHIBATA)
04:23 AM Revision 991e95bb (git): util.c: removed extra #endif [Bug #15091]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:21 AM Revision ef92aa9a (git): util.c: fix ruby_qsort with qsort_s
* util.c (ruby_qsort): __STDC_VERSION__ may not be defined even if it
is available. fixed duplicate definitions wh...
nobu (Nobuyoshi Nakada)
01:43 AM Revision 5679d0c5 (git): there is no such predefined macro. check build before commit!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
 

Also available in: Atom