aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/reline] Change struct size correctlyaycabta2021-10-051-1/+1
| | | | https://github.com/ruby/reline/commit/df2a1b4e08
* Fix a typo since 688f2e1a893e04457a1a5aa3577b13f74b2bc080Nobuyoshi Nakada2021-10-051-1/+1
|
* Adjust types to rb_enc_left_char_headNobuyoshi Nakada2021-10-052-6/+5
| | | | I dislike unnatural casts.
* Split parser_yyerror0 from parser_yyerrorNobuyoshi Nakada2021-10-051-8/+26
| | | | | The former uses the current location, while the latter takes a non-null location.
* Show the last line at unexpected end-of-input errorNobuyoshi Nakada2021-10-052-3/+5
|
* Remove a redundant cast between the exact same typesNobuyoshi Nakada2021-10-051-1/+1
|
* Replace inaccurate error messagesNobuyoshi Nakada2021-10-051-0/+3
| | | | | | When Bison reports "memory exhausted", it means the parser stack depth reached the limit `YYMAXDEPTH` which is defaulted to 10_000, but not memory allocation failed.
* debug.gem 1.2.3Koichi Sasada2021-10-051-1/+1
| | | | | This version uses tempdir instead of homedir to store UNIX domain socket.
* rb_enc_left_char_head(): take void*卜部昌平2021-10-052-2/+2
| | | | Nobu doesn't like (char*) cast.
* downcase_single/upcase_single: assume ASCII卜部昌平2021-10-051-4/+2
| | | | | These functions assume ASCII compatibility. That has to be ensured in their caller.
* ruby tool/update-deps --fix卜部昌平2021-10-0528-1167/+2418
|
* include/ruby/encoding.h: convert macros into inline functions卜部昌平2021-10-057-120/+368
| | | | Less macros == huge win.
* split include/ruby/encoding.h卜部昌平2021-10-0510-2269/+2563
| | | | | | 2,291 lines are too much! include/ruby/encoding.h became the biggest header file once it had doxygen comments. Let us split it into smaller parts, so that we can better organise their contents.
* rb_ractor_shareable_p(): fix doxygen卜部昌平2021-10-051-2/+3
| | | | | My bad. The document is clearly broken. Maybe I pressed my delete key too much. [ci skip]
* add undeclared variables卜部昌平2021-10-051-0/+2
| | | | Why did they even exist?
* Fix regression on Solaris after change to use realpath on loaded featuresJeremy Evans2021-10-042-4/+27
| | | | | | | | | | | | | | | | | | | | | | | | After the change to use realpath on loaded features, Solaris CI started failing in test_no_curdir (which tests behavior for running ruby without a working directory). I was able to trace the problem to the following call chain: rb_call_inits->Init_Thread->Init_thread_sync->rb_provide-> get_loaded_features_index->rb_check_realpath->rb_dir_getwd_ospath-> ruby_getcwd This will throw an exception, but because Ruby hasn't been fully initialized at the point the exception is thrown, it just exits with a status of 1. The bug here is that rb_check_realpath should not raise an exception, it should return nil. This bug is hit on Solaris because Solaris uses the realpath emulation instead of native realpath, and the realpath emualation raised instead of returning nil if the mode was RB_REALPATH_CHECK. Use rb_rescue in the realpath emulation if the mode is RB_REALPATH_CHECK, and swallow any exceptions raised and return nil.
* Enable inline assembly of SET_MACHINE_STACK_END on AIXRei Odaira2021-10-041-1/+3
|
* Revert rescue around internal realpath call on SolarisJeremy Evans2021-10-042-28/+4
| | | | | | Solaris CI still has a problem even with these commits, so it doesn't appear to fix the issue. Reverting both 84e8e2a39bba874433b661bd378165bd03c9d6aa and bfd2f159f0c60ef8ac5bce6042edd25a571769b7.
* introduce debug.gemKoichi Sasada2021-10-054-2/+28
| | | | | | For the `test-bundled-gems`, make `debug.so` with extconf.rb and `make` command directly because `rake-compiler` assume ruby is installed (but `test-bundled-gems` can run without installation).
* remove lib/debug.rbKoichi Sasada2021-10-052-1128/+0
|
* Enabled to build extensions with the bundled gemsHiroshi SHIBATA2021-10-051-3/+0
|
* Only rescue realpath calls during require on SolarisJeremy Evans2021-10-042-4/+1
| | | | | Remove temporary skip of test_no_curdir to see if this fixes the problem.
* Use a rescue around the internal realpath call for each loaded featureJeremy Evans2021-10-041-1/+28
| | | | | | This appears to be only necessary on Solaris, but this commit enables it unconditionally to test breakage. The following commit will switch to only enabling it on Solaris.
* Expose instruction information for debuggers [Feature #18026]Nobuyoshi Nakada2021-10-043-31/+51
|
* * 2021-10-05 [ci skip]git2021-10-051-1/+1
|
* Enhanced RDoc for Enumerable#chunk (#4930)Burdette Lamar2021-10-041-45/+62
|
* Refactor ordering of testsNobuyoshi Nakada2021-10-044-78/+157
| | | | | | * Split the sorting types into classes. * Apply the same sorting to method sorting under the parallel test.
* Fix a typoNobuyoshi Nakada2021-10-041-1/+1
|
* Leave builddir absoluteNobuyoshi Nakada2021-10-041-0/+2
| | | | So that rubygems installer will work to build extension gems.
* Stop building extension gems for nowNobuyoshi Nakada2021-10-041-1/+1
| | | | | Extension gems will be installed by the installed standard libraries.
* Relax time-out for bundlerNobuyoshi Nakada2021-10-041-1/+1
|
* The same warning for static symbol literalNobuyoshi Nakada2021-10-042-3/+7
|
* Fix the warning message for dynamic symbol literal in conditionNobuyoshi Nakada2021-10-042-2/+2
|
* Shorten timeouts on macOS and MinGWNobuyoshi Nakada2021-10-042-3/+3
| | | | | From recent results, `check` and `test-all` will finish within 10 minutes on macOS or 30 minutes on MinGW, otherwise time out.
* [ruby/irb] Fix typo of variableaycabta2021-10-041-1/+1
| | | | https://github.com/ruby/irb/commit/692eb9b9b5
* Move rb_ractor_p definitionS.H2021-10-042-2/+1
|
* Function `w32_error` does not returnxtkoba2021-10-041-0/+2
|
* Clang never evaluates expr in `__builtin_assume`xtkoba2021-10-041-2/+4
|
* * 2021-10-04 [ci skip]git2021-10-041-1/+1
|
* [ruby/reline] Use default background color to erase on Windowsaycabta2021-10-041-1/+2
| | | | https://github.com/ruby/reline/commit/852e855d82
* Using NIL_P macro instead of `== Qnil`S.H2021-10-0318-43/+43
|
* Remove unnecessary checks in `Range#each` [Bug #18237]Jörg W Mittag2021-10-031-1/+0
| | | | | | | | | | | | | | | In commit:7817a438eb1803e7b3358f43bd1f38479badfbdc, the implementation of `Time#succ`, which had been deprecated for 10 years, was finally removed. During that time, there was an explicit `instance_of?` check in source:range.c#L350 with a comment that the check should be removed once `Time#succ` is removed. Since `Time#succ` is now gone, this check should be removed. Note: this should be coordinated with adding a version guard to the corresponding check in ruby/spec as well.
* Remove extraneous conversion to float [Bug #18236]Nobuyoshi Nakada2021-10-032-21/+22
|
* [ruby/irb] Remove `require` in signal handler to avoid ThreadErrorMasataka Pocke Kuwabara2021-10-031-5/+0
| | | | | | `rdoc` has been required so it looks unnecessary https://github.com/ruby/irb/commit/5f749c613c
* [ruby/reline] Re-calc the scroll pos when the content in dialog is shortenedaycabta2021-10-033-0/+37
| | | | https://github.com/ruby/reline/commit/12ea63e6e0
* [ruby/irb] Version 1.3.8.pre.10aycabta2021-10-031-2/+2
| | | | https://github.com/ruby/irb/commit/15bcbbb284
* [ruby/irb] Update dependency, reline >= 0.2.8.pre.10aycabta2021-10-031-1/+1
| | | | https://github.com/ruby/irb/commit/800e83eabd
* [ruby/reline] Version 0.2.8.pre.10aycabta2021-10-031-1/+1
| | | | https://github.com/ruby/reline/commit/1c6c0c82f0
* [ruby/reline] Initialize @trap_key to suppress warningaycabta2021-10-031-0/+1
| | | | https://github.com/ruby/reline/commit/b42c0980d9
* [ruby/reline] Add a comment to use "private alias_method" idiom after drop ↵aycabta2021-10-031-0/+1
| | | | | | Ruby 2.5 https://github.com/ruby/reline/commit/1b00cae0fd