Commit graph

67128 commits

Author SHA1 Message Date
aycabta
f9abcfb6fc [ruby/irb] Version 1.3.7
98610236ec
2021-08-12 19:53:10 +09:00
aycabta
53743a42c4 [ruby/irb] Update dependency, reline >= 0.2.7
5a0c8dc9e6
2021-08-12 19:53:04 +09:00
aycabta
5196b171d9 Revert "Try to run test_interrupt_in_other_thread with Editline"
This reverts commit c66b27efbb.
2021-08-12 19:47:41 +09:00
aycabta
c66b27efbb Try to run test_interrupt_in_other_thread with Editline 2021-08-12 15:35:05 +09:00
Nobuyoshi Nakada
7ac440910c
Separate jobs conditions 2021-08-12 13:46:31 +09:00
卜部昌平
1cdc75104d RBIMPL_ATTR_DEPRECATED: enable for GCC 10.3+
They fixed the bug.
2021-08-12 11:29:08 +09:00
git
e1fe209dd8 * 2021-08-12 [ci skip] 2021-08-12 08:47:53 +09:00
aycabta
e5f6cd7045 Outer block is required to rescue Timeout::Error 2021-08-12 07:52:39 +09:00
Peter Zhu
79cc566ab4 Make during_compacting flag in GC one bit
Commit c32218de1b turned during_compacting
flag to 2 bits to support the case when there is no write barrier. But
commit 32b7dcfb56 changed compaction to
always enable the write barrier. This commit cleans up some of the
leftover code.
2021-08-11 09:26:19 -04:00
aycabta
c06b39d1d1 Add TODO comment to #test_interrupt_in_other_thread 2021-08-11 17:45:31 +09:00
aycabta
c59da370a5 Add comments about testing steps 2021-08-11 14:08:45 +09:00
aycabta
4f324514aa Put the result of the process into a variable once
To make the meaning of assertion easier to understand,
2021-08-11 14:08:45 +09:00
aycabta
01e49af81d Stop exiting to show "SUCCESS" 2021-08-11 14:08:45 +09:00
aycabta
2217b82af1 Add logging about Errno::EPIPE 2021-08-11 14:08:45 +09:00
aycabta
7d84251500 Write log to stdout immediately 2021-08-11 14:08:45 +09:00
aycabta
67e06102a3 Stop checking char from "read"
Because it's sometimes nil due to race condition.
2021-08-11 14:08:45 +09:00
aycabta
7b10f55354 Break immediately if assertions finished 2021-08-11 14:08:45 +09:00
aycabta
7319b1fa2c Add "START" log 2021-08-11 14:08:45 +09:00
Jeremy Evans
84bf4d2ce5 Term fill in String#{,l,r}strip! even when SHARABLE_MIDDLE_SUBSTRING
Each of these methods calls str_modify_keep_cr before
term filling, which should ensure the backing string
uses private memory, and therefore term filling should
not affect other strings.

Skipping the term filling was added in
a707ab4bc8.

Fixes [Bug #12540]
2021-08-11 13:40:49 +09:00
Nobuyoshi Nakada
a0a8f2abf5 Get rid of type-punning pointer casts [Bug #18062] 2021-08-11 12:07:44 +09:00
git
7560bf6f47 * 2021-08-11 [ci skip] 2021-08-11 10:54:56 +09:00
Nobuyoshi Nakada
c3964a313e
Assert for duplicated ARGF [Bug #18074] 2021-08-10 23:40:45 +09:00
Nobuyoshi Nakada
7de7e9fdb7
Assert that each contents are read [Bug #18074] 2021-08-10 23:40:45 +09:00
Nobuyoshi Nakada
28d03ee776 Remove root_jmpbuf in rb_thread_struct
It has not been used since 1b82c877df.
2021-08-10 19:08:38 +09:00
Koichi Sasada
42b6dc84d3 add some lines to delete unused TracePoint
`TracePoint.stat` returns the "to be deleted" TP numbers, and
20210810T030003Z.fail.html.gz
shows there is a "to be deleted" TP.

This patch uses only :line event and add some lines to allow MRI
deletes "to be deleted" TPs.
2021-08-10 15:47:52 +09:00
Nobuyoshi Nakada
e3dcb6204d
Run only directories or *_spec.rb files only by mspec [Bug #18072]
Not to match *.c files under spec/ruby/optional/capi/ext, in the
case of in-place build.
2021-08-10 14:22:44 +09:00
Csaba Henk
8df1ace64a Fix ARGF.read(length) short read [Bug #18074] 2021-08-10 11:32:45 +09:00
卜部昌平
510c3655c9 .github/workflows/compilers.yml: clang-14
It seems LLVM-14 begun.

See also
08c766a731
2021-08-10 09:24:48 +09:00
Jun Aruga
6771316d51 .travis.yml: Check failures for Travis arm64 again.
It seems the concurrent jobs are stable recently on arm64 pipeline.
Keep allowing to fail on arm32 due to a failure.
2021-08-09 22:32:12 +02:00
aycabta
cc1d88daba Add comment about I/O that is not tty 2021-08-10 02:52:56 +09:00
git
71c20c5609 * 2021-08-10 [ci skip] 2021-08-10 02:38:59 +09:00
aycabta
b8f771fba2 Update parser files of RDoc generated by the latest Racc 2021-08-10 02:36:00 +09:00
aycabta
44635ebe9a Update parser files of RDoc generated by the latest KPeg 2021-08-10 02:36:00 +09:00
aycabta
6b439e9c4e [ruby/rdoc] Use HEAD of kpeg
I compared the results between the latest release of kpeg gem (1.1.0)
and HEAD of kpeg gem with `time` command, and the execution time is
reduced from 38.35s sec to 35.06 sec.

ref. https://github.com/evanphx/kpeg/pull/43

682bcb48ce
2021-08-10 02:36:00 +09:00
aycabta
d082510429 [ruby/rdoc] Add "rake clean" task to erase generated parser files
4e3e635afa
2021-08-10 02:36:00 +09:00
aycabta
b277a6d26d Import copied Rakefile from original RDoc repository 2021-08-10 02:36:00 +09:00
aycabta
d8eeee97ce [ruby/rdoc] Move dev dependency of gettext to Gemfile
a177377b6f
2021-08-10 02:36:00 +09:00
aycabta
638c72e162 [ruby/rdoc] Use single quote in Gemfile
e4b68d414c
2021-08-10 02:36:00 +09:00
aycabta
b685c60bef Import copied Gemfile from original RDoc repository 2021-08-10 02:36:00 +09:00
aycabta
ef6dd407c8 Import Gemfile and Rakefile of rdoc by tool/sync_default_gems.rb 2021-08-10 02:36:00 +09:00
Nobuyoshi Nakada
9ed196e487
VC warns the same attribute used more than once 2021-08-09 19:25:18 +09:00
Nobuyoshi Nakada
b8f7e8ac6b
Include ruby.h before internal headers to suppress -Wundef warnings 2021-08-09 19:25:18 +09:00
aycabta
5e633fb99e Omit on Readline 7.0 because it's wrong behaviour for not TTY env 2021-08-09 18:17:07 +09:00
Nobuyoshi Nakada
93ddff4802
Rename rb_iterate to get rid of name clash on Sun C 2021-08-09 17:36:21 +09:00
Samuel Williams
6f6a84f2f3 Extended logging for debugging readline failures. 2021-08-09 17:03:33 +12:00
Nobuyoshi Nakada
6736323194 Suppress a clobbered warning 2021-08-09 11:21:56 +09:00
Nobuyoshi Nakada
4fb8a12adc Deprecate rb_iterate in C++ 2021-08-09 11:21:56 +09:00
Nobuyoshi Nakada
733ffa74cd Suppress deprecated rb_iterate declaration warnings in C++ 2021-08-09 11:21:56 +09:00
Nobuyoshi Nakada
a14671a6b6 Suppress warnings in C++2a
* bitwise operation between different enumeration types
  ('ruby_value_type' and 'ruby_fl_type') is deprecated
  [-Wdeprecated-enum-enum-conversion]

* volatile-qualified parameter type 'volatile int' is deprecated
  [-Wdeprecated-volatile]
2021-08-09 11:21:56 +09:00
Nobuyoshi Nakada
f584dc5a11 Suppress unused-function warning when OPT_THREADED_CODE != 1 2021-08-09 11:21:56 +09:00