Forum: Ruby-core [ruby-trunk - Feature #8601][Open] Win32API.rb long life plan

Bd9552e540b2683017f1061f2379e351?d=identicon&s=25 arton (Akio Tajima) (Guest)
on 2013-07-04 20:30
(Received via mailing list)
Issue #8601 has been reported by arton (Akio Tajima).

----------------------------------------
Feature #8601: Win32API.rb long life plan
https://bugs.ruby-lang.org/issues/8601

Author: arton (Akio Tajima)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:


Win32API.rb sits on ext/dl/win32/lib in the source tree.
But DL is deprecated on Ruby 2.0.1, so I'd like to move it from
ext/dl/win32/lib to ext/win32/lib because the library is fundamental for
Win32 platform.
Also it's required to fit Fiddler.

Attachment is the patched version of Win32API.rb for both DL and Fiddle
based on mirich (http://d.hatena.ne.jp/mirichi/20130629/p1).
C4c327c418a3182b7f6a30dd1534143a?d=identicon&s=25 Vít Ondruch (vo_x)
on 2013-07-04 21:14
(Received via mailing list)
Issue #8601 has been updated by vo.x (Vit Ondruch).


Wouldn't it be better to move it out of StdLib into separate gem?
----------------------------------------
Feature #8601: Win32API.rb long life plan
https://bugs.ruby-lang.org/issues/8601#change-40295

Author: arton (Akio Tajima)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:


Win32API.rb sits on ext/dl/win32/lib in the source tree.
But DL is deprecated on Ruby 2.0.1, so I'd like to move it from
ext/dl/win32/lib to ext/win32/lib because the library is fundamental for
Win32 platform.
Also it's required to fit Fiddler.

Attachment is the patched version of Win32API.rb for both DL and Fiddle
based on mirich (http://d.hatena.ne.jp/mirichi/20130629/p1).
Bd9552e540b2683017f1061f2379e351?d=identicon&s=25 arton (Akio Tajima) (Guest)
on 2013-07-04 22:21
(Received via mailing list)
Issue #8601 has been updated by arton (Akio Tajima).


No. Windows users use ruby on enterprise environment that disconnected
from network. So pre-installed library is required.
----------------------------------------
Feature #8601: Win32API.rb long life plan
https://bugs.ruby-lang.org/issues/8601#change-40296

Author: arton (Akio Tajima)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:


Win32API.rb sits on ext/dl/win32/lib in the source tree.
But DL is deprecated on Ruby 2.0.1, so I'd like to move it from
ext/dl/win32/lib to ext/win32/lib because the library is fundamental for
Win32 platform.
Also it's required to fit Fiddler.

Attachment is the patched version of Win32API.rb for both DL and Fiddle
based on mirich (http://d.hatena.ne.jp/mirichi/20130629/p1).
F1d6cc2b735bfd82c8773172da2aeab9?d=identicon&s=25 Nobuyoshi Nakada (nobu)
on 2013-07-05 02:30
(Received via mailing list)
Issue #8601 has been updated by nobu (Nobuyoshi Nakada).


And lib/rubygems/user_interaction.rb and lib/securerandom.rb depend on
it.
----------------------------------------
Feature #8601: Win32API.rb long life plan
https://bugs.ruby-lang.org/issues/8601#change-40297

Author: arton (Akio Tajima)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:


Win32API.rb sits on ext/dl/win32/lib in the source tree.
But DL is deprecated on Ruby 2.0.1, so I'd like to move it from
ext/dl/win32/lib to ext/win32/lib because the library is fundamental for
Win32 platform.
Also it's required to fit Fiddler.

Attachment is the patched version of Win32API.rb for both DL and Fiddle
based on mirich (http://d.hatena.ne.jp/mirichi/20130629/p1).
F1d6cc2b735bfd82c8773172da2aeab9?d=identicon&s=25 Nobuyoshi Nakada (nobu)
on 2013-07-05 02:50
(Received via mailing list)
Issue #8601 has been updated by nobu (Nobuyoshi Nakada).


lib/rubygems/user_interaction.rb has code to use io/console already.

# Bad habit branching by the version string...
----------------------------------------
Feature #8601: Win32API.rb long life plan
https://bugs.ruby-lang.org/issues/8601#change-40298

Author: arton (Akio Tajima)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:


Win32API.rb sits on ext/dl/win32/lib in the source tree.
But DL is deprecated on Ruby 2.0.1, so I'd like to move it from
ext/dl/win32/lib to ext/win32/lib because the library is fundamental for
Win32 platform.
Also it's required to fit Fiddler.

Attachment is the patched version of Win32API.rb for both DL and Fiddle
based on mirich (http://d.hatena.ne.jp/mirichi/20130629/p1).
E7cff3cfd41c495e1012227d7dc24202?d=identicon&s=25 Luis Lavena (luislavena)
on 2013-07-06 15:20
(Received via mailing list)
Issue #8601 has been updated by luislavena (Luis Lavena).

Category set to lib
Status changed from Open to Assigned
Assignee set to usa (Usaku NAKAMURA)
Target version set to current: 2.1.0

Hello Arton,

In rb-readline project we used DL be able to access Windows API due the
warning/removal of Win32API.rb after 2.0

Park Heesob wrote some wrapper on top of DL, and a few days ago we
received a pull request that uses Fiddle:

https://github.com/luislavena/rb-readline/pull/90

I would love get this sorted out in Ruby itself so we don't have to fake
it.

Assigning to Usa for final decision.

Thank you.
----------------------------------------
Feature #8601: Win32API.rb long life plan
https://bugs.ruby-lang.org/issues/8601#change-40322

Author: arton (Akio Tajima)
Status: Assigned
Priority: Normal
Assignee: usa (Usaku NAKAMURA)
Category: lib
Target version: current: 2.1.0


Win32API.rb sits on ext/dl/win32/lib in the source tree.
But DL is deprecated on Ruby 2.0.1, so I'd like to move it from
ext/dl/win32/lib to ext/win32/lib because the library is fundamental for
Win32 platform.
Also it's required to fit Fiddler.

Attachment is the patched version of Win32API.rb for both DL and Fiddle
based on mirich (http://d.hatena.ne.jp/mirichi/20130629/p1).
8cbb39dadafaf2287a83a13ee4981ec9?d=identicon&s=25 usa (Usaku NAKAMURA) (Guest)
on 2013-07-17 04:09
(Received via mailing list)
Issue #8601 has been updated by usa (Usaku NAKAMURA).


Win32API.rb should be removed at 2.1.0.
----------------------------------------
Feature #8601: Win32API.rb long life plan
https://bugs.ruby-lang.org/issues/8601#change-40547

Author: arton (Akio Tajima)
Status: Assigned
Priority: Normal
Assignee: usa (Usaku NAKAMURA)
Category: lib
Target version: current: 2.1.0


Win32API.rb sits on ext/dl/win32/lib in the source tree.
But DL is deprecated on Ruby 2.0.1, so I'd like to move it from
ext/dl/win32/lib to ext/win32/lib because the library is fundamental for
Win32 platform.
Also it's required to fit Fiddler.

Attachment is the patched version of Win32API.rb for both DL and Fiddle
based on mirich (http://d.hatena.ne.jp/mirichi/20130629/p1).
E7cff3cfd41c495e1012227d7dc24202?d=identicon&s=25 Luis Lavena (luislavena)
on 2013-07-27 02:57
(Received via mailing list)
Issue #8601 has been updated by luislavena (Luis Lavena).


usa (Usaku NAKAMURA) wrote:
> Win32API.rb should be removed at 2.1.0.

Hello usa,

This doesn't go against what nobu and arton said?

I can modify both RubyGems and SecureRandom to use Fiddle (for newer
versions) but not sure about the enterprise environments that have no
access to gems.

Thank you.
----------------------------------------
Feature #8601: Win32API.rb long life plan
https://bugs.ruby-lang.org/issues/8601#change-40698

Author: arton (Akio Tajima)
Status: Assigned
Priority: Normal
Assignee: usa (Usaku NAKAMURA)
Category: lib
Target version: current: 2.1.0


Win32API.rb sits on ext/dl/win32/lib in the source tree.
But DL is deprecated on Ruby 2.0.1, so I'd like to move it from
ext/dl/win32/lib to ext/win32/lib because the library is fundamental for
Win32 platform.
Also it's required to fit Fiddler.

Attachment is the patched version of Win32API.rb for both DL and Fiddle
based on mirich (http://d.hatena.ne.jp/mirichi/20130629/p1).
Eabad423977cfc6873b8f5df62b848a6?d=identicon&s=25 unknown (Guest)
on 2014-01-30 07:25
(Received via mailing list)
Issue #8601 has been updated by Hiroshi SHIBATA.

Target version changed from 2.1.0 to current: 2.2.0

----------------------------------------
Feature #8601: Win32API.rb long life plan
https://bugs.ruby-lang.org/issues/8601#change-44786

* Author: Akio Tajima
* Status: Assigned
* Priority: Normal
* Assignee: Usaku NAKAMURA
* Category: lib
* Target version: current: 2.2.0
----------------------------------------
Win32API.rb sits on ext/dl/win32/lib in the source tree.
But DL is deprecated on Ruby 2.0.1, so I'd like to move it from
ext/dl/win32/lib to ext/win32/lib because the library is fundamental for
Win32 platform.
Also it's required to fit Fiddler.

Attachment is the patched version of Win32API.rb for both DL and Fiddle
based on mirich (http://d.hatena.ne.jp/mirichi/20130629/p1).


---Files--------------------------------
Win32API.rb (1.53 KB)
205ca9566e14fb669ed977cae5af88e0?d=identicon&s=25 unknown (Guest)
on 2014-07-01 08:46
(Received via mailing list)
Issue #8601 has been updated by Naohisa Goto.

Related to Feature #5458: DL should be removed  added

----------------------------------------
Feature #8601: Win32API.rb long life plan
https://bugs.ruby-lang.org/issues/8601#change-47510

* Author: Akio Tajima
* Status: Assigned
* Priority: Normal
* Assignee: Usaku NAKAMURA
* Category: lib
* Target version: current: 2.2.0
----------------------------------------
Win32API.rb sits on ext/dl/win32/lib in the source tree.
But DL is deprecated on Ruby 2.0.1, so I'd like to move it from
ext/dl/win32/lib to ext/win32/lib because the library is fundamental for
Win32 platform.
Also it's required to fit Fiddler.

Attachment is the patched version of Win32API.rb for both DL and Fiddle
based on mirich (http://d.hatena.ne.jp/mirichi/20130629/p1).


---Files--------------------------------
Win32API.rb (1.53 KB)
This topic is locked and can not be replied to.