summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Rename rb_gc_new_location to rb_gc_locationAaron Patterson2019-05-186-27/+27
| | | | | The function will return new or existing locations depending on whether or not the object actually moved, so give it a more appropriate name.
* Add fall through comment for Coverity ScanKazuhiro NISHIYAMA2019-05-181-0/+1
|
* Add Reline.test_mode to use with special I/Oaycabta2019-05-183-11/+32
|
* skip a test to pass CIs.Koichi Sasada2019-05-181-0/+1
| | | | | I'm debugging [Bug #15821] but my patch introduces another issue. So I simply skip this test and re-enable it later.
* Add test for UNTILNobuyoshi Nakada2019-05-181-0/+12
|
* Update include files on msys2 tooNobuyoshi Nakada2019-05-181-1/+2
|
* Get rid of always updating Unicode filesNobuyoshi Nakada2019-05-181-1/+6
| | | | [Misc #15859]
* Distinguish pre-condition and post-condition loopsNobuyoshi Nakada2019-05-182-1/+14
|
* * 2019-05-18git2019-05-181-1/+1
|
* Remove parent namespace from Readline test classesaycabta2019-05-181-5/+5
| | | | | | 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".
* Prevent Dynamic -> Static symbols from movingAaron Patterson2019-05-171-1/+4
| | | | | | | | 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.
* Do not export InitVM functionsNobuyoshi Nakada2019-05-171-1/+1
|
* Make COROUTINE_XMM_REGISTERS compile-time only tooNobuyoshi Nakada2019-05-171-2/+4
|
* Do not call memcpy if copying nothingNobuyoshi Nakada2019-05-171-0/+9
| | | | | | c.f. * e7b18ca6d9b45b7e71694557b9fab8152c62c1ed * 34e1079aef81d108890fb167d7df69960e994ff5
* skip tests for GC.compact to pass CI.Koichi Sasada2019-05-171-0/+2
| | | | | Now, GC.compact has issues which makes rubyci RED, so I skip this test and debug soon.
* * 2019-05-17git2019-05-171-1/+1
|
* Test to disable ASCII-only optimizationNobuyoshi Nakada2019-05-171-0/+10
| | | | | | | 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
* leaked-globals: check if un-prefixed symbols leak externallyNobuyoshi Nakada2019-05-162-0/+44
|
* Remove unused symbolsNobuyoshi Nakada2019-05-163-12/+11
|
* Pack struct rb_strterm_heredoc_struct on 32-bit platformsNobuyoshi Nakada2019-05-161-0/+5
|
* don't need to sweep rest.Koichi Sasada2019-05-163-6/+13
| | | | | | | | `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.
* Make COROUTINE_REGISTERS compile-time only not to be a global symbolNobuyoshi Nakada2019-05-167-8/+10
|
* Prefix global_symbols with `ruby_`Nobuyoshi Nakada2019-05-163-4/+6
|
* Make internal functions staticNobuyoshi Nakada2019-05-161-3/+6
|
* Rename mjit_gc_finish_hook to mjit_gc_exit_hookTakashi Kokubun2019-05-154-7/+7
| | | | | because @ko1 said "gc_finish" is confusing like a finish of entire GC process
* Fix fd leakNobuyoshi Nakada2019-05-161-1/+1
| | | | merged https://github.com/rubygems/rubygems/pull/2765
* * 2019-05-16git2019-05-161-1/+1
|
* Suppress unused-but-set-variable warningNobuyoshi Nakada2019-05-151-0/+2
|
* Fix the warning in 456586bb234915107da255d2944f620a7dd7048bNobuyoshi Nakada2019-05-151-1/+1
|
* unpin finalizers and update referencesAaron Patterson2019-05-151-10/+2
|
* Allow --enable/--disable options to take an argumentNobuyoshi Nakada2019-05-152-2/+12
| | | | [Bug #15850]
* Rename confuzed name Reline::IO with Reline::IOGateaycabta2019-05-152-32/+32
|
* Static symbols can't be moved (they are not RValue)Aaron Patterson2019-05-141-11/+12
| | | | | | | | | 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.
* Symbols can move so only cache IDsAaron Patterson2019-05-141-12/+11
| | | | IDs can't move, we need to use them to look up the symbol objects later.
* * expand tabs.git2019-05-151-5/+5
|
* Add object packing strategies for compactionAaron Patterson2019-05-142-23/+70
| | | | | | | | 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-15git2019-05-151-1/+1
|
* Fixing function nameAaron Patterson2019-05-143-3/+3
| | | | | This function is used for marking / pinning vm stack values, so it should have "vm" in the function name to be more clear.
* Remove useless use of a variable in Reline::ANSIaycabta2019-05-141-1/+0
|
* Rename Reline's test file name because of typoaycabta2019-05-141-0/+0
|
* Fix typo in debugged C source nameTakashi Kokubun2019-05-141-1/+1
| | | | | | | 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.
* Test ext/readline and lib/reline by test/readlineaycabta2019-05-143-198/+225
|
* Add an assertion message to test of Readline's class variablesaycabta2019-05-141-1/+1
|
* Check encoding when Readline completionaycabta2019-05-142-2/+10
|
* io/console: rb_str_cat_conv_enc_opts is not exportedNobuyoshi Nakada2019-05-141-5/+3
|
* io/console: fix up timeout on WindowsNobuyoshi Nakada2019-05-141-2/+2
|
* io/console: support getch timeout on WindowsNobuyoshi Nakada2019-05-141-1/+9
|
* io/console: support wide character input on WindowsNobuyoshi Nakada2019-05-141-0/+39
|
* Rescue CompatibilityError for Readline's completionaycabta2019-05-141-2/+7
|
* fix visibility of SecureRandom.gen_randomUrabe, Shyouhei2019-05-142-0/+9
| | | | | | Aliasing a method preserves its visibility. These aliases turn formerly-public methods into private. Should make them public again. [Bug #15847]