Hiroshi SHIBATA
2bd1f827f1
Promote io-nonblock to the default gems.
2020-07-30 21:21:08 +09:00
Hiroshi SHIBATA
d75b42a70a
Promote io-wait to the default gems
2020-07-30 21:10:28 +09:00
Hiroshi SHIBATA
fdd475386d
Gem::Specification#date is set automatically by RubyGems.org.
2020-06-11 13:29:06 +09:00
卜部昌平
9e41a75255
sed -i 's|ruby/impl|ruby/internal|'
...
To fix build failures.
2020-05-11 09:24:08 +09:00
卜部昌平
d7f4d732c1
sed -i s|ruby/3|ruby/impl|g
...
This shall fix compile errors.
2020-05-11 09:24:08 +09:00
Nobuyoshi Nakada
be575a6eef
[ruby/io-console] Use sys_fail_fptr macro
...
https://github.com/ruby/io-console/commit/2b8ba023c8
2020-05-09 17:05:14 +09:00
Nobuyoshi Nakada
0ce45db115
[ruby/io-console] Show path name at error
...
https://github.com/ruby/io-console/commit/6a4b1c1a6d
2020-05-09 13:56:55 +09:00
卜部昌平
9e6e39c351
Merge pull request #2991 from shyouhei/ruby.h
...
Split ruby.h
2020-04-08 13:28:13 +09:00
Nobuyoshi Nakada
2115a3937d
[ruby/io-console] bump up to 0.5.6
2020-02-18 11:34:38 +09:00
Nobuyoshi Nakada
5ef383552d
[ruby/io-console] Just ignore the extension on other than CRuby
...
https://github.com/ruby/io-console/commit/41b6f09574
2020-02-18 11:33:06 +09:00
Nobuyoshi Nakada
dec802d8b5
[ruby/io-console] [DOC] Improved about intr:
...
https://github.com/ruby/io-console/commit/82b630cd79
2020-02-17 12:05:09 +09:00
Nobuyoshi Nakada
78282d4655
[ruby/io-console] Prefer keyword arguments
...
https://github.com/ruby/io-console/commit/5facbfc4c8
2020-02-14 20:30:34 +09:00
Nobuyoshi Nakada
199d829a51
[ruby/io-console] bump up to 0.5.5
2020-01-18 00:17:05 +09:00
Nobuyoshi Nakada
4e56ec4ef7
[ruby/io-console] Set OPOST
when intr
is true
...
To enable implementation-defined output processing, for the
compatibility with readline. [Bug #16509 ]
https://bugs.ruby-lang.org/issues/16509
https://github.com/ruby/io-console/commit/8c8b0b6757
2020-01-18 00:15:02 +09:00
Hiroshi SHIBATA
4e1a7678cd
[ruby/io-console] Update the minimum requirement of Ruby version
...
https://github.com/ruby/io-console/commit/73e7b6318a
2020-01-18 00:14:58 +09:00
Nobuyoshi Nakada
3e2418e2a6
[ruby/io-console] bump up to 0.5.4
2019-12-30 17:38:28 +09:00
Nobuyoshi Nakada
31e2f03512
[ruby/io-console] Enable only interrupt bits on intr: true
...
https://github.com/ruby/io-console/commit/baaf929041
2019-12-29 16:26:22 +09:00
Nobuyoshi Nakada
58527a7926
[ruby/io-console] bump up to 0.5.3
2019-12-22 13:52:59 +09:00
Nobuyoshi Nakada
77e3078ede
[ruby/io-console] Set raw mode strictly same as cfmakeraw
...
* Default VMIN and VTIME to minimum input.
* Disable parity check bits explicitly.
* Disable all bits for flow control on input.
Co-Authored-By: NARUSE, Yui <naruse@airemix.jp>
https://github.com/ruby/io-console/commit/5ce201a686
2019-12-18 10:33:05 +09:00
Nobuyoshi Nakada
e36319249b
[ruby/io-console] bump up to 0.5.2
2019-12-17 13:57:58 +09:00
Yusuke Endoh
b39d5da974
[ruby/io-console] Use TCSANOW to prevent from discarding the input buffer
...
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
2019-12-17 13:55:05 +09:00
Nobuyoshi Nakada
81eb2d16ef
[ruby/io-console] Disable implementation-defined special control characters
...
In raw mode with interrupt enabled.
https://github.com/ruby/io-console/commit/e9e8e3ff17
2019-12-17 13:55:04 +09:00
Nobuyoshi Nakada
a9d17af242
[ruby/io-console] Removed dead code
...
https://github.com/ruby/io-console/commit/a49462ed97
2019-12-17 13:55:04 +09:00
Nobuyoshi Nakada
8e49ef5a69
[ruby/io-console] update depend for f9c0fe77c0
2019-12-10 23:13:40 +09:00
Nobuyoshi Nakada
58e5ab78d0
[ruby/io-console] bump up to 0.5.1
2019-12-10 16:06:12 +09:00
Nobuyoshi Nakada
2419b3dba6
[ruby/io-console] Suppress an unused-variable warning
...
https://github.com/ruby/io-console/commit/ae5c72e481
2019-12-10 16:06:11 +09:00
Nobuyoshi Nakada
f9c0fe77c0
[ruby/io-console] Use rb_thread_call_without_gvl instead of the deprecated function
...
https://github.com/ruby/io-console/commit/21338ab287
2019-12-10 16:06:11 +09:00
Nobuyoshi Nakada
09723b98f7
[ruby/io-console] Warn vtime option without intr flag
...
https://github.com/ruby/io-console/commit/499ff3de48
2019-12-10 16:06:11 +09:00
Nobuyoshi Nakada
0c2787b9b2
[ruby/io-console] bump up to 0.5.0
2019-12-10 16:06:11 +09:00
Nobuyoshi Nakada
5a404efd29
[ruby/io-console] Fixed intr: false
mode on Windows
...
https://github.com/ruby/io-console/commit/4c172c01aa
2019-12-04 10:10:45 +09:00
Jeremy Evans
17e8a6eff4
[ruby/io-console] Remove taint support
...
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.
2019-11-18 01:00:25 +02:00
Jeremy Evans
ffd0820ab3
Deprecate taint/trust and related methods, and make the methods no-ops
...
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.
2019-11-18 01:00:25 +02:00
Jeremy Evans
c5c05460ac
Warn on access/modify of $SAFE, and remove effects of modifying $SAFE
...
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.
2019-11-18 01:00:25 +02:00
Nobuyoshi Nakada
5357ceb1ca
[ruby/io-console] Defer creating VT query string
...
https://github.com/ruby/io-console/commit/3d69c577a4
2019-09-26 09:59:27 +09:00
Nobuyoshi Nakada
9b10698705
[ruby/io-console] Added IO#console_mode
...
https://github.com/ruby/io-console/commit/77ed8d5a06
2019-09-26 09:59:27 +09:00
Nobuyoshi Nakada
5b1fd79ad9
[DOC] fixed the return value of IO#ready? [ci skip]
...
IO#ready? returns true or false only, since r50262(1baa57b003
).
2019-09-25 20:54:33 +09:00
Kazuhiro NISHIYAMA
ca58e83400
Do not use of non-standard escape character '\e'
2019-09-25 09:48:44 +09:00
Nobuyoshi Nakada
10e3267c31
[ruby/io-console] Made cursor position 0-origin
...
https://github.com/ruby/io-console/commit/9377e37295
2019-09-24 16:20:31 +09:00
Nobuyoshi Nakada
244f7ec204
[ruby/io-console] Made cursor position consistent with winsize
...
To be consistent with `winsize`, changed the cursor position
format from `[x, y]` to `[row, column]`.
https://github.com/ruby/io-console/commit/d1f5ae9286
2019-09-24 16:20:30 +09:00
Nobuyoshi Nakada
9e4be78ea8
[ruby/io-console] Try fallback to stdout when stdin
...
https://github.com/ruby/io-console/commit/b8017509ef
2019-09-23 19:29:36 +09:00
Nobuyoshi Nakada
8487193b10
[ruby/io-console] Try to write DSR query to writable IO
...
https://github.com/ruby/io-console/commit/a54b6e4dd1
2019-09-23 19:24:43 +09:00
Nobuyoshi Nakada
6d2dcf9632
[ruby/io-console] Added intr:
option to IO#raw
...
Enters raw-mode but enable interrupts.
https://github.com/ruby/io-console/commit/7cba76561a
2019-09-14 23:27:53 +09:00
Nobuyoshi Nakada
83ef58f264
[ruby/io-console] Suppress yet another warning on Windows
...
https://github.com/ruby/io-console/commit/4e17c90788
2019-09-10 17:29:11 +09:00
Nobuyoshi Nakada
b5ab918d0c
[ruby/io-console] Suppress warnings on Windows
...
About unused variables and a function.
https://github.com/ruby/io-console/commit/32baf54e7a
2019-09-10 17:29:09 +09:00
Nobuyoshi Nakada
3678c37119
[ruby/io-console] Added IO#check_winsize_changed on Windows
...
https://github.com/ruby/io-console/commit/ee648fa8bb
2019-09-10 08:18:03 +09:00
Nobuyoshi Nakada
74790e2dc4
[ruby/io-console] Added scroll methods
...
https://github.com/ruby/io-console/commit/83e70de8ab
2019-09-10 08:18:03 +09:00
Nobuyoshi Nakada
c1412bd6d9
[ruby/io-console] Added line/screen erase methods
...
https://github.com/ruby/io-console/commit/e6344108a1
2019-09-10 08:18:03 +09:00
Nobuyoshi Nakada
9844a349bf
[ruby/io-console] Added IO#goto_column
...
https://github.com/ruby/io-console/commit/143a9d5764
2019-09-10 08:18:03 +09:00
Nobuyoshi Nakada
e8be056af9
[ruby/io-console] Added relative cursor move methods
...
https://github.com/ruby/io-console/commit/21d340e4a2
2019-09-10 08:18:03 +09:00
Nobuyoshi Nakada
3d9c7c2835
[ruby/io-console] Added IO#goto and IO#cursor= for VT
...
https://github.com/ruby/io-console/commit/7f2b1b473d
2019-09-10 08:18:03 +09:00