Nobuyoshi Nakada
ab63f6d854
Refined test [Bug #18140 ]
2021-09-02 09:11:41 +09:00
Nobuyoshi Nakada
cb5a41c0a0
Get rid of incompatible-pointer-types-discards-qualifiers warning
2021-09-02 08:47:47 +09:00
Nobuyoshi Nakada
9c5ad5d42d
Suppress format-pedantic warnings
2021-09-02 08:47:47 +09:00
Aaron Patterson
8db269edb3
Guard array when appending
...
This prevents early collection of the array. The GC doesn't see the
array on the stack when Ruby is compiled with optimizations enabled
Thanks @jhaberman for the test case
[ruby-core:105099] [Bug #18140 ]
2021-09-01 10:58:20 -07:00
Peter Zhu
0aa82b592f
Remove heap_is_swept_object function
...
is_swept_object just calls heap_is_swept_object so remove
heap_is_swept_object.
2021-09-01 13:42:22 -04:00
Nobuyoshi Nakada
3c85698da2
Stop stale tests [Bug #9718 ]
2021-09-02 01:39:01 +09:00
Nobuyoshi Nakada
0729052329
Test against the target class
2021-09-02 01:33:30 +09:00
Aaron Patterson
cd4f5b1322
Guard array when appending
...
This prevents early collection of the array. The GC doesn't see the
array on the stack when Ruby is compiled with optimizations enabled
[ruby-core:105099] [Bug #18140 ]
2021-09-02 01:22:19 +09:00
git
73b22b3ce9
* 2021-09-02 [ci skip]
2021-09-02 00:32:28 +09:00
aycabta
cf2faf2e33
[ruby/rdoc] Move RDoc::RDoc#load_options to RDoc::RDoc.load_options
...
ac85e01756
2021-09-02 00:32:13 +09:00
Nobuyoshi Nakada
10ebf87428
Assert not to be UNDEF visibility
...
Any defined methods, bound to any classes/modules and not being
UNDEFINED_METHOD_ENTRY_P, should not be METHOD_VISI_UNDEF.
2021-09-01 19:28:54 +09:00
aycabta
f9bdb17c02
[ruby/reline] Use padding_space_with_escape_sequences to padding spaces in reset_dialog
...
7d582f4982
2021-09-01 18:05:37 +09:00
aycabta
acf11b94d2
[ruby/reline] Cut out a method that calcs width including the escape sequence and padding with spaces
...
46c9d944e5
2021-09-01 18:05:30 +09:00
aycabta
a669b9661e
[ruby/reline] Calc width including escape sequences and padding with spaces correctly
...
21c795e97f
2021-09-01 18:05:25 +09:00
aycabta
3bd3adde7c
[ruby/reline] Calc width including escape sequences and clear dialog correctly
...
9b812d5151
2021-09-01 18:05:20 +09:00
aycabta
67eaa222cf
Add a test for Readline.readline without tty
2021-09-01 17:29:01 +09:00
aycabta
ba0464e0cf
Reline::GeneralIO should work fine without tty
2021-09-01 17:29:01 +09:00
Nobuyoshi Nakada
cb3df3d87b
Extract compile_attrasgn from iseq_compile_each0
2021-09-01 15:19:11 +09:00
Nobuyoshi Nakada
aac2b0fc6b
Extract compile_kw_arg from iseq_compile_each0
2021-09-01 15:19:11 +09:00
Nobuyoshi Nakada
cbf841e3ed
Extract compile_errinfo from iseq_compile_each0
2021-09-01 15:19:11 +09:00
Nobuyoshi Nakada
d7bba95eba
Extract compile_dots from iseq_compile_each0
2021-09-01 15:19:10 +09:00
Nobuyoshi Nakada
d58143f3b5
Extract compile_colon3 from iseq_compile_each0
2021-09-01 15:19:10 +09:00
Nobuyoshi Nakada
70c8155d8b
Extract compile_colon2 from iseq_compile_each0
2021-09-01 15:19:10 +09:00
Nobuyoshi Nakada
270a674a79
Extract compile_match from iseq_compile_each0
2021-09-01 15:19:09 +09:00
Nobuyoshi Nakada
a92fdc90da
Extract compile_yield from iseq_compile_each0
2021-09-01 15:19:09 +09:00
Nobuyoshi Nakada
996489d7e0
Extract compile_super from iseq_compile_each0
2021-09-01 15:19:09 +09:00
Nobuyoshi Nakada
6cf9f17191
Extract compile_op_log from iseq_compile_each0
2021-09-01 15:19:08 +09:00
Nobuyoshi Nakada
d045d5f860
Extract compile_op_cdecl from iseq_compile_each0
2021-09-01 15:19:08 +09:00
Nobuyoshi Nakada
0c7ff37540
Extract compile_op_asgn2 from iseq_compile_each0
2021-09-01 15:19:08 +09:00
Nobuyoshi Nakada
0b87b75ae9
Extract compile_op_asgn1 from iseq_compile_each0
2021-09-01 15:19:07 +09:00
OKURA Masafumi
8d5292f702
Trim extra whitespace in inaccesible error message
...
One whitespace is already included in `inaccessible_mesg_for` macro.
This extra whitespace is included since 72ff61f4a8
2021-09-01 13:18:55 +09:00
Martin Dürst
f2ffa88964
Show default argument explicitly for Rexexp#match? [ci skip]
2021-09-01 09:37:13 +09:00
Martin Dürst
45b8846bec
Fix minor grammar issue in documentation of Regexp#match? [ci skip]
2021-09-01 09:24:34 +09:00
git
6095a4fec0
* 2021-09-01 [ci skip]
2021-09-01 09:16:16 +09:00
Stan Lo
fe7aaa94b4
Small grammar fixes
2021-09-01 09:15:57 +09:00
Nobuyoshi Nakada
d3155e3632
[ruby/zlib] Don't print out warnings when finalizing
...
44a56d36e7
2021-08-31 23:20:42 +09:00
Nobuyoshi Nakada
31c427511c
[ruby/zlib] Revert "Don't print out warnings when freeing."
...
931aa7a272
2021-08-31 23:20:40 +09:00
Hiroshi SHIBATA
bfec03f5fe
Match parens for hidden files parenthetical
...
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2021-08-31 21:02:13 +09:00
S-H-GAMELINKS
a826747ade
Remove unneeded comments in rational.c
2021-08-31 20:57:33 +09:00
universato
b6691e9737
Fix a code in the Array#min documentation.
2021-08-31 20:56:52 +09:00
David CARLIER
3ffca65047
addr2line: DragonFlyBSD build update.
...
same code path as FreeBSD's.
2021-08-31 20:52:49 +09:00
aycabta
9b188ac238
[ruby/reline] Remove one unnecessary nest for simplicity's sake
...
f4bda85a7c
2021-08-31 20:48:54 +09:00
aycabta
64373a3c58
Move access to dialog_render_info inside nil check
2021-08-31 20:35:10 +09:00
aycabta
a75f38431e
Revert "Omit some tests until debugging is complete"
...
This reverts commit 3695d94b25
.
2021-08-31 20:35:04 +09:00
jory-graham
db154b20cc
[ruby/psych] Replace A-Za-z with [:alpha:]
...
8ec36494fb
2021-08-31 19:34:54 +09:00
Aaron Patterson
9ed2cb26de
[ruby/psych] Add quotes to the strings "y" and "n"
...
'y' and 'n' are kind of ambiguous. Syck treated y and n literals in
YAML documents as strings. But this is not what the YAML 1.1 spec says.
YAML 1.1 says they should be treated as booleans. When we're dumping
documents, we know it's a string, so adding quotes will eliminate the
"ambiguity" in the emitted document
Fixes #443
6a1c30634e
2021-08-31 19:34:46 +09:00
opak
0925fddc80
[ruby/psych] Update lib/psych/scalar_scanner.rb
...
64cc239557
Co-authored-by: Olle Jonsson <olle.jonsson@gmail.com>
2021-08-31 19:34:36 +09:00
Alexandr Opak
44353d0dee
[ruby/psych] add more tests
...
8f71222bf3
2021-08-31 19:34:28 +09:00
Alexandr Opak
beffa72c27
[ruby/psych] fix typo
...
ebb0cbded1
2021-08-31 19:34:21 +09:00
Alexandr Opak
48b50cb4fe
[ruby/psych] fix parsing integer values with '_' at the end
...
e0bb853014
2021-08-31 19:34:13 +09:00