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

Global MsgBoxes and Commandline #2583

Closed

Conversation

pgScorpio
Copy link
Contributor

@pgScorpio pgScorpio commented Apr 6, 2022

Short description of changes

New attempt replacing #2541

Added global messagebox and commandline parameter parsing classes to global.h/main.c
Adapted all messageboxes to use the new CMsgBoxes class.

CHANGELOG:

Context: Fixes an issue?

General improvement and preparation for sound-redesign.

Does this change need documentation? What needs to be documented and how?

Status of this Pull Request

What is missing until this pull request can be merged?

Checklist

  • I've verified that this Pull Request follows the general code principles
  • I tested my code and it does what I want
  • My code follows the style guide
  • I waited some time after this Pull Request was opened and all GitHub checks completed without errors.
  • I've filled all the content above

@ann0see
Copy link
Member

ann0see commented Apr 6, 2022

Thanks. If you want, we can use this PR as "learning PR" on Friday?

Even a clang-format off/on between else and if seems to give problems
with clang-format 10.0.0. So I moved the comment with clang-format off/on to
before the else. Let's see if this solves the clang-format problem.
@pgScorpio
Copy link
Contributor Author

Thanks. If you want, we can use this PR as "learning PR" on Friday?

Well, if we are going to experiment, I prefer not to do that on any of my working branches, but of coarse we always can create a temporary branch to do so.

@ann0see
Copy link
Member

ann0see commented Apr 7, 2022

Well, if we are going to experiment, I prefer not to do that on any of my working branches

Yes sure. But we might also want to touch this one. But let's wait what tomorrow brings ;-)

BTW: Congrats the coding style now worked ;-)

pgScorpio added a commit to pgScorpio/jamulus that referenced this pull request Apr 7, 2022
This PR modifies soundbase and all sound implementations at once, because
all CSound implementations depend on CSoundbase, so these can't be merged one by one in steps.
This first step however still has backwards compatibility to the rest of the code.

The second stage steps will be removing the backwards compatibility (which a.o. will improve error handling),
so than we need to modify main.cpp, client.cpp and probably some other files too. but this can be done in multiple PR'steps.

The third stage steps will be using the new soundproperties functionality which will affect several gui files,
but also these changes can be merged in multiple steps.

NOTES:

 Since this PR Needs jamulussoftware#2583 Global MsgBoxes and Commandline to be implemented first,
 this commit has to include these changes into global.h and main.cpp too.

 The avoid clang-format issues again this PR also includes a modified settings.cpp.
@ann0see ann0see requested a review from pljones April 8, 2022 19:01
@hoffie
Copy link
Member

hoffie commented Apr 16, 2022

Should this PR be closed in favor of #2598?

@pgScorpio
Copy link
Contributor Author

Should this PR be closed in favor of #2598?

You're right!

This PR is replaced by #2598 and #2599

@pgScorpio pgScorpio closed this Apr 16, 2022
@pgScorpio pgScorpio deleted the GlobalMsgBoxesAndCmdline branch April 17, 2022 17:38
pgScorpio added a commit to pgScorpio/jamulus that referenced this pull request May 15, 2022
NOTES:

 Since this PR Needs jamulussoftware#2583 Global MsgBoxes and Commandline to be implemented first,
 this commit has to include these changes into global.h and main.cpp too.

 The avoid clang-format issues again this PR also includes a modified settings.cpp.
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.

3 participants