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

13606 commits

Author SHA1 Message Date
reuk
cb54044c1c
InAppPurchases: Ensure that the iOS implementation notifies on failure 2023-03-02 12:03:32 +00:00
reuk
f21bc3f4ae
AudioSynthesiserDemo: Show output rather than input in waveform view 2023-03-02 12:03:32 +00:00
reuk
28ad953a3a
Xcode: Fix nullability warnings in Xcode 14.3 2023-03-02 12:03:32 +00:00
reuk
3b1b52b65e
iOS InAppPurchases: Tidying 2023-03-02 12:03:32 +00:00
reuk
55d1585445
NSViewComponentPeer: Allow key equivalents to propagate to inner views if they are not handled by outer views 2023-03-02 12:03:32 +00:00
reuk
3a893b5853
AudioPlaybackDemo: Avoid requesting unnecessary input channels 2023-03-02 12:03:32 +00:00
reuk
8b708b348d
AudioPlaybackDemo: Fix usability issues on Android
Android devices won't necessarily be able to load MP3 files, so that
option has been removed from the file chooser. FLAC files should be
supported, but were missing from the MIME table.

The demo no longer tries to load files into the thumbnail view if they
previously failed to load into the transport.
2023-03-02 12:03:32 +00:00
reuk
36627a2216
Projucer: Fix assigned-but-not-read variable 2023-03-02 12:03:32 +00:00
reuk
721404f7ad
Projucer: Use new CMake version for Android builds 2023-03-02 12:03:32 +00:00
reuk
edca5e9629
NativeMessageBox: Fix result codes on Linux 2023-03-02 12:03:31 +00:00
reuk
d073a7e8ca
VST3 Host: Avoid reading from non-existent buses 2023-03-02 12:03:31 +00:00
reuk
3d09a98826
AudioProcessorGraph: Avoid data race when setting parent on AudioGraphIOProcessor 2023-03-02 12:03:31 +00:00
reuk
42021e3e9a
OpenGL: Avoid rare race on members used to compute frame times 2023-03-02 12:03:31 +00:00
reuk
c08a1827b5
OpenGL: Ensure flushBuffer can't be called simultaneously from multiple threads on macOS 10.13 or earlier
On these platforms, calling flushBuffer from multiple threads
simultaneously will lead to deadlocks.
2023-03-02 12:03:31 +00:00
reuk
6df7e46e26
VST Client: Fix redefined macro when building with MinGW 8.3.0 2023-02-28 19:09:36 +00:00
reuk
4f7e1d40c8
NativeMessageBox: Silence function pointer cast warning for MinGW 2023-02-28 19:09:26 +00:00
reuk
14e729545d
CMake: Disable AAX builds with MinGW 2023-02-28 19:09:08 +00:00
reuk
3816b095a8
MessageBoxOptions: DRY implementation 2023-02-22 21:02:41 +00:00
reuk
d5076cb873
SystemStats: Tidy up one-shot function 2023-02-22 21:00:18 +00:00
reuk
b7beb42153
DragAndDropContainer: Avoid out-parameters 2023-02-22 21:00:18 +00:00
reuk
ae45bb4c35
OpenGLContext: Fix signature of DEBUGPROC 2023-02-22 21:00:18 +00:00
reuk
629a3ca14b
ListBox: Allow ListBoxModel to control whether items may be dragged to other windows 2023-02-22 21:00:17 +00:00
reuk
882c2aa01d
AlertWindow: Allow parent component to be specified 2023-02-22 21:00:17 +00:00
reuk
39a731de46
ScopedMessageBox: Replace old AlertWindow uses with new API 2023-02-22 21:00:17 +00:00
reuk
79ed81c24a
ScopedMessageBox: Add new helper type to bound alert window lifetimes
The biggest new feature in this commit is the addition of
NativeMessageBox::scopedAsync and AlertWindow::scopedAsync, both of
which return an instance of ScopedMessageBox that will hide the message
box in its destructor.

The code for displaying modal dialogs on Windows has also been updated.
Now, the dialog itself is run from a new thread with its own message
loop. This means that when the dialog is dismissed, the background
thread can be joined safely. In plugins, this means that there's no
danger of the plugin view being destroyed from within the message box
runloop, for example.
2023-02-22 21:00:08 +00:00
reuk
d14761c523
CameraDevice: Tidy up macOS implementation 2023-02-21 19:30:21 +00:00
reuk
ac0ec5a7cc
Windowing: Tidy up macOS drag+drop implementation 2023-02-21 11:11:41 +00:00
reuk
a6638f8a6d
Path: Allow addPath to take a reference to self 2023-02-15 22:23:56 +00:00
reuk
92a19a9ea2
Android: Fix accessibility compatibility issues with older devices 2023-02-15 22:23:56 +00:00
reuk
efe8830bb6
AAX Client: Use new GetHDTimeCodeInfo API 2023-02-15 22:23:56 +00:00
reuk
53238e3cc7
AAX Client: Fix unused function warnings 2023-02-15 22:23:56 +00:00
reuk
d5ad26a162
AUv2 Client: Add support for new MIDIEventList APIs on supported platforms 2023-02-15 22:23:56 +00:00
reuk
78a12d2f57 UMP: Migrate to std::byte 2023-02-14 22:29:01 +00:00
reuk
f1f68007c6 Containers: Add simple Span implementation 2023-02-14 22:29:01 +00:00
reuk
d4dd149b64 VST Host: Avoid re-adding VST window to list of active windows after destruction has started
On Windows, broughtToFront may be called during the destructor of
VSTPluginHost, adding the window back into activeVSTWindows, leading to
a heap-use-after-free in vstHookWndProc.

This change means that broughtToFront will only reorder
activeVSTWindows; it will never add a window that's not already in the
list.
2023-02-14 22:29:01 +00:00
reuk
eecb8ad995 UIViewComponentPeer: Call setNeedsUpdateOfSupportedInterfaceOrientations on orientation change 2023-02-14 22:29:01 +00:00
attila
d037d45e3b AAX: Use unity build style for the AAX_SDK
JUCE no longer depends on built artifacts of the AAX_SDK
2023-02-14 20:04:08 +00:00
attila
dab95a8404 AudioSampleBuffer: Fix warning 2023-02-14 20:04:08 +00:00
Tom Poole
29a90a0231
BSD: Fix some compiler warnings 2023-02-14 17:00:02 +00:00
reuk
273a702052
Resave all projects 2023-02-09 17:54:19 +00:00
reuk
22a3660376
CMake: Add inter-app-audio entitlement to iOS AU hosts 2023-02-09 17:54:19 +00:00
reuk
ca47dc66a3
Projucer: Add inter-app-audio entitlement to iOS AU hosts 2023-02-09 17:54:19 +00:00
reuk
d54f7abb13
AudioPluginHost: Remove magic number 2023-02-09 17:54:19 +00:00
reuk
cb14aa983d
Path: Allow addPath to take a reference to self 2023-02-09 17:54:19 +00:00
reuk
8d87c8c6c3
Projucer: Insert android custom libraries names directly, rather than as variables 2023-02-09 17:54:19 +00:00
reuk
a59cba010b
ColourGradient: Create lookup tables using non-premultiplied colours
The OpenGL renderer uses ColourGradient::createLookupTable to generate
gradient textures. However, the tweening method used was different to
the tweening used by CoreGraphics gradients, and by the software
renderer.

Gradient tweening is now computed using non-premultiplied colours, to
ensure consistency between gradients rendered using OpenGL, and with
other renderers.
2023-02-09 17:54:19 +00:00
reuk
9cfbccca8e
Accessibility: Make createAccessibilityHandler public to allow calls from derived classes 2023-02-09 17:54:18 +00:00
reuk
408f6030e6
NSViewComponentPeer: Attempt to avoid reentrant calls to makeKeyWindow
AUv2 plugins on Arm that are hosted out-of-process (e.g. in Logic 10.7)
can sometimes crash due to endlessly recursing through becomeKeyWindow.
This tends to happen when displaying a secondary window in a plugin,
e.g. an AlertWindow, then clicking on a secondary app, then clicking
back on the AlertWindow.

To avoid this case, we check that the peer isn't already key before
calling makeKeyWindow.

Unfortunately, we can't use isKeyWindow to avoid the recursion because
this may not return true until after becomeKeyWindow has returned.
2023-02-06 19:42:09 +00:00
reuk
f5aa881b6f FileChooser: Improve modal behaviour in plugins on Windows
The previous method for finding the dialog's owner was ineffective, and
it was still possible for other windows to obscure the file picker in
many cases. Using GetActiveWindow seems to produce the expected
behaviour.
2023-02-06 17:29:04 +00:00
reuk
321cab0c15
MIDILogger: Update bus layouts to support loading in Cakewalk 2023-02-06 12:11:29 +00:00