path: root/ext/io
AgeCommit message (Collapse)Author
2019-12-10[ruby/io-console] bump up to 0.5.0Nobuyoshi Nakada
2019-12-04[ruby/io-console] Fixed `intr: false` mode on WindowsNobuyoshi Nakada
2019-11-18[ruby/io-console] Remove taint supportJeremy Evans
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. Notes: Merged:
2019-11-18Deprecate taint/trust and related methods, and make the methods no-opsJeremy Evans
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. Notes: Merged:
2019-11-18Warn on access/modify of $SAFE, and remove effects of modifying $SAFEJeremy Evans
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. Notes: Merged:
2019-09-26[ruby/io-console] Defer creating VT query stringNobuyoshi Nakada
2019-09-26[ruby/io-console] Added IO#console_modeNobuyoshi Nakada
2019-09-25[DOC] fixed the return value of IO#ready? [ci skip]Nobuyoshi Nakada
IO#ready? returns true or false only, since r50262(1baa57b0033).
2019-09-25Do not use of non-standard escape character '\e'Kazuhiro NISHIYAMA
2019-09-24[ruby/io-console] Made cursor position 0-originNobuyoshi Nakada
2019-09-24[ruby/io-console] Made cursor position consistent with `winsize`Nobuyoshi Nakada
To be consistent with `winsize`, changed the cursor position format from `[x, y]` to `[row, column]`.
2019-09-23[ruby/io-console] Try fallback to stdout when stdinNobuyoshi Nakada
2019-09-23[ruby/io-console] Try to write DSR query to writable IONobuyoshi Nakada
2019-09-14[ruby/io-console] Added `intr:` option to IO#rawNobuyoshi Nakada
Enters raw-mode but enable interrupts. Notes: Merged:
2019-09-10[ruby/io-console] Suppress yet another warning on WindowsNobuyoshi Nakada
2019-09-10[ruby/io-console] Suppress warnings on WindowsNobuyoshi Nakada
About unused variables and a function.
2019-09-10[ruby/io-console] Added IO#check_winsize_changed on WindowsNobuyoshi Nakada Notes: Merged:
2019-09-10[ruby/io-console] Added scroll methodsNobuyoshi Nakada Notes: Merged:
2019-09-10[ruby/io-console] Added line/screen erase methodsNobuyoshi Nakada Notes: Merged:
2019-09-10[ruby/io-console] Added IO#goto_columnNobuyoshi Nakada Notes: Merged:
2019-09-10[ruby/io-console] Added relative cursor move methodsNobuyoshi Nakada Notes: Merged:
2019-09-10[ruby/io-console] Added IO#goto and IO#cursor= for VTNobuyoshi Nakada Notes: Merged:
2019-09-10[ruby/io-console] Added IO#cursor for VTNobuyoshi Nakada Notes: Merged:
2019-09-10[ruby/io-console] Added console_vt_responseNobuyoshi Nakada
A function to query console info. Notes: Merged:
2019-09-10[ruby/io-console] Drop fat gem supportNobuyoshi Nakada Notes: Merged:
2019-07-25[ruby/io-console] Do not use add_development_dependencyNobuyoshi Nakada
2019-07-14Include ruby/assert.h in ruby/ruby.h so that assertions can be thereNobuyoshi Nakada
2019-05-15Fix the warning in 456586bb234915107da255d2944f620a7dd7048bNobuyoshi Nakada
2019-05-14io/console: rb_str_cat_conv_enc_opts is not exportedNobuyoshi Nakada
2019-05-14io/console: fix up timeout on WindowsNobuyoshi Nakada
2019-05-14io/console: support getch timeout on WindowsNobuyoshi Nakada
2019-05-14io/console: support wide character input on WindowsNobuyoshi Nakada
2019-02-11Use $(hdrdir) for include/ruby.h, as well as r67033nobu
git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-27io-console.gemspec: updatenobu
git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25io-console: bump to 0.4.7nobu
git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-03-02io/console: drop 2.1.0 support [ci skip]nobu
git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-03-02io/console: drop 2.0.0 support [ci skip]nobu
git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-15gperf.sed: static declarationsnobu
* tool/gperf.sed: comment out arguments part only, to keep the following declarations static. [Feature #13883] git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-08support gperf 3.1nobu
* 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:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-11-08Fix typos in rdocknu
git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-11-07Add details on the min/time parameters to the rdocknu
git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-17ext/io/console/lib/console/size.rb: Fix the context of method definitionmame
`console_size` is not a instance method but a class method. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-15To use github url for gemspec.hsbt
[Bug #13906][ruby-core:82817] git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-14Update gemspec for gem released versions.hsbt
* These are dbm, fcntl, io-console, sdbm, stringio, strscan, zlib, cmath, scanf. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-11console.c: set winsize on Windowsnobu
* ext/io/console/console.c (console_set_winsize): retry shrinking window and screen buffer. [ruby-core:82741] [Bug #13888] git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-04Improve line covearge of ext/io/nonblock/nonblock.c from 54.5% to 95.5%mame
Not so good test, but it would be better than nothing, I guess... git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-03-22ruby tool/update-deps --fixshyouhei
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:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-01-07console.c: unpaired sizenobu
* ext/io/console/console.c (console_set_winsize): reject unpaired pixel size. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-01-07console.c: OOB accessnobu
* ext/io/console/console.c (console_set_winsize): fix out-of-bounds access. [ruby-core:79004] [Bug #13112] git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-11Use https instead of http in some URLskazu
git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e