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

UTF8 for Wavetables; Noisier Mis-installation; Win Categories #601

Merged
merged 1 commit into from
Feb 15, 2019

Conversation

baconpaul
Copy link
Collaborator

UTF8 filename conversion is required on windows for vstgui so factor
the UTF8 string conversion into a function and adjust the callpoints.

Those callpoints intersect with places where we load patches and
wavetables, so at the same time, make the system report user errors
if wavetables or factory patches are non-loadable

In the course of testing this, I also realized that nested directories
didn't work properly on windows due to path separator being "" rather
than "/", which this commit also addresses.

Closes #584 UTF8 for wavetables
Closes #543 Alert user to mis-installation

UTF8 filename conversion is required on windows for vstgui so factor
the UTF8 string conversion into a function and adjust the callpoints.

Those callpoints intersect with places where we load patches and
wavetables, so at the same time, make the system report user errors
if wavetables or factory patches are non-loadable

In the course of testing this, I also realized that nested directories
didn't work properly on windows due to path separator being "\" rather
than "/", which this commit also addresses.

Closes surge-synthesizer#584 UTF8 for wavetables
Closes surge-synthesizer#543 Alert user to mis-installation

pathsetp
@baconpaul
Copy link
Collaborator Author

@kzantow or @jsakkine appreciate a once over of the code. @esaruoho if you could take a look at the diffs also to make sure you think the user feedback is appropriate. Will probably sweep this tommorrow night NYC time if I don't hear otherwise. Thanks!

@baconpaul baconpaul merged commit 778fea1 into surge-synthesizer:master Feb 15, 2019
@baconpaul baconpaul deleted the utf-wavetable-584 branch February 15, 2019 14:43
baconpaul added a commit to baconpaul/surge that referenced this pull request Jul 10, 2019
…synthesizer#601)

UTF8 filename conversion is required on windows for vstgui so factor
the UTF8 string conversion into a function and adjust the callpoints.

Those callpoints intersect with places where we load patches and
wavetables, so at the same time, make the system report user errors
if wavetables or factory patches are non-loadable

In the course of testing this, I also realized that nested directories
didn't work properly on windows due to path separator being "\" rather
than "/", which this commit also addresses.

Closes surge-synthesizer#584 UTF8 for wavetables
Closes surge-synthesizer#543 Alert user to mis-installation


Former-commit-id: fa14f35e66637b22717f0fd0d761f56a1b29b27b [formerly 778fea1]
Former-commit-id: 14394184250701dcdebe9ab4027353b91f093fc9
Former-commit-id: 4bf6ca7017713438e971b75deeabe996c1319fae
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.

1 participant