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

15072 commits

Author SHA1 Message Date
attila
d2d5e9bdd2 TextEditor: Fix setLineSpacing
Applies the previously missed line spacing value of the TextEditor.

The changes in JustifiedText fix calculating the vertical position of
the first line for the case where ShapedTextOptions has the following
settings:

isBaselineAtZero() == false,
getHeight().has_value() == false
getLeading() > 1.0f

This case however is only triggered by the TextEditor, as with all
functions in GlyphArrangement at least one setting is different.
2025-04-23 18:11:26 +02:00
attila
e23969f3ce TextEditor: Fix drawing text in the wrong colour 2025-04-23 18:11:26 +02:00
Oli
3b43b7ca13 Direct2D: Reduce DirectX resource thrashing in Direct2D Swapchain 2025-04-22 12:53:46 +01:00
Oli
878ac1a23f DirectX: Reduce shared resource thrashing in VBlank 2025-04-17 14:23:32 +01:00
attila
c786e6160c Direct2D: Fix fillAlphaChannelWithCurrentBrush when the source position is non-zero 2025-04-17 10:27:24 +02:00
attila
087f915595 NSViewComponentPeer: Ignore mouseDragged messages during DnD operations
Prior to this change trying to drag and drop a file onto a target inside
a Viewport could cause hectic scrolling events.
2025-04-17 10:27:24 +02:00
attila
0943197e23 MacOS: Ensure that Bluetooth MIDI dialogue remains visible when we have always on top windows
This commit uses the same logic for the Bluetooth pairing window that we
use for JUCE dialogues and raises its level to NSFloatingWindowLevel
when there are always on top windows.
2025-04-16 18:08:29 +02:00
reuk
e05320998c CapabilityInquiryDemo: Fix build failures when using new C++ standards (20, 23) with old MSVC toolchains (2019 v142) 2025-04-15 11:11:21 +01:00
reuk
a8c85f5969
SafePointer: Add new equality operators to avoid ambiguous operator warnings with clang 14 2025-04-14 13:05:28 +01:00
reuk
17bf5c167c
ObjC: Silence Wcast-function-type-mismatch warnings when building with Wextra for x86_64 2025-04-14 13:05:22 +01:00
Oli
e6d6ba6984 CapabilityInquiryDemo: Fix potential C++23 comparison warning 2025-04-14 11:34:12 +01:00
reuk
392442906e
CIProfileHost: Fix shadowing warning 2025-04-10 17:28:17 +01:00
reuk
ad2315fdea
CapabilityInquiryDemo: Fix unused-variable warning 2025-04-10 17:28:17 +01:00
reuk
520be826c0
CapabilityInquiryDemo: Add getting-started advice 2025-04-10 17:28:17 +01:00
reuk
d08577e507
DemoRunner: Add CapabilityInquiryDemo 2025-04-10 17:28:17 +01:00
reuk
e30670a69a
AudioProcessorGraph: Add missing callback lock 2025-04-10 17:28:17 +01:00
reuk
43b9dc4905
AudioProcessorGraph: Tidy up long line 2025-04-10 17:28:17 +01:00
reuk
776de625f9
AudioPluginHost: Fix double-precision processing for internal plugins 2025-04-10 17:28:17 +01:00
reuk
e555a171f5
AudioPluginDemo: Enable double-precision processing 2025-04-10 17:28:17 +01:00
reuk
5297df9995
AudioProcessorGraph: Remove unnecessary precision conversion buffer
The double-precision buffer is unnecessary because internal nodes should
be prepared using the same precision as the graph itself, and all
AudioProcessors *must* support single-precision processing. Therefore,
if the graph is prepared to use single-precision, then all inner nodes
*must* also use single-precision.

This change also shares the remaining temporary buffer.
2025-04-10 17:28:17 +01:00
reuk
a31cadaa18
AudioProcessorGraph: Add constexpr annotations 2025-04-10 17:28:17 +01:00
reuk
20b5e92559
Add missing JUCE_API annotations 2025-04-10 17:28:17 +01:00
attila
99b63cf038 WavAudioFormat: Fix reading odd-sized INFO chunks in a LIST block 2025-04-10 17:55:46 +02:00
attila
6ba9a380ef Add const overload for ValueTreePropertyWithDefault::getPropertyID 2025-04-10 16:23:13 +02:00
attila
fbcd416a84 Prevent Thread::sleep waking up on POSIX systems when receiving signals 2025-04-10 16:23:13 +02:00
attila
08b82c796b iOS: WebBrowserComponent: Fix unguarded feature only available on 18.4+ 2025-04-10 15:29:03 +02:00
reuk
8f6157142b
Zlib: Remove extern "C" for declarations in bundled private namespace 2025-04-09 14:14:50 +01:00
reuk
953a404359
VST3: Silence clang-20 nontrivial-memcall warning 2025-04-09 12:07:43 +01:00
Tom Poole
10a589619b JUCE version 8.0.7 2025-04-08 10:52:40 +01:00
reuk
f6571c434e JACK: Fix missing-prototype and unused-function warnings emitted by clang
Co-authored-by: Pierre Guillot <guillotpierre6@gmail.com>
2025-04-08 10:52:01 +01:00
Tom Poole
f503b0ea38 Resave all projects 2025-04-08 10:51:07 +01:00
Tom Poole
99b752a1d2 Bump version number to 8.0.7 2025-04-08 10:51:07 +01:00
Tom Poole
f76d1eecbe GHA: Add a workflow to publish a GitHub release 2025-04-08 09:33:52 +01:00
attila
9083cd9135 Fix TextEditor crash when Font resolution fails 2025-04-02 15:33:27 +02:00
attila
9c0aeb9e00 ShapedText: Fix potential crash caused by invalid Unicode strings
This change also fixes bad access that could happen with \r\n
line terminators. An incorrectly sized buffer meant that \n was
clobbered by the null terminator.
2025-04-02 15:33:27 +02:00
attila
bdc515e424 ShapedText: Fix crash caused by failing to find a fallback font for all codepoints 2025-04-02 15:33:27 +02:00
reuk
eca83213eb
Direct2D: Fix issue where vertical/horizontal lines were ignored by strokePath 2025-04-02 10:57:09 +01:00
reuk
e3df22a4ea
NSViewComponentPeer: Fix use-after-free when closing windows with the keyboard 2025-04-01 11:49:48 +01:00
attila
cac1ad8c1e Update JavascriptEngine documentation 2025-03-28 18:47:16 +01:00
attila
2f5f8d1e7e Fix doc in FileOutputStream 2025-03-28 18:47:16 +01:00
attila
9c867286ae Add missing documentation tag for WebViewLifetimeListener 2025-03-28 18:47:16 +01:00
Tom Poole
ef5134e288 Doxygen: Remove confusing header file information 2025-03-28 12:47:40 +00:00
attila
5aab60f4e5 Direct2D: Fix text drawing using gradients 2025-03-28 12:19:11 +01:00
attila
7f4176e259 Fix potential crash in Ableton Live when dismissing the plugin window with Esc
The crash could be reproduced with a WebBrowserComponent, but it was not
the root cause of it.
2025-03-27 17:41:18 +01:00
Anthony Nicholls
86b17ef4fb Projucer: Call post export script after removing old generated code 2025-03-26 09:31:38 +00:00
attila
bd015f5c97 Fix psabi warning emitted by GCC on ARM64
The type std::pair<Point<float>, float> inherits from an empty base on
C++17. Due to a bug in GCC 10.1 this would prevent the compiler from
treating it as a HFA type, and it would use a different register to pass
it, than it does in newer GCC versions. Because of this ABI change an
ABI warning is emitted by GCC today, hinting at this fact.

By using a custom struct that does not inherit from an empty base we are
avoiding emitting this warning.
2025-03-25 10:20:57 +01:00
attila
5f5a247f82 TextEditor: Fix centred and right alignment when word wrap is disabled 2025-03-20 21:12:32 +01:00
reuk
9730cd2808
FileChooser: Store strong reference to Native instance inside async callback 2025-03-19 11:06:18 +00:00
reuk
cd981c1b1a
FileChooser: Guard against use-after-free 2025-03-19 11:06:18 +00:00
reuk
5e44dc0b95
DragAndDropContainer: Fix issue where drag images in plugins could appear on the incorrect display
This issue could be seen when dragging widgets (e.g. rows in the
ValueTreesDemo) from a plugin on a multi-monitor Windows system.
2025-03-19 11:06:17 +00:00