attila
4deee6976b
AU Client: Fix calling makeFirstResponder for nil window in Ableton Live
...
When pressing the Escape key the call to hostView keyDown: closes the
plugin window and the subsequent [hostView window] returns nil.
2025-03-06 18:33:10 +01:00
reuk
d77b34f432
PopupMenu: Add notes for testing scenarios
2025-03-05 21:27:51 +00:00
reuk
d39789b021
PopupMenu: Remove timeout before highlighting item under mouse
...
We now require a mouse movement before highlighting menu items. This is
intended to ensure that the user has intentionally highlighted the menu
item that they wish to trigger.
2025-03-05 21:27:51 +00:00
reuk
51b0319342
PopupMenu: Always attach a global mouse listener
...
This makes behaviour more consistent between the parented and
non-parented display modes.
Before this change, parented popup menus wouldn't respond to mouse
clicks until the mouse was released once, which meant that clicking and
dragging the mouse over a menu wouldn't trigger a menu item on mouse-up.
2025-03-05 21:27:50 +00:00
reuk
b0d7bad5ee
PopupMenu: Refactor Timer usage in MouseSourceState implementation
2025-03-05 21:27:50 +00:00
reuk
9a6f925bcb
NSViewComponentPeer: Fix typo that prevented graceful exit of kiosk mode
2025-03-03 14:41:32 +00:00
reuk
518240cd61
Zlib: Fix unknown-symbols errors when building with clang, windows, C++20/23
2025-03-03 14:41:32 +00:00
reuk
90695ce7b6
SystemStats: Silence function-cast warnings
2025-03-03 14:41:31 +00:00
Anthony Nicholls
f985cf0c31
iOS: Restore sample rate after iterating available sample rates
2025-02-27 14:50:53 +00:00
Anthony Nicholls
76e498f495
AudioDeviceManager: Skip validation when there is only one device
2025-02-27 14:50:53 +00:00
Anthony Nicholls
a433e4dce0
iOS: Set target settings before updating hardware info to reduce the number of device changes
2025-02-27 14:50:53 +00:00
Anthony Nicholls
462c1c857e
iOS: Improve performance when detecting and changing sample rates
2025-02-27 14:50:53 +00:00
Anthony Nicholls
4cbbf203f8
iOS: Improve performance when detecting and changing buffer sizes
2025-02-27 14:50:05 +00:00
Anthony Nicholls
5008d349e9
iOS: Prevent audio glitches when changing sample rate
2025-02-27 14:50:05 +00:00
attila
93b02effee
Suppress ARA warning emitted by clang-cl 19.1.1
2025-02-27 14:26:41 +01:00
reuk
209c86c627
Zlib: Update JUCE sources to support new zlib version
2025-02-25 12:47:13 +00:00
reuk
32cb0e980f
Zlib: Make changes to imported source files where necessary
2025-02-25 12:41:48 +00:00
reuk
fd05aaf817
Zlib: Import sources from 1.3.1
...
This commit does not build. It's included to show JUCE modifications to
the zlib sources in the following commit.
2025-02-25 12:41:48 +00:00
Tatsuya Shiozawa
ae7db80b7b
Fix code comment for juce::SoundPlayer::play.
2025-02-25 09:56:36 +00:00
attila
389516feeb
WebView frontend: Fix window.__JUCE__.backend.removeEventListener
...
Co-authored-by: Yong Gyu Lee <cosgenio@gmail.com>
2025-02-19 09:30:13 +00:00
Anthony Nicholls
bd7eff0705
iOS: Fix an issue in which the reported sample rate may not always be correct
2025-02-13 09:34:41 +00:00
Anthony Nicholls
0864d614fd
iOS: Provide a workaround for discovering sample rates on iOS 18
...
There appears to be a bug on iOS 18 which means the session sample
may not update after a call to setPreferredSampleRate
2025-02-12 11:58:02 +00:00
reuk
9bdf69e499
PathStrokeType: Avoid unnecessarily starting new subpaths
2025-02-11 18:11:12 +00:00
reuk
92c7d73d2d
Direct2D: Fix image artefacts at the edge of alpha-clipped regions
...
This addresses the same issue that
95d416ab77 was intended to fix:
Drawing a drop shadow on a high-res display on Windows could sometimes
produce thin lines around the edge of the shadow. Using the 'clamp'
rather than the 'wrap' clipping mode seems to help.
2025-02-11 18:11:12 +00:00
reuk
5aa76a7d7e
DropShadow: Revert recent shadow-scale change
...
Reverts 95d416ab77
The previous change caused the shadow to draw at higher resolution on
high-res displays, which then made the blur more expensive to compute.
2025-02-11 18:11:12 +00:00
reuk
6ff5e57b62
Component: Add overload for setTopRightPosition(Point<int>)
2025-02-11 18:11:12 +00:00
attila
58dcf68c53
Javascript: Fix eventual timeout when calling JSObject::invokeMethod repeatedly
2025-02-11 13:24:58 +01:00
Oliver James
9c8a2b9609
OpenGL (Windows): Only trigger async update after first buffer swap
...
This fixes an issue where OpenGL would continuously repaint on Windows.
2025-02-11 10:43:17 +00:00
reuk
70652e3d23
AudioProcessor: Use new MessageManager::callSync
2025-02-06 18:22:33 +00:00
reuk
95d416ab77
DropShadow: Draw shadows for paths at correct scale to avoid stretching the blurred bitmap
2025-02-06 18:22:33 +00:00
reuk
09b10428ec
CoreGraphics: Remove CoreImage implementations for desaturation and transparency
2025-02-06 18:22:33 +00:00
reuk
c46bcb677e
CoreGraphics: Remove CoreImage single-channel blur implementation
...
The CoreImage blur implementation is often significantly slower than
the old software blur in common scenarios such as rendering shadows.
2025-02-06 18:22:33 +00:00
reuk
95610e6c5e
Component: Add more stringent checks for deleted components when handling mouse events
2025-02-06 18:22:32 +00:00
attila
49b6dfb7c8
Fix 0 file descriptor handling on POSIX systems
2025-02-06 12:12:15 +01:00
reuk
da09b99bbf
MessageManager: Add callSync counterpart to callAsync
2025-02-05 10:59:51 +00:00
reuk
29cf6ecf04
MessageManager: Update callAsync to take an arbitrary callable instead of a function
2025-02-04 13:15:44 +00:00
reuk
19edd53842
EdgeTable: Fix issue where edges of paths could be anti-aliased incorrectly at edges of clip regions
2025-02-03 19:16:46 +00:00
reuk
56ea531298
CoreGraphics: Fix bug where subsection images were rendered incorrectly
2025-02-03 13:56:31 +00:00
reuk
a381fdf81d
Font: Allow overriding typeface ascent and descent metrics
2025-01-29 13:36:28 +00:00
reuk
f12d29899c
Direct2D: Remove SetDpi call in startFrame
...
Previously, plugins and standalone apps could produce slightly different
visual results, particularly anti-aliasing, when displaying on a display
with native scaling applied. The discrepancy was caused by SetDpi being
called with a larger-than-default value (e.g. 192 DPI on a 200% scaled
display) in a standalone app, whereas SetDpi would always be called with
the default value of 96 in a plugin.
Keeping the default value seems to produce better results, so standalone
apps will now retain the default DPI.
2025-01-29 11:00:44 +00:00
reuk
183c327e75
Windowing: Fix mouse position in client area for maximised windows with non-native titlebar
...
The incorrect mouse coordinates could be observed by hovering over
widgets such as buttons in a maximised window using a non-native
titlebar.
2025-01-29 11:00:44 +00:00
reuk
c3e8b6bff3
CoreGraphics: Use Image NativeExtensions to avoid dynamic casts in graphics context
2025-01-23 12:21:33 +00:00
reuk
d3ca5961e7
Direct2D: Use Image NativeExtensions to avoid dynamic casts in graphics context
2025-01-23 12:21:33 +00:00
reuk
9b08c8fd51
Image: Add NativeExtensions type to help with inspecting images from graphics context implementations
...
This type isn't used anywhere in this commit, but this change lays the
foundation for the following commits.
2025-01-23 12:21:33 +00:00
reuk
55e5e2082c
Image: Add new backup-extensions interface to support images with no main-memory backup
2025-01-23 12:21:33 +00:00
reuk
2fbb72d960
OpenGLFrameBufferImage: Refactor and simplify BitmapData releaser
2025-01-23 12:21:33 +00:00
reuk
ada2c88b03
ImagePixelData: Update signatures of functions providing whole-image effects
2025-01-23 12:21:33 +00:00
reuk
8cb8c5e572
Image: Add new BitmapData constructor accepting a Rectangle
2025-01-23 12:20:27 +00:00
reuk
01821b5811
OpenGLFrameBuffer: Fix writePixels implementation, which previously blended instead of replacing existing pixels
2025-01-23 12:20:27 +00:00
reuk
5f7d6d70fc
Direct2DContext: Remove unnecessary public constants
2025-01-23 12:20:27 +00:00