1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-22 01:34:21 +00:00
Commit graph

8543 commits

Author SHA1 Message Date
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
Tom Poole
d9c25ec17d ADSR: Fix a bug in noteOn after setting new parameters 2022-03-31 10:25:18 +01:00
Oli
b918fd3159 AudioProcessorGraph: Fix MIDI channel bug and graph execution modification
MIDI only plugins are no longer provided valid audio buffers
Graph nodes are only executed when they have active connections
2022-03-28 20:47:30 +01:00
Oli
15bdae16b2 DirectoryContentsList: Fix a data race
Fix improper use of non-atomic pointer validity to report state of background search thread state
2022-03-28 20:47:30 +01:00
Tom Poole
ed4f638ff7 Line: Add explicit methods for lengthening the start and end points 2022-03-24 14:01:34 +00:00
Tom Poole
d5d9a02c8f ChildProcessCoordinator: Fix an issue with a missing ping thread
Following commit 093dbc7df1 pings of a
child process connection need to initialised explicitly. This commit
adds a missing initialisation.
2022-03-24 14:01:34 +00:00
Tom Poole
27abc89396 AudioProcessLoadMeasurer: Fix a data race 2022-03-24 14:01:34 +00:00
attila
5343f70d02 AU Host: Avoid using wrong BundleResourceMap when opening plugin from file
Previously it was possible to have a dangling resource map. In that case
opening an AU from a file that did not have a resource map would lead to
using the previously unclosed map and attempting to load the previous
plugin again.
2022-03-23 18:40:47 +00:00
attila
55b00fc846 Component: Fix mouseEnter and mouseExit positions when blocked by modal 2022-03-23 18:40:47 +00: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
reuk
bb2b36a253
VST3 Client: Properly map between VST3 and JUCE layouts 2022-03-23 16:51:40 +00:00
reuk
bfa4f93a43
VST3 Host: Properly map between VST3 and JUCE layouts 2022-03-23 16:51:40 +00:00
reuk
d69706e08a
AudioProcessorGraph: Avoid race on AudioProcessor::suspended 2022-03-23 16:51:40 +00:00
reuk
5b3aa7fc2d
AU Client: Ensure processBlock receives AudioBuffer of correct size
fc378aaf9a introduced a regression where
plugins with no audio channels (such as MIDI FX plugins) would receive
an audio buffer with a length-in-samples of '0', rather than the actual
block length.
2022-03-23 16:51:40 +00:00
reuk
88b5f0dc95
VST: Remove unused function 2022-03-23 16:51:40 +00:00
reuk
a8c160691c
VST3: Tidy up channel layout conversion tables 2022-03-23 16:51:40 +00:00
reuk
8c718e7ac7
VST3: Map proximity channels correctly 2022-03-23 16:51:40 +00:00
reuk
18300abde9
VST3 Client: Add host API checks to setBusArrangements and activateBus 2022-03-23 16:51:39 +00:00
reuk
b710a248bd
UnitTests: Rename UMPTests file for consistency 2022-03-23 16:51:39 +00:00
Tom Poole
75a5508bdf Fix some copyright banners 2022-03-23 16:04:04 +00:00
reuk
e6b6bc2cfc
AudioProcessorValueTreeState: Add default values for Parameter constructor arguments
These were mistakenly removed in afe5199848
2022-03-23 11:26:57 +00:00
reuk
970483b1cd
SSE SIMDNativeOps: Reimplement sum for SSE3 to work around an AppleClang bug
With clang 13.0.0, and Apple clang version 13.1.6 (clang-1316.0.21.2),
the following code fails to compile with `-std=c++20 -O3 -msse3`:

    #include <immintrin.h>

    auto test (__m128 a)
    {
        return _mm_hadd_ps (_mm_hadd_ps (a, a), a);
    }
2022-03-23 11:21:50 +00:00
reuk
c6f703aa57
SIMDRegister Test: Tidy up template functions 2022-03-23 11:21:50 +00:00
reuk
ebac835673
Fix some deprecation warnings 2022-03-22 17:27:54 +00:00
Tom Poole
87a4ab4a78 Disable the effect of setPaintingIsUnclipped on components with children 2022-03-17 22:06:04 +00:00
Tom Poole
165d8b0ecd macOS: Make the behaviour of ComponentPeer::grabFocus match the other platforms
This partially reverts f43784dc: "macOS:  Propagate focus loss message when resigning key window status and only grab focus if window can become the key window"
2022-03-17 21:52:33 +00:00
Tom Poole
0d82541728 Point: Fix a division by zero in getPointAlongLine 2022-03-17 11:34:32 +00:00
reuk
db3a0a1ae8
CoreGraphics: Avoid allocating over-large buffers for clipped image data 2022-03-09 17:06:28 +00:00
Tom Poole
8573fb2442 macOS: Fix default buffer size for AirPods Pro 2022-03-07 14:02:11 +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
55a8e10262
Mac Accessibility: Provide slightly more descriptive value states for checkable items 2022-03-07 11:03:55 +00:00
reuk
c51b331318
PopupMenu Accessibility: Report menu-item ticked state on Windows 2022-03-07 11:03:55 +00:00
reuk
7b1fba4bae
Windows Accessibility: Fixed backspace character reporting under NVDA
The change introduced in 92f350e617 led to
a regression in the MoveEndpointByUnit function. In this case, a
backward movement by a single character *should* move the endpoint as
long as it remains within the text range.

The issue addressed by the faulty commit is better fixed by
special-casing the 'character' unit case in the ExpandToEnclosingUnit
function.
2022-03-07 11:03:54 +00:00
Tom Poole
9ccfea9001 Component: Make getApproximateScaleFactorForComponent take a const argument 2022-03-04 10:25:51 +00:00
reuk
afe5199848
AudioProcessorParameter: Add new ParameterID and Attributes types 2022-03-03 13:47:05 +00:00
reuk
26aa932e5f
AudioProcessor: Validate parameter version hints 2022-03-03 13:44:49 +00:00
reuk
bb0a40e009
AU Client: Order parameters according to version hint 2022-03-03 13:44:49 +00:00
reuk
3d38ca764e
AU Client: Switch HashMap to unordered_map 2022-03-03 13:44:49 +00:00
reuk
7068e70758
AudioProcessorParameter: Add getVersionHint function 2022-03-03 13:44:48 +00:00
reuk
5186ac71e2
iOS: Fix no-matching-function error 2022-03-03 12:27:04 +00:00
Tom Poole
111bbc0979 Bump version number to 6.1.6 2022-02-28 12:53:10 +00:00
Tom Poole
04a8a44a85 Make Path::intersectsLine const 2022-02-24 14:20:08 +00:00
attila
54ea55325f Windows Accessibility: Only call UiaDisconnectAllProviders in
standalone apps

This change fixes a crash in Reaper when closing a plugin window
with ALT + F4.
2022-02-24 14:07:04 +01:00
reuk
288765b3c8
AU Client: Avoid potential out-of-bounds write when clearing buffers
Fixes an issue introduced in 72fa2d98e1
where zeromem might write past the end of the channel buffer.
2022-02-23 10:56:12 +00:00
reuk
45ae98effd
OpenGLContext: Correctly size GL view when using a non-unity global scale 2022-02-23 10:56:12 +00:00
reuk
4cf18f0e2c
X11: Avoid leaking result of XGetAtomName 2022-02-23 10:56:12 +00:00
reuk
eb6e579f0a
ComponentPeer: Correctly scale drag and drop coordinates to account for global scale 2022-02-23 10:56:12 +00:00
reuk
9bd52d59af
NSViewComponentPeer: Avoid making temporary windows (dropdowns, callouts) full-screen when in full-screen mode
eabcfbad26 incorrectly set the collection
behaviour NSWindowCollectionBehaviorFullScreenPrimary on all top-level
components, which would cause popup menus and callouts to appear in
their own space when launched from an app running in full-screen mode.
2022-02-23 10:56:11 +00:00
reuk
c9997bd613
Windows: Correctly dispose of hook
This fixes an issue where REAPER was unable to completely unload VST3
plugins.
2022-02-23 10:56:11 +00:00