aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Pin keys in "compare by identity" hashesAaron Patterson2019-06-031-1/+15
| | | | | | Hashes that compare by identity care about the location of the object in memory. Since they care about the memory location, we can't let them move.
* object id is stable now for all objects, so we can let hash keys moveAaron Patterson2019-06-031-6/+1
|
* allow objects in imemo envs to moveAaron Patterson2019-06-031-4/+19
|
* Unpin objects that `proc` referencesAaron Patterson2019-06-031-9/+62
| | | | | | This commit adds compaction support to method and proc objects. It just unpins references and implements the "compact" callback and updates references.
* get rid of a warning of VC++NAKAMURA Usaku2019-06-041-1/+1
|
* Upgrade benchmark-driver to fix deprecation warningTakashi Kokubun2019-06-041-1/+1
|
* Reflect behavior changes to argument nameTakashi Kokubun2019-06-041-3/+3
| | | | | 0c459af7c233adb5f44022350bfe8fa132d8053e changed the meaning of `detect_compile_error`, and this commit lets it follow the change.
* Simplify matchingNobuyoshi Nakada2019-06-041-1/+1
|
* Remove conflict resolution mistake [ci skip]Takashi Kokubun2019-06-041-2/+2
| | | | in de541fe1961370e64541d73c96cf790d30f28604 :bow:
* Improve test_color to prevent regressionTakashi Kokubun2019-06-041-2/+1
| | | | | Actually de541fe1961370e64541d73c96cf790d30f28604 was still needed. This commit would improve the test coverage using the branch.
* colorize_code must return escaped textTakashi Kokubun2019-06-042-3/+6
| | | | | This was needed before 0c459af7c233adb5f44022350bfe8fa132d8053e but it could be actually useless now. But I added this anyway just in case.
* * 2019-06-04git2019-06-041-1/+1
|
* Colorize error charactersNobuyoshi Nakada2019-06-042-37/+20
| | | | | | * lib/irb/color.rb (IRB::Color.scan): ignore "incomplete end of input" error only, to colorize invalid characters, e.g., control characters, and invalid symbols, as errors.
* Revert "common.mk: allow brace expansion for benchmark targets"Takashi Kokubun2019-06-031-1/+1
| | | | | | | | | | This reverts commit 4c0e21add7c87b70df27fbff81d8f192a467556d because we're not using /bin/bash. See 11d3986d6557eb3cfcecbdd0ef6e21b18c7c960b and 1b2b0e1f244b3e71812fa9859e8b87150ea30434 to know its context. In short, 4c0e21add7c87b70df27fbff81d8f192a467556d does not work on Ubuntu.
* Revert "common.mk is NOT working with /bin/sh anymore"Takashi Kokubun2019-06-031-1/+1
| | | | | | This reverts commit 11d3986d6557eb3cfcecbdd0ef6e21b18c7c960b. Travis was broken by that.
* common.mk is NOT working with /bin/sh anymoreTakashi Kokubun2019-06-031-1/+1
| | | | | | | | | at least on Ubuntu. The brace expansion does not work on Ubuntu /bin/sh (dash), and so 4c0e21add7c87b70df27fbff81d8f192a467556d effectively broke /bin/sh compatibility of common.mk. I guess he was using macOS whose /bin/sh is bash.
* benchmark/time_strptime.yml does not work with minirubyTakashi Kokubun2019-06-031-2/+2
| | | | | | | | Since 72ad092960c413b6a5687c552747b20a5ed78b22, we cannot run full `make benchmark` because default BENCH_RUBY is miniruby and it fails to require 'time'. Using miniruby for benchmark by default seems reasonable for some cases, but now it's just bothering for people running full `make benchmark`.
* Erase VI_OPERATORSaycabta2019-06-031-6/+0
| | | | The operators are using @waiting_operator_proc in vi mode.
* remove `rb_objspace_pinned_object_p()`Koichi Sasada2019-06-031-7/+1
| | | | | Nobody uses this function other than gc.c. We only need RVALUE_PINNED().
* Fix the error token on "invalid hex escape"Nobuyoshi Nakada2019-06-033-2/+12
| | | | | * parse.y (tok_hex): flush token after dispatching the "invalid hex escape" parse error.
* `ruby -v` may no longer be ASCII-only on non-master branchesNobuyoshi Nakada2019-06-031-1/+1
|
* Default GIT external encoding to UTF-8 🤷‍♂️Nobuyoshi Nakada2019-06-032-1/+7
| | | | And dump the title as US-ASCII.
* Make size on an infinite each_slice enumerator return InfinityJeremy Evans2019-06-022-0/+10
| | | | Fixes [Bug #15889]
* Add reline to doc/maintainers.rdocKazuhiro NISHIYAMA2019-06-031-0/+2
|
* Use lines instead of splitKazuhiro NISHIYAMA2019-06-031-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ``` % cat ~/bench-split.yml prelude: | s = "foo\nbar\nbaz\n" benchmark: '/(?<=\n)/': | s.split(/(?<=\n)/) '/^/': | s.split(/^/) 'lines': | s.lines Warming up -------------------------------------- /(?<=\n)/ 459.123k i/s - 467.844k times in 1.018994s (2.18μs/i) /^/ 467.922k i/s - 469.744k times in 1.003894s (2.14μs/i) lines 2.343M i/s - 2.424M times in 1.034677s (426.84ns/i) Calculating ------------------------------------- /(?<=\n)/ 422.347k i/s - 1.377M times in 3.261232s (2.37μs/i) /^/ 477.603k i/s - 1.404M times in 2.939186s (2.09μs/i) lines 2.485M i/s - 7.028M times in 2.828757s (402.47ns/i) Comparison: lines: 2484631.6 i/s /^/: 477603.3 i/s - 5.20x slower /(?<=\n)/: 422346.5 i/s - 5.88x slower ```
* The C-q is also quoted insert in emacs modeaycabta2019-06-032-1/+14
|
* Add aliases for commands for moving macroaycabta2019-06-032-0/+18
|
* Close leaked file descripters in testsaycabta2019-06-032-1/+7
|
* The ed_move_to_beg is different from vi_first_printaycabta2019-06-035-4/+36
|
* Reline::LineEditor::ARGUMENTABLE is no longer usedNobuyoshi Nakada2019-06-031-27/+0
|
* * 2019-06-03git2019-06-031-1/+1
|
* Fix ArgumentError in aliased macroNobuyoshi Nakada2019-06-032-2/+46
| | | | Closes: https://github.com/ruby/ruby/pull/2221
* Check conditional nestings in INPUTRCNobuyoshi Nakada2019-06-022-12/+58
| | | | Closes: https://github.com/ruby/ruby/pull/2222
* Prefer $INPUTRC over the default in the homeNobuyoshi Nakada2019-06-021-3/+3
| | | | Closes: https://github.com/ruby/ruby/pull/2222
* Use simpler regexpKazuhiro NISHIYAMA2019-06-021-6/+6
|
* Add true condition `Reline`Nobuyoshi Nakada2019-06-022-10/+13
|
* Make psych.so deterministicJeremy Evans2019-06-021-1/+1
| | | | Fixes Ruby Bug #15890
* Add Reline test for unknown macroaycabta2019-06-023-5/+12
|
* Add new test for Reline within pipeaycabta2019-06-023-0/+30
|
* Add comments to key bindings vars of Reline::Configaycabta2019-06-021-2/+2
|
* Reline.readmultiline always needs block to confirm terminationaycabta2019-06-021-5/+1
|
* Suppress error of macro not foundaycabta2019-06-021-1/+9
|
* Update String#crypt tests to work on OpenBSDJeremy Evans2019-06-013-8/+33
| | | | | | | Skip the webrick httpauth tests that use crypt when testing on OpenBSD. Fixes [Bug #11363]
* NEWS: move GC.compactNobuyoshi Nakada2019-06-021-9/+11
| | | | From "Implementation improvements" to "Core classes updates".
* NEWS: markup class and method namesNobuyoshi Nakada2019-06-021-3/+3
|
* * 2019-06-02git2019-06-021-1/+1
|
* delegate.rb: markup method namesNobuyoshi Nakada2019-06-021-2/+2
|
* Ignore warnings about mismatched indentations.Hiroshi SHIBATA2019-06-012-2/+2
|
* Ignore warnings about argument prefix with operator symbol.Hiroshi SHIBATA2019-06-013-10/+10
|
* Ignore warnings about ambiguous first argument with the negative integer.Hiroshi SHIBATA2019-06-012-18/+18
|