Activity
From 02/20/2018 to 02/26/2018
02/26/2018
-
10:11 PM Misc #14470: Use Commit together with co-authors Github feature in svn commits
- +1 for this idea. I've got one pull request waiting to be merged and I'd love to be listed as a real contributor to ruby.
-
09:58 PM Bug #14480: miniruby crashing when compiled with -O2 or -O1 on aarch64
- I tried `--with-setjmp-type=setjmp` and the build passed. But I have no idea what is the performance impact.
Nevertheless, there are two more comments from GCC people. The first is [1]:
> Jeff Law 2018-02-26 17:01:13 CET
> ...
Ba... -
12:36 PM Bug #14480: miniruby crashing when compiled with -O2 or -O1 on aarch64
- It sounds good to fix by `--with-setjmp-type`, if it works.
-
12:38 AM Bug #14480: miniruby crashing when compiled with -O2 or -O1 on aarch64
- tl;dr:
* `rb_ec_tag_jump()` causes SEGV on aarch64 when it is built with `-fomit-frame-pointer` optimization that is the default of `-O1` of gcc-8.0.1-0.13.
* It is confirmed that `-fno-omit-frame-pointer` optflags can avoid the is... -
08:52 PM Bug #14554: gem update crashes
- > /usr/local/Cellar/ruby/2.5.0_2/lib/ruby/2.5.0/rdoc/markup/to_html.rb:389: [BUG] Segmentation fault at 0x0000000000000020
I am not completely sure but I think I saw this error before. Can't recall where; probably another issue report... -
06:09 PM Bug #14554 (Closed): gem update crashes
- upon running:
$ gem update
I receive a crash. Logfile plus CLI output is attached. -
06:26 PM Bug #13882: Exception in `ensure` stops threads from exiting
- ko1 (Koichi Sasada) wrote:
> Sorry for long absent.
> ...
No problem! The problem with Ctrl-C is that will fix it for user facing scripts, but not background processes. The example we ran into with this, was using Puma with forked chil... -
05:49 PM Bug #14553 (Third Party's Issue): Maybe this is too early for this but i encountered issues when using jit with rails
- Obviously it's Bootsnap's issue. Bootsnap doesn't work with Ruby 2.6.0. No JIT-related logs are found in your logs too. Please remove bootsnap from your Gemfile first.
-
05:40 PM Bug #14553 (Closed): Maybe this is too early for this but i encountered issues when using jit with rails
- ```
50 ruby 0x000000010c6a9b71 rb_load_internal0 + 337
51 ruby 0x000000010c6aaa1f rb_f_load + 159
52 ruby 0x000000010c7d43a8 vm_call_cfunc... -
04:57 PM Feature #14546: Hash#delete!
- As Matz clearly stated, even if a long time ago, bang is not strictly for mutating versions of methods. Note that there is `Process#exit!` (which is not a mutating version of `Process#exit`). Rails also has many bang methods which aren't...
-
02:42 PM Revision 40db89c0 (git): tool/ruby_vm/helpers/dumper.rb: check ERB version
- I could not `make` trunk (62585) without this patch.
```
$ make -j4 && make install
BASERUBY = /home/pocke/.rbenv/shims/ruby --disable=gems
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3 -gg... -
02:39 PM Revision 08ba29ac (git): use convert_type_with_id
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:30 PM Revision 914444e4 (git): use convert_type_with_id
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:39 PM Feature #14551: What's missing to switch to Git instead of using Subversion?
- Eregon (Benoit Daloze) wrote:
> Some people might be willing to help once it's clear what needs to be done.
If it is an extra pair of hands you are looking for I can volunteer.
A clean git development environment is something I'm ... -
12:28 PM Feature #14551: What's missing to switch to Git instead of using Subversion?
- naruse (Yui NARUSE) wrote:
> You need to read previous discussion in detail.
> ...
What's the point?
That we need a planner showing the merits and listing issues?
The title of #10547 sounds like that issue should be about listing i... -
08:30 AM Feature #14551 (Rejected): What's missing to switch to Git instead of using Subversion?
- Duplicated with #10547
> 1) I have heard some scripts might stop working if we switch to Git and nobody knows a list of those scripts.
You can find some of those scripts in tool/ of ruby's repo.
> ...
* External people can contr... -
12:37 AM Feature #14551 (Assigned): What's missing to switch to Git instead of using Subversion?
- I have a plan to migrate git from subversion. But I have no enough time to figure out it.
Because I need to update the infrastructure of distribution and mailing-list in this year.
-
12:32 PM Bug #14542: syswrite spuriously empties the given string
- It seems so far that it is indeed a multithreading problem on my side, possibly specific to the test suite. My apologies for the noise, and thanks a lot to Eric for his help.
I don't find a way to close this ... -
11:18 AM Feature #12839 (Assigned): CSV - Give not nil but empty strings for empty fields
-
11:17 AM Feature #13706 (Closed): Allow CSV#delete to delete multiple columns or add #delete_columns method
- https://github.com/ruby/csv/pull/4 was already merged.
-
11:16 AM Bug #14127 (Assigned): (CSV) generating UTF-16LE encoded file without BOM
-
11:15 AM Feature #10316 (Assigned): Failsafe CSV.foreach
- 08:43 AM Revision cc47d873 (git): * 2018-02-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:43 AM Revision e5dd4465 (git): merge revision(s) 62094,62584: [Backport #14407]
- Merge ruby/spec@fd56cd4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:37 AM Revision 19022bef (git): Makefile.in: fix portability issue
- * Makefile.in (mjit_config.h): Alternative value with $@ and
printf without argument are not portable, could fail on some
platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:01 AM Revision bde45517 (git): r62071 is backported into Ruby 2.5 [Bug #14407]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:57 AM Revision df1cd0f4 (git): make-snapshot: added missing options to usage
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:57 AM Revision 2234edf0 (git): Use RB_INTEGER_TYPE_P instead of rb_obj_is_kind_of
- For checking whether an object is an Integer, because a subclass of
Integer is meaningless in Ruby, RB_INTEGER_TYPE_P is better than
rb_obj_is_kind_of for speed.
* object.c (rb_to_integer): Use RB_INTEGER_TYPE_P instead of rb_obj_is_kin... -
07:48 AM Bug #14407: defined? still returning true for top-level constant when referenced with scope
- ruby_2_5 r62568 merged revision(s) 62071.
-
07:31 AM Bug #14552 (Closed): Kernel#Integer can return a non-Integer object.
- Applied in changeset trunk|r62581.
----------
Check the result of to_int in Kernel#Integer
[ruby-core:85813] [Bug #14552]
* object.c (rb_convert_to_integer):
Check the result of to_int in Kernel#Integer
* test/ruby/test_integer.rb:... -
07:26 AM Bug #14552 (Closed): Kernel#Integer can return a non-Integer object.
- I found a bug that Kernel#Integer returns any non-nil object which is a result of to_int.
```ruby
obj = Object.new
def obj.to_int
"str"
end
Integer(obj) #=> "str"
``` - 07:31 AM Revision cc4be225 (git): Check the result of to_int in Kernel#Integer
- [ruby-core:85813] [Bug #14552]
* object.c (rb_convert_to_integer):
Check the result of to_int in Kernel#Integer
* test/ruby/test_integer.rb: add tests.
* spec/ruby/core/kernel/Integer_spec.rb: fix examples.
git-svn-id: svn+ssh://ci... - 06:00 AM Revision 6549f20e (git): * 2018-02-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:00 AM Revision fe948e85 (git): make-snapshot: exporting ChangLog with git
- * tool/make-snapshot (package): export ChangLog file under the
exported directory. Git can work only under a git repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:00 AM Revision 34dc3b98 (git): make-snapshot: remove -j option from GNUMAKEFLAGS
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:00 AM Revision bf9d849b (git): vcs.rb: .git at export
- * tool/vcs.rb (VCS::GIT#export): do not remove .git directory.
should remove it by after_export.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:21 AM Bug #14253 (Closed): CSV.generate doesn't wrap a string anymore
- Merged at https://github.com/ruby/csv/commit/75127b4ad00a748762effe9add3f91edeb0dc94f
It will merge ruby core repository until Ruby 2.6 releasing. -
03:58 AM Feature #14550: Support keyword arguments with Date#step
- avit (Andrew Vit) wrote:
> If adding keyword options, would it make sense to add the possibility to enumerate by `>>` for whole months instead of only `succ` days, or is that out of scope here?
Please write a separate feature describ...
02/25/2018
-
07:51 PM Feature #14550: Support keyword arguments with Date#step
- If adding keyword options, would it make sense to add the possibility to enumerate by `>>` for whole months instead of only `succ` days, or is that out of scope here?
-
08:37 AM Feature #14550: Support keyword arguments with Date#step
- Thank you for reviewing.
I updated the documentation for Date#step also. (date-step-2.patch) -
04:59 PM Feature #11741: Migrate Ruby to Git from Subversion
- > I know this feature request already reject but still posting in
> ...
I think it was said that the net benefit may have been too small
at that moment in time, but if I remember correctly, it was also
said that this can be re-evaluat... -
04:56 PM Feature #14551: What's missing to switch to Git instead of using Subversion?
- For point #1, perhaps the issue here could collect all files that
would need modification (or a new file that handles git; though
ideally, the existing files could be adapted to use both svn
and git, so that if it is ever decided to c... -
02:39 PM Feature #14551 (Rejected): What's missing to switch to Git instead of using Subversion?
- I know migrating to Git get asked at least every year at RubyKaigi, and this should be a motivation to change.
#14470 is one example making me wonder why we still use such an ancient technology like Subversion.
To be clear, this does... -
01:52 PM Feature #13784 (Closed): Add Enumerable#filter as an alias of Enumerable#select
- Applied in changeset trunk|r62575.
----------
Add a new #filter alias for #select
* In Enumerable, Enumerator::Lazy, Array, Hash and Set
[Feature #13784] [ruby-core:82285]
* Share specs for the various #select#select! methods and
r... - 01:52 PM Revision a60a1c03 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:52 PM Revision b1a8c644 (git): Add a new #filter alias for #select
- * In Enumerable, Enumerator::Lazy, Array, Hash and Set
[Feature #13784] [ruby-core:82285]
* Share specs for the various #select#select! methods and
reuse them for #filter/#filter!.
* Add corresponding filter tests for select tests.
*... -
01:17 PM Revision d1ea2f9d (git): date_parse.c, date_strptime.c: ensure symbols static all
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:20 AM Bug #10864 (Rejected): REXML adds white space to text property when indent > -1
- If you don't want to add extra spaces with indent, use `transitive: true` option:
```ruby
require 'rexml/document'
xml_string = ''
REXML::Document.new(xml_string).tap do |doc|
doc.add_element('root').tap do |root|
write... -
04:49 AM Revision a32e4169 (git): date_core.c: ensure symbols static all
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:28 AM Bug #14482 (Closed): headerが重複したCSVをheaders:trueでparseした場合、row.to_h[key] と row[key] の結果が一致しない
- 後方互換性がなくなってしまうのでどうするかなぁと考えてみたんですが、もともと重複していた場合はなにを返すかわからない、という仕様だったので変わっても大丈夫かなぁと言う気持ちになったので、同じになるようにしました。
-
04:28 AM Bug #14549 (Closed): abort Date#step
- Applied in changeset trunk|r62572.
----------
date_core.c: defensive code
* ext/date/date_core.c (f_cmp): check comparison failure.
* ext/date/date_core.c (d_lite_step): deal with the comparison
result more defensively. [ruby-core:... -
04:28 AM Revision d3d84539 (git): date_core.c: defensive code
- * ext/date/date_core.c (f_cmp): check comparison failure.
* ext/date/date_core.c (d_lite_step): deal with the comparison
result more defensively. [ruby-core:85796] [Bug #14549]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62572... -
03:35 AM Feature #14385: Deprecate back-tick for Ruby 3.
- I have recently read something which may be incorrect; but perhaps it may
be correct too, I do not know. The comment I read was sort of meant as a
joke perhaps ... or it was a first april joke. But it's not quite first
april so I shou... -
03:25 AM Feature #14385: Deprecate back-tick for Ruby 3.
- > I see back-ticks are used improperly all the time.
> ...
I am not sure if this is a good approach. What if someone really
just prefers the shorter `` rather than system()? I mean, it is not
a problem for me since I use `` only in co... -
03:08 AM Revision e110c0dd (git): guard before noreturn function
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:12 AM Revision 71da3c50 (git): process.c: guard eargp against GC
- `rb_str_append` may trigger GC, and in that case eargp might be GCed.
Probably for protecting it, `RB_GC_GUARD(execarg_obj)` can be seen in
other places.
Hoping to fix:
http://ci.rvm.jp/results/trunk_gcc5@silicon-docker/569818
git-svn-... - 12:36 AM Revision b043343c (git): * 2018-02-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:36 AM Revision 85143cab (git): merge revision(s) 62071: [Backport #14407]
- defined? returns nil for toplevel constant lookup
* variable.c (rb_const_defined_0): toplevel constant lookup has
been removed, should return nil too.
[ruby-core:85142] [Bug #14407] [Fix GH-1800]
Fro...
02/24/2018
-
08:24 PM Feature #14550: Support keyword arguments with Date#step
- Seems ok.
For others, here is a quick link to the documentation for Date
in current ruby 2.5.0:
http://ruby-doc.org/stdlib-2.5.0/libdoc/date/rdoc/Date.html#method-i-step -
02:39 PM Feature #14550 (Open): Support keyword arguments with Date#step
- How about supporting keyword arguments with Date#step like Numeric#step?
~~~
from = Date.new(2018, 1, 1)
to = Date.new(2018, 2, 1)
from.step(to: to, by: 3).to_a
~~~
I expected that this is already supported.
But not. - 03:36 PM Revision 591baf8f (git): rb_int_powm: call rb_int_pow directly
- * bignum.c (rb_int_powm): call rb_int_pow directly instead of calling `**`
operator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:06 PM Revision da9300dc (git): * 2018-02-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:06 PM Revision c225d3c9 (git): complex.c, rational.c: remove dead code
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:56 PM Revision daa67ca3 (git): rational.c: simplify a branch condition
- * rational.c (nurat_s_convert): simplify a branch condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:20 PM Feature #14489: MJIT needs a reusable cache
- I agree with the direction. After resolving the slowness on Rails, we might be able to tune the default for discourse benchmark or something, to improve the boot time.
-
12:06 PM Feature #14489: MJIT needs a reusable cache
- One simple way that might help here is to make the default for --jit-min-calls much higher.
Compiling after only 5 calls by default seems very early.
Figuring out a better compilation threshold or heuristic would compile much less duri... -
05:51 AM Feature #14489 (Rejected): MJIT needs a reusable cache
- > A big question though is if the binaries can have some sort of manifest that allows you to run a pre-processor and do a simple string replace?
This might resolve performance decrease in indirection. But the optimized code relies on ... -
01:03 PM Bug #14549 (Closed): abort Date#step
- ~~~ruby
require 'date'
o = Object.new
def o.<=>(*)
2
end
Date.new(2000, 1, 1).step(3, o) { }
#=> abort
~~~
I think, It's not intentional behavior.
And it should raise `TypeError` or `ArgumentError`, maybe. -
12:07 PM Feature #14546: Hash#delete!
- > as I understand ! does not mean destructive, but rather
> ...
You may still have the issue of semantics.
For example, .fetch() semantic is different than .delete().
The way how I remember methods with a "!", even if this is
not... -
04:42 AM Feature #14546: Hash#delete!
- nobu (Nobuyoshi Nakada) wrote:
> `Hash#delete` is destructive, so appending `!` doesn't seem making sense.
I'm as guilty of it as anyone, but as I understand [`!` does not mean destructive](https://www.ruby-forum.com/topic/176830#773... -
02:20 AM Feature #14546: Hash#delete!
- `Hash#delete` is destructive, so appending `!` doesn't seem making sense.
Rather, a destructive version of `Hash#fetch` feels better. -
08:54 AM Revision 8b9a3eab (git): lib/erb.rb: Add uplevel to warn
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:20 AM Bug #14547: segfault on Rational() with positive exponent in a string
- ruby_2_5 r62562 merged revision(s) 62555.
-
02:08 AM Bug #14547 (Closed): segfault on Rational() with positive exponent in a string
- Applied in changeset trunk|r62555.
----------
rational.c: segfault on Rational exponent
* rational.c (read_num): fix segfault on Rational() with positive
but less than the length of fractional part exponent. should be
negated to c... -
07:19 AM Revision e16d49fb (git): merge revision(s) 62555: [Backport #14547]
- rational.c: segfault on Rational exponent
* rational.c (read_num): fix segfault on Rational() with positive
but less than the length of fractional part exponent. should be
negated to convert to divisor which... -
07:19 AM Bug #12762: missing links in LEGAL
- ruby_2_5 r62561 merged revision(s) 62513.
-
07:19 AM Revision a94362d3 (git): merge revision(s) 62513: [Backport #12762]
- Update url with 404 status on LEGAL file.
* Update redirected and upstream url.
* Added the Wayback Machine url for missing link.
[Bug #12762][ruby-dev:49802]
From: SHIBATA Hiroshi <hsbt@ruby-lang... -
02:58 AM Revision b81538d2 (git): Judge ERB version not RUBY_VERSION but ERB.version
- On cross compilation, ruby command uses fake RUBY_VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:58 AM Revision 22acbed6 (git): On getting changelog, use git-log with --no-notes
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:55 AM Revision 1bfe28e2 (git): version.h: get rid of duplication
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:48 AM Revision 4704a0dc (git): test for r62555
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:45 AM Revision 789853ed (git): rational.c: removed needless calc
- * rational.c (read_num): exp(0) is 1, no need to multiply.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:38 AM Feature #14548: Allow some_array&.[1] to be a valid syntax
- It was introduced at [r52422] once, but removed soon at [r52430] by a matz's objection.
[r52422]: https://github.com/ruby/ruby/commit/dbf73f6fc2a4b0414110eea64a9f98d33c2cf930
[r52430]: https://github.com/ruby/ruby/commit/a3ee54f8a653... -
02:15 AM Bug #14545 (Closed): Backport r62071 to ruby 2.5
- The ticked is closed already, and now set "Backport" to "2.5: REQUIRED".
"Backport REQUIRED" in "Closed" ticket is the mark for backporting. -
02:13 AM Bug #14500: Missing Regexp documentation and clarification on behavior of \K for edge case
- oh, I didn't check with `$10`. I'd tried with backreference. Any idea how to use `\10`?
```
$ echo 'abcdefghij' | ruby -pe 'sub(/(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)/, ":\\9:")'
:i:
$ echo 'abcdefghij' | ruby -pe 'sub(/(.)(.)(.)(.)(.)(.)... -
01:30 AM Bug #14500: Missing Regexp documentation and clarification on behavior of \K for edge case
- Sundeep (Sundeep Agarwal) wrote:
> * suggestion to add that numbered capturing groups is limited to `9`
I don't think so.
Why did you think so?
```
irb -r irb/completion --simple-prompt
> ...
=> 0
>> $10
=> "a"
``` -
02:08 AM Revision f954caea (git): rational.c: segfault on Rational exponent
- * rational.c (read_num): fix segfault on Rational() with positive
but less than the length of fractional part exponent. should be
negated to convert to divisor which is a reciprocal.
[ruby-core:85783] [Bug #14547]
git-svn-id: svn... -
01:12 AM Revision 62316091 (git): Improve Array#sample with random documentation
- * array.c (rb_ary_sample): Adds examples for the use of the
optional parameter random for Array#sample and unifies the style
with the documentation of Array#shuffle.
[Fix GH-1825]
From: Alberto Almagro <alberto.almagro@rakuten.com>... -
01:05 AM Revision e5d5cc4a (git): NEWS: elaborate on JIT for 2.6.0-preview1 [ci skip]
- This information is backported from the draft of 2.6.0-preview1 release
note. NEWS for final 2.6.0 release will be different.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:02 AM Revision 35ab341c (git): Fix typo: blcok -> block
- Typo in a comment about "evaluator body".
[Fix GH-1824]
From: hkdnet <satoko.itse@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:40 AM Revision f6445718 (git): * 2018-02-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:40 AM Revision 07a4943d (git): mjit.c: fix deadlock on marking MJIT's ISeq
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/23/2018
-
07:59 PM Feature #14548 (Assigned): Allow some_array&.[1] to be a valid syntax
- Currently, Ruby allows accessing an array's index while testing whether the array is not nil with this syntax: `my_array&.[](1)`. I've always found this awkward but didn't mind about suggesting anything to improve this.
I was just rea... -
07:28 PM Bug #14547 (Closed): segfault on Rational() with positive exponent in a string
- ~~~ ruby
Rational('1.11e1')
~~~
results in segmentation fault -
06:52 PM Feature #14546 (Assigned): Hash#delete!
- Hash#delete currently returns nil if a given key is not found in the hash. It would be nice to have a way to check that the key was present in the hash. This can be accomplished with with a block, but it would be nice to have some sugar ...
-
05:53 PM Feature #14473: Add Range#subrange?
- Good point v.ox, I did consider implementing `subset?` as an overloading of `include?` (or possibly `cover?` ?), as one can't have a range-of-ranges (so there is no ambiguity).
How would you distinguish between strict/non-strict - a `... -
05:43 PM Feature #14473: Add Range#subrange?
- Thanks for your thoughts al2o3cr, your "bigger point" is interesting:
> So range_1 claims to be a subset of range_2, but no elements of range_2 are included in range_1.
My thinking here was that the empty set is a subset of all set... -
05:09 PM Feature #14473: Add Range#subrange?
- Why not modify Range#include? to accept Range object. Anyway, there is missing any justification for the RFE.
-
04:30 PM Feature #14473: Add Range#subrange?
- Minor point: IMO a "Range with steps" isn't a Range, it's something else. It doesn't seem relevant to the discussion.
Bigger point: the tests on improper ranges in the patch seem to imply some odd consequences:
~~~ ruby
range_1 = ... -
12:43 PM Feature #14473: Add Range#subrange?
- Attached updated patch, the former had a syntax error (a missing `)`).
-
12:30 PM Feature #14473: Add Range#subrange?
- Good questions duerst. I wonder if I should have stuck with the `subrange` naming rather than `subset`, due to the Numeric behaviour.
> What e.g. should be the result of (5..10).subset?(5.5..7.9)?
The implementation I have used in... -
01:39 AM Feature #14473: Add Range#subrange?
- As long as we only consider ranges starting and ending with integers, concepts such as subset and superset make sense. But ranges can also be constructed from other numbers, and other objects in general.
What e.g. should be the result... -
03:58 PM Bug #14544 (Closed): crash on gem update
-
03:57 PM Bug #14544: crash on gem update
- This is the same as #14343, but the real solution is #14261
-
10:42 AM Bug #14544 (Closed): crash on gem update
- After a clean install using rbenv on a new MacBook Pro running High Sierra 10.13.3, gem update fails:
~: gem update
Updating installed gems
Updating ffi
Fetching: ffi-1.9.22.gem (100%)
Building native extensions. This could take a w... -
02:41 PM Bug #14545 (Closed): Backport r62071 to ruby 2.5
- Please backport r62071 (https://bugs.ruby-lang.org/issues/14407) to ruby 2.5 to make toplevel constant lookup consistent with `defined?` behavior in than branch.
Thanks! -
01:16 PM Bug #14357: thread_safe tests suite segfaults
- Thank you for the patch. I applied it to Ruby in Fedora and so far like 10 builds of thread_safe passed without issues. I hope I'll be able to update the Ruby package soon.
-
12:58 PM Feature #8158: lightweight structure for loaded features index
- Hi all.
I did create an account of funny_falcon on svn.ruby-lang.org.
-
11:41 AM Bug #14542: syswrite spuriously empties the given string
- > For 2.4.3, can you try removing the rb_str_tmp_frozen_release call in the rb_io_syswrite function in io.c?
With difficulty ... the only place I manage to reproduce semi-reliably is on Travis. This does happen outside Travis, but rar... -
08:39 AM Revision daad6187 (git): eval_error.c: rb_error_write flags
- * eval_error.c (rb_error_write): add highlight and reverse mode
flags. defaulted to rb_stderr_tty_p() if Qnil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:32 AM Revision 28278b83 (git): groups_spec.rb: get rid of limit on macOS
- * spec/ruby/core/process/groups_spec.rb: on macOS, getgroups(2)
has a variant which has no limit but not setgroups(2). so the
default groups may exceed the limit. as the call of setgroups
is expected to fail here, the content doe... -
08:24 AM Bug #14480: miniruby crashing when compiled with -O2 or -O1 on aarch64
- This appears to be longstanding GCC issue on aarch64, which was recently exposed by change in GCC defaults [1]. However, the GCC upstream is questioning usage of \_\_builtin_setjmp/\_\_builtin_longjmp. Can somebody provide answer to this...
-
06:17 AM Misc #14414: Move https://ruby-talk.trydiscourse.com/ to talk.ruby-lang.org
- Ok, Matz we will move this to a proper domain for now.
We will see if something like ruby-talk-archive.com is available, register it, and make sure it is indexed by Google.
We will ensure on the footer of all pages it is clear ho... -
05:03 AM Misc #14414: Move https://ruby-talk.trydiscourse.com/ to talk.ruby-lang.org
- >ruby-talk.trydiscourse.com is a bad domain name
I don't think so. `Problem: All mailing list discussion is not searchable on Google, this is hurting the community` and `Problem: ruby-talk.trydiscourse.com is a bad domain name` are no... -
04:36 AM Misc #14414: Move https://ruby-talk.trydiscourse.com/ to talk.ruby-lang.org
- Sounds reasonable. @hsbt do you have any additional concern?
Matz.
-
05:12 AM Bug #14543 (Closed): `make commit` show error of `common-srcs`
- When I use `make commit`, it shows following error.
```
~/D/g/r/ruby (trunk) > mk commit
make: Entering directory '/Users/hsbt/Documents/github.com/ruby/ruby/.x86_64-darwin'
Committing to svn+ssh://svn@ci.ruby-lang.org/ruby/trunk .... -
05:09 AM Revision 2e1b0064 (git): Update minitest-5.11.3 on bundled gems.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:45 AM Revision 26741c97 (git): Use Process::Tms
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:18 AM Revision 96db72ce (git): [DOC] missing docs at toplevel
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:16 AM Revision b9d01e22 (git): [DOC] obsolete classes
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:16 AM Revision 16ef24ac (git): [DOC] nodoc internal methods/classes
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:16 AM Revision 4739266a (git): [DOC] hide declaration from rdoc
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:16 AM Revision 44c53ee4 (git): process.c: deprecated Struct::Tms
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:59 AM Bug #14334 (Open): Segmentation fault after running rspec (ruby/2.5.0/erb.rb:885 / simplecov/source_file.rb:85)
- Some additional information. We're encountering the same segmentation fault, with the same C backtrace from inside the GC. (https://github.com/GoogleCloudPlatform/google-cloud-ruby/issues/1979). We can reproduce it even when we remove si...
02/22/2018
-
11:03 PM Bug #14542: syswrite spuriously empties the given string
- sylvain.joyeux@m4x.org wrote:
> https://bugs.ruby-lang.org/issues/14542
>
> * Target version:
> * ruby -v: 2.3.6, 2.4.3
Hitting this in 2.4.3 might be my fault, but I'm not sure about
Ruby 2.3.6 since my garbage reduction fixe... -
01:56 PM Bug #14542 (Third Party's Issue): syswrite spuriously empties the given string
- I'm doing a bit of buffer management to write on a socket. The main method looks like this:
~~~ ruby
@write_buffer.concat(new_bytes) if new_bytes
written_bytes = io.syswrite(@write_buffer)
@write_buffer = @write_buffer[written_byte... -
10:26 PM Misc #14414: Move https://ruby-talk.trydiscourse.com/ to talk.ruby-lang.org
- I think I did a terrible job explaining this and believe it is a language barrier.
### Problem
- All mailing list discussion is not searchable on Google, this is hurting the community
Example:
- https://www.google.com.au/sea... -
07:24 AM Misc #14414 (Rejected): Move https://ruby-talk.trydiscourse.com/ to talk.ruby-lang.org
- Hi, Sam.
Thank you for your offer. But I can not care about discourse.com as *.ruby-lang.org.
For example, When talk.ruby-lang.org is down, its users will claim to me.
We should maintain them each policy.
Again, Thank you for y... -
10:04 PM Bug #14368: backport r61862 (Fix SEGV of `/#{"\u3042"}#{'い'}/` in non UTF-8)
- ruby_2_5 r62539 merged revision(s) 61862.
-
10:04 PM Revision 86613d13 (git): merge revision(s) 61862: [Backport #14368]
- parse.y (new_regexp): Fix SEGV of `/#{"\u3042"}#{'?'}/` in non UTF-8
Mixing other encoding string literals in one Regexp caused SEGV.
This bug was found by CoverityScan.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc... -
09:41 PM Bug #14420: [BUG] Unnormalized Fixnum value on Rational#hash.to_s
- ruby_2_5 r62538 merged revision(s) 62107.
-
09:41 PM Revision 4724dea4 (git): merge revision(s) 62107: [Backport #14420]
- force fixable
* complex.c (nucomp_hash): force hash values fixable.
[ruby-core:85224] [Bug #14420]
* rational.c (nurat_hash): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62538 b2dd03c... -
09:29 PM Bug #14356: Backport 61605
- ruby_2_5 r62537 merged revision(s) 61605,62359,62361.
-
09:29 PM Revision c442dd60 (git): merge revision(s) 61605,62359,62361: [Backport #14356]
- Try to fix Travis CI configuration.
.travis.yml: send notification to #alerts
instead of #commits.
.travis.yml: resurrect notification to #commits
I heard at least Shibata-san sees the channel for the ... -
09:26 PM Bug #14459: Unexpected compile error in 2.5.0
- ruby_2_5 r62527 merged revision(s) 62333.
-
06:10 PM Feature #14473: Add Range#subrange?
- Thank you nobu, I came to the same realisation when writing the tests for my attempt at an implementation (patch attached).
Please let me know what you think, when you have time. This is my first "proper" MRI patch, so all comments g... -
07:21 AM Feature #14473: Add Range#subrange?
- It should consider `exclude_end?` too.
-
03:34 PM Revision abf3d25d (git): test/ruby/test_rubyoptions.rb: fix typo and only expect +JIT for CRuby
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:29 PM Revision 2d1a4154 (git): ruby.c: fix typo in r62530
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:11 PM Revision c273cbca (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:11 PM Revision 666cafbe (git): test_rubyoptions.rb: don't test --jit if not supported
- test/lib/jit_support.rb: carved out JITSupport
test/ruby/test_jit.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:03 PM Revision 073c8cfe (git): * 2018-02-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:03 PM Revision 8038bb2f (git): tool/generic_erb.rb: check ERB version
- instead of Ruby's.
When older ERB is installed but Ruby is still 2.6.0, this may cause
error like:
```
Traceback (most recent call last):
5: from ../src/tool/generic_erb.rb:36:in `<main>'
4: from ../src/tool/generic_erb.rb:36:i... -
02:53 PM Feature #14462 (Closed): MJIT enabled should be displayed in the version string
- Applied in changeset trunk|r62530.
----------
version.c: show +JIT when --jit is passed
in version output.
version.h: ditto
ruby.c: propagate option for it
common.mk: updated dependency for version.c
mjit.c: overwrites the RUBY_DESCRI... -
02:53 PM Revision 171c496e (git): version.c: show +JIT when --jit is passed
- in version output.
version.h: ditto
ruby.c: propagate option for it
common.mk: updated dependency for version.c
mjit.c: overwrites the RUBY_DESCRIPTION to have +JIT when --jit is passed
test/ruby/test_rubyoptions.rb: add test for them
... -
02:16 PM Bug #14541: Class variables have broken semantics, let's fix them
- Eregon (Benoit Daloze) wrote:
> Moreover, manually defining class-level instance variables with
> ...
This is one of those change requests that I have thought about for a long time already but didn't request it because I thought it ... -
01:42 PM Bug #14541: Class variables have broken semantics, let's fix them
- shevegen (Robert A. Heiler) wrote:
> I'd rather just remove them altogether. :P
That might be possible in Ruby 3, but unlikely in Ruby 2.x.
Even then, I don't think we want to break compatibility too much for Ruby 3.
I would rather... -
01:19 PM Bug #14541: Class variables have broken semantics, let's fix them
- I'd rather just remove them altogether. :P
However had, since I myself do not use them anyway, it is not really
important to me whether they are there or not - I only use a subset
of ruby which I like. I mostly store stuff that shou... -
11:49 AM Bug #14541: Class variables have broken semantics, let's fix them
- To clarify, "setting a class var on Object removes class vars in subclasses" means:
Setting a class variable in some class removes class variables *of the same name* in all descendant classes of that class. -
11:47 AM Bug #14541 (Closed): Class variables have broken semantics, let's fix them
- Class variables have the weird semantics of being tied to the class hierarchy and being inherited between classes.
I think this is counter-intuitive, dangerous and basically nobody expects this behavior.
To illustrate that, we can br... -
01:28 PM Feature #14256 (Closed): Deprecate $SAFE support in ERB and let ERB.new take keyword arguments for it
- Applied in changeset trunk|r62529.
----------
erb.rb: deprecate safe_level of ERB.new
Also, as it's in the middle of the list of 4 arguments, 3rd and 4th arguments
(trim_mode, eoutvar) are changed to keyword arguments.
Old ways to spec... -
01:28 PM Revision cc777d09 (git): erb.rb: deprecate safe_level of ERB.new
- Also, as it's in the middle of the list of 4 arguments, 3rd and 4th arguments
(trim_mode, eoutvar) are changed to keyword arguments.
Old ways to specify arguments are deprecated and warned now.
bin/erb: deprecate -S option.
We'll remov... -
12:51 PM Feature #14506 (Closed): Possible bug in cmdarg_stack
- Applied in changeset trunk|r62528.
----------
Fix CMDARG manipulation
* parse.y: Fix CMDARG manipulation. Use CMDARG_P to identify
keyword_do/keyword_do_block. [Feature #14506] [Fix GH-1823]
From: Ilya Bylich <ibylich@gmail.com> -
12:50 PM Feature #14506: Possible bug in cmdarg_stack
- ibylich (Ilya Bylich) wrote:
> > Maybe, `lambda` and `brace_body` parts aren't needed?
> ...
No, just confirmed.
> No, when lexer comes to the "do" token it has a state "EXPR_END|EXPR_ENDARG". I understand that it's a bitmask, but f... -
11:55 AM Feature #14506: Possible bug in cmdarg_stack
- nobu (Nobuyoshi Nakada) wrote:
> Seems nice.
> ...
Maybe, I didn't have a chance to test it. Would you like me to check and revert this part?
nobu (Nobuyoshi Nakada) wrote:
> And, just curiosity, what do you mean by "dual state", `... -
11:21 AM Feature #14506: Possible bug in cmdarg_stack
- Seems nice.
Maybe, `lambda` and `brace_body` parts aren't needed?
And, just curiosity, what do you mean by "dual state", `cmdarg` and `lex_state`? -
09:54 AM Feature #14506: Possible bug in cmdarg_stack
This patch does not introduce any logical changes (at least I don't expect any).
mame (Yusuke Endoh) wrote:
> I think that this is not a bug, and that your patch is for refactoring. Am I right?
Yes, exactly.
mame (Yusuke E...-
02:27 AM Feature #14506 (Assigned): Possible bug in cmdarg_stack
- I think that this is not a bug, and that your patch is for refactoring. Am I right?
Please clarify your motivation if any. I understand that you want this change [for ease of backporting from parser.y to the parser gem](https://gith... -
12:48 AM Feature #14506: Possible bug in cmdarg_stack
- I've sent a PR https://github.com/ruby/ruby/pull/1823
-
12:51 PM Revision 1727c835 (git): Fix CMDARG manipulation
- * parse.y: Fix CMDARG manipulation. Use CMDARG_P to identify
keyword_do/keyword_do_block. [Feature #14506] [Fix GH-1823]
From: Ilya Bylich <ibylich@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62528 b2dd03c8-39d4-4d8... -
11:01 AM Revision 526cc900 (git): merge revision(s) 62333: [Backport #14459]
- compile.c: popped hash
* compile.c (compile_array): skip creating new hash if preceeding
elements are popped all. [ruby-core:85486] [Bug #14459]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62527 b2d... -
07:34 AM Revision 95208d59 (git): Ignore rb_mjit_min_header- instead of rb_mjit_header-
- [Fix GH-1822]
From: hkdnet <satoko.itse@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:34 AM Revision 8a1706a4 (git): Ignore /mjit_config.h
- [Fix GH-1822]
From: hkdnet <satoko.itse@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:11 AM Bug #14505 (Feedback): IO.popen / Open3.popen2 / backtick subprocess remains blocked
- That python code isn't equivalent, as it does not capture the output.
Does `system("ruby", "-r", "oci8", "-e", "puts 'hello'")` block too? -
06:36 AM Bug #11943 (Rejected): Segmentation fault ruby 2.0.0p645
- Ruby 2.0.0 is outdated status. Please try with Ruby 2.4+
-
06:36 AM Bug #11856 (Rejected): Segmentation fault
- Ruby 2.0.0 is outdated status. Please try with Ruby 2.4+
-
05:06 AM Revision 74009968 (git): NEWS: fixed unintentional description list [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:55 AM Revision 5d874cf1 (git): NEWS: fixed unintentional description list [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:13 AM Revision 5fe33f07 (git): NEWS: adjust layout [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:33 AM Revision a1fb880f (git): Add KeyError, NameError and NoMethodError changes
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:14 AM Revision 24294c7d (git): NEWS: fixed a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:58 AM Revision 9ffa3795 (git): test_process.rb: assert minimum maxgroups
- * test/ruby/test_process.rb (TestProcess#test_maxgroups):
maxgroups should be one at least.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:45 AM Misc #14210 (Assigned): maintain net/protocol, net/smtp, tempfile, tmpdir
02/21/2018
-
11:51 PM Bug #14539: Duplicate range in character class warning
- Agreed. Your code did not use more than one \X so the warning is
incorrect as it is (because you did not use more than one \X, so
at best, it may have originated from elsehwere, which was not
your fault then) - so it sounds like a bu... -
10:56 PM Bug #14539 (Closed): Duplicate range in character class warning - ~~~ ruby
#!/usr/bin/env ruby -w
puts RUBY_VERSION
puts "👍".match?(/\X/).inspect
puts '--------------'
~~~
~~~ text
2.4.3
true
--------------
2.5.0
grapheme_warning.rb:3: warning: character class has duplicated range: /\X/
t... -
08:10 PM Bug #14480: miniruby crashing when compiled with -O2 or -O1 on aarch64
- It seems they are getting further:
~~~
With -fomit-frame-pointer on *everything*, and hacking out the call to rb_thread_create_timer_thread in Init_Thread (to keep this single-threaded for simplicity), the bug appears to be a problem... -
12:51 AM Bug #14480: miniruby crashing when compiled with -O2 or -O1 on aarch64
- I confirmed it can be reproduced with docker + qemu-aarch64-static + binfmt.
Dockerfile is attached.
(Note that it requires a copy of your /usr/bin/qemu-aarch64-static in working directory)
I also confirmed the issue is avoidable wi... -
05:26 PM Feature #14506 (Closed): Possible bug in cmdarg_stack
- cmdarg stack is a stack of bytes that has 1 on top of it when the parser is in the command mode.
But for this code:
~~~ ruby
a b(c d), "x" do end
~~~
And this line in parse.y:
~~~ c
> SHOW_BITSTACK(p->cmdarg_stack, "BEFORE... - 05:06 PM Revision b6f290f2 (git): * 2018-02-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:06 PM Revision 3095f4ec (git): * NEWS: add NEWS entry about Binding#source_location [Feature #14230]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:54 PM Feature #14473: Add Range#subrange?
- So, something like (naive implementation in Ruby):
~~~ ruby
Range.class_exec do
def subset?(other)
raise ArgumentError unless other.is_a?(Range)
first >= other.first && last <= other.last
end
def proper_subset... -
04:48 PM Feature #14473: Add Range#subrange?
- +1 for this suggestion - we have a similar method in our code base, implemented approximately as follows:
~~~ ruby
Range.class_exec do
def subset?(other)
raise ArgumentError unless other.is_a?(Range)
first >= other.fir... -
02:55 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
- Pass a new arg to create GreenThread maybe introduce more problems.
For example:
```
g_thr = Thread.create(green_thread: true)
g_thr.is_a?(Thread) # => false or ture?
```
If Thread.create return a non Thread object, it's weird.... -
08:42 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
- On 2018/02/21 17:07, Eric Wong wrote:
>> Or `Thread.create(keyword_args...)` ? (`.create` is an example name).
>
> One problem with a singleton method in "Thread" is separating args
> intended for Thread creation vs args for block.... -
08:12 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
- Koichi Sasada <ko1@atdot.net> wrote:
> On 2018/02/20 18:06, Eric Wong wrote:
> >Also, what do you think about having a way to pass options to
> >thread creation like pthread_attr_t?
>
> I like this idea because we don't need to in... -
02:12 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
- On 2018/02/20 18:06, Eric Wong wrote:
> Also, what do you think about having a way to pass options to
> thread creation like pthread_attr_t?
I like this idea because we don't need to invent new abstraction name.
Or `Thread.creat... -
02:41 PM Feature #3187: Allow dynamic Fiber stack size
- How about
``` ruby
Thread.with_configure(stack_size: 1024).new(a: 1, b: 2){}
# or
Thread::Config.new(stack_size: 1024).start(a: 1, b: 2){}
# alias start new
```
ko1 (Koichi Sasada) wrote:
> Hi,
> ...
-
10:55 AM Bug #14505 (Closed): IO.popen / Open3.popen2 / backtick subprocess remains blocked
- The following ruby code never returns
~~~ ruby
`ruby -r oci8 -e puts 'hello'`
IO.popen(%w(ruby -r oci8 -e)+["puts 'hello'"]) { |o| puts o.read } # this never returns too
Open3.capture2(*%w(ruby -r oci8 -e)+["puts 'hello'"]) # and t... -
09:04 AM Revision a2384238 (git): test_process.rb: unlimited getgroups on darwin
- * test/ruby/test_process.rb (TestProcess#test_maxgroups): Darwin
extension of getgroups(2) which is not limited to MAXGROUPS is
used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:51 AM Revision 19a18994 (git): use `--version`.
- * benchmark/driver.rb: use `--version` instead of `-v` to get version
information.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:14 AM Revision 633b4638 (git): add NEWS entries about [Feature #14318] and [Feature #14330].
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:51 AM Misc #14211: maintain etc, fcntl, and zlib
- hsbt@ruby-lang.org wrote:
> I agreed with naruse.
>
> * zlib: naruse
> * etc/fcntl: same as core team member(includes normal)
>
> I will handle gem version. Do you interest it?
OK, thanks! Also, similar issue with [#14210]... -
06:31 AM Misc #14211 (Closed): maintain etc, fcntl, and zlib
- Applied in changeset trunk|r62512.
----------
Update maintainers of unmaintained libraries.
[Misc #14211]
From: SHIBATA Hiroshi <hsbt@ruby-lang.org> -
06:25 AM Misc #14211 (Assigned): maintain etc, fcntl, and zlib
- I agreed with naruse.
* zlib: naruse
* etc/fcntl: same as core team member(includes normal)
I will handle gem version. Do you interest it? -
07:44 AM Bug #10212: MRI is not for lambda calculus
- One more:
```
target 0: ruby250 (ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]) at "~/ruby/install/v2_5_0/bin/ruby"
target 1: trunk (ruby 2.6.0dev (2018-02-21 trunk 62512) [x86_64-linux]) at "~/ruby/install/trunk/bin/ruby"... -
07:32 AM Bug #10212: MRI is not for lambda calculus
- with [Feature #14318]
```
name ruby241 ruby250 trunk
app_lc_fizzbuzz 29.140 27.950 20.056
Speedup ratio: compare with the result of `ruby241' (greater is better)
name ruby250 trunk
app_lc_fizzbuzz 1.043 1.453
```
-
07:17 AM Bug #12762: missing links in LEGAL
- ライセンス自体に URL が埋め込まれているものはそのままにして The Wayback Machine の URL を追加、新しい先があるものはそれらを更新などしました。
-
07:12 AM Bug #12762 (Closed): missing links in LEGAL
- Applied in changeset trunk|r62513.
----------
Update url with 404 status on LEGAL file.
* Update redirected and upstream url.
* Added the Wayback Machine url for missing link.
[Bug #12762][ruby-dev:49802]
From: SHIBATA Hiroshi ... -
07:12 AM Revision 322d0d93 (git): Update url with 404 status on LEGAL file.
- * Update redirected and upstream url.
* Added the Wayback Machine url for missing link.
[Bug #12762][ruby-dev:49802]
From: SHIBATA Hiroshi <hsbt@ruby-lang.org>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62513 b2dd03c8-39d4-... -
06:39 AM Feature #13821: Allow fibers to be resumed across threads
- Sorry for long absent.
The point is the gap between native-thread and Ruby's thread/fibers.
Ruby can use C-extensions and some C-extensions depends on external libraries.
A few external libraries can depend on (native) thread loca... -
06:35 AM Bug #13882: Exception in `ensure` stops threads from exiting
- Sorry for long absent.
The point is "when should we check `to_kill` flag"?
It is not clear.
This is a issue that Ctrl-C doesn't work on it (and we need to use `kill -9`).
I think modify Ctrl-C issue is enough on this ticket.
T... -
06:31 AM Revision d5eef538 (git): Update maintainers of unmaintained libraries.
- [Misc #14211]
From: SHIBATA Hiroshi <hsbt@ruby-lang.org>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:22 AM Bug #14464 (Assigned): MJIT & MinGW / gcc 7.3.0 seemed ok as of 62337, fail or skip after
-
06:16 AM Bug #14232: Unused refinement still breaks method search
- ruby_2_5 r62511 merged revision(s) 61484.
-
06:16 AM Revision a7cef95f (git): merge revision(s) 61484: [Backport #14232]
- vm_method.c: fix super in refined module
* vm_method.c (rb_method_entry_complement_defined_class): clone
the original method entry of refined module instance method with
the active ICLASS, to track super meth... -
06:11 AM Feature #14370: Directly mark instruction operands and avoid mark_ary usage on rb_iseq_constant_body
- I realize my misunderstanding on aaron's proposal and now I'm very positive on it.
Thank you aaron!
(my misunderstanding: prepare all mark functions for each instructions. it should be hard to maintain)
-
06:08 AM Bug #14343: Segfault during generating documentation
- ruby_2_5 r62509 merged revision(s) 61523.
-
06:07 AM Bug #14226 (Closed): Revert line number of "return", "b-return" and "end" events
-
06:02 AM Feature #14492: iseq loading + caching should be in core
- I agree on it.
rubygems and did-you-mean are the first targets of this goal.
https://github.com/rubygsoc/rubygsoc/wiki/Ideas-for-MRI-(Matz-Ruby-Interpreter)#better-pre-compilation-support
is a step toward this goal.
BTW, one bi... -
06:00 AM Bug #14427: Backport r61469
- ruby_2_5 r62510 merged revision(s) 61469.
-
06:00 AM Revision 1c52a98f (git): merge revision(s) 61469: [Backport #14427]
- irb.rb: fix highlight
* lib/irb.rb (IRB::Irb#eval_input): fix highlight for multiple
lines exception messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:42 AM Bug #14261: invalid syntax segfaults: "x, true"
- ruby_2_5 r62509 merged revision(s) 61523.
-
05:42 AM Revision 2292ea6a (git): merge revision(s) 61523: [Backport #14261]
- parse.y: assignable_error
* parse.y (assignable_gen): should return valid NODE always even
on errors. [ruby-core:84565] [Bug #14261]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62509 b2dd03c8-39d4-4... -
05:37 AM Revision 3a56b957 (git): test_time_tz.rb: past Japanese DST tzdata fix
- * test/ruby/test_time_tz.rb (TestTimeTZ#test_asia_tokyo): fix
the expected data at the end of DST. [Bug #14438]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:14 AM Feature #4910 (Rejected): Classes as factories
- It can lead to unreadable code.
Matz.
-
05:13 AM Feature #14498 (Rejected): Class#to_proc
- Nice try. But I think it's too concise that could lead to unreadable code.
Matz.
-
05:07 AM Bug #14500 (Closed): Missing Regexp documentation and clarification on behavior of \K for edge case
- **Capturing** section (https://ruby-doc.org/core-2.5.0/Regexp.html#class-Regexp-label-Capturing)
* formatting issue: `n<sup>th</sup>`
* suggestion to add a note on `\0` similar to the note mentioned in **Special global variables** (h... -
04:36 AM Bug #14421: super_method segfaults when called on a re-bound Method
- ruby_2_5 r62507 merged revision(s) 62115.
-
04:36 AM Revision aa58701d (git): merge revision(s) 62115: [Backport #14421]
- proc: fix super_method segfault after bind
* proc.c: handle undefined iclass
[ruby-core:85231] [Bug #14421]
From: Eric Wong <e@80x24.org>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62507 b2... -
02:21 AM Bug #14438 (Closed): TestTimeTZ: failures with recent version of tzdata
- Applied in changeset trunk|r62506.
----------
test_time_tz.rb: past Japanese DST tzdata fix
* test/ruby/test_time_tz.rb (TestTimeTZ#test_asia_tokyo): follow
the tzdata 2018 fix of Japanese DST transitions (1948-1951).
[ruby-core:85... -
02:21 AM Revision d6ac1213 (git): test_time_tz.rb: past Japanese DST tzdata fix
- * test/ruby/test_time_tz.rb (TestTimeTZ#test_asia_tokyo): follow
the tzdata 2018 fix of Japanese DST transitions (1948-1951).
[ruby-core:85373] [Bug #14438]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62506 b2dd03c8-39d4-4d8f-... -
02:07 AM Bug #14499 (Third Party's Issue): [win32-service] "ruby.exe" crashes har
- It crashes inside the extension library of ffi gem.
You should ask the authors of those (win32-service and ffi) gems. -
12:55 AM Revision ef04d43f (git): vm_insnhelper.c: no insns_info in jit
- * vm_insnhelper.c: instructions info are not used in jit source
code. resolved a warning by transform_mjit_header.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:36 AM Revision 4eaf6985 (git): Makefile.in (mjit_config.h): fix duplicated output
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:26 AM Bug #14400: IO#ungetc and IO#ungetbyte documentation is inconsistent with the behavior
- I think it is possible to glow the IO read buffer (rbuf) if it is properly locked.
Since the IO buffer is modified without GVL
(to avoid whole process blocking),
glowing (realloc) the buffer without lock is too dangerous.
It seem... - 12:17 AM Revision 83b428d9 (git): * 2018-02-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:17 AM Revision 9e42f781 (git): Makefile.in: empty comment
- * Makefile.in (mjit_config.h): add an empty comment if no content,
to tell the empty content explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/20/2018
-
08:11 PM Bug #14425: rb_funcall too strict on extra args
- ruby_2_5 r62501 merged revision(s) 62116,62151.
-
08:11 PM Revision 18b6b672 (git): merge revision(s) 62116,62151: [Backport #14425]
- ruby.h: relax rb_funcall check on extra args for clang
clang 5.+ (tested clang 7.0.0) seems to be attempting division-by-zero
and giving a very large number for static args to rb_funcall.
* include/ruby/ruby.h (... -
07:08 PM Feature #14392: Pipe operator
- Hanmac (Hans Mackowiak) wrote:
> Symbol#pri and others will never work because you failed to understand how Object work in ruby
> ...
Daniel,
I'm just curious... does the modifier in the class scope work for you as Hans mentioned, o... -
03:59 PM Bug #14499 (Third Party's Issue): [win32-service] "ruby.exe" crashes har
- Hello can someone help me? I have a problem with the Ruby-Gem "win32-service".
Here the "ruby.exe" crashes hard.
### Here my example (very simple):
```ruby
require 'win32/service'
# Iterate over the available services
Win32::S... -
03:24 PM Feature #14498: Class#to_proc
- Hanmac (Hans Mackowiak) wrote:
> Duplicate of #4910
> ...
Hi!
It's not really a duplicate since there is a different suggestion.
I have written PR in C based on `Hash#to_proc` definition
-
03:13 PM Feature #14498: Class#to_proc
Duplicate of #4910
PS: might be a bit more complicated in C,
but i would like this:
~~~ruby
proc { |*args, **keyargs| self.new(*args, **keyargs) }
~~~
so it works with keyargs too-
03:01 PM Feature #14498 (Rejected): Class#to_proc
- Hello!
I was creating a list of class instances via `some_list.map { |e| SomeClass.new(e) }` and wondered if there's a `Class#to_proc` to make possible doing `some_list.map(&SomeClass)`.
Well, there is not.
Basically, this is what... -
03:13 PM Feature #12967: Add a default for RUBY_GC_HEAP_GROWTH_MAX_SLOTS out-of-the-box
- IMHO this should be reconsidered, as it provides a huge memory saving for a typical Rails app and it's so easy and unobtrusive, but almost no one is aware of it
But if it was capped like this out of the box, a lot more people would bene... -
02:13 PM Bug #14400: IO#ungetc and IO#ungetbyte documentation is inconsistent with the behavior
- Could the buffer grow automatically to allow pushing multiple bytes/characters back?
That's the current implementation in TruffleRuby and Rubinius, the buffer grows on ungetbyte/ungetc if there is not enough space.
Then the semantics f... -
01:03 PM Bug #14400: IO#ungetc and IO#ungetbyte documentation is inconsistent with the behavior
- Even worse, I found an example which ungetc can not push back
a character which just returned by getc.
```
% ./ruby -e 'print "a" * (1024*8-2) + "\n\u0080" + "b" * (1024*8-1)'|
./ruby -e 'STDIN.gets; c = STDIN.getc; p c; STDIN.unge... -
07:23 AM Bug #14400 (Feedback): IO#ungetc and IO#ungetbyte documentation is inconsistent with the behavior
- Basically, ungetbyte/ungetc works if there is enough space in the IO buffer.
Since the IO buffer is not dynamically extended and
the buffer size is internal behavior,
it is very small guarantee that we have enough space:
(1) There ... -
06:25 AM Bug #14400 (Assigned): IO#ungetc and IO#ungetbyte documentation is inconsistent with the behavior
-
10:49 AM Feature #8158: lightweight structure for loaded features index
- normalperson (Eric Wong) wrote:
> > https://bugs.ruby-lang.org/issues/8158
> ...
0xfea7009e - is a "feature" hex-spelled :-) Nothing special.
It could be ommitted, given features are strings without zero bytes.
I put it here just f... -
10:40 AM Feature #8158: lightweight structure for loaded features index
- @matz , yes I will.
Excuse me for the delay. I'll try to proceed with steps from CommitterHowto this week.
With regards,
Yura.
-
06:34 AM Feature #8158: lightweight structure for loaded features index
- @funny_falcon? Will you be a committer?
Matz.
-
10:08 AM Revision 55515ef4 (git): error.c: bypass Exception.new
- * error.c (rb_exc_new, rb_exc_new_str): instantiate exception
object directly without Exception.new method call.
Redefinition of class method `new` is an outdated style, and
internal exceptions should not be affected by it.
git-svn-i... -
09:45 AM Feature #14491: MJIT needs internal debugging methods
- > My #1 motivation is that I am trying to figure out why --jit is making discourse bench slower even after everything is warmed up, so I want to run with --jit but disable all jitting so it continues counting method calls but never actua...
-
09:20 AM Feature #14491: MJIT needs internal debugging methods
- My #1 motivation is that I am trying to figure out why --jit is making discourse bench slower even after everything is warmed up, so I want to run with --jit but disable all jitting so it continues counting method calls but never actuall...
-
07:55 AM Feature #14491: MJIT needs internal debugging methods
- > I would say the most critical piece though is MJIT.pause cause I need to properly measure additional overhead that mjit introduces for non jitted methods.
Again, why don't you just remove --jit flag?
--
We discussed about this... -
01:33 AM Feature #14491: MJIT needs internal debugging methods
- Yes I ran with it during my testing and confirm jit-verbose helps somewhat. But compared to GC type instrumentation that is available in Ruby it is very awkward to consume.
From a performance standpoint this is something we would def... -
01:18 AM Feature #14491 (Feedback): MJIT needs internal debugging methods
- > Measure how long it takes to JIT all methods (avg, median, max, total)
> ...
Did you try --jit-verbose=1? It covers many of those use cases and parsing stderr with it would be sufficient for the use case. -
01:15 AM Feature #14491: MJIT needs internal debugging methods
- > Measure impact of --jit when all jitting is disabled
This can be achieved by not passing --jit, can't it?
> ...
I can somewhat understand this. But could you make sure whether it's for development environment or production? Boot ... -
09:39 AM Revision 64072aa8 (git): mjit.c: separate call from macro
- * mjit.c (convert_unit_to_func): separate a function call from a
macro, which evaluates the argument multiple times.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:38 AM Revision b2033b8b (git): Signature of rb_uint2inum and rb_int2inum
- * include/ruby/ruby.h (rb_int2inum, rb_uint2inum): adjust
declarations. [ruby-core:83424] [Bug #14036]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:30 AM Misc #14497 (Closed): [PATCH] thread*: all condvars are monotonic
- thread*: all condvars are monotonic
There's no reason to use CLOCK_REALTIME for any condvars in Ruby.
Indeed, we initialized all condvars with RB_CONDATTR_CLOCK_MONOTONIC
anyway; so simplify our code and reduce ifdefs.
Split from... -
09:26 AM Feature #4938 (Closed): Add Random.bytes [patch]
- Applied in changeset trunk|r62497.
----------
random.c: Random.bytes
* random.c (random_s_bytes): new method Random.bytes, which is
equivalent to Random::DEFAULT.bytes. [Feature #4938] -
08:57 AM Feature #4938: Add Random.bytes [patch]
- Accepted. Better later than never.
Matz.
-
09:26 AM Revision 1cd9c3ce (git): random.c: Random.bytes
- * random.c (random_s_bytes): new method Random.bytes, which is
equivalent to Random::DEFAULT.bytes. [Feature #4938]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:16 AM Revision 74bf1767 (git): Makefile.in: fix for Solaris
- * Makefile.in (mjit_config.h): expand for each words.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:12 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
- matz@ruby-lang.org wrote:
> May I add two new candidates (IoThread and Thread::Coop)?
Thanks for the ideas. I like Thread::Coop; maybe "Thread::Coro"
is good, too...
I don't think IoThread is good if we support Queue/Mutex/...
... -
06:42 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
- May I add two new candidates (IoThread and Thread::Coop)?
Matz.
-
08:47 AM Feature #5044 (Rejected): #zip with block return mapped results
- We cannot change the behavior. The change would increase the memory consumption (and decrease the performance).
Matz.
-
08:44 AM Bug #14494 (Closed): [PATCH] tool/m4/ruby_replace_type.m4 use AC_CHECK_TYPES for HAVE_* macros - Applied in changeset trunk|r62495.
----------
tool/m4/ruby_replace_type.m4: use AC_CHECK_TYPES for HAVE_* macros
AC_CHECK_TYPE (no "S") does not define HAVE_* macros for types,
so use AC_CHECK_TYPES (with "S") instead. Without this,
H... -
12:20 AM Bug #14494: [PATCH] tool/m4/ruby_replace_type.m4 use AC_CHECK_TYPES for HAVE_* macros
- I have no particular opinion on it, probably it'd be convenient.
- 08:44 AM Revision e691d4d7 (git): tool/m4/ruby_replace_type.m4: use AC_CHECK_TYPES for HAVE_* macros
- AC_CHECK_TYPE (no "S") does not define HAVE_* macros for types,
so use AC_CHECK_TYPES (with "S") instead. Without this,
HAVE_CLOCKID_T goes undefined and I can't USE_MONOTONIC_COND in
thread_pthread.c :<
Fixes: r62446 (git 673ae0e3c9ce... -
08:39 AM Feature #4541 (Rejected): Inconsistent Array.slice()
- We don't want to change the behavior of basic methods. That would break existing code.
FYI, the slice is `nil` when the starting point does not fit in the array.
Matz.
-
08:33 AM Feature #5120 (Rejected): String#split needs to be logical
- At least some of your points are rational. Those behaviors are inherited from Perl.
I don't think we can change the behavior. We are not going to break existing code for the sake of consistency.
Matz.
-
08:26 AM Feature #5206: ruby -K should warn
- It warns as follows on -w option:
ruby: warning: -K is specified; it is for 1.8 compatibility and may cause odd behavior -
08:24 AM Feature #5206 (Closed): ruby -K should warn
- Keep compatibility for a while.
-
08:21 AM Feature #4513 (Feedback): allow whitespace following EOL continuation backslash
-
08:21 AM Feature #4513: allow whitespace following EOL continuation backslash
- Warning for a backslash followed by spaces is:
Old:
```
$ ruby2.5 -e ' \ '
-e:1: syntax error, unexpected $undefined
```
Now:
```
$ ruby -e ' \ '
-e:1: syntax error, unexpected backslash
```
Does this help you? -
08:20 AM Feature #4921 (Rejected): Remove intern.h
-
08:19 AM Feature #5123 (Rejected): Alias Hash 1.9 as OrderedHash
- Today, everyone knows Ruby's Hash is a OrderedHash.
Matz.
-
08:01 AM Bug #14036 (Closed): Signature of rb_uint2big and rb_int2big
- Applied in changeset trunk|r62494.
----------
Signature of rb_uint2big and rb_int2big
* include/ruby/ruby.h (rb_uint2big, rb_int2big): declare with
uintptr_t and intptr_t instead of VALUE and SIGNED_VALUE
respectively. [ruby-core:... -
08:01 AM Revision d77e8a7d (git): Signature of rb_uint2big and rb_int2big
- * include/ruby/ruby.h (rb_uint2big, rb_int2big): declare with
uintptr_t and intptr_t instead of VALUE and SIGNED_VALUE
respectively. [ruby-core:83424] [Bug #14036]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62494 b2dd03c8-39... -
07:51 AM Revision 87234557 (git): mjit.c: fix compile error
- * mjit.c (check_tmpdir): W_OK and S_ISDIR may not defined on
Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:12 AM Bug #14062: Top-level return allows an argument
- I am against making it a syntax error. Adding warnings is OK (but maybe we can rely on Rubocop etc. to detect them).
Matz.
-
06:09 AM Feature #14468 (Rejected): Add Proc#dig
- The original intention for `dig` is a short-hand traversal of array-hash trees. I don't think it's normal to use `proc` objects as tree nodes.
Matz.
-
05:54 AM Feature #14478: String #uminus should de-dupe unconditionally
- I agree with de-duping. I also want the reference document to be updated.
Matz.
-
05:53 AM Feature #14462: MJIT enabled should be displayed in the version string
- I agree with adding `+JIT`.
Matz.
-
05:32 AM Bug #14496 (Closed): MJIT, Windows, MinGW and tmp dir
- Applied in changeset trunk|r62492.
----------
mjit.c: prefer $TMPDIR and $TMP
* mjit.c (system_tmpdir): prefer `$TMPDIR` and `$TMP` over system
defulat temporary directory, if exists, writable, and safe.
[ruby-core:85651] [Bug #14496] -
05:32 AM Revision 18af42d5 (git): mjit.c: prefer $TMPDIR and $TMP
- * mjit.c (system_tmpdir): prefer `$TMPDIR` and `$TMP` over system
defulat temporary directory, if exists, writable, and safe.
[ruby-core:85651] [Bug #14496]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62492 b2dd03c8-39d4-4d8f-... -
05:32 AM Revision 04178d39 (git): mjit.c: dldflags on mingw
- * mjit.c (CC_DLDFLAGS_ARGS): default libraries are necessary on
Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:00 AM Feature #12589: VM performance improvement proposal
- No problems, thank you Vladimir, let me know when you are ready for me to test again!
-
04:42 AM Feature #12589: VM performance improvement proposal
- On 02/19/2018 05:17 PM, sam.saffron@gmail.com wrote:
> Issue #12589 has been updated by sam.saffron (Sam Saffron).
>
>
> I just measured your branch using Discourse bench at: https://github.com/discourse/discourse/blob/master/script... -
04:32 AM Feature #12589: VM performance improvement proposal
- On 02/19/2018 07:40 PM, takashikkbn@gmail.com wrote:
> Issue #12589 has been updated by k0kubun (Takashi Kokubun).
>
>
> Great work on rtl_gen, Vladimir! Keeping both stack insns and RTL insns would be good for safe migration.
Than... -
12:40 AM Feature #12589: VM performance improvement proposal
- Great work on rtl_gen, Vladimir! Keeping both stack insns and RTL insns would be good for safe migration.
> There were a lot of changes since then which will affect the code I am
working on. The biggest one is Takashi Kokubun's work ... -
04:05 AM Revision eb816385 (git): mjit.c: fix memory leak
- * mjit.c (system_tmpdir): rb_w32_wstr_to_mbstr returns the pointer
to `malloc`ed region. allocate with `xmalloc` instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:15 AM Revision 49f52937 (git): vm.c: disable dtrace in jit source
- * vm.c: include dummy dtrace probes header in jit header.
* vm_insnhelper.c: probes headers are included by vm.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:00 AM Feature #14489: MJIT needs a reusable cache
- Btw, I commented:
> I've thought the default way of ISeq serialization costs and bootsnap improves the performance by another way.
But ko1 pointed out they should be basically the same. So please never mind about that part of my co... -
02:37 AM Revision fe5d65f1 (git): common.mk: moved macros to mjit_config.h
- * Makefile.in, common.mk, win32/Makefile.sub: moved MJIT macros to
mjit_config.h from XCFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:23 AM Revision 2124cb65 (git): * 2018-02-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:23 AM Revision 3dd9b878 (git): Makefile.in: function to quote for mjit_config.h
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e