aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* dependency updates卜部昌平2021-04-1399-355/+0
|
* get rid of #pragma GCC diagnostic ignored "-Wundef"卜部昌平2021-04-138-87/+16
| | | | | Use of TOKEN_PASTE was a bad idea at the first place. Just use ## everywhere. Nobody practically lacks token pasting.
* * 2021-04-13 [ci skip]git2021-04-131-1/+1
|
* Make String#crypt ractor-safeNobuyoshi Nakada2021-04-132-1/+41
|
* Get rid of LONG_LONG redefinitionNobuyoshi Nakada2021-04-121-9/+9
|
* * 2021-04-12 [ci skip]git2021-04-121-1/+1
|
* Support non-standard `struct stat` [Bug #17793]Nobuyoshi Nakada2021-04-122-0/+21
| | | | | | On 32-bit Android: * `st_dev`/`st_rdev` are not `dev_t` * `st_mode` is not `mode_t`
* mkmf.rb: convert also arch_hdrdir [Bug #16651]Nobuyoshi Nakada2021-04-111-1/+1
|
* st.c: skip all deleted entries [Bug #17779]tompng (tomoya ishida)2021-04-112-2/+18
| | | | | Update the start entry skipping all already deleted entries. Fixes performance issue of `Hash#first` in a certain case.
* [DOC] Adjusted spacing [ci skip]Nobuyoshi Nakada2021-04-111-1/+1
|
* sync_default_gems.rb: merge only files named as each gemNobuyoshi Nakada2021-04-111-15/+10
|
* sync_default_gems.rb: ignore rakelib [ci skip]Nobuyoshi Nakada2021-04-111-1/+3
|
* Revert "[ruby/optparse] No document in rakelib" [ci skip]Nobuyoshi Nakada2021-04-111-0/+0
| | | | | This reverts commit bd7430c7aacd135419609eec72e3889cd00a6f73. No rakelib in ruby itself.
* [ruby/optparse] Moved rdoc files to doc/optparseNobuyoshi Nakada2021-04-1153-8/+8
| | | | https://github.com/ruby/optparse/commit/cccb28e0de
* [ruby/optparse] Fix relative pathsNobuyoshi Nakada2021-04-111-2/+2
| | | | https://github.com/ruby/optparse/commit/8be031b539
* [ruby/optparse] No document in rakelibNobuyoshi Nakada2021-04-111-0/+0
| | | | https://github.com/ruby/optparse/commit/4ff48f24c9
* [ruby/optparse] More on tutorial (#16)Burdette Lamar2021-04-116-3/+180
| | | | | | | | | | | - 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
* [ruby/optparse] Rdoc (#15)Burdette Lamar2021-04-1110-365/+487
| | | | | | | | | | | | | | | | | | | | * 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
* [ruby/optparse] Reorganize Ruby example files for sharing (#14)Burdette Lamar2021-04-1145-55/+43
| | | | https://github.com/ruby/optparse/commit/9a2352c1c9
* * 2021-04-11 [ci skip]git2021-04-111-1/+1
|
* Make sure to mention ext/Setup is optionalZachary Scott2021-04-111-5/+6
| | | | | This step confused me when trying to compile Ruby after 5 years, so it should be avoided unless you need static linking.
* configure: always check for atomic/sync builtins [Bug #17787]Nobuyoshi Nakada2021-04-101-1/+3
| | | | | Non-gcc compilers tend to have this intrinsic these days, e.g. xlc has `__sync` builtins.
* configure: try `-fdeclspec` option by linking [Bug #17787]Nobuyoshi Nakada2021-04-101-1/+1
| | | | | A workaround for `-f` option of AIX xlc compiler which works only on linking.
* just redirect preprocessed vm.c to mjit header [Bug #17787]Nobuyoshi Nakada2021-04-101-1/+1
| | | | Not all preprocessors work with output option.
* get rid of using `__builtin_unreachable` directly [Bug #17787]Nobuyoshi Nakada2021-04-101-3/+3
| | | | | As it is an independent feature from `clz`, `ctz` and `popcount`, it might be unavailable even if the latters are built in.
* rbinstall.rb: record default gem filesNobuyoshi Nakada2021-04-101-0/+5
|
* rbinstall.rb: append "/" to directory namesNobuyoshi Nakada2021-04-101-1/+1
|
* mac: ignore SDKROOT at installationNobuyoshi Nakada2021-04-102-1/+5
|
* win32: fix RUBY_RELEASE_DATE in MakefileNobuyoshi Nakada2021-04-101-3/+11
| | | | | | | | | | | | | 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.
* Fix symbol export.Samuel Williams2021-04-101-0/+4
|
* * 2021-04-10 [ci skip]git2021-04-101-1/+1
|
* Fix documentation for Enumerator::Lazy#with_indexJeremy Evans2021-04-091-1/+2
| | | | | | | 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]
* test/ruby/test_gc_compact.rb: Use assert_separately for debuggingYusuke Endoh2021-04-091-11/+13
| | | | | | | | | | | | | | | | | | | | | | ... the following timeout failure. http://rubyci.s3.amazonaws.com/rhel_zlinux/ruby-master/log/20210408T213303Z.fail.html.gz ``` [ 8871/21204] TestGCCompact#test_ast_compactstimeout: output interval exceeds 600.0 seconds. timeout: the process group 28416 is alive. PSOUT PGID PID ELAPSED %CPU VSZ COMMAND COMMAND PSOUT 28416 28416 12:46 0.0 108120 gmake gmake TESTS=--hide-skip -v RUBYOPT=-w test-all PSOUT 28416 28423 12:46 88.2 1446124 ruby ./test/runner.rb: TestGCCompact#test_ast_compacts timeout: INT signal sent. timeout: INT signal sent. timeout: TERM signal sent. timeout: TERM signal sent. timeout: KILL signal sent. ``` This error repeatedly occurs on RHEL s390x. This change sends SEGV when timeout occurs so that it should dump the backtrace.
* [ruby/reline] Add calling Reline::Config#reset_default_key_bindings to ↵aycabta2021-04-091-0/+1
| | | | #reset, which is forgot to call
* * 2021-04-09 [ci skip]git2021-04-091-1/+1
|
* Document how to handle kill/terminate interrupts in Thread.handle_interruptJeremy Evans2021-04-081-0/+2
| | | | | | | | | | | The kill/terminate interrupts are internally handled not as Exception instances, but as integers. So using Exception doesn't handle these interrupts, but Object does. You can use Integer if you only want to handle kill/terminate interrupts, but that's probably more of an implementation detail, while handling Object should work regardless of the implementation. Fixes [Bug #15735]
* Make the return type of rb_char_next the same as CharNextNobuyoshi Nakada2021-04-081-2/+2
|
* [ruby/reline] Moved development dependencies to GemfileNobuyoshi Nakada2021-04-081-6/+0
| | | | | | | | As expressions in a gemspec file are evaluated at the build time, but not the run time, the conditional in the gemspec will not work as intended. https://github.com/ruby/reline/commit/c09b7c454a
* [ruby/reline] Separate keystrokes each editing modeaycabta2021-04-087-69/+128
| | | | https://github.com/ruby/reline/commit/ee23e6f3f8
* [ruby/reline] Check WITH_VTERM env to add vterm gem as dependencyaycabta2021-04-081-1/+1
| | | | https://github.com/ruby/reline/commit/27b689a7e2
* [ruby/irb] Moved development dependencies to GemfileNobuyoshi Nakada2021-04-081-5/+0
| | | | | | | | As expressions in a gemspec file are evaluated at the build time, but not the run time, the conditional in the gemspec will not work as intended. https://github.com/ruby/irb/commit/42f364ea23
* [ruby/irb] Ripper::Lexer::Elem#state is defined since Ruby 2.5Nobuyoshi Nakada2021-04-081-6/+1
| | | | | | And the required ruby version is 2.5 or later. https://github.com/ruby/irb/commit/ac496d4c78
* Use autogen.shNobuyoshi Nakada2021-04-086-6/+6
|
* test/zlib/test_zlib.rb: Set binmode to test output fileYusuke Endoh2021-04-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Seems like the test `TestZlibGzipFile#test_gzip_reader_zcat` fails when the timestamp has `\n\n`. https://ci.appveyor.com/project/ruby/ruby/builds/38597932 ``` 1) Error: TestZlibGzipFile#test_gzip_reader_zcat: Zlib::DataError: invalid distance too far back C:/projects/ruby/test/zlib/test_zlib.rb:522:in `initialize' C:/projects/ruby/test/zlib/test_zlib.rb:522:in `new' C:/projects/ruby/test/zlib/test_zlib.rb:522:in `zcat' C:/projects/ruby/test/zlib/test_zlib.rb:522:in `block (2 levels) in test_gzip_reader_zcat' C:/projects/ruby/test/zlib/test_zlib.rb:521:in `open' C:/projects/ruby/test/zlib/test_zlib.rb:521:in `block in test_gzip_reader_zcat' C:/projects/ruby/lib/tempfile.rb:358:in `create' C:/projects/ruby/test/zlib/test_zlib.rb:510:in `test_gzip_reader_zcat' ``` The test time is around 2021-04-08 04:40 +0900. Maybe the following time should trigger the bug. ``` irb(main):001:0> Time.at(1617824266) => 2021-04-08 04:37:46 +0900 irb(main):002:0> [1617824266].pack("V") => "\n\nn`" ```
* [ruby/optparse] gemspec: Explicit files list [ci skip]Olle Jonsson2021-04-081-5/+1
| | | | | | | | This avoid shelling out, and includes a narrower list of files. https://github.com/ruby/optparse/commit/f3ca83caff Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
* [ruby/optparse] Make use of option_params.rdocBurdetteLamar2021-04-084-67/+28
| | | | https://github.com/ruby/optparse/commit/d55d9284c3
* [ruby/optparse] Enhanced doc for option parameters (#11)Burdette Lamar2021-04-0837-0/+1106
| | | | https://github.com/ruby/optparse/commit/5618eeb49e
* [ruby/optparse] More on tutorial (#9)Burdette Lamar2021-04-0810-54/+133
| | | | | | * More on tutorial: clearer example output https://github.com/ruby/optparse/commit/84dfd92d2a
* [ruby/optparse] gemspec: Explicitly list 0 executablesOlle Jonsson2021-04-081-1/+1
| | | | | | This gem exposes no executable files. https://github.com/ruby/optparse/commit/d14bf83007
* [ruby/optparse] Beginnings of tutorialBurdetteLamar2021-04-085-0/+154
| | | | https://github.com/ruby/optparse/commit/f209276f79