summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-10-30Move constant indexing into rb_translate_prismMatt Valentine-House
2023-10-30[Prism] Add ForNode testsMatt Valentine-House
2023-10-30[Prism] Compile ForNodeMatt Valentine-House
Fixes ruby/prism#1648
2023-10-30More accurate functions documentationMatt Valentine-House
2023-10-30[ruby/irb] Use IRB's own doc for doc dialog testsStan Lo
(https://github.com/ruby/irb/pull/743) * Use IRB's own doc for doc dialog tests * Run doc dialog tests for older Rubies too * Remove unnecessary CI setups https://github.com/ruby/irb/commit/97a2b86f0a
2023-10-30Update default gems list at b413760d66e4de5670148b01a6a207 [ci skip]git
2023-10-30[prism] Update prism to latestKevin Newton
2023-10-30rm prism type templatesKevin Newton
2023-10-30[ruby/rdoc] test/rdoc/test_rdoc_generator_json_index.rb: Use assert_equal ↵Jun Aruga
instead of assert. It's better because assert_equal prints the values when it fails. https://github.com/ruby/rdoc/commit/91d40ce8f8
2023-10-30[ruby/prism] Faster lex_identifierHaldun Bayhantopcu
https://github.com/ruby/prism/commit/e44a9ae742
2023-10-31Missing format stringNobuyoshi Nakada
Do not use a variable as a format string. Also we usually don't expect non-ascii data in C string literals.
2023-10-30[ruby/prism] parse_inline_comments -> parse_commentsKevin Newton
https://github.com/ruby/prism/commit/bd4d248fd6
2023-10-30Update to ruby/spec@d56bd0fBenoit Daloze
2023-10-30Update to ruby/mspec@d03ad9cBenoit Daloze
2023-10-30Revert "OpenSSL::KDF.scrypt needs EVP_PBE_scrypt()"Benoit Daloze
This reverts commit d434765faead1583ca9008bb579067a288085b93.
2023-10-31OpenSSL::KDF.scrypt needs EVP_PBE_scrypt()Nobuyoshi Nakada
2023-10-30[ruby/prism] Remove newlines from magic comment testKevin Newton
https://github.com/ruby/prism/commit/4a7be1fc50
2023-10-30.travis.yml: Refactor.Jun Aruga
* Add notes. * When you see Travis issue, please check the link below. https://github.com/ruby/ruby/wiki/CI-Servers#travis-ci * Added the following random failure. The ppc64le failure has been happening randomly in Travis focal/jammy. TestRDocGeneratorJsonIndex#test_generate fails randomly. https://app.travis-ci.com/github/ruby/ruby/jobs/612380961#L2900 * Update the comments. * Remove empty lines in nested YAML elements aligning with other parts.
2023-10-30.travis.yml: Disable s390x allow_failures.Jun Aruga
To avoid unintentional new failures. Feel free to enable it again when the case is unstable.
2023-10-30.travis.yml: Remove optflags=-O1 except arm32.Jun Aruga
We want to align the used build flags with RubyCI ppc64le Ubuntu jammy server as much as possible to avoid Travis specific issues. Still keep the -O1 for only arm32 due to the following issue. https://bugs.ruby-lang.org/issues/19981
2023-10-30.travis.yml: Upgrade the Ubuntu ppc64le to 22.04 (Jammy).Jun Aruga
Seeing the recent successes on RubyCI ppc64le Ubuntu jammy servers, it's time to upgrade Travis ppc64le to jammy. http://rubyci.s3.amazonaws.com/ppc64le/ruby-master/recent.html Upgrade the gcc version to the latest version 11.4.0 to align the gcc version used in the RubyCI ppc64le server's gcc version.
2023-10-30[ruby/prism] Improve comment generation in templatesUfuk Kayserilioglu
The existing comment generation was hard to read and was making a lot of string manipulation. However, ERB files are already designed to do string manipulation, so we can use that instead. So, instead of doing a split and a map, I opted to use the `#each_line` method to iterate over the lines of the file. Also, in order to add an optional space padding at the beginning of the line, I opted to pad it with a space and to then right trim it. This makes sure that no space is left behind if the line is empty, but a space is added if the line is not empty. https://github.com/ruby/prism/commit/5736711e70
2023-10-30Update to ruby/spec@bd7017fBenoit Daloze
2023-10-30[ruby/net-http] fix no_proxy behaviourChristian van Rensen
https://github.com/ruby/net-http/commit/f4951dc42a
2023-10-30[ruby/net-http] fix a false-negative testChristian van Rensen
* no_proxy is meant to operate on the destination address, not on the name of the proxy * if both end with `'.example'`, the test does not nail down the behaviour https://github.com/ruby/net-http/commit/bb9a5cfa3d
2023-10-30[ruby/yaml] Compatibility for Psych 4Hiroshi SHIBATA
https://github.com/ruby/yaml/commit/b4b72ae0b4
2023-10-30[rubygems/rubygems] Relax matching pattern for rake versionHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/a89f74c27e
2023-10-30Optimize regexp matching for look-around and atomic groups (#7931)Hiroya Fujinami
2023-10-30Embed `rb_args_info` in `rb_node_args_t`Nobuyoshi Nakada
2023-10-29Cast up before multiplicationNobuyoshi Nakada
2023-10-29Update default gems list at 88f1d380ea431bc807e221fa07f4ac [ci skip]git
2023-10-29[ruby/etc] Start 1.4.3Nobuyoshi Nakada
https://github.com/ruby/etc/commit/a9e4d4730d
2023-10-28Fix a typo [ci skip]Nobuyoshi Nakada
2023-10-28[ruby/irb] Easter egg for autocomplete modetomoya ishida
(https://github.com/ruby/irb/pull/737) * Show easter-egg inside document dialog in autocomplete mode * Show more easter_egg(dancing or logo) when Alt+d is pressed in autocomplete mode https://github.com/ruby/irb/commit/a8e5cc7354
2023-10-28Extract transcoding assertionsNobuyoshi Nakada
- Prefix `check_both_ways` with `assert_` to show proper failure lines. - Extract dedicated assertions for Encoding::UndefinedConversionError and Encoding::InvalidByteSequenceError.
2023-10-28Revert ".travis.yml: Drop s390x temporarily." (#8792)Jun Aruga
It seems the Travis s390x is recovered again now. This reverts commit 95cc0f946eb641be8dea4b7118598be77d993183.
2023-10-28test/fiber/test_queue.rb: Make the stuck test fail. (#8791)Jun Aruga
test/fiber/test_queue.rb: Make the stuck tests fail. We observed the 2 tests in the `test/fiber/test_queue.rb` getting stuck in some GCC compilers in Ubuntu ppc64le focal/jammy, even when the timeout `queue.pop(timeout: 0.0001)` is set in the code. This commit is to make the tests fail rather than getting stuck.
2023-10-28Update bundled gems list at 6589af52d22e1b5976295adc7968c5 [ci skip]git
2023-10-28Print the date to STDERR if STDIN is a part of input [ci skip]Nobuyoshi Nakada
2023-10-28Windows: Add libffi as a build dependencyLars Kanis
Otherwise the fiddle extension isn't build.
2023-10-27[rubygems/rubygems] Update SPDX license list as of 2023-10-05License Update
https://github.com/rubygems/rubygems/commit/e69a43ac9f
2023-10-27.travis.yml: Disable allow_failures for arm32.Jun Aruga
I want to disable allow_failures if possible to avoid unintentional new failures. It seems that the arm32 case is stable. Feel free to enable allow_failures again when you see the case is unstable.
2023-10-27.travis.yml: Upgrade the Ubuntu arm32 to 22.04 (Jammy).Jun Aruga
Upgrade the gcc version to the latest version 11.4.0 to align the gcc version used in the RubyCI arm64 server.
2023-10-27Make get_next_shape_internal idempotentJean Boussier
Since the check for MAX_SHAPE_ID was done before even checking if the transition we're looking for even exists, as soon as the max shape is reached, get_next_shape_internal would always return `TOO_COMPLEX` regardless of whether the transition we're looking for already exist or not. In addition to entirely de-optimize all newly created objects, it also made an assertion fail in `vm_setivar`: ``` vm_setivar:rb_shape_get_next_iv_shape(rb_shape_get_shape_by_id(source_shape_id), id) == dest_shape ```
2023-10-27Revert "Add debug info for flaky test_warmup_frees_pages"Peter Zhu
This reverts commit db3b814cb0ff6ffe83fe0c4f66cd6ce8951c3ca7. This debugging information is no longer needed.
2023-10-27[ruby/prism] Prism.parse_inline_commentsKevin Newton
https://github.com/ruby/prism/commit/5b72f84480
2023-10-27[ruby/prism] Parse inline commentsKevin Newton
https://github.com/ruby/prism/commit/44090d9f26
2023-10-27.travis.yml: Drop s390x temporarily.Jun Aruga
The s390x pipeline is unstable with the error "No output has been received" or doesn't start. See <https://travis-ci.community/t/13811>.
2023-10-27.travis.yml: Simplify Travis CI.Jun Aruga
* Remove CI functions for make test-all. I want to simplify the `.travis.yml` for us to maintain it easily. When we need to skip a test, we can fix the test file directly. I removed the `tool/ci_functions.sh` too. I confirmed the file is not used in any other files. * .travis.yml: Remove a notification for IRC channel. GitHub Actions don't use this notification. The setting is outdated. * Fix to skip the commit including the document keyword. There were 2 `if` syntax lines in the file. * Remove ccache.
2023-10-27Fix bug for removed weak referencesPeter Zhu
rb_darray_foreach gives a pointer to the entry, so we need to deference it to read the value.