* [ruby-core:100434] [Ruby master Bug#17267] Remove Win32API at Ruby 3.0
@ 2020-10-19 23:58 hsbt
2020-10-20 0:19 ` [ruby-core:100436] [Ruby master Feature#17267] " hsbt
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: hsbt @ 2020-10-19 23:58 UTC (permalink / raw)
To: ruby-core
Issue #17267 has been reported by hsbt (Hiroshi SHIBATA).
----------------------------------------
Bug #17267: Remove Win32API at Ruby 3.0
https://bugs.ruby-lang.org/issues/17267
* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Priority: Normal
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
https://github.com/ruby/ruby/blob/master/ext/win32/lib/Win32API.rb#L5 says "Win32API is deprecated after Ruby 1.9.1; use fiddle directly instead".
We have enough time to deprecate for this module.
Can we remove it from our repo?
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* [ruby-core:100436] [Ruby master Feature#17267] Remove Win32API at Ruby 3.0
2020-10-19 23:58 [ruby-core:100434] [Ruby master Bug#17267] Remove Win32API at Ruby 3.0 hsbt
@ 2020-10-20 0:19 ` hsbt
2020-10-20 0:38 ` [ruby-core:100437] " shyouhei
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: hsbt @ 2020-10-20 0:19 UTC (permalink / raw)
To: ruby-core
Issue #17267 has been updated by hsbt (Hiroshi SHIBATA).
The following gems still used win32api.rb.
```
hsbt@aluminium:~$ gem-codesearch "require \"win32api\""
/srv/gems/rinderon-0.0.0.1/lib/rinderon/window.rb:require "win32api"
hsbt@aluminium:~$ gem-codesearch "require 'win32api'"
/srv/gems/audio_player-1.0.2/lib/audio_player.rb:require 'win32api'
/srv/gems/easy_io-0.4.2/lib/easy_io.rb: require 'win32api'
/srv/gems/external_api-1.0.3/lib/external_api.rb:require 'win32api'
/srv/gems/gap50-0.1.1/lib/gap50/preload.rb: require 'win32api'
/srv/gems/green_shoes-1.1.374/lib/plugins/video.rb: require 'win32api'
/srv/gems/iegrip-0.1.7/lib/iegrip.rb:require 'win32api'
/srv/gems/mini_term-0.1.3/lib/mini_term/windows.rb: require 'win32api'
/srv/gems/reline-0.1.5/lib/reline/windows.rb: require 'win32api'
/srv/gems/rubyinstaller-build-0.1.0/resources/files/reline/windows.rb: require 'win32api'
/srv/gems/u3d-1.2.3/lib/u3d/utils.rb: require 'win32api'
/srv/gems/ua-0.0.2/test/test5.rb:require 'win32api'
/srv/gems/undll32-0.3.3/README.md:Notice: it uses `require 'win32api'`, which may not work on your Linux or MacOS systems.
```
----------------------------------------
Feature #17267: Remove Win32API at Ruby 3.0
https://bugs.ruby-lang.org/issues/17267#change-88054
* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Priority: Normal
----------------------------------------
https://github.com/ruby/ruby/blob/master/ext/win32/lib/Win32API.rb#L5 says "Win32API is deprecated after Ruby 1.9.1; use fiddle directly instead".
We have enough time to deprecate for this module.
Can we remove it from our repo?
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* [ruby-core:100437] [Ruby master Feature#17267] Remove Win32API at Ruby 3.0
2020-10-19 23:58 [ruby-core:100434] [Ruby master Bug#17267] Remove Win32API at Ruby 3.0 hsbt
2020-10-20 0:19 ` [ruby-core:100436] [Ruby master Feature#17267] " hsbt
@ 2020-10-20 0:38 ` shyouhei
2020-10-20 20:52 ` [ruby-core:100456] " eregontp
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: shyouhei @ 2020-10-20 0:38 UTC (permalink / raw)
To: ruby-core
Issue #17267 has been updated by shyouhei (Shyouhei Urabe).
+1 for removal.
----------------------------------------
Feature #17267: Remove Win32API at Ruby 3.0
https://bugs.ruby-lang.org/issues/17267#change-88055
* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Priority: Normal
----------------------------------------
https://github.com/ruby/ruby/blob/master/ext/win32/lib/Win32API.rb#L5 says "Win32API is deprecated after Ruby 1.9.1; use fiddle directly instead".
We have enough time to deprecate for this module.
Can we remove it from our repo?
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* [ruby-core:100456] [Ruby master Feature#17267] Remove Win32API at Ruby 3.0
2020-10-19 23:58 [ruby-core:100434] [Ruby master Bug#17267] Remove Win32API at Ruby 3.0 hsbt
2020-10-20 0:19 ` [ruby-core:100436] [Ruby master Feature#17267] " hsbt
2020-10-20 0:38 ` [ruby-core:100437] " shyouhei
@ 2020-10-20 20:52 ` eregontp
2020-10-21 1:15 ` [ruby-core:100461] " duerst
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: eregontp @ 2020-10-20 20:52 UTC (permalink / raw)
To: ruby-core
Issue #17267 has been updated by Eregon (Benoit Daloze).
I think it's fine as long as it's moved to a gem, so it can still be used when desired.
----------------------------------------
Feature #17267: Remove Win32API at Ruby 3.0
https://bugs.ruby-lang.org/issues/17267#change-88075
* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Priority: Normal
----------------------------------------
https://github.com/ruby/ruby/blob/master/ext/win32/lib/Win32API.rb#L5 says "Win32API is deprecated after Ruby 1.9.1; use fiddle directly instead".
We have enough time to deprecate for this module.
Can we remove it from our repo?
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* [ruby-core:100461] [Ruby master Feature#17267] Remove Win32API at Ruby 3.0
2020-10-19 23:58 [ruby-core:100434] [Ruby master Bug#17267] Remove Win32API at Ruby 3.0 hsbt
` (2 preceding siblings ...)
2020-10-20 20:52 ` [ruby-core:100456] " eregontp
@ 2020-10-21 1:15 ` duerst
2020-10-21 5:26 ` [ruby-core:100465] " usa
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: duerst @ 2020-10-21 1:15 UTC (permalink / raw)
To: ruby-core
Issue #17267 has been updated by duerst (Martin Dürst).
Eregon (Benoit Daloze) wrote in #note-4:
> I think it's fine as long as it's moved to a gem, so it can still be used when desired.
I agree with Benoit.
----------------------------------------
Feature #17267: Remove Win32API at Ruby 3.0
https://bugs.ruby-lang.org/issues/17267#change-88080
* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Priority: Normal
----------------------------------------
https://github.com/ruby/ruby/blob/master/ext/win32/lib/Win32API.rb#L5 says "Win32API is deprecated after Ruby 1.9.1; use fiddle directly instead".
We have enough time to deprecate for this module.
Can we remove it from our repo?
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [ruby-core:100465] [Ruby master Feature#17267] Remove Win32API at Ruby 3.0
2020-10-19 23:58 [ruby-core:100434] [Ruby master Bug#17267] Remove Win32API at Ruby 3.0 hsbt
` (3 preceding siblings ...)
2020-10-21 1:15 ` [ruby-core:100461] " duerst
@ 2020-10-21 5:26 ` usa
2020-11-11 0:28 ` [ruby-core:100769] " hsbt
2020-11-11 19:27 ` [ruby-core:100800] " eregontp
6 siblings, 0 replies; 8+ messages in thread
From: usa @ 2020-10-21 5:26 UTC (permalink / raw)
To: ruby-core
Issue #17267 has been updated by usa (Usaku NAKAMURA).
+1
----------------------------------------
Feature #17267: Remove Win32API at Ruby 3.0
https://bugs.ruby-lang.org/issues/17267#change-88084
* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Priority: Normal
----------------------------------------
https://github.com/ruby/ruby/blob/master/ext/win32/lib/Win32API.rb#L5 says "Win32API is deprecated after Ruby 1.9.1; use fiddle directly instead".
We have enough time to deprecate for this module.
Can we remove it from our repo?
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* [ruby-core:100769] [Ruby master Feature#17267] Remove Win32API at Ruby 3.0
2020-10-19 23:58 [ruby-core:100434] [Ruby master Bug#17267] Remove Win32API at Ruby 3.0 hsbt
` (4 preceding siblings ...)
2020-10-21 5:26 ` [ruby-core:100465] " usa
@ 2020-11-11 0:28 ` hsbt
2020-11-11 19:27 ` [ruby-core:100800] " eregontp
6 siblings, 0 replies; 8+ messages in thread
From: hsbt @ 2020-11-11 0:28 UTC (permalink / raw)
To: ruby-core
Issue #17267 has been updated by hsbt (Hiroshi SHIBATA).
Assignee set to hsbt (Hiroshi SHIBATA)
Status changed from Open to Closed
----------------------------------------
Feature #17267: Remove Win32API at Ruby 3.0
https://bugs.ruby-lang.org/issues/17267#change-88412
* Author: hsbt (Hiroshi SHIBATA)
* Status: Closed
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
https://github.com/ruby/ruby/blob/master/ext/win32/lib/Win32API.rb#L5 says "Win32API is deprecated after Ruby 1.9.1; use fiddle directly instead".
We have enough time to deprecate for this module.
Can we remove it from our repo?
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* [ruby-core:100800] [Ruby master Feature#17267] Remove Win32API at Ruby 3.0
2020-10-19 23:58 [ruby-core:100434] [Ruby master Bug#17267] Remove Win32API at Ruby 3.0 hsbt
` (5 preceding siblings ...)
2020-11-11 0:28 ` [ruby-core:100769] " hsbt
@ 2020-11-11 19:27 ` eregontp
6 siblings, 0 replies; 8+ messages in thread
From: eregontp @ 2020-11-11 19:27 UTC (permalink / raw)
To: ruby-core
Issue #17267 has been updated by Eregon (Benoit Daloze).
@hsbt Was it extracted to a gem?
BTW:
```
$ gem-codesearch "require.+Win32API" | wc -l
339
$ gem-codesearch -i "require.+win32api" | wc -l
355
```
----------------------------------------
Feature #17267: Remove Win32API at Ruby 3.0
https://bugs.ruby-lang.org/issues/17267#change-88443
* Author: hsbt (Hiroshi SHIBATA)
* Status: Closed
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
https://github.com/ruby/ruby/blob/master/ext/win32/lib/Win32API.rb#L5 says "Win32API is deprecated after Ruby 1.9.1; use fiddle directly instead".
We have enough time to deprecate for this module.
Can we remove it from our repo?
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2020-11-11 19:27 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19 23:58 [ruby-core:100434] [Ruby master Bug#17267] Remove Win32API at Ruby 3.0 hsbt
2020-10-20 0:19 ` [ruby-core:100436] [Ruby master Feature#17267] " hsbt
2020-10-20 0:38 ` [ruby-core:100437] " shyouhei
2020-10-20 20:52 ` [ruby-core:100456] " eregontp
2020-10-21 1:15 ` [ruby-core:100461] " duerst
2020-10-21 5:26 ` [ruby-core:100465] " usa
2020-11-11 0:28 ` [ruby-core:100769] " hsbt
2020-11-11 19:27 ` [ruby-core:100800] " eregontp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).