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

14388 commits

Author SHA1 Message Date
Tom Poole
61a03097ec JUCE version 8.0.0 2024-06-12 09:37:48 +01:00
Tom Poole
9e3b1985ca Update change list 2024-06-12 09:35:32 +01:00
Tom Poole
05b036272a Fix some Doxygen docstrings 2024-06-12 09:35:32 +01:00
Anthony Nicholls
4808fdce30 CoreAudio: Prevent racing between calls to start and stop a device 2024-06-12 09:35:32 +01:00
Tom Poole
16dac4aeb2 Merge the develop branch 2024-06-12 08:09:07 +01:00
attila
244af32715 AU Client: Suppress EnumCastOutOfRange Clang Analyzer warning 2024-06-12 08:08:32 +01:00
attila
2516ad808e WebBrowserComponent: Linux: Add support for libwebkit2gtk-4.1 2024-06-11 20:51:22 +02:00
attila
b5cbdfd980 ResizableWindow: Fix window becoming non-resizable when a constrainer is added
This is fixing a regression in f764026626.
2024-06-11 20:49:56 +02:00
Anthony Nicholls
59e98710f0 AudioUnit (host): Prevent potential out of bounds memory access
Reading or writing the kAudioUnitProperty_AudioChannelLayout property
could result in out-of-bounds reads or writes as AudioChannelLayout
has a variable length array as the last member of the struct
2024-06-11 15:30:06 +00:00
Anthony Nicholls
b7d5f64a8e CoreAudio: Prevent racing between calls to start and stop a device 2024-06-11 16:13:06 +01:00
reuk
95b49f668b
AudioChannelSet: Fix typos in comments 2024-06-11 11:34:05 +01:00
reuk
8acd81e587
Direct2D: Allow drawing rects with very small widths/heights 2024-06-11 11:34:05 +01:00
reuk
182dd84e59
Slider: Avoid updating internal Value when old and new values are both NaN
Without this change in place, setting the Value to NaN can cause a stack
overflow because the old and new values always compare unequal, causing
new change notifications to be sent.
2024-06-11 11:34:05 +01:00
reuk
2a264390e8
Direct2D: Update assertion to check for alignment against screen rather than current transform
This assertion is intended to mirror the behaviour of an
informational/performance diagnostic message raised by the D2D debugging
layer.

It seems the D2D diagnostic is raised when the proposed clip region is
aligned to the screen, not to the current transform.

Before this change, the assertion could incorrectly fire when clipping
to transformed rectangles. This could be seen when clicking the
star-shaped buttons in the ComponentTransformsDemo.

With this change in place, the assertion will still fire when e.g.
calling Graphics::reduceClipRegion on a screen-aligned rectangular path,
but will not fire when this path is skewed/rotated etc.
2024-06-11 11:34:04 +01:00
reuk
4122427748
FontOptions: Add some assertions to warn about misuse 2024-06-11 11:34:04 +01:00
reuk
d69dee0f5b
Font: Return correct result from getStringWidth after setting size in points
Previously, code such as the following would return a smaller string
width for larger tracking values:

    juce::Font f { juce::FontOptions{}.withPointHeight (16.0f) };
    const auto g = f.withExtraKerningFactor (1.0f);

    const auto a = f.getStringWidth ("foobar");
    const auto b = g.getStringWidth ("foobar");

With this change applied, the width 'b' is greater than the width 'a',
as expected.
2024-06-11 11:34:04 +01:00
reuk
e8b38b8922
Revert "Windows: Use new window hit-testing API to implement Windows window-management features like Aero Snap"
This reverts commit adc63cecb1.

Reverting this commit is only a temporary measure to facilitate a stable
release of JUCE 8. Further work on this feature will continue on
develop, and will likely be included in a future release of JUCE 8.
2024-06-11 11:34:04 +01:00
reuk
9c192940e0
VST3 Client: Avoid returning kResultNotImplemented from setComponentState
The base implementation of this function does nothing, and returns 'not
implemented'. It is more correct to return 'ok', to indicate that
setting the component state succeeded.
2024-06-11 11:34:04 +01:00
reuk
a42a498f5e
VST3: Add support for new wide/Atmos speaker layouts 2024-06-11 11:34:04 +01:00
reuk
34e454e3f1
AudioChannelSet: Fix formatting 2024-06-11 11:34:04 +01:00
reuk
57c308b685
AudioChannelSet: Add new ITU variants of 9.0.4, 9.1.4, 9.0.6, and 9.1.6 2024-06-11 11:34:04 +01:00
reuk
40b6ab9114
Resave all projects 2024-06-11 11:34:04 +01:00
reuk
632bdafab7
VST3 Client: Update moduleinfotool to write compatibility info from plugin
Reintegrates changes from 06a2089872
2024-06-11 11:34:03 +01:00
reuk
ebae624d52
VST3: Update SDK to 3.7.11 2024-06-11 11:34:03 +01:00
attila
17611f74ca Minor code cleanup 2024-06-10 17:51:26 +02:00
attila
c2b461026b Fix shaping for text that uses a single CR for line breaking 2024-06-10 17:51:26 +02:00
Anthony Nicholls
c4d5ffa7ab ListenerList: Add a thread safe ListenerList type 2024-06-07 20:25:39 +01:00
Anthony Nicholls
0dfff1454c ListenerList: Optimise empty listener list 2024-06-07 20:25:39 +01:00
Anthony Nicholls
315167a91a ValueTree: Optimise when listeners don't remove themselves 2024-06-07 20:25:39 +01:00
Oliver James
a469daf5be Resave all projects 2024-06-07 09:23:23 +01:00
Oliver James
3988d492ac Core: Move __DATE__ and __TIME__ into a dedicated TU 2024-06-07 09:23:23 +01:00
attila
57d1ad9ca6 Suppress GCC warnings related to the anonymous namespace used around choc::javascript
The warnings are emitted by GCC on Linux, since the commit
dbd3b4f34b.
2024-06-06 13:48:51 +02:00
attila
2540c807d8 WebViewPluginDemo: Implement AudioProcessorEditor::getControlParameterIndex 2024-06-06 13:48:51 +02:00
attila
3339843f66 Resave all projects 2024-06-06 13:48:51 +02:00
attila
abdf9a6b75 Add WebView related helper classes for implementing AudioProcessorEditor::getControlParameterIndex 2024-06-06 13:48:51 +02:00
attila
d61e516bbc Add the parameterIndex property to all WebView related parameter ParameterAttachments
This affects the WebSliderParameterAttachment,
WebToggleButtonParameterAttachment, and WebComboBoxParameterAttachment
classes.
2024-06-06 13:48:51 +02:00
attila
0d8b05e8ee WebBrowserComponent: Enable click-through behaviour for WkWebView, add option to disable it
The default is enabled to behave similarly to NSViewComponentPeer. The
behaviour for the old Apple WebView is unchanged.
2024-06-06 13:48:51 +02:00
attila
4d2986ea59 Add new WebBrowserComponent option for file access control on Apple platforms
If allowAccessToEnclosingDirectory is set to true, it is now possible
for the WkWebView implementation to access sibling files relative to a
file specified with the file:// scheme.

This allows an iOS app to load an HTML file in the documents directory,
and that HTML file can reference and load image files inside the HTML
file's parent directory.
2024-06-06 13:48:51 +02:00
attila
b9cb7d4fe3 Make WebView2 installation instructions more robust 2024-06-06 13:48:51 +02:00
reuk
113009c074
VST3 Client: Avoid returning kResultNotImplemented from setComponentState
The base implementation of this function does nothing, and returns 'not
implemented'. It is more correct to return 'ok', to indicate that
setting the component state succeeded.
2024-06-05 19:44:13 +01:00
reuk
b66079361c
VST3: Add support for new wide/Atmos speaker layouts 2024-06-05 19:44:13 +01:00
reuk
966b69abf9 AudioChannelSet: Fix formatting 2024-06-04 19:42:19 +01:00
reuk
3f98bb12c7 AudioChannelSet: Add new ITU variants of 9.0.4, 9.1.4, 9.0.6, and 9.1.6 2024-06-04 19:42:19 +01:00
reuk
c0e0f561d3 Resave all projects 2024-06-04 19:42:19 +01:00
reuk
ca37d6b29c VST3 Client: Update moduleinfotool to write compatibility info from plugin
Reintegrates changes from 06a2089872
2024-06-04 19:42:19 +01:00
reuk
a87126227f VST3: Update SDK to 3.7.11 2024-06-04 19:42:19 +01:00
Oliver James
2cdb78e3e5 Resave all projects 2024-06-04 10:19:58 +01:00
Oliver James
7306fe1789 Projucer: Remove user login and license check code 2024-06-04 10:15:38 +01:00
Anthony Nicholls
fcaaf38c58 DemoRunner: Prevent infinite recursion in the AnimationEasing demo 2024-06-03 12:33:20 +01:00
reuk
f764026626
ResizableWindow: Disable resizing border for desktop windows 2024-05-31 11:43:30 +01:00