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

14923 commits

Author SHA1 Message Date
tpoole
51a8a6d7ae JUCE version 8.0.6 2025-01-10 09:30:47 +00:00
tpoole
4820fe7cda Docs: Add some missing Doxygen markup 2025-01-10 09:30:22 +00:00
tpoole
f1a6f299c9 Resave all projects 2025-01-10 09:30:00 +00:00
tpoole
0baffff182 Bump version number to 8.0.6 2025-01-10 09:29:00 +00:00
tpoole
7e8b2b25ae Docs: Add some missing Doxygen markup 2025-01-10 09:25:04 +00:00
Attila Szarvas
873bd8e537 Windows: Projucer: Turn 32/64 bit MSVC toolchain mismatch error into a warning
The warning informs about a resolvable situation that will cause an
error during LV2 plugin build steps, and suppresses VST3 manifest
generation.
2025-01-09 17:15:32 +00:00
tpoole
911529160b JUCE version 8.0.5 2025-01-08 14:26:39 +00:00
ed
a3f6661f5d Projucer: Fix relative paths for Android resource files 2025-01-08 14:26:14 +00:00
tpoole
7cd4e91e45 Resave all projects 2025-01-08 14:24:28 +00:00
tpoole
902ddc7567 Bump version number to 8.0.5 2025-01-08 14:23:21 +00:00
attila
d73b1768a7 Fall back to default sans serif font if resolution would fail otherwise
This restores the JUCE 7 behaviour when the JUCE 8 font fallback
mechanism fails to resolve a non-null Typeface::Ptr. This behaviour is
significant when the base font specified is not available on the system.
2025-01-07 17:29:43 +01:00
attila
ba61c9edb9 Fix crash when no valid Typeface::Ptr can be resolved 2025-01-07 17:29:43 +01:00
reuk
8be78e9f7f
WebBrowserComponent: Avoid nullptr dereference when WebView2 loader library is not present 2025-01-07 11:21:14 +00:00
reuk
9092182605
WebBrowserComponent: Fix leak on Windows
Co-authored-by: Aid Vllasaliu <vllasaliu.aid@gmail.com>
2025-01-07 11:21:05 +00:00
Oliver James
f72cf8ff14
WebBrowserComponent (macOS): Catch use after free async callback bug 2025-01-07 11:19:56 +00:00
Oliver James
cafe62dd88 SystemStats (macOS): Add macOS 15 (Sequoia) enum 2025-01-06 11:52:55 +00:00
Oliver James
7145356583 AudioProcessor: Update getNameForMidiNoteNumber docs for note ranges 2024-12-27 12:24:18 +00:00
reuk
29e6bee01f
OpenGL: Fix mouse-move handling for OpenGL views
Since b108fe26c3, JUCE NSViews have
ignored mouse movements for child views. However, this causes issues for
OpenGL views, which still expect to receive mouse input via the parent
view. This fix makes the inner OpenGL view effectively invisible to the
mouse, so all mouse events are handled by the owning JUCE view.
2024-12-19 22:58:33 +00:00
reuk
0aafcdbb4c
OpenGL: Adjust formatting to reduce line lengths 2024-12-19 22:57:36 +00:00
Oliver James
98e21c6ad8 PopupMenu: Move section header size calculation into LookAndFeel methods.
This fixes a bug introduced in the previous commit that caused all menu items to be sized too large.
2024-12-19 21:51:40 +00:00
Oliver James
e360d83057 PopupMenu: Move IdealSize modifiers to LookAndFeel 2024-12-19 14:00:23 +00:00
Oliver James
8be4c49c19 Projucer: Warn when MSVC toolchain is x86 and system is x64 2024-12-19 13:58:58 +00:00
Oliver James
9b959bd223 AudioProcessor: Use std::optional in TrackProperties 2024-12-19 13:36:35 +00:00
Oliver James
59ca34daaf Projucer (MSVC): Move copy plugin step into VST2 codepath 2024-12-19 11:37:38 +00:00
Oliver James
96e4ba06af AudioProcessor: Add VST2/VST3 midi note name support
Co-authored-by: Roland Rabien <roland@rabien.com>
2024-12-19 10:15:34 +00:00
Anthony Nicholls
ad3457434e SimpleShapedText: Prevent running tests when no default typefaces can be found 2024-12-18 17:55:27 +00:00
Anthony Nicholls
7a1f397de6 Fonts (Linux): Return a null typeface when no default typefaces can be found 2024-12-18 16:00:44 +00:00
tpoole
4d5636c66d Fix some text formatting 2024-12-18 13:18:50 +00:00
tpoole
df14e83838 Image: Remove an unused function 2024-12-18 13:04:27 +00:00
attila
9dd8a2af13 Fix SimpleShapedText::getTextRange() when the input text contains hard breaks
The issue prior to this commit would be observable when using the
GlyphArrangement functions e.g. addFittedText.

This is a fix for a regression introduced in
9223805b9c.
2024-12-17 18:27:30 +01:00
attila
633777e005 UnitTestRunner: call DeletedAtShutdown::deleteAll() before exiting
This allows us to exercise classes using DeletedAtShutdown in tests,
without triggering leaked object warnings
2024-12-17 18:27:30 +01:00
reuk
52beda1396 ImagePixelData: Speed up format conversions by hoisting switch statements out of tight loops 2024-12-13 14:49:46 +00:00
reuk
d3d7d4c89c VBlank: If previous frame is still in progress, wait until next frame to trigger a new vblank
Previously, the vblank's thread loop would block on each iteration until
the current async callback had finished, at which point a new async
callback would be immediately triggered.

The new implementation only waits on the vblank event. If a vblank
callback is still in progress the next time the vblank event is
signalled, we assume the last frame is overrunning and avoid sending a
new async update.

The intention of this change is to avoid saturating the message thread
with expensive vblank callbacks. It's also nice to remove a lock,
although that's just an incidental change.
2024-12-13 14:49:46 +00:00
reuk
f887979ec0 Direct2D: Fix performance issue when drawing transformed unclipped regions
This issue could be observed in the GraphicsDemo's SVG pane, when the
"rotation" option was enabled.

Drawables internally enable the unclipped painting flag, which normally
prevents slow clipping when drawing subcomponents of the drawable.

The Direct2D graphics context was using the frame area as the default
area, used to signal that no clipping should be applied. However, when
non-axis-aligned transform was active, this area was incorrectly applied
as a geometric clipping region. D2D geometric clips are relatively slow,
so this caused large slowdowns.

This solution adds a flag that is set whenever a clip is explicitly
requested. If no clip is explicitly requested, then clipping will be
entirely bypassed. This can make rendering of Drawables significantly
faster.
2024-12-13 14:49:46 +00:00
reuk
336dcfc08c Direct2DImage: Update interface to accept a Device instead of a DeviceContext 2024-12-13 14:43:06 +00:00
reuk
21357f26b5 OpenGLTexture: Respect pixelStride when loading Image to texture 2024-12-13 14:42:26 +00:00
reuk
f05031a898 Image: Convert structs to lambdas in implementation 2024-12-13 14:42:26 +00:00
reuk
dcca72484f Image: Update return type of getPixelData to avoid dangling pointers 2024-12-13 14:42:26 +00:00
reuk
0be5ad1afc CMake: Fix invalid DEPENDS argument passed to add_custom_command
add_custom_command rejects this argument in CMake 3.31+ according to
CMP0175.
2024-12-13 14:42:26 +00:00
reuk
80bb7b0861 ScopedThreadDPIAwarenessSetter: Make moveable 2024-12-13 14:42:26 +00:00
Anthony Nicholls
880b76983e Graphics: Use cached glyph shaping when only the position of text changes 2024-12-13 14:41:26 +00:00
reuk
4f474d97f4
FileChooser: Fix double-delete of UTType instances 2024-12-12 12:58:54 +00:00
Anthony Nicholls
34f7d467c9 VST2 Client: Fix compilation issue when compiling with JUCE_VST3_CAN_REPLACE_VST2 2024-12-11 14:50:49 +00:00
Oliver James
bc6a7ecdf5 Resave all projects 2024-12-11 13:50:13 +00:00
Oliver James
f608e7cce2 juce_audio_devices: Add support for JACK on Windows and macOS 2024-12-11 13:50:13 +00:00
Oliver James
b7d0364e69 AudioTransportSource: hasStreamFinished returns true when stream finished 2024-12-11 13:48:47 +00:00
attila
6f4a2f6b6a Upgrade to harfbuzz 10.1.0 2024-12-10 13:43:51 +01:00
reuk
9b73f07e07 AUv3 Client: Add support for MIDI sysex input 2024-12-08 22:25:11 +00:00
reuk
330792dcee AUv3 Client: Use MIDIEventList for output 2024-12-08 22:25:11 +00:00
reuk
a6fa345ccc SheenBidi: Disable implicit-fallthrough warning for clang/gcc 2024-12-08 22:25:11 +00:00