reuk
ea6d095ab5
XWindowSystem: Implement createSnapshotOfNativeWindow
2021-09-28 11:31:49 +01:00
reuk
31500551e1
Move declaration of createSnapshotOfNativeWindow to module header
2021-09-28 11:31:49 +01:00
reuk
c3c171acaf
Grid: Fix behaviour with negative row/column indices
...
Negative indices should count backwards from the last explicit
row/column number. If the resulting line number would appear before
the first explicit row/column, implicit grid lines should be added
before the first explicit row/column.
2021-09-28 11:31:49 +01:00
reuk
9360c3f4ff
Windows: Fix issue where minimising a window could overwrite the last "normal" window bounds
...
Previously, the following series of steps would leave the window at
full-size on Windows:
- Open a JUCE Window
- Maximise it
- Minimise it
- Click the maximise button
The expected behaviour is that the window should return to its initial
size and position, but instead the window still fills the screen.
This issue wasn't present on Ubuntu/Unity because minimising does not
invoke ComponentPeer::handleMovedOrResized on that platform. It was not
present on macOS because the system is responsible for restoring the
previous window size on that platform.
2021-09-28 11:31:49 +01:00
reuk
6c59a31456
Win32 Windowing: Fix uninitialised data members warning
2021-09-28 11:31:49 +01:00
reuk
836b6edbce
Mac MainMenu: Allow main menu items to be disabled
2021-09-28 11:31:48 +01:00
reuk
0f3e3d365a
iOS: Use safeAreaInsets API on supported platforms, even when deployment target is low
...
This fixes an issue where building with an old deployment target would
cause apps to display in "unsafe" screen areas.
2021-09-28 11:31:48 +01:00
reuk
3141c32a64
PopupMenu: Avoid const_cast in implementation
2021-09-28 11:31:48 +01:00
reuk
ab966fb499
PopupMenu: Add withMousePosition helper function to Options
2021-09-28 11:31:48 +01:00
reuk
84c5627b42
PopupMenu: Ensure that menu appears at the correct position on Windows with a hi res display in standalone apps
2021-09-28 11:31:48 +01:00
reuk
c3276f436d
PopupMenu: Add some documentation to the Options class
2021-09-28 11:31:47 +01:00
reuk
37781916e5
PopupMenu: Fix documentation typo
2021-09-28 11:31:47 +01:00
reuk
ea757cf1ea
PopupMenu: Only show menus within safe areas of the screen
...
This change stops menus from displaying under notches/cutouts on mobile
platforms.
2021-09-28 11:31:47 +01:00
reuk
10a26b7584
TooltipWindow: Avoid re-showing a tooltip if the mouse has not moved since it was last clicked
...
This behaviour more closely mirrors the behaviour of other applications.
2021-09-27 15:46:28 +01:00
reuk
c802319241
Viewport: Stop touches on other components from interrupting scrolling
...
Previously, a touch on a component outside the Viewport would interrupt
and cancel a scroll gesture inside the Viewport.
Now, the Viewport will respond to all drag events from the input source
that started the drag, allowing the Viewport to be scrolled with one
input source while adjusting other controls with another input source.
The FontsDemo is useful for testing this behaviour, as it has two
Viewports on a single screen, along with some other controls.
2021-09-27 15:46:28 +01:00
reuk
7504fa065b
FileChooser: In Linux FileChoosers, prefer to open files rather than directories if both are requested
...
Zenity and Kdialog only support opening either files or directories
during a single invocation.
2021-09-27 12:48:59 +01:00
Attila Szarvas
823bfb0c32
DragAndDropContainer: fix positioning when source Component is transformed
2021-09-27 10:05:19 +00:00
ed
a7915ec47e
iOS/macOS Accessibility: Tidy up shared value getter
2021-09-23 15:07:53 +01:00
ed
2abf68d866
iOS Accessibility: Create UIAccessibilityReadingContent protocol-conforming classes dynamically for text elements
2021-09-23 15:07:47 +01:00
ed
a6db2ef4ff
iOS Accessibility: Fix a potential use-after-free when deallocating a container element
2021-09-23 15:07:30 +01:00
reuk
9199fa3c51
Warnings: Avoid triggering missing-prototypes warnings on macOS/iOS
2021-09-23 10:28:47 +01:00
ed
55ffe91db8
TreeView: Don't add MouseListener for nested custom components
...
This restores the behaviour of TreeViews with custom item components prior to ec990202
2021-09-23 10:20:36 +01:00
reuk
32322a51e8
TableHeaderComponent: Avoid repainting in setColumnWidth if requested size is outside limits
2021-09-22 10:23:04 +01:00
reuk
f989182f32
Linux windowing: Display utf-8 native window titles correctly
2021-09-21 11:01:31 +01:00
Tom Poole
bc75010116
Bump version number to 6.1.2
2021-09-20 12:15:47 +01:00
Tom Poole
f1fecfdc88
Add some missing Doxygen tags
2021-09-20 11:36:56 +01:00
ed
ae8662ce6d
macOS Accessibility: Silence some unguarded-selector warnings
2021-09-15 14:04:23 +01:00
ed
30b37da39b
Accessibility: Fix parent handler traversal when hit test handler is ignored in AccessibilityHandler::getChildAt()
2021-09-15 14:04:23 +01:00
ed
d6fd33b38d
Accessibility: Disable accessibility for PopupMenu windows on the desktop when their parent window or target component have accessibility disabled
2021-09-15 14:04:23 +01:00
ed
b65dc65bc2
Android Accessibility: Don't send accessibility events when inside populateNodeInfo() callback
...
Calling AccessibilityHandler::getChildren() or getParent() may cause an AccessibilityHandler object to be created and an InternalAccessibilityEvent::elementCreated notification to be sent. Calling AndroidAccessibilityEvent.setSource may then cause a recursive populateNodeInfo() call.
2021-09-15 14:03:46 +01:00
ed
d8214732ed
Android Accessibility: Send appropriate content change types for TYPE_WINDOW_CONTENT_CHANGED accessibility event
2021-09-15 14:03:07 +01:00
ed
74a83440e2
Android Accessibility: Check for valid host pointer when calling into C++ peer code from Java accessibility callbacks
2021-09-15 14:02:15 +01:00
ed
9db2647971
Docs: Fix a typo
2021-09-14 11:43:24 +01:00
ed
24910cc4b4
Fix GCC Wshadow warnings
2021-09-14 08:42:56 +01:00
Tom Poole
5109e30c6f
Bump version number to 6.1.1
2021-09-09 12:51:15 +01:00
ed
8370542eb2
Accessibility: Only use AccessibilityRole::toggleButton role and add AccessibilityActionType::toggle for ToggleButtons
2021-09-07 17:33:02 +01:00
ed
90eb878d16
Accessibility: Make createAccessibilityHandler() private in Component subclasses
2021-09-07 11:23:17 +01:00
ed
dd08be6215
Android Accessibility: Guard app context calls in a few places to prevent potential nullptr dereferences
2021-09-07 11:23:17 +01:00
ed
3739fe4829
Accessibility: Added ScopedDragNotification for sending slider drag notifications
2021-09-07 11:23:17 +01:00
ed
8d6ba3b54e
Accessibility: Use AccessibilityRole::ignored for UI elements that should not be accessible to screen readers but have accessible children
2021-09-07 11:23:17 +01:00
ed
baa1bbafdf
Windows: Fall back to old-style modal dialog when showing native message box modally since TaskDialog does not support fully modal dialogs
2021-09-02 12:33:59 +01:00
ed
06ca1156e1
macOS Accessibility: Always set our NSWindow as accessible so its title bar is navigable
2021-09-02 08:35:14 +01:00
ed
59333870f5
Accessibility: Disable accessibility of child components when calling Component::setAccessible (false);
2021-09-02 08:35:14 +01:00
ed
8bb08f558e
Accessibility: Fix off-by-one row index bug when using a ListBox with an accessible header component
2021-09-02 08:35:14 +01:00
ed
945a7f4477
Accessibility: Send value change notifications from SliderAccessibilityHandler
2021-09-02 08:35:14 +01:00
ed
f5eee033ba
NativeMessageBox: Return correctly mapped value when shown modally
2021-09-02 08:35:14 +01:00
ed
3b97c40c2d
iOS: Fix a crash in NativeMessageBox implementation when shown modally
2021-09-02 08:35:14 +01:00
Tom Poole
6542446594
Update the JUCE logo
2021-08-23 11:00:36 +01:00
Tom Poole
46fe3789fc
Bump version number to 6.1.0
2021-08-23 09:55:56 +01:00
ed
c799b56b60
Fix missing prototypes warnings
2021-08-16 16:08:45 +01:00