summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix bundled gems installation when relative loadingNobuyoshi Nakada2022-04-161-3/+7
|
* [rubygems/rubygems] Add modern rubies to the platformsBobby McDonald2022-04-163-2/+22
| | | | https://github.com/rubygems/rubygems/commit/5462322f8f
* [ruby/stringio] Add push task to push built gemsSutou Kouhei2022-04-161-0/+30
| | | | https://github.com/ruby/stringio/commit/4431eefbad
* Update default gems list at 2aca566a104ad42579be03374446fd [ci skip]git2022-04-151-0/+1
|
* [ruby/stringio] bump up to 3.0.2.pre1Sutou Kouhei2022-04-161-1/+1
| | | | https://github.com/ruby/stringio/commit/14ec9bc193
* * 2022-04-16 [ci skip]git2022-04-161-1/+1
|
* [DOC] Enhanced RDoc for Regexp (#5807)Burdette Lamar2022-04-152-84/+90
| | | | | | | | | | | | Treats: #source #inspect #to_s #casefold? #options #names #named_captures
* Return `false` where sticky-bit is not provided [Bug #18734]Nobuyoshi Nakada2022-04-151-1/+1
|
* Compare predicate methods as a boolean valueNobuyoshi Nakada2022-04-151-19/+23
|
* [Win32] Fix mode of character/pipe device stat [Bug #18732]Nobuyoshi Nakada2022-04-152-11/+44
|
* [ruby/nkf] Fix docsPeter Zhu2022-04-151-5/+5
| | | | | | | rdoc parses "Z[0-3]" as a link to "0-3", this commit escapes these so that they don't become links. https://github.com/ruby/nkf/commit/269c10061b
* [ruby/optparse] Fix broken links in docsPeter Zhu2022-04-152-3/+3
| | | | https://github.com/ruby/optparse/commit/2bea3b38c3
* [ruby/rdoc] Fix links in docsPeter Zhu2022-04-151-4/+4
| | | | | | | www.ruby-lang.org without the leading https:// will generate an incorrect link because it will be treated as a relative link. https://github.com/ruby/rdoc/commit/28f32149b6
* Fix build errors with development version of ClangAlan Wu2022-04-141-4/+10
| | | | | | Maybe not the best idea for CI stability to use development versions of Clang, but that does give us a preview of what's coming and gives us a chance to make suggestions upstream.
* * 2022-04-15 [ci skip]git2022-04-151-1/+1
|
* More details for regexp literals (#5800)Burdette Lamar2022-04-141-12/+22
|
* [DOC] Enhance documentation for `Module#<` & `Module#>`Akshay Birajdar2022-04-141-2/+6
|
* fix to use `node.gvl` instead of `node.ubf`Koichi Sasada2022-04-141-1/+1
| | | | | | The last parameter of `ccan_list_top()` is to acquire the pointer of the top of element, so `node.ubf` is no problem. But this context it accesses gvl list, so `node.gvl` is better.
* [ruby/rdoc] Apply matching word pairs to underscore-methodsNobuyoshi Nakada2022-04-142-2/+5
| | | | | | | Protected characters with `PROTECT_ATTR` should not have special roles. https://github.com/ruby/rdoc/commit/c318af0ea2
* [rubygems/rubygems] Fix formatting in docsPeter Zhu2022-04-141-4/+4
| | | | | | rdoc uses + for typewriter font rather than backticks. https://github.com/rubygems/rubygems/commit/be320f1e0c
* [DOC] Prefer RDOCLINK to the method nameNobuyoshi Nakada2022-04-141-1/+2
|
* [DOC] Now underscore methods can cross-referenceNobuyoshi Nakada2022-04-141-8/+6
|
* [ruby/rdoc] Allow cross references to methods including underscoresNobuyoshi Nakada2022-04-142-7/+15
| | | | | | | As underscores are masked to "protect" from the conversion, consider also `PROTECT_ATTR` as a word character. https://github.com/ruby/rdoc/commit/db58bb5170
* [DOC] Move the documentations of moved Symbol methodsNobuyoshi Nakada2022-04-143-45/+28
|
* [DOC] Fix SymbolVariantsRelNotes linkS-H-GAMELINKS2022-04-141-1/+1
|
* Use correct capitalization of "NaN" in docsGrant Hutchins2022-04-131-1/+1
|
* Update PTY.spawn's documentStan Lo2022-04-131-4/+11
| | | | | Passing the optional env hash to PTY.spawn has been supported for years, but it's never documented. More info: https://bugs.ruby-lang.org/issues/12312
* [DOC] add missing size params in fiber scheduler.h (#5441)Alex Matchneer2022-04-141-0/+2
|
* [DOC] Enhanced RDoc for Symbol (#5796)Burdette Lamar2022-04-131-41/+31
| | | | | | | | | | | | | | | Treats: #[] #length #empty? #upcase #downcase #capitalize #swapcase #start_with? #end_with? #encoding ::all_symbols
* * 2022-04-14 [ci skip]git2022-04-141-1/+1
|
* [ruby/net-http] Update the content-length heading when decoding bodiesJeremy Evans2022-04-142-0/+24
| | | | | | | | | | | | | | | | | Previously, the content-encoding header was removed and the body was modified, but the content-length header was not modified, resulting in the content-length header not matching the body length. Don't delete content-length before yielding inflate body, as that causes a switch to read the entire body instead of reading in chunks. Fixes [Bug #16672] https://github.com/ruby/net-http/commit/58284e9710 Co-authored-by: st0012 <stan001212@gmail.com>
* [ci skip] Fix docsPeter Zhu2022-04-133-8/+8
|
* Parenthize macro argumentsNobuyoshi Nakada2022-04-131-2/+2
|
* [ruby/rdoc] Only parse valid URLsPeter Zhu2022-04-132-1/+4
| | | | | | | | | Only valid characters for URLs should be used for generating URLs. A list of valid characters can be found in sections 2.2 and 2.3 of IETF RFC 3986 (https://www.ietf.org/rfc/rfc3986.txt). https://github.com/ruby/rdoc/commit/2bd8fcdd4f
* Enforce literals on the second argumentsNobuyoshi Nakada2022-04-131-1/+1
|
* Skip build extensions again on cross compiling tooKazuhiro NISHIYAMA2022-04-131-1/+1
|
* Skip build extensions again on mswin and mingwKazuhiro NISHIYAMA2022-04-131-0/+3
|
* Enabled to build extensions with the bundled gems againKazuhiro NISHIYAMA2022-04-131-3/+0
| | | | | https://github.com/ruby/ruby/commit/cbb115213c42f15638ef119eb20c4d3106eb8b1a https://github.com/ruby/ruby/commit/5c1b76a3a55afeb07116bbd3492303c6b6cd890d
* * 2022-04-13 [ci skip]git2022-04-131-1/+1
|
* Enhanced RDoc for Symbol (#5795)Burdette Lamar2022-04-123-92/+133
| | | | | | | | | | | | | | | | | | | Treats: #== #inspect #name #to_s #to_sym #to_proc #succ #<=> #casecmp #casecmp? #=~ #match #match?
* Use an empty string when building File.expand_pathPeter Zhu2022-04-122-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allocating a string of length MAXPATHLEN and then shrinking the string is inefficient when the resulting path is short. Preallocating a large string is also a problem for Variable Width Allocation since we can't easily downsize the capacity. I ran the following benchmark: ```ruby Benchmark.ips do |x| { "empty" => "", "short" => "a/" * 10, "medium" => "a/" * 100, "long" => "a/" * 500 }.each do |name, path| x.report(name) do |times| i = 0 while i < times File.expand_path(path) i += 1 end end end end ``` On this commit: ``` empty 97.486k (± 0.7%) i/s - 492.915k in 5.056507s short 96.026k (± 2.4%) i/s - 486.489k in 5.068966s medium 86.304k (± 1.3%) i/s - 435.336k in 5.045112s long 59.395k (± 1.7%) i/s - 302.175k in 5.089026s ``` On master: ``` empty 94.138k (± 1.4%) i/s - 472.158k in 5.016590s short 92.043k (± 1.4%) i/s - 468.180k in 5.087496s medium 84.910k (± 2.3%) i/s - 425.750k in 5.017007s long 61.503k (± 2.7%) i/s - 309.723k in 5.039429s ```
* Fix dtoa buffer overrunNobuyoshi Nakada2022-04-122-1/+20
| | | | https://hackerone.com/reports/1248108
* Just free compiled pattern if no space is usedNobuyoshi Nakada2022-04-122-6/+17
| | | | https://hackerone.com/reports/1220911
* Fix a typo [ci skip]Kazuhiro NISHIYAMA2022-04-121-1/+1
|
* Correct whitespace in array.c (#5791)Burdette Lamar2022-04-111-10/+370
|
* Specify which core classes are convertible (#5790)Burdette Lamar2022-04-111-0/+23
|
* Fix fake.rb RUBY_DESCRIPTION faking for JITsAlan Wu2022-04-111-3/+9
| | | | | | | | | Previously, `make test-spec` was not printing the description with +YJIT even when YJIT was indeed enabled. It was confusing on CI. `fake.rb` was changing the `RUBY_DESCRIPTION` constant incorrectly. I suppose `make test-spec` mostly needs the `mkmf` faking and not the faking of `RUBY_.*` constants, so maybe there is an opportunity to simplify in the future.
* * 2022-04-12 [ci skip]git2022-04-121-1/+1
|
* [ruby/net-http] Add HTTP#response_body_encoding for setting response body ↵Jeremy Evans2022-04-124-0/+462
| | | | | | | | | | | | | | | | | | | encoding This allows for the ability to opt-in to a method to set the encoding of response bodies. By setting the accessor to a String or Encoding instance, it will use the specified encoding. Setting the value of true will try to detect the encoding of the response body, either using the Content-Type header (assuming it specifies charset) or by scanning for a <meta> tag in the document that specifies the encoding. The default is false in which case no forcing of encoding will be done (same as before the patch). Implements [Feature #2567] Implements [Feature #15517] https://github.com/ruby/net-http/commit/6233e6b7c1 Co-authored-by: Yui Naruse <naruse@ruby-lang.org>
* * 2022-04-11 [ci skip]git2022-04-111-1/+1
|