aboutsummaryrefslogtreecommitdiffstats
path: root/ext/io
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/io-console] bump up to 0.5.2Nobuyoshi Nakada2019-12-171-1/+1
|
* [ruby/io-console] Use TCSANOW to prevent from discarding the input bufferYusuke Endoh2019-12-171-1/+1
| | | | | | | | TCSAFLUSH discards the buffer read before the mode change, which makes IRB ignore the buffer input immediately after invoked. TCSANOW preserves the buffer. https://github.com/ruby/io-console/commit/b362920182
* [ruby/io-console] Disable implementation-defined special control charactersNobuyoshi Nakada2019-12-171-1/+1
| | | | | | In raw mode with interrupt enabled. https://github.com/ruby/io-console/commit/e9e8e3ff17
* [ruby/io-console] Removed dead codeNobuyoshi Nakada2019-12-171-1/+0
| | | | https://github.com/ruby/io-console/commit/a49462ed97
* [ruby/io-console] update depend for f9c0fe77c0eNobuyoshi Nakada2019-12-101-0/+1
|
* [ruby/io-console] bump up to 0.5.1Nobuyoshi Nakada2019-12-101-1/+1
|
* [ruby/io-console] Suppress an unused-variable warningNobuyoshi Nakada2019-12-101-0/+1
| | | | https://github.com/ruby/io-console/commit/ae5c72e481
* [ruby/io-console] Use rb_thread_call_without_gvl instead of the deprecated ↵Nobuyoshi Nakada2019-12-101-3/+4
| | | | | | function https://github.com/ruby/io-console/commit/21338ab287
* [ruby/io-console] Warn vtime option without intr flagNobuyoshi Nakada2019-12-101-0/+3
| | | | https://github.com/ruby/io-console/commit/499ff3de48
* [ruby/io-console] bump up to 0.5.0Nobuyoshi Nakada2019-12-101-1/+1
|
* [ruby/io-console] Fixed `intr: false` mode on WindowsNobuyoshi Nakada2019-12-041-12/+41
| | | | https://github.com/ruby/io-console/commit/4c172c01aa
* [ruby/io-console] Remove taint supportJeremy Evans2019-11-181-1/+0
| | | | | | Ruby 2.7 deprecates taint and it no longer has an effect. The lack of taint support should not cause a problem in previous Ruby versions.
* Deprecate taint/trust and related methods, and make the methods no-opsJeremy Evans2019-11-181-0/+1
| | | | | | This removes the related tests, and puts the related specs behind version guards. This affects all code in lib, including some libraries that may want to support older versions of Ruby.
* 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.
* [ruby/io-console] Defer creating VT query stringNobuyoshi Nakada2019-09-261-9/+23
| | | | https://github.com/ruby/io-console/commit/3d69c577a4
* [ruby/io-console] Added IO#console_modeNobuyoshi Nakada2019-09-261-0/+122
| | | | https://github.com/ruby/io-console/commit/77ed8d5a06
* [DOC] fixed the return value of IO#ready? [ci skip]Nobuyoshi Nakada2019-09-251-2/+1
| | | | IO#ready? returns true or false only, since r50262(1baa57b0033).
* Do not use of non-standard escape character '\e'Kazuhiro NISHIYAMA2019-09-251-1/+1
|
* [ruby/io-console] Made cursor position 0-originNobuyoshi Nakada2019-09-241-2/+7
| | | | https://github.com/ruby/io-console/commit/9377e37295
* [ruby/io-console] Made cursor position consistent with `winsize`Nobuyoshi Nakada2019-09-241-11/+9
| | | | | | | To be consistent with `winsize`, changed the cursor position format from `[x, y]` to `[row, column]`. https://github.com/ruby/io-console/commit/d1f5ae9286
* [ruby/io-console] Try fallback to stdout when stdinNobuyoshi Nakada2019-09-231-0/+4
| | | | https://github.com/ruby/io-console/commit/b8017509ef
* [ruby/io-console] Try to write DSR query to writable IONobuyoshi Nakada2019-09-231-2/+21
| | | | https://github.com/ruby/io-console/commit/a54b6e4dd1
* [ruby/io-console] Added `intr:` option to IO#rawNobuyoshi Nakada2019-09-141-1/+24
| | | | | | Enters raw-mode but enable interrupts. https://github.com/ruby/io-console/commit/7cba76561a
* [ruby/io-console] Suppress yet another warning on WindowsNobuyoshi Nakada2019-09-101-1/+1
| | | | https://github.com/ruby/io-console/commit/4e17c90788
* [ruby/io-console] Suppress warnings on WindowsNobuyoshi Nakada2019-09-101-3/+4
| | | | | | About unused variables and a function. https://github.com/ruby/io-console/commit/32baf54e7a
* [ruby/io-console] Added IO#check_winsize_changed on WindowsNobuyoshi Nakada2019-09-101-0/+25
| | | | https://github.com/ruby/io-console/commit/ee648fa8bb
* [ruby/io-console] Added scroll methodsNobuyoshi Nakada2019-09-101-0/+57
| | | | https://github.com/ruby/io-console/commit/83e70de8ab
* [ruby/io-console] Added line/screen erase methodsNobuyoshi Nakada2019-09-101-0/+115
| | | | https://github.com/ruby/io-console/commit/e6344108a1
* [ruby/io-console] Added IO#goto_columnNobuyoshi Nakada2019-09-101-0/+27
| | | | https://github.com/ruby/io-console/commit/143a9d5764
* [ruby/io-console] Added relative cursor move methodsNobuyoshi Nakada2019-09-101-0/+70
| | | | https://github.com/ruby/io-console/commit/21d340e4a2
* [ruby/io-console] Added IO#goto and IO#cursor= for VTNobuyoshi Nakada2019-09-101-10/+15
| | | | https://github.com/ruby/io-console/commit/7f2b1b473d
* [ruby/io-console] Added IO#cursor for VTNobuyoshi Nakada2019-09-101-1/+18
| | | | https://github.com/ruby/io-console/commit/41a6a6cace
* [ruby/io-console] Added console_vt_responseNobuyoshi Nakada2019-09-101-13/+83
| | | | | | A function to query console info. https://github.com/ruby/io-console/commit/db75a07fa3
* [ruby/io-console] Drop fat gem supportNobuyoshi Nakada2019-09-101-1/+0
| | | | https://github.com/ruby/io-console/commit/972ceb081d
* [ruby/io-console] Do not use add_development_dependencyNobuyoshi Nakada2019-07-251-4/+1
| | | | https://github.com/ruby/io-console/commit/bc77f46391
* Include ruby/assert.h in ruby/ruby.h so that assertions can be thereNobuyoshi Nakada2019-07-143-0/+3
|
* Fix the warning in 456586bb234915107da255d2944f620a7dd7048bNobuyoshi Nakada2019-05-151-1/+1
|
* io/console: rb_str_cat_conv_enc_opts is not exportedNobuyoshi Nakada2019-05-141-5/+3
|
* io/console: fix up timeout on WindowsNobuyoshi Nakada2019-05-141-2/+2
|
* io/console: support getch timeout on WindowsNobuyoshi Nakada2019-05-141-1/+9
|
* io/console: support wide character input on WindowsNobuyoshi Nakada2019-05-141-0/+39
|
* Use $(hdrdir) for include/ruby.h, as well as r67033nobu2019-02-113-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io-console.gemspec: updatenobu2018-12-271-3/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io-console: bump to 0.4.7nobu2018-12-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io/console: drop 2.1.0 support [ci skip]nobu2018-03-023-9/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io/console: drop 2.0.0 support [ci skip]nobu2018-03-023-5/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gperf.sed: static declarationsnobu2017-12-152-2/+2
| | | | | | | * tool/gperf.sed: comment out arguments part only, to keep the following declarations static. [Feature #13883] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* support gperf 3.1nobu2017-12-083-187/+178
| | | | | | | | | | * tool/gperf.sed: extracted sed commands to a script. ANSI-C code produced by gperf 3.1 declares length arguments as `size_t`. it causes conflict with existing declarations, and needs casts for a local variable and return statements. [Feature #13883] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typos in rdocknu2017-11-081-3/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add details on the min/time parameters to the rdocknu2017-11-071-0/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e