aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* LLDB: Dump table structs in Hash [ci skip]Nobuyoshi Nakada2023-10-311-1/+6
|
* [ruby/prism] Fix a possible malloc(0)Haldun Bayhantopcu2023-10-311-1/+1
| | | | https://github.com/ruby/prism/commit/fa108b8626
* [ruby/prism] Share comment generation logicKevin Newton2023-10-312-2/+6
| | | | https://github.com/ruby/prism/commit/6e5556dbdf
* [ruby/prism] Fix a possible null dereferenceHaldun Bayhantopcu2023-10-311-0/+1
| | | | https://github.com/ruby/prism/commit/7dbb8c7e3e
* Add defined array nodeHParker2023-10-312-0/+11
|
* compile defined with nested constants and stovetopHParker2023-10-312-10/+49
|
* Fix warning in Prism compile For NodeMatt Valentine-House2023-10-311-1/+1
|
* Keep unused literal nodesyui-knk2023-10-313-14/+5
| | | | | | | | | | | | For static analysis, it’s better to keep unused literal nodes. If simply change `block_append` to fall through, both "unused literal ignored" and "possibly useless use of a literal in void context" warnings are shown for the same line. But it’s verbose then remove "unused literal ignored" warning. This kind of optimization is already implemented on compile.c. `compile_block` calls `iseq_compile_each0` with `popped = 1` when NODE_BLOCK has next.
* Update bundled gems list as of 2023-10-30git2023-10-312-2/+2
|
* Add a --disable-yjit job for Ubuntu CIJeremy Evans2023-10-311-0/+2
| | | | | | | | Currently, we do not have an amd64 job that runs with YJIT disabled and runs the full check task. Most amd64 jobs implicitly have YJIT enabled, even though --enable-yjit was not specified. This makes it easier to determine whether a problem is YJIT-related or not by reviewing CI logs.
* [Feature #10602] Add new API rb_profile_thread_frames()Daisuke Aritomo2023-10-314-3/+103
| | | | | | | | | | | | | | | | | | | | Add a new API rb_profile_thread_frames(), which is essentialy a per-thread version of rb_profile_frames(). While the original rb_profile_frames() always returns results about the current active thread obtained by GET_EC(), this new API takes a Thread to be profiled as an argument. This should come in handy when profiling I/O-bound programs such as webapps, since this new API allows us to learn about Threads performing I/O (which do not have the GVL). Profiling worker threads (such as Sidekiq workers) may be another application. Implements [Feature #10602] Co-authored-by: Mike Perham <mike@perham.net>
* Disable wrong testNobuyoshi Nakada2023-10-311-1/+2
|
* [PRISM] Implement all argument types for CallNodesJemma Issroff2023-10-301-13/+149
|
* Document TEMP_CONSTANT_IDENTIFIERMatt Valentine-House2023-10-301-1/+12
|
* Move constant indexing into rb_translate_prismMatt Valentine-House2023-10-302-20/+20
|
* [Prism] Add ForNode testsMatt Valentine-House2023-10-301-0/+9
|
* [Prism] Compile ForNodeMatt Valentine-House2023-10-302-7/+75
| | | | Fixes ruby/prism#1648
* More accurate functions documentationMatt Valentine-House2023-10-301-1/+1
|
* [ruby/irb] Use IRB's own doc for doc dialog testsStan Lo2023-10-301-16/+20
| | | | | | | | | | | | (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
* Update default gems list at b413760d66e4de5670148b01a6a207 [ci skip]git2023-10-301-1/+1
|
* [prism] Update prism to latestKevin Newton2023-10-304-7/+8
|
* rm prism type templatesKevin Newton2023-10-301-0/+2
|
* [ruby/rdoc] test/rdoc/test_rdoc_generator_json_index.rb: Use assert_equal ↵Jun Aruga2023-10-301-1/+1
| | | | | | | | instead of assert. It's better because assert_equal prints the values when it fails. https://github.com/ruby/rdoc/commit/91d40ce8f8
* [ruby/prism] Faster lex_identifierHaldun Bayhantopcu2023-10-303-7/+16
| | | | https://github.com/ruby/prism/commit/e44a9ae742
* Missing format stringNobuyoshi Nakada2023-10-311-1/+1
| | | | | Do not use a variable as a format string. Also we usually don't expect non-ascii data in C string literals.
* [ruby/prism] parse_inline_comments -> parse_commentsKevin Newton2023-10-305-39/+24
| | | | https://github.com/ruby/prism/commit/bd4d248fd6
* Update to ruby/spec@d56bd0fBenoit Daloze2023-10-301-202/+204
|
* Update to ruby/mspec@d03ad9cBenoit Daloze2023-10-301-4/+6
|
* Revert "OpenSSL::KDF.scrypt needs EVP_PBE_scrypt()"Benoit Daloze2023-10-301-2/+0
| | | | This reverts commit d434765faead1583ca9008bb579067a288085b93.
* OpenSSL::KDF.scrypt needs EVP_PBE_scrypt()Nobuyoshi Nakada2023-10-311-0/+2
|
* [ruby/prism] Remove newlines from magic comment testKevin Newton2023-10-301-2/+2
| | | | https://github.com/ruby/prism/commit/4a7be1fc50
* .travis.yml: Refactor.Jun Aruga2023-10-301-11/+9
| | | | | | | | | | | | * 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.
* .travis.yml: Disable s390x allow_failures.Jun Aruga2023-10-301-1/+1
| | | | | To avoid unintentional new failures. Feel free to enable it again when the case is unstable.
* .travis.yml: Remove optflags=-O1 except arm32.Jun Aruga2023-10-301-2/+6
| | | | | | | | 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
* .travis.yml: Upgrade the Ubuntu ppc64le to 22.04 (Jammy).Jun Aruga2023-10-301-2/+1
| | | | | | | | | | 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.
* [ruby/prism] Improve comment generation in templatesUfuk Kayserilioglu2023-10-301-1/+4
| | | | | | | | | | 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
* Update to ruby/spec@bd7017fBenoit Daloze2023-10-3088-289/+1634
|
* [ruby/net-http] fix no_proxy behaviourChristian van Rensen2023-10-301-1/+1
| | | | https://github.com/ruby/net-http/commit/f4951dc42a
* [ruby/net-http] fix a false-negative testChristian van Rensen2023-10-301-2/+2
| | | | | | | * 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
* [ruby/yaml] Compatibility for Psych 4Hiroshi SHIBATA2023-10-301-1/+1
| | | | https://github.com/ruby/yaml/commit/b4b72ae0b4
* [rubygems/rubygems] Relax matching pattern for rake versionHiroshi SHIBATA2023-10-301-3/+3
| | | | https://github.com/rubygems/rubygems/commit/a89f74c27e
* Optimize regexp matching for look-around and atomic groups (#7931)Hiroya Fujinami2023-10-304-156/+305
|
* Embed `rb_args_info` in `rb_node_args_t`Nobuyoshi Nakada2023-10-306-51/+49
|
* Cast up before multiplicationNobuyoshi Nakada2023-10-291-2/+2
|
* Update default gems list at 88f1d380ea431bc807e221fa07f4ac [ci skip]git2023-10-291-0/+1
|
* [ruby/etc] Start 1.4.3Nobuyoshi Nakada2023-10-291-1/+1
| | | | https://github.com/ruby/etc/commit/a9e4d4730d
* Fix a typo [ci skip]Nobuyoshi Nakada2023-10-281-1/+1
|
* [ruby/irb] Easter egg for autocomplete modetomoya ishida2023-10-283-10/+71
| | | | | | | | | | (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
* Extract transcoding assertionsNobuyoshi Nakada2023-10-281-239/+259
| | | | | | | | - Prefix `check_both_ways` with `assert_` to show proper failure lines. - Extract dedicated assertions for Encoding::UndefinedConversionError and Encoding::InvalidByteSequenceError.
* Revert ".travis.yml: Drop s390x temporarily." (#8792)Jun Aruga2023-10-281-1/+1
| | | | | It seems the Travis s390x is recovered again now. This reverts commit 95cc0f946eb641be8dea4b7118598be77d993183.