aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Delete a macro that has never been used, probably added by mistakeNobuyoshi Nakada2023-07-141-7/+0
|
* Sort by URL [ci skip]Kazuhiro NISHIYAMA2023-07-141-1/+1
|
* Tighten Time.new(string) parsingJeremy Evans2023-07-132-1/+25
| | | | | | | | | | | Disallow: * Only year-month * Only year-month-day * Preceding whitespace * Trailing whitespace Fixes [Bug #19293]
* YJIT: Make ratio_in_yjit always available (#8064)Takashi Kokubun2023-07-138-34/+30
|
* Fix a CI failure on rbsTakashi Kokubun2023-07-131-1/+1
| | | | This commit applies https://github.com/ruby/rbs/pull/1374.
* Don't pass array into ary_heap_allocPeter Zhu2023-07-131-13/+9
| | | | | We no longer need a reference to the array when allocating the buffer because we no longer allocate through the transient heap.
* Remove unused references to the transient heapPeter Zhu2023-07-135-10/+0
|
* Remove RARRAY_CONST_PTR_TRANSIENTPeter Zhu2023-07-1311-79/+59
| | | | RARRAY_CONST_PTR now does the same things as RARRAY_CONST_PTR_TRANSIENT.
* Remove RARRAY_PTR_USE_TRANSIENTPeter Zhu2023-07-133-32/+22
| | | | RARRAY_PTR_USE now does the same things as RARRAY_PTR_USE_TRANSIENT.
* Remove rb_array_ptr_use_{start,end}Peter Zhu2023-07-131-52/+5
|
* [ruby/irb] Unpend RDoc dialog related testsStan Lo2023-07-131-10/+22
| | | | | | | | | | | | | | | (https://github.com/ruby/irb/pull/640) * Unpend rdoc dialog tests Without these tests, we don't have any coverage on autocompletion's rdoc dialog, which is what caused #638 to happen. * Pull ri doc on CI for the doc dialog test * Assert different screen result on CI and local machine https://github.com/ruby/irb/commit/3ac96be660
* Remove unused forward declarationsMatt Valentine-House2023-07-131-23/+0
|
* Set backtrace length limit at lastNobuyoshi Nakada2023-07-132-1/+11
| | | | | Command line options should have higher precedence than the same options in shebang and `RUBYOPT`.
* Preserve already set options in `moreswitches`Nobuyoshi Nakada2023-07-131-15/+20
|
* Shrink `ruby_cmdline_options_t` a bitNobuyoshi Nakada2023-07-132-9/+15
|
* [Feature #19730] Remove transient heapPeter Zhu2023-07-1316-1701/+16
|
* [DOC] Add parenthetical to explain what FIFO abbrev meansShane Becker2023-07-131-2/+2
|
* [ruby/getoptlong] [DOC] Add spaces to fix formatting in exampleB. Burt2023-07-131-1/+1
| | | | | | | To make the example code verbatim. Fixes ruby/ruby#8061 https://github.com/ruby/getoptlong/commit/85fe502916
* [DOC] Removed redundant `the`Hiroshi SHIBATA2023-07-132-4/+4
|
* Let `[DOC]` in PR title skip CIsNobuyoshi Nakada2023-07-1314-14/+84
|
* [Feature #19757] Add new API `rb_data_define`Nobuyoshi Nakada2023-07-135-0/+216
|
* Store object age in a bitmapMatt Valentine-House2023-07-136-112/+86
| | | | | | | | | | | | | | | | | | Closes [Feature #19729] Previously 2 bits of the flags on each RVALUE are reserved to store the number of GC cycles that each object has survived. This commit introduces a new bit array on the heap page, called age_bits, to store that information instead. This patch still reserves one of the age bits in the flags (the old FL_PROMOTED0 bit, now renamed FL_PROMOTED). This is set to 0 for young objects and 1 for old objects, and is used as a performance optimisation for the write barrier. Fetching the age_bits from the heap page and doing the required math to calculate if the object was old or not would slow down the write barrier. So we keep this bit synced in the flags for fast access.
* [DOC] Fix example code indentation from 3 to 2Shane Becker2023-07-131-6/+6
|
* Move bsearch test with Bigdecimal under the test_bigdecimal.rbHiroshi SHIBATA2023-07-132-4/+6
| | | | | When we extract bigdecimal as bundled gems, this test will be failed with `make test-all`.
* Wait for sleepr thread to finish not to leakNobuyoshi Nakada2023-07-131-1/+1
|
* [rubygems/rubygems] Don't run any git commands when sorting and comparing ↵David Rodríguez2023-07-132-13/+26
| | | | | | | | | | | | | | | | | | | | | | | | git sources Previously, when sorting and comparing git Gemfile vs lockfile sources during `bundler/setup` to figure out whether we need to re-resolve or not, we would try to find the default branch if nothing more specific was specified in the Gemfile. If the git cache has been deleted thought, that would fail. The error would still be swallowed (and the branch would simply not be displayed), but trying to clone would still generate the side effect of creating the parent folder for the clone. That could affect non-writable systems that don't expect `bundler/setup` to write to the filesystem at all. To fix this, override `Bundler::Source::Git#identifier` to use exclusively static information, so it does not even try to clone the repo nor generate any side effects. https://github.com/rubygems/rubygems/commit/582eb2ef39
* [rubygems/rubygems] Dont't use Bundler::VERSIONHiroshi SHIBATA2023-07-131-2/+6
| | | | https://github.com/rubygems/rubygems/commit/46cd9be69a
* [rubygems/rubygems] restart with BUNDLE_VERSION if it's specifiedHiroshi SHIBATA2023-07-132-13/+19
| | | | https://github.com/rubygems/rubygems/commit/57cfe7cf8d
* [rubygems/rubygems] Introduce bundle config set version featureHiroshi SHIBATA2023-07-135-5/+48
| | | | https://github.com/rubygems/rubygems/commit/c431a1df52
* [rubygems/rubygems] Remove unused variableDavid Rodríguez2023-07-131-2/+0
| | | | https://github.com/rubygems/rubygems/commit/802457b0a1
* Update default gems list at 7f9c2a9bdd06a925247297b4697260 [ci skip]git2023-07-131-1/+1
|
* [ruby/irb] Bump version to 1.7.3Stan Lo2023-07-131-1/+1
| | | | | | (https://github.com/ruby/irb/pull/639) https://github.com/ruby/irb/commit/621c8c2b7d
* Remove an unused `#if 0` codeTakashi Kokubun2023-07-121-12/+0
|
* [ruby/irb] Correct preferred_dialog_height's callerStan Lo2023-07-121-1/+1
| | | | | | | | (https://github.com/ruby/irb/pull/638) The caller should be the dialog itself, not Reline. https://github.com/ruby/irb/commit/418c2b945e
* YARP resync (#8059)Jemma Issroff2023-07-125-26/+141
|
* [ruby/etc] Declare `getlogin` even if unistd.h is not availableNobuyoshi Nakada2023-07-121-2/+1
| | | | | | | Although MinGW provides this header but not the function, Windows version ruby provides the function. https://github.com/ruby/etc/commit/f7fa1884fa
* [ruby/openssl] [DOC] remove top-level example forKazuki Yamaguchi2023-07-121-39/+0
| | | | | | | | | | | | | | | | | | | OpenSSL::Cipher#pkcs5_keyivgen (https://github.com/ruby/openssl/pull/647) OpenSSL::Cipher#pkcs5_keyivgen should only be used when it is absolutely necessary for compatibility with ancient applications. Having an example can be misleading. We already have another example for OpenSSL::Cipher in which PBKDF2 is used to derive a key. As described in the rdoc of OpenSSL::Cipher#pkcs5_keyivgen, it is compatible with PKCS#5 PBES1 (PKCS#5 v1.5) only when used in combination of a hash function MD2, MD5, or SHA-1, and a cipher DES-CBC or RC2-CBC. This example uses MD5 as the hash function and combines it with AES. This is considered insecure and also using a non-standard technique to derive longer keys. https://github.com/ruby/openssl/commit/e379cc0cca
* [ruby/openssl] Add support for raw private/public keysRyo Kajiwara2023-07-122-0/+171
| | | | | | | | | | | | | | | (https://github.com/ruby/openssl/pull/646) Add OpenSSL::PKey.new_raw_private_key, #raw_private_key and public equivalents. These methods are useful for importing and exporting keys that support "raw private/public key". Currently, OpenSSL implements X25519/X448 and Ed25519/Ed448 keys. [rhe: rewrote commit message] https://github.com/ruby/openssl/commit/3f29525618 Co-authored-by: Bart de Water <bartdewater@gmail.com>
* sync_default_gems.rb: ensure that commit messages end with \nKazuki Yamaguchi2023-07-121-0/+1
| | | | | | | Commit messages written on GitHub's Web UI apparently use \r\n as a line separator and do not have a \n at the end of message, unlike those normally made with the git CLI. This breaks the expectation of the regexps used later.
* [ruby/etc] Chec if the target file exists, not "depend" fileNobuyoshi Nakada2023-07-121-7/+9
| | | | https://github.com/ruby/etc/commit/b95ddef386
* [ruby/etc] Fix for srcdir with spacesNobuyoshi Nakada2023-07-121-2/+8
| | | | | | | Fixes https://github.com/ruby/etc/pull/22. Build failure when the ruby installed directory name contains spaces. https://github.com/ruby/etc/commit/1ab19d5815
* [ruby/etc] Declare `getlogin` only if unistd.h is not availableNobuyoshi Nakada2023-07-121-2/+4
| | | | https://github.com/ruby/etc/commit/365398ea47
* Add comment to testPeter Zhu2023-07-121-0/+3
| | | | Add comment for 7299c8c0f165247853fac2fe337e7c2678e653c9.
* [rubygems/rubygems] Update GitHub organization of Standard RubyKoichi ITO2023-07-122-2/+2
| | | | | | | | | | | | ## What was the end-user or developer problem that led to this PR? The old URL https://github.com/testdouble/standard is mentioned. ## What is your fix for the problem, implemented in this PR? This PR updates to the new URL https://github.com/standardrb/standard. https://github.com/rubygems/rubygems/commit/eeafba72fc
* Revert previous commit [ci skip]Nobuyoshi Nakada2023-07-121-3/+3
| | | | | | This reverts commit 074bf01e13db1ac0407786a3bc1b85c13135fd36, "Test `Comparable#clamp` with inverse arguments as well as a Range". The test is already in another method.
* Test `Comparable#clamp` with inverse arguments as well as a RangeNobuyoshi Nakada2023-07-121-3/+3
|
* Refactor COLLECT_USAGE_INSNTakashi Kokubun2023-07-111-19/+15
|
* Skip a flaky test for RJITTakashi Kokubun2023-07-111-2/+3
|
* Remove obsoleted USE_INSNS_COUNTER macro for nowTakashi Kokubun2023-07-112-37/+1
| | | | | I don't use that these days. I'd like to remove this to ease a change I'm writing. I'll resurrect this when I need this again.
* Try to fix flaky GC testPeter Zhu2023-07-111-2/+5
| | | | | assert_not_nil could allocate objects which may trigger the major GC, so don't run the assertions until the major GC has been ran.