summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-03-10Capture inlined iseq's cc entries in root iseq'sTakashi Kokubun
jit_unit to avoid marking wrong cc entries when inlined iseq is compiled multiple times, resolving the TODO added by daf7c48d88. This obviates pseudo jit_unit in inlined iseq introduced by 7ec2359374 and fixes memory leak of the adhoc unit.
2020-03-09Drop direct Slack notification from CIsTakashi Kokubun
All Slack alerts have been migrated to a bot made by mame-san
2020-03-10RDoc markdown parser needs explicit code block or more indents [ci skip]Nobuyoshi Nakada
2020-03-10Added link to the ticket [ci skip]Nobuyoshi Nakada
2020-03-10* 2020-03-10 [ci skip]git
2020-03-09Update NEWS for autosplatting change [ci skip]Jeremy Evans
2020-03-09Don't display singleton class in Method#inspect unless method defined thereJeremy Evans
Previously, if an object has a singleton class, and you call Object#method on the object, the resulting string would include the object's singleton class, even though the method was not defined in the singleton class. Change this so the we only show the singleton class if the method is defined in the singleton class. Fixes [Bug #15608] Notes: Merged: https://github.com/ruby/ruby/pull/2949 Merged-By: jeremyevans <code@jeremyevans.net>
2020-03-09Remove Float::ROUNDSJeremy Evans
Fixes [Bug #16044] Notes: Merged: https://github.com/ruby/ruby/pull/2953
2020-03-09Clarify Time::at documentation for in: argumentzverok
Notes: Merged: https://github.com/ruby/ruby/pull/2950
2020-03-08Skip test_06_timeout for --jit-wait CITakashi Kokubun
This test has been too unstable on trunk-mjit-wait http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/2782206
2020-03-09Use https for downloading Unicode data.Hiroshi SHIBATA
Retry with 90de118a75921a08497b41de2950971073b3c924 [Bug #13962][ruby-core:83074]
2020-03-08Do not autosplat when calling procs that accept rest and keywordsJeremy Evans
When providing a single array to a block that takes a splat, pass the array as one argument of the splat instead of as the splat itself, even if the block also accepts keyword arguments. Previously, this behavior was only used for blocks that did not accept keywords. Implements [Feature#16166] Notes: Merged: https://github.com/ruby/ruby/pull/2502
2020-03-08Do not set USE_FFI_CLOSURE_ALLOC=1 in fiddle on OpenBSDJeremy Evans
On OpenBSD, USE_FFI_CLOSURE_ALLOC was always set to 0 previously. In 633a1f15d8228236094ddee12e4e169d655ec49e, the code was modified in a way that it ended up being set to 1 on OpenBSD. However, that results in SIGABRT when running make test-all, inside ffi_closure_free. Setting USE_FFI_CLOSURE_ALLOC back to 0 fixes the issue.
2020-03-09* 2020-03-09 [ci skip]git
2020-03-09Cast properly for shift operandKoichi Sasada
`(int) << RHASH_LEV_SHIFT` can be negative integer.
2020-03-08Word array instead of splittingNobuyoshi Nakada
2020-03-08Specify explicit separator not to be affected by $;Nobuyoshi Nakada
2020-03-08* 2020-03-08 [ci skip]git
2020-03-08Fix rbinstall bugs (#2930)David Rodríguez
* Fix incorrect calls to `Gem.ensure_gem_subdirectories` This method doesn't take keyword args. * Remove stuff no longer necessary Now `Gem.ensure_gem_subdirectories` is doing its job, so some stuff is no longer needed. * Use the proper method for default gems * Respect DESTDIR when creating rubygems folder layout * Use `Gem.default_specifications_dir` Notes: Merged-By: hsbt <hsbt@ruby-lang.org>
2020-03-07Use osuosl instead of GitHub releasesHiroshi SHIBATA
Because the package provided by GitHub releases is different from sourceware.
2020-03-07Switch to download libffi source package to github releases from sourceware.orgHiroshi SHIBATA
2020-03-07rb_check_safe_obj no longer exists卜部昌平
Commit e91c39f1c0f7d5e670266d9593d533fd444957f6 deleted definition of it. Though I'm not sure if we can delete public API like this, it no longer works nontheless. Having declaration without definiton is worse than having nothing at all. Just delete the declartion too.
2020-03-07Hook an experimental alert from ActionsTakashi Kokubun
2020-03-07Hook an experimental alert from TravisTakashi Kokubun
2020-03-07Removed unnecessary `chomp`Nobuyoshi Nakada
As `String#split` with the default argument drops trailing newline as a separator, preceding `String#chomp` is futile.
2020-03-06Hook an experimental alert from AppVeyorTakashi Kokubun
2020-03-07Fix a typoKazuhiro NISHIYAMA
2020-03-06Propagate JIT skip to all testsTakashi Kokubun
2020-03-06Document defined? and global_variables handling of regexp global variables ↵Jeremy Evans
[ci skip] Fixes [Bug #11304]
2020-03-07check ar_table first.Koichi Sasada
RHASH_AR_TABLE_SIZE() has assertion that it is a ar_talbe. The last commit breaks this assumption so check ar_table first.
2020-03-07check ar_table after `#hash` callKoichi Sasada
ar_table can be converted to st_table just after `ar_do_hash()` function which calls `#hash` method. We need to check the representation to detect this mutation. [Bug #16676]
2020-03-07* 2020-03-07 [ci skip]git
2020-03-06Skip jit_test on some new RubyCI envs for nowTakashi Kokubun
2020-03-06thread_pthread.c: allocate sigaltstack before pthread_createYusuke Endoh
A new (not-initialized-yet) pthread attempts to allocate sigaltstack by using xmalloc. It may cause GC, but because the thread is not initialized yet, ruby_native_thread_p() returns false, which leads to "[FATAL] failed to allocate memory" and exit. In fact, we can observe the error message in the log of OpenBSD CI: https://rubyci.org/logs/rubyci.s3.amazonaws.com/openbsd-current/ruby-master/log/20200306T083005Z.log.html.gz This changeset allocates sigaltstack before pthread is created.
2020-03-06Improve docs for Prime.{prime_division,int_from_prime_division} (#8)Marcus Stollsteimer
Move explanation for the decomposition array from the Example section to the method description. Mention the term "multiplicity". Use examples that also demonstrate factors with multiplicity other than 1, and avoid factors/multiplicities with the same value. Also add the decomposition written as simple mathematical expression. This also fixes missing syntax highlighting for the code examples due to verbatim blocks that did not only include Ruby code.
2020-03-06[ruby/prime] Fix typoMarcus Stollsteimer
https://github.com/ruby/prime/commit/549c1b86f1
2020-03-06[ruby/prime] Improve docs for Prime.include? (#7)Marcus Stollsteimer
https://github.com/ruby/prime/commit/230a5af325
2020-03-06[ruby/prime] Fix Prime.include?Jeremy Evans
Previously, it would be an infinite loop if passed a non-prime integer. Also, Prime.include? should also provide similar results to Module#include? if passed a Module, so handle that. For consistency with Enumerable#include?, return false if passed other object types. Fixes Ruby Bug 10167. https://github.com/ruby/prime/commit/55dda6aa7f
2020-03-06* 2020-03-06 [ci skip]git
2020-03-05Mask RubyVM-specific testCharles Oliver Nutter
2020-03-05spec/ruby/core/process/exec_spec.rb: remove a guard for openbsdYusuke Endoh
openbsd current seems to behave the same as other OSs. https://rubyci.org/logs/rubyci.s3.amazonaws.com/openbsd-current/ruby-master/log/20200305T063005Z.fail.html.gz
2020-03-05Renamed `lex_flags` as `lex_context`Nobuyoshi Nakada
2020-03-05Fixed a typoNobuyoshi Nakada
2020-03-05[win32] get rid of redefinition of reserved macroNobuyoshi Nakada
``` warning C4117: macro name '_INTEGRAL_MAX_BITS' is reserved, '#define' ignored ```
2020-03-05* 2020-03-05 [ci skip]git
2020-03-05[ruby/fiddle] always use ffi_closure_alloc on WindowsNobuyoshi Nakada
2020-03-04Fixed FD leakNobuyoshi Nakada
2020-03-04[ruby/fiddle] use ffi_closure_alloc only with 3.2 or laterNobuyoshi Nakada
2020-03-04[win32] suppress false warning by mingw gccNobuyoshi Nakada
2020-03-04[win32] suppress false warning by MSVCNobuyoshi Nakada