aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Expose assert_normal_exit for weakrefHiroshi SHIBATA2020-02-112-106/+106
|
* * 2020-02-11 [ci skip]git2020-02-111-1/+1
|
* Removed unused variableNobuyoshi Nakada2020-02-111-8/+0
| | | | `generic_iv_tbl_compat` has not been utilized since 14d61a94ff01.
* Don't refer Date in the document for Time.Tanaka Akira2020-02-101-2/+3
|
* Update readline-ext entry at docsHiroshi SHIBATA2020-02-101-2/+4
|
* Don't use upstream ext/readline/dependaycabta2020-02-101-0/+1
|
* Use github.run_id in notification payload URLKazuhiro NISHIYAMA2020-02-105-5/+5
|
* Revert "gc.c: make the stack overflow detection earlier under s390x"Yusuke Endoh2020-02-101-7/+0
| | | | | | | This reverts commit a28c166f787710227c6aac54befd72778f041485. This change didn't help. According to odaira, the issue was fixed by increasing `ulimit -s`.
* Fixed duplicated warningNobuyoshi Nakada2020-02-102-6/+6
| | | | | As `command_rhs` is always a "value expression", `command_asgn` does not need the same check.
* Added commands of test-bundler to cheatsheet.Hiroshi SHIBATA2020-02-101-0/+3
|
* rb_enc_str_asciionly_p expects T_STRING卜部昌平2020-02-101-1/+1
| | | | | | 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.
* compile.c: Drop obj_list from ibf_dumpNagayamaRyoga2020-02-091-31/+43
| | | | [Feature #16505]
* compile.c: Drop iseq_list from ibf_dumpNagayamaRyoga2020-02-091-19/+34
| | | | [Feature #16505]
* Deduplicate objects efficiently when dumping iseq to binaryNagayamaRyoga2020-02-091-16/+25
| | | | | | | | | 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]
* * 2020-02-10 [ci skip]git2020-02-101-1/+1
|
* Fix readline build dependencyAlan Wu2020-02-091-0/+1
|
* test/ruby/test_thread_queue.rb: add a wait to yield a threadYusuke Endoh2020-02-091-0/+1
| | | | | | | | | | | | | 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.
* doc/make_cheatsheet.md: add a memo about how to run one rubyspec fileYusuke Endoh2020-02-091-0/+4
|
* [ruby/readline-ext] Use rake/extensiokntask to buildaycabta2020-02-091-0/+4
| | | | https://github.com/ruby/readline-ext/commit/b0b5f709bd
* [ruby/readline-ext] Add spec.extensionsaycabta2020-02-091-0/+1
| | | | https://github.com/ruby/readline-ext/commit/8c33abb13c
* [ruby/readline-ext] Use require check instead of DONT_RUN_RELINE_TEST envaycabta2020-02-091-1/+3
| | | | https://github.com/ruby/readline-ext/commit/1df99d1481
* [ruby/readline-ext] The ruby/assert.h is adopted by Ruby 2.7 or lateraycabta2020-02-091-1/+0
| | | | https://github.com/ruby/readline-ext/commit/106c31fc1b
* [ruby/readline-ext] Check TestRelineAsReadline existanceaycabta2020-02-091-1/+1
| | | | https://github.com/ruby/readline-ext/commit/c0a6303168
* [ruby/readline-ext] Remove unnecessary -I$(top_srcdir) when it's an ↵aycabta2020-02-091-1/+0
| | | | | | individual gem https://github.com/ruby/readline-ext/commit/efaca4a5f4
* Revert "[ruby/readline-ext] Include ruby/assert.h in ruby/ruby.h so that ↵aycabta2020-02-091-1/+0
| | | | | | | | assertions can be there" This reverts commit 425b2064d394639101854c83a061a0918b33b857. This cherry-pick was a mistake.
* Check if bindable against the refined target [Bug #16617]Nobuyoshi Nakada2020-02-093-0/+25
|
* Disable GC until VM objects get initialized [Bug #16616]Nobuyoshi Nakada2020-02-093-0/+4
|
* Separate objspace argument for rb_gc_disable and rb_gc_enableNobuyoshi Nakada2020-02-092-6/+27
|
* Removed duplicated codeNobuyoshi Nakada2020-02-091-30/+1
|
* Enhance rdoc for ENVBurdette Lamar2020-02-091-14/+80
|
* Fix message of ExceptionForMatrix::ErrOperationNotDefinedKazuhiro NISHIYAMA2020-02-091-1/+1
| | | | | | | | | | | ``` % 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> ```
* gc.c: make the stack overflow detection earlier under s390xYusuke Endoh2020-02-091-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Removed a useless guardNobuyoshi Nakada2020-02-091-1/+1
| | | | MSpec requires Ruby 2.4 or more recent.
* spec/ruby/core/file/utime_spec.rb: far future timestamp may be trancatedYusuke Endoh2020-02-091-3/+5
| | | | | | | | | | | | | | | | | | 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 [ci skip]git2020-02-091-1/+1
|
* [ruby/reline] Organize special keys escape sequencesaycabta2020-02-091-3/+22
| | | | https://github.com/ruby/reline/commit/41deb1a3d9
* [DOC] Added 2.7.x to the latest stable versions [ci skip]Nobuyoshi Nakada2020-02-081-1/+1
|
* * 2020-02-08 [ci skip]git2020-02-081-1/+1
|
* Clarified documentation in rb_integer_unpack [ci skip]Bernhard F. Brodowsky2020-02-081-1/+1
| | | | | | | 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.
* support multi-run test for ↵S-H-GAMELINKS2020-02-072-2/+4
| | | | test/did_you_mean/spell_checking/test_class_name_check.rb
* remove warning & support multi-run test for test/psych_test_yaml.rb (#2887)S.H2020-02-071-0/+1
|
* remove warning & support multi-run test for ↵S.H2020-02-071-0/+1
| | | | test/psych/visitors/test_to_ruby.rb (#2881)
* Show unmatched sequence on failureNobuyoshi Nakada2020-02-071-1/+2
|
* more on NULL versus functions.卜部昌平2020-02-0714-28/+29
| | | | | | Function pointers are not void*. See also ce4ea956d24eab5089a143bba38126f2b11b55b6 8427fca49bd85205f5a8766292dd893f003c0e48
* Made a test more robustNobuyoshi Nakada2020-02-071-4/+7
| | | | Against changes of the `assert_separately` prologue code.
* * 2020-02-07 [ci skip]git2020-02-071-1/+1
|
* Removed useless empty linesNobuyoshi Nakada2020-02-071-2/+0
|
* Stop auto runnerNobuyoshi Nakada2020-02-071-11/+13
| | | | Auto runner should not run in forked processes in separated tests.
* No crafted backtrace for SystemExitNobuyoshi Nakada2020-02-071-2/+2
| | | | As SystemExit is ignored, it is just useless.
* Revert "[rubygems/rubygems] Fix require issue with file extension priority"Hiroshi SHIBATA2020-02-062-74/+16
| | | | | | This reverts commit d767da428c28b7b9fec56b383bb32f6f76c6ad26. It fails with spec/ruby/core/kernel/require_spec.rb:5