summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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>
2019-06-16* expand tabs.git
2019-06-16Revert "Make constant assignments more conforming to JIS X 3017:2013 11.4.2.2.3"Yusuke Endoh
This reverts commit 44caca11cfa6bea01a1ef738846183f1a56d5658. The change caused a build failure. http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/2102153
2019-06-16* expand tabs.git
2019-06-16Make constant assignments more conforming to JIS X 3017:2013 11.4.2.2.3Yuki Yugui Sonoda
compile.c (NODE_CDECL): Evaluate the module before the value test/ruby/test_const.rb (test_evaluation_order): added a test case
2019-06-16Implement line_no correctlyaycabta
2019-06-16tool/redmine-backporter.rb: Change redmine git revisions URL path.nagachika
2019-06-16* 2019-06-16git
2019-06-16tool/redmine-backporter.rb: Add parens to fix condition for svn revision search.nagachika
2019-06-15Revert github/pull/2230, commit missNobuyoshi Nakada
2019-06-15Prefer `enum yytokentype` to intNobuyoshi Nakada
2019-06-15Test for blank lines between leadinig dot method chainsJosh Cheek
2019-06-15Multiline method chain with leading dot works for blank linesJosh Cheek
2019-06-15Remove blank line I accidentally addedJosh Cheek
2019-06-15Test comments between multiline method chainJosh Cheek
2019-06-15Rename LINEND to EMPTYLNJosh Cheek