Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | error.c: avoid infinite recursion at inspecting the frozen object | Nobuyoshi Nakada | 2019-06-05 | 2 | -7/+35 |
| | |||||
* | Test for f1f04caf60e4fc9dc3b12109e0be831f2d692810 | Nobuyoshi Nakada | 2019-06-05 | 1 | -0/+8 |
| | |||||
* | Revert "vcs.rb support non-inplace build" | Nobuyoshi Nakada | 2019-06-05 | 1 | -16/+12 |
| | | | | | | This reverts commit 22cd4027349f803efc7ede284376b7a7013f8dfe. It did not make sense due to a typo `@srcidr`. | ||||
* | Split an assertion for f1f04caf60e4fc9dc3b12109e0be831f2d692810 | Nobuyoshi Nakada | 2019-06-05 | 1 | -1/+2 |
| | |||||
* | Move I/O access from Reline::KeyStroke to Reline | aycabta | 2019-06-05 | 2 | -77/+77 |
| | |||||
* | * expand tabs. | git | 2019-06-05 | 1 | -5/+5 |
| | |||||
* | Include inspect value of object in FrozenError messages | Jeremy Evans | 2019-06-04 | 4 | -8/+8 |
| | | | | | | | | | | FrozenError#receiver was added recently for getting the related object programmatically. However, there are cases where FrozenError is raised and not handled, and in those cases the resulting error messages lack detail, which makes debugging the error more difficult, especially in cases where the error is not easily reproducible. This includes the inspect value of the frozen object in FrozenError messages, which should make debugging simpler. | ||||
* | Add some documentation to Timeout#timeout about possible issues | Jeremy Evans | 2019-06-04 | 1 | -1/+3 |
| | | | | Documentation requested in [Bug #15886]. | ||||
* | tool/runruby.rb: support RUNRUBY_USE_LLDB as well as RUNRUBY_USE_GDB | Nobuyoshi Nakada | 2019-06-05 | 1 | -4/+10 |
| | |||||
* | tool/runruby.rb: load the default lldb scripts | Nobuyoshi Nakada | 2019-06-05 | 1 | -1/+6 |
| | |||||
* | tool/runruby.rb: load .gdbinit explicitly | Nobuyoshi Nakada | 2019-06-05 | 1 | -1/+1 |
| | |||||
* | * expand tabs. | git | 2019-06-05 | 1 | -29/+29 |
| | |||||
* | Revert "Optimize CGI.escapeHTML by reducing buffer extension" | Takashi Kokubun | 2019-06-05 | 2 | -73/+49 |
| | | | | | | | This reverts commit 8d81e59aa7a62652caf85f9c8db371703668c149. `ALLOCA_N` does not check stack overflow unlike ALLOCV. I'll fix it and re-commit it again. | ||||
* | * 2019-06-05 | git | 2019-06-05 | 1 | -1/+1 |
| | |||||
* | Optimize CGI.escapeHTML by reducing buffer extension | Takashi Kokubun | 2019-06-05 | 2 | -49/+73 |
| | | | | | | | | | | | | | | | and switch-case branches. Buffer allocation optimization using `ALLOCA_N` would be the main benefit of patch. It eliminates the O(N) buffer extensions. It also reduces the number of branches using escape table like https://mattn.kaoriya.net/software/lang/c/20160817011915.htm. Closes: https://github.com/ruby/ruby/pull/2226 Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Co-authored-by: Yasuhiro MATSUMOTO <mattn.jp@gmail.com> | ||||
* | * expand tabs. | git | 2019-06-04 | 2 | -9/+9 |
| | |||||
* | compile.c: Remove the magical `(const NODE*) -1` | Yusuke Endoh | 2019-06-04 | 1 | -2/+2 |
| | | | | | It is used to represent "no default expression" for keyword argument: `def foo(key:)`. This change uses NODE_SPECIAL_REQUIRED_KEYWORD. | ||||
* | node.h: Avoid a magic number to represent excessed comma | Yusuke Endoh | 2019-06-04 | 4 | -8/+12 |
| | | | | | | `(ID)1` was assigned to NODE_ARGS#rest_arg for `{|x,| }`. This change removes the magic number by introducing an explicit macro variable for it: NODE_SPECIAL_EXCESSED_COMMA. | ||||
* | tool/vcs.rb: return the commit date as the modified time | Nobuyoshi Nakada | 2019-06-04 | 1 | -2/+2 |
| | |||||
* | * expand tabs. | git | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | random_mt_type | Nobuyoshi Nakada | 2019-06-04 | 1 | -8/+8 |
| | | | | | * random.c: renamed random_data_type as random_mt_type, and append "MT" to `wrap_struct_name`, respecting the implementation. | ||||
* | Revert "marshal.c: new functions for extensions" | Nobuyoshi Nakada | 2019-06-04 | 2 | -2/+2 |
| | | | | This reverts a commit miss, 24a96a0228ccf355826644a9daad69e11b67b53b. | ||||
* | suppress marshal warnings | Nobuyoshi Nakada | 2019-06-04 | 1 | -2/+10 |
| | |||||
* | marshal.c: new functions for extensions | Nobuyoshi Nakada | 2019-06-04 | 2 | -2/+2 |
| | | | | | | | | * marshal.c (rb_marshal_dump_limited): new function for extension libraries to dump object with limited nest level. * marshal.c (rb_marshal_load_with_proc): new function for extension libraries to load object with hook proc. | ||||
* | test/lib/test/unit.rb: use colorize.rb | Nobuyoshi Nakada | 2019-06-04 | 1 | -26/+9 |
| | |||||
* | Renamed duplicate test | Nobuyoshi Nakada | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | colorize.rb: get rid of syntax errors on older versions | Nobuyoshi Nakada | 2019-06-04 | 1 | -3/+3 |
| | |||||
* | colorize.rb: make `colors_file` optional | Nobuyoshi Nakada | 2019-06-04 | 1 | -5/+7 |
| | | | | [ci skip] | ||||
* | colorize.rb: fix reading from test/colors | Nobuyoshi Nakada | 2019-06-04 | 1 | -2/+3 |
| | | | | [ci skip] | ||||
* | extlibs.rb: colorize | Nobuyoshi Nakada | 2019-06-04 | 1 | -10/+11 |
| | | | | [ci skip] | ||||
* | colorize.rb: read `test/colors` file afer `$TEST_COLORS` | Nobuyoshi Nakada | 2019-06-04 | 1 | -0/+6 |
| | | | | [ci skip] | ||||
* | * remove trailing spaces. [ci skip] | git | 2019-06-04 | 2 | -2/+2 |
| | |||||
* | Azure Pipelines run on master instead of trunk [ci skip] | Kazuhiro NISHIYAMA | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | Azure Pipelines run on master instead of trunk [ci skip] | Kazuhiro NISHIYAMA | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | * expand tabs. | git | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | node.c: Show the ID of internal variable | Yusuke Endoh | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | * expand tabs. | git | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | EOF by 2 ^D on a TTY | Nobuyoshi Nakada | 2019-06-04 | 2 | -1/+5 |
| | | | | | | | Terminate the input from a TTY by 2 ^D at the middle of line, like as many programs, `cat`, `perl` and so on, do. By the first ^D, the line will be sent without a newline, and then EOF will be send by the next ^D. | ||||
* | Add aliases for commands for changing text macro | aycabta | 2019-06-04 | 2 | -0/+23 |
| | |||||
* | azure-pipelines.yml: Upgrade Ruby for UseRubyVersion | Takashi Kokubun | 2019-06-04 | 1 | -1/+1 |
| | | | | | to fix https://dev.azure.com/rubylang/ruby/_build/results?buildId=1162&view=logs | ||||
* | Implement transpose-words | aycabta | 2019-06-04 | 4 | -1/+157 |
| | |||||
* | 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: |