The Wayback Machine - https://web.archive.org/web/20210728043044/https://github.com/ruby/ruby/commits/master
Skip to content
Permalink
master

Commits on Jul 28, 2021

  1. Avoid pointless attempts to open .so file if already required

    When attempting to require a file without an extension that has
    already been required or provided with an .so extension, only
    look for files with an .rb extension. There is no point in
    trying to find files with an .so extension, since we already
    know one has been loaded.
    
    Previously, attempting to require such a file scanned the load
    path twice, once for .rb and once for .so.  Now it only scans
    once for .rb.  The scan once for .rb cannot be avoided, since
    the .rb file would take precedence and should be loaded if it
    exists.
    
    Fixes [Bug #10902]
    jeremyevans authored and nobu committed Jul 28, 2021
  2. [ruby/digest] Experiment: Use a .pre version in gemspec

    This makes it slightly more explicit that this is not a definite new version.
    
    ruby/digest@2bb5bb7
    olleolleolle authored and hsbt committed Jul 28, 2021
  3. [ruby/digest] Experiment: bump patch version

    This is a test, to see if the build failures are about the shipped Ruby master version of this gem.
    
    ruby/digest@d2606b2
    olleolleolle authored and hsbt committed Jul 28, 2021
  4. Revert "Fix potential hang when joining threads."

    This reverts commit 13f8521.
    
    http://rubyci.s3.amazonaws.com/solaris11-gcc/ruby-master/log/20210727T230009Z.fail.html.gz
    http://rubyci.s3.amazonaws.com/solaris11-sunc/ruby-master/log/20210728T000009Z.fail.html.gz
    
    This revert is to confirm whether the commit is the cause.
    If the failures consistently occur after this revert, I'll
    reintroduce the commit.
    mame committed Jul 28, 2021

Commits on Jul 27, 2021

  1. Update Capturing and Anchors sections of regexp documention

    Document that only first 9 numbered capture groups can use the \n
    backreference syntax.  Document \0 backreference.  Document \K anchor.
    
    Fixes [Bug #14500]
    jeremyevans committed Jul 27, 2021
  2. Make Float#floor with ndigits argument handle error

    The previous implementation could result in a returned
    float that is 1/(10**ndigits) too low.  First try adding
    one before dividing, and if that results in a value that is
    greater than the initial number, then try the original
    calculation.
    
    Spec added for ciel, but the issue doesn't appear to affect
    ciel, at least not for the same number.  If the issue does
    effect ciel, a similar fix could probably work for it.
    
    Fixes [Bug #18018]
    jeremyevans committed Jul 27, 2021
  3. * 2021-07-28 [ci skip]

    matzbot committed Jul 27, 2021
  4. Fix infinite loop in ensure after NoMemoryError

    VM patch from wanabe.
    
    Test based on example from buzztaiki (Taiki Sugawara).
    
    Test fails when compiles with -DRUBY_DEBUG, as that can
    can use rb_bug instead of NoMemoryError, which doesn't
    allow testing this case. Test also fails on MingW, as
    RangeError is used instead of NoMemoryError. Skip the
    test in either case.
    
    Fixes [Bug #15779]
    jeremyevans committed Jul 27, 2021
  5. [ruby/find] Add Errno::EINVAL to list of ignored errors

    This error can occur on Windows for certain filenames on certain
    code pages.
    
    Fixes [Bug #14591]
    
    ruby/find@0a474d1
    jeremyevans authored and hsbt committed Jul 27, 2021
  6. Deal with Unicode ranges in the file emoji-sequences.txt

    Detect Unicode ranges and loop over them.
    This fixes issue #18028.
    duerst committed Jul 27, 2021
  7. Adjust test/ruby/enc/test_emoji_breaks.rb to handle Emoji Version 13.1

    Deal with the issue that the emoji files in emoji/13.1 have Unicode
    Emoji version 13.1, but at the same time the files in 13.0.0/ucd/emoji
    are still at Emoji version 13.0. Specifically:
    - Add a version attribute to TestEmojiBreaks::BreakFile
    - Take the version for emoji-variant-sequences.txt from the Unicode
      version, removing the last two characters.
    - Improve information in exceptions for file name and version mismatches.
    duerst committed Jul 27, 2021
  8. [ruby/uri] Add proper Ractor support to URI

    * Using a module to map scheme name to scheme class, which also works with Ractor.
    * No constant redefinition, no ObjectSpace, still fast lookup for initial schemes.
    
    ruby/uri@883567f
    eregon authored and hsbt committed Jul 27, 2021
  9. [ruby/uri] Revert "Fix to support Ruby 3.0 Ractor"

    * This reverts commit 1faa4fdc161d7aeebdb5de0c407b923beaecf898.
    * It has too many problems, see ruby/uri#22 for discussion.
    
    ruby/uri@b959da2
    eregon authored and hsbt committed Jul 27, 2021
  10. Predefine recursive key ID

    nobu committed Jul 27, 2021
  11. Extracted repeatedly defined IDs

    nobu committed Jul 27, 2021
  12. Use predefined IDs

    nobu committed Jul 27, 2021
  13. Added intern_ids.rb

    nobu committed Jul 27, 2021
  14. Fix potential hang when joining threads.

    If the thread termination invokes user code after `th->status` becomes
    `THREAD_KILLED`, and the user unblock function causes that `th->status` to
    become something else (e.g. `THREAD_RUNNING`), threads waiting in
    `thread_join_sleep` will hang forever. We move the unblock function call
    to before the thread status is updated, and allow threads to join as soon
    as `th->value` becomes defined.
    ioquatix committed Jul 27, 2021
Older