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

2035 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
reuk
9032f589eb
CoreMIDI: Enable support for new API 2020-12-03 12:30:22 +00:00
reuk
5d26b6a20f
Aiff: Fix extremely slow loads of pathological files
If an aiff file advertied a large number of metadata keys, the
StringPairArray::set calls resulted in quadratic complexity.

We now read keys into a std::map instead, as it enables much faster
lookup, and then convert back to a StringPairArray at the last possible
moment.
2020-12-03 12:06:00 +00:00
Tom Poole
5929103a29 Bump version number to 6.0.5 2020-12-01 10:08:50 +00:00
ed
45a2e57bf9 macOS: Add Foundation to juce_core OSXFrameworks
Previously we relied on Foundation.framework being implicitly linked by other frameworks, but this change is required when building with Xcode 12 targeting older macOS versions to fix missing CFNetwork symbols.
2020-11-30 11:20:08 +00:00
ed
142a52f9b8 Unquote command-line arguments when adding them to ArgumentList 2020-11-26 19:01:43 +00:00
ed
3a3ef41ad5 Added <array> to juce_StandardHeader.h and removed some unnecessary includes from juce_analytics and juce_dsp 2020-11-25 17:40:12 +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
c5136d28b7 NamedPipe: Avoid spurious test failures due to pipe name collisions 2020-11-24 14:45:50 +00:00
reuk
ac612693aa NamedPipe: Fix potential vptr data-race in unit tests 2020-11-23 13:46:06 +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
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
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
ed
333f98d204 Squashed some compiler warnings with -Wmissing-prototypes enabled 2020-08-27 14:13:58 +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
Tom Poole
f6782fe25b Revert "XML: Added an additional assertion when parsing/creating malformed namespaced tag names"
This reverts commit 56f11e8611.
2020-07-22 16:33:41 +01:00
Tom Poole
56f11e8611 XML: Added an additional assertion when parsing/creating malformed namespaced tag names 2020-07-22 14:04:46 +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
ed
6aeb9d7dda Bump version number to 6.0.1 2020-07-07 12:47:58 +01:00
ed
744e16eebd Fixed some Doxygen parsing issues 2020-07-03 17:18:35 +01:00
ed
c6bd5cb3df Removed unused JUCE_WIN32 define 2020-07-03 14:09:24 +01:00
reuk
9cc3fca7d0 RangedDirectoryIterator: Allow querying the estimated progress 2020-07-02 17:25:03 +01:00
reuk
394c4fd475 Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
reuk
3c15dc79de Clang: Fix some preprocessor defs on windows 2020-07-01 10:00:43 +01:00
reuk
ac2d7ee272 Clang: Fix build errors when using a recent clang-cl 2020-07-01 10:00:43 +01:00
ed
009d685179 Updated all license headers 2020-06-29 08:30:22 +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
4855f52e4d Added missing documentation tags 2020-06-27 17:26:44 +01:00
ed
1e9cd97664 Added startTime and endTime to UnitTest TestResult struct 2020-06-17 15:54:28 +01:00
ed
7f4b6e3288 Added missing String::operator+=() implementation for long ints 2020-06-08 12:48:32 +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
4b6be143cf Fixed some doxygen warnings 2020-05-18 14:43:50 +01:00
reuk
fca3429e6e
DSP: Update convolution 2020-05-15 18:06:03 +01:00