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

7946 commits

Author SHA1 Message Date
reuk
6c46512e8b NSViewComponent: Ensure NSView follows size of top-level component
This commit reverts part of f73f8ee84 which introduced an issue when
resizing a subcomponent with an attached OpenGLContext.

More details of the issue can be seen at
https://github.com/juce-framework/JUCE/issues/914.
2021-07-05 12:21:36 +01:00
reuk
280d97eb79 OpenGL: Check at runtime whether non-power-of-two textures are supported 2021-07-05 12:21:36 +01:00
reuk
f0b515cc73 OpenGL: Fix shader compilation on Ubuntu 18.04
Previously, we were always adding a #version 150 directive to shaders
when the GLSL version was higher than 1.2, which could cause compilation
to fail on platforms with GLSL versions between 1.2 and 1.5.
2021-07-05 12:21:36 +01:00
reuk
024a0b4a20 FileBasedDocument: Fix use-after-move bug 2021-07-05 12:21:36 +01:00
reuk
630afbda54 NSViewComponentPeer: Avoid processing mouse events from tracking areas
Some plugins (Izotope Relay, some older DPF plugins) use NSTrackingAreas
to handle mouse events, but unprocessed events seemingly get passed up
to outer views. Processing these events was causing unexpected
behaviour. For example, if the cursor entered a plugin view while
dragging a JUCE window border, a mouseEnter event was be generated,
interrupting the drag.

We now check whether mouse events were generated by an NSTrackingArea
which does not belong to the JUCE view, and ignore the event in this
case.
2021-07-05 12:21:36 +01:00
ed
a9d17d860c macOS Accessibility: Fixed crash due to availability of NSAccessibilityLayoutChangedNotification on < 10.9 2021-07-05 12:07:30 +01:00
ed
3321ff231d Accessibility: Fall back to RowComponent AccessibilityHandler if no custom cell component handler has been set in TableListBox 2021-07-05 12:07:30 +01:00
ed
c559d31e90 Accessibility: Override Accessibility::getHelp() for JUCE widgets that support tooltips 2021-07-05 12:07:30 +01:00
ed
422c8f8114 Accessibility: Disable accessibility for TooltipWindows to prevent them from interfering with focus 2021-07-05 12:07:30 +01:00
ed
f6ceba3e5b Accessibility: Disable accessibility for Drawable base class 2021-07-01 16:23:48 +01:00
ed
e119178b5b Check BailOutChecker before sending accessibility moved/resized event in Component::sendMovedResizedMessages() 2021-07-01 16:23:48 +01:00
Tom Poole
845631c762 Linux: Fix bug restoring window positions from saved state 2021-07-01 11:48:20 +01:00
reuk
dcd2ef93f9
Colour: Remove restrictions on argument to brighter() and darker() 2021-06-30 17:03:38 +01:00
reuk
407966b2ca
Windows: Fix warnings when building with clang in 64-bit mode 2021-06-30 17:03:38 +01:00
Tom Poole
fe4ba9071b Set the default value of JUCE_MODAL_LOOPS_PERMITTED to 0
See BREAKING-CHANGES.txt for more details.
2021-06-30 13:01:14 +01:00
ed
f1768843fb StandaloneFilterWindow: Check that stored previous window position is onscreen 2021-06-30 11:01:29 +01:00
ed
4e9521be2d ComSmartPtr: Fixed behaviour of ComBaseClassHelper::QueryInterface() in release builds 2021-06-29 16:15:01 +01:00
ed
88ec2759cb AAX: Support unicode track names for TrackProperties 2021-06-29 16:14:54 +01:00
ed
0c89469ab6 CoreAudio: Call AudioDeviceStop() on IO thread when stopping audio devices
When AudioDeviceStop() is called from a thread other than the IO thread there are no guarantees about the IOProc being called before the thread actually terminates. Moving this call to the audioCallback() method ensures that the device will be stopped immediately and we can remove a check that was taking a few seconds to close devices.
2021-06-29 16:14:48 +01:00
attila
56cf81d32b AU Client: Fix allocation on audio thread in JuceAU::audioProcessorChanged() 2021-06-25 15:05:19 +00:00
attila
570e173583 VST3 Client: Fix allocation on audio thread caused by PluginHostType ctor 2021-06-25 15:05:19 +00:00
ed
d9f7d068ed WaitableEvent: Increased lock scope in signal() 2021-06-25 14:44:35 +01:00
ed
750982069d BufferingAudioReader: Partially revert b3bdfdb3 to snap chunk start position to multiples of samplesPerBlock to fix stuttering MP3 playback on Windows 2021-06-25 14:44:35 +01:00
reuk
423d46c9ba
AU Client: Avoid potential out-of-bounds read when adding buses 2021-06-25 12:38:18 +01:00
reuk
750cb92770
AU Client: Fix AU plugins misreporting their supported channel configurations 2021-06-25 12:38:17 +01:00
reuk
bc2ad3d7c5
Build: Improve support for AU resource files on ARM Macs 2021-06-25 11:12:37 +01:00
Tom Poole
78be43888e Update the minimum C++ standard to C++14 2021-06-24 16:09:48 +01:00
reuk
0c56fa8fa0
Colour: Fix comparisons in HSL conversions 2021-06-23 12:09:34 +01:00
attila
7a592bd6c2 DSP: Fix Chorus not allocating a large enough DelayLine 2021-06-22 11:20:41 +00:00
reuk
ecfa339032
Build: Update minimum build requirements for VS 2015 2021-06-22 10:58:46 +01:00
reuk
2096a6e50f
UMP: Make the UMPIterator a forward iterator instead of an input iterator 2021-06-22 10:58:46 +01:00
reuk
feb9ebb485
ComSmartPtr: Allow compilation on VS2015 2021-06-22 10:58:46 +01:00
reuk
22d935ad3e
dsp::IIRFilter: Allow computing filter coefficients without allocating 2021-06-21 19:05:57 +01:00
reuk
ba2cd6cc34
IIRFilter: Provide a new SingleThreadedIIRFilter which does not lock internally 2021-06-21 19:05:57 +01:00
reuk
03b86d3fb8
GenericInterpolator: Fix use of non-existent valueAtOffset overload 2021-06-21 19:05:40 +01:00
reuk
36ca0e0fc1
DSP: Avoid forward declaration of IIR::Coefficients 2021-06-21 19:05:40 +01:00
reuk
2c1081d2a8
VST Host: Fix graphical artefacts when resizing editor views on Windows 2021-06-21 19:05:40 +01:00
reuk
63284e783d
AAX Client: Fix potential out-of-bounds array access 2021-06-21 19:05:40 +01:00
reuk
f0c02529ef
Colour: Avoid divisions by zero 2021-06-21 19:05:40 +01:00
reuk
c3ab3eb77f
VST3 Client: Implement IProcessContextRequirements
This function is required by the Steinberg VST3 validator from VST 3.7
onwards.
2021-06-21 19:05:40 +01:00
ed
e2d41dfa0a Accessibility: Fixed slider step size for sliders with no interval explicitly set 2021-06-21 18:52:07 +01:00
Tom Poole
8ce68447bb DrawableImage: Remove a message thread dependency 2021-06-21 15:57:25 +01:00
ed
efd0373525 macOS: Support infinite timeouts for URL connections 2021-06-18 16:19:31 +01:00
ed
d1b669e6ae Accessibility: Added InternalAccessibilityEvent::elementMovedOrResized 2021-06-16 17:22:35 +01:00
ed
cdf3b619d8 Accessibility: Check if any accessibility clients are active before posting notifications and announcements 2021-06-16 17:22:00 +01:00
ed
399f8d5bf6 Accessibility: Use AccessibilityRole::editableText role when Label is editable 2021-06-16 17:18:24 +01:00
ed
94fb4a20e3 Restored previous behaviour of Label::focusGained() to just show editor on tab focus change 2021-06-16 17:17:44 +01:00
reuk
3f914b667e VST Host: Respect the editor size requested by plugin 2021-06-16 11:35:26 +01:00
reuk
5db072b483 Component: Avoid calling native APIs from background threads
When rendering with OpenGL, the paint function is called from a
background thread. If we call `isMouseOver` from the paint function, we
may end up calling native functions via the ComponentPeer, which causes
threading warnings on macOS.
2021-06-16 11:35:25 +01:00
ed
dc61bd63e7 macOS: Manually reset repaint WaitableEvent when using CVDisplayLink 2021-06-15 10:15:02 +01:00