55987 Commits

Author SHA1 Message Date
Nobuyoshi Nakada
bdcfba547d
vcs.rb: handle --dryrun option 2019-06-23 22:35:10 +09:00
Samuel Williams
096a45d3d2 Update NEWS.
- Add note regarding IA64 removal.
- Add note about Thread allocation performance improvements.
2019-06-24 01:28:23 +12:00
Luke Gruber
5a187e26ad array.c add back shared array optimization to ary_ensure_room_for_unshift
Bug fix in commit ec8e5f5aa64e2a [Bug #15952] disabled an
optimization in this function.

Closes: https://github.com/ruby/ruby/pull/2252
2019-06-23 13:17:41 +09:00
Luke Gruber
ec8e5f5aa6
array.c: always check frozenness in Array#unshift. Fixes [Bug #15952]
Closes: https://github.com/ruby/ruby/pull/2251
2019-06-23 08:05:13 +09:00
Nobuyoshi Nakada
3840791b7e
Get rid of error with frozen string literal
[Bug #14194]
2019-06-23 07:56:43 +09:00
Nobuyoshi Nakada
bebe8d13f8
Disable frozen-string-literal to disable deduplication
[Bug #14194]
2019-06-23 07:42:11 +09:00
MSP-Greg (Greg L)
2ad7a7f801
Get rid of error with frozen string literal
[Bug #14194]
2019-06-23 07:36:26 +09:00
Nobuyoshi Nakada
aa2f505825
Make autoloading_const_entry static 2019-06-23 02:49:39 +09:00
git
c5c3486340 * expand tabs. 2019-06-23 01:47:40 +09:00
Nobuyoshi Nakada
ef524c13d9
NEWS: Module#constant_source_location
[Feature #10771]
2019-06-23 01:46:38 +09:00
Nobuyoshi Nakada
9384383019
Module#constant_source_location [Feature #10771] 2019-06-23 01:46:38 +09:00
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 5bbfca7b1d4be89d4728203b4610de17bccbefd7.
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