Project

General

Profile

Activity

From 11/08/2018 to 11/14/2018

11/14/2018

10:04 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
> https://bugs.ruby-lang.org/issues/13618

Should we bother supporting them? AFAIK they're
tricky/surprising for regular Thread and maybe we should stick
to message passing (e.g. SizedQueue)

It would involve moving th->pending_i...
normalperson (Eric Wong)
10:04 PM Bug #595: Fiber ignores ensure clause
> However, I'm also working on making all sleeping functions
> (native_sleep/rb_wait_for_single_fd/rb_thread_fd_select) method
> perform auto-Fiber scheduling.
>
> Unfortunately, that still interacts badly when people use
> regula...
normalperson (Eric Wong)
09:04 PM Revision ebdf9f07 (git): * 2018-11-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:04 PM Revision 8945eeda (git): Fix syntax on Binding.irb documentation [ci skip]
There was incorrect backticks (`) instead of plus signs to denote method
references, and a typo.
[Fix GH-2016]
From: Olivier Lacan <hi@olivierlacan.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65729 b2dd03c8-39d4-4d8f-98ff-8...
k0kubun (Takashi Kokubun)
07:13 PM Bug #15303 (Closed): Return tracepoint doesn't fire when tailcall optimization is applied
After a tailcall, the "return" tracepoint event is only fired once. Normally, after a call at the end of a method, the return event is fired twice, once for the callee returning and once for the caller returning.
The following script ou...
alanwu (Alan Wu)
05:33 PM Feature #6284: Add composition for procs
nobu (Nobuyoshi Nakada) wrote:
> I've forgotten to post the patch to use `<<` and `>>`.
> ...
Is adding composition methods to the Symbol class still being considered?
pabloh (Pablo Herrero)
03:21 PM Bug #14738: Failed to load_from_binary on 2.5.1
ruby_2_5 r65728 merged revision(s) 62772. nagachika (Tomoyuki Chikanaga)
03:21 PM Revision b1944e41 (git): merge revision(s) 62772: [Backport #14738]
compile.c: fix load_from_binary
* compile.c (ibf_load_iseq_each): realpath may be nil. follow up
r59709. [fix https://github.com/Shopify/bootsnap/issues/132]
From: nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b...
nagachika (Tomoyuki Chikanaga)
02:46 PM Feature #13581: Syntax sugar for method reference
I think `.:` is better than `:::` but it is not very pretty either. I have
no better suggestion, though. Good syntax is not easy to use. :(
I agree with the functionality by the way.
shevegen (Robert A. Heiler)
02:12 PM Revision ed778c2a (git): rational.c (nurat_div): use the dedicated function nurat_to_f
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:25 PM Bug #14862: Time.parse does not handle the time zone
okay, it seems like, they should not be the same. Thank you very much - we figured it out. I think we can close this one.
Thanks for your time.
mifrill (Aleksey Strizhak)
09:53 AM Revision 33758ded (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:53 AM Revision a6e88715 (git): numeric.c: avoid division by zero
same as r65642.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
08:30 AM Feature #15301: Symbol#call, returning method bound with arguments

> What I personally found with method_missing is that it can become very confusing.
My proposal have absolutely nothing to do with `method_missing`.
> ...
It is not, it is standard Ruby feature since Ruby 1.9, AFAIK (everything t...
zverok (Victor Shepelev)
06:07 AM Feature #15301: Symbol#call, returning method bound with arguments
shevegen (Robert A. Heiler) wrote:
> [[1, -2], [-3, -4]].map(&:map.(&:abs)) # => [[1, 2], [3, 4]]
> ...
You probably misunderstood what the example is doing. `map` is not repeated per say here. You can replace the first one by `fla...
marcandre (Marc-Andre Lafortune)
08:21 AM Revision ed42b010 (git): test_ftp.rb: loosen another timeout requirement
for Travis osx.
https://travis-ci.org/ruby/ruby/jobs/454864155
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
07:44 AM Revision 2a477e0e (git): test_ftp.rb: loosen timeout for Travis osx
https://travis-ci.org/ruby/ruby/jobs/454798071
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
07:38 AM Revision 158562da (git): test_gem_stream_ui.rb: loosen timeout for --jit-wait
https://app.wercker.com/ruby/ruby/runs/mjit-test2/5beba9be183106002852f8a6?step=5bebc1a087436a0006f94a22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
06:56 AM Feature #15302 (Open): Proc#with and Proc#by, for partial function application and currying
**Proc#by** allows currying implicitly
~~~ ruby
class Proc
def by(*head)
return self if head.none?
curry(head.size.next).(*head)
end
end
class Method
def by(*head)
to_proc.by(*head)
end
end
class Sym...
RichOrElse (Ritchie Buitre)
04:50 AM Revision c2ef40d2 (git): .travis.yml: specify git -q
We are not interested in git(1) output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
04:42 AM Revision f34e8ff6 (git): Add RbConfig.fire_update!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:34 AM Misc #15129 (Closed): DevelopersMeeting20181010Japan
hsbt (Hiroshi SHIBATA)
04:34 AM Misc #14981 (Closed): DevelopersMeeting20180913Japan
hsbt (Hiroshi SHIBATA)
04:34 AM Misc #14921 (Closed): DevelopersMeeting20180809Japan
hsbt (Hiroshi SHIBATA)
03:52 AM Revision 7a823be8 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:52 AM Revision cc07dc7c (git): thread.c (rb_thread_fd_select): favor rb_thread_* when no FDs
select() is a crap API for even sleeping on sigwait_fd, so favor
the native_sleep-based functions when there are no FDs, instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
02:27 AM Revision cb592b37 (git): defs/known_errors.def: update on macOS Mojave Xcode 10.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:27 AM Revision 2c989a6f (git): Makefile.in: update-known-errors
* Makefile.in (update-known-errors): update defs/known_errors.def
by using errno(1).
* defs/known_errors.def: sort alphabetically for merger.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:43 AM Revision eea3536e (git): .travis.yml: add empty lines for readability [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)

11/13/2018

11:06 PM Revision 6716bca6 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:06 PM Revision 3bd8eb68 (git): test/excludes/../TestWEBrickUtils.rb: exclude unstable test
for now. This seems to get unstable after r65691.
test/excludes/_travis/osx: renamed from test/excludes/_travis because
it's only for osx builds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
09:36 PM Revision 6876140d (git): * 2018-11-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:36 PM Revision 1ec3039a (git): .travis.yml: stop allowing osx failure
it seems to be more stable than the timing we upgraded travis image.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
08:21 PM Misc #15229: DevelopersMeeting20181122Japan
* [Feature #15301] `Symbol#call`, returning method bound with arguments zverok (Victor Shepelev)
03:28 PM Feature #15301: Symbol#call, returning method bound with arguments
> I understand and respect core team's reluctance for adding new methods to core classes
Ultimately it is up to matz, but I believe it is not so much reluctance, but more the
general question "will this be of benefit to many people"....
shevegen (Robert A. Heiler)
02:42 PM Feature #15301: Symbol#call, returning method bound with arguments
@Hanmac yeah, I myself invented and discarded several generations of similar things throughout my carreer.
But without too much of "going meta" (like hard-to-debug and guess "where it is from" `method_missing` tricks), I believe my su...
zverok (Victor Shepelev)
02:10 PM Feature #15301: Symbol#call, returning method bound with arguments
I once had a similar script (> 3 years old), but i extened it to be chainable
~~~ ruby
class Symbol
class SymbolHelper
def initialize(obj,methId,*args)
@obj= obj
@args=args
@methId=methId
end
...
Hanmac (Hans Mackowiak)
01:43 PM Feature #15301 (Closed): Symbol#call, returning method bound with arguments
In one Reddit discussion I've got stuck with this simple, yet seemingly powerful idea, not sure if it was discussed anytime previously (can't find on the bug tracker, but maybe I am just bad at searching):
```ruby
class Symbol
def...
zverok (Victor Shepelev)
02:56 PM Revision 27f4058f (git): Makefile.in: `$` for shell needs to be escaped in Makefile
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:39 PM Bug #15244: Method #extname return empty string if filename is dot ('.')
This is still present. TiSer (Sergey Ti)
02:35 PM Revision b93023f8 (git): Remove duplicated assignment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:39 PM Bug #15300 (Closed): rb_frame_method_id_and_class deprecated in 2.6
Coming from [jasonroelofs/rice#105](https://github.com/jasonroelofs/rice/issues/105), related to #14192.
As far as I understand, this API has been deprecated, thus Rice won't compile anymore.
~~~
detail/method_data.cpp:19:48: erro...
paddor (Patrik Wenger)
11:23 AM Feature #12698: Method to delete a substring by regex match
matz (Yukihiro Matsumoto) wrote:
> I don't think it's worth adding which is easily done by `sub/gsub`.
Easily done, yes, but Ruby being a very expressive language, the following two are not equally readable:
* `"foo test bar".gsub...
svoop (Sven Schwyn)
09:39 AM Bug #15299 (Closed): hash.c: warning: ‘bin’ may be used uninitialized in this function
When compiling the latest version of trunk, I get some warnings in hash.c, as follows:
```
compiling hash.c
hash.c: In function ‘linear_update’:
hash.c:849:24: warning: ‘bin’ may be used uninitialized in this function [-Wmaybe-unin...
duerst (Martin Dürst)
07:19 AM Revision 59f1a69a (git): .travis.tml: reintroduce exclusions for osx
Sorry, seen the failures again. Was a wrong idea to delete
the --exclude.
See https://travis-ci.org/ruby/ruby/jobs/454329443#L2233
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
07:17 AM Revision b5b19a7c (git): .travis.yml: eliminate remaining --color=never [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
06:20 AM Revision dde0e30c (git): Pathname: Have #relative_path_from accept String argument.
[Fix GH-1975]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
06:17 AM Revision 5ad8e42b (git): test_function.rb: loosen delta boundary
On osx build https://travis-ci.org/ruby/ruby/jobs/454309945,
```
1) Failure:
Fiddle::TestFunction#test_nogvl_poll [/Users/travis/build/ruby/ruby/test/fiddle/test_function.rb:95]:
slept amount of time.
Expected |200 - 322| (122) to be <=...
k0kubun (Takashi Kokubun)
06:16 AM Revision c878cf50 (git): Moved REVISION_FORCE before uncommon.mk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:46 AM Revision 5f376ce0 (git): appveyor.yml: run memory-exchausting test separately
r65690 had no impact
https://ci.appveyor.com/project/ruby/ruby/builds/20253561/job/p5u235m8xx85t9o5.
Gave up to solve the issue inside the test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
04:55 AM Revision 3b257773 (git): .travis.yml: specify --tty=no
To reduce the amount of output, prefer --tty=no instead of
--color=never. This option not only disables color output but also
kill some tty-related features, like spinners. Travis limits its
output by the physical size of the log, not ...
shyouhei (Shyouhei Urabe)
04:51 AM Revision 3d5be5f8 (git): date_core.c: use static ID variables
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:33 AM Revision 598a4bfb (git): .travis.yml: delete test-all options for osx
While we are experiencing build failures, no hangs had been
seen for a while. Also it seems the excluded tests now pass.
I think it's time to delete this line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65700 b2dd03c8-39d4-4d8f...
shyouhei (Shyouhei Urabe)
04:29 AM Revision 93f91eb6 (git): date_core.c: obey to the allocation framework
* ext/date/date_core.c (date_initialize): separate from
date_s_civil and obey the allocation framework.
* ext/date/date_core.c (datetime_initialize): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65699 b2dd03c8-39d4-4d8f-9...
nobu (Nobuyoshi Nakada)
04:29 AM Revision 0fa71d44 (git): date_core.c: respect COMPLEX_DAT bit
* ext/date/date_core.c (d_lite_marshal_load): respect COMPLEX_DAT
bit in the pre-allocated structure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:29 AM Revision 8655d073 (git): date_core.c: keep COMPLEX_DAT bit
* ext/date/date_core.c (d_lite_initialize_copy): do not change
COMPLEX_DAT bit, as the structure does not change. initialize
member-wise instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65697 b2dd03c8-39d4-4d8f-98ff-823fe...
nobu (Nobuyoshi Nakada)
04:29 AM Revision 53ad55e4 (git): date_core.c: set/reset COMPLEX_DAT
* ext/date/date_core.c (set_to_simple, set_to_complex): always
set/reset COMPLEX_DAT bit, which is very tightly bound to the
structure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:24 AM Revision 45295303 (git): gmake.mk: force updating revision.h
Since `.revision.time` recipe needs `$(BASERUBY)`, it should not
try to get updated unconditionally, or tarballs fail to build on
environments where BASERUBY is not available.
All developers who build frequently use GNU make anyway, don...
nobu (Nobuyoshi Nakada)
02:58 AM Revision bad98efe (git): .travis.yml: allow osx failures [experimental]
Tests are failing due to network timeouts. Temporary allow failrues for them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
02:19 AM Revision 9d9e1a4d (git): addr2line.c: more on suppressing warnings
See also: https://travis-ci.org/ruby/ruby/jobs/454269559#L1898
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
02:06 AM Revision ceab9f36 (git): common.mk: force updating revision.h on each commit
by making .revision.time PHONY. Prior to this commit, RUBY_DESCRIPTION
has been updated only when version.h (or tool/file2lastrev.rb) is updated.
.revision.time (REVISION_H) target internally has IFCHANGE to update
revision.h. So it doe...
k0kubun (Takashi Kokubun)
02:03 AM Revision 48fe4012 (git): .travis.yml: update VM images
xeinal for Linux and xcode 10.1 for osx. Also deleted few outdated
lines that are no longer necessary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
01:35 AM Revision 601f4b6f (git): test_array.rb: try to avoid NoMemoryError on AppVeyor
We somehow hit NoMemoryError twice on that place.
https://ci.appveyor.com/project/ruby/ruby/builds/20224556/job/hlgt963e0cgjbj3c
https://ci.appveyor.com/project/ruby/ruby/builds/20250696/job/gm559bu2jbd6youm
Let me try firing GC here.
...
k0kubun (Takashi Kokubun)
12:40 AM Revision 2a70978d (git): * 2018-11-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:40 AM Revision 7f6691ae (git): suppress integer overflow warnings
* random.c: annotate rb_hash_start with NO_SANITIZE (seed.key.hash + h
overflows and that seems intentional)
* bignum.c: avoid (size_t)--
* cont.c: ditto
* util.c: ditto
* vm_insnhelper.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.or...
shyouhei (Shyouhei Urabe)

11/12/2018

10:46 PM Misc #15298: Inconsistent date errors
While I am not sure if ArgumentError for all entries would be the proper
solution, I agree that there may be more elegant solutions to the
above problem set - aka when a nil value is passed as parameter (may
happen accidentally too, i...
shevegen (Robert A. Heiler)
06:08 PM Misc #15298 (Closed): Inconsistent date errors
When using Date, if you initialize an invalid date you'll get an `ArgumentError`:
```ruby
Date.new(1999, 1, 32) # => ArgumentError: invalid date
```
This is as expected.
If you provide `nil` as any of the three arguments, yo...
gollahon (Daniel Gollahon)
06:14 PM Bug #14929: [PATCH] thread.c (do_select): fix leak on exception
Could you backport below commits for test/ruby/test_io.rb#test_select_leak from ruby_2_5 or trunk to ruby_2_4 branch?
## ruby_2_5 branch
```
$ git diff ruby_2_4..ruby_2_5 test/ruby/test_io.rb
...
def test_select_leak
- as...
jaruga (Jun Aruga)
03:59 PM Misc #15294: Add warnings for invalid ERB trim modes
Thank you! jsc (Justin Collins)
12:40 AM Misc #15294: Add warnings for invalid ERB trim modes
I thought warning message should provide information that helps to fix the warning, so I modified your patch but applied that in r65671. Thanks. k0kubun (Takashi Kokubun)
12:37 AM Misc #15294 (Closed): Add warnings for invalid ERB trim modes
Applied in changeset trunk|r65671.
----------
erb.rb: warn invalid trim_mode [Misc #15294]
From: Justin Collins <justin@presidentbeef.com>
k0kubun (Takashi Kokubun)
12:43 PM Feature #6284: Add composition for procs
I've forgotten to post the patch to use `<<` and `>>`.
https://github.com/nobu/ruby/tree/feature/6284-proc-composition
nobu (Nobuyoshi Nakada)
10:29 AM Feature #13581: Syntax sugar for method reference
@nobu Awesome!
Am I correct that receiver-less call, like `something.map(&.:puts)`, will be impossible?
Is it a voluntary design decision, or limitation of what can be parsed?
zverok (Victor Shepelev)
07:20 AM Feature #13581: Syntax sugar for method reference
https://github.com/nobu/ruby/tree/feature/13581-methref_op nobu (Nobuyoshi Nakada)
10:19 AM Revision 803dcea4 (git): Revert r65681 which had a race condition issue
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:18 AM Revision 2dae9b36 (git): .travis.yml: resurrect -j on mac
The "osx build randomly fails with `-j`" happens on make -j test-all.
Should be safe to do make -j all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
08:14 AM Revision 3208db7f (git): vm_insnhelper.c: avoid nevative sp
space_size can be zero here, under the following script. We would
better bail out before bptr calculation.
% ./miniruby --dump=i -e '* = nil'
== disasm: #<ISeq:<main>@-e:1 (1,0)-(1,7)> (catch: FALSE)
0000 putnil ...
shyouhei (Shyouhei Urabe)
07:58 AM Revision 5a10e835 (git): erb/new_spec.rb: fix spec failure by other specs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
07:32 AM Revision 8ad336b5 (git): Adopt [Misc #15294]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:14 AM Revision d6cd22db (git): Export rb_flo_div_flo for MJIT
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:56 AM Revision 767ab942 (git): srcs-ext should update ext/ripper/eventids2table.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:09 AM Revision 68261c06 (git): numeric.c: fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
03:26 AM Revision 75521b8c (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:26 AM Revision 00b8b118 (git): vm_insnhelper.c: avoid division by zero
same as r65642.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
02:39 AM Revision 21e1260f (git): char is neither signed nor unsigned
read_escaped_byte() returns values of range -1...256. -1 indicates
error. So the function basically expects char to be 0..255 range.
There is no such guarantee. `char` is not always unsigned. We
need to explicitly declare chbuf to be u...
shyouhei (Shyouhei Urabe)
02:00 AM Revision bc7976f2 (git): lib/irb.rb: fix up r65674
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:08 AM Revision 199c5cc1 (git): ~(unsigned char) is not unsigned char
The unary ~ operator excercises integer promotion of the operand
_before_ actually applying bitwise complement (cf: ISO/IEC 9899:1990
section 6.3.3.3). Which means `~buf[i]` is in fact
`(int)~(int)buf[i]`.
The problem is, when buf[i] i...
shyouhei (Shyouhei Urabe)
12:55 AM Revision 623ecdac (git): Document binding.irb on Binding [ci skip]
For some reason this very useful method was undocumented since it was added in
493e48897421d176a8faf0f0820323d79ecdf94a which makes finding it in the docs
impossible before this change.
I've added a detailed example with sample code bec...
k0kubun (Takashi Kokubun)
12:53 AM Revision 8db14201 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:53 AM Revision 8f4aa4fd (git): Merge Bundler-2.0.0.pre1 from upstream.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:37 AM Revision ab5a3db4 (git): erb.rb: warn invalid trim_mode [Misc #15294]
From: Justin Collins <justin@presidentbeef.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)

11/11/2018

11:22 PM Revision 7e61fdca (git): * 2018-11-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:22 PM Revision 1febaff1 (git): win32/setup.mak: Substitute slashes in `MJIT_CC`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:22 PM Revision 2fcdfa6e (git): `MJIT_BUILD_DIR` is not used on Windows
Because `LOAD_RELATIVE` is always enabled on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:26 PM Bug #15297 (Closed): Appveyor - test-all failures & build warnings - bison 3.1 vs 3.2 ?
Seems fixed by r65667, too.
Thank you.
nobu (Nobuyoshi Nakada)
04:30 AM Bug #15297: Appveyor - test-all failures & build warnings - bison 3.1 vs 3.2 ?
After reverting to bison 3.1, ruby-loco passed on
ruby 2.6.0dev (2018-11-11 trunk 65664) [x64-mingw32]
MSP-Greg (Greg L)
03:14 AM Bug #15297: Appveyor - test-all failures & build warnings - bison 3.1 vs 3.2 ?
Finally took the time to look at this, and started with bison, as it's used by both the mswin/vc builds and the mingw build.
Locally, with bison 3.2 (version in the new Appveyor images), I had the same warnings, and stopped the build....
MSP-Greg (Greg L)
01:05 PM Bug #15284: Unintentional warnings with node.h
JFYI: It seems this commit on bison http://git.savannah.gnu.org/cgit/bison.git/commit/?id=e7b709ab0b00244f87f53e60bc2d0ad6b32f0c23 changed yyoutput to yyo. And this change on bison has been introduced to version 3.2.
Ref: http://lists...
yui-knk (Kaneko Yuichiro)
12:40 PM Bug #15284 (Closed): Unintentional warnings with node.h
Applied in changeset trunk|r65667.
----------
Fix for bison 3.2 [Bug #15284]
nobu (Nobuyoshi Nakada)
12:40 PM Revision 6a85c2a5 (git): Fix for bison 3.2 [Bug #15284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:15 PM Revision 66f239c5 (git): Add docs to RubyVM::AbstractSyntaxTree.of
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yui-knk (Kaneko Yuichiro)
11:58 AM Revision 9f41da42 (git): Fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:21 AM Bug #15293: Since r64852, on Solaris with Oracle Developer Studio 12.4, syntax error
ngoto (Naohisa Goto) wrote:
> [Bug #12397] にも少し書いたように、configure で `__extension__` や statement expression の有無をチェックするようにするのがベストとは思います。
そちらの方針で異論ございませんのでご対応お願いしていいですか?手元に__extension__をサポートしないにもかかわらずrubyがコンパイルできるという条件を満たすコンパイラを所持しておらず、勘で...
shyouhei (Shyouhei Urabe)
01:25 AM Revision c8e8f4db (git): Use friendlier terminology in leaf helpers
[Fix GH-2009]
From: Juanito Fatas <juanito.fatas@shopify.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:55 AM Revision ab97298a (git): Make some functions to be static
These functions are used only in ast.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
12:46 AM Revision afa1c6a2 (git): Use friendlier terminology in rubysocket.h comment
[Fix GH-2008]
From: Juanito Fatas <juanito.fatas@shopify.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:46 AM Revision 06b63130 (git): Revert "Use friendlier terminology in rubysocket.h comment"
This reverts commit dcd41bbbdb021b5e0e74f8a33c2c58cecf595f29.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:40 AM Revision 51fbeddd (git): Use friendlier terminology in rubysocket.h comment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:20 AM Revision 62680982 (git): Make rubygems follow the upstream of psych
And merge psych again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

11/10/2018

10:26 PM Revision ba8d27e6 (git): Revert "Merge psych from upstream."
This reverts commit db3101ff301b8e6f52170df0891f4fc35579354f.
This caused build error: http://ci.rvm.jp/results/trunk-test@ruby-sky3/1452708
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
06:06 PM Revision 49d079ce (git): * 2018-11-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:06 PM Revision db3101ff (git): Merge psych from upstream.
* https://github.com/ruby/psych/pull/378
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:04 PM Revision f800c5fc (git): Constified ruby_sourcefile
which usually refers ruby_sourcefile_string and is not freed
directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:43 AM Revision f53bd45d (git): AST.of -e script
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:40 AM Revision 6e610f5e (git): Parse the source in SCRIPT_LINES__ as array
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:28 AM Bug #15292: Since r64852, on Solaris with Oracle Developer Studio 12.6, compile error of iseq.c
iseq.c のコンパイルは通りましたが、謎のリンクエラーが発生していました。
コンパイラまたは周辺のバグかもしれませんが全く不明です。
~~~
cc -errtags=yes -xO4 -xtarget=sparc64xplus -m64 -L. -L/usr/local/64/lib -R/usr/local/64/lib main.o dmydln.o miniinit.o dmyext.o miniprelude.o array.o ast.o ...
ngoto (Naohisa Goto)
11:16 AM Revision 907ae13c (git): Check the argument before creating a parser
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:39 AM Revision 2aed2cbc (git): Parse the source in SCRIPT_LINES__ if possible
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:29 AM Revision 67099c45 (git): Fix potential NULL pointer access [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:29 AM Bug #15297 (Closed): Appveyor - test-all failures & build warnings - bison 3.1 vs 3.2 ?
Appveyor just updated their images. I have rarely seen build/compile warnings with mingw/gcc & Ruby.
There are two test-all failures:
```
TestRubyOptions#test_yydebug
TestRubyOptions#test_dump_yydebug_with_rflag
```
The warnin...
MSP-Greg (Greg L)
05:01 AM Feature #13581: Syntax sugar for method reference
matz (Yukihiro Matsumoto) wrote:
> Out of [ruby-core:85038](https://bugs.ruby-lang.org/issues/13581#change-69758) candidates, `.:` looks best to me (followed by `:::`).
> ...
Would love to see see either one implemented at this point. ...
ianks (Ian Ker-Seymer)

11/09/2018

11:24 PM Revision 9dd8c528 (git): * 2018-11-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:24 PM Revision 62c69768 (git): thread_pthread.c (rb_sigwait_sleep): add note about spurious wakeup
I already forgot why we needed to jump through such hoops :x
[ruby-core:88102]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
09:12 PM Misc #15294 (Closed): Add warnings for invalid ERB trim modes
Currently, the ERB library will accept any value for the "trim mode". If the trim mode is any string containing `%`, `-`, `>`, `<>` or an integer 0-2, the appropriate trim mode will be set. If not, no exception or warning is raised.
I...
jsc (Justin Collins)
02:55 PM Bug #15293 (Closed): Since r64852, on Solaris with Oracle Developer Studio 12.4, syntax error
r64852以降、Solaris 10 上の Oracle Developer Studio 12.4 にてコンパイルすると、以下のエラーで array.c のコンパイルに失敗します。(r65641 にて確認)
~~~
cc -errtags=yes -xO4 -xtarget=sparc64xplus -m64 -DRUBY_DEVEL=1 -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I/usr/local/64/...
ngoto (Naohisa Goto)
02:35 PM Bug #15292 (Third Party's Issue): Since r64852, on Solaris with Oracle Developer Studio 12.6, compile error of iseq.c
r64852以降、Solaris 10 上の Oracle Developer Studio 12.6 にてコンパイルすると、以下のエラーでiseq.c のコンパイルに失敗します。(r65641 にて確認)
~~~
cc -errtags=yes -xO4 -xtarget=sparc64xplus -m64 -DRUBY_DEVEL=1 -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I/usr/local/64/li...
ngoto (Naohisa Goto)
01:39 PM Revision 4bf84ede (git): Get rid of setting SCRIPT_LINES__ by AST.parse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:39 PM Revision 49c7c8ed (git): Hoisted out rb_ast_parse_str and rb_ast_parse_file
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:00 PM Revision 51902ea5 (git): Remove unused default value of MJIT_CC [ci skip]
because always set `MJIT_CC` at `: ${MJIT_CC=$CC}`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
11:19 AM Revision 9d2f88fc (git): addr2line.c: fix compilation for i386-darwin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:44 AM Revision 1922253e (git): util.c: suppress warnings
These functions handle overflows correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
09:14 AM Revision b8540e0a (git): numeric.c: avoid division by zero
In C, division by zero is undefined, even if the expression is double
(cf: ISO/IEC 9899:1990 section 6.3.5). OTOH we have tests about such
operations and results, means we expect no exceptional situation shall
occur. We need to careful...
shyouhei (Shyouhei Urabe)
01:37 AM Revision 1d7d0826 (git): Rename `AST` module to `AbstractSyntaxTree`
Follow the same naming convention of `InstructionSequence` class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
01:13 AM Revision f67c0e56 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:13 AM Revision 191108a6 (git): There is a path to use bmethod with ifunc.
* vm_insnhelper.c (vm_yield_with_cfunc): use passed me as bmethod.
We also need to set `VM_FRAME_FLAG_BMETHOD` if needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
01:02 AM Revision 7c8b5e8f (git): * 2018-11-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:02 AM Revision 38d8d071 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:02 AM Revision 3cb6952f (git): fix passing wrong `passed_bmethod_me`.
* vm_core.h: remove `rb_execution_context_t::passed_bmethod_me`
and fix functions to pass the `me` directly.
`passed_bmethod_me` was used to make bmethod (methods defined by
`defined_method`). `rb_vm_invoke_bmethod` invoke `Proc` w...
ko1 (Koichi Sasada)
12:17 AM Feature #15085: Decrease memory cache usage of MJIT
The issue is almost gone on v2_6_0_preview3.
`invokesuper` on MJIT runs as about fast as on normal VM.
Attached "benchmark-with-perf-on-preview3.log" is benchmark result.
wanabe (_ wanabe)

11/08/2018

11:04 PM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
@normalperson Eric,
Sorry for the delay. The patch passed. I applied it to r65635...
MSP-Greg (Greg L)
03:43 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
Greg.mpls@gmail.com wrote:
> Yes. Below is a summary of all builds from r64892 2018-10-01 thru r65558, except TestJIT. I assume TestIO & TestThread are the only tests possibly affected by anything you're working on...
>
> Since th...
normalperson (Eric Wong)
02:24 PM Feature #15289: Accept "target" keyword on `TracePoint#enable`
Sounds nice. Please do not forget documentation when/if approved/added. :)
I have no particular opinion on the API/name(s) as such, but I would recommend
to try to keep it simple and "logical" if possible. A Hash would probably make
...
shevegen (Robert A. Heiler)
12:37 PM Bug #15290: load_from_binary Bus error on Solaris sparc
I am not able to apply all these patches right now, but I managed to build latest Ruby 2.6.0 preview 3 and this issue is not there so it might be fixed.
It is however a little bit weird that this issue appeared with version 2.5.3 and ...
Kulikjak (Jakub Kulik)
08:46 AM Bug #15290: load_from_binary Bus error on Solaris sparc
In addition to the above, r63118, r63119, and r63120 are needed. ngoto (Naohisa Goto)
09:52 AM Revision e3cfb1f3 (git): st.c: bin might be zero
When EMPTY_OR_DELETED_BIN_P(bin) is true, it is a wrong idea to
subtract ENTRY_BASE from it. Delay doing so until we are sure to be
safe.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
09:46 AM Revision e226772a (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:46 AM Revision 39725a4d (git): gc.c: avoid integer overflow at process exit
This is rather nitpicking but at the moment the process terminates,
heap_pages_final_slots overflows.
(lldb) bt
* thread #1: tid = 0xc0903, 0x00000001002b3bf7 miniruby`finalize_list(objspace=0x0000000101c09240, zombie=4329149840) + 999 ...
shyouhei (Shyouhei Urabe)
07:42 AM Bug #595: Fiber ignores ensure clause
> Eric Wong wrote:
> > It will be difficult/unsafe to use auto-fiber/Thread::Coro
> > [Feature #13618] without this
>
> I think I can get around this by making iom a GC root,
> so all auto-yielded Fibers get marked.

Btw, I work...
normalperson (Eric Wong)
07:41 AM Revision 3483e6da (git): hash.c: +(-1) is a wrong idea
Before this changeset RHASH_ARRAY_SIZE_DEC() was expaneded to include
an expression like `RHASH_ARRAY_SIZE+(-1)`. RHASH_ARRAY_SIZE is by
definition unsigned int. -1 is signed, of course. Adding a signed
and an unsigned value requires ...
shyouhei (Shyouhei Urabe)
06:35 AM Bug #15291 (Assigned): ruby-2.6.0-preview3でbin/bundle_rubyがインストールされる
`bundle_ruby` が無いと落ちるテストがあったので port してましたが、リリースまでにはテストと一緒に消しておこうと思います。 hsbt (Hiroshi SHIBATA)
06:26 AM Revision 42274ff5 (git): vm_core.h: conform C90
https://travis-ci.org/ruby/ruby/jobs/452230859
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
06:22 AM Revision 7cc97cfe (git): avoid (size_t)-- (2nd try)
The decrements overflow and these variables remain ~0 when leaving the
while loops. They are not fatal by accident, but better replace with
ordinal for loops.
See also: https://travis-ci.org/ruby/ruby/jobs/452218871#L3246
git-svn-id:...
shyouhei (Shyouhei Urabe)
06:19 AM Revision c68d1c92 (git): lib/rubygems/indexer.rb: suppress random test-all error
by bundler. Similar to r65613, but fixing this more carefully
because here is not just inside tests but inside rubygems code.
http://ci.rvm.jp/results/trunk_gcc5@silicon-docker/1448239
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6...
k0kubun (Takashi Kokubun)
05:35 AM Bug #15288 (Closed): RUBY_DEBUG=gc_stress dumps core
Applied in changeset trunk|r65628.
----------
initialize VM postponed_job first. [Bug #15288]
* inits.c: call `Init_vm_postponed_job` first because
postponed_job is used by transient heap.
ko1 (Koichi Sasada)
05:35 AM Revision 8634e62a (git): initialize VM postponed_job first. [Bug #15288]
* inits.c: call `Init_vm_postponed_job` first because
postponed_job is used by transient heap.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:34 AM Revision a74d08b9 (git): svn merge -r 65625:65623 .
Was breaking make test-all
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
05:34 AM Revision 7b9dd379 (git): .travis.yml: simplify travis matrix description
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
05:24 AM Revision 28997227 (git): st.c: fix comparison between signed and unsigned
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
05:06 AM Revision 24fff750 (git): avoid (size_t)--
The decrements overflow and these variables remain ~0 when leaving the
while loops. They are not fatal by accident, but better replace with
ordinal for loops.
See also: https://travis-ci.org/ruby/ruby/jobs/452218871#L3246
git-svn-id:...
shyouhei (Shyouhei Urabe)
05:01 AM Revision f4a2170e (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:01 AM Revision 26081169 (git): separate Thread type (func or proc) explicitly.
* vm_core.h (rb_thread_struct): introduce new fields `invoke_type`
and `invoke_arg`.
There are two types threads: invoking proc (normal Ruby thread
created by `Thread.new do ... end`) and invoking func, created
by C-API. `invoke_...
ko1 (Koichi Sasada)
04:24 AM Revision 96af6823 (git): st.c: straight-forward comparison of characters
These functions are used in strcasehash, which is used to store encoding
names. Encoding names often include hyphens (e.g. "UTF-8"), and
` '-' - 'A' ` is negative (cannot express in unsigned int).
Don't be tricky, just do what to do.
...
shyouhei (Shyouhei Urabe)
04:06 AM Revision 3f1524f0 (git): test_ftp.rb: extend timeout for --jit-wait testing
to avoid random failures like
https://app.wercker.com/ruby/ruby/runs/mjit-test1/5be394b818310600284f2b50?step=5be394f1591ca800079b1329
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
03:27 AM Revision 86dca76e (git): ext/socket/init.c (wait_connectable): bail out early on some errors
This becomes necesary if sockets become non-blocking by
default <https://bugs.ruby-lang.org/issues/14968>; but it's
always been possible to make sockets non-blocking anyways.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65619 b2dd0...
Eric Wong
02:25 AM Revision 17e9667f (git): refine parse_rat
* rational.c (read_num): return the exponent instead of the
divisor, to get rid of huge bignums.
* rational.c (parse_rat): subtract exponents instead of reduction
of powers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65618 b...
nobu (Nobuyoshi Nakada)
01:57 AM Revision dcfb7f6d (git): compile.c: compile error than rb_bug [ci skip]
* compile.c (get_local_var_idx, get_dyna_var_idx): raise a compile
error which is useful than rb_bug, when ID is not found.
* compile.c (iseq_set_sequence): ditto when IC index overflow,
with dumping generated code.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
01:43 AM Revision 96c26fbb (git): st.c: suppress integer overlow warnings
This `i += h;` overflows. Don't know the intention of the
operation, so just suppress UBSAN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
12:36 AM Revision 3038bc31 (git): NEWS: Add `RubyVM::AST.of` to NEWS [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yui-knk (Kaneko Yuichiro)
12:12 AM Revision 7d3e758a (git): compile.c: unreachable than rb_bug [ci skip]
* compile.c (iseq_calc_param_size): use UNREACHABLE than rb_bug,
at where never reachable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:06 AM Revision e6c4d558 (git): test/rdoc/minitest_helper.rb: suppress bundler error
maybe after bundler introduction to this repository, we randomly hit
errors like:
http://ci.rvm.jp/results/trunk-gc-asserts@silicon-docker/1447918
As we would require minitest in this repository anyway, it should be
fine to suppress the...
k0kubun (Takashi Kokubun)
 

Also available in: Atom