summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-10-13[ruby/prism] Use create_unescaped functions for empty heredocsKevin Newton
https://github.com/ruby/prism/commit/acec5a13cb
2023-10-13[ruby/prism] Use current_string for x string escape sequencesKevin Newton
https://github.com/ruby/prism/commit/66ce9280bb
2023-10-13[ruby/prism] Use token buffer for string lexingKevin Newton
https://github.com/ruby/prism/commit/087cd8f28b
2023-10-13[ruby/prism] Extract out a couple more token buffer functionsKevin Newton
https://github.com/ruby/prism/commit/341e027d23
2023-10-13[ruby/prism] Capture the token buffer logic into its own struct and functionsKevin Newton
https://github.com/ruby/prism/commit/4334f0775b
2023-10-13[ruby/prism] Use current_string to handle escapes in string literalsKevin Newton
https://github.com/ruby/prism/commit/d912d48104
2023-10-13[ruby/prism] Use current_string to handle %IKevin Newton
https://github.com/ruby/prism/commit/831d5f4b45
2023-10-13[ruby/prism] Use current_string for handling %W listsKevin Newton
https://github.com/ruby/prism/commit/edb1674725
2023-10-13[ruby/prism] Extract out string handling for %W listsKevin Newton
https://github.com/ruby/prism/commit/dba9bd6b1f
2023-10-13[ruby/prism] Use current_string to handle %i escapesKevin Newton
https://github.com/ruby/prism/commit/9c90d0a777
2023-10-13[ruby/prism] Use current_string to handle %w escapesKevin Newton
https://github.com/ruby/prism/commit/b8420ea7ae
2023-10-13[ruby/prism] Strip out old char unescapingKevin Newton
https://github.com/ruby/prism/commit/27ca207ab3
2023-10-13[ruby/prism] Handle remaining escape sequences for character literalsKevin Newton
https://github.com/ruby/prism/commit/ba33607034
2023-10-13[ruby/prism] Track current_string to pass forward for character literalsKevin Newton
https://github.com/ruby/prism/commit/be1d8ae8bb
2023-10-13[ruby/prism] Skip tests that are currently failingKevin Newton
https://github.com/ruby/prism/commit/23b2336148
2023-10-13[ruby/prism] Fix escaped 8 and escaped 9Kevin Newton
https://github.com/ruby/prism/commit/c3a46e2de5
2023-10-13[ruby/prism] More thoroughly test unescapesKevin Newton
https://github.com/ruby/prism/commit/e86196dde6
2023-10-13[PRISM] Add --dump=prism mode (#8643)Jemma Issroff
2023-10-13[PRISM] Compile fixes (#8644)Jemma Issroff
* Fix compiling UndefNodes * Fix compiling super on ClassNode * Fix compile popped for ModuleNode * Add checks for NULL nodes * Only add newhash if not popped
2023-10-13Ignore the failures of CodeQLTakashi Kokubun
It randomly fails like this: https://github.com/ruby/ruby/actions/runs/6510372995/job/17683918027 and we don't want to pay for and use a larger runner for the job that only generates false positives most of the time.
2023-10-14disable MN schedulers for some platformsKoichi Sasada
* on `__EMSCRIPTEN__` provides epoll* declarations, but no implementations. * on `NON_SCALAR_THREAD_ID`, now we can not debug issues on x390s/Ubuntu so skip it. x390s/RHEL works fine, so I think we can remove second limitation but I could not login to it so it seems hard to debug now.
2023-10-13YJIT: Fallback opt_getconstant_path for const_missing (#8623)Takashi Kokubun
* YJIT: Fallback opt_getconstant_path for const_missing * Fix a comment [ci skip] * Remove a wrapper function
2023-10-13YJIT: Fix argument clobbering in some block_arg+rest_param calls (#8647)Alan Wu
Previously, for block argument callsites with some specific argument count and callee local variable count combinations, YJIT ended up writing over arguments that are supposed to be collected into a rest parameter array unmodified. Detect when clobbering would happen and avoid it. Also, place the block handler after the stack overflow check, since it writes to new stack space. Reported-by: Takashi Kokubun <takashikkbn@gmail.com>
2023-10-13Only ruby/ruby repository runs on macos-arm-oss [ci skip]Nobuyoshi Nakada
2023-10-13Ignore duplicated warning with native extensionHiroshi SHIBATA
2023-10-13Fix wrong gem nameHiroshi SHIBATA
2023-10-13Ignore warning on LoadError when running under BundlerHiroshi SHIBATA
2023-10-13Added recovery instructions for RubyGemsHiroshi SHIBATA
2023-10-13Surpressing double warningsHiroshi SHIBATA
2023-10-13Warn only LoadError without Bundler environmentHiroshi SHIBATA
2023-10-13Removed examples for warning bundled gemsHiroshi SHIBATA
2023-10-13Move additional warnings for Gem author under Gem::BUNDLED_GEMS.Hiroshi SHIBATA
2023-10-13Move path normalization into Gem from Bundler classHiroshi SHIBATA
2023-10-13Dont't handle inline GemfileHiroshi SHIBATA
2023-10-13Use Gem::BUNDLED_GEMS.warning? at Bundler.setupHiroshi SHIBATA
2023-10-13use `uint32_t` instead of `__uint32_t`Koichi Sasada
2023-10-13Remove paths-ignore from required status checks (#8646)Takashi Kokubun
2023-10-13fix `native_thread_destroy()` timingKoichi Sasada
With M:N thread scheduler, the native thread (NT) related resources should be freed when the NT is no longer needed. So the calling `native_thread_destroy()` at the end of `is will be freed when `thread_cleanup_func()` (at the end of Ruby thread) is not correct timing. Call it when the corresponding Ruby thread is collected.
2023-10-13[Bug #19919] Warn class variable assignment and constant declaration in ↵yui-knk
condition
2023-10-12Avoid duplicating a --repeat-count=2 jobTakashi Kokubun
--repeat-count=2 jobs are generally too slow for no good reason. It doesn't seem related to testing the universal parser either.
2023-10-12Update default gems list at 3aba21511b37723b5212e44429f5e8 [ci skip]git
2023-10-12[ruby/irb] Bump version to 1.8.2Stan Lo
https://github.com/ruby/irb/commit/47693a2213
2023-10-13Use `lex_eol` macrosNobuyoshi Nakada
2023-10-13[Bug #19924] Source code should be unsigned char streamNobuyoshi Nakada
Use `peekc` or `nextc` to fetch the next character, instead of reading from `lex.pcur` directly, for compilers that plain char is signed.
2023-10-13disable MN scheduler on !`USE_MN_THREADS`Koichi Sasada
2023-10-12[ruby/irb] Fix require path completion disturbing string methodtomoya ishida
completion (https://github.com/ruby/irb/pull/726) https://github.com/ruby/irb/commit/e42dc74ce0
2023-10-13Use `sysconf()` to get PAGE_SIZEKoichi Sasada
Some systems use not 4096 page size (64KB for example).
2023-10-12[ruby/prism] Fix parsing symbols in strings after labelsHaldun Bayhantopcu
https://github.com/ruby/prism/commit/e16531650d
2023-10-12[ruby/prism] Increase the depth for the For node index variableMatt Valentine-House
In CRuby's parser locals in for nodes appear deeper in the ast than they do in Prism, but we can fix that with a transparent scope https://github.com/ruby/prism/commit/460187f41e
2023-10-13describe the assumption for Range#overlap?.Tanaka Akira
Range#overlap? assumes that there is no minimum value. This assumption makes +(...-Float::INFINITY).overlap?((...-Float::INFINITY))+ returns true while +(...-Float::INFINITY)+ is empty.