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

104 commits

Author SHA1 Message Date
attila
5ce2fc388e Fix C++23 compilation 2024-08-15 11:15:15 +02:00
Tom Poole
94d98a2b10 Update licensing information 2024-04-16 11:39:35 +01: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
Tom Poole
6bf9bb9a2e Add final specifiers in implementation files 2023-10-10 16:12:38 +01:00
reuk
db90a31813
TreeView: Fix getAllVisibleItems() when only the final row of the tree fits in the viewport
Fixes #1118
2023-01-25 17:12:34 +00:00
attila
2e0646abba TreeView: Fix restoring scroll position in restoreOpennessState
This commit fixes a regression introduced in 70968d46.
2022-10-05 15:46:09 +02:00
reuk
921d86e586
Accessibility: Improve table navigation, row/column index/header reporting 2022-07-29 18:54:50 +01:00
reuk
dd92f66387
Accessibility: Correctly report number of disclosed rows in TreeView on macOS 2022-07-29 18:54:10 +01:00
reuk
707767fa4c
Accessibility: Multiple table fixes
- Fixes an off-by-one error when navigating by rows, caused by treating
  the table header as a row. The table header now has the header
  accessibility role.
- Fixes a bug where reordering table columns would cause the table to
  become inaccessible.
- Fixes a bug where the screen reader would try to navigate hidden table
  columns.
- Fixes an issue where moving the VoiceOver cursor to a partially hidden
  cell would cause the focus to move to the table itself, rather than to
  the cell.
2022-07-29 18:54:09 +01:00
reuk
6265f86d33 Accessibility: Add missing accessibility handler in TreeView Item 2022-06-24 18:37:27 +01:00
Tom Poole
2ec861d99e Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
Tom Poole
dea3fe60e4 Update copyright banners 2022-04-04 12:36:32 +01:00
Attila Szarvas
101a886821 MouseInputSource: Eliminate superfluous drag events caused by pressure change
The bug was triggered on Monterey where a pressure of 1 is reported
while a mouse button is being held down. This caused an extra drag
event being triggered between mouse down and up events, even if no
movement occurred.
2022-02-15 10:53:32 +00:00
reuk
b2f318a775
TreeView: Allow built-in mouse handling to be enabled/disabled for custom components 2022-01-28 16:09:59 +00:00
reuk
ef7c3c6947
TreeView: Support TooltipClient interface 2022-01-28 16:09:59 +00:00
reuk
cd34f1b00b
TreeView: Reset itemUnderMouse when deleting TreeViewItems to avoid dereferencing dangling pointers 2022-01-06 16:32:43 +00:00
reuk
34fdea0708
DragAndDropContainer: Allow custom scaling 2021-12-01 15:35:54 +00:00
ed
b70fbb9bca TreeView: Fix drag-to-scroll viewport jump on mouse exit 2021-10-25 16:40:18 +01:00
ed
de375ab6d7 TreeView: Prevent dragging items from scrolling viewport on mobile and fix issue with dragged item component being deleted during drag operations 2021-10-20 16:36:40 +01:00
ed
70968d46c8 TreeView: Coalesce item position recalculation to fix performance issues with large trees 2021-10-13 15:06:18 +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
ed
90eb878d16 Accessibility: Make createAccessibilityHandler() private in Component subclasses 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
c559d31e90 Accessibility: Override Accessibility::getHelp() for JUCE widgets that support tooltips 2021-07-05 12:07:30 +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
e2aa2a2048 Accessibility: Throttle TreeView/ListBox Viewport move AccessibilityEvent::structureChanged notifications 2021-06-07 19:38:29 +01:00
ed
e28525b05d TreeView: Fixed a potential crash when dragging a TreeViewItem with a custom component 2021-05-27 17:06:46 +01:00
ed
7b34d56069 TreeView: Use content component coordinate space in TreeView::getItemAt() 2021-05-27 17:06:45 +01:00
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
2021-05-26 15:34:26 +01:00
ed
5e6fe0db3d Accessibility: Send structure change message when TreeView viewport is scrolled 2021-05-20 18:24:58 +01:00
ed
333983947e Accessibility: Removed widget_handlers 2021-05-20 18:24:56 +01:00
ed
6bb3b9208b TreeView: Use Component::getApproximateScaleFactorForComponent() when creating drag images 2021-05-19 16:21:31 +01:00
ed
ec990202b1 Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics 2021-05-10 10:53:14 +01:00
reuk
3baaad8b5b
XmlElement: Update loops to use new iterators 2021-01-28 20:14:11 +00:00
reuk
394c4fd475 Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
ed
009d685179 Updated all license headers 2020-06-29 08:30:22 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
reuk
327f817b9b Copyrights: Update commercial/gpl headers to be gpl-only 2020-04-09 15:22:56 +01:00
jules
c6d1828a32 A few more internal updates for better smart pointer use 2019-05-19 11:44:22 +01:00
jules
2e2cfb5f6c Made a lot of the functions that used to return a raw XmlElement* instead return a std::unique_ptr<XmlElement> to make it safer and more concise to capture them. Also added new methods to XmlElement for generating text, and deprecated the old ones 2019-05-09 10:51:19 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
jules
1a60fa9765 More ScopedPointer/unique_ptr compatibility work 2018-01-10 17:35:08 +00:00
jules
48a5fbd333 Another batch of ScopedPointer cleanups 2018-01-10 14:49:57 +00:00
jules
2dc9316420 Misc ScopedPointer changes to start using reset() and get() rather than assignments and casts (part of an ongoing drift towards more std::unique_ptr compatibility) 2017-11-01 17:41:06 +00:00
ed
5d8d37eb87 Added support for multi-touch drag and drop 2017-10-04 15:52:31 +01:00
jules
eda613c6db Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools 2017-09-08 08:59:55 +01:00
tpoole
8aca5604eb Fixed a VS2013 compiler error 2017-09-07 10:31:23 +01:00
jules
b653e838d0 Tweaked the order in which properties are set when TreeViewItems are added, and did some internal modernisation of the TreeView classes 2017-08-10 11:13:01 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
ed
79885fc6ad Force TreeView to recalculate its size after restoring item openness in TreeView::restoreOpennessState() so that its Viewport scroll position is restored correctly 2017-04-26 10:48:59 +01:00