Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove deprecated functions #3131

Merged
merged 3 commits into from
Feb 19, 2016
Merged

remove deprecated functions #3131

merged 3 commits into from
Feb 19, 2016

Conversation

commy2
Copy link
Contributor

@commy2 commy2 commented Jan 8, 2016

No description provided.

@commy2 commy2 added the kind/cleanup Release Notes: **CHANGED:** label Jan 8, 2016
@commy2 commy2 self-assigned this Jan 8, 2016
@commy2 commy2 added this to the 3.5.0 milestone Jan 8, 2016
@@ -20,6 +20,8 @@
*/
#include "script_component.hpp"

ACE_DEPRECATED("ace_common_fnc_execRemoteFnc","3.6.0","ace_common_fnc_globalEvent");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Search "execRemoteFnc" (59 hits in 44 files)

3.6 might be too close?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe. The goal to replace it with events was made a long time ago though.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say 3.6 is far enough, looking at previous releases it's quite some time between minor (eg. 3.4 -> 3.5) version updates. I think it's safe.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I agree with you @commy2, we should go with 2 updates before a deprecated function is removed. Target 3.7.0 for removal of the execRemoteFnc function - we should get rid of all the usages within ACE in 3.5.0 however.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

execRemoteFnc is used in some recently deprecated functions like fnc_setCaptivityStatus.sqf, which we have to support until 3.6.0. Therefore, I think we should keep at least those references past 3.5.0 to avoid having to rewrite those functions.

Remove functions the second update after deprecation.
Remove functions the second update after deprecation.
@thojkooi
Copy link
Contributor

thojkooi commented Feb 4, 2016

We will merge this when we start our release proces for 3.5.0.

commy2 added a commit that referenced this pull request Feb 19, 2016
remove deprecated functions
@commy2 commy2 merged commit 97008d8 into master Feb 19, 2016
@commy2 commy2 deleted the removedep branch February 19, 2016 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Release Notes: **CHANGED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants