| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Predefined macros are practices not very well recommended, but can be
better than having no documents at all. Without those predefined
macros, Doxygen confused for instace PUREFUNC(int foo()) to be a
declaration of PUREFUNC, not foo.
|
|
|
|
|
| |
Now that we have C++ header files, why not let their indents follow our
way.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
It was set to 1000 in a4a2b9be7a55bb61d17cf9673ed0d2a93bb52d31.
However on ruby-2.7.0p0, there are much more than 1k frozen string right after boot:
```
$ ruby -robjspace -e 'p ObjectSpace.each_object(String).select { |s| s.frozen? && ObjectSpace.dump(s).include?(%{"fstring":true})}.uniq.count'
5948
```
|
| |
|
|
|
|
|
|
| |
To output to the STDOUT of the parent process according to the
parallel test protocol, should send to the `MiniTest::Unit.output`
instead of each own STDOUT.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
before:
```
open(p1 = v1, p2 = v2, p3 = v3)
```
|
| |
|
| |
|
|
|
|
|
| |
Retrying after rescued `require` should try to load the same
library again. [Bug #16607]
|
| |
|
|
|
|
|
|
| |
These tests assume
Encoding.find('locale') == Encoding.find('external')
and fail if they are distinct.
|
|
|
|
|
|
|
|
| |
DEBUG: BUILDSTDERR: /usr/bin/ld: infinite_loop_dlsym.o: in function `native_loop_dlsym':
DEBUG: BUILDSTDERR: /builddir/build/BUILD/ruby-2.7.0/ext/-test-/popen_deadlock/infinite_loop_dlsym.c:16: undefined reference to `dlsym'
DEBUG: BUILDSTDERR: collect2: error: ld returned 1 exit status
Ruby was built with LibreSSL.
|
|
|
|
|
|
|
|
| |
Data written to files is not transcoded per default, but only
when default_internal is set.
The default for default_internal is nil and doesn't depend on the
source file encoding.
|
| |
|
|
|
|
|
|
|
|
|
| |
In 2.6, SimpleDelegator would always use the target `respond_to?`
In 2.7.0 it doesn't if the target does not inherit from Object.
This breaks compatibility for delegated objects that inherit
from BasicObject and redefine `respond_to?`.
|
|
|
|
| |
Co-authored-by: Yusuke Endoh <mame@ruby-lang.org>
|
|
|
|
|
| |
VM_CHECK_MODE > 0 with optflags=-O0 can not run JIT tests because
of link problems. This patch fix them.
|
| |
|
| |
|
|
|
|
|
|
| |
Separate assignemnts of dynamically given runtime values in
`rb_scan_args_assign` from parsing statically given format in
`rb_scan_args_parse`.
|
|
|
|
|
|
|
|
| |
https://rubyci.org/logs/rubyci.s3.amazonaws.com/ubuntu1604/ruby-master/log/20200203T003005Z.log.html.gz
```
/home/hsbt/chkbuild/tmp/build/20200203T003005Z/ruby/test/rubygems/test_gem_remote_fetcher.rb:485: warning: method redefined; discarding old test_fetch_path_socket_error
/home/hsbt/chkbuild/tmp/build/20200203T003005Z/ruby/test/rubygems/test_gem_remote_fetcher.rb:167: warning: previous definition of test_fetch_path_socket_error was here
```
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
1. By substituting `n_var` with its initializer, `0 < n_var` is
equivalent to `argc > argi + n_trail`.
2. As `argi` is non-negative, so `argi + n_trail >= n_trail`, and
the above expression is equivalent to `argc > n_trail`.
3. Therefore, `f_last` is always false, and `last_hash` is no
longer used.
|
| |
|
|
|
|
|
|
|
| |
A newline is automatically inserted if a character is rendered at eol on
Windows command prompt.
https://github.com/ruby/reline/commit/4bfea07e4a
|
|
|
|
|
|
| |
I mistook Right and Bottom.
https://github.com/ruby/reline/commit/8be401c5f5
|
|
|
|
| |
https://github.com/ruby/irb/commit/8f1ab2400c
|
|
|
|
| |
https://github.com/ruby/irb/commit/e37dc7e58e
|
|
|
|
|
|
| |
To be valid as an ordered list.
https://github.com/ruby/irb/commit/078205e57d
|
|
|
|
|
| |
Separate each entries more obviously as `page-delimiter' works
fine.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Was my mistake to put return here.
|
|
|
|
|
| |
It also needs to explicitly convert from String to Gem::Package
with initialization.
|
|
|
|
| |
to Gem::Package from String instance.
|
|
|
|
| |
Just started to develop RubyGems 3.2.0.
|
|
|
|
| |
at 2b592580bf65040373b55ff2ccc3b59a0a231a18
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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|
|
| |
|
|
|
|
|
|
| |
Creative use of `@copydoc` Doxygen command and abusing its half-broken C
parser let us delete some lines of documentations, while preserving
document coverages.
|
|
|
|
|
|
|
| |
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.
|