aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [rubygems/rubygems] Better error when having an insecure install folderDavid Rodríguez2023-11-086-31/+61
| | | | https://github.com/rubygems/rubygems/commit/e41156e272
* [rubygems/rubygems] Remove redundant error classDavid Rodríguez2023-11-081-1/+1
| | | | | | It's a `BundlerError`. https://github.com/rubygems/rubygems/commit/53ea676dab
* [rubygems/rubygems] Fix regression on old git versionsDavid Rodríguez2023-11-081-1/+9
| | | | https://github.com/rubygems/rubygems/commit/abd91ca2e5
* [rubygems/rubygems] Don't show bug report template when GEM_HOME has no ↵David Rodríguez2023-11-082-0/+43
| | | | | | | | | | | | | | | | | | | | writable bit Instead, don't check that at all and proceed. If something fails to be written inside GEM_HOME, we'll eventually fail with a proper permissions error. In addition to that, the writable bit in GEM_HOME is not even reliable, because only the immediate parent is actually checked when writing. For example, ``` $ mkdir -p foo/bar $ chmod -w foo $ touch foo/bar/baz # writes without issue ``` https://github.com/rubygems/rubygems/commit/4bced7ac73
* [rubygems/rubygems] Remove unnecessary rescueDavid Rodríguez2023-11-081-5/+0
| | | | https://github.com/rubygems/rubygems/commit/c0b549f943
* [rubygems/rubygems] Allow `--install-dir` to be specified together with ↵Vít Ondruch2023-11-082-23/+0
| | | | | | | | | | | | | | `--user-install` The combination of `install-dir` and `--user-install` used to be disabled for no good reason. This even makes problem on Linux distributions such as Fedora, where `--user-install` is set by default via operating_system.rb. The `--install-dir` is already prefered over the `--user-install` by the implementation, therefore just drop the check. https://github.com/rubygems/rubygems/commit/313b1c5e76
* [rubygems/rubygems] Don't use `util_installer` for user installVít Ondruch2023-11-081-6/+4
| | | | | | | | | | It is not nice to require install directory to be always specified, while this option is later ignored for user installed gems. Actually, the next step will be to remove `check_install_dir` check and let the install dir override the user install. https://github.com/rubygems/rubygems/commit/beb79e929f
* [rubygems/rubygems] Check for `:install_dir` precedence over `:user_install`Vít Ondruch2023-11-081-0/+13
| | | | https://github.com/rubygems/rubygems/commit/6539da07aa
* [rubygems/rubygems] Make the user installation less exceptionalVít Ondruch2023-11-082-13/+12
| | | | | | | | | | | | | The main purpose is to put handling of user installation into the same place as e.g. handling the --build-root option handling. There is no reason why the --build-root option should not prefix also paths used for user installation. Please note that the `util_installer` in `test_generate_plugins_with_user_install` enforced the `:install_dir`, which is against what user install is about. https://github.com/rubygems/rubygems/commit/0b10cb41aa
* [rubygems/rubygems] Remove kludge that should be unnecessary.Ellen Marie Dash2023-11-081-1/+1
| | | | https://github.com/rubygems/rubygems/commit/f1d44ecb62
* [rubygems/rubygems] Allow test_gem_install_update_options to raise ↵Ellen Marie Dash2023-11-081-1/+1
| | | | | | Errno::ACCES, in addition to Gem::FilePermissionError. https://github.com/rubygems/rubygems/commit/784fe2a814
* [flori/json] Enhanced RDoc for Range extensionsBurdetteLamar2023-11-081-7/+22
| | | | https://github.com/flori/json/commit/ec47749b53
* YJIT: Fix assert in OOM scenarioAlan Wu2023-11-071-1/+1
| | | | | | | | | | | We still need to do `jit.record_boundary_patch_point = false` when gen_outlined_exit() returns `None` and we return with `?`. Previously, we tripped the assert at codegen.rs:1042. Found with `--yjit-exec-mem-size=3` on the lobsters benchmark. Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>
* YJIT: Use u32 for CodePtr to save 4 bytes eachAlan Wu2023-11-0714-161/+175
| | | | | | | | | | | | | | | | We've long had a size restriction on the code memory region such that a u32 could refer to everything. This commit capitalizes on this restriction by shrinking the size of `CodePtr` to be 4 bytes from 8. To derive a full raw pointer from a `CodePtr`, one needs a base pointer. Both `CodeBlock` and `VirtualMemory` can be used for this purpose. The base pointer is readily available everywhere, except for in the case of the `jit_return` "branch". Generalize lea_label() to lea_jump_target() in the IR to delay deriving the `jit_return` address until `compile()`, when the base pointer is available. On railsbench, this yields roughly a 1% reduction to `yjit_alloc_size` (58,397,765 to 57,742,248).
* Use embedded TypedData for Time objectsPeter Zhu2023-11-072-12/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This drops the total size of a Time object from 86 bytes to 80 bytes. Running the benchmark benchmark/time_now.yml, this commit improves performance of Time.now by about 30%: ``` Time.now Branch: 13159405.4 i/s Master: 10036908.7 i/s - 1.31x slower Time.now(in: "+09:00") Branch: 2712172.6 i/s Master: 2138637.9 i/s - 1.27x slower ``` It also decreases memory usage by about 20%: ``` ary = 10_000_000.times.map { Time.now } puts `ps -o rss= -p #{$$}` ``` Branch: 961792 Master: 1196544 Co-Authored-By: Jean Boussier <byroot@ruby-lang.org>
* Implement embedded TypedData objectsPeter Zhu2023-11-073-14/+88
| | | | | | | | This commit adds a new flag RUBY_TYPED_EMBEDDABLE that allows the data of a TypedData object to be embedded after the object itself. This will improve cache locality and allow us to save the 8 byte data pointer. Co-Authored-By: Jean Boussier <byroot@ruby-lang.org>
* [PRISM] Implement compilation for different parametersJemma Issroff2023-11-072-29/+168
| | | | | | This commit compiles most parameter types, setting appropriate values on the ISEQ_BODY. It also adds tests for callers and callees of methods, using many versions of tests from bootstraptest
* YJIT: update yjit.md, add MPLR 2023 paper and bibtex (#8861)Maxime Chevalier-Boisvert2023-11-071-14/+15
| | | | | * YJIT: update yjit.md, add MPLR 2023 paper and bibtex * Update doc/yjit/yjit.md
* String for string literal is not resizableNobuyoshi Nakada2023-11-084-1/+18
|
* YJIT: Inline basic Ruby methods (#8855)Takashi Kokubun2023-11-075-4/+83
| | | | | | | * YJIT: Inline basic Ruby methods * YJIT: Fix "InsnOut operand made it past register allocation" checktype should not generate a useless instruction.
* YJIT: handle out of shape situation in gen_setinstancevariable (#8857)Jean byroot Boussier2023-11-071-1/+5
| | | | | | If the VM ran out of shape, `rb_shape_transition_shape_capa` might return `OBJ_TOO_COMPLEX_SHAPE`. Co-authored-by: Jean Boussier <byroot@ruby-lang.org>
* Update default gems list at e8ef010a8106785797f9a863df2e3a [ci skip]git2023-11-071-1/+1
|
* [ruby/reline] Bump version to 0.4.0ima1zumi2023-11-071-1/+1
| | | | | | (https://github.com/ruby/reline/pull/601) https://github.com/ruby/reline/commit/d15ab72d4f
* Suppress nonnull warning from gcc 13Nobuyoshi Nakada2023-11-071-1/+2
|
* Suppress array-bounds warnings from gcc 13Nobuyoshi Nakada2023-11-071-1/+8
|
* Ignore warnings about currently unsupported .debug_macinfoNobuyoshi Nakada2023-11-071-0/+2
|
* Select proper dsymutil for gcc 13Nobuyoshi Nakada2023-11-071-3/+9
|
* Ignore duplicate libraries warnings from gcc 13Nobuyoshi Nakada2023-11-072-2/+6
|
* [PRISM] Move Local table setup into EnsureNode compilationMatt Valentine-House2023-11-071-8/+5
|
* [PRISM] Don't generate leave insns for Ensure nodesMatt Valentine-House2023-11-071-1/+1
|
* [PRISM] CompileEnsureNodeMatt Valentine-House2023-11-073-45/+124
|
* [PRISM] PM_COMPILE into a specified LINK_ANCHORMatt Valentine-House2023-11-071-43/+43
|
* [ruby/cgi] Add snake case aliases for escapeURIComponentJean Boussier2023-11-073-0/+14
| | | | | | As agreed in [Feature #18822] https://github.com/ruby/cgi/commit/9d1161ec9d
* Added racc to warning targets of bundled gemsHiroshi SHIBATA2023-11-071-0/+1
|
* Update default gems list at 3d5fef77125a99458767c80347c01f [ci skip]git2023-11-071-0/+1
|
* [ruby/zlib] Bump up 3.1.0Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/zlib/commit/2561e122ac
* [ruby/zlib] Support Ruby 2.5+ againHiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/zlib/commit/661ea3ec5f
* Update default gems list at 123b2e2fb493618260dffca0dedbf6 [ci skip]git2023-11-071-0/+1
|
* [ruby/cgi] Bump up 0.4.0Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/cgi/commit/6ddd5fc7d7
* Update default gems list at fbb63605c4dc9d0dbff3ba819bc78d [ci skip]git2023-11-071-0/+1
|
* [ruby/pathname] Bump up 0.3.0Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/pathname/commit/f3d23679b0
* Update default gems list at b13d00a7c0e9795b4bdeaeffe2b7c2 [ci skip]git2023-11-071-0/+1
|
* [ruby/open-uri] Bump up 0.4.0Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/open-uri/commit/09df813305
* Update default gems list at 31dfebccbf758d27f7c72223434ffc [ci skip]git2023-11-071-0/+1
|
* [ruby/English] Bump up 0.8.0Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/English/commit/826ff728cf
* [ruby/English] Combine duplicate aliases into single sections to more ↵Keith R. Bennett2023-11-071-16/+2
| | | | | | clearly denote sameness and make more concise. https://github.com/ruby/English/commit/dcff090f6f
* Update default gems list at 9857499d3dc4a1777f66951e88a269 [ci skip]git2023-11-071-1/+1
|
* [ruby/fileutils] Bump up 1.7.2Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/fileutils/commit/577fd38f15
* Update default gems list at 3ac15f7e5791fb0f9307312f002286 [ci skip]git2023-11-071-0/+1
|
* [ruby/base64] Bump up 0.2.0Hiroshi SHIBATA2023-11-071-1/+1
| | | | https://github.com/ruby/base64/commit/09e839e5ad