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

15593 commits

Author SHA1 Message Date
reuk
d64b9e7782
JNI: Add WeakGlobalRef helper type 2025-09-17 12:50:05 +01:00
reuk
8ce1f19bf0
JNI: Tidying 2025-09-17 12:50:05 +01:00
reuk
99d8b9b5e1
iOS: Fix sample rate detection on iOS 26 2025-09-16 22:46:56 +01:00
Tom Poole
60a19f5264 CI: Always trigger a nightly build 2025-09-15 12:29:53 +01:00
Tom Poole
c3ac6ad011 CI: Enable manual dispatch of nightly runs 2025-09-15 12:29:53 +01:00
Tom Poole
f57f2af1e2 Merge branch 'master' into develop 2025-09-15 12:28:22 +01:00
Tom Poole
7422cbfbcb CI: Avoid skipping nightly builds based on commit status 2025-09-15 11:56:17 +01:00
Tom Poole
3af3ce009f JUCE version 8.0.10 2025-09-15 09:32:23 +01:00
reuk
e638c5d739 Android: Avoid restarting activities on system-wide theme change 2025-09-15 09:31:50 +01:00
Tom Poole
8146e30d8b Resave all projects 2025-09-15 09:31:31 +01:00
Tom Poole
360dfe5f3d Bump version number to 8.0.10 2025-09-15 09:30:11 +01:00
reuk
81e4d59da2
Direct2D: Avoid unnecessarily transforming solid colour brush
The changes were not cleared between frames, so they could end up
accumulating and causing floating-point exceptions.
2025-09-11 14:28:23 +01:00
reuk
7981957f50
Docs: Fix typo in juce_Component.h 2025-09-10 10:49:40 +01:00
attila
47d441787c Linux: Fix bad window error when using the XEmbedComponent
The issue was reproducible by opening a plugin window in the AudioPluginHost.
2025-09-10 11:06:38 +02:00
reuk
d0167d8e3e VST3 Client: Silence memcpy warning 2025-09-09 13:50:38 +01:00
reuk
e27183e044 LV2: Add clang-tidy warning suppression comments 2025-09-09 13:33:34 +01:00
reuk
0788df388b VSTMidiEventList: Silence clang-analyzer OOB read warning 2025-09-09 13:20:20 +01:00
reuk
641497918c
Direct2D: Always call SetTransform for gradient/image brushes
This partly reverts commit ad28684b10.
Prior to that change, getBrush() would always end up calling
SetTransform on gradient/image brushes. This is important because, when
drawing text, we combine the current brush transform with the text
transform. If we don't reset the brush transform each time, these
transforms end up accumulating across frames.
2025-09-09 11:32:00 +01:00
reuk
17df2b8037
VST3 Client: Fix defaulted preprocessor definition in manifest helper target 2025-09-08 13:29:12 +01:00
reuk
aa9b593473
JUCEUtils: Fix target name in generator expressions 2025-09-08 13:28:05 +01:00
reuk
5d00156491
Remove unnecessary virtual keywords in final classes 2025-09-08 12:01:53 +01:00
reuk
5a02f5231d
SimpleShapedText: Silence conversion warning 2025-09-08 11:54:30 +01:00
reuk
45a19830b5
Projucer: Add check for invalid file in NewFileWizard 2025-09-08 10:30:30 +01:00
reuk
bc3c171c9d
AudioBuffer: Avoid unnecessary allocations when reassigning referenced channels 2025-09-04 15:01:20 +01:00
reuk
848082095f
VST3 Client: Additionally call setIComponentHandler when the handler is set on the edit controller 2025-09-02 13:56:12 +01:00
reuk
7bc7dff6f6
iOS: Fix screen size detection in plugins
initWithWindowScene appears to create a window with no area if the
provided scene is null. As a fallback, creating a window without an
associated scene still returns usable bounds.
2025-09-02 13:46:01 +01:00
reuk
7a2d7ad013
Slider: Fix typo in docs 2025-09-01 23:33:43 +01:00
reuk
fdaf71b50f
PopupMenu: Fix some issues with positioning of initially-visible items
The old implementation had a few problems:

- For a target area near but not touching the bottom of the parent area,
  and a long menu with an initially-visible item halfway through the
  list, the initially-visible item would sometimes be obscured by the
  scroller area. The new implementation adjusts the size of the menu to
  ensure that there's enough additional room for the scroller areas.
- For a target area at the very top or very bottom of the target area,
  the menu would be positioned inconsistently; sometimes it would
  overlap with the target area, but other times it would be positioned
  with a gap separating the menu and target area. In the new
  implementation, if there's not enough room for scrollers to be
  positioned above/below the target area, the menu will always be
  positioned so that it touches but does not overlap the target area.
- The initially-selected item would normally be
  positioned as close as possible to the target area, but this wasn't
  always applied consistently for long menus, and the menu would
  sometimes only be scrolled enough to make the item visible at the end
  of the menu furthest from the target area. In the new implementation,
  the initially-visible item will always be positioned on top of the
  target area, or adjacent to it, depending on the available space.
2025-09-01 23:33:43 +01:00
reuk
d929adc9e8
PopupMenu: Change argument type to optional
Negative wantedY arguments are valid, so we need to be able to
differentiate between an unspecified argument and a
specified-but-negative argument.
2025-09-01 23:33:43 +01:00
reuk
78a93157de
PopupMenu: Remove unused function argument 2025-09-01 23:33:43 +01:00
reuk
edfa87801c
PopupMenu: Extract implementation of ensureItemComponentIsVisible into static function
This makes it a bit easier to see exactly which PopupMenu state is used
during the calculation, and enforces that no menu state is modified
during the call.
2025-09-01 23:33:43 +01:00
reuk
90abc8c1c5
PopupMenu: Clarify behaviour of withItemThatMustBeVisible() in docs 2025-09-01 23:33:42 +01:00
reuk
d2cb90cded
PopupMenu: Simplify expressions in ensureItemComponentIsVisible() 2025-09-01 23:33:42 +01:00
reuk
41a6ed37e4
PopupMenu: Use early return in ensureItemComponentIsVisible() 2025-09-01 23:33:42 +01:00
reuk
9b226f93f4
PopupMenu: Replace raw loop with find_if 2025-09-01 23:33:42 +01:00
reuk
33a735dfd8
Android: Avoid restarting activities on system-wide theme change 2025-09-01 15:51:30 +01:00
Tom Poole
f72bad64d2 JUCE version 8.0.9 2025-09-01 14:50:10 +01:00
Anthony Nicholls
1eec73cab3 VST3: Add flag for ignoring parameter migration warning to the module header 2025-09-01 14:49:38 +01:00
Tom Poole
d107f3ae40 Resave all projects 2025-09-01 14:48:34 +01:00
Tom Poole
cb9ec7e38f Bump version number to 8.0.9 2025-09-01 14:44:25 +01:00
reuk
a37b35ad15
D2D: Avoid crashing when attempting to create a vblank dispatcher on a headless system 2025-08-27 18:09:23 +01:00
reuk
9be03bc99e
Android Oboe: Reopen streams correctly after device disconnection
Even if the output stream is the only one receiving callbacks, it's
possible that the input device got disconnected, in which case we'll
still need to recreate both streams.
2025-08-27 16:57:17 +01:00
reuk
6473deb155
PluginListComponent: Fix potential use-after-free on modal component dismiss 2025-08-27 16:57:17 +01:00
reuk
f9b70f1d39
LV2 Host: Fix leak of plugin classes when scanning plugins multiple times 2025-08-27 16:57:17 +01:00
reuk
eef9183fad
LV2 Host: Fix leak of LV2 path when calling lilv_world_set_option multiple times 2025-08-27 14:56:42 +01:00
Oli
1843554ad8 DSP: Don't include neon headers for Windows-ARM64-ClangCL 2025-08-26 18:11:18 +01:00
Oli
ceaa708042 Core: Use correct "debug break" intrinsic for Windows-ARM64-ClangCL 2025-08-26 16:43:46 +01:00
reuk
ac89007949
ARA Host: Fix build
The build got broken in f3d7c74ea1 - the
ARAVST3.h include is needed for both hosts and clients.
2025-08-21 17:42:59 +01:00
Oli
4263efb96a Jpeg: Disable "extern C" in jpeglib.h 2025-08-20 09:51:28 +01:00
attila
ad28684b10 Tidying: Remove unused code 2025-08-19 16:51:15 +01:00