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

435 commits

Author SHA1 Message Date
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
2021-05-26 15:34:26 +01:00
Tom Poole
bfdda737a2 Projucer: Removed the live build 2021-05-14 12:54:07 +01:00
ed
a8aafed53d Removed some unnecessary virtual keywords 2021-04-27 15:56:01 +01:00
ed
11d872ea1b MessageMananger: Made dispatchNextMessageOnSystemQueue() accessible by internal code 2021-04-13 16:25:04 +01:00
ed
76d5c07c66 MessageManager: Only reinitialise platform-specific code on Windows when calling setCurrentThreadAsMessageThread() 2021-04-08 11:51:41 +01:00
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
Tom Poole
79fbde7099 Added preliminary support for FreeBSD 2021-03-29 14:16:46 +01:00
Tom Poole
a9ad07a945 Use RAII for CFTypes 2021-03-25 15:48:35 +00:00
Tom Poole
4c58e50f2e Bump version number to 6.0.8 2021-03-22 09:24:48 +00:00
reuk
6bcf603f2c
AppDelegate: Ensure correct lifetime of static objects
Arranges declarations of objects with static storage duration to ensure
correct lifetimes.
2021-03-05 11:26:22 +00:00
ed
3754cadf55 Windows: Removed WinRT::ComSmartPtr and use existing class instead 2021-01-28 11:26:13 +00:00
ed
48fcea0c44 Windows: Removed WinRTWrapper dependency from WebView2 implementation 2021-01-28 11:26:13 +00:00
reuk
8d5c27237e
MessageManager: Use RAII to simplify app delegate cleanup 2021-01-15 16:43:11 +00:00
Tom Poole
2553336f45 Bump version number to 6.0.7 2021-01-14 17:26:20 +00:00
Tom Poole
25dccd53c0 Bump version number to 6.0.6 2021-01-13 16:06:01 +00:00
ed
088e100c1f Narrowed the scoped of some undeclared Objective-C selector warnings 2020-12-10 12:48:42 +00:00
Tom Poole
5929103a29 Bump version number to 6.0.5 2020-12-01 10:08:50 +00:00
reuk
472fac976b
IPC: Prevent disconnection while a read is in progress 2020-11-16 20:13:46 +00:00
reuk
a70101e3ec
IPC: Allow setting custom timeouts in disconnect
Also allows optionally ignoring callbacks during disconnect, so that the
call to `connectionLost` can be bypassed when disconnect is called from
the derived class destructor.
2020-11-16 20:13:46 +00:00
ed
5ae32084a7 Made the assertion in the Timer destructor slightly less strict 2020-11-13 18:16:04 +00:00
reuk
fb83c45a9d IPC: Fix race condition when destroying connections
It was possible to encounter data races when when requesting connection
callbacks on the message thread, but creating/destroying connection
objects on a background thread.

This change ensures that a message will not be processed if the
destination connection is destroyed before the message is delivered.
2020-10-29 13:02:12 +00:00
reuk
1dae941600 Timer: Add assertion to warn when destroying a timer from a background thread 2020-10-20 10:16:13 +01:00
Tom Poole
c35bb61c8d Bump version number to 6.0.4 2020-10-14 11:40:30 +01:00
Tom Poole
73d1a1ff45 Bump version number to 6.0.3 2020-10-05 18:33:04 +01:00
Tom Poole
c9aba7f613 Bump version number to 6.0.2 2020-10-05 17:05:28 +01:00
reuk
b27017a5e3
macOS: Initial support for macOS 11 and arm64 2020-07-08 09:58:00 +01:00
ed
6aeb9d7dda Bump version number to 6.0.1 2020-07-07 12:47:58 +01:00
ed
67925d384f Updated main README with CMake support info and changed docs extension from .txt to .md 2020-06-29 08:30:00 +01:00
ed
87fcf2f353 Windows: Added support for Chromium-based WebView2 browser in WebBrowserComponent and removed WinRT webview 2020-06-12 14:21:01 +01:00
ed
b5214a341e Normalised lambda whitespace 2020-06-05 09:37:56 +01:00
ed
d510b73cdf Normalised all whitespace before args in std::function 2020-06-05 09:37:49 +01:00
ed
ceb410ca69 iOS: Fixed a linker error when compiling juce_events without juce_gui_basics 2020-05-22 16:46:52 +01:00
ed
2bfed0b354 Removed some unnecessary JUCE_MODULE_AVAILABLE_* checks 2020-05-22 16:46:52 +01:00
reuk
092bc44413
MinGW: Fix windows/gcc warnings 2020-05-11 11:28:28 +01:00
reuk
4cf66d6522 Cleanup: Remove redundant inlines 2020-04-27 10:22:06 +01:00
reuk
e13901d912 ClangCl: Silence code which warns when building on Windows with Clang 2020-04-27 10:22:06 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
ed
de712ca02e Linux: Added support for building and hosting VST3 plug-ins 2020-04-16 12:18:49 +01:00
ed
8f3b9036d6 Added WinRT web view 2020-04-16 12:18:47 +01:00
reuk
5f348c3040 Warnings: Add warning-wrangling header 2020-04-13 13:16:05 +01:00
reuk
1fdba480cc JUCE 6: Update version numbers 2020-04-11 15:03:19 +01:00
ed
5d9ab42195 Linux: Revert c47c790 and instead defer modifications to the fdReadCallbacks vector when inside a read callback until after the callback has been executed 2020-03-23 14:38:09 +00:00
ed
59a058fdc6 Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough 2020-03-09 17:39:28 +00:00
ed
c47c790f79 Linux: Use list instead of vector for file descriptor callback storage in internal message queue to fix issues when recursively adding or removing callbacks 2020-03-06 16:52:13 +00:00
ed
c8532775e5 Send broadcast message to all local addresses in NetworkServiceDiscovery::Advertiser::sendBroadcast() 2020-02-10 16:42:16 +00:00
ed
08d0a12f03 Bump version number to 5.4.7 2020-02-10 14:16:54 +00:00
Tom Poole
ef1eacccd3 Bump version number to 5.4.6 2020-02-04 11:26:48 +00:00
ed
b45ce09235 Standardised the licensing whitespace in module headers 2020-01-30 09:48:16 +00:00
ed
78e2892ba9 Added some missing documentation tags 2020-01-21 17:47:41 +00:00
ed
cda97c6593 Windows: Refactored the internal message queue to avoid hitting the message limit 2020-01-13 15:10:43 +00:00