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

8533 commits

Author SHA1 Message Date
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
reuk
89a7d05180
VST3 Client: Avoid calling performEdit during setState
The host is guaranteed to re-scan all parameter values after setting a
new state on the plugin, so there's no need to notify the host about
parameter changes that happen during the setState call.

This also avoids a problem where Bitwig would complain about invalid
parameter IDs in 'engine.log' when loading projects containing JUCE
VST3s. These log messages were produced because a call to setState was
made before Bitwig registered the plugin's parameters, and the setState
call in turn called performEdit with parameter IDs that were yet to be
registered.
2022-02-23 10:56:11 +00:00
reuk
c0b78adcda
StandaloneFilterWindow: Respect editor's size constraints when adjusting size of component peer 2022-02-23 10:56:11 +00:00
reuk
63b6ecde4f
AudioProcessorParameter: Fix documentation 2022-02-23 10:56:10 +00:00
reuk
1d1d743b9f
Build: Add -Wdeprecated to recommended flags and fix new warnings 2022-02-23 10:56:10 +00:00
reuk
fb1f94767d
AU Host: Improve allocation checks
If the block size changes from block to block, then it's possible for
inputBuffer to be smaller than buffer, but for buffer to be smaller than
the initially-allocated size of inputBuffer.
2022-02-23 10:56:10 +00:00
reuk
e1a7fe671a
Component: Make wheel/magnify behaviour more intuitive for disabled components
The previous implementation would pass the mouse wheel event up to the
component's parent, as long as the parent was enabled. This meant that a
wheel event on the innermost component of a hierarchy such as
"[[disabled] enabled]" would send the event to the parent, but a wheel
event on the innermost component of a hierarchy such as
"[[[disabled] disabled] enabled]" would 'eat' the event and prevent it
from propagating.

After this change, unhandled mouse wheel events will always be passed to
the nearest enabled parent. This behaviour is more consistent and
intuitive.
2022-02-23 10:56:10 +00:00
reuk
c229d160f9
PluginDescription: Fall back to using deprecatedUID in createIdentifierString() if the new uniqueID is not known 2022-02-23 10:56:10 +00:00
reuk
9e31eb1c6a
LookAndFeel: Update default name for tab/toolbar missing-item button
This button is used to access hidden toolbar items, as well as hidden
tabs. The old "tabs" name was misleading when the button was located in
a toolbar.
2022-02-23 10:56:10 +00:00
reuk
eb58b471c7
Toolbar: Add accessible name for custom popup menu item 2022-02-23 10:56:10 +00:00
reuk
6d404236e2
Toolbar: Fix missing-items button when LookAndFeel changes after construction of toolbar
Previously, setting a new look and feel would create a new missing-items
button, but would not add it to the toolbar or set the onClick callback.
2022-02-23 10:56:09 +00:00