aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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]
* Readline's class vars should be encoded as default_externalaycabta2019-05-141-22/+55
|
* Remove unused variable in LineEditoraycabta2019-05-141-1/+1
|
* Add NaN / Infinity / MinusInfinity to mark listAaron Patterson2019-05-131-0/+5
| | | | This prevents the constants from moving.
* turn T_MOVED in to a linked listAaron Patterson2019-05-132-5/+25
|
* Don't run the compactor if GC is disabledAaron Patterson2019-05-131-3/+9
| | | | | | GC is required for pinning / marking objects. If the compactor runs without pinning everything, then it will blow up, so just return early if the GC is disabled.
* * 2019-05-14git2019-05-141-1/+1
|
* Symbol just represents a nameNobuyoshi Nakada2019-05-141-2/+2
|
* Update dependenciesNobuyoshi Nakada2019-05-132-0/+12
|
* Update the canonical repository for racc.Hiroshi SHIBATA2019-05-131-1/+1
|
* Fix typosKazuhiro NISHIYAMA2019-05-131-2/+2
|
* delegate.rb: don't look for methods on KernelÉtienne Barrié2019-05-132-1/+8
| | | | | | | | | Instead, look for instance methods of Kernel. Otherwise, instance methods of Module (which are methods of Kernel itself) are mistakenly believed to exist, and it fails when calling Kernel.instance_method(). Closes: https://github.com/ruby/ruby/pull/1422
* Check that Reline exists on testaycabta2019-05-131-3/+3
|
* Skip tests depend on Readline's special behaviorsaycabta2019-05-131-8/+12
|
* Implement Reline::HISTORY as an expanded Arrayaycabta2019-05-132-1/+38
|
* Add attr_accessor for Reline's Config attrsaycabta2019-05-131-25/+31
|
* Reline.completion_proc= should raise ArgumentErroraycabta2019-05-131-0/+1
| | | | When the value is not Proc.
* Reline.completion_append_character= should be nilaycabta2019-05-131-1/+1
| | | | When unknown value comes.
* Add Reline.special_prefixes as stubaycabta2019-05-131-0/+2
|