Skip to content

[Lifecycle] v26.06 : SOFA_ATTRIBUTE_DISABLED#5888

Merged
fredroy merged 3 commits intosofa-framework:masterfrom
hugtalbot:202601_lifecycle_attribute_disabled_1
Feb 13, 2026
Merged

[Lifecycle] v26.06 : SOFA_ATTRIBUTE_DISABLED#5888
fredroy merged 3 commits intosofa-framework:masterfrom
hugtalbot:202601_lifecycle_attribute_disabled_1

Conversation

@hugtalbot
Copy link
Contributor

@hugtalbot hugtalbot commented Jan 26, 2026

First stage of the v26.06 LifeCycle : removing disabled attributes

I tried this with Vibe-Mistral but it was not successful !
hopefully we will also drop Sofa.Qt :)

[ci-depends-on https://github.com/sofa-framework/Sofa.Qt/pull/28]

[with-all-tests]


By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

@hugtalbot hugtalbot added this to the v26.06 milestone Jan 26, 2026
@hugtalbot hugtalbot added pr: status to review To notify reviewers to review this pull-request pr: clean Cleaning the code labels Jan 26, 2026
hugtalbot added a commit to sofa-framework/Sofa.Qt that referenced this pull request Jan 27, 2026
@sofabot
Copy link
Collaborator

sofabot commented Jan 27, 2026

[ci-depends-on] detected during build #2.

To unlock the merge button, you must

bool isValid() const;
bool isFlat() const;
bool isNegligeable() const; // !valid || flat
bool isNegligible() const; // !valid || flat
Copy link
Contributor

Choose a reason for hiding this comment

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

In theory, you need to go through a deprecation period...

Copy link
Contributor

Choose a reason for hiding this comment

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

Let the theory remain a theory 🫶

@@ -69,13 +54,6 @@
SOFA_ATTRIBUTE_DEPRECATED("v24.12", "v25.12", "RegisterObject and the associated implicit registration is being phased out. Use ObjectRegistrationData and explicit registration from now on. See #4429 for more information.")
Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't you want to change the disable version ?

#else
#define SOFA_HELPER_FILESYSTEM_FINDORCREATEAVALIDPATH_DISABLED() \
SOFA_ATTRIBUTE_DISABLED( \
"v25.06", "v25.12", "It is not clear that this function works on folders or files. Use ensureFolderExists or ensureFolderForFileExists instead.")
Copy link
Contributor

Choose a reason for hiding this comment

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

👀

bool isValid() const;
bool isFlat() const;
bool isNegligeable() const; // !valid || flat
bool isNegligible() const; // !valid || flat
Copy link
Contributor

Choose a reason for hiding this comment

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

Let the theory remain a theory 🫶

hugtalbot added a commit to sofa-framework/Sofa.Qt that referenced this pull request Feb 5, 2026
@fredroy fredroy force-pushed the 202601_lifecycle_attribute_disabled_1 branch from efda0c1 to df9c279 Compare February 11, 2026 23:15
@fredroy
Copy link
Contributor

fredroy commented Feb 11, 2026

[ci-build][with-all-tests]

@sofabot
Copy link
Collaborator

sofabot commented Feb 11, 2026

[ci-depends-on] detected during build #3.

All dependencies are merged/closed. Congrats! 👍

@fredroy fredroy added pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels Feb 13, 2026
@fredroy fredroy merged commit cc9041b into sofa-framework:master Feb 13, 2026
19 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: clean Cleaning the code pr: status ready Approved a pull-request, ready to be squashed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants