aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix filesystem dependent testsNobuyoshi Nakada2021-10-061-2/+2
| | | | Ruby cannot guarantee the resolutions of underlying filesystems.
* Enhanced RDoc for Enumerable (#4938)Burdette Lamar2021-10-051-110/+57
| | | | | | | | Treats: #slice_after #slice_when #chunk_while
* Update to ruby/spec@ccf0d85Benoit Daloze2021-10-0528-31/+692
|
* marshal.c Marshal.load accepts a freeze: true option.Jean Boussier2021-10-057-30/+184
| | | | | | | | Fixes [Feature #18148] When set, all the loaded objects are returned as frozen. If a proc is provided, it is called with the objects already frozen.
* Enhanced RDoc for Enumerable#slice_before (#4932)Burdette Lamar2021-10-051-17/+33
| | | | | * Enhanced RDoc for Enumerable#slice_before * Enhanced RDoc for Enumerable#slice_before
* * 2021-10-06 [ci skip]git2021-10-061-1/+1
|
* * remove trailing spaces. [ci skip]git2021-10-061-1/+1
|
* Fix documentation for String#{<<,concat,prepend}Jeremy Evans2021-10-051-9/+10
| | | | | | | These methods mutate and return the receiver, they don't create and return a new string. Fixes [Bug #18241]
* debug.gem v1.2.4Koichi Sasada2021-10-051-1/+1
| | | | This version fixes test failures on MacOS enviornment.
* [ruby/reline] Reduce window size so that it can be displayed in my desktopaycabta2021-10-051-3/+3
| | | | https://github.com/ruby/reline/commit/22359d50ab
* [ruby/reline] The width of block elements is 1 on Windowsaycabta2021-10-051-1/+5
| | | | https://github.com/ruby/reline/commit/5f4a75c7a0
* [ruby/reline] Cyrillic chars are now forced to be displayed in full-width on ↵aycabta2021-10-051-22/+0
| | | | | | | | Windows So testing is no longer necessary. https://github.com/ruby/reline/commit/c59589548b
* [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
|