Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Pin keys in "compare by identity" hashes | Aaron Patterson | 2019-06-03 | 1 | -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 move | Aaron Patterson | 2019-06-03 | 1 | -6/+1 |
| | |||||
* | allow objects in imemo envs to move | Aaron Patterson | 2019-06-03 | 1 | -4/+19 |
| | |||||
* | Unpin objects that `proc` references | Aaron Patterson | 2019-06-03 | 1 | -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 Usaku | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | Upgrade benchmark-driver to fix deprecation warning | Takashi Kokubun | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | Reflect behavior changes to argument name | Takashi Kokubun | 2019-06-04 | 1 | -3/+3 |
| | | | | | 0c459af7c233adb5f44022350bfe8fa132d8053e changed the meaning of `detect_compile_error`, and this commit lets it follow the change. | ||||
* | Simplify matching | Nobuyoshi Nakada | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | Remove conflict resolution mistake [ci skip] | Takashi Kokubun | 2019-06-04 | 1 | -2/+2 |
| | | | | in de541fe1961370e64541d73c96cf790d30f28604 :bow: | ||||
* | Improve test_color to prevent regression | Takashi Kokubun | 2019-06-04 | 1 | -2/+1 |
| | | | | | Actually de541fe1961370e64541d73c96cf790d30f28604 was still needed. This commit would improve the test coverage using the branch. | ||||
* | colorize_code must return escaped text | Takashi Kokubun | 2019-06-04 | 2 | -3/+6 |
| | | | | | This was needed before 0c459af7c233adb5f44022350bfe8fa132d8053e but it could be actually useless now. But I added this anyway just in case. | ||||
* | * 2019-06-04 | git | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | Colorize error characters | Nobuyoshi Nakada | 2019-06-04 | 2 | -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 Kokubun | 2019-06-03 | 1 | -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 Kokubun | 2019-06-03 | 1 | -1/+1 |
| | | | | | | This reverts commit 11d3986d6557eb3cfcecbdd0ef6e21b18c7c960b. Travis was broken by that. | ||||
* | common.mk is NOT working with /bin/sh anymore | Takashi Kokubun | 2019-06-03 | 1 | -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 miniruby | Takashi Kokubun | 2019-06-03 | 1 | -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_OPERATORS | aycabta | 2019-06-03 | 1 | -6/+0 |
| | | | | The operators are using @waiting_operator_proc in vi mode. | ||||
* | remove `rb_objspace_pinned_object_p()` | Koichi Sasada | 2019-06-03 | 1 | -7/+1 |
| | | | | | Nobody uses this function other than gc.c. We only need RVALUE_PINNED(). | ||||
* | Fix the error token on "invalid hex escape" | Nobuyoshi Nakada | 2019-06-03 | 3 | -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 branches | Nobuyoshi Nakada | 2019-06-03 | 1 | -1/+1 |
| | |||||
* | Default GIT external encoding to UTF-8 🤷♂️ | Nobuyoshi Nakada | 2019-06-03 | 2 | -1/+7 |
| | | | | And dump the title as US-ASCII. | ||||
* | Make size on an infinite each_slice enumerator return Infinity | Jeremy Evans | 2019-06-02 | 2 | -0/+10 |
| | | | | Fixes [Bug #15889] | ||||
* | Add reline to doc/maintainers.rdoc | Kazuhiro NISHIYAMA | 2019-06-03 | 1 | -0/+2 |
| | |||||
* | Use lines instead of split | Kazuhiro NISHIYAMA | 2019-06-03 | 1 | -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 mode | aycabta | 2019-06-03 | 2 | -1/+14 |
| | |||||
* | Add aliases for commands for moving macro | aycabta | 2019-06-03 | 2 | -0/+18 |
| | |||||
* | Close leaked file descripters in tests | aycabta | 2019-06-03 | 2 | -1/+7 |
| | |||||
* | The ed_move_to_beg is different from vi_first_print | aycabta | 2019-06-03 | 5 | -4/+36 |
| | |||||
* | Reline::LineEditor::ARGUMENTABLE is no longer used | Nobuyoshi Nakada | 2019-06-03 | 1 | -27/+0 |
| | |||||
* | * 2019-06-03 | git | 2019-06-03 | 1 | -1/+1 |
| | |||||
* | Fix ArgumentError in aliased macro | Nobuyoshi Nakada | 2019-06-03 | 2 | -2/+46 |
| | | | | Closes: https://github.com/ruby/ruby/pull/2221 | ||||
* | Check conditional nestings in INPUTRC | Nobuyoshi Nakada | 2019-06-02 | 2 | -12/+58 |
| | | | | Closes: https://github.com/ruby/ruby/pull/2222 | ||||
* | Prefer $INPUTRC over the default in the home | Nobuyoshi Nakada | 2019-06-02 | 1 | -3/+3 |
| | | | | Closes: https://github.com/ruby/ruby/pull/2222 | ||||
* | Use simpler regexp | Kazuhiro NISHIYAMA | 2019-06-02 | 1 | -6/+6 |
| | |||||
* | Add true condition `Reline` | Nobuyoshi Nakada | 2019-06-02 | 2 | -10/+13 |
| | |||||
* | Make psych.so deterministic | Jeremy Evans | 2019-06-02 | 1 | -1/+1 |
| | | | | Fixes Ruby Bug #15890 | ||||
* | Add Reline test for unknown macro | aycabta | 2019-06-02 | 3 | -5/+12 |
| | |||||
* | Add new test for Reline within pipe | aycabta | 2019-06-02 | 3 | -0/+30 |
| | |||||
* | Add comments to key bindings vars of Reline::Config | aycabta | 2019-06-02 | 1 | -2/+2 |
| | |||||
* | Reline.readmultiline always needs block to confirm termination | aycabta | 2019-06-02 | 1 | -5/+1 |
| | |||||
* | Suppress error of macro not found | aycabta | 2019-06-02 | 1 | -1/+9 |
| | |||||
* | Update String#crypt tests to work on OpenBSD | Jeremy Evans | 2019-06-01 | 3 | -8/+33 |
| | | | | | | | Skip the webrick httpauth tests that use crypt when testing on OpenBSD. Fixes [Bug #11363] | ||||
* | NEWS: move GC.compact | Nobuyoshi Nakada | 2019-06-02 | 1 | -9/+11 |
| | | | | From "Implementation improvements" to "Core classes updates". | ||||
* | NEWS: markup class and method names | Nobuyoshi Nakada | 2019-06-02 | 1 | -3/+3 |
| | |||||
* | * 2019-06-02 | git | 2019-06-02 | 1 | -1/+1 |
| | |||||
* | delegate.rb: markup method names | Nobuyoshi Nakada | 2019-06-02 | 1 | -2/+2 |
| | |||||
* | Ignore warnings about mismatched indentations. | Hiroshi SHIBATA | 2019-06-01 | 2 | -2/+2 |
| | |||||
* | Ignore warnings about argument prefix with operator symbol. | Hiroshi SHIBATA | 2019-06-01 | 3 | -10/+10 |
| | |||||
* | Ignore warnings about ambiguous first argument with the negative integer. | Hiroshi SHIBATA | 2019-06-01 | 2 | -18/+18 |
| |