Граф коммитов

59229 Коммитов

Автор SHA1 Сообщение Дата
Nobuyoshi Nakada 86461fc28c
lldb_cruby.py: improved dump of Symbol
[ci skip]
2019-11-25 16:53:27 +09:00
Kazuhiro NISHIYAMA 09e76e9828
Improve consistency of bool/true/false 2019-11-25 15:09:09 +09:00
Koichi Sasada e27acb6148 add fast path for argc==0.
If calling builtin functions with no arguments, we don't need to
calculate argv location.
2019-11-25 14:04:21 +09:00
Kazuhiro NISHIYAMA 5c6235a83c
Set TRUE/FALSE to `bool ruby_tz_uptodate_p` instead of 1/FALSE 2019-11-25 12:10:05 +09:00
Kazuhiro NISHIYAMA 714a0cefc1
Fix a typo [ci skip] 2019-11-25 10:54:09 +09:00
Junichi Ito a5f0d1d715
Remove duplicated line in NEWS [ci skip]
[ruby-core:95935] [Misc #16365]
2019-11-25 10:46:23 +09:00
Nobuyoshi Nakada 9af52c0d09
lldb_cruby.py: fixed dump of embedded RArray
[ci skip]
2019-11-25 09:21:27 +09:00
Paweł Przeniczny ce50af21af Fix the docs for Proc#>>.
The docs are wrong about the behaviour of `#>>` (looks like it was copied from `#<<`)
In `(prc >> g).call(n)` _prc_ is called first (with _n_), *then* _g_ is called with the result.

Code examples are OK.
2019-11-25 09:19:15 +09:00
aycabta fd956c72ea Cache loaded module to suppress method redefined warnings 2019-11-25 07:27:15 +09:00
git 9087252067 * 2019-11-25 [ci skip] 2019-11-25 06:50:27 +09:00
aycabta 51ea1abb5f Remove e2mmap dependency 2019-11-25 05:38:09 +09:00
aycabta efbca15116 Remove lib/irb/slex.rb 2019-11-25 03:10:35 +09:00
aycabta 1aeb201d28 Remove debug code... 2019-11-24 23:29:09 +09:00
git 411644186b * 2019-11-24 [ci skip] 2019-11-24 23:15:25 +09:00
aycabta 745ab16818 Disable tracer ext of IRB when tracer doesn't found 2019-11-24 22:42:08 +09:00
Nobuyoshi Nakada b563439274
Show include directive differences only when under git
When building from tarballs, the source directory is not a git
repository.
2019-11-23 16:06:30 +09:00
Kazuhiro NISHIYAMA 9318e1ff3e
Use realpath to try to fix failures with symlinks 2019-11-23 11:41:27 +09:00
Takashi Kokubun 818708edab
Stop using undefined matrix.os for macOS
and use github.workflow instead. Applied a similar change to MJIT too.
2019-11-22 14:22:34 -08:00
aycabta b0614a0f96 Tracer.set_get_line_procs should support block and Proc object
Original Tracer.set_get_line_procs is implemented by
"def set_get_line_procs(p = proc)". It means that original
Tracer.set_get_line_procs supports block and Proc object.
2019-11-23 05:44:35 +09:00
aycabta 1ee010a317 Tracer.add_filter should support block and Proc object
Original Tracer.add_filter is implemented by "def add_filter(p = proc)". It
means that original Tracer.add_filter supports block and Proc object.
2019-11-23 05:43:07 +09:00
John Hawthorn 8e743fad4e Count pinned slots using only bitmap
This is significantly faster than checking BUILTIN_TYPEs because we
access significantly less memory. We also use popcount to count entire
words at a time.

The only functional difference from the previous implementation is that
T_ZOMBIE objects will no longer be counted. However those are temporary
objects which should be small in number, and this method has always been
an estimate.
2019-11-22 12:42:24 -08:00
John Hawthorn 26fd8d962c Optimize pinned page sorting
Previously we would count the pinned objects on each comparison. Since
sorting is O(N log N) and we calculated this on both left and right
pages on each comparison this resulted in a extra iterations over the
slots.
2019-11-22 12:42:24 -08:00
John Hawthorn 3f4199b0af Use value of use_verifier in gc_compact 2019-11-22 12:42:24 -08:00
git 144bff43fc * 2019-11-23 [ci skip] 2019-11-23 01:58:08 +09:00
Kazuhiro NISHIYAMA 271cb9acd2
Suppress git error message
`fatal: not a git repository (or any of the parent directories): .git`
2019-11-23 01:57:19 +09:00
Kazuhiro NISHIYAMA d7f100226d
Skip test_validate_gemspec when tarball and git installed too
`git --version` failed as expected when git is not installed,
but unexpectedly pass when git installed and pwd is not in git working directory.
So use `git rev-parse` instead, and it failed when git installed too.
2019-11-23 01:57:19 +09:00
Yusuke Endoh 053f78e139 internal.h: Add a prototype declaration for rb_gvar_readonly_setter
emscripten fails to compile ruby due to lack of this.
2019-11-22 23:56:18 +09:00
Vít Ondruch 994435d0ef Revert "Update dependencies"
This reverts commit e1b2341488.

This allows to build Psych against system libyaml again on Fedora.

[Bug #16359]
2019-11-22 22:42:33 +09:00
NARUSE, Yui 35608760ff Add github repo to remove_tag 2019-11-22 19:05:58 +09:00
Nobuyoshi Nakada a93d0a4e62
Check -1 arity for C++ 2019-11-22 18:42:49 +09:00
git f9d20a1bf1 * 2019-11-22 [ci skip] 2019-11-22 13:58:32 +09:00
Kazuhiro NISHIYAMA 8eb0a9e566
Use jsDelivr instead of raw.githubusercontent.com
Try to fix download error on Solaris CI

https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11x/ruby-master/log/20191121T162422Z.fail.html.gz
```
tool/downloader.rb:243:in `rescue in download': failed to download config.guess (RuntimeError)
Net::HTTPFatalError: 503 "Service Unavailable": https://raw.githubusercontent.com/gcc-mirror/gcc/master/config.guess
```
2019-11-22 13:55:59 +09:00
Kazuhiro NISHIYAMA 88d6009d91
Use more strict regexp to avoid to match naninanirb.rb 2019-11-21 23:10:30 +09:00
Nobuyoshi Nakada ffab1bfdfc
Fixed for old git 2019-11-21 15:17:34 +09:00
Nobuyoshi Nakada 97a5af62a3
Skip updating revision.h when the revision is unchanged
note: GNU make only.
2019-11-21 10:57:36 +09:00
Jeremy Evans a9d4f2d03c Support %U/%u/%W/%w/%V/%g/%G formats in Time.strptime
Most of these formats were documented as supported, but were not
actually supported. Document that %g and %G are supported.

If %U/%W is specified without yday and mon/mday are not specified,
then Date.strptime is used to get the appropriate yday.

If cwyear is specifier without the year, or cwday and cweek are
specified without mday and mon, then use Date.strptime and convert
the resulting value to Time, since Time.make_time cannot handle
those conversions

Fixes [Bug #9836]
Fixes [Bug #14241]
2019-11-21 03:32:20 +02:00
aycabta 8f1062127e Add test/reline/test_string_processing.rb 2019-11-21 07:28:18 +09:00
aycabta 9131e62f18 [ruby/reline] Version 0.0.7
09d370bdc1
2019-11-21 07:14:27 +09:00
aycabta f30f78e2e0 Version 0.0.6 2019-11-21 07:04:53 +09:00
aycabta e4127cdd3e Version 1.1.0 2019-11-21 07:04:40 +09:00
aycabta 95f20f463a Consider escape sequence to calculate prompt width 2019-11-21 07:01:41 +09:00
Koichi Sasada 1197a036ae Add a proper cast to pass JIT tests on mswin.
https://ci.appveyor.com/project/ruby/ruby/builds/29001248/job/ye80bsrmewdgw294
2019-11-21 04:38:40 +09:00
aycabta eee70b41d4 Add a warning message and --legacy of an alias of --singleline 2019-11-21 02:44:35 +09:00
Y. Ushiki 9d6f78822c Refactor filter_backtrace 2019-11-21 02:44:35 +09:00
Y. Ushiki 04d0d93ebf Fix filter_backtrace for context-mode 0 2019-11-21 02:44:35 +09:00
aycabta 91bf3b7a77 Use singleline/multiline instead of readline/reidline 2019-11-21 02:44:35 +09:00
Nobuyoshi Nakada 9b52bacc62
Refined inspection of argument forwarding 2019-11-21 02:18:13 +09:00
git f835a74da4 * 2019-11-21 [ci skip] 2019-11-21 00:48:59 +09:00
manga_osyo 6723aa07e5 Change argument `Proc` to `#call` defined object.
This is the same as the behavior of Readline.
2019-11-21 00:47:37 +09:00
manga_osyo 81586a4d9f Add <Home> <End> keys. 2019-11-21 00:47:36 +09:00