aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * 2022-03-14 [ci skip]git2022-03-141-1/+1
|
* [rubygems/rubygems] Remove extra closing bracket in version warningPaul Kuruvilla2022-03-141-1/+1
| | | | https://github.com/rubygems/rubygems/commit/a3b9f19080
* Fix guards for unicode versions specsBenoit Daloze2022-03-132-10/+10
|
* [ruby/rdoc] Refine `pretty_print`Nobuyoshi Nakada2022-03-133-2/+7
| | | | https://github.com/ruby/rdoc/commit/acb91ea74a
* Fix conversion macro for `size_t`Nobuyoshi Nakada2022-03-131-2/+2
|
* Fix experimental Fiber::Pool definitionNobuyoshi Nakada2022-03-131-1/+1
| | | | | Toplevel `Pool` is too generic, and `struct fiber_pool` does not seem compatible with `rb_fiber_t`.
* [ruby/rdoc] Clean documents for backwards compatibilityNobuyoshi Nakada2022-03-132-5/+3
| | | | https://github.com/ruby/rdoc/commit/23e61a208e
* comment out failing Unicode/Emoji version checks temporarilyMartin Dürst2022-03-132-10/+10
|
* add some tests for Unicode Version 14.0.0Martin Dürst2022-03-132-0/+6
|
* update specs to check for Unicode Version 14.0.0/Emoji Version 14.0Martin Dürst2022-03-132-0/+12
|
* mention Unicode Version 14.0.0Martin Dürst2022-03-131-0/+2
|
* switch UNICODE_BETA back to NOMartin Dürst2022-03-131-1/+1
|
* update Unicode Version to 14.0.0 and Emoji version to 14.0Martin Dürst2022-03-134-8/+52325
|
* * 2022-03-13 [ci skip]git2022-03-131-1/+1
|
* Fix crash on GC stress and RGENGC_CHECK_MODE=2Peter Zhu2022-03-121-3/+6
| | | | | | rb_ary_reset could leave the array in a bad state since it frees memory but does not unset any flags. This can cause a crash on GC stress. This commit changes rb_ary_reset to set the array as an empty embedded array.
* Add test for protected methods on module includedJohn Hawthorn2022-03-111-0/+19
|
* Fast object is iclass checksJohn Hawthorn2022-03-111-9/+29
| | | | | | | | | | | | | | | Calling rb_obj_is_kind_of with an ICLASS returns the same result as calling it with the ICLASS's original Module. Most of the time we encounter an ICLASS here checking the validity of a protected method or super call, which we expect to return true (or raise a slow exception anyways). We can take advantage of this by performing a fast class inheritance check on the ICLASS's "includer" in hopes that it returns true. If the includer class check returns false we still have to fallback to the full inheritance chain scan for the module's inclusion, but this should be less common.
* Add rb_ary_resetPeter Zhu2022-03-111-14/+9
| | | | rb_ary_reset will free heap allocated arrays and unshare shared arrays.
* Adding guidance about characters in C-code doc (#5641)Burdette Lamar2022-03-111-0/+56
| | | Showing how to do as @nobu does -- putting doc into doc/*.rdoc instead of in *.c.
* * 2022-03-12 [ci skip]git2022-03-121-1/+1
|
* Refactor duplicate code in rb_array_replacePeter Zhu2022-03-111-12/+7
| | | | | In both cases in the if statement, we free heap allocated arrays and unshare shared arrays.
* [ruby/rdoc] Scrollable sidebarMasafumi Koba2022-03-111-0/+4
| | | | | | | This change makes the sidebar scrollable via `position: sticky` and `overflow: auto`; See also <https://caniuse.com/?search=sticky> https://github.com/ruby/rdoc/commit/4d52e24840
* Move ruby.h in `#ifdef RUBY` blockNobuyoshi Nakada2022-03-111-2/+1
| | | | Must not depend on ruby specific files in Ruby unrelated cases.
* Revert "Fast object is iclass checks"John Hawthorn2022-03-101-23/+9
| | | | This reverts commit 1b15756d24c11ed6bfddb5ae53402a071a20ea97.
* Allow interrupting regexps that backtrackJeremy Evans2022-03-101-0/+1
| | | | | | Fixes [Bug #14103] Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
* Fast object is iclass checksJohn Hawthorn2022-03-101-9/+23
| | | | | | | | | | | | | | | Calling rb_obj_is_kind_of with an ICLASS returns the same result as calling it with the ICLASS's original Module. Most of the time we encounter an ICLASS here checking the validity of a protected method or super call, which we expect to return true (or raise a slow exception anyways). We can take advantage of this by performing a fast class inheritance check on the ICLASS's "includer" in hopes that it returns true. If the includer class check returns false we still have to fallback to the full inheritance chain scan for the module's inclusion, but this should be less common.
* Small optimization for the opt_and instructionAaron Patterson2022-03-101-2/+8
| | | | | | | This change eagerly performs a bitwise and on the parameters. If both parameters are fixnums, then the result value should also be a fixnum. We can just test the bit on the result and return if it's a fixnum. Otherwise return Qundef.
* * 2022-03-11 [ci skip]git2022-03-111-1/+1
|
* Fix visibility of alias of zsuper methodsJeremy Evans2022-03-102-0/+11
| | | | | | This was broken by 71c746379d5872e250d90ae45c585760afaf9516. Fixes [Bug #18600]
* Update default gems list at bd1862330756b177ba189597b9de10 [ci skip]git2022-03-101-1/+1
|
* [ruby/io-wait] Update version to 0.2.2.pre1 for testingCharles Oliver Nutter2022-03-101-1/+1
| | | | https://github.com/ruby/io-wait/commit/12e26f574e
* Ignore pre-release for sync target on sync_default_gemsHiroshi SHIBATA2022-03-101-1/+1
|
* [DOC] Enhanced RDoc for String (#5635)Burdette Lamar2022-03-092-29/+58
| | | | | | | | | | | | | Treats: #count #delete #delete! #squeeze #squeeze! Adds section "Multiple Character Selectors" to doc/character_selectors.rdoc. Co-authored-by: Peter Zhu <peter@peterzhu.ca>
* [DOC] Remove an unnecessary character [ci skip]Kazuhiro NISHIYAMA2022-03-101-1/+1
|
* * 2022-03-10 [ci skip]git2022-03-101-1/+1
|
* Avoid unnecessary conditionalJeremy Evans2022-03-091-2/+4
| | | | | | All frames should be either iseq frames or cfunc frames. Use a VM assert instead of a conditional to check for a cfunc frame if the current frame is not an iseq frame.
* [DOC] Enhanced RDoc for String (#5633)Burdette Lamar2022-03-092-38/+32
| | | | | | | | | | | Treats: #tr (revised to link to "Character Selectors" document) #tr! #tr_s #tr_s! Also renames doc/character_selector.rdoc to match its title.
* [ruby/rdoc] Support crossref of methods with multiple argumentsPeter Zhu2022-03-092-1/+17
| | | | | | | | | | | | | | | | | | For example, consider the following markup: C1#m(a, b) Before this patch, it generated this HTML: <p><a href=\"C1.html#method-i-m\"><code>C1#m</code></a>(a, b)</p> Which places the method arguments outside of the link. Now it generates this HTML: <a href=\"C1.html#method-i-m\"><code>C1#m(a, b)</code></a> https://github.com/ruby/rdoc/commit/05a2b2222b
* exts.mk.tmpl: propagate MINIRUBY to enc.mk even though invoking from exts.mkYuta Saito2022-03-092-2/+2
| | | | | | | | | | This is another attempt to fix out-of-src build with --with-static-linked-ext. The first attempt was 4f1888bda70981d9f5b1bf55ab692e0ce18e79f4 but reverted because it broke out-of-src build from pre-generated sources via `make dist`. This patch fixes the second trans C source gen, mentioned in the previous commit message, by passing MINIRUBY as well as when invoking from common.mk
* [DOC] Fix default offset of String#byterindexKazuhiro NISHIYAMA2022-03-091-2/+2
|
* * 2022-03-09 [ci skip]git2022-03-091-1/+1
|
* [DOC] RDoc for character selectors (#5632)Burdette Lamar2022-03-081-0/+67
| | | | | | | This file will be a link target for methods doc that cites character selectors (e.g., String#tr), It covers only the character selector; +replacement+ is discussed at String#tr (which will be revised and simplified); multiple selectors will be discussed at String#delete and String#count. Co-authored-by: Peter Zhu <peter@peterzhu.ca>
* Added release option to sync only released version of the default gemsHiroshi SHIBATA2022-03-081-5/+18
|
* test/io/console/test_io_console.rb: parens neededYusuke Endoh2022-03-081-1/+1
|
* Skip three tests on FreeBSD 13Yusuke Endoh2022-03-083-1/+26
| | | | | | Some tests that use signals frequently fail randomly on FreeBSD 13. Maybe something around signals has changed in FreeBSD 13. This change skips them tentatively.
* [DOC] Enhanced RDoc for String #tr and #tr! (#5626)Burdette Lamar2022-03-071-27/+41
|
* * 2022-03-08 [ci skip]git2022-03-081-1/+1
|
* [rubygems/rubygems] Add newline to validate_platforms! message when platform ↵Alex Gittemeier2022-03-082-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | is missing When I run bundle install with BUNDLE_DEPLOYMENT=true in the environment on a different platform than I usually do development, I get the following output to the console (wrapped exactly as shown): Your bundle only supports platforms ["x86_64-darwin-19"] but your local platform is x86_64-linux. Add the current platform to the lockfile with `bundle lock --add-platform x86_64-linux` and try again. Because the way the message wraps, its not as simple as copying the suggested command to the clipboard because it contains a newline: $ bundle lock Writing lockfile to [...]/Gemfile.lock $ --add-platform x86_64-linux Adding a newline right before the command forces the command in the error message to be on the same line, which facilitates copy-pasting the command in the message. https://github.com/rubygems/rubygems/commit/4cf6989b11
* Use rb_ary_unshare for shared array in rb_ary_replacePeter Zhu2022-03-071-7/+1
| | | | | rb_ary_unshare will perform FL_UNSET_SHARED and rb_ary_decrement_share.
* [DOC] Fix documentation typo for Process#clock_gettimeThierry Joyal2022-03-071-1/+1
| | | | Fixes [Misc #18610]