aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [ruby/ostruct] Avoid aliasing `block_given?` for JRuby [Fixes #40]Marc-André Lafortune2022-03-241-4/+9
| | | | https://github.com/ruby/ostruct/commit/14d04ff694
* Bump actions/checkout from 2 to 3dependabot[bot]2022-03-2414-14/+14
| | | | | | | | | | | | | | | Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* Bump actions/cache from 2 to 3dependabot[bot]2022-03-2411-14/+14
| | | | | | | | | | | | | | Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* Added dependabot configuration for actions dependenciesHiroshi SHIBATA2022-03-241-0/+6
|
* [rubygems/rubygems] Maybe this is now fixedDavid Rodríguez2022-03-241-2/+0
| | | | https://github.com/rubygems/rubygems/commit/d9c442e54c
* [DOC] Refine flip-flopNobuyoshi Nakada2022-03-241-13/+13
|
* Add Yuta Saito (katei) as the platform maintainer of WebAssembly/WASIYusuke Endoh2022-03-241-0/+2
|
* extlibs.rb: Add fallback `Colorize`Nobuyoshi Nakada2022-03-241-1/+11
| | | | | To get rid of an unnecessary dependency for the case using in other repositories.
* extlibs.rb: Enclose `Vars` in `ExtLibs` classNobuyoshi Nakada2022-03-241-11/+11
| | | | | To get rid of an unnecessary top-level constant for the case using as a library.
* extlibs.rb: Extract ExtLibs#processNobuyoshi Nakada2022-03-241-66/+78
| | | | | | | | | For the case using this script as a library. - `ExtLibs#process` reads and processes an extlibs file. - `ExtLibs#process_under` processes all extlibs files under the given directory. - `Extlibs.run` parses `ARGV` and lets an instance process the directories.
* regint.h: Reduce the frequency of rb_thread_check_intsYusuke Endoh2022-03-242-1/+10
| | | | | | | edc8576a65b7082597d45a694434261ec3ac0d9e checks interrupt at every backtrack, which brought significant overhead. This change makes the check only once every 128 backtracks.
* Now all extension libraries must consider the ABI headerNobuyoshi Nakada2022-03-241-1/+4
|
* [DOC] Remove mis-synced bundler directoryNobuyoshi Nakada2022-03-241-1/+0
|
* [rubygems/rubygems] Avoid crash in test teardownDavid Rodríguez2022-03-241-1/+1
| | | | | | | | | | | | | | | If an exception happens during test `setup` method, the `teardown` method will still be run for cleaning up, but if some other errors occurs then, it will hide the original error. This is happening sometimes in CI where restoring original gem hooks is failing because the error in `setup` happened before the variable holding the original hooks was initialized. This commit moves initialization of `@orig_hooks` to the beginning of the `setup` method to avoid this issue. https://github.com/rubygems/rubygems/commit/8524d2b74d
* * 2022-03-24 [ci skip]git2022-03-241-1/+1
|
* [rubygems/rubygems] Improve RDoc setupDavid Rodríguez2022-03-241-0/+1
| | | | | | | | | | | | Completely exclude the full bundler folder. The actual Bundler docs are excluded anyways by ruby-core (by bundler/lib/bundler/.document, bundler/lib/bundler/man/.document), I guess because bundler docs are not in RDoc format? Running RDoc in the repo root before these changes takes about 5 minutes on my machine, while after these changes takes about 15 seconds. https://github.com/rubygems/rubygems/commit/8b1802447a
* Raise ArgumentError when calling Enumberable#inject without block or argumentsJeremy Evans2022-03-232-1/+11
| | | | | | | | Previously, this would work as expected if the enumerable contained 0 or 1 element, and would raise LocalJumpError otherwise. That inconsistent behavior is likely to lead to bugs. Fixes [Bug #18635]
* [rubygems/rubygems] Make `rescue` clause more specificDavid Rodríguez2022-03-231-1/+1
| | | | | | | | | | | | This is hiding a real bundler issue as a "network error". It's more helpful to get a proper bug report, with stack trace and so on. So stop re-raising errors when evaluating unmarshaled responses as network errors, and only raise Marshal errors when the Marshal format is invalid, not whenever marshalled gemspecs can't be loaded because that may hide actual client errors, like missing `YAML` constants. https://github.com/rubygems/rubygems/commit/05ea907e1c
* [DOC] Enhanced RDoc for String (#5685)Burdette Lamar2022-03-227-59/+89
| | | | | | | | | | | | | Treats: #chars #codepoints #each_char #each_codepoint #each_grapheme_cluster #grapheme_clusters Also, corrects a passage in #unicode_normalize that mentioned module UnicodeNormalize, whose doc (:nodoc:, actually) says not to mention it.
* Need to reconfigure and rebuild everything when abi.h changedNobuyoshi Nakada2022-03-232-2/+7
|
* * 2022-03-23 [ci skip]git2022-03-231-1/+1
|
* [rubygems/rubygems] Fix a test for `bin/bundle update --bundler` to pass on ↵Jun Aruga2022-03-231-1/+4
| | | | | | | | | | | | ruby/ruby. Consider the case that the latest Bundler version on RubyGems is higher than the `system_bundler_version` (= `Bundler::VERSION`) in `make test-bundler` on ruby/ruby. See <https://bugs.ruby-lang.org/issues/18643>. https://github.com/rubygems/rubygems/commit/bfa2f72cfa
* [Feature #18634] Implement Arrays on Variable Width AllocationPeter Zhu2022-03-223-38/+176
| | | | | | This commit implements arrays on Variable Width Allocation. This allows longer arrays to be embedded (i.e. contents directly follow the object header) which improves performance through better cache locality.
* [DOC] re-count test suites run by `make check` [ci skip]Nobuyoshi Nakada2022-03-221-1/+1
|
* Fix a link [ci skip]Kazuhiro NISHIYAMA2022-03-221-0/+1
|
* [DOC] Use RDoc inclusions in string.c (#5683)Burdette Lamar2022-03-218-274/+261
| | | | | | | | | | | | | | | | | | As @peterzhu2118 and @duerst have pointed out, putting string method's RDoc into doc/ (which allows non-ASCII in examples) makes the "click to toggle source" feature not work for that method. This PR moves the primary method doc back into string.c, then includes RDoc from doc/string/*.rdoc, and also removes doc/string.rdoc. The affected methods are: ::new #bytes #each_byte #each_line #split The call-seq is in string.c because it works there; it did not work when the call-seq is in doc/string/*.rdoc. This PR also updates the relevant guidance in doc/documentation_guide.rdoc.
* Fix Markdown syntax in spec/README.mdBenoit Daloze2022-03-211-1/+1
|
* [DOC] Move old NEWS files to a separate directoryNobuyoshi Nakada2022-03-2215-1/+1
|
* * 2022-03-22 [ci skip]git2022-03-221-1/+1
|
* [ruby/rdoc] Expand the enclosing tree of the current fileNobuyoshi Nakada2022-03-222-1/+8
| | | | https://github.com/ruby/rdoc/commit/f9f90ef2ff
* [ruby/rdoc] Fold files in the page directoryNobuyoshi Nakada2022-03-222-1/+23
| | | | https://github.com/ruby/rdoc/commit/b7b4cdab6c
* [ruby/rdoc] Add test_generate_pageNobuyoshi Nakada2022-03-221-0/+8
| | | | https://github.com/ruby/rdoc/commit/c870284163
* [ruby/rdoc] Allow method source code to scroll [ci skip]Nobuyoshi Nakada2022-03-201-1/+1
| | | | https://github.com/ruby/rdoc/commit/1bb0496c53
* [ruby/rdoc] Use the custom style `details summary` only in `nav-section`Nobuyoshi Nakada2022-03-201-16/+19
| | | | https://github.com/ruby/rdoc/commit/7736d3a89c
* * 2022-03-20 [ci skip]git2022-03-201-1/+1
|
* [DOC] make internally used classes/methods nodocNobuyoshi Nakada2022-03-201-12/+6
| | | | Empty class documents are generated even with `:stopdoc:`.
* Make a dedecated assertion to clarify failed assertionsNobuyoshi Nakada2022-03-191-22/+22
|
* * 2022-03-19 [ci skip]git2022-03-191-1/+1
|
* [DOC] Enhanced RDoc for String (#5675)Burdette Lamar2022-03-182-99/+123
| | | | | | | | | | Treats: #split #each_line #lines #each_byte #bytes
* [Bug #18627] Fix crash when including modulePeter Zhu2022-03-181-18/+30
| | | | | | | During lazy sweeping, the iclass could be a dead object that has not yet been swept. However, the chain of superclasses of the iclass could already have been swept (and become a new object), which would cause a crash when trying to read the object.
* Encourage arity argument in Proc#curry documentation for procs with variable ↵Jeremy Evans2022-03-171-0/+4
| | | | | | arguments This uses similar language to that used in Method#curry.
* Add a NEWS entry about [Feature #18598] [ci skip]Shugo Maeda2022-03-181-0/+1
|
* Add String#bytespliceShugo Maeda2022-03-182-0/+115
|
* Revert "Faster rb_class_superclass"John Hawthorn2022-03-171-6/+7
| | | | This reverts commit 29b68b89a0c0ea7de46c058fab746550398151f0.
* Make Proc#parameters support lambda keyword for returning parameters as if ↵Jeremy Evans2022-03-174-6/+72
| | | | | | | | lambda This makes it easier to use Proc#parameters to build wrappers. Implements [Feature #15357]
* Faster rb_class_superclassJohn Hawthorn2022-03-171-7/+6
| | | | | This uses the RCLASS_SUPERCLASSES array to quickly find the next SUPERCLASS of klass which is a T_CLASS.
* * 2022-03-18 [ci skip]git2022-03-181-1/+1
|
* Fix potential memory leak at fiber poolNobuyoshi Nakada2022-03-181-2/+2
| | | | | Do not "allocate then wrap". It leaks the allocated memory if failed to create the wrapper.
* Fix compilation error with `RB_EXPERIMENTAL_FIBER_POOL`Nobuyoshi Nakada2022-03-181-1/+4
|
* A positional Hash is not keyword arguments [Bug #18632]Nobuyoshi Nakada2022-03-182-4/+6
|