1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-20 01:14:20 +00:00
Commit graph

14897 commits

Author SHA1 Message Date
reuk
b952d0204e
FileChooser: Pump message thread in destructor
IFileDialog::Show and CoUninitialize both seem to require the main
message loop to be active and running when they are called. If we block
the message thread while calling these functions, we may cause a
deadlock.

The destructor of the Win32NativeFileChooser was blocking the message
thread until the background thread exited, but the background thread was
unable to make progress while the message thread was blocked.

To work around this issue, we now pump the message thread in the
destructor of the Win32NativeFileChooser. If a dialog is currently
active, this should allow it to exit gracefully.

Note that we cannot use MessageManager::runDispatchLoopUntil here:
- MessageManager::runDispatchLoopUntil will not process any messages if
  the quit message has been received, which could lead to deadlocks if the
  FileChooser is destroyed after the quit message has been posted.
- This function isn't defined when JUCE_MODAL_LOOPS_PERMITTED is disabled.
2021-04-07 16:24:38 +01:00
reuk
9549f8c95e
AudioPluginHost: Try to find matching plugins by uniqueId if loading initially fails 2021-04-07 15:14:20 +01:00
reuk
041da08474
VST3: Add a new PluginDescription::uniqueId field 2021-04-07 15:14:20 +01:00
ed
a533e86044 TextEditor: Fixed a bug updating the text holder size for single-line editors 2021-04-07 14:12:11 +01:00
reuk
c7d082e770
CMake: Avoid commandline length limit when creating binarydata libraries with hundreds of input files 2021-04-07 10:22:36 +01:00
ed
282ad8fa9c Projucer: Fixed a bug escaping Xcode project settings starting or ending with quotes 2021-04-06 10:58:17 +01:00
ed
faf5ed4023 Linux/X11: Prefer CLIPBOARD selection to PRIMARY
As specified in https://specifications.freedesktop.org/clipboards-spec/clipboards-latest.txt, CLIPBOARD should be used for explicit cut/copy/paste operations over PRIMARY
2021-04-06 09:31:52 +01:00
ed
90e8da0cfb VST3: Fixed an assertion when JUCE_FORCE_LEGACY_PARAM_IDS=1 due to getProgramParameter() returning the wrong parameter 2021-04-06 09:15:15 +01:00
ed
2ac46c600d VST3: Fixed bypass and program parameter indices when JUCE_FORCE_USE_LEGACY_PARAM_IDS=1 and AudioProcessor::getBypassParameter() is implemented 2021-04-06 09:15:10 +01:00
Tom Poole
df132fd6df VST: Fixed a compilation error on iOS when hosting VSTs 2021-04-01 11:36:45 +01:00
Tom Poole
60e13bec0c Allow use of an external VST3 SDK on BSD 2021-04-01 08:39:25 +01:00
ed
97ee7b7864 ADSR: Fixed a test failure with small sustain lengths 2021-03-31 17:21:42 +01:00
reuk
32690e6273
AudioProcessorPlayer: Resolve TSAN warnings 2021-03-31 12:10:51 +01:00
Tom Poole
765eafb1eb Fixed some file permissions 2021-03-31 10:12:59 +01:00
reuk
71fa211256
CMake: Add description of CMake source groups 2021-03-30 17:14:56 +01:00
reuk
429550f3dd
CMake: Support using custom VST3 SDKs 2021-03-30 17:04:53 +01:00
ed
af4b727b8a VST3: Fixed an assertion when JUCE_FORCE_LEGACY_PARAM_IDS=1 due to getProgramParameter() returning the wrong parameter 2021-03-29 17:02:00 +01:00
ed
52fbaa6042 Linux: Stop MidiInputThread before freeing handle in AlsaClient destructor
When immediately closing a MidiInput after starting, the ALSA handle may be closed whilst the MidiInputThread is running and it polls a destroyed handle
2021-03-29 15:41:16 +01:00
Tom Poole
79fbde7099 Added preliminary support for FreeBSD 2021-03-29 14:16:46 +01:00
reuk
241bb8d430
VST3 Host: Add cross-platform-compatible VST3 uid hash 2021-03-29 11:02:04 +01:00
ed
be0c36001d Linux: Fixed some comparison warnings using Clang 10 2021-03-29 10:52:16 +01:00
ed
d8004e2e2b Docs: Fixed a few switched "namespace juce" comments 2021-03-29 09:22:01 +01:00
ed
4b5a67f067 VST3: Fixed bypass and program parameter indices when JUCE_FORCE_USE_LEGACY_PARAM_IDS=1 and AudioProcessor::getBypassParameter() is implemented 2021-03-29 09:20:35 +01:00
ed
762cf327be macOS: Removed static display change callback 2021-03-29 09:20:16 +01:00
ed
675d93315f ADSR: Minor refactoring, added some tests 2021-03-29 09:20:05 +01:00
ed
9e64736519 Docs: Updated the documentation for Component::modifierKeysChanged() 2021-03-29 09:19:47 +01:00
ed
85589b5fd3 MPE: Set currentlyPlayingNote state to off before calling MPESynthesiserVoice::noteStopped() in MPESynthesiser::turnOffAllVoices() 2021-03-29 09:19:42 +01:00
ed
421b688eb6 VST3: Removed Windows HWNDComponentWithParent
This commit partially reverts the changes introduced in 455e08da as having an intermediate HWND and reparenting the plug-in window was causing issues when hosting certain plug-ins such as u-he's Diva and Arturia's Mini V3
2021-03-29 09:19:24 +01:00
ed
bb94767e3b Linux: Fixed a compile error when JUCE_USE_XRENDER=1 2021-03-28 18:19:04 +01:00
Tom Poole
9492b361b9 Re-saved all projects 2021-03-26 10:52:57 +00:00
Tom Poole
ef5608654d VST3: Fixed a bug loading plug-ins 2021-03-26 10:31:45 +00:00
Tom Poole
60d52182bb Fixed a data race in ThreadedAnalyticsDestination 2021-03-25 18:24:11 +00:00
Tom Poole
2367d648f4 Fixed an issue rendering AttributedStrings containing horizontal font scale 2021-03-25 15:50:21 +00:00
Tom Poole
a9ad07a945 Use RAII for CFTypes 2021-03-25 15:48:35 +00:00
reuk
767f63dfb0
UIViewComponentPeer: Fix issue where heavyweight windows could "drift" when resized slowly 2021-03-25 11:51:28 +00:00
reuk
432cd793d7
AudioPluginHost: Avoid drawing in unsafe areas of the screen on mobile 2021-03-25 11:51:28 +00:00
reuk
92ca22c080
UIViewComponentPeer: Fix issue where view may be accessed after deletion 2021-03-25 11:51:28 +00:00
reuk
819736054f
GenericAudioProcessorEditor: Allow double-click on a slider to return to default value 2021-03-25 11:51:28 +00:00
reuk
de278cf555
AudioPluginHost: Allow resizing plugins from the host, and increase border size on mobile
The increased border size should make it slightly less fiddly to tap on
the window border.
2021-03-25 11:51:28 +00:00
reuk
bc660e8218
AudioPluginHost: Avoid creating editor if hasEditor returns false 2021-03-24 16:23:14 +00:00
reuk
6f92906107
AudioProcessor: Make wrapperType member const 2021-03-24 16:11:07 +00:00
reuk
8c9c3c3ca9
Projucer: Use exporter name, rather than build folder name, to locate pre-built libraries 2021-03-24 14:24:53 +00:00
reuk
3f17cc7b2e
CMake: Add juce_enable_copy_plugin_step function 2021-03-24 14:24:53 +00:00
reuk
fbe95b0b07
AudioProcessor: Fix default behaviour of updateHostDisplay
This patch fixes an issue where calling `updateHostDisplay` with no
argument would have no effect.
2021-03-24 11:34:05 +00:00
ed
65bdf50d93 Docs: Fixed a typo in the docs for WebInputStream::Listener::postDataSendProgress() 2021-03-24 08:58:00 +00:00
ed
8c39d8e3fe Docs: Updated the README banner image 2021-03-23 16:25:56 +00:00
ed
0616554584 Docs: Updated the README banner image 2021-03-23 15:55:48 +00:00
reuk
d08b526930
AudioProcessor: Fix default behaviour of updateHostDisplay
This patch fixes an issue where calling `updateHostDisplay` with no
argument would have no effect.
2021-03-23 14:37:10 +00:00
reuk
0f6f2728f2
AlertWindow: Scale window according to scale of associatedComponent
For DialogWindow, uses the scale of componentToCentreAround.

This allows drawing dialog windows at the expected scale in plugins.
An associated component must be supplied in order for this to work.
2021-03-23 12:09:35 +00:00
reuk
7b6d41be3f AudioBuffer: Make assertions more specific 2021-03-22 12:56:02 +00:00