Nobuyoshi Nakada
5084233b88
Split global search for module
2019-06-23 01:26:48 +09:00
Nobuyoshi Nakada
151843b981
Hoisted out autoloading_const_entry
2019-06-23 01:26:42 +09:00
Luke Gruber
c033dc3073
Fix issue with Array#rindex when rb_equal modifies receiver array
...
Fixes [Bug #15951 ]
Closes: https://github.com/ruby/ruby/pull/2250
2019-06-23 00:49:24 +09:00
git
fd9ac1e76b
* 2019-06-23
2019-06-23 00:37:11 +09:00
Nobuyoshi Nakada
f3c81b4e90
Frozen objects in WeakMap
...
* gc.c (wmap_aset): bypass check for frozen and allow frozen
object in WeakMap. [Bug #13498 ]
2019-06-23 00:31:16 +09:00
Nobuyoshi Nakada
f5e2904471
Use EXEEXT
...
* test/lib/minitest/unit.rb (MiniTest::Assertions.diff): use
`EXEEXT` configured value instead of switching by hard coded
`host_os`.
2019-06-22 23:48:21 +09:00
Nobuyoshi Nakada
f738eeabc2
golf_prelude.rb: suppress the redefining warning
2019-06-22 23:38:07 +09:00
Nobuyoshi Nakada
bad66f3e36
Show timed out threads
...
* test/lib/test/unit/assertions.rb (assert_join_threads): kill and
show timed out threads.
2019-06-22 18:39:06 +09:00
Nobuyoshi Nakada
4d650bc257
Fix over-expansion
...
* test/lib/minitest/unit.rb (MiniTest::Assertions#mu_pp_for_diff):
do not expand escaped backslash followed by 'n'.
2019-06-22 09:29:33 +09:00
Kenichi Kamiya
d01fd82187
Alias ENV.merge! as ENV.update
...
[Feature #15947 ]
Closes: https://github.com/ruby/ruby/pull/2246
2019-06-21 18:25:01 +02:00
Benoit Daloze
3b2d11ad90
Use different names for autoload constants in specs for clarity
2019-06-21 18:21:45 +02:00
Jean Boussier
e5e811e4a0
Add extra spec from https://github.com/ruby/ruby/pull/2173
2019-06-21 18:21:45 +02:00
Nobuyoshi Nakada
2f2fc939eb
Always define RUBY_RELEASE_DATETIME
2019-06-22 01:16:23 +09:00
aycabta
c79131df28
Treat closing token with starting token at head of 2nd line correctly
...
v =
if true # starting token at head of 2nd line
3
end # closing token
2019-06-22 00:31:42 +09:00
aycabta
5e2088665b
Do auto indent only when closing token at first of line
...
if true
3; end # this isn't auto-indented
2019-06-22 00:31:42 +09:00
git
d1fa0f6191
* 2019-06-22
2019-06-22 00:03:27 +09:00
Nobuyoshi Nakada
8a1dd9b84b
Revert RUBY_RELEASE_DATE to date only
2019-06-21 23:48:49 +09:00
Nobuyoshi Nakada
1c7e303b26
Constified unusable chars
2019-06-21 23:04:34 +09:00
git
551ef27490
* expand tabs.
2019-06-21 22:48:50 +09:00
Nobuyoshi Nakada
8f51da5d41
Get rid of undefined behavior
...
* string.c (rb_str_sub_bang): str and repl can be same.
[Bug #15946 ]
2019-06-21 22:42:35 +09:00
aycabta
50841eca43
Support irregular auto indent
...
v =
if true
3
end # this "end" is auto-indented correctly
2019-06-21 21:35:25 +09:00
Shugo Maeda
38ccb8f747
Remove a duplicate test
2019-06-21 18:02:24 +09:00
Nobuyoshi Nakada
16729f6430
Remove duplicate functions
2019-06-21 17:53:32 +09:00
git
432b28af90
* expand tabs.
2019-06-21 17:43:21 +09:00
Shugo Maeda
702cf3ec90
Enumerator::Lazy should support filter_map
...
Fixes [Bug #15949 ]
2019-06-21 17:42:27 +09:00
Nobuyoshi Nakada
35392ff0a0
Fix an example [ci skip]
2019-06-21 17:40:28 +09:00
git
c997f7daaa
* expand tabs.
2019-06-21 17:29:08 +09:00
Nobuyoshi Nakada
5b7cc63d11
Turned `recur` into `int` [Feature #15777 ]
2019-06-21 17:28:37 +09:00
Jean Boussier
fb85a42860
Add an optional `inherit` argument to Module#autoload?
...
[Feature #15777 ]
Closes: https://github.com/ruby/ruby/pull/2173
2019-06-21 17:28:37 +09:00
Kazuhiro NISHIYAMA
887163beb8
Fix call-seq of lazy.filter_map [ci skip]
2019-06-21 17:11:11 +09:00
git
0174285e8c
* expand tabs.
2019-06-21 16:31:42 +09:00
Nobuyoshi Nakada
06a622b76e
Lazy filter_map
2019-06-21 16:28:39 +09:00
Espartaco Palma
4149fd6078
Fix small typo on block_scanf example [ci-skip]
...
Closes: https://github.com/ruby/ruby/pull/2247
2019-06-21 15:29:29 +09:00
Nobuyoshi Nakada
fde842fec0
Clean coroutine and timestamp directories
2019-06-21 03:20:09 +09:00
git
2ee1c76206
* 2019-06-21
2019-06-21 02:28:27 +09:00
Jeremy Evans
4a5e07d8e1
Avoid verbose warning when using Net::POP3 with SSL
...
Patch from Jos Kamphorst.
Fixes [Bug #14822 ]
2019-06-20 10:22:01 -07:00
Hiroshi SHIBATA
93356576fe
Revert "Removed needless file with the upstream repository."
...
This reverts commit 5bbfca7b1d
.
2019-06-20 22:27:06 +09:00
Nobuyoshi Nakada
1f0762ad21
Suppress messages from mkmf
2019-06-20 20:51:33 +09:00
Samuel Williams
9e7a8a4351
Only ignore build directories.
2019-06-20 23:12:48 +12:00
Samuel Williams
f607e43352
Transition root fiber into state FIBER_TERMINATED.
...
During fork, it's possible that threads with root fibers are terminated,
but fiber state is not updated. `fiber_verify` will subsequently fail. We
forcefully enter the FIBER_TERMINATED state when terminating the root
fiber.
2019-06-20 22:36:30 +12:00
Nobuyoshi Nakada
3077cb6912
Restore $VERBOSE
2019-06-20 18:20:38 +09:00
Nobuyoshi Nakada
e31602b78d
Suppress warnings
2019-06-20 17:41:09 +09:00
Kazuhiro NISHIYAMA
e6fbdde229
Fix a typo [ci skip]
2019-06-20 17:40:08 +09:00
Hiroshi SHIBATA
3aa8691d52
Added and update the racc entries on doc/*.
2019-06-20 16:11:03 +09:00
Hiroshi SHIBATA
557bcd8774
Added racc entry to NEWS.
2019-06-20 16:11:03 +09:00
Hiroshi SHIBATA
5bbfca7b1d
Removed needless file with the upstream repository.
2019-06-20 16:11:03 +09:00
Hiroshi SHIBATA
71ebf6d8e5
Update sync task for the directory structure of cparse and ignore JRuby files.
2019-06-20 16:11:03 +09:00
Hiroshi SHIBATA
45e939f5ad
Added gemspec of racc generated from upstream for the default gems.
...
1.4.16.pre.1 is the teemporary version. It may be changed 1.5.0 or others.
2019-06-20 16:11:03 +09:00
aycabta
c4c47b792d
Disable auto indent when move cursor up or down
...
This commit suppresses a strange behavior below:
if true
1[cursor]
end
and press down key
if true
1
end
2019-06-20 16:00:30 +09:00
Samuel Williams
e4cafa393f
Ensure that vm_stack is cleared in `thread_cleanup_func_before_exec`.
...
If `vm_stack` is left dangling in a forked process, the gc attempts to scan
it, but it is invalid and will cause a segfault. Therefore, we clear it
before forking.
In order to simplify this, `rb_ec_clear_vm_stack` was introduced.
2019-06-20 16:44:50 +12:00