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

2184 commits

Author SHA1 Message Date
Tom Poole
eda5c696e5 macOS/iOS: Fix unguarded availability warnings 2022-04-19 11:54:55 +01:00
reuk
ce8aff22c3 StandardHeader: Include <utility> for GCC 12 compatibility 2022-04-06 15:43:09 +01:00
reuk
902a576b73 NullCheckedInvocation: Disable Waddress warning
When calling NullCheckedInvocation::invoke with a capture-less lambda,
GCC 9.3 determines that the expression
    std::declval<TheLambda>() != nullptr
is well-formed, and uses the version of invoke containing a nullptr
check. However, the compiler is also able to determine that this
expression can never be false, and emits a warning.
2022-03-31 12:46:55 +01:00
reuk
8fad301c13
File: Update documentation 2022-03-23 16:51:40 +00:00
reuk
fe3d42025b
VST3: Add channel mapping tests 2022-03-23 16:51:40 +00:00
Tom Poole
75a5508bdf Fix some copyright banners 2022-03-23 16:04:04 +00:00
reuk
ebac835673
Fix some deprecation warnings 2022-03-22 17:27:54 +00:00
reuk
833fd9bde2
NamedPipe: Avoid deadlocking on macOS when close and read are called simultaneously 2022-03-07 11:03:55 +00:00
reuk
afe5199848
AudioProcessorParameter: Add new ParameterID and Attributes types 2022-03-03 13:47:05 +00:00
Tom Poole
111bbc0979 Bump version number to 6.1.6 2022-02-28 12:53:10 +00:00
reuk
1d1d743b9f
Build: Add -Wdeprecated to recommended flags and fix new warnings 2022-02-23 10:56:10 +00:00
reuk
7eee7cd892
Windows: Fix non-C++14-compatible noexcept usage in mapi.h 2022-02-17 16:04:58 +00:00
reuk
fdfc279bea String: Fix logical error in hex parsing code 2022-02-07 14:24:11 +00:00
reuk
00e7fbf1c2 DirectoryIterator: Avoid recursing into previously-visited directories 2022-02-07 14:24:11 +00:00
reuk
c4022a08e5
NODISCARD: Use more robust language standard check 2022-01-31 11:11:12 +00:00
Roland Rabien
9d692c13cf Fix invalid usage of JUCE_NODISCARD 2022-01-29 13:49:36 -08:00
reuk
903873dad2
VST3: Add local search path on Windows
We haven't updated the default post-build copy paths yet, as the new
local directory is not yet well-supported by DAWs.
2022-01-28 16:09:59 +00:00
reuk
093dbc7df1
Plugin Scanning: Fix thread sanitizer issues in the AudioPluginHost 2022-01-27 18:43:22 +00:00
reuk
b80927fc91
Nodiscard: Add to builder-pattern functions 2022-01-27 18:43:21 +00:00
reuk
7d21a967e4
AudioBlock: Use new size_t overloads from FloatVectorOperations 2022-01-27 18:43:21 +00:00
Tom Poole
3c03693d07 Bump version number to 6.1.5 2022-01-26 13:00:05 +00:00
Tom Poole
c072b1bc8e Fix some typos 2022-01-25 11:48:46 +00:00
ed
e0e8e85d6b Add KeyboardComponentBase class for custom MIDI keyboard components and MPEKeyboardComponent class 2022-01-21 14:44:14 +00:00
reuk
640194c878
MinGW: Improve compatibility
With this patch applied, the DemoRunner should build under MinGW, and be
(nearly) feature-complete compared to the MSVC build.

Specifically, when building with MinGW:
- Adds support for accessibility
- Fixes build issues in the juce_video module
- Fixes a link issue in the VST3 wrapper when VST3_CAN_REPLACE_VST2 is
  defined
- Adds support for the new-style native FileChooser
- Tidies up some other low-severity warnings

Known issues:
- Direct2D rendering is still not supported when building with MinGW due
  to ABI compatibilities.
2022-01-17 10:58:18 +00:00
reuk
f429647ae9
MinGW: Add uuid definitions for MinGW-w64 2022-01-17 10:58:17 +00:00
attila
2e874e80cb ZipFile: Add path checks to uncompressEntry() 2022-01-12 13:16:57 +01:00
attila
a2cc9a8cd5 File: Fix isSymbolicLink() on Windows when querying non-existing paths 2022-01-12 13:06:47 +01:00
reuk
d66f9399ba
StringPairArray: Allow adding the contents of a std::unordered_map<String, String> 2022-01-10 22:15:19 +00:00
reuk
ca5c9fdae6
FloatVectorOperations: Add overloads accepting size_t element counts 2022-01-10 22:15:19 +00:00
ed
96383fb504 macOS: Fix nullptr dereference in WebInputStream on macOS versions < 10.10 2021-12-22 09:43:51 +00:00
Tom Poole
8a6e1980d0 Bump version number to 6.1.4 2021-12-20 11:06:15 +00:00
attila
f052e1becb Fix CharPointer_UTF8::isWhitespace() when encountering ideographic whitespace 2021-12-17 11:23:09 +01:00
reuk
48c6087faf Thread: Update macOS thread priority calculation
The Apple threading documentation [^1] says the following:

> The second argument to pthread_setschedparam is the desired policy,
  which can currently be one of SCHED_FIFO (first in, first out),
  SCHED_RR (round-robin), or SCHED_OTHER. The SCHED_OTHER policy is
  generally used for extra policies that are specific to a given
  operating system, and should thus be avoided when writing portable
  code.

This appears to differ from the policy semantics on Linux and BSD, where
FIFO and RR are both explicitly real-time policies.

Therefore, on Linux/BSD we only enable the RR policy if the requested
priority is 8 or higher. Meanwhile, on macOS, we map all thread
priorities (0 - 10) onto the RR policy with an appropriate priority.

[^1]: https://developer.apple.com/library/archive/documentation/Darwin/Conceptual/KernelProgramming/scheduler/scheduler.html
2021-12-14 22:50:09 +00:00
reuk
44404508fe Bump version number to 6.1.3 2021-12-08 15:26:08 +00:00
reuk
bf32f0dba9 Sanitizer Warnings: Bump sanitizer macro to support Xcode 11 onwards 2021-12-08 15:26:07 +00:00
reuk
d26945f476
ObjC Helpers: Ensure that all methods accept mandatory "self" and "selector" arguments 2021-12-07 19:08:11 +00:00
ed
81013b0517 Docs fix 2021-12-07 17:30:54 +00:00
ed
4c2c51eaf4 Check for nullptr comparison operator in NullCheckedInvocation::invoke() 2021-12-07 16:25:22 +00:00
ed
fcb4a8adb3 Fix NullCheckedInvocation::invoke() std::function signature to allow non-forwarding references 2021-12-06 14:27:00 +00:00
ed
fc0f6b1f2f Tidy up 2021-12-02 09:24:55 +00:00
reuk
69aa461be1
Time: Fix duplicate '-' symbols in UTC offset string 2021-11-24 16:20:37 +00:00
reuk
aa95939273
SystemStats: Set hasNeon flag correctly on M1 machines 2021-11-24 16:20:35 +00:00
reuk
81fa777ff7
ObjC Helpers: Automatically derive appropriate signature for function 2021-11-24 11:51:11 +00:00
reuk
4196b5e45b
macOS: Silence deprecation warnings on Monterey 2021-11-01 10:04:35 +00:00
reuk
17b8708852
WebBrowserComponent: Avoid leaking browsers on macOS 2021-10-26 16:52:16 +01:00
reuk
317083d409
Variant: Improve documentation for equals() 2021-10-25 09:51:21 +01:00
reuk
6244fc293f
CharacterFunctions: Avoid UB when parsing hex strings 2021-10-25 09:51:20 +01:00
ed
aabd65b0fd Text: Fix some build issues when JUCE_STRING_UTF_TYPE != 8 2021-10-14 16:52:31 +01:00
reuk
d5e9793cb1
Reservoir: Fix bug where incorrect buffer region could be read in some cases 2021-10-14 12:40:46 +01:00
reuk
d36c8b4c55
NamedPipe: Avoid early exits from writes on unavailable pipes 2021-10-14 12:40:25 +01:00