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

681 commits

Author SHA1 Message Date
reuk
dc3e0d1571
SystemStats: Fix getOperatingSystemType assertion on macOS 11.1 2020-12-15 16:00:54 +00:00
ed
47a0dc81f6 macOS: Fixed 10.7 compatibility 2020-12-08 14:49:15 +00:00
ed
e4c3d53c7a Android: Request ACCESS_FINE_LOCATION permission when using Bluetooth 2020-11-25 17:39:57 +00:00
reuk
5a19a7c8e8 IPC: Fix potential deadlock in win32 NamedPipe implementation
We use a manual-reset event rather than an auto-reset event to cancel IO
on the pipe. This avoids unlucky cases where new IO would start just
after signalling the event and would block indefinitely while waiting on
the newly-unsignalled event.
2020-11-25 12:50:44 +00:00
reuk
389e7436ef
IPC: Add some missing locks in native NamedPipe implementations 2020-11-23 12:45:36 +00:00
reuk
9b90398cf9
IPC: Fix occasional windows crash
As far as I can tell, if a read was cancelled from a background thread,
the IO operation wasn't cancelled, so the system was poking at the
stack-allocated OVERLAPPED structure after it had been removed from the
stack, at which point something else might be occupying that region of
stack memory.

I'm pretty sure Address Sanitizer should be able to catch this sort of
thing so I'm surprised it didn't complain here.
2020-11-20 12:14:49 +00:00
reuk
84be2fea9a
IPC: Avoid deadlocks when destroying pipes
Previously, calls to `open` blocked when creating a writeable pipe.

This could cause other calls to block indefinitely, waiting for the pipe
to become available.

Now, we open the pipe in nonblocking mode, which allows us to retry
indefinitely, checking `stopReadOperation` each time to find out whether
`close` has been called and allowing a graceful exit.
2020-11-16 20:14:16 +00:00
ed
884f2c1332 Windows: Use Thread::sleep() instead of yield() when waiting for ChildProcess output to avoid eating CPU 2020-11-11 17:38:51 +00:00
ed
1e532b2ae0 macOS: Use objc_msgSendSuper_stret() for return types > 8 bytes in 32-bit builds 2020-11-03 09:46:18 +00:00
reuk
35277443e4 SystemStats: Use new dictionaryWithContentsOfURL signature 2020-10-29 15:53:33 +00:00
reuk
6e02c45d37 FileChooser: Fix build compatibility issue with MinGW
The recent IFileChooser update to the JUCE FileChooser meant that
Windows build machines must be running Vista or newer.

For compilers other than MinGW, we were already requiring that the build
machine must be running Windows 8 or newer.
2020-10-26 11:01:32 +00:00
reuk
4d27422d9f GCC: Suppress cast-align warnings 2020-09-24 12:52:45 +01:00
reuk
49588b704e Linux: Fix some cast warnings 2020-09-24 12:52:45 +01:00
ed
54164fac3f Windows: Added ComSmartPtr::getInterface() and used it in a few places to simplify some COM code 2020-09-07 16:01:48 +01:00
reuk
4b24ccd51f macOS: Remove older macOS versions from OperatingSystemType enum 2020-08-24 17:11:32 +01:00
reuk
3ad4835854 macOS: Fix getOperatingSystemType when getOSXVersion returns 11.0 instead of 10.16 2020-08-24 17:11:32 +01:00
ed
452c3e6e64 macOS: Fixed warnings about NSKVONotifying subclasses on shutdown 2020-08-04 12:14:31 +01:00
ed
c8a416f476 Obj-C++: Added obc_msgSendSuper_stret overloads for ObjCMsgSendSuper() and refactored the superclass messaging a bit 2020-07-10 17:50:05 +01:00
juce-team
f9f5caa5cc
macOS 11: Fix function pointer conversions 2020-07-08 09:58:01 +01:00
reuk
b27017a5e3
macOS: Initial support for macOS 11 and arm64 2020-07-08 09:58:00 +01:00
reuk
394c4fd475 Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
ed
d510b73cdf Normalised all whitespace before args in std::function 2020-06-05 09:37:49 +01:00
reuk
092bc44413
MinGW: Fix windows/gcc warnings 2020-05-11 11:28:28 +01:00
reuk
b7e4099cd5 Cleanup: Fix some warnings 2020-04-27 10:22:06 +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
6cb75d9d2c Replaced all references to ROLI with Raw Material Software and regenerated all bytecode 2020-04-23 17:30:40 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
reuk
e7e1de78fa Files: Add RangedDirectoryIterator 2020-04-13 13:16:06 +01:00
reuk
5f348c3040 Warnings: Add warning-wrangling header 2020-04-13 13:16:05 +01:00
reuk
ece5644a20 CMake: Add support for building JUCE projects with CMake 2020-04-13 12:10:11 +01:00
Lukasz Kozakiewicz
50310edc57 Android: Call __android_log_print() in chunks to ensure that the full log is printed 2020-03-27 18:10:59 +00:00
Tom Poole
5e9826ecf8 Added some missing license headers 2020-03-16 14:11:06 +00:00
ed
330df2b3e6 Fixed a regression opening file handles introduced in e65ac0b 2020-03-16 11:01:40 +00:00
reuk
a9492679da URL: Make downloadToFile return unique_ptr 2020-03-13 11:25:40 +00:00
ed
49ac038662 Fixed some more warnings 2020-03-10 11:10:24 +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
f9961e9938 Fixed a bug in the previous commit 2020-03-09 14:43:59 +00:00
ed
5cf2802a00 macOS: Fixed a data race in URLConnectionState 2020-03-09 09:45:31 +00:00
ed
e65ac0b2cd Fixed some warnings when calling open() with file mode bits specified but no O_CREAT flag 2020-03-03 17:54:24 +00:00
ed
618f3645b2 Android: Fixed some issues in the native content sharing code 2020-03-03 17:24:39 +00:00
ed
5bda9de977 Windows: Fixed some build errors and warnings when using Clang in Visual Studio 2020-02-06 14:07:42 +00:00
Tom Poole
0831c718a2 macOS: Fixed some Projucer live-build issues on Catalina 2020-02-04 11:26:48 +00:00
ed
605d0978ce Android: Acquire the MulticastLock when using the NetworkServiceDiscovery::AvailableServiceList class to ensure that multicast packets are received on all devices 2020-01-06 17:15:31 +00:00
ed
e36736e0ec Fixed some typos 2020-01-06 14:04:16 +00:00
Tom Poole
54e1004957 Added FMA3 and FMA4 instruction detection 2019-12-18 15:31:59 +00:00
ed
c964a842b1 Replaced WaitableEvent internals with std::condition_variable 2019-12-16 11:36:43 +00:00
jules
31e82060f1 Removed dependency on libalchemy for Bela support 2019-12-06 14:18:10 +00:00
Tom Poole
20163e7964 Fixed some file permissions 2019-11-15 14:14:05 +00:00
ed
b7c8ac3f3b Windows: Restored MinGW compatibility 2019-11-05 11:48:50 +00:00