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

Corrections of unhandled exceptions/illegal file contents and sizes related to some ''.scl'' and ''.kbm'' files #417

Merged
merged 15 commits into from Apr 13, 2024

Conversation

FulopNandor
Copy link
Contributor

@FulopNandor FulopNandor commented Apr 6, 2024

Dear Pascal, do apply my pull request, please.
Its purpose is to handle errors that occur when certain ''.scl'' and/or ''.kbm'' files are opened, causing Dexed to crash.
Furthermore, it contains some minor modifications related to displaying the content of ''.scl''/''.kbm'' files in the ''Current Tuning'' dialog, and exported ''.csv'' files.
To achieve this, not only some source files of Dexed were modified, but the ''tuning-library'' repository has also been updated to the latest version. Additionally, a temporary repository from ''surgesynthteam_tuningui'' has been introduced
to contain the necessary modifications.
A more detailed description of the encountered errors and a their corrections can be found in the announcement .
Thank you!
(I apologize for the mistake, I meant to write ''Pascal'' instead of ''Paul''. Thank you for your understanding.)

@asb2m10
Copy link
Owner

asb2m10 commented Apr 8, 2024

Thanks for this PR. Any chance you get surgesynthteam_tuningui PR pushed on surge-synthesizer ?

@FulopNandor
Copy link
Contributor Author

FulopNandor commented Apr 10, 2024

Thanks for this PR. Any chance you get surgesynthteam_tuningui PR pushed on surge-synthesizer ?

You are welcome, I am glad if you have found it useful. Yes, I wish to send a PR to @baconpaul at Surge Synthesizer Team, to accept my modifications. And, if they accepted, I wish to restore the references to the related submodul to surge-synthesizer/surgesynthteam_tuningui repository, as they are the original authors. I really do not wish to alter the original structure of the Dexed repository. What is your recommendation, shall I send a PR to Surge Synthesizer Team now, or shall I wait for a while for feedback from other developers?”

@baconpaul
Copy link
Contributor

I don’t see the pr. Can you link it here?

@baconpaul
Copy link
Contributor

And would be happy to upstream those changes. They look pretty good on a quick skim.

on the dexed changes hasn’t juce::ScopedPtr gone out of style and now we use Std::unique instead?

@FulopNandor
Copy link
Contributor Author

I don’t see the pr. Can you link it here?

I have not initiated the PR yet, I am waiting for Pascal's answer, maybe he has some issues to address. But of course, I can provide a link to my temporary repoI: https://github.com/FulopNandor/surgesynthteam_tuningui. I am intending to send a PR to you at its present state - except if Pascal has some further advice.:-)

@FulopNandor
Copy link
Contributor Author

And would be happy to upstream those changes. They look pretty good on a quick skim.

on the dexed changes hasn’t juce::ScopedPtr gone out of style and now we use Std::unique instead?

Thank you for your notification! I am going to try out!

@baconpaul
Copy link
Contributor

Cool. Except for the readme change your changes to timing ui look spot on to me in a quick review. And I would happily merge them

I can definitely imagine pascal preferring that too since the surge synthesizer git dep has multiple maintainers team structure etc

and i would welcome the contribution!

@asb2m10
Copy link
Owner

asb2m10 commented Apr 10, 2024

I don’t see the pr. Can you link it here?

I have not initiated the PR yet, I am waiting for Pascal's answer, maybe he has some issues to address. But of course, I can provide a link to my temporary repoI: https://github.com/FulopNandor/surgesynthteam_tuningui. I am intending to send a PR to you at its present state - except if Pascal has some further advice.:-)

That is fine for now and thanks for adapting the unique_ptr. Once surgesynthteam_tuningui is merged on the surge repo, I will merge this PR. Thanks.

@FulopNandor
Copy link
Contributor Author

Dear Pascal (@asb2m10) and Paul (@baconpaul), thank you for your help and patience! I have just sent a PR to Paul.

.gitmodules Outdated
@@ -6,7 +6,7 @@
url = https://github.com/surge-synthesizer/tuning-library.git
[submodule "libs/surgesynthteam_tuningui"]
path = libs/surgesynthteam_tuningui
url = https://github.com/surge-synthesizer/surgesynthteam_tuningui.git
Copy link
Owner

Choose a reason for hiding this comment

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

Hi @FulopNandor , can you switch back the repo to surge-synthesizer ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @asb2m10 and @baconpaul , I have switched back that,

Copy link
Contributor

Choose a reason for hiding this comment

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

Great and I merged your change to that repo so you should update it to head in the submodules from surge

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you very-very much! I am going to do that. Have a nice weekend!:-)

@asb2m10 asb2m10 merged commit e4b536d into asb2m10:master Apr 13, 2024
5 of 6 checks passed
@baconpaul
Copy link
Contributor

Cool. So glad this code is still getting used in dexed! Thanks for the contribution @FulopNandor

@FulopNandor
Copy link
Contributor Author

Dear Pascal (@asb2m10) and Paul (@baconpaul), I am glad that you found my modifications useful and incorporated them into your works.
Wow, I have just made it through my first repos, commits and PRs on GitHub...
...thank you very much for your kind support!:-)

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.

None yet

3 participants