aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/irb] Add info.rb to gemspecima1zumi2021-02-041-0/+1
| | | | https://github.com/ruby/irb/commit/adbba19adf
* Revert "vm_dump.c: Do not show C backtrace on riscv"Yusuke Endoh2021-02-041-1/+1
| | | | | | This reverts commit 6985bfb72c8d7e7d94f1aad1f0902b602bbfa6da. Now it should work on riscv by the previous commit. [Bug #17609]
* addr2line.c: DW_LNS_fixed_advance_pc takes a single uhalf operandYusuke Endoh2021-02-041-1/+2
| | | | | | Fixes [Bug #17609] Co-Authored-By: xtkoba (Tee KOBAYASHI) <xtkoba+ruby@gmail.com>
* Remove unsued str_new_shared function declarationS-H-GAMELINKS2021-02-041-1/+0
|
* [DOC] Fix typo in ext/socket/socket.c [ci skip]Dimitris Zorbas2021-02-041-2/+2
|
* [ruby/bigdecimal] Fix uint64 conversionKenta Murata2021-02-042-12/+27
| | | | | | | | Stop using logarithm to compute the number of components. Instead, use the theoretical maximum number of components for buffer, and count up the actual number of components during conversion. https://github.com/ruby/bigdecimal/commit/9067b353ac
* [ruby/bigdecimal] Stop using rmpd and RMPD prefixes and DBLE_FIGKenta Murata2021-02-042-81/+64
| | | | https://github.com/ruby/bigdecimal/commit/7479923fdb
* rb_clear_method_cache_by_class: no longer exist卜部昌平2021-02-041-1/+0
| | | | | It is questionable whether we can change a public API but this function does not exist today. No way.
* Revert "Don't pin `val` passed in to `rb_define_const`."Aaron Patterson2021-02-031-0/+1
| | | | | | I think this is breaking something This reverts commit 1be84e53d76cff30ae371f0b397336dee934499d.
* * 2021-02-04 [ci skip]git2021-02-041-1/+1
|
* Don't pin `val` passed in to `rb_define_const`.Aaron Patterson2021-02-031-1/+0
| | | | | The caller should be responsible for holding a pinned reference (if they need that)
* Make alias for aliased original methodNobuyoshi Nakada2021-02-031-1/+7
| | | | Chaining aliased methods increases searching cost linearly.
* [ruby/bigdecimal] Fix the maximum length of float numberKenta Murata2021-02-031-3/+5
| | | | | | | This change is for preventing the false-positive alert by CoverityScan. See CID-1471770 for the detail. https://github.com/ruby/bigdecimal/commit/4d5b97125b
* Prefer block forms to close opened filesNobuyoshi Nakada2021-02-031-11/+13
|
* Open gzip file in binary modeNobuyoshi Nakada2021-02-031-2/+2
|
* use goto intead of recursion on vm_call0_body()Koichi Sasada2021-02-031-1/+16
| | | | | | | | | | | "alias" type method entries can chain another aliased method so that machine stack can be overflow on nested alias chain. http://ci.rvm.jp/results/trunk-repeat20@phosphorus-docker/3344209 This patch fix this issue by use goto instead of recursion if possible. TODO: Essentially, the alias method should not points another aliased method entry. Try to fix it later.
* Fix failures with EditLineKazuhiro NISHIYAMA2021-02-032-2/+2
| | | | | | | | | | | | | | On macOS with EditLine: ``` $ ruby -r readline -e 'Readline.readline("> "); p Readline::VERSION' < /dev/null "EditLine wrapper" ``` On Linux with GNU readline: ``` $ ruby -r readline -e 'Readline.readline("> "); p Readline::VERSION' < /dev/null > "8.0" ```
* Adjusted indent [ci skip]Nobuyoshi Nakada2021-02-031-2/+2
|
* only main thread can modify vm->ubf_async_safeKoichi Sasada2021-02-031-3/+5
| | | | | | vm->ubf_async_safe is VM global resource and only main thread can manipulate it. [Bug #17482]
* * 2021-02-03 [ci skip]git2021-02-031-1/+1
|
* [ruby/irb] follow up the actual line numberNobuhiro IMAI2021-02-032-1/+25
| | | | https://github.com/ruby/irb/commit/7aed8fe3b1
* NetBSD build update. (#4079)David CARLIER2021-02-021-2/+6
|
* add debug code for timer_posixKoichi Sasada2021-02-021-8/+47
| | | | | timer_posix mode is managed by timer_posix.state. This patch adds some debug code for the transition of the state.
* Pass revision by hand if the commit message lacks the ticket numberNARUSE, Yui2021-02-021-3/+9
|
* Use local repository instead of remoteNARUSE, Yui2021-02-021-8/+7
| | | | to improve performance
* Drop pushing local repoNARUSE, Yui2021-02-021-2/+1
| | | | | I want to push another repo/branch to run CI before pushing it to official branch.
* Use the lateset winflexbison3Nobuyoshi Nakada2021-02-021-2/+1
| | | | The installation script fault seems fixed at 2.5.23.20200904.
* Add some git configurations in CIsNobuyoshi Nakada2021-02-022-0/+6
|
* Set git config in global instead of systemNobuyoshi Nakada2021-02-022-4/+4
|
* Fix GC compatibility: Don't stash encodings in global constantsAaron Patterson2021-02-011-11/+1
| | | | | | | | | | This value should either be pinned, or looked up when needed at runtime. Without pinning, the GC may move the encoding object, and that could cause a crash. In this case it is easier to find the value at runtime, and there is no performance penalty (as Ruby caches encoding indexes). We can shorten the code, be compaction friendly, and incur no performance penalty.
* * 2021-02-02 [ci skip]git2021-02-021-1/+1
|
* Use RCLASS_EXT macro instead of directly accessing ptrMatt Valentine-House2021-02-011-5/+5
|
* Add RCLASS_SUBCLASSES MacroMatt Valentine-House2021-02-014-15/+16
|
* Add RCLASS_ALLOCATOR MacroMatt Valentine-House2021-02-013-6/+7
|
* Add PARENT_MODULE_SUBCLASSES MacroMatt Valentine-House2021-02-012-8/+9
|
* Add RCLASS_PARENT_SUBMODULES MacroMatt Valentine-House2021-02-012-8/+9
|
* Implement NameError::message#clone for RactorNobuyoshi Nakada2021-02-013-2/+55
|
* Ignore warnings when transforming preprocessed headerNobuyoshi Nakada2021-02-011-1/+1
| | | | | For already preprocessed header, -Werror=misleading-indentation doesn't make sense.
* Fix for windres 2.36 [Bug #17602]Nobuyoshi Nakada2021-02-011-1/+4
| | | | | | Add --preprocessor and --preprocessor-arg for each preprocessor command arguments, as windres 2.36 requires preprocessor name and arguments to be separated to respect spaces in these paths.
* Add File.absolute_path? to NEWS-2.7.0 [ci skip]Masataka Pocke Kuwabara2021-02-011-0/+9
| | | | | | | | `File.absolute_path?` has been added since Ruby 2.7.0, but it isn't mentioned in the NEWS. So this patch adds a NEWS entry. ref: https://bugs.ruby-lang.org/issues/15868 Co-authored-by: nagachika <nagachika@ruby-lang.org>
* * 2021-02-01 [ci skip]git2021-02-011-2/+2
|
* Fixed varargs in `rb_bug_without_die` [Bug #17603]xtkoba (Tee KOBAYASHI)2021-02-011-2/+2
|
* Split `mnew` into unbound and callableNobuyoshi Nakada2021-01-311-10/+16
| | | | | | It always branches by `obj` is `Qundef` or not, which is invariant for each functions; `obj_method` is the latter, and the other two are the former.
* Removed static assertion about size of `RVALUE`Nobuyoshi Nakada2021-01-311-2/+0
| | | | | It is unable where unaligned word access is disallowed and `double` is wider than pointers.
* MSys is a variant of CygwinNobuyoshi Nakada2021-01-311-13/+14
|
* Narrowed down the condition to pack RValueNobuyoshi Nakada2021-01-311-3/+5
| | | | | | Because of `double` in `RFloat`, `RValue` would be packed by `sizeof(double)` by default, on platforms where `double` is wider than `VALUE`. Size of `RValue` is multiple of 5 now.
* Update bundled_gemsNobuyoshi Nakada2021-01-311-1/+1
|
* vm_dump: dump registers for Mac M1David CARLIER2021-01-311-1/+23
|
* Update TypeProf to 0.12.0 (#4132)Yusuke Endoh2021-01-311-1/+1
|
* Move rb_big_isqrt declarationS-H-GAMELINKS2021-01-312-2/+1
|