Nobuyoshi Nakada
1107cfd077
[ruby/io-console] * remove trailing spaces [ci skip]
...
a0544eb74f
2023-08-18 01:15:00 +00:00
Olivier Lacan
43802a088e
[ruby/io-console] [DOC] IO::console.getpass usage example
...
There were no clear example of this very useful method's usage anywhere
in the IO or IO::Console docs, which was a shame.
4d324586a8
2023-08-18 01:02:42 +00:00
Samuel Williams
64ec1813ac
Restores the changes in io-console
without breaking backwards compatibility. ( #7882 )
...
This reverts commit 35da41b29b
.
This updates `io-console` to avoid accessing the internal details of `rb_io_t`
and instead use `rb_io_descriptor` and `rb_io_path` etc.
2023-06-01 17:43:45 +09:00
Hiroshi SHIBATA
35da41b29b
Revert https://github.com/ruby/io-console/pull/43
...
This reverts commit 1889133c04
and
commit 764207e47c
.
Followed up with 85dcc4866d
2023-06-01 09:36:55 +09:00
Benoit Daloze
30b960ba34
[ruby/io-nonblock] Add TruffleRuby support and add it in CI
...
* Do not use a C extension on TruffleRuby for these 3 methods.
1b8e52abfa
2023-05-30 12:39:26 +00:00
Benoit Daloze
c7c8e4c96e
[ruby/io-nonblock] Use the correct pattern for the fallback of rb_io_descriptor()
...
* See d1d9aef45c
dadb42422b
2023-05-30 12:39:25 +00:00
Samuel Williams
764207e47c
[ruby/io-console] Remove trailing whitespace.
...
55f1586463
2023-05-29 12:37:49 +00:00
Samuel Williams
1889133c04
[ruby/io-console] Remove usage of IO internals.
...
(https://github.com/ruby/io-console/pull/43 )
4b839a504f
Co-authored-by: Benoit Daloze <eregontp@gmail.com>
2023-05-29 12:30:32 +00:00
Samuel Williams
14abb799c9
[ruby/io-nonblock] Remove usage of IO internals.
...
(https://github.com/ruby/io-nonblock/pull/11 )
caa2b94d19
2023-05-28 08:40:38 +00:00
Samuel Williams
55393645a1
[ruby/io-nonblock] Revert "Remove usage of IO internals."
...
This reverts commit 9772b6dcb6
.
08cabf78e1
2023-05-28 08:01:50 +00:00
Samuel Williams
26dd9c5f0f
[ruby/io-nonblock] Remove usage of IO internals.
...
9772b6dcb6
2023-05-28 07:49:33 +00:00
Samuel Williams
881757c03f
[ruby/io-wait] Remove usage of IO internals.
...
(https://github.com/ruby/io-wait/pull/25 )
e5854b46c7
2023-05-28 05:09:02 +00:00
Matt Valentine-House
5e4b80177e
Update the depend files
2023-02-28 09:09:00 -08:00
Matt Valentine-House
f38c6552f9
Remove intern/gc.h from Make deps
2023-02-27 10:11:56 -08:00
Nobuyoshi Nakada
899ea35035
Extract include/ruby/internal/attr/packed_struct.h
...
Split `PACKED_STRUCT` and `PACKED_STRUCT_UNALIGNED` macros into the
macros bellow:
* `RBIMPL_ATTR_PACKED_STRUCT_BEGIN`
* `RBIMPL_ATTR_PACKED_STRUCT_END`
* `RBIMPL_ATTR_PACKED_STRUCT_UNALIGNED_BEGIN`
* `RBIMPL_ATTR_PACKED_STRUCT_UNALIGNED_END`
2023-02-08 12:34:13 +09:00
Hiroshi SHIBATA
d95ee11462
[ruby/io-console] Bump version to 0.6.0
...
441528e3eb
2022-12-16 03:45:11 +00:00
Hiroshi SHIBATA
7e26ff7dc0
[ruby/io-wait] Bump version to 0.3.0
...
940ba319d3
2022-12-16 02:36:21 +00:00
Hiroshi SHIBATA
8c596369e8
[ruby/io-nonblock] Bump version to 0.2.0
...
46c0ec245e
2022-12-05 06:22:15 +00:00
Nobuyoshi Nakada
678bcfcaa6
[ruby/io-console] Check rawmode option names strictly
...
aa8fc7e947
2022-12-02 10:33:35 +00:00
Nobuyoshi Nakada
4ba2c66761
Revert "* expand tabs. [ci skip]"
...
This reverts commit 0d842fecb4
.
2022-07-30 17:29:56 +09:00
git
0d842fecb4
* expand tabs. [ci skip]
...
Tabs were expanded because the file did not have any tab indentation in unedited lines.
Please update your editor config, and use misc/expand_tabs.rb in the pre-commit hook.
2022-07-30 17:26:37 +09:00
Nobuyoshi Nakada
f28287d34c
[ruby/io-nonblock] Revert tab expansion
2022-07-30 17:24:43 +09:00
Takashi Kokubun
5b21e94beb
Expand tabs [ci skip]
...
[Misc #18891 ]
2022-07-21 09:42:04 -07:00
Nobuyoshi Nakada
50e13870bf
[ruby/io-wait] Bump up
...
0fa6e3f7ba
2022-06-25 18:10:46 +09:00
Nobuyoshi Nakada
8c1d3c2dce
[ruby/io-wait] Remove C99-ism for some platforms [ci skip]
...
Fix https://github.com/ruby/io-wait/pull/11
845f9a1f55
2022-06-25 18:09:11 +09:00
Samuel Williams
f9c8d80883
[ruby/io-wait] Don't add IO#wait*
methods when RUBY_IO_WAIT_METHODS
is defined by Ruby. ( https://github.com/ruby/io-wait/pull/19 )
...
* Fix return value compatibility with Ruby 2.x.
* Don't add `IO#wait*` methods in Ruby 3.2+.
54c504d089
2022-06-25 16:21:54 +09:00
Nobuyoshi Nakada
a0b24f5926
[ruby/io-wait] Remove redundant forward declarations
...
These were needed before prototype declarations were used.
35f016833a
2022-06-21 12:13:47 +09:00
Hiroshi SHIBATA
bcc9451bbf
Merge JRuby implementation for stringio and io-wait
2022-05-20 18:45:14 +09:00
Nobuyoshi Nakada
104fb83ccd
[ruby/io-nonblock] Remove unnecessary files from the gem
...
3850a4c7ac
2022-05-20 17:49:14 +09:00
Nobuyoshi Nakada
0dfd5d19f3
[ruby/io-nonblock] Rename io_nonblock_mode
and extract set_fcntl_flags
...
22f08574df
2022-05-20 17:49:14 +09:00
Hiroshi SHIBATA
a370eb5a63
[ruby/io-wait] bump up to 0.2.3
...
f59d1d12e0
2022-05-09 18:19:06 +09:00
Kazuhiro NISHIYAMA
f4093c5c3b
io.nonblock returns the block's value [ci skip]
2022-04-26 00:17:32 +09:00
Tanaka Akira
671d90eca3
add description for IO.nonblock=.
2022-04-24 23:16:55 +09:00
Charles Oliver Nutter
bd18623307
[ruby/io-wait] Update version to 0.2.2.pre1 for testing
...
12e26f574e
2022-03-10 22:58:31 +09:00
Peter Zhu
2d5ecd60a5
[Feature #18249 ] Update dependencies
2022-02-22 09:55:21 -05:00
Nobuyoshi Nakada
f6894711a4
[ruby/io-wait] Exclude rake files from packages
...
7be58cd7f4
2022-02-01 20:04:15 +09:00
Jean Boussier
ddb9d60f7d
[ruby/io-wait] Make the gem a noop on Rubies older than 2.6
...
Ref: https://github.com/mikel/mail/pull/1439
Some gems depend on io-wait, but still support older rubies,
so they have to chose between droping support or not listing io-wait.
But io-wait could act a a noop on older rubies.
75fcb74c32
2022-02-01 14:11:16 +09:00
Nobuyoshi Nakada
fc4fbeef28
[ruby/io-wait] bump up to 0.2.2
...
e15a2486b2
2022-02-01 13:22:03 +09:00
Nobuyoshi Nakada
85502f3a51
[ruby/io-wait] [DOC] Fix the return values [ci skip]
...
Even since 0.1.0, other than +true+ or +false+ may be returned.
d0721e300a
2022-01-24 18:03:48 +09:00
apatniv
e7b573e576
[ruby/io-wait] Document mandatory require for using io/wait methods
...
2beb05bd48
2022-01-24 12:12:15 +09:00
Nobuyoshi Nakada
d75f7078c8
[ruby/io-console] bump up to 0.5.11
...
ad3805200c
2021-12-29 09:37:59 +09:00
Samuel Williams
f27eb8148f
Sync io-console gem.
2021-12-29 13:27:40 +13:00
Nobuyoshi Nakada
8247b193c0
[ruby/io-console] bump up to 0.5.10
...
806c65e22b
2021-12-25 18:38:51 +09:00
Nobuyoshi Nakada
9368fa6c30
[ruby/io-console] No longer support dead versions
...
e9478509e9
2021-12-25 18:38:51 +09:00
Samuel Williams
548c8f5f7a
Prefer to use RTEST when checking result of rb_io_wait
. ( #5341 )
...
* Prefer to use RTEST when checking result of `rb_io_wait`.
* Consistently use false for signifying no events ready.
2021-12-25 02:26:06 +13:00
Hiroshi SHIBATA
c41751f10e
[ruby/io-wait] Bump up 0.2.1
...
c97ab9a212
2021-12-09 19:28:54 +09:00
Nobuyoshi Nakada
ac152b3cac
Update dependencies
2021-11-21 16:21:18 +09:00
Yusuke Endoh
cbb057e677
ext/io/wait/depend: make it work for Ruby 3.1.0-dev
...
Reverts 2eb3841e9c
because it fails on "update-deps" check in the ruby/ruby CI.
4230891140
```
diff --git a/ext/io/wait/depend b/ext/io/wait/depend
index 7b314b9..449e9fe 100644
--- a/ext/io/wait/depend
+++ b/ext/io/wait/depend
...
```
Maybe now it does not work on Ruby 2.6. This file must be changed for
each Ruby version. I have no good idea to fix this issue.
2021-11-17 11:21:31 +09:00
Nobuyoshi Nakada
c910de3575
[ruby/io-wait] Fix dependency for ruby 2.6
...
2eb3841e9c
2021-11-16 20:25:47 +09:00
Nobuyoshi Nakada
96d9cfba08
[ruby/io-wait] Allow earlier versions
...
1060f9348c
2021-11-16 20:25:46 +09:00