reuk
407966b2ca
Windows: Fix warnings when building with clang in 64-bit mode
4 years ago
reuk
7ac6911ccc
Windows: Fix clang/gnu compiler warnings
4 years ago
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
4 years ago
Tom Poole
bfdda737a2
Projucer: Removed the live build
4 years ago
ed
11d872ea1b
MessageMananger: Made dispatchNextMessageOnSystemQueue() accessible by internal code
4 years ago
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.
4 years ago
Tom Poole
a9ad07a945
Use RAII for CFTypes
4 years ago
reuk
6bcf603f2c
AppDelegate: Ensure correct lifetime of static objects
Arranges declarations of objects with static storage duration to ensure
correct lifetimes.
4 years ago
ed
3754cadf55
Windows: Removed WinRT::ComSmartPtr and use existing class instead
4 years ago
reuk
8d5c27237e
MessageManager: Use RAII to simplify app delegate cleanup
4 years ago
ed
088e100c1f
Narrowed the scoped of some undeclared Objective-C selector warnings
4 years ago
reuk
b27017a5e3
macOS: Initial support for macOS 11 and arm64
5 years ago
ed
d510b73cdf
Normalised all whitespace before args in std::function
5 years ago
reuk
092bc44413
MinGW: Fix windows/gcc warnings
5 years ago
reuk
e13901d912
ClangCl: Silence code which warns when building on Windows with Clang
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
ed
de712ca02e
Linux: Added support for building and hosting VST3 plug-ins
6 years ago
ed
8f3b9036d6
Added WinRT web view
5 years ago
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
5 years ago
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
5 years ago
ed
cda97c6593
Windows: Refactored the internal message queue to avoid hitting the message limit
5 years ago
ed
c46194d08b
Windows: Fixed a deadlock that could occur when dispatching messages from the overflow queue
5 years ago
jules
9b64141c93
Small fix to use of JUCEApplicationBase::quit() in linux event thread code
6 years ago
ed
ce9bb8b605
Windows: Added an overflow buffer to the event loop to catch messages posted after hitting the PostMessage() limit
6 years ago
ed
b857f965ce
Replaced select() calls with poll()
6 years ago
ed
2aed7b58fa
Linux: Allow the event bit mask to be specified in LinuxEventLoop::registerFdCallback()
6 years ago
ed
91664000d9
Linux: Improved message queue performance
6 years ago
ed
164aac7efa
Linux: Improved message queue performance
6 years ago
ed
012c7d00d2
Linux: Fix for high CPU load
6 years ago
ed
74c3901138
Linux: Fixed a bug that could cause the message queue to freeze up
6 years ago
ed
77e93e35e4
Linux: Set POLLOUT flag for fds to receive XShm completion events
6 years ago
ed
fd76cbc70d
Linux: Refactored InternalMessageQueue
This commit simplifies the Linux event loop code and adds methods to allow arbitrary file descriptors to registered. Also adds a method to register external event loops to be used instead of JUCE's internal event loop.
6 years ago
Tom Poole
670f77f80c
Fixed some Android compiler warnings
6 years ago
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
jules
60cbac6a6d
Improved CPU efficiency of MessageManager::runDispatchLoopUntil() on OSX
6 years ago
cesare
f0c1c4c6f5
Revert "Fix problem with milliseconds overflowing for long uptime on OSX"
This reverts commit 99afd933e0 .
6 years ago
cesare
99afd933e0
Fix problem with milliseconds overflowing for long uptime on OSX
6 years ago
jules
218ddf1193
Avoided a wrap-around timeout error in runDispatchLoopUntil()
6 years ago
Tom Poole
bd07014dcc
MacOS: Escaped " in the command line passed to anotherInstanceStarted
6 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
6 years ago
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
7 years ago
hogliux
008b7a9ab2
Re-structured the low-level Android native code
Please see the forum post "Re-structuring of JUCE’s low-level Android code" and the BREAKING-CHANGES.txt for more information.
7 years ago
Tom Poole
98def04379
WinRT: Added a dedicated ComPtr class
7 years ago
jules
cfc85445b5
Minor tidying up
7 years ago
Tom Poole
2a5e20a10a
Tidied up some WinRT code
7 years ago
jules
5979288706
Added some macros for asserting when functions are called in an unsafe manner outside the message thread.
7 years ago
jules
768139a298
Added some free functions to help make XML parsing less verbose: parseXML()
7 years ago
jules
87042769b6
Tidied up some more old typedefs
7 years ago
ed
527625b699
Added support for building Unity native audio plugins on desktop platforms
7 years ago