summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* transient_heap_status_cstr() is used only for debuggingNobuyoshi Nakada2020-07-291-1/+3
|
* Skip already extracted gemsNobuyoshi Nakada2020-07-291-1/+2
|
* display stderr output even if core dump filesKoichi Sasada2020-07-291-2/+8
| | | | | | On btest, stderr messages are not displayed if core files are generated. There is no reason to skip it, so this patch display stderr and check core files.
* add debug output.Koichi Sasada2020-07-291-0/+19
|
* Fix Time#ceil when result should be the same as the receiverJeremy Evans2020-07-282-1/+9
| | | | Fixes [Bug #17025]
* * 2020-07-29 [ci skip]git2020-07-291-1/+1
|
* Enhanced RDoc for Array [ci skip]BurdetteLamar2020-07-281-96/+240
|
* Use https instead of httpKazuhiro NISHIYAMA2020-07-2829-46/+46
|
* Do not assume all compilers accept same flags as gccNobuyoshi Nakada2020-07-281-1/+1
|
* [ruby/net-ftp] Moved Net::Ftp::Version to Net::FTPNobuyoshi Nakada2020-07-283-10/+8
| | | | | | | On case-insensitive filesystem, generated Net/FTP.html is overwritten by Net/Ftp.html. https://github.com/ruby/net-ftp/commit/14a6ff5134
* vm_backtrace.c: let rb_profile_frames show cfunc framesYusuke Endoh2020-07-282-9/+74
| | | | | ... in addition to normal iseq frames. It is sometimes useful to point the bottleneck more precisely.
* Remove unnecessary word from commentSergio2020-07-281-1/+1
|
* [DOC] Clarify ObjectSpace return values are in bytes [ci skip]Simon Perepelitsa2020-07-281-2/+2
|
* Remove `EnvUtil.rubyexec`, because it is not used anywhere.Vít Ondruch2020-07-281-5/+0
|
* Update to ruby/spec@07164daBenoit Daloze2020-07-2738-44/+733
|
* Update to ruby/mspec@9cffee9Benoit Daloze2020-07-271-1/+4
|
* Use a linked list to eliminate imemo tmp bufs for managing local tablesAaron Patterson2020-07-273-29/+21
| | | | | | | This patch changes local table memory to be managed by a linked list rather than via the garbage collector. It reduces allocations from the GC and also fixes a use-after-free bug in the concurrent-with-sweep compactor I'm working on.
* * 2020-07-28 [ci skip]git2020-07-281-1/+1
|
* Prevent SystemStackError when calling super in module with activated refinementJeremy Evans2020-07-272-0/+34
| | | | | | | | | Without this, if a refinement defines a method that calls super and includes a module with a module that calls super and has a activated refinement at the point super is called, the module method super call will end up calling back into the refinement method, creating a loop. Fixes [Bug #17007]
* * 2020-07-27 [ci skip]git2020-07-271-1/+1
|
* Use typewriter notation for var[:sym] correctlyaycabta2020-07-271-5/+5
|
* * 2020-07-26 [ci skip]git2020-07-261-1/+1
|
* Fixed a typoNobuyoshi Nakada2020-07-261-1/+1
|
* Respect visibility in non-array Enumerable#inject [Bug #13592]Nobuyoshi Nakada2020-07-242-1/+57
|
* Fix Time#to_a behavior with timezone [Bug #17046]S.H2020-07-242-1/+7
|
* * 2020-07-24 [ci skip]git2020-07-241-1/+1
|
* [ruby/optparse] Fix ls-files matching regexpNobuyoshi Nakada2020-07-241-2/+2
| | | | | | | | As splitting by NUL means to allow the file names to contain newlines, path names should match at beginning-of-string instead of beginning-of-line. https://github.com/ruby/optparse/commit/df3933aa2b
* Suppress "assigned but unused variable" warningsYusuke Endoh2020-07-232-3/+3
|
* [ruby/observer] add symbol usage example to Observer#add_observer [doc]Tom Rothe2020-07-231-0/+24
| | | | https://github.com/ruby/observer/commit/62a94e3799
* Improved Enumerable::Lazy#zipNobuyoshi Nakada2020-07-232-42/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |compare-ruby|built-ruby| |:-------------------|-----------:|---------:| |first_ary | 290.514k| 296.331k| | | -| 1.02x| |first_nonary | 166.954k| 169.178k| | | -| 1.01x| |first_noarg | 299.547k| 305.358k| | | -| 1.02x| |take3_ary | 129.388k| 188.360k| | | -| 1.46x| |take3_nonary | 90.684k| 112.688k| | | -| 1.24x| |take3_noarg | 131.940k| 189.471k| | | -| 1.44x| |chain-first_ary | 195.913k| 286.194k| | | -| 1.46x| |chain-first_nonary | 127.483k| 168.716k| | | -| 1.32x| |chain-first_noarg | 201.252k| 298.562k| | | -| 1.48x| |chain-take3_ary | 101.189k| 183.188k| | | -| 1.81x| |chain-take3_nonary | 75.381k| 112.301k| | | -| 1.49x| |chain-take3_noarg | 101.483k| 192.148k| | | -| 1.89x| |block | 296.696k| 292.877k| | | 1.01x| -|
* Improved Enumerable::Lazy#flat_mapNobuyoshi Nakada2020-07-233-42/+60
| | | | | | | | | | | | | | | | | | | | |compare-ruby|built-ruby| |:-------|-----------:|---------:| |num3 | 96.333k| 160.732k| | | -| 1.67x| |num10 | 96.615k| 159.150k| | | -| 1.65x| |ary2 | 103.836k| 172.787k| | | -| 1.66x| |ary10 | 109.249k| 177.252k| | | -| 1.62x| |ary20 | 106.628k| 177.371k| | | -| 1.66x| |ary50 | 107.135k| 162.282k| | | -| 1.51x| |ary100 | 106.513k| 177.626k| | | -| 1.67x|
* New functions to pass more elements than passedNobuyoshi Nakada2020-07-231-4/+26
|
* Removed fragile tests in https://github.com/ruby/ruby/pull/3349Nobuyoshi Nakada2020-07-231-22/+0
|
* dln.h: delete unused codes卜部昌平2020-07-231-16/+0
| | | | defines.h already has them. Also __cplusplus can never be defined here.
* include/ruby/util.h: delete unused codes卜部昌平2020-07-231-21/+0
| | | | | | | | - util.h includes defines.h, - ... which includes ruby/backward/2/stdarg.h, - ... which always defines _. This `#ifndef _` must never happen.
* Remove unused field in rb_iseq_constant_bodyAlan Wu2020-07-232-5/+0
| | | | | This was introduced in 191ce5344ec42c91571f8f47c85be9138262b1c7 and has been unused since beae6cbf0fd8b6619e5212552de98022d4c4d4d4
* Ensure time object meets a given condition [Bug #17042]Nobuyoshi Nakada2020-07-231-15/+11
|
* Merge pull request #3352 from S-H-GAMELINKS/bug/17042-strftimeS.H2020-07-231-0/+4
| | | Fix Time#strftime with timezone [Bug #17042]
* Test for weeknumber with timezone [Bug #17042]Nobuyoshi Nakada2020-07-231-0/+1
|
* [ruby/optparse] Define OptionParser::VersionNobuyoshi Nakada2020-07-232-2/+12
| | | | https://github.com/ruby/optparse/commit/4c0021b5b2
* [ruby/optparse] Update required ruby versionNobuyoshi Nakada2020-07-231-1/+1
| | | | | | | Now needs `DidYouMean#formatter` which is provided since did_you_mean 1.2, which requires ruby 2.5. https://github.com/ruby/optparse/commit/d44bb5c715
* Avoid allocating a string when dumping an anonymous module or classJean Boussier2020-07-232-2/+32
|
* Enhanced RDoc for Array (#3350)Burdette Lamar2020-07-221-46/+72
| | | | | | | | | | | | * Enhanced RDoc for Array Methods: == eql? hash include? <=>
* Lazily insert origins on prepend to save memoryAlan Wu2020-07-223-10/+20
| | | | | | | | | | | | | | | | 98286e9850936e27e8ae5e4f20858cc9c13d2dde made it so that `Module#include` allocates an origin iclass on each use. Since `include` is widely used, the extra allocation can contribute significantly to memory usage. Instead of always allocating in anticipation of prepend, this change takes a different approach. The new setup inserts a origin iclass into the super chains of all the children of the module when prepend happens for the first time. rb_ensure_origin is made static again since now that adding an origin now means walking over all usages, we want to limit the number of places where we do it.
* * 2020-07-23 [ci skip]git2020-07-231-1/+1
|
* Switch reserved for numbered parameter warning to SyntaxErrorJeremy Evans2020-07-223-19/+37
|
* Share the size for sigaltstack between configure.ac and signal.cNobuyoshi Nakada2020-07-222-4/+7
|
* configure.ac: Bump the size of sigaltstackJake Zimmerman2020-07-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RubyVM uses C macro defines to feature detect whether `backtrace(2)` support is available, and if so it includes C level backtraces when the RubyVM itself crashes. But on my machine, C level backtraces from `vm_dump.c` didn't work when using a version of Ruby buillt on the machine, but worked fine when using a version of Ruby built on another machine and copied to my machine. The default autoconf test for backtraces uses a sigaltstack size that is too small, so the SIGSEGV signal handler itself causes a SIGSEGV). I noticed that signal.c uses a larger sigaltstack size: https://github.com/ruby/ruby/blob/v2_6_5/signal.c#L568 The specific variables it looks at: - `HAVE_BACKTRACE` this is a macro defined by autoconf because there is a line in the configure script like `AC_CHECK_FUNCS(backtrace)` (see the autoconf docs for more). - `BROKEN_BACKTRACE` this comes from a custom program that Ruby's configure script runs to attempt to figure out whether actually using backtrace(2) in a real program works. You can see the autoconf program here. <https://github.com/ruby/ruby/blob/v2_6_5/configure.ac#L2817-L2863> It uses sigaltstack and SA_ONSTACK to create a seperate stack for handling signals. The problem was: SIGSTKSZ (which comes from a system header!) was not suggesting a large enough stack size. When checking on an Ubuntu 16.04 box, we found that SIGSTKSZ was 8192 and MINSIGSTKSZ was 2048.
* Promote optparse to default gemsHiroshi SHIBATA2020-07-224-3/+26
|
* Enhanced RDoc for ArrayBurdetteLamar2020-07-211-7/+1
|