summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-06test/openssl: Support OpenSSL 1.1.1Yusuke Endoh
OpenSSL 1.1.1 rejects some shorter keys, which caused some failures of `make test-all TESTS=openssl`. https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian/ruby-master/log/20190606T003005Z.fail.html.gz This change merges 6bbc31ddd1 and 63fb3a36d1 in https://github.com/ruby/openssl. Reference: https://github.com/ruby/openssl/pull/217
2019-06-06configure.ac: utilize wide columns for summaryNobuyoshi Nakada
2019-06-06Update RDoc of RUBY_REVISIONNobuyoshi Nakada
2019-06-06Skip transpose-words if less than 2 wordaycabta
2019-06-06* 2019-06-06git
2019-06-06Add test_ed_transpose_words_for_mbcharaycabta
2019-06-05NEWS: Note about CGI.escapeHTML change [ci skip]Takashi Kokubun
See https://github.com/ruby/ruby/pull/2226 for benchmark results.
2019-06-05Optimize CGI.escapeHTML by reducing buffer extensionTakashi Kokubun
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>
2019-06-05Ignore ~/.gitconfig on tool/vcs.rb git commandsTakashi Kokubun
Because some `log.*` git configs may change the result of `git log`, `RUBY_LAST_COMMIT_TITLE` can be wrongly formatted and break version.c compilation. So the `git log` executions should not respect user's gitconfig.
2019-06-05spec/bundler/bundler/dsl_spec.rb: fix exception to raiseNobuyoshi Nakada
When describing "Runtime errors", raise a `RuntimeError` as-is.
2019-06-05Fix grammar of macro name: ECCESSED -> ECCESSIVEMartin Dürst
Fix the name of the macro variable introduced in 0872ea5330 from NODE_SPECIAL_EXCESSED_COMMA to NODE_SPECIAL_EXCESSIVE_COMMA.
2019-06-05error.c: avoid infinite recursion at inspecting the frozen objectNobuyoshi Nakada
2019-06-05Test for f1f04caf60e4fc9dc3b12109e0be831f2d692810Nobuyoshi Nakada
2019-06-05Revert "vcs.rb support non-inplace build"Nobuyoshi Nakada
This reverts commit 22cd4027349f803efc7ede284376b7a7013f8dfe. It did not make sense due to a typo `@srcidr`.
2019-06-05Split an assertion for f1f04caf60e4fc9dc3b12109e0be831f2d692810Nobuyoshi Nakada
2019-06-05Move I/O access from Reline::KeyStroke to Relineaycabta
2019-06-05* expand tabs.git
2019-06-04Include inspect value of object in FrozenError messagesJeremy Evans
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.
2019-06-04Add some documentation to Timeout#timeout about possible issuesJeremy Evans
Documentation requested in [Bug #15886].
2019-06-05tool/runruby.rb: support RUNRUBY_USE_LLDB as well as RUNRUBY_USE_GDBNobuyoshi Nakada
2019-06-05tool/runruby.rb: load the default lldb scriptsNobuyoshi Nakada
2019-06-05tool/runruby.rb: load .gdbinit explicitlyNobuyoshi Nakada
2019-06-05* expand tabs.git
2019-06-05Revert "Optimize CGI.escapeHTML by reducing buffer extension"Takashi Kokubun
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* 2019-06-05git
2019-06-05Optimize CGI.escapeHTML by reducing buffer extensionTakashi Kokubun
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>
2019-06-04* expand tabs.git
2019-06-04compile.c: Remove the magical `(const NODE*) -1`Yusuke Endoh
It is used to represent "no default expression" for keyword argument: `def foo(key:)`. This change uses NODE_SPECIAL_REQUIRED_KEYWORD.
2019-06-04node.h: Avoid a magic number to represent excessed commaYusuke Endoh
`(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.
2019-06-04tool/vcs.rb: return the commit date as the modified timeNobuyoshi Nakada
2019-06-04* expand tabs.git
2019-06-04random_mt_typeNobuyoshi Nakada
* random.c: renamed random_data_type as random_mt_type, and append "MT" to `wrap_struct_name`, respecting the implementation.
2019-06-04Revert "marshal.c: new functions for extensions"Nobuyoshi Nakada
This reverts a commit miss, 24a96a0228ccf355826644a9daad69e11b67b53b.
2019-06-04suppress marshal warningsNobuyoshi Nakada
2019-06-04marshal.c: new functions for extensionsNobuyoshi Nakada
* 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.
2019-06-04test/lib/test/unit.rb: use colorize.rbNobuyoshi Nakada
2019-06-04Renamed duplicate testNobuyoshi Nakada
2019-06-04colorize.rb: get rid of syntax errors on older versionsNobuyoshi Nakada
2019-06-04colorize.rb: make `colors_file` optionalNobuyoshi Nakada
[ci skip]
2019-06-04colorize.rb: fix reading from test/colorsNobuyoshi Nakada
[ci skip]
2019-06-04extlibs.rb: colorizeNobuyoshi Nakada
[ci skip]
2019-06-04colorize.rb: read `test/colors` file afer `$TEST_COLORS`Nobuyoshi Nakada
[ci skip]
2019-06-04* remove trailing spaces. [ci skip]git
2019-06-04Azure Pipelines run on master instead of trunk [ci skip]Kazuhiro NISHIYAMA
2019-06-04Azure Pipelines run on master instead of trunk [ci skip]Kazuhiro NISHIYAMA
2019-06-04* expand tabs.git
2019-06-04node.c: Show the ID of internal variableYusuke Endoh
2019-06-04* expand tabs.git
2019-06-04EOF by 2 ^D on a TTYNobuyoshi Nakada
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.
2019-06-04Add aliases for commands for changing text macroaycabta