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

9838 commits

Author SHA1 Message Date
Yuki
faa850a48c Oboe: Remove an erroneous semicolon 2024-08-27 14:22:49 +01:00
attila
853e2052ff Use WebViewLifetimeListener in WebControlRelays 2024-08-26 15:30:58 +02:00
attila
b395239884 WebBrowserComponent: Add WebViewLifetimeListener 2024-08-26 13:25:28 +02:00
Anthony Nicholls
0802db13ee VST3: Support loading a VST2 state when a plugin implements getCompatibleClasses() 2024-08-24 08:38:10 +01:00
Anthony Nicholls
2c606d6612 VST3: Fix an issue migrating VST2 to VST3 states in Reaper
Reaper uses an undocumented version 0 of the fxbank struct, this could
be handled by JUCE but instead this solution switches to using methods
provided by the VST3 SDK to save and load VST2 states. This also has
the added benefit of no longer requiring the VST2 SDK to build a VST3
plugin that supports saving and loading VST2 states.
2024-08-24 08:38:10 +01:00
Anthony Nicholls
514ac22d6d macOS: Prevent an image mask from filling outside the clipping bounds 2024-08-23 15:53:43 +00:00
reuk
0ed2ae64fa
Windows: Fix issue where windows with titlebars reported the wrong transparency kind 2024-08-23 16:12:29 +01:00
reuk
9a93fb03a4 Direct2D: Add null check in PresentationQueue 2024-08-23 13:51:40 +01:00
reuk
b12088a1f6 Direct2D: Match system preferences for text antialiasing 2024-08-23 13:51:40 +01:00
reuk
340f531c71
Direct2D: Reinstate support for transparent windows 2024-08-22 20:19:49 +01:00
reuk
6f2293d91b
Windows: Fix conversion of WindowsBitmapImages to SoftwareBitmapImages 2024-08-22 18:18:17 +01:00
reuk
b7db89cb8e
Windows: Fix capture of software-rendered windows with per-pixel alpha 2024-08-22 18:18:17 +01:00
reuk
6cd018a679
Direct2D: Fix implementation of Direct2DPixelData::fromDirect2DBitmap
Previously, this function didn't store/copy the provided bitmap, so the
resulting image was blank. This also broke createSnapshot(), which would
always return a blank image.
2024-08-22 18:18:17 +01:00
reuk
348d638581
Direct2D: Temporarily disable window transparency for D2D windows 2024-08-22 18:18:17 +01:00
reuk
2a108ca582
Direct2D: Rename GDIContext and D2DContext 2024-08-22 18:18:16 +01:00
reuk
831c5142a4
Windows: Refactor WindowsBitmapData to expose updateLayeredWindow 2024-08-22 18:18:16 +01:00
reuk
328ad60d9e
Windows: Move definition of GDI window snapshot function 2024-08-22 18:18:16 +01:00
reuk
b90498d79b
Windows: Always use WS_POPUP style for windows without a native titlebar or shadow
If we don't do this, the top corners of the window may have unwanted
clipping applied, making the corners appear rounded.
2024-08-22 18:18:16 +01:00
reuk
afaf97fe16
Windows: Update minimise and maximise window flags
The docs for WS_MINIMIZEBOX and WS_MAXIMIZEBOX specify that WS_SYSMENU must be specified.
The docs for WS_SYSMENU specify that WS_CAPTION must be specified.
2024-08-22 18:18:16 +01:00
reuk
e9f2a94d62
Windows: Use new client rect helper in implementation of getScreenPosition() 2024-08-22 18:18:16 +01:00
reuk
4a76872f54
Windows: Add helper to find client rect in screen coordinates 2024-08-22 18:18:16 +01:00
reuk
d344c2bf71
Direct2D: Allow drawing to arbitrary bitmaps using Direct2DImageContext
This change also moves the startFrame and endFrame calls out of the
plain Direct2DImageContext and into a special-purpose "flushing" context
that is private to Direct2DPixelData.
2024-08-22 18:18:15 +01:00
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
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
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