summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-23Relaxed target_os matchingNobuyoshi Nakada
When target_alias is not empty, `-gnu` suffixed is not stripped. [Bug #16015]
2019-07-23Show seconds and in the modified time orderNobuyoshi Nakada
[ci skip]
2019-07-23Retry to update Unicode timestampNobuyoshi Nakada
2019-07-23Let the index boundary check in rb_enc_from_index be flagged as unlikelyLourens Naudé
[Misc #15806] Closes: https://github.com/ruby/ruby/pull/2128
2019-07-23Explicitly initialise encodings on init to remove branches on encoding lookupLourens Naudé
[Misc #15806] Closes: https://github.com/ruby/ruby/pull/2128
2019-07-23check iseq is executableKoichi Sasada
2019-07-23Support memsize of ASTNobuyoshi Nakada
2019-07-23Let memory sizes of the various IMEMO object types be reflected correctlyLourens Naudé
[Feature #15805] Closes: https://github.com/ruby/ruby/pull/2140
2019-07-23Added the upstream repositories to default gems.Hiroshi SHIBATA
2019-07-23reline is default gems now.Hiroshi SHIBATA
2019-07-23Removed duplicated entry for racc.Hiroshi SHIBATA
2019-07-22Document BasicObject does not implement #object_id and #send [ci skip]Jeremy Evans
Fixes [Bug #10422]
2019-07-22Document encoding of string returned by Regexp.quote [ci skip]Jeremy Evans
Also, remove documentation about returning self, which makes no sense as self would be the Regexp class. It could be interpreted as return the argument if no changes were made, but that hasn't been the behavior at least since 1.8.7 (and probably before). Fixes [Bug #10239]
2019-07-22Adjust documentation for Kernel#raise [ci skip]Jeremy Evans
Mention how each of the arguments are retrievable from the generated Exception object. Fixes [Bug #10110]
2019-07-23Split test/ripper/test_files.rb to run in parallelNobuyoshi Nakada
2019-07-23Stop packing rb_method_definition_tNobuyoshi Nakada
By using `BITFIELD`, `type` field should not be forced to align.
2019-07-23* 2019-07-23git
2019-07-22Fix documentation for Array#pack m directive count specifier [ci skip]Jeremy Evans
Fixes [Bug #10025]
2019-07-22Allways fetch the latest commit from default gems repository.Hiroshi SHIBATA
2019-07-22constify again.Koichi Sasada
Same as last commit, make some fields `const`. include/ruby/ruby.h: * Rasic::klass * RArray::heap::aux::shared_root * RRegexp::src internal.h: * rb_classext_struct::origin_, redefined_class * vm_svar::cref_or_me, lastline, backref, others * vm_throw_data::throw_obj * vm_ifunc::data * MEMO::v1, v2, u3::value While modifying this patch, I found write-barrier miss on rb_classext_struct::redefined_class. Also vm_throw_data::throw_state is only `int` so change the type.
2019-07-22[ruby/date] Describe what is meant by valid in the Date.valid_date? rdocJeremy Evans
https://github.com/ruby/date/commit/8eca79d1f0
2019-07-22constify RHash::ifnone.Koichi Sasada
RHash::ifnone should be protected by write-barriers so this field should be const. However, to introduce GC.compact, the const was removed. This commit revert this removing `const` and modify gc.c `TYPED_UPDATE_IF_MOVED` to remove `const` forcely by a type cast.
2019-07-22Fixed exception messageNobuyoshi Nakada
2019-07-22Only the first argument can be --test-target-dir optionNobuyoshi Nakada
Raise the proper exception when that option is not given but non-option argument is.
2019-07-22Update rake-12.3.3.Hiroshi SHIBATA
2019-07-22* 2019-07-22git
2019-07-22Run test-tool in the order of the testsNobuyoshi Nakada
2019-07-21common.mk: `make check` now includes `make test-tool`Yusuke Endoh
And `make test-tool` includes `make test-testframework`. This change may be arguable because I'm unsure who is an intended user of `make check`: a normal user, or Ruby-core developer. Normal users don't have to run `make test-tool` for testing their installation, but Ruby committers should run it before they commit anything. In this case, I'd be conservative; `make check` includes `test-tool`. If normal users often report a failure of `make test-tool`, then we can consider to split `make check` for two sets of target users.
2019-07-21tool/test/runner.rb: support --test-target-dir optionYusuke Endoh
tool/test/runner.rb had been copied from test/runner.rb. test/runner.rb was for `make test-all`, and tool/test/runner.rb was for `make test-testframework` and `make test-tool`. But I want to avoid the code clones. This change makes tool/test/runner.rb support --test-target-dir option which allows tool/test/runner.rb to run `make test-all`. Now we can remove test/runner.rb.
2019-07-21* 2019-07-21git
2019-07-21Update simplecov and doclie to the latest version.Hiroshi SHIBATA
2019-07-20Move travis coroutine check to cron only.Samuel Williams
2019-07-20--debug was not functional eitherTakashi Kokubun
Even after 19d592dc82a31adf0bb6f027392cae69615c2394, the retry seems not functional. Let's just add --debug from the beginning because an output of each step is collapsed and we don't see `make up` output so often.
2019-07-20file.c: add a NORETURN declaration for statx_notimplementYusuke Endoh
clang complains the lack.
2019-07-20Explain what's benchmark/lib/load.rb [ci skip]Takashi Kokubun
I'm actually not using this, but ko1 is.
2019-07-20Upgrade benchmark-driver.gem againTakashi Kokubun
because v0.14.18 was actually not working with `make run`. In `make run`, `Gem` is defined but `Gem::Version` isn't. v0.14.19 checks `defined?(Gem::Version)` instead of `defined?(Gem)`.
2019-07-20Upgrade benchmark-driver.gem versionTakashi Kokubun
This is to make `make run` with benchmark/lib/load.rb work for ko1 https://github.com/benchmark-driver/benchmark-driver/compare/v0.14.17...v0.14.18
2019-07-20array.c: factor out a complex condition of assertYusuke Endoh
ARY_SHARED_P and ARY_EMBED_P included: assert(!FL_TEST((ary), ELTS_SHARED) || !FL_TEST((ary), RARRAY_EMBED_FLAG)), The two predicate macros are used in many other assert conditions, which caused memory bloat during C compilation. This change factors out the assertion above to a function. Now gcc consumes 160 MB instead of 250 MB to compile array.c.
2019-07-19Only disable GC around reference updatingAaron Patterson
This is the only place that can change the size of the object id tables and cause a GC.
2019-07-19Document use of ensure and else at method level [ci skip]Jeremy Evans
2019-07-19Remove section on performance advantage of not using a block parameter [ci skip]Jeremy Evans
Improvements in Ruby 2.5 and 2.6 make this section no longer accurate.
2019-07-19Remove mention of Proc.new with implicit block [ci skip]Jeremy Evans
This support is now deprecated and will be removed in Ruby 3.
2019-07-19Document evaluation order of arguments [ci skip]Jeremy Evans
Fixes [Misc #8905]
2019-07-19Document required keyword argument syntax [ci skip]Jeremy Evans
Fixes [Bug #8952]
2019-07-20* 2019-07-20git
2019-07-20Some keywords, "true", "false", and "nil" should be treated as a variableaycabta
2019-07-19array.c: use assert in macro instead of in a functionYusuke Endoh
The old code lost information of lineno. Now, an assertion error will output a correct lineno (but now gcc 8 requires 250 MB, unfortunately).
2019-07-19array.c: factor out `assert(RB_TYPE_P(ary, T_ARRAY))` to a functionYusuke Endoh
The assertion blows up gcc 8 by consuming approx. 1.8 GB memory. This change reduces the amount of memory required to about 200 MB. A follow-up of ae750799c1b28b06d02e50cd26450b9903516526.
2019-07-19Add documentation to `fiber_pool_allocate_memory`.Samuel Williams
2019-07-19Fix 32-bit build and typo.Samuel Williams
"Therefore, `fiber_pool_stack_free(&vacancy->stack)` can do the wrong thing..." should be "... `fiber_pool_stack_free(stack)` ...".