summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-10Added commands of test-bundler to cheatsheet.Hiroshi SHIBATA
2020-02-10rb_enc_str_asciionly_p expects T_STRING卜部昌平
This `str2` variable can be non-string (regexp etc.) but the previous code passed it directly to rb_enc_str_asciionly_p(), which expects its argument be a string. Let's enforce that constraint.
2020-02-09compile.c: Drop obj_list from ibf_dumpNagayamaRyoga
[Feature #16505] Notes: Merged: https://github.com/ruby/ruby/pull/2835
2020-02-09compile.c: Drop iseq_list from ibf_dumpNagayamaRyoga
[Feature #16505] Notes: Merged: https://github.com/ruby/ruby/pull/2835
2020-02-09Deduplicate objects efficiently when dumping iseq to binaryNagayamaRyoga
We were inefficient in cases where there are a lot of duplicates due to the use of linear search. Use a hash table instead. These cases are not that rare in the wild. [Feature #16505] Notes: Merged: https://github.com/ruby/ruby/pull/2835
2020-02-10* 2020-02-10 [ci skip]git
2020-02-09Fix readline build dependencyAlan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/2895
2020-02-09test/ruby/test_thread_queue.rb: add a wait to yield a threadYusuke Endoh
On Arch, sending a signal in a loop seems hardly to yield the execution. ``` 1) Error: TestThreadQueue#test_queue_with_trap: Timeout::Error: execution of assert_in_out_err expired timeout (10 sec) ``` https://rubyci.org/logs/rubyci.s3.amazonaws.com/arch/ruby-master/log/20200209T120002Z.fail.html.gz This change allows the test to pass.
2020-02-09doc/make_cheatsheet.md: add a memo about how to run one rubyspec fileYusuke Endoh
2020-02-09[ruby/readline-ext] Use rake/extensiokntask to buildaycabta
https://github.com/ruby/readline-ext/commit/b0b5f709bd
2020-02-09[ruby/readline-ext] Add spec.extensionsaycabta
https://github.com/ruby/readline-ext/commit/8c33abb13c
2020-02-09[ruby/readline-ext] Use require check instead of DONT_RUN_RELINE_TEST envaycabta
https://github.com/ruby/readline-ext/commit/1df99d1481
2020-02-09[ruby/readline-ext] The ruby/assert.h is adopted by Ruby 2.7 or lateraycabta
https://github.com/ruby/readline-ext/commit/106c31fc1b
2020-02-09[ruby/readline-ext] Check TestRelineAsReadline existanceaycabta
https://github.com/ruby/readline-ext/commit/c0a6303168
2020-02-09[ruby/readline-ext] Remove unnecessary -I$(top_srcdir) when it's an ↵aycabta
individual gem https://github.com/ruby/readline-ext/commit/efaca4a5f4
2020-02-09Revert "[ruby/readline-ext] Include ruby/assert.h in ruby/ruby.h so that ↵aycabta
assertions can be there" This reverts commit 425b2064d394639101854c83a061a0918b33b857. This cherry-pick was a mistake.
2020-02-09Check if bindable against the refined target [Bug #16617]Nobuyoshi Nakada
2020-02-09Disable GC until VM objects get initialized [Bug #16616]Nobuyoshi Nakada
2020-02-09Separate objspace argument for rb_gc_disable and rb_gc_enableNobuyoshi Nakada
2020-02-09Removed duplicated codeNobuyoshi Nakada
2020-02-09Enhance rdoc for ENVBurdette Lamar
Notes: Merged: https://github.com/ruby/ruby/pull/2817 Merged-By: nobu <nobu@ruby-lang.org>
2020-02-09Fix message of ExceptionForMatrix::ErrOperationNotDefinedKazuhiro NISHIYAMA
``` % RBENV_VERSION=2.6.5 ruby -r matrix -e 'Vector[1]*Vector[2] rescue p($!)' #<ExceptionForMatrix::ErrOperationNotDefined: Operation(*) can't be defined: Vector op Vector> % RBENV_VERSION=2.7.0 ruby -r matrix -e 'Vector[1]*Vector[2] rescue p($!)' #<ExceptionForMatrix::ErrOperationNotDefined: Operation(*) can\'t be defined: Vector op Vector> % RBENV_VERSION=master ruby -r matrix -e 'Vector[1]*Vector[2] rescue p($!)' #<ExceptionForMatrix::ErrOperationNotDefined: Operation(*) can't be defined: Vector op Vector> ```
2020-02-09gc.c: make the stack overflow detection earlier under s390xYusuke Endoh
On s390x, TestFiber#test_stack_size fails with SEGV. https://rubyci.org/logs/rubyci.s3.amazonaws.com/rhel_zlinux/ruby-master/log/20200205T223421Z.fail.html.gz ``` TestFiber#test_stack_size [/home/chkbuild/build/20200205T223421Z/ruby/test/ruby/test_fiber.rb:356]: pid 23844 killed by SIGABRT (signal 6) (core dumped) | -e:1:in `times': stack level too deep (SystemStackError) | from -e:1:in `rec' | from -e:1:in `block (3 levels) in rec' | from -e:1:in `times' | from -e:1:in `block (2 levels) in rec' | from -e:1:in `times' | from -e:1:in `block in rec' | from -e:1:in `times' | from -e:1:in `rec' | ... 172 levels... | from -e:1:in `block in rec' | from -e:1:in `times' | from -e:1:in `rec' | from -e:1:in `block in <main>' | -e: [BUG] Segmentation fault at 0x0000000000000000 ``` This change tries a similar fix with ef64ab917eec02491f6bf7233a4031a8c35385e3 and 3ddbba84b5b1f001cd575a48cec56d7ce8e5fbb2.
2020-02-09Removed a useless guardNobuyoshi Nakada
MSpec requires Ruby 2.4 or more recent.
2020-02-09spec/ruby/core/file/utime_spec.rb: far future timestamp may be trancatedYusuke Endoh
Under some Ext4 filesystem settings, a timestamp is limited up to 0x37fffffff (2446-05-10). https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout#Inode_Timestamps > Therefore, timestamps should not overflow until May 2446. Actually the spec fails under one of our CI environments, like: ``` 1) File.utime allows Time instances in the far future to set mtime and atime FAILED Expected 2446 == 559444 to be truthy but was false ``` https://rubyci.org/logs/rubyci.s3.amazonaws.com/arch/ruby-master/log/20200208T180002Z.fail.html.gz
2020-02-09* 2020-02-09 [ci skip]git
2020-02-09[ruby/reline] Organize special keys escape sequencesaycabta
https://github.com/ruby/reline/commit/41deb1a3d9
2020-02-08[DOC] Added 2.7.x to the latest stable versions [ci skip]Nobuyoshi Nakada
2020-02-08* 2020-02-08 [ci skip]git
2020-02-08Clarified documentation in rb_integer_unpack [ci skip]Bernhard F. Brodowsky
I struggled figuring out which of the pack/unpack functions goes into which direction and the two first sentences were of the documentation were: * Import an integer into a buffer. * Export an integer into a buffer. It sounds like both of them go from a ruby integer to a buffer because both use "into". So I fixed it and went to "Import an integer from a buffer". I find this much more clear. Notes: Merged: https://github.com/ruby/ruby/pull/2891 Merged-By: nobu <nobu@ruby-lang.org>
2020-02-07support multi-run test for ↵S-H-GAMELINKS
test/did_you_mean/spell_checking/test_class_name_check.rb Notes: Merged: https://github.com/ruby/ruby/pull/2880
2020-02-07remove warning & support multi-run test for test/psych_test_yaml.rb (#2887)S.H
Notes: Merged-By: nurse <naruse@airemix.jp>
2020-02-07remove warning & support multi-run test for ↵S.H
test/psych/visitors/test_to_ruby.rb (#2881) Notes: Merged-By: nurse <naruse@airemix.jp>
2020-02-07Show unmatched sequence on failureNobuyoshi Nakada
2020-02-07more on NULL versus functions.卜部昌平
Function pointers are not void*. See also ce4ea956d24eab5089a143bba38126f2b11b55b6 8427fca49bd85205f5a8766292dd893f003c0e48
2020-02-07Made a test more robustNobuyoshi Nakada
Against changes of the `assert_separately` prologue code.
2020-02-07* 2020-02-07 [ci skip]git
2020-02-07Removed useless empty linesNobuyoshi Nakada
2020-02-07Stop auto runnerNobuyoshi Nakada
Auto runner should not run in forked processes in separated tests.
2020-02-07No crafted backtrace for SystemExitNobuyoshi Nakada
As SystemExit is ignored, it is just useless.
2020-02-06Revert "[rubygems/rubygems] Fix require issue with file extension priority"Hiroshi SHIBATA
This reverts commit d767da428c28b7b9fec56b383bb32f6f76c6ad26. It fails with spec/ruby/core/kernel/require_spec.rb:5
2020-02-06Revert to remove the query command of rubygems.Hiroshi SHIBATA
The original commit was https://github.com/rubygems/rubygems/pull/3119
2020-02-06[rubygems/rubygems] Fix require issue with file extension priorityDavid Rodríguez
If `require "a"` is run when two folders have been specified in the -I option including a "a.rb" file and a "a.so" file respectively, the ruby spec says that the ".rb" file should always be preferred. However, the logic we added in https://github.com/rubygems/rubygems/commit/6b81076d9 to make the -I option always beat default gems does not respect this spec, creating a difference from the original ruby-core's require. [the ruby spec says]: https://github.com/ruby/spec/blob/d80a6e2b221d4f17a8cadcac75ef950c59cba901/core/kernel/shared/require.rb#L234-L246 https://github.com/rubygems/rubygems/commit/b3944384f4
2020-02-06[rubygems/rubygems] Make non "test_" method privateDavid Rodríguez
https://github.com/rubygems/rubygems/commit/912d141a35
2020-02-06[rubygems/rubygems] Allow releasing with a rubygems pre versionDavid Rodríguez
This condition is too restrictive in my opinion. If a user has a pre version of rubygems installed, she should be fully responsible for it, and we shouldn't restrict any functionality. Also, why is a new prerelease disallowed but an old prelease allowed, or why is 2.0.0.rc2 explictly whitelisted? I believe this kind of exceptions are one more reason to actually permit this. https://github.com/rubygems/rubygems/commit/7f77a77620
2020-02-06Fix readline-ext syncaycabta
2020-02-06Fixed the output from separated test in parallel testNobuyoshi Nakada
Redirect the output of separated child process to `MiniTest::Unit.output`.
2020-02-06Add separated assertion countNobuyoshi Nakada
2020-02-06[ruby/spec] Don't care about return valuesNobuyoshi Nakada
RDoc says nothing about them. Added an example that ConditionVariable#wait can be woken up by ConditionVariable#signal, instead.
2020-02-06[ruby/spec] Just test that sleep completesNobuyoshi Nakada