reuk
f5f834f758
CompilerWarnings: Update minimum supported clang version for JUCE_BEGIN_NO_SANITIZE
...
Clang versions 5 to 8 inclusive seem to struggle to compile JUCE when
JUCE_BEGIN_NO_SANITIZE is used. This is unexpected, as simpler programs
using the same macro definitions compile correctly on clang 5.
2021-10-07 14:31:27 +01:00
reuk
4b57909fb0
Singleton: Fix thread sanitizer warning about race on "instance" data member
2021-10-06 16:59:07 +01:00
ed
6da59e87a3
Fix float_Pi deprecation warning typo
2021-10-04 10:01:07 +01:00
ed
3d282c1078
Desktop: Deprecate isOSXDarkModeActive() and add isDarkModeActive() for other platforms
2021-09-29 17:40:58 +01:00
ed
b9542ccc4c
Update code to use C++14 [[deprecated]] attribute
...
This commit removes the various compiler-specific JUCE_DEPRECATED macros and replaces them with C++14's deprecated attribute. It also removes the JUCE_CATCH_DEPRECATED_CODE_MISUSE flag as we can rely on the override specifier catching usage of these old virtual methods, and tidies up the DOXYGEN preprocessor checks as they were inconsistent across the codebase.
2021-09-29 16:14:00 +01:00
ed
a435026b24
macOS: Use available keyword instead of preprocessor version checks where possible
2021-09-29 16:13:48 +01:00
ed
1658d3f9ab
Obj-C++: Remove JUCE_OBJC_HAS_AVAILABLE_FEATURE define
2021-09-29 16:13:09 +01:00
Tom Poole
2c8ec9dae1
Fix a documentation typo
2021-09-29 15:39:37 +01:00
ed
2c02ba9723
macOS: Fix compile error when using C++20 language standard
2021-09-29 11:45:43 +01:00
reuk
afa6465098
UB Sanitizer: Avoid warnings in third party code, with clang
2021-09-28 11:31:50 +01:00
reuk
f87582a013
URL: Allow specifying shared container for downloads on iOS
2021-09-28 11:31:47 +01:00
reuk
e02a09da0c
HeapBlock: Disable size-based constructor for non-integral arguments
2021-09-27 15:44:48 +01:00
reuk
930a3299f2
Reservoir: Factor out reservoir management code
2021-09-27 13:20:47 +01:00
reuk
b0bd1c4f63
SingleThreadedAbstractFifo: Move into juce_core
2021-09-27 13:15:39 +01:00
reuk
b6ab931bcf
File: Add helper function to locate shared containers on macOS and iOS
...
File::getContainerForSecurityApplicationGroupIdentifier will return the
path to a container which is shared between all apps using the specified
app group ID. This might be useful if you need to share resources
between a standalone app and an AUv3 plugin, for example.
2021-09-23 10:28:48 +01:00
reuk
d738f0274e
File: Fix quoting in openDocument() on Linux
...
The previous implementation would fail to open directories with names
that contained spaces, as the space would be escaped and then quoted.
I don't think it's particularly meaningful to supply parameters when
opening a file in this way (especially not quoting the parameters too!)
so I've removed that functionality.
2021-09-23 10:28:47 +01:00
Tom Poole
bc75010116
Bump version number to 6.1.2
2021-09-20 12:15:47 +01:00
Tom Poole
5109e30c6f
Bump version number to 6.1.1
2021-09-09 12:51:15 +01:00
Tom Poole
46fe3789fc
Bump version number to 6.1.0
2021-08-23 09:55:56 +01:00
Tom Poole
a6fced64df
Remove some outdated documentation
2021-08-18 09:51:34 +01:00
ed
055a4e93e9
POSIX: Set fileHandle to 0 after closing in MemoryMappedFile::openInternal() to prevent it from being closed again in the destructor
2021-08-11 12:02:49 +01:00
ed
39772b7474
Android: Remove old minimum SDK version checks
2021-08-11 11:50:04 +01:00
ed
8f03215a9e
Accessibility: Add Android support
2021-07-28 11:44:29 +01:00
ed
d6a5156dd5
Objective-C++: Make getIvar() a free function so it can be used without a class instance
2021-07-28 11:44:28 +01:00
reuk
802f33b0e8
Thread: Avoid setting realtime priority on Thread instances by default on POSIX systems
2021-07-27 15:11:05 +01:00
reuk
1de762218a
Thread: Check for realtimeAudioPriority in more locations
2021-07-27 15:11:05 +01:00
ed
0f76c7d097
POSIX: Close file handle after mapping in MemoryMappedFile::openInternal() to avoid hitting max open file limit
2021-07-27 14:34:30 +01:00
ed
4b5c59dbae
NullCheckedInvocation: Add missing tag and namespace comment to class declaration
2021-07-23 16:07:54 +01:00
reuk
3c68581567
Use jassertquiet where possible
2021-07-23 10:58:44 +01:00
reuk
46e62b9efe
PlatformDefs: Add new jassertquiet macro
...
This behaves a lot like jassert, but will never emit unused-variable
warnings.
2021-07-23 10:58:43 +01:00
ed
a62f0f91d6
Add juce_Functional.h containing NullCheckedInvocation helper
2021-07-22 16:33:42 +01:00
ed
cf79cc4724
Whitespace
2021-07-22 16:33:42 +01:00
reuk
3d97343c2a
GCC: Fix redundant redeclaration warnings
2021-07-15 09:59:08 +01:00
Tom Poole
d53388097b
AudioProcessorGraph: Improve performance when building large graphs
2021-07-08 10:47:36 +01:00
reuk
407966b2ca
Windows: Fix warnings when building with clang in 64-bit mode
2021-06-30 17:03:38 +01:00
Tom Poole
fe4ba9071b
Set the default value of JUCE_MODAL_LOOPS_PERMITTED to 0
...
See BREAKING-CHANGES.txt for more details.
2021-06-30 13:01:14 +01:00
ed
4e9521be2d
ComSmartPtr: Fixed behaviour of ComBaseClassHelper::QueryInterface() in release builds
2021-06-29 16:15:01 +01:00
ed
d9f7d068ed
WaitableEvent: Increased lock scope in signal()
2021-06-25 14:44:35 +01:00
Tom Poole
78be43888e
Update the minimum C++ standard to C++14
2021-06-24 16:09:48 +01:00
reuk
ecfa339032
Build: Update minimum build requirements for VS 2015
2021-06-22 10:58:46 +01:00
reuk
feb9ebb485
ComSmartPtr: Allow compilation on VS2015
2021-06-22 10:58:46 +01:00
ed
efd0373525
macOS: Support infinite timeouts for URL connections
2021-06-18 16:19:31 +01:00
ed
76e9a767ec
WaitableEvent: Release lock before calling notify_all() on condition variable
2021-06-15 10:15:02 +01:00
reuk
a70488e38e
MacOS: Fix API deprecations in macOS 12.0 and iOS 15.0
2021-06-10 15:20:39 +01:00
Attila Szarvas
fbc1a51a67
Windows: replace deprecated OS calls in SystemStats::getDisplayLanguage()
...
The previously used getUserDefaultUILanguage() was based on the deprecated
LCID/LANGID concept. It had an increasing number of corner cases as not
every locale had associated LCIDs. The new solution is based on locale
names (string based) and will return reasonable names in more situations.
2021-06-09 12:04:31 +02:00
ed
e4f9e7f79b
macOS Accessibility: Use @available keyword where possible to check if accessibility support is available at runtime
2021-06-07 19:38:29 +01:00
reuk
3399c34d0d
Windows: Fix more warnings emitted by clang with GNU-like command-line
2021-06-04 12:09:05 +01:00
reuk
7ac6911ccc
Windows: Fix clang/gnu compiler warnings
2021-06-03 17:30:44 +01:00
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
d7d350599d
macOS: Use __builtin_debugtrap for assertions on ARM
2021-05-18 16:45:17 +01:00