Nobuyoshi Nakada
ab35876444
Explicitly set the encoding of ChangeLog file to UTF-8 [ci skip]
2020-02-01 23:10:18 +09:00
Taha Husain
7f6bd6bb1c
fix rdoc formatting [ci skip]
2020-02-01 23:06:33 +09:00
Nobuyoshi Nakada
a7e1e310dc
[ruby/irb] Exclude useless files from RDoc
2020-02-01 17:03:59 +09:00
卜部昌平
7cff2f4585
fix delete unnecessary return
...
Was my mistake to put return here.
2020-02-01 14:02:59 +09:00
Hiroshi SHIBATA
563f177aa4
UnpackedInstaller on rbinstall.rb is inherited from Gem::Installer.
...
It also needs to explicitly convert from String to Gem::Package
with initialization.
2020-02-01 11:31:46 +09:00
Hiroshi SHIBATA
f8df531bbf
Gem::Installer.new(String, options) is obsoleted. Explicitly converted
...
to Gem::Package from String instance.
2020-02-01 11:23:34 +09:00
Hiroshi SHIBATA
600a715c9b
Merge the current master branch of rubygems/rubygems.
...
Just started to develop RubyGems 3.2.0.
2020-02-01 11:14:57 +09:00
Kazuhiro NISHIYAMA
adc3031311
README*.md: `defines.h` moved [ci skip]
...
at 2b592580bf
2020-02-01 00:38:38 +09:00
git
4d43cc1a53
* 2020-02-01 [ci skip]
2020-02-01 00:05:24 +09:00
Yusuke Endoh
fac4385f01
compile.c: remove a unused variable
2020-02-01 00:04:45 +09:00
Nobuyoshi Nakada
05229cef45
Improve `String#slice!` performance
...
Instead of searching twice to extract and to delete, extract and
delete the found position at the first search.
This makes faster nearly twice, for regexps and strings.
| |compare-ruby|built-ruby|
|:-------------|-----------:|---------:|
|regexp-short | 2.143M| 3.918M|
|regexp-long | 105.162k| 205.410k|
|string-short | 3.789M| 7.964M|
|string-long | 1.301M| 2.457M|
2020-01-31 17:12:05 +09:00
Nobuyoshi Nakada
0dd6f020fc
Make `empty_string` a fake string
2020-01-31 14:24:07 +09:00
卜部昌平
f31dc8a458
a bit terse Doxygen comments [ci skip]
...
Creative use of `@copydoc` Doxygen command and abusing its half-broken C
parser let us delete some lines of documentations, while preserving
document coverages.
2020-01-31 13:10:55 +09:00
卜部昌平
cdd75d4e7f
support C++ std::nullptr_t
...
C++ keyword `nullptr` represents a null pointer (note also that NULL is
an integer in C++ due to its design flaw). Its type is `std::nullptr_t`,
defined in <cstddef> standard header. Why not support it when the
backend implementation can take a null pointer as an argument.
2020-01-31 13:01:52 +09:00
Nobuyoshi Nakada
4942adf68c
Return the makefile content
...
Block for `create_makefile` is expected to return the content of
the makefile.
2020-01-31 12:52:22 +09:00
Nobuyoshi Nakada
0c4bbb46f1
Removed type-punning pointer casts around `st_data_t`
2020-01-31 12:13:00 +09:00
Jean Boussier
52dc0632fa
Avoid allocating a temporary empty string in String#slice!
2020-01-31 09:22:20 +09:00
NARUSE, Yui
ca2888fb3d
Move .IGNORE in extconf.rb
2020-01-31 08:00:56 +09:00
NARUSE, Yui
9aed421d70
Support nmake
2020-01-31 06:47:55 +09:00
Florian Heinle
39a1959d28
Fix wrong return value in proc documentation.
2020-01-30 12:35:15 -08:00
NARUSE, Yui
53adb53c9a
Ignore expected errors on compiling C++ source [Bug #16331 ]
...
BSD make can run parallel more aggressively than GNU make. It communicate
with other make process through -J option in MAKEFLAGS environment variable
to notify a build failure happend in an other pararell make process.
https://www.freebsd.org/cgi/man.cgi?make
It usually works well but ext/-test-/cxxanyargs/Makefile has two targets
which are expected to fail (failure.o and failurem1.o).
Additional note:
To test and debug this issue, following command will speed up it.
`make -f exts.mk -j8 clean all`
2020-01-31 03:05:51 +09:00
git
8e769a5b40
* 2020-01-31 [ci skip]
2020-01-31 01:23:43 +09:00
Aaron Patterson
18e7f9000d
Use `rb_gc_mark` when marking globals
...
I think global references should either be 0 or valid heap pointers.
`rb_gc_mark_maybe` checks to see if the pointer is a valid heap pointer,
but I believe we already know they are valid addresses
2020-01-30 08:23:07 -08:00
Nobuyoshi Nakada
9bcf4f3db2
delegate.rb: fixed keyword arguments in DelegateClass
...
`Delegator.delegating_block` should delegate keyword arguments
separately. [ruby-core:96949]
2020-01-30 22:13:29 +09:00
Nobuyoshi Nakada
3893a8dd42
Optimized branches in pattern matching
2020-01-30 17:47:09 +09:00
Nobuyoshi Nakada
e6334fd450
Unnamed groups are not captured when named groups are used
2020-01-30 12:05:18 +09:00
git
16c5cbe422
* 2020-01-30 [ci skip]
2020-01-30 11:35:06 +09:00
Nobuyoshi Nakada
f7f8dc5fd4
Unnamed groups are not captured when named groups are used
2020-01-30 11:31:48 +09:00
aycabta
5d124a3b68
[ruby/reline] Support GNOME style Home/End key sequences [Bug #16510 ]
...
https://github.com/ruby/reline/commit/788f0df845
2020-01-29 15:11:59 +09:00
Kazuhiro NISHIYAMA
d142b37bdc
Add more debug print
...
https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris11s-sunc/ruby-master/log/20200129T022510Z.fail.html.gz
2020-01-29 15:00:03 +09:00
Koichi Sasada
7b4b01424f
skip SEGV (BUG) tests if ENV['RUBY_ON_BUG'] is given.
...
This environment variable can show additional message on BUG.
2020-01-29 14:01:00 +09:00
Koichi Sasada
46173eeb64
support multi-run for test/ruby/enc/test_regex_casefold.rb
...
should not mutate test data.
2020-01-29 13:08:40 +09:00
Nobuyoshi Nakada
98f6c74b42
Isolate the PRNG for tmpdir/tempfile
...
To get rid of conflicts affected by `srand`.
2020-01-29 10:14:15 +09:00
Kazuhiro NISHIYAMA
3023696505
Fix a typo [ci skip]
2020-01-29 08:30:39 +09:00
Alan Wu
7d02441f0d
Fix file dependency in make
2020-01-28 16:11:53 -05:00
Benoit Daloze
809f0b8a13
Update to ruby/spec@f8a2d54
2020-01-28 20:47:48 +01:00
Benoit Daloze
ed377cc9aa
Update to ruby/mspec@9bce874
2020-01-28 20:47:46 +01:00
Benoit Daloze
6321a68582
Run specs on Ruby 2.7 too to make sure they keep passing
...
* With keyword argument changes, it's more likely to break only 2.7 and
not other versions.
* A few specs were broken on 2.7.0 recently, this should catch them earlier.
2020-01-28 18:37:42 +01:00
Jeremy Evans
766f8a7a60
Fix some spec breakage on 2.7 related to keyword arguments
...
These specs were probably added in the commit to fully
separate keyword arguments after the release of 2.7.0, but
apparently not tested on 2.7 before hand. The enclosing
ruby_version guard for these specs limits them to 2.7.
2020-01-28 09:26:02 -08:00
Benoit Daloze
fe8573f31a
Run specs against the latest release of 2.4
2020-01-28 18:12:24 +01:00
Benoit Daloze
0ad0e63887
Fix version guard in __dir__ spec
2020-01-28 18:01:59 +01:00
Koichi Sasada
534536c7cc
fix test cleanup.
...
should remove pathname.
2020-01-29 01:27:17 +09:00
Koichi Sasada
650f152d2f
Revert "srand() should not run in tests."
...
This reverts commit 4d132fa130
.
There are discussions about using srand() in tests.
I'll write a ticket about it and continue to discuss.
2020-01-29 00:56:51 +09:00
Koichi Sasada
0cfba9cdd9
Revert "remove debug code."
...
This reverts commit 65768c80be
.
2020-01-29 00:55:11 +09:00
Koichi Sasada
e7571f163b
restore $LOADED_FEATURES.
...
Dir.tmpdir can return same directory because of rand() value,
so we shouldn't rely on different name.
2020-01-29 00:54:05 +09:00
Koichi Sasada
7882c43fc3
refactoring: use Proc and Constant.
2020-01-29 00:54:05 +09:00
git
7342867fc9
* 2020-01-29 [ci skip]
2020-01-29 00:02:33 +09:00
Tanaka Akira
29e31e72fb
ruby_reset_timezone resets leap_second_info.
...
[Bug #15177 ]
2020-01-29 00:01:57 +09:00
Tanaka Akira
338c5b8c1d
Extract a function, ruby_reset_timezone().
...
Initial implementation of ruby_reset_timezone()
assigns ruby_tz_uptodate_p to false.
2020-01-28 23:40:25 +09:00
Nobuyoshi Nakada
fb41246ddb
Stop parsing copyright notices as document [ci skip]
2020-01-28 23:00:13 +09:00