summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-16Add Array#intersect?Travis Hunter
Notes: Merged: https://github.com/ruby/ruby/pull/1972
2021-04-16rb_hash_free(): has never existed.卜部昌平
This is just a hoax. Nobody have ever implemented a function named as such. Also the functionality implied by the name must not be a public API if any.
2021-04-16* 2021-04-16 [ci skip]git
2021-04-16spec/ruby/core/hash/transform_keys_spec.rb: Fix the failure of ruby_3_0Yusuke Endoh
https://github.com/ruby/spec/pull/833 https://github.com/ruby/spec/commit/8290e5ad8952b14ee9a5069651d9864c66681112
2021-04-15Remove useless attribute set in init_mark_stackPeter Zhu
init_mark_stack already clears the mark stack so we do not need to set the attribute cache_size to zero. Notes: Merged: https://github.com/ruby/ruby/pull/4382
2021-04-15Workaround for installation failures on macOSNobuyoshi Nakada
2021-04-15Also merge tool/bundler/*.rb for testing of BundlerHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4383
2021-04-15Merge the master branch of RubyGemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4383
2021-04-15Merge the master branch of BundlerHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4383
2021-04-15Restore bundler.gemspec from ruby/ruby repository with sync_default_gems.rbHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4383
2021-04-15mkconfig.rb: Update around SDKROOTNobuyoshi Nakada
c.f. https://opensource.apple.com/source/ruby/ruby-145.40.1/patches/tool_mkconfig.rb.diff * moved to "includedir" from "oldincludedir". * honor "$(prefix)/include" if exists, otherwise fallback to `xcrun`.
2021-04-15spec/ruby/library/matrix/: Change the version guard to 3.1.0Yusuke Endoh
[Bug #17521] won't be backported until 3.1.0. https://github.com/ruby/spec/pull/832
2021-04-15[Doc] Add Hash#value? into call-seq (#4293)Kenichi Kamiya
Notes: Merged-By: zzak
2021-04-15* 2021-04-15 [ci skip]git
2021-04-14[ruby/matrix] Fix a typo in a error messageuniversato
2021-04-13Add RSymbol struct back into RVALUEPeter Zhu
Commit 0ca714fa1aa3fbe4fb60ae1e5b730e544dabc27b removed RSymbol from RVALUE. This commit adds RSymbol back into RVALUE. Notes: Merged: https://github.com/ruby/ruby/pull/4378
2021-04-13Inline LONG_LONG conversionsNobuyoshi Nakada
Not only NUM2LL, also LL2NUM, ULL2NUM and NUM2ULL.
2021-04-13workaround MSVC error卜部昌平
Previous code failed to compile on MSVC. Log: https://github.com/ruby/ruby/pull/4371/checks?check_run_id=2304484466 This is possibly due to the fact that: 1. `Data_Wrap_Struct(...)` appears in a source code 2. which expands to `rb_data_object_wrap(...)` 3. which expands to `RUBY_MACRO_SELECT(rb_data_object_wrap_, RUBY_UNTYPED_DATA_WARNING)` 4. which expands to `rb_data_object_wrap_0` 5. which expands to `rb_data_object_wrap`, so far so good, but 6. this is a recursive macro expansion (see step 2). Everybody stops expanding... - in step 4 for MSVC, and - in step 5 for GCC etc. I have no idea why but this proposed changeset prevents MSVC from stopping at step 4.
2021-04-13dependency updates卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/4371
2021-04-13get rid of #pragma GCC diagnostic ignored "-Wundef"卜部昌平
Use of TOKEN_PASTE was a bad idea at the first place. Just use ## everywhere. Nobody practically lacks token pasting. Notes: Merged: https://github.com/ruby/ruby/pull/4371
2021-04-13* 2021-04-13 [ci skip]git
2021-04-13Make String#crypt ractor-safeNobuyoshi Nakada
2021-04-12Get rid of LONG_LONG redefinitionNobuyoshi Nakada
2021-04-12* 2021-04-12 [ci skip]git
2021-04-12Support non-standard `struct stat` [Bug #17793]Nobuyoshi Nakada
On 32-bit Android: * `st_dev`/`st_rdev` are not `dev_t` * `st_mode` is not `mode_t`
2021-04-11mkmf.rb: convert also arch_hdrdir [Bug #16651]Nobuyoshi Nakada
2021-04-11st.c: skip all deleted entries [Bug #17779]tompng (tomoya ishida)
Update the start entry skipping all already deleted entries. Fixes performance issue of `Hash#first` in a certain case.
2021-04-11[DOC] Adjusted spacing [ci skip]Nobuyoshi Nakada
2021-04-11sync_default_gems.rb: merge only files named as each gemNobuyoshi Nakada
2021-04-11sync_default_gems.rb: ignore rakelib [ci skip]Nobuyoshi Nakada
2021-04-11Revert "[ruby/optparse] No document in rakelib" [ci skip]Nobuyoshi Nakada
This reverts commit bd7430c7aacd135419609eec72e3889cd00a6f73. No rakelib in ruby itself.
2021-04-11[ruby/optparse] Moved rdoc files to doc/optparseNobuyoshi Nakada
https://github.com/ruby/optparse/commit/cccb28e0de
2021-04-11[ruby/optparse] Fix relative pathsNobuyoshi Nakada
https://github.com/ruby/optparse/commit/8be031b539
2021-04-11[ruby/optparse] No document in rakelibNobuyoshi Nakada
https://github.com/ruby/optparse/commit/4ff48f24c9
2021-04-11[ruby/optparse] More on tutorial (#16)Burdette Lamar
- Added example in "Argument Converters"; it doesn't seem right for a tutorial to have no example in one of its topics (and instead just linking elsewhere). - Added section "Command-Line Abbreviations." - Added section "Keyword Argument into," showing how to: - Collect options. - Check for missing options. - Provide option defaults. https://github.com/ruby/optparse/commit/39d39676c4
2021-04-11[ruby/optparse] Rdoc (#15)Burdette Lamar
* Resolve shared mixed_names.rb * Add long option with negation * Show --help for all examples * Table of contents for tutorial * Move argument converters to separate rdoc * Add references to argument_converters.rdoc * Tune up argument converters * Change explicit links to auto-links https://github.com/ruby/optparse/commit/c91ed8d33d
2021-04-11[ruby/optparse] Reorganize Ruby example files for sharing (#14)Burdette Lamar
https://github.com/ruby/optparse/commit/9a2352c1c9
2021-04-11* 2021-04-11 [ci skip]git
2021-04-11Make sure to mention ext/Setup is optionalZachary Scott
This step confused me when trying to compile Ruby after 5 years, so it should be avoided unless you need static linking.
2021-04-10configure: always check for atomic/sync builtins [Bug #17787]Nobuyoshi Nakada
Non-gcc compilers tend to have this intrinsic these days, e.g. xlc has `__sync` builtins. Notes: Merged: https://github.com/ruby/ruby/pull/4372
2021-04-10configure: try `-fdeclspec` option by linking [Bug #17787]Nobuyoshi Nakada
A workaround for `-f` option of AIX xlc compiler which works only on linking. Notes: Merged: https://github.com/ruby/ruby/pull/4372
2021-04-10just redirect preprocessed vm.c to mjit header [Bug #17787]Nobuyoshi Nakada
Not all preprocessors work with output option. Notes: Merged: https://github.com/ruby/ruby/pull/4372
2021-04-10get rid of using `__builtin_unreachable` directly [Bug #17787]Nobuyoshi Nakada
As it is an independent feature from `clz`, `ctz` and `popcount`, it might be unavailable even if the latters are built in. Notes: Merged: https://github.com/ruby/ruby/pull/4372
2021-04-10rbinstall.rb: record default gem filesNobuyoshi Nakada
2021-04-10rbinstall.rb: append "/" to directory namesNobuyoshi Nakada
2021-04-10mac: ignore SDKROOT at installationNobuyoshi Nakada
2021-04-10win32: fix RUBY_RELEASE_DATE in MakefileNobuyoshi Nakada
As it is overridden by the definition in common.mk, instead define YEAR, MONTH and DAY which are used there. This macro is useful for daily build&installation by the combination with "relative-load", for example: ```sh $ ./configure --prefix=/. --enable-load-relative \ --with-destdir='$(HOME)/.rbenv/versions/$(RUBY_RELEASE_DATE)' ``` This can install images usable by rbenv per days.
2021-04-10Fix symbol export.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/4374
2021-04-10* 2021-04-10 [ci skip]git
2021-04-09Fix documentation for Enumerator::Lazy#with_indexJeremy Evans
If a block is given, it returns a lazy enumerator that will iterate over the block, it doesn't iterate over the block immediately. Fixes [Bug #17789]