summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-06[ruby/rdoc] Allow spaces around pipesNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/3b3a583580
2022-10-06[ruby/rdoc] Allow escaped pipes in cellsNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/333952a62d
2022-10-06[ruby/rdoc] Allow leading pipes to be ommittedNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/d263a2c9c4
2022-10-06[ruby/rdoc] Allow trailing pipes to be ommittedNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/1318048877
2022-10-06[Bug #19038] Fix corruption of generic_iv_tbl when compactingPeter Zhu
When the generic_iv_tbl is resized up, rebuild_table performs allocations that can trigger GC. If autocompaction is enabled, then moved objects are removed from and inserted into the generic_iv_tbl. This may cause another call to rebuild_table to resize the generic_iv_tbl. When returning back to the original rebuild_table, some of the data may be stale, causing the generic_iv_tbl to be corrupted. This commit changes rebuild_table to only read data from the st_table after the allocations have completed. Co-Authored-By: Matt Valentine-House <matt@eightbitraptor.com> Notes: Merged: https://github.com/ruby/ruby/pull/6494
2022-10-06Introduce `Fiber.blocking{}` for bypassing the fiber scheduler. (#6498)Samuel Williams
Notes: Merged-By: ioquatix <samuel@codeotaku.com>
2022-10-06[ruby/rdoc] Allow RDoc markups in table cellsNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/b16d3f1727
2022-10-06[ruby/rdoc] Add `RDoc::Markup::ToHtml#accept_table` testNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/0cb3df713b
2022-10-06* remove trailing spaces. [ci skip]git
2022-10-06[ruby/open-uri] fix: added test case that validates that bad TLS version is ↵Nishant Patel
silently ignored https://github.com/ruby/open-uri/commit/4b91b11730
2022-10-06[ruby/open-uri] feat: allow option to pass version of SSL / TLS to use ↵Nishant Patel
during communication. Allow versions are OpenSSL::SSL::SSLContext::METHODS https://github.com/ruby/open-uri/commit/8729858517
2022-10-06[ruby/open-uri] Use omit instead of skip for test-unitHiroshi SHIBATA
https://github.com/ruby/open-uri/commit/63f466d6ed
2022-10-06[ruby/open-uri] Run global constant count test only under Ruby 3.2Hiroshi SHIBATA
https://github.com/ruby/open-uri/commit/a8f1605ae9
2022-10-06[ruby/open-uri] Avoid busting the global constant cacheJean Boussier
`Object#extend(mod)` bump the global constant cache if the module has constants of its own. So by moving these constants outside of `Meta` we avoid bumping the cache. https://github.com/ruby/open-uri/commit/363c399bac
2022-10-06[ruby/rdoc] Remove unused abbrev requireDaniel Colson
This library originally used `abbrev` to expand abbreviations into fully-qualified classes, but that was replaced in https://github.com/ruby/rdoc/commit/f9ffe6684e2afeac65c62bf1a5a2fce729f21001 `abbrev` is no longer used anywhere, so this commit removes the require. https://github.com/ruby/rdoc/commit/b76775f27d
2022-10-06[rubygems/rubygems] Fix little UI issue when bundler shows duplicated gems ↵David Rodríguez
in a list https://github.com/rubygems/rubygems/commit/3f71d882e9
2022-10-05[DOC] Remove unknown markup or macro [ci skip]Nobuyoshi Nakada
Also remove the ancient word "Windows NT".
2022-10-05[ruby/irb] Fixed sort of variables in completionImir Kiyamov
https://github.com/ruby/irb/commit/5842888255
2022-10-05[ruby/irb] Add description of IRB_LANG, IRBRC, and XDG_CONFIG_HOME to manKouhei Yanagita
https://github.com/ruby/irb/commit/564bd91387
2022-10-05[ruby/irb] Update remark of self.install_extend_commands.Kaíque Kandy Koga
Create line https://github.com/ruby/irb/commit/64d6a461d5
2022-10-05[ruby/irb] Use USE_REIDLINE for backword compatibilityHiroshi SHIBATA
https://github.com/ruby/irb/commit/e58a3c1b39
2022-10-05Mentioned removing libffi sources from fiddleHiroshi SHIBATA
2022-10-05Removed the related files for downloading with extlibsHiroshi SHIBATA
2022-10-05[ruby/irb] Rename IDB::ReidlineInputMethod to IRB::RelineInputMethodGannon McGibbon
Deprecates IDB::ReidlineInputMethod and USE_REIDLINE in favor of IRB::RelineInputMethod and USE_RELINE. The Input method uses Reline to read input from the console, so it can be named directly after the Reline library like other inputs methods are (Readline, Stdio, etc.). https://github.com/ruby/irb/commit/5bcade7130
2022-10-05Update default gems list at 203b8310655ac8a67de2c5b2bd7afa [ci skip]git
2022-10-05[ruby/irb] Bump version to 1.4.2st0012
https://github.com/ruby/irb/commit/f9960dbd37
2022-10-05[ruby/irb] Added aycabta to authorsHiroshi SHIBATA
https://github.com/ruby/irb/commit/a6bfa7b2e6
2022-10-04YJIT: add support for calling bmethods (#6489)Alan Wu
* YJIT: fix a parameter name * YJIT: add support for calling bmethods This commit adds support for the VM_METHOD_TYPE_BMETHOD method type in YJIT. You can get these type of methods from facilities like Kernel#define_singleton_method and Module#define_method. Even though the body of these methods are blocks, the parameter setup for them is exactly the same as VM_METHOD_TYPE_ISEQ, so we can reuse the same logic in gen_send_iseq(). You can see this from how vm_call_bmethod() eventually calls setup_parameters_complex() with arg_setup_method. Bmethods do need their frame environment to be setup differently. We handle this by allowing callers of gen_send_iseq() to control the iseq, the frame flag, and the prev_ep. The `prev_ep` goes into the same location as the block handler would go into in an iseq method frame. Co-authored-by: John Hawthorn <john@hawthorn.email> Co-authored-by: John Hawthorn <john@hawthorn.email> Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2022-10-04[DOC] Adding remarks about HTML and tables (#6485)Burdette Lamar
* Adding remarks about HTML and tables Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2022-10-04[Bug #19028] Suppress GCC 12 `-Wuse-after-free` false warningNobuyoshi Nakada
GCC 12 introduced a new warning flag `-Wuse-after-free`, however it has a false positive at `realloc` when optimization is disabled, since the memory requested for reallocation is guaranteed to not be touched. This workaround is very unclear why the false warning is suppressed by a statement-expression GCC extension. Notes: Merged: https://github.com/ruby/ruby/pull/6487
2022-10-04Update bundled gems list at 2022-10-04git
2022-10-04Correcting example for swapcase! methodVaevictusnet
Example, line 3, swapcase! was incorrect. implied that the swapcase! did /not/ change the starting string. Notes: Merged: https://github.com/ruby/ruby/pull/6474
2022-10-04[rubygems/rubygems] Make sure RSpec diffs don't omit the different partDavid Rodríguez
We sometimes check assertions on lockfile contents, which involves comparing a reasonably long string. Sometimes RSpec is not able to show the part of the string that's actually different, making it hard to figure out the issue. Configuring this setting should fix the issue in most cases. https://github.com/rubygems/rubygems/commit/5ad8ee499e
2022-10-03Split cmp operations that aren't 32/64 bit for arm (#6484)Jimmy Miller
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2022-10-03Cannot `define` from defined `Data` class againNobuyoshi Nakada
2022-10-03Remove an unused macro [ci skip]Nobuyoshi Nakada
2022-10-03[Bug #19034] No runtime check for `utimensat` if unavailableNobuyoshi Nakada
2022-10-03[rubygems/rubygems] Copy template contents instead of file and permsVictor Gama
This allows the file to be created without copying permissions from Bundler's installation source. The previous behaviour was noticed after installing Ruby through brew, and using bundle init, which yielded a read-only Gemfile. https://github.com/rubygems/rubygems/commit/839a06851d
2022-10-03[rubygems/rubygems] Revert "Cleaup unnecessary code"David Rodríguez
Unclear why, but https://github.com/rubygems/rubygems/commit/2e05dadbc5de created some warnings in ruby-core CI, so let's revert it. https://github.com/rubygems/rubygems/commit/729ce3a6e1
2022-10-03Mark struct METHOD->owner for the GCBenoit Daloze
* Fixes https://github.com/ruby/ruby/commit/6b7d32a5e5 * See [Bug #18729]
2022-10-03[ruby/irb] Remove unused errorst0012
https://github.com/ruby/irb/commit/f09a1874b6
2022-10-03[ruby/irb] Remove unnecessary Thread presence checkst0012
They were introduced around 20 years ago, when Thread is not yet stabilized. So we don't need them anymore. https://github.com/ruby/irb/commit/4c75e03b2b
2022-10-03[ruby/irb] Change to explicit method call in completion ↵osyo-manga
(https://github.com/ruby/irb/pull/369) Ensure that methods are called even when local variables are defined. see: https://github.com/ruby/irb/issues/368 https://github.com/ruby/irb/commit/c34d54b8bb
2022-10-03[ruby/irb] Remove patches for Ruby 2.4st0012
They were added in https://github.com/ruby/irb/commit/b34f26a0dd3b589e6fc321a6248d173682c9202f https://github.com/ruby/irb/commit/0e760d2674
2022-10-03[ruby/irb] Remove unnecessary conditionst0012
https://github.com/ruby/irb/commit/daffb8bfe5
2022-10-03[ruby/irb] Refactor ripper_lex_without_warningst0012
https://github.com/ruby/irb/commit/0db0a8ddc5
2022-10-02[DOC] RDoc changes for IO (#6458)Burdette Lamar
Moves Expect library doc into io.c. Changes certain links to local sections, now pointing to sections in doc/io_streams.rdoc. Removes local sections now superseded by sections in doc/io_streams.rdoc. Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2022-10-02CodeQL slowness on syntax_suggest fixed at 2.10.5Nobuyoshi Nakada
This reverts commit d152ac677cffdbc136530dd56a56c42518d29ea4, "Make CodeQL ignore syntax_suggest because of the performance problem". Probably all instances seem to already have updated to 2.10.5 now.
2022-10-02[Bug #16909] Honor the tool prefix against pkg-configNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6482
2022-10-02Also the tests should use the configured pkg-configNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6482