summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-18[DOC] Improve documentation for Enumerator::LazyMarcus Stollsteimer
2019-05-18Rename rb_gc_new_location to rb_gc_locationAaron Patterson
The function will return new or existing locations depending on whether or not the object actually moved, so give it a more appropriate name.
2019-05-18Add fall through comment for Coverity ScanKazuhiro NISHIYAMA
2019-05-18Add Reline.test_mode to use with special I/Oaycabta
2019-05-18skip a test to pass CIs.Koichi Sasada
I'm debugging [Bug #15821] but my patch introduces another issue. So I simply skip this test and re-enable it later.
2019-05-18Add test for UNTILNobuyoshi Nakada
2019-05-18Update include files on msys2 tooNobuyoshi Nakada
2019-05-18Get rid of always updating Unicode filesNobuyoshi Nakada
[Misc #15859]
2019-05-18Distinguish pre-condition and post-condition loopsNobuyoshi Nakada
2019-05-18* 2019-05-18git
2019-05-18Remove parent namespace from Readline test classesaycabta
The namespace "Readline" doesn't exist when running tests if readline.so doesn't exist and Reline exists. So test classes shouldn't be at nested namespaces under "Readline".
2019-05-17Prevent Dynamic -> Static symbols from movingAaron Patterson
If a dynamic symbol has been converted to a static symbol, it gets added to the global ID list and should no longer move. C extensions can pass symbols to rb_sym2id and those symbols should no longer be movable. When the symbol is passed to rb_sym2id, the `id` member is set, so we can use its existence to prevent movement.
2019-05-17Do not export InitVM functionsNobuyoshi Nakada
2019-05-17Make COROUTINE_XMM_REGISTERS compile-time only tooNobuyoshi Nakada
2019-05-17Do not call memcpy if copying nothingNobuyoshi Nakada
c.f. * e7b18ca6d9b45b7e71694557b9fab8152c62c1ed * 34e1079aef81d108890fb167d7df69960e994ff5
2019-05-17skip tests for GC.compact to pass CI.Koichi Sasada
Now, GC.compact has issues which makes rubyci RED, so I skip this test and debug soon.
2019-05-17* 2019-05-17git
2019-05-17Test to disable ASCII-only optimizationNobuyoshi Nakada
Examples why ASCII-only optimization cannot apply multi-byte encodings which have 7-bit trailing bytes. Suggested by @duerst at https://github.com/ruby/ruby/pull/2187#issuecomment-492949218
2019-05-16leaked-globals: check if un-prefixed symbols leak externallyNobuyoshi Nakada
2019-05-16Remove unused symbolsNobuyoshi Nakada
2019-05-16Pack struct rb_strterm_heredoc_struct on 32-bit platformsNobuyoshi Nakada
2019-05-16don't need to sweep rest.Koichi Sasada
`transient_heap_evacuate()` disables GC using `rb_gc_disable()` to prohibt GC invocation because of new allocation for evacuated memory. However, `rb_gc_disable()` sweep all rest of unswept pages. We don't need to cancel lazy sweep so this patch introduce `rb_gc_disable_no_rest()` which doesn't cancel lazy sweep.
2019-05-16Make COROUTINE_REGISTERS compile-time only not to be a global symbolNobuyoshi Nakada
2019-05-16Prefix global_symbols with `ruby_`Nobuyoshi Nakada
2019-05-16Make internal functions staticNobuyoshi Nakada
2019-05-15Rename mjit_gc_finish_hook to mjit_gc_exit_hookTakashi Kokubun
because @ko1 said "gc_finish" is confusing like a finish of entire GC process
2019-05-16Fix fd leakNobuyoshi Nakada
merged https://github.com/rubygems/rubygems/pull/2765
2019-05-16* 2019-05-16git
2019-05-15Suppress unused-but-set-variable warningNobuyoshi Nakada
2019-05-15Fix the warning in 456586bb234915107da255d2944f620a7dd7048bNobuyoshi Nakada
2019-05-15unpin finalizers and update referencesAaron Patterson
2019-05-15Allow --enable/--disable options to take an argumentNobuyoshi Nakada
[Bug #15850]
2019-05-15Rename confuzed name Reline::IO with Reline::IOGateaycabta
2019-05-14Static symbols can't be moved (they are not RValue)Aaron Patterson
This is my mistake, I thought they were regular objects, but apparently they are not. We don't need to pin them. Revert "Symbols can move so only cache IDs" This reverts commit 672ee5f6ed5a6840a3be9150b6721a5ee8f8766b.
2019-05-14Symbols can move so only cache IDsAaron Patterson
IDs can't move, we need to use them to look up the symbol objects later.
2019-05-15* expand tabs.git
2019-05-14Add object packing strategies for compactionAaron Patterson
This commit adds an alternative packing strategy for compaction. Instead of packing towards "most pinned" pages, we can pack towards "most empty" pages. The idea is that we can double the heap size, then pack all objects towards the empty side of the heap. This will ensure maximum chaos for testing / verification.
2019-05-15* 2019-05-15git
2019-05-14Fixing function nameAaron Patterson
This function is used for marking / pinning vm stack values, so it should have "vm" in the function name to be more clear.
2019-05-14Remove useless use of a variable in Reline::ANSIaycabta
2019-05-14Rename Reline's test file name because of typoaycabta
2019-05-14Fix typo in debugged C source nameTakashi Kokubun
I failed to collect any debug info in https://app.wercker.com/ruby/ruby/runs/mjit-test1/5cda57fcab79a30008f195f6?step=5cda6a4e1090c4000800772e It seems that it's due to this typo.
2019-05-14Test ext/readline and lib/reline by test/readlineaycabta
2019-05-14Add an assertion message to test of Readline's class variablesaycabta
2019-05-14Check encoding when Readline completionaycabta
2019-05-14io/console: rb_str_cat_conv_enc_opts is not exportedNobuyoshi Nakada
2019-05-14io/console: fix up timeout on WindowsNobuyoshi Nakada
2019-05-14io/console: support getch timeout on WindowsNobuyoshi Nakada
2019-05-14io/console: support wide character input on WindowsNobuyoshi Nakada
2019-05-14Rescue CompatibilityError for Readline's completionaycabta