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

2913 commits

Author SHA1 Message Date
reuk
f248a09c59
Windowing: Start repaint timer immediately on Linux 2022-12-14 11:12:59 +00:00
reuk
3fe8f8a86a
Windows: Register for suspend/resume notifications 2022-12-14 11:12:33 +00:00
reuk
676e10fdd9
XWindowSystem: Default to standard refresh rate if the real refresh rate is unavailable 2022-12-14 11:12:33 +00:00
reuk
8374725f98
XWindowSystem: Use ScopedWindowAssociation for improved DRYness 2022-12-14 11:12:32 +00:00
reuk
e8d694d6dd
XWindowSystem: Avoid C casts for pointer-like types 2022-12-14 11:12:32 +00:00
reuk
16b8cbf2b7
TableHeaderComponent: Correctly render column headers when graphics context is clipped 2022-12-14 11:12:31 +00:00
reuk
2e16de3501
Component: Avoid mouseListener use-after-free when deleting components in mouse callbacks 2022-12-14 11:12:31 +00:00
reuk
6296313d79
NSViewComponentPeer: Allow secondary windows to display correctly in fullscreen mode 2022-12-14 11:12:31 +00:00
attila
a115c99da4 MouseInputSource: Avoid wrong ComponentPeer association
When the mouse moves from one window to another, the mouseExit event
for the old window can occur after the mouseMove event for the new.
Until this commit this would cause the MouseInputSource to be
associated with the old window, and getComponentUnderMouse() would
incorrectly return a nullptr.
2022-12-13 14:44:33 +01:00
attila
b1ff2eda65 MacOS: Generate mouse move event for the peer when using setRawMousePosition()
Without this MouseInputSource::getComponentUnderMouse() will report a
stale value after moving the cursor within a single peer using
MouseInputSource::setRawMousePosition().
2022-12-13 14:44:33 +01:00
reuk
da38c1ed2a
TextInputTarget: Improve IME support on Android 2022-12-07 13:12:02 +00:00
reuk
1f1d657260
TextInputTarget: Add underlining support for composing regions on macOS and iOS 2022-12-07 13:12:02 +00:00
reuk
f3b7b4ca2e
TextInputTarget: Improve input handling on macOS and iOS 2022-12-07 13:12:02 +00:00
reuk
06798ab897
TextInputTarget: Add password keyboard type 2022-12-07 13:12:02 +00:00
reuk
03a2b557ad
NSViewComponentPeer: Implement NSTextInputClient protocol 2022-12-07 13:12:02 +00:00
reuk
e5fc50908e
PopupMenu: Use correct LookAndFeel when computing parent component 2022-12-01 11:41:52 +00:00
reuk
28f2157912
Convert ignoreUnused to [[maybe_unused]] 2022-12-01 11:41:50 +00:00
Tom Poole
6f629547d5 macOS: Handle unavailable Metal device 2022-11-30 11:19:15 +00:00
Tom Poole
306ed633c6 Bump version number to 7.0.3 2022-11-29 11:04:54 +00:00
Tom Poole
b1b1bf37f1 iOS: Suppress a compiler warning 2022-11-23 09:15:38 +00:00
attila
c1f3d30679 Component::MouseListenerList: Fix bad access 2022-11-07 13:08:19 +01:00
hogliux
b01d8c3619 iOS: Fix a crash when an AUv3 editor is dismissed while showing a native iOS file chooser 2022-11-03 12:06:31 +01:00
Fabian Renn-Giles
f2de0f12b0 GUI: Ensured that mouse listeners are still called even if the originating component is deleted in response to such an event 2022-11-02 22:52:49 +00:00
hogliux
4054e25052 Android: Added the ability to associate a particular file-extension to a mime-type at runtime 2022-11-02 20:27:20 +01:00
reuk
c666381ef9
UIViewComponentPeer: Maintain TextEditor cursor position during deleteBackward 2022-11-02 11:43:39 +00:00
reuk
df45aaeb7b
UIViewComponentPeer: Fix warning 2022-11-02 11:43:38 +00:00
reuk
8d6169fbf5
NSViewComponentPeer: Avoid processing key events directly during IME composition
This fixes an issue where e.g. pressing 'return' to select an item from
an IME list would directly insert a newline character, rather than
selecting the entry.
2022-11-02 11:42:33 +00:00
reuk
d563fcd7b4
NSViewComponentPeer: Use set rather than array for tracking key states 2022-11-02 11:42:33 +00:00
reuk
31e68c66fa
TextEditor: Use NullCheckedInvocation 2022-11-02 11:38:41 +00:00
reuk
697643c0b6
Component: Add an assertion to check that the component remains alive when entering modal state 2022-11-02 11:35:51 +00:00
chroma
167911b9d2 UIViewComponentPeer: Disable autocomplete suggestions on text input views 2022-10-31 12:27:12 +00:00
reuk
978a00bed2
iOS: Updated Desktop::allowedOrientationsChanged to support new API in iOS 16 2022-10-19 14:28:44 +01:00
attila
e76603ae18 iOS: Add missing call to VBLank listeners 2022-10-19 11:23:08 +02:00
chroma
d3cff375be Thread: Introduce a new Thread backend
This is a breaking change - see BREAKING-CHANGES.txt
2022-10-18 11:49:47 +01:00
attila
1da9ccd36c Make it possible to attach Component updates to vblank events 2022-10-17 12:32:55 +02:00
reuk
59a47a4638
HWNDComponentPeer: Fix icon leaks
Co-authored-by: ValentynPavliuchenkoA <valentyn.pavliuchenko@avid.com>
2022-10-06 18:53:09 +01:00
reuk
d621d46ca8
FileListComponent: Update content before selecting row to ensure totalItems is up-to-date 2022-10-06 17:33:59 +01: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
dc8bc918d2
TextEditor: Fix bug where text could be pasted twice from the popup menu
This bug was introduced in 140f8fedb1
2022-09-29 12:05:43 +01:00
reuk
00b1bf3f5b
DirectoryContentsList: Ensure change notification is sent after search completes
This fixes an issue where the FileListComponent might fail to select a
file, because the file list reported that it was still loading during
the final ChangeListener callback.
2022-09-29 12:05:43 +01:00
reuk
b53ee602d4
X11: Use 32-bit colourmap in the case that a 24-bit colourmap is unavailable
When using RDP to access a Fedora machine running Gnome, the only
available colourmap is 32-bit. The old implementation caused GUI apps to
crash when they attempted to use a null colourmap pointer.
2022-09-29 12:05:42 +01:00
attila
2e1809ec33 Fix key up behaviour in a multiline TextEditor
A regression was introduced in d564e4931. Before that commit you
could use key up to jump into position zero of a multiline TextEditor
if the cursor was somewhere in the first line. Since that commit the
keypress had no effect. This change restores the earlier behaviour.
2022-09-28 15:07:30 +02:00
reuk
14628ec824
iOS: Correctly compute mouse position for scroll events
When using Universal Control, the system seems to translate mouse scroll
events into swipe gestures, meaning that the gesture position is not
constant during the gesture.
2022-09-27 16:45:21 +01:00
reuk
5d1c580b15
FileListComponent: Fix incorrect selection when calling setSelectedFile while the directory contents are still loading 2022-09-27 15:18:22 +01:00
reuk
4fc958bcda
NSViewComponentPeer: Avoid allocating a std::function on every frame 2022-09-27 15:18:21 +01:00
reuk
19175ff698
OpenGL: Ensure that macOS uses the same (sRGB) colour space everywhere 2022-09-27 15:18:21 +01:00
reuk
7c14c1fcd7
Use more concise stdlib type aliases 2022-09-26 18:03:47 +01:00
attila
d15e152da5 Fix TopLevelWindow::centreAroundComponent 2022-09-22 18:18:59 +02:00
attila
44dd0649fd Grid: Fix layout for very small items
Until this commit Items with a size of 1 could be rounded to
bounds with a size of 0 or 2 due to floating point errors, leading
to slightly too large or disappearing items. The new approach
preserves the size of items.
2022-09-22 18:18:59 +02:00
attila
d564e49312 TextEditor: Change caret positioning when clicking before text and between lines
This commit fixes an issue when using large lineSpacing, where the caret
would jump to the end of the previous line when clicking between lines.
With the new behaviour the line spacing is considered to belong to the
previous line.

The commit also changes the behaviour observed when clicking in the
empty space before the first line. Until now the caret would jump into
the first character position. Now it behaves as if the space before the
first line would belong to the first line.
2022-09-15 12:30:40 +02:00