https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112011-10-23T17:21:10ZRuby Issue Tracking SystemRuby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=214972011-10-23T17:21:10Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>Project</strong> changed from <i>14</i> to <i>Ruby master</i></li></ul> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=252412012-03-27T22:49:21Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul><li><strong>Target version</strong> set to <i>3.0</i></li></ul> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=252422012-03-27T22:50:40Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>matz (Yukihiro Matsumoto)</i></li></ul><p>In principle, nothing should be removed from 2.0 because of compatibility.<br>
I cannot advocate DL and Syck, though...</p>
<p>--<br>
Yusuke Endoh <a href="mailto:mame@tsg.ne.jp" class="email">mame@tsg.ne.jp</a></p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=252872012-03-28T06:59:12ZAnonymous
<ul><li><strong>File</strong> <i>noname</i> added</li></ul><p>On Tue, Mar 27, 2012 at 10:50:41PM +0900, mame (Yusuke Endoh) wrote:</p>
<blockquote>
<p>Issue <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: DL should be removed (Closed)" href="https://redmine.ruby-lang.org/issues/5458">#5458</a> has been updated by mame (Yusuke Endoh).</p>
<p>Status changed from Open to Assigned<br>
Assignee set to matz (Yukihiro Matsumoto)</p>
<p>In principle, nothing should be removed from 2.0 because of compatibility.<br>
I cannot advocate DL and Syck, though...</p>
</blockquote>
<p>Fiddle doesn't handle struct creation and formatting. That part of DL<br>
is useful. I could port that to Fiddle, but I'm not sure why.</p>
<p>Now that libffi will work with windows, why don't we just remove the C<br>
code that backs DL? Then we can keep the DL ruby code and forget about<br>
the native code.</p>
<p>--<br>
Aaron Patterson<br>
<a href="http://tenderlovemaking.com/" class="external">http://tenderlovemaking.com/</a></p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=262622012-04-28T01:51:06Zmatz (Yukihiro Matsumoto)matz@ruby.or.jp
<ul><li><strong>Assignee</strong> changed from <i>matz (Yukihiro Matsumoto)</i> to <i>mame (Yusuke Endoh)</i></li></ul><p>Even though DL can be emulated by using Fiddle in theory, I'd rather keep it for 2.0 for compatibility.<br>
After 2.0, it's OK to replace DL. In that case, we can mark DL as obsolete.</p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=262632012-04-28T02:06:49Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul><li><strong>Assignee</strong> changed from <i>mame (Yusuke Endoh)</i> to <i>tenderlovemaking (Aaron Patterson)</i></li><li><strong>Target version</strong> changed from <i>3.0</i> to <i>2.0.0</i></li></ul><p>Okay, I'm willing to mark DL as obsolete in 2.0.<br>
If anyone has an objection, please declare yourself ASAP.</p>
<p>Aaron, could you add a warning?<br>
Then, please reassign back to me.</p>
<p>--<br>
Yusuke Endoh <a href="mailto:mame@tsg.ne.jp" class="email">mame@tsg.ne.jp</a></p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=262662012-04-28T05:53:15ZAnonymous
<ul><li><strong>File</strong> <i>noname</i> added</li></ul><p>On Sat, Apr 28, 2012 at 02:06:51AM +0900, mame (Yusuke Endoh) wrote:</p>
<blockquote>
<p>Issue <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: DL should be removed (Closed)" href="https://redmine.ruby-lang.org/issues/5458">#5458</a> has been updated by mame (Yusuke Endoh).</p>
<p>Assignee changed from mame (Yusuke Endoh) to tenderlovemaking (Aaron Patterson)<br>
Target version changed from 3.0 to 2.0.0</p>
<p>Okay, I'm willing to mark DL as obsolete in 2.0.<br>
If anyone has an objection, please declare yourself ASAP.</p>
<p>Aaron, could you add a warning?<br>
Then, please reassign back to me.</p>
</blockquote>
<p>Yes I can add a warning! :-)</p>
<p>--<br>
Aaron Patterson<br>
<a href="http://tenderlovemaking.com/" class="external">http://tenderlovemaking.com/</a></p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=264432012-05-04T21:28:24Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>File</strong> deleted (<del><i>noname</i></del>)</li></ul> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=264442012-05-04T21:28:44Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>File</strong> deleted (<del><i>noname</i></del>)</li></ul> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=332932012-11-20T22:39:05Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul></ul><p>Aaron, did you add a warning?</p>
<p>--<br>
Yusuke Endoh <a href="mailto:mame@tsg.ne.jp" class="email">mame@tsg.ne.jp</a></p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=337442012-11-24T11:26:15Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul></ul><p>Aaron?</p>
<p>--<br>
Yusuke Endoh <a href="mailto:mame@tsg.ne.jp" class="email">mame@tsg.ne.jp</a></p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=339982012-11-27T10:53:24ZAnonymous
<ul></ul><p>On Sat, Nov 24, 2012 at 11:26:16AM +0900, mame (Yusuke Endoh) wrote:</p>
<blockquote>
<p>Issue <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: DL should be removed (Closed)" href="https://redmine.ruby-lang.org/issues/5458">#5458</a> has been updated by mame (Yusuke Endoh).</p>
<p>Aaron?</p>
</blockquote>
<p>Sorry, I'm working on this. I should have the deprecation warning added<br>
some time tomorrow (UTC-7).</p>
<p>--<br>
Aaron Patterson<br>
<a href="http://tenderlovemaking.com/" class="external">http://tenderlovemaking.com/</a></p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=340542012-11-28T03:14:43Zzzak (zzak _)
<ul></ul><p>I wrote a patch for the deprecation notice: <a href="https://gist.github.com/4155983" class="external">https://gist.github.com/4155983</a></p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=340882012-11-29T02:30:39Ztenderlovemaking (Aaron Patterson)tenderlove@ruby-lang.org
<ul><li><strong>Assignee</strong> changed from <i>tenderlovemaking (Aaron Patterson)</i> to <i>mame (Yusuke Endoh)</i></li></ul><p>DL is deprecated in trunk. To maintain backwards compatibility, I've moved some parts of DL to Fiddle. We should be able to remove <code>ext/dl</code> after 2.0 release.</p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=342782012-12-01T23:57:09Zsorah (Sorah Fukumori)her@sorah.jp
<ul><li><strong>Category</strong> set to <i>ext</i></li><li><strong>Target version</strong> changed from <i>2.0.0</i> to <i>2.6</i></li></ul> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=393582013-05-16T11:28:41Zngoto (Naohisa Goto)ngotogenome@gmail.com
<ul></ul><p>When DL is removed?</p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=393592013-05-16T11:38:00Zsikachu (Prem Sichanugrist)s+ruby@sikac.hu
<ul></ul><p><a class="user active user-mention" href="https://redmine.ruby-lang.org/users/263">@ngoto (Naohisa Goto)</a> Looking from the target, seems like this will be removed on 2.1.0 (next minor)</p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=393632013-05-16T19:20:10Zngoto (Naohisa Goto)ngotogenome@gmail.com
<ul><li><strong>Target version</strong> changed from <i>2.6</i> to <i>2.1.0</i></li></ul> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=394342013-05-20T03:32:31Zluislavena (Luis Lavena)luislavena@gmail.com
<ul></ul><p>tenderlovemaking (Aaron Patterson) wrote:</p>
<blockquote>
<p>DL is deprecated in trunk. To maintain backwards compatibility, I've moved some parts of DL to Fiddle. We should be able to remove <code>ext/dl</code> after 2.0 release.</p>
</blockquote>
<p>What parts of DL remain to be migrated to Fiddle?</p>
<p>With DL being deprecated, Win32API component and win32/registry will need to be changed or removed entirely.</p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=394412013-05-20T07:59:09Zzzak (zzak _)
<ul></ul><p>The Win32 stuff is largely undocumented, but I remember ngoto-san<br>
moved a lot of it to Fiddle already?</p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=394622013-05-21T07:53:18ZAnonymous
<ul></ul><p>On Mon, May 20, 2013 at 07:55:11AM +0900, Zachary Scott wrote:</p>
<blockquote>
<p>The Win32 stuff is largely undocumented, but I remember ngoto-san<br>
moved a lot of it to Fiddle already?</p>
</blockquote>
<p>Pretty much everything should be moved by now. I'll remove DL, see what<br>
breaks, then port any remaining bits.</p>
<p>--<br>
Aaron Patterson<br>
<a href="http://tenderlovemaking.com/" class="external">http://tenderlovemaking.com/</a></p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=394672013-05-22T00:26:01Zluislavena (Luis Lavena)luislavena@gmail.com
<ul></ul><p>zzak (Zachary Scott) wrote:</p>
<blockquote>
<p>The Win32 stuff is largely undocumented, but I remember ngoto-san<br>
moved a lot of it to Fiddle already?</p>
</blockquote>
<p>I think you're correct, I see win32/registry and win32/resolv:</p>
<p>However I don't see Win32API:</p>
<p><a href="https://github.com/ruby/ruby/blob/trunk/ext/dl/win32/lib/Win32API.rb" class="external">https://github.com/ruby/ruby/blob/trunk/ext/dl/win32/lib/Win32API.rb</a></p>
<p>So I think the warning in 1.9.3 and 2.0.0 is misleading.</p>
<p>Thank you.</p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=446512014-01-28T06:01:48Zzzak (zzak _)
<ul></ul><p>It seems the win32 stuff was moved in r41936 and released in 2.1.0: <a href="https://github.com/ruby/ruby/commit/771d31a" class="external">https://github.com/ruby/ruby/commit/771d31a</a></p>
<p>Should we mark this ticket as closed 100%?</p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=447412014-01-30T06:16:31Zhsbt (Hiroshi SHIBATA)hsbt@ruby-lang.org
<ul><li><strong>Target version</strong> changed from <i>2.1.0</i> to <i>2.2.0</i></li></ul> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=475092014-07-01T06:45:53Zngoto (Naohisa Goto)ngotogenome@gmail.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/8601">Feature #8601</a>: Win32API.rb long life plan</i> added</li></ul> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=493972014-10-13T10:22:31Zhsbt (Hiroshi SHIBATA)hsbt@ruby-lang.org
<ul><li><strong>Assignee</strong> changed from <i>mame (Yusuke Endoh)</i> to <i>tenderlovemaking (Aaron Patterson)</i></li></ul><p>Hi, tenderlove.</p>
<p>Please remove DL from trunk.</p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=497582014-10-31T21:13:23ZAnonymous
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset r48217.</p>
<hr>
<ul>
<li>
<p>ext/dl/*: remove DL as it is replaced by Fiddle.<br>
[Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: DL should be removed (Closed)" href="https://redmine.ruby-lang.org/issues/5458">#5458</a>] Thanks to Jonan Scheffler <a href="mailto:jonanscheffler@gmail.com" class="email">jonanscheffler@gmail.com</a><br>
for this patch</p>
</li>
<li>
<p>test/dl/*: ditto.</p>
</li>
</ul> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=498712014-11-10T16:19:38Zvo.x (Vit Ondruch)v.ondruch@tiscali.cz
<ul><li><strong>Blocks</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/6592">Bug #6592</a>: test_call_double(DL::TestDL) fails on ARM HardFP</i> added</li></ul> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=504992014-12-19T02:41:49Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Assigned</i></li></ul><p>As far as I understand, removal of ext/dl is done only if Ruby bundle libffi source like libyaml.<br>
But libffi source is not bundled yet.<br>
I'll revert r48217 soon.</p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=505012014-12-19T02:46:06Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>Related to</strong> <i><a class="issue tracker-5 status-5 priority-4 priority-default closed" href="/issues/10553">Misc #10553</a>: Ruby 2.2.0 release engeneering</i> added</li></ul> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=505052014-12-19T11:03:55Zvo.x (Vit Ondruch)v.ondruch@tiscali.cz
<ul></ul><p>What would be the point of revet? Does Ruby need to bundle everything now? It is not the case for zlib, tcl/tk nor for OpenSSL, so why should Ruby bundle libffi? So to say, this is -1 for reverting r48217 and -1 for bundling libffi.</p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=505062014-12-19T11:20:28Zusa (Usaku NAKAMURA)usa@garbagecollect.jp
<ul></ul><p>Vit Ondruch wrote:</p>
<blockquote>
<p>What would be the point of revet?</p>
</blockquote>
<p>Because DL is stand alone but Fiddle is not.<br>
To keep runnable some standard libraries, such as resolv.rb, we decided to bundle libffi if DL is removed.</p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=505122014-12-19T18:00:46Zheadius (Charles Nutter)headius@headius.com
<ul></ul><p>Well, DL depends on libdl, right?</p>
<p>Maybe we make it a default gem?</p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=505132014-12-19T19:22:10Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul></ul><p>Charles Nutter wrote:</p>
<blockquote>
<p>Well, DL depends on libdl, right?</p>
</blockquote>
<p>Yes on some platforms, no on others.<br>
Usually <code>dlopen()</code> is a part of system-provided features, regardless of the library to be linked.<br>
And different APIs are used on Windows, of course.</p>
<blockquote>
<p>Maybe we make it a default gem?</p>
</blockquote>
<p>One of the main problems is Win32API.<br>
It's used very often.</p> Ruby master - Feature #5458: DL should be removed https://redmine.ruby-lang.org/issues/5458?journal_id=508582015-01-08T13:36:38Zhsbt (Hiroshi SHIBATA)hsbt@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li></ul><p>DL has been removed at Ruby 2.2.0</p>