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

15044 commits

Author SHA1 Message Date
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
reuk
ded1590ecb
HarfBuzz: Silence nontrivial-memcall warnings
These warnings are emitted by Clang 20.1
2025-03-19 11:06:17 +00:00
reuk
51be8b9332
Android: Remove unnecessary SDK version checks 2025-03-19 11:06:17 +00:00
reuk
80b190b75d
Projucer: Bump minimum supported Android API level 2025-03-18 14:38:12 +00:00
attila
ae4bca24f4 TextEditor: Fix crash when the caret is beyond a newline in the last position 2025-03-18 15:14:10 +01:00
Tom Poole
53b96db0d5 GHA: Fix nightly build notifications 2025-03-18 06:33:06 -07:00
attila
4362f9e0df File: Document setReadOnly behaviour for Windows directories 2025-03-17 15:32:59 +01:00
attila
273c7936d3 Direct2D: Fix text drawing using gradients when the screen scaling is 1 2025-03-17 15:32:59 +01:00
attila
432a7e1c9a Fix C++20 compilation 2025-03-14 10:03:11 +01:00
Oliver James
04ed3559a6 CMake (MSVC): Make Z7 default debug info flag 2025-03-13 13:14:13 +00:00
Oliver James
62028e6773 Projucer (MSVC): Make Z7 default debug info flag 2025-03-13 13:14:13 +00:00
attila
9ce2feaf41 TextEditor: Improve Unicode editing behaviour and performance 2025-03-13 12:16:16 +01:00
attila
427852836c ShapedText: Break ligatures into multiple iterable placeholder glyphs 2025-03-13 12:16:16 +01:00
attila
bc093fa64c Ranges: ShapedText: Use out params for improving TextEditor performance 2025-03-13 12:16:16 +01:00
attila
a4f73a37af ShapedText: Fix input text range calculation logic during wrapping 2025-03-13 12:16:16 +01:00
attila
bfbdc4844d ShapedTextOptions: Fix uninitialised member variable 2025-03-13 12:16:16 +01:00
attila
50863c144e ShapedTextOptions: Add equality operators 2025-03-13 12:16:16 +01:00
attila
d72df5faa3 ShapedText: Add bidirectional lookup functions relating positions, input indices and glyph indices 2025-03-13 12:16:16 +01:00
attila
6cf697bd6d Ranges: Add equality operators 2025-03-13 12:16:16 +01:00
attila
2842c8ef8e Add detail::Ranges::getRanges() 2025-03-13 12:16:16 +01:00
attila
6c3043f082 Add detail::UnicodeHelpers::getLineBreaks 2025-03-13 12:16:16 +01:00
attila
a07098d479 Add ShapedText::getHeight() 2025-03-13 12:16:16 +01:00
attila
213d3fb56a Add RangedValues::getIntersectionsStartingAtZeroWith 2025-03-13 12:16:16 +01:00
attila
2d24504cd1 Change the return type of RangedValues::getIntersectionsWith
This is to avoid converting the returned value to RangedValues at the
call site.
2025-03-13 12:16:16 +01:00
attila
8dccb38081 Make IntersectingRangedValues independent from the RangedValues type
With this change you can use makeIntersectingRangedValues() not just for
RangedValues objects, but any object that has a begin() and end()
function returning a RangedValuesIterator.
2025-03-13 12:16:16 +01:00
attila
5b04493fb8 Ranges: Make RangedValuesIterator independent from the RangedValues type
This commit also relaxes the requirements imposed on the types for which
RangedValuesIterators can be created.
2025-03-13 12:16:16 +01:00
attila
43608a5208 Ranges: Store more information in Split and Change operations
This allows implementing more sophisticated logic in types wrapping
Ranges and RangedValue objects.
2025-03-13 12:16:16 +01:00
attila
ef840b7472 Use detail::RangedValues<Font> on ShapedText related interfaces
Previously using the FontForRange type was motivated by hiding the
RangedValues type in case we wanted to expose the ShapedText API. This
introduced unnecessary conversions between FontForRange and
RangedValues<Font>.
2025-03-13 12:16:16 +01:00
attila
ad43702e88 Add detail::RangedValues::shift 2025-03-13 12:16:16 +01:00