summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Allow passing a Rust closure to rb_iseq_callback (#6575)Takashi Kokubun2022-10-188-16/+33
|
* [DOC] Link to packed data doc (#6567)Burdette Lamar2022-10-182-290/+12
| | | | | | | | | | | | | | | | | * Link to packed data doc * Update pack.rb Co-authored-by: Peter Zhu <peter@peterzhu.ca> * Update pack.rb Co-authored-by: Peter Zhu <peter@peterzhu.ca> * Update pack.rb Co-authored-by: Peter Zhu <peter@peterzhu.ca> Co-authored-by: Peter Zhu <peter@peterzhu.ca>
* Ignore manual files only commits [ci skip]Nobuyoshi Nakada2022-10-1813-0/+54
|
* sync_default_gems.rb: fold too long subject [ci skip]Nobuyoshi Nakada2022-10-181-10/+24
| | | | | | | Line with substituted issue references with URLs are often very long. Although Git (and GitHub) recommends folding subject lines less than 50 columns, but many commits ignore this, so fold at 68 columns for now.
* Update default gems list at dffca50bb609661f04660221834c48 [ci skip]git2022-10-181-0/+1
|
* [ruby/fiddle] Free closures immediatelyAaron Patterson2022-10-181-0/+2
| | | | | | | | | (https://github.com/ruby/fiddle/pull/109) These structs don't need to be freed as part of finalization, so lets free them immediately. https://github.com/ruby/fiddle/commit/8a10ec1152
* [ruby/fiddle] Add support for linker script on LinuxSutou Kouhei2022-10-182-1/+64
| | | | | | | | GitHub: fix https://github.com/ruby/fiddle/pull/107 Reported by nicholas a. evans. Thanks!!! https://github.com/ruby/fiddle/commit/49ea1490df
* [ruby/fiddle] Fix filenames for glibc SO files on alpha and ia64John Paul Adrian Glaubitz2022-10-181-2/+8
| | | | | | | | (https://github.com/ruby/fiddle/pull/105) Fixes [Bug #18645] https://github.com/ruby/fiddle/commit/9a5a1dab1d
* [ruby/fiddle] Bump versionSutou Kouhei2022-10-181-1/+1
|
* fiddle: use the old rb_ary_tmp_new() aliasNobuyoshi Nakada2022-10-181-1/+1
| | | | | Fiddle is a gem and has the external upstream which supports older versions of Ruby.
* [rubygems/rubygems] Bundler: github DSL has used https protocol over gitTakuya Noguchi2022-10-1830-31/+31
| | | | | | | | | | This behavior change was done in Bundler 2.2.0. https://github.com/rubygems/bundler/pull/7142 Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com> https://github.com/rubygems/rubygems/commit/9510190be1
* Merge RubyGems/Bundler masterHiroshi SHIBATA2022-10-1845-687/+613
| | | | https://github.com/rubygems/rubygems/commit/6214d00b2315ed37c76b1fbc1c72f61f92ba5a65
* [rubygems/rubygems] TestGemSecuritySigner#test_sign: Correct the expectation ↵Jarek Prokop2022-10-181-6/+6
| | | | | | for new cert. https://github.com/rubygems/rubygems/commit/bed360410d
* [rubygems/rubygems] TestGemSecurity#test_class_re_sign: Correct signature ↵Jarek Prokop2022-10-181-1/+1
| | | | | | algorithm. https://github.com/rubygems/rubygems/commit/e2d533591c
* [rubygems/rubygems] Set Subject Key Identifier in test to correspond to the ↵Jarek Prokop2022-10-181-4/+4
| | | | | | new certificate. https://github.com/rubygems/rubygems/commit/3a607f43d1
* [rubygems/rubygems] Materialize platforms strictly on Windows tooDavid Rodríguez2022-10-181-2/+5
| | | | https://github.com/rubygems/rubygems/commit/ab11545f80
* [rubygems/rubygems] Remove unnecessary receiverDavid Rodríguez2022-10-181-1/+1
| | | | https://github.com/rubygems/rubygems/commit/ba9d9b1890
* [rubygems/rubygems] Remove unnecessary genericDavid Rodríguez2022-10-181-1/+0
| | | | | | | I didn't realize how the `Bundler::GemHelpers.generic` method works when I added this. It already matches this and other java platforms properly. https://github.com/rubygems/rubygems/commit/5f0f0c678c
* [rubygems/rubygems] Fix bad spec wordingDavid Rodríguez2022-10-181-1/+1
| | | | https://github.com/rubygems/rubygems/commit/06faad1e05
* [rubygems/rubygems] Extract matcher for slow perf specDavid Rodríguez2022-10-182-7/+13
| | | | https://github.com/rubygems/rubygems/commit/1c0eb63c6a
* [rubygems/rubygems] Simplify fetching spec group dependenciesDavid Rodríguez2022-10-181-4/+1
| | | | https://github.com/rubygems/rubygems/commit/62c2edd255
* [rubygems/rubygems] Simplify SpecGroup creationDavid Rodríguez2022-10-183-14/+11
| | | | https://github.com/rubygems/rubygems/commit/788e46e152
* [rubygems/rubygems] Inline helper methodDavid Rodríguez2022-10-181-8/+3
| | | | https://github.com/rubygems/rubygems/commit/e60459d6b6
* [rubygems/rubygems] Use `flat_map`David Rodríguez2022-10-181-4/+2
| | | | https://github.com/rubygems/rubygems/commit/b31308fb4c
* [rubygems/rubygems] Remove one more `expand_dependencies` callDavid Rodríguez2022-10-181-2/+2
| | | | https://github.com/rubygems/rubygems/commit/996fd81871
* [rubygems/rubygems] Remove now unnecessary parameter to `expand_dependencies`David Rodríguez2022-10-181-4/+3
| | | | | | We just call it once for resolution, so we can simplify things. https://github.com/rubygems/rubygems/commit/99c144fbe3
* [rubygems/rubygems] Remove another `expand_dependencies` instanceDavid Rodríguez2022-10-181-3/+2
| | | | https://github.com/rubygems/rubygems/commit/33769ddb07
* [rubygems/rubygems] Remove another unnecessary dependency expansionDavid Rodríguez2022-10-181-1/+1
| | | | https://github.com/rubygems/rubygems/commit/b4a0fcd2d2
* [rubygems/rubygems] Avoid unnecessary dependency expansionDavid Rodríguez2022-10-181-2/+1
| | | | https://github.com/rubygems/rubygems/commit/426748ed06
* [rubygems/rubygems] Remove unused parameter to `SharedHelpers.pretty_dependency`David Rodríguez2022-10-183-5/+4
| | | | https://github.com/rubygems/rubygems/commit/665051d085
* [rubygems/rubygems] Remove dead codeDavid Rodríguez2022-10-181-12/+1
| | | | https://github.com/rubygems/rubygems/commit/999b644708
* [ruby/irb] Assert lvars_code doesn't include \nTakashi Kokubun2022-10-181-3/+3
| | | | | | | | | Removing /\A.+\n/ could have an unexpected impact, depending on how RubyLex.generate_local_variables_assign_code is implemented. It feels like a too much assumption and the intention isn't immediately clear, so I added these changes. https://github.com/ruby/irb/commit/ccc07a35ce
* [ruby/irb] Always use local variables in current context to parse code ↵tomoya ishida2022-10-189-28/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (https://github.com/ruby/irb/pull/397) * Use local_variables for colorize, code_block_open check, nesting_level and assignment_expression check * Check if expression is an assignment BEFORE evaluating it. evaluate might define new localvars and change result of assignment_expression? * Add local_variables dependent code test * pend local variable dependent test on truffleruby code_block_open is not working on truffleruby * Always pass context to RubyLex#lex * Rename local_variable_assign_code generator method name * Add assignment expression truncate test * Add Context#local_variables and make generate_local_variables_assign_code more simple * Update lib/irb/input-method.rb Co-authored-by: Stan Lo <stan001212@gmail.com> * Add a comment why assignment expression check should be done before evaluate https://github.com/ruby/irb/commit/c8b3877281 Co-authored-by: Stan Lo <stan001212@gmail.com> Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
* [ruby/irb] Fix code terminated check with heredoc and backtick ↵tomoya ishida2022-10-182-6/+58
| | | | | | | | | | | | | | | | | | | | | | | (https://github.com/ruby/irb/pull/390) * Fix backtick method def method call handled as backtick open * Fix handling heredoc in check_string_literal * Sort result of lexer.parse by pos in ruby<2.7. It's not sorted when the given code includes heredoc. * Update lib/irb/ruby-lex.rb Co-authored-by: Stan Lo <stan001212@gmail.com> * Update lib/irb/ruby-lex.rb Co-authored-by: Stan Lo <stan001212@gmail.com> * Add check_string_literal test for heredoc code that does not end with newline https://github.com/ruby/irb/commit/44bc712460 Co-authored-by: Stan Lo <stan001212@gmail.com>
* ruby/ruby-commit-hook has been renamed [ci skip]Takashi Kokubun2022-10-172-2/+2
| | | | to ruby/git.ruby-lang.org
* sync_default_gems.rb: fix links to GitHub issuesNobuyoshi Nakada2022-10-181-3/+6
| | | | | - Substitute `GH-xxxx` which does not contain `#` too. - Split each substitutions.
* [Bug #19042] Fix Dir.glob brace with '/'Hiroshi Shirosaki2022-10-182-1/+15
| | | | | | | | Dir.glob brace pattern with '/' after '**' does not match paths in recursive expansion process. We expand braces with '/' before expanding a recursive. Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
* Try --x-use-aria2 for better retries (#6574)Takashi Kokubun2022-10-171-1/+1
| | | | | | | | to possibly deal with failures like https://ci.appveyor.com/project/ruby/ruby/builds/45097615. I'm not sure how vcpkg retries things, but at least aria2c seems to attempt downloads 5 times by default. https://aria2.github.io/manual/en/html/aria2c.html Looking at the CI log, vcpkg might be already trying it 5 times, but let me give it a try too.
* Simplified rb_obj_copy_ivar implementationJemma Issroff2022-10-171-24/+8
|
* Fix an outdated notification messageTakashi Kokubun2022-10-171-1/+1
| | | | https://github.com/ruby/ruby/commit/0d7292ec734d49def118959d6a80588e7c0f7a39
* [ruby/irb] Remove unnecessary coloring support checkst00122022-10-171-30/+17
| | | | https://github.com/ruby/irb/commit/ddd7dbe2c5
* YJIT: Allow --yjit-dump-disasm to dump into a file (#6552)Takashi Kokubun2022-10-174-29/+40
| | | | | | | * YJIT: Allow --yjit-dump-disasm to dump into a file * YJIT: Move IO implementation to disasm.rs * YJIT: More consistent naming
* YJIT: Interleave inline and outlined code blocks (#6460)Takashi Kokubun2022-10-179-161/+378
| | | | Co-authored-by: Alan Wu <alansi.xingwu@shopify.com> Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>
* Make mjit_cont sharable with YJIT (#6556)Takashi Kokubun2022-10-1710-126/+159
| | | | | | | * Make mjit_cont sharable with YJIT * Update dependencies * Update YJIT binding
* YJIT: Do not call `mprotect` when `mem_size` is zero (#6563)Tatsuya Kawano2022-10-171-0/+5
| | | | | This allows x86_64 based YJIT to run on Docker Desktop on Apple silicon (arm64) Mac because it will avoid a subtle behavior difference in `mprotect` system call between the Linux kernel and `qemu-x86_64` user space emulator.
* YJIT: call free_block to cleanup block when out of memoryAlan Wu2022-10-172-5/+4
| | | | | | | The commented out instance of free_block() is left over from the port. The addition in gen_single_block() was a place we missed. The new block is allocated in the same function and could have invariants associated with it even though there is no space to hold all the code.
* Adjust indents [ci skip]Nobuyoshi Nakada2022-10-181-12/+12
|
* thread_sync.c: Clarify and document the behavior of timeout == 0Jean Boussier2022-10-174-24/+42
| | | | | | | | | | | [Feature #18982] Instead of introducing an `exception: false` argument to have `non_block` return nil rather than raise, we can clearly document that a timeout of 0 immediately returns. The code is refactored a bit to avoid doing a time calculation in such case.
* [ruby/openssl] add document-method for BN#mod_inverseBen Toews2022-10-171-0/+1
| | | | https://github.com/ruby/openssl/commit/5befde7519
* [ruby/openssl] add BN#mod_sqrtBen Toews2022-10-172-0/+14
| | | | https://github.com/ruby/openssl/commit/4619ab3e76