ed
46a4dc95a1
Accessibility: Fix potential infinite recursive component keyboard focus loop
3 years ago
ed
ef6218f6b7
Take MessageManagerLock in FocusTraverser and KeyboardFocusTraverser unit tests
3 years ago
ed
d6fd33b38d
Accessibility: Disable accessibility for PopupMenu windows on the desktop when their parent window or target component have accessibility disabled
3 years ago
ed
8d6ba3b54e
Accessibility: Use AccessibilityRole::ignored for UI elements that should not be accessible to screen readers but have accessible children
3 years ago
ed
59333870f5
Accessibility: Disable accessibility of child components when calling `Component::setAccessible (false);`
3 years ago
ed
c66e8baf7e
Whitespace
3 years ago
ed
a2f7aaab2f
Accessibility: Don't create AccessibilityHandler for Components without a native window handle
3 years ago
ed
ddb59d1361
Docs: Fix typo in Component child adding methods
3 years ago
ed
88d2edf189
ModalCallbackFunction: Use NullCheckedInvocation helper to fix potential crash due to calling null std::function
3 years ago
ed
3d4d0caca8
ModalCallbackFunction: Fix crash due to dangling reference
3 years ago
ed
551d7b9c5b
Add MessageBoxOptions class for specifying a set of AlertWindow and NativeMessageBox options
- Add AlertWindow::show() and showAsync() methods that take a MessageBoxOptions argument
- Add NativeMessageBox::show() and showAsync() methods that take a MessageBoxOptions argument
- Update the DialogsDemo to demonstrate the new methods
- Deprecate AlertWindow::showNativeDialogBox() in favour of the NativeMessageBox methods
- Pass button strings specified in MesssageBoxOptions to native dialog boxes correctly
- Use modern TaskDialog on Windows for the native dialog box where available
3 years ago
ed
a5c3b81f82
Use C++14 lambda capture initialisers for initialising deletion checkers
3 years ago
ed
e119178b5b
Check BailOutChecker before sending accessibility moved/resized event in Component::sendMovedResizedMessages()
3 years ago
Tom Poole
fe4ba9071b
Set the default value of JUCE_MODAL_LOOPS_PERMITTED to 0
See BREAKING-CHANGES.txt for more details.
3 years ago
ed
d1b669e6ae
Accessibility: Added InternalAccessibilityEvent::elementMovedOrResized
3 years ago
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.
3 years ago
ed
550127945d
Added floating-point implementations for some Component hit-testing methods to improve reliability when dealing with scaled Components
4 years ago
ed
df4ff3b225
Accessibility: Fixed some focus issues with modal components
4 years ago
ed
fa17310dd1
Added back in rounding error fix from e8518048
that was overwritten in 7909af4e
4 years ago
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
4 years ago
reuk
1c2abc80d7
Component: Ensure getScreenPosition result is in terms of the logical coordinate space of the screen
Previously, getScreenPosition would return a result in the component's
coordinate space if it was called on a component that was not directly
or indirectly on the desktop. This behaviour is surprising and difficult
to program around. This change should ensure that the result is always
in the screen's coordinate space.
4 years ago
ed
82a5911d56
Accessibility: Send focus change notification in Component::enterModalState()
4 years ago
reuk
668f16f0ec
Component: Ensure component position does not change when removed and re-added to desktop
4 years ago
ed
533f68219b
Fixed some Doxygen issues
4 years ago
ed
ec990202b1
Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics
4 years ago
Tom Poole
79fbde7099
Added preliminary support for FreeBSD
4 years ago
ed
9e64736519
Docs: Updated the documentation for Component::modifierKeysChanged()
4 years ago
reuk
45409bb4e6
FileChooser: Hide chooser when it leaves scope on Windows
4 years ago
ed
ad38182530
Added checks for DOXYGEN #define when excluding modal methods in headers
4 years ago
ed
891d86fe6b
Don't trigger a fake mouse move from Component::sendFakeMouseMove() if the component passes through all mouse events
4 years ago
ed
33dd896ab2
Ensure that keyboard focus is always given away when components are made invisible
4 years ago
reuk
586ab8927d
Fix warnings when building in C++20 mode
4 years ago
ed
9d0a97c33c
Ensure that modal components set auto-delete when dismissed are properly cleaned up
4 years ago
ed
b7e28541ca
Replaced deprecated Displays methods
4 years ago
ed
1b2c9c154b
iOS: Don't set the font smoothing property of the graphics context on iOS so that cached Component images render the same as the default
4 years ago
ed
60b6afd517
Added floating-point overrides for some Component area conversion methods
4 years ago
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
4 years ago
ed
009d685179
Updated all license headers
4 years ago
ed
d510b73cdf
Normalised all whitespace before args in std::function
5 years ago
reuk
4cf66d6522
Cleanup: Remove redundant inlines
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
ed
26c9468dc5
Deprecated AffineTransform::getScaleFactor() as it was producing incorrect values for transforms containing rotations. Added getDeterminant() method for getting the determinant of the transform
5 years ago
ed
a54da0b832
Fixed some more typos
5 years ago
ed
621f6cb6a2
Guard against NaN errors in Component::internalRepaintUnchecked()
5 years ago
ed
dab4741eb3
Tidied up a few bits of graphics code with Graphics::ScopedSaveState
5 years ago
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
Tom Poole
fefeba63b8
Fixed a documentation typo
6 years ago
ed
2539f4d24f
DRY-ed some code by adding a static Component::getApproximateScaleFactorForComponent() method
6 years ago