130 Commits

Author SHA1 Message Date
Nobuyoshi Nakada
7d4461e162
[Misc #22206] Generate dependencies without compiler builds
Replace `tool/update-deps` with a Ruby source scanner so dependency
updates no longer require GNU make, a configured build, or compiler
preprocessor output.

Keep compact source mappings and scanner declarations in dependency
files, and expand complete rules into the build directory.  Avoid the
temporary fixture headers required by the compiler-driven prototype.

Use the generated rules from GNU make, BSD make, and NMake builds.
Support out-of-tree and read-only source trees, and retain expanded
dependencies shipped in release archives when baseruby is unavailable.
2026-07-23 00:04:47 +09:00
Nobuyoshi Nakada
0e2962f917
[ruby/io-wait] bump up to 0.4.0
https://github.com/ruby/io-wait/commit/ae676c9d6d
2025-12-17 14:16:38 +09:00
Hiroshi SHIBATA
057c6e3bab
Revert "include ruby.h to avoid load failures"
This reverts commit 35783854244f8dc6a9f7fb4dfae752f8361c66bd.
2025-11-13 10:57:04 +09:00
Nobuyoshi Nakada
be86e7c50e [ruby/io-wait] Define ABI version
https://github.com/ruby/io-wait/commit/ad6f47fd3a
2025-11-12 22:27:36 +00:00
Koichi Sasada
3578385424 include ruby.h to avoid load failures
```
.../io/wait.so: undefined symbol: ruby_abi_version - ruby_abi_version
```
2025-11-13 02:27:30 +09:00
Nobuyoshi Nakada
6a05545184 [ruby/io-wait] No method definition is always ractor-safe
https://github.com/ruby/io-wait/commit/44b68fc51b
2025-11-12 14:26:19 +00:00
Nobuyoshi Nakada
ff4f9b8851 [ruby/io-wait] Drop support for ruby 3.1
https://github.com/ruby/io-wait/commit/33efb55d0e
2025-11-12 14:10:36 +00:00
Nobuyoshi Nakada
b4b0cd4a49 [ruby/io-wait] Drop support for ruby 3.0
https://github.com/ruby/io-wait/commit/62626dae8c
2025-11-12 14:10:36 +00:00
Nobuyoshi Nakada
ab13ece69a [ruby/io-wait] Drop support for ruby 2.7
https://github.com/ruby/io-wait/commit/dad4c70f2a
2025-11-12 14:10:36 +00:00
Nobuyoshi Nakada
b70f5afb68 [ruby/io-wait] Remove IO#nread and `IO#ready?
https://github.com/ruby/io-wait/commit/1decadc7f9
2025-11-12 13:48:18 +00:00
Nobuyoshi Nakada
b1c578d83e [ruby/io-wait] Start 0.4.0
https://github.com/ruby/io-wait/commit/f5c81139dd
2025-11-12 13:48:18 +00:00
Nobuyoshi Nakada
b072c39959 [ruby/io-wait] Bump up to 0.3.6
https://github.com/ruby/io-wait/commit/bf41116ff5
2025-11-12 13:23:12 +00:00
Nobuyoshi Nakada
4adb79f8aa [ruby/io-wait] Deprecate IO#nread and IO#ready?
To use these methods, busy loop is necessary somewhere.
Use other method to wait instead.

https://github.com/ruby/io-wait/commit/8ff4821cea
2025-11-12 13:23:12 +00:00
Charles Oliver Nutter
8afe65cd92 [ruby/io-wait] Bump version to 0.3.5 to incorporate JRuby release fixes
https://github.com/ruby/io-wait/commit/284cb654cf
2025-11-11 22:33:31 +00:00
Charles Oliver Nutter
5c9d5a66e7 [ruby/io-wait] 0.3.5.test1 fixing JRuby release process
https://github.com/ruby/io-wait/commit/c0ae05e319
2025-11-11 22:30:04 +00:00
Charles Oliver Nutter
8428e5e8c6 [ruby/io-wait] Bump version to 0.3.4
https://github.com/ruby/io-wait/commit/cd163938e5
2025-11-11 22:18:18 +00:00
Nobuyoshi Nakada
29847070f0 [ruby/io-wait] bump up to 0.3.3
https://github.com/ruby/io-wait/commit/57bc0b752b
2025-11-04 16:14:15 +00:00
Nobuyoshi Nakada
447809658a [ruby/io-wait] Select packging files by pathspecs
https://github.com/ruby/io-wait/commit/c66a90f5b1
2025-11-04 05:53:37 +00:00
Nobuyoshi Nakada
12350eb9e0
[Bug #21625] Allow io/wait methods with IO#ungetc in text mode 2025-10-29 17:23:00 +09:00
Hiroshi SHIBATA
146ddf614b [ruby/io-wait] Bump up 0.3.2
https://github.com/ruby/io-wait/commit/1d2b668457
2025-07-17 11:16:30 +09:00
Nobuyoshi Nakada
dbf7a0c713 [ruby/io-wait] [Bug #21509] [DOC] Correct IO#wait description
https://github.com/ruby/io-wait/commit/c65af887a1
2025-07-12 13:32:33 +00:00
Jeremy Evans
0b23a8db60 Update dependencies for addition of set.h to public headers 2025-07-11 15:24:23 +09:00
Nobuyoshi Nakada
ba246c5a16
[ruby/io-wait] Revert "Fix dependency for ruby 2.6"
This reverts commit https://github.com/ruby/io-wait/commit/2eb3841e9c8f.

Ruby 2.6 support has been dropped.

https://github.com/ruby/io-wait/commit/bcc343683e
2025-07-09 20:18:32 +09:00
Nobuyoshi Nakada
0c1c3ffa22 [ruby/io-wait] Revert https://github.com/ruby/io-wait/pull/9 "Make
the gem a noop on Rubies older than
2.6"

This reverts commit https://github.com/ruby/io-wait/commit/75fcb74c327f.

The version that does nothing with pre-ruby 2.6 has already been
released, so there is no longer need to consider older rubies in newer
versions.

https://github.com/ruby/io-wait/commit/930d2f0d07
2025-07-09 10:34:56 +00:00
Nobuyoshi Nakada
ddeefa2e7e [ruby/io-wait] Bump up the required ruby version
io-wait became a default gem at ruby 3.0.
Even it can be installed on earlier versions, but the standard library
will be loaded instead of the installed gem.

https://github.com/ruby/io-wait/commit/15b96736cd
2025-07-09 10:34:54 +00:00
Nobuyoshi Nakada
8903166648 [ruby/io-wait] Run have_func with the header providing the declarations
https://github.com/ruby/io-wait/commit/48309d7877
2025-07-01 11:03:11 +00:00
卜部昌平
c844968b72 ruby tool/update-deps --fix 2024-04-27 21:55:28 +09:00
Hiroshi SHIBATA
5cabe1e9cc [ruby/io-wait] Bump up 0.3.1
https://github.com/ruby/io-wait/commit/5ec3db36c8
2023-12-13 05:10:54 +00:00
Samuel Williams
881757c03f [ruby/io-wait] Remove usage of IO internals.
(https://github.com/ruby/io-wait/pull/25)

https://github.com/ruby/io-wait/commit/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
7e26ff7dc0 [ruby/io-wait] Bump version to 0.3.0
https://github.com/ruby/io-wait/commit/940ba319d3
2022-12-16 02:36:21 +00: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
https://github.com/ruby/io-wait/commit/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

https://github.com/ruby/io-wait/commit/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+.

https://github.com/ruby/io-wait/commit/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.

https://github.com/ruby/io-wait/commit/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
Hiroshi SHIBATA
a370eb5a63 [ruby/io-wait] bump up to 0.2.3
https://github.com/ruby/io-wait/commit/f59d1d12e0
2022-05-09 18:19:06 +09:00
Charles Oliver Nutter
bd18623307 [ruby/io-wait] Update version to 0.2.2.pre1 for testing
https://github.com/ruby/io-wait/commit/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
https://github.com/ruby/io-wait/commit/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.

https://github.com/ruby/io-wait/commit/75fcb74c32
2022-02-01 14:11:16 +09:00
Nobuyoshi Nakada
fc4fbeef28 [ruby/io-wait] bump up to 0.2.2
https://github.com/ruby/io-wait/commit/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.

https://github.com/ruby/io-wait/commit/d0721e300a
2022-01-24 18:03:48 +09:00
apatniv
e7b573e576 [ruby/io-wait] Document mandatory require for using io/wait methods
https://github.com/ruby/io-wait/commit/2beb05bd48
2022-01-24 12:12:15 +09:00
Hiroshi SHIBATA
c41751f10e
[ruby/io-wait] Bump up 0.2.1
https://github.com/ruby/io-wait/commit/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.

https://github.com/ruby/ruby/runs/4230891140?check_suite_focus=true
```
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