reuk
8a1bf07f14
Direct2D: Adjust return type of getPaintAreas in Direct2DHwndContext
2024-08-22 18:18:15 +01:00
reuk
570fd4b65c
Direct2D: Track UpdateRegions in D2DContext rather than the Direct2DHwndContext
2024-08-22 18:18:15 +01:00
reuk
c94b8e1712
Direct2D: Refactor paintAreas handling in graphics contexts
2024-08-22 18:18:15 +01:00
reuk
e2b9dd9a05
Direct2D: Remove redundant adapter member from Direct2DGraphicsContext
2024-08-22 18:18:15 +01:00
reuk
45305dbfa7
Direct2D: Remove redundant adapter member from SavedState
2024-08-22 18:18:15 +01:00
reuk
68441e0726
Direct2D: Refactor DeviceResources helper
2024-08-22 18:18:15 +01:00
reuk
58c267106f
Direct2D: Move UpdateRegion helper to shared DirectX header
2024-08-22 18:18:14 +01:00
reuk
8bbcfe4d6b
Direct2D: Move DeviceContext helpers to shared DirectX header
2024-08-22 18:18:14 +01:00
reuk
f3a74896fc
Direct2D: Move bitmap helpers to shared DirectX header
2024-08-22 18:18:14 +01:00
reuk
f0f77db261
Direct2D: Share more implementation headers between modules
2024-08-22 18:18:14 +01:00
reuk
bb53174196
Direct2D: Add null check before reading from D2D texture
2024-08-22 18:18:14 +01:00
reuk
19aade443a
Windows: Fix bug where plugins with additional top-level windows could fail to repaint after changing the display config
2024-08-22 18:18:14 +01:00
reuk
025a05d210
Windows: Remove clearWindowRedirectionBitmap()
2024-08-22 18:18:14 +01:00
reuk
1b69ba3997
Direct2DResources: Refactor CompositionTree
2024-08-22 18:18:13 +01:00
reuk
d0e9eea164
Windows: Remove mousewheel hook
...
From Windows 10 onwards, the window under the mouse will receive
WM_MOUSEWHEEL messages regardless of focus state, so this hook appears
to be unnecessary.
2024-08-22 17:35:18 +01:00
reuk
77bf765fcf
Windows: Avoid sending mousewheel events to obscured windows
2024-08-22 17:35:18 +01:00
reuk
cff48fdc63
CMake: Fix warnings when configuring with --warn-uninitialized
2024-08-22 17:35:17 +01:00
reuk
1f024f9c08
NativeMessageBox: Remove support for legacy message boxes
...
Now that JUCE supports only Windows 10 onwards, TaskDialogIndirect will
always be available.
2024-08-22 17:35:17 +01:00
reuk
a9e04c1a1e
NativeMessageBox: Fix result codes for Windows legacy message boxes
2024-08-22 17:35:17 +01:00
reuk
49dc20db6e
ComboBox: Update accessibility handler to expose combo box title
2024-08-22 17:35:16 +01:00
attila
d7d8155da9
Fix some doxygen issues
2024-08-22 17:05:03 +02:00
attila
a34bd74133
Windows: WebBrowserComponent: Fix state handling when the component is invisible
...
The handling of two state variables had to be adjusted. One is
responsible for signalling that we navigated to a blank page due to the
WebBrowserComponent becoming invisible. The other variable in the
WebView2 implementation stores the URL that we should be navigating to
once the WebView2 instance has been created.
Prior to this commit navigating to the URL requested by goToURL could
fail for two reasons: either because it was called before the underlying
WebView2 instance was created, or because the WebBrowserComponent was
not yet visible.
2024-08-22 17:04:55 +02:00
attila
c1ae3ab7ae
LadderFilter: Fix incorrect coefficients for BPF12 mode
...
The implementation follows Valimaki: Oscillator and Filter Algorithms
for Virtual Analog Synthesis (2006). Unlike the other modes, the BPF12
coefficients contained a typo, and had different properties to the other
modes.
2024-08-21 16:03:08 +00:00
attila
402bafda0d
Fix BSD build
...
This fixes a regression in
5ce2fc388e .
2024-08-19 13:49:41 +02:00
attila
d953b9d23c
Resave all projects
2024-08-16 11:22:53 +02:00
attila
9ad70308a8
Replace usage of deprecated type std::aligned_storage_t
2024-08-15 11:15:15 +02:00
attila
95e71b10b0
FixedSizeFunction: Replace std::aligned_storage_t to avoid C++23 warning
...
We are ignoring warning 4324, which warns us that a FixedSizeFunction<4>
will have it's size increased to 8 bytes, due to the minimum alignment
requirement of 8 bytes.
2024-08-15 11:15:15 +02:00
attila
b7a2c1d3bf
CriticalSection: Replace std::aligned_storage_t to avoid C++23 warning
2024-08-15 11:15:15 +02:00
attila
3f1e945b78
Replace is_pod_v (deprecated by C++23) with is_standard_layout
2024-08-15 11:15:15 +02:00
attila
5ce2fc388e
Fix C++23 compilation
2024-08-15 11:15:15 +02:00
Anthony Nicholls
b77249ad52
ScopedDisplayLink: Ignore deprecation warning in macOS 15.0 SDK
2024-08-14 15:35:50 +00:00
Anthony Nicholls
cddd43891d
OpenGL: Stop calling disableScreenUpdatesUntilFlush on macOS
2024-08-14 15:35:50 +00:00
Anthony Nicholls
10cf5a98a2
macOS: Use ScreenCaptureKit for taking window screenshots
...
- Required when the deployment target is macOS 15+
- As the ScreenCaptureKit framework isn't available on all supported versions
of Xcode it's dynamically loaded
2024-08-14 15:35:50 +00:00
Anthony Nicholls
49ed0f022d
DemoRunner: Add a test for shapes drawn directly in a graphics context
...
Also expanded the lines test to include a line with a given thickness
2024-08-09 17:20:36 +01:00
Anthony Nicholls
25ee1b9e68
macOS: Simplify the CoreGraphics pointer types and add some new ones
2024-08-09 17:20:36 +01:00
Anthony Nicholls
997c92797c
macOS: Improve performance for some graphics draw functions
2024-08-09 14:29:53 +01:00
attila
29327144db
StackBasedLowLevelGraphicsContext: Prefer using RectangleListRegion clip when possible
...
This reverts a tiny part of 19061e6d17 .
2024-08-06 17:36:19 +01:00
attila
dda0719d56
EdgeTable: Fix buggy clipToRegion corner case
2024-08-06 17:36:10 +01:00
attila
b083d3c6d8
MIDI: Fix compilation when JUCE_USE_WINRT_MIDI=1
2024-08-06 16:37:12 +01:00
attila
22ee31f3ff
EdgeTable: Use HeapBlock instead of vector for better Android Debug drawing performance
...
This is reverting 417d97b36e .
2024-08-02 14:48:52 +00:00
Anthony Nicholls
cc96592e7c
Graphics: Improve drawing performance for stroking paths on macOS
2024-08-02 10:28:15 +01:00
Anthony Nicholls
059b667af2
ListenerList: Replace ListenerList with LightweightListenerList in select places
2024-08-01 16:10:09 +00:00
Anthony Nicholls
2e6ee49cfa
ListenerList: Add a LightweightListenerList class
...
When extra guarantees were added to ListenerList to guard against mutations of
the list from callbacks, it also resulted in removing a previously observable
guarantee that calls to the listeners could be made concurrently as long as
those listeners were themselves thread safe. This commit adds a new class that
restores that behaviour for anybody who needs it.
2024-08-01 16:10:09 +00:00
Anthony Nicholls
572f1c985c
Assertions: Add preprocessor definitions for checking when assertions are enabled
2024-08-01 16:10:09 +00:00
Anthony Nicholls
b5bcf621f3
Thread: Fix a typo
2024-08-01 16:10:09 +00:00
Anthony Nicholls
e9b3fc8714
FocusHelpers: Reduce code nesting
2024-08-01 16:10:09 +00:00
Anthony Nicholls
dc0dde7fe9
FocusTraverser: Make more things const
2024-08-01 16:10:09 +00:00
Anthony Nicholls
9f3666e3e1
UnitTests: Reduce the stack size of the KeyboardFocusTraverser tests
2024-08-01 16:10:09 +00:00
reuk
a891f0054c
Windows: Allow constrained resize for windows that are not marked as resizable
2024-07-31 19:36:52 +01:00
reuk
3da5a3c9bd
ResizableWindow: Set resizable flag only when desktop does not support native nonclient resize
2024-07-31 19:36:52 +01:00