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

9215 commits

Author SHA1 Message Date
reuk
5e866b6156
MessageManager: Fix build issue introduced in 95f823ff72 2023-03-16 10:35:42 +00:00
Anthony Nicholls
cff722a4af GUI Basics: Refactor juce_gui_basics file structure
- Created a new detail namespace
- Moved shared module implementation details into the detail namespace
- Split dependencies so source files only rely on details in the detail namespace
- Removed all code from the juce_gui_basics.cpp file
2023-03-16 08:53:12 +00:00
reuk
8942f22a9b
FileChooser: Avoid setting default extension to filename
Fixes a bug on Windows when opening a FileChooser with the following
arguments.

    FileChooser ("",
                 "C:\path\to\file", // filename 'file' doesn't contain '.'
                 "",                // all extensions are allowed
                 true);

The expected behaviour is that the initially-displayed filename is
"file".

The actual behaviour was that the initially-displayed filename was
"file.file".
2023-03-14 20:27:42 +00:00
reuk
95f823ff72
MessageManager: Tidy up mac implementation 2023-03-14 19:13:03 +00:00
reuk
33ef4a86f4
Plugin Client: Remove unnecessary wrapper files 2023-03-14 19:13:03 +00:00
reuk
22c8f0fe7e
VSTWindowUtilities: Remove unused JUCE_32BIT checks in VSTWindowUtilities 2023-03-14 19:12:19 +00:00
reuk
16929c26f7
OpenGLContext: Avoid calling NSView::window from displaylink thread 2023-03-14 19:08:07 +00:00
reuk
0f174d5818
Plugin Client: Refactor WindowsHooks to avoid static objects at namespace scope 2023-03-14 19:08:07 +00:00
reuk
10bd8235e7
Plugin Client: Move all private helper functions into detail namespace 2023-03-13 13:09:30 +00:00
reuk
a760307d0f Plugin Client: Rename utility folder to detail, for consistency with namespace naming 2023-03-09 14:10:27 +00:00
reuk
0e9b482d87 VST Client: Reorganise helper functions to avoid duplicate function declarations 2023-03-09 14:10:27 +00:00
reuk
c5ddf64d16 Plugin Client: Respect requested layer-backedness of editor 2023-03-09 14:10:27 +00:00
reuk
926bbda4fa AudioProcessorEditor: Add method to configure layer-backedness of plugin editors 2023-03-09 14:10:27 +00:00
reuk
3b2c6a545e Plugin Client: Normalise includes 2023-03-09 14:10:27 +00:00
reuk
628edb1e15
TableListBox: Refactor mouse handling to reuse ListBox mouse handling 2023-03-08 18:19:20 +00:00
Tom Poole
f385e08b24 BSD: Fix a compilation error 2023-03-08 14:04:43 +00:00
Anthony Nicholls
c23eab7126 iOS: Refactor get primary display 2023-03-07 18:21:38 +00:00
reuk
af2a4a7e2a
OpenGL: Avoid enabling GL_TEXTURE_2D in core profile contexts 2023-03-06 12:35:26 +00:00
Tom Poole
8524d4d815 Android: Fix a compiler warning 2023-03-03 13:41:06 +00:00
attila
f9ff497978 CMake: Add embedded Linux subprocess for WebView support
In order to display a WebKit based webview a plugin will deploy a
temporary standalone executable on the system and host the WebKit
instance inside that.
2023-03-02 17:49:34 +00:00
attila
e4a86316ca Linux WebBrowserComponent: Fix potential deadlock in destructor
Until this commit it was possible that the message thread got stuck
waiting for the WebBrowserComponent's thread to finish, while the thread
was waiting for the message thread to handle a posted message.
2023-03-02 17:49:34 +00:00
reuk
b7e459dbd5
InAppPurchases: Ensure failure notifications are dispatched on the message thread 2023-03-02 13:46:06 +00:00
reuk
7da615a7a3
Objective-C: Tidy up block usages, and document block helpers 2023-03-02 13:25:49 +00:00
reuk
fd69d347b4
CoreMidi: Never convert messages to MIDI 2.0 protocol 2023-03-02 12:03:33 +00:00
reuk
a24be991fa
Oboe: Prefer SpinLock to raw atomics 2023-03-02 12:03:33 +00:00
reuk
76589ee800
Oboe: Avoid allocating on each audio callback 2023-03-02 12:03:33 +00:00
reuk
cb54044c1c
InAppPurchases: Ensure that the iOS implementation notifies on failure 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
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
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
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