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 private apis #3002

Merged
merged 4 commits into from
Mar 30, 2024
Merged

remove private apis #3002

merged 4 commits into from
Mar 30, 2024

Conversation

n8henrie
Copy link
Member

@n8henrie n8henrie commented Feb 6, 2024

  • Remove the private APIs entirely
  • Revert "#FIXME: Force-disable superfluous effects on startup"

Attempt at removing private APIs entirely which have previously been used for
animations.

I believe there is a lot more relevant code that could be removed, but after
removing the culprit files this seems to be the minimum needed to get QS to
build and run.

This removes `CGSPrivate.h`, `CPSPrivate.h`, as well as
`QSCGSTransition.{h,m}` which only seemed to serve as adapters for them.
It additionally either removes entirely or comments out (to serve as a
quick and dirty reference for reimplementation) code that depended on
these files.

This will break the pretty animations.

See also: #3001
@n8henrie n8henrie self-assigned this Feb 6, 2024
@n8henrie n8henrie linked an issue Feb 6, 2024 that may be closed by this pull request
@pjrobertson
Copy link
Member

LGTM. Goodbye QGCPrivate :'(

@pjrobertson
Copy link
Member

@n8henrie - please merge if this is ready. Only thing I can think of is to do a check in all the plugins for calls to CGSxxxxx and remove from plugins as well.

@n8henrie
Copy link
Member Author

There is some residual GUI funkiness after this PR, and I've got a long way before I understand much of the GUI stuff, but I think it's worth merging anyway, as everything else from this point onward will require a ton of rebasing otherwise.

@n8henrie n8henrie merged commit 04d4d4c into main Mar 30, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove private APIs
2 participants