summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-19Restore ruby/ruby change for extconf.rb.Hiroshi SHIBATA
2019-06-19Workaround for the external file for racc testHiroshi SHIBATA
2019-06-19use TEMP_DIR.Hiroshi SHIBATA
2019-06-19Use Test::Unit instead of Minitest and fixed test error with ruby repo.Hiroshi SHIBATA
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2019-06-19Restore test_dir and update prefix for Dir.mktmpdir.Hiroshi SHIBATA
2019-06-19Try to use Dir.mktmpdir.Hiroshi SHIBATA
2019-06-19Added sync task for raccHiroshi SHIBATA
2019-06-19Fixed path for ruby core repository.Hiroshi SHIBATA
2019-06-19Backport racc-1.4.15 from upstream.Hiroshi SHIBATA
2019-06-19* remove trailing spaces, expand tabs.git
2019-06-19Rework debug conditional.Samuel Williams
2019-06-19Use shared implementation of `rb_ec_initialize_vm_stack`.Samuel Williams
2019-06-19Update `stack_start` and `stack_maxsize` according to stack direction.Samuel Williams
2019-06-19Specify that size is non-committed memory.Samuel Williams
2019-06-19Make sure `alloca` fast path is used (inline assembler).Samuel Williams
2019-06-19Use default stack size for worker thread (no th pointer available).Samuel Williams
2019-06-19Handle (empty) backtrace when thread is not born yet.Samuel Williams
2019-06-19Basic assertions for thread initialization.Samuel Williams
2019-06-19Use stack size defaults for win32 threads.Samuel Williams
2019-06-19Track how stack was allocated for `cont_free`.Samuel Williams
2019-06-19Ensure execution context is cleared after thread is finished.Samuel Williams
2019-06-19Better handling of root fiber.Samuel Williams
2019-06-19Fix handling of vm_stack_size and avoid trying to deallocate it.Samuel Williams
2019-06-19Move vm stack init into thread.Samuel Williams
2019-06-19Show thread and fiber limits as part of bootstrap tests.Samuel Williams
2019-06-19Improve benchmarks and tests for threads.Samuel Williams
2019-06-19Ignore `/build*`.Samuel Williams
2019-06-19Marshal distant past/futureNobuyoshi Nakada
[Feature #15160]
2019-06-19New buffer for shared stringNobuyoshi Nakada
* string.c (rb_str_init): allocate new buffer if the string is shared. [Bug #15937]
2019-06-19Update homebrew on TravisTakashi Kokubun
because Travis is crashing like "Error: Your Homebrew is outdated. Please run `brew update`." https://travis-ci.org/ruby/ruby/jobs/547485832
2019-06-19Preserve the string content at self-copyingNobuyoshi Nakada
* string.c (rb_str_init): preserve the embedded content when self-copying with a capacity. [Bug #15937]
2019-06-19Use IRB.conf[:AUTO_INDENT] setting in multiline modeaycabta
2019-06-19* 2019-06-19git
2019-06-19Avoid auto indent in prompt when dynamic auto indentaycabta
2019-06-18Fix auto indent crash when blank inputaycabta
2019-06-18Print starting debug message with RELINE_STDERR_TTYaycabta
2019-06-18Now test-bundler is not working on macOS eitherTakashi Kokubun
Let's stop reporting the failure until it gets stable. We can see the build status on console with this config anyway.
2019-06-18Implement auto indent for multilineaycabta
2019-06-18[DOC] non-nil `$,`,`$;` will be deprecated [ci skip]Kazuhiro NISHIYAMA
``` % ruby -e '$,=""; $;=""' -e:1: warning: non-nil $, will be deprecated -e:1: warning: non-nil $; will be deprecated ```
2019-06-18Fix memory leakNobuyoshi Nakada
* string.c (str_make_independent_expand): free independent buffer. [Bug# 15935] Co-Authored-By: luke-gru (Luke Gruber) <luke.gru@gmail.com>
2019-06-18* expand tabs.git
2019-06-18String#b: Don't depend on dependent stringAlan Wu
Registering a string that depend on a dependent string as fstring can lead to use-after-free. See c06ddfe and 3f95620 for details. The following script triggers use-after-free on trunk, 2.4.6, 2.5.5 and 2.6.3. Credits to @wanabe for using eval as a cross-version way of registering a fstring. ```ruby a = ('j' * 24).b.b eval('', binding, a) p a 4.times { GC.start } p a ``` - string.c (str_replace_shared_without_enc): when given a dependent string, depend on the root of the dependent string. [Bug #15934]
2019-06-18* 2019-06-18git
2019-06-17Update documentation for File.executable{,_real}? to mention Windows issuesJeremy Evans
Fixes [Bug #15664]
2019-06-17Support Bison 3 in ripperNobuyoshi Nakada
2019-06-17Fix wrong "void value expression" errorNobuyoshi Nakada
* parse.y (value_expr_check): `then` or `else` only `if` is not a void value expression, as the counterpart is evaluated as `nil`. [Bug #15932]
2019-06-17Fix wrong "void value expression" errorNobuyoshi Nakada
* parse.y (value_expr_check): if either of `then` or `else` statements is not a void value expression, the whole `if` is not also a void value expression. [Bug #15932]
2019-06-17* 2019-06-17git
2019-06-17Support Bison 3Nobuyoshi Nakada
2019-06-16Fix memory leakNobuyoshi Nakada
* string.c (str_replace_shared_without_enc): free previous buffer before replaced. * parse.y (gettable): make sure in advance that the `__FILE__` object shares a fstring, to get rid of replacement with the fstring later. TODO: this hack may be needed in other places. [Bug #15916] Co-Authored-By: luke-gru (Luke Gruber) <luke.gru@gmail.com>