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

290 commits

Author SHA1 Message Date
attila
3acc71f7df MultiDocumentPanel: Fix reporting wrong active document, avoid reordering 2022-07-11 15:13:08 +02:00
attila
27924e4996 Viewport: Stop ongoing physical drag upon user interaction
An animated drag operation will now stop if the user interacts with
the content area again before the animation is finished. It is also
stopped if the user interacts with the scrollbars.
2022-06-30 15:10:15 +00:00
reuk
7eb99ed8ec
Grid: Avoid hangs when positioning auto-placement items that are too large for the explicit grid
Previously, positioning such an item would hang while trying to find an
appropriate position for the item, because no position in the grid was
suitable, and implicit cells in the layout direction would be added
until a viable position was found.

We now ensure that there are enough cells in the cross direction to hold
each of the auto-placement items before trying to position those items.
2022-06-24 18:53:59 +01:00
reuk
53484db875
Accessibility: Avoid allowing TextEditor and Viewport internal components to be accessibility-focused
The TextHolderComponent and Viewport::componentHolder don't have any
accessible semantics, so they shouldn't be included in the accessible
component hierarchy.
2022-06-13 15:29:57 +01:00
Tom Poole
2ec861d99e Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
Tom Poole
669782cdf4 Viewport: Fix a scrolling bug when internal components have a transform applied 2022-04-27 12:02:10 +01:00
reuk
858aab823a
ComponentBoundsConstrainer: Properly constrain secondary windows in plugins 2022-04-22 14:18:50 +01:00
Tom Poole
dea3fe60e4 Update copyright banners 2022-04-04 12:36:32 +01:00
reuk
1d1d743b9f
Build: Add -Wdeprecated to recommended flags and fix new warnings 2022-02-23 10:56:10 +00:00
reuk
84db4b186f
ComponentBoundsConstrainer: Refactor 2022-02-18 16:43:25 +00:00
reuk
4cf74dfff6 Viewport: Improve drag-to-scroll on devices that can accept simultaneous mouse and touch input
Some Windows 11 devices have both touch screens and mouse inputs, and
these can be used simultaneously.

The Viewport (and ListBox) now check the input source of each mouse
down. If the source is not a mouse, the viewport will always enter
drag-to-scroll mode, regardless of the result of isScrollOnDragEnabled.
2022-02-07 14:24:11 +00:00
attila
6575d24a81 ComponentPeer: Deprecate getFrameSize() 2022-02-03 21:46:36 +01:00
Tom Poole
c072b1bc8e Fix some typos 2022-01-25 11:48:46 +00:00
reuk
e247e06fb7
FlexBox: Refactor and tidy implementation 2021-11-19 16:35:21 +00:00
reuk
0dad809264
FlexBox: Add tests, and fix layout bugs 2021-11-19 16:35:20 +00:00
reuk
4d572411e0
FlexBox: Update the default value of FlexItem::alignSelf to match CSS implementations 2021-10-26 16:52:16 +01:00
reuk
6bc51f97e4
Grid: Avoid crashing in performLayout when the grid contains no items 2021-10-14 12:40:25 +01:00
ed
051e0ed6d6 Fix leak on MultiDocumentPanel destruction 2021-10-07 14:30:32 +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
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
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
a5c3b81f82 Use C++14 lambda capture initialisers for initialising deletion checkers 2021-07-12 11:58:29 +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
bbc05adb17 Docs: Updated Viewport scrollbar docs 2021-06-07 19:38:29 +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
9147a5e535 Accessibility: Ignore Viewport content holder 2021-05-20 18:24:58 +01:00
ed
333983947e Accessibility: Removed widget_handlers 2021-05-20 18:24:56 +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
ed
bd17993caa SidePanel: Call onPanelShowHide when animation has completed 2021-04-27 15:56:01 +01:00
ed
d7358d0ef1 Update SidePanel visibility when shown/hidden and set always on top 2021-01-29 15:40:12 +00:00
reuk
586ab8927d Fix warnings when building in C++20 mode 2021-01-15 13:33:40 +00:00
ed
b7e28541ca Replaced deprecated Displays methods 2020-10-27 12:38:59 +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
ed
b5214a341e Normalised lambda whitespace 2020-06-05 09:37:56 +01:00
ed
d510b73cdf Normalised all whitespace before args in std::function 2020-06-05 09:37:49 +01:00
ed
685dc4fd78 Fixed a typo 2020-05-20 18:38:39 +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
ed
441c88f3b9 macOS: Removed all dynamic_cast type_info warning workarounds which have been fixed in 0dd3b02 2020-03-30 12:57:28 +01:00
ed
814852e966 macOS: Fixed another spurious dynamic_cast type_info warning when loading dylibs containing JUCE at runtime 2020-03-30 11:32:23 +01:00
reuk
dde6b96ebe MSVC: Fix some potential divide-by-zero errors 2020-03-26 14:12:13 +00:00
Tom Poole
67486d47e0 Fixed some Doxygen warnings 2020-03-03 18:42:02 +00:00
ed
90f9af3e2f Fixed a positioning bug in SidePanel::calculateBoundsInParent() 2020-01-30 08:52:22 +00:00
ed
e58f264c07 Added a MouseEvent::mouseWasDraggedSinceMouseDown() check in ConcertinaPanel::PanelHolder::mouseDrag() 2020-01-20 09:46:25 +00:00
ed
a54da0b832 Fixed some more typos 2020-01-07 08:53:23 +00:00
ed
971fc8e589 Fixed a potential double deletion in ComponentAnimator::AnimationTask 2019-12-16 11:08:38 +00:00
ed
5b65b33280 Make sure scrollbar listeners are updated in Viewport::updateVisibleArea() 2019-11-29 10:59:40 +00:00
ed
1237b8c831 Fixed an issue causing ComponentAnimator ProxyComponent to be blurry when transformed 2019-10-23 11:41:03 +01:00