ed
09c06fb946
macOS Accessibility: Fixed an incorrect deployment target check
2021-07-06 16:02:19 +01:00
attila
e867d1dbb4
Linux: Fix maximise when not using native titlebar
...
X11 cannot maximise windows that have their maximum size set. When not
using the native titlebar we now revert to setting the window bounds
without involving the X11 maximise function.
2021-07-06 10:26:14 +02:00
ed
90ea4cc2ab
Accessibility: Return button tooltip from ButtonAccessibilityHandler::getHelp()
2021-07-06 09:24:44 +01:00
Tom Poole
61c638106f
Clarify some FileChooser example code
2021-07-06 08:06:17 +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
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
Tom Poole
78be43888e
Update the minimum C++ standard to C++14
2021-06-24 16:09:48 +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
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
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
3195db14a4
macOS: Check subview position in ComponentPeer::toFront() and toBehind() before re-ordering subviews for shared windows
...
This commit also removes the subview from its superview's subview array before re-ordering as the macOS docs don't make any guarantees about what happens when adding a subview that is already contained in the array.
2021-06-15 10:14:56 +01:00
ed
cae59fa8b2
macOS Accessibility: Return window title for accessibilityTitle property in JuceNSWindowClass
2021-06-14 14:29:53 +01:00
ed
8f3483d532
Whitespace
2021-06-14 14:01:43 +01:00
ed
928cc5f80c
Accessibility: Moved Component::isCurrentlyBlockedByAnotherModalComponent() check into AccessibilityHandler::getCurrentState() to determine whether handler is considered focusable and removed Component::inputAttemptWhenModal() call
...
This prevents components from taking focus when they are blocked by another modal component by excluding them from the list of child handlers returned by AccessibilityHandler::getChildren() and fixes an issue with modal components being dismissed by handlers.
2021-06-14 10:07:13 +01:00
ed
f69095746a
Windows Accessibility: Only support ExpandCollapsePattern for expandable elements
2021-06-11 13:50:47 +01:00
ed
7aff57c461
Accessibility: Fixed some focus issues with modal components
2021-06-11 13:50:47 +01:00
ed
c29ddf7681
Accessibility: Return non-focusable AccessibleState from LabelAccessibilityHandler::getCurrentState() when the TextEditor is showing and active so focus is passed through correctly
2021-06-11 13:50:46 +01:00
ed
d16657ab53
macOS Accessibility: Fixed crashes on macOS < 10.10 when posting notifications
2021-06-11 13:48:18 +01:00
ed
cdee88c003
Accessibility: Set TreeViewItem expanded/collapsed state only when it has sub-items
2021-06-11 13:48:18 +01:00
ed
a7f33da900
Accessibility: Set caret position when passed an empty range selection in CodeEditorComponent and TextEditor AccessibilityTextInterface implementations
2021-06-11 13:48:07 +01:00
ed
005d45e0fe
macOS Accessibility: Removed some unused text methods and return caret position for accessibilitySelectedTextRange when no text is selected
2021-06-11 13:47:00 +01:00
ed
ce9ab1430f
Accessibility: Disable accessibility for JUCESplashScreen
2021-06-11 13:46:14 +01:00
ed
d5175b6e23
Windows: Use ScopedThreadDPIAwarenessSetter in keyboard hooks to set correct thread DPI awareness
2021-06-10 18:14:50 +01:00
reuk
a70488e38e
MacOS: Fix API deprecations in macOS 12.0 and iOS 15.0
2021-06-10 15:20:39 +01:00
reuk
1ee106d730
PopupMenu: Avoid dismissing PopupMenus in bridged plugin editors
...
When bridging 32-bit/64-bit plugins on Windows, the plugin is hosted in
an auxilliary process, and the plugin's editor is embedded into an HWND
owned by a different process (the plugin host).
Previously, the `isForegroundProcess` check would fail for bridged
plugins, because the foreground window may belong to the DAW, rather
than to the auxilliary hosting process.
This patch adds an additional check, to find whether the same process
owns both the foreground window, and the window which embeds the
PopupMenu's target component. In this case, we avoid immediately
dismissing the PopupMenu.
2021-06-08 14:57:42 +01:00
ed
550127945d
Added floating-point implementations for some Component hit-testing methods to improve reliability when dealing with scaled Components
2021-06-08 14:14:22 +01:00
ed
e2aa2a2048
Accessibility: Throttle TreeView/ListBox Viewport move AccessibilityEvent::structureChanged notifications
2021-06-07 19:38:29 +01:00
ed
521faf2dc6
macOS Accessibility: Send NSArray for NSAccessibilityLayoutChangedNotification
2021-06-07 19:38:29 +01:00
ed
bbc05adb17
Docs: Updated Viewport scrollbar docs
2021-06-07 19:38:29 +01:00
ed
9ed55a7639
Accessibility: Added AccessibilityEvent::titleChanged
2021-06-07 19:38:29 +01:00
ed
e4f9e7f79b
macOS Accessibility: Use @available keyword where possible to check if accessibility support is available at runtime
2021-06-07 19:38:29 +01:00
ed
8b2f3088d7
Accessibility: Added AccessibilityTextInterface::isReadOnly() method and AccessibilityRole::label to distinguish between navigable and selectable read-only text elements and simple labels
2021-06-07 19:38:29 +01:00
ed
df4ff3b225
Accessibility: Fixed some focus issues with modal components
2021-06-07 19:38:29 +01:00
ed
ffdfb5b436
Accessibility: Set checked state in ButtonAccessibilityHandler::getCurrentState() if button is part of a radio group
2021-06-04 17:18:54 +01:00
reuk
7ac6911ccc
Windows: Fix clang/gnu compiler warnings
2021-06-03 17:30:44 +01:00
ed
3fd4f7a231
TextEditor: Take border size into account when calculating text bounds
2021-06-01 11:22:35 +01:00
ed
963fd79e6a
Windows Accessibility: Improved support for read-only text interfaces and fixed issue causing text past 1000 characters to not be read out by Narrator
2021-05-28 14:50:57 +01:00
ed
05f987d893
macOS Accessibility: Use value interface for accessible read-only text
2021-05-28 14:48:59 +01:00
ed
13e7ffbdfb
Accessibility: Use AccessibilityTextValueInterface for read-only text in Label, TextEditor and CodeEditorComponent
2021-05-28 14:48:59 +01:00