https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112014-02-08T15:28:13ZRuby Issue Tracking SystemRuby master - Feature #9502: Remove deprecated definitionshttps://bugs.ruby-lang.org/issues/9502?journal_id=450282014-02-08T15:28:13Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul></ul><p>Agree.<br>
And today I've thought about deprecation of <code>rb_argv0</code> too.</p> Ruby master - Feature #9502: Remove deprecated definitionshttps://bugs.ruby-lang.org/issues/9502?journal_id=450442014-02-09T02:27:12Zakr (Akira Tanaka)akr@fsij.org
<ul></ul><p>We should provide a transition period.<br>
So I didn't list definitions deprecated after Ruby 2.1 such as rb_str_associate.<br>
They will be warned at Ruby 2.2 and can be removed at Ruby 2.3 or later.</p>
<p>rb_argv0 can be same as rb_str_associate if you deprecated it now.<br>
But it is used in ext/tk.<br>
So you need to remove the use before the deprecation.</p> Ruby master - Feature #9502: Remove deprecated definitionshttps://bugs.ruby-lang.org/issues/9502?journal_id=451402014-02-14T07:50:36Zmatz (Yukihiro Matsumoto)matz@ruby.or.jp
<ul></ul><p>Agreed. Remove those functions (structs).</p>
<p>Matz.</p> Ruby master - Feature #9502: Remove deprecated definitionshttps://bugs.ruby-lang.org/issues/9502?journal_id=451632014-02-14T15:16:39Zakr (Akira Tanaka)akr@fsij.org
<ul><li><strong>Status</strong> changed from <i>Open</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 r44955.</p>
<hr>
<ul>
<li>include/ruby/intern.h,<br>
include/ruby/io.h,<br>
include/ruby/ruby.h,<br>
include/ruby/win32.h,<br>
include/ruby/backward/rubysig.h,<br>
bignum.c,<br>
gc.c,<br>
io.c,<br>
process.c,<br>
safe.c,<br>
struct.c,<br>
thread.c,<br>
ext/socket/rubysocket.h,<br>
ext/-test-/old_thread_select: Remove deprecated definitions<br>
<a href="/issues/9502">[ruby-core:60581]</a> [Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Remove deprecated definitions (Closed)" href="https://bugs.ruby-lang.org/issues/9502">#9502</a>]</li>
</ul> Ruby master - Feature #9502: Remove deprecated definitionshttps://bugs.ruby-lang.org/issues/9502?journal_id=452112014-02-17T05:07:40Zko1 (Koichi Sasada)
<ul></ul><p>I copied this table to the following page:<br>
<a href="https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/CAPI_ObsoleteFunctions" class="external">https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/CAPI_ObsoleteFunctions</a></p>
<p>Maybe we can maintain this page for deprecated definitions.</p> Ruby master - Feature #9502: Remove deprecated definitionshttps://bugs.ruby-lang.org/issues/9502?journal_id=452122014-02-17T05:15:29Zko1 (Koichi Sasada)
<ul></ul><p>Koichi Sasada wrote:</p>
<blockquote>
<p>I copied this table to the following page:<br>
<a href="https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/CAPI_ObsoleteFunctions" class="external">https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/CAPI_ObsoleteFunctions</a></p>
</blockquote>
<p>Not only functions. So I renamed to:<br>
<a href="https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/CAPI_obsolete_definitions" class="external">https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/CAPI_obsolete_definitions</a></p>