summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-12-19skip -v spec on MJITKoichi Sasada
fix this failure: ``` configure ... cppflags=-DMJIT_FORCE_ENABLE ... make test-spec 1) The -v command line option when used alone prints version and ends FAILED Expected "ruby 3.1.0dev (2021-12-18T10:10:42Z master 78c175280b) +MJIT [x86_64-linux] " to include "ruby 3.1.0dev (2021-12-18T10:10:42Z master 78c175280b) [x86_64-linux]" /tmp/ruby/v3/src/trunk-mjit-wait/spec/ruby/command_line/dash_v_spec.rb:9:in `block (3 levels) in <top (required)>' /tmp/ruby/v3/src/trunk-mjit-wait/spec/ruby/command_line/dash_v_spec.rb:4:in `<top (required)>' ``` http://ci.rvm.jp/results/trunk-mjit-wait@phosphorus-docker/3759943
2021-12-19Fix spelling of DECLAIR_TYPE.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5296
2021-12-18Fix code formatting.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5295
2021-12-18Introduce setup instructions for better parallelism.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5295
2021-12-18Initial hacking guide.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5294
2021-12-18Introduce io_result wrapper for passing `[-errno, size]` in VALUE.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5287 Merged-By: ioquatix <samuel@codeotaku.com>
2021-12-18Skip tests on pull requests labeled as DocumentationNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5293
2021-12-18Fix pull_request condition [ci skip]Nobuyoshi Nakada
2021-12-18[DOC] Cache stdgems listNobuyoshi Nakada
2021-12-18[ruby/reline] Remove unnecessary "*"aycabta
https://github.com/ruby/reline/commit/7b50638e24
2021-12-18[ruby/reline] Add a space after a commaaycabta
https://github.com/ruby/reline/commit/6009b3ef7a
2021-12-18[ruby/reline] Change a test method name to more appropriateaycabta
https://github.com/ruby/reline/commit/d014cc85b7
2021-12-18[ruby/reline] Add spaceaycabta
https://github.com/ruby/reline/commit/1bb071bcf5
2021-12-18[ruby/pp] Add context to bind_call and skip 2.7+ testCharles Oliver Nutter
The bind_call definition here is added primarily to support running the tests on JRuby 9.3, which only supports Ruby 2.6 features. The excluded test appears to depend on inspect behavior that changed after Ruby 2.6. With these two changes the test suite runs green on Ruby 2.6 and JRuby 9.3. https://github.com/ruby/pp/commit/892c612958
2021-12-18[ruby/pp] Incorporate 2.6 versions of 2.7 methods neededCharles Oliver Nutter
* UnboundMethod#bind_call * ruby2_keywords gem for testing https://github.com/ruby/pp/commit/721d8cbd10
2021-12-18[ruby/pp] Use etc instead of .so for broader compatibilityCharles Oliver Nutter
The use of `etc.so` here requires that etc is always implemented as a C extension on-disk. However at least one impl – JRuby – currently implements it as an internal extension, loaded via a Ruby script. This require should simply use the base name of the library, `etc`, to allow Ruby-based implementations to load as well. https://github.com/ruby/pp/commit/2061f994e0
2021-12-18[ruby/pp] Only do RubyVM patches if class existsCharles Oliver Nutter
This class does not exist in any implementation except CRuby. I would recommend moving this code somewhere else, like a separate file loaded only on CRuby or into CRuby itself. For now this change is sufficient to load the library on other implementations. https://github.com/ruby/pp/commit/7d5a220f64
2021-12-18[ruby/benchmark] Freeze VERSIONrm155
https://github.com/ruby/benchmark/commit/89b889b109
2021-12-18[ruby/logger] Removed loading old helper file and load Logger class by itselfHiroshi SHIBATA
https://github.com/ruby/logger/commit/5ee0fd6e51
2021-12-18[ruby/logger] Test casesBaron Bloomer
https://github.com/ruby/logger/commit/40adb645e2
2021-12-18[ruby/logger] Changes to datetime formattingBaron Bloomer
Formatting a datetime should only pertain to itself and valid datetimes do not contain a space. Should there be a desire to show show a space between the datetime and the process pid in the formatted log, this formatting logic should take place there. Furthermore, the default datetime format is moved to a class variable to allowing this variable to be overwritten by subclasses. https://github.com/ruby/logger/commit/7cbd434349
2021-12-17YJIT: Remove double check for block arg handlingAlan Wu
Inline and remove iseq_supported_args_p(iseq) to remove a potentially dangerous double check on `iseq->body->param.flags.has_block` and `iseq->body->local_iseq == iseq`. Double checking should be fine at the moment as there should be no case where we perform a call to an iseq that takes a block but `local_iseq != iseq`, but such situation might be possible when we add support for calling into BMETHODs, for example. Inlining also has the benefit of mirroring the interpreter's code for blockarg setup in `setup_parameters_complex()`, making checking for parity easier. Extract `vm_ci_flag(ci) & VM_CALL_KWARG` into a const local for brevity. Constify `doing_kw_call` because we can. Notes: Merged: https://github.com/ruby/ruby/pull/5285
2021-12-17YJIT: Fix check for required kwargsJohn Hawthorn
Previously, YJIT would not check that all the required keywords were specified in the case that there were optional arguments specified. In this case YJIT would incorrectly call the method with invalid arguments. Notes: Merged: https://github.com/ruby/ruby/pull/5285
2021-12-17YJIT: Allow iseq with both opt and kwargsJohn Hawthorn
Previously we mirrored the fast paths the interpreter had for having only one of kwargs or optional args. This commit aims to combine the cases and reduce complexity. Though this allows calling iseqs which have have both optional and keyword arguments, it requires that all optional arguments are specified when there are keyword arguments, since unspecified optional arguments appear before the kwargs. Support for this can be added a in a future PR. Notes: Merged: https://github.com/ruby/ruby/pull/5285
2021-12-17What's Here for Symbol (#5289)Burdette Lamar
* What's Here for Symbol Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2021-12-17Update bundled gems list at 2021-12-17git
2021-12-18debug.gem 1.4.0Koichi Sasada
Notes: Merged: https://github.com/ruby/ruby/pull/5290
2021-12-17Update bundled gems list at 2021-12-17git
2021-12-18* 2021-12-18 [ci skip]git
2021-12-18[DOC] Update bundled gems listNobuyoshi Nakada
2021-12-17Fix a typo [ci skip]Kazuhiro NISHIYAMA
2021-12-17Enhanced RDoc for case mapping (#5245)Burdette Lamar
Adds file doc/case_mapping.rdoc, which describes case mapping and provides a link target that methods doc can link to. Revises: String#capitalize String#capitalize! String#casecmp String#casecmp? String#downcase String#downcase! String#swapcase String#swapcase! String#upcase String#upcase! Symbol#capitalize Symbol#casecmp Symbol#casecmp? Symbol#downcase Symbol#swapcase Symbol#upcase Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2021-12-17NEWS.md: Fix a typoYusuke Endoh
2021-12-17[rubygems/rubygems] Improve errors a bit moreDavid Rodríguez
https://github.com/rubygems/rubygems/commit/f481e8f41a
2021-12-17[rubygems/rubygems] Share gem not found logic with transitive dependencies tooDavid Rodríguez
https://github.com/rubygems/rubygems/commit/e4a1a9663d
2021-12-17[rubygems/rubygems] Remove unnecessary line breakDavid Rodríguez
https://github.com/rubygems/rubygems/commit/84e2d6a955
2021-12-17[rubygems/rubygems] Fix crash when no matching variants are found for the ↵David Rodríguez
current platform If we are resolving a dependency against a particular platform, and there are no platform specific variants of the candidates that match that platform, we should not consider those candidates. https://github.com/rubygems/rubygems/commit/f6077fe27d
2021-12-17[rubygems/rubygems] Improve error message if only platform doesn't matchDavid Rodríguez
https://github.com/rubygems/rubygems/commit/077e3c2e4d
2021-12-17[rubygems/rubygems] Improve resolver error messagesDavid Rodríguez
Use a more standard naming for gems. https://github.com/rubygems/rubygems/commit/75121e83f1
2021-12-17data type should be `static`Koichi Sasada
Notes: Merged: https://github.com/ruby/ruby/pull/5288
2021-12-17`RUBY_DEFAULT_FREE` is not needed.Koichi Sasada
pointed by @nobu. Notes: Merged: https://github.com/ruby/ruby/pull/5288
2021-12-17`ENV` ivars should not be accessible from ractorsKoichi Sasada
The `ENV` object can have instance variables like other objects, but they should be accessed only on the main ractor. fix https://github.com/ruby/ruby/pull/5263#issuecomment-995585766 Notes: Merged: https://github.com/ruby/ruby/pull/5288
2021-12-17NEWS.md: Add link to `rbs collection` documentationMasataka Pocke Kuwabara
2021-12-17NEWS.md: Describe changes of RBSYusuke Endoh
2021-12-17Send the message for s390x to stderr [ci skip]Nobuyoshi Nakada
Parallel worker's stdout is captured as the control protocol. Notes: Merged: https://github.com/ruby/ruby/pull/5286
2021-12-16Update stdlib version at 693a561cfa19dc35ff0d199a1934c9 [ci skip]git
2021-12-17[DOC] Exclude non-updated stdlibs since the previous releaseNobuyoshi Nakada
2021-12-17* 2021-12-17 [ci skip]git
2021-12-17dln.c: refine preprocessor conditions by USE_DLN_DLOPEN and _WIN32Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5284
2021-12-16Add description of ruby header files to extension.rdocLars Kanis
Notes: Merged: https://github.com/ruby/ruby/pull/4882