summaryrefslogtreecommitdiff
path: root/ext/readline
Commit message (Collapse)AuthorAgeFilesLines
* Added missing declarations in readline.h bundled with macOS 10.13Nobuyoshi Nakada2021-07-091-0/+3
|
* [ruby/readline-ext] Version 0.1.2aycabta2021-06-221-1/+1
| | | | https://github.com/ruby/readline-ext/commit/8541aaccb5
* dependency updates卜部昌平2021-04-131-1/+0
|
* [ruby/readline-ext] Initialize libedit before managing the historyNobuyoshi Nakada2021-02-181-0/+1
| | | | | | Fixes https://bugs.ruby-lang.org/issues/17629 https://github.com/ruby/readline-ext/commit/250d6787ed
* Get rid of inconsistent dll linkages against vcpkg readlineNobuyoshi Nakada2020-12-271-6/+6
|
* [ruby/readline-ext] Rename depend.gem with depend-gemaycabta2020-12-031-0/+0
| | | | https://github.com/ruby/readline-ext/commit/897ffe26a6
* [ruby/readline-ext] Version 0.1.1aycabta2020-12-031-1/+1
| | | | https://github.com/ruby/readline-ext/commit/6d55854434
* Use gemified dependaycabta2020-12-031-0/+4
|
* Fix code example in Readline::HISTORY documentation.Cristian Greco2020-12-021-1/+1
| | | | Wrapping the example into a <code> block to avoid it being rendered as a link.
* update-depsNARUSE, Yui2020-09-261-0/+100
| | | | https://github.com/ruby/ruby/runs/1169621878
* ext/readline/depend: update-deps --fixKenta Murata2020-09-261-0/+50
|
* [ruby/readline-ext] Remove unnecessary header files from dependaycabta2020-09-251-150/+0
| | | | https://github.com/ruby/readline-ext/commit/f9783c0739
* sed -i '/rmodule.h/d'卜部昌平2020-08-271-1/+0
|
* sed -i '/r_cast.h/d'卜部昌平2020-08-271-1/+0
|
* sed -i '\,2/extern.h,d'卜部昌平2020-08-271-1/+0
|
* Update the license for the default gems to dual licensesHiroshi SHIBATA2020-08-181-1/+1
|
* sed -i 's|ruby/impl|ruby/internal|'卜部昌平2020-05-111-140/+140
| | | | To fix build failures.
* sed -i s|ruby/3|ruby/impl|g卜部昌平2020-05-111-140/+140
| | | | This shall fix compile errors.
* Merge pull request #2991 from shyouhei/ruby.h卜部昌平2020-04-081-0/+152
| | | Split ruby.h
* Add workaround for test-bundler failureKazuhiro NISHIYAMA2020-03-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/ruby/actions/runs/500526558?check_suite_focus=true#step:16:127 ``` Failures: 1) Bundler.setup when Bundler is bundled doesn't blow up Failure/Error: expect(err).to be_empty expected `"fatal: not a git repository (or any of the parent directories): .git\nfatal: not a git repository (o...the parent directories): .git\nfatal: not a git repository (or any of the parent directories): .git".empty?` to return true, got false Commands: $ /home/runner/work/actions/actions/snapshot-master/ruby \ -I/home/runner/work/actions/actions/snapshot-master/lib:/home/runner/work/actions/actions/snapshot-master/spec/bundler \ -rsupport/hax -rsupport/artifice/fail \ /home/runner/work/actions/actions/snapshot-master/libexec/bundle install --retry 0 Resolving dependencies... Using bundler 2.1.4 Bundle complete! 1 Gemfile dependency, 1 gem now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git # $? => 0 $ /home/runner/work/actions/actions/snapshot-master/ruby \ -I/home/runner/work/actions/actions/snapshot-master/lib:/home/runner/work/actions/actions/snapshot-master/spec/bundler \ -rsupport/hax -rsupport/artifice/fail \ /home/runner/work/actions/actions/snapshot-master/libexec/bundle exec ruby -e \ require\ \'bundler\'\;\ Bundler.setup fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git # $? => 0 # ./spec/bundler/runtime/setup_spec.rb:1056:in `block (3 levels) in <top (required)>' # ./spec/bundler/spec_helper.rb:111:in `block (3 levels) in <top (required)>' # ./spec/bundler/spec_helper.rb:111:in `block (2 levels) in <top (required)>' # ./spec/bundler/spec_helper.rb:78:in `block (2 levels) in <top (required)>' make: *** [yes-test-bundler] Error 1 ```
* Fix readline build dependencyAlan Wu2020-02-091-0/+1
|
* [ruby/readline-ext] Use rake/extensiokntask to buildaycabta2020-02-091-0/+4
| | | | https://github.com/ruby/readline-ext/commit/b0b5f709bd
* [ruby/readline-ext] Add spec.extensionsaycabta2020-02-091-0/+1
| | | | https://github.com/ruby/readline-ext/commit/8c33abb13c
* [ruby/readline-ext] The ruby/assert.h is adopted by Ruby 2.7 or lateraycabta2020-02-091-1/+0
| | | | https://github.com/ruby/readline-ext/commit/106c31fc1b
* [ruby/readline-ext] Remove unnecessary -I$(top_srcdir) when it's an ↵aycabta2020-02-091-1/+0
| | | | | | individual gem https://github.com/ruby/readline-ext/commit/efaca4a5f4
* Revert "[ruby/readline-ext] Include ruby/assert.h in ruby/ruby.h so that ↵aycabta2020-02-091-1/+0
| | | | | | | | assertions can be there" This reverts commit 425b2064d394639101854c83a061a0918b33b857. This cherry-pick was a mistake.
* [ruby/readline-ext] Include ruby/assert.h in ruby/ruby.h so that assertions ↵Nobuyoshi Nakada2020-01-231-0/+1
| | | | | | can be there https://github.com/ruby/readline-ext/commit/4d44c12832
* [ruby/readline-ext] Version 0.1.0aycabta2019-12-251-1/+1
| | | | https://github.com/ruby/readline-ext/commit/f5abaf5be1
* [ruby/readline-ext] Prepare to gem releaseHiroshi SHIBATA2019-11-301-1/+1
| | | | https://github.com/ruby/readline-ext/commit/e5b969215a
* Update dependenciesNobuyoshi Nakada2019-11-181-1/+0
|
* Warn on access/modify of $SAFE, and remove effects of modifying $SAFEJeremy Evans2019-11-181-1/+0
| | | | | | | | | | | | | | | | | This removes the security features added by $SAFE = 1, and warns for access or modification of $SAFE from Ruby-level, as well as warning when calling all public C functions related to $SAFE. This modifies some internal functions that took a safe level argument to no longer take the argument. rb_require_safe now warns, rb_require_string has been added as a version that takes a VALUE and does not warn. One public C function that still takes a safe level argument and that this doesn't warn for is rb_eval_cmd. We may want to consider adding an alternative method that does not take a safe level argument, and warn for rb_eval_cmd.
* Promote readline to default gems named readline-extHiroshi SHIBATA2019-11-091-0/+21
|
* drop-in type check for rb_define_singleton_method卜部昌平2019-08-291-5/+5
| | | | | | We can check the function pointer passed to rb_define_singleton_method like how we do so in rb_define_method. Doing so revealed many arity mismatches.
* Include ruby/assert.h in ruby/ruby.h so that assertions can be thereNobuyoshi Nakada2019-07-141-0/+1
|
* Update the canonical repository url.Hiroshi SHIBATA2019-05-071-1/+1
|
* Removed moving toplevel header since r12501nobu2019-02-081-1/+1
| | | | | | | Moving public headers was 12-years ago, no depend files would expect ruby.h in the top source directory now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* readline.c: improve docsstomar2018-10-121-2/+2
| | | | | | | * ext/readline/readline.c: [DOC] fix typo in docs for Readline.completion_quote_character; enable link to method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added missing declarations in readline.h bundled with macOS 10.14nobu2018-10-071-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Readline: expose rl_completion_quote_character variablenobu2018-09-022-0/+32
| | | | | | | | [Feature #13050] From: georgebrock (George Brocklehurst) <ruby@georgebrock.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/readline/extconf.rb: try using more readline APIsk0kubun2018-08-241-3/+3
| | | | | | | | | | on MinGW. [Bug #15020] From: MSP-Greg <Greg.mpls@gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use https:// instead of http://kazu2018-07-281-1/+1
| | | | | | [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* UNREACHABLE_RETURNnobu2018-07-241-1/+1
| | | | | | | * include/ruby/ruby.h (UNREACHABLE_RETURN): UNREACHABLE at the end of non-void functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* no ID cache in Init functionsnobu2018-02-161-2/+2
| | | | | | Init functions are called only once, cache is useless. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ignore external library sources [ci skip]nobu2018-01-261-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext: check if null byte is containednobu2017-09-301-1/+2
| | | | | | [ruby-dev:50267] [Bug #13953] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby tool/update-deps --fixshyouhei2017-03-221-0/+1
| | | | | | | | | | | | | | Onigumo 6 (r57045) introduced new onigumo.h header file, which is required from quite much everywhere. This commit adds necessary dependencies. Note: ruby/oniguruma.h now includes onigumo.h, ruby/io.h includes oniguruma.h, ruby/encoding.h also includes oniguruma.h, and internal.h includes encoding.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix up r57788, Function is removed at readline-6.3.hsbt2017-03-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Avoid to warning of clang with -Wincompatible-pointer-types.hsbt2017-03-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* readline.c: fix waiting fucntionnobu2017-03-061-1/+1
| | | | | | | * ext/readline/readline.c (getc_body): use rb_w32_wait_events_blocking in block region. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* readline.c: fix typenobu2017-03-041-4/+5
| | | | | | | * ext/readline/readline.c (getc_body): fix variable type, and extract _get_osfhandle. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e