1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-29 02:40:05 +00:00
Commit graph

1209 commits

Author SHA1 Message Date
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
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
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
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
reuk
65f1a76614
Tidy up parameter pack expansions 2022-09-12 16:14:57 +01:00
reuk
8b8ae10059
Build: Replace JUCE_NODISCARD with [[nodiscard]] 2022-09-12 16:14:57 +01:00
reuk
045214c986
Build: Allow building with llvm-mingw headers 2022-09-12 16:14:57 +01:00
Tom Poole
c4dd405b16 macOS: Fix repaint lagging in Studio One 5 2022-09-05 16:34:01 +01:00
reuk
322aa64459 OpenGLContext: Share CVDisplayLinks with NSViewComponentPeer 2022-08-31 17:42:47 +01:00
reuk
20584cf201 NSViewComponentPeer: Fix bug where OpenGLViews would fail to display after window deminiaturization
This bug was introduced in 869760cb2a
2022-08-31 17:42:47 +01:00
reuk
bc177c2252 NSViewComponentPeer: Share display links between all windows 2022-08-31 17:42:47 +01:00
reuk
4b94c9b54a NSViewComponentPeer: Use RAII to manage display link 2022-08-31 17:42:47 +01:00
Tom Poole
4418376335 macOS/iOS: Fixed an issue creating native FileChoosers 2022-08-30 11:30:53 +01:00
Tom Poole
61fd8827e1 macOS/iOS: Fix a scaled multiple-rects drawing issue 2022-08-05 13:27:32 +01:00
reuk
0d8a94ae04
PushNotifications: Silence deprecation warnings
The warnings are only silenced in code that is conditionally used on
older platforms. When the newer (non-deprecated) API is available, it
will be used.
2022-08-04 22:51:18 +01:00
reuk
41ef5b7fd5
macOS: Remove macOS 10.14 preprocessor checks
The current minimum-supported Xcode (10.1) includes the macOS 10.14.1
SDK, so APIs from macOS 10.14 will always be available.
2022-08-04 22:51:17 +01:00
reuk
7545fbcf3e
macOS: Remove macOS 10.13 preprocessor checks
The current minimum-supported Xcode (10.1) includes the macOS 10.14.1
SDK, so APIs from macOS 10.13 will always be available.
2022-08-04 22:51:17 +01:00
reuk
9712775e5b
macOS: Remove macOS 10.12 preprocessor checks
The current minimum-supported Xcode (10.1) includes the macOS 10.14.1
SDK, so APIs from macOS 10.12 will always be available.
2022-08-04 22:51:17 +01:00
reuk
76e95d01ed
iOS: Remove iOS 12 preprocessor checks
The current minimum-supported Xcode (10.1) includes the iOS 12.1 SDK, so
APIs from iOS 12 will always be available.
2022-08-04 22:51:17 +01:00
reuk
a22b23e335
iOS: Remove iOS 11 preprocessor checks
The current minimum-supported Xcode (10.1) includes the iOS 12.1 SDK, so
APIs from iOS 10 will always be available.
2022-08-04 22:51:17 +01:00
reuk
f821015080
iOS: Remove iOS 10 preprocessor checks
The current minimum-supported Xcode (10.1) includes the iOS 12.1 SDK, so
APIs from iOS 10 will always be available.
2022-08-04 22:51:17 +01:00
reuk
46c259b90e
Android: Fix crashes on startup for devices with older API levels 2022-08-04 22:51:16 +01:00
attila
6aa926750e MacOS: Restore window style flags after leaving full screen
Previously having a JUCE title bar prevented the style flags from
being restored, and this caused the native window border resizers to
remain active after entering and then leaving full screen.
2022-08-02 14:58:31 +00:00
reuk
5cf1a964fc
iOS: Add proper UITextInput implementation
This provides an improved user experience, allowing cursor movement
directly from the keyboard.
2022-07-29 18:54:50 +01:00
reuk
8cab4cf5bb
Displays: Add keyboardInsets member to Display, to allow querying onscreen keyboard size 2022-07-29 18:54:50 +01:00
reuk
869760cb2a
ObjC: Add scoped notification observer 2022-07-29 18:54:50 +01: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
081412eb13
Mac Accessibility: Tidying 2022-07-29 18:54:09 +01:00
reuk
7eca00c7c9
JuceNSWindowClass: Tidying 2022-07-29 18:54:09 +01:00
reuk
31e917ca62
NSViewComponentPeer: Tidying 2022-07-29 18:54:09 +01:00
reuk
4e09161986
Accessibility: Tidy up static functions 2022-07-29 18:54:09 +01:00
reuk
285761c56c
Accessibility: Fix hit test behaviour on iOS 2022-07-29 18:54:09 +01:00
reuk
12fdf6bad8
Accessibility: Stop AccessibilityContainers from also being instances of AccessibilityElement 2022-07-29 18:54:09 +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
attila
f5d2642874 Linux: Fix resizing issue with the PopupMenu
Previously opening a PopupMenu and then clicking somewhere outside
the application would cause the mouse button representation to be
stuck in a down state.
2022-07-04 11:38:33 +01:00
attila
938c66c83d Linux: Fix window positioning on HiDPI screens
In 6f3fb5a29f windowBorder member of
LinuxComponentPeer was changed to mean the logical size of the border
that is independent of the current scale factor. This was done to fix a
bug and make it consistent with the bounds member, which is also
independent from the scale factor.

This change wasn't taken into account in XWindowSystem::setBounds()
causing a positioning bug.
2022-06-30 15:10:15 +00:00
Tom Poole
c0350c54ab macOS: Fix CGMetalLayerRenderer assertions and resizing 2022-06-30 15:38:39 +01:00
Tom Poole
a20e8d8592 macOS/iOS fixed a rendering hang with JUCE_COREGRAPHICS_RENDER_WITH_MULTIPLE_PAINT_CALLS 2022-06-28 11:22:17 +01:00
reuk
9c0786e4fe AccessibilityTextHelpers: Fix MSVC/C++20 build issues 2022-06-24 18:37:27 +01:00
reuk
2f0a0e9387 Windows: Fix nullptr dereference when reopening plugin windows
On Windows, when opening a plugin editor, destroying the plugin
instance, and then creating a new instance and opening its editor, the
plugin would crash because the VBlankDispatcher singleton could not be
recreated.
2022-06-24 18:37:26 +01:00
reuk
1c10e0c79b
Android: Fix problems with accessible text navigation
Previously, when navigating in a text editor by words, the cursor would
get 'stuck' after moving a single word. This issue should now be
resolved.

Additionally, the cursor position was not updated properly when
adjusting a selection, and would instead be moved to the end of the
selected range. With this patch applied, the cursor should now be set to
the correct position when modifying selections. When extending a
selection backwards, the cursor will display at the beginning of the
selected range, rather than the end.

Finally, most Android apps announce the 'skipped' characters or words
whenever the cursor is moved, but this feature was broken in JUCE. This
patch enables this feature.
2022-06-13 15:29:57 +01:00
reuk
2b1745272e
Android: Fix a couple of accessibility-related crashes
These crashes could be seen in the DemoRunner when selecting items in
nested PopupMenu windows.
2022-06-13 15:29:56 +01:00