summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Comparing nonnull argument to NULL is uselessNobuyoshi Nakada2021-09-231-0/+2
|
* Show original string byte sequence to debugaycabta2021-09-231-0/+2
|
* Prohibit invalid encoding symbols [Bug #18184]Nobuyoshi Nakada2021-09-232-4/+14
|
* Check instance variable count overflowNobuyoshi Nakada2021-09-231-7/+7
|
* Extract ruby2_keywords predicate and setterNobuyoshi Nakada2021-09-231-3/+15
|
* Turned to_be_skipped_id to an inline functionNobuyoshi Nakada2021-09-231-1/+8
|
* [DOC] Use `unpack1` instead of `unpack(template)[0]` [ci skip]Kazuhiro NISHIYAMA2021-09-233-4/+4
|
* What's Here for Range (#4881)Burdette Lamar2021-09-221-4/+88
|
* * 2021-09-23 [ci skip]git2021-09-231-1/+1
|
* Check the encoding of `ruby2_keywords_flag` [Bug #18184]Nobuyoshi Nakada2021-09-232-1/+6
|
* [ruby/reline] Use `unpack1` instead of `unpack(template)[0]`Kazuhiro NISHIYAMA2021-09-222-2/+2
| | | | https://github.com/ruby/reline/commit/45aa367616
* [ruby/irb] Use typed spaces when the line is inside the here documentsKaíque Kandy Koga2021-09-222-10/+22
| | | | | | | | | | Use first method instead of square brackets to support 2.5 and 2.6 versions Use tokens Clear check_newline_depth_difference https://github.com/ruby/irb/commit/6fec2a5d46
* Check the entire name as `ruby2_keywords_flag` [Bug #18184]Nobuyoshi Nakada2021-09-222-2/+8
|
* add NEWS entry for https://github.com/ruby/ruby/pull/4815卜部昌平2021-09-221-0/+3
|
* RBIMPL_ATTR_NOALIAS: not until LLVM 12卜部昌平2021-09-221-1/+12
| | | | | | | | I observed CI failures. https://github.com/ruby/ruby/actions/runs/1240165911 It turns out that RBIMPL_ATTR_NOALIAS was not mature before. Skip using it for old clang, and everything work as expected.
* include/ruby/atomic.h: rework卜部昌平2021-09-221-278/+664
| | | | | Reduce macros to do the same things in inline functions instead. This way assertions can be made granular.
* .cirrus.yml: Add Cirrus CI for Arm64 tests.fedor2021-09-223-0/+72
| | | | Co-authored-by: fedor <fedor@cirruslabs.org>
* Rework order of operations to better handle last_status.Samuel Williams2021-09-221-9/+6
|
* Add support for non-blocking `Kernel.system`.Samuel Williams2021-09-222-64/+111
|
* [DOC] Additional to Array#sample [ci skip]Nobuyoshi Nakada2021-09-221-0/+2
| | | | | * The requirement to the +n+ argument. * The order of the result array. [Misc #14147]
* [rubygems/rubygems] Fix bug where redacted credentials are sent to serverJonathan2021-09-222-0/+16
| | | | | | | | Implement deep cloning for `Gem::Uri` class to fix a bug where redacting credentials modifies the URI string in place instead of returning a modified copy. https://github.com/rubygems/rubygems/commit/eafb5a279b
* [rubygems/rubygems] Update gem request tests to pass a Gem::Uri into the ↵Jonathan2021-09-221-6/+6
| | | | | | Gem::Request class https://github.com/rubygems/rubygems/commit/e8e7c2078f
* [rubygems/rubygems] Fix an issue causing nested Gem::Uri instancesJonathan2021-09-221-1/+1
| | | | https://github.com/rubygems/rubygems/commit/6589f7bcc7
* [rubygems/rubygems] Fix possible malicious website to example.comfiveNinePlusR2021-09-222-2/+2
| | | | | | | | example.com is the canonical stand in for domain examples and will never have a backing website. via https://www.rfc-editor.org/rfc/rfc2606.html https://github.com/rubygems/rubygems/commit/26622c81c2
* [rubygems/rubygems] Only check if descriptions *start with* FIXME/TODOEllen Marie Dash2021-09-222-1/+15
| | | | | | It doesn't make much sense to just forbid certain words in descriptions. https://github.com/rubygems/rubygems/commit/7890c98415
* [rubygems/rubygems] Avoid loading URI unnecessarily when activating gemsDavid Rodríguez2021-09-221-1/+0
| | | | https://github.com/rubygems/rubygems/commit/ef5f30cba7
* * 2021-09-22 [ci skip]git2021-09-221-1/+1
|
* Explicit the target of do-install-all as the same as dont-install-allNobuyoshi Nakada2021-09-211-1/+1
|
* [ruby/irb] Sort shortest files in each load pathsNobuyoshi Nakada2021-09-211-12/+16
| | | | | | | | | There are two directories where csv*/**/*.rb exist, lib/ and test/, and depending on the order of tests, test/ may be placed before lib/. In that case, as "shortest" names were not sorted, csv/helper.rb will be the first candidate for "csv". https://github.com/ruby/irb/commit/2af7c6bf71
* [ruby/irb] Check if Gem::Specification is definedNobuyoshi Nakada2021-09-211-2/+2
| | | | https://github.com/ruby/irb/commit/005ade74dd
* [ruby/irb] Fix argument orderNobuyoshi Nakada2021-09-211-1/+1
| | | | https://github.com/ruby/irb/commit/05c65858a0
* Ripper source on mswinNobuyoshi Nakada2021-09-213-2/+4
| | | | | * Get rid of command substitution for cmd.exe. * Separate RM1 command to remove single file sans directory.
* Enhanced RDoc for Enumerable#inject (#4876)Burdette Lamar2021-09-201-38/+131
|
* Enhanced RDoc for Range (#4870)Burdette Lamar2021-09-201-88/+151
| | | Introductory material revised.
* * 2021-09-21 [ci skip]git2021-09-211-1/+1
|
* Enhance documentation on GC.stat (#4843)Jemma Issroff2021-09-201-30/+56
|
* Fix malloc_increase is not correctly calculatedPeter Zhu2021-09-201-3/+3
| | | | | | | | | | Commit 123eeb1c1a904923754ce65148dbef045b56e083 added incremental GC which moved resetting malloc_increase, oldmalloc_increase to before marking. However, during_minor_gc is not set until gc_marks_start. So the value will be from the last GC run, rather than the current one. Before the incremental GC commit, this code was in gc_before_sweep which ran before sweep (after marking) so the value during_minor_gc was correct.
* Add gvl and fiber assertions to scheduler interface to catch invalid usage.Samuel Williams2021-09-203-0/+12
|
* Add alternative optional hook for `scheduler_close` to allow public usage of ↵Samuel Williams2021-09-202-6/+24
| | | | close.
* Don't describe C function that does not exist in prior versions.Samuel Williams2021-09-201-2/+2
|
* Add C interface spec.Samuel Williams2021-09-202-0/+49
|
* Expose `rb_fiber_raise` and tidy up the internal implementation.Samuel Williams2021-09-202-71/+96
|
* Allow to include uninitialized modules [Bug #18177]Nobuyoshi Nakada2021-09-202-1/+14
| | | | The module that is about to be included is considered initialized.
* * 2021-09-20 [ci skip]git2021-09-201-1/+1
|
* MINGW-UCRT: Set CONFIG['arch'] and RUBY_PLATFORM to "x64-mingw-ucrt"Lars Kanis2021-09-203-1/+7
| | | | | | | | | This allows easy differentiation between ABI incompatible platforms like MSWIN64 and MSVCRT-based MINGW32. This also implicates a distinct rubygem platform which is also "x64-mingw-ucrt". Although the term "mingw32" is the OS-part for 64 bit systems as well, the "32" is misleading and confusing for many users. Therefore the new platform string drops the "32" from the OS part to just "mingw". This conforms to the common practice of windows platform testing per RUBY_PLATFORM=~/mswin|mingw/ .
* CI: Enable MINGW-UCRT build and test in github actionsLars Kanis2021-09-201-6/+12
| | | | | | | This enables a temporary branch on ruby/setup-ruby and MSP-Greg/setup-ruby-pkgs for UCRT-capable action setup. They set correct PATH and MINGW_PACKAGE_PREFIX for UCRT, if a UCRT based ruby is used. See here for more details: https://github.com/ruby/setup-ruby/issues/193 To enable correct UCRT settings this therefore uses rubyinstaller-head as base ruby, since it is already UCRT based.
* Adjust test to set+get big values on all platforms and add MINGW-UCRTLars Kanis2021-09-201-7/+7
| | | | | | | | | | | Previously the test verified on MSWIN that huge values can not be stored in environment variables but that they can on others. IMHO the intention of the test should not change between platforms. Therefore this adjusts the test to have the same intention - that is to store a big value. This also fixes compatibility with MINGW-UCRT, which previously failed with: <Errno::EINVAL: Invalid argument - ruby_setenv(foo)> test/ruby/test_env.rb:512:in `[]=' test/ruby/test_env.rb:512:in `block in test_huge_value'
* MINGW: _WIN64 is not defined on i386-mingw32 + ucrt.xtkoba (Tee KOBAYASHI)2021-09-201-2/+2
|
* MINGW: More permissive pattern matching for coroutinextkoba (Tee KOBAYASHI)2021-09-201-2/+2
| | | | Pattern matching for target_os in configure script should be permissive if we consider suffixing something onto "mingw32".
* MINGW: set rb_cv_msvcrt=ucrt and RT_VER=140 when UCRT is usedxtkoba (Tee KOBAYASHI)2021-09-201-1/+3
|