1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
Commit graph

8225 commits

Author SHA1 Message Date
reuk
718097fd60
StandaloneFilterWindow: Avoid recursively resizing plugin editor 2021-10-14 13:15:25 +01:00
reuk
cc2a563725
NSViewComponentPeer: Fix framesize bug introduced in f73f8ee849 2021-10-14 13:15:25 +01:00
reuk
b5064f361f
HostedAudioProcessorParameter: Extract from AudioPluginInstance 2021-10-14 13:15:25 +01:00
reuk
d5e9793cb1
Reservoir: Fix bug where incorrect buffer region could be read in some cases 2021-10-14 12:40:46 +01:00
reuk
2c90261bd4
Windows: Fix missing field initialiser 2021-10-14 12:40:25 +01:00
reuk
6bc51f97e4
Grid: Avoid crashing in performLayout when the grid contains no items 2021-10-14 12:40:25 +01:00
reuk
d59230aecc
AudioPluginFormat: Remove canScanOnBackgroundThread(), as it is not generally useful 2021-10-14 12:40:25 +01:00
reuk
d36c8b4c55
NamedPipe: Avoid early exits from writes on unavailable pipes 2021-10-14 12:40:25 +01:00
reuk
b41aeec9b1
Build: Fix arm64 gcc build warnings 2021-10-14 12:40:25 +01:00
ed
428260a6fd Whitespace 2021-10-14 12:31:17 +01:00
ed
7d1918b385 macOS/iOS: Replace compile-time deployment target checks with runtime checks using the available keyword 2021-10-13 15:06:18 +01:00
ed
70968d46c8 TreeView: Coalesce item position recalculation to fix performance issues with large trees 2021-10-13 15:06:18 +01:00
ed
e612481771 HeapBlock: Relax size constructor constraints to allow enums 2021-10-13 15:06:18 +01:00
ed
d9eb2022ed POSIX: Fix overflow when setting hi-res timer thread period on macOS/iOS 2021-10-13 15:06:18 +01:00
attila
175de90c49 DropShadower: Fix issue with shadows disappearing in TabbedComponent
The issue was caused by DropShadower using the ComponentListener interface
to listen to its target Component's changes and creating shadow Components
only if the target was visible during the event callbacks. However it was
possible that during the events the target was not yet visible because one
of its parents was not visible. When the parent became visible it would not
trigger a callback for the observed child component.

The fix attaches a ComponentListener recursively to all parents starting
from the target and responds to each componentVisibilityChanged() event.
2021-10-12 16:23:06 +02:00
Attila Szarvas
50f3415885 ExtensionsVisitor: use forward declared types instead of void* for format-specific pointers 2021-10-12 11:47:18 +00:00
ed
b3a6e796f9 Fix potential nullptr dereference in Slider::ScopedDragNotification destructor 2021-10-08 17:19:04 +01:00
ed
3fac215534 Component: Give away keyboard focus when disabled 2021-10-08 17:19:04 +01:00
ed
a852f4f45f Component: Only pass mouse wheel and magnify events up to enabled parents 2021-10-08 17:19:04 +01:00
ed
7a8a4944cb ComboBox: Hide active menu when disabled 2021-10-08 17:19:04 +01:00
ed
0000771751 Accessibility: Report Button on/off state via AccessibilityValueInterface 2021-10-08 17:19:04 +01:00
ed
e6360ca4cf Accessibility: Send AccessibilityEvent::valueChanged when ComboBox selection is changed 2021-10-08 17:19:03 +01:00
ed
0b844b7d88 Windows Accessibility: Implement AccessibilityEvent::valueChanged 2021-10-08 17:19:03 +01:00
ed
f70fd14065 iOS Accessibility: Implement accessibilityPerformEscape gesture to dismiss modals 2021-10-08 17:19:03 +01:00
ed
bc64c30df6 Accessibility: Use more specific AccessibilityRole::dialogWindow for CallOutBox 2021-10-08 17:19:03 +01:00
ed
b8aa237463 Accessibility: Add Button::setToggleable() method for manually specifying that a button's on/off state is toggleable and should be exposed to accessibility clients 2021-10-08 17:18:46 +01:00
ed
e1d1dd380c iOS: Fix compatibility when targeting older SDK versions 2021-10-08 17:18:32 +01:00
reuk
f5f834f758
CompilerWarnings: Update minimum supported clang version for JUCE_BEGIN_NO_SANITIZE
Clang versions 5 to 8 inclusive seem to struggle to compile JUCE when
JUCE_BEGIN_NO_SANITIZE is used. This is unexpected, as simpler programs
using the same macro definitions compile correctly on clang 5.
2021-10-07 14:31:27 +01:00
reuk
d286e690b2
PluginListComponent: Disallow scanning VST3 plugins on background threads
Native Instrument VST3s (I tested Kontakt and Supercharger) crash when
the bundleEntry function is called from a background thread on macOS.
This change disables scanning for VST3 plugins on a background thread
using the PluginListComponent, to allow loading these plugins in the
AudioPluginHost.

I can't find any "official" word on whether the bundleEntry and
bundleExit functions should be guaranteed to be made from the main
thread. However, the VST3PluginTestHost app seems to call these
functions exclusively from the main thread.
2021-10-07 14:31:26 +01:00
reuk
47dcc31e77
VST3 Client: Allow setting latency from inside prepareToPlay 2021-10-07 14:31:26 +01:00
ed
ca16bf44b8 Add comment above AppleClang workaround in FloatVectorOperations::setFpStatusRegister() 2021-10-07 14:30:33 +01:00
ed
051e0ed6d6 Fix leak on MultiDocumentPanel destruction 2021-10-07 14:30:32 +01:00
ed
f2b9ab15d8 iOS: Use UIPasteboard string property in SystemClipboard::getTextFromClipboard() to ensure that only NSStrings are retrieved 2021-10-07 14:30:24 +01:00
reuk
96612b12d8
VST Host: Ensure parent window is showing before attempting to open an editor
This fixes an issue with NI Raum and Choral where the editors would open
in a new window, rather than in the same window as the VST
AudioProcessorEditor.
2021-10-06 16:59:08 +01:00
reuk
28a1bc54f9
ProcessSpec: Add equality operators 2021-10-06 16:59:08 +01:00
reuk
e797c993a8
AAX Client: Add dirty state reporting via updateHostDisplay 2021-10-06 16:59:08 +01:00
reuk
294caba2b5
VST3: Add dirty-state set/get
Adds a mechanism to notify the host that the plugin state needs saving,
using updateHostDisplay.

Also allows JUCE hosts to detect when a plugin needs its state saving
via the AudioProcessorListener.
2021-10-06 16:59:07 +01:00
reuk
832bbed8c3
VST3: Fix error when building VST3 plugins
On macOS 10.15, stdatomic.h (included by the VST3 SDK) defines a macro
named atomic_thread_fence when building in C++20 mode. This macro was
trampling over a call to std::atomic_thread_fence from the C++ atomic
header, made in juce_Atomic.h.

No JUCE implementation files use the C11 atomic functions, so I think
it's safe to just undef the problematic symbol after including all the
VST3 implementation files.
2021-10-06 16:59:07 +01:00
reuk
752a676fa6
ImageCache: Avoid data race on impl when accessing cache from a background thread 2021-10-06 16:59:07 +01:00
reuk
4b57909fb0
Singleton: Fix thread sanitizer warning about race on "instance" data member 2021-10-06 16:59:07 +01:00
reuk
eb3c3ed27c
AudioTransportSource: Fix thread sanitizer warnings
The AudioPlaybackDemo was previously triggering thread sanitizer
warnings when starting playback.
2021-10-06 16:59:07 +01:00
reuk
a62d4c6a5a
CoreAudioFormat: Allow specifying stream kind hints 2021-10-06 16:59:06 +01:00
reuk
4a3ea2721d
Refactoring: Use any_of(), all_of() or, none_of() instead of find_if() where possible
When the result of find_if() is only compared to the container's end(),
the operation can normally be expressed more concisely using any_of(),
all_of(), or none_of().
2021-10-06 16:59:06 +01:00
reuk
c1cd432703
Mac Menu: Avoid errant beeps when triggering menu items 2021-10-06 16:59:06 +01:00
ed
69d4e0186f Update code to use new AudioData interleaving/deinterleaving API 2021-10-06 16:44:51 +01:00
ed
d9a3a2605d Improve AudioData interleaving/deinterleaving helper methods API and add docs 2021-10-06 16:44:45 +01:00
ed
3e606cc378 Update code to use new AudioData interleaving/deinterleaving helper methods 2021-10-05 17:30:13 +01:00
ed
52025f9756 AudioData: Add helper methods for interleaving/deinterleaving samples 2021-10-05 16:31:55 +01:00
ed
f899b65315 Docs: Exclude top-level std namespace when building docs 2021-10-04 17:23:37 +01:00
ed
05b49da0fe macOS: Silence some deprecation warnings 2021-10-04 17:23:29 +01:00