aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* error.c: avoid infinite recursion at inspecting the frozen objectNobuyoshi Nakada2019-06-052-7/+35
|
* Test for f1f04caf60e4fc9dc3b12109e0be831f2d692810Nobuyoshi Nakada2019-06-051-0/+8
|
* Revert "vcs.rb support non-inplace build"Nobuyoshi Nakada2019-06-051-16/+12
| | | | | | This reverts commit 22cd4027349f803efc7ede284376b7a7013f8dfe. It did not make sense due to a typo `@srcidr`.
* Split an assertion for f1f04caf60e4fc9dc3b12109e0be831f2d692810Nobuyoshi Nakada2019-06-051-1/+2
|
* Move I/O access from Reline::KeyStroke to Relineaycabta2019-06-052-77/+77
|
* * expand tabs.git2019-06-051-5/+5
|
* Include inspect value of object in FrozenError messagesJeremy Evans2019-06-044-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 issuesJeremy Evans2019-06-041-1/+3
| | | | Documentation requested in [Bug #15886].
* tool/runruby.rb: support RUNRUBY_USE_LLDB as well as RUNRUBY_USE_GDBNobuyoshi Nakada2019-06-051-4/+10
|
* tool/runruby.rb: load the default lldb scriptsNobuyoshi Nakada2019-06-051-1/+6
|
* tool/runruby.rb: load .gdbinit explicitlyNobuyoshi Nakada2019-06-051-1/+1
|
* * expand tabs.git2019-06-051-29/+29
|
* Revert "Optimize CGI.escapeHTML by reducing buffer extension"Takashi Kokubun2019-06-052-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-05git2019-06-051-1/+1
|
* Optimize CGI.escapeHTML by reducing buffer extensionTakashi Kokubun2019-06-052-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.git2019-06-042-9/+9
|
* compile.c: Remove the magical `(const NODE*) -1`Yusuke Endoh2019-06-041-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 commaYusuke Endoh2019-06-044-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 timeNobuyoshi Nakada2019-06-041-2/+2
|
* * expand tabs.git2019-06-041-1/+1
|
* random_mt_typeNobuyoshi Nakada2019-06-041-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 Nakada2019-06-042-2/+2
| | | | This reverts a commit miss, 24a96a0228ccf355826644a9daad69e11b67b53b.
* suppress marshal warningsNobuyoshi Nakada2019-06-041-2/+10
|
* marshal.c: new functions for extensionsNobuyoshi Nakada2019-06-042-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.rbNobuyoshi Nakada2019-06-041-26/+9
|
* Renamed duplicate testNobuyoshi Nakada2019-06-041-1/+1
|
* colorize.rb: get rid of syntax errors on older versionsNobuyoshi Nakada2019-06-041-3/+3
|
* colorize.rb: make `colors_file` optionalNobuyoshi Nakada2019-06-041-5/+7
| | | | [ci skip]
* colorize.rb: fix reading from test/colorsNobuyoshi Nakada2019-06-041-2/+3
| | | | [ci skip]
* extlibs.rb: colorizeNobuyoshi Nakada2019-06-041-10/+11
| | | | [ci skip]
* colorize.rb: read `test/colors` file afer `$TEST_COLORS`Nobuyoshi Nakada2019-06-041-0/+6
| | | | [ci skip]
* * remove trailing spaces. [ci skip]git2019-06-042-2/+2
|
* Azure Pipelines run on master instead of trunk [ci skip]Kazuhiro NISHIYAMA2019-06-041-1/+1
|
* Azure Pipelines run on master instead of trunk [ci skip]Kazuhiro NISHIYAMA2019-06-041-1/+1
|
* * expand tabs.git2019-06-041-1/+1
|
* node.c: Show the ID of internal variableYusuke Endoh2019-06-041-1/+1
|
* * expand tabs.git2019-06-041-1/+1
|
* EOF by 2 ^D on a TTYNobuyoshi Nakada2019-06-042-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 macroaycabta2019-06-042-0/+23
|
* azure-pipelines.yml: Upgrade Ruby for UseRubyVersionTakashi Kokubun2019-06-041-1/+1
| | | | | to fix https://dev.azure.com/rubylang/ruby/_build/results?buildId=1162&view=logs
* Implement transpose-wordsaycabta2019-06-044-1/+157
|
* 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: