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

9481 commits

Author SHA1 Message Date
Tom Poole
aace97904c Bump version number to 7.0.11 2024-03-26 08:04:02 +00:00
Anthony Nicholls
fe00442335 Copyright: Fix incorrect or inconsistent copyright notices 2024-03-25 10:22:58 +00:00
reuk
ebe954f176
Windows: Allow detecting keydown state for extended keycodes 2024-03-20 18:17:42 +00:00
reuk
5957cef205
TreeView: Improve performance when rendering very large trees
Previously, trees with thousands of items could take a long time to
render when scrolling due to poor complexity of getAllVisibleItems()
2024-03-18 14:29:25 +00:00
reuk
c2398791be
ImageDemo: Fix permissions on mobile devices
Co-authored-by: MajorMurphy <major@murphyindustries.net>
2024-03-18 12:07:24 +00:00
reuk
5d0584059c
CoreAudio: No longer consider a device stopping to be a failure
The device may need to stop because it is about to restart with new
settings.

e.g. When the DemoRunner is started while the microphone is set to
44.1KHz and the speakers are set to 48KHz in Audio MIDI Settings, one of
the devices must be restarted in order for the AudioDeviceCombiner to
work. In this situation, stopping one device shouldn't count as an
error, because the device will be started again with new, compatible,
settings.
2024-03-06 15:58:17 +00:00
Tom Poole
75bf199a87 AAX: Ignore some compiler warnings in the SDK 2024-03-04 08:47:05 +00:00
Anthony Nicholls
525e9e9ded macOS: Prevent an empty RectangleList from incorrectly filling a graphics context 2024-02-29 12:21:10 +00:00
Anthony Nicholls
9ac2e8b4f7 LV2 Helper: Fix a warning regarding a temporary value 2024-02-29 12:21:10 +00:00
Tom Poole
4555a8d1ad Bump version number to 7.0.10 2024-02-12 15:15:15 +00:00
Anthony Nicholls
9dc2751b5c Documentation: Fix a minor typo in the interpolator documentation 2024-02-06 11:12:41 +00:00
Anthony Nicholls
72a1a592cd Interpolators: Revert the use of approximatelyEqual for the windowed-sinc interpolator
Users reported this caused missed deadlines and performance penalties
2024-02-06 11:12:41 +00:00
Anthony Nicholls
db60c1d226 Timer: Prevent memory leaks when using callAfterDelay 2024-02-02 14:01:34 +00:00
attila
6056c686b8 MacOS: Fix invisible PopupMenu in Logic
We avoid modifying window controls in modal situations if possible.
Doing as much as [window setStyleMask: [window styleMask]]; for a
PopupMenu window will make it invisible on MacOS when the plugin is
hosted in an external subprocess.

This fixes a regression caused by
fb14118771.
2024-02-01 17:59:40 +01:00
Tom Poole
a028f277c1 Docs: Fix a typo 2024-01-31 12:43:33 +00:00
reuk
047448fbce
Warnings: Add missing overrides 2024-01-30 11:37:30 +00:00
reuk
27828bd787
MPEZoneLayout: Add test to verify behaviour of RPNs 2024-01-22 11:42:49 +00:00
reuk
60757de2f2
CIDevice: Improve robustness of subscription API
The old API only allowed cancelling property "get" inquiries and
subscription updates. However, there are use-cases for cancelling other
requests too. e.g. switching between views in a JUCE app might mean that
it's no longer necessary to subscribe to a particular property.

Cancelling subscriptions ends up being quite involved. Different
handling is needed depending on whether the subscription is cancelled
before or after the responder replies to the initial request.
In addition, the responder may ask the initiator to retry a subscription
begin request.
2024-01-18 10:37:17 +00:00
reuk
16d5e4e2a6
CIDevice: Avoid including subscribeId in replies to subscription messages 2024-01-18 10:37:16 +00:00
reuk
c7b975c525
CIPropertyHostUtils: Fix status code for terminating a property inquiry 2024-01-18 10:37:16 +00:00
reuk
0192c86715
CIParser: Make property headers human-readable in getMessageDescription 2024-01-18 10:37:16 +00:00
reuk
9a55eb852a
CIParser: Tidy monostate handling 2024-01-18 10:37:16 +00:00
attila
fb14118771 MacOS: Disable window controls for windows created by JUCE when a Component is modal
The change does not affect plugin windows, which are created by the
host.
2024-01-17 18:54:37 +01:00
attila
cc60286c89 ConnectedChildProcess: Wait for process termination on Linux to not leave zombies
This change also avoids the AudioPluginHost leaving zombie child
processes behind.
2024-01-17 15:03:48 +01:00
attila
d810a168eb Use the new TimedCallback in the codebase 2024-01-17 15:03:48 +01:00
attila
0611baf1be Add ChildProcessManager
The new class hold a list of ChildProcesses and periodically checks
their return value until they report termination. On Linux this check
is necessary to avoid leaving zombie processes behind.
2024-01-17 15:03:48 +01:00
reuk
76b9b28658
OpenGL: Update compatibility headers
This also adds missing KHRONOS_APIENTRY qualifications to the debug
callback type, which fixes potential crashes when running debug Win32
builds.
2024-01-16 15:34:10 +00:00
reuk
878aad687e
ObjCHelpers: Remove unnecessary __block variables 2024-01-16 13:00:56 +00:00
Anthony Nicholls
67570d34c4 ListenerList: Prevent calling any listeners that are added during a callback
This fixes an edge case in which if listeners are both removed and added during a callback the added listener(s) may be called during the same iteration
2024-01-15 17:17:58 +00:00
Anthony Nicholls
b05b73fb49 ListenerList: Fix some edge cases when iterating the listeners
- Prevent out of scope access of the listeners lock
- Allow clearing the listener list from a callback
2024-01-12 11:22:03 +00:00
attila
31dfb05ea3 Toolbar: Change the background colour of CustomisationDialog, make it configurable 2024-01-10 15:45:05 +01:00
attila
3f52b29432 File: Avoid leaving behind file system changes when moveFileTo() fails 2024-01-09 11:14:30 +01:00
reuk
b8f3030e0b
AudioProcessorGraph: Ensure graph is rebuilt if any node latencies change 2024-01-08 12:10:32 +00:00
reuk
5ee9d24e36
WindowsHooks: Use appropriate dpi awareness when forwarding mouse wheel messages 2024-01-08 12:10:32 +00:00
reuk
46b90d9ea0
VST3 Host: Ensure that parameter changes from the processor are communicated to the edit controller 2024-01-08 12:10:32 +00:00
reuk
810e348ff7
XWindowSystem: Specify mouse coordinates for resize in terms of the root window rather than the application window 2024-01-08 12:10:31 +00:00
reuk
1e7b91b4d2
FileChooser: Avoid potential issue when viewDidDismiss and file selection callbacks are interleaved
viewDidDisappear may be called when a file is successfully selected.
presentationControllerDidDismiss is only called when the controller is
dismissed manually by the user, e.g. by tapping outside the sheet, or by
dragging it away.

Checking for sheet dismissal is necessary in iOS 15, but not in iOS 17.
In iOS 17, tapping outside the file chooser causes a callback to
documentPickerWasCancelled instead.
2024-01-03 17:42:01 +00:00
reuk
1506bb3454
MIDI-CI: Simplify profile enablement API, and ensure that group/block member channels are always 0 2024-01-03 17:42:01 +00:00
attila
6d7054fa52 Docs: Fix a typo 2024-01-03 14:08:31 +00:00
attila
b0167985b4 OpenGLContext: Make getRenderingScale() sensitive to Component transforms
This also reverts commit c456f67c3f.
2024-01-03 14:02:42 +01:00
attila
00e96e7779 ARA: Fix plugins in Logic by making the DocumentController not inherit from Timer
A Timer will only be created for the analysis task when necessary. This
ensures that the ScopedJuceInitialiser_GUI member inside the
DocumentController is initialised before a Timer instance is even
created.
2024-01-02 16:34:54 +01:00
attila
4f4ddf9733 AU Client: Use ScopedJuceInitialiser_GUI to ensure the MessageManager exists
This makes the AU Client compatible with other classes also using the
ScopedJuceInitialiser_GUI, specifically the ARADocumentController.
2024-01-02 16:34:54 +01:00
attila
7650c85ba5 Avoid focus changes due to mouse clicks for Components with setMouseClickGrabsKeyboardFocus (false)
Even if this focus change is being propagated up by a child Component.
2024-01-02 15:10:02 +01:00
attila
6219eb950f Android: Fix crash when using NetworkServiceDiscovery 2023-12-18 15:09:35 +00:00
Tom Poole
90c15c4a7b Remove an extraneous std::flush 2023-12-15 15:28:53 +00:00
Anthony Nicholls
b0aa8dbb7c Formatting: Use nested namespace 2023-12-14 14:48:08 +00:00
Anthony Nicholls
2a60153530 Xcode: Add support for Xcode 15.1
- Subsequently drops support for Xcode 15.0 while allowing users who have already resolved Xcode 15.0 issues to continue building
2023-12-14 10:28:45 +00:00
Tom Poole
780493c47b juceaide: Improve error logging 2023-12-13 13:13:54 +00:00
Oliver James
627d01b9a2 UMP Tests: Remove checked iterator macro 2023-12-12 16:24:26 +00:00
Anthony Nicholls
b91fec7787 AudioProcessorGraph: Allow nodes with ID 0 to be added 2023-12-12 09:25:13 +00:00