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

12535 commits

Author SHA1 Message Date
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
ed
67dfc1975c Projucer: Re-save temporary projects after moving to new location to fix relative path build errors in generated IDE projects 2021-11-02 10:47:34 +00:00
reuk
49bbadbca9
NSViewComponentPeer: Fix naming of drawRectWithContext 2021-11-01 11:10:12 +00:00
reuk
540001365c
Projucer: Fix temporary project save/open in Xcode on Monterey
Previously, when saving a temporary project, two native dialogs would be
created. The first was very short-lived, as it was automatically
dismissed by the second dialog. On older macOS versions, this appeared
to work correctly (the first dialog was so short-lived that it did not
appear to the user). However, on macOS 12.0, the second dialog fails to
display altogether.

Displaying two file chooser dialogs feels like a programming error, so
the code has been reorganised a bit to avoid this case.
2021-11-01 10:04:35 +00:00
reuk
4196b5e45b
macOS: Silence deprecation warnings on Monterey 2021-11-01 10:04:35 +00:00
reuk
210cbdca66
FileBasedDocument: Show correct error text in alert window if loadDocument fails 2021-11-01 10:04:35 +00:00
reuk
cccb3d360a
AAX Client: Avoid overwriting bypass parameter value on state recall 2021-11-01 10:04:34 +00:00
reuk
555408be40
VST3 Host: Avoid resusing IMessage and IAttributeList instances
This fixes an issue where the editor of VocAlign Project 5 would fail to
open in the AudioPluginHost.
2021-11-01 10:04:34 +00:00
ed
7098b13b44 X11: Make synchronous error handling opt-in due to graphics performance issues when XSynchronize is enabled for a display 2021-11-01 09:12:59 +00:00
ed
66f8af98e7 Windows Accessibility: Don't set UIA_NamePropertyId of ignored elements to prevent it from being read out by Narrator 2021-10-29 14:04:40 +01:00
ed
4727084838 PopupMenu: Store Options::targetComponent and ::parentComponent in WeakReferences to allow for deletion checks 2021-10-29 14:04:40 +01:00
reuk
eca02270ee
Component: Add Point<float> overloads for some common functions 2021-10-27 16:33:37 +01:00
reuk
cdbefa3b51
Windows: Ensure that new windows are brought to the front after creation 2021-10-27 16:33:37 +01:00
reuk
496e454e9c
XWindowSystem: Update frame extents as soon as they change 2021-10-27 16:33:37 +01:00
reuk
4ca923a34b
NSViewComponentPeer: Allow mouse events to reach unfocused windows
This change allows mouse events (including enter and exit events) to
reach unfocused views on macOS. This matches the behaviour of unfocused
windows on Linux and Windows, where components paint in their "hovered"
states even when the application window is in the background.

As a byproduct of using tracking areas on macOS, we can remove the fake
mouse move generator.
2021-10-27 16:33:37 +01:00
reuk
eeeeb117a1
MidiKeyboardComponent: Ensure note is not highlighted after mouse leaves component 2021-10-27 16:33:37 +01:00
reuk
fe4515adb6
MouseCursor: Refactor platform-specific MouseCursor internals
This new factoring is a bit more typesafe, as it avoids casting
internals to void*.

It also allows cursors to scale appropriately on high resolution
displays on Windows.
2021-10-27 16:33:37 +01:00
reuk
5c50ee4f94 MouseCursor: Simplify implementation using shared_ptr instead of manual refcounting 2021-10-26 23:20:09 +01:00
reuk
17b8708852
WebBrowserComponent: Avoid leaking browsers on macOS 2021-10-26 16:52:16 +01:00
reuk
4d572411e0
FlexBox: Update the default value of FlexItem::alignSelf to match CSS implementations 2021-10-26 16:52:16 +01:00
reuk
4c2dba0822
VST3 Client: Ensure that all programs can be selected via parameter in hosts
Hosts such as REAPER normalise the program parameter value by dividing
the program value by the step count, rather than going via the
parameter's toNormalized function. To be compatible, we should use the
same scaling technique. At time of writing, the coversion process is
detailed under the heading "Conversion of normalized values" on this
page:

https://developer.steinberg.help/display/VST/Parameters+and+Automation
2021-10-26 16:52:15 +01:00
reuk
25c9841131
Windows: Tidy up cursor creation function 2021-10-26 16:52:15 +01:00
reuk
f85ede6b47
Component: Ensure that mouseEnter and mouseExit calls are balanced when entering/leaving modal state 2021-10-26 16:52:15 +01:00
reuk
b465f60851
HWNDComponentPeer: Dismiss temporary modal windows when a window loses focus 2021-10-26 16:52:15 +01:00
reuk
44ca96271d
NSViewComponentPeer: Give up keyboard focus and dismiss temporary modals when window loses key status 2021-10-26 16:52:15 +01:00
reuk
c2f661171a
PopupMenu: Avoid giving focus back to previous component on dismiss
This change is designed to fix issues with views stealing focus and
being brought to the front when popup menus are dismissed.

To test this behaviour:
- Open two instances "a" and "b" of a plugin editor containing a
  ComboBox
- Click the ComboBox in editor "a", opening its PopupMenu
- Drag the titlebar of editor "b" to move it
- The PopupMenu should be dismissed, but editor "a" should *not* steal
  keyboard focus or be brought to the front
2021-10-26 16:52:14 +01:00
attila
f562517939 AudioPluginHost: Make the .exe relocatable when using the Projucer build 2021-10-26 17:22:43 +02:00
ed
792f992dfc ADSR: Fix bug when using applyEnvelopeToBuffer() with zero-length attack and decay 2021-10-25 16:40:18 +01:00
ed
b70fbb9bca TreeView: Fix drag-to-scroll viewport jump on mouse exit 2021-10-25 16:40:18 +01:00
reuk
acddcd550d
DropShadower: Detect when window is no longer being displayed on the current desktop and hide shadows 2021-10-25 09:51:21 +01:00