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

12715 commits

Author SHA1 Message Date
reuk
062e966138
NSViewComponentPeer: Fix zoom and fullscreen behaviour 2021-11-24 16:20:37 +00:00
reuk
ff62b1b39f
LinuxComponentPeer: Handle window constraints correctly on high resolution displays 2021-11-24 16:20:37 +00:00
reuk
c17aec47ac
Windows: Allow maximized windows to resize to fill the screen, even when a constrainer is applied
This mirrors the behaviour on Linux, where maximizing a window always
fills the screen, even if a constrainer is active.

If you don't want to allow your component to fill the screen, disable
the maximize button in the window's titlebar when creating the window
(i.e. ensure DocumentWindow::maximiseButton is not set in the required
buttons).
2021-11-24 16:20:36 +00:00
reuk
cb7d9ec1db
Windows: Take custom scale into account when scaling cursors 2021-11-24 16:20:36 +00:00
reuk
8a95fb1c82
SliderParameterAttachment: Allow right-click to change parameter value
Previously, right-clicking on a slider could change its value, but the
parameter value would not be changed, leaving the slider in a different
state to the parameter.
2021-11-24 16:20:36 +00:00
reuk
6f80be1edb
VST3 Client: Ensure editor scale is correct immediately after creation
This fixes a bug where selecting "Always on top" in the plugin editor
window in Cubase 11 on Windows 11 on a display with > 100% scale would
cause the editor to display with the wrong scale factor.

It seems that Cubase calls removed() then attached() on the plugin view,
destroying and recreating the editor wrapper component. The editor
opened with 100% scale, but requests from the host to set the "real"
scale factor were ignored because the JUCE wrapper thought that the
requested scale had already been applied.

Applying the cached scale factor directly after constructing the editor
keeps everything in a consistent state, and seems to resolve the issue.
2021-11-24 16:20:36 +00:00
reuk
144b444f93
VST2 Client: Reapply custom scale factor if scale is set before editor is opened 2021-11-24 16:20:36 +00:00
reuk
7828cad753
VST2 Host: Fix window titlebar repainting when editor sizes change
When opening the "settings" menu of Arturia Pigments VST2, the editor
window would move itself over the JUCE non-native titlebar in the
AudioPluginHost. Then, when the editor was moved back into the correct
location, the titlebar would not be redrawn, leaving it in an incorrect
state.

This change forces a repaint of the editor's peer whenever the size
changes, forcing the titlebar to repaint after the editor has moved.
2021-11-24 16:20:36 +00:00
reuk
2884610d01
VST2 Host: Respect high DPI plugin sizes on Linux 2021-11-24 16:20:36 +00:00
reuk
aa95939273
SystemStats: Set hasNeon flag correctly on M1 machines 2021-11-24 16:20:35 +00:00
reuk
7d8c5b845d
AU: Cache MIDI output block 2021-11-24 16:20:35 +00:00
reuk
6de3af3566
AU: Make channel/bus handling more robust 2021-11-24 16:20:35 +00:00
reuk
2fc254b72e
AudioDeviceManager: Avoid overwriting user-specified devices in initialise unless absolutely necessary
This fixes an issue where specifying an audio device type before calling
initialise could cause a different device to become active, even if the
requested device type had usable devices.

With this change in place, a new device type will only be selected if
the current device type has no devices.
2021-11-24 11:51:12 +00:00
reuk
6bf969dab9
AudioThumbnail: Fix thread sanitizer warnings 2021-11-24 11:51:12 +00:00
reuk
f1b6bbc921
CoreAudio: Fix thread sanitizer warnings 2021-11-24 11:51:12 +00:00
reuk
5a5161d59b
CoreAudioLayouts: Fix SDK version guards 2021-11-24 11:51:11 +00:00
reuk
81fa777ff7
ObjC Helpers: Automatically derive appropriate signature for function 2021-11-24 11:51:11 +00:00
ed
b4bc2c8710 Tooltip: Show manually shown tips until a dismissal mouse event occurs 2021-11-23 12:22:25 +00:00
ed
ab1d18ed92 Whitespace 2021-11-23 12:22:13 +00:00
ed
9c5b76a5ac Windows Accessibility: Ensure that UiaDisconnectProvider() is called with a valid provider pointer 2021-11-23 12:22:13 +00:00
ed
82bcad9d30 Windows Accessibility: Only send window open/close events for main application windows to fix COM ref-counting leak 2021-11-23 12:22:13 +00:00
reuk
84cd6152be
FFT: Remove unnecessary check in IPP FFT wrapper 2021-11-19 16:35:23 +00:00
reuk
b13bbbefb3
AudioChannelSet: Add atmos layouts 2021-11-19 16:35:22 +00:00
reuk
8de0151577
CoreAudioLayouts: Refactor to avoid null terminator on array 2021-11-19 16:35:22 +00:00
reuk
3850a2bb20
AudioPlayHead: Update wrappers to use new FrameRate type 2021-11-19 16:35:22 +00:00
reuk
718307b516
AudioPlayHead: Use more descriptive FrameRate type 2021-11-19 16:35:22 +00:00
reuk
221a137526
Resave projects 2021-11-19 16:35:22 +00:00
reuk
37b11e24f3
Projucer: Use correct version description in generated VS solution files
This ensures that solution files have correctly numbered icons in
Windows Explorer.
2021-11-19 16:35:22 +00:00
reuk
ffee9b19de
MenuBarComponent: Avoid dereferencing dangling pointer when dismissing menus 2021-11-19 16:35:22 +00:00
reuk
4011c2e898
AudioDeviceManager: Compute output level after all IO callbacks have run 2021-11-19 16:35:21 +00:00
reuk
a4b92bd6c8
CoreAudioFormat: Only register suitable file extensions for given StreamKind 2021-11-19 16:35:21 +00:00
reuk
e247e06fb7
FlexBox: Refactor and tidy implementation 2021-11-19 16:35:21 +00:00
reuk
0dad809264
FlexBox: Add tests, and fix layout bugs 2021-11-19 16:35:20 +00:00
ed
4d350ffcc3 Fix documentation typo 2021-11-19 11:20:16 +00:00
ed
d49d203974 Tooltip: Ignore dismissal mouse events when tooltip window is not showing 2021-11-10 09:30:13 +00:00
ed
1fe8fa467b TextEditor: Fix floating-point -> integer bounds conversion of text selection bounds 2021-11-09 15:35:52 +00:00
ed
a970b15959 Add Visual Studio 2022 solutions to all projects 2021-11-09 15:35:45 +00:00
ed
8aabde7680 Projucer: Add Visual Studio 2022 exporter 2021-11-09 10:41:07 +00:00
Tom Poole
525a92e47b Allow the widgets demo to be embedded in other demos 2021-11-09 10:16:54 +00:00
ed
057b555f08 Tooltip: Track mouse clicks using global Desktop mouse listener callbacks to fix bug with Timer callbacks missing events 2021-11-09 09:36:58 +00:00
ed
903657b0b8 Tooltip: Prevent tip from being immediately dismissed when shown from TooltipWindow::displayTip() 2021-11-09 09:36:58 +00:00
Tom Poole
fc8eacbf5b Fix a string comparison in c064b0c 2021-11-09 07:59:30 +00:00
Tom Poole
c064b0c604 AudioPluginHost: Embed the assets required for internal plug-ins 2021-11-08 14:08:05 +00:00
ed
7f21aa4cc6 DemoRunner: Enable bluetooth permission on macOS to fix permissions issue on macOS 11+ 2021-11-08 09:05:27 +00:00
ed
bfea8c89b0 Re-save all projects 2021-11-08 09:04:11 +00:00
ed
fdd9eb8eeb X11: Correctly reset drag and drop state when drag has ended 2021-11-03 15:44:57 +00:00
ed
75c1d69f0a Fix documentation typo 2021-11-03 13:58:02 +00:00
ed
c45c1afc7e Projucer: Bump Xcode LastUpgradeCheck 2021-11-03 12:47:44 +00:00
ed
274ce967e4 AlertWindow: Prevent accessible label component from intercepting mouse clicks 2021-11-02 12:35:36 +00:00
ed
49db3ce12e AlertWindow: Make accessible label component colours fully transparent to prevent it from drawing over custom L&Fs 2021-11-02 12:19:56 +00:00